]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/misc_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / misc_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
a41e16b6 3 * Version 1.3.22
d14a1e28
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
c9c7117a
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
cc6dd355
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
cc6dd355
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
cc6dd355 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
cc6dd355 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 {
cc6dd355 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
cc6dd355 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 *);
cc6dd355
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)
a41e16b6 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
994141e6 186typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 187
cc6dd355
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
9d1d5697 200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 201
d14a1e28
RD
202#ifdef __cplusplus
203}
204#endif
205
206
d14a1e28
RD
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxLogChain swig_types[0]
210#define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211#define SWIGTYPE_p_wxFileHistory swig_types[2]
212#define SWIGTYPE_p_wxLog swig_types[3]
213#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
214#define SWIGTYPE_p_wxMenu swig_types[5]
215#define SWIGTYPE_p_wxEvent swig_types[6]
216#define SWIGTYPE_p_wxConfigBase swig_types[7]
4276dc52
RD
217#define SWIGTYPE_p_wxDisplay swig_types[8]
218#define SWIGTYPE_p_wxFileType swig_types[9]
219#define SWIGTYPE_p_wxLogGui swig_types[10]
220#define SWIGTYPE_p_wxFont swig_types[11]
221#define SWIGTYPE_p_wxDataFormat swig_types[12]
222#define SWIGTYPE_p_wxTimerEvent swig_types[13]
223#define SWIGTYPE_p_wxCaret swig_types[14]
224#define SWIGTYPE_p_int swig_types[15]
225#define SWIGTYPE_p_wxSize swig_types[16]
226#define SWIGTYPE_p_wxClipboard swig_types[17]
227#define SWIGTYPE_p_wxStopWatch swig_types[18]
228#define SWIGTYPE_p_wxDC swig_types[19]
229#define SWIGTYPE_p_wxClipboardLocker swig_types[20]
230#define SWIGTYPE_p_wxIcon swig_types[21]
231#define SWIGTYPE_p_wxLogStderr swig_types[22]
232#define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
233#define SWIGTYPE_p_wxTextCtrl swig_types[24]
234#define SWIGTYPE_p_wxBusyCursor swig_types[25]
235#define SWIGTYPE_p_wxPyTextDataObject swig_types[26]
236#define SWIGTYPE_p_wxBitmapDataObject swig_types[27]
237#define SWIGTYPE_p_wxTextDataObject swig_types[28]
238#define SWIGTYPE_p_wxDataObject swig_types[29]
239#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[30]
240#define SWIGTYPE_p_wxFileDataObject swig_types[31]
241#define SWIGTYPE_p_wxCustomDataObject swig_types[32]
242#define SWIGTYPE_p_wxURLDataObject swig_types[33]
243#define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
244#define SWIGTYPE_p_wxSound swig_types[35]
245#define SWIGTYPE_p_wxTimerRunner swig_types[36]
246#define SWIGTYPE_p_wxLogWindow swig_types[37]
247#define SWIGTYPE_p_wxTimeSpan swig_types[38]
248#define SWIGTYPE_p_wxArrayString swig_types[39]
249#define SWIGTYPE_p_wxWindowDisabler swig_types[40]
250#define SWIGTYPE_p_wxToolTip swig_types[41]
251#define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
252#define SWIGTYPE_p_wxFileConfig swig_types[43]
253#define SWIGTYPE_p_wxSystemSettings swig_types[44]
254#define SWIGTYPE_p_wxVideoMode swig_types[45]
255#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[46]
256#define SWIGTYPE_p_wxDataObjectSimple swig_types[47]
257#define SWIGTYPE_p_wxEvtHandler swig_types[48]
258#define SWIGTYPE_p_wxRect swig_types[49]
259#define SWIGTYPE_p_char swig_types[50]
260#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[51]
261#define SWIGTYPE_p_wxFileTypeInfo swig_types[52]
262#define SWIGTYPE_p_wxFrame swig_types[53]
263#define SWIGTYPE_p_wxTimer swig_types[54]
264#define SWIGTYPE_p_wxMimeTypesManager swig_types[55]
265#define SWIGTYPE_p_wxPyArtProvider swig_types[56]
266#define SWIGTYPE_p_wxPyTipProvider swig_types[57]
267#define SWIGTYPE_p_wxTipProvider swig_types[58]
268#define SWIGTYPE_p_wxJoystick swig_types[59]
269#define SWIGTYPE_p_wxSystemOptions swig_types[60]
270#define SWIGTYPE_p_wxPoint swig_types[61]
271#define SWIGTYPE_p_wxJoystickEvent swig_types[62]
272#define SWIGTYPE_p_wxCursor swig_types[63]
273#define SWIGTYPE_p_wxObject swig_types[64]
274#define SWIGTYPE_p_wxOutputStream swig_types[65]
275#define SWIGTYPE_p_wxDateTime swig_types[66]
276#define SWIGTYPE_p_wxPyDropSource swig_types[67]
277#define SWIGTYPE_p_wxWindow swig_types[68]
278#define SWIGTYPE_p_wxString swig_types[69]
279#define SWIGTYPE_p_wxPyProcess swig_types[70]
280#define SWIGTYPE_p_wxBitmap swig_types[71]
281#define SWIGTYPE_p_wxConfig swig_types[72]
282#define SWIGTYPE_p_wxChar swig_types[73]
283#define SWIGTYPE_p_wxBusyInfo swig_types[74]
284#define SWIGTYPE_p_wxPyDropTarget swig_types[75]
285#define SWIGTYPE_p_wxPyTextDropTarget swig_types[76]
286#define SWIGTYPE_p_wxPyFileDropTarget swig_types[77]
287#define SWIGTYPE_p_wxProcessEvent swig_types[78]
288#define SWIGTYPE_p_wxPyLog swig_types[79]
289#define SWIGTYPE_p_wxLogNull swig_types[80]
290#define SWIGTYPE_p_wxColour swig_types[81]
291#define SWIGTYPE_p_wxByte swig_types[82]
292#define SWIGTYPE_p_wxConfigPathChanger swig_types[83]
293#define SWIGTYPE_p_wxPyTimer swig_types[84]
294#define SWIGTYPE_p_wxDateSpan swig_types[85]
295static swig_type_info *swig_types[87];
d14a1e28
RD
296
297/* -------- TYPES TABLE (END) -------- */
298
299
300/*-----------------------------------------------
301 @(target):= _misc.so
302 ------------------------------------------------*/
303#define SWIG_init init_misc
304
305#define SWIG_name "_misc"
306
15afbcd0 307/* Auxiliar swig macros */
994141e6 308
994141e6 309#ifdef __cplusplus
15afbcd0 310#define SWIGSTATICINLINE(a) static inline a
994141e6 311#define SWIGSTATIC(a) static a
15afbcd0
RD
312#define swig_new_array(type, size) (new type[(size)])
313#define swig_delete_array(cptr) delete[] cptr
314#define swig_const_cast(type,a) const_cast<type>(a)
315#define swig_static_cast(type,a) static_cast<type>(a)
316#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
994141e6 317
994141e6 318#ifdef HAVE_NUMERIC_CAST
15afbcd0 319#define swig_numeric_cast(type,a) numeric_cast<type>(a)
994141e6 320#else
15afbcd0 321#define swig_numeric_cast(type,a) static_cast<type>(a)
994141e6
RD
322#endif
323
15afbcd0
RD
324#else /* C case */
325
326#define SWIGSTATICINLINE(a) static a
327#define SWIGSTATIC(a) static a
328#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329#define swig_delete_array(cptr) free((char*)cptr)
330#define swig_const_cast(type,a) (type)(a)
331#define swig_static_cast(type,a) (type)(a)
332#define swig_reinterpret_cast(type,a) (type)(a)
333#define swig_numeric_cast(type,a) (type)(a)
334
335#endif /* __cplusplus */
994141e6
RD
336
337
15afbcd0
RD
338#define SWIG_FromSignedChar PyInt_FromLong
339#define SWIG_FromUnsignedChar PyInt_FromLong
340#define SWIG_FromShort PyInt_FromLong
341#define SWIG_FromUnsignedShort PyInt_FromLong
342#define SWIG_FromInt PyInt_FromLong
343#define SWIG_FromLong PyInt_FromLong
344#define SWIG_FromFloat PyFloat_FromDouble
345#define SWIG_FromDouble PyFloat_FromDouble
346#define SWIG_FromFloat PyFloat_FromDouble
347#define SWIG_FromDouble PyFloat_FromDouble
994141e6
RD
348
349
d14a1e28
RD
350#include "wx/wxPython/wxPython.h"
351#include "wx/wxPython/pyclasses.h"
352#include "wx/wxPython/pyistream.h"
353
d14a1e28 354
b2dc1044 355 static const wxString wxPyEmptyString(wxEmptyString);
d14a1e28 356
d14a1e28 357
994141e6 358
15afbcd0
RD
359#include <limits.h>
360
361
362SWIGSTATICINLINE(long)
363SWIG_CheckLongInRange(long value, const char* type,
364 long min_value, long max_value)
365{
366 if (!PyErr_Occurred()) {
367 if (value < min_value) {
368 PyObject *err =
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value, type, min_value);
371
372 PyErr_SetObject(PyExc_OverflowError, err);
373 Py_DECREF(err);
374 } else if (value > max_value) {
375 PyObject *err =
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value, type, max_value);
378 PyErr_SetObject(PyExc_OverflowError, err);
379 Py_DECREF(err);
380 }
381 }
382 return value;
383}
384
385
386SWIGSTATICINLINE(long)
387SWIG_AsLong(PyObject * obj)
388{
389 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
390}
391
392
393#if INT_MAX != LONG_MAX
394SWIGSTATICINLINE(int)
395SWIG_AsInt(PyObject *obj)
994141e6 396{
15afbcd0
RD
397 return swig_numeric_cast(int,
398 SWIG_CheckLongInRange(SWIG_AsLong(obj),
399 "int", INT_MIN, INT_MAX));
400}
401#else
402#define SWIG_AsInt SWIG_AsLong
403#endif
404
405
406SWIGSTATICINLINE(int)
407SWIG_CheckInt(PyObject* obj)
408{
409 SWIG_AsInt(obj);
410 if (PyErr_Occurred()) {
411 PyErr_Clear();
412 return 0;
413 } else {
414 return 1;
415 }
994141e6
RD
416}
417
b2dc1044
RD
418 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
419 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
420 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
d14a1e28 421
15afbcd0
RD
422SWIGSTATICINLINE(int)
423SWIG_CheckLong(PyObject* obj)
994141e6 424{
15afbcd0
RD
425 SWIG_AsLong(obj);
426 if (PyErr_Occurred()) {
427 PyErr_Clear();
428 return 0;
429 } else {
430 return 1;
431 }
994141e6
RD
432}
433
434
15afbcd0
RD
435SWIGSTATICINLINE(bool)
436SWIG_AsBool(PyObject *obj)
994141e6
RD
437{
438 return PyObject_IsTrue(obj) ? true : false;
439}
440
441
15afbcd0
RD
442SWIGSTATICINLINE(int)
443SWIG_CheckBool(PyObject* obj)
444{
445 SWIG_AsBool(obj);
446 if (PyErr_Occurred()) {
447 PyErr_Clear();
448 return 0;
449 } else {
450 return 1;
451 }
452}
453
454
d14a1e28
RD
455static PyObject* t_output_helper(PyObject* target, PyObject* o) {
456 PyObject* o2;
457 PyObject* o3;
458
459 if (!target) {
460 target = o;
461 } else if (target == Py_None) {
462 Py_DECREF(Py_None);
463 target = o;
464 } else {
465 if (!PyTuple_Check(target)) {
466 o2 = target;
467 target = PyTuple_New(1);
468 PyTuple_SetItem(target, 0, o2);
469 }
470 o3 = PyTuple_New(1);
471 PyTuple_SetItem(o3, 0, o);
472
473 o2 = target;
474 target = PySequence_Concat(o2, o3);
475 Py_DECREF(o2);
476 Py_DECREF(o3);
477 }
478 return target;
479}
480
481
482 long wxGetFreeMemory()
39f61e25
RD
483 { wxPyRaiseNotImplemented(); return 0; }
484
485
15afbcd0
RD
486SWIGSTATICINLINE(unsigned long)
487SWIG_AsUnsignedLong(PyObject * obj)
488{
489 if (PyLong_Check(obj)) {
490 return PyLong_AsUnsignedLong(obj);
491 } else {
492 long i = PyInt_AsLong(obj);
493 if ( !PyErr_Occurred() && (i < 0)) {
494 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
495 }
496 return i;
497 }
498}
499
500
501SWIGSTATICINLINE(int)
502SWIG_CheckUnsignedLong(PyObject* obj)
503{
504 SWIG_AsUnsignedLong(obj);
505 if (PyErr_Occurred()) {
506 PyErr_Clear();
507 return 0;
508 } else {
509 return 1;
510 }
511}
512
513
514SWIGSTATICINLINE(PyObject* )
515SWIG_FromUnsignedLong(unsigned long value)
994141e6 516{
15afbcd0
RD
517 return (value > LONG_MAX) ?
518 PyLong_FromUnsignedLong(value)
519 : PyInt_FromLong(swig_numeric_cast(long,value));
994141e6
RD
520}
521
522
39f61e25
RD
523 bool wxGetKeyState(wxKeyCode key)
524 { wxPyRaiseNotImplemented(); return False; }
d14a1e28
RD
525
526
527 void wxWakeUpMainThread() {}
528
529
530 bool wxThread_IsMain() {
531#ifdef WXP_WITH_THREAD
532 return wxThread::IsMain();
533#else
e811c8ce 534 return True;
d14a1e28
RD
535#endif
536 }
537
538
539 int wxCaret_GetBlinkTime() {
540 return wxCaret::GetBlinkTime();
541 }
542
543 void wxCaret_SetBlinkTime(int milliseconds) {
544 wxCaret::SetBlinkTime(milliseconds);
545 }
546
547
548#include <wx/snglinst.h>
549
550
551#ifdef __WXMSW__
552#include <wx/msw/private.h>
553#include <wx/dynload.h>
554#endif
555
556
557
558void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
559{
560#ifdef __WXMSW__
561
562 switch (method)
563 {
564 case 1:
565 // This one only partially works. Appears to be an undocumented
566 // "standard" convention that not all widgets adhear to. For
567 // example, for some widgets backgrounds or non-client areas may
568 // not be painted.
569 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
570 break;
571
572 case 2:
573 // This one works much better, except for on XP. On Win2k nearly
574 // all widgets and their children are captured correctly[**]. On
575 // XP with Themes activated most native widgets draw only
576 // partially, if at all. Without themes it works just like on
577 // Win2k.
578 //
579 // ** For example the radio buttons in a wxRadioBox are not its
580 // children by default, but you can capture it via the panel
581 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
582 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
583 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
584 PRF_ERASEBKGND | PRF_OWNED );
585 break;
586
587 case 3:
588 // This one is only defined in the latest SDK and is only
589 // available on XP. MSDN says it is similar to sending WM_PRINT
590 // so I expect that it will work similar to the above. Since it
591 // is avaialble only on XP, it can't be compiled like this and
592 // will have to be loaded dynamically.
593 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
594
595 // fall through
596
597 case 4:
598 // Use PrintWindow if available, or fallback to WM_PRINT
599 // otherwise. Unfortunately using PrintWindow is even worse than
600 // WM_PRINT. For most native widgets nothing is drawn to the dc
601 // at all, with or without Themes.
602 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
e811c8ce 603 static bool s_triedToLoad = False;
d14a1e28
RD
604 static PrintWindow_t pfnPrintWindow = NULL;
605 if ( !s_triedToLoad )
606 {
607
e811c8ce 608 s_triedToLoad = True;
d14a1e28
RD
609 wxDynamicLibrary dllUser32(_T("user32.dll"));
610 if ( dllUser32.IsLoaded() )
611 {
612 wxLogNull nolog; // Don't report errors here
613 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
614 }
615 }
616 if (pfnPrintWindow)
617 {
618 printf("Using PrintWindow\n");
619 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
620 }
621 else
622 {
623 printf("Using WM_PRINT\n");
624 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
625 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
626 }
627 }
628#endif
629}
630
631
632
633#include <wx/tipdlg.h>
634
635
636class wxPyTipProvider : public wxTipProvider {
637public:
638 wxPyTipProvider(size_t currentTip)
639 : wxTipProvider(currentTip) {}
640
641 DEC_PYCALLBACK_STRING__pure(GetTip);
642 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
643 PYPRIVATE;
644};
645
646IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
647IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
648
649
4276dc52
RD
650//IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
651
652void wxPyTimer::Notify() {
653 bool found;
4f89f6a3 654 bool blocked = wxPyBeginBlockThreads();
4276dc52
RD
655 if ((found = wxPyCBH_findCallback(m_myInst, "Notify")))
656 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));
4f89f6a3 657 wxPyEndBlockThreads(blocked);
4276dc52
RD
658 if (! found)
659 wxTimer::Notify();
660}
661void wxPyTimer::base_Notify() {
662 wxTimer::Notify();
663}
664
d14a1e28 665
994141e6 666
15afbcd0
RD
667SWIGSTATICINLINE(PyObject *)
668SWIG_FromCharPtr(const char* cptr)
669{
670 size_t size = cptr ? strlen(cptr) : 0;
671 if (cptr) {
672 if (size > INT_MAX) {
673 return SWIG_NewPointerObj(swig_const_cast(char*,cptr),
674 SWIG_TypeQuery("char *"), 0);
675 } else {
676 return PyString_FromStringAndSize(cptr, swig_numeric_cast(int,size));
677 }
678 } else {
679 Py_INCREF(Py_None);
680 return Py_None;
681 }
682}
683
684
685SWIGSTATICINLINE(unsigned long)
686SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
687 unsigned long max_value)
688{
689 if (!PyErr_Occurred()) {
690 if (value > max_value) {
691 PyObject *err =
692 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
693 value, type, max_value);
694 PyErr_SetObject(PyExc_OverflowError, err);
695 Py_DECREF(err);
696 }
697 }
698 return value;
699}
700
701
702#if UINT_MAX != ULONG_MAX
703SWIGSTATICINLINE(unsigned int)
704SWIG_AsUnsignedInt(PyObject *obj)
994141e6 705{
15afbcd0
RD
706 return swig_numeric_cast(unsigned int,
707 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
708 "unsigned int", UINT_MAX));
709}
710#else
711#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
712#endif
713
714
715SWIGSTATICINLINE(int)
716SWIG_CheckUnsignedInt(PyObject* obj)
717{
718 SWIG_AsUnsignedInt(obj);
719 if (PyErr_Occurred()) {
720 PyErr_Clear();
721 return 0;
722 } else {
723 return 1;
724 }
994141e6
RD
725}
726
d14a1e28
RD
727wxString Log_TimeStamp(){
728 wxString msg;
729 wxLog::TimeStamp(&msg);
730 return msg;
731 }
732void wxLog_Destroy(wxLog *self){ delete self; }
733
734// A wxLog class that can be derived from in wxPython
735class wxPyLog : public wxLog {
736public:
737 wxPyLog() : wxLog() {}
738
739 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
740 bool found;
4f89f6a3 741 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
742 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
743 PyObject* s = wx2PyString(szString);
744 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
745 Py_DECREF(s);
746 }
4f89f6a3 747 wxPyEndBlockThreads(blocked);
d14a1e28
RD
748 if (! found)
749 wxLog::DoLog(level, szString, t);
750 }
751
752 virtual void DoLogString(const wxChar *szString, time_t t) {
753 bool found;
4f89f6a3 754 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
755 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
756 PyObject* s = wx2PyString(szString);
757 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
758 Py_DECREF(s);
759 }
4f89f6a3 760 wxPyEndBlockThreads(blocked);
d14a1e28
RD
761 if (! found)
762 wxLog::DoLogString(szString, t);
763 }
764
765 PYPRIVATE;
766};
767
768
769
770
771IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
772
773
774#include <wx/joystick.h>
775
776
777#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
778// A C++ stub class for wxJoystick for platforms that don't have it.
779class wxJoystick : public wxObject {
780public:
781 wxJoystick(int joystick = wxJOYSTICK1) {
4f89f6a3 782 bool blocked = wxPyBeginBlockThreads();
39f61e25
RD
783 PyErr_SetString(PyExc_NotImplementedError,
784 "wxJoystick is not available on this platform.");
4f89f6a3 785 wxPyEndBlockThreads(blocked);
d14a1e28
RD
786 }
787 wxPoint GetPosition() { return wxPoint(-1,-1); }
788 int GetZPosition() { return -1; }
789 int GetButtonState() { return -1; }
790 int GetPOVPosition() { return -1; }
791 int GetPOVCTSPosition() { return -1; }
792 int GetRudderPosition() { return -1; }
793 int GetUPosition() { return -1; }
794 int GetVPosition() { return -1; }
795 int GetMovementThreshold() { return -1; }
796 void SetMovementThreshold(int threshold) {}
797
e811c8ce 798 bool IsOk(void) { return False; }
d14a1e28
RD
799 int GetNumberJoysticks() { return -1; }
800 int GetManufacturerId() { return -1; }
801 int GetProductId() { return -1; }
802 wxString GetProductName() { return ""; }
803 int GetXMin() { return -1; }
804 int GetYMin() { return -1; }
805 int GetZMin() { return -1; }
806 int GetXMax() { return -1; }
807 int GetYMax() { return -1; }
808 int GetZMax() { return -1; }
809 int GetNumberButtons() { return -1; }
810 int GetNumberAxes() { return -1; }
811 int GetMaxButtons() { return -1; }
812 int GetMaxAxes() { return -1; }
813 int GetPollingMin() { return -1; }
814 int GetPollingMax() { return -1; }
815 int GetRudderMin() { return -1; }
816 int GetRudderMax() { return -1; }
817 int GetUMin() { return -1; }
818 int GetUMax() { return -1; }
819 int GetVMin() { return -1; }
820 int GetVMax() { return -1; }
821
e811c8ce
RD
822 bool HasRudder() { return False; }
823 bool HasZ() { return False; }
824 bool HasU() { return False; }
825 bool HasV() { return False; }
826 bool HasPOV() { return False; }
827 bool HasPOV4Dir() { return False; }
828 bool HasPOVCTS() { return False; }
d14a1e28 829
e811c8ce
RD
830 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
831 bool ReleaseCapture() { return False; }
d14a1e28
RD
832};
833#endif
834
835
4d5c3d91 836#include <wx/sound.h>
d14a1e28
RD
837
838
dff1fa9b 839#if !wxUSE_SOUND
d14a1e28 840// A C++ stub class for wxWave for platforms that don't have it.
4d5c3d91 841class wxSound : public wxObject
d14a1e28
RD
842{
843public:
4d5c3d91 844 wxSound() {
4f89f6a3 845 bool blocked = wxPyBeginBlockThreads();
39f61e25 846 PyErr_SetString(PyExc_NotImplementedError,
4d5c3d91 847 "wxSound is not available on this platform.");
4f89f6a3 848 wxPyEndBlockThreads(blocked);
d14a1e28 849 }
4d5c3d91 850 wxSound(const wxString&, bool) {
4f89f6a3 851 bool blocked = wxPyBeginBlockThreads();
39f61e25 852 PyErr_SetString(PyExc_NotImplementedError,
4d5c3d91 853 "wxSound is not available on this platform.");
4f89f6a3 854 wxPyEndBlockThreads(blocked);
d14a1e28 855 }
4d5c3d91 856 wxSound(int, const wxByte*) {
4f89f6a3 857 bool blocked = wxPyBeginBlockThreads();
4d5c3d91
RD
858 PyErr_SetString(PyExc_NotImplementedError,
859 "wxSound is not available on this platform.");
4f89f6a3 860 wxPyEndBlockThreads(blocked);
4d5c3d91
RD
861 }
862
863 ~wxSound() {};
d14a1e28 864
4d5c3d91
RD
865 bool Create(const wxString&, bool) { return false; }
866 bool Create(int, const wxByte*) { return false; };
867 bool IsOk() { return false; };
868 bool Play(unsigned) const { return false; }
869 static bool Play(const wxString&, unsigned) { return false; }
870 static void Stop() {}
d14a1e28
RD
871};
872
873#endif
874
d14a1e28
RD
875
876#include <wx/mimetype.h>
877
878PyObject *wxFileType_GetMimeType(wxFileType *self){
879 wxString str;
880 if (self->GetMimeType(&str))
881 return wx2PyString(str);
882 else
883 RETURN_NONE();
884 }
885PyObject *wxFileType_GetMimeTypes(wxFileType *self){
886 wxArrayString arr;
887 if (self->GetMimeTypes(arr))
888 return wxArrayString2PyList_helper(arr);
889 else
890 RETURN_NONE();
891 }
892PyObject *wxFileType_GetExtensions(wxFileType *self){
893 wxArrayString arr;
894 if (self->GetExtensions(arr))
895 return wxArrayString2PyList_helper(arr);
896 else
897 RETURN_NONE();
898 }
899wxIcon *wxFileType_GetIcon(wxFileType *self){
900 wxIconLocation loc;
901 if (self->GetIcon(&loc))
902 return new wxIcon(loc);
903 else
904 return NULL;
905 }
906PyObject *wxFileType_GetIconInfo(wxFileType *self){
907 wxIconLocation loc;
908 if (self->GetIcon(&loc)) {
909 wxString iconFile = loc.GetFileName();
910 int iconIndex = -1;
911
912
913
914 // Make a tuple and put the values in it
4f89f6a3 915 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
916 PyObject* tuple = PyTuple_New(3);
917 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
e811c8ce 918 wxT("wxIcon"), True));
d14a1e28
RD
919 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
920 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
4f89f6a3 921 wxPyEndBlockThreads(blocked);
d14a1e28
RD
922 return tuple;
923 }
924 else
925 RETURN_NONE();
926 }
927PyObject *wxFileType_GetDescription(wxFileType *self){
928 wxString str;
929 if (self->GetDescription(&str))
930 return wx2PyString(str);
931 else
932 RETURN_NONE();
933 }
934PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
935 wxString str;
936 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
937 return wx2PyString(str);
938 else
939 RETURN_NONE();
940 }
941PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
942 wxString str;
943 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
944 return wx2PyString(str);
945 else
946 RETURN_NONE();
947 }
948PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
949 wxArrayString verbs;
950 wxArrayString commands;
951 if (self->GetAllCommands(&verbs, &commands,
952 wxFileType::MessageParameters(filename, mimetype))) {
4f89f6a3 953 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
954 PyObject* tuple = PyTuple_New(2);
955 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
956 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
4f89f6a3 957 wxPyEndBlockThreads(blocked);
d14a1e28
RD
958 return tuple;
959 }
960 else
961 RETURN_NONE();
962 }
963wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
964 return wxFileType::ExpandCommand(command,
965 wxFileType::MessageParameters(filename, mimetype));
966 }
967PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
968 wxArrayString arr;
969 self->EnumAllFileTypes(arr);
970 return wxArrayString2PyList_helper(arr);
971 }
972
973#include <wx/artprov.h>
974
975 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
976 static const wxString wxPyART_MENU(wxART_MENU);
977 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
978 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
979 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
980 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
981 static const wxString wxPyART_OTHER(wxART_OTHER);
982 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
983 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
984 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
985 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
986 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
987 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
988 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
989 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
990 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
991 static const wxString wxPyART_GO_UP(wxART_GO_UP);
992 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
993 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
994 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
995 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
996 static const wxString wxPyART_PRINT(wxART_PRINT);
997 static const wxString wxPyART_HELP(wxART_HELP);
998 static const wxString wxPyART_TIP(wxART_TIP);
999 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
1000 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
1001 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
1002 static const wxString wxPyART_FOLDER(wxART_FOLDER);
1003 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
1004 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
1005 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
1006 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
1007 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
1008 static const wxString wxPyART_ERROR(wxART_ERROR);
1009 static const wxString wxPyART_QUESTION(wxART_QUESTION);
1010 static const wxString wxPyART_WARNING(wxART_WARNING);
1011 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
1012 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
1013 // Python aware wxArtProvider
1014class wxPyArtProvider : public wxArtProvider {
1015public:
1016
1017 virtual wxBitmap CreateBitmap(const wxArtID& id,
1018 const wxArtClient& client,
1019 const wxSize& size) {
1020 wxBitmap rval = wxNullBitmap;
4f89f6a3 1021 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1022 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
1023 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
1024 PyObject* ro;
1025 wxBitmap* ptr;
1026 PyObject* s1, *s2;
1027 s1 = wx2PyString(id);
1028 s2 = wx2PyString(client);
1029 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
1030 Py_DECREF(so);
1031 Py_DECREF(s1);
1032 Py_DECREF(s2);
1033 if (ro) {
1034 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
1035 rval = *ptr;
1036 Py_DECREF(ro);
1037 }
1038 }
4f89f6a3 1039 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1040 return rval;
1041 }
1042
1043 PYPRIVATE;
1044};
1045
1e0c8722 1046void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
d14a1e28
RD
1047
1048
1049
1050 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
1051 PyObject* ret = PyTuple_New(3);
1052 if (ret) {
1053 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
1054 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
1055 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
1056 }
1057 return ret;
1058 }
1059
1060PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
1061 bool cont;
1062 long index = 0;
1063 wxString value;
1064
1065 cont = self->GetFirstGroup(value, index);
1066 return __EnumerationHelper(cont, value, index);
1067 }
1068PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
1069 bool cont;
1070 wxString value;
1071
1072 cont = self->GetNextGroup(value, index);
1073 return __EnumerationHelper(cont, value, index);
1074 }
1075PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
1076 bool cont;
1077 long index = 0;
1078 wxString value;
1079
1080 cont = self->GetFirstEntry(value, index);
1081 return __EnumerationHelper(cont, value, index);
1082 }
1083PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
1084 bool cont;
1085 wxString value;
1086
1087 cont = self->GetNextEntry(value, index);
1088 return __EnumerationHelper(cont, value, index);
1089 }
1090long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
1091 long rv;
1092 self->Read(key, &rv, defaultVal);
1093 return rv;
1094 }
994141e6 1095
15afbcd0
RD
1096SWIGSTATICINLINE(double)
1097SWIG_AsDouble(PyObject *obj)
994141e6 1098{
15afbcd0 1099 double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
994141e6 1100#if HAVE_LONG_LONG
15afbcd0 1101 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
994141e6 1102#else
15afbcd0 1103 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
994141e6
RD
1104#endif
1105 if (PyErr_Occurred()) {
1106 PyErr_Clear();
1107 PyErr_SetString(PyExc_TypeError, "a double is expected");
1108 }
15afbcd0
RD
1109 return val;
1110}
1111
1112
1113SWIGSTATICINLINE(int)
1114SWIG_CheckDouble(PyObject* obj)
1115{
1116 SWIG_AsDouble(obj);
1117 if (PyErr_Occurred()) {
1118 PyErr_Clear();
1119 return 0;
1120 } else {
1121 return 1;
1122 }
994141e6
RD
1123}
1124
d14a1e28
RD
1125double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
1126 double rv;
1127 self->Read(key, &rv, defaultVal);
1128 return rv;
1129 }
1130bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
1131 bool rv;
1132 self->Read(key, &rv, defaultVal);
1133 return rv;
1134 }
1135
1136#include <wx/datetime.h>
1137
d14a1e28 1138
33b885b9
RD
1139 static const wxString wxPyDateFormatStr(wxT("%c"));
1140 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
d14a1e28
RD
1141
1142#define LOCAL_TZ wxDateTime::Local
1143
994141e6 1144
15afbcd0
RD
1145#if UINT_MAX < LONG_MAX
1146#define SWIG_FromUnsignedInt SWIG_FromLong
1147#else
1148#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1149#endif
994141e6 1150
d14a1e28
RD
1151wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
1152wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
1153wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
1154wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
1155wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
22faec7d
RD
1156bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){ return other ? (*self < *other) : False; }
1157bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){ return other ? (*self <= *other) : False; }
1158bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){ return other ? (*self > *other) : True; }
1159bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){ return other ? (*self >= *other) : True; }
1160bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){ return other ? (*self == *other) : False; }
1161bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){ return other ? (*self != *other) : True; }
d14a1e28
RD
1162int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
1163 const wxChar* rv;
1164 const wxChar* _date = date;
1165 rv = self->ParseRfc822Date(_date);
1166 if (rv == NULL) return -1;
1167 return rv - _date;
1168 }
1169int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
1170 const wxChar* rv;
1171 const wxChar* _date = date;
1172 rv = self->ParseFormat(_date, format, dateDef);
1173 if (rv == NULL) return -1;
1174 return rv - _date;
1175 }
1176int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
1177 const wxChar* rv;
1178 const wxChar* _datetime = datetime;
1179 rv = self->ParseDateTime(_datetime);
1180 if (rv == NULL) return -1;
1181 return rv - _datetime;
1182 }
1183int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
1184 const wxChar* rv;
1185 const wxChar* _date = date;
1186 rv = self->ParseDate(_date);
1187 if (rv == NULL) return -1;
1188 return rv - _date;
1189 }
1190int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
1191 const wxChar* rv;
1192 const wxChar* _time = time;
1193 rv = self->ParseTime(_time);
1194 if (rv == NULL) return -1;
1195 return rv - _time;
1196 }
1197wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
1198wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
1199wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
1200wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
22faec7d
RD
1201bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : False; }
1202bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : False; }
1203bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : True; }
1204bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : True; }
1205bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : False; }
1206bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : True; }
d14a1e28
RD
1207wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
1208wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
1209wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
1210wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
22faec7d
RD
1211bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : False; }
1212bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : True; }
d14a1e28
RD
1213
1214#include <wx/dataobj.h>
1215
1216 // Create a new class for wxPython to use
1217class wxPyDataObjectSimple : public wxDataObjectSimple {
1218public:
1219 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
1220 : wxDataObjectSimple(format) {}
1221
1222 DEC_PYCALLBACK_SIZET__const(GetDataSize);
1223 bool GetDataHere(void *buf) const;
1224 bool SetData(size_t len, const void *buf) const;
1225 PYPRIVATE;
1226};
1227
1228IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
1229
1230bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
1231 // We need to get the data for this object and write it to buf. I think
1232 // the best way to do this for wxPython is to have the Python method
1233 // return either a string or None and then act appropriately with the
1234 // C++ version.
1235
e811c8ce 1236 bool rval = False;
4f89f6a3 1237 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1238 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
1239 PyObject* ro;
1240 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1241 if (ro) {
1242 rval = (ro != Py_None && PyString_Check(ro));
1243 if (rval)
1244 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
1245 Py_DECREF(ro);
1246 }
1247 }
4f89f6a3 1248 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1249 return rval;
1250}
1251
1252bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
1253 // For this one we simply need to make a string from buf and len
1254 // and send it to the Python method.
e811c8ce 1255 bool rval = False;
4f89f6a3 1256 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1257 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
1258 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
1259 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
1260 Py_DECREF(data);
1261 }
4f89f6a3 1262 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1263 return rval;
1264}
1265
1266 // Create a new class for wxPython to use
1267class wxPyTextDataObject : public wxTextDataObject {
1268public:
1269 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
1270 : wxTextDataObject(text) {}
1271
1272 DEC_PYCALLBACK_SIZET__const(GetTextLength);
1273 DEC_PYCALLBACK_STRING__const(GetText);
1274 DEC_PYCALLBACK__STRING(SetText);
1275 PYPRIVATE;
1276};
1277
1278IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
1279IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
1280IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
1281
1282
1283 // Create a new class for wxPython to use
1284class wxPyBitmapDataObject : public wxBitmapDataObject {
1285public:
1286 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1287 : wxBitmapDataObject(bitmap) {}
1288
1289 wxBitmap GetBitmap() const;
1290 void SetBitmap(const wxBitmap& bitmap);
1291 PYPRIVATE;
1292};
1293
1294wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1295 wxBitmap* rval = &wxNullBitmap;
4f89f6a3 1296 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1297 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1298 PyObject* ro;
1299 wxBitmap* ptr;
1300 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1301 if (ro) {
1302 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1303 rval = ptr;
1304 Py_DECREF(ro);
1305 }
1306 }
4f89f6a3 1307 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1308 return *rval;
1309}
1310
1311void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
4f89f6a3 1312 bool blocked = wxPyBeginBlockThreads();
d14a1e28 1313 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
e811c8ce 1314 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
d14a1e28
RD
1315 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1316 Py_DECREF(bo);
1317 }
4f89f6a3 1318 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1319}
1320
1321void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1322 if (PyString_Check(data)) {
1323 // for Python we just call SetData here since we always need it to make a copy.
1324 self->SetData(PyString_Size(data), PyString_AsString(data));
1325 }
1326 else {
1327 // raise a TypeError if not a string
1328 PyErr_SetString(PyExc_TypeError, "String expected.");
1329 }
1330 }
1331bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1332 if (PyString_Check(data)) {
1333 return self->SetData(PyString_Size(data), PyString_AsString(data));
1334 }
1335 else {
1336 // raise a TypeError if not a string
1337 PyErr_SetString(PyExc_TypeError, "String expected.");
e811c8ce 1338 return False;
d14a1e28
RD
1339 }
1340 }
1341PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1342 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1343 }
1344
1345class wxMetafileDataObject : public wxDataObjectSimple
1346{
1347public:
39f61e25 1348 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
d14a1e28
RD
1349};
1350
1351
d14a1e28
RD
1352IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1353
1354
d14a1e28
RD
1355IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1356IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1357IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1358IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1359IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1360
1361
d14a1e28
RD
1362class wxPyTextDropTarget : public wxTextDropTarget {
1363public:
1364 wxPyTextDropTarget() {}
1365
1366 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1367
1368 DEC_PYCALLBACK__(OnLeave);
1369 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1370 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1371 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1372 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1373
1374 PYPRIVATE;
1375};
1376
1377IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1378IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1379IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1380IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1381IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1382IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1383
1384
1385
1386class wxPyFileDropTarget : public wxFileDropTarget {
1387public:
1388 wxPyFileDropTarget() {}
1389
1390 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1391
1392 DEC_PYCALLBACK__(OnLeave);
1393 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1394 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1395 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1396 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1397
1398 PYPRIVATE;
1399};
1400
1401bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1402 const wxArrayString& filenames) {
e811c8ce 1403 bool rval = False;
4f89f6a3 1404 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1405 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1406 PyObject* list = wxArrayString2PyList_helper(filenames);
1407 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1408 Py_DECREF(list);
1409 }
4f89f6a3 1410 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1411 return rval;
1412}
1413
1414
1415
1416IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1417IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1418IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1419IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1420IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1421
1422
1423
1424
1425bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
4276dc52
RD
1426
1427#include "wx/display.h"
1428
1429bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : False; }
1430bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : True; }
1431int Display_GetFromWindow(wxWindow *window){ wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1432PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode){
1433 PyObject* pyList = NULL;
1434 wxArrayVideoModes arr = self->GetModes(mode);
4f89f6a3 1435 bool blocked = wxPyBeginBlockThreads();
4276dc52
RD
1436 pyList = PyList_New(0);
1437 for (int i=0; i < arr.GetCount(); i++) {
1438 wxVideoMode* m = new wxVideoMode(arr.Item(i));
1439 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
1440 PyList_Append(pyList, pyObj);
1441 }
4f89f6a3 1442 wxPyEndBlockThreads(blocked);
4276dc52
RD
1443 return pyList;
1444 }
d14a1e28
RD
1445#ifdef __cplusplus
1446extern "C" {
1447#endif
1448static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1449 PyObject *resultobj;
1450 int arg1 ;
1451 wxColour result;
994141e6 1452 PyObject * obj0 = 0 ;
d14a1e28
RD
1453 char *kwnames[] = {
1454 (char *) "index", NULL
1455 };
1456
994141e6 1457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
1458 arg1 = (wxSystemColour) SWIG_AsInt(obj0);
1459 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1460 {
1461 PyThreadState* __tstate = wxPyBeginAllowThreads();
1462 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1463
1464 wxPyEndAllowThreads(__tstate);
1465 if (PyErr_Occurred()) SWIG_fail;
1466 }
1467 {
1468 wxColour * resultptr;
1469 resultptr = new wxColour((wxColour &) result);
15afbcd0 1470 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1471 }
1472 return resultobj;
1473 fail:
1474 return NULL;
1475}
1476
1477
1478static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1479 PyObject *resultobj;
1480 int arg1 ;
1481 wxFont result;
994141e6 1482 PyObject * obj0 = 0 ;
d14a1e28
RD
1483 char *kwnames[] = {
1484 (char *) "index", NULL
1485 };
1486
994141e6 1487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
1488 arg1 = (wxSystemFont) SWIG_AsInt(obj0);
1489 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1490 {
1491 PyThreadState* __tstate = wxPyBeginAllowThreads();
1492 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1493
1494 wxPyEndAllowThreads(__tstate);
1495 if (PyErr_Occurred()) SWIG_fail;
1496 }
1497 {
1498 wxFont * resultptr;
1499 resultptr = new wxFont((wxFont &) result);
15afbcd0 1500 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
1501 }
1502 return resultobj;
1503 fail:
1504 return NULL;
1505}
1506
1507
1508static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1509 PyObject *resultobj;
1510 int arg1 ;
1511 int result;
994141e6 1512 PyObject * obj0 = 0 ;
d14a1e28
RD
1513 char *kwnames[] = {
1514 (char *) "index", NULL
1515 };
1516
994141e6 1517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
15afbcd0
RD
1518 arg1 = (wxSystemMetric) SWIG_AsInt(obj0);
1519 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1520 {
1521 PyThreadState* __tstate = wxPyBeginAllowThreads();
1522 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1523
1524 wxPyEndAllowThreads(__tstate);
1525 if (PyErr_Occurred()) SWIG_fail;
1526 }
15afbcd0 1527 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1528 return resultobj;
1529 fail:
1530 return NULL;
1531}
1532
1533
1534static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1535 PyObject *resultobj;
1536 int arg1 ;
1537 bool result;
994141e6 1538 PyObject * obj0 = 0 ;
d14a1e28
RD
1539 char *kwnames[] = {
1540 (char *) "index", NULL
1541 };
1542
994141e6 1543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
15afbcd0
RD
1544 arg1 = (wxSystemFeature) SWIG_AsInt(obj0);
1545 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1546 {
1547 PyThreadState* __tstate = wxPyBeginAllowThreads();
1548 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1549
1550 wxPyEndAllowThreads(__tstate);
1551 if (PyErr_Occurred()) SWIG_fail;
1552 }
4f89f6a3
RD
1553 {
1554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1555 }
d14a1e28
RD
1556 return resultobj;
1557 fail:
1558 return NULL;
1559}
1560
1561
1562static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1563 PyObject *resultobj;
1564 int result;
1565 char *kwnames[] = {
1566 NULL
1567 };
1568
1569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1570 {
1571 PyThreadState* __tstate = wxPyBeginAllowThreads();
1572 result = (int)wxSystemSettings::GetScreenType();
1573
1574 wxPyEndAllowThreads(__tstate);
1575 if (PyErr_Occurred()) SWIG_fail;
1576 }
15afbcd0 1577 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1578 return resultobj;
1579 fail:
1580 return NULL;
1581}
1582
1583
1584static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1585 PyObject *resultobj;
1586 int arg1 ;
994141e6 1587 PyObject * obj0 = 0 ;
d14a1e28
RD
1588 char *kwnames[] = {
1589 (char *) "screen", NULL
1590 };
1591
994141e6 1592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
15afbcd0
RD
1593 arg1 = (wxSystemScreenType) SWIG_AsInt(obj0);
1594 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1595 {
1596 PyThreadState* __tstate = wxPyBeginAllowThreads();
1597 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1598
1599 wxPyEndAllowThreads(__tstate);
1600 if (PyErr_Occurred()) SWIG_fail;
1601 }
1602 Py_INCREF(Py_None); resultobj = Py_None;
1603 return resultobj;
1604 fail:
1605 return NULL;
1606}
1607
1608
1609static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1610 PyObject *obj;
1611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1612 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1613 Py_INCREF(obj);
1614 return Py_BuildValue((char *)"");
1615}
1616static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1617 PyObject *resultobj;
1618 wxSystemOptions *result;
1619 char *kwnames[] = {
1620 NULL
1621 };
1622
1623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1624 {
1625 PyThreadState* __tstate = wxPyBeginAllowThreads();
1626 result = (wxSystemOptions *)new wxSystemOptions();
1627
1628 wxPyEndAllowThreads(__tstate);
1629 if (PyErr_Occurred()) SWIG_fail;
1630 }
15afbcd0 1631 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
d14a1e28
RD
1632 return resultobj;
1633 fail:
1634 return NULL;
1635}
1636
1637
1638static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1639 PyObject *resultobj;
1640 wxString *arg1 = 0 ;
1641 wxString *arg2 = 0 ;
e811c8ce
RD
1642 bool temp1 = False ;
1643 bool temp2 = False ;
d14a1e28
RD
1644 PyObject * obj0 = 0 ;
1645 PyObject * obj1 = 0 ;
1646 char *kwnames[] = {
1647 (char *) "name",(char *) "value", NULL
1648 };
1649
1650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1651 {
1652 arg1 = wxString_in_helper(obj0);
1653 if (arg1 == NULL) SWIG_fail;
e811c8ce 1654 temp1 = True;
d14a1e28
RD
1655 }
1656 {
1657 arg2 = wxString_in_helper(obj1);
1658 if (arg2 == NULL) SWIG_fail;
e811c8ce 1659 temp2 = True;
d14a1e28
RD
1660 }
1661 {
1662 PyThreadState* __tstate = wxPyBeginAllowThreads();
1663 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1664
1665 wxPyEndAllowThreads(__tstate);
1666 if (PyErr_Occurred()) SWIG_fail;
1667 }
1668 Py_INCREF(Py_None); resultobj = Py_None;
1669 {
1670 if (temp1)
1671 delete arg1;
1672 }
1673 {
1674 if (temp2)
1675 delete arg2;
1676 }
1677 return resultobj;
1678 fail:
1679 {
1680 if (temp1)
1681 delete arg1;
1682 }
1683 {
1684 if (temp2)
1685 delete arg2;
1686 }
1687 return NULL;
1688}
1689
1690
1691static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1692 PyObject *resultobj;
1693 wxString *arg1 = 0 ;
1694 int arg2 ;
e811c8ce 1695 bool temp1 = False ;
d14a1e28 1696 PyObject * obj0 = 0 ;
994141e6 1697 PyObject * obj1 = 0 ;
d14a1e28
RD
1698 char *kwnames[] = {
1699 (char *) "name",(char *) "value", NULL
1700 };
1701
994141e6 1702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
1703 {
1704 arg1 = wxString_in_helper(obj0);
1705 if (arg1 == NULL) SWIG_fail;
e811c8ce 1706 temp1 = True;
d14a1e28 1707 }
15afbcd0
RD
1708 arg2 = (int) SWIG_AsInt(obj1);
1709 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1710 {
1711 PyThreadState* __tstate = wxPyBeginAllowThreads();
1712 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1713
1714 wxPyEndAllowThreads(__tstate);
1715 if (PyErr_Occurred()) SWIG_fail;
1716 }
1717 Py_INCREF(Py_None); resultobj = Py_None;
1718 {
1719 if (temp1)
1720 delete arg1;
1721 }
1722 return resultobj;
1723 fail:
1724 {
1725 if (temp1)
1726 delete arg1;
1727 }
1728 return NULL;
1729}
1730
1731
1732static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1733 PyObject *resultobj;
1734 wxString *arg1 = 0 ;
1735 wxString result;
e811c8ce 1736 bool temp1 = False ;
d14a1e28
RD
1737 PyObject * obj0 = 0 ;
1738 char *kwnames[] = {
1739 (char *) "name", NULL
1740 };
1741
1742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1743 {
1744 arg1 = wxString_in_helper(obj0);
1745 if (arg1 == NULL) SWIG_fail;
e811c8ce 1746 temp1 = True;
d14a1e28
RD
1747 }
1748 {
1749 PyThreadState* __tstate = wxPyBeginAllowThreads();
1750 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1751
1752 wxPyEndAllowThreads(__tstate);
1753 if (PyErr_Occurred()) SWIG_fail;
1754 }
1755 {
1756#if wxUSE_UNICODE
1757 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1758#else
1759 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1760#endif
1761 }
1762 {
1763 if (temp1)
1764 delete arg1;
1765 }
1766 return resultobj;
1767 fail:
1768 {
1769 if (temp1)
1770 delete arg1;
1771 }
1772 return NULL;
1773}
1774
1775
1776static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1777 PyObject *resultobj;
1778 wxString *arg1 = 0 ;
1779 int result;
e811c8ce 1780 bool temp1 = False ;
d14a1e28
RD
1781 PyObject * obj0 = 0 ;
1782 char *kwnames[] = {
1783 (char *) "name", NULL
1784 };
1785
1786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1787 {
1788 arg1 = wxString_in_helper(obj0);
1789 if (arg1 == NULL) SWIG_fail;
e811c8ce 1790 temp1 = True;
d14a1e28
RD
1791 }
1792 {
1793 PyThreadState* __tstate = wxPyBeginAllowThreads();
1794 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1795
1796 wxPyEndAllowThreads(__tstate);
1797 if (PyErr_Occurred()) SWIG_fail;
1798 }
15afbcd0 1799 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1800 {
1801 if (temp1)
1802 delete arg1;
1803 }
1804 return resultobj;
1805 fail:
1806 {
1807 if (temp1)
1808 delete arg1;
1809 }
1810 return NULL;
1811}
1812
1813
1814static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1815 PyObject *resultobj;
1816 wxString *arg1 = 0 ;
1817 bool result;
e811c8ce 1818 bool temp1 = False ;
d14a1e28
RD
1819 PyObject * obj0 = 0 ;
1820 char *kwnames[] = {
1821 (char *) "name", NULL
1822 };
1823
1824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1825 {
1826 arg1 = wxString_in_helper(obj0);
1827 if (arg1 == NULL) SWIG_fail;
e811c8ce 1828 temp1 = True;
d14a1e28
RD
1829 }
1830 {
1831 PyThreadState* __tstate = wxPyBeginAllowThreads();
1832 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1833
1834 wxPyEndAllowThreads(__tstate);
1835 if (PyErr_Occurred()) SWIG_fail;
1836 }
4f89f6a3
RD
1837 {
1838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1839 }
d14a1e28
RD
1840 {
1841 if (temp1)
1842 delete arg1;
1843 }
1844 return resultobj;
1845 fail:
1846 {
1847 if (temp1)
1848 delete arg1;
1849 }
1850 return NULL;
1851}
1852
1853
1854static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1855 PyObject *obj;
1856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1857 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1858 Py_INCREF(obj);
1859 return Py_BuildValue((char *)"");
1860}
b2dc1044
RD
1861static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
1862 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
1863 return 1;
1864}
1865
1866
1867static PyObject *_wrap_FileSelectorPromptStr_get() {
1868 PyObject *pyobj;
1869
1870 {
1871#if wxUSE_UNICODE
1872 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1873#else
1874 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1875#endif
1876 }
1877 return pyobj;
1878}
1879
1880
1881static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
1882 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
1883 return 1;
1884}
1885
1886
1887static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
1888 PyObject *pyobj;
1889
1890 {
1891#if wxUSE_UNICODE
1892 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1893#else
1894 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1895#endif
1896 }
1897 return pyobj;
1898}
1899
1900
1901static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
1902 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
1903 return 1;
1904}
1905
1906
1907static PyObject *_wrap_DirSelectorPromptStr_get() {
1908 PyObject *pyobj;
1909
1910 {
1911#if wxUSE_UNICODE
1912 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1913#else
1914 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1915#endif
1916 }
1917 return pyobj;
1918}
1919
1920
d14a1e28
RD
1921static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1922 PyObject *resultobj;
1923 long result;
1924 char *kwnames[] = {
1925 NULL
1926 };
1927
1928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1929 {
1930 PyThreadState* __tstate = wxPyBeginAllowThreads();
1931 result = (long)wxNewId();
1932
1933 wxPyEndAllowThreads(__tstate);
1934 if (PyErr_Occurred()) SWIG_fail;
1935 }
15afbcd0 1936 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
1937 return resultobj;
1938 fail:
1939 return NULL;
1940}
1941
1942
1943static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1944 PyObject *resultobj;
1945 long arg1 ;
994141e6 1946 PyObject * obj0 = 0 ;
d14a1e28
RD
1947 char *kwnames[] = {
1948 (char *) "id", NULL
1949 };
1950
994141e6 1951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
15afbcd0
RD
1952 arg1 = (long) SWIG_AsLong(obj0);
1953 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1954 {
1955 PyThreadState* __tstate = wxPyBeginAllowThreads();
1956 wxRegisterId(arg1);
1957
1958 wxPyEndAllowThreads(__tstate);
1959 if (PyErr_Occurred()) SWIG_fail;
1960 }
1961 Py_INCREF(Py_None); resultobj = Py_None;
1962 return resultobj;
1963 fail:
1964 return NULL;
1965}
1966
1967
1968static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1969 PyObject *resultobj;
1970 long result;
1971 char *kwnames[] = {
1972 NULL
1973 };
1974
1975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1976 {
1977 PyThreadState* __tstate = wxPyBeginAllowThreads();
1978 result = (long)wxGetCurrentId();
1979
1980 wxPyEndAllowThreads(__tstate);
1981 if (PyErr_Occurred()) SWIG_fail;
1982 }
15afbcd0 1983 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
1984 return resultobj;
1985 fail:
1986 return NULL;
1987}
1988
1989
1990static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
1991 PyObject *resultobj;
1992 char *kwnames[] = {
1993 NULL
1994 };
1995
1996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1997 {
1998 PyThreadState* __tstate = wxPyBeginAllowThreads();
1999 wxBell();
2000
2001 wxPyEndAllowThreads(__tstate);
2002 if (PyErr_Occurred()) SWIG_fail;
2003 }
2004 Py_INCREF(Py_None); resultobj = Py_None;
2005 return resultobj;
2006 fail:
2007 return NULL;
2008}
2009
2010
2011static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
2012 PyObject *resultobj;
2013 char *kwnames[] = {
2014 NULL
2015 };
2016
2017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
2018 {
2019 PyThreadState* __tstate = wxPyBeginAllowThreads();
2020 wxEndBusyCursor();
2021
2022 wxPyEndAllowThreads(__tstate);
2023 if (PyErr_Occurred()) SWIG_fail;
2024 }
2025 Py_INCREF(Py_None); resultobj = Py_None;
2026 return resultobj;
2027 fail:
2028 return NULL;
2029}
2030
2031
2032static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
2033 PyObject *resultobj;
e811c8ce 2034 bool arg1 = (bool) True ;
d14a1e28
RD
2035 long result;
2036 PyObject * obj0 = 0 ;
2037 char *kwnames[] = {
2038 (char *) "resetTimer", NULL
2039 };
2040
2041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
2042 if (obj0) {
15afbcd0
RD
2043 arg1 = (bool) SWIG_AsBool(obj0);
2044 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2045 }
2046 {
2047 PyThreadState* __tstate = wxPyBeginAllowThreads();
2048 result = (long)wxGetElapsedTime(arg1);
2049
2050 wxPyEndAllowThreads(__tstate);
2051 if (PyErr_Occurred()) SWIG_fail;
2052 }
15afbcd0 2053 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
2054 return resultobj;
2055 fail:
2056 return NULL;
2057}
2058
2059
2060static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2061 PyObject *resultobj;
2062 int *arg1 = (int *) 0 ;
2063 int *arg2 = (int *) 0 ;
2064 int temp1 ;
2065 int temp2 ;
2066 char *kwnames[] = {
2067 NULL
2068 };
2069
2070 arg1 = &temp1;
2071 arg2 = &temp2;
2072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
2073 {
2074 PyThreadState* __tstate = wxPyBeginAllowThreads();
2075 wxGetMousePosition(arg1,arg2);
2076
2077 wxPyEndAllowThreads(__tstate);
2078 if (PyErr_Occurred()) SWIG_fail;
2079 }
2080 Py_INCREF(Py_None); resultobj = Py_None;
2081 {
2082 PyObject *o = PyInt_FromLong((long) (*arg1));
2083 resultobj = t_output_helper(resultobj,o);
2084 }
2085 {
2086 PyObject *o = PyInt_FromLong((long) (*arg2));
2087 resultobj = t_output_helper(resultobj,o);
2088 }
2089 return resultobj;
2090 fail:
2091 return NULL;
2092}
2093
2094
2095static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
2096 PyObject *resultobj;
2097 bool result;
2098 char *kwnames[] = {
2099 NULL
2100 };
2101
2102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
2103 {
2104 PyThreadState* __tstate = wxPyBeginAllowThreads();
2105 result = (bool)wxIsBusy();
2106
2107 wxPyEndAllowThreads(__tstate);
2108 if (PyErr_Occurred()) SWIG_fail;
2109 }
4f89f6a3
RD
2110 {
2111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2112 }
d14a1e28
RD
2113 return resultobj;
2114 fail:
2115 return NULL;
2116}
2117
2118
2119static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
2120 PyObject *resultobj;
2121 wxString result;
2122 char *kwnames[] = {
2123 NULL
2124 };
2125
2126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
2127 {
2128 PyThreadState* __tstate = wxPyBeginAllowThreads();
2129 result = wxNow();
2130
2131 wxPyEndAllowThreads(__tstate);
2132 if (PyErr_Occurred()) SWIG_fail;
2133 }
2134 {
2135#if wxUSE_UNICODE
2136 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2137#else
2138 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2139#endif
2140 }
2141 return resultobj;
2142 fail:
2143 return NULL;
2144}
2145
2146
2147static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
2148 PyObject *resultobj;
2149 wxString const &arg1_defvalue = wxPyEmptyString ;
2150 wxString *arg1 = (wxString *) &arg1_defvalue ;
2151 bool result;
e811c8ce 2152 bool temp1 = False ;
d14a1e28
RD
2153 PyObject * obj0 = 0 ;
2154 char *kwnames[] = {
2155 (char *) "command", NULL
2156 };
2157
2158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
2159 if (obj0) {
2160 {
2161 arg1 = wxString_in_helper(obj0);
2162 if (arg1 == NULL) SWIG_fail;
e811c8ce 2163 temp1 = True;
d14a1e28
RD
2164 }
2165 }
2166 {
2167 PyThreadState* __tstate = wxPyBeginAllowThreads();
2168 result = (bool)wxShell((wxString const &)*arg1);
2169
2170 wxPyEndAllowThreads(__tstate);
2171 if (PyErr_Occurred()) SWIG_fail;
2172 }
4f89f6a3
RD
2173 {
2174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2175 }
d14a1e28
RD
2176 {
2177 if (temp1)
2178 delete arg1;
2179 }
2180 return resultobj;
2181 fail:
2182 {
2183 if (temp1)
2184 delete arg1;
2185 }
2186 return NULL;
2187}
2188
2189
2190static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
2191 PyObject *resultobj;
2192 char *kwnames[] = {
2193 NULL
2194 };
2195
2196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2197 {
2198 PyThreadState* __tstate = wxPyBeginAllowThreads();
2199 wxStartTimer();
2200
2201 wxPyEndAllowThreads(__tstate);
2202 if (PyErr_Occurred()) SWIG_fail;
2203 }
2204 Py_INCREF(Py_None); resultobj = Py_None;
2205 return resultobj;
2206 fail:
2207 return NULL;
2208}
2209
2210
2211static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
2212 PyObject *resultobj;
2213 int *arg1 = (int *) 0 ;
2214 int *arg2 = (int *) 0 ;
2215 int result;
2216 int temp1 ;
2217 int temp2 ;
2218 char *kwnames[] = {
2219 NULL
2220 };
2221
2222 arg1 = &temp1;
2223 arg2 = &temp2;
2224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2225 {
2226 PyThreadState* __tstate = wxPyBeginAllowThreads();
2227 result = (int)wxGetOsVersion(arg1,arg2);
2228
2229 wxPyEndAllowThreads(__tstate);
2230 if (PyErr_Occurred()) SWIG_fail;
2231 }
15afbcd0 2232 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2233 {
2234 PyObject *o = PyInt_FromLong((long) (*arg1));
2235 resultobj = t_output_helper(resultobj,o);
2236 }
2237 {
2238 PyObject *o = PyInt_FromLong((long) (*arg2));
2239 resultobj = t_output_helper(resultobj,o);
2240 }
2241 return resultobj;
2242 fail:
2243 return NULL;
2244}
2245
2246
2247static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
2248 PyObject *resultobj;
2249 wxString result;
2250 char *kwnames[] = {
2251 NULL
2252 };
2253
2254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2255 {
2256 PyThreadState* __tstate = wxPyBeginAllowThreads();
2257 result = wxGetOsDescription();
2258
2259 wxPyEndAllowThreads(__tstate);
2260 if (PyErr_Occurred()) SWIG_fail;
2261 }
2262 {
2263#if wxUSE_UNICODE
2264 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2265#else
2266 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2267#endif
2268 }
2269 return resultobj;
2270 fail:
2271 return NULL;
2272}
2273
2274
2275static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
2276 PyObject *resultobj;
2277 long result;
2278 char *kwnames[] = {
2279 NULL
2280 };
2281
2282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2283 {
2284 PyThreadState* __tstate = wxPyBeginAllowThreads();
2285 result = (long)wxGetFreeMemory();
2286
2287 wxPyEndAllowThreads(__tstate);
2288 if (PyErr_Occurred()) SWIG_fail;
2289 }
15afbcd0 2290 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
2291 return resultobj;
2292 fail:
2293 return NULL;
2294}
2295
2296
2297static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
2298 PyObject *resultobj;
2299 int arg1 ;
2300 bool result;
994141e6 2301 PyObject * obj0 = 0 ;
d14a1e28
RD
2302 char *kwnames[] = {
2303 (char *) "wFlags", NULL
2304 };
2305
994141e6 2306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
15afbcd0
RD
2307 arg1 = (wxShutdownFlags) SWIG_AsInt(obj0);
2308 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2309 {
2310 PyThreadState* __tstate = wxPyBeginAllowThreads();
2311 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2312
2313 wxPyEndAllowThreads(__tstate);
2314 if (PyErr_Occurred()) SWIG_fail;
2315 }
4f89f6a3
RD
2316 {
2317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2318 }
d14a1e28
RD
2319 return resultobj;
2320 fail:
2321 return NULL;
2322}
2323
2324
2325static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2326 PyObject *resultobj;
2327 int arg1 ;
994141e6 2328 PyObject * obj0 = 0 ;
d14a1e28
RD
2329 char *kwnames[] = {
2330 (char *) "secs", NULL
2331 };
2332
994141e6 2333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
15afbcd0
RD
2334 arg1 = (int) SWIG_AsInt(obj0);
2335 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2336 {
2337 PyThreadState* __tstate = wxPyBeginAllowThreads();
2338 wxSleep(arg1);
2339
2340 wxPyEndAllowThreads(__tstate);
2341 if (PyErr_Occurred()) SWIG_fail;
2342 }
2343 Py_INCREF(Py_None); resultobj = Py_None;
2344 return resultobj;
2345 fail:
2346 return NULL;
2347}
2348
2349
2350static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2351 PyObject *resultobj;
2352 unsigned long arg1 ;
2353 PyObject * obj0 = 0 ;
2354 char *kwnames[] = {
2355 (char *) "milliseconds", NULL
2356 };
2357
2358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
15afbcd0
RD
2359 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
2360 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2361 {
2362 PyThreadState* __tstate = wxPyBeginAllowThreads();
2363 wxUsleep(arg1);
2364
2365 wxPyEndAllowThreads(__tstate);
2366 if (PyErr_Occurred()) SWIG_fail;
2367 }
2368 Py_INCREF(Py_None); resultobj = Py_None;
2369 return resultobj;
2370 fail:
2371 return NULL;
2372}
2373
2374
2375static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2376 PyObject *resultobj;
2377 bool arg1 ;
2378 PyObject * obj0 = 0 ;
2379 char *kwnames[] = {
2380 (char *) "enable", NULL
2381 };
2382
2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
2384 arg1 = (bool) SWIG_AsBool(obj0);
2385 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2386 {
2387 PyThreadState* __tstate = wxPyBeginAllowThreads();
2388 wxEnableTopLevelWindows(arg1);
2389
2390 wxPyEndAllowThreads(__tstate);
2391 if (PyErr_Occurred()) SWIG_fail;
2392 }
2393 Py_INCREF(Py_None); resultobj = Py_None;
2394 return resultobj;
2395 fail:
2396 return NULL;
2397}
2398
2399
2400static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2401 PyObject *resultobj;
2402 wxString *arg1 = 0 ;
2403 wxString result;
e811c8ce 2404 bool temp1 = False ;
d14a1e28
RD
2405 PyObject * obj0 = 0 ;
2406 char *kwnames[] = {
2407 (char *) "in", NULL
2408 };
2409
2410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2411 {
2412 arg1 = wxString_in_helper(obj0);
2413 if (arg1 == NULL) SWIG_fail;
e811c8ce 2414 temp1 = True;
d14a1e28
RD
2415 }
2416 {
2417 PyThreadState* __tstate = wxPyBeginAllowThreads();
2418 result = wxStripMenuCodes((wxString const &)*arg1);
2419
2420 wxPyEndAllowThreads(__tstate);
2421 if (PyErr_Occurred()) SWIG_fail;
2422 }
2423 {
2424#if wxUSE_UNICODE
2425 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2426#else
2427 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2428#endif
2429 }
2430 {
2431 if (temp1)
2432 delete arg1;
2433 }
2434 return resultobj;
2435 fail:
2436 {
2437 if (temp1)
2438 delete arg1;
2439 }
2440 return NULL;
2441}
2442
2443
2444static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2445 PyObject *resultobj;
2446 wxString result;
2447 char *kwnames[] = {
2448 NULL
2449 };
2450
2451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2452 {
2453 PyThreadState* __tstate = wxPyBeginAllowThreads();
2454 result = wxGetEmailAddress();
2455
2456 wxPyEndAllowThreads(__tstate);
2457 if (PyErr_Occurred()) SWIG_fail;
2458 }
2459 {
2460#if wxUSE_UNICODE
2461 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2462#else
2463 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2464#endif
2465 }
2466 return resultobj;
2467 fail:
2468 return NULL;
2469}
2470
2471
2472static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2473 PyObject *resultobj;
2474 wxString result;
2475 char *kwnames[] = {
2476 NULL
2477 };
2478
2479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2480 {
2481 PyThreadState* __tstate = wxPyBeginAllowThreads();
2482 result = wxGetHostName();
2483
2484 wxPyEndAllowThreads(__tstate);
2485 if (PyErr_Occurred()) SWIG_fail;
2486 }
2487 {
2488#if wxUSE_UNICODE
2489 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2490#else
2491 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2492#endif
2493 }
2494 return resultobj;
2495 fail:
2496 return NULL;
2497}
2498
2499
2500static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2501 PyObject *resultobj;
2502 wxString result;
2503 char *kwnames[] = {
2504 NULL
2505 };
2506
2507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2508 {
2509 PyThreadState* __tstate = wxPyBeginAllowThreads();
2510 result = wxGetFullHostName();
2511
2512 wxPyEndAllowThreads(__tstate);
2513 if (PyErr_Occurred()) SWIG_fail;
2514 }
2515 {
2516#if wxUSE_UNICODE
2517 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2518#else
2519 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2520#endif
2521 }
2522 return resultobj;
2523 fail:
2524 return NULL;
2525}
2526
2527
2528static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2529 PyObject *resultobj;
2530 wxString result;
2531 char *kwnames[] = {
2532 NULL
2533 };
2534
2535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2536 {
2537 PyThreadState* __tstate = wxPyBeginAllowThreads();
2538 result = wxGetUserId();
2539
2540 wxPyEndAllowThreads(__tstate);
2541 if (PyErr_Occurred()) SWIG_fail;
2542 }
2543 {
2544#if wxUSE_UNICODE
2545 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2546#else
2547 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2548#endif
2549 }
2550 return resultobj;
2551 fail:
2552 return NULL;
2553}
2554
2555
2556static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2557 PyObject *resultobj;
2558 wxString result;
2559 char *kwnames[] = {
2560 NULL
2561 };
2562
2563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2564 {
2565 PyThreadState* __tstate = wxPyBeginAllowThreads();
2566 result = wxGetUserName();
2567
2568 wxPyEndAllowThreads(__tstate);
2569 if (PyErr_Occurred()) SWIG_fail;
2570 }
2571 {
2572#if wxUSE_UNICODE
2573 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2574#else
2575 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2576#endif
2577 }
2578 return resultobj;
2579 fail:
2580 return NULL;
2581}
2582
2583
2584static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2585 PyObject *resultobj;
2586 wxString result;
2587 char *kwnames[] = {
2588 NULL
2589 };
2590
2591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2592 {
2593 PyThreadState* __tstate = wxPyBeginAllowThreads();
2594 result = wxGetHomeDir();
2595
2596 wxPyEndAllowThreads(__tstate);
2597 if (PyErr_Occurred()) SWIG_fail;
2598 }
2599 {
2600#if wxUSE_UNICODE
2601 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2602#else
2603 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2604#endif
2605 }
2606 return resultobj;
2607 fail:
2608 return NULL;
2609}
2610
2611
2612static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2613 PyObject *resultobj;
2614 wxString const &arg1_defvalue = wxPyEmptyString ;
2615 wxString *arg1 = (wxString *) &arg1_defvalue ;
2616 wxString result;
e811c8ce 2617 bool temp1 = False ;
d14a1e28
RD
2618 PyObject * obj0 = 0 ;
2619 char *kwnames[] = {
2620 (char *) "user", NULL
2621 };
2622
2623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2624 if (obj0) {
2625 {
2626 arg1 = wxString_in_helper(obj0);
2627 if (arg1 == NULL) SWIG_fail;
e811c8ce 2628 temp1 = True;
d14a1e28
RD
2629 }
2630 }
2631 {
2632 PyThreadState* __tstate = wxPyBeginAllowThreads();
2633 result = wxGetUserHome((wxString const &)*arg1);
2634
2635 wxPyEndAllowThreads(__tstate);
2636 if (PyErr_Occurred()) SWIG_fail;
2637 }
2638 {
2639#if wxUSE_UNICODE
2640 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2641#else
2642 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2643#endif
2644 }
2645 {
2646 if (temp1)
2647 delete arg1;
2648 }
2649 return resultobj;
2650 fail:
2651 {
2652 if (temp1)
2653 delete arg1;
2654 }
2655 return NULL;
2656}
2657
2658
2659static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2660 PyObject *resultobj;
2661 unsigned long result;
2662 char *kwnames[] = {
2663 NULL
2664 };
2665
2666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2667 {
2668 PyThreadState* __tstate = wxPyBeginAllowThreads();
2669 result = (unsigned long)wxGetProcessId();
2670
2671 wxPyEndAllowThreads(__tstate);
2672 if (PyErr_Occurred()) SWIG_fail;
2673 }
15afbcd0 2674 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
2675 return resultobj;
2676 fail:
2677 return NULL;
2678}
2679
2680
2681static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2682 PyObject *resultobj;
2683 char *kwnames[] = {
2684 NULL
2685 };
2686
2687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2688 {
2689 PyThreadState* __tstate = wxPyBeginAllowThreads();
2690 wxTrap();
2691
2692 wxPyEndAllowThreads(__tstate);
2693 if (PyErr_Occurred()) SWIG_fail;
2694 }
2695 Py_INCREF(Py_None); resultobj = Py_None;
2696 return resultobj;
2697 fail:
2698 return NULL;
2699}
2700
2701
2702static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2703 PyObject *resultobj;
2704 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2705 wxString *arg1 = (wxString *) &arg1_defvalue ;
2706 wxString const &arg2_defvalue = wxPyEmptyString ;
2707 wxString *arg2 = (wxString *) &arg2_defvalue ;
2708 wxString const &arg3_defvalue = wxPyEmptyString ;
2709 wxString *arg3 = (wxString *) &arg3_defvalue ;
2710 wxString const &arg4_defvalue = wxPyEmptyString ;
2711 wxString *arg4 = (wxString *) &arg4_defvalue ;
2712 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2713 wxString *arg5 = (wxString *) &arg5_defvalue ;
2714 int arg6 = (int) 0 ;
2715 wxWindow *arg7 = (wxWindow *) NULL ;
2716 int arg8 = (int) -1 ;
2717 int arg9 = (int) -1 ;
2718 wxString result;
e811c8ce
RD
2719 bool temp1 = False ;
2720 bool temp2 = False ;
2721 bool temp3 = False ;
2722 bool temp4 = False ;
2723 bool temp5 = False ;
d14a1e28
RD
2724 PyObject * obj0 = 0 ;
2725 PyObject * obj1 = 0 ;
2726 PyObject * obj2 = 0 ;
2727 PyObject * obj3 = 0 ;
2728 PyObject * obj4 = 0 ;
994141e6 2729 PyObject * obj5 = 0 ;
d14a1e28 2730 PyObject * obj6 = 0 ;
994141e6
RD
2731 PyObject * obj7 = 0 ;
2732 PyObject * obj8 = 0 ;
d14a1e28
RD
2733 char *kwnames[] = {
2734 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2735 };
2736
994141e6 2737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d14a1e28
RD
2738 if (obj0) {
2739 {
2740 arg1 = wxString_in_helper(obj0);
2741 if (arg1 == NULL) SWIG_fail;
e811c8ce 2742 temp1 = True;
d14a1e28
RD
2743 }
2744 }
2745 if (obj1) {
2746 {
2747 arg2 = wxString_in_helper(obj1);
2748 if (arg2 == NULL) SWIG_fail;
e811c8ce 2749 temp2 = True;
d14a1e28
RD
2750 }
2751 }
2752 if (obj2) {
2753 {
2754 arg3 = wxString_in_helper(obj2);
2755 if (arg3 == NULL) SWIG_fail;
e811c8ce 2756 temp3 = True;
d14a1e28
RD
2757 }
2758 }
2759 if (obj3) {
2760 {
2761 arg4 = wxString_in_helper(obj3);
2762 if (arg4 == NULL) SWIG_fail;
e811c8ce 2763 temp4 = True;
d14a1e28
RD
2764 }
2765 }
2766 if (obj4) {
2767 {
2768 arg5 = wxString_in_helper(obj4);
2769 if (arg5 == NULL) SWIG_fail;
e811c8ce 2770 temp5 = True;
d14a1e28
RD
2771 }
2772 }
994141e6 2773 if (obj5) {
15afbcd0
RD
2774 arg6 = (int) SWIG_AsInt(obj5);
2775 if (PyErr_Occurred()) SWIG_fail;
994141e6 2776 }
d14a1e28 2777 if (obj6) {
15afbcd0
RD
2778 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
2779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 2780 }
994141e6 2781 if (obj7) {
15afbcd0
RD
2782 arg8 = (int) SWIG_AsInt(obj7);
2783 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
2784 }
2785 if (obj8) {
15afbcd0
RD
2786 arg9 = (int) SWIG_AsInt(obj8);
2787 if (PyErr_Occurred()) SWIG_fail;
994141e6 2788 }
d14a1e28
RD
2789 {
2790 PyThreadState* __tstate = wxPyBeginAllowThreads();
2791 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2792
2793 wxPyEndAllowThreads(__tstate);
2794 if (PyErr_Occurred()) SWIG_fail;
2795 }
2796 {
2797#if wxUSE_UNICODE
2798 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2799#else
2800 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2801#endif
2802 }
2803 {
2804 if (temp1)
2805 delete arg1;
2806 }
2807 {
2808 if (temp2)
2809 delete arg2;
2810 }
2811 {
2812 if (temp3)
2813 delete arg3;
2814 }
2815 {
2816 if (temp4)
2817 delete arg4;
2818 }
2819 {
2820 if (temp5)
2821 delete arg5;
2822 }
2823 return resultobj;
2824 fail:
2825 {
2826 if (temp1)
2827 delete arg1;
2828 }
2829 {
2830 if (temp2)
2831 delete arg2;
2832 }
2833 {
2834 if (temp3)
2835 delete arg3;
2836 }
2837 {
2838 if (temp4)
2839 delete arg4;
2840 }
2841 {
2842 if (temp5)
2843 delete arg5;
2844 }
2845 return NULL;
2846}
2847
2848
2849static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2850 PyObject *resultobj;
2851 wxString *arg1 = 0 ;
2852 wxString *arg2 = 0 ;
2853 wxString const &arg3_defvalue = wxPyEmptyString ;
2854 wxString *arg3 = (wxString *) &arg3_defvalue ;
2855 wxWindow *arg4 = (wxWindow *) NULL ;
2856 wxString result;
e811c8ce
RD
2857 bool temp1 = False ;
2858 bool temp2 = False ;
2859 bool temp3 = False ;
d14a1e28
RD
2860 PyObject * obj0 = 0 ;
2861 PyObject * obj1 = 0 ;
2862 PyObject * obj2 = 0 ;
2863 PyObject * obj3 = 0 ;
2864 char *kwnames[] = {
2865 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2866 };
2867
2868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2869 {
2870 arg1 = wxString_in_helper(obj0);
2871 if (arg1 == NULL) SWIG_fail;
e811c8ce 2872 temp1 = True;
d14a1e28
RD
2873 }
2874 {
2875 arg2 = wxString_in_helper(obj1);
2876 if (arg2 == NULL) SWIG_fail;
e811c8ce 2877 temp2 = True;
d14a1e28
RD
2878 }
2879 if (obj2) {
2880 {
2881 arg3 = wxString_in_helper(obj2);
2882 if (arg3 == NULL) SWIG_fail;
e811c8ce 2883 temp3 = True;
d14a1e28
RD
2884 }
2885 }
2886 if (obj3) {
15afbcd0
RD
2887 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
2888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2889 }
2890 {
2891 PyThreadState* __tstate = wxPyBeginAllowThreads();
2892 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2893
2894 wxPyEndAllowThreads(__tstate);
2895 if (PyErr_Occurred()) SWIG_fail;
2896 }
2897 {
2898#if wxUSE_UNICODE
2899 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2900#else
2901 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2902#endif
2903 }
2904 {
2905 if (temp1)
2906 delete arg1;
2907 }
2908 {
2909 if (temp2)
2910 delete arg2;
2911 }
2912 {
2913 if (temp3)
2914 delete arg3;
2915 }
2916 return resultobj;
2917 fail:
2918 {
2919 if (temp1)
2920 delete arg1;
2921 }
2922 {
2923 if (temp2)
2924 delete arg2;
2925 }
2926 {
2927 if (temp3)
2928 delete arg3;
2929 }
2930 return NULL;
2931}
2932
2933
2934static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2935 PyObject *resultobj;
2936 wxString *arg1 = 0 ;
2937 wxString *arg2 = 0 ;
2938 wxString const &arg3_defvalue = wxPyEmptyString ;
2939 wxString *arg3 = (wxString *) &arg3_defvalue ;
2940 wxWindow *arg4 = (wxWindow *) NULL ;
2941 wxString result;
e811c8ce
RD
2942 bool temp1 = False ;
2943 bool temp2 = False ;
2944 bool temp3 = False ;
d14a1e28
RD
2945 PyObject * obj0 = 0 ;
2946 PyObject * obj1 = 0 ;
2947 PyObject * obj2 = 0 ;
2948 PyObject * obj3 = 0 ;
2949 char *kwnames[] = {
2950 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2951 };
2952
2953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2954 {
2955 arg1 = wxString_in_helper(obj0);
2956 if (arg1 == NULL) SWIG_fail;
e811c8ce 2957 temp1 = True;
d14a1e28
RD
2958 }
2959 {
2960 arg2 = wxString_in_helper(obj1);
2961 if (arg2 == NULL) SWIG_fail;
e811c8ce 2962 temp2 = True;
d14a1e28
RD
2963 }
2964 if (obj2) {
2965 {
2966 arg3 = wxString_in_helper(obj2);
2967 if (arg3 == NULL) SWIG_fail;
e811c8ce 2968 temp3 = True;
d14a1e28
RD
2969 }
2970 }
2971 if (obj3) {
15afbcd0
RD
2972 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
2973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2974 }
2975 {
2976 PyThreadState* __tstate = wxPyBeginAllowThreads();
2977 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2978
2979 wxPyEndAllowThreads(__tstate);
2980 if (PyErr_Occurred()) SWIG_fail;
2981 }
2982 {
2983#if wxUSE_UNICODE
2984 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2985#else
2986 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2987#endif
2988 }
2989 {
2990 if (temp1)
2991 delete arg1;
2992 }
2993 {
2994 if (temp2)
2995 delete arg2;
2996 }
2997 {
2998 if (temp3)
2999 delete arg3;
3000 }
3001 return resultobj;
3002 fail:
3003 {
3004 if (temp1)
3005 delete arg1;
3006 }
3007 {
3008 if (temp2)
3009 delete arg2;
3010 }
3011 {
3012 if (temp3)
3013 delete arg3;
3014 }
3015 return NULL;
3016}
3017
3018
3019static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
3020 PyObject *resultobj;
3021 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
3022 wxString *arg1 = (wxString *) &arg1_defvalue ;
3023 wxString const &arg2_defvalue = wxPyEmptyString ;
3024 wxString *arg2 = (wxString *) &arg2_defvalue ;
3025 long arg3 = (long) wxDD_DEFAULT_STYLE ;
3026 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3027 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3028 wxWindow *arg5 = (wxWindow *) NULL ;
3029 wxString result;
e811c8ce
RD
3030 bool temp1 = False ;
3031 bool temp2 = False ;
d14a1e28
RD
3032 wxPoint temp4 ;
3033 PyObject * obj0 = 0 ;
3034 PyObject * obj1 = 0 ;
994141e6 3035 PyObject * obj2 = 0 ;
d14a1e28
RD
3036 PyObject * obj3 = 0 ;
3037 PyObject * obj4 = 0 ;
3038 char *kwnames[] = {
3039 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3040 };
3041
994141e6 3042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
3043 if (obj0) {
3044 {
3045 arg1 = wxString_in_helper(obj0);
3046 if (arg1 == NULL) SWIG_fail;
e811c8ce 3047 temp1 = True;
d14a1e28
RD
3048 }
3049 }
3050 if (obj1) {
3051 {
3052 arg2 = wxString_in_helper(obj1);
3053 if (arg2 == NULL) SWIG_fail;
e811c8ce 3054 temp2 = True;
d14a1e28
RD
3055 }
3056 }
994141e6 3057 if (obj2) {
15afbcd0
RD
3058 arg3 = (long) SWIG_AsLong(obj2);
3059 if (PyErr_Occurred()) SWIG_fail;
994141e6 3060 }
d14a1e28
RD
3061 if (obj3) {
3062 {
3063 arg4 = &temp4;
3064 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3065 }
3066 }
3067 if (obj4) {
15afbcd0
RD
3068 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3070 }
3071 {
3072 PyThreadState* __tstate = wxPyBeginAllowThreads();
3073 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
3074
3075 wxPyEndAllowThreads(__tstate);
3076 if (PyErr_Occurred()) SWIG_fail;
3077 }
3078 {
3079#if wxUSE_UNICODE
3080 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3081#else
3082 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3083#endif
3084 }
3085 {
3086 if (temp1)
3087 delete arg1;
3088 }
3089 {
3090 if (temp2)
3091 delete arg2;
3092 }
3093 return resultobj;
3094 fail:
3095 {
3096 if (temp1)
3097 delete arg1;
3098 }
3099 {
3100 if (temp2)
3101 delete arg2;
3102 }
3103 return NULL;
3104}
3105
3106
3107static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3108 PyObject *resultobj;
3109 wxString *arg1 = 0 ;
3110 wxString const &arg2_defvalue = wxPyEmptyString ;
3111 wxString *arg2 = (wxString *) &arg2_defvalue ;
3112 wxString const &arg3_defvalue = wxPyEmptyString ;
3113 wxString *arg3 = (wxString *) &arg3_defvalue ;
3114 wxWindow *arg4 = (wxWindow *) NULL ;
3115 int arg5 = (int) -1 ;
3116 int arg6 = (int) -1 ;
e811c8ce 3117 bool arg7 = (bool) True ;
d14a1e28 3118 wxString result;
e811c8ce
RD
3119 bool temp1 = False ;
3120 bool temp2 = False ;
3121 bool temp3 = False ;
d14a1e28
RD
3122 PyObject * obj0 = 0 ;
3123 PyObject * obj1 = 0 ;
3124 PyObject * obj2 = 0 ;
3125 PyObject * obj3 = 0 ;
994141e6
RD
3126 PyObject * obj4 = 0 ;
3127 PyObject * obj5 = 0 ;
d14a1e28
RD
3128 PyObject * obj6 = 0 ;
3129 char *kwnames[] = {
3130 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3131 };
3132
994141e6 3133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
3134 {
3135 arg1 = wxString_in_helper(obj0);
3136 if (arg1 == NULL) SWIG_fail;
e811c8ce 3137 temp1 = True;
d14a1e28
RD
3138 }
3139 if (obj1) {
3140 {
3141 arg2 = wxString_in_helper(obj1);
3142 if (arg2 == NULL) SWIG_fail;
e811c8ce 3143 temp2 = True;
d14a1e28
RD
3144 }
3145 }
3146 if (obj2) {
3147 {
3148 arg3 = wxString_in_helper(obj2);
3149 if (arg3 == NULL) SWIG_fail;
e811c8ce 3150 temp3 = True;
d14a1e28
RD
3151 }
3152 }
3153 if (obj3) {
15afbcd0
RD
3154 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 3156 }
994141e6 3157 if (obj4) {
15afbcd0
RD
3158 arg5 = (int) SWIG_AsInt(obj4);
3159 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3160 }
3161 if (obj5) {
15afbcd0
RD
3162 arg6 = (int) SWIG_AsInt(obj5);
3163 if (PyErr_Occurred()) SWIG_fail;
994141e6 3164 }
d14a1e28 3165 if (obj6) {
15afbcd0
RD
3166 arg7 = (bool) SWIG_AsBool(obj6);
3167 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3168 }
3169 {
3170 PyThreadState* __tstate = wxPyBeginAllowThreads();
3171 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
3172
3173 wxPyEndAllowThreads(__tstate);
3174 if (PyErr_Occurred()) SWIG_fail;
3175 }
3176 {
3177#if wxUSE_UNICODE
3178 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3179#else
3180 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3181#endif
3182 }
3183 {
3184 if (temp1)
3185 delete arg1;
3186 }
3187 {
3188 if (temp2)
3189 delete arg2;
3190 }
3191 {
3192 if (temp3)
3193 delete arg3;
3194 }
3195 return resultobj;
3196 fail:
3197 {
3198 if (temp1)
3199 delete arg1;
3200 }
3201 {
3202 if (temp2)
3203 delete arg2;
3204 }
3205 {
3206 if (temp3)
3207 delete arg3;
3208 }
3209 return NULL;
3210}
3211
3212
3213static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3214 PyObject *resultobj;
3215 wxString *arg1 = 0 ;
3216 wxString const &arg2_defvalue = wxPyEmptyString ;
3217 wxString *arg2 = (wxString *) &arg2_defvalue ;
3218 wxString const &arg3_defvalue = wxPyEmptyString ;
3219 wxString *arg3 = (wxString *) &arg3_defvalue ;
3220 wxWindow *arg4 = (wxWindow *) NULL ;
3221 wxString result;
e811c8ce
RD
3222 bool temp1 = False ;
3223 bool temp2 = False ;
3224 bool temp3 = False ;
d14a1e28
RD
3225 PyObject * obj0 = 0 ;
3226 PyObject * obj1 = 0 ;
3227 PyObject * obj2 = 0 ;
3228 PyObject * obj3 = 0 ;
3229 char *kwnames[] = {
3230 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3231 };
3232
3233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3234 {
3235 arg1 = wxString_in_helper(obj0);
3236 if (arg1 == NULL) SWIG_fail;
e811c8ce 3237 temp1 = True;
d14a1e28
RD
3238 }
3239 if (obj1) {
3240 {
3241 arg2 = wxString_in_helper(obj1);
3242 if (arg2 == NULL) SWIG_fail;
e811c8ce 3243 temp2 = True;
d14a1e28
RD
3244 }
3245 }
3246 if (obj2) {
3247 {
3248 arg3 = wxString_in_helper(obj2);
3249 if (arg3 == NULL) SWIG_fail;
e811c8ce 3250 temp3 = True;
d14a1e28
RD
3251 }
3252 }
3253 if (obj3) {
15afbcd0
RD
3254 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3256 }
3257 {
3258 PyThreadState* __tstate = wxPyBeginAllowThreads();
3259 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3260
3261 wxPyEndAllowThreads(__tstate);
3262 if (PyErr_Occurred()) SWIG_fail;
3263 }
3264 {
3265#if wxUSE_UNICODE
3266 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3267#else
3268 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3269#endif
3270 }
3271 {
3272 if (temp1)
3273 delete arg1;
3274 }
3275 {
3276 if (temp2)
3277 delete arg2;
3278 }
3279 {
3280 if (temp3)
3281 delete arg3;
3282 }
3283 return resultobj;
3284 fail:
3285 {
3286 if (temp1)
3287 delete arg1;
3288 }
3289 {
3290 if (temp2)
3291 delete arg2;
3292 }
3293 {
3294 if (temp3)
3295 delete arg3;
3296 }
3297 return NULL;
3298}
3299
3300
3301static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
3302 PyObject *resultobj;
3303 wxString *arg1 = 0 ;
3304 wxString *arg2 = 0 ;
3305 int arg3 ;
3306 wxString *arg4 = (wxString *) 0 ;
3307 wxWindow *arg5 = (wxWindow *) NULL ;
3308 int arg6 = (int) -1 ;
3309 int arg7 = (int) -1 ;
e811c8ce 3310 bool arg8 = (bool) True ;
d14a1e28
RD
3311 int arg9 = (int) 150 ;
3312 int arg10 = (int) 200 ;
3313 wxString result;
e811c8ce
RD
3314 bool temp1 = False ;
3315 bool temp2 = False ;
d14a1e28
RD
3316 PyObject * obj0 = 0 ;
3317 PyObject * obj1 = 0 ;
3318 PyObject * obj2 = 0 ;
3319 PyObject * obj3 = 0 ;
994141e6
RD
3320 PyObject * obj4 = 0 ;
3321 PyObject * obj5 = 0 ;
d14a1e28 3322 PyObject * obj6 = 0 ;
994141e6
RD
3323 PyObject * obj7 = 0 ;
3324 PyObject * obj8 = 0 ;
d14a1e28
RD
3325 char *kwnames[] = {
3326 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3327 };
3328
994141e6 3329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d14a1e28
RD
3330 {
3331 arg1 = wxString_in_helper(obj0);
3332 if (arg1 == NULL) SWIG_fail;
e811c8ce 3333 temp1 = True;
d14a1e28
RD
3334 }
3335 {
3336 arg2 = wxString_in_helper(obj1);
3337 if (arg2 == NULL) SWIG_fail;
e811c8ce 3338 temp2 = True;
d14a1e28
RD
3339 }
3340 {
3341 arg3 = PyList_Size(obj2);
3342 arg4 = wxString_LIST_helper(obj2);
3343 if (arg4 == NULL) SWIG_fail;
3344 }
3345 if (obj3) {
15afbcd0
RD
3346 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 3348 }
994141e6 3349 if (obj4) {
15afbcd0
RD
3350 arg6 = (int) SWIG_AsInt(obj4);
3351 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3352 }
3353 if (obj5) {
15afbcd0
RD
3354 arg7 = (int) SWIG_AsInt(obj5);
3355 if (PyErr_Occurred()) SWIG_fail;
994141e6 3356 }
d14a1e28 3357 if (obj6) {
15afbcd0
RD
3358 arg8 = (bool) SWIG_AsBool(obj6);
3359 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3360 }
3361 if (obj7) {
15afbcd0
RD
3362 arg9 = (int) SWIG_AsInt(obj7);
3363 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3364 }
3365 if (obj8) {
15afbcd0
RD
3366 arg10 = (int) SWIG_AsInt(obj8);
3367 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3368 }
3369 {
3370 PyThreadState* __tstate = wxPyBeginAllowThreads();
3371 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3372
3373 wxPyEndAllowThreads(__tstate);
3374 if (PyErr_Occurred()) SWIG_fail;
3375 }
3376 {
3377#if wxUSE_UNICODE
3378 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3379#else
3380 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3381#endif
3382 }
3383 {
3384 if (temp1)
3385 delete arg1;
3386 }
3387 {
3388 if (temp2)
3389 delete arg2;
3390 }
3391 {
3392 if (arg4) delete [] arg4;
3393 }
3394 return resultobj;
3395 fail:
3396 {
3397 if (temp1)
3398 delete arg1;
3399 }
3400 {
3401 if (temp2)
3402 delete arg2;
3403 }
3404 {
3405 if (arg4) delete [] arg4;
3406 }
3407 return NULL;
3408}
3409
3410
3411static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3412 PyObject *resultobj;
3413 wxString *arg1 = 0 ;
3414 wxString *arg2 = 0 ;
3415 int arg3 ;
3416 wxString *arg4 = (wxString *) 0 ;
3417 wxWindow *arg5 = (wxWindow *) NULL ;
3418 int arg6 = (int) -1 ;
3419 int arg7 = (int) -1 ;
e811c8ce 3420 bool arg8 = (bool) True ;
d14a1e28
RD
3421 int arg9 = (int) 150 ;
3422 int arg10 = (int) 200 ;
3423 int result;
e811c8ce
RD
3424 bool temp1 = False ;
3425 bool temp2 = False ;
d14a1e28
RD
3426 PyObject * obj0 = 0 ;
3427 PyObject * obj1 = 0 ;
3428 PyObject * obj2 = 0 ;
3429 PyObject * obj3 = 0 ;
994141e6
RD
3430 PyObject * obj4 = 0 ;
3431 PyObject * obj5 = 0 ;
d14a1e28 3432 PyObject * obj6 = 0 ;
994141e6
RD
3433 PyObject * obj7 = 0 ;
3434 PyObject * obj8 = 0 ;
d14a1e28
RD
3435 char *kwnames[] = {
3436 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3437 };
3438
994141e6 3439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d14a1e28
RD
3440 {
3441 arg1 = wxString_in_helper(obj0);
3442 if (arg1 == NULL) SWIG_fail;
e811c8ce 3443 temp1 = True;
d14a1e28
RD
3444 }
3445 {
3446 arg2 = wxString_in_helper(obj1);
3447 if (arg2 == NULL) SWIG_fail;
e811c8ce 3448 temp2 = True;
d14a1e28
RD
3449 }
3450 {
3451 arg3 = PyList_Size(obj2);
3452 arg4 = wxString_LIST_helper(obj2);
3453 if (arg4 == NULL) SWIG_fail;
3454 }
3455 if (obj3) {
15afbcd0
RD
3456 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 3458 }
994141e6 3459 if (obj4) {
15afbcd0
RD
3460 arg6 = (int) SWIG_AsInt(obj4);
3461 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3462 }
3463 if (obj5) {
15afbcd0
RD
3464 arg7 = (int) SWIG_AsInt(obj5);
3465 if (PyErr_Occurred()) SWIG_fail;
994141e6 3466 }
d14a1e28 3467 if (obj6) {
15afbcd0
RD
3468 arg8 = (bool) SWIG_AsBool(obj6);
3469 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3470 }
3471 if (obj7) {
15afbcd0
RD
3472 arg9 = (int) SWIG_AsInt(obj7);
3473 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3474 }
3475 if (obj8) {
15afbcd0
RD
3476 arg10 = (int) SWIG_AsInt(obj8);
3477 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3478 }
3479 {
3480 PyThreadState* __tstate = wxPyBeginAllowThreads();
3481 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3482
3483 wxPyEndAllowThreads(__tstate);
3484 if (PyErr_Occurred()) SWIG_fail;
3485 }
15afbcd0 3486 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3487 {
3488 if (temp1)
3489 delete arg1;
3490 }
3491 {
3492 if (temp2)
3493 delete arg2;
3494 }
3495 {
3496 if (arg4) delete [] arg4;
3497 }
3498 return resultobj;
3499 fail:
3500 {
3501 if (temp1)
3502 delete arg1;
3503 }
3504 {
3505 if (temp2)
3506 delete arg2;
3507 }
3508 {
3509 if (arg4) delete [] arg4;
3510 }
3511 return NULL;
3512}
3513
3514
3515static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3516 PyObject *resultobj;
3517 wxString *arg1 = 0 ;
3518 wxString const &arg2_defvalue = wxPyEmptyString ;
3519 wxString *arg2 = (wxString *) &arg2_defvalue ;
3520 int arg3 = (int) wxOK|wxCENTRE ;
3521 wxWindow *arg4 = (wxWindow *) NULL ;
3522 int arg5 = (int) -1 ;
3523 int arg6 = (int) -1 ;
3524 int result;
e811c8ce
RD
3525 bool temp1 = False ;
3526 bool temp2 = False ;
d14a1e28
RD
3527 PyObject * obj0 = 0 ;
3528 PyObject * obj1 = 0 ;
994141e6 3529 PyObject * obj2 = 0 ;
d14a1e28 3530 PyObject * obj3 = 0 ;
994141e6
RD
3531 PyObject * obj4 = 0 ;
3532 PyObject * obj5 = 0 ;
d14a1e28
RD
3533 char *kwnames[] = {
3534 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3535 };
3536
994141e6 3537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28
RD
3538 {
3539 arg1 = wxString_in_helper(obj0);
3540 if (arg1 == NULL) SWIG_fail;
e811c8ce 3541 temp1 = True;
d14a1e28
RD
3542 }
3543 if (obj1) {
3544 {
3545 arg2 = wxString_in_helper(obj1);
3546 if (arg2 == NULL) SWIG_fail;
e811c8ce 3547 temp2 = True;
d14a1e28
RD
3548 }
3549 }
994141e6 3550 if (obj2) {
15afbcd0
RD
3551 arg3 = (int) SWIG_AsInt(obj2);
3552 if (PyErr_Occurred()) SWIG_fail;
994141e6 3553 }
d14a1e28 3554 if (obj3) {
15afbcd0
RD
3555 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 3557 }
994141e6 3558 if (obj4) {
15afbcd0
RD
3559 arg5 = (int) SWIG_AsInt(obj4);
3560 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3561 }
3562 if (obj5) {
15afbcd0
RD
3563 arg6 = (int) SWIG_AsInt(obj5);
3564 if (PyErr_Occurred()) SWIG_fail;
994141e6 3565 }
d14a1e28
RD
3566 {
3567 PyThreadState* __tstate = wxPyBeginAllowThreads();
3568 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3569
3570 wxPyEndAllowThreads(__tstate);
3571 if (PyErr_Occurred()) SWIG_fail;
3572 }
15afbcd0 3573 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3574 {
3575 if (temp1)
3576 delete arg1;
3577 }
3578 {
3579 if (temp2)
3580 delete arg2;
3581 }
3582 return resultobj;
3583 fail:
3584 {
3585 if (temp1)
3586 delete arg1;
3587 }
3588 {
3589 if (temp2)
3590 delete arg2;
3591 }
3592 return NULL;
3593}
3594
3595
3596static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3597 PyObject *resultobj;
3598 wxString *arg1 = 0 ;
3599 wxString *arg2 = 0 ;
3600 wxString *arg3 = 0 ;
3601 long arg4 ;
3602 long arg5 = (long) 0 ;
3603 long arg6 = (long) 100 ;
3604 wxWindow *arg7 = (wxWindow *) NULL ;
3605 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3606 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3607 long result;
e811c8ce
RD
3608 bool temp1 = False ;
3609 bool temp2 = False ;
3610 bool temp3 = False ;
d14a1e28
RD
3611 wxPoint temp8 ;
3612 PyObject * obj0 = 0 ;
3613 PyObject * obj1 = 0 ;
3614 PyObject * obj2 = 0 ;
994141e6
RD
3615 PyObject * obj3 = 0 ;
3616 PyObject * obj4 = 0 ;
3617 PyObject * obj5 = 0 ;
3618 PyObject * obj6 = 0 ;
d14a1e28
RD
3619 PyObject * obj7 = 0 ;
3620 char *kwnames[] = {
3621 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3622 };
3623
994141e6 3624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d14a1e28
RD
3625 {
3626 arg1 = wxString_in_helper(obj0);
3627 if (arg1 == NULL) SWIG_fail;
e811c8ce 3628 temp1 = True;
d14a1e28
RD
3629 }
3630 {
3631 arg2 = wxString_in_helper(obj1);
3632 if (arg2 == NULL) SWIG_fail;
e811c8ce 3633 temp2 = True;
d14a1e28
RD
3634 }
3635 {
3636 arg3 = wxString_in_helper(obj2);
3637 if (arg3 == NULL) SWIG_fail;
e811c8ce 3638 temp3 = True;
d14a1e28 3639 }
15afbcd0
RD
3640 arg4 = (long) SWIG_AsLong(obj3);
3641 if (PyErr_Occurred()) SWIG_fail;
994141e6 3642 if (obj4) {
15afbcd0
RD
3643 arg5 = (long) SWIG_AsLong(obj4);
3644 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3645 }
3646 if (obj5) {
15afbcd0
RD
3647 arg6 = (long) SWIG_AsLong(obj5);
3648 if (PyErr_Occurred()) SWIG_fail;
994141e6 3649 }
d14a1e28 3650 if (obj6) {
15afbcd0
RD
3651 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
3652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3653 }
3654 if (obj7) {
3655 {
3656 arg8 = &temp8;
3657 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3658 }
3659 }
3660 {
3661 PyThreadState* __tstate = wxPyBeginAllowThreads();
3662 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3663
3664 wxPyEndAllowThreads(__tstate);
3665 if (PyErr_Occurred()) SWIG_fail;
3666 }
15afbcd0 3667 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
3668 {
3669 if (temp1)
3670 delete arg1;
3671 }
3672 {
3673 if (temp2)
3674 delete arg2;
3675 }
3676 {
3677 if (temp3)
3678 delete arg3;
3679 }
3680 return resultobj;
3681 fail:
3682 {
3683 if (temp1)
3684 delete arg1;
3685 }
3686 {
3687 if (temp2)
3688 delete arg2;
3689 }
3690 {
3691 if (temp3)
3692 delete arg3;
3693 }
3694 return NULL;
3695}
3696
3697
3698static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3699 PyObject *resultobj;
3700 bool result;
3701 char *kwnames[] = {
3702 NULL
3703 };
3704
3705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3706 {
3707 PyThreadState* __tstate = wxPyBeginAllowThreads();
3708 result = (bool)wxColourDisplay();
3709
3710 wxPyEndAllowThreads(__tstate);
3711 if (PyErr_Occurred()) SWIG_fail;
3712 }
4f89f6a3
RD
3713 {
3714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3715 }
d14a1e28
RD
3716 return resultobj;
3717 fail:
3718 return NULL;
3719}
3720
3721
3722static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3723 PyObject *resultobj;
3724 int result;
3725 char *kwnames[] = {
3726 NULL
3727 };
3728
3729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3730 {
3731 PyThreadState* __tstate = wxPyBeginAllowThreads();
3732 result = (int)wxDisplayDepth();
3733
3734 wxPyEndAllowThreads(__tstate);
3735 if (PyErr_Occurred()) SWIG_fail;
3736 }
15afbcd0 3737 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3738 return resultobj;
3739 fail:
3740 return NULL;
3741}
3742
3743
3744static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3745 PyObject *resultobj;
3746 int result;
3747 char *kwnames[] = {
3748 NULL
3749 };
3750
3751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3752 {
3753 PyThreadState* __tstate = wxPyBeginAllowThreads();
3754 result = (int)wxGetDisplayDepth();
3755
3756 wxPyEndAllowThreads(__tstate);
3757 if (PyErr_Occurred()) SWIG_fail;
3758 }
15afbcd0 3759 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3760 return resultobj;
3761 fail:
3762 return NULL;
3763}
3764
3765
3766static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3767 PyObject *resultobj;
3768 int *arg1 = (int *) 0 ;
3769 int *arg2 = (int *) 0 ;
3770 int temp1 ;
3771 int temp2 ;
3772 char *kwnames[] = {
3773 NULL
3774 };
3775
3776 arg1 = &temp1;
3777 arg2 = &temp2;
3778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3779 {
3780 PyThreadState* __tstate = wxPyBeginAllowThreads();
3781 wxDisplaySize(arg1,arg2);
3782
3783 wxPyEndAllowThreads(__tstate);
3784 if (PyErr_Occurred()) SWIG_fail;
3785 }
3786 Py_INCREF(Py_None); resultobj = Py_None;
3787 {
3788 PyObject *o = PyInt_FromLong((long) (*arg1));
3789 resultobj = t_output_helper(resultobj,o);
3790 }
3791 {
3792 PyObject *o = PyInt_FromLong((long) (*arg2));
3793 resultobj = t_output_helper(resultobj,o);
3794 }
3795 return resultobj;
3796 fail:
3797 return NULL;
3798}
3799
3800
3801static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3802 PyObject *resultobj;
3803 wxSize result;
3804 char *kwnames[] = {
3805 NULL
3806 };
3807
3808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3809 {
3810 PyThreadState* __tstate = wxPyBeginAllowThreads();
3811 result = wxGetDisplaySize();
3812
3813 wxPyEndAllowThreads(__tstate);
3814 if (PyErr_Occurred()) SWIG_fail;
3815 }
3816 {
3817 wxSize * resultptr;
3818 resultptr = new wxSize((wxSize &) result);
15afbcd0 3819 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
3820 }
3821 return resultobj;
3822 fail:
3823 return NULL;
3824}
3825
3826
3827static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3828 PyObject *resultobj;
3829 int *arg1 = (int *) 0 ;
3830 int *arg2 = (int *) 0 ;
3831 int temp1 ;
3832 int temp2 ;
3833 char *kwnames[] = {
3834 NULL
3835 };
3836
3837 arg1 = &temp1;
3838 arg2 = &temp2;
3839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3840 {
3841 PyThreadState* __tstate = wxPyBeginAllowThreads();
3842 wxDisplaySizeMM(arg1,arg2);
3843
3844 wxPyEndAllowThreads(__tstate);
3845 if (PyErr_Occurred()) SWIG_fail;
3846 }
3847 Py_INCREF(Py_None); resultobj = Py_None;
3848 {
3849 PyObject *o = PyInt_FromLong((long) (*arg1));
3850 resultobj = t_output_helper(resultobj,o);
3851 }
3852 {
3853 PyObject *o = PyInt_FromLong((long) (*arg2));
3854 resultobj = t_output_helper(resultobj,o);
3855 }
3856 return resultobj;
3857 fail:
3858 return NULL;
3859}
3860
3861
3862static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3863 PyObject *resultobj;
3864 wxSize result;
3865 char *kwnames[] = {
3866 NULL
3867 };
3868
3869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3870 {
3871 PyThreadState* __tstate = wxPyBeginAllowThreads();
3872 result = wxGetDisplaySizeMM();
3873
3874 wxPyEndAllowThreads(__tstate);
3875 if (PyErr_Occurred()) SWIG_fail;
3876 }
3877 {
3878 wxSize * resultptr;
3879 resultptr = new wxSize((wxSize &) result);
15afbcd0 3880 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
3881 }
3882 return resultobj;
3883 fail:
3884 return NULL;
3885}
3886
3887
3888static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3889 PyObject *resultobj;
3890 int *arg1 = (int *) 0 ;
3891 int *arg2 = (int *) 0 ;
3892 int *arg3 = (int *) 0 ;
3893 int *arg4 = (int *) 0 ;
3894 int temp1 ;
3895 int temp2 ;
3896 int temp3 ;
3897 int temp4 ;
3898 char *kwnames[] = {
3899 NULL
3900 };
3901
3902 arg1 = &temp1;
3903 arg2 = &temp2;
3904 arg3 = &temp3;
3905 arg4 = &temp4;
3906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3907 {
3908 PyThreadState* __tstate = wxPyBeginAllowThreads();
3909 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3910
3911 wxPyEndAllowThreads(__tstate);
3912 if (PyErr_Occurred()) SWIG_fail;
3913 }
3914 Py_INCREF(Py_None); resultobj = Py_None;
3915 {
3916 PyObject *o = PyInt_FromLong((long) (*arg1));
3917 resultobj = t_output_helper(resultobj,o);
3918 }
3919 {
3920 PyObject *o = PyInt_FromLong((long) (*arg2));
3921 resultobj = t_output_helper(resultobj,o);
3922 }
3923 {
3924 PyObject *o = PyInt_FromLong((long) (*arg3));
3925 resultobj = t_output_helper(resultobj,o);
3926 }
3927 {
3928 PyObject *o = PyInt_FromLong((long) (*arg4));
3929 resultobj = t_output_helper(resultobj,o);
3930 }
3931 return resultobj;
3932 fail:
3933 return NULL;
3934}
3935
3936
3937static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3938 PyObject *resultobj;
3939 wxRect result;
3940 char *kwnames[] = {
3941 NULL
3942 };
3943
3944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3945 {
3946 PyThreadState* __tstate = wxPyBeginAllowThreads();
3947 result = wxGetClientDisplayRect();
3948
3949 wxPyEndAllowThreads(__tstate);
3950 if (PyErr_Occurred()) SWIG_fail;
3951 }
3952 {
3953 wxRect * resultptr;
3954 resultptr = new wxRect((wxRect &) result);
15afbcd0 3955 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3956 }
3957 return resultobj;
3958 fail:
3959 return NULL;
3960}
3961
3962
3963static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3964 PyObject *resultobj;
3965 wxCursor *arg1 = 0 ;
3966 PyObject * obj0 = 0 ;
3967 char *kwnames[] = {
3968 (char *) "cursor", NULL
3969 };
3970
3971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
3972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
3973 SWIG_POINTER_EXCEPTION | 0)) == -1)
3974 SWIG_fail;
d14a1e28 3975 if (arg1 == NULL) {
15afbcd0
RD
3976 PyErr_SetString(PyExc_TypeError,"null reference");
3977 SWIG_fail;
d14a1e28
RD
3978 }
3979 {
3980 PyThreadState* __tstate = wxPyBeginAllowThreads();
3981 wxSetCursor(*arg1);
3982
3983 wxPyEndAllowThreads(__tstate);
3984 if (PyErr_Occurred()) SWIG_fail;
3985 }
3986 Py_INCREF(Py_None); resultobj = Py_None;
3987 return resultobj;
3988 fail:
3989 return NULL;
3990}
3991
3992
3993static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3994 PyObject *resultobj;
3995 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3996 PyObject * obj0 = 0 ;
3997 char *kwnames[] = {
3998 (char *) "cursor", NULL
3999 };
4000
4001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
4002 if (obj0) {
15afbcd0
RD
4003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4005 }
4006 {
4007 PyThreadState* __tstate = wxPyBeginAllowThreads();
4008 wxBeginBusyCursor(arg1);
4009
4010 wxPyEndAllowThreads(__tstate);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 }
4013 Py_INCREF(Py_None); resultobj = Py_None;
4014 return resultobj;
4015 fail:
4016 return NULL;
4017}
4018
4019
4020static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4021 PyObject *resultobj;
4022 wxWindow *result;
4023 char *kwnames[] = {
4024 NULL
4025 };
4026
4027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
4028 {
4029 PyThreadState* __tstate = wxPyBeginAllowThreads();
4030 result = (wxWindow *)wxGetActiveWindow();
4031
4032 wxPyEndAllowThreads(__tstate);
4033 if (PyErr_Occurred()) SWIG_fail;
4034 }
4035 {
4036 resultobj = wxPyMake_wxObject(result);
4037 }
4038 return resultobj;
4039 fail:
4040 return NULL;
4041}
4042
4043
4044static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4045 PyObject *resultobj;
4046 wxPoint *arg1 = 0 ;
4047 wxWindow *result;
4048 wxPoint temp1 ;
4049 PyObject * obj0 = 0 ;
4050 char *kwnames[] = {
4051 (char *) "pt", NULL
4052 };
4053
4054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
4055 {
4056 arg1 = &temp1;
4057 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4058 }
4059 {
4060 PyThreadState* __tstate = wxPyBeginAllowThreads();
4061 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
4062
4063 wxPyEndAllowThreads(__tstate);
4064 if (PyErr_Occurred()) SWIG_fail;
4065 }
4066 {
4067 resultobj = wxPyMake_wxObject(result);
4068 }
4069 return resultobj;
4070 fail:
4071 return NULL;
4072}
4073
4074
4075static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4076 PyObject *resultobj;
4077 wxPoint *arg1 = 0 ;
4078 wxWindow *result;
4079 wxPoint temp1 ;
4080 PyObject * obj0 = 0 ;
4081 char *kwnames[] = {
4082 (char *) "pt", NULL
4083 };
4084
4085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
4086 {
4087 arg1 = &temp1;
4088 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4089 }
4090 {
4091 PyThreadState* __tstate = wxPyBeginAllowThreads();
4092 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
4093
4094 wxPyEndAllowThreads(__tstate);
4095 if (PyErr_Occurred()) SWIG_fail;
4096 }
4097 {
4098 resultobj = wxPyMake_wxObject(result);
4099 }
4100 return resultobj;
4101 fail:
4102 return NULL;
4103}
4104
4105
4106static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4107 PyObject *resultobj;
4108 wxWindow *arg1 = (wxWindow *) 0 ;
4109 wxWindow *result;
4110 PyObject * obj0 = 0 ;
4111 char *kwnames[] = {
4112 (char *) "win", NULL
4113 };
4114
4115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
4116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4118 {
4119 PyThreadState* __tstate = wxPyBeginAllowThreads();
4120 result = (wxWindow *)wxGetTopLevelParent(arg1);
4121
4122 wxPyEndAllowThreads(__tstate);
4123 if (PyErr_Occurred()) SWIG_fail;
4124 }
4125 {
4126 resultobj = wxPyMake_wxObject(result);
4127 }
4128 return resultobj;
4129 fail:
4130 return NULL;
4131}
4132
4133
39f61e25
RD
4134static PyObject *_wrap_GetKeyState(PyObject *self, PyObject *args, PyObject *kwargs) {
4135 PyObject *resultobj;
4136 int arg1 ;
4137 bool result;
994141e6 4138 PyObject * obj0 = 0 ;
39f61e25
RD
4139 char *kwnames[] = {
4140 (char *) "key", NULL
4141 };
4142
994141e6 4143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
15afbcd0
RD
4144 arg1 = (wxKeyCode) SWIG_AsInt(obj0);
4145 if (PyErr_Occurred()) SWIG_fail;
39f61e25
RD
4146 {
4147 PyThreadState* __tstate = wxPyBeginAllowThreads();
4148 result = (bool)wxGetKeyState((wxKeyCode )arg1);
4149
4150 wxPyEndAllowThreads(__tstate);
4151 if (PyErr_Occurred()) SWIG_fail;
4152 }
4f89f6a3
RD
4153 {
4154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4155 }
39f61e25
RD
4156 return resultobj;
4157 fail:
4158 return NULL;
4159}
4160
4161
d14a1e28
RD
4162static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
4163 PyObject *resultobj;
4164 char *kwnames[] = {
4165 NULL
4166 };
4167
4168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4169 {
4170 PyThreadState* __tstate = wxPyBeginAllowThreads();
4171 wxWakeUpMainThread();
4172
4173 wxPyEndAllowThreads(__tstate);
4174 if (PyErr_Occurred()) SWIG_fail;
4175 }
4176 Py_INCREF(Py_None); resultobj = Py_None;
4177 return resultobj;
4178 fail:
4179 return NULL;
4180}
4181
4182
4183static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
4184 PyObject *resultobj;
4185 char *kwnames[] = {
4186 NULL
4187 };
4188
4189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4190 {
4191 PyThreadState* __tstate = wxPyBeginAllowThreads();
4192 wxMutexGuiEnter();
4193
4194 wxPyEndAllowThreads(__tstate);
4195 if (PyErr_Occurred()) SWIG_fail;
4196 }
4197 Py_INCREF(Py_None); resultobj = Py_None;
4198 return resultobj;
4199 fail:
4200 return NULL;
4201}
4202
4203
4204static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
4205 PyObject *resultobj;
4206 char *kwnames[] = {
4207 NULL
4208 };
4209
4210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4211 {
4212 PyThreadState* __tstate = wxPyBeginAllowThreads();
4213 wxMutexGuiLeave();
4214
4215 wxPyEndAllowThreads(__tstate);
4216 if (PyErr_Occurred()) SWIG_fail;
4217 }
4218 Py_INCREF(Py_None); resultobj = Py_None;
4219 return resultobj;
4220 fail:
4221 return NULL;
4222}
4223
4224
4225static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4226 PyObject *resultobj;
4227 wxMutexGuiLocker *result;
4228 char *kwnames[] = {
4229 NULL
4230 };
4231
4232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4233 {
4234 PyThreadState* __tstate = wxPyBeginAllowThreads();
4235 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4236
4237 wxPyEndAllowThreads(__tstate);
4238 if (PyErr_Occurred()) SWIG_fail;
4239 }
15afbcd0 4240 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
d14a1e28
RD
4241 return resultobj;
4242 fail:
4243 return NULL;
4244}
4245
4246
4247static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4248 PyObject *resultobj;
4249 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4250 PyObject * obj0 = 0 ;
4251 char *kwnames[] = {
4252 (char *) "self", NULL
4253 };
4254
4255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
15afbcd0
RD
4256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMutexGuiLocker,
4257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4258 {
4259 PyThreadState* __tstate = wxPyBeginAllowThreads();
4260 delete arg1;
4261
4262 wxPyEndAllowThreads(__tstate);
4263 if (PyErr_Occurred()) SWIG_fail;
4264 }
4265 Py_INCREF(Py_None); resultobj = Py_None;
4266 return resultobj;
4267 fail:
4268 return NULL;
4269}
4270
4271
4272static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
4273 PyObject *obj;
4274 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4275 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4276 Py_INCREF(obj);
4277 return Py_BuildValue((char *)"");
4278}
4279static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
4280 PyObject *resultobj;
4281 bool result;
4282 char *kwnames[] = {
4283 NULL
4284 };
4285
4286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4287 {
4288 PyThreadState* __tstate = wxPyBeginAllowThreads();
4289 result = (bool)wxThread_IsMain();
4290
4291 wxPyEndAllowThreads(__tstate);
4292 if (PyErr_Occurred()) SWIG_fail;
4293 }
4f89f6a3
RD
4294 {
4295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4296 }
d14a1e28
RD
4297 return resultobj;
4298 fail:
4299 return NULL;
4300}
4301
4302
4303static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4304 PyObject *resultobj;
4305 wxString *arg1 = 0 ;
4306 wxToolTip *result;
e811c8ce 4307 bool temp1 = False ;
d14a1e28
RD
4308 PyObject * obj0 = 0 ;
4309 char *kwnames[] = {
4310 (char *) "tip", NULL
4311 };
4312
4313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4314 {
4315 arg1 = wxString_in_helper(obj0);
4316 if (arg1 == NULL) SWIG_fail;
e811c8ce 4317 temp1 = True;
d14a1e28
RD
4318 }
4319 {
4320 PyThreadState* __tstate = wxPyBeginAllowThreads();
4321 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4322
4323 wxPyEndAllowThreads(__tstate);
4324 if (PyErr_Occurred()) SWIG_fail;
4325 }
4326 {
4327 resultobj = wxPyMake_wxObject(result);
4328 }
4329 {
4330 if (temp1)
4331 delete arg1;
4332 }
4333 return resultobj;
4334 fail:
4335 {
4336 if (temp1)
4337 delete arg1;
4338 }
4339 return NULL;
4340}
4341
4342
4343static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4344 PyObject *resultobj;
4345 wxToolTip *arg1 = (wxToolTip *) 0 ;
4346 wxString *arg2 = 0 ;
e811c8ce 4347 bool temp2 = False ;
d14a1e28
RD
4348 PyObject * obj0 = 0 ;
4349 PyObject * obj1 = 0 ;
4350 char *kwnames[] = {
4351 (char *) "self",(char *) "tip", NULL
4352 };
4353
4354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4357 {
4358 arg2 = wxString_in_helper(obj1);
4359 if (arg2 == NULL) SWIG_fail;
e811c8ce 4360 temp2 = True;
d14a1e28
RD
4361 }
4362 {
4363 PyThreadState* __tstate = wxPyBeginAllowThreads();
4364 (arg1)->SetTip((wxString const &)*arg2);
4365
4366 wxPyEndAllowThreads(__tstate);
4367 if (PyErr_Occurred()) SWIG_fail;
4368 }
4369 Py_INCREF(Py_None); resultobj = Py_None;
4370 {
4371 if (temp2)
4372 delete arg2;
4373 }
4374 return resultobj;
4375 fail:
4376 {
4377 if (temp2)
4378 delete arg2;
4379 }
4380 return NULL;
4381}
4382
4383
4384static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4385 PyObject *resultobj;
4386 wxToolTip *arg1 = (wxToolTip *) 0 ;
4387 wxString result;
4388 PyObject * obj0 = 0 ;
4389 char *kwnames[] = {
4390 (char *) "self", NULL
4391 };
4392
4393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
15afbcd0
RD
4394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4396 {
4397 PyThreadState* __tstate = wxPyBeginAllowThreads();
4398 result = (arg1)->GetTip();
4399
4400 wxPyEndAllowThreads(__tstate);
4401 if (PyErr_Occurred()) SWIG_fail;
4402 }
4403 {
4404#if wxUSE_UNICODE
4405 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4406#else
4407 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4408#endif
4409 }
4410 return resultobj;
4411 fail:
4412 return NULL;
4413}
4414
4415
4416static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4417 PyObject *resultobj;
4418 wxToolTip *arg1 = (wxToolTip *) 0 ;
4419 wxWindow *result;
4420 PyObject * obj0 = 0 ;
4421 char *kwnames[] = {
4422 (char *) "self", NULL
4423 };
4424
4425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
4426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4428 {
4429 PyThreadState* __tstate = wxPyBeginAllowThreads();
4430 result = (wxWindow *)(arg1)->GetWindow();
4431
4432 wxPyEndAllowThreads(__tstate);
4433 if (PyErr_Occurred()) SWIG_fail;
4434 }
4435 {
4436 resultobj = wxPyMake_wxObject(result);
4437 }
4438 return resultobj;
4439 fail:
4440 return NULL;
4441}
4442
4443
4444static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
4445 PyObject *resultobj;
4446 bool arg1 ;
4447 PyObject * obj0 = 0 ;
4448 char *kwnames[] = {
4449 (char *) "flag", NULL
4450 };
4451
4452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
15afbcd0
RD
4453 arg1 = (bool) SWIG_AsBool(obj0);
4454 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4455 {
4456 PyThreadState* __tstate = wxPyBeginAllowThreads();
4457 wxToolTip::Enable(arg1);
4458
4459 wxPyEndAllowThreads(__tstate);
4460 if (PyErr_Occurred()) SWIG_fail;
4461 }
4462 Py_INCREF(Py_None); resultobj = Py_None;
4463 return resultobj;
4464 fail:
4465 return NULL;
4466}
4467
4468
4469static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
4470 PyObject *resultobj;
4471 long arg1 ;
994141e6 4472 PyObject * obj0 = 0 ;
d14a1e28
RD
4473 char *kwnames[] = {
4474 (char *) "milliseconds", NULL
4475 };
4476
994141e6 4477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
15afbcd0
RD
4478 arg1 = (long) SWIG_AsLong(obj0);
4479 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4480 {
4481 PyThreadState* __tstate = wxPyBeginAllowThreads();
4482 wxToolTip::SetDelay(arg1);
4483
4484 wxPyEndAllowThreads(__tstate);
4485 if (PyErr_Occurred()) SWIG_fail;
4486 }
4487 Py_INCREF(Py_None); resultobj = Py_None;
4488 return resultobj;
4489 fail:
4490 return NULL;
4491}
4492
4493
4494static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
4495 PyObject *obj;
4496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4497 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4498 Py_INCREF(obj);
4499 return Py_BuildValue((char *)"");
4500}
4501static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4502 PyObject *resultobj;
4503 wxWindow *arg1 = (wxWindow *) 0 ;
4504 wxSize *arg2 = 0 ;
4505 wxCaret *result;
4506 wxSize temp2 ;
4507 PyObject * obj0 = 0 ;
4508 PyObject * obj1 = 0 ;
4509 char *kwnames[] = {
4510 (char *) "window",(char *) "size", NULL
4511 };
4512
4513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4516 {
4517 arg2 = &temp2;
4518 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4519 }
4520 {
4521 PyThreadState* __tstate = wxPyBeginAllowThreads();
4522 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4523
4524 wxPyEndAllowThreads(__tstate);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 }
15afbcd0 4527 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
d14a1e28
RD
4528 return resultobj;
4529 fail:
4530 return NULL;
4531}
4532
4533
4534static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4535 PyObject *resultobj;
4536 wxCaret *arg1 = (wxCaret *) 0 ;
4537 PyObject * obj0 = 0 ;
4538 char *kwnames[] = {
4539 (char *) "self", NULL
4540 };
4541
4542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
15afbcd0
RD
4543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4545 {
4546 PyThreadState* __tstate = wxPyBeginAllowThreads();
4547 delete arg1;
4548
4549 wxPyEndAllowThreads(__tstate);
4550 if (PyErr_Occurred()) SWIG_fail;
4551 }
4552 Py_INCREF(Py_None); resultobj = Py_None;
4553 return resultobj;
4554 fail:
4555 return NULL;
4556}
4557
4558
4559static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4560 PyObject *resultobj;
4561 wxCaret *arg1 = (wxCaret *) 0 ;
4562 bool result;
4563 PyObject * obj0 = 0 ;
4564 char *kwnames[] = {
4565 (char *) "self", NULL
4566 };
4567
4568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
4569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4571 {
4572 PyThreadState* __tstate = wxPyBeginAllowThreads();
4573 result = (bool)(arg1)->IsOk();
4574
4575 wxPyEndAllowThreads(__tstate);
4576 if (PyErr_Occurred()) SWIG_fail;
4577 }
4f89f6a3
RD
4578 {
4579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4580 }
d14a1e28
RD
4581 return resultobj;
4582 fail:
4583 return NULL;
4584}
4585
4586
4587static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4588 PyObject *resultobj;
4589 wxCaret *arg1 = (wxCaret *) 0 ;
4590 bool result;
4591 PyObject * obj0 = 0 ;
4592 char *kwnames[] = {
4593 (char *) "self", NULL
4594 };
4595
4596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
15afbcd0
RD
4597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4599 {
4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
4601 result = (bool)(arg1)->IsVisible();
4602
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4f89f6a3
RD
4606 {
4607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4608 }
d14a1e28
RD
4609 return resultobj;
4610 fail:
4611 return NULL;
4612}
4613
4614
322913ce
RD
4615static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4616 PyObject *resultobj;
4617 wxCaret *arg1 = (wxCaret *) 0 ;
4618 wxPoint result;
4619 PyObject * obj0 = 0 ;
4620 char *kwnames[] = {
4621 (char *) "self", NULL
4622 };
4623
4624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
4625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
322913ce
RD
4627 {
4628 PyThreadState* __tstate = wxPyBeginAllowThreads();
4629 result = (arg1)->GetPosition();
4630
4631 wxPyEndAllowThreads(__tstate);
4632 if (PyErr_Occurred()) SWIG_fail;
4633 }
4634 {
4635 wxPoint * resultptr;
4636 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 4637 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
322913ce
RD
4638 }
4639 return resultobj;
4640 fail:
4641 return NULL;
4642}
4643
4644
d14a1e28
RD
4645static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4646 PyObject *resultobj;
4647 wxCaret *arg1 = (wxCaret *) 0 ;
4648 int *arg2 = (int *) 0 ;
4649 int *arg3 = (int *) 0 ;
4650 int temp2 ;
4651 int temp3 ;
4652 PyObject * obj0 = 0 ;
4653 char *kwnames[] = {
4654 (char *) "self", NULL
4655 };
4656
4657 arg2 = &temp2;
4658 arg3 = &temp3;
4659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
4660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4662 {
4663 PyThreadState* __tstate = wxPyBeginAllowThreads();
4664 (arg1)->GetPosition(arg2,arg3);
4665
4666 wxPyEndAllowThreads(__tstate);
4667 if (PyErr_Occurred()) SWIG_fail;
4668 }
4669 Py_INCREF(Py_None); resultobj = Py_None;
4670 {
4671 PyObject *o = PyInt_FromLong((long) (*arg2));
4672 resultobj = t_output_helper(resultobj,o);
4673 }
4674 {
4675 PyObject *o = PyInt_FromLong((long) (*arg3));
4676 resultobj = t_output_helper(resultobj,o);
4677 }
4678 return resultobj;
4679 fail:
4680 return NULL;
4681}
4682
4683
322913ce 4684static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4685 PyObject *resultobj;
4686 wxCaret *arg1 = (wxCaret *) 0 ;
322913ce 4687 wxSize result;
d14a1e28
RD
4688 PyObject * obj0 = 0 ;
4689 char *kwnames[] = {
4690 (char *) "self", NULL
4691 };
4692
322913ce 4693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
4694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4696 {
4697 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 4698 result = (arg1)->GetSize();
d14a1e28
RD
4699
4700 wxPyEndAllowThreads(__tstate);
4701 if (PyErr_Occurred()) SWIG_fail;
4702 }
4703 {
322913ce
RD
4704 wxSize * resultptr;
4705 resultptr = new wxSize((wxSize &) result);
15afbcd0 4706 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
4707 }
4708 return resultobj;
4709 fail:
4710 return NULL;
4711}
4712
4713
4714static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4715 PyObject *resultobj;
4716 wxCaret *arg1 = (wxCaret *) 0 ;
4717 int *arg2 = (int *) 0 ;
4718 int *arg3 = (int *) 0 ;
4719 int temp2 ;
4720 int temp3 ;
4721 PyObject * obj0 = 0 ;
4722 char *kwnames[] = {
4723 (char *) "self", NULL
4724 };
4725
4726 arg2 = &temp2;
4727 arg3 = &temp3;
4728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
4729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4731 {
4732 PyThreadState* __tstate = wxPyBeginAllowThreads();
4733 (arg1)->GetSize(arg2,arg3);
4734
4735 wxPyEndAllowThreads(__tstate);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 }
4738 Py_INCREF(Py_None); resultobj = Py_None;
4739 {
4740 PyObject *o = PyInt_FromLong((long) (*arg2));
4741 resultobj = t_output_helper(resultobj,o);
4742 }
4743 {
4744 PyObject *o = PyInt_FromLong((long) (*arg3));
4745 resultobj = t_output_helper(resultobj,o);
4746 }
4747 return resultobj;
4748 fail:
4749 return NULL;
4750}
4751
4752
d14a1e28
RD
4753static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4754 PyObject *resultobj;
4755 wxCaret *arg1 = (wxCaret *) 0 ;
4756 wxWindow *result;
4757 PyObject * obj0 = 0 ;
4758 char *kwnames[] = {
4759 (char *) "self", NULL
4760 };
4761
4762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
4763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4765 {
4766 PyThreadState* __tstate = wxPyBeginAllowThreads();
4767 result = (wxWindow *)(arg1)->GetWindow();
4768
4769 wxPyEndAllowThreads(__tstate);
4770 if (PyErr_Occurred()) SWIG_fail;
4771 }
4772 {
4773 resultobj = wxPyMake_wxObject(result);
4774 }
4775 return resultobj;
4776 fail:
4777 return NULL;
4778}
4779
4780
4781static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4782 PyObject *resultobj;
4783 wxCaret *arg1 = (wxCaret *) 0 ;
4784 int arg2 ;
4785 int arg3 ;
4786 PyObject * obj0 = 0 ;
994141e6
RD
4787 PyObject * obj1 = 0 ;
4788 PyObject * obj2 = 0 ;
d14a1e28
RD
4789 char *kwnames[] = {
4790 (char *) "self",(char *) "x",(char *) "y", NULL
4791 };
4792
994141e6 4793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4796 arg2 = (int) SWIG_AsInt(obj1);
4797 if (PyErr_Occurred()) SWIG_fail;
4798 arg3 = (int) SWIG_AsInt(obj2);
4799 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4800 {
4801 PyThreadState* __tstate = wxPyBeginAllowThreads();
4802 (arg1)->Move(arg2,arg3);
4803
4804 wxPyEndAllowThreads(__tstate);
4805 if (PyErr_Occurred()) SWIG_fail;
4806 }
4807 Py_INCREF(Py_None); resultobj = Py_None;
4808 return resultobj;
4809 fail:
4810 return NULL;
4811}
4812
4813
4814static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4815 PyObject *resultobj;
4816 wxCaret *arg1 = (wxCaret *) 0 ;
4817 wxPoint *arg2 = 0 ;
4818 wxPoint temp2 ;
4819 PyObject * obj0 = 0 ;
4820 PyObject * obj1 = 0 ;
4821 char *kwnames[] = {
4822 (char *) "self",(char *) "pt", NULL
4823 };
4824
4825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4828 {
4829 arg2 = &temp2;
4830 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4831 }
4832 {
4833 PyThreadState* __tstate = wxPyBeginAllowThreads();
4834 (arg1)->Move((wxPoint const &)*arg2);
4835
4836 wxPyEndAllowThreads(__tstate);
4837 if (PyErr_Occurred()) SWIG_fail;
4838 }
4839 Py_INCREF(Py_None); resultobj = Py_None;
4840 return resultobj;
4841 fail:
4842 return NULL;
4843}
4844
4845
4846static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4847 PyObject *resultobj;
4848 wxCaret *arg1 = (wxCaret *) 0 ;
4849 int arg2 ;
4850 int arg3 ;
4851 PyObject * obj0 = 0 ;
994141e6
RD
4852 PyObject * obj1 = 0 ;
4853 PyObject * obj2 = 0 ;
d14a1e28
RD
4854 char *kwnames[] = {
4855 (char *) "self",(char *) "width",(char *) "height", NULL
4856 };
4857
994141e6 4858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4861 arg2 = (int) SWIG_AsInt(obj1);
4862 if (PyErr_Occurred()) SWIG_fail;
4863 arg3 = (int) SWIG_AsInt(obj2);
4864 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4865 {
4866 PyThreadState* __tstate = wxPyBeginAllowThreads();
4867 (arg1)->SetSize(arg2,arg3);
4868
4869 wxPyEndAllowThreads(__tstate);
4870 if (PyErr_Occurred()) SWIG_fail;
4871 }
4872 Py_INCREF(Py_None); resultobj = Py_None;
4873 return resultobj;
4874 fail:
4875 return NULL;
4876}
4877
4878
4879static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4880 PyObject *resultobj;
4881 wxCaret *arg1 = (wxCaret *) 0 ;
4882 wxSize *arg2 = 0 ;
4883 wxSize temp2 ;
4884 PyObject * obj0 = 0 ;
4885 PyObject * obj1 = 0 ;
4886 char *kwnames[] = {
4887 (char *) "self",(char *) "size", NULL
4888 };
4889
4890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4893 {
4894 arg2 = &temp2;
4895 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4896 }
4897 {
4898 PyThreadState* __tstate = wxPyBeginAllowThreads();
4899 (arg1)->SetSize((wxSize const &)*arg2);
4900
4901 wxPyEndAllowThreads(__tstate);
4902 if (PyErr_Occurred()) SWIG_fail;
4903 }
4904 Py_INCREF(Py_None); resultobj = Py_None;
4905 return resultobj;
4906 fail:
4907 return NULL;
4908}
4909
4910
4911static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4912 PyObject *resultobj;
4913 wxCaret *arg1 = (wxCaret *) 0 ;
e811c8ce 4914 int arg2 = (int) True ;
d14a1e28 4915 PyObject * obj0 = 0 ;
994141e6 4916 PyObject * obj1 = 0 ;
d14a1e28
RD
4917 char *kwnames[] = {
4918 (char *) "self",(char *) "show", NULL
4919 };
4920
994141e6 4921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 4924 if (obj1) {
15afbcd0
RD
4925 arg2 = (int) SWIG_AsInt(obj1);
4926 if (PyErr_Occurred()) SWIG_fail;
994141e6 4927 }
d14a1e28
RD
4928 {
4929 PyThreadState* __tstate = wxPyBeginAllowThreads();
4930 (arg1)->Show(arg2);
4931
4932 wxPyEndAllowThreads(__tstate);
4933 if (PyErr_Occurred()) SWIG_fail;
4934 }
4935 Py_INCREF(Py_None); resultobj = Py_None;
4936 return resultobj;
4937 fail:
4938 return NULL;
4939}
4940
4941
4942static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4943 PyObject *resultobj;
4944 wxCaret *arg1 = (wxCaret *) 0 ;
4945 PyObject * obj0 = 0 ;
4946 char *kwnames[] = {
4947 (char *) "self", NULL
4948 };
4949
4950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
15afbcd0
RD
4951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4953 {
4954 PyThreadState* __tstate = wxPyBeginAllowThreads();
4955 (arg1)->Hide();
4956
4957 wxPyEndAllowThreads(__tstate);
4958 if (PyErr_Occurred()) SWIG_fail;
4959 }
4960 Py_INCREF(Py_None); resultobj = Py_None;
4961 return resultobj;
4962 fail:
4963 return NULL;
4964}
4965
4966
4967static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4968 PyObject *obj;
4969 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4970 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4971 Py_INCREF(obj);
4972 return Py_BuildValue((char *)"");
4973}
4974static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4975 PyObject *resultobj;
4976 int result;
4977 char *kwnames[] = {
4978 NULL
4979 };
4980
4981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4982 {
4983 PyThreadState* __tstate = wxPyBeginAllowThreads();
4984 result = (int)wxCaret_GetBlinkTime();
4985
4986 wxPyEndAllowThreads(__tstate);
4987 if (PyErr_Occurred()) SWIG_fail;
4988 }
15afbcd0 4989 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4990 return resultobj;
4991 fail:
4992 return NULL;
4993}
4994
4995
4996static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4997 PyObject *resultobj;
4998 int arg1 ;
994141e6 4999 PyObject * obj0 = 0 ;
d14a1e28
RD
5000 char *kwnames[] = {
5001 (char *) "milliseconds", NULL
5002 };
5003
994141e6 5004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
15afbcd0
RD
5005 arg1 = (int) SWIG_AsInt(obj0);
5006 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5007 {
5008 PyThreadState* __tstate = wxPyBeginAllowThreads();
5009 wxCaret_SetBlinkTime(arg1);
5010
5011 wxPyEndAllowThreads(__tstate);
5012 if (PyErr_Occurred()) SWIG_fail;
5013 }
5014 Py_INCREF(Py_None); resultobj = Py_None;
5015 return resultobj;
5016 fail:
5017 return NULL;
5018}
5019
5020
5021static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
5022 PyObject *resultobj;
5023 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5024 wxBusyCursor *result;
5025 PyObject * obj0 = 0 ;
5026 char *kwnames[] = {
5027 (char *) "cursor", NULL
5028 };
5029
5030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
5031 if (obj0) {
15afbcd0
RD
5032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
5033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5034 }
5035 {
5036 PyThreadState* __tstate = wxPyBeginAllowThreads();
5037 result = (wxBusyCursor *)new wxBusyCursor(arg1);
5038
5039 wxPyEndAllowThreads(__tstate);
5040 if (PyErr_Occurred()) SWIG_fail;
5041 }
15afbcd0 5042 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
d14a1e28
RD
5043 return resultobj;
5044 fail:
5045 return NULL;
5046}
5047
5048
5049static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
5050 PyObject *resultobj;
5051 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
5052 PyObject * obj0 = 0 ;
5053 char *kwnames[] = {
5054 (char *) "self", NULL
5055 };
5056
5057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
5058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyCursor,
5059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5060 {
5061 PyThreadState* __tstate = wxPyBeginAllowThreads();
5062 delete arg1;
5063
5064 wxPyEndAllowThreads(__tstate);
5065 if (PyErr_Occurred()) SWIG_fail;
5066 }
5067 Py_INCREF(Py_None); resultobj = Py_None;
5068 return resultobj;
5069 fail:
5070 return NULL;
5071}
5072
5073
5074static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
5075 PyObject *obj;
5076 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5077 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
5078 Py_INCREF(obj);
5079 return Py_BuildValue((char *)"");
5080}
5081static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
5082 PyObject *resultobj;
5083 wxWindow *arg1 = (wxWindow *) NULL ;
5084 wxWindowDisabler *result;
5085 PyObject * obj0 = 0 ;
5086 char *kwnames[] = {
5087 (char *) "winToSkip", NULL
5088 };
5089
5090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
5091 if (obj0) {
15afbcd0
RD
5092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5094 }
5095 {
5096 PyThreadState* __tstate = wxPyBeginAllowThreads();
5097 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
5098
5099 wxPyEndAllowThreads(__tstate);
5100 if (PyErr_Occurred()) SWIG_fail;
5101 }
15afbcd0 5102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
d14a1e28
RD
5103 return resultobj;
5104 fail:
5105 return NULL;
5106}
5107
5108
5109static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
5110 PyObject *resultobj;
5111 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
5112 PyObject * obj0 = 0 ;
5113 char *kwnames[] = {
5114 (char *) "self", NULL
5115 };
5116
5117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
15afbcd0
RD
5118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDisabler,
5119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5120 {
5121 PyThreadState* __tstate = wxPyBeginAllowThreads();
5122 delete arg1;
5123
5124 wxPyEndAllowThreads(__tstate);
5125 if (PyErr_Occurred()) SWIG_fail;
5126 }
5127 Py_INCREF(Py_None); resultobj = Py_None;
5128 return resultobj;
5129 fail:
5130 return NULL;
5131}
5132
5133
5134static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
5135 PyObject *obj;
5136 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5137 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
5138 Py_INCREF(obj);
5139 return Py_BuildValue((char *)"");
5140}
5141static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5142 PyObject *resultobj;
5143 wxString *arg1 = 0 ;
5144 wxBusyInfo *result;
e811c8ce 5145 bool temp1 = False ;
d14a1e28
RD
5146 PyObject * obj0 = 0 ;
5147 char *kwnames[] = {
5148 (char *) "message", NULL
5149 };
5150
5151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
5152 {
5153 arg1 = wxString_in_helper(obj0);
5154 if (arg1 == NULL) SWIG_fail;
e811c8ce 5155 temp1 = True;
d14a1e28
RD
5156 }
5157 {
5158 PyThreadState* __tstate = wxPyBeginAllowThreads();
5159 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
5160
5161 wxPyEndAllowThreads(__tstate);
5162 if (PyErr_Occurred()) SWIG_fail;
5163 }
15afbcd0 5164 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
d14a1e28
RD
5165 {
5166 if (temp1)
5167 delete arg1;
5168 }
5169 return resultobj;
5170 fail:
5171 {
5172 if (temp1)
5173 delete arg1;
5174 }
5175 return NULL;
5176}
5177
5178
5179static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5180 PyObject *resultobj;
5181 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5182 PyObject * obj0 = 0 ;
5183 char *kwnames[] = {
5184 (char *) "self", NULL
5185 };
5186
5187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
5188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyInfo,
5189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5190 {
5191 PyThreadState* __tstate = wxPyBeginAllowThreads();
5192 delete arg1;
5193
5194 wxPyEndAllowThreads(__tstate);
5195 if (PyErr_Occurred()) SWIG_fail;
5196 }
5197 Py_INCREF(Py_None); resultobj = Py_None;
5198 return resultobj;
5199 fail:
5200 return NULL;
5201}
5202
5203
5204static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
5205 PyObject *obj;
5206 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5207 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5208 Py_INCREF(obj);
5209 return Py_BuildValue((char *)"");
5210}
5211static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
5212 PyObject *resultobj;
5213 wxStopWatch *result;
5214 char *kwnames[] = {
5215 NULL
5216 };
5217
5218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5219 {
5220 PyThreadState* __tstate = wxPyBeginAllowThreads();
5221 result = (wxStopWatch *)new wxStopWatch();
5222
5223 wxPyEndAllowThreads(__tstate);
5224 if (PyErr_Occurred()) SWIG_fail;
5225 }
15afbcd0 5226 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
d14a1e28
RD
5227 return resultobj;
5228 fail:
5229 return NULL;
5230}
5231
5232
5233static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5234 PyObject *resultobj;
5235 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5236 long arg2 = (long) 0 ;
5237 PyObject * obj0 = 0 ;
994141e6 5238 PyObject * obj1 = 0 ;
d14a1e28
RD
5239 char *kwnames[] = {
5240 (char *) "self",(char *) "t0", NULL
5241 };
5242
994141e6 5243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5246 if (obj1) {
15afbcd0
RD
5247 arg2 = (long) SWIG_AsLong(obj1);
5248 if (PyErr_Occurred()) SWIG_fail;
994141e6 5249 }
d14a1e28
RD
5250 {
5251 PyThreadState* __tstate = wxPyBeginAllowThreads();
5252 (arg1)->Start(arg2);
5253
5254 wxPyEndAllowThreads(__tstate);
5255 if (PyErr_Occurred()) SWIG_fail;
5256 }
5257 Py_INCREF(Py_None); resultobj = Py_None;
5258 return resultobj;
5259 fail:
5260 return NULL;
5261}
5262
5263
5264static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
5265 PyObject *resultobj;
5266 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5267 PyObject * obj0 = 0 ;
5268 char *kwnames[] = {
5269 (char *) "self", NULL
5270 };
5271
5272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
15afbcd0
RD
5273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5275 {
5276 PyThreadState* __tstate = wxPyBeginAllowThreads();
5277 (arg1)->Pause();
5278
5279 wxPyEndAllowThreads(__tstate);
5280 if (PyErr_Occurred()) SWIG_fail;
5281 }
5282 Py_INCREF(Py_None); resultobj = Py_None;
5283 return resultobj;
5284 fail:
5285 return NULL;
5286}
5287
5288
5289static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
5290 PyObject *resultobj;
5291 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5292 PyObject * obj0 = 0 ;
5293 char *kwnames[] = {
5294 (char *) "self", NULL
5295 };
5296
5297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
15afbcd0
RD
5298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5300 {
5301 PyThreadState* __tstate = wxPyBeginAllowThreads();
5302 (arg1)->Resume();
5303
5304 wxPyEndAllowThreads(__tstate);
5305 if (PyErr_Occurred()) SWIG_fail;
5306 }
5307 Py_INCREF(Py_None); resultobj = Py_None;
5308 return resultobj;
5309 fail:
5310 return NULL;
5311}
5312
5313
5314static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
5315 PyObject *resultobj;
5316 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5317 long result;
5318 PyObject * obj0 = 0 ;
5319 char *kwnames[] = {
5320 (char *) "self", NULL
5321 };
5322
5323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
15afbcd0
RD
5324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5326 {
5327 PyThreadState* __tstate = wxPyBeginAllowThreads();
5328 result = (long)((wxStopWatch const *)arg1)->Time();
5329
5330 wxPyEndAllowThreads(__tstate);
5331 if (PyErr_Occurred()) SWIG_fail;
5332 }
15afbcd0 5333 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
5334 return resultobj;
5335 fail:
5336 return NULL;
5337}
5338
5339
5340static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
5341 PyObject *obj;
5342 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5343 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5344 Py_INCREF(obj);
5345 return Py_BuildValue((char *)"");
5346}
5347static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5348 PyObject *resultobj;
5349 int arg1 = (int) 9 ;
5350 wxFileHistory *result;
994141e6 5351 PyObject * obj0 = 0 ;
d14a1e28
RD
5352 char *kwnames[] = {
5353 (char *) "maxFiles", NULL
5354 };
5355
994141e6
RD
5356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FileHistory",kwnames,&obj0)) goto fail;
5357 if (obj0) {
15afbcd0
RD
5358 arg1 = (int) SWIG_AsInt(obj0);
5359 if (PyErr_Occurred()) SWIG_fail;
994141e6 5360 }
d14a1e28
RD
5361 {
5362 PyThreadState* __tstate = wxPyBeginAllowThreads();
5363 result = (wxFileHistory *)new wxFileHistory(arg1);
5364
5365 wxPyEndAllowThreads(__tstate);
5366 if (PyErr_Occurred()) SWIG_fail;
5367 }
15afbcd0 5368 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
d14a1e28
RD
5369 return resultobj;
5370 fail:
5371 return NULL;
5372}
5373
5374
5375static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5376 PyObject *resultobj;
5377 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5378 PyObject * obj0 = 0 ;
5379 char *kwnames[] = {
5380 (char *) "self", NULL
5381 };
5382
5383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
15afbcd0
RD
5384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5386 {
5387 PyThreadState* __tstate = wxPyBeginAllowThreads();
5388 delete arg1;
5389
5390 wxPyEndAllowThreads(__tstate);
5391 if (PyErr_Occurred()) SWIG_fail;
5392 }
5393 Py_INCREF(Py_None); resultobj = Py_None;
5394 return resultobj;
5395 fail:
5396 return NULL;
5397}
5398
5399
5400static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5401 PyObject *resultobj;
5402 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5403 wxString *arg2 = 0 ;
e811c8ce 5404 bool temp2 = False ;
d14a1e28
RD
5405 PyObject * obj0 = 0 ;
5406 PyObject * obj1 = 0 ;
5407 char *kwnames[] = {
5408 (char *) "self",(char *) "file", NULL
5409 };
5410
5411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5414 {
5415 arg2 = wxString_in_helper(obj1);
5416 if (arg2 == NULL) SWIG_fail;
e811c8ce 5417 temp2 = True;
d14a1e28
RD
5418 }
5419 {
5420 PyThreadState* __tstate = wxPyBeginAllowThreads();
5421 (arg1)->AddFileToHistory((wxString const &)*arg2);
5422
5423 wxPyEndAllowThreads(__tstate);
5424 if (PyErr_Occurred()) SWIG_fail;
5425 }
5426 Py_INCREF(Py_None); resultobj = Py_None;
5427 {
5428 if (temp2)
5429 delete arg2;
5430 }
5431 return resultobj;
5432 fail:
5433 {
5434 if (temp2)
5435 delete arg2;
5436 }
5437 return NULL;
5438}
5439
5440
5441static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5442 PyObject *resultobj;
5443 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5444 int arg2 ;
5445 PyObject * obj0 = 0 ;
994141e6 5446 PyObject * obj1 = 0 ;
d14a1e28
RD
5447 char *kwnames[] = {
5448 (char *) "self",(char *) "i", NULL
5449 };
5450
994141e6 5451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5454 arg2 = (int) SWIG_AsInt(obj1);
5455 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5456 {
5457 PyThreadState* __tstate = wxPyBeginAllowThreads();
5458 (arg1)->RemoveFileFromHistory(arg2);
5459
5460 wxPyEndAllowThreads(__tstate);
5461 if (PyErr_Occurred()) SWIG_fail;
5462 }
5463 Py_INCREF(Py_None); resultobj = Py_None;
5464 return resultobj;
5465 fail:
5466 return NULL;
5467}
5468
5469
5470static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
5471 PyObject *resultobj;
5472 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5473 int result;
5474 PyObject * obj0 = 0 ;
5475 char *kwnames[] = {
5476 (char *) "self", NULL
5477 };
5478
5479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
15afbcd0
RD
5480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5482 {
5483 PyThreadState* __tstate = wxPyBeginAllowThreads();
5484 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
5485
5486 wxPyEndAllowThreads(__tstate);
5487 if (PyErr_Occurred()) SWIG_fail;
5488 }
15afbcd0 5489 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5490 return resultobj;
5491 fail:
5492 return NULL;
5493}
5494
5495
5496static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5497 PyObject *resultobj;
5498 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5499 wxMenu *arg2 = (wxMenu *) 0 ;
5500 PyObject * obj0 = 0 ;
5501 PyObject * obj1 = 0 ;
5502 char *kwnames[] = {
5503 (char *) "self",(char *) "menu", NULL
5504 };
5505
5506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5509 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5511 {
5512 PyThreadState* __tstate = wxPyBeginAllowThreads();
5513 (arg1)->UseMenu(arg2);
5514
5515 wxPyEndAllowThreads(__tstate);
5516 if (PyErr_Occurred()) SWIG_fail;
5517 }
5518 Py_INCREF(Py_None); resultobj = Py_None;
5519 return resultobj;
5520 fail:
5521 return NULL;
5522}
5523
5524
5525static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5526 PyObject *resultobj;
5527 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5528 wxMenu *arg2 = (wxMenu *) 0 ;
5529 PyObject * obj0 = 0 ;
5530 PyObject * obj1 = 0 ;
5531 char *kwnames[] = {
5532 (char *) "self",(char *) "menu", NULL
5533 };
5534
5535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5538 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5540 {
5541 PyThreadState* __tstate = wxPyBeginAllowThreads();
5542 (arg1)->RemoveMenu(arg2);
5543
5544 wxPyEndAllowThreads(__tstate);
5545 if (PyErr_Occurred()) SWIG_fail;
5546 }
5547 Py_INCREF(Py_None); resultobj = Py_None;
5548 return resultobj;
5549 fail:
5550 return NULL;
5551}
5552
5553
5554static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
5555 PyObject *resultobj;
5556 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5557 wxConfigBase *arg2 = 0 ;
5558 PyObject * obj0 = 0 ;
5559 PyObject * obj1 = 0 ;
5560 char *kwnames[] = {
5561 (char *) "self",(char *) "config", NULL
5562 };
5563
5564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5567 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5568 SWIG_POINTER_EXCEPTION | 0)) == -1)
5569 SWIG_fail;
d14a1e28 5570 if (arg2 == NULL) {
15afbcd0
RD
5571 PyErr_SetString(PyExc_TypeError,"null reference");
5572 SWIG_fail;
d14a1e28
RD
5573 }
5574 {
5575 PyThreadState* __tstate = wxPyBeginAllowThreads();
5576 (arg1)->Load(*arg2);
5577
5578 wxPyEndAllowThreads(__tstate);
5579 if (PyErr_Occurred()) SWIG_fail;
5580 }
5581 Py_INCREF(Py_None); resultobj = Py_None;
5582 return resultobj;
5583 fail:
5584 return NULL;
5585}
5586
5587
5588static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5589 PyObject *resultobj;
5590 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5591 wxConfigBase *arg2 = 0 ;
5592 PyObject * obj0 = 0 ;
5593 PyObject * obj1 = 0 ;
5594 char *kwnames[] = {
5595 (char *) "self",(char *) "config", NULL
5596 };
5597
5598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5601 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5602 SWIG_POINTER_EXCEPTION | 0)) == -1)
5603 SWIG_fail;
d14a1e28 5604 if (arg2 == NULL) {
15afbcd0
RD
5605 PyErr_SetString(PyExc_TypeError,"null reference");
5606 SWIG_fail;
d14a1e28
RD
5607 }
5608 {
5609 PyThreadState* __tstate = wxPyBeginAllowThreads();
5610 (arg1)->Save(*arg2);
5611
5612 wxPyEndAllowThreads(__tstate);
5613 if (PyErr_Occurred()) SWIG_fail;
5614 }
5615 Py_INCREF(Py_None); resultobj = Py_None;
5616 return resultobj;
5617 fail:
5618 return NULL;
5619}
5620
5621
5622static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5623 PyObject *resultobj;
5624 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5625 PyObject * obj0 = 0 ;
5626 char *kwnames[] = {
5627 (char *) "self", NULL
5628 };
5629
5630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
5631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5633 {
5634 PyThreadState* __tstate = wxPyBeginAllowThreads();
5635 (arg1)->AddFilesToMenu();
5636
5637 wxPyEndAllowThreads(__tstate);
5638 if (PyErr_Occurred()) SWIG_fail;
5639 }
5640 Py_INCREF(Py_None); resultobj = Py_None;
5641 return resultobj;
5642 fail:
5643 return NULL;
5644}
5645
5646
5647static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5648 PyObject *resultobj;
5649 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5650 wxMenu *arg2 = (wxMenu *) 0 ;
5651 PyObject * obj0 = 0 ;
5652 PyObject * obj1 = 0 ;
5653 char *kwnames[] = {
5654 (char *) "self",(char *) "menu", NULL
5655 };
5656
5657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5660 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5662 {
5663 PyThreadState* __tstate = wxPyBeginAllowThreads();
5664 (arg1)->AddFilesToMenu(arg2);
5665
5666 wxPyEndAllowThreads(__tstate);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 }
5669 Py_INCREF(Py_None); resultobj = Py_None;
5670 return resultobj;
5671 fail:
5672 return NULL;
5673}
5674
5675
5676static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5677 PyObject *resultobj;
5678 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5679 int arg2 ;
5680 wxString result;
5681 PyObject * obj0 = 0 ;
994141e6 5682 PyObject * obj1 = 0 ;
d14a1e28
RD
5683 char *kwnames[] = {
5684 (char *) "self",(char *) "i", NULL
5685 };
5686
994141e6 5687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5690 arg2 = (int) SWIG_AsInt(obj1);
5691 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5692 {
5693 PyThreadState* __tstate = wxPyBeginAllowThreads();
5694 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5695
5696 wxPyEndAllowThreads(__tstate);
5697 if (PyErr_Occurred()) SWIG_fail;
5698 }
5699 {
5700#if wxUSE_UNICODE
5701 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5702#else
5703 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5704#endif
5705 }
5706 return resultobj;
5707 fail:
5708 return NULL;
5709}
5710
5711
5712static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5713 PyObject *resultobj;
5714 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5715 int result;
5716 PyObject * obj0 = 0 ;
5717 char *kwnames[] = {
5718 (char *) "self", NULL
5719 };
5720
5721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
5722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5724 {
5725 PyThreadState* __tstate = wxPyBeginAllowThreads();
5726 result = (int)((wxFileHistory const *)arg1)->GetCount();
5727
5728 wxPyEndAllowThreads(__tstate);
5729 if (PyErr_Occurred()) SWIG_fail;
5730 }
15afbcd0 5731 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5732 return resultobj;
5733 fail:
5734 return NULL;
5735}
5736
5737
5738static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5739 PyObject *obj;
5740 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5741 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5742 Py_INCREF(obj);
5743 return Py_BuildValue((char *)"");
5744}
5745static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5746 PyObject *resultobj;
5747 wxString *arg1 = 0 ;
5748 wxString const &arg2_defvalue = wxPyEmptyString ;
5749 wxString *arg2 = (wxString *) &arg2_defvalue ;
5750 wxSingleInstanceChecker *result;
e811c8ce
RD
5751 bool temp1 = False ;
5752 bool temp2 = False ;
d14a1e28
RD
5753 PyObject * obj0 = 0 ;
5754 PyObject * obj1 = 0 ;
5755 char *kwnames[] = {
5756 (char *) "name",(char *) "path", NULL
5757 };
5758
5759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5760 {
5761 arg1 = wxString_in_helper(obj0);
5762 if (arg1 == NULL) SWIG_fail;
e811c8ce 5763 temp1 = True;
d14a1e28
RD
5764 }
5765 if (obj1) {
5766 {
5767 arg2 = wxString_in_helper(obj1);
5768 if (arg2 == NULL) SWIG_fail;
e811c8ce 5769 temp2 = True;
d14a1e28
RD
5770 }
5771 }
5772 {
5773 PyThreadState* __tstate = wxPyBeginAllowThreads();
5774 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5775
5776 wxPyEndAllowThreads(__tstate);
5777 if (PyErr_Occurred()) SWIG_fail;
5778 }
15afbcd0 5779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
d14a1e28
RD
5780 {
5781 if (temp1)
5782 delete arg1;
5783 }
5784 {
5785 if (temp2)
5786 delete arg2;
5787 }
5788 return resultobj;
5789 fail:
5790 {
5791 if (temp1)
5792 delete arg1;
5793 }
5794 {
5795 if (temp2)
5796 delete arg2;
5797 }
5798 return NULL;
5799}
5800
5801
5802static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5803 PyObject *resultobj;
5804 wxSingleInstanceChecker *result;
5805 char *kwnames[] = {
5806 NULL
5807 };
5808
5809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5810 {
5811 PyThreadState* __tstate = wxPyBeginAllowThreads();
5812 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5813
5814 wxPyEndAllowThreads(__tstate);
5815 if (PyErr_Occurred()) SWIG_fail;
5816 }
15afbcd0 5817 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
d14a1e28
RD
5818 return resultobj;
5819 fail:
5820 return NULL;
5821}
5822
5823
5824static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5825 PyObject *resultobj;
5826 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5827 PyObject * obj0 = 0 ;
5828 char *kwnames[] = {
5829 (char *) "self", NULL
5830 };
5831
5832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
15afbcd0
RD
5833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5835 {
5836 PyThreadState* __tstate = wxPyBeginAllowThreads();
5837 delete arg1;
5838
5839 wxPyEndAllowThreads(__tstate);
5840 if (PyErr_Occurred()) SWIG_fail;
5841 }
5842 Py_INCREF(Py_None); resultobj = Py_None;
5843 return resultobj;
5844 fail:
5845 return NULL;
5846}
5847
5848
5849static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5850 PyObject *resultobj;
5851 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5852 wxString *arg2 = 0 ;
5853 wxString const &arg3_defvalue = wxPyEmptyString ;
5854 wxString *arg3 = (wxString *) &arg3_defvalue ;
5855 bool result;
e811c8ce
RD
5856 bool temp2 = False ;
5857 bool temp3 = False ;
d14a1e28
RD
5858 PyObject * obj0 = 0 ;
5859 PyObject * obj1 = 0 ;
5860 PyObject * obj2 = 0 ;
5861 char *kwnames[] = {
5862 (char *) "self",(char *) "name",(char *) "path", NULL
5863 };
5864
5865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5868 {
5869 arg2 = wxString_in_helper(obj1);
5870 if (arg2 == NULL) SWIG_fail;
e811c8ce 5871 temp2 = True;
d14a1e28
RD
5872 }
5873 if (obj2) {
5874 {
5875 arg3 = wxString_in_helper(obj2);
5876 if (arg3 == NULL) SWIG_fail;
e811c8ce 5877 temp3 = True;
d14a1e28
RD
5878 }
5879 }
5880 {
5881 PyThreadState* __tstate = wxPyBeginAllowThreads();
5882 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5883
5884 wxPyEndAllowThreads(__tstate);
5885 if (PyErr_Occurred()) SWIG_fail;
5886 }
4f89f6a3
RD
5887 {
5888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5889 }
d14a1e28
RD
5890 {
5891 if (temp2)
5892 delete arg2;
5893 }
5894 {
5895 if (temp3)
5896 delete arg3;
5897 }
5898 return resultobj;
5899 fail:
5900 {
5901 if (temp2)
5902 delete arg2;
5903 }
5904 {
5905 if (temp3)
5906 delete arg3;
5907 }
5908 return NULL;
5909}
5910
5911
5912static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5913 PyObject *resultobj;
5914 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5915 bool result;
5916 PyObject * obj0 = 0 ;
5917 char *kwnames[] = {
5918 (char *) "self", NULL
5919 };
5920
5921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
15afbcd0
RD
5922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5924 {
5925 PyThreadState* __tstate = wxPyBeginAllowThreads();
5926 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5927
5928 wxPyEndAllowThreads(__tstate);
5929 if (PyErr_Occurred()) SWIG_fail;
5930 }
4f89f6a3
RD
5931 {
5932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5933 }
d14a1e28
RD
5934 return resultobj;
5935 fail:
5936 return NULL;
5937}
5938
5939
5940static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5941 PyObject *obj;
5942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5943 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5944 Py_INCREF(obj);
5945 return Py_BuildValue((char *)"");
5946}
5947static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5948 PyObject *resultobj;
5949 wxWindow *arg1 = (wxWindow *) 0 ;
5950 wxDC *arg2 = 0 ;
5951 int arg3 ;
5952 PyObject * obj0 = 0 ;
5953 PyObject * obj1 = 0 ;
994141e6 5954 PyObject * obj2 = 0 ;
d14a1e28
RD
5955 char *kwnames[] = {
5956 (char *) "window",(char *) "dc",(char *) "method", NULL
5957 };
5958
994141e6 5959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5962 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5963 SWIG_POINTER_EXCEPTION | 0)) == -1)
5964 SWIG_fail;
d14a1e28 5965 if (arg2 == NULL) {
15afbcd0
RD
5966 PyErr_SetString(PyExc_TypeError,"null reference");
5967 SWIG_fail;
994141e6 5968 }
15afbcd0
RD
5969 arg3 = (int) SWIG_AsInt(obj2);
5970 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5971 {
5972 PyThreadState* __tstate = wxPyBeginAllowThreads();
5973 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5974
5975 wxPyEndAllowThreads(__tstate);
5976 if (PyErr_Occurred()) SWIG_fail;
5977 }
5978 Py_INCREF(Py_None); resultobj = Py_None;
5979 return resultobj;
5980 fail:
5981 return NULL;
5982}
5983
5984
5985static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5986 PyObject *resultobj;
5987 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5988 PyObject * obj0 = 0 ;
5989 char *kwnames[] = {
5990 (char *) "self", NULL
5991 };
5992
5993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
15afbcd0
RD
5994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
5995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5996 {
5997 PyThreadState* __tstate = wxPyBeginAllowThreads();
5998 delete arg1;
5999
6000 wxPyEndAllowThreads(__tstate);
6001 if (PyErr_Occurred()) SWIG_fail;
6002 }
6003 Py_INCREF(Py_None); resultobj = Py_None;
6004 return resultobj;
6005 fail:
6006 return NULL;
6007}
6008
6009
6010static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6011 PyObject *resultobj;
6012 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6013 wxString result;
6014 PyObject * obj0 = 0 ;
6015 char *kwnames[] = {
6016 (char *) "self", NULL
6017 };
6018
6019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
15afbcd0
RD
6020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6022 {
6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
6024 result = (arg1)->GetTip();
6025
6026 wxPyEndAllowThreads(__tstate);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 {
6030#if wxUSE_UNICODE
6031 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6032#else
6033 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6034#endif
6035 }
6036 return resultobj;
6037 fail:
6038 return NULL;
6039}
6040
6041
6042static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6043 PyObject *resultobj;
6044 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6045 size_t result;
6046 PyObject * obj0 = 0 ;
6047 char *kwnames[] = {
6048 (char *) "self", NULL
6049 };
6050
6051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
15afbcd0
RD
6052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 result = (size_t)(arg1)->GetCurrentTip();
6057
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
15afbcd0 6061 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
6062 return resultobj;
6063 fail:
6064 return NULL;
6065}
6066
6067
6068static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6069 PyObject *resultobj;
6070 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6071 wxString *arg2 = 0 ;
6072 wxString result;
e811c8ce 6073 bool temp2 = False ;
d14a1e28
RD
6074 PyObject * obj0 = 0 ;
6075 PyObject * obj1 = 0 ;
6076 char *kwnames[] = {
6077 (char *) "self",(char *) "tip", NULL
6078 };
6079
6080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6083 {
6084 arg2 = wxString_in_helper(obj1);
6085 if (arg2 == NULL) SWIG_fail;
e811c8ce 6086 temp2 = True;
d14a1e28
RD
6087 }
6088 {
6089 PyThreadState* __tstate = wxPyBeginAllowThreads();
6090 result = (arg1)->PreprocessTip((wxString const &)*arg2);
6091
6092 wxPyEndAllowThreads(__tstate);
6093 if (PyErr_Occurred()) SWIG_fail;
6094 }
6095 {
6096#if wxUSE_UNICODE
6097 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6098#else
6099 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6100#endif
6101 }
6102 {
6103 if (temp2)
6104 delete arg2;
6105 }
6106 return resultobj;
6107 fail:
6108 {
6109 if (temp2)
6110 delete arg2;
6111 }
6112 return NULL;
6113}
6114
6115
6116static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
6117 PyObject *obj;
6118 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6119 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
6120 Py_INCREF(obj);
6121 return Py_BuildValue((char *)"");
6122}
6123static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6124 PyObject *resultobj;
6125 size_t arg1 ;
6126 wxPyTipProvider *result;
6127 PyObject * obj0 = 0 ;
6128 char *kwnames[] = {
6129 (char *) "currentTip", NULL
6130 };
6131
6132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
15afbcd0
RD
6133 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
6134 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6135 {
6136 PyThreadState* __tstate = wxPyBeginAllowThreads();
6137 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
6138
6139 wxPyEndAllowThreads(__tstate);
6140 if (PyErr_Occurred()) SWIG_fail;
6141 }
15afbcd0 6142 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
d14a1e28
RD
6143 return resultobj;
6144 fail:
6145 return NULL;
6146}
6147
6148
6149static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6150 PyObject *resultobj;
6151 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
6152 PyObject *arg2 = (PyObject *) 0 ;
6153 PyObject *arg3 = (PyObject *) 0 ;
6154 PyObject * obj0 = 0 ;
6155 PyObject * obj1 = 0 ;
6156 PyObject * obj2 = 0 ;
6157 char *kwnames[] = {
6158 (char *) "self",(char *) "self",(char *) "_class", NULL
6159 };
6160
6161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTipProvider,
6163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6164 arg2 = obj1;
6165 arg3 = obj2;
6166 {
6167 PyThreadState* __tstate = wxPyBeginAllowThreads();
6168 (arg1)->_setCallbackInfo(arg2,arg3);
6169
6170 wxPyEndAllowThreads(__tstate);
6171 if (PyErr_Occurred()) SWIG_fail;
6172 }
6173 Py_INCREF(Py_None); resultobj = Py_None;
6174 return resultobj;
6175 fail:
6176 return NULL;
6177}
6178
6179
6180static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
6181 PyObject *obj;
6182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6183 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
6184 Py_INCREF(obj);
6185 return Py_BuildValue((char *)"");
6186}
6187static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6188 PyObject *resultobj;
6189 wxWindow *arg1 = (wxWindow *) 0 ;
6190 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
e811c8ce 6191 bool arg3 = (bool) True ;
d14a1e28
RD
6192 bool result;
6193 PyObject * obj0 = 0 ;
6194 PyObject * obj1 = 0 ;
6195 PyObject * obj2 = 0 ;
6196 char *kwnames[] = {
6197 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6198 };
6199
6200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6203 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTipProvider,
6204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6205 if (obj2) {
15afbcd0
RD
6206 arg3 = (bool) SWIG_AsBool(obj2);
6207 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6208 }
6209 {
6210 PyThreadState* __tstate = wxPyBeginAllowThreads();
6211 result = (bool)wxShowTip(arg1,arg2,arg3);
6212
6213 wxPyEndAllowThreads(__tstate);
6214 if (PyErr_Occurred()) SWIG_fail;
6215 }
4f89f6a3
RD
6216 {
6217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6218 }
d14a1e28
RD
6219 return resultobj;
6220 fail:
6221 return NULL;
6222}
6223
6224
6225static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6226 PyObject *resultobj;
6227 wxString *arg1 = 0 ;
6228 size_t arg2 ;
6229 wxTipProvider *result;
e811c8ce 6230 bool temp1 = False ;
d14a1e28
RD
6231 PyObject * obj0 = 0 ;
6232 PyObject * obj1 = 0 ;
6233 char *kwnames[] = {
6234 (char *) "filename",(char *) "currentTip", NULL
6235 };
6236
6237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6238 {
6239 arg1 = wxString_in_helper(obj0);
6240 if (arg1 == NULL) SWIG_fail;
e811c8ce 6241 temp1 = True;
d14a1e28 6242 }
15afbcd0
RD
6243 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6244 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6245 {
6246 PyThreadState* __tstate = wxPyBeginAllowThreads();
6247 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6248
6249 wxPyEndAllowThreads(__tstate);
6250 if (PyErr_Occurred()) SWIG_fail;
6251 }
15afbcd0 6252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
d14a1e28
RD
6253 {
6254 if (temp1)
6255 delete arg1;
6256 }
6257 return resultobj;
6258 fail:
6259 {
6260 if (temp1)
6261 delete arg1;
6262 }
6263 return NULL;
6264}
6265
6266
6267static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6268 PyObject *resultobj;
6269 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6270 int arg2 = (int) -1 ;
6271 wxPyTimer *result;
6272 PyObject * obj0 = 0 ;
994141e6 6273 PyObject * obj1 = 0 ;
d14a1e28
RD
6274 char *kwnames[] = {
6275 (char *) "owner",(char *) "id", NULL
6276 };
6277
994141e6 6278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 6279 if (obj0) {
15afbcd0
RD
6280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
6281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6282 }
994141e6 6283 if (obj1) {
15afbcd0
RD
6284 arg2 = (int) SWIG_AsInt(obj1);
6285 if (PyErr_Occurred()) SWIG_fail;
994141e6 6286 }
d14a1e28
RD
6287 {
6288 PyThreadState* __tstate = wxPyBeginAllowThreads();
6289 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6290
6291 wxPyEndAllowThreads(__tstate);
6292 if (PyErr_Occurred()) SWIG_fail;
6293 }
15afbcd0 6294 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
d14a1e28
RD
6295 return resultobj;
6296 fail:
6297 return NULL;
6298}
6299
6300
6301static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6302 PyObject *resultobj;
6303 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6304 PyObject * obj0 = 0 ;
6305 char *kwnames[] = {
6306 (char *) "self", NULL
6307 };
6308
6309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
15afbcd0
RD
6310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6312 {
6313 PyThreadState* __tstate = wxPyBeginAllowThreads();
6314 delete arg1;
6315
6316 wxPyEndAllowThreads(__tstate);
6317 if (PyErr_Occurred()) SWIG_fail;
6318 }
6319 Py_INCREF(Py_None); resultobj = Py_None;
6320 return resultobj;
6321 fail:
6322 return NULL;
6323}
6324
6325
7722248d
RD
6326static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6327 PyObject *resultobj;
6328 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6329 PyObject *arg2 = (PyObject *) 0 ;
6330 PyObject *arg3 = (PyObject *) 0 ;
4276dc52 6331 int arg4 = (int) 1 ;
7722248d
RD
6332 PyObject * obj0 = 0 ;
6333 PyObject * obj1 = 0 ;
6334 PyObject * obj2 = 0 ;
4276dc52 6335 PyObject * obj3 = 0 ;
7722248d 6336 char *kwnames[] = {
4276dc52 6337 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
7722248d
RD
6338 };
6339
4276dc52 6340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7722248d
RD
6343 arg2 = obj1;
6344 arg3 = obj2;
4276dc52
RD
6345 if (obj3) {
6346 arg4 = (int) SWIG_AsInt(obj3);
6347 if (PyErr_Occurred()) SWIG_fail;
6348 }
7722248d
RD
6349 {
6350 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 6351 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
7722248d
RD
6352
6353 wxPyEndAllowThreads(__tstate);
6354 if (PyErr_Occurred()) SWIG_fail;
6355 }
6356 Py_INCREF(Py_None); resultobj = Py_None;
6357 return resultobj;
6358 fail:
6359 return NULL;
6360}
6361
6362
d14a1e28
RD
6363static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
6364 PyObject *resultobj;
6365 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6366 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6367 int arg3 = (int) -1 ;
6368 PyObject * obj0 = 0 ;
6369 PyObject * obj1 = 0 ;
994141e6 6370 PyObject * obj2 = 0 ;
d14a1e28
RD
6371 char *kwnames[] = {
6372 (char *) "self",(char *) "owner",(char *) "id", NULL
6373 };
6374
994141e6 6375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6378 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
6379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 6380 if (obj2) {
15afbcd0
RD
6381 arg3 = (int) SWIG_AsInt(obj2);
6382 if (PyErr_Occurred()) SWIG_fail;
994141e6 6383 }
d14a1e28
RD
6384 {
6385 PyThreadState* __tstate = wxPyBeginAllowThreads();
6386 (arg1)->SetOwner(arg2,arg3);
6387
6388 wxPyEndAllowThreads(__tstate);
6389 if (PyErr_Occurred()) SWIG_fail;
6390 }
6391 Py_INCREF(Py_None); resultobj = Py_None;
6392 return resultobj;
6393 fail:
6394 return NULL;
6395}
6396
6397
6398static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6399 PyObject *resultobj;
6400 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6401 int arg2 = (int) -1 ;
e811c8ce 6402 bool arg3 = (bool) False ;
d14a1e28
RD
6403 bool result;
6404 PyObject * obj0 = 0 ;
994141e6 6405 PyObject * obj1 = 0 ;
d14a1e28
RD
6406 PyObject * obj2 = 0 ;
6407 char *kwnames[] = {
6408 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6409 };
6410
994141e6 6411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 6414 if (obj1) {
15afbcd0
RD
6415 arg2 = (int) SWIG_AsInt(obj1);
6416 if (PyErr_Occurred()) SWIG_fail;
994141e6 6417 }
d14a1e28 6418 if (obj2) {
15afbcd0
RD
6419 arg3 = (bool) SWIG_AsBool(obj2);
6420 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6421 }
6422 {
6423 PyThreadState* __tstate = wxPyBeginAllowThreads();
6424 result = (bool)(arg1)->Start(arg2,arg3);
6425
6426 wxPyEndAllowThreads(__tstate);
6427 if (PyErr_Occurred()) SWIG_fail;
6428 }
4f89f6a3
RD
6429 {
6430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6431 }
d14a1e28
RD
6432 return resultobj;
6433 fail:
6434 return NULL;
6435}
6436
6437
6438static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
6439 PyObject *resultobj;
6440 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6441 PyObject * obj0 = 0 ;
6442 char *kwnames[] = {
6443 (char *) "self", NULL
6444 };
6445
6446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
15afbcd0
RD
6447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6449 {
6450 PyThreadState* __tstate = wxPyBeginAllowThreads();
6451 (arg1)->Stop();
6452
6453 wxPyEndAllowThreads(__tstate);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 }
6456 Py_INCREF(Py_None); resultobj = Py_None;
6457 return resultobj;
6458 fail:
6459 return NULL;
6460}
6461
6462
d14a1e28
RD
6463static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
6464 PyObject *resultobj;
6465 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6466 bool result;
6467 PyObject * obj0 = 0 ;
6468 char *kwnames[] = {
6469 (char *) "self", NULL
6470 };
6471
6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
15afbcd0
RD
6473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6475 {
6476 PyThreadState* __tstate = wxPyBeginAllowThreads();
6477 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
6478
6479 wxPyEndAllowThreads(__tstate);
6480 if (PyErr_Occurred()) SWIG_fail;
6481 }
4f89f6a3
RD
6482 {
6483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6484 }
d14a1e28
RD
6485 return resultobj;
6486 fail:
6487 return NULL;
6488}
6489
6490
6491static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6492 PyObject *resultobj;
6493 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6494 int result;
6495 PyObject * obj0 = 0 ;
6496 char *kwnames[] = {
6497 (char *) "self", NULL
6498 };
6499
6500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
15afbcd0
RD
6501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6503 {
6504 PyThreadState* __tstate = wxPyBeginAllowThreads();
6505 result = (int)((wxPyTimer const *)arg1)->GetInterval();
6506
6507 wxPyEndAllowThreads(__tstate);
6508 if (PyErr_Occurred()) SWIG_fail;
6509 }
15afbcd0 6510 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6511 return resultobj;
6512 fail:
6513 return NULL;
6514}
6515
6516
6517static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
6518 PyObject *resultobj;
6519 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6520 bool result;
6521 PyObject * obj0 = 0 ;
6522 char *kwnames[] = {
6523 (char *) "self", NULL
6524 };
6525
6526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
15afbcd0
RD
6527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6529 {
6530 PyThreadState* __tstate = wxPyBeginAllowThreads();
6531 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
6532
6533 wxPyEndAllowThreads(__tstate);
6534 if (PyErr_Occurred()) SWIG_fail;
6535 }
4f89f6a3
RD
6536 {
6537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6538 }
d14a1e28
RD
6539 return resultobj;
6540 fail:
6541 return NULL;
6542}
6543
6544
cc6dd355
RD
6545static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6546 PyObject *resultobj;
6547 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6548 int result;
6549 PyObject * obj0 = 0 ;
6550 char *kwnames[] = {
6551 (char *) "self", NULL
6552 };
6553
6554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
6555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
cc6dd355
RD
6557 {
6558 PyThreadState* __tstate = wxPyBeginAllowThreads();
6559 result = (int)((wxPyTimer const *)arg1)->GetId();
6560
6561 wxPyEndAllowThreads(__tstate);
6562 if (PyErr_Occurred()) SWIG_fail;
6563 }
15afbcd0 6564 resultobj = SWIG_FromInt((int)result);
cc6dd355
RD
6565 return resultobj;
6566 fail:
6567 return NULL;
6568}
6569
6570
d14a1e28
RD
6571static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
6572 PyObject *obj;
6573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6574 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
6575 Py_INCREF(obj);
6576 return Py_BuildValue((char *)"");
6577}
6578static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6579 PyObject *resultobj;
6580 int arg1 = (int) 0 ;
6581 int arg2 = (int) 0 ;
6582 wxTimerEvent *result;
994141e6
RD
6583 PyObject * obj0 = 0 ;
6584 PyObject * obj1 = 0 ;
d14a1e28
RD
6585 char *kwnames[] = {
6586 (char *) "timerid",(char *) "interval", NULL
6587 };
6588
994141e6
RD
6589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
6590 if (obj0) {
15afbcd0
RD
6591 arg1 = (int) SWIG_AsInt(obj0);
6592 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
6593 }
6594 if (obj1) {
15afbcd0
RD
6595 arg2 = (int) SWIG_AsInt(obj1);
6596 if (PyErr_Occurred()) SWIG_fail;
994141e6 6597 }
d14a1e28
RD
6598 {
6599 PyThreadState* __tstate = wxPyBeginAllowThreads();
6600 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
6601
6602 wxPyEndAllowThreads(__tstate);
6603 if (PyErr_Occurred()) SWIG_fail;
6604 }
15afbcd0 6605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
d14a1e28
RD
6606 return resultobj;
6607 fail:
6608 return NULL;
6609}
6610
6611
6612static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6613 PyObject *resultobj;
6614 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
6615 int result;
6616 PyObject * obj0 = 0 ;
6617 char *kwnames[] = {
6618 (char *) "self", NULL
6619 };
6620
6621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
15afbcd0
RD
6622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerEvent,
6623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6624 {
6625 PyThreadState* __tstate = wxPyBeginAllowThreads();
6626 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
6627
6628 wxPyEndAllowThreads(__tstate);
6629 if (PyErr_Occurred()) SWIG_fail;
6630 }
15afbcd0 6631 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6632 return resultobj;
6633 fail:
6634 return NULL;
6635}
6636
6637
6638static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
6639 PyObject *obj;
6640 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6641 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
6642 Py_INCREF(obj);
6643 return Py_BuildValue((char *)"");
6644}
6645static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
6646 PyObject *resultobj;
6647 wxTimer *arg1 = 0 ;
6648 wxTimerRunner *result;
6649 PyObject * obj0 = 0 ;
6650
6651 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
15afbcd0
RD
6652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6653 SWIG_POINTER_EXCEPTION | 0)) == -1)
6654 SWIG_fail;
d14a1e28 6655 if (arg1 == NULL) {
15afbcd0
RD
6656 PyErr_SetString(PyExc_TypeError,"null reference");
6657 SWIG_fail;
d14a1e28
RD
6658 }
6659 {
6660 PyThreadState* __tstate = wxPyBeginAllowThreads();
6661 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6662
6663 wxPyEndAllowThreads(__tstate);
6664 if (PyErr_Occurred()) SWIG_fail;
6665 }
15afbcd0 6666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
d14a1e28
RD
6667 return resultobj;
6668 fail:
6669 return NULL;
6670}
6671
6672
6673static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
6674 PyObject *resultobj;
6675 wxTimer *arg1 = 0 ;
6676 int arg2 ;
e811c8ce 6677 bool arg3 = (bool) False ;
d14a1e28
RD
6678 wxTimerRunner *result;
6679 PyObject * obj0 = 0 ;
994141e6 6680 PyObject * obj1 = 0 ;
d14a1e28
RD
6681 PyObject * obj2 = 0 ;
6682
994141e6 6683 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6685 SWIG_POINTER_EXCEPTION | 0)) == -1)
6686 SWIG_fail;
d14a1e28 6687 if (arg1 == NULL) {
15afbcd0
RD
6688 PyErr_SetString(PyExc_TypeError,"null reference");
6689 SWIG_fail;
994141e6 6690 }
15afbcd0
RD
6691 arg2 = (int) SWIG_AsInt(obj1);
6692 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6693 if (obj2) {
15afbcd0
RD
6694 arg3 = (bool) SWIG_AsBool(obj2);
6695 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6696 }
6697 {
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6700
6701 wxPyEndAllowThreads(__tstate);
6702 if (PyErr_Occurred()) SWIG_fail;
6703 }
15afbcd0 6704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
d14a1e28
RD
6705 return resultobj;
6706 fail:
6707 return NULL;
6708}
6709
6710
6711static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6712 int argc;
6713 PyObject *argv[4];
6714 int ii;
6715
6716 argc = PyObject_Length(args);
6717 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6718 argv[ii] = PyTuple_GetItem(args,ii);
6719 }
6720 if (argc == 1) {
6721 int _v;
6722 {
6723 void *ptr;
15afbcd0 6724 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
d14a1e28
RD
6725 _v = 0;
6726 PyErr_Clear();
6727 } else {
6728 _v = 1;
6729 }
6730 }
6731 if (_v) {
6732 return _wrap_new_TimerRunner__SWIG_0(self,args);
6733 }
6734 }
6735 if ((argc >= 2) && (argc <= 3)) {
6736 int _v;
6737 {
6738 void *ptr;
15afbcd0 6739 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
d14a1e28
RD
6740 _v = 0;
6741 PyErr_Clear();
6742 } else {
6743 _v = 1;
6744 }
6745 }
6746 if (_v) {
15afbcd0 6747 _v = SWIG_CheckInt(argv[1]);
d14a1e28
RD
6748 if (_v) {
6749 if (argc <= 2) {
6750 return _wrap_new_TimerRunner__SWIG_1(self,args);
6751 }
15afbcd0 6752 _v = SWIG_CheckBool(argv[2]);
d14a1e28
RD
6753 if (_v) {
6754 return _wrap_new_TimerRunner__SWIG_1(self,args);
6755 }
6756 }
6757 }
6758 }
6759
6760 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6761 return NULL;
6762}
6763
6764
6765static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6766 PyObject *resultobj;
6767 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6768 PyObject * obj0 = 0 ;
6769 char *kwnames[] = {
6770 (char *) "self", NULL
6771 };
6772
6773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
15afbcd0
RD
6774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
6775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6776 {
6777 PyThreadState* __tstate = wxPyBeginAllowThreads();
6778 delete arg1;
6779
6780 wxPyEndAllowThreads(__tstate);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 }
6783 Py_INCREF(Py_None); resultobj = Py_None;
6784 return resultobj;
6785 fail:
6786 return NULL;
6787}
6788
6789
6790static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6791 PyObject *resultobj;
6792 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6793 int arg2 ;
e811c8ce 6794 bool arg3 = (bool) False ;
d14a1e28 6795 PyObject * obj0 = 0 ;
994141e6 6796 PyObject * obj1 = 0 ;
d14a1e28
RD
6797 PyObject * obj2 = 0 ;
6798 char *kwnames[] = {
6799 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6800 };
6801
994141e6 6802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
6804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6805 arg2 = (int) SWIG_AsInt(obj1);
6806 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6807 if (obj2) {
15afbcd0
RD
6808 arg3 = (bool) SWIG_AsBool(obj2);
6809 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6810 }
6811 {
6812 PyThreadState* __tstate = wxPyBeginAllowThreads();
6813 (arg1)->Start(arg2,arg3);
6814
6815 wxPyEndAllowThreads(__tstate);
6816 if (PyErr_Occurred()) SWIG_fail;
6817 }
6818 Py_INCREF(Py_None); resultobj = Py_None;
6819 return resultobj;
6820 fail:
6821 return NULL;
6822}
6823
6824
6825static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6826 PyObject *obj;
6827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6828 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6829 Py_INCREF(obj);
6830 return Py_BuildValue((char *)"");
6831}
6832static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6833 PyObject *resultobj;
6834 wxLog *result;
6835 char *kwnames[] = {
6836 NULL
6837 };
6838
6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6840 {
6841 PyThreadState* __tstate = wxPyBeginAllowThreads();
6842 result = (wxLog *)new wxLog();
6843
6844 wxPyEndAllowThreads(__tstate);
6845 if (PyErr_Occurred()) SWIG_fail;
6846 }
15afbcd0 6847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
d14a1e28
RD
6848 return resultobj;
6849 fail:
6850 return NULL;
6851}
6852
6853
6854static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6855 PyObject *resultobj;
6856 bool result;
6857 char *kwnames[] = {
6858 NULL
6859 };
6860
6861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6862 {
6863 PyThreadState* __tstate = wxPyBeginAllowThreads();
6864 result = (bool)wxLog::IsEnabled();
6865
6866 wxPyEndAllowThreads(__tstate);
6867 if (PyErr_Occurred()) SWIG_fail;
6868 }
4f89f6a3
RD
6869 {
6870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6871 }
d14a1e28
RD
6872 return resultobj;
6873 fail:
6874 return NULL;
6875}
6876
6877
6878static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6879 PyObject *resultobj;
e811c8ce 6880 bool arg1 = (bool) True ;
d14a1e28
RD
6881 bool result;
6882 PyObject * obj0 = 0 ;
6883 char *kwnames[] = {
6884 (char *) "doIt", NULL
6885 };
6886
6887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6888 if (obj0) {
15afbcd0
RD
6889 arg1 = (bool) SWIG_AsBool(obj0);
6890 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6891 }
6892 {
6893 PyThreadState* __tstate = wxPyBeginAllowThreads();
6894 result = (bool)wxLog::EnableLogging(arg1);
6895
6896 wxPyEndAllowThreads(__tstate);
6897 if (PyErr_Occurred()) SWIG_fail;
6898 }
4f89f6a3
RD
6899 {
6900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6901 }
d14a1e28
RD
6902 return resultobj;
6903 fail:
6904 return NULL;
6905}
6906
6907
6908static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6909 PyObject *resultobj;
6910 wxLogLevel arg1 ;
6911 wxChar *arg2 = (wxChar *) 0 ;
6912 time_t arg3 ;
6913 PyObject * obj0 = 0 ;
6914 PyObject * obj1 = 0 ;
6915 PyObject * obj2 = 0 ;
6916 char *kwnames[] = {
6917 (char *) "level",(char *) "szString",(char *) "t", NULL
6918 };
6919
6920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6921 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
6922 if (PyErr_Occurred()) SWIG_fail;
6923 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxChar,
6924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6925 arg3 = (time_t) SWIG_AsUnsignedInt(obj2);
6926 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6927 {
6928 PyThreadState* __tstate = wxPyBeginAllowThreads();
6929 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6930
6931 wxPyEndAllowThreads(__tstate);
6932 if (PyErr_Occurred()) SWIG_fail;
6933 }
6934 Py_INCREF(Py_None); resultobj = Py_None;
6935 return resultobj;
6936 fail:
6937 return NULL;
6938}
6939
6940
6941static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6942 PyObject *resultobj;
6943 wxLog *arg1 = (wxLog *) 0 ;
6944 PyObject * obj0 = 0 ;
6945 char *kwnames[] = {
6946 (char *) "self", NULL
6947 };
6948
6949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
15afbcd0
RD
6950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
6951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6952 {
6953 PyThreadState* __tstate = wxPyBeginAllowThreads();
6954 (arg1)->Flush();
6955
6956 wxPyEndAllowThreads(__tstate);
6957 if (PyErr_Occurred()) SWIG_fail;
6958 }
6959 Py_INCREF(Py_None); resultobj = Py_None;
6960 return resultobj;
6961 fail:
6962 return NULL;
6963}
6964
6965
6966static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6967 PyObject *resultobj;
6968 char *kwnames[] = {
6969 NULL
6970 };
6971
6972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6973 {
6974 PyThreadState* __tstate = wxPyBeginAllowThreads();
6975 wxLog::FlushActive();
6976
6977 wxPyEndAllowThreads(__tstate);
6978 if (PyErr_Occurred()) SWIG_fail;
6979 }
6980 Py_INCREF(Py_None); resultobj = Py_None;
6981 return resultobj;
6982 fail:
6983 return NULL;
6984}
6985
6986
6987static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6988 PyObject *resultobj;
6989 wxLog *result;
6990 char *kwnames[] = {
6991 NULL
6992 };
6993
6994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6995 {
6996 PyThreadState* __tstate = wxPyBeginAllowThreads();
6997 result = (wxLog *)wxLog::GetActiveTarget();
6998
6999 wxPyEndAllowThreads(__tstate);
7000 if (PyErr_Occurred()) SWIG_fail;
7001 }
15afbcd0 7002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
7003 return resultobj;
7004 fail:
7005 return NULL;
7006}
7007
7008
7009static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
7010 PyObject *resultobj;
7011 wxLog *arg1 = (wxLog *) 0 ;
7012 wxLog *result;
7013 PyObject * obj0 = 0 ;
7014 char *kwnames[] = {
7015 (char *) "pLogger", NULL
7016 };
7017
7018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
15afbcd0
RD
7019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7021 {
7022 PyThreadState* __tstate = wxPyBeginAllowThreads();
7023 result = (wxLog *)wxLog::SetActiveTarget(arg1);
7024
7025 wxPyEndAllowThreads(__tstate);
7026 if (PyErr_Occurred()) SWIG_fail;
7027 }
15afbcd0 7028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
7029 return resultobj;
7030 fail:
7031 return NULL;
7032}
7033
7034
7035static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
7036 PyObject *resultobj;
7037 char *kwnames[] = {
7038 NULL
7039 };
7040
7041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
7042 {
7043 PyThreadState* __tstate = wxPyBeginAllowThreads();
7044 wxLog::Suspend();
7045
7046 wxPyEndAllowThreads(__tstate);
7047 if (PyErr_Occurred()) SWIG_fail;
7048 }
7049 Py_INCREF(Py_None); resultobj = Py_None;
7050 return resultobj;
7051 fail:
7052 return NULL;
7053}
7054
7055
7056static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
7057 PyObject *resultobj;
7058 char *kwnames[] = {
7059 NULL
7060 };
7061
7062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
7063 {
7064 PyThreadState* __tstate = wxPyBeginAllowThreads();
7065 wxLog::Resume();
7066
7067 wxPyEndAllowThreads(__tstate);
7068 if (PyErr_Occurred()) SWIG_fail;
7069 }
7070 Py_INCREF(Py_None); resultobj = Py_None;
7071 return resultobj;
7072 fail:
7073 return NULL;
7074}
7075
7076
7077static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7078 PyObject *resultobj;
e811c8ce 7079 bool arg1 = (bool) True ;
d14a1e28
RD
7080 PyObject * obj0 = 0 ;
7081 char *kwnames[] = {
7082 (char *) "bVerbose", NULL
7083 };
7084
7085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
7086 if (obj0) {
15afbcd0
RD
7087 arg1 = (bool) SWIG_AsBool(obj0);
7088 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7089 }
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
7092 wxLog::SetVerbose(arg1);
7093
7094 wxPyEndAllowThreads(__tstate);
7095 if (PyErr_Occurred()) SWIG_fail;
7096 }
7097 Py_INCREF(Py_None); resultobj = Py_None;
7098 return resultobj;
7099 fail:
7100 return NULL;
7101}
7102
7103
7104static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7105 PyObject *resultobj;
7106 wxLogLevel arg1 ;
7107 PyObject * obj0 = 0 ;
7108 char *kwnames[] = {
7109 (char *) "logLevel", NULL
7110 };
7111
7112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
15afbcd0
RD
7113 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
7114 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7115 {
7116 PyThreadState* __tstate = wxPyBeginAllowThreads();
7117 wxLog::SetLogLevel(arg1);
7118
7119 wxPyEndAllowThreads(__tstate);
7120 if (PyErr_Occurred()) SWIG_fail;
7121 }
7122 Py_INCREF(Py_None); resultobj = Py_None;
7123 return resultobj;
7124 fail:
7125 return NULL;
7126}
7127
7128
7129static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
7130 PyObject *resultobj;
7131 char *kwnames[] = {
7132 NULL
7133 };
7134
7135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
7136 {
7137 PyThreadState* __tstate = wxPyBeginAllowThreads();
7138 wxLog::DontCreateOnDemand();
7139
7140 wxPyEndAllowThreads(__tstate);
7141 if (PyErr_Occurred()) SWIG_fail;
7142 }
7143 Py_INCREF(Py_None); resultobj = Py_None;
7144 return resultobj;
7145 fail:
7146 return NULL;
7147}
7148
7149
7150static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7151 PyObject *resultobj;
7152 wxTraceMask arg1 ;
7153 PyObject * obj0 = 0 ;
7154 char *kwnames[] = {
7155 (char *) "ulMask", NULL
7156 };
7157
7158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
7159 arg1 = (wxTraceMask) SWIG_AsUnsignedLong(obj0);
7160 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7161 {
7162 PyThreadState* __tstate = wxPyBeginAllowThreads();
7163 wxLog::SetTraceMask(arg1);
7164
7165 wxPyEndAllowThreads(__tstate);
7166 if (PyErr_Occurred()) SWIG_fail;
7167 }
7168 Py_INCREF(Py_None); resultobj = Py_None;
7169 return resultobj;
7170 fail:
7171 return NULL;
7172}
7173
7174
7175static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7176 PyObject *resultobj;
7177 wxString *arg1 = 0 ;
e811c8ce 7178 bool temp1 = False ;
d14a1e28
RD
7179 PyObject * obj0 = 0 ;
7180 char *kwnames[] = {
7181 (char *) "str", NULL
7182 };
7183
7184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
7185 {
7186 arg1 = wxString_in_helper(obj0);
7187 if (arg1 == NULL) SWIG_fail;
e811c8ce 7188 temp1 = True;
d14a1e28
RD
7189 }
7190 {
7191 PyThreadState* __tstate = wxPyBeginAllowThreads();
7192 wxLog::AddTraceMask((wxString const &)*arg1);
7193
7194 wxPyEndAllowThreads(__tstate);
7195 if (PyErr_Occurred()) SWIG_fail;
7196 }
7197 Py_INCREF(Py_None); resultobj = Py_None;
7198 {
7199 if (temp1)
7200 delete arg1;
7201 }
7202 return resultobj;
7203 fail:
7204 {
7205 if (temp1)
7206 delete arg1;
7207 }
7208 return NULL;
7209}
7210
7211
7212static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7213 PyObject *resultobj;
7214 wxString *arg1 = 0 ;
e811c8ce 7215 bool temp1 = False ;
d14a1e28
RD
7216 PyObject * obj0 = 0 ;
7217 char *kwnames[] = {
7218 (char *) "str", NULL
7219 };
7220
7221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7222 {
7223 arg1 = wxString_in_helper(obj0);
7224 if (arg1 == NULL) SWIG_fail;
e811c8ce 7225 temp1 = True;
d14a1e28
RD
7226 }
7227 {
7228 PyThreadState* __tstate = wxPyBeginAllowThreads();
7229 wxLog::RemoveTraceMask((wxString const &)*arg1);
7230
7231 wxPyEndAllowThreads(__tstate);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 }
7234 Py_INCREF(Py_None); resultobj = Py_None;
7235 {
7236 if (temp1)
7237 delete arg1;
7238 }
7239 return resultobj;
7240 fail:
7241 {
7242 if (temp1)
7243 delete arg1;
7244 }
7245 return NULL;
7246}
7247
7248
7249static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7250 PyObject *resultobj;
7251 char *kwnames[] = {
7252 NULL
7253 };
7254
7255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7256 {
7257 PyThreadState* __tstate = wxPyBeginAllowThreads();
7258 wxLog::ClearTraceMasks();
7259
7260 wxPyEndAllowThreads(__tstate);
7261 if (PyErr_Occurred()) SWIG_fail;
7262 }
7263 Py_INCREF(Py_None); resultobj = Py_None;
7264 return resultobj;
7265 fail:
7266 return NULL;
7267}
7268
7269
7270static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7271 PyObject *resultobj;
7272 wxArrayString *result;
7273 char *kwnames[] = {
7274 NULL
7275 };
7276
7277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7278 {
7279 PyThreadState* __tstate = wxPyBeginAllowThreads();
7280 {
7281 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7282 result = (wxArrayString *) &_result_ref;
7283 }
7284
7285 wxPyEndAllowThreads(__tstate);
7286 if (PyErr_Occurred()) SWIG_fail;
7287 }
7288 {
7289 resultobj = wxArrayString2PyList_helper(*result);
7290 }
7291 return resultobj;
7292 fail:
7293 return NULL;
7294}
7295
7296
7297static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7298 PyObject *resultobj;
7299 wxChar *arg1 = (wxChar *) 0 ;
7300 PyObject * obj0 = 0 ;
7301 char *kwnames[] = {
7302 (char *) "ts", NULL
7303 };
7304
7305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
15afbcd0
RD
7306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7308 {
7309 PyThreadState* __tstate = wxPyBeginAllowThreads();
7310 wxLog::SetTimestamp((wxChar const *)arg1);
7311
7312 wxPyEndAllowThreads(__tstate);
7313 if (PyErr_Occurred()) SWIG_fail;
7314 }
7315 Py_INCREF(Py_None); resultobj = Py_None;
7316 return resultobj;
7317 fail:
7318 return NULL;
7319}
7320
7321
7322static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7323 PyObject *resultobj;
7324 bool result;
7325 char *kwnames[] = {
7326 NULL
7327 };
7328
7329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7330 {
7331 PyThreadState* __tstate = wxPyBeginAllowThreads();
7332 result = (bool)wxLog::GetVerbose();
7333
7334 wxPyEndAllowThreads(__tstate);
7335 if (PyErr_Occurred()) SWIG_fail;
7336 }
4f89f6a3
RD
7337 {
7338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7339 }
d14a1e28
RD
7340 return resultobj;
7341 fail:
7342 return NULL;
7343}
7344
7345
7346static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7347 PyObject *resultobj;
7348 wxTraceMask result;
7349 char *kwnames[] = {
7350 NULL
7351 };
7352
7353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
7354 {
7355 PyThreadState* __tstate = wxPyBeginAllowThreads();
7356 result = (wxTraceMask)wxLog::GetTraceMask();
7357
7358 wxPyEndAllowThreads(__tstate);
7359 if (PyErr_Occurred()) SWIG_fail;
7360 }
15afbcd0 7361 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
7362 return resultobj;
7363 fail:
7364 return NULL;
7365}
7366
7367
7368static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7369 PyObject *resultobj;
7370 wxChar *arg1 = (wxChar *) 0 ;
7371 bool result;
7372 PyObject * obj0 = 0 ;
7373 char *kwnames[] = {
7374 (char *) "mask", NULL
7375 };
7376
7377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
7378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7380 {
7381 PyThreadState* __tstate = wxPyBeginAllowThreads();
7382 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
7383
7384 wxPyEndAllowThreads(__tstate);
7385 if (PyErr_Occurred()) SWIG_fail;
7386 }
4f89f6a3
RD
7387 {
7388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7389 }
d14a1e28
RD
7390 return resultobj;
7391 fail:
7392 return NULL;
7393}
7394
7395
7396static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7397 PyObject *resultobj;
7398 wxLogLevel result;
7399 char *kwnames[] = {
7400 NULL
7401 };
7402
7403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
7404 {
7405 PyThreadState* __tstate = wxPyBeginAllowThreads();
7406 result = (wxLogLevel)wxLog::GetLogLevel();
7407
7408 wxPyEndAllowThreads(__tstate);
7409 if (PyErr_Occurred()) SWIG_fail;
7410 }
15afbcd0 7411 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
7412 return resultobj;
7413 fail:
7414 return NULL;
7415}
7416
7417
7418static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7419 PyObject *resultobj;
7420 wxChar *result;
7421 char *kwnames[] = {
7422 NULL
7423 };
7424
7425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
7426 {
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 result = (wxChar *)wxLog::GetTimestamp();
7429
7430 wxPyEndAllowThreads(__tstate);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
15afbcd0 7433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
d14a1e28
RD
7434 return resultobj;
7435 fail:
7436 return NULL;
7437}
7438
7439
7440static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7441 PyObject *resultobj;
7442 wxString result;
7443 char *kwnames[] = {
7444 NULL
7445 };
7446
7447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
7448 {
7449 PyThreadState* __tstate = wxPyBeginAllowThreads();
7450 result = Log_TimeStamp();
7451
7452 wxPyEndAllowThreads(__tstate);
7453 if (PyErr_Occurred()) SWIG_fail;
7454 }
7455 {
7456#if wxUSE_UNICODE
7457 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7458#else
7459 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7460#endif
7461 }
7462 return resultobj;
7463 fail:
7464 return NULL;
7465}
7466
7467
7468static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7469 PyObject *resultobj;
7470 wxLog *arg1 = (wxLog *) 0 ;
7471 PyObject * obj0 = 0 ;
7472 char *kwnames[] = {
7473 (char *) "self", NULL
7474 };
7475
7476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
7477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7479 {
7480 PyThreadState* __tstate = wxPyBeginAllowThreads();
7481 wxLog_Destroy(arg1);
7482
7483 wxPyEndAllowThreads(__tstate);
7484 if (PyErr_Occurred()) SWIG_fail;
7485 }
7486 Py_INCREF(Py_None); resultobj = Py_None;
7487 return resultobj;
7488 fail:
7489 return NULL;
7490}
7491
7492
7493static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
7494 PyObject *obj;
7495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7496 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
7497 Py_INCREF(obj);
7498 return Py_BuildValue((char *)"");
7499}
7500static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
7501 PyObject *resultobj;
7502 wxLogStderr *result;
7503 char *kwnames[] = {
7504 NULL
7505 };
7506
7507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
7508 {
7509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7510 result = (wxLogStderr *)new wxLogStderr();
7511
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) SWIG_fail;
7514 }
15afbcd0 7515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
d14a1e28
RD
7516 return resultobj;
7517 fail:
7518 return NULL;
7519}
7520
7521
7522static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
7523 PyObject *obj;
7524 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7525 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
7526 Py_INCREF(obj);
7527 return Py_BuildValue((char *)"");
7528}
7529static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7530 PyObject *resultobj;
7531 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7532 wxLogTextCtrl *result;
7533 PyObject * obj0 = 0 ;
7534 char *kwnames[] = {
7535 (char *) "pTextCtrl", NULL
7536 };
7537
7538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
15afbcd0
RD
7539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7541 {
7542 PyThreadState* __tstate = wxPyBeginAllowThreads();
7543 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
7544
7545 wxPyEndAllowThreads(__tstate);
7546 if (PyErr_Occurred()) SWIG_fail;
7547 }
15afbcd0 7548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
d14a1e28
RD
7549 return resultobj;
7550 fail:
7551 return NULL;
7552}
7553
7554
7555static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
7556 PyObject *obj;
7557 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7558 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
7559 Py_INCREF(obj);
7560 return Py_BuildValue((char *)"");
7561}
7562static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
7563 PyObject *resultobj;
7564 wxLogGui *result;
7565 char *kwnames[] = {
7566 NULL
7567 };
7568
7569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
7570 {
7571 PyThreadState* __tstate = wxPyBeginAllowThreads();
7572 result = (wxLogGui *)new wxLogGui();
7573
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) SWIG_fail;
7576 }
15afbcd0 7577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
d14a1e28
RD
7578 return resultobj;
7579 fail:
7580 return NULL;
7581}
7582
7583
7584static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
7585 PyObject *obj;
7586 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7587 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
7588 Py_INCREF(obj);
7589 return Py_BuildValue((char *)"");
7590}
7591static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7592 PyObject *resultobj;
7593 wxFrame *arg1 = (wxFrame *) 0 ;
7594 wxString *arg2 = 0 ;
e811c8ce
RD
7595 bool arg3 = (bool) True ;
7596 bool arg4 = (bool) True ;
d14a1e28 7597 wxLogWindow *result;
e811c8ce 7598 bool temp2 = False ;
d14a1e28
RD
7599 PyObject * obj0 = 0 ;
7600 PyObject * obj1 = 0 ;
7601 PyObject * obj2 = 0 ;
7602 PyObject * obj3 = 0 ;
7603 char *kwnames[] = {
7604 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7605 };
7606
7607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
7608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
7609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7610 {
7611 arg2 = wxString_in_helper(obj1);
7612 if (arg2 == NULL) SWIG_fail;
e811c8ce 7613 temp2 = True;
d14a1e28
RD
7614 }
7615 if (obj2) {
15afbcd0
RD
7616 arg3 = (bool) SWIG_AsBool(obj2);
7617 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7618 }
7619 if (obj3) {
15afbcd0
RD
7620 arg4 = (bool) SWIG_AsBool(obj3);
7621 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7622 }
7623 {
7624 PyThreadState* __tstate = wxPyBeginAllowThreads();
7625 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7626
7627 wxPyEndAllowThreads(__tstate);
7628 if (PyErr_Occurred()) SWIG_fail;
7629 }
15afbcd0 7630 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
d14a1e28
RD
7631 {
7632 if (temp2)
7633 delete arg2;
7634 }
7635 return resultobj;
7636 fail:
7637 {
7638 if (temp2)
7639 delete arg2;
7640 }
7641 return NULL;
7642}
7643
7644
7645static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
7646 PyObject *resultobj;
7647 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
e811c8ce 7648 bool arg2 = (bool) True ;
d14a1e28
RD
7649 PyObject * obj0 = 0 ;
7650 PyObject * obj1 = 0 ;
7651 char *kwnames[] = {
7652 (char *) "self",(char *) "bShow", NULL
7653 };
7654
7655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 7658 if (obj1) {
15afbcd0
RD
7659 arg2 = (bool) SWIG_AsBool(obj1);
7660 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7661 }
7662 {
7663 PyThreadState* __tstate = wxPyBeginAllowThreads();
7664 (arg1)->Show(arg2);
7665
7666 wxPyEndAllowThreads(__tstate);
7667 if (PyErr_Occurred()) SWIG_fail;
7668 }
7669 Py_INCREF(Py_None); resultobj = Py_None;
7670 return resultobj;
7671 fail:
7672 return NULL;
7673}
7674
7675
7676static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7677 PyObject *resultobj;
7678 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7679 wxFrame *result;
7680 PyObject * obj0 = 0 ;
7681 char *kwnames[] = {
7682 (char *) "self", NULL
7683 };
7684
7685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
15afbcd0
RD
7686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7688 {
7689 PyThreadState* __tstate = wxPyBeginAllowThreads();
7690 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7691
7692 wxPyEndAllowThreads(__tstate);
7693 if (PyErr_Occurred()) SWIG_fail;
7694 }
7695 {
7696 resultobj = wxPyMake_wxObject(result);
7697 }
7698 return resultobj;
7699 fail:
7700 return NULL;
7701}
7702
7703
7704static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7705 PyObject *resultobj;
7706 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7707 wxLog *result;
7708 PyObject * obj0 = 0 ;
7709 char *kwnames[] = {
7710 (char *) "self", NULL
7711 };
7712
7713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
15afbcd0
RD
7714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7716 {
7717 PyThreadState* __tstate = wxPyBeginAllowThreads();
7718 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7719
7720 wxPyEndAllowThreads(__tstate);
7721 if (PyErr_Occurred()) SWIG_fail;
7722 }
15afbcd0 7723 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
7724 return resultobj;
7725 fail:
7726 return NULL;
7727}
7728
7729
7730static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7731 PyObject *resultobj;
7732 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7733 bool result;
7734 PyObject * obj0 = 0 ;
7735 char *kwnames[] = {
7736 (char *) "self", NULL
7737 };
7738
7739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
15afbcd0
RD
7740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7742 {
7743 PyThreadState* __tstate = wxPyBeginAllowThreads();
7744 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7745
7746 wxPyEndAllowThreads(__tstate);
7747 if (PyErr_Occurred()) SWIG_fail;
7748 }
4f89f6a3
RD
7749 {
7750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7751 }
d14a1e28
RD
7752 return resultobj;
7753 fail:
7754 return NULL;
7755}
7756
7757
7758static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7759 PyObject *resultobj;
7760 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7761 bool arg2 ;
7762 PyObject * obj0 = 0 ;
7763 PyObject * obj1 = 0 ;
7764 char *kwnames[] = {
7765 (char *) "self",(char *) "bDoPass", NULL
7766 };
7767
7768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7771 arg2 = (bool) SWIG_AsBool(obj1);
7772 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7773 {
7774 PyThreadState* __tstate = wxPyBeginAllowThreads();
7775 (arg1)->PassMessages(arg2);
7776
7777 wxPyEndAllowThreads(__tstate);
7778 if (PyErr_Occurred()) SWIG_fail;
7779 }
7780 Py_INCREF(Py_None); resultobj = Py_None;
7781 return resultobj;
7782 fail:
7783 return NULL;
7784}
7785
7786
7787static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7788 PyObject *obj;
7789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7790 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7791 Py_INCREF(obj);
7792 return Py_BuildValue((char *)"");
7793}
7794static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7795 PyObject *resultobj;
7796 wxLog *arg1 = (wxLog *) 0 ;
7797 wxLogChain *result;
7798 PyObject * obj0 = 0 ;
7799 char *kwnames[] = {
7800 (char *) "logger", NULL
7801 };
7802
7803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
15afbcd0
RD
7804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7806 {
7807 PyThreadState* __tstate = wxPyBeginAllowThreads();
7808 result = (wxLogChain *)new wxLogChain(arg1);
7809
7810 wxPyEndAllowThreads(__tstate);
7811 if (PyErr_Occurred()) SWIG_fail;
7812 }
15afbcd0 7813 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
d14a1e28
RD
7814 return resultobj;
7815 fail:
7816 return NULL;
7817}
7818
7819
7820static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7821 PyObject *resultobj;
7822 wxLogChain *arg1 = (wxLogChain *) 0 ;
7823 wxLog *arg2 = (wxLog *) 0 ;
7824 PyObject * obj0 = 0 ;
7825 PyObject * obj1 = 0 ;
7826 char *kwnames[] = {
7827 (char *) "self",(char *) "logger", NULL
7828 };
7829
7830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7833 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLog,
7834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
7837 (arg1)->SetLog(arg2);
7838
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 }
7842 Py_INCREF(Py_None); resultobj = Py_None;
7843 return resultobj;
7844 fail:
7845 return NULL;
7846}
7847
7848
7849static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7850 PyObject *resultobj;
7851 wxLogChain *arg1 = (wxLogChain *) 0 ;
7852 bool arg2 ;
7853 PyObject * obj0 = 0 ;
7854 PyObject * obj1 = 0 ;
7855 char *kwnames[] = {
7856 (char *) "self",(char *) "bDoPass", NULL
7857 };
7858
7859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7862 arg2 = (bool) SWIG_AsBool(obj1);
7863 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7864 {
7865 PyThreadState* __tstate = wxPyBeginAllowThreads();
7866 (arg1)->PassMessages(arg2);
7867
7868 wxPyEndAllowThreads(__tstate);
7869 if (PyErr_Occurred()) SWIG_fail;
7870 }
7871 Py_INCREF(Py_None); resultobj = Py_None;
7872 return resultobj;
7873 fail:
7874 return NULL;
7875}
7876
7877
7878static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7879 PyObject *resultobj;
7880 wxLogChain *arg1 = (wxLogChain *) 0 ;
7881 bool result;
7882 PyObject * obj0 = 0 ;
7883 char *kwnames[] = {
7884 (char *) "self", NULL
7885 };
7886
7887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
15afbcd0
RD
7888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7890 {
7891 PyThreadState* __tstate = wxPyBeginAllowThreads();
7892 result = (bool)(arg1)->IsPassingMessages();
7893
7894 wxPyEndAllowThreads(__tstate);
7895 if (PyErr_Occurred()) SWIG_fail;
7896 }
4f89f6a3
RD
7897 {
7898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7899 }
d14a1e28
RD
7900 return resultobj;
7901 fail:
7902 return NULL;
7903}
7904
7905
7906static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7907 PyObject *resultobj;
7908 wxLogChain *arg1 = (wxLogChain *) 0 ;
7909 wxLog *result;
7910 PyObject * obj0 = 0 ;
7911 char *kwnames[] = {
7912 (char *) "self", NULL
7913 };
7914
7915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
15afbcd0
RD
7916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7918 {
7919 PyThreadState* __tstate = wxPyBeginAllowThreads();
7920 result = (wxLog *)(arg1)->GetOldLog();
7921
7922 wxPyEndAllowThreads(__tstate);
7923 if (PyErr_Occurred()) SWIG_fail;
7924 }
15afbcd0 7925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
7926 return resultobj;
7927 fail:
7928 return NULL;
7929}
7930
7931
7932static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7933 PyObject *obj;
7934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7935 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7936 Py_INCREF(obj);
7937 return Py_BuildValue((char *)"");
7938}
7939static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7940 PyObject *resultobj;
7941 unsigned long result;
7942 char *kwnames[] = {
7943 NULL
7944 };
7945
7946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7947 {
7948 PyThreadState* __tstate = wxPyBeginAllowThreads();
7949 result = (unsigned long)wxSysErrorCode();
7950
7951 wxPyEndAllowThreads(__tstate);
7952 if (PyErr_Occurred()) SWIG_fail;
7953 }
15afbcd0 7954 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
7955 return resultobj;
7956 fail:
7957 return NULL;
7958}
7959
7960
7961static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7962 PyObject *resultobj;
7963 unsigned long arg1 = (unsigned long) 0 ;
7964 wxString result;
7965 PyObject * obj0 = 0 ;
7966 char *kwnames[] = {
7967 (char *) "nErrCode", NULL
7968 };
7969
7970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7971 if (obj0) {
15afbcd0
RD
7972 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
7973 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7974 }
7975 {
7976 PyThreadState* __tstate = wxPyBeginAllowThreads();
7977 result = wxSysErrorMsg(arg1);
7978
7979 wxPyEndAllowThreads(__tstate);
7980 if (PyErr_Occurred()) SWIG_fail;
7981 }
7982 {
7983#if wxUSE_UNICODE
7984 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7985#else
7986 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7987#endif
7988 }
7989 return resultobj;
7990 fail:
7991 return NULL;
7992}
7993
7994
7995static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
7996 PyObject *resultobj;
7997 wxString *arg1 = 0 ;
e811c8ce 7998 bool temp1 = False ;
d14a1e28
RD
7999 PyObject * obj0 = 0 ;
8000 char *kwnames[] = {
8001 (char *) "msg", NULL
8002 };
8003
8004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
8005 {
8006 arg1 = wxString_in_helper(obj0);
8007 if (arg1 == NULL) SWIG_fail;
e811c8ce 8008 temp1 = True;
d14a1e28
RD
8009 }
8010 {
8011 PyThreadState* __tstate = wxPyBeginAllowThreads();
8012 wxLogFatalError((wxString const &)*arg1);
8013
8014 wxPyEndAllowThreads(__tstate);
8015 if (PyErr_Occurred()) SWIG_fail;
8016 }
8017 Py_INCREF(Py_None); resultobj = Py_None;
8018 {
8019 if (temp1)
8020 delete arg1;
8021 }
8022 return resultobj;
8023 fail:
8024 {
8025 if (temp1)
8026 delete arg1;
8027 }
8028 return NULL;
8029}
8030
8031
8032static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
8033 PyObject *resultobj;
8034 wxString *arg1 = 0 ;
e811c8ce 8035 bool temp1 = False ;
d14a1e28
RD
8036 PyObject * obj0 = 0 ;
8037 char *kwnames[] = {
8038 (char *) "msg", NULL
8039 };
8040
8041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
8042 {
8043 arg1 = wxString_in_helper(obj0);
8044 if (arg1 == NULL) SWIG_fail;
e811c8ce 8045 temp1 = True;
d14a1e28
RD
8046 }
8047 {
8048 PyThreadState* __tstate = wxPyBeginAllowThreads();
8049 wxLogError((wxString const &)*arg1);
8050
8051 wxPyEndAllowThreads(__tstate);
8052 if (PyErr_Occurred()) SWIG_fail;
8053 }
8054 Py_INCREF(Py_None); resultobj = Py_None;
8055 {
8056 if (temp1)
8057 delete arg1;
8058 }
8059 return resultobj;
8060 fail:
8061 {
8062 if (temp1)
8063 delete arg1;
8064 }
8065 return NULL;
8066}
8067
8068
8069static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
8070 PyObject *resultobj;
8071 wxString *arg1 = 0 ;
e811c8ce 8072 bool temp1 = False ;
d14a1e28
RD
8073 PyObject * obj0 = 0 ;
8074 char *kwnames[] = {
8075 (char *) "msg", NULL
8076 };
8077
8078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
8079 {
8080 arg1 = wxString_in_helper(obj0);
8081 if (arg1 == NULL) SWIG_fail;
e811c8ce 8082 temp1 = True;
d14a1e28
RD
8083 }
8084 {
8085 PyThreadState* __tstate = wxPyBeginAllowThreads();
8086 wxLogWarning((wxString const &)*arg1);
8087
8088 wxPyEndAllowThreads(__tstate);
8089 if (PyErr_Occurred()) SWIG_fail;
8090 }
8091 Py_INCREF(Py_None); resultobj = Py_None;
8092 {
8093 if (temp1)
8094 delete arg1;
8095 }
8096 return resultobj;
8097 fail:
8098 {
8099 if (temp1)
8100 delete arg1;
8101 }
8102 return NULL;
8103}
8104
8105
8106static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8107 PyObject *resultobj;
8108 wxString *arg1 = 0 ;
e811c8ce 8109 bool temp1 = False ;
d14a1e28
RD
8110 PyObject * obj0 = 0 ;
8111 char *kwnames[] = {
8112 (char *) "msg", NULL
8113 };
8114
8115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
8116 {
8117 arg1 = wxString_in_helper(obj0);
8118 if (arg1 == NULL) SWIG_fail;
e811c8ce 8119 temp1 = True;
d14a1e28
RD
8120 }
8121 {
8122 PyThreadState* __tstate = wxPyBeginAllowThreads();
8123 wxLogMessage((wxString const &)*arg1);
8124
8125 wxPyEndAllowThreads(__tstate);
8126 if (PyErr_Occurred()) SWIG_fail;
8127 }
8128 Py_INCREF(Py_None); resultobj = Py_None;
8129 {
8130 if (temp1)
8131 delete arg1;
8132 }
8133 return resultobj;
8134 fail:
8135 {
8136 if (temp1)
8137 delete arg1;
8138 }
8139 return NULL;
8140}
8141
8142
8143static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8144 PyObject *resultobj;
8145 wxString *arg1 = 0 ;
e811c8ce 8146 bool temp1 = False ;
d14a1e28
RD
8147 PyObject * obj0 = 0 ;
8148 char *kwnames[] = {
8149 (char *) "msg", NULL
8150 };
8151
8152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
8153 {
8154 arg1 = wxString_in_helper(obj0);
8155 if (arg1 == NULL) SWIG_fail;
e811c8ce 8156 temp1 = True;
d14a1e28
RD
8157 }
8158 {
8159 PyThreadState* __tstate = wxPyBeginAllowThreads();
8160 wxLogInfo((wxString const &)*arg1);
8161
8162 wxPyEndAllowThreads(__tstate);
8163 if (PyErr_Occurred()) SWIG_fail;
8164 }
8165 Py_INCREF(Py_None); resultobj = Py_None;
8166 {
8167 if (temp1)
8168 delete arg1;
8169 }
8170 return resultobj;
8171 fail:
8172 {
8173 if (temp1)
8174 delete arg1;
8175 }
8176 return NULL;
8177}
8178
8179
8180static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
8181 PyObject *resultobj;
8182 wxString *arg1 = 0 ;
e811c8ce 8183 bool temp1 = False ;
d14a1e28
RD
8184 PyObject * obj0 = 0 ;
8185 char *kwnames[] = {
8186 (char *) "msg", NULL
8187 };
8188
8189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
8190 {
8191 arg1 = wxString_in_helper(obj0);
8192 if (arg1 == NULL) SWIG_fail;
e811c8ce 8193 temp1 = True;
d14a1e28
RD
8194 }
8195 {
8196 PyThreadState* __tstate = wxPyBeginAllowThreads();
8197 wxLogDebug((wxString const &)*arg1);
8198
8199 wxPyEndAllowThreads(__tstate);
8200 if (PyErr_Occurred()) SWIG_fail;
8201 }
8202 Py_INCREF(Py_None); resultobj = Py_None;
8203 {
8204 if (temp1)
8205 delete arg1;
8206 }
8207 return resultobj;
8208 fail:
8209 {
8210 if (temp1)
8211 delete arg1;
8212 }
8213 return NULL;
8214}
8215
8216
8217static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
8218 PyObject *resultobj;
8219 wxString *arg1 = 0 ;
e811c8ce 8220 bool temp1 = False ;
d14a1e28
RD
8221 PyObject * obj0 = 0 ;
8222 char *kwnames[] = {
8223 (char *) "msg", NULL
8224 };
8225
8226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8227 {
8228 arg1 = wxString_in_helper(obj0);
8229 if (arg1 == NULL) SWIG_fail;
e811c8ce 8230 temp1 = True;
d14a1e28
RD
8231 }
8232 {
8233 PyThreadState* __tstate = wxPyBeginAllowThreads();
8234 wxLogVerbose((wxString const &)*arg1);
8235
8236 wxPyEndAllowThreads(__tstate);
8237 if (PyErr_Occurred()) SWIG_fail;
8238 }
8239 Py_INCREF(Py_None); resultobj = Py_None;
8240 {
8241 if (temp1)
8242 delete arg1;
8243 }
8244 return resultobj;
8245 fail:
8246 {
8247 if (temp1)
8248 delete arg1;
8249 }
8250 return NULL;
8251}
8252
8253
8254static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8255 PyObject *resultobj;
8256 wxString *arg1 = 0 ;
e811c8ce 8257 bool temp1 = False ;
d14a1e28
RD
8258 PyObject * obj0 = 0 ;
8259 char *kwnames[] = {
8260 (char *) "msg", NULL
8261 };
8262
8263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8264 {
8265 arg1 = wxString_in_helper(obj0);
8266 if (arg1 == NULL) SWIG_fail;
e811c8ce 8267 temp1 = True;
d14a1e28
RD
8268 }
8269 {
8270 PyThreadState* __tstate = wxPyBeginAllowThreads();
8271 wxLogStatus((wxString const &)*arg1);
8272
8273 wxPyEndAllowThreads(__tstate);
8274 if (PyErr_Occurred()) SWIG_fail;
8275 }
8276 Py_INCREF(Py_None); resultobj = Py_None;
8277 {
8278 if (temp1)
8279 delete arg1;
8280 }
8281 return resultobj;
8282 fail:
8283 {
8284 if (temp1)
8285 delete arg1;
8286 }
8287 return NULL;
8288}
8289
8290
8291static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8292 PyObject *resultobj;
8293 wxFrame *arg1 = (wxFrame *) 0 ;
8294 wxString *arg2 = 0 ;
e811c8ce 8295 bool temp2 = False ;
d14a1e28
RD
8296 PyObject * obj0 = 0 ;
8297 PyObject * obj1 = 0 ;
8298 char *kwnames[] = {
8299 (char *) "pFrame",(char *) "msg", NULL
8300 };
8301
8302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
8304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8305 {
8306 arg2 = wxString_in_helper(obj1);
8307 if (arg2 == NULL) SWIG_fail;
e811c8ce 8308 temp2 = True;
d14a1e28
RD
8309 }
8310 {
8311 PyThreadState* __tstate = wxPyBeginAllowThreads();
8312 wxLogStatus(arg1,(wxString const &)*arg2);
8313
8314 wxPyEndAllowThreads(__tstate);
8315 if (PyErr_Occurred()) SWIG_fail;
8316 }
8317 Py_INCREF(Py_None); resultobj = Py_None;
8318 {
8319 if (temp2)
8320 delete arg2;
8321 }
8322 return resultobj;
8323 fail:
8324 {
8325 if (temp2)
8326 delete arg2;
8327 }
8328 return NULL;
8329}
8330
8331
8332static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
8333 PyObject *resultobj;
8334 wxString *arg1 = 0 ;
e811c8ce 8335 bool temp1 = False ;
d14a1e28
RD
8336 PyObject * obj0 = 0 ;
8337 char *kwnames[] = {
8338 (char *) "msg", NULL
8339 };
8340
8341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
8342 {
8343 arg1 = wxString_in_helper(obj0);
8344 if (arg1 == NULL) SWIG_fail;
e811c8ce 8345 temp1 = True;
d14a1e28
RD
8346 }
8347 {
8348 PyThreadState* __tstate = wxPyBeginAllowThreads();
8349 wxLogSysError((wxString const &)*arg1);
8350
8351 wxPyEndAllowThreads(__tstate);
8352 if (PyErr_Occurred()) SWIG_fail;
8353 }
8354 Py_INCREF(Py_None); resultobj = Py_None;
8355 {
8356 if (temp1)
8357 delete arg1;
8358 }
8359 return resultobj;
8360 fail:
8361 {
8362 if (temp1)
8363 delete arg1;
8364 }
8365 return NULL;
8366}
8367
8368
cc6dd355 8369static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28 8370 PyObject *resultobj;
cc6dd355
RD
8371 unsigned long arg1 ;
8372 wxString *arg2 = 0 ;
8373 bool temp2 = False ;
d14a1e28 8374 PyObject * obj0 = 0 ;
cc6dd355 8375 PyObject * obj1 = 0 ;
d14a1e28 8376
cc6dd355 8377 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
15afbcd0
RD
8378 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8379 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8380 {
cc6dd355
RD
8381 arg2 = wxString_in_helper(obj1);
8382 if (arg2 == NULL) SWIG_fail;
8383 temp2 = True;
d14a1e28
RD
8384 }
8385 {
8386 PyThreadState* __tstate = wxPyBeginAllowThreads();
cc6dd355 8387 wxLogTrace(arg1,(wxString const &)*arg2);
d14a1e28
RD
8388
8389 wxPyEndAllowThreads(__tstate);
8390 if (PyErr_Occurred()) SWIG_fail;
8391 }
8392 Py_INCREF(Py_None); resultobj = Py_None;
8393 {
cc6dd355
RD
8394 if (temp2)
8395 delete arg2;
d14a1e28
RD
8396 }
8397 return resultobj;
8398 fail:
8399 {
cc6dd355
RD
8400 if (temp2)
8401 delete arg2;
d14a1e28
RD
8402 }
8403 return NULL;
8404}
8405
8406
cc6dd355 8407static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28
RD
8408 PyObject *resultobj;
8409 wxString *arg1 = 0 ;
8410 wxString *arg2 = 0 ;
e811c8ce
RD
8411 bool temp1 = False ;
8412 bool temp2 = False ;
d14a1e28
RD
8413 PyObject * obj0 = 0 ;
8414 PyObject * obj1 = 0 ;
d14a1e28 8415
cc6dd355 8416 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
d14a1e28
RD
8417 {
8418 arg1 = wxString_in_helper(obj0);
8419 if (arg1 == NULL) SWIG_fail;
e811c8ce 8420 temp1 = True;
d14a1e28
RD
8421 }
8422 {
8423 arg2 = wxString_in_helper(obj1);
8424 if (arg2 == NULL) SWIG_fail;
e811c8ce 8425 temp2 = True;
d14a1e28
RD
8426 }
8427 {
8428 PyThreadState* __tstate = wxPyBeginAllowThreads();
8429 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
8430
8431 wxPyEndAllowThreads(__tstate);
8432 if (PyErr_Occurred()) SWIG_fail;
8433 }
8434 Py_INCREF(Py_None); resultobj = Py_None;
8435 {
8436 if (temp1)
8437 delete arg1;
8438 }
8439 {
8440 if (temp2)
8441 delete arg2;
8442 }
8443 return resultobj;
8444 fail:
8445 {
8446 if (temp1)
8447 delete arg1;
8448 }
8449 {
8450 if (temp2)
8451 delete arg2;
8452 }
8453 return NULL;
8454}
8455
8456
cc6dd355
RD
8457static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
8458 int argc;
8459 PyObject *argv[3];
8460 int ii;
8461
8462 argc = PyObject_Length(args);
8463 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
8464 argv[ii] = PyTuple_GetItem(args,ii);
8465 }
8466 if (argc == 2) {
8467 int _v;
8468 {
4d5c3d91 8469 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
cc6dd355
RD
8470 }
8471 if (_v) {
8472 {
4d5c3d91 8473 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
cc6dd355
RD
8474 }
8475 if (_v) {
8476 return _wrap_LogTrace__SWIG_1(self,args);
8477 }
8478 }
8479 }
8480 if (argc == 2) {
8481 int _v;
15afbcd0 8482 _v = SWIG_CheckUnsignedLong(argv[0]);
cc6dd355
RD
8483 if (_v) {
8484 {
4d5c3d91 8485 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
cc6dd355
RD
8486 }
8487 if (_v) {
8488 return _wrap_LogTrace__SWIG_0(self,args);
8489 }
8490 }
8491 }
8492
8493 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
8494 return NULL;
8495}
8496
8497
d14a1e28
RD
8498static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
8499 PyObject *resultobj;
8500 unsigned long arg1 ;
8501 wxString *arg2 = 0 ;
e811c8ce 8502 bool temp2 = False ;
d14a1e28
RD
8503 PyObject * obj0 = 0 ;
8504 PyObject * obj1 = 0 ;
8505 char *kwnames[] = {
8506 (char *) "level",(char *) "msg", NULL
8507 };
8508
8509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8510 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8511 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8512 {
8513 arg2 = wxString_in_helper(obj1);
8514 if (arg2 == NULL) SWIG_fail;
e811c8ce 8515 temp2 = True;
d14a1e28
RD
8516 }
8517 {
8518 PyThreadState* __tstate = wxPyBeginAllowThreads();
8519 wxLogGeneric(arg1,(wxString const &)*arg2);
8520
8521 wxPyEndAllowThreads(__tstate);
8522 if (PyErr_Occurred()) SWIG_fail;
8523 }
8524 Py_INCREF(Py_None); resultobj = Py_None;
8525 {
8526 if (temp2)
8527 delete arg2;
8528 }
8529 return resultobj;
8530 fail:
8531 {
8532 if (temp2)
8533 delete arg2;
8534 }
8535 return NULL;
8536}
8537
8538
8539static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8540 PyObject *resultobj;
8541 wxString *arg1 = 0 ;
8542 wxString *arg2 = 0 ;
e811c8ce
RD
8543 bool temp1 = False ;
8544 bool temp2 = False ;
d14a1e28
RD
8545 PyObject * obj0 = 0 ;
8546 PyObject * obj1 = 0 ;
8547 char *kwnames[] = {
8548 (char *) "title",(char *) "text", NULL
8549 };
8550
8551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
8552 {
8553 arg1 = wxString_in_helper(obj0);
8554 if (arg1 == NULL) SWIG_fail;
e811c8ce 8555 temp1 = True;
d14a1e28
RD
8556 }
8557 {
8558 arg2 = wxString_in_helper(obj1);
8559 if (arg2 == NULL) SWIG_fail;
e811c8ce 8560 temp2 = True;
d14a1e28
RD
8561 }
8562 {
8563 PyThreadState* __tstate = wxPyBeginAllowThreads();
8564 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
8565
8566 wxPyEndAllowThreads(__tstate);
8567 if (PyErr_Occurred()) SWIG_fail;
8568 }
8569 Py_INCREF(Py_None); resultobj = Py_None;
8570 {
8571 if (temp1)
8572 delete arg1;
8573 }
8574 {
8575 if (temp2)
8576 delete arg2;
8577 }
8578 return resultobj;
8579 fail:
8580 {
8581 if (temp1)
8582 delete arg1;
8583 }
8584 {
8585 if (temp2)
8586 delete arg2;
8587 }
8588 return NULL;
8589}
8590
8591
8592static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8593 PyObject *resultobj;
8594 wxLogNull *result;
8595 char *kwnames[] = {
8596 NULL
8597 };
8598
8599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
8600 {
8601 PyThreadState* __tstate = wxPyBeginAllowThreads();
8602 result = (wxLogNull *)new wxLogNull();
8603
8604 wxPyEndAllowThreads(__tstate);
8605 if (PyErr_Occurred()) SWIG_fail;
8606 }
15afbcd0 8607 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
d14a1e28
RD
8608 return resultobj;
8609 fail:
8610 return NULL;
8611}
8612
8613
8614static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8615 PyObject *resultobj;
8616 wxLogNull *arg1 = (wxLogNull *) 0 ;
8617 PyObject * obj0 = 0 ;
8618 char *kwnames[] = {
8619 (char *) "self", NULL
8620 };
8621
8622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
15afbcd0
RD
8623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogNull,
8624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8625 {
8626 PyThreadState* __tstate = wxPyBeginAllowThreads();
8627 delete arg1;
8628
8629 wxPyEndAllowThreads(__tstate);
8630 if (PyErr_Occurred()) SWIG_fail;
8631 }
8632 Py_INCREF(Py_None); resultobj = Py_None;
8633 return resultobj;
8634 fail:
8635 return NULL;
8636}
8637
8638
8639static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
8640 PyObject *obj;
8641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8642 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
8643 Py_INCREF(obj);
8644 return Py_BuildValue((char *)"");
8645}
8646static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8647 PyObject *resultobj;
8648 wxPyLog *result;
8649 char *kwnames[] = {
8650 NULL
8651 };
8652
8653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
8654 {
8655 PyThreadState* __tstate = wxPyBeginAllowThreads();
8656 result = (wxPyLog *)new wxPyLog();
8657
8658 wxPyEndAllowThreads(__tstate);
8659 if (PyErr_Occurred()) SWIG_fail;
8660 }
15afbcd0 8661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
d14a1e28
RD
8662 return resultobj;
8663 fail:
8664 return NULL;
8665}
8666
8667
8668static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8669 PyObject *resultobj;
8670 wxPyLog *arg1 = (wxPyLog *) 0 ;
8671 PyObject *arg2 = (PyObject *) 0 ;
8672 PyObject *arg3 = (PyObject *) 0 ;
8673 PyObject * obj0 = 0 ;
8674 PyObject * obj1 = 0 ;
8675 PyObject * obj2 = 0 ;
8676 char *kwnames[] = {
8677 (char *) "self",(char *) "self",(char *) "_class", NULL
8678 };
8679
8680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLog,
8682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8683 arg2 = obj1;
8684 arg3 = obj2;
8685 {
8686 PyThreadState* __tstate = wxPyBeginAllowThreads();
8687 (arg1)->_setCallbackInfo(arg2,arg3);
8688
8689 wxPyEndAllowThreads(__tstate);
8690 if (PyErr_Occurred()) SWIG_fail;
8691 }
8692 Py_INCREF(Py_None); resultobj = Py_None;
8693 return resultobj;
8694 fail:
8695 return NULL;
8696}
8697
8698
8699static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
8700 PyObject *obj;
8701 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8702 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8703 Py_INCREF(obj);
8704 return Py_BuildValue((char *)"");
8705}
8706static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
8707 PyObject *resultobj;
8708 int arg1 ;
8709 int arg2 = (int) wxSIGTERM ;
8710 int result;
994141e6
RD
8711 PyObject * obj0 = 0 ;
8712 PyObject * obj1 = 0 ;
d14a1e28
RD
8713 char *kwnames[] = {
8714 (char *) "pid",(char *) "sig", NULL
8715 };
8716
994141e6 8717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Kill",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8718 arg1 = (int) SWIG_AsInt(obj0);
8719 if (PyErr_Occurred()) SWIG_fail;
994141e6 8720 if (obj1) {
15afbcd0
RD
8721 arg2 = (wxSignal) SWIG_AsInt(obj1);
8722 if (PyErr_Occurred()) SWIG_fail;
994141e6 8723 }
d14a1e28
RD
8724 {
8725 PyThreadState* __tstate = wxPyBeginAllowThreads();
8726 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
8727
8728 wxPyEndAllowThreads(__tstate);
8729 if (PyErr_Occurred()) SWIG_fail;
8730 }
15afbcd0 8731 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8732 return resultobj;
8733 fail:
8734 return NULL;
8735}
8736
8737
8738static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
8739 PyObject *resultobj;
8740 int arg1 ;
8741 bool result;
994141e6 8742 PyObject * obj0 = 0 ;
d14a1e28
RD
8743 char *kwnames[] = {
8744 (char *) "pid", NULL
8745 };
8746
994141e6 8747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
15afbcd0
RD
8748 arg1 = (int) SWIG_AsInt(obj0);
8749 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8750 {
8751 PyThreadState* __tstate = wxPyBeginAllowThreads();
8752 result = (bool)wxPyProcess::Exists(arg1);
8753
8754 wxPyEndAllowThreads(__tstate);
8755 if (PyErr_Occurred()) SWIG_fail;
8756 }
4f89f6a3
RD
8757 {
8758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8759 }
d14a1e28
RD
8760 return resultobj;
8761 fail:
8762 return NULL;
8763}
8764
8765
8766static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
8767 PyObject *resultobj;
8768 wxString *arg1 = 0 ;
8769 int arg2 = (int) wxEXEC_ASYNC ;
8770 wxPyProcess *result;
e811c8ce 8771 bool temp1 = False ;
d14a1e28 8772 PyObject * obj0 = 0 ;
994141e6 8773 PyObject * obj1 = 0 ;
d14a1e28
RD
8774 char *kwnames[] = {
8775 (char *) "cmd",(char *) "flags", NULL
8776 };
8777
994141e6 8778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
8779 {
8780 arg1 = wxString_in_helper(obj0);
8781 if (arg1 == NULL) SWIG_fail;
e811c8ce 8782 temp1 = True;
d14a1e28 8783 }
994141e6 8784 if (obj1) {
15afbcd0
RD
8785 arg2 = (int) SWIG_AsInt(obj1);
8786 if (PyErr_Occurred()) SWIG_fail;
994141e6 8787 }
d14a1e28
RD
8788 {
8789 PyThreadState* __tstate = wxPyBeginAllowThreads();
8790 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8791
8792 wxPyEndAllowThreads(__tstate);
8793 if (PyErr_Occurred()) SWIG_fail;
8794 }
15afbcd0 8795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
d14a1e28
RD
8796 {
8797 if (temp1)
8798 delete arg1;
8799 }
8800 return resultobj;
8801 fail:
8802 {
8803 if (temp1)
8804 delete arg1;
8805 }
8806 return NULL;
8807}
8808
8809
8810static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
8811 PyObject *resultobj;
8812 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8813 int arg2 = (int) -1 ;
8814 wxPyProcess *result;
8815 PyObject * obj0 = 0 ;
994141e6 8816 PyObject * obj1 = 0 ;
d14a1e28
RD
8817 char *kwnames[] = {
8818 (char *) "parent",(char *) "id", NULL
8819 };
8820
994141e6 8821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 8822 if (obj0) {
15afbcd0
RD
8823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
8824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8825 }
994141e6 8826 if (obj1) {
15afbcd0
RD
8827 arg2 = (int) SWIG_AsInt(obj1);
8828 if (PyErr_Occurred()) SWIG_fail;
994141e6 8829 }
d14a1e28
RD
8830 {
8831 PyThreadState* __tstate = wxPyBeginAllowThreads();
8832 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8833
8834 wxPyEndAllowThreads(__tstate);
8835 if (PyErr_Occurred()) SWIG_fail;
8836 }
15afbcd0 8837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
d14a1e28
RD
8838 return resultobj;
8839 fail:
8840 return NULL;
8841}
8842
8843
8844static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8845 PyObject *resultobj;
8846 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8847 PyObject *arg2 = (PyObject *) 0 ;
8848 PyObject *arg3 = (PyObject *) 0 ;
8849 PyObject * obj0 = 0 ;
8850 PyObject * obj1 = 0 ;
8851 PyObject * obj2 = 0 ;
8852 char *kwnames[] = {
8853 (char *) "self",(char *) "self",(char *) "_class", NULL
8854 };
8855
8856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8859 arg2 = obj1;
8860 arg3 = obj2;
8861 {
8862 PyThreadState* __tstate = wxPyBeginAllowThreads();
8863 (arg1)->_setCallbackInfo(arg2,arg3);
8864
8865 wxPyEndAllowThreads(__tstate);
8866 if (PyErr_Occurred()) SWIG_fail;
8867 }
8868 Py_INCREF(Py_None); resultobj = Py_None;
8869 return resultobj;
8870 fail:
8871 return NULL;
8872}
8873
8874
8875static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8876 PyObject *resultobj;
8877 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8878 int arg2 ;
8879 int arg3 ;
8880 PyObject * obj0 = 0 ;
994141e6
RD
8881 PyObject * obj1 = 0 ;
8882 PyObject * obj2 = 0 ;
d14a1e28
RD
8883 char *kwnames[] = {
8884 (char *) "self",(char *) "pid",(char *) "status", NULL
8885 };
8886
994141e6 8887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8890 arg2 = (int) SWIG_AsInt(obj1);
8891 if (PyErr_Occurred()) SWIG_fail;
8892 arg3 = (int) SWIG_AsInt(obj2);
8893 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8894 {
8895 PyThreadState* __tstate = wxPyBeginAllowThreads();
8896 (arg1)->base_OnTerminate(arg2,arg3);
8897
8898 wxPyEndAllowThreads(__tstate);
8899 if (PyErr_Occurred()) SWIG_fail;
8900 }
8901 Py_INCREF(Py_None); resultobj = Py_None;
8902 return resultobj;
8903 fail:
8904 return NULL;
8905}
8906
8907
8908static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8909 PyObject *resultobj;
8910 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8911 PyObject * obj0 = 0 ;
8912 char *kwnames[] = {
8913 (char *) "self", NULL
8914 };
8915
8916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
15afbcd0
RD
8917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8919 {
8920 PyThreadState* __tstate = wxPyBeginAllowThreads();
8921 (arg1)->Redirect();
8922
8923 wxPyEndAllowThreads(__tstate);
8924 if (PyErr_Occurred()) SWIG_fail;
8925 }
8926 Py_INCREF(Py_None); resultobj = Py_None;
8927 return resultobj;
8928 fail:
8929 return NULL;
8930}
8931
8932
8933static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8934 PyObject *resultobj;
8935 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8936 bool result;
8937 PyObject * obj0 = 0 ;
8938 char *kwnames[] = {
8939 (char *) "self", NULL
8940 };
8941
8942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
15afbcd0
RD
8943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8945 {
8946 PyThreadState* __tstate = wxPyBeginAllowThreads();
8947 result = (bool)(arg1)->IsRedirected();
8948
8949 wxPyEndAllowThreads(__tstate);
8950 if (PyErr_Occurred()) SWIG_fail;
8951 }
4f89f6a3
RD
8952 {
8953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8954 }
d14a1e28
RD
8955 return resultobj;
8956 fail:
8957 return NULL;
8958}
8959
8960
8961static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8962 PyObject *resultobj;
8963 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8964 PyObject * obj0 = 0 ;
8965 char *kwnames[] = {
8966 (char *) "self", NULL
8967 };
8968
8969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
8970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8972 {
8973 PyThreadState* __tstate = wxPyBeginAllowThreads();
8974 (arg1)->Detach();
8975
8976 wxPyEndAllowThreads(__tstate);
8977 if (PyErr_Occurred()) SWIG_fail;
8978 }
8979 Py_INCREF(Py_None); resultobj = Py_None;
8980 return resultobj;
8981 fail:
8982 return NULL;
8983}
8984
8985
8986static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8987 PyObject *resultobj;
8988 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8989 wxInputStream *result;
8990 PyObject * obj0 = 0 ;
8991 char *kwnames[] = {
8992 (char *) "self", NULL
8993 };
8994
8995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
15afbcd0
RD
8996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8998 {
8999 PyThreadState* __tstate = wxPyBeginAllowThreads();
9000 result = (wxInputStream *)(arg1)->GetInputStream();
9001
9002 wxPyEndAllowThreads(__tstate);
9003 if (PyErr_Occurred()) SWIG_fail;
9004 }
9005 {
9006 wxPyInputStream * _ptr = NULL;
9007
9008 if (result) {
9009 _ptr = new wxPyInputStream(result);
9010 }
e811c8ce 9011 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
9012 }
9013 return resultobj;
9014 fail:
9015 return NULL;
9016}
9017
9018
9019static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9020 PyObject *resultobj;
9021 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9022 wxInputStream *result;
9023 PyObject * obj0 = 0 ;
9024 char *kwnames[] = {
9025 (char *) "self", NULL
9026 };
9027
9028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
15afbcd0
RD
9029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9031 {
9032 PyThreadState* __tstate = wxPyBeginAllowThreads();
9033 result = (wxInputStream *)(arg1)->GetErrorStream();
9034
9035 wxPyEndAllowThreads(__tstate);
9036 if (PyErr_Occurred()) SWIG_fail;
9037 }
9038 {
9039 wxPyInputStream * _ptr = NULL;
9040
9041 if (result) {
9042 _ptr = new wxPyInputStream(result);
9043 }
e811c8ce 9044 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
9045 }
9046 return resultobj;
9047 fail:
9048 return NULL;
9049}
9050
9051
9052static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9053 PyObject *resultobj;
9054 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9055 wxOutputStream *result;
9056 PyObject * obj0 = 0 ;
9057 char *kwnames[] = {
9058 (char *) "self", NULL
9059 };
9060
9061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
15afbcd0
RD
9062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9064 {
9065 PyThreadState* __tstate = wxPyBeginAllowThreads();
9066 result = (wxOutputStream *)(arg1)->GetOutputStream();
9067
9068 wxPyEndAllowThreads(__tstate);
9069 if (PyErr_Occurred()) SWIG_fail;
9070 }
15afbcd0 9071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
d14a1e28
RD
9072 return resultobj;
9073 fail:
9074 return NULL;
9075}
9076
9077
9078static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
9079 PyObject *resultobj;
9080 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9081 PyObject * obj0 = 0 ;
9082 char *kwnames[] = {
9083 (char *) "self", NULL
9084 };
9085
9086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
15afbcd0
RD
9087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9089 {
9090 PyThreadState* __tstate = wxPyBeginAllowThreads();
9091 (arg1)->CloseOutput();
9092
9093 wxPyEndAllowThreads(__tstate);
9094 if (PyErr_Occurred()) SWIG_fail;
9095 }
9096 Py_INCREF(Py_None); resultobj = Py_None;
9097 return resultobj;
9098 fail:
9099 return NULL;
9100}
9101
9102
9103static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
9104 PyObject *resultobj;
9105 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9106 bool result;
9107 PyObject * obj0 = 0 ;
9108 char *kwnames[] = {
9109 (char *) "self", NULL
9110 };
9111
9112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
15afbcd0
RD
9113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9115 {
9116 PyThreadState* __tstate = wxPyBeginAllowThreads();
9117 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
9118
9119 wxPyEndAllowThreads(__tstate);
9120 if (PyErr_Occurred()) SWIG_fail;
9121 }
4f89f6a3
RD
9122 {
9123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9124 }
d14a1e28
RD
9125 return resultobj;
9126 fail:
9127 return NULL;
9128}
9129
9130
9131static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
9132 PyObject *resultobj;
9133 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9134 bool result;
9135 PyObject * obj0 = 0 ;
9136 char *kwnames[] = {
9137 (char *) "self", NULL
9138 };
9139
9140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
15afbcd0
RD
9141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9143 {
9144 PyThreadState* __tstate = wxPyBeginAllowThreads();
9145 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
9146
9147 wxPyEndAllowThreads(__tstate);
9148 if (PyErr_Occurred()) SWIG_fail;
9149 }
4f89f6a3
RD
9150 {
9151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9152 }
d14a1e28
RD
9153 return resultobj;
9154 fail:
9155 return NULL;
9156}
9157
9158
9159static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
9160 PyObject *resultobj;
9161 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9162 bool result;
9163 PyObject * obj0 = 0 ;
9164 char *kwnames[] = {
9165 (char *) "self", NULL
9166 };
9167
9168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
15afbcd0
RD
9169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9171 {
9172 PyThreadState* __tstate = wxPyBeginAllowThreads();
9173 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
9174
9175 wxPyEndAllowThreads(__tstate);
9176 if (PyErr_Occurred()) SWIG_fail;
9177 }
4f89f6a3
RD
9178 {
9179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9180 }
d14a1e28
RD
9181 return resultobj;
9182 fail:
9183 return NULL;
9184}
9185
9186
9187static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
9188 PyObject *obj;
9189 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9190 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
9191 Py_INCREF(obj);
9192 return Py_BuildValue((char *)"");
9193}
9194static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9195 PyObject *resultobj;
9196 int arg1 = (int) 0 ;
9197 int arg2 = (int) 0 ;
9198 int arg3 = (int) 0 ;
9199 wxProcessEvent *result;
994141e6
RD
9200 PyObject * obj0 = 0 ;
9201 PyObject * obj1 = 0 ;
9202 PyObject * obj2 = 0 ;
d14a1e28
RD
9203 char *kwnames[] = {
9204 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9205 };
9206
994141e6
RD
9207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9208 if (obj0) {
15afbcd0
RD
9209 arg1 = (int) SWIG_AsInt(obj0);
9210 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9211 }
9212 if (obj1) {
15afbcd0
RD
9213 arg2 = (int) SWIG_AsInt(obj1);
9214 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9215 }
9216 if (obj2) {
15afbcd0
RD
9217 arg3 = (int) SWIG_AsInt(obj2);
9218 if (PyErr_Occurred()) SWIG_fail;
994141e6 9219 }
d14a1e28
RD
9220 {
9221 PyThreadState* __tstate = wxPyBeginAllowThreads();
9222 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9223
9224 wxPyEndAllowThreads(__tstate);
9225 if (PyErr_Occurred()) SWIG_fail;
9226 }
15afbcd0 9227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
d14a1e28
RD
9228 return resultobj;
9229 fail:
9230 return NULL;
9231}
9232
9233
9234static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
9235 PyObject *resultobj;
9236 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9237 int result;
9238 PyObject * obj0 = 0 ;
9239 char *kwnames[] = {
9240 (char *) "self", NULL
9241 };
9242
9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
15afbcd0
RD
9244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9246 {
9247 PyThreadState* __tstate = wxPyBeginAllowThreads();
9248 result = (int)(arg1)->GetPid();
9249
9250 wxPyEndAllowThreads(__tstate);
9251 if (PyErr_Occurred()) SWIG_fail;
9252 }
15afbcd0 9253 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9254 return resultobj;
9255 fail:
9256 return NULL;
9257}
9258
9259
9260static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
9261 PyObject *resultobj;
9262 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9263 int result;
9264 PyObject * obj0 = 0 ;
9265 char *kwnames[] = {
9266 (char *) "self", NULL
9267 };
9268
9269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
9270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9272 {
9273 PyThreadState* __tstate = wxPyBeginAllowThreads();
9274 result = (int)(arg1)->GetExitCode();
9275
9276 wxPyEndAllowThreads(__tstate);
9277 if (PyErr_Occurred()) SWIG_fail;
9278 }
15afbcd0 9279 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9280 return resultobj;
9281 fail:
9282 return NULL;
9283}
9284
9285
9286static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9287 PyObject *resultobj;
9288 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9289 int arg2 ;
9290 PyObject * obj0 = 0 ;
994141e6 9291 PyObject * obj1 = 0 ;
d14a1e28
RD
9292 char *kwnames[] = {
9293 (char *) "self",(char *) "m_pid", NULL
9294 };
9295
994141e6 9296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9299 arg2 = (int) SWIG_AsInt(obj1);
9300 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9301 if (arg1) (arg1)->m_pid = arg2;
9302
9303 Py_INCREF(Py_None); resultobj = Py_None;
9304 return resultobj;
9305 fail:
9306 return NULL;
9307}
9308
9309
9310static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9311 PyObject *resultobj;
9312 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9313 int result;
9314 PyObject * obj0 = 0 ;
9315 char *kwnames[] = {
9316 (char *) "self", NULL
9317 };
9318
9319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
9320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9322 result = (int) ((arg1)->m_pid);
9323
15afbcd0 9324 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9325 return resultobj;
9326 fail:
9327 return NULL;
9328}
9329
9330
9331static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9332 PyObject *resultobj;
9333 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9334 int arg2 ;
9335 PyObject * obj0 = 0 ;
994141e6 9336 PyObject * obj1 = 0 ;
d14a1e28
RD
9337 char *kwnames[] = {
9338 (char *) "self",(char *) "m_exitcode", NULL
9339 };
9340
994141e6 9341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9344 arg2 = (int) SWIG_AsInt(obj1);
9345 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9346 if (arg1) (arg1)->m_exitcode = arg2;
9347
9348 Py_INCREF(Py_None); resultobj = Py_None;
9349 return resultobj;
9350 fail:
9351 return NULL;
9352}
9353
9354
9355static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9356 PyObject *resultobj;
9357 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9358 int result;
9359 PyObject * obj0 = 0 ;
9360 char *kwnames[] = {
9361 (char *) "self", NULL
9362 };
9363
9364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
9365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9367 result = (int) ((arg1)->m_exitcode);
9368
15afbcd0 9369 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9370 return resultobj;
9371 fail:
9372 return NULL;
9373}
9374
9375
9376static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
9377 PyObject *obj;
9378 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9379 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
9380 Py_INCREF(obj);
9381 return Py_BuildValue((char *)"");
9382}
9383static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
9384 PyObject *resultobj;
9385 wxString *arg1 = 0 ;
9386 int arg2 = (int) wxEXEC_ASYNC ;
9387 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
9388 long result;
e811c8ce 9389 bool temp1 = False ;
d14a1e28 9390 PyObject * obj0 = 0 ;
994141e6 9391 PyObject * obj1 = 0 ;
d14a1e28
RD
9392 PyObject * obj2 = 0 ;
9393 char *kwnames[] = {
9394 (char *) "command",(char *) "flags",(char *) "process", NULL
9395 };
9396
994141e6 9397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
9398 {
9399 arg1 = wxString_in_helper(obj0);
9400 if (arg1 == NULL) SWIG_fail;
e811c8ce 9401 temp1 = True;
d14a1e28 9402 }
994141e6 9403 if (obj1) {
15afbcd0
RD
9404 arg2 = (int) SWIG_AsInt(obj1);
9405 if (PyErr_Occurred()) SWIG_fail;
994141e6 9406 }
d14a1e28 9407 if (obj2) {
15afbcd0
RD
9408 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyProcess,
9409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9410 }
9411 {
9412 PyThreadState* __tstate = wxPyBeginAllowThreads();
9413 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
9414
9415 wxPyEndAllowThreads(__tstate);
9416 if (PyErr_Occurred()) SWIG_fail;
9417 }
15afbcd0 9418 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9419 {
9420 if (temp1)
9421 delete arg1;
9422 }
9423 return resultobj;
9424 fail:
9425 {
9426 if (temp1)
9427 delete arg1;
9428 }
9429 return NULL;
9430}
9431
9432
9433static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9434 PyObject *resultobj;
9435 int arg1 = (int) wxJOYSTICK1 ;
9436 wxJoystick *result;
994141e6 9437 PyObject * obj0 = 0 ;
d14a1e28
RD
9438 char *kwnames[] = {
9439 (char *) "joystick", NULL
9440 };
9441
994141e6
RD
9442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
9443 if (obj0) {
15afbcd0
RD
9444 arg1 = (int) SWIG_AsInt(obj0);
9445 if (PyErr_Occurred()) SWIG_fail;
994141e6 9446 }
d14a1e28
RD
9447 {
9448 PyThreadState* __tstate = wxPyBeginAllowThreads();
9449 result = (wxJoystick *)new wxJoystick(arg1);
9450
9451 wxPyEndAllowThreads(__tstate);
9452 if (PyErr_Occurred()) SWIG_fail;
9453 }
15afbcd0 9454 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
d14a1e28
RD
9455 return resultobj;
9456 fail:
9457 return NULL;
9458}
9459
9460
9461static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9462 PyObject *resultobj;
9463 wxJoystick *arg1 = (wxJoystick *) 0 ;
9464 PyObject * obj0 = 0 ;
9465 char *kwnames[] = {
9466 (char *) "self", NULL
9467 };
9468
9469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
15afbcd0
RD
9470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9472 {
9473 PyThreadState* __tstate = wxPyBeginAllowThreads();
9474 delete arg1;
9475
9476 wxPyEndAllowThreads(__tstate);
9477 if (PyErr_Occurred()) SWIG_fail;
9478 }
9479 Py_INCREF(Py_None); resultobj = Py_None;
9480 return resultobj;
9481 fail:
9482 return NULL;
9483}
9484
9485
9486static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9487 PyObject *resultobj;
9488 wxJoystick *arg1 = (wxJoystick *) 0 ;
9489 wxPoint result;
9490 PyObject * obj0 = 0 ;
9491 char *kwnames[] = {
9492 (char *) "self", NULL
9493 };
9494
9495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
9496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9498 {
9499 PyThreadState* __tstate = wxPyBeginAllowThreads();
9500 result = (arg1)->GetPosition();
9501
9502 wxPyEndAllowThreads(__tstate);
9503 if (PyErr_Occurred()) SWIG_fail;
9504 }
9505 {
9506 wxPoint * resultptr;
9507 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 9508 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
9509 }
9510 return resultobj;
9511 fail:
9512 return NULL;
9513}
9514
9515
9516static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9517 PyObject *resultobj;
9518 wxJoystick *arg1 = (wxJoystick *) 0 ;
9519 int result;
9520 PyObject * obj0 = 0 ;
9521 char *kwnames[] = {
9522 (char *) "self", NULL
9523 };
9524
9525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
9526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9528 {
9529 PyThreadState* __tstate = wxPyBeginAllowThreads();
9530 result = (int)(arg1)->GetZPosition();
9531
9532 wxPyEndAllowThreads(__tstate);
9533 if (PyErr_Occurred()) SWIG_fail;
9534 }
15afbcd0 9535 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9536 return resultobj;
9537 fail:
9538 return NULL;
9539}
9540
9541
9542static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9543 PyObject *resultobj;
9544 wxJoystick *arg1 = (wxJoystick *) 0 ;
9545 int result;
9546 PyObject * obj0 = 0 ;
9547 char *kwnames[] = {
9548 (char *) "self", NULL
9549 };
9550
9551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
15afbcd0
RD
9552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9554 {
9555 PyThreadState* __tstate = wxPyBeginAllowThreads();
9556 result = (int)(arg1)->GetButtonState();
9557
9558 wxPyEndAllowThreads(__tstate);
9559 if (PyErr_Occurred()) SWIG_fail;
9560 }
15afbcd0 9561 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9562 return resultobj;
9563 fail:
9564 return NULL;
9565}
9566
9567
9568static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9569 PyObject *resultobj;
9570 wxJoystick *arg1 = (wxJoystick *) 0 ;
9571 int result;
9572 PyObject * obj0 = 0 ;
9573 char *kwnames[] = {
9574 (char *) "self", NULL
9575 };
9576
9577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
9578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9580 {
9581 PyThreadState* __tstate = wxPyBeginAllowThreads();
9582 result = (int)(arg1)->GetPOVPosition();
9583
9584 wxPyEndAllowThreads(__tstate);
9585 if (PyErr_Occurred()) SWIG_fail;
9586 }
15afbcd0 9587 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9588 return resultobj;
9589 fail:
9590 return NULL;
9591}
9592
9593
9594static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9595 PyObject *resultobj;
9596 wxJoystick *arg1 = (wxJoystick *) 0 ;
9597 int result;
9598 PyObject * obj0 = 0 ;
9599 char *kwnames[] = {
9600 (char *) "self", NULL
9601 };
9602
9603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
9604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9606 {
9607 PyThreadState* __tstate = wxPyBeginAllowThreads();
9608 result = (int)(arg1)->GetPOVCTSPosition();
9609
9610 wxPyEndAllowThreads(__tstate);
9611 if (PyErr_Occurred()) SWIG_fail;
9612 }
15afbcd0 9613 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9614 return resultobj;
9615 fail:
9616 return NULL;
9617}
9618
9619
9620static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9621 PyObject *resultobj;
9622 wxJoystick *arg1 = (wxJoystick *) 0 ;
9623 int result;
9624 PyObject * obj0 = 0 ;
9625 char *kwnames[] = {
9626 (char *) "self", NULL
9627 };
9628
9629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
9630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9632 {
9633 PyThreadState* __tstate = wxPyBeginAllowThreads();
9634 result = (int)(arg1)->GetRudderPosition();
9635
9636 wxPyEndAllowThreads(__tstate);
9637 if (PyErr_Occurred()) SWIG_fail;
9638 }
15afbcd0 9639 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9640 return resultobj;
9641 fail:
9642 return NULL;
9643}
9644
9645
9646static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9647 PyObject *resultobj;
9648 wxJoystick *arg1 = (wxJoystick *) 0 ;
9649 int result;
9650 PyObject * obj0 = 0 ;
9651 char *kwnames[] = {
9652 (char *) "self", NULL
9653 };
9654
9655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
9656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9658 {
9659 PyThreadState* __tstate = wxPyBeginAllowThreads();
9660 result = (int)(arg1)->GetUPosition();
9661
9662 wxPyEndAllowThreads(__tstate);
9663 if (PyErr_Occurred()) SWIG_fail;
9664 }
15afbcd0 9665 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9666 return resultobj;
9667 fail:
9668 return NULL;
9669}
9670
9671
9672static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9673 PyObject *resultobj;
9674 wxJoystick *arg1 = (wxJoystick *) 0 ;
9675 int result;
9676 PyObject * obj0 = 0 ;
9677 char *kwnames[] = {
9678 (char *) "self", NULL
9679 };
9680
9681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
9682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9684 {
9685 PyThreadState* __tstate = wxPyBeginAllowThreads();
9686 result = (int)(arg1)->GetVPosition();
9687
9688 wxPyEndAllowThreads(__tstate);
9689 if (PyErr_Occurred()) SWIG_fail;
9690 }
15afbcd0 9691 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9692 return resultobj;
9693 fail:
9694 return NULL;
9695}
9696
9697
9698static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9699 PyObject *resultobj;
9700 wxJoystick *arg1 = (wxJoystick *) 0 ;
9701 int result;
9702 PyObject * obj0 = 0 ;
9703 char *kwnames[] = {
9704 (char *) "self", NULL
9705 };
9706
9707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
15afbcd0
RD
9708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9710 {
9711 PyThreadState* __tstate = wxPyBeginAllowThreads();
9712 result = (int)(arg1)->GetMovementThreshold();
9713
9714 wxPyEndAllowThreads(__tstate);
9715 if (PyErr_Occurred()) SWIG_fail;
9716 }
15afbcd0 9717 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9718 return resultobj;
9719 fail:
9720 return NULL;
9721}
9722
9723
9724static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9725 PyObject *resultobj;
9726 wxJoystick *arg1 = (wxJoystick *) 0 ;
9727 int arg2 ;
9728 PyObject * obj0 = 0 ;
994141e6 9729 PyObject * obj1 = 0 ;
d14a1e28
RD
9730 char *kwnames[] = {
9731 (char *) "self",(char *) "threshold", NULL
9732 };
9733
994141e6 9734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9737 arg2 = (int) SWIG_AsInt(obj1);
9738 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9739 {
9740 PyThreadState* __tstate = wxPyBeginAllowThreads();
9741 (arg1)->SetMovementThreshold(arg2);
9742
9743 wxPyEndAllowThreads(__tstate);
9744 if (PyErr_Occurred()) SWIG_fail;
9745 }
9746 Py_INCREF(Py_None); resultobj = Py_None;
9747 return resultobj;
9748 fail:
9749 return NULL;
9750}
9751
9752
9753static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9754 PyObject *resultobj;
9755 wxJoystick *arg1 = (wxJoystick *) 0 ;
9756 bool result;
9757 PyObject * obj0 = 0 ;
9758 char *kwnames[] = {
9759 (char *) "self", NULL
9760 };
9761
9762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
9763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9765 {
9766 PyThreadState* __tstate = wxPyBeginAllowThreads();
9767 result = (bool)(arg1)->IsOk();
9768
9769 wxPyEndAllowThreads(__tstate);
9770 if (PyErr_Occurred()) SWIG_fail;
9771 }
4f89f6a3
RD
9772 {
9773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9774 }
d14a1e28
RD
9775 return resultobj;
9776 fail:
9777 return NULL;
9778}
9779
9780
9781static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
9782 PyObject *resultobj;
9783 wxJoystick *arg1 = (wxJoystick *) 0 ;
9784 int result;
9785 PyObject * obj0 = 0 ;
9786 char *kwnames[] = {
9787 (char *) "self", NULL
9788 };
9789
9790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
15afbcd0
RD
9791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9793 {
9794 PyThreadState* __tstate = wxPyBeginAllowThreads();
9795 result = (int)(arg1)->GetNumberJoysticks();
9796
9797 wxPyEndAllowThreads(__tstate);
9798 if (PyErr_Occurred()) SWIG_fail;
9799 }
15afbcd0 9800 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9801 return resultobj;
9802 fail:
9803 return NULL;
9804}
9805
9806
9807static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
9808 PyObject *resultobj;
9809 wxJoystick *arg1 = (wxJoystick *) 0 ;
9810 int result;
9811 PyObject * obj0 = 0 ;
9812 char *kwnames[] = {
9813 (char *) "self", NULL
9814 };
9815
9816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
15afbcd0
RD
9817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9819 {
9820 PyThreadState* __tstate = wxPyBeginAllowThreads();
9821 result = (int)(arg1)->GetManufacturerId();
9822
9823 wxPyEndAllowThreads(__tstate);
9824 if (PyErr_Occurred()) SWIG_fail;
9825 }
15afbcd0 9826 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9827 return resultobj;
9828 fail:
9829 return NULL;
9830}
9831
9832
9833static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
9834 PyObject *resultobj;
9835 wxJoystick *arg1 = (wxJoystick *) 0 ;
9836 int result;
9837 PyObject * obj0 = 0 ;
9838 char *kwnames[] = {
9839 (char *) "self", NULL
9840 };
9841
9842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
15afbcd0
RD
9843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9845 {
9846 PyThreadState* __tstate = wxPyBeginAllowThreads();
9847 result = (int)(arg1)->GetProductId();
9848
9849 wxPyEndAllowThreads(__tstate);
9850 if (PyErr_Occurred()) SWIG_fail;
9851 }
15afbcd0 9852 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9853 return resultobj;
9854 fail:
9855 return NULL;
9856}
9857
9858
9859static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
9860 PyObject *resultobj;
9861 wxJoystick *arg1 = (wxJoystick *) 0 ;
9862 wxString result;
9863 PyObject * obj0 = 0 ;
9864 char *kwnames[] = {
9865 (char *) "self", NULL
9866 };
9867
9868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
15afbcd0
RD
9869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9871 {
9872 PyThreadState* __tstate = wxPyBeginAllowThreads();
9873 result = (arg1)->GetProductName();
9874
9875 wxPyEndAllowThreads(__tstate);
9876 if (PyErr_Occurred()) SWIG_fail;
9877 }
9878 {
9879#if wxUSE_UNICODE
9880 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9881#else
9882 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9883#endif
9884 }
9885 return resultobj;
9886 fail:
9887 return NULL;
9888}
9889
9890
9891static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9892 PyObject *resultobj;
9893 wxJoystick *arg1 = (wxJoystick *) 0 ;
9894 int result;
9895 PyObject * obj0 = 0 ;
9896 char *kwnames[] = {
9897 (char *) "self", NULL
9898 };
9899
9900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
9901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9903 {
9904 PyThreadState* __tstate = wxPyBeginAllowThreads();
9905 result = (int)(arg1)->GetXMin();
9906
9907 wxPyEndAllowThreads(__tstate);
9908 if (PyErr_Occurred()) SWIG_fail;
9909 }
15afbcd0 9910 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9911 return resultobj;
9912 fail:
9913 return NULL;
9914}
9915
9916
9917static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9918 PyObject *resultobj;
9919 wxJoystick *arg1 = (wxJoystick *) 0 ;
9920 int result;
9921 PyObject * obj0 = 0 ;
9922 char *kwnames[] = {
9923 (char *) "self", NULL
9924 };
9925
9926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
9927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9929 {
9930 PyThreadState* __tstate = wxPyBeginAllowThreads();
9931 result = (int)(arg1)->GetYMin();
9932
9933 wxPyEndAllowThreads(__tstate);
9934 if (PyErr_Occurred()) SWIG_fail;
9935 }
15afbcd0 9936 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9937 return resultobj;
9938 fail:
9939 return NULL;
9940}
9941
9942
9943static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9944 PyObject *resultobj;
9945 wxJoystick *arg1 = (wxJoystick *) 0 ;
9946 int result;
9947 PyObject * obj0 = 0 ;
9948 char *kwnames[] = {
9949 (char *) "self", NULL
9950 };
9951
9952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
9953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9955 {
9956 PyThreadState* __tstate = wxPyBeginAllowThreads();
9957 result = (int)(arg1)->GetZMin();
9958
9959 wxPyEndAllowThreads(__tstate);
9960 if (PyErr_Occurred()) SWIG_fail;
9961 }
15afbcd0 9962 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9963 return resultobj;
9964 fail:
9965 return NULL;
9966}
9967
9968
9969static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9970 PyObject *resultobj;
9971 wxJoystick *arg1 = (wxJoystick *) 0 ;
9972 int result;
9973 PyObject * obj0 = 0 ;
9974 char *kwnames[] = {
9975 (char *) "self", NULL
9976 };
9977
9978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
9979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9981 {
9982 PyThreadState* __tstate = wxPyBeginAllowThreads();
9983 result = (int)(arg1)->GetXMax();
9984
9985 wxPyEndAllowThreads(__tstate);
9986 if (PyErr_Occurred()) SWIG_fail;
9987 }
15afbcd0 9988 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9989 return resultobj;
9990 fail:
9991 return NULL;
9992}
9993
9994
9995static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9996 PyObject *resultobj;
9997 wxJoystick *arg1 = (wxJoystick *) 0 ;
9998 int result;
9999 PyObject * obj0 = 0 ;
10000 char *kwnames[] = {
10001 (char *) "self", NULL
10002 };
10003
10004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
10005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10007 {
10008 PyThreadState* __tstate = wxPyBeginAllowThreads();
10009 result = (int)(arg1)->GetYMax();
10010
10011 wxPyEndAllowThreads(__tstate);
10012 if (PyErr_Occurred()) SWIG_fail;
10013 }
15afbcd0 10014 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10015 return resultobj;
10016 fail:
10017 return NULL;
10018}
10019
10020
10021static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10022 PyObject *resultobj;
10023 wxJoystick *arg1 = (wxJoystick *) 0 ;
10024 int result;
10025 PyObject * obj0 = 0 ;
10026 char *kwnames[] = {
10027 (char *) "self", NULL
10028 };
10029
10030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
10031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10033 {
10034 PyThreadState* __tstate = wxPyBeginAllowThreads();
10035 result = (int)(arg1)->GetZMax();
10036
10037 wxPyEndAllowThreads(__tstate);
10038 if (PyErr_Occurred()) SWIG_fail;
10039 }
15afbcd0 10040 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10041 return resultobj;
10042 fail:
10043 return NULL;
10044}
10045
10046
10047static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
10048 PyObject *resultobj;
10049 wxJoystick *arg1 = (wxJoystick *) 0 ;
10050 int result;
10051 PyObject * obj0 = 0 ;
10052 char *kwnames[] = {
10053 (char *) "self", NULL
10054 };
10055
10056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
15afbcd0
RD
10057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10059 {
10060 PyThreadState* __tstate = wxPyBeginAllowThreads();
10061 result = (int)(arg1)->GetNumberButtons();
10062
10063 wxPyEndAllowThreads(__tstate);
10064 if (PyErr_Occurred()) SWIG_fail;
10065 }
15afbcd0 10066 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10067 return resultobj;
10068 fail:
10069 return NULL;
10070}
10071
10072
10073static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
10074 PyObject *resultobj;
10075 wxJoystick *arg1 = (wxJoystick *) 0 ;
10076 int result;
10077 PyObject * obj0 = 0 ;
10078 char *kwnames[] = {
10079 (char *) "self", NULL
10080 };
10081
10082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
15afbcd0
RD
10083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10085 {
10086 PyThreadState* __tstate = wxPyBeginAllowThreads();
10087 result = (int)(arg1)->GetNumberAxes();
10088
10089 wxPyEndAllowThreads(__tstate);
10090 if (PyErr_Occurred()) SWIG_fail;
10091 }
15afbcd0 10092 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10093 return resultobj;
10094 fail:
10095 return NULL;
10096}
10097
10098
10099static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
10100 PyObject *resultobj;
10101 wxJoystick *arg1 = (wxJoystick *) 0 ;
10102 int result;
10103 PyObject * obj0 = 0 ;
10104 char *kwnames[] = {
10105 (char *) "self", NULL
10106 };
10107
10108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
15afbcd0
RD
10109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10111 {
10112 PyThreadState* __tstate = wxPyBeginAllowThreads();
10113 result = (int)(arg1)->GetMaxButtons();
10114
10115 wxPyEndAllowThreads(__tstate);
10116 if (PyErr_Occurred()) SWIG_fail;
10117 }
15afbcd0 10118 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10119 return resultobj;
10120 fail:
10121 return NULL;
10122}
10123
10124
10125static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
10126 PyObject *resultobj;
10127 wxJoystick *arg1 = (wxJoystick *) 0 ;
10128 int result;
10129 PyObject * obj0 = 0 ;
10130 char *kwnames[] = {
10131 (char *) "self", NULL
10132 };
10133
10134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
15afbcd0
RD
10135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10137 {
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 result = (int)(arg1)->GetMaxAxes();
10140
10141 wxPyEndAllowThreads(__tstate);
10142 if (PyErr_Occurred()) SWIG_fail;
10143 }
15afbcd0 10144 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10145 return resultobj;
10146 fail:
10147 return NULL;
10148}
10149
10150
10151static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10152 PyObject *resultobj;
10153 wxJoystick *arg1 = (wxJoystick *) 0 ;
10154 int result;
10155 PyObject * obj0 = 0 ;
10156 char *kwnames[] = {
10157 (char *) "self", NULL
10158 };
10159
10160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
10161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10163 {
10164 PyThreadState* __tstate = wxPyBeginAllowThreads();
10165 result = (int)(arg1)->GetPollingMin();
10166
10167 wxPyEndAllowThreads(__tstate);
10168 if (PyErr_Occurred()) SWIG_fail;
10169 }
15afbcd0 10170 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10171 return resultobj;
10172 fail:
10173 return NULL;
10174}
10175
10176
10177static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10178 PyObject *resultobj;
10179 wxJoystick *arg1 = (wxJoystick *) 0 ;
10180 int result;
10181 PyObject * obj0 = 0 ;
10182 char *kwnames[] = {
10183 (char *) "self", NULL
10184 };
10185
10186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
10187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10189 {
10190 PyThreadState* __tstate = wxPyBeginAllowThreads();
10191 result = (int)(arg1)->GetPollingMax();
10192
10193 wxPyEndAllowThreads(__tstate);
10194 if (PyErr_Occurred()) SWIG_fail;
10195 }
15afbcd0 10196 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10197 return resultobj;
10198 fail:
10199 return NULL;
10200}
10201
10202
10203static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10204 PyObject *resultobj;
10205 wxJoystick *arg1 = (wxJoystick *) 0 ;
10206 int result;
10207 PyObject * obj0 = 0 ;
10208 char *kwnames[] = {
10209 (char *) "self", NULL
10210 };
10211
10212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
10213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10215 {
10216 PyThreadState* __tstate = wxPyBeginAllowThreads();
10217 result = (int)(arg1)->GetRudderMin();
10218
10219 wxPyEndAllowThreads(__tstate);
10220 if (PyErr_Occurred()) SWIG_fail;
10221 }
15afbcd0 10222 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10223 return resultobj;
10224 fail:
10225 return NULL;
10226}
10227
10228
10229static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10230 PyObject *resultobj;
10231 wxJoystick *arg1 = (wxJoystick *) 0 ;
10232 int result;
10233 PyObject * obj0 = 0 ;
10234 char *kwnames[] = {
10235 (char *) "self", NULL
10236 };
10237
10238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
10239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10241 {
10242 PyThreadState* __tstate = wxPyBeginAllowThreads();
10243 result = (int)(arg1)->GetRudderMax();
10244
10245 wxPyEndAllowThreads(__tstate);
10246 if (PyErr_Occurred()) SWIG_fail;
10247 }
15afbcd0 10248 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10249 return resultobj;
10250 fail:
10251 return NULL;
10252}
10253
10254
10255static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10256 PyObject *resultobj;
10257 wxJoystick *arg1 = (wxJoystick *) 0 ;
10258 int result;
10259 PyObject * obj0 = 0 ;
10260 char *kwnames[] = {
10261 (char *) "self", NULL
10262 };
10263
10264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
10265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10267 {
10268 PyThreadState* __tstate = wxPyBeginAllowThreads();
10269 result = (int)(arg1)->GetUMin();
10270
10271 wxPyEndAllowThreads(__tstate);
10272 if (PyErr_Occurred()) SWIG_fail;
10273 }
15afbcd0 10274 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10275 return resultobj;
10276 fail:
10277 return NULL;
10278}
10279
10280
10281static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10282 PyObject *resultobj;
10283 wxJoystick *arg1 = (wxJoystick *) 0 ;
10284 int result;
10285 PyObject * obj0 = 0 ;
10286 char *kwnames[] = {
10287 (char *) "self", NULL
10288 };
10289
10290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
10291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10293 {
10294 PyThreadState* __tstate = wxPyBeginAllowThreads();
10295 result = (int)(arg1)->GetUMax();
10296
10297 wxPyEndAllowThreads(__tstate);
10298 if (PyErr_Occurred()) SWIG_fail;
10299 }
15afbcd0 10300 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10301 return resultobj;
10302 fail:
10303 return NULL;
10304}
10305
10306
10307static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10308 PyObject *resultobj;
10309 wxJoystick *arg1 = (wxJoystick *) 0 ;
10310 int result;
10311 PyObject * obj0 = 0 ;
10312 char *kwnames[] = {
10313 (char *) "self", NULL
10314 };
10315
10316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
10317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10319 {
10320 PyThreadState* __tstate = wxPyBeginAllowThreads();
10321 result = (int)(arg1)->GetVMin();
10322
10323 wxPyEndAllowThreads(__tstate);
10324 if (PyErr_Occurred()) SWIG_fail;
10325 }
15afbcd0 10326 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10327 return resultobj;
10328 fail:
10329 return NULL;
10330}
10331
10332
10333static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10334 PyObject *resultobj;
10335 wxJoystick *arg1 = (wxJoystick *) 0 ;
10336 int result;
10337 PyObject * obj0 = 0 ;
10338 char *kwnames[] = {
10339 (char *) "self", NULL
10340 };
10341
10342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
10343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10345 {
10346 PyThreadState* __tstate = wxPyBeginAllowThreads();
10347 result = (int)(arg1)->GetVMax();
10348
10349 wxPyEndAllowThreads(__tstate);
10350 if (PyErr_Occurred()) SWIG_fail;
10351 }
15afbcd0 10352 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10353 return resultobj;
10354 fail:
10355 return NULL;
10356}
10357
10358
10359static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
10360 PyObject *resultobj;
10361 wxJoystick *arg1 = (wxJoystick *) 0 ;
10362 bool result;
10363 PyObject * obj0 = 0 ;
10364 char *kwnames[] = {
10365 (char *) "self", NULL
10366 };
10367
10368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
15afbcd0
RD
10369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10371 {
10372 PyThreadState* __tstate = wxPyBeginAllowThreads();
10373 result = (bool)(arg1)->HasRudder();
10374
10375 wxPyEndAllowThreads(__tstate);
10376 if (PyErr_Occurred()) SWIG_fail;
10377 }
4f89f6a3
RD
10378 {
10379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10380 }
d14a1e28
RD
10381 return resultobj;
10382 fail:
10383 return NULL;
10384}
10385
10386
10387static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
10388 PyObject *resultobj;
10389 wxJoystick *arg1 = (wxJoystick *) 0 ;
10390 bool result;
10391 PyObject * obj0 = 0 ;
10392 char *kwnames[] = {
10393 (char *) "self", NULL
10394 };
10395
10396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
15afbcd0
RD
10397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10399 {
10400 PyThreadState* __tstate = wxPyBeginAllowThreads();
10401 result = (bool)(arg1)->HasZ();
10402
10403 wxPyEndAllowThreads(__tstate);
10404 if (PyErr_Occurred()) SWIG_fail;
10405 }
4f89f6a3
RD
10406 {
10407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10408 }
d14a1e28
RD
10409 return resultobj;
10410 fail:
10411 return NULL;
10412}
10413
10414
10415static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
10416 PyObject *resultobj;
10417 wxJoystick *arg1 = (wxJoystick *) 0 ;
10418 bool result;
10419 PyObject * obj0 = 0 ;
10420 char *kwnames[] = {
10421 (char *) "self", NULL
10422 };
10423
10424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
15afbcd0
RD
10425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10427 {
10428 PyThreadState* __tstate = wxPyBeginAllowThreads();
10429 result = (bool)(arg1)->HasU();
10430
10431 wxPyEndAllowThreads(__tstate);
10432 if (PyErr_Occurred()) SWIG_fail;
10433 }
4f89f6a3
RD
10434 {
10435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10436 }
d14a1e28
RD
10437 return resultobj;
10438 fail:
10439 return NULL;
10440}
10441
10442
10443static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
10444 PyObject *resultobj;
10445 wxJoystick *arg1 = (wxJoystick *) 0 ;
10446 bool result;
10447 PyObject * obj0 = 0 ;
10448 char *kwnames[] = {
10449 (char *) "self", NULL
10450 };
10451
10452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
15afbcd0
RD
10453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10455 {
10456 PyThreadState* __tstate = wxPyBeginAllowThreads();
10457 result = (bool)(arg1)->HasV();
10458
10459 wxPyEndAllowThreads(__tstate);
10460 if (PyErr_Occurred()) SWIG_fail;
10461 }
4f89f6a3
RD
10462 {
10463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10464 }
d14a1e28
RD
10465 return resultobj;
10466 fail:
10467 return NULL;
10468}
10469
10470
10471static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
10472 PyObject *resultobj;
10473 wxJoystick *arg1 = (wxJoystick *) 0 ;
10474 bool result;
10475 PyObject * obj0 = 0 ;
10476 char *kwnames[] = {
10477 (char *) "self", NULL
10478 };
10479
10480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
15afbcd0
RD
10481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10483 {
10484 PyThreadState* __tstate = wxPyBeginAllowThreads();
10485 result = (bool)(arg1)->HasPOV();
10486
10487 wxPyEndAllowThreads(__tstate);
10488 if (PyErr_Occurred()) SWIG_fail;
10489 }
4f89f6a3
RD
10490 {
10491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10492 }
d14a1e28
RD
10493 return resultobj;
10494 fail:
10495 return NULL;
10496}
10497
10498
10499static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
10500 PyObject *resultobj;
10501 wxJoystick *arg1 = (wxJoystick *) 0 ;
10502 bool result;
10503 PyObject * obj0 = 0 ;
10504 char *kwnames[] = {
10505 (char *) "self", NULL
10506 };
10507
10508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
15afbcd0
RD
10509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10511 {
10512 PyThreadState* __tstate = wxPyBeginAllowThreads();
10513 result = (bool)(arg1)->HasPOV4Dir();
10514
10515 wxPyEndAllowThreads(__tstate);
10516 if (PyErr_Occurred()) SWIG_fail;
10517 }
4f89f6a3
RD
10518 {
10519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10520 }
d14a1e28
RD
10521 return resultobj;
10522 fail:
10523 return NULL;
10524}
10525
10526
10527static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
10528 PyObject *resultobj;
10529 wxJoystick *arg1 = (wxJoystick *) 0 ;
10530 bool result;
10531 PyObject * obj0 = 0 ;
10532 char *kwnames[] = {
10533 (char *) "self", NULL
10534 };
10535
10536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
15afbcd0
RD
10537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10539 {
10540 PyThreadState* __tstate = wxPyBeginAllowThreads();
10541 result = (bool)(arg1)->HasPOVCTS();
10542
10543 wxPyEndAllowThreads(__tstate);
10544 if (PyErr_Occurred()) SWIG_fail;
10545 }
4f89f6a3
RD
10546 {
10547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10548 }
d14a1e28
RD
10549 return resultobj;
10550 fail:
10551 return NULL;
10552}
10553
10554
10555static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10556 PyObject *resultobj;
10557 wxJoystick *arg1 = (wxJoystick *) 0 ;
10558 wxWindow *arg2 = (wxWindow *) 0 ;
10559 int arg3 = (int) 0 ;
10560 bool result;
10561 PyObject * obj0 = 0 ;
10562 PyObject * obj1 = 0 ;
994141e6 10563 PyObject * obj2 = 0 ;
d14a1e28
RD
10564 char *kwnames[] = {
10565 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10566 };
10567
994141e6 10568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10571 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10573 if (obj2) {
15afbcd0
RD
10574 arg3 = (int) SWIG_AsInt(obj2);
10575 if (PyErr_Occurred()) SWIG_fail;
994141e6 10576 }
d14a1e28
RD
10577 {
10578 PyThreadState* __tstate = wxPyBeginAllowThreads();
10579 result = (bool)(arg1)->SetCapture(arg2,arg3);
10580
10581 wxPyEndAllowThreads(__tstate);
10582 if (PyErr_Occurred()) SWIG_fail;
10583 }
4f89f6a3
RD
10584 {
10585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10586 }
d14a1e28
RD
10587 return resultobj;
10588 fail:
10589 return NULL;
10590}
10591
10592
10593static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10594 PyObject *resultobj;
10595 wxJoystick *arg1 = (wxJoystick *) 0 ;
10596 bool result;
10597 PyObject * obj0 = 0 ;
10598 char *kwnames[] = {
10599 (char *) "self", NULL
10600 };
10601
10602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
15afbcd0
RD
10603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10605 {
10606 PyThreadState* __tstate = wxPyBeginAllowThreads();
10607 result = (bool)(arg1)->ReleaseCapture();
10608
10609 wxPyEndAllowThreads(__tstate);
10610 if (PyErr_Occurred()) SWIG_fail;
10611 }
4f89f6a3
RD
10612 {
10613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10614 }
d14a1e28
RD
10615 return resultobj;
10616 fail:
10617 return NULL;
10618}
10619
10620
10621static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
10622 PyObject *obj;
10623 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10624 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
10625 Py_INCREF(obj);
10626 return Py_BuildValue((char *)"");
10627}
10628static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10629 PyObject *resultobj;
10630 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10631 wxPoint *arg2 = (wxPoint *) 0 ;
10632 PyObject * obj0 = 0 ;
10633 PyObject * obj1 = 0 ;
10634 char *kwnames[] = {
10635 (char *) "self",(char *) "m_pos", NULL
10636 };
10637
10638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
10642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10643 if (arg1) (arg1)->m_pos = *arg2;
10644
10645 Py_INCREF(Py_None); resultobj = Py_None;
10646 return resultobj;
10647 fail:
10648 return NULL;
10649}
10650
10651
10652static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10653 PyObject *resultobj;
10654 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10655 wxPoint *result;
10656 PyObject * obj0 = 0 ;
10657 char *kwnames[] = {
10658 (char *) "self", NULL
10659 };
10660
10661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
10662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10664 result = (wxPoint *)& ((arg1)->m_pos);
10665
15afbcd0 10666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
10667 return resultobj;
10668 fail:
10669 return NULL;
10670}
10671
10672
10673static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10674 PyObject *resultobj;
10675 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10676 int arg2 ;
10677 PyObject * obj0 = 0 ;
994141e6 10678 PyObject * obj1 = 0 ;
d14a1e28
RD
10679 char *kwnames[] = {
10680 (char *) "self",(char *) "m_zPosition", NULL
10681 };
10682
994141e6 10683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10686 arg2 = (int) SWIG_AsInt(obj1);
10687 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10688 if (arg1) (arg1)->m_zPosition = arg2;
10689
10690 Py_INCREF(Py_None); resultobj = Py_None;
10691 return resultobj;
10692 fail:
10693 return NULL;
10694}
10695
10696
10697static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10698 PyObject *resultobj;
10699 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10700 int result;
10701 PyObject * obj0 = 0 ;
10702 char *kwnames[] = {
10703 (char *) "self", NULL
10704 };
10705
10706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
10707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10709 result = (int) ((arg1)->m_zPosition);
10710
15afbcd0 10711 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10712 return resultobj;
10713 fail:
10714 return NULL;
10715}
10716
10717
10718static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10719 PyObject *resultobj;
10720 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10721 int arg2 ;
10722 PyObject * obj0 = 0 ;
994141e6 10723 PyObject * obj1 = 0 ;
d14a1e28
RD
10724 char *kwnames[] = {
10725 (char *) "self",(char *) "m_buttonChange", NULL
10726 };
10727
994141e6 10728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10731 arg2 = (int) SWIG_AsInt(obj1);
10732 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10733 if (arg1) (arg1)->m_buttonChange = arg2;
10734
10735 Py_INCREF(Py_None); resultobj = Py_None;
10736 return resultobj;
10737 fail:
10738 return NULL;
10739}
10740
10741
10742static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10743 PyObject *resultobj;
10744 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10745 int result;
10746 PyObject * obj0 = 0 ;
10747 char *kwnames[] = {
10748 (char *) "self", NULL
10749 };
10750
10751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
10752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10754 result = (int) ((arg1)->m_buttonChange);
10755
15afbcd0 10756 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10757 return resultobj;
10758 fail:
10759 return NULL;
10760}
10761
10762
10763static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10764 PyObject *resultobj;
10765 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10766 int arg2 ;
10767 PyObject * obj0 = 0 ;
994141e6 10768 PyObject * obj1 = 0 ;
d14a1e28
RD
10769 char *kwnames[] = {
10770 (char *) "self",(char *) "m_buttonState", NULL
10771 };
10772
994141e6 10773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10776 arg2 = (int) SWIG_AsInt(obj1);
10777 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10778 if (arg1) (arg1)->m_buttonState = arg2;
10779
10780 Py_INCREF(Py_None); resultobj = Py_None;
10781 return resultobj;
10782 fail:
10783 return NULL;
10784}
10785
10786
10787static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10788 PyObject *resultobj;
10789 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10790 int result;
10791 PyObject * obj0 = 0 ;
10792 char *kwnames[] = {
10793 (char *) "self", NULL
10794 };
10795
10796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
10797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10799 result = (int) ((arg1)->m_buttonState);
10800
15afbcd0 10801 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10802 return resultobj;
10803 fail:
10804 return NULL;
10805}
10806
10807
10808static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10809 PyObject *resultobj;
10810 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10811 int arg2 ;
10812 PyObject * obj0 = 0 ;
994141e6 10813 PyObject * obj1 = 0 ;
d14a1e28
RD
10814 char *kwnames[] = {
10815 (char *) "self",(char *) "m_joyStick", NULL
10816 };
10817
994141e6 10818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10821 arg2 = (int) SWIG_AsInt(obj1);
10822 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10823 if (arg1) (arg1)->m_joyStick = arg2;
10824
10825 Py_INCREF(Py_None); resultobj = Py_None;
10826 return resultobj;
10827 fail:
10828 return NULL;
10829}
10830
10831
10832static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10833 PyObject *resultobj;
10834 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10835 int result;
10836 PyObject * obj0 = 0 ;
10837 char *kwnames[] = {
10838 (char *) "self", NULL
10839 };
10840
10841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
10842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10844 result = (int) ((arg1)->m_joyStick);
10845
15afbcd0 10846 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10847 return resultobj;
10848 fail:
10849 return NULL;
10850}
10851
10852
10853static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10854 PyObject *resultobj;
10855 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10856 int arg2 = (int) 0 ;
10857 int arg3 = (int) wxJOYSTICK1 ;
10858 int arg4 = (int) 0 ;
10859 wxJoystickEvent *result;
994141e6
RD
10860 PyObject * obj0 = 0 ;
10861 PyObject * obj1 = 0 ;
10862 PyObject * obj2 = 0 ;
10863 PyObject * obj3 = 0 ;
d14a1e28
RD
10864 char *kwnames[] = {
10865 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10866 };
10867
994141e6
RD
10868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10869 if (obj0) {
15afbcd0
RD
10870 arg1 = (wxEventType) SWIG_AsInt(obj0);
10871 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10872 }
10873 if (obj1) {
15afbcd0
RD
10874 arg2 = (int) SWIG_AsInt(obj1);
10875 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10876 }
10877 if (obj2) {
15afbcd0
RD
10878 arg3 = (int) SWIG_AsInt(obj2);
10879 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10880 }
10881 if (obj3) {
15afbcd0
RD
10882 arg4 = (int) SWIG_AsInt(obj3);
10883 if (PyErr_Occurred()) SWIG_fail;
994141e6 10884 }
d14a1e28
RD
10885 {
10886 PyThreadState* __tstate = wxPyBeginAllowThreads();
10887 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
10888
10889 wxPyEndAllowThreads(__tstate);
10890 if (PyErr_Occurred()) SWIG_fail;
10891 }
15afbcd0 10892 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
d14a1e28
RD
10893 return resultobj;
10894 fail:
10895 return NULL;
10896}
10897
10898
10899static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10900 PyObject *resultobj;
10901 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10902 wxPoint result;
10903 PyObject * obj0 = 0 ;
10904 char *kwnames[] = {
10905 (char *) "self", NULL
10906 };
10907
10908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
10909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10911 {
10912 PyThreadState* __tstate = wxPyBeginAllowThreads();
10913 result = ((wxJoystickEvent const *)arg1)->GetPosition();
10914
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
10918 {
10919 wxPoint * resultptr;
10920 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 10921 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
10922 }
10923 return resultobj;
10924 fail:
10925 return NULL;
10926}
10927
10928
10929static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10930 PyObject *resultobj;
10931 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10932 int result;
10933 PyObject * obj0 = 0 ;
10934 char *kwnames[] = {
10935 (char *) "self", NULL
10936 };
10937
10938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
10939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10941 {
10942 PyThreadState* __tstate = wxPyBeginAllowThreads();
10943 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
10944
10945 wxPyEndAllowThreads(__tstate);
10946 if (PyErr_Occurred()) SWIG_fail;
10947 }
15afbcd0 10948 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10949 return resultobj;
10950 fail:
10951 return NULL;
10952}
10953
10954
10955static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10956 PyObject *resultobj;
10957 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10958 int result;
10959 PyObject * obj0 = 0 ;
10960 char *kwnames[] = {
10961 (char *) "self", NULL
10962 };
10963
10964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
15afbcd0
RD
10965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10967 {
10968 PyThreadState* __tstate = wxPyBeginAllowThreads();
10969 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
10970
10971 wxPyEndAllowThreads(__tstate);
10972 if (PyErr_Occurred()) SWIG_fail;
10973 }
15afbcd0 10974 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10975 return resultobj;
10976 fail:
10977 return NULL;
10978}
10979
10980
10981static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10982 PyObject *resultobj;
10983 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10984 int result;
10985 PyObject * obj0 = 0 ;
10986 char *kwnames[] = {
10987 (char *) "self", NULL
10988 };
10989
10990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
15afbcd0
RD
10991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10993 {
10994 PyThreadState* __tstate = wxPyBeginAllowThreads();
10995 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10996
10997 wxPyEndAllowThreads(__tstate);
10998 if (PyErr_Occurred()) SWIG_fail;
10999 }
15afbcd0 11000 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11001 return resultobj;
11002 fail:
11003 return NULL;
11004}
11005
11006
11007static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
11008 PyObject *resultobj;
11009 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11010 int result;
11011 PyObject * obj0 = 0 ;
11012 char *kwnames[] = {
11013 (char *) "self", NULL
11014 };
11015
11016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
15afbcd0
RD
11017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11019 {
11020 PyThreadState* __tstate = wxPyBeginAllowThreads();
11021 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
11022
11023 wxPyEndAllowThreads(__tstate);
11024 if (PyErr_Occurred()) SWIG_fail;
11025 }
15afbcd0 11026 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11027 return resultobj;
11028 fail:
11029 return NULL;
11030}
11031
11032
11033static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
11034 PyObject *resultobj;
11035 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11036 int arg2 ;
11037 PyObject * obj0 = 0 ;
994141e6 11038 PyObject * obj1 = 0 ;
d14a1e28
RD
11039 char *kwnames[] = {
11040 (char *) "self",(char *) "stick", NULL
11041 };
11042
994141e6 11043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11046 arg2 = (int) SWIG_AsInt(obj1);
11047 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11048 {
11049 PyThreadState* __tstate = wxPyBeginAllowThreads();
11050 (arg1)->SetJoystick(arg2);
11051
11052 wxPyEndAllowThreads(__tstate);
11053 if (PyErr_Occurred()) SWIG_fail;
11054 }
11055 Py_INCREF(Py_None); resultobj = Py_None;
11056 return resultobj;
11057 fail:
11058 return NULL;
11059}
11060
11061
11062static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
11063 PyObject *resultobj;
11064 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11065 int arg2 ;
11066 PyObject * obj0 = 0 ;
994141e6 11067 PyObject * obj1 = 0 ;
d14a1e28
RD
11068 char *kwnames[] = {
11069 (char *) "self",(char *) "state", NULL
11070 };
11071
994141e6 11072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11075 arg2 = (int) SWIG_AsInt(obj1);
11076 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11077 {
11078 PyThreadState* __tstate = wxPyBeginAllowThreads();
11079 (arg1)->SetButtonState(arg2);
11080
11081 wxPyEndAllowThreads(__tstate);
11082 if (PyErr_Occurred()) SWIG_fail;
11083 }
11084 Py_INCREF(Py_None); resultobj = Py_None;
11085 return resultobj;
11086 fail:
11087 return NULL;
11088}
11089
11090
11091static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
11092 PyObject *resultobj;
11093 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11094 int arg2 ;
11095 PyObject * obj0 = 0 ;
994141e6 11096 PyObject * obj1 = 0 ;
d14a1e28
RD
11097 char *kwnames[] = {
11098 (char *) "self",(char *) "change", NULL
11099 };
11100
994141e6 11101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11104 arg2 = (int) SWIG_AsInt(obj1);
11105 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11106 {
11107 PyThreadState* __tstate = wxPyBeginAllowThreads();
11108 (arg1)->SetButtonChange(arg2);
11109
11110 wxPyEndAllowThreads(__tstate);
11111 if (PyErr_Occurred()) SWIG_fail;
11112 }
11113 Py_INCREF(Py_None); resultobj = Py_None;
11114 return resultobj;
11115 fail:
11116 return NULL;
11117}
11118
11119
11120static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11121 PyObject *resultobj;
11122 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11123 wxPoint *arg2 = 0 ;
11124 wxPoint temp2 ;
11125 PyObject * obj0 = 0 ;
11126 PyObject * obj1 = 0 ;
11127 char *kwnames[] = {
11128 (char *) "self",(char *) "pos", NULL
11129 };
11130
11131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11134 {
11135 arg2 = &temp2;
11136 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11137 }
11138 {
11139 PyThreadState* __tstate = wxPyBeginAllowThreads();
11140 (arg1)->SetPosition((wxPoint const &)*arg2);
11141
11142 wxPyEndAllowThreads(__tstate);
11143 if (PyErr_Occurred()) SWIG_fail;
11144 }
11145 Py_INCREF(Py_None); resultobj = Py_None;
11146 return resultobj;
11147 fail:
11148 return NULL;
11149}
11150
11151
11152static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11153 PyObject *resultobj;
11154 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11155 int arg2 ;
11156 PyObject * obj0 = 0 ;
994141e6 11157 PyObject * obj1 = 0 ;
d14a1e28
RD
11158 char *kwnames[] = {
11159 (char *) "self",(char *) "zPos", NULL
11160 };
11161
994141e6 11162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11165 arg2 = (int) SWIG_AsInt(obj1);
11166 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11167 {
11168 PyThreadState* __tstate = wxPyBeginAllowThreads();
11169 (arg1)->SetZPosition(arg2);
11170
11171 wxPyEndAllowThreads(__tstate);
11172 if (PyErr_Occurred()) SWIG_fail;
11173 }
11174 Py_INCREF(Py_None); resultobj = Py_None;
11175 return resultobj;
11176 fail:
11177 return NULL;
11178}
11179
11180
11181static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11182 PyObject *resultobj;
11183 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11184 bool result;
11185 PyObject * obj0 = 0 ;
11186 char *kwnames[] = {
11187 (char *) "self", NULL
11188 };
11189
11190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
11191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11193 {
11194 PyThreadState* __tstate = wxPyBeginAllowThreads();
11195 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
11196
11197 wxPyEndAllowThreads(__tstate);
11198 if (PyErr_Occurred()) SWIG_fail;
11199 }
4f89f6a3
RD
11200 {
11201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11202 }
d14a1e28
RD
11203 return resultobj;
11204 fail:
11205 return NULL;
11206}
11207
11208
11209static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11210 PyObject *resultobj;
11211 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11212 bool result;
11213 PyObject * obj0 = 0 ;
11214 char *kwnames[] = {
11215 (char *) "self", NULL
11216 };
11217
11218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
15afbcd0
RD
11219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11221 {
11222 PyThreadState* __tstate = wxPyBeginAllowThreads();
11223 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
11224
11225 wxPyEndAllowThreads(__tstate);
11226 if (PyErr_Occurred()) SWIG_fail;
11227 }
4f89f6a3
RD
11228 {
11229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11230 }
d14a1e28
RD
11231 return resultobj;
11232 fail:
11233 return NULL;
11234}
11235
11236
11237static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11238 PyObject *resultobj;
11239 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11240 bool result;
11241 PyObject * obj0 = 0 ;
11242 char *kwnames[] = {
11243 (char *) "self", NULL
11244 };
11245
11246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
15afbcd0
RD
11247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11249 {
11250 PyThreadState* __tstate = wxPyBeginAllowThreads();
11251 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
11252
11253 wxPyEndAllowThreads(__tstate);
11254 if (PyErr_Occurred()) SWIG_fail;
11255 }
4f89f6a3
RD
11256 {
11257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11258 }
d14a1e28
RD
11259 return resultobj;
11260 fail:
11261 return NULL;
11262}
11263
11264
11265static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11266 PyObject *resultobj;
11267 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11268 int arg2 = (int) wxJOY_BUTTON_ANY ;
11269 bool result;
11270 PyObject * obj0 = 0 ;
994141e6 11271 PyObject * obj1 = 0 ;
d14a1e28
RD
11272 char *kwnames[] = {
11273 (char *) "self",(char *) "but", NULL
11274 };
11275
994141e6 11276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 11279 if (obj1) {
15afbcd0
RD
11280 arg2 = (int) SWIG_AsInt(obj1);
11281 if (PyErr_Occurred()) SWIG_fail;
994141e6 11282 }
d14a1e28
RD
11283 {
11284 PyThreadState* __tstate = wxPyBeginAllowThreads();
11285 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
11286
11287 wxPyEndAllowThreads(__tstate);
11288 if (PyErr_Occurred()) SWIG_fail;
11289 }
4f89f6a3
RD
11290 {
11291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11292 }
d14a1e28
RD
11293 return resultobj;
11294 fail:
11295 return NULL;
11296}
11297
11298
11299static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11300 PyObject *resultobj;
11301 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11302 int arg2 = (int) wxJOY_BUTTON_ANY ;
11303 bool result;
11304 PyObject * obj0 = 0 ;
994141e6 11305 PyObject * obj1 = 0 ;
d14a1e28
RD
11306 char *kwnames[] = {
11307 (char *) "self",(char *) "but", NULL
11308 };
11309
994141e6 11310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 11313 if (obj1) {
15afbcd0
RD
11314 arg2 = (int) SWIG_AsInt(obj1);
11315 if (PyErr_Occurred()) SWIG_fail;
994141e6 11316 }
d14a1e28
RD
11317 {
11318 PyThreadState* __tstate = wxPyBeginAllowThreads();
11319 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
11320
11321 wxPyEndAllowThreads(__tstate);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 }
4f89f6a3
RD
11324 {
11325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11326 }
d14a1e28
RD
11327 return resultobj;
11328 fail:
11329 return NULL;
11330}
11331
11332
11333static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11334 PyObject *resultobj;
11335 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11336 int arg2 = (int) wxJOY_BUTTON_ANY ;
11337 bool result;
11338 PyObject * obj0 = 0 ;
994141e6 11339 PyObject * obj1 = 0 ;
d14a1e28
RD
11340 char *kwnames[] = {
11341 (char *) "self",(char *) "but", NULL
11342 };
11343
994141e6 11344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 11347 if (obj1) {
15afbcd0
RD
11348 arg2 = (int) SWIG_AsInt(obj1);
11349 if (PyErr_Occurred()) SWIG_fail;
994141e6 11350 }
d14a1e28
RD
11351 {
11352 PyThreadState* __tstate = wxPyBeginAllowThreads();
11353 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
11354
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 }
4f89f6a3
RD
11358 {
11359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11360 }
d14a1e28
RD
11361 return resultobj;
11362 fail:
11363 return NULL;
11364}
11365
11366
11367static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
11368 PyObject *obj;
11369 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11370 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
11371 Py_INCREF(obj);
11372 return Py_BuildValue((char *)"");
11373}
4d5c3d91
RD
11374static PyObject *_wrap_new_Sound__SWIG_0(PyObject *self, PyObject *args) {
11375 PyObject *resultobj;
11376 wxSound *result;
11377
11378 if(!PyArg_ParseTuple(args,(char *)":new_Sound")) goto fail;
11379 {
11380 PyThreadState* __tstate = wxPyBeginAllowThreads();
11381 result = (wxSound *)new wxSound();
11382
11383 wxPyEndAllowThreads(__tstate);
11384 if (PyErr_Occurred()) SWIG_fail;
11385 }
15afbcd0 11386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
4d5c3d91
RD
11387 return resultobj;
11388 fail:
11389 return NULL;
11390}
11391
11392
11393static PyObject *_wrap_new_Sound__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28
RD
11394 PyObject *resultobj;
11395 wxString *arg1 = 0 ;
4d5c3d91
RD
11396 bool arg2 = (bool) false ;
11397 wxSound *result;
e811c8ce 11398 bool temp1 = False ;
d14a1e28
RD
11399 PyObject * obj0 = 0 ;
11400 PyObject * obj1 = 0 ;
d14a1e28 11401
4d5c3d91 11402 if(!PyArg_ParseTuple(args,(char *)"O|O:new_Sound",&obj0,&obj1)) goto fail;
d14a1e28
RD
11403 {
11404 arg1 = wxString_in_helper(obj0);
11405 if (arg1 == NULL) SWIG_fail;
e811c8ce 11406 temp1 = True;
d14a1e28
RD
11407 }
11408 if (obj1) {
15afbcd0
RD
11409 arg2 = (bool) SWIG_AsBool(obj1);
11410 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11411 }
11412 {
11413 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 11414 result = (wxSound *)new wxSound((wxString const &)*arg1,arg2);
d14a1e28
RD
11415
11416 wxPyEndAllowThreads(__tstate);
11417 if (PyErr_Occurred()) SWIG_fail;
11418 }
15afbcd0 11419 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
d14a1e28
RD
11420 {
11421 if (temp1)
11422 delete arg1;
11423 }
11424 return resultobj;
11425 fail:
11426 {
11427 if (temp1)
11428 delete arg1;
11429 }
11430 return NULL;
11431}
11432
11433
4d5c3d91 11434static PyObject *_wrap_new_Sound__SWIG_2(PyObject *self, PyObject *args) {
d14a1e28 11435 PyObject *resultobj;
4d5c3d91
RD
11436 int arg1 ;
11437 wxByte *arg2 = (wxByte *) 0 ;
11438 wxSound *result;
d14a1e28 11439 PyObject * obj0 = 0 ;
4d5c3d91 11440 PyObject * obj1 = 0 ;
d14a1e28 11441
4d5c3d91 11442 if(!PyArg_ParseTuple(args,(char *)"OO:new_Sound",&obj0,&obj1)) goto fail;
15afbcd0
RD
11443 arg1 = (int) SWIG_AsInt(obj0);
11444 if (PyErr_Occurred()) SWIG_fail;
11445 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxByte,
11446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11447 {
11448 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 11449 result = (wxSound *)new wxSound(arg1,(wxByte const *)arg2);
d14a1e28
RD
11450
11451 wxPyEndAllowThreads(__tstate);
11452 if (PyErr_Occurred()) SWIG_fail;
11453 }
15afbcd0 11454 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
d14a1e28
RD
11455 return resultobj;
11456 fail:
4d5c3d91
RD
11457 return NULL;
11458}
11459
11460
11461static PyObject *_wrap_new_Sound(PyObject *self, PyObject *args) {
11462 int argc;
11463 PyObject *argv[3];
11464 int ii;
11465
11466 argc = PyObject_Length(args);
11467 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
11468 argv[ii] = PyTuple_GetItem(args,ii);
d14a1e28 11469 }
4d5c3d91
RD
11470 if (argc == 0) {
11471 return _wrap_new_Sound__SWIG_0(self,args);
11472 }
11473 if ((argc >= 1) && (argc <= 2)) {
11474 int _v;
11475 {
11476 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
11477 }
11478 if (_v) {
11479 if (argc <= 1) {
11480 return _wrap_new_Sound__SWIG_1(self,args);
11481 }
15afbcd0 11482 _v = SWIG_CheckBool(argv[1]);
4d5c3d91
RD
11483 if (_v) {
11484 return _wrap_new_Sound__SWIG_1(self,args);
11485 }
11486 }
11487 }
11488 if (argc == 2) {
11489 int _v;
15afbcd0 11490 _v = SWIG_CheckInt(argv[0]);
4d5c3d91
RD
11491 if (_v) {
11492 {
11493 void *ptr;
15afbcd0 11494 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
4d5c3d91
RD
11495 _v = 0;
11496 PyErr_Clear();
11497 } else {
11498 _v = 1;
11499 }
11500 }
11501 if (_v) {
11502 return _wrap_new_Sound__SWIG_2(self,args);
11503 }
11504 }
11505 }
11506
11507 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Sound'");
d14a1e28
RD
11508 return NULL;
11509}
11510
11511
4d5c3d91 11512static PyObject *_wrap_delete_Sound(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 11513 PyObject *resultobj;
4d5c3d91 11514 wxSound *arg1 = (wxSound *) 0 ;
d14a1e28
RD
11515 PyObject * obj0 = 0 ;
11516 char *kwnames[] = {
11517 (char *) "self", NULL
11518 };
11519
4d5c3d91 11520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
15afbcd0
RD
11521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11523 {
11524 PyThreadState* __tstate = wxPyBeginAllowThreads();
11525 delete arg1;
11526
11527 wxPyEndAllowThreads(__tstate);
11528 if (PyErr_Occurred()) SWIG_fail;
11529 }
11530 Py_INCREF(Py_None); resultobj = Py_None;
11531 return resultobj;
11532 fail:
11533 return NULL;
11534}
11535
11536
4d5c3d91 11537static PyObject *_wrap_Sound_Create__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28 11538 PyObject *resultobj;
4d5c3d91
RD
11539 wxSound *arg1 = (wxSound *) 0 ;
11540 wxString *arg2 = 0 ;
11541 bool arg3 = (bool) false ;
d14a1e28 11542 bool result;
4d5c3d91 11543 bool temp2 = False ;
d14a1e28 11544 PyObject * obj0 = 0 ;
4d5c3d91
RD
11545 PyObject * obj1 = 0 ;
11546 PyObject * obj2 = 0 ;
d14a1e28 11547
4d5c3d91 11548 if(!PyArg_ParseTuple(args,(char *)"OO|O:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4d5c3d91
RD
11551 {
11552 arg2 = wxString_in_helper(obj1);
11553 if (arg2 == NULL) SWIG_fail;
11554 temp2 = True;
11555 }
11556 if (obj2) {
15afbcd0
RD
11557 arg3 = (bool) SWIG_AsBool(obj2);
11558 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91 11559 }
d14a1e28
RD
11560 {
11561 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 11562 result = (bool)(arg1)->Create((wxString const &)*arg2,arg3);
d14a1e28
RD
11563
11564 wxPyEndAllowThreads(__tstate);
11565 if (PyErr_Occurred()) SWIG_fail;
11566 }
4f89f6a3
RD
11567 {
11568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11569 }
4d5c3d91
RD
11570 {
11571 if (temp2)
11572 delete arg2;
11573 }
d14a1e28
RD
11574 return resultobj;
11575 fail:
4d5c3d91
RD
11576 {
11577 if (temp2)
11578 delete arg2;
11579 }
d14a1e28
RD
11580 return NULL;
11581}
11582
11583
4d5c3d91 11584static PyObject *_wrap_Sound_Create__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28 11585 PyObject *resultobj;
4d5c3d91
RD
11586 wxSound *arg1 = (wxSound *) 0 ;
11587 int arg2 ;
11588 wxByte *arg3 = (wxByte *) 0 ;
d14a1e28
RD
11589 bool result;
11590 PyObject * obj0 = 0 ;
11591 PyObject * obj1 = 0 ;
11592 PyObject * obj2 = 0 ;
4d5c3d91
RD
11593
11594 if(!PyArg_ParseTuple(args,(char *)"OOO:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11597 arg2 = (int) SWIG_AsInt(obj1);
11598 if (PyErr_Occurred()) SWIG_fail;
11599 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxByte,
11600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4d5c3d91
RD
11601 {
11602 PyThreadState* __tstate = wxPyBeginAllowThreads();
11603 result = (bool)(arg1)->Create(arg2,(wxByte const *)arg3);
11604
11605 wxPyEndAllowThreads(__tstate);
11606 if (PyErr_Occurred()) SWIG_fail;
11607 }
4f89f6a3
RD
11608 {
11609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11610 }
4d5c3d91
RD
11611 return resultobj;
11612 fail:
11613 return NULL;
11614}
11615
11616
11617static PyObject *_wrap_Sound_Create(PyObject *self, PyObject *args) {
11618 int argc;
11619 PyObject *argv[4];
11620 int ii;
11621
11622 argc = PyObject_Length(args);
11623 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
11624 argv[ii] = PyTuple_GetItem(args,ii);
11625 }
11626 if ((argc >= 2) && (argc <= 3)) {
11627 int _v;
11628 {
11629 void *ptr;
15afbcd0 11630 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
4d5c3d91
RD
11631 _v = 0;
11632 PyErr_Clear();
11633 } else {
11634 _v = 1;
11635 }
11636 }
11637 if (_v) {
11638 {
11639 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
11640 }
11641 if (_v) {
11642 if (argc <= 2) {
11643 return _wrap_Sound_Create__SWIG_0(self,args);
11644 }
15afbcd0 11645 _v = SWIG_CheckBool(argv[2]);
4d5c3d91
RD
11646 if (_v) {
11647 return _wrap_Sound_Create__SWIG_0(self,args);
11648 }
11649 }
11650 }
11651 }
11652 if (argc == 3) {
11653 int _v;
11654 {
11655 void *ptr;
15afbcd0 11656 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
4d5c3d91
RD
11657 _v = 0;
11658 PyErr_Clear();
11659 } else {
11660 _v = 1;
11661 }
11662 }
11663 if (_v) {
15afbcd0 11664 _v = SWIG_CheckInt(argv[1]);
4d5c3d91
RD
11665 if (_v) {
11666 {
11667 void *ptr;
15afbcd0 11668 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
4d5c3d91
RD
11669 _v = 0;
11670 PyErr_Clear();
11671 } else {
11672 _v = 1;
11673 }
11674 }
11675 if (_v) {
11676 return _wrap_Sound_Create__SWIG_1(self,args);
11677 }
11678 }
11679 }
11680 }
11681
11682 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Sound_Create'");
11683 return NULL;
11684}
11685
11686
11687static PyObject *_wrap_Sound_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
11688 PyObject *resultobj;
11689 wxSound *arg1 = (wxSound *) 0 ;
11690 bool result;
11691 PyObject * obj0 = 0 ;
d14a1e28 11692 char *kwnames[] = {
4d5c3d91 11693 (char *) "self", NULL
d14a1e28
RD
11694 };
11695
4d5c3d91 11696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
11697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4d5c3d91
RD
11699 {
11700 PyThreadState* __tstate = wxPyBeginAllowThreads();
11701 result = (bool)(arg1)->IsOk();
11702
11703 wxPyEndAllowThreads(__tstate);
11704 if (PyErr_Occurred()) SWIG_fail;
11705 }
4f89f6a3
RD
11706 {
11707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11708 }
4d5c3d91
RD
11709 return resultobj;
11710 fail:
11711 return NULL;
11712}
11713
11714
11715static PyObject *_wrap_Sound_Play(PyObject *self, PyObject *args) {
11716 PyObject *resultobj;
11717 wxSound *arg1 = (wxSound *) 0 ;
11718 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11719 bool result;
11720 PyObject * obj0 = 0 ;
11721 PyObject * obj1 = 0 ;
11722
11723 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_Play",&obj0,&obj1)) goto fail;
15afbcd0
RD
11724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11726 if (obj1) {
15afbcd0
RD
11727 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11728 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11729 }
4d5c3d91
RD
11730 {
11731 PyThreadState* __tstate = wxPyBeginAllowThreads();
11732 result = (bool)((wxSound const *)arg1)->Play(arg2);
11733
11734 wxPyEndAllowThreads(__tstate);
11735 if (PyErr_Occurred()) SWIG_fail;
11736 }
4f89f6a3
RD
11737 {
11738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11739 }
4d5c3d91
RD
11740 return resultobj;
11741 fail:
11742 return NULL;
11743}
11744
11745
11746static PyObject *_wrap_Sound_PlaySound(PyObject *self, PyObject *args) {
11747 PyObject *resultobj;
11748 wxString *arg1 = 0 ;
11749 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11750 bool result;
11751 bool temp1 = False ;
11752 PyObject * obj0 = 0 ;
11753 PyObject * obj1 = 0 ;
11754
11755 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_PlaySound",&obj0,&obj1)) goto fail;
11756 {
11757 arg1 = wxString_in_helper(obj0);
11758 if (arg1 == NULL) SWIG_fail;
11759 temp1 = True;
11760 }
11761 if (obj1) {
15afbcd0
RD
11762 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11763 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11764 }
11765 {
11766 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 11767 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
d14a1e28
RD
11768
11769 wxPyEndAllowThreads(__tstate);
11770 if (PyErr_Occurred()) SWIG_fail;
11771 }
4f89f6a3
RD
11772 {
11773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11774 }
4d5c3d91
RD
11775 {
11776 if (temp1)
11777 delete arg1;
11778 }
d14a1e28
RD
11779 return resultobj;
11780 fail:
4d5c3d91
RD
11781 {
11782 if (temp1)
11783 delete arg1;
11784 }
d14a1e28
RD
11785 return NULL;
11786}
11787
11788
4d5c3d91
RD
11789static PyObject *_wrap_Sound_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
11790 PyObject *resultobj;
11791 char *kwnames[] = {
11792 NULL
11793 };
11794
11795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
11796 {
11797 PyThreadState* __tstate = wxPyBeginAllowThreads();
11798 wxSound::Stop();
11799
11800 wxPyEndAllowThreads(__tstate);
11801 if (PyErr_Occurred()) SWIG_fail;
11802 }
11803 Py_INCREF(Py_None); resultobj = Py_None;
11804 return resultobj;
11805 fail:
11806 return NULL;
11807}
11808
11809
11810static PyObject * Sound_swigregister(PyObject *self, PyObject *args) {
d14a1e28
RD
11811 PyObject *obj;
11812 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4d5c3d91 11813 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
d14a1e28
RD
11814 Py_INCREF(obj);
11815 return Py_BuildValue((char *)"");
11816}
11817static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11818 PyObject *resultobj;
11819 wxString *arg1 = 0 ;
11820 wxString *arg2 = 0 ;
11821 wxString *arg3 = 0 ;
11822 wxString *arg4 = 0 ;
11823 wxFileTypeInfo *result;
e811c8ce
RD
11824 bool temp1 = False ;
11825 bool temp2 = False ;
11826 bool temp3 = False ;
11827 bool temp4 = False ;
d14a1e28
RD
11828 PyObject * obj0 = 0 ;
11829 PyObject * obj1 = 0 ;
11830 PyObject * obj2 = 0 ;
11831 PyObject * obj3 = 0 ;
11832 char *kwnames[] = {
11833 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11834 };
11835
11836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11837 {
11838 arg1 = wxString_in_helper(obj0);
11839 if (arg1 == NULL) SWIG_fail;
e811c8ce 11840 temp1 = True;
d14a1e28
RD
11841 }
11842 {
11843 arg2 = wxString_in_helper(obj1);
11844 if (arg2 == NULL) SWIG_fail;
e811c8ce 11845 temp2 = True;
d14a1e28
RD
11846 }
11847 {
11848 arg3 = wxString_in_helper(obj2);
11849 if (arg3 == NULL) SWIG_fail;
e811c8ce 11850 temp3 = True;
d14a1e28
RD
11851 }
11852 {
11853 arg4 = wxString_in_helper(obj3);
11854 if (arg4 == NULL) SWIG_fail;
e811c8ce 11855 temp4 = True;
d14a1e28
RD
11856 }
11857 {
11858 PyThreadState* __tstate = wxPyBeginAllowThreads();
11859 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11860
11861 wxPyEndAllowThreads(__tstate);
11862 if (PyErr_Occurred()) SWIG_fail;
11863 }
15afbcd0 11864 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
d14a1e28
RD
11865 {
11866 if (temp1)
11867 delete arg1;
11868 }
11869 {
11870 if (temp2)
11871 delete arg2;
11872 }
11873 {
11874 if (temp3)
11875 delete arg3;
11876 }
11877 {
11878 if (temp4)
11879 delete arg4;
11880 }
11881 return resultobj;
11882 fail:
11883 {
11884 if (temp1)
11885 delete arg1;
11886 }
11887 {
11888 if (temp2)
11889 delete arg2;
11890 }
11891 {
11892 if (temp3)
11893 delete arg3;
11894 }
11895 {
11896 if (temp4)
11897 delete arg4;
11898 }
11899 return NULL;
11900}
11901
11902
11903static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
11904 PyObject *resultobj;
11905 wxArrayString *arg1 = 0 ;
11906 wxFileTypeInfo *result;
3adfb63b 11907 bool temp1 = False ;
d14a1e28
RD
11908 PyObject * obj0 = 0 ;
11909 char *kwnames[] = {
11910 (char *) "sArray", NULL
11911 };
11912
11913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
11914 {
11915 if (! PySequence_Check(obj0)) {
11916 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11917 SWIG_fail;
11918 }
11919 arg1 = new wxArrayString;
3adfb63b 11920 temp1 = True;
d14a1e28
RD
11921 int i, len=PySequence_Length(obj0);
11922 for (i=0; i<len; i++) {
11923 PyObject* item = PySequence_GetItem(obj0, i);
11924#if wxUSE_UNICODE
11925 PyObject* str = PyObject_Unicode(item);
11926#else
11927 PyObject* str = PyObject_Str(item);
11928#endif
11929 arg1->Add(Py2wxString(str));
11930 Py_DECREF(item);
11931 Py_DECREF(str);
11932 }
11933 }
11934 {
11935 PyThreadState* __tstate = wxPyBeginAllowThreads();
11936 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
11937
11938 wxPyEndAllowThreads(__tstate);
11939 if (PyErr_Occurred()) SWIG_fail;
11940 }
15afbcd0 11941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
d14a1e28 11942 {
3adfb63b 11943 if (temp1) delete arg1;
d14a1e28
RD
11944 }
11945 return resultobj;
11946 fail:
11947 {
3adfb63b 11948 if (temp1) delete arg1;
d14a1e28
RD
11949 }
11950 return NULL;
11951}
11952
11953
11954static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11955 PyObject *resultobj;
11956 wxFileTypeInfo *result;
11957 char *kwnames[] = {
11958 NULL
11959 };
11960
11961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
11962 {
11963 PyThreadState* __tstate = wxPyBeginAllowThreads();
11964 result = (wxFileTypeInfo *)new wxFileTypeInfo();
11965
11966 wxPyEndAllowThreads(__tstate);
11967 if (PyErr_Occurred()) SWIG_fail;
11968 }
15afbcd0 11969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
d14a1e28
RD
11970 return resultobj;
11971 fail:
11972 return NULL;
11973}
11974
11975
11976static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
11977 PyObject *resultobj;
11978 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11979 bool result;
11980 PyObject * obj0 = 0 ;
11981 char *kwnames[] = {
11982 (char *) "self", NULL
11983 };
11984
11985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
15afbcd0
RD
11986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
11987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11988 {
11989 PyThreadState* __tstate = wxPyBeginAllowThreads();
11990 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
11991
11992 wxPyEndAllowThreads(__tstate);
11993 if (PyErr_Occurred()) SWIG_fail;
11994 }
4f89f6a3
RD
11995 {
11996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11997 }
d14a1e28
RD
11998 return resultobj;
11999 fail:
12000 return NULL;
12001}
12002
12003
12004static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12005 PyObject *resultobj;
12006 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12007 wxString *arg2 = 0 ;
12008 int arg3 = (int) 0 ;
e811c8ce 12009 bool temp2 = False ;
d14a1e28
RD
12010 PyObject * obj0 = 0 ;
12011 PyObject * obj1 = 0 ;
994141e6 12012 PyObject * obj2 = 0 ;
d14a1e28
RD
12013 char *kwnames[] = {
12014 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12015 };
12016
994141e6 12017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12020 {
12021 arg2 = wxString_in_helper(obj1);
12022 if (arg2 == NULL) SWIG_fail;
e811c8ce 12023 temp2 = True;
d14a1e28 12024 }
994141e6 12025 if (obj2) {
15afbcd0
RD
12026 arg3 = (int) SWIG_AsInt(obj2);
12027 if (PyErr_Occurred()) SWIG_fail;
994141e6 12028 }
d14a1e28
RD
12029 {
12030 PyThreadState* __tstate = wxPyBeginAllowThreads();
12031 (arg1)->SetIcon((wxString const &)*arg2,arg3);
12032
12033 wxPyEndAllowThreads(__tstate);
12034 if (PyErr_Occurred()) SWIG_fail;
12035 }
12036 Py_INCREF(Py_None); resultobj = Py_None;
12037 {
12038 if (temp2)
12039 delete arg2;
12040 }
12041 return resultobj;
12042 fail:
12043 {
12044 if (temp2)
12045 delete arg2;
12046 }
12047 return NULL;
12048}
12049
12050
12051static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
12052 PyObject *resultobj;
12053 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12054 wxString *arg2 = 0 ;
e811c8ce 12055 bool temp2 = False ;
d14a1e28
RD
12056 PyObject * obj0 = 0 ;
12057 PyObject * obj1 = 0 ;
12058 char *kwnames[] = {
12059 (char *) "self",(char *) "shortDesc", NULL
12060 };
12061
12062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12065 {
12066 arg2 = wxString_in_helper(obj1);
12067 if (arg2 == NULL) SWIG_fail;
e811c8ce 12068 temp2 = True;
d14a1e28
RD
12069 }
12070 {
12071 PyThreadState* __tstate = wxPyBeginAllowThreads();
12072 (arg1)->SetShortDesc((wxString const &)*arg2);
12073
12074 wxPyEndAllowThreads(__tstate);
12075 if (PyErr_Occurred()) SWIG_fail;
12076 }
12077 Py_INCREF(Py_None); resultobj = Py_None;
12078 {
12079 if (temp2)
12080 delete arg2;
12081 }
12082 return resultobj;
12083 fail:
12084 {
12085 if (temp2)
12086 delete arg2;
12087 }
12088 return NULL;
12089}
12090
12091
12092static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12093 PyObject *resultobj;
12094 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12095 wxString *result;
12096 PyObject * obj0 = 0 ;
12097 char *kwnames[] = {
12098 (char *) "self", NULL
12099 };
12100
12101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
15afbcd0
RD
12102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12104 {
12105 PyThreadState* __tstate = wxPyBeginAllowThreads();
12106 {
12107 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
12108 result = (wxString *) &_result_ref;
12109 }
12110
12111 wxPyEndAllowThreads(__tstate);
12112 if (PyErr_Occurred()) SWIG_fail;
12113 }
cc6dd355
RD
12114 {
12115#if wxUSE_UNICODE
12116 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12117#else
12118 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12119#endif
12120 }
d14a1e28
RD
12121 return resultobj;
12122 fail:
12123 return NULL;
12124}
12125
12126
12127static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12128 PyObject *resultobj;
12129 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12130 wxString *result;
12131 PyObject * obj0 = 0 ;
12132 char *kwnames[] = {
12133 (char *) "self", NULL
12134 };
12135
12136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
15afbcd0
RD
12137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12139 {
12140 PyThreadState* __tstate = wxPyBeginAllowThreads();
12141 {
12142 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
12143 result = (wxString *) &_result_ref;
12144 }
12145
12146 wxPyEndAllowThreads(__tstate);
12147 if (PyErr_Occurred()) SWIG_fail;
12148 }
cc6dd355
RD
12149 {
12150#if wxUSE_UNICODE
12151 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12152#else
12153 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12154#endif
12155 }
d14a1e28
RD
12156 return resultobj;
12157 fail:
12158 return NULL;
12159}
12160
12161
12162static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12163 PyObject *resultobj;
12164 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12165 wxString *result;
12166 PyObject * obj0 = 0 ;
12167 char *kwnames[] = {
12168 (char *) "self", NULL
12169 };
12170
12171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
15afbcd0
RD
12172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12174 {
12175 PyThreadState* __tstate = wxPyBeginAllowThreads();
12176 {
12177 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
12178 result = (wxString *) &_result_ref;
12179 }
12180
12181 wxPyEndAllowThreads(__tstate);
12182 if (PyErr_Occurred()) SWIG_fail;
12183 }
cc6dd355
RD
12184 {
12185#if wxUSE_UNICODE
12186 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12187#else
12188 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12189#endif
12190 }
d14a1e28
RD
12191 return resultobj;
12192 fail:
12193 return NULL;
12194}
12195
12196
12197static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
12198 PyObject *resultobj;
12199 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12200 wxString *result;
12201 PyObject * obj0 = 0 ;
12202 char *kwnames[] = {
12203 (char *) "self", NULL
12204 };
12205
12206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
15afbcd0
RD
12207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12209 {
12210 PyThreadState* __tstate = wxPyBeginAllowThreads();
12211 {
12212 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
12213 result = (wxString *) &_result_ref;
12214 }
12215
12216 wxPyEndAllowThreads(__tstate);
12217 if (PyErr_Occurred()) SWIG_fail;
12218 }
cc6dd355
RD
12219 {
12220#if wxUSE_UNICODE
12221 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12222#else
12223 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12224#endif
12225 }
d14a1e28
RD
12226 return resultobj;
12227 fail:
12228 return NULL;
12229}
12230
12231
12232static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12233 PyObject *resultobj;
12234 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12235 wxString *result;
12236 PyObject * obj0 = 0 ;
12237 char *kwnames[] = {
12238 (char *) "self", NULL
12239 };
12240
12241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
15afbcd0
RD
12242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12244 {
12245 PyThreadState* __tstate = wxPyBeginAllowThreads();
12246 {
12247 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
12248 result = (wxString *) &_result_ref;
12249 }
12250
12251 wxPyEndAllowThreads(__tstate);
12252 if (PyErr_Occurred()) SWIG_fail;
12253 }
cc6dd355
RD
12254 {
12255#if wxUSE_UNICODE
12256 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12257#else
12258 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12259#endif
12260 }
d14a1e28
RD
12261 return resultobj;
12262 fail:
12263 return NULL;
12264}
12265
12266
12267static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12268 PyObject *resultobj;
12269 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12270 wxArrayString *result;
12271 PyObject * obj0 = 0 ;
12272 char *kwnames[] = {
12273 (char *) "self", NULL
12274 };
12275
12276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
15afbcd0
RD
12277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12279 {
12280 PyThreadState* __tstate = wxPyBeginAllowThreads();
12281 {
12282 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
12283 result = (wxArrayString *) &_result_ref;
12284 }
12285
12286 wxPyEndAllowThreads(__tstate);
12287 if (PyErr_Occurred()) SWIG_fail;
12288 }
12289 {
12290 resultobj = wxArrayString2PyList_helper(*result);
12291 }
12292 return resultobj;
12293 fail:
12294 return NULL;
12295}
12296
12297
12298static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12299 PyObject *resultobj;
12300 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12301 int result;
12302 PyObject * obj0 = 0 ;
12303 char *kwnames[] = {
12304 (char *) "self", NULL
12305 };
12306
12307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
12308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12310 {
12311 PyThreadState* __tstate = wxPyBeginAllowThreads();
12312 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
12313
12314 wxPyEndAllowThreads(__tstate);
12315 if (PyErr_Occurred()) SWIG_fail;
12316 }
15afbcd0 12317 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12318 return resultobj;
12319 fail:
12320 return NULL;
12321}
12322
12323
12324static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12325 PyObject *resultobj;
12326 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12327 wxString *result;
12328 PyObject * obj0 = 0 ;
12329 char *kwnames[] = {
12330 (char *) "self", NULL
12331 };
12332
12333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
15afbcd0
RD
12334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12336 {
12337 PyThreadState* __tstate = wxPyBeginAllowThreads();
12338 {
12339 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
12340 result = (wxString *) &_result_ref;
12341 }
12342
12343 wxPyEndAllowThreads(__tstate);
12344 if (PyErr_Occurred()) SWIG_fail;
12345 }
cc6dd355
RD
12346 {
12347#if wxUSE_UNICODE
12348 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12349#else
12350 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12351#endif
12352 }
d14a1e28
RD
12353 return resultobj;
12354 fail:
12355 return NULL;
12356}
12357
12358
12359static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12360 PyObject *resultobj;
12361 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12362 int result;
12363 PyObject * obj0 = 0 ;
12364 char *kwnames[] = {
12365 (char *) "self", NULL
12366 };
12367
12368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
15afbcd0
RD
12369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12371 {
12372 PyThreadState* __tstate = wxPyBeginAllowThreads();
12373 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
12374
12375 wxPyEndAllowThreads(__tstate);
12376 if (PyErr_Occurred()) SWIG_fail;
12377 }
15afbcd0 12378 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12379 return resultobj;
12380 fail:
12381 return NULL;
12382}
12383
12384
12385static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
12386 PyObject *obj;
12387 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12388 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
12389 Py_INCREF(obj);
12390 return Py_BuildValue((char *)"");
12391}
12392static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12393 PyObject *resultobj;
12394 wxFileTypeInfo *arg1 = 0 ;
12395 wxFileType *result;
12396 PyObject * obj0 = 0 ;
12397 char *kwnames[] = {
12398 (char *) "ftInfo", NULL
12399 };
12400
12401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
15afbcd0
RD
12402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12403 SWIG_POINTER_EXCEPTION | 0)) == -1)
12404 SWIG_fail;
d14a1e28 12405 if (arg1 == NULL) {
15afbcd0
RD
12406 PyErr_SetString(PyExc_TypeError,"null reference");
12407 SWIG_fail;
d14a1e28
RD
12408 }
12409 {
12410 PyThreadState* __tstate = wxPyBeginAllowThreads();
12411 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
12412
12413 wxPyEndAllowThreads(__tstate);
12414 if (PyErr_Occurred()) SWIG_fail;
12415 }
15afbcd0 12416 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
12417 return resultobj;
12418 fail:
12419 return NULL;
12420}
12421
12422
12423static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12424 PyObject *resultobj;
12425 wxFileType *arg1 = (wxFileType *) 0 ;
12426 PyObject * obj0 = 0 ;
12427 char *kwnames[] = {
12428 (char *) "self", NULL
12429 };
12430
12431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
15afbcd0
RD
12432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12434 {
12435 PyThreadState* __tstate = wxPyBeginAllowThreads();
12436 delete arg1;
12437
12438 wxPyEndAllowThreads(__tstate);
12439 if (PyErr_Occurred()) SWIG_fail;
12440 }
12441 Py_INCREF(Py_None); resultobj = Py_None;
12442 return resultobj;
12443 fail:
12444 return NULL;
12445}
12446
12447
12448static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12449 PyObject *resultobj;
12450 wxFileType *arg1 = (wxFileType *) 0 ;
12451 PyObject *result;
12452 PyObject * obj0 = 0 ;
12453 char *kwnames[] = {
12454 (char *) "self", NULL
12455 };
12456
12457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
15afbcd0
RD
12458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12460 {
12461 PyThreadState* __tstate = wxPyBeginAllowThreads();
12462 result = (PyObject *)wxFileType_GetMimeType(arg1);
12463
12464 wxPyEndAllowThreads(__tstate);
12465 if (PyErr_Occurred()) SWIG_fail;
12466 }
12467 resultobj = result;
12468 return resultobj;
12469 fail:
12470 return NULL;
12471}
12472
12473
12474static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12475 PyObject *resultobj;
12476 wxFileType *arg1 = (wxFileType *) 0 ;
12477 PyObject *result;
12478 PyObject * obj0 = 0 ;
12479 char *kwnames[] = {
12480 (char *) "self", NULL
12481 };
12482
12483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
15afbcd0
RD
12484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12486 {
12487 PyThreadState* __tstate = wxPyBeginAllowThreads();
12488 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
12489
12490 wxPyEndAllowThreads(__tstate);
12491 if (PyErr_Occurred()) SWIG_fail;
12492 }
12493 resultobj = result;
12494 return resultobj;
12495 fail:
12496 return NULL;
12497}
12498
12499
12500static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12501 PyObject *resultobj;
12502 wxFileType *arg1 = (wxFileType *) 0 ;
12503 PyObject *result;
12504 PyObject * obj0 = 0 ;
12505 char *kwnames[] = {
12506 (char *) "self", NULL
12507 };
12508
12509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
15afbcd0
RD
12510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12512 {
12513 PyThreadState* __tstate = wxPyBeginAllowThreads();
12514 result = (PyObject *)wxFileType_GetExtensions(arg1);
12515
12516 wxPyEndAllowThreads(__tstate);
12517 if (PyErr_Occurred()) SWIG_fail;
12518 }
12519 resultobj = result;
12520 return resultobj;
12521 fail:
12522 return NULL;
12523}
12524
12525
12526static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12527 PyObject *resultobj;
12528 wxFileType *arg1 = (wxFileType *) 0 ;
12529 wxIcon *result;
12530 PyObject * obj0 = 0 ;
12531 char *kwnames[] = {
12532 (char *) "self", NULL
12533 };
12534
12535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
15afbcd0
RD
12536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12538 {
12539 PyThreadState* __tstate = wxPyBeginAllowThreads();
12540 result = (wxIcon *)wxFileType_GetIcon(arg1);
12541
12542 wxPyEndAllowThreads(__tstate);
12543 if (PyErr_Occurred()) SWIG_fail;
12544 }
15afbcd0 12545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
12546 return resultobj;
12547 fail:
12548 return NULL;
12549}
12550
12551
12552static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12553 PyObject *resultobj;
12554 wxFileType *arg1 = (wxFileType *) 0 ;
12555 PyObject *result;
12556 PyObject * obj0 = 0 ;
12557 char *kwnames[] = {
12558 (char *) "self", NULL
12559 };
12560
12561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
12562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12564 {
12565 PyThreadState* __tstate = wxPyBeginAllowThreads();
12566 result = (PyObject *)wxFileType_GetIconInfo(arg1);
12567
12568 wxPyEndAllowThreads(__tstate);
12569 if (PyErr_Occurred()) SWIG_fail;
12570 }
12571 resultobj = result;
12572 return resultobj;
12573 fail:
12574 return NULL;
12575}
12576
12577
12578static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12579 PyObject *resultobj;
12580 wxFileType *arg1 = (wxFileType *) 0 ;
12581 PyObject *result;
12582 PyObject * obj0 = 0 ;
12583 char *kwnames[] = {
12584 (char *) "self", NULL
12585 };
12586
12587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
15afbcd0
RD
12588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12590 {
12591 PyThreadState* __tstate = wxPyBeginAllowThreads();
12592 result = (PyObject *)wxFileType_GetDescription(arg1);
12593
12594 wxPyEndAllowThreads(__tstate);
12595 if (PyErr_Occurred()) SWIG_fail;
12596 }
12597 resultobj = result;
12598 return resultobj;
12599 fail:
12600 return NULL;
12601}
12602
12603
12604static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12605 PyObject *resultobj;
12606 wxFileType *arg1 = (wxFileType *) 0 ;
12607 wxString *arg2 = 0 ;
12608 wxString const &arg3_defvalue = wxPyEmptyString ;
12609 wxString *arg3 = (wxString *) &arg3_defvalue ;
12610 PyObject *result;
e811c8ce
RD
12611 bool temp2 = False ;
12612 bool temp3 = False ;
d14a1e28
RD
12613 PyObject * obj0 = 0 ;
12614 PyObject * obj1 = 0 ;
12615 PyObject * obj2 = 0 ;
12616 char *kwnames[] = {
12617 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12618 };
12619
12620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12623 {
12624 arg2 = wxString_in_helper(obj1);
12625 if (arg2 == NULL) SWIG_fail;
e811c8ce 12626 temp2 = True;
d14a1e28
RD
12627 }
12628 if (obj2) {
12629 {
12630 arg3 = wxString_in_helper(obj2);
12631 if (arg3 == NULL) SWIG_fail;
e811c8ce 12632 temp3 = True;
d14a1e28
RD
12633 }
12634 }
12635 {
12636 PyThreadState* __tstate = wxPyBeginAllowThreads();
12637 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12638
12639 wxPyEndAllowThreads(__tstate);
12640 if (PyErr_Occurred()) SWIG_fail;
12641 }
12642 resultobj = result;
12643 {
12644 if (temp2)
12645 delete arg2;
12646 }
12647 {
12648 if (temp3)
12649 delete arg3;
12650 }
12651 return resultobj;
12652 fail:
12653 {
12654 if (temp2)
12655 delete arg2;
12656 }
12657 {
12658 if (temp3)
12659 delete arg3;
12660 }
12661 return NULL;
12662}
12663
12664
12665static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12666 PyObject *resultobj;
12667 wxFileType *arg1 = (wxFileType *) 0 ;
12668 wxString *arg2 = 0 ;
12669 wxString const &arg3_defvalue = wxPyEmptyString ;
12670 wxString *arg3 = (wxString *) &arg3_defvalue ;
12671 PyObject *result;
e811c8ce
RD
12672 bool temp2 = False ;
12673 bool temp3 = False ;
d14a1e28
RD
12674 PyObject * obj0 = 0 ;
12675 PyObject * obj1 = 0 ;
12676 PyObject * obj2 = 0 ;
12677 char *kwnames[] = {
12678 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12679 };
12680
12681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12684 {
12685 arg2 = wxString_in_helper(obj1);
12686 if (arg2 == NULL) SWIG_fail;
e811c8ce 12687 temp2 = True;
d14a1e28
RD
12688 }
12689 if (obj2) {
12690 {
12691 arg3 = wxString_in_helper(obj2);
12692 if (arg3 == NULL) SWIG_fail;
e811c8ce 12693 temp3 = True;
d14a1e28
RD
12694 }
12695 }
12696 {
12697 PyThreadState* __tstate = wxPyBeginAllowThreads();
12698 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12699
12700 wxPyEndAllowThreads(__tstate);
12701 if (PyErr_Occurred()) SWIG_fail;
12702 }
12703 resultobj = result;
12704 {
12705 if (temp2)
12706 delete arg2;
12707 }
12708 {
12709 if (temp3)
12710 delete arg3;
12711 }
12712 return resultobj;
12713 fail:
12714 {
12715 if (temp2)
12716 delete arg2;
12717 }
12718 {
12719 if (temp3)
12720 delete arg3;
12721 }
12722 return NULL;
12723}
12724
12725
12726static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
12727 PyObject *resultobj;
12728 wxFileType *arg1 = (wxFileType *) 0 ;
12729 wxString *arg2 = 0 ;
12730 wxString const &arg3_defvalue = wxPyEmptyString ;
12731 wxString *arg3 = (wxString *) &arg3_defvalue ;
12732 PyObject *result;
e811c8ce
RD
12733 bool temp2 = False ;
12734 bool temp3 = False ;
d14a1e28
RD
12735 PyObject * obj0 = 0 ;
12736 PyObject * obj1 = 0 ;
12737 PyObject * obj2 = 0 ;
12738 char *kwnames[] = {
12739 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12740 };
12741
12742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12745 {
12746 arg2 = wxString_in_helper(obj1);
12747 if (arg2 == NULL) SWIG_fail;
e811c8ce 12748 temp2 = True;
d14a1e28
RD
12749 }
12750 if (obj2) {
12751 {
12752 arg3 = wxString_in_helper(obj2);
12753 if (arg3 == NULL) SWIG_fail;
e811c8ce 12754 temp3 = True;
d14a1e28
RD
12755 }
12756 }
12757 {
12758 PyThreadState* __tstate = wxPyBeginAllowThreads();
12759 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12760
12761 wxPyEndAllowThreads(__tstate);
12762 if (PyErr_Occurred()) SWIG_fail;
12763 }
12764 resultobj = result;
12765 {
12766 if (temp2)
12767 delete arg2;
12768 }
12769 {
12770 if (temp3)
12771 delete arg3;
12772 }
12773 return resultobj;
12774 fail:
12775 {
12776 if (temp2)
12777 delete arg2;
12778 }
12779 {
12780 if (temp3)
12781 delete arg3;
12782 }
12783 return NULL;
12784}
12785
12786
12787static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12788 PyObject *resultobj;
12789 wxFileType *arg1 = (wxFileType *) 0 ;
12790 wxString *arg2 = 0 ;
12791 wxString *arg3 = 0 ;
e811c8ce 12792 bool arg4 = (bool) True ;
d14a1e28 12793 bool result;
e811c8ce
RD
12794 bool temp2 = False ;
12795 bool temp3 = False ;
d14a1e28
RD
12796 PyObject * obj0 = 0 ;
12797 PyObject * obj1 = 0 ;
12798 PyObject * obj2 = 0 ;
12799 PyObject * obj3 = 0 ;
12800 char *kwnames[] = {
12801 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12802 };
12803
12804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12807 {
12808 arg2 = wxString_in_helper(obj1);
12809 if (arg2 == NULL) SWIG_fail;
e811c8ce 12810 temp2 = True;
d14a1e28
RD
12811 }
12812 {
12813 arg3 = wxString_in_helper(obj2);
12814 if (arg3 == NULL) SWIG_fail;
e811c8ce 12815 temp3 = True;
d14a1e28
RD
12816 }
12817 if (obj3) {
15afbcd0
RD
12818 arg4 = (bool) SWIG_AsBool(obj3);
12819 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12820 }
12821 {
12822 PyThreadState* __tstate = wxPyBeginAllowThreads();
12823 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12824
12825 wxPyEndAllowThreads(__tstate);
12826 if (PyErr_Occurred()) SWIG_fail;
12827 }
4f89f6a3
RD
12828 {
12829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12830 }
d14a1e28
RD
12831 {
12832 if (temp2)
12833 delete arg2;
12834 }
12835 {
12836 if (temp3)
12837 delete arg3;
12838 }
12839 return resultobj;
12840 fail:
12841 {
12842 if (temp2)
12843 delete arg2;
12844 }
12845 {
12846 if (temp3)
12847 delete arg3;
12848 }
12849 return NULL;
12850}
12851
12852
12853static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12854 PyObject *resultobj;
12855 wxFileType *arg1 = (wxFileType *) 0 ;
12856 wxString const &arg2_defvalue = wxPyEmptyString ;
12857 wxString *arg2 = (wxString *) &arg2_defvalue ;
12858 int arg3 = (int) 0 ;
12859 bool result;
e811c8ce 12860 bool temp2 = False ;
d14a1e28
RD
12861 PyObject * obj0 = 0 ;
12862 PyObject * obj1 = 0 ;
994141e6 12863 PyObject * obj2 = 0 ;
d14a1e28
RD
12864 char *kwnames[] = {
12865 (char *) "self",(char *) "cmd",(char *) "index", NULL
12866 };
12867
994141e6 12868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12871 if (obj1) {
12872 {
12873 arg2 = wxString_in_helper(obj1);
12874 if (arg2 == NULL) SWIG_fail;
e811c8ce 12875 temp2 = True;
d14a1e28
RD
12876 }
12877 }
994141e6 12878 if (obj2) {
15afbcd0
RD
12879 arg3 = (int) SWIG_AsInt(obj2);
12880 if (PyErr_Occurred()) SWIG_fail;
994141e6 12881 }
d14a1e28
RD
12882 {
12883 PyThreadState* __tstate = wxPyBeginAllowThreads();
12884 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
12885
12886 wxPyEndAllowThreads(__tstate);
12887 if (PyErr_Occurred()) SWIG_fail;
12888 }
4f89f6a3
RD
12889 {
12890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12891 }
d14a1e28
RD
12892 {
12893 if (temp2)
12894 delete arg2;
12895 }
12896 return resultobj;
12897 fail:
12898 {
12899 if (temp2)
12900 delete arg2;
12901 }
12902 return NULL;
12903}
12904
12905
12906static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12907 PyObject *resultobj;
12908 wxFileType *arg1 = (wxFileType *) 0 ;
12909 bool result;
12910 PyObject * obj0 = 0 ;
12911 char *kwnames[] = {
12912 (char *) "self", NULL
12913 };
12914
12915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
15afbcd0
RD
12916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12918 {
12919 PyThreadState* __tstate = wxPyBeginAllowThreads();
12920 result = (bool)(arg1)->Unassociate();
12921
12922 wxPyEndAllowThreads(__tstate);
12923 if (PyErr_Occurred()) SWIG_fail;
12924 }
4f89f6a3
RD
12925 {
12926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12927 }
d14a1e28
RD
12928 return resultobj;
12929 fail:
12930 return NULL;
12931}
12932
12933
12934static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12935 PyObject *resultobj;
12936 wxString *arg1 = 0 ;
12937 wxString *arg2 = 0 ;
12938 wxString const &arg3_defvalue = wxPyEmptyString ;
12939 wxString *arg3 = (wxString *) &arg3_defvalue ;
12940 wxString result;
e811c8ce
RD
12941 bool temp1 = False ;
12942 bool temp2 = False ;
12943 bool temp3 = False ;
d14a1e28
RD
12944 PyObject * obj0 = 0 ;
12945 PyObject * obj1 = 0 ;
12946 PyObject * obj2 = 0 ;
12947 char *kwnames[] = {
12948 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12949 };
12950
12951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12952 {
12953 arg1 = wxString_in_helper(obj0);
12954 if (arg1 == NULL) SWIG_fail;
e811c8ce 12955 temp1 = True;
d14a1e28
RD
12956 }
12957 {
12958 arg2 = wxString_in_helper(obj1);
12959 if (arg2 == NULL) SWIG_fail;
e811c8ce 12960 temp2 = True;
d14a1e28
RD
12961 }
12962 if (obj2) {
12963 {
12964 arg3 = wxString_in_helper(obj2);
12965 if (arg3 == NULL) SWIG_fail;
e811c8ce 12966 temp3 = True;
d14a1e28
RD
12967 }
12968 }
12969 {
12970 PyThreadState* __tstate = wxPyBeginAllowThreads();
12971 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12972
12973 wxPyEndAllowThreads(__tstate);
12974 if (PyErr_Occurred()) SWIG_fail;
12975 }
12976 {
12977#if wxUSE_UNICODE
12978 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12979#else
12980 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12981#endif
12982 }
12983 {
12984 if (temp1)
12985 delete arg1;
12986 }
12987 {
12988 if (temp2)
12989 delete arg2;
12990 }
12991 {
12992 if (temp3)
12993 delete arg3;
12994 }
12995 return resultobj;
12996 fail:
12997 {
12998 if (temp1)
12999 delete arg1;
13000 }
13001 {
13002 if (temp2)
13003 delete arg2;
13004 }
13005 {
13006 if (temp3)
13007 delete arg3;
13008 }
13009 return NULL;
13010}
13011
13012
13013static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
13014 PyObject *obj;
13015 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13016 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
13017 Py_INCREF(obj);
13018 return Py_BuildValue((char *)"");
13019}
13020static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
13021 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
13022 return 1;
13023}
13024
13025
13026static PyObject *_wrap_TheMimeTypesManager_get() {
13027 PyObject *pyobj;
13028
15afbcd0 13029 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
d14a1e28
RD
13030 return pyobj;
13031}
13032
13033
13034static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
13035 PyObject *resultobj;
13036 wxString *arg1 = 0 ;
13037 wxString *arg2 = 0 ;
13038 bool result;
e811c8ce
RD
13039 bool temp1 = False ;
13040 bool temp2 = False ;
d14a1e28
RD
13041 PyObject * obj0 = 0 ;
13042 PyObject * obj1 = 0 ;
13043 char *kwnames[] = {
13044 (char *) "mimeType",(char *) "wildcard", NULL
13045 };
13046
13047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
13048 {
13049 arg1 = wxString_in_helper(obj0);
13050 if (arg1 == NULL) SWIG_fail;
e811c8ce 13051 temp1 = True;
d14a1e28
RD
13052 }
13053 {
13054 arg2 = wxString_in_helper(obj1);
13055 if (arg2 == NULL) SWIG_fail;
e811c8ce 13056 temp2 = True;
d14a1e28
RD
13057 }
13058 {
13059 PyThreadState* __tstate = wxPyBeginAllowThreads();
13060 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
13061
13062 wxPyEndAllowThreads(__tstate);
13063 if (PyErr_Occurred()) SWIG_fail;
13064 }
4f89f6a3
RD
13065 {
13066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13067 }
d14a1e28
RD
13068 {
13069 if (temp1)
13070 delete arg1;
13071 }
13072 {
13073 if (temp2)
13074 delete arg2;
13075 }
13076 return resultobj;
13077 fail:
13078 {
13079 if (temp1)
13080 delete arg1;
13081 }
13082 {
13083 if (temp2)
13084 delete arg2;
13085 }
13086 return NULL;
13087}
13088
13089
13090static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13091 PyObject *resultobj;
13092 wxMimeTypesManager *result;
13093 char *kwnames[] = {
13094 NULL
13095 };
13096
13097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
13098 {
13099 PyThreadState* __tstate = wxPyBeginAllowThreads();
13100 result = (wxMimeTypesManager *)new wxMimeTypesManager();
13101
13102 wxPyEndAllowThreads(__tstate);
13103 if (PyErr_Occurred()) SWIG_fail;
13104 }
15afbcd0 13105 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
d14a1e28
RD
13106 return resultobj;
13107 fail:
13108 return NULL;
13109}
13110
13111
13112static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
13113 PyObject *resultobj;
13114 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13115 int arg2 = (int) wxMAILCAP_ALL ;
13116 wxString const &arg3_defvalue = wxPyEmptyString ;
13117 wxString *arg3 = (wxString *) &arg3_defvalue ;
e811c8ce 13118 bool temp3 = False ;
d14a1e28 13119 PyObject * obj0 = 0 ;
994141e6 13120 PyObject * obj1 = 0 ;
d14a1e28
RD
13121 PyObject * obj2 = 0 ;
13122 char *kwnames[] = {
13123 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13124 };
13125
994141e6 13126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 13129 if (obj1) {
15afbcd0
RD
13130 arg2 = (int) SWIG_AsInt(obj1);
13131 if (PyErr_Occurred()) SWIG_fail;
994141e6 13132 }
d14a1e28
RD
13133 if (obj2) {
13134 {
13135 arg3 = wxString_in_helper(obj2);
13136 if (arg3 == NULL) SWIG_fail;
e811c8ce 13137 temp3 = True;
d14a1e28
RD
13138 }
13139 }
13140 {
13141 PyThreadState* __tstate = wxPyBeginAllowThreads();
13142 (arg1)->Initialize(arg2,(wxString const &)*arg3);
13143
13144 wxPyEndAllowThreads(__tstate);
13145 if (PyErr_Occurred()) SWIG_fail;
13146 }
13147 Py_INCREF(Py_None); resultobj = Py_None;
13148 {
13149 if (temp3)
13150 delete arg3;
13151 }
13152 return resultobj;
13153 fail:
13154 {
13155 if (temp3)
13156 delete arg3;
13157 }
13158 return NULL;
13159}
13160
13161
13162static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
13163 PyObject *resultobj;
13164 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13165 PyObject * obj0 = 0 ;
13166 char *kwnames[] = {
13167 (char *) "self", NULL
13168 };
13169
13170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
15afbcd0
RD
13171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13173 {
13174 PyThreadState* __tstate = wxPyBeginAllowThreads();
13175 (arg1)->ClearData();
13176
13177 wxPyEndAllowThreads(__tstate);
13178 if (PyErr_Occurred()) SWIG_fail;
13179 }
13180 Py_INCREF(Py_None); resultobj = Py_None;
13181 return resultobj;
13182 fail:
13183 return NULL;
13184}
13185
13186
13187static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
13188 PyObject *resultobj;
13189 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13190 wxString *arg2 = 0 ;
13191 wxFileType *result;
e811c8ce 13192 bool temp2 = False ;
d14a1e28
RD
13193 PyObject * obj0 = 0 ;
13194 PyObject * obj1 = 0 ;
13195 char *kwnames[] = {
13196 (char *) "self",(char *) "ext", NULL
13197 };
13198
13199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13202 {
13203 arg2 = wxString_in_helper(obj1);
13204 if (arg2 == NULL) SWIG_fail;
e811c8ce 13205 temp2 = True;
d14a1e28
RD
13206 }
13207 {
13208 PyThreadState* __tstate = wxPyBeginAllowThreads();
13209 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
13210
13211 wxPyEndAllowThreads(__tstate);
13212 if (PyErr_Occurred()) SWIG_fail;
13213 }
15afbcd0 13214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
13215 {
13216 if (temp2)
13217 delete arg2;
13218 }
13219 return resultobj;
13220 fail:
13221 {
13222 if (temp2)
13223 delete arg2;
13224 }
13225 return NULL;
13226}
13227
13228
13229static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
13230 PyObject *resultobj;
13231 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13232 wxString *arg2 = 0 ;
13233 wxFileType *result;
e811c8ce 13234 bool temp2 = False ;
d14a1e28
RD
13235 PyObject * obj0 = 0 ;
13236 PyObject * obj1 = 0 ;
13237 char *kwnames[] = {
13238 (char *) "self",(char *) "mimeType", NULL
13239 };
13240
13241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13244 {
13245 arg2 = wxString_in_helper(obj1);
13246 if (arg2 == NULL) SWIG_fail;
e811c8ce 13247 temp2 = True;
d14a1e28
RD
13248 }
13249 {
13250 PyThreadState* __tstate = wxPyBeginAllowThreads();
13251 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
13252
13253 wxPyEndAllowThreads(__tstate);
13254 if (PyErr_Occurred()) SWIG_fail;
13255 }
15afbcd0 13256 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
13257 {
13258 if (temp2)
13259 delete arg2;
13260 }
13261 return resultobj;
13262 fail:
13263 {
13264 if (temp2)
13265 delete arg2;
13266 }
13267 return NULL;
13268}
13269
13270
13271static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
13272 PyObject *resultobj;
13273 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13274 wxString *arg2 = 0 ;
e811c8ce 13275 bool arg3 = (bool) False ;
d14a1e28 13276 bool result;
e811c8ce 13277 bool temp2 = False ;
d14a1e28
RD
13278 PyObject * obj0 = 0 ;
13279 PyObject * obj1 = 0 ;
13280 PyObject * obj2 = 0 ;
13281 char *kwnames[] = {
13282 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13283 };
13284
13285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13288 {
13289 arg2 = wxString_in_helper(obj1);
13290 if (arg2 == NULL) SWIG_fail;
e811c8ce 13291 temp2 = True;
d14a1e28
RD
13292 }
13293 if (obj2) {
15afbcd0
RD
13294 arg3 = (bool) SWIG_AsBool(obj2);
13295 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13296 }
13297 {
13298 PyThreadState* __tstate = wxPyBeginAllowThreads();
13299 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
13300
13301 wxPyEndAllowThreads(__tstate);
13302 if (PyErr_Occurred()) SWIG_fail;
13303 }
4f89f6a3
RD
13304 {
13305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13306 }
d14a1e28
RD
13307 {
13308 if (temp2)
13309 delete arg2;
13310 }
13311 return resultobj;
13312 fail:
13313 {
13314 if (temp2)
13315 delete arg2;
13316 }
13317 return NULL;
13318}
13319
13320
13321static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13322 PyObject *resultobj;
13323 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13324 wxString *arg2 = 0 ;
13325 bool result;
e811c8ce 13326 bool temp2 = False ;
d14a1e28
RD
13327 PyObject * obj0 = 0 ;
13328 PyObject * obj1 = 0 ;
13329 char *kwnames[] = {
13330 (char *) "self",(char *) "filename", NULL
13331 };
13332
13333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13336 {
13337 arg2 = wxString_in_helper(obj1);
13338 if (arg2 == NULL) SWIG_fail;
e811c8ce 13339 temp2 = True;
d14a1e28
RD
13340 }
13341 {
13342 PyThreadState* __tstate = wxPyBeginAllowThreads();
13343 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
13344
13345 wxPyEndAllowThreads(__tstate);
13346 if (PyErr_Occurred()) SWIG_fail;
13347 }
4f89f6a3
RD
13348 {
13349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13350 }
d14a1e28
RD
13351 {
13352 if (temp2)
13353 delete arg2;
13354 }
13355 return resultobj;
13356 fail:
13357 {
13358 if (temp2)
13359 delete arg2;
13360 }
13361 return NULL;
13362}
13363
13364
13365static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13366 PyObject *resultobj;
13367 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13368 PyObject *result;
13369 PyObject * obj0 = 0 ;
13370 char *kwnames[] = {
13371 (char *) "self", NULL
13372 };
13373
13374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
15afbcd0
RD
13375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13377 {
13378 PyThreadState* __tstate = wxPyBeginAllowThreads();
13379 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
13380
13381 wxPyEndAllowThreads(__tstate);
13382 if (PyErr_Occurred()) SWIG_fail;
13383 }
13384 resultobj = result;
13385 return resultobj;
13386 fail:
13387 return NULL;
13388}
13389
13390
13391static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
13392 PyObject *resultobj;
13393 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13394 wxFileTypeInfo *arg2 = 0 ;
13395 PyObject * obj0 = 0 ;
13396 PyObject * obj1 = 0 ;
13397 char *kwnames[] = {
13398 (char *) "self",(char *) "ft", NULL
13399 };
13400
13401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13404 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13405 SWIG_POINTER_EXCEPTION | 0)) == -1)
13406 SWIG_fail;
d14a1e28 13407 if (arg2 == NULL) {
15afbcd0
RD
13408 PyErr_SetString(PyExc_TypeError,"null reference");
13409 SWIG_fail;
d14a1e28
RD
13410 }
13411 {
13412 PyThreadState* __tstate = wxPyBeginAllowThreads();
13413 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
13414
13415 wxPyEndAllowThreads(__tstate);
13416 if (PyErr_Occurred()) SWIG_fail;
13417 }
13418 Py_INCREF(Py_None); resultobj = Py_None;
13419 return resultobj;
13420 fail:
13421 return NULL;
13422}
13423
13424
13425static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
13426 PyObject *resultobj;
13427 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13428 wxFileTypeInfo *arg2 = 0 ;
13429 wxFileType *result;
13430 PyObject * obj0 = 0 ;
13431 PyObject * obj1 = 0 ;
13432 char *kwnames[] = {
13433 (char *) "self",(char *) "ftInfo", NULL
13434 };
13435
13436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13439 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13440 SWIG_POINTER_EXCEPTION | 0)) == -1)
13441 SWIG_fail;
d14a1e28 13442 if (arg2 == NULL) {
15afbcd0
RD
13443 PyErr_SetString(PyExc_TypeError,"null reference");
13444 SWIG_fail;
d14a1e28
RD
13445 }
13446 {
13447 PyThreadState* __tstate = wxPyBeginAllowThreads();
13448 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
13449
13450 wxPyEndAllowThreads(__tstate);
13451 if (PyErr_Occurred()) SWIG_fail;
13452 }
15afbcd0 13453 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
13454 return resultobj;
13455 fail:
13456 return NULL;
13457}
13458
13459
13460static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
13461 PyObject *resultobj;
13462 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13463 wxFileType *arg2 = (wxFileType *) 0 ;
13464 bool result;
13465 PyObject * obj0 = 0 ;
13466 PyObject * obj1 = 0 ;
13467 char *kwnames[] = {
13468 (char *) "self",(char *) "ft", NULL
13469 };
13470
13471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13474 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileType,
13475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13476 {
13477 PyThreadState* __tstate = wxPyBeginAllowThreads();
13478 result = (bool)(arg1)->Unassociate(arg2);
13479
13480 wxPyEndAllowThreads(__tstate);
13481 if (PyErr_Occurred()) SWIG_fail;
13482 }
4f89f6a3
RD
13483 {
13484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13485 }
d14a1e28
RD
13486 return resultobj;
13487 fail:
13488 return NULL;
13489}
13490
13491
13492static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13493 PyObject *resultobj;
13494 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13495 PyObject * obj0 = 0 ;
13496 char *kwnames[] = {
13497 (char *) "self", NULL
13498 };
13499
13500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
15afbcd0
RD
13501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13503 {
13504 PyThreadState* __tstate = wxPyBeginAllowThreads();
13505 delete arg1;
13506
13507 wxPyEndAllowThreads(__tstate);
13508 if (PyErr_Occurred()) SWIG_fail;
13509 }
13510 Py_INCREF(Py_None); resultobj = Py_None;
13511 return resultobj;
13512 fail:
13513 return NULL;
13514}
13515
13516
13517static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
13518 PyObject *obj;
13519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13520 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
13521 Py_INCREF(obj);
13522 return Py_BuildValue((char *)"");
13523}
13524static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
13525 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
13526 return 1;
13527}
13528
13529
13530static PyObject *_wrap_ART_TOOLBAR_get() {
13531 PyObject *pyobj;
13532
13533 {
13534#if wxUSE_UNICODE
13535 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13536#else
13537 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13538#endif
13539 }
13540 return pyobj;
13541}
13542
13543
13544static int _wrap_ART_MENU_set(PyObject *_val) {
13545 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
13546 return 1;
13547}
13548
13549
13550static PyObject *_wrap_ART_MENU_get() {
13551 PyObject *pyobj;
13552
13553 {
13554#if wxUSE_UNICODE
13555 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13556#else
13557 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13558#endif
13559 }
13560 return pyobj;
13561}
13562
13563
13564static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
13565 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
13566 return 1;
13567}
13568
13569
13570static PyObject *_wrap_ART_FRAME_ICON_get() {
13571 PyObject *pyobj;
13572
13573 {
13574#if wxUSE_UNICODE
13575 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13576#else
13577 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13578#endif
13579 }
13580 return pyobj;
13581}
13582
13583
13584static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
13585 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
13586 return 1;
13587}
13588
13589
13590static PyObject *_wrap_ART_CMN_DIALOG_get() {
13591 PyObject *pyobj;
13592
13593 {
13594#if wxUSE_UNICODE
13595 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13596#else
13597 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13598#endif
13599 }
13600 return pyobj;
13601}
13602
13603
13604static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
13605 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
13606 return 1;
13607}
13608
13609
13610static PyObject *_wrap_ART_HELP_BROWSER_get() {
13611 PyObject *pyobj;
13612
13613 {
13614#if wxUSE_UNICODE
13615 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13616#else
13617 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13618#endif
13619 }
13620 return pyobj;
13621}
13622
13623
13624static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
13625 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
13626 return 1;
13627}
13628
13629
13630static PyObject *_wrap_ART_MESSAGE_BOX_get() {
13631 PyObject *pyobj;
13632
13633 {
13634#if wxUSE_UNICODE
13635 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13636#else
13637 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13638#endif
13639 }
13640 return pyobj;
13641}
13642
13643
13644static int _wrap_ART_OTHER_set(PyObject *_val) {
13645 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
13646 return 1;
13647}
13648
13649
13650static PyObject *_wrap_ART_OTHER_get() {
13651 PyObject *pyobj;
13652
13653 {
13654#if wxUSE_UNICODE
13655 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13656#else
13657 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13658#endif
13659 }
13660 return pyobj;
13661}
13662
13663
13664static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
13665 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
13666 return 1;
13667}
13668
13669
13670static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
13671 PyObject *pyobj;
13672
13673 {
13674#if wxUSE_UNICODE
13675 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13676#else
13677 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13678#endif
13679 }
13680 return pyobj;
13681}
13682
13683
13684static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
13685 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
13686 return 1;
13687}
13688
13689
13690static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
13691 PyObject *pyobj;
13692
13693 {
13694#if wxUSE_UNICODE
13695 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13696#else
13697 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13698#endif
13699 }
13700 return pyobj;
13701}
13702
13703
13704static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
13705 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
13706 return 1;
13707}
13708
13709
13710static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
13711 PyObject *pyobj;
13712
13713 {
13714#if wxUSE_UNICODE
13715 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13716#else
13717 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13718#endif
13719 }
13720 return pyobj;
13721}
13722
13723
13724static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
13725 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
13726 return 1;
13727}
13728
13729
13730static PyObject *_wrap_ART_HELP_SETTINGS_get() {
13731 PyObject *pyobj;
13732
13733 {
13734#if wxUSE_UNICODE
13735 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13736#else
13737 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13738#endif
13739 }
13740 return pyobj;
13741}
13742
13743
13744static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
13745 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
13746 return 1;
13747}
13748
13749
13750static PyObject *_wrap_ART_HELP_BOOK_get() {
13751 PyObject *pyobj;
13752
13753 {
13754#if wxUSE_UNICODE
13755 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13756#else
13757 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13758#endif
13759 }
13760 return pyobj;
13761}
13762
13763
13764static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
13765 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
13766 return 1;
13767}
13768
13769
13770static PyObject *_wrap_ART_HELP_FOLDER_get() {
13771 PyObject *pyobj;
13772
13773 {
13774#if wxUSE_UNICODE
13775 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13776#else
13777 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13778#endif
13779 }
13780 return pyobj;
13781}
13782
13783
13784static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
13785 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
13786 return 1;
13787}
13788
13789
13790static PyObject *_wrap_ART_HELP_PAGE_get() {
13791 PyObject *pyobj;
13792
13793 {
13794#if wxUSE_UNICODE
13795 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13796#else
13797 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13798#endif
13799 }
13800 return pyobj;
13801}
13802
13803
13804static int _wrap_ART_GO_BACK_set(PyObject *_val) {
13805 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
13806 return 1;
13807}
13808
13809
13810static PyObject *_wrap_ART_GO_BACK_get() {
13811 PyObject *pyobj;
13812
13813 {
13814#if wxUSE_UNICODE
13815 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13816#else
13817 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13818#endif
13819 }
13820 return pyobj;
13821}
13822
13823
13824static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
13825 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
13826 return 1;
13827}
13828
13829
13830static PyObject *_wrap_ART_GO_FORWARD_get() {
13831 PyObject *pyobj;
13832
13833 {
13834#if wxUSE_UNICODE
13835 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13836#else
13837 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13838#endif
13839 }
13840 return pyobj;
13841}
13842
13843
13844static int _wrap_ART_GO_UP_set(PyObject *_val) {
13845 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
13846 return 1;
13847}
13848
13849
13850static PyObject *_wrap_ART_GO_UP_get() {
13851 PyObject *pyobj;
13852
13853 {
13854#if wxUSE_UNICODE
13855 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13856#else
13857 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13858#endif
13859 }
13860 return pyobj;
13861}
13862
13863
13864static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
13865 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
13866 return 1;
13867}
13868
13869
13870static PyObject *_wrap_ART_GO_DOWN_get() {
13871 PyObject *pyobj;
13872
13873 {
13874#if wxUSE_UNICODE
13875 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13876#else
13877 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13878#endif
13879 }
13880 return pyobj;
13881}
13882
13883
13884static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
13885 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
13886 return 1;
13887}
13888
13889
13890static PyObject *_wrap_ART_GO_TO_PARENT_get() {
13891 PyObject *pyobj;
13892
13893 {
13894#if wxUSE_UNICODE
13895 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13896#else
13897 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13898#endif
13899 }
13900 return pyobj;
13901}
13902
13903
13904static int _wrap_ART_GO_HOME_set(PyObject *_val) {
13905 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
13906 return 1;
13907}
13908
13909
13910static PyObject *_wrap_ART_GO_HOME_get() {
13911 PyObject *pyobj;
13912
13913 {
13914#if wxUSE_UNICODE
13915 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13916#else
13917 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13918#endif
13919 }
13920 return pyobj;
13921}
13922
13923
13924static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
13925 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
13926 return 1;
13927}
13928
13929
13930static PyObject *_wrap_ART_FILE_OPEN_get() {
13931 PyObject *pyobj;
13932
13933 {
13934#if wxUSE_UNICODE
13935 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13936#else
13937 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13938#endif
13939 }
13940 return pyobj;
13941}
13942
13943
13944static int _wrap_ART_PRINT_set(PyObject *_val) {
13945 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
13946 return 1;
13947}
13948
13949
13950static PyObject *_wrap_ART_PRINT_get() {
13951 PyObject *pyobj;
13952
13953 {
13954#if wxUSE_UNICODE
13955 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13956#else
13957 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13958#endif
13959 }
13960 return pyobj;
13961}
13962
13963
13964static int _wrap_ART_HELP_set(PyObject *_val) {
13965 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
13966 return 1;
13967}
13968
13969
13970static PyObject *_wrap_ART_HELP_get() {
13971 PyObject *pyobj;
13972
13973 {
13974#if wxUSE_UNICODE
13975 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13976#else
13977 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13978#endif
13979 }
13980 return pyobj;
13981}
13982
13983
13984static int _wrap_ART_TIP_set(PyObject *_val) {
13985 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
13986 return 1;
13987}
13988
13989
13990static PyObject *_wrap_ART_TIP_get() {
13991 PyObject *pyobj;
13992
13993 {
13994#if wxUSE_UNICODE
13995 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13996#else
13997 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13998#endif
13999 }
14000 return pyobj;
14001}
14002
14003
14004static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
14005 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
14006 return 1;
14007}
14008
14009
14010static PyObject *_wrap_ART_REPORT_VIEW_get() {
14011 PyObject *pyobj;
14012
14013 {
14014#if wxUSE_UNICODE
14015 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14016#else
14017 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14018#endif
14019 }
14020 return pyobj;
14021}
14022
14023
14024static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
14025 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
14026 return 1;
14027}
14028
14029
14030static PyObject *_wrap_ART_LIST_VIEW_get() {
14031 PyObject *pyobj;
14032
14033 {
14034#if wxUSE_UNICODE
14035 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14036#else
14037 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14038#endif
14039 }
14040 return pyobj;
14041}
14042
14043
14044static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
14045 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
14046 return 1;
14047}
14048
14049
14050static PyObject *_wrap_ART_NEW_DIR_get() {
14051 PyObject *pyobj;
14052
14053 {
14054#if wxUSE_UNICODE
14055 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14056#else
14057 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14058#endif
14059 }
14060 return pyobj;
14061}
14062
14063
14064static int _wrap_ART_FOLDER_set(PyObject *_val) {
14065 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
14066 return 1;
14067}
14068
14069
14070static PyObject *_wrap_ART_FOLDER_get() {
14071 PyObject *pyobj;
14072
14073 {
14074#if wxUSE_UNICODE
14075 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14076#else
14077 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14078#endif
14079 }
14080 return pyobj;
14081}
14082
14083
14084static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
14085 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
14086 return 1;
14087}
14088
14089
14090static PyObject *_wrap_ART_GO_DIR_UP_get() {
14091 PyObject *pyobj;
14092
14093 {
14094#if wxUSE_UNICODE
14095 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14096#else
14097 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14098#endif
14099 }
14100 return pyobj;
14101}
14102
14103
14104static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
14105 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
14106 return 1;
14107}
14108
14109
14110static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
14111 PyObject *pyobj;
14112
14113 {
14114#if wxUSE_UNICODE
14115 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14116#else
14117 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14118#endif
14119 }
14120 return pyobj;
14121}
14122
14123
14124static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
14125 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
14126 return 1;
14127}
14128
14129
14130static PyObject *_wrap_ART_NORMAL_FILE_get() {
14131 PyObject *pyobj;
14132
14133 {
14134#if wxUSE_UNICODE
14135 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14136#else
14137 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14138#endif
14139 }
14140 return pyobj;
14141}
14142
14143
14144static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
14145 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
14146 return 1;
14147}
14148
14149
14150static PyObject *_wrap_ART_TICK_MARK_get() {
14151 PyObject *pyobj;
14152
14153 {
14154#if wxUSE_UNICODE
14155 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14156#else
14157 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14158#endif
14159 }
14160 return pyobj;
14161}
14162
14163
14164static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
14165 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
14166 return 1;
14167}
14168
14169
14170static PyObject *_wrap_ART_CROSS_MARK_get() {
14171 PyObject *pyobj;
14172
14173 {
14174#if wxUSE_UNICODE
14175 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14176#else
14177 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14178#endif
14179 }
14180 return pyobj;
14181}
14182
14183
14184static int _wrap_ART_ERROR_set(PyObject *_val) {
14185 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
14186 return 1;
14187}
14188
14189
14190static PyObject *_wrap_ART_ERROR_get() {
14191 PyObject *pyobj;
14192
14193 {
14194#if wxUSE_UNICODE
14195 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14196#else
14197 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14198#endif
14199 }
14200 return pyobj;
14201}
14202
14203
14204static int _wrap_ART_QUESTION_set(PyObject *_val) {
14205 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
14206 return 1;
14207}
14208
14209
14210static PyObject *_wrap_ART_QUESTION_get() {
14211 PyObject *pyobj;
14212
14213 {
14214#if wxUSE_UNICODE
14215 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14216#else
14217 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14218#endif
14219 }
14220 return pyobj;
14221}
14222
14223
14224static int _wrap_ART_WARNING_set(PyObject *_val) {
14225 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
14226 return 1;
14227}
14228
14229
14230static PyObject *_wrap_ART_WARNING_get() {
14231 PyObject *pyobj;
14232
14233 {
14234#if wxUSE_UNICODE
14235 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14236#else
14237 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14238#endif
14239 }
14240 return pyobj;
14241}
14242
14243
14244static int _wrap_ART_INFORMATION_set(PyObject *_val) {
14245 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
14246 return 1;
14247}
14248
14249
14250static PyObject *_wrap_ART_INFORMATION_get() {
14251 PyObject *pyobj;
14252
14253 {
14254#if wxUSE_UNICODE
14255 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14256#else
14257 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14258#endif
14259 }
14260 return pyobj;
14261}
14262
14263
14264static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
14265 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
14266 return 1;
14267}
14268
14269
14270static PyObject *_wrap_ART_MISSING_IMAGE_get() {
14271 PyObject *pyobj;
14272
14273 {
14274#if wxUSE_UNICODE
14275 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14276#else
14277 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14278#endif
14279 }
14280 return pyobj;
14281}
14282
14283
14284static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14285 PyObject *resultobj;
14286 wxPyArtProvider *result;
14287 char *kwnames[] = {
14288 NULL
14289 };
14290
14291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
14292 {
14293 PyThreadState* __tstate = wxPyBeginAllowThreads();
14294 result = (wxPyArtProvider *)new wxPyArtProvider();
14295
14296 wxPyEndAllowThreads(__tstate);
14297 if (PyErr_Occurred()) SWIG_fail;
14298 }
15afbcd0 14299 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
d14a1e28
RD
14300 return resultobj;
14301 fail:
14302 return NULL;
14303}
14304
14305
d14a1e28
RD
14306static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14307 PyObject *resultobj;
14308 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14309 PyObject *arg2 = (PyObject *) 0 ;
14310 PyObject *arg3 = (PyObject *) 0 ;
14311 PyObject * obj0 = 0 ;
14312 PyObject * obj1 = 0 ;
14313 PyObject * obj2 = 0 ;
14314 char *kwnames[] = {
14315 (char *) "self",(char *) "self",(char *) "_class", NULL
14316 };
14317
14318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14321 arg2 = obj1;
14322 arg3 = obj2;
14323 {
14324 PyThreadState* __tstate = wxPyBeginAllowThreads();
14325 (arg1)->_setCallbackInfo(arg2,arg3);
14326
14327 wxPyEndAllowThreads(__tstate);
14328 if (PyErr_Occurred()) SWIG_fail;
14329 }
14330 Py_INCREF(Py_None); resultobj = Py_None;
14331 return resultobj;
14332 fail:
14333 return NULL;
14334}
14335
14336
14337static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14338 PyObject *resultobj;
14339 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14340 PyObject * obj0 = 0 ;
14341 char *kwnames[] = {
14342 (char *) "provider", NULL
14343 };
14344
14345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
15afbcd0
RD
14346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14348 {
14349 PyThreadState* __tstate = wxPyBeginAllowThreads();
14350 wxPyArtProvider::PushProvider(arg1);
14351
14352 wxPyEndAllowThreads(__tstate);
14353 if (PyErr_Occurred()) SWIG_fail;
14354 }
14355 Py_INCREF(Py_None); resultobj = Py_None;
14356 return resultobj;
14357 fail:
14358 return NULL;
14359}
14360
14361
14362static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14363 PyObject *resultobj;
14364 bool result;
14365 char *kwnames[] = {
14366 NULL
14367 };
14368
14369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
14370 {
14371 PyThreadState* __tstate = wxPyBeginAllowThreads();
14372 result = (bool)wxPyArtProvider::PopProvider();
14373
14374 wxPyEndAllowThreads(__tstate);
14375 if (PyErr_Occurred()) SWIG_fail;
14376 }
4f89f6a3
RD
14377 {
14378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14379 }
d14a1e28
RD
14380 return resultobj;
14381 fail:
14382 return NULL;
14383}
14384
14385
14386static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14387 PyObject *resultobj;
14388 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14389 bool result;
14390 PyObject * obj0 = 0 ;
14391 char *kwnames[] = {
14392 (char *) "provider", NULL
14393 };
14394
14395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
15afbcd0
RD
14396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14398 {
14399 PyThreadState* __tstate = wxPyBeginAllowThreads();
14400 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
14401
14402 wxPyEndAllowThreads(__tstate);
14403 if (PyErr_Occurred()) SWIG_fail;
14404 }
4f89f6a3
RD
14405 {
14406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14407 }
d14a1e28
RD
14408 return resultobj;
14409 fail:
14410 return NULL;
14411}
14412
14413
14414static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14415 PyObject *resultobj;
14416 wxString *arg1 = 0 ;
14417 wxString const &arg2_defvalue = wxPyART_OTHER ;
14418 wxString *arg2 = (wxString *) &arg2_defvalue ;
14419 wxSize const &arg3_defvalue = wxDefaultSize ;
14420 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14421 wxBitmap result;
e811c8ce
RD
14422 bool temp1 = False ;
14423 bool temp2 = False ;
d14a1e28
RD
14424 wxSize temp3 ;
14425 PyObject * obj0 = 0 ;
14426 PyObject * obj1 = 0 ;
14427 PyObject * obj2 = 0 ;
14428 char *kwnames[] = {
14429 (char *) "id",(char *) "client",(char *) "size", NULL
14430 };
14431
14432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
14433 {
14434 arg1 = wxString_in_helper(obj0);
14435 if (arg1 == NULL) SWIG_fail;
e811c8ce 14436 temp1 = True;
d14a1e28
RD
14437 }
14438 if (obj1) {
14439 {
14440 arg2 = wxString_in_helper(obj1);
14441 if (arg2 == NULL) SWIG_fail;
e811c8ce 14442 temp2 = True;
d14a1e28
RD
14443 }
14444 }
14445 if (obj2) {
14446 {
14447 arg3 = &temp3;
14448 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14449 }
14450 }
14451 {
14452 PyThreadState* __tstate = wxPyBeginAllowThreads();
14453 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14454
14455 wxPyEndAllowThreads(__tstate);
14456 if (PyErr_Occurred()) SWIG_fail;
14457 }
14458 {
14459 wxBitmap * resultptr;
14460 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 14461 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
14462 }
14463 {
14464 if (temp1)
14465 delete arg1;
14466 }
14467 {
14468 if (temp2)
14469 delete arg2;
14470 }
14471 return resultobj;
14472 fail:
14473 {
14474 if (temp1)
14475 delete arg1;
14476 }
14477 {
14478 if (temp2)
14479 delete arg2;
14480 }
14481 return NULL;
14482}
14483
14484
14485static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
14486 PyObject *resultobj;
14487 wxString *arg1 = 0 ;
14488 wxString const &arg2_defvalue = wxPyART_OTHER ;
14489 wxString *arg2 = (wxString *) &arg2_defvalue ;
14490 wxSize const &arg3_defvalue = wxDefaultSize ;
14491 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14492 wxIcon result;
e811c8ce
RD
14493 bool temp1 = False ;
14494 bool temp2 = False ;
d14a1e28
RD
14495 wxSize temp3 ;
14496 PyObject * obj0 = 0 ;
14497 PyObject * obj1 = 0 ;
14498 PyObject * obj2 = 0 ;
14499 char *kwnames[] = {
14500 (char *) "id",(char *) "client",(char *) "size", NULL
14501 };
14502
14503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
14504 {
14505 arg1 = wxString_in_helper(obj0);
14506 if (arg1 == NULL) SWIG_fail;
e811c8ce 14507 temp1 = True;
d14a1e28
RD
14508 }
14509 if (obj1) {
14510 {
14511 arg2 = wxString_in_helper(obj1);
14512 if (arg2 == NULL) SWIG_fail;
e811c8ce 14513 temp2 = True;
d14a1e28
RD
14514 }
14515 }
14516 if (obj2) {
14517 {
14518 arg3 = &temp3;
14519 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14520 }
14521 }
14522 {
14523 PyThreadState* __tstate = wxPyBeginAllowThreads();
14524 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14525
14526 wxPyEndAllowThreads(__tstate);
14527 if (PyErr_Occurred()) SWIG_fail;
14528 }
14529 {
14530 wxIcon * resultptr;
14531 resultptr = new wxIcon((wxIcon &) result);
15afbcd0 14532 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
14533 }
14534 {
14535 if (temp1)
14536 delete arg1;
14537 }
14538 {
14539 if (temp2)
14540 delete arg2;
14541 }
14542 return resultobj;
14543 fail:
14544 {
14545 if (temp1)
14546 delete arg1;
14547 }
14548 {
14549 if (temp2)
14550 delete arg2;
14551 }
14552 return NULL;
14553}
14554
14555
1e0c8722
RD
14556static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
14557 PyObject *resultobj;
14558 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14559 PyObject * obj0 = 0 ;
14560 char *kwnames[] = {
14561 (char *) "self", NULL
14562 };
14563
14564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
14565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
14567 {
14568 PyThreadState* __tstate = wxPyBeginAllowThreads();
14569 wxPyArtProvider_Destroy(arg1);
14570
14571 wxPyEndAllowThreads(__tstate);
14572 if (PyErr_Occurred()) SWIG_fail;
14573 }
14574 Py_INCREF(Py_None); resultobj = Py_None;
14575 return resultobj;
14576 fail:
14577 return NULL;
14578}
14579
14580
d14a1e28
RD
14581static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
14582 PyObject *obj;
14583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14584 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
14585 Py_INCREF(obj);
14586 return Py_BuildValue((char *)"");
14587}
14588static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
14589 PyObject *resultobj;
14590 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14591 PyObject * obj0 = 0 ;
14592 char *kwnames[] = {
14593 (char *) "self", NULL
14594 };
14595
14596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
15afbcd0
RD
14597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14599 {
14600 PyThreadState* __tstate = wxPyBeginAllowThreads();
14601 delete arg1;
14602
14603 wxPyEndAllowThreads(__tstate);
14604 if (PyErr_Occurred()) SWIG_fail;
14605 }
14606 Py_INCREF(Py_None); resultobj = Py_None;
14607 return resultobj;
14608 fail:
14609 return NULL;
14610}
14611
14612
14613static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
14614 PyObject *resultobj;
14615 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14616 wxConfigBase *result;
14617 PyObject * obj0 = 0 ;
14618 char *kwnames[] = {
b88bce5f 14619 (char *) "config", NULL
d14a1e28
RD
14620 };
14621
14622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
15afbcd0
RD
14623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14625 {
14626 PyThreadState* __tstate = wxPyBeginAllowThreads();
14627 result = (wxConfigBase *)wxConfigBase::Set(arg1);
14628
14629 wxPyEndAllowThreads(__tstate);
14630 if (PyErr_Occurred()) SWIG_fail;
14631 }
15afbcd0 14632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
d14a1e28
RD
14633 return resultobj;
14634 fail:
14635 return NULL;
14636}
14637
14638
14639static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
14640 PyObject *resultobj;
e811c8ce 14641 bool arg1 = (bool) True ;
d14a1e28
RD
14642 wxConfigBase *result;
14643 PyObject * obj0 = 0 ;
14644 char *kwnames[] = {
14645 (char *) "createOnDemand", NULL
14646 };
14647
14648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
14649 if (obj0) {
15afbcd0
RD
14650 arg1 = (bool) SWIG_AsBool(obj0);
14651 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14652 }
14653 {
14654 PyThreadState* __tstate = wxPyBeginAllowThreads();
14655 result = (wxConfigBase *)wxConfigBase::Get(arg1);
14656
14657 wxPyEndAllowThreads(__tstate);
14658 if (PyErr_Occurred()) SWIG_fail;
14659 }
15afbcd0 14660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
d14a1e28
RD
14661 return resultobj;
14662 fail:
14663 return NULL;
14664}
14665
14666
14667static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14668 PyObject *resultobj;
14669 wxConfigBase *result;
14670 char *kwnames[] = {
14671 NULL
14672 };
14673
14674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
14675 {
14676 PyThreadState* __tstate = wxPyBeginAllowThreads();
14677 result = (wxConfigBase *)wxConfigBase::Create();
14678
14679 wxPyEndAllowThreads(__tstate);
14680 if (PyErr_Occurred()) SWIG_fail;
14681 }
15afbcd0 14682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
d14a1e28
RD
14683 return resultobj;
14684 fail:
14685 return NULL;
14686}
14687
14688
14689static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
14690 PyObject *resultobj;
14691 char *kwnames[] = {
14692 NULL
14693 };
14694
14695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
14696 {
14697 PyThreadState* __tstate = wxPyBeginAllowThreads();
14698 wxConfigBase::DontCreateOnDemand();
14699
14700 wxPyEndAllowThreads(__tstate);
14701 if (PyErr_Occurred()) SWIG_fail;
14702 }
14703 Py_INCREF(Py_None); resultobj = Py_None;
14704 return resultobj;
14705 fail:
14706 return NULL;
14707}
14708
14709
14710static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14711 PyObject *resultobj;
14712 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14713 wxString *arg2 = 0 ;
e811c8ce 14714 bool temp2 = False ;
d14a1e28
RD
14715 PyObject * obj0 = 0 ;
14716 PyObject * obj1 = 0 ;
14717 char *kwnames[] = {
b88bce5f 14718 (char *) "self",(char *) "path", NULL
d14a1e28
RD
14719 };
14720
14721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14724 {
14725 arg2 = wxString_in_helper(obj1);
14726 if (arg2 == NULL) SWIG_fail;
e811c8ce 14727 temp2 = True;
d14a1e28
RD
14728 }
14729 {
14730 PyThreadState* __tstate = wxPyBeginAllowThreads();
14731 (arg1)->SetPath((wxString const &)*arg2);
14732
14733 wxPyEndAllowThreads(__tstate);
14734 if (PyErr_Occurred()) SWIG_fail;
14735 }
14736 Py_INCREF(Py_None); resultobj = Py_None;
14737 {
14738 if (temp2)
14739 delete arg2;
14740 }
14741 return resultobj;
14742 fail:
14743 {
14744 if (temp2)
14745 delete arg2;
14746 }
14747 return NULL;
14748}
14749
14750
14751static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14752 PyObject *resultobj;
14753 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14754 wxString *result;
14755 PyObject * obj0 = 0 ;
14756 char *kwnames[] = {
14757 (char *) "self", NULL
14758 };
14759
14760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
14761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14763 {
14764 PyThreadState* __tstate = wxPyBeginAllowThreads();
14765 {
14766 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
14767 result = (wxString *) &_result_ref;
14768 }
14769
14770 wxPyEndAllowThreads(__tstate);
14771 if (PyErr_Occurred()) SWIG_fail;
14772 }
cc6dd355
RD
14773 {
14774#if wxUSE_UNICODE
14775 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14776#else
14777 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14778#endif
14779 }
d14a1e28
RD
14780 return resultobj;
14781 fail:
14782 return NULL;
14783}
14784
14785
14786static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14787 PyObject *resultobj;
14788 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14789 PyObject *result;
14790 PyObject * obj0 = 0 ;
14791 char *kwnames[] = {
14792 (char *) "self", NULL
14793 };
14794
14795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
15afbcd0
RD
14796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14798 {
14799 PyThreadState* __tstate = wxPyBeginAllowThreads();
14800 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
14801
14802 wxPyEndAllowThreads(__tstate);
14803 if (PyErr_Occurred()) SWIG_fail;
14804 }
14805 resultobj = result;
14806 return resultobj;
14807 fail:
14808 return NULL;
14809}
14810
14811
14812static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14813 PyObject *resultobj;
14814 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14815 long arg2 ;
14816 PyObject *result;
14817 PyObject * obj0 = 0 ;
994141e6 14818 PyObject * obj1 = 0 ;
d14a1e28
RD
14819 char *kwnames[] = {
14820 (char *) "self",(char *) "index", NULL
14821 };
14822
994141e6 14823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14826 arg2 = (long) SWIG_AsLong(obj1);
14827 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14828 {
14829 PyThreadState* __tstate = wxPyBeginAllowThreads();
14830 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
14831
14832 wxPyEndAllowThreads(__tstate);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 resultobj = result;
14836 return resultobj;
14837 fail:
14838 return NULL;
14839}
14840
14841
14842static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14843 PyObject *resultobj;
14844 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14845 PyObject *result;
14846 PyObject * obj0 = 0 ;
14847 char *kwnames[] = {
14848 (char *) "self", NULL
14849 };
14850
14851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
15afbcd0
RD
14852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14854 {
14855 PyThreadState* __tstate = wxPyBeginAllowThreads();
14856 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
14857
14858 wxPyEndAllowThreads(__tstate);
14859 if (PyErr_Occurred()) SWIG_fail;
14860 }
14861 resultobj = result;
14862 return resultobj;
14863 fail:
14864 return NULL;
14865}
14866
14867
14868static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14869 PyObject *resultobj;
14870 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14871 long arg2 ;
14872 PyObject *result;
14873 PyObject * obj0 = 0 ;
994141e6 14874 PyObject * obj1 = 0 ;
d14a1e28
RD
14875 char *kwnames[] = {
14876 (char *) "self",(char *) "index", NULL
14877 };
14878
994141e6 14879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14882 arg2 = (long) SWIG_AsLong(obj1);
14883 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14884 {
14885 PyThreadState* __tstate = wxPyBeginAllowThreads();
14886 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
14887
14888 wxPyEndAllowThreads(__tstate);
14889 if (PyErr_Occurred()) SWIG_fail;
14890 }
14891 resultobj = result;
14892 return resultobj;
14893 fail:
14894 return NULL;
14895}
14896
14897
14898static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
14899 PyObject *resultobj;
14900 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
e811c8ce 14901 bool arg2 = (bool) False ;
d14a1e28
RD
14902 size_t result;
14903 PyObject * obj0 = 0 ;
14904 PyObject * obj1 = 0 ;
14905 char *kwnames[] = {
b88bce5f 14906 (char *) "self",(char *) "recursive", NULL
d14a1e28
RD
14907 };
14908
14909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 14912 if (obj1) {
15afbcd0
RD
14913 arg2 = (bool) SWIG_AsBool(obj1);
14914 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14915 }
14916 {
14917 PyThreadState* __tstate = wxPyBeginAllowThreads();
14918 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
14919
14920 wxPyEndAllowThreads(__tstate);
14921 if (PyErr_Occurred()) SWIG_fail;
14922 }
15afbcd0 14923 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
14924 return resultobj;
14925 fail:
14926 return NULL;
14927}
14928
14929
14930static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
14931 PyObject *resultobj;
14932 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
e811c8ce 14933 bool arg2 = (bool) False ;
d14a1e28
RD
14934 size_t result;
14935 PyObject * obj0 = 0 ;
14936 PyObject * obj1 = 0 ;
14937 char *kwnames[] = {
b88bce5f 14938 (char *) "self",(char *) "recursive", NULL
d14a1e28
RD
14939 };
14940
14941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 14944 if (obj1) {
15afbcd0
RD
14945 arg2 = (bool) SWIG_AsBool(obj1);
14946 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14947 }
14948 {
14949 PyThreadState* __tstate = wxPyBeginAllowThreads();
14950 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
14951
14952 wxPyEndAllowThreads(__tstate);
14953 if (PyErr_Occurred()) SWIG_fail;
14954 }
15afbcd0 14955 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
14956 return resultobj;
14957 fail:
14958 return NULL;
14959}
14960
14961
14962static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14963 PyObject *resultobj;
14964 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14965 wxString *arg2 = 0 ;
14966 bool result;
e811c8ce 14967 bool temp2 = False ;
d14a1e28
RD
14968 PyObject * obj0 = 0 ;
14969 PyObject * obj1 = 0 ;
14970 char *kwnames[] = {
b88bce5f 14971 (char *) "self",(char *) "name", NULL
d14a1e28
RD
14972 };
14973
14974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14977 {
14978 arg2 = wxString_in_helper(obj1);
14979 if (arg2 == NULL) SWIG_fail;
e811c8ce 14980 temp2 = True;
d14a1e28
RD
14981 }
14982 {
14983 PyThreadState* __tstate = wxPyBeginAllowThreads();
14984 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
14985
14986 wxPyEndAllowThreads(__tstate);
14987 if (PyErr_Occurred()) SWIG_fail;
14988 }
4f89f6a3
RD
14989 {
14990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14991 }
d14a1e28
RD
14992 {
14993 if (temp2)
14994 delete arg2;
14995 }
14996 return resultobj;
14997 fail:
14998 {
14999 if (temp2)
15000 delete arg2;
15001 }
15002 return NULL;
15003}
15004
15005
15006static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15007 PyObject *resultobj;
15008 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15009 wxString *arg2 = 0 ;
15010 bool result;
e811c8ce 15011 bool temp2 = False ;
d14a1e28
RD
15012 PyObject * obj0 = 0 ;
15013 PyObject * obj1 = 0 ;
15014 char *kwnames[] = {
b88bce5f 15015 (char *) "self",(char *) "name", NULL
d14a1e28
RD
15016 };
15017
15018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15021 {
15022 arg2 = wxString_in_helper(obj1);
15023 if (arg2 == NULL) SWIG_fail;
e811c8ce 15024 temp2 = True;
d14a1e28
RD
15025 }
15026 {
15027 PyThreadState* __tstate = wxPyBeginAllowThreads();
15028 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
15029
15030 wxPyEndAllowThreads(__tstate);
15031 if (PyErr_Occurred()) SWIG_fail;
15032 }
4f89f6a3
RD
15033 {
15034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15035 }
d14a1e28
RD
15036 {
15037 if (temp2)
15038 delete arg2;
15039 }
15040 return resultobj;
15041 fail:
15042 {
15043 if (temp2)
15044 delete arg2;
15045 }
15046 return NULL;
15047}
15048
15049
15050static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
15051 PyObject *resultobj;
15052 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15053 wxString *arg2 = 0 ;
15054 bool result;
e811c8ce 15055 bool temp2 = False ;
d14a1e28
RD
15056 PyObject * obj0 = 0 ;
15057 PyObject * obj1 = 0 ;
15058 char *kwnames[] = {
b88bce5f 15059 (char *) "self",(char *) "name", NULL
d14a1e28
RD
15060 };
15061
15062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15065 {
15066 arg2 = wxString_in_helper(obj1);
15067 if (arg2 == NULL) SWIG_fail;
e811c8ce 15068 temp2 = True;
d14a1e28
RD
15069 }
15070 {
15071 PyThreadState* __tstate = wxPyBeginAllowThreads();
15072 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
15073
15074 wxPyEndAllowThreads(__tstate);
15075 if (PyErr_Occurred()) SWIG_fail;
15076 }
4f89f6a3
RD
15077 {
15078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15079 }
d14a1e28
RD
15080 {
15081 if (temp2)
15082 delete arg2;
15083 }
15084 return resultobj;
15085 fail:
15086 {
15087 if (temp2)
15088 delete arg2;
15089 }
15090 return NULL;
15091}
15092
15093
15094static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
15095 PyObject *resultobj;
15096 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15097 wxString *arg2 = 0 ;
15098 int result;
e811c8ce 15099 bool temp2 = False ;
d14a1e28
RD
15100 PyObject * obj0 = 0 ;
15101 PyObject * obj1 = 0 ;
15102 char *kwnames[] = {
15103 (char *) "self",(char *) "name", NULL
15104 };
15105
15106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15109 {
15110 arg2 = wxString_in_helper(obj1);
15111 if (arg2 == NULL) SWIG_fail;
e811c8ce 15112 temp2 = True;
d14a1e28
RD
15113 }
15114 {
15115 PyThreadState* __tstate = wxPyBeginAllowThreads();
15116 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
15117
15118 wxPyEndAllowThreads(__tstate);
15119 if (PyErr_Occurred()) SWIG_fail;
15120 }
15afbcd0 15121 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15122 {
15123 if (temp2)
15124 delete arg2;
15125 }
15126 return resultobj;
15127 fail:
15128 {
15129 if (temp2)
15130 delete arg2;
15131 }
15132 return NULL;
15133}
15134
15135
15136static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
15137 PyObject *resultobj;
15138 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15139 wxString *arg2 = 0 ;
15140 wxString const &arg3_defvalue = wxPyEmptyString ;
15141 wxString *arg3 = (wxString *) &arg3_defvalue ;
15142 wxString result;
e811c8ce
RD
15143 bool temp2 = False ;
15144 bool temp3 = False ;
d14a1e28
RD
15145 PyObject * obj0 = 0 ;
15146 PyObject * obj1 = 0 ;
15147 PyObject * obj2 = 0 ;
15148 char *kwnames[] = {
15149 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15150 };
15151
15152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15155 {
15156 arg2 = wxString_in_helper(obj1);
15157 if (arg2 == NULL) SWIG_fail;
e811c8ce 15158 temp2 = True;
d14a1e28
RD
15159 }
15160 if (obj2) {
15161 {
15162 arg3 = wxString_in_helper(obj2);
15163 if (arg3 == NULL) SWIG_fail;
e811c8ce 15164 temp3 = True;
d14a1e28
RD
15165 }
15166 }
15167 {
15168 PyThreadState* __tstate = wxPyBeginAllowThreads();
15169 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
15170
15171 wxPyEndAllowThreads(__tstate);
15172 if (PyErr_Occurred()) SWIG_fail;
15173 }
15174 {
15175#if wxUSE_UNICODE
15176 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15177#else
15178 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15179#endif
15180 }
15181 {
15182 if (temp2)
15183 delete arg2;
15184 }
15185 {
15186 if (temp3)
15187 delete arg3;
15188 }
15189 return resultobj;
15190 fail:
15191 {
15192 if (temp2)
15193 delete arg2;
15194 }
15195 {
15196 if (temp3)
15197 delete arg3;
15198 }
15199 return NULL;
15200}
15201
15202
15203static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15204 PyObject *resultobj;
15205 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15206 wxString *arg2 = 0 ;
15207 long arg3 = (long) 0 ;
15208 long result;
e811c8ce 15209 bool temp2 = False ;
d14a1e28
RD
15210 PyObject * obj0 = 0 ;
15211 PyObject * obj1 = 0 ;
994141e6 15212 PyObject * obj2 = 0 ;
d14a1e28
RD
15213 char *kwnames[] = {
15214 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15215 };
15216
994141e6 15217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15220 {
15221 arg2 = wxString_in_helper(obj1);
15222 if (arg2 == NULL) SWIG_fail;
e811c8ce 15223 temp2 = True;
d14a1e28 15224 }
994141e6 15225 if (obj2) {
15afbcd0
RD
15226 arg3 = (long) SWIG_AsLong(obj2);
15227 if (PyErr_Occurred()) SWIG_fail;
994141e6 15228 }
d14a1e28
RD
15229 {
15230 PyThreadState* __tstate = wxPyBeginAllowThreads();
15231 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
15232
15233 wxPyEndAllowThreads(__tstate);
15234 if (PyErr_Occurred()) SWIG_fail;
15235 }
15afbcd0 15236 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
15237 {
15238 if (temp2)
15239 delete arg2;
15240 }
15241 return resultobj;
15242 fail:
15243 {
15244 if (temp2)
15245 delete arg2;
15246 }
15247 return NULL;
15248}
15249
15250
15251static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15252 PyObject *resultobj;
15253 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15254 wxString *arg2 = 0 ;
15255 double arg3 = (double) 0.0 ;
15256 double result;
e811c8ce 15257 bool temp2 = False ;
d14a1e28
RD
15258 PyObject * obj0 = 0 ;
15259 PyObject * obj1 = 0 ;
994141e6 15260 PyObject * obj2 = 0 ;
d14a1e28
RD
15261 char *kwnames[] = {
15262 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15263 };
15264
994141e6 15265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15268 {
15269 arg2 = wxString_in_helper(obj1);
15270 if (arg2 == NULL) SWIG_fail;
e811c8ce 15271 temp2 = True;
d14a1e28 15272 }
994141e6 15273 if (obj2) {
15afbcd0
RD
15274 arg3 = (double) SWIG_AsDouble(obj2);
15275 if (PyErr_Occurred()) SWIG_fail;
994141e6 15276 }
d14a1e28
RD
15277 {
15278 PyThreadState* __tstate = wxPyBeginAllowThreads();
15279 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
15280
15281 wxPyEndAllowThreads(__tstate);
15282 if (PyErr_Occurred()) SWIG_fail;
15283 }
15afbcd0 15284 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
15285 {
15286 if (temp2)
15287 delete arg2;
15288 }
15289 return resultobj;
15290 fail:
15291 {
15292 if (temp2)
15293 delete arg2;
15294 }
15295 return NULL;
15296}
15297
15298
15299static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15300 PyObject *resultobj;
15301 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15302 wxString *arg2 = 0 ;
e811c8ce 15303 bool arg3 = (bool) False ;
d14a1e28 15304 bool result;
e811c8ce 15305 bool temp2 = False ;
d14a1e28
RD
15306 PyObject * obj0 = 0 ;
15307 PyObject * obj1 = 0 ;
15308 PyObject * obj2 = 0 ;
15309 char *kwnames[] = {
15310 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15311 };
15312
15313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15316 {
15317 arg2 = wxString_in_helper(obj1);
15318 if (arg2 == NULL) SWIG_fail;
e811c8ce 15319 temp2 = True;
d14a1e28
RD
15320 }
15321 if (obj2) {
15afbcd0
RD
15322 arg3 = (bool) SWIG_AsBool(obj2);
15323 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15324 }
15325 {
15326 PyThreadState* __tstate = wxPyBeginAllowThreads();
15327 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
15328
15329 wxPyEndAllowThreads(__tstate);
15330 if (PyErr_Occurred()) SWIG_fail;
15331 }
4f89f6a3
RD
15332 {
15333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15334 }
d14a1e28
RD
15335 {
15336 if (temp2)
15337 delete arg2;
15338 }
15339 return resultobj;
15340 fail:
15341 {
15342 if (temp2)
15343 delete arg2;
15344 }
15345 return NULL;
15346}
15347
15348
15349static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
15350 PyObject *resultobj;
15351 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15352 wxString *arg2 = 0 ;
15353 wxString *arg3 = 0 ;
15354 bool result;
e811c8ce
RD
15355 bool temp2 = False ;
15356 bool temp3 = False ;
d14a1e28
RD
15357 PyObject * obj0 = 0 ;
15358 PyObject * obj1 = 0 ;
15359 PyObject * obj2 = 0 ;
15360 char *kwnames[] = {
15361 (char *) "self",(char *) "key",(char *) "value", NULL
15362 };
15363
15364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15367 {
15368 arg2 = wxString_in_helper(obj1);
15369 if (arg2 == NULL) SWIG_fail;
e811c8ce 15370 temp2 = True;
d14a1e28
RD
15371 }
15372 {
15373 arg3 = wxString_in_helper(obj2);
15374 if (arg3 == NULL) SWIG_fail;
e811c8ce 15375 temp3 = True;
d14a1e28
RD
15376 }
15377 {
15378 PyThreadState* __tstate = wxPyBeginAllowThreads();
15379 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
15380
15381 wxPyEndAllowThreads(__tstate);
15382 if (PyErr_Occurred()) SWIG_fail;
15383 }
4f89f6a3
RD
15384 {
15385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15386 }
d14a1e28
RD
15387 {
15388 if (temp2)
15389 delete arg2;
15390 }
15391 {
15392 if (temp3)
15393 delete arg3;
15394 }
15395 return resultobj;
15396 fail:
15397 {
15398 if (temp2)
15399 delete arg2;
15400 }
15401 {
15402 if (temp3)
15403 delete arg3;
15404 }
15405 return NULL;
15406}
15407
15408
15409static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15410 PyObject *resultobj;
15411 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15412 wxString *arg2 = 0 ;
15413 long arg3 ;
15414 bool result;
e811c8ce 15415 bool temp2 = False ;
d14a1e28
RD
15416 PyObject * obj0 = 0 ;
15417 PyObject * obj1 = 0 ;
994141e6 15418 PyObject * obj2 = 0 ;
d14a1e28
RD
15419 char *kwnames[] = {
15420 (char *) "self",(char *) "key",(char *) "value", NULL
15421 };
15422
994141e6 15423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15426 {
15427 arg2 = wxString_in_helper(obj1);
15428 if (arg2 == NULL) SWIG_fail;
e811c8ce 15429 temp2 = True;
d14a1e28 15430 }
15afbcd0
RD
15431 arg3 = (long) SWIG_AsLong(obj2);
15432 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15433 {
15434 PyThreadState* __tstate = wxPyBeginAllowThreads();
15435 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15436
15437 wxPyEndAllowThreads(__tstate);
15438 if (PyErr_Occurred()) SWIG_fail;
15439 }
4f89f6a3
RD
15440 {
15441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15442 }
d14a1e28
RD
15443 {
15444 if (temp2)
15445 delete arg2;
15446 }
15447 return resultobj;
15448 fail:
15449 {
15450 if (temp2)
15451 delete arg2;
15452 }
15453 return NULL;
15454}
15455
15456
15457static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15458 PyObject *resultobj;
15459 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15460 wxString *arg2 = 0 ;
15461 double arg3 ;
15462 bool result;
e811c8ce 15463 bool temp2 = False ;
d14a1e28
RD
15464 PyObject * obj0 = 0 ;
15465 PyObject * obj1 = 0 ;
994141e6 15466 PyObject * obj2 = 0 ;
d14a1e28
RD
15467 char *kwnames[] = {
15468 (char *) "self",(char *) "key",(char *) "value", NULL
15469 };
15470
994141e6 15471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15474 {
15475 arg2 = wxString_in_helper(obj1);
15476 if (arg2 == NULL) SWIG_fail;
e811c8ce 15477 temp2 = True;
d14a1e28 15478 }
15afbcd0
RD
15479 arg3 = (double) SWIG_AsDouble(obj2);
15480 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15481 {
15482 PyThreadState* __tstate = wxPyBeginAllowThreads();
15483 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15484
15485 wxPyEndAllowThreads(__tstate);
15486 if (PyErr_Occurred()) SWIG_fail;
15487 }
4f89f6a3
RD
15488 {
15489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15490 }
d14a1e28
RD
15491 {
15492 if (temp2)
15493 delete arg2;
15494 }
15495 return resultobj;
15496 fail:
15497 {
15498 if (temp2)
15499 delete arg2;
15500 }
15501 return NULL;
15502}
15503
15504
15505static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15506 PyObject *resultobj;
15507 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15508 wxString *arg2 = 0 ;
15509 bool arg3 ;
15510 bool result;
e811c8ce 15511 bool temp2 = False ;
d14a1e28
RD
15512 PyObject * obj0 = 0 ;
15513 PyObject * obj1 = 0 ;
15514 PyObject * obj2 = 0 ;
15515 char *kwnames[] = {
15516 (char *) "self",(char *) "key",(char *) "value", NULL
15517 };
15518
15519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15522 {
15523 arg2 = wxString_in_helper(obj1);
15524 if (arg2 == NULL) SWIG_fail;
e811c8ce 15525 temp2 = True;
d14a1e28 15526 }
15afbcd0
RD
15527 arg3 = (bool) SWIG_AsBool(obj2);
15528 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15529 {
15530 PyThreadState* __tstate = wxPyBeginAllowThreads();
15531 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15532
15533 wxPyEndAllowThreads(__tstate);
15534 if (PyErr_Occurred()) SWIG_fail;
15535 }
4f89f6a3
RD
15536 {
15537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15538 }
d14a1e28
RD
15539 {
15540 if (temp2)
15541 delete arg2;
15542 }
15543 return resultobj;
15544 fail:
15545 {
15546 if (temp2)
15547 delete arg2;
15548 }
15549 return NULL;
15550}
15551
15552
15553static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
15554 PyObject *resultobj;
15555 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
e811c8ce 15556 bool arg2 = (bool) False ;
d14a1e28
RD
15557 bool result;
15558 PyObject * obj0 = 0 ;
15559 PyObject * obj1 = 0 ;
15560 char *kwnames[] = {
b88bce5f 15561 (char *) "self",(char *) "currentOnly", NULL
d14a1e28
RD
15562 };
15563
15564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15567 if (obj1) {
15afbcd0
RD
15568 arg2 = (bool) SWIG_AsBool(obj1);
15569 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15570 }
15571 {
15572 PyThreadState* __tstate = wxPyBeginAllowThreads();
15573 result = (bool)(arg1)->Flush(arg2);
15574
15575 wxPyEndAllowThreads(__tstate);
15576 if (PyErr_Occurred()) SWIG_fail;
15577 }
4f89f6a3
RD
15578 {
15579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15580 }
d14a1e28
RD
15581 return resultobj;
15582 fail:
15583 return NULL;
15584}
15585
15586
15587static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15588 PyObject *resultobj;
15589 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15590 wxString *arg2 = 0 ;
15591 wxString *arg3 = 0 ;
15592 bool result;
e811c8ce
RD
15593 bool temp2 = False ;
15594 bool temp3 = False ;
d14a1e28
RD
15595 PyObject * obj0 = 0 ;
15596 PyObject * obj1 = 0 ;
15597 PyObject * obj2 = 0 ;
15598 char *kwnames[] = {
15599 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15600 };
15601
15602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15605 {
15606 arg2 = wxString_in_helper(obj1);
15607 if (arg2 == NULL) SWIG_fail;
e811c8ce 15608 temp2 = True;
d14a1e28
RD
15609 }
15610 {
15611 arg3 = wxString_in_helper(obj2);
15612 if (arg3 == NULL) SWIG_fail;
e811c8ce 15613 temp3 = True;
d14a1e28
RD
15614 }
15615 {
15616 PyThreadState* __tstate = wxPyBeginAllowThreads();
15617 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
15618
15619 wxPyEndAllowThreads(__tstate);
15620 if (PyErr_Occurred()) SWIG_fail;
15621 }
4f89f6a3
RD
15622 {
15623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15624 }
d14a1e28
RD
15625 {
15626 if (temp2)
15627 delete arg2;
15628 }
15629 {
15630 if (temp3)
15631 delete arg3;
15632 }
15633 return resultobj;
15634 fail:
15635 {
15636 if (temp2)
15637 delete arg2;
15638 }
15639 {
15640 if (temp3)
15641 delete arg3;
15642 }
15643 return NULL;
15644}
15645
15646
15647static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15648 PyObject *resultobj;
15649 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15650 wxString *arg2 = 0 ;
15651 wxString *arg3 = 0 ;
15652 bool result;
e811c8ce
RD
15653 bool temp2 = False ;
15654 bool temp3 = False ;
d14a1e28
RD
15655 PyObject * obj0 = 0 ;
15656 PyObject * obj1 = 0 ;
15657 PyObject * obj2 = 0 ;
15658 char *kwnames[] = {
15659 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15660 };
15661
15662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15665 {
15666 arg2 = wxString_in_helper(obj1);
15667 if (arg2 == NULL) SWIG_fail;
e811c8ce 15668 temp2 = True;
d14a1e28
RD
15669 }
15670 {
15671 arg3 = wxString_in_helper(obj2);
15672 if (arg3 == NULL) SWIG_fail;
e811c8ce 15673 temp3 = True;
d14a1e28
RD
15674 }
15675 {
15676 PyThreadState* __tstate = wxPyBeginAllowThreads();
15677 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
15678
15679 wxPyEndAllowThreads(__tstate);
15680 if (PyErr_Occurred()) SWIG_fail;
15681 }
4f89f6a3
RD
15682 {
15683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15684 }
d14a1e28
RD
15685 {
15686 if (temp2)
15687 delete arg2;
15688 }
15689 {
15690 if (temp3)
15691 delete arg3;
15692 }
15693 return resultobj;
15694 fail:
15695 {
15696 if (temp2)
15697 delete arg2;
15698 }
15699 {
15700 if (temp3)
15701 delete arg3;
15702 }
15703 return NULL;
15704}
15705
15706
15707static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15708 PyObject *resultobj;
15709 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15710 wxString *arg2 = 0 ;
e811c8ce 15711 bool arg3 = (bool) True ;
d14a1e28 15712 bool result;
e811c8ce 15713 bool temp2 = False ;
d14a1e28
RD
15714 PyObject * obj0 = 0 ;
15715 PyObject * obj1 = 0 ;
15716 PyObject * obj2 = 0 ;
15717 char *kwnames[] = {
b88bce5f 15718 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
d14a1e28
RD
15719 };
15720
15721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15724 {
15725 arg2 = wxString_in_helper(obj1);
15726 if (arg2 == NULL) SWIG_fail;
e811c8ce 15727 temp2 = True;
d14a1e28
RD
15728 }
15729 if (obj2) {
15afbcd0
RD
15730 arg3 = (bool) SWIG_AsBool(obj2);
15731 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15732 }
15733 {
15734 PyThreadState* __tstate = wxPyBeginAllowThreads();
15735 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
15736
15737 wxPyEndAllowThreads(__tstate);
15738 if (PyErr_Occurred()) SWIG_fail;
15739 }
4f89f6a3
RD
15740 {
15741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15742 }
d14a1e28
RD
15743 {
15744 if (temp2)
15745 delete arg2;
15746 }
15747 return resultobj;
15748 fail:
15749 {
15750 if (temp2)
15751 delete arg2;
15752 }
15753 return NULL;
15754}
15755
15756
15757static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15758 PyObject *resultobj;
15759 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15760 wxString *arg2 = 0 ;
15761 bool result;
e811c8ce 15762 bool temp2 = False ;
d14a1e28
RD
15763 PyObject * obj0 = 0 ;
15764 PyObject * obj1 = 0 ;
15765 char *kwnames[] = {
15766 (char *) "self",(char *) "key", NULL
15767 };
15768
15769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15772 {
15773 arg2 = wxString_in_helper(obj1);
15774 if (arg2 == NULL) SWIG_fail;
e811c8ce 15775 temp2 = True;
d14a1e28
RD
15776 }
15777 {
15778 PyThreadState* __tstate = wxPyBeginAllowThreads();
15779 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
15780
15781 wxPyEndAllowThreads(__tstate);
15782 if (PyErr_Occurred()) SWIG_fail;
15783 }
4f89f6a3
RD
15784 {
15785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15786 }
d14a1e28
RD
15787 {
15788 if (temp2)
15789 delete arg2;
15790 }
15791 return resultobj;
15792 fail:
15793 {
15794 if (temp2)
15795 delete arg2;
15796 }
15797 return NULL;
15798}
15799
15800
15801static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
15802 PyObject *resultobj;
15803 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15804 bool result;
15805 PyObject * obj0 = 0 ;
15806 char *kwnames[] = {
15807 (char *) "self", NULL
15808 };
15809
15810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
15811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15813 {
15814 PyThreadState* __tstate = wxPyBeginAllowThreads();
15815 result = (bool)(arg1)->DeleteAll();
15816
15817 wxPyEndAllowThreads(__tstate);
15818 if (PyErr_Occurred()) SWIG_fail;
15819 }
4f89f6a3
RD
15820 {
15821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15822 }
d14a1e28
RD
15823 return resultobj;
15824 fail:
15825 return NULL;
15826}
15827
15828
b88bce5f 15829static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15830 PyObject *resultobj;
15831 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
b88bce5f 15832 bool arg2 = (bool) True ;
d14a1e28 15833 PyObject * obj0 = 0 ;
b88bce5f 15834 PyObject * obj1 = 0 ;
d14a1e28 15835 char *kwnames[] = {
b88bce5f 15836 (char *) "self",(char *) "doIt", NULL
d14a1e28
RD
15837 };
15838
b88bce5f 15839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b88bce5f 15842 if (obj1) {
15afbcd0
RD
15843 arg2 = (bool) SWIG_AsBool(obj1);
15844 if (PyErr_Occurred()) SWIG_fail;
b88bce5f 15845 }
d14a1e28
RD
15846 {
15847 PyThreadState* __tstate = wxPyBeginAllowThreads();
b88bce5f 15848 (arg1)->SetExpandEnvVars(arg2);
d14a1e28
RD
15849
15850 wxPyEndAllowThreads(__tstate);
15851 if (PyErr_Occurred()) SWIG_fail;
15852 }
b88bce5f 15853 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
15854 return resultobj;
15855 fail:
15856 return NULL;
15857}
15858
15859
b88bce5f 15860static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15861 PyObject *resultobj;
15862 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
b88bce5f 15863 bool result;
d14a1e28 15864 PyObject * obj0 = 0 ;
d14a1e28 15865 char *kwnames[] = {
b88bce5f 15866 (char *) "self", NULL
d14a1e28
RD
15867 };
15868
b88bce5f 15869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
15afbcd0
RD
15870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15872 {
15873 PyThreadState* __tstate = wxPyBeginAllowThreads();
b88bce5f 15874 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
d14a1e28
RD
15875
15876 wxPyEndAllowThreads(__tstate);
15877 if (PyErr_Occurred()) SWIG_fail;
15878 }
4f89f6a3
RD
15879 {
15880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15881 }
d14a1e28
RD
15882 return resultobj;
15883 fail:
15884 return NULL;
15885}
15886
15887
15888static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
15889 PyObject *resultobj;
15890 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
e811c8ce 15891 bool arg2 = (bool) True ;
d14a1e28
RD
15892 PyObject * obj0 = 0 ;
15893 PyObject * obj1 = 0 ;
15894 char *kwnames[] = {
b88bce5f 15895 (char *) "self",(char *) "doIt", NULL
d14a1e28
RD
15896 };
15897
15898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15901 if (obj1) {
15afbcd0
RD
15902 arg2 = (bool) SWIG_AsBool(obj1);
15903 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15904 }
15905 {
15906 PyThreadState* __tstate = wxPyBeginAllowThreads();
15907 (arg1)->SetRecordDefaults(arg2);
15908
15909 wxPyEndAllowThreads(__tstate);
15910 if (PyErr_Occurred()) SWIG_fail;
15911 }
15912 Py_INCREF(Py_None); resultobj = Py_None;
15913 return resultobj;
15914 fail:
15915 return NULL;
15916}
15917
15918
15919static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
15920 PyObject *resultobj;
15921 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15922 bool result;
15923 PyObject * obj0 = 0 ;
15924 char *kwnames[] = {
15925 (char *) "self", NULL
15926 };
15927
15928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
15afbcd0
RD
15929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15931 {
15932 PyThreadState* __tstate = wxPyBeginAllowThreads();
15933 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
15934
15935 wxPyEndAllowThreads(__tstate);
15936 if (PyErr_Occurred()) SWIG_fail;
15937 }
4f89f6a3
RD
15938 {
15939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15940 }
d14a1e28
RD
15941 return resultobj;
15942 fail:
15943 return NULL;
15944}
15945
15946
15947static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15948 PyObject *resultobj;
15949 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15950 wxString *arg2 = 0 ;
15951 wxString result;
e811c8ce 15952 bool temp2 = False ;
d14a1e28
RD
15953 PyObject * obj0 = 0 ;
15954 PyObject * obj1 = 0 ;
15955 char *kwnames[] = {
15956 (char *) "self",(char *) "str", NULL
15957 };
15958
15959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15962 {
15963 arg2 = wxString_in_helper(obj1);
15964 if (arg2 == NULL) SWIG_fail;
e811c8ce 15965 temp2 = True;
d14a1e28
RD
15966 }
15967 {
15968 PyThreadState* __tstate = wxPyBeginAllowThreads();
15969 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
15970
15971 wxPyEndAllowThreads(__tstate);
15972 if (PyErr_Occurred()) SWIG_fail;
15973 }
15974 {
15975#if wxUSE_UNICODE
15976 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15977#else
15978 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15979#endif
15980 }
15981 {
15982 if (temp2)
15983 delete arg2;
15984 }
15985 return resultobj;
15986 fail:
15987 {
15988 if (temp2)
15989 delete arg2;
15990 }
15991 return NULL;
15992}
15993
15994
15995static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
15996 PyObject *resultobj;
15997 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15998 wxString result;
15999 PyObject * obj0 = 0 ;
16000 char *kwnames[] = {
16001 (char *) "self", NULL
16002 };
16003
16004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
15afbcd0
RD
16005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16007 {
16008 PyThreadState* __tstate = wxPyBeginAllowThreads();
16009 result = ((wxConfigBase const *)arg1)->GetAppName();
16010
16011 wxPyEndAllowThreads(__tstate);
16012 if (PyErr_Occurred()) SWIG_fail;
16013 }
16014 {
16015#if wxUSE_UNICODE
16016 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16017#else
16018 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16019#endif
16020 }
16021 return resultobj;
16022 fail:
16023 return NULL;
16024}
16025
16026
16027static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
16028 PyObject *resultobj;
16029 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16030 wxString result;
16031 PyObject * obj0 = 0 ;
16032 char *kwnames[] = {
16033 (char *) "self", NULL
16034 };
16035
16036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
15afbcd0
RD
16037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16039 {
16040 PyThreadState* __tstate = wxPyBeginAllowThreads();
16041 result = ((wxConfigBase const *)arg1)->GetVendorName();
16042
16043 wxPyEndAllowThreads(__tstate);
16044 if (PyErr_Occurred()) SWIG_fail;
16045 }
16046 {
16047#if wxUSE_UNICODE
16048 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16049#else
16050 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16051#endif
16052 }
16053 return resultobj;
16054 fail:
16055 return NULL;
16056}
16057
16058
16059static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
16060 PyObject *resultobj;
16061 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16062 wxString *arg2 = 0 ;
e811c8ce 16063 bool temp2 = False ;
d14a1e28
RD
16064 PyObject * obj0 = 0 ;
16065 PyObject * obj1 = 0 ;
16066 char *kwnames[] = {
16067 (char *) "self",(char *) "appName", NULL
16068 };
16069
16070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16073 {
16074 arg2 = wxString_in_helper(obj1);
16075 if (arg2 == NULL) SWIG_fail;
e811c8ce 16076 temp2 = True;
d14a1e28
RD
16077 }
16078 {
16079 PyThreadState* __tstate = wxPyBeginAllowThreads();
16080 (arg1)->SetAppName((wxString const &)*arg2);
16081
16082 wxPyEndAllowThreads(__tstate);
16083 if (PyErr_Occurred()) SWIG_fail;
16084 }
16085 Py_INCREF(Py_None); resultobj = Py_None;
16086 {
16087 if (temp2)
16088 delete arg2;
16089 }
16090 return resultobj;
16091 fail:
16092 {
16093 if (temp2)
16094 delete arg2;
16095 }
16096 return NULL;
16097}
16098
16099
16100static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
16101 PyObject *resultobj;
16102 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16103 wxString *arg2 = 0 ;
e811c8ce 16104 bool temp2 = False ;
d14a1e28
RD
16105 PyObject * obj0 = 0 ;
16106 PyObject * obj1 = 0 ;
16107 char *kwnames[] = {
16108 (char *) "self",(char *) "vendorName", NULL
16109 };
16110
16111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16114 {
16115 arg2 = wxString_in_helper(obj1);
16116 if (arg2 == NULL) SWIG_fail;
e811c8ce 16117 temp2 = True;
d14a1e28
RD
16118 }
16119 {
16120 PyThreadState* __tstate = wxPyBeginAllowThreads();
16121 (arg1)->SetVendorName((wxString const &)*arg2);
16122
16123 wxPyEndAllowThreads(__tstate);
16124 if (PyErr_Occurred()) SWIG_fail;
16125 }
16126 Py_INCREF(Py_None); resultobj = Py_None;
16127 {
16128 if (temp2)
16129 delete arg2;
16130 }
16131 return resultobj;
16132 fail:
16133 {
16134 if (temp2)
16135 delete arg2;
16136 }
16137 return NULL;
16138}
16139
16140
16141static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16142 PyObject *resultobj;
16143 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16144 long arg2 ;
16145 PyObject * obj0 = 0 ;
994141e6 16146 PyObject * obj1 = 0 ;
d14a1e28
RD
16147 char *kwnames[] = {
16148 (char *) "self",(char *) "style", NULL
16149 };
16150
994141e6 16151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16154 arg2 = (long) SWIG_AsLong(obj1);
16155 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16156 {
16157 PyThreadState* __tstate = wxPyBeginAllowThreads();
16158 (arg1)->SetStyle(arg2);
16159
16160 wxPyEndAllowThreads(__tstate);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 }
16163 Py_INCREF(Py_None); resultobj = Py_None;
16164 return resultobj;
16165 fail:
16166 return NULL;
16167}
16168
16169
16170static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16171 PyObject *resultobj;
16172 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16173 long result;
16174 PyObject * obj0 = 0 ;
16175 char *kwnames[] = {
16176 (char *) "self", NULL
16177 };
16178
16179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
16180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16182 {
16183 PyThreadState* __tstate = wxPyBeginAllowThreads();
16184 result = (long)((wxConfigBase const *)arg1)->GetStyle();
16185
16186 wxPyEndAllowThreads(__tstate);
16187 if (PyErr_Occurred()) SWIG_fail;
16188 }
15afbcd0 16189 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
16190 return resultobj;
16191 fail:
16192 return NULL;
16193}
16194
16195
16196static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
16197 PyObject *obj;
16198 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16199 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
16200 Py_INCREF(obj);
16201 return Py_BuildValue((char *)"");
16202}
d14a1e28
RD
16203static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16204 PyObject *resultobj;
16205 wxString const &arg1_defvalue = wxPyEmptyString ;
16206 wxString *arg1 = (wxString *) &arg1_defvalue ;
16207 wxString const &arg2_defvalue = wxPyEmptyString ;
16208 wxString *arg2 = (wxString *) &arg2_defvalue ;
16209 wxString const &arg3_defvalue = wxPyEmptyString ;
16210 wxString *arg3 = (wxString *) &arg3_defvalue ;
16211 wxString const &arg4_defvalue = wxPyEmptyString ;
16212 wxString *arg4 = (wxString *) &arg4_defvalue ;
4f89f6a3 16213 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
d14a1e28 16214 wxConfig *result;
e811c8ce
RD
16215 bool temp1 = False ;
16216 bool temp2 = False ;
16217 bool temp3 = False ;
16218 bool temp4 = False ;
d14a1e28
RD
16219 PyObject * obj0 = 0 ;
16220 PyObject * obj1 = 0 ;
16221 PyObject * obj2 = 0 ;
16222 PyObject * obj3 = 0 ;
994141e6 16223 PyObject * obj4 = 0 ;
d14a1e28
RD
16224 char *kwnames[] = {
16225 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16226 };
16227
994141e6 16228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
16229 if (obj0) {
16230 {
16231 arg1 = wxString_in_helper(obj0);
16232 if (arg1 == NULL) SWIG_fail;
e811c8ce 16233 temp1 = True;
d14a1e28
RD
16234 }
16235 }
16236 if (obj1) {
16237 {
16238 arg2 = wxString_in_helper(obj1);
16239 if (arg2 == NULL) SWIG_fail;
e811c8ce 16240 temp2 = True;
d14a1e28
RD
16241 }
16242 }
16243 if (obj2) {
16244 {
16245 arg3 = wxString_in_helper(obj2);
16246 if (arg3 == NULL) SWIG_fail;
e811c8ce 16247 temp3 = True;
d14a1e28
RD
16248 }
16249 }
16250 if (obj3) {
16251 {
16252 arg4 = wxString_in_helper(obj3);
16253 if (arg4 == NULL) SWIG_fail;
e811c8ce 16254 temp4 = True;
d14a1e28
RD
16255 }
16256 }
994141e6 16257 if (obj4) {
15afbcd0
RD
16258 arg5 = (long) SWIG_AsLong(obj4);
16259 if (PyErr_Occurred()) SWIG_fail;
994141e6 16260 }
d14a1e28
RD
16261 {
16262 PyThreadState* __tstate = wxPyBeginAllowThreads();
16263 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16264
16265 wxPyEndAllowThreads(__tstate);
16266 if (PyErr_Occurred()) SWIG_fail;
16267 }
15afbcd0 16268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
d14a1e28
RD
16269 {
16270 if (temp1)
16271 delete arg1;
16272 }
16273 {
16274 if (temp2)
16275 delete arg2;
16276 }
16277 {
16278 if (temp3)
16279 delete arg3;
16280 }
16281 {
16282 if (temp4)
16283 delete arg4;
16284 }
16285 return resultobj;
16286 fail:
16287 {
16288 if (temp1)
16289 delete arg1;
16290 }
16291 {
16292 if (temp2)
16293 delete arg2;
16294 }
16295 {
16296 if (temp3)
16297 delete arg3;
16298 }
16299 {
16300 if (temp4)
16301 delete arg4;
16302 }
16303 return NULL;
16304}
16305
16306
16307static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16308 PyObject *resultobj;
16309 wxConfig *arg1 = (wxConfig *) 0 ;
16310 PyObject * obj0 = 0 ;
16311 char *kwnames[] = {
16312 (char *) "self", NULL
16313 };
16314
16315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
15afbcd0
RD
16316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfig,
16317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16318 {
16319 PyThreadState* __tstate = wxPyBeginAllowThreads();
16320 delete arg1;
16321
16322 wxPyEndAllowThreads(__tstate);
16323 if (PyErr_Occurred()) SWIG_fail;
16324 }
16325 Py_INCREF(Py_None); resultobj = Py_None;
16326 return resultobj;
16327 fail:
16328 return NULL;
16329}
16330
16331
16332static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
16333 PyObject *obj;
16334 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16335 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
16336 Py_INCREF(obj);
16337 return Py_BuildValue((char *)"");
16338}
16339static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16340 PyObject *resultobj;
16341 wxString const &arg1_defvalue = wxPyEmptyString ;
16342 wxString *arg1 = (wxString *) &arg1_defvalue ;
16343 wxString const &arg2_defvalue = wxPyEmptyString ;
16344 wxString *arg2 = (wxString *) &arg2_defvalue ;
16345 wxString const &arg3_defvalue = wxPyEmptyString ;
16346 wxString *arg3 = (wxString *) &arg3_defvalue ;
16347 wxString const &arg4_defvalue = wxPyEmptyString ;
16348 wxString *arg4 = (wxString *) &arg4_defvalue ;
4276dc52 16349 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
d14a1e28 16350 wxFileConfig *result;
e811c8ce
RD
16351 bool temp1 = False ;
16352 bool temp2 = False ;
16353 bool temp3 = False ;
16354 bool temp4 = False ;
d14a1e28
RD
16355 PyObject * obj0 = 0 ;
16356 PyObject * obj1 = 0 ;
16357 PyObject * obj2 = 0 ;
16358 PyObject * obj3 = 0 ;
994141e6 16359 PyObject * obj4 = 0 ;
d14a1e28
RD
16360 char *kwnames[] = {
16361 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16362 };
16363
994141e6 16364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
16365 if (obj0) {
16366 {
16367 arg1 = wxString_in_helper(obj0);
16368 if (arg1 == NULL) SWIG_fail;
e811c8ce 16369 temp1 = True;
d14a1e28
RD
16370 }
16371 }
16372 if (obj1) {
16373 {
16374 arg2 = wxString_in_helper(obj1);
16375 if (arg2 == NULL) SWIG_fail;
e811c8ce 16376 temp2 = True;
d14a1e28
RD
16377 }
16378 }
16379 if (obj2) {
16380 {
16381 arg3 = wxString_in_helper(obj2);
16382 if (arg3 == NULL) SWIG_fail;
e811c8ce 16383 temp3 = True;
d14a1e28
RD
16384 }
16385 }
16386 if (obj3) {
16387 {
16388 arg4 = wxString_in_helper(obj3);
16389 if (arg4 == NULL) SWIG_fail;
e811c8ce 16390 temp4 = True;
d14a1e28
RD
16391 }
16392 }
994141e6 16393 if (obj4) {
15afbcd0
RD
16394 arg5 = (long) SWIG_AsLong(obj4);
16395 if (PyErr_Occurred()) SWIG_fail;
994141e6 16396 }
d14a1e28
RD
16397 {
16398 PyThreadState* __tstate = wxPyBeginAllowThreads();
16399 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16400
16401 wxPyEndAllowThreads(__tstate);
16402 if (PyErr_Occurred()) SWIG_fail;
16403 }
15afbcd0 16404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
d14a1e28
RD
16405 {
16406 if (temp1)
16407 delete arg1;
16408 }
16409 {
16410 if (temp2)
16411 delete arg2;
16412 }
16413 {
16414 if (temp3)
16415 delete arg3;
16416 }
16417 {
16418 if (temp4)
16419 delete arg4;
16420 }
16421 return resultobj;
16422 fail:
16423 {
16424 if (temp1)
16425 delete arg1;
16426 }
16427 {
16428 if (temp2)
16429 delete arg2;
16430 }
16431 {
16432 if (temp3)
16433 delete arg3;
16434 }
16435 {
16436 if (temp4)
16437 delete arg4;
16438 }
16439 return NULL;
16440}
16441
16442
16443static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16444 PyObject *resultobj;
16445 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
16446 PyObject * obj0 = 0 ;
16447 char *kwnames[] = {
16448 (char *) "self", NULL
16449 };
16450
16451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
15afbcd0
RD
16452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileConfig,
16453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16454 {
16455 PyThreadState* __tstate = wxPyBeginAllowThreads();
16456 delete arg1;
16457
16458 wxPyEndAllowThreads(__tstate);
16459 if (PyErr_Occurred()) SWIG_fail;
16460 }
16461 Py_INCREF(Py_None); resultobj = Py_None;
16462 return resultobj;
16463 fail:
16464 return NULL;
16465}
16466
16467
16468static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
16469 PyObject *obj;
16470 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16471 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
16472 Py_INCREF(obj);
16473 return Py_BuildValue((char *)"");
16474}
b88bce5f
RD
16475static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
16476 PyObject *resultobj;
16477 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16478 wxString *arg2 = 0 ;
16479 wxConfigPathChanger *result;
16480 bool temp2 = False ;
16481 PyObject * obj0 = 0 ;
16482 PyObject * obj1 = 0 ;
16483 char *kwnames[] = {
16484 (char *) "config",(char *) "entry", NULL
16485 };
16486
16487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b88bce5f
RD
16490 {
16491 arg2 = wxString_in_helper(obj1);
16492 if (arg2 == NULL) SWIG_fail;
16493 temp2 = True;
16494 }
16495 {
16496 PyThreadState* __tstate = wxPyBeginAllowThreads();
16497 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
16498
16499 wxPyEndAllowThreads(__tstate);
16500 if (PyErr_Occurred()) SWIG_fail;
16501 }
15afbcd0 16502 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
b88bce5f
RD
16503 {
16504 if (temp2)
16505 delete arg2;
16506 }
16507 return resultobj;
16508 fail:
16509 {
16510 if (temp2)
16511 delete arg2;
16512 }
16513 return NULL;
16514}
16515
16516
16517static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
16518 PyObject *resultobj;
16519 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16520 PyObject * obj0 = 0 ;
16521 char *kwnames[] = {
16522 (char *) "self", NULL
16523 };
16524
16525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
15afbcd0
RD
16526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b88bce5f
RD
16528 {
16529 PyThreadState* __tstate = wxPyBeginAllowThreads();
16530 delete arg1;
16531
16532 wxPyEndAllowThreads(__tstate);
16533 if (PyErr_Occurred()) SWIG_fail;
16534 }
16535 Py_INCREF(Py_None); resultobj = Py_None;
16536 return resultobj;
16537 fail:
16538 return NULL;
16539}
16540
16541
16542static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
16543 PyObject *resultobj;
16544 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16545 wxString *result;
16546 PyObject * obj0 = 0 ;
16547 char *kwnames[] = {
16548 (char *) "self", NULL
16549 };
16550
16551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
15afbcd0
RD
16552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b88bce5f
RD
16554 {
16555 PyThreadState* __tstate = wxPyBeginAllowThreads();
16556 {
16557 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
16558 result = (wxString *) &_result_ref;
16559 }
16560
16561 wxPyEndAllowThreads(__tstate);
16562 if (PyErr_Occurred()) SWIG_fail;
16563 }
16564 {
16565#if wxUSE_UNICODE
16566 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16567#else
16568 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16569#endif
16570 }
16571 return resultobj;
16572 fail:
16573 return NULL;
16574}
16575
16576
16577static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
16578 PyObject *obj;
16579 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16580 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
16581 Py_INCREF(obj);
16582 return Py_BuildValue((char *)"");
16583}
d14a1e28
RD
16584static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16585 PyObject *resultobj;
16586 wxString *arg1 = 0 ;
16587 wxString result;
e811c8ce 16588 bool temp1 = False ;
d14a1e28
RD
16589 PyObject * obj0 = 0 ;
16590 char *kwnames[] = {
16591 (char *) "sz", NULL
16592 };
16593
16594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
16595 {
16596 arg1 = wxString_in_helper(obj0);
16597 if (arg1 == NULL) SWIG_fail;
e811c8ce 16598 temp1 = True;
d14a1e28
RD
16599 }
16600 {
16601 PyThreadState* __tstate = wxPyBeginAllowThreads();
16602 result = wxExpandEnvVars((wxString const &)*arg1);
16603
16604 wxPyEndAllowThreads(__tstate);
16605 if (PyErr_Occurred()) SWIG_fail;
16606 }
16607 {
16608#if wxUSE_UNICODE
16609 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16610#else
16611 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16612#endif
16613 }
16614 {
16615 if (temp1)
16616 delete arg1;
16617 }
16618 return resultobj;
16619 fail:
16620 {
16621 if (temp1)
16622 delete arg1;
16623 }
16624 return NULL;
16625}
16626
16627
b2dc1044
RD
16628static int _wrap_DateFormatStr_set(PyObject *_val) {
16629 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
16630 return 1;
16631}
16632
16633
16634static PyObject *_wrap_DateFormatStr_get() {
16635 PyObject *pyobj;
16636
16637 {
16638#if wxUSE_UNICODE
16639 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16640#else
16641 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16642#endif
16643 }
16644 return pyobj;
16645}
16646
16647
16648static int _wrap_TimeSpanFormatStr_set(PyObject *_val) {
16649 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
16650 return 1;
16651}
16652
16653
16654static PyObject *_wrap_TimeSpanFormatStr_get() {
16655 PyObject *pyobj;
16656
16657 {
16658#if wxUSE_UNICODE
16659 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16660#else
16661 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16662#endif
16663 }
16664 return pyobj;
16665}
16666
16667
d14a1e28
RD
16668static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16669 PyObject *resultobj;
16670 int arg1 ;
994141e6 16671 PyObject * obj0 = 0 ;
d14a1e28
RD
16672 char *kwnames[] = {
16673 (char *) "country", NULL
16674 };
16675
994141e6 16676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
15afbcd0
RD
16677 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16678 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16679 {
16680 PyThreadState* __tstate = wxPyBeginAllowThreads();
16681 wxDateTime::SetCountry((wxDateTime::Country )arg1);
16682
16683 wxPyEndAllowThreads(__tstate);
16684 if (PyErr_Occurred()) SWIG_fail;
16685 }
16686 Py_INCREF(Py_None); resultobj = Py_None;
16687 return resultobj;
16688 fail:
16689 return NULL;
16690}
16691
16692
16693static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16694 PyObject *resultobj;
16695 int result;
16696 char *kwnames[] = {
16697 NULL
16698 };
16699
16700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
16701 {
16702 PyThreadState* __tstate = wxPyBeginAllowThreads();
16703 result = (int)wxDateTime::GetCountry();
16704
16705 wxPyEndAllowThreads(__tstate);
16706 if (PyErr_Occurred()) SWIG_fail;
16707 }
15afbcd0 16708 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16709 return resultobj;
16710 fail:
16711 return NULL;
16712}
16713
16714
16715static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16716 PyObject *resultobj;
16717 int arg1 = (int) wxDateTime::Country_Default ;
16718 bool result;
994141e6 16719 PyObject * obj0 = 0 ;
d14a1e28
RD
16720 char *kwnames[] = {
16721 (char *) "country", NULL
16722 };
16723
994141e6
RD
16724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
16725 if (obj0) {
15afbcd0
RD
16726 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16727 if (PyErr_Occurred()) SWIG_fail;
994141e6 16728 }
d14a1e28
RD
16729 {
16730 PyThreadState* __tstate = wxPyBeginAllowThreads();
16731 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
16732
16733 wxPyEndAllowThreads(__tstate);
16734 if (PyErr_Occurred()) SWIG_fail;
16735 }
4f89f6a3
RD
16736 {
16737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16738 }
d14a1e28
RD
16739 return resultobj;
16740 fail:
16741 return NULL;
16742}
16743
16744
16745static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16746 PyObject *resultobj;
16747 int arg1 = (int) wxDateTime::Gregorian ;
16748 int result;
994141e6 16749 PyObject * obj0 = 0 ;
d14a1e28
RD
16750 char *kwnames[] = {
16751 (char *) "cal", NULL
16752 };
16753
994141e6
RD
16754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
16755 if (obj0) {
15afbcd0
RD
16756 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16757 if (PyErr_Occurred()) SWIG_fail;
994141e6 16758 }
d14a1e28
RD
16759 {
16760 PyThreadState* __tstate = wxPyBeginAllowThreads();
16761 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
16762
16763 wxPyEndAllowThreads(__tstate);
16764 if (PyErr_Occurred()) SWIG_fail;
16765 }
15afbcd0 16766 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16767 return resultobj;
16768 fail:
16769 return NULL;
16770}
16771
16772
16773static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
16774 PyObject *resultobj;
16775 int arg1 ;
16776 int result;
994141e6 16777 PyObject * obj0 = 0 ;
d14a1e28
RD
16778 char *kwnames[] = {
16779 (char *) "year", NULL
16780 };
16781
994141e6 16782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
15afbcd0
RD
16783 arg1 = (int) SWIG_AsInt(obj0);
16784 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16785 {
16786 PyThreadState* __tstate = wxPyBeginAllowThreads();
16787 result = (int)wxDateTime::ConvertYearToBC(arg1);
16788
16789 wxPyEndAllowThreads(__tstate);
16790 if (PyErr_Occurred()) SWIG_fail;
16791 }
15afbcd0 16792 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16793 return resultobj;
16794 fail:
16795 return NULL;
16796}
16797
16798
16799static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16800 PyObject *resultobj;
16801 int arg1 = (int) wxDateTime::Gregorian ;
16802 int result;
994141e6 16803 PyObject * obj0 = 0 ;
d14a1e28
RD
16804 char *kwnames[] = {
16805 (char *) "cal", NULL
16806 };
16807
994141e6
RD
16808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
16809 if (obj0) {
15afbcd0
RD
16810 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16811 if (PyErr_Occurred()) SWIG_fail;
994141e6 16812 }
d14a1e28
RD
16813 {
16814 PyThreadState* __tstate = wxPyBeginAllowThreads();
16815 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
16816
16817 wxPyEndAllowThreads(__tstate);
16818 if (PyErr_Occurred()) SWIG_fail;
16819 }
15afbcd0 16820 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16821 return resultobj;
16822 fail:
16823 return NULL;
16824}
16825
16826
16827static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16828 PyObject *resultobj;
16829 int arg1 = (int) wxDateTime::Inv_Year ;
16830 int arg2 = (int) wxDateTime::Gregorian ;
16831 bool result;
994141e6
RD
16832 PyObject * obj0 = 0 ;
16833 PyObject * obj1 = 0 ;
d14a1e28
RD
16834 char *kwnames[] = {
16835 (char *) "year",(char *) "cal", NULL
16836 };
16837
994141e6
RD
16838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
16839 if (obj0) {
15afbcd0
RD
16840 arg1 = (int) SWIG_AsInt(obj0);
16841 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
16842 }
16843 if (obj1) {
15afbcd0
RD
16844 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
16845 if (PyErr_Occurred()) SWIG_fail;
994141e6 16846 }
d14a1e28
RD
16847 {
16848 PyThreadState* __tstate = wxPyBeginAllowThreads();
16849 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
16850
16851 wxPyEndAllowThreads(__tstate);
16852 if (PyErr_Occurred()) SWIG_fail;
16853 }
4f89f6a3
RD
16854 {
16855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16856 }
d14a1e28
RD
16857 return resultobj;
16858 fail:
16859 return NULL;
16860}
16861
16862
16863static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
16864 PyObject *resultobj;
16865 int arg1 = (int) wxDateTime::Inv_Year ;
16866 int result;
994141e6 16867 PyObject * obj0 = 0 ;
d14a1e28
RD
16868 char *kwnames[] = {
16869 (char *) "year", NULL
16870 };
16871
994141e6
RD
16872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
16873 if (obj0) {
15afbcd0
RD
16874 arg1 = (int) SWIG_AsInt(obj0);
16875 if (PyErr_Occurred()) SWIG_fail;
994141e6 16876 }
d14a1e28
RD
16877 {
16878 PyThreadState* __tstate = wxPyBeginAllowThreads();
16879 result = (int)wxDateTime::GetCentury(arg1);
16880
16881 wxPyEndAllowThreads(__tstate);
16882 if (PyErr_Occurred()) SWIG_fail;
16883 }
15afbcd0 16884 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16885 return resultobj;
16886 fail:
16887 return NULL;
16888}
16889
16890
16891static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16892 PyObject *resultobj;
16893 int arg1 ;
16894 int arg2 = (int) wxDateTime::Gregorian ;
322913ce 16895 int result;
994141e6
RD
16896 PyObject * obj0 = 0 ;
16897 PyObject * obj1 = 0 ;
d14a1e28
RD
16898 char *kwnames[] = {
16899 (char *) "year",(char *) "cal", NULL
16900 };
16901
994141e6 16902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16903 arg1 = (int) SWIG_AsInt(obj0);
16904 if (PyErr_Occurred()) SWIG_fail;
994141e6 16905 if (obj1) {
15afbcd0
RD
16906 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
16907 if (PyErr_Occurred()) SWIG_fail;
994141e6 16908 }
d14a1e28
RD
16909 {
16910 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 16911 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
d14a1e28
RD
16912
16913 wxPyEndAllowThreads(__tstate);
16914 if (PyErr_Occurred()) SWIG_fail;
16915 }
15afbcd0 16916 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16917 return resultobj;
16918 fail:
16919 return NULL;
16920}
16921
16922
16923static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16924 PyObject *resultobj;
16925 int arg1 ;
16926 int arg2 = (int) wxDateTime::Inv_Year ;
16927 int arg3 = (int) wxDateTime::Gregorian ;
322913ce 16928 int result;
994141e6
RD
16929 PyObject * obj0 = 0 ;
16930 PyObject * obj1 = 0 ;
16931 PyObject * obj2 = 0 ;
d14a1e28
RD
16932 char *kwnames[] = {
16933 (char *) "month",(char *) "year",(char *) "cal", NULL
16934 };
16935
994141e6 16936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16937 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
16938 if (PyErr_Occurred()) SWIG_fail;
994141e6 16939 if (obj1) {
15afbcd0
RD
16940 arg2 = (int) SWIG_AsInt(obj1);
16941 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
16942 }
16943 if (obj2) {
15afbcd0
RD
16944 arg3 = (wxDateTime::Calendar) SWIG_AsInt(obj2);
16945 if (PyErr_Occurred()) SWIG_fail;
994141e6 16946 }
d14a1e28
RD
16947 {
16948 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 16949 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
d14a1e28
RD
16950
16951 wxPyEndAllowThreads(__tstate);
16952 if (PyErr_Occurred()) SWIG_fail;
16953 }
15afbcd0 16954 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16955 return resultobj;
16956 fail:
16957 return NULL;
16958}
16959
16960
16961static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
16962 PyObject *resultobj;
16963 int arg1 ;
16964 int arg2 = (int) wxDateTime::Name_Full ;
16965 wxString result;
994141e6
RD
16966 PyObject * obj0 = 0 ;
16967 PyObject * obj1 = 0 ;
d14a1e28
RD
16968 char *kwnames[] = {
16969 (char *) "month",(char *) "flags", NULL
16970 };
16971
994141e6 16972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16973 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
16974 if (PyErr_Occurred()) SWIG_fail;
994141e6 16975 if (obj1) {
15afbcd0
RD
16976 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
16977 if (PyErr_Occurred()) SWIG_fail;
994141e6 16978 }
d14a1e28
RD
16979 {
16980 PyThreadState* __tstate = wxPyBeginAllowThreads();
16981 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
16982
16983 wxPyEndAllowThreads(__tstate);
16984 if (PyErr_Occurred()) SWIG_fail;
16985 }
16986 {
16987#if wxUSE_UNICODE
16988 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16989#else
16990 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16991#endif
16992 }
16993 return resultobj;
16994 fail:
16995 return NULL;
16996}
16997
16998
16999static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
17000 PyObject *resultobj;
17001 int arg1 ;
17002 int arg2 = (int) wxDateTime::Name_Full ;
17003 wxString result;
994141e6
RD
17004 PyObject * obj0 = 0 ;
17005 PyObject * obj1 = 0 ;
d14a1e28
RD
17006 char *kwnames[] = {
17007 (char *) "weekday",(char *) "flags", NULL
17008 };
17009
994141e6 17010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17011 arg1 = (wxDateTime::WeekDay) SWIG_AsInt(obj0);
17012 if (PyErr_Occurred()) SWIG_fail;
994141e6 17013 if (obj1) {
15afbcd0
RD
17014 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
17015 if (PyErr_Occurred()) SWIG_fail;
994141e6 17016 }
d14a1e28
RD
17017 {
17018 PyThreadState* __tstate = wxPyBeginAllowThreads();
17019 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
17020
17021 wxPyEndAllowThreads(__tstate);
17022 if (PyErr_Occurred()) SWIG_fail;
17023 }
17024 {
17025#if wxUSE_UNICODE
17026 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17027#else
17028 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17029#endif
17030 }
17031 return resultobj;
17032 fail:
17033 return NULL;
17034}
17035
17036
17037static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
17038 PyObject *resultobj;
17039 wxString *arg1 = (wxString *) 0 ;
17040 wxString *arg2 = (wxString *) 0 ;
7eae615b
RD
17041 bool temp1 = False ;
17042 bool temp2 = False ;
d14a1e28
RD
17043 PyObject * obj0 = 0 ;
17044 PyObject * obj1 = 0 ;
17045 char *kwnames[] = {
17046 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17047 };
17048
17049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
7eae615b
RD
17050 {
17051 arg1 = wxString_in_helper(obj0);
17052 if (arg1 == NULL) SWIG_fail;
17053 temp1 = True;
17054 }
17055 {
17056 arg2 = wxString_in_helper(obj1);
17057 if (arg2 == NULL) SWIG_fail;
17058 temp2 = True;
17059 }
d14a1e28
RD
17060 {
17061 PyThreadState* __tstate = wxPyBeginAllowThreads();
17062 wxDateTime::GetAmPmStrings(arg1,arg2);
17063
17064 wxPyEndAllowThreads(__tstate);
17065 if (PyErr_Occurred()) SWIG_fail;
17066 }
17067 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
17068 {
17069 if (temp1)
17070 delete arg1;
17071 }
17072 {
17073 if (temp2)
17074 delete arg2;
17075 }
d14a1e28
RD
17076 return resultobj;
17077 fail:
7eae615b
RD
17078 {
17079 if (temp1)
17080 delete arg1;
17081 }
17082 {
17083 if (temp2)
17084 delete arg2;
17085 }
d14a1e28
RD
17086 return NULL;
17087}
17088
17089
17090static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
17091 PyObject *resultobj;
17092 int arg1 = (int) wxDateTime::Inv_Year ;
17093 int arg2 = (int) wxDateTime::Country_Default ;
17094 bool result;
994141e6
RD
17095 PyObject * obj0 = 0 ;
17096 PyObject * obj1 = 0 ;
d14a1e28
RD
17097 char *kwnames[] = {
17098 (char *) "year",(char *) "country", NULL
17099 };
17100
994141e6
RD
17101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
17102 if (obj0) {
15afbcd0
RD
17103 arg1 = (int) SWIG_AsInt(obj0);
17104 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17105 }
17106 if (obj1) {
15afbcd0
RD
17107 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17108 if (PyErr_Occurred()) SWIG_fail;
994141e6 17109 }
d14a1e28
RD
17110 {
17111 PyThreadState* __tstate = wxPyBeginAllowThreads();
17112 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
17113
17114 wxPyEndAllowThreads(__tstate);
17115 if (PyErr_Occurred()) SWIG_fail;
17116 }
4f89f6a3
RD
17117 {
17118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17119 }
d14a1e28
RD
17120 return resultobj;
17121 fail:
17122 return NULL;
17123}
17124
17125
17126static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17127 PyObject *resultobj;
17128 int arg1 = (int) wxDateTime::Inv_Year ;
17129 int arg2 = (int) wxDateTime::Country_Default ;
17130 wxDateTime result;
994141e6
RD
17131 PyObject * obj0 = 0 ;
17132 PyObject * obj1 = 0 ;
d14a1e28
RD
17133 char *kwnames[] = {
17134 (char *) "year",(char *) "country", NULL
17135 };
17136
994141e6
RD
17137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
17138 if (obj0) {
15afbcd0
RD
17139 arg1 = (int) SWIG_AsInt(obj0);
17140 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17141 }
17142 if (obj1) {
15afbcd0
RD
17143 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17144 if (PyErr_Occurred()) SWIG_fail;
994141e6 17145 }
d14a1e28
RD
17146 {
17147 PyThreadState* __tstate = wxPyBeginAllowThreads();
17148 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
17149
17150 wxPyEndAllowThreads(__tstate);
17151 if (PyErr_Occurred()) SWIG_fail;
17152 }
17153 {
17154 wxDateTime * resultptr;
17155 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 17156 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17157 }
17158 return resultobj;
17159 fail:
17160 return NULL;
17161}
17162
17163
17164static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17165 PyObject *resultobj;
17166 int arg1 = (int) wxDateTime::Inv_Year ;
17167 int arg2 = (int) wxDateTime::Country_Default ;
17168 wxDateTime result;
994141e6
RD
17169 PyObject * obj0 = 0 ;
17170 PyObject * obj1 = 0 ;
d14a1e28
RD
17171 char *kwnames[] = {
17172 (char *) "year",(char *) "country", NULL
17173 };
17174
994141e6
RD
17175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
17176 if (obj0) {
15afbcd0
RD
17177 arg1 = (int) SWIG_AsInt(obj0);
17178 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17179 }
17180 if (obj1) {
15afbcd0
RD
17181 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17182 if (PyErr_Occurred()) SWIG_fail;
994141e6 17183 }
d14a1e28
RD
17184 {
17185 PyThreadState* __tstate = wxPyBeginAllowThreads();
17186 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
17187
17188 wxPyEndAllowThreads(__tstate);
17189 if (PyErr_Occurred()) SWIG_fail;
17190 }
17191 {
17192 wxDateTime * resultptr;
17193 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 17194 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17195 }
17196 return resultobj;
17197 fail:
17198 return NULL;
17199}
17200
17201
17202static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
17203 PyObject *resultobj;
17204 wxDateTime result;
17205 char *kwnames[] = {
17206 NULL
17207 };
17208
17209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
17210 {
17211 PyThreadState* __tstate = wxPyBeginAllowThreads();
17212 result = wxDateTime::Now();
17213
17214 wxPyEndAllowThreads(__tstate);
17215 if (PyErr_Occurred()) SWIG_fail;
17216 }
17217 {
17218 wxDateTime * resultptr;
17219 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 17220 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17221 }
17222 return resultobj;
17223 fail:
17224 return NULL;
17225}
17226
17227
17228static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
17229 PyObject *resultobj;
17230 wxDateTime result;
17231 char *kwnames[] = {
17232 NULL
17233 };
17234
17235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
17236 {
17237 PyThreadState* __tstate = wxPyBeginAllowThreads();
17238 result = wxDateTime::UNow();
17239
17240 wxPyEndAllowThreads(__tstate);
17241 if (PyErr_Occurred()) SWIG_fail;
17242 }
17243 {
17244 wxDateTime * resultptr;
17245 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 17246 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17247 }
17248 return resultobj;
17249 fail:
17250 return NULL;
17251}
17252
17253
17254static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
17255 PyObject *resultobj;
17256 wxDateTime result;
17257 char *kwnames[] = {
17258 NULL
17259 };
17260
17261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
17262 {
17263 PyThreadState* __tstate = wxPyBeginAllowThreads();
17264 result = wxDateTime::Today();
17265
17266 wxPyEndAllowThreads(__tstate);
17267 if (PyErr_Occurred()) SWIG_fail;
17268 }
17269 {
17270 wxDateTime * resultptr;
17271 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 17272 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17273 }
17274 return resultobj;
17275 fail:
17276 return NULL;
17277}
17278
17279
17280static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17281 PyObject *resultobj;
17282 wxDateTime *result;
17283 char *kwnames[] = {
17284 NULL
17285 };
17286
17287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
17288 {
17289 PyThreadState* __tstate = wxPyBeginAllowThreads();
17290 result = (wxDateTime *)new wxDateTime();
17291
17292 wxPyEndAllowThreads(__tstate);
17293 if (PyErr_Occurred()) SWIG_fail;
17294 }
15afbcd0 17295 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17296 return resultobj;
17297 fail:
17298 return NULL;
17299}
17300
17301
17302static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17303 PyObject *resultobj;
17304 time_t arg1 ;
17305 wxDateTime *result;
17306 PyObject * obj0 = 0 ;
17307 char *kwnames[] = {
17308 (char *) "timet", NULL
17309 };
17310
17311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
15afbcd0
RD
17312 arg1 = (time_t) SWIG_AsUnsignedInt(obj0);
17313 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17314 {
17315 PyThreadState* __tstate = wxPyBeginAllowThreads();
17316 result = (wxDateTime *)new wxDateTime(arg1);
17317
17318 wxPyEndAllowThreads(__tstate);
17319 if (PyErr_Occurred()) SWIG_fail;
17320 }
15afbcd0 17321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17322 return resultobj;
17323 fail:
17324 return NULL;
17325}
17326
17327
17328static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17329 PyObject *resultobj;
17330 double arg1 ;
17331 wxDateTime *result;
994141e6 17332 PyObject * obj0 = 0 ;
d14a1e28
RD
17333 char *kwnames[] = {
17334 (char *) "jdn", NULL
17335 };
17336
994141e6 17337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
15afbcd0
RD
17338 arg1 = (double) SWIG_AsDouble(obj0);
17339 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17340 {
17341 PyThreadState* __tstate = wxPyBeginAllowThreads();
17342 result = (wxDateTime *)new wxDateTime(arg1);
17343
17344 wxPyEndAllowThreads(__tstate);
17345 if (PyErr_Occurred()) SWIG_fail;
17346 }
15afbcd0 17347 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17348 return resultobj;
17349 fail:
17350 return NULL;
17351}
17352
17353
17354static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17355 PyObject *resultobj;
322913ce
RD
17356 int arg1 ;
17357 int arg2 = (int) 0 ;
17358 int arg3 = (int) 0 ;
17359 int arg4 = (int) 0 ;
d14a1e28 17360 wxDateTime *result;
994141e6
RD
17361 PyObject * obj0 = 0 ;
17362 PyObject * obj1 = 0 ;
17363 PyObject * obj2 = 0 ;
17364 PyObject * obj3 = 0 ;
d14a1e28
RD
17365 char *kwnames[] = {
17366 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17367 };
17368
994141e6 17369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
17370 arg1 = (int) SWIG_AsInt(obj0);
17371 if (PyErr_Occurred()) SWIG_fail;
994141e6 17372 if (obj1) {
15afbcd0
RD
17373 arg2 = (int) SWIG_AsInt(obj1);
17374 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17375 }
17376 if (obj2) {
15afbcd0
RD
17377 arg3 = (int) SWIG_AsInt(obj2);
17378 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17379 }
17380 if (obj3) {
15afbcd0
RD
17381 arg4 = (int) SWIG_AsInt(obj3);
17382 if (PyErr_Occurred()) SWIG_fail;
994141e6 17383 }
d14a1e28
RD
17384 {
17385 PyThreadState* __tstate = wxPyBeginAllowThreads();
17386 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
17387
17388 wxPyEndAllowThreads(__tstate);
17389 if (PyErr_Occurred()) SWIG_fail;
17390 }
15afbcd0 17391 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17392 return resultobj;
17393 fail:
17394 return NULL;
17395}
17396
17397
17398static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
17399 PyObject *resultobj;
322913ce 17400 int arg1 ;
d14a1e28
RD
17401 int arg2 = (int) wxDateTime::Inv_Month ;
17402 int arg3 = (int) wxDateTime::Inv_Year ;
322913ce
RD
17403 int arg4 = (int) 0 ;
17404 int arg5 = (int) 0 ;
17405 int arg6 = (int) 0 ;
17406 int arg7 = (int) 0 ;
d14a1e28 17407 wxDateTime *result;
994141e6
RD
17408 PyObject * obj0 = 0 ;
17409 PyObject * obj1 = 0 ;
17410 PyObject * obj2 = 0 ;
17411 PyObject * obj3 = 0 ;
17412 PyObject * obj4 = 0 ;
17413 PyObject * obj5 = 0 ;
17414 PyObject * obj6 = 0 ;
d14a1e28
RD
17415 char *kwnames[] = {
17416 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17417 };
17418
994141e6 17419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
17420 arg1 = (int) SWIG_AsInt(obj0);
17421 if (PyErr_Occurred()) SWIG_fail;
994141e6 17422 if (obj1) {
15afbcd0
RD
17423 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17424 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17425 }
17426 if (obj2) {
15afbcd0
RD
17427 arg3 = (int) SWIG_AsInt(obj2);
17428 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17429 }
17430 if (obj3) {
15afbcd0
RD
17431 arg4 = (int) SWIG_AsInt(obj3);
17432 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17433 }
17434 if (obj4) {
15afbcd0
RD
17435 arg5 = (int) SWIG_AsInt(obj4);
17436 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17437 }
17438 if (obj5) {
15afbcd0
RD
17439 arg6 = (int) SWIG_AsInt(obj5);
17440 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17441 }
17442 if (obj6) {
15afbcd0
RD
17443 arg7 = (int) SWIG_AsInt(obj6);
17444 if (PyErr_Occurred()) SWIG_fail;
994141e6 17445 }
d14a1e28
RD
17446 {
17447 PyThreadState* __tstate = wxPyBeginAllowThreads();
17448 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
17449
17450 wxPyEndAllowThreads(__tstate);
17451 if (PyErr_Occurred()) SWIG_fail;
17452 }
15afbcd0 17453 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
17454 return resultobj;
17455 fail:
17456 return NULL;
17457}
17458
17459
17460static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17461 PyObject *resultobj;
17462 wxDateTime *arg1 = (wxDateTime *) 0 ;
17463 PyObject * obj0 = 0 ;
17464 char *kwnames[] = {
17465 (char *) "self", NULL
17466 };
17467
17468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
15afbcd0
RD
17469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17471 {
17472 PyThreadState* __tstate = wxPyBeginAllowThreads();
17473 delete arg1;
17474
17475 wxPyEndAllowThreads(__tstate);
17476 if (PyErr_Occurred()) SWIG_fail;
17477 }
17478 Py_INCREF(Py_None); resultobj = Py_None;
17479 return resultobj;
17480 fail:
17481 return NULL;
17482}
17483
17484
17485static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
17486 PyObject *resultobj;
17487 wxDateTime *arg1 = (wxDateTime *) 0 ;
17488 wxDateTime *result;
17489 PyObject * obj0 = 0 ;
17490 char *kwnames[] = {
17491 (char *) "self", NULL
17492 };
17493
17494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
15afbcd0
RD
17495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17497 {
17498 PyThreadState* __tstate = wxPyBeginAllowThreads();
17499 {
17500 wxDateTime &_result_ref = (arg1)->SetToCurrent();
17501 result = (wxDateTime *) &_result_ref;
17502 }
17503
17504 wxPyEndAllowThreads(__tstate);
17505 if (PyErr_Occurred()) SWIG_fail;
17506 }
15afbcd0 17507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17508 return resultobj;
17509 fail:
17510 return NULL;
17511}
17512
17513
17514static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17515 PyObject *resultobj;
17516 wxDateTime *arg1 = (wxDateTime *) 0 ;
17517 time_t arg2 ;
17518 wxDateTime *result;
17519 PyObject * obj0 = 0 ;
17520 PyObject * obj1 = 0 ;
17521 char *kwnames[] = {
17522 (char *) "self",(char *) "timet", NULL
17523 };
17524
17525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17528 arg2 = (time_t) SWIG_AsUnsignedInt(obj1);
17529 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17530 {
17531 PyThreadState* __tstate = wxPyBeginAllowThreads();
17532 {
17533 wxDateTime &_result_ref = (arg1)->Set(arg2);
17534 result = (wxDateTime *) &_result_ref;
17535 }
17536
17537 wxPyEndAllowThreads(__tstate);
17538 if (PyErr_Occurred()) SWIG_fail;
17539 }
15afbcd0 17540 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17541 return resultobj;
17542 fail:
17543 return NULL;
17544}
17545
17546
17547static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17548 PyObject *resultobj;
17549 wxDateTime *arg1 = (wxDateTime *) 0 ;
17550 double arg2 ;
17551 wxDateTime *result;
17552 PyObject * obj0 = 0 ;
994141e6 17553 PyObject * obj1 = 0 ;
d14a1e28
RD
17554 char *kwnames[] = {
17555 (char *) "self",(char *) "jdn", NULL
17556 };
17557
994141e6 17558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17561 arg2 = (double) SWIG_AsDouble(obj1);
17562 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17563 {
17564 PyThreadState* __tstate = wxPyBeginAllowThreads();
17565 {
17566 wxDateTime &_result_ref = (arg1)->Set(arg2);
17567 result = (wxDateTime *) &_result_ref;
17568 }
17569
17570 wxPyEndAllowThreads(__tstate);
17571 if (PyErr_Occurred()) SWIG_fail;
17572 }
15afbcd0 17573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17574 return resultobj;
17575 fail:
17576 return NULL;
17577}
17578
17579
17580static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17581 PyObject *resultobj;
17582 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce
RD
17583 int arg2 ;
17584 int arg3 = (int) 0 ;
17585 int arg4 = (int) 0 ;
17586 int arg5 = (int) 0 ;
d14a1e28
RD
17587 wxDateTime *result;
17588 PyObject * obj0 = 0 ;
994141e6
RD
17589 PyObject * obj1 = 0 ;
17590 PyObject * obj2 = 0 ;
17591 PyObject * obj3 = 0 ;
17592 PyObject * obj4 = 0 ;
d14a1e28
RD
17593 char *kwnames[] = {
17594 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17595 };
17596
994141e6 17597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
17598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17600 arg2 = (int) SWIG_AsInt(obj1);
17601 if (PyErr_Occurred()) SWIG_fail;
994141e6 17602 if (obj2) {
15afbcd0
RD
17603 arg3 = (int) SWIG_AsInt(obj2);
17604 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17605 }
17606 if (obj3) {
15afbcd0
RD
17607 arg4 = (int) SWIG_AsInt(obj3);
17608 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17609 }
17610 if (obj4) {
15afbcd0
RD
17611 arg5 = (int) SWIG_AsInt(obj4);
17612 if (PyErr_Occurred()) SWIG_fail;
994141e6 17613 }
d14a1e28
RD
17614 {
17615 PyThreadState* __tstate = wxPyBeginAllowThreads();
17616 {
17617 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
17618 result = (wxDateTime *) &_result_ref;
17619 }
17620
17621 wxPyEndAllowThreads(__tstate);
17622 if (PyErr_Occurred()) SWIG_fail;
17623 }
15afbcd0 17624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17625 return resultobj;
17626 fail:
17627 return NULL;
17628}
17629
17630
17631static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
17632 PyObject *resultobj;
17633 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 17634 int arg2 ;
d14a1e28
RD
17635 int arg3 = (int) wxDateTime::Inv_Month ;
17636 int arg4 = (int) wxDateTime::Inv_Year ;
322913ce
RD
17637 int arg5 = (int) 0 ;
17638 int arg6 = (int) 0 ;
17639 int arg7 = (int) 0 ;
17640 int arg8 = (int) 0 ;
d14a1e28
RD
17641 wxDateTime *result;
17642 PyObject * obj0 = 0 ;
994141e6
RD
17643 PyObject * obj1 = 0 ;
17644 PyObject * obj2 = 0 ;
17645 PyObject * obj3 = 0 ;
17646 PyObject * obj4 = 0 ;
17647 PyObject * obj5 = 0 ;
17648 PyObject * obj6 = 0 ;
17649 PyObject * obj7 = 0 ;
d14a1e28
RD
17650 char *kwnames[] = {
17651 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17652 };
17653
994141e6 17654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
17655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17657 arg2 = (int) SWIG_AsInt(obj1);
17658 if (PyErr_Occurred()) SWIG_fail;
994141e6 17659 if (obj2) {
15afbcd0
RD
17660 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
17661 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17662 }
17663 if (obj3) {
15afbcd0
RD
17664 arg4 = (int) SWIG_AsInt(obj3);
17665 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17666 }
17667 if (obj4) {
15afbcd0
RD
17668 arg5 = (int) SWIG_AsInt(obj4);
17669 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17670 }
17671 if (obj5) {
15afbcd0
RD
17672 arg6 = (int) SWIG_AsInt(obj5);
17673 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17674 }
17675 if (obj6) {
15afbcd0
RD
17676 arg7 = (int) SWIG_AsInt(obj6);
17677 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17678 }
17679 if (obj7) {
15afbcd0
RD
17680 arg8 = (int) SWIG_AsInt(obj7);
17681 if (PyErr_Occurred()) SWIG_fail;
994141e6 17682 }
d14a1e28
RD
17683 {
17684 PyThreadState* __tstate = wxPyBeginAllowThreads();
17685 {
17686 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
17687 result = (wxDateTime *) &_result_ref;
17688 }
17689
17690 wxPyEndAllowThreads(__tstate);
17691 if (PyErr_Occurred()) SWIG_fail;
17692 }
15afbcd0 17693 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17694 return resultobj;
17695 fail:
17696 return NULL;
17697}
17698
17699
17700static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17701 PyObject *resultobj;
17702 wxDateTime *arg1 = (wxDateTime *) 0 ;
17703 wxDateTime *result;
17704 PyObject * obj0 = 0 ;
17705 char *kwnames[] = {
17706 (char *) "self", NULL
17707 };
17708
17709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
15afbcd0
RD
17710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17712 {
17713 PyThreadState* __tstate = wxPyBeginAllowThreads();
17714 {
17715 wxDateTime &_result_ref = (arg1)->ResetTime();
17716 result = (wxDateTime *) &_result_ref;
17717 }
17718
17719 wxPyEndAllowThreads(__tstate);
17720 if (PyErr_Occurred()) SWIG_fail;
17721 }
15afbcd0 17722 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17723 return resultobj;
17724 fail:
17725 return NULL;
17726}
17727
17728
17729static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17730 PyObject *resultobj;
17731 wxDateTime *arg1 = (wxDateTime *) 0 ;
17732 int arg2 ;
17733 wxDateTime *result;
17734 PyObject * obj0 = 0 ;
994141e6 17735 PyObject * obj1 = 0 ;
d14a1e28
RD
17736 char *kwnames[] = {
17737 (char *) "self",(char *) "year", NULL
17738 };
17739
994141e6 17740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17743 arg2 = (int) SWIG_AsInt(obj1);
17744 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17745 {
17746 PyThreadState* __tstate = wxPyBeginAllowThreads();
17747 {
17748 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
17749 result = (wxDateTime *) &_result_ref;
17750 }
17751
17752 wxPyEndAllowThreads(__tstate);
17753 if (PyErr_Occurred()) SWIG_fail;
17754 }
15afbcd0 17755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17756 return resultobj;
17757 fail:
17758 return NULL;
17759}
17760
17761
17762static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17763 PyObject *resultobj;
17764 wxDateTime *arg1 = (wxDateTime *) 0 ;
17765 int arg2 ;
17766 wxDateTime *result;
17767 PyObject * obj0 = 0 ;
994141e6 17768 PyObject * obj1 = 0 ;
d14a1e28
RD
17769 char *kwnames[] = {
17770 (char *) "self",(char *) "month", NULL
17771 };
17772
994141e6 17773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17776 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17777 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17778 {
17779 PyThreadState* __tstate = wxPyBeginAllowThreads();
17780 {
17781 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
17782 result = (wxDateTime *) &_result_ref;
17783 }
17784
17785 wxPyEndAllowThreads(__tstate);
17786 if (PyErr_Occurred()) SWIG_fail;
17787 }
15afbcd0 17788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17789 return resultobj;
17790 fail:
17791 return NULL;
17792}
17793
17794
17795static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17796 PyObject *resultobj;
17797 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 17798 int arg2 ;
d14a1e28
RD
17799 wxDateTime *result;
17800 PyObject * obj0 = 0 ;
994141e6 17801 PyObject * obj1 = 0 ;
d14a1e28
RD
17802 char *kwnames[] = {
17803 (char *) "self",(char *) "day", NULL
17804 };
17805
994141e6 17806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17809 arg2 = (int) SWIG_AsInt(obj1);
17810 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17811 {
17812 PyThreadState* __tstate = wxPyBeginAllowThreads();
17813 {
17814 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
17815 result = (wxDateTime *) &_result_ref;
17816 }
17817
17818 wxPyEndAllowThreads(__tstate);
17819 if (PyErr_Occurred()) SWIG_fail;
17820 }
15afbcd0 17821 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17822 return resultobj;
17823 fail:
17824 return NULL;
17825}
17826
17827
17828static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17829 PyObject *resultobj;
17830 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 17831 int arg2 ;
d14a1e28
RD
17832 wxDateTime *result;
17833 PyObject * obj0 = 0 ;
994141e6 17834 PyObject * obj1 = 0 ;
d14a1e28
RD
17835 char *kwnames[] = {
17836 (char *) "self",(char *) "hour", NULL
17837 };
17838
994141e6 17839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17842 arg2 = (int) SWIG_AsInt(obj1);
17843 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17844 {
17845 PyThreadState* __tstate = wxPyBeginAllowThreads();
17846 {
17847 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
17848 result = (wxDateTime *) &_result_ref;
17849 }
17850
17851 wxPyEndAllowThreads(__tstate);
17852 if (PyErr_Occurred()) SWIG_fail;
17853 }
15afbcd0 17854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17855 return resultobj;
17856 fail:
17857 return NULL;
17858}
17859
17860
17861static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17862 PyObject *resultobj;
17863 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 17864 int arg2 ;
d14a1e28
RD
17865 wxDateTime *result;
17866 PyObject * obj0 = 0 ;
994141e6 17867 PyObject * obj1 = 0 ;
d14a1e28
RD
17868 char *kwnames[] = {
17869 (char *) "self",(char *) "minute", NULL
17870 };
17871
994141e6 17872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17875 arg2 = (int) SWIG_AsInt(obj1);
17876 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17877 {
17878 PyThreadState* __tstate = wxPyBeginAllowThreads();
17879 {
17880 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
17881 result = (wxDateTime *) &_result_ref;
17882 }
17883
17884 wxPyEndAllowThreads(__tstate);
17885 if (PyErr_Occurred()) SWIG_fail;
17886 }
15afbcd0 17887 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17888 return resultobj;
17889 fail:
17890 return NULL;
17891}
17892
17893
17894static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17895 PyObject *resultobj;
17896 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 17897 int arg2 ;
d14a1e28
RD
17898 wxDateTime *result;
17899 PyObject * obj0 = 0 ;
994141e6 17900 PyObject * obj1 = 0 ;
d14a1e28
RD
17901 char *kwnames[] = {
17902 (char *) "self",(char *) "second", NULL
17903 };
17904
994141e6 17905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17908 arg2 = (int) SWIG_AsInt(obj1);
17909 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17910 {
17911 PyThreadState* __tstate = wxPyBeginAllowThreads();
17912 {
17913 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
17914 result = (wxDateTime *) &_result_ref;
17915 }
17916
17917 wxPyEndAllowThreads(__tstate);
17918 if (PyErr_Occurred()) SWIG_fail;
17919 }
15afbcd0 17920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17921 return resultobj;
17922 fail:
17923 return NULL;
17924}
17925
17926
17927static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17928 PyObject *resultobj;
17929 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 17930 int arg2 ;
d14a1e28
RD
17931 wxDateTime *result;
17932 PyObject * obj0 = 0 ;
994141e6 17933 PyObject * obj1 = 0 ;
d14a1e28
RD
17934 char *kwnames[] = {
17935 (char *) "self",(char *) "millisecond", NULL
17936 };
17937
994141e6 17938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17941 arg2 = (int) SWIG_AsInt(obj1);
17942 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17943 {
17944 PyThreadState* __tstate = wxPyBeginAllowThreads();
17945 {
17946 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
17947 result = (wxDateTime *) &_result_ref;
17948 }
17949
17950 wxPyEndAllowThreads(__tstate);
17951 if (PyErr_Occurred()) SWIG_fail;
17952 }
15afbcd0 17953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17954 return resultobj;
17955 fail:
17956 return NULL;
17957}
17958
17959
17960static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
17961 PyObject *resultobj;
17962 wxDateTime *arg1 = (wxDateTime *) 0 ;
17963 int arg2 ;
17964 int arg3 = (int) wxDateTime::Monday_First ;
17965 wxDateTime *result;
17966 PyObject * obj0 = 0 ;
994141e6
RD
17967 PyObject * obj1 = 0 ;
17968 PyObject * obj2 = 0 ;
d14a1e28
RD
17969 char *kwnames[] = {
17970 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17971 };
17972
994141e6 17973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17976 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
17977 if (PyErr_Occurred()) SWIG_fail;
994141e6 17978 if (obj2) {
15afbcd0
RD
17979 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
17980 if (PyErr_Occurred()) SWIG_fail;
994141e6 17981 }
d14a1e28
RD
17982 {
17983 PyThreadState* __tstate = wxPyBeginAllowThreads();
17984 {
17985 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
17986 result = (wxDateTime *) &_result_ref;
17987 }
17988
17989 wxPyEndAllowThreads(__tstate);
17990 if (PyErr_Occurred()) SWIG_fail;
17991 }
15afbcd0 17992 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
17993 return resultobj;
17994 fail:
17995 return NULL;
17996}
17997
17998
17999static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18000 PyObject *resultobj;
18001 wxDateTime *arg1 = (wxDateTime *) 0 ;
18002 int arg2 ;
18003 int arg3 = (int) wxDateTime::Monday_First ;
18004 wxDateTime result;
18005 PyObject * obj0 = 0 ;
994141e6
RD
18006 PyObject * obj1 = 0 ;
18007 PyObject * obj2 = 0 ;
d14a1e28
RD
18008 char *kwnames[] = {
18009 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18010 };
18011
994141e6 18012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
18013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18015 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18016 if (PyErr_Occurred()) SWIG_fail;
994141e6 18017 if (obj2) {
15afbcd0
RD
18018 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
18019 if (PyErr_Occurred()) SWIG_fail;
994141e6 18020 }
d14a1e28
RD
18021 {
18022 PyThreadState* __tstate = wxPyBeginAllowThreads();
18023 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18024
18025 wxPyEndAllowThreads(__tstate);
18026 if (PyErr_Occurred()) SWIG_fail;
18027 }
18028 {
18029 wxDateTime * resultptr;
18030 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 18031 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18032 }
18033 return resultobj;
18034 fail:
18035 return NULL;
18036}
18037
18038
18039static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18040 PyObject *resultobj;
18041 wxDateTime *arg1 = (wxDateTime *) 0 ;
18042 int arg2 ;
18043 wxDateTime *result;
18044 PyObject * obj0 = 0 ;
994141e6 18045 PyObject * obj1 = 0 ;
d14a1e28
RD
18046 char *kwnames[] = {
18047 (char *) "self",(char *) "weekday", NULL
18048 };
18049
994141e6 18050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18053 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18054 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18055 {
18056 PyThreadState* __tstate = wxPyBeginAllowThreads();
18057 {
18058 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
18059 result = (wxDateTime *) &_result_ref;
18060 }
18061
18062 wxPyEndAllowThreads(__tstate);
18063 if (PyErr_Occurred()) SWIG_fail;
18064 }
15afbcd0 18065 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18066 return resultobj;
18067 fail:
18068 return NULL;
18069}
18070
18071
18072static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18073 PyObject *resultobj;
18074 wxDateTime *arg1 = (wxDateTime *) 0 ;
18075 int arg2 ;
18076 wxDateTime result;
18077 PyObject * obj0 = 0 ;
994141e6 18078 PyObject * obj1 = 0 ;
d14a1e28
RD
18079 char *kwnames[] = {
18080 (char *) "self",(char *) "weekday", NULL
18081 };
18082
994141e6 18083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18086 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18087 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18088 {
18089 PyThreadState* __tstate = wxPyBeginAllowThreads();
18090 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
18091
18092 wxPyEndAllowThreads(__tstate);
18093 if (PyErr_Occurred()) SWIG_fail;
18094 }
18095 {
18096 wxDateTime * resultptr;
18097 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 18098 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18099 }
18100 return resultobj;
18101 fail:
18102 return NULL;
18103}
18104
18105
18106static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18107 PyObject *resultobj;
18108 wxDateTime *arg1 = (wxDateTime *) 0 ;
18109 int arg2 ;
18110 wxDateTime *result;
18111 PyObject * obj0 = 0 ;
994141e6 18112 PyObject * obj1 = 0 ;
d14a1e28
RD
18113 char *kwnames[] = {
18114 (char *) "self",(char *) "weekday", NULL
18115 };
18116
994141e6 18117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18120 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18121 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18122 {
18123 PyThreadState* __tstate = wxPyBeginAllowThreads();
18124 {
18125 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
18126 result = (wxDateTime *) &_result_ref;
18127 }
18128
18129 wxPyEndAllowThreads(__tstate);
18130 if (PyErr_Occurred()) SWIG_fail;
18131 }
15afbcd0 18132 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18133 return resultobj;
18134 fail:
18135 return NULL;
18136}
18137
18138
18139static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18140 PyObject *resultobj;
18141 wxDateTime *arg1 = (wxDateTime *) 0 ;
18142 int arg2 ;
18143 wxDateTime result;
18144 PyObject * obj0 = 0 ;
994141e6 18145 PyObject * obj1 = 0 ;
d14a1e28
RD
18146 char *kwnames[] = {
18147 (char *) "self",(char *) "weekday", NULL
18148 };
18149
994141e6 18150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18153 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18154 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18155 {
18156 PyThreadState* __tstate = wxPyBeginAllowThreads();
18157 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
18158
18159 wxPyEndAllowThreads(__tstate);
18160 if (PyErr_Occurred()) SWIG_fail;
18161 }
18162 {
18163 wxDateTime * resultptr;
18164 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 18165 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18166 }
18167 return resultobj;
18168 fail:
18169 return NULL;
18170}
18171
18172
18173static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18174 PyObject *resultobj;
18175 wxDateTime *arg1 = (wxDateTime *) 0 ;
18176 int arg2 ;
18177 int arg3 = (int) 1 ;
18178 int arg4 = (int) wxDateTime::Inv_Month ;
18179 int arg5 = (int) wxDateTime::Inv_Year ;
18180 bool result;
18181 PyObject * obj0 = 0 ;
994141e6
RD
18182 PyObject * obj1 = 0 ;
18183 PyObject * obj2 = 0 ;
18184 PyObject * obj3 = 0 ;
18185 PyObject * obj4 = 0 ;
d14a1e28
RD
18186 char *kwnames[] = {
18187 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18188 };
18189
994141e6 18190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
18191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18193 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18194 if (PyErr_Occurred()) SWIG_fail;
994141e6 18195 if (obj2) {
15afbcd0
RD
18196 arg3 = (int) SWIG_AsInt(obj2);
18197 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18198 }
18199 if (obj3) {
15afbcd0
RD
18200 arg4 = (wxDateTime::Month) SWIG_AsInt(obj3);
18201 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18202 }
18203 if (obj4) {
15afbcd0
RD
18204 arg5 = (int) SWIG_AsInt(obj4);
18205 if (PyErr_Occurred()) SWIG_fail;
994141e6 18206 }
d14a1e28
RD
18207 {
18208 PyThreadState* __tstate = wxPyBeginAllowThreads();
18209 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
18210
18211 wxPyEndAllowThreads(__tstate);
18212 if (PyErr_Occurred()) SWIG_fail;
18213 }
4f89f6a3
RD
18214 {
18215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18216 }
d14a1e28
RD
18217 return resultobj;
18218 fail:
18219 return NULL;
18220}
18221
18222
18223static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18224 PyObject *resultobj;
18225 wxDateTime *arg1 = (wxDateTime *) 0 ;
18226 int arg2 ;
18227 int arg3 = (int) wxDateTime::Inv_Month ;
18228 int arg4 = (int) wxDateTime::Inv_Year ;
18229 bool result;
18230 PyObject * obj0 = 0 ;
994141e6
RD
18231 PyObject * obj1 = 0 ;
18232 PyObject * obj2 = 0 ;
18233 PyObject * obj3 = 0 ;
d14a1e28
RD
18234 char *kwnames[] = {
18235 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18236 };
18237
994141e6 18238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
18239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18241 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18242 if (PyErr_Occurred()) SWIG_fail;
994141e6 18243 if (obj2) {
15afbcd0
RD
18244 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18245 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18246 }
18247 if (obj3) {
15afbcd0
RD
18248 arg4 = (int) SWIG_AsInt(obj3);
18249 if (PyErr_Occurred()) SWIG_fail;
994141e6 18250 }
d14a1e28
RD
18251 {
18252 PyThreadState* __tstate = wxPyBeginAllowThreads();
18253 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18254
18255 wxPyEndAllowThreads(__tstate);
18256 if (PyErr_Occurred()) SWIG_fail;
18257 }
4f89f6a3
RD
18258 {
18259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18260 }
d14a1e28
RD
18261 return resultobj;
18262 fail:
18263 return NULL;
18264}
18265
18266
18267static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18268 PyObject *resultobj;
18269 wxDateTime *arg1 = (wxDateTime *) 0 ;
18270 int arg2 ;
18271 int arg3 = (int) wxDateTime::Inv_Month ;
18272 int arg4 = (int) wxDateTime::Inv_Year ;
18273 wxDateTime result;
18274 PyObject * obj0 = 0 ;
994141e6
RD
18275 PyObject * obj1 = 0 ;
18276 PyObject * obj2 = 0 ;
18277 PyObject * obj3 = 0 ;
d14a1e28
RD
18278 char *kwnames[] = {
18279 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18280 };
18281
994141e6 18282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
18283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18285 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18286 if (PyErr_Occurred()) SWIG_fail;
994141e6 18287 if (obj2) {
15afbcd0
RD
18288 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18289 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18290 }
18291 if (obj3) {
15afbcd0
RD
18292 arg4 = (int) SWIG_AsInt(obj3);
18293 if (PyErr_Occurred()) SWIG_fail;
994141e6 18294 }
d14a1e28
RD
18295 {
18296 PyThreadState* __tstate = wxPyBeginAllowThreads();
18297 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18298
18299 wxPyEndAllowThreads(__tstate);
18300 if (PyErr_Occurred()) SWIG_fail;
18301 }
18302 {
18303 wxDateTime * resultptr;
18304 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 18305 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18306 }
18307 return resultobj;
18308 fail:
18309 return NULL;
18310}
18311
18312
18313static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18314 PyObject *resultobj;
18315 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 18316 int arg2 ;
d14a1e28
RD
18317 int arg3 = (int) wxDateTime::Mon ;
18318 int arg4 = (int) wxDateTime::Monday_First ;
18319 bool result;
18320 PyObject * obj0 = 0 ;
994141e6
RD
18321 PyObject * obj1 = 0 ;
18322 PyObject * obj2 = 0 ;
18323 PyObject * obj3 = 0 ;
d14a1e28
RD
18324 char *kwnames[] = {
18325 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18326 };
18327
994141e6 18328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
18329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18331 arg2 = (int) SWIG_AsInt(obj1);
18332 if (PyErr_Occurred()) SWIG_fail;
994141e6 18333 if (obj2) {
15afbcd0
RD
18334 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18335 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18336 }
18337 if (obj3) {
15afbcd0
RD
18338 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18339 if (PyErr_Occurred()) SWIG_fail;
994141e6 18340 }
d14a1e28
RD
18341 {
18342 PyThreadState* __tstate = wxPyBeginAllowThreads();
18343 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18344
18345 wxPyEndAllowThreads(__tstate);
18346 if (PyErr_Occurred()) SWIG_fail;
18347 }
4f89f6a3
RD
18348 {
18349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18350 }
d14a1e28
RD
18351 return resultobj;
18352 fail:
18353 return NULL;
18354}
18355
18356
18357static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18358 PyObject *resultobj;
18359 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 18360 int arg2 ;
d14a1e28
RD
18361 int arg3 = (int) wxDateTime::Mon ;
18362 int arg4 = (int) wxDateTime::Monday_First ;
18363 wxDateTime result;
18364 PyObject * obj0 = 0 ;
994141e6
RD
18365 PyObject * obj1 = 0 ;
18366 PyObject * obj2 = 0 ;
18367 PyObject * obj3 = 0 ;
d14a1e28
RD
18368 char *kwnames[] = {
18369 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18370 };
18371
994141e6 18372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
18373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18375 arg2 = (int) SWIG_AsInt(obj1);
18376 if (PyErr_Occurred()) SWIG_fail;
994141e6 18377 if (obj2) {
15afbcd0
RD
18378 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18379 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18380 }
18381 if (obj3) {
15afbcd0
RD
18382 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18383 if (PyErr_Occurred()) SWIG_fail;
994141e6 18384 }
d14a1e28
RD
18385 {
18386 PyThreadState* __tstate = wxPyBeginAllowThreads();
18387 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18388
18389 wxPyEndAllowThreads(__tstate);
18390 if (PyErr_Occurred()) SWIG_fail;
18391 }
18392 {
18393 wxDateTime * resultptr;
18394 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 18395 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18396 }
18397 return resultobj;
18398 fail:
18399 return NULL;
18400}
18401
18402
18403static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18404 PyObject *resultobj;
18405 wxDateTime *arg1 = (wxDateTime *) 0 ;
18406 int arg2 = (int) wxDateTime::Inv_Month ;
18407 int arg3 = (int) wxDateTime::Inv_Year ;
18408 wxDateTime *result;
18409 PyObject * obj0 = 0 ;
994141e6
RD
18410 PyObject * obj1 = 0 ;
18411 PyObject * obj2 = 0 ;
d14a1e28
RD
18412 char *kwnames[] = {
18413 (char *) "self",(char *) "month",(char *) "year", NULL
18414 };
18415
994141e6 18416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
18417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 18419 if (obj1) {
15afbcd0
RD
18420 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18421 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18422 }
18423 if (obj2) {
15afbcd0
RD
18424 arg3 = (int) SWIG_AsInt(obj2);
18425 if (PyErr_Occurred()) SWIG_fail;
994141e6 18426 }
d14a1e28
RD
18427 {
18428 PyThreadState* __tstate = wxPyBeginAllowThreads();
18429 {
18430 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
18431 result = (wxDateTime *) &_result_ref;
18432 }
18433
18434 wxPyEndAllowThreads(__tstate);
18435 if (PyErr_Occurred()) SWIG_fail;
18436 }
15afbcd0 18437 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18438 return resultobj;
18439 fail:
18440 return NULL;
18441}
18442
18443
18444static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18445 PyObject *resultobj;
18446 wxDateTime *arg1 = (wxDateTime *) 0 ;
18447 int arg2 = (int) wxDateTime::Inv_Month ;
18448 int arg3 = (int) wxDateTime::Inv_Year ;
18449 wxDateTime result;
18450 PyObject * obj0 = 0 ;
994141e6
RD
18451 PyObject * obj1 = 0 ;
18452 PyObject * obj2 = 0 ;
d14a1e28
RD
18453 char *kwnames[] = {
18454 (char *) "self",(char *) "month",(char *) "year", NULL
18455 };
18456
994141e6 18457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
18458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 18460 if (obj1) {
15afbcd0
RD
18461 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18462 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18463 }
18464 if (obj2) {
15afbcd0
RD
18465 arg3 = (int) SWIG_AsInt(obj2);
18466 if (PyErr_Occurred()) SWIG_fail;
994141e6 18467 }
d14a1e28
RD
18468 {
18469 PyThreadState* __tstate = wxPyBeginAllowThreads();
18470 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
18471
18472 wxPyEndAllowThreads(__tstate);
18473 if (PyErr_Occurred()) SWIG_fail;
18474 }
18475 {
18476 wxDateTime * resultptr;
18477 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 18478 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18479 }
18480 return resultobj;
18481 fail:
18482 return NULL;
18483}
18484
18485
18486static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18487 PyObject *resultobj;
18488 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 18489 int arg2 ;
d14a1e28
RD
18490 wxDateTime *result;
18491 PyObject * obj0 = 0 ;
994141e6 18492 PyObject * obj1 = 0 ;
d14a1e28
RD
18493 char *kwnames[] = {
18494 (char *) "self",(char *) "yday", NULL
18495 };
18496
994141e6 18497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18500 arg2 = (int) SWIG_AsInt(obj1);
18501 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18502 {
18503 PyThreadState* __tstate = wxPyBeginAllowThreads();
18504 {
18505 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
18506 result = (wxDateTime *) &_result_ref;
18507 }
18508
18509 wxPyEndAllowThreads(__tstate);
18510 if (PyErr_Occurred()) SWIG_fail;
18511 }
15afbcd0 18512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18513 return resultobj;
18514 fail:
18515 return NULL;
18516}
18517
18518
18519static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18520 PyObject *resultobj;
18521 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 18522 int arg2 ;
d14a1e28
RD
18523 wxDateTime result;
18524 PyObject * obj0 = 0 ;
994141e6 18525 PyObject * obj1 = 0 ;
d14a1e28
RD
18526 char *kwnames[] = {
18527 (char *) "self",(char *) "yday", NULL
18528 };
18529
994141e6 18530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18533 arg2 = (int) SWIG_AsInt(obj1);
18534 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18535 {
18536 PyThreadState* __tstate = wxPyBeginAllowThreads();
18537 result = (arg1)->GetYearDay(arg2);
18538
18539 wxPyEndAllowThreads(__tstate);
18540 if (PyErr_Occurred()) SWIG_fail;
18541 }
18542 {
18543 wxDateTime * resultptr;
18544 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 18545 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18546 }
18547 return resultobj;
18548 fail:
18549 return NULL;
18550}
18551
18552
18553static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18554 PyObject *resultobj;
18555 wxDateTime *arg1 = (wxDateTime *) 0 ;
18556 double result;
18557 PyObject * obj0 = 0 ;
18558 char *kwnames[] = {
18559 (char *) "self", NULL
18560 };
18561
18562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
15afbcd0
RD
18563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18565 {
18566 PyThreadState* __tstate = wxPyBeginAllowThreads();
18567 result = (double)(arg1)->GetJulianDayNumber();
18568
18569 wxPyEndAllowThreads(__tstate);
18570 if (PyErr_Occurred()) SWIG_fail;
18571 }
15afbcd0 18572 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18573 return resultobj;
18574 fail:
18575 return NULL;
18576}
18577
18578
18579static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
18580 PyObject *resultobj;
18581 wxDateTime *arg1 = (wxDateTime *) 0 ;
18582 double result;
18583 PyObject * obj0 = 0 ;
18584 char *kwnames[] = {
18585 (char *) "self", NULL
18586 };
18587
18588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
15afbcd0
RD
18589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18591 {
18592 PyThreadState* __tstate = wxPyBeginAllowThreads();
18593 result = (double)(arg1)->GetJDN();
18594
18595 wxPyEndAllowThreads(__tstate);
18596 if (PyErr_Occurred()) SWIG_fail;
18597 }
15afbcd0 18598 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18599 return resultobj;
18600 fail:
18601 return NULL;
18602}
18603
18604
18605static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18606 PyObject *resultobj;
18607 wxDateTime *arg1 = (wxDateTime *) 0 ;
18608 double result;
18609 PyObject * obj0 = 0 ;
18610 char *kwnames[] = {
18611 (char *) "self", NULL
18612 };
18613
18614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
15afbcd0
RD
18615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18617 {
18618 PyThreadState* __tstate = wxPyBeginAllowThreads();
18619 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
18620
18621 wxPyEndAllowThreads(__tstate);
18622 if (PyErr_Occurred()) SWIG_fail;
18623 }
15afbcd0 18624 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18625 return resultobj;
18626 fail:
18627 return NULL;
18628}
18629
18630
18631static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
18632 PyObject *resultobj;
18633 wxDateTime *arg1 = (wxDateTime *) 0 ;
18634 double result;
18635 PyObject * obj0 = 0 ;
18636 char *kwnames[] = {
18637 (char *) "self", NULL
18638 };
18639
18640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
15afbcd0
RD
18641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18643 {
18644 PyThreadState* __tstate = wxPyBeginAllowThreads();
18645 result = (double)(arg1)->GetMJD();
18646
18647 wxPyEndAllowThreads(__tstate);
18648 if (PyErr_Occurred()) SWIG_fail;
18649 }
15afbcd0 18650 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18651 return resultobj;
18652 fail:
18653 return NULL;
18654}
18655
18656
18657static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
18658 PyObject *resultobj;
18659 wxDateTime *arg1 = (wxDateTime *) 0 ;
18660 double result;
18661 PyObject * obj0 = 0 ;
18662 char *kwnames[] = {
18663 (char *) "self", NULL
18664 };
18665
18666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
15afbcd0
RD
18667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18669 {
18670 PyThreadState* __tstate = wxPyBeginAllowThreads();
18671 result = (double)(arg1)->GetRataDie();
18672
18673 wxPyEndAllowThreads(__tstate);
18674 if (PyErr_Occurred()) SWIG_fail;
18675 }
15afbcd0 18676 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
18677 return resultobj;
18678 fail:
18679 return NULL;
18680}
18681
18682
18683static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18684 PyObject *resultobj;
18685 wxDateTime *arg1 = (wxDateTime *) 0 ;
18686 wxDateTime::TimeZone *arg2 = 0 ;
e811c8ce 18687 bool arg3 = (bool) False ;
d14a1e28 18688 wxDateTime result;
7722248d 18689 bool temp2 = False ;
d14a1e28
RD
18690 PyObject * obj0 = 0 ;
18691 PyObject * obj1 = 0 ;
18692 PyObject * obj2 = 0 ;
18693 char *kwnames[] = {
18694 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18695 };
18696
18697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
18698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18700 {
18701 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 18702 temp2 = True;
d14a1e28
RD
18703 }
18704 if (obj2) {
15afbcd0
RD
18705 arg3 = (bool) SWIG_AsBool(obj2);
18706 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18707 }
18708 {
18709 PyThreadState* __tstate = wxPyBeginAllowThreads();
18710 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18711
18712 wxPyEndAllowThreads(__tstate);
18713 if (PyErr_Occurred()) SWIG_fail;
18714 }
18715 {
18716 wxDateTime * resultptr;
18717 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 18718 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18719 }
18720 {
7722248d 18721 if (temp2) delete arg2;
d14a1e28
RD
18722 }
18723 return resultobj;
18724 fail:
18725 {
7722248d 18726 if (temp2) delete arg2;
d14a1e28
RD
18727 }
18728 return NULL;
18729}
18730
18731
18732static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18733 PyObject *resultobj;
18734 wxDateTime *arg1 = (wxDateTime *) 0 ;
18735 wxDateTime::TimeZone *arg2 = 0 ;
e811c8ce 18736 bool arg3 = (bool) False ;
d14a1e28 18737 wxDateTime *result;
7722248d 18738 bool temp2 = False ;
d14a1e28
RD
18739 PyObject * obj0 = 0 ;
18740 PyObject * obj1 = 0 ;
18741 PyObject * obj2 = 0 ;
18742 char *kwnames[] = {
18743 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18744 };
18745
18746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
18747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18749 {
18750 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 18751 temp2 = True;
d14a1e28
RD
18752 }
18753 if (obj2) {
15afbcd0
RD
18754 arg3 = (bool) SWIG_AsBool(obj2);
18755 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18756 }
18757 {
18758 PyThreadState* __tstate = wxPyBeginAllowThreads();
18759 {
18760 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18761 result = (wxDateTime *) &_result_ref;
18762 }
18763
18764 wxPyEndAllowThreads(__tstate);
18765 if (PyErr_Occurred()) SWIG_fail;
18766 }
15afbcd0 18767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28 18768 {
7722248d 18769 if (temp2) delete arg2;
d14a1e28
RD
18770 }
18771 return resultobj;
18772 fail:
18773 {
7722248d 18774 if (temp2) delete arg2;
d14a1e28
RD
18775 }
18776 return NULL;
18777}
18778
18779
18780static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18781 PyObject *resultobj;
18782 wxDateTime *arg1 = (wxDateTime *) 0 ;
e811c8ce 18783 bool arg2 = (bool) False ;
d14a1e28
RD
18784 wxDateTime result;
18785 PyObject * obj0 = 0 ;
18786 PyObject * obj1 = 0 ;
18787 char *kwnames[] = {
18788 (char *) "self",(char *) "noDST", NULL
18789 };
18790
18791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 18794 if (obj1) {
15afbcd0
RD
18795 arg2 = (bool) SWIG_AsBool(obj1);
18796 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18797 }
18798 {
18799 PyThreadState* __tstate = wxPyBeginAllowThreads();
18800 result = (arg1)->ToGMT(arg2);
18801
18802 wxPyEndAllowThreads(__tstate);
18803 if (PyErr_Occurred()) SWIG_fail;
18804 }
18805 {
18806 wxDateTime * resultptr;
18807 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 18808 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
18809 }
18810 return resultobj;
18811 fail:
18812 return NULL;
18813}
18814
18815
18816static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18817 PyObject *resultobj;
18818 wxDateTime *arg1 = (wxDateTime *) 0 ;
e811c8ce 18819 bool arg2 = (bool) False ;
d14a1e28
RD
18820 wxDateTime *result;
18821 PyObject * obj0 = 0 ;
18822 PyObject * obj1 = 0 ;
18823 char *kwnames[] = {
18824 (char *) "self",(char *) "noDST", NULL
18825 };
18826
18827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 18830 if (obj1) {
15afbcd0
RD
18831 arg2 = (bool) SWIG_AsBool(obj1);
18832 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18833 }
18834 {
18835 PyThreadState* __tstate = wxPyBeginAllowThreads();
18836 {
18837 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
18838 result = (wxDateTime *) &_result_ref;
18839 }
18840
18841 wxPyEndAllowThreads(__tstate);
18842 if (PyErr_Occurred()) SWIG_fail;
18843 }
15afbcd0 18844 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
18845 return resultobj;
18846 fail:
18847 return NULL;
18848}
18849
18850
18851static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
18852 PyObject *resultobj;
18853 wxDateTime *arg1 = (wxDateTime *) 0 ;
18854 int arg2 = (int) wxDateTime::Country_Default ;
18855 int result;
18856 PyObject * obj0 = 0 ;
994141e6 18857 PyObject * obj1 = 0 ;
d14a1e28
RD
18858 char *kwnames[] = {
18859 (char *) "self",(char *) "country", NULL
18860 };
18861
994141e6 18862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 18865 if (obj1) {
15afbcd0
RD
18866 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
18867 if (PyErr_Occurred()) SWIG_fail;
994141e6 18868 }
d14a1e28
RD
18869 {
18870 PyThreadState* __tstate = wxPyBeginAllowThreads();
18871 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
18872
18873 wxPyEndAllowThreads(__tstate);
18874 if (PyErr_Occurred()) SWIG_fail;
18875 }
15afbcd0 18876 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18877 return resultobj;
18878 fail:
18879 return NULL;
18880}
18881
18882
18883static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
18884 PyObject *resultobj;
18885 wxDateTime *arg1 = (wxDateTime *) 0 ;
18886 bool result;
18887 PyObject * obj0 = 0 ;
18888 char *kwnames[] = {
18889 (char *) "self", NULL
18890 };
18891
18892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
15afbcd0
RD
18893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18895 {
18896 PyThreadState* __tstate = wxPyBeginAllowThreads();
18897 result = (bool)((wxDateTime const *)arg1)->IsValid();
18898
18899 wxPyEndAllowThreads(__tstate);
18900 if (PyErr_Occurred()) SWIG_fail;
18901 }
4f89f6a3
RD
18902 {
18903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18904 }
d14a1e28
RD
18905 return resultobj;
18906 fail:
18907 return NULL;
18908}
18909
18910
18911static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
18912 PyObject *resultobj;
18913 wxDateTime *arg1 = (wxDateTime *) 0 ;
18914 time_t result;
18915 PyObject * obj0 = 0 ;
18916 char *kwnames[] = {
18917 (char *) "self", NULL
18918 };
18919
18920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
15afbcd0
RD
18921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18923 {
18924 PyThreadState* __tstate = wxPyBeginAllowThreads();
18925 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
18926
18927 wxPyEndAllowThreads(__tstate);
18928 if (PyErr_Occurred()) SWIG_fail;
18929 }
15afbcd0 18930 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
18931 return resultobj;
18932 fail:
18933 return NULL;
18934}
18935
18936
18937static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
18938 PyObject *resultobj;
18939 wxDateTime *arg1 = (wxDateTime *) 0 ;
18940 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18941 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18942 int result;
7722248d 18943 bool temp2 = False ;
d14a1e28
RD
18944 PyObject * obj0 = 0 ;
18945 PyObject * obj1 = 0 ;
18946 char *kwnames[] = {
18947 (char *) "self",(char *) "tz", NULL
18948 };
18949
18950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18953 if (obj1) {
18954 {
18955 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 18956 temp2 = True;
d14a1e28
RD
18957 }
18958 }
18959 {
18960 PyThreadState* __tstate = wxPyBeginAllowThreads();
18961 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
18962
18963 wxPyEndAllowThreads(__tstate);
18964 if (PyErr_Occurred()) SWIG_fail;
18965 }
15afbcd0 18966 resultobj = SWIG_FromInt((int)result);
d14a1e28 18967 {
7722248d 18968 if (temp2) delete arg2;
d14a1e28
RD
18969 }
18970 return resultobj;
18971 fail:
18972 {
7722248d 18973 if (temp2) delete arg2;
d14a1e28
RD
18974 }
18975 return NULL;
18976}
18977
18978
18979static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
18980 PyObject *resultobj;
18981 wxDateTime *arg1 = (wxDateTime *) 0 ;
18982 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18983 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18984 int result;
7722248d 18985 bool temp2 = False ;
d14a1e28
RD
18986 PyObject * obj0 = 0 ;
18987 PyObject * obj1 = 0 ;
18988 char *kwnames[] = {
18989 (char *) "self",(char *) "tz", NULL
18990 };
18991
18992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18995 if (obj1) {
18996 {
18997 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 18998 temp2 = True;
d14a1e28
RD
18999 }
19000 }
19001 {
19002 PyThreadState* __tstate = wxPyBeginAllowThreads();
19003 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
19004
19005 wxPyEndAllowThreads(__tstate);
19006 if (PyErr_Occurred()) SWIG_fail;
19007 }
15afbcd0 19008 resultobj = SWIG_FromInt((int)result);
d14a1e28 19009 {
7722248d 19010 if (temp2) delete arg2;
d14a1e28
RD
19011 }
19012 return resultobj;
19013 fail:
19014 {
7722248d 19015 if (temp2) delete arg2;
d14a1e28
RD
19016 }
19017 return NULL;
19018}
19019
19020
19021static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19022 PyObject *resultobj;
19023 wxDateTime *arg1 = (wxDateTime *) 0 ;
19024 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19025 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 19026 int result;
7722248d 19027 bool temp2 = False ;
d14a1e28
RD
19028 PyObject * obj0 = 0 ;
19029 PyObject * obj1 = 0 ;
19030 char *kwnames[] = {
19031 (char *) "self",(char *) "tz", NULL
19032 };
19033
19034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19037 if (obj1) {
19038 {
19039 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 19040 temp2 = True;
d14a1e28
RD
19041 }
19042 }
19043 {
19044 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 19045 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19046
19047 wxPyEndAllowThreads(__tstate);
19048 if (PyErr_Occurred()) SWIG_fail;
19049 }
15afbcd0 19050 resultobj = SWIG_FromInt((int)result);
d14a1e28 19051 {
7722248d 19052 if (temp2) delete arg2;
d14a1e28
RD
19053 }
19054 return resultobj;
19055 fail:
19056 {
7722248d 19057 if (temp2) delete arg2;
d14a1e28
RD
19058 }
19059 return NULL;
19060}
19061
19062
19063static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19064 PyObject *resultobj;
19065 wxDateTime *arg1 = (wxDateTime *) 0 ;
19066 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19067 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19068 int result;
7722248d 19069 bool temp2 = False ;
d14a1e28
RD
19070 PyObject * obj0 = 0 ;
19071 PyObject * obj1 = 0 ;
19072 char *kwnames[] = {
19073 (char *) "self",(char *) "tz", NULL
19074 };
19075
19076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19079 if (obj1) {
19080 {
19081 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 19082 temp2 = True;
d14a1e28
RD
19083 }
19084 }
19085 {
19086 PyThreadState* __tstate = wxPyBeginAllowThreads();
19087 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
19088
19089 wxPyEndAllowThreads(__tstate);
19090 if (PyErr_Occurred()) SWIG_fail;
19091 }
15afbcd0 19092 resultobj = SWIG_FromInt((int)result);
d14a1e28 19093 {
7722248d 19094 if (temp2) delete arg2;
d14a1e28
RD
19095 }
19096 return resultobj;
19097 fail:
19098 {
7722248d 19099 if (temp2) delete arg2;
d14a1e28
RD
19100 }
19101 return NULL;
19102}
19103
19104
19105static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
19106 PyObject *resultobj;
19107 wxDateTime *arg1 = (wxDateTime *) 0 ;
19108 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19109 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 19110 int result;
7722248d 19111 bool temp2 = False ;
d14a1e28
RD
19112 PyObject * obj0 = 0 ;
19113 PyObject * obj1 = 0 ;
19114 char *kwnames[] = {
19115 (char *) "self",(char *) "tz", NULL
19116 };
19117
19118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19121 if (obj1) {
19122 {
19123 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 19124 temp2 = True;
d14a1e28
RD
19125 }
19126 }
19127 {
19128 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 19129 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19130
19131 wxPyEndAllowThreads(__tstate);
19132 if (PyErr_Occurred()) SWIG_fail;
19133 }
15afbcd0 19134 resultobj = SWIG_FromInt((int)result);
d14a1e28 19135 {
7722248d 19136 if (temp2) delete arg2;
d14a1e28
RD
19137 }
19138 return resultobj;
19139 fail:
19140 {
7722248d 19141 if (temp2) delete arg2;
d14a1e28
RD
19142 }
19143 return NULL;
19144}
19145
19146
19147static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
19148 PyObject *resultobj;
19149 wxDateTime *arg1 = (wxDateTime *) 0 ;
19150 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19151 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 19152 int result;
7722248d 19153 bool temp2 = False ;
d14a1e28
RD
19154 PyObject * obj0 = 0 ;
19155 PyObject * obj1 = 0 ;
19156 char *kwnames[] = {
19157 (char *) "self",(char *) "tz", NULL
19158 };
19159
19160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19163 if (obj1) {
19164 {
19165 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 19166 temp2 = True;
d14a1e28
RD
19167 }
19168 }
19169 {
19170 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 19171 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19172
19173 wxPyEndAllowThreads(__tstate);
19174 if (PyErr_Occurred()) SWIG_fail;
19175 }
15afbcd0 19176 resultobj = SWIG_FromInt((int)result);
d14a1e28 19177 {
7722248d 19178 if (temp2) delete arg2;
d14a1e28
RD
19179 }
19180 return resultobj;
19181 fail:
19182 {
7722248d 19183 if (temp2) delete arg2;
d14a1e28
RD
19184 }
19185 return NULL;
19186}
19187
19188
19189static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19190 PyObject *resultobj;
19191 wxDateTime *arg1 = (wxDateTime *) 0 ;
19192 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19193 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 19194 int result;
7722248d 19195 bool temp2 = False ;
d14a1e28
RD
19196 PyObject * obj0 = 0 ;
19197 PyObject * obj1 = 0 ;
19198 char *kwnames[] = {
19199 (char *) "self",(char *) "tz", NULL
19200 };
19201
19202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19205 if (obj1) {
19206 {
19207 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 19208 temp2 = True;
d14a1e28
RD
19209 }
19210 }
19211 {
19212 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 19213 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19214
19215 wxPyEndAllowThreads(__tstate);
19216 if (PyErr_Occurred()) SWIG_fail;
19217 }
15afbcd0 19218 resultobj = SWIG_FromInt((int)result);
d14a1e28 19219 {
7722248d 19220 if (temp2) delete arg2;
d14a1e28
RD
19221 }
19222 return resultobj;
19223 fail:
19224 {
7722248d 19225 if (temp2) delete arg2;
d14a1e28
RD
19226 }
19227 return NULL;
19228}
19229
19230
19231static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19232 PyObject *resultobj;
19233 wxDateTime *arg1 = (wxDateTime *) 0 ;
19234 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19235 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 19236 int result;
7722248d 19237 bool temp2 = False ;
d14a1e28
RD
19238 PyObject * obj0 = 0 ;
19239 PyObject * obj1 = 0 ;
19240 char *kwnames[] = {
19241 (char *) "self",(char *) "tz", NULL
19242 };
19243
19244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19247 if (obj1) {
19248 {
19249 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 19250 temp2 = True;
d14a1e28
RD
19251 }
19252 }
19253 {
19254 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 19255 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19256
19257 wxPyEndAllowThreads(__tstate);
19258 if (PyErr_Occurred()) SWIG_fail;
19259 }
15afbcd0 19260 resultobj = SWIG_FromInt((int)result);
d14a1e28 19261 {
7722248d 19262 if (temp2) delete arg2;
d14a1e28
RD
19263 }
19264 return resultobj;
19265 fail:
19266 {
7722248d 19267 if (temp2) delete arg2;
d14a1e28
RD
19268 }
19269 return NULL;
19270}
19271
19272
19273static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19274 PyObject *resultobj;
19275 wxDateTime *arg1 = (wxDateTime *) 0 ;
19276 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19277 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 19278 int result;
7722248d 19279 bool temp2 = False ;
d14a1e28
RD
19280 PyObject * obj0 = 0 ;
19281 PyObject * obj1 = 0 ;
19282 char *kwnames[] = {
19283 (char *) "self",(char *) "tz", NULL
19284 };
19285
19286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19289 if (obj1) {
19290 {
19291 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 19292 temp2 = True;
d14a1e28
RD
19293 }
19294 }
19295 {
19296 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 19297 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19298
19299 wxPyEndAllowThreads(__tstate);
19300 if (PyErr_Occurred()) SWIG_fail;
19301 }
15afbcd0 19302 resultobj = SWIG_FromInt((int)result);
d14a1e28 19303 {
7722248d 19304 if (temp2) delete arg2;
d14a1e28
RD
19305 }
19306 return resultobj;
19307 fail:
19308 {
7722248d 19309 if (temp2) delete arg2;
d14a1e28
RD
19310 }
19311 return NULL;
19312}
19313
19314
19315static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19316 PyObject *resultobj;
19317 wxDateTime *arg1 = (wxDateTime *) 0 ;
19318 int arg2 = (int) wxDateTime::Monday_First ;
19319 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19320 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
322913ce 19321 int result;
7722248d 19322 bool temp3 = False ;
d14a1e28 19323 PyObject * obj0 = 0 ;
994141e6 19324 PyObject * obj1 = 0 ;
d14a1e28
RD
19325 PyObject * obj2 = 0 ;
19326 char *kwnames[] = {
19327 (char *) "self",(char *) "flags",(char *) "tz", NULL
19328 };
19329
994141e6 19330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 19333 if (obj1) {
15afbcd0
RD
19334 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19335 if (PyErr_Occurred()) SWIG_fail;
994141e6 19336 }
d14a1e28
RD
19337 if (obj2) {
19338 {
19339 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
7722248d 19340 temp3 = True;
d14a1e28
RD
19341 }
19342 }
19343 {
19344 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 19345 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
19346
19347 wxPyEndAllowThreads(__tstate);
19348 if (PyErr_Occurred()) SWIG_fail;
19349 }
15afbcd0 19350 resultobj = SWIG_FromInt((int)result);
d14a1e28 19351 {
7722248d 19352 if (temp3) delete arg3;
d14a1e28
RD
19353 }
19354 return resultobj;
19355 fail:
19356 {
7722248d 19357 if (temp3) delete arg3;
d14a1e28
RD
19358 }
19359 return NULL;
19360}
19361
19362
19363static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
19364 PyObject *resultobj;
19365 wxDateTime *arg1 = (wxDateTime *) 0 ;
19366 int arg2 = (int) wxDateTime::Monday_First ;
19367 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19368 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
322913ce 19369 int result;
7722248d 19370 bool temp3 = False ;
d14a1e28 19371 PyObject * obj0 = 0 ;
994141e6 19372 PyObject * obj1 = 0 ;
d14a1e28
RD
19373 PyObject * obj2 = 0 ;
19374 char *kwnames[] = {
19375 (char *) "self",(char *) "flags",(char *) "tz", NULL
19376 };
19377
994141e6 19378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 19381 if (obj1) {
15afbcd0
RD
19382 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19383 if (PyErr_Occurred()) SWIG_fail;
994141e6 19384 }
d14a1e28
RD
19385 if (obj2) {
19386 {
19387 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
7722248d 19388 temp3 = True;
d14a1e28
RD
19389 }
19390 }
19391 {
19392 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 19393 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
19394
19395 wxPyEndAllowThreads(__tstate);
19396 if (PyErr_Occurred()) SWIG_fail;
19397 }
15afbcd0 19398 resultobj = SWIG_FromInt((int)result);
d14a1e28 19399 {
7722248d 19400 if (temp3) delete arg3;
d14a1e28
RD
19401 }
19402 return resultobj;
19403 fail:
19404 {
7722248d 19405 if (temp3) delete arg3;
d14a1e28
RD
19406 }
19407 return NULL;
19408}
19409
19410
19411static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19412 PyObject *resultobj;
19413 wxDateTime *arg1 = (wxDateTime *) 0 ;
19414 int arg2 = (int) wxDateTime::Country_Default ;
19415 bool result;
19416 PyObject * obj0 = 0 ;
994141e6 19417 PyObject * obj1 = 0 ;
d14a1e28
RD
19418 char *kwnames[] = {
19419 (char *) "self",(char *) "country", NULL
19420 };
19421
994141e6 19422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 19425 if (obj1) {
15afbcd0
RD
19426 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
19427 if (PyErr_Occurred()) SWIG_fail;
994141e6 19428 }
d14a1e28
RD
19429 {
19430 PyThreadState* __tstate = wxPyBeginAllowThreads();
19431 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
19432
19433 wxPyEndAllowThreads(__tstate);
19434 if (PyErr_Occurred()) SWIG_fail;
19435 }
4f89f6a3
RD
19436 {
19437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19438 }
d14a1e28
RD
19439 return resultobj;
19440 fail:
19441 return NULL;
19442}
19443
19444
19445static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19446 PyObject *resultobj;
19447 wxDateTime *arg1 = (wxDateTime *) 0 ;
19448 wxDateTime *arg2 = 0 ;
19449 bool result;
19450 PyObject * obj0 = 0 ;
19451 PyObject * obj1 = 0 ;
19452 char *kwnames[] = {
19453 (char *) "self",(char *) "datetime", NULL
19454 };
19455
19456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19459 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19460 SWIG_POINTER_EXCEPTION | 0)) == -1)
19461 SWIG_fail;
d14a1e28 19462 if (arg2 == NULL) {
15afbcd0
RD
19463 PyErr_SetString(PyExc_TypeError,"null reference");
19464 SWIG_fail;
d14a1e28
RD
19465 }
19466 {
19467 PyThreadState* __tstate = wxPyBeginAllowThreads();
19468 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
19469
19470 wxPyEndAllowThreads(__tstate);
19471 if (PyErr_Occurred()) SWIG_fail;
19472 }
4f89f6a3
RD
19473 {
19474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19475 }
d14a1e28
RD
19476 return resultobj;
19477 fail:
19478 return NULL;
19479}
19480
19481
19482static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19483 PyObject *resultobj;
19484 wxDateTime *arg1 = (wxDateTime *) 0 ;
19485 wxDateTime *arg2 = 0 ;
19486 bool result;
19487 PyObject * obj0 = 0 ;
19488 PyObject * obj1 = 0 ;
19489 char *kwnames[] = {
19490 (char *) "self",(char *) "datetime", NULL
19491 };
19492
19493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19496 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19497 SWIG_POINTER_EXCEPTION | 0)) == -1)
19498 SWIG_fail;
d14a1e28 19499 if (arg2 == NULL) {
15afbcd0
RD
19500 PyErr_SetString(PyExc_TypeError,"null reference");
19501 SWIG_fail;
d14a1e28
RD
19502 }
19503 {
19504 PyThreadState* __tstate = wxPyBeginAllowThreads();
19505 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
19506
19507 wxPyEndAllowThreads(__tstate);
19508 if (PyErr_Occurred()) SWIG_fail;
19509 }
4f89f6a3
RD
19510 {
19511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19512 }
d14a1e28
RD
19513 return resultobj;
19514 fail:
19515 return NULL;
19516}
19517
19518
19519static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19520 PyObject *resultobj;
19521 wxDateTime *arg1 = (wxDateTime *) 0 ;
19522 wxDateTime *arg2 = 0 ;
19523 bool result;
19524 PyObject * obj0 = 0 ;
19525 PyObject * obj1 = 0 ;
19526 char *kwnames[] = {
19527 (char *) "self",(char *) "datetime", NULL
19528 };
19529
19530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19533 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19534 SWIG_POINTER_EXCEPTION | 0)) == -1)
19535 SWIG_fail;
d14a1e28 19536 if (arg2 == NULL) {
15afbcd0
RD
19537 PyErr_SetString(PyExc_TypeError,"null reference");
19538 SWIG_fail;
d14a1e28
RD
19539 }
19540 {
19541 PyThreadState* __tstate = wxPyBeginAllowThreads();
19542 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
19543
19544 wxPyEndAllowThreads(__tstate);
19545 if (PyErr_Occurred()) SWIG_fail;
19546 }
4f89f6a3
RD
19547 {
19548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19549 }
d14a1e28
RD
19550 return resultobj;
19551 fail:
19552 return NULL;
19553}
19554
19555
19556static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19557 PyObject *resultobj;
19558 wxDateTime *arg1 = (wxDateTime *) 0 ;
19559 wxDateTime *arg2 = 0 ;
19560 wxDateTime *arg3 = 0 ;
19561 bool result;
19562 PyObject * obj0 = 0 ;
19563 PyObject * obj1 = 0 ;
19564 PyObject * obj2 = 0 ;
19565 char *kwnames[] = {
19566 (char *) "self",(char *) "t1",(char *) "t2", NULL
19567 };
19568
19569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19572 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19573 SWIG_POINTER_EXCEPTION | 0)) == -1)
19574 SWIG_fail;
d14a1e28 19575 if (arg2 == NULL) {
15afbcd0
RD
19576 PyErr_SetString(PyExc_TypeError,"null reference");
19577 SWIG_fail;
d14a1e28 19578 }
15afbcd0
RD
19579 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19580 SWIG_POINTER_EXCEPTION | 0)) == -1)
19581 SWIG_fail;
d14a1e28 19582 if (arg3 == NULL) {
15afbcd0
RD
19583 PyErr_SetString(PyExc_TypeError,"null reference");
19584 SWIG_fail;
d14a1e28
RD
19585 }
19586 {
19587 PyThreadState* __tstate = wxPyBeginAllowThreads();
19588 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19589
19590 wxPyEndAllowThreads(__tstate);
19591 if (PyErr_Occurred()) SWIG_fail;
19592 }
4f89f6a3
RD
19593 {
19594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19595 }
d14a1e28
RD
19596 return resultobj;
19597 fail:
19598 return NULL;
19599}
19600
19601
19602static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19603 PyObject *resultobj;
19604 wxDateTime *arg1 = (wxDateTime *) 0 ;
19605 wxDateTime *arg2 = 0 ;
19606 wxDateTime *arg3 = 0 ;
19607 bool result;
19608 PyObject * obj0 = 0 ;
19609 PyObject * obj1 = 0 ;
19610 PyObject * obj2 = 0 ;
19611 char *kwnames[] = {
19612 (char *) "self",(char *) "t1",(char *) "t2", NULL
19613 };
19614
19615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19618 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19619 SWIG_POINTER_EXCEPTION | 0)) == -1)
19620 SWIG_fail;
d14a1e28 19621 if (arg2 == NULL) {
15afbcd0
RD
19622 PyErr_SetString(PyExc_TypeError,"null reference");
19623 SWIG_fail;
d14a1e28 19624 }
15afbcd0
RD
19625 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19626 SWIG_POINTER_EXCEPTION | 0)) == -1)
19627 SWIG_fail;
d14a1e28 19628 if (arg3 == NULL) {
15afbcd0
RD
19629 PyErr_SetString(PyExc_TypeError,"null reference");
19630 SWIG_fail;
d14a1e28
RD
19631 }
19632 {
19633 PyThreadState* __tstate = wxPyBeginAllowThreads();
19634 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19635
19636 wxPyEndAllowThreads(__tstate);
19637 if (PyErr_Occurred()) SWIG_fail;
19638 }
4f89f6a3
RD
19639 {
19640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19641 }
d14a1e28
RD
19642 return resultobj;
19643 fail:
19644 return NULL;
19645}
19646
19647
19648static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19649 PyObject *resultobj;
19650 wxDateTime *arg1 = (wxDateTime *) 0 ;
19651 wxDateTime *arg2 = 0 ;
19652 bool result;
19653 PyObject * obj0 = 0 ;
19654 PyObject * obj1 = 0 ;
19655 char *kwnames[] = {
19656 (char *) "self",(char *) "dt", NULL
19657 };
19658
19659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19662 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19663 SWIG_POINTER_EXCEPTION | 0)) == -1)
19664 SWIG_fail;
d14a1e28 19665 if (arg2 == NULL) {
15afbcd0
RD
19666 PyErr_SetString(PyExc_TypeError,"null reference");
19667 SWIG_fail;
d14a1e28
RD
19668 }
19669 {
19670 PyThreadState* __tstate = wxPyBeginAllowThreads();
19671 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
19672
19673 wxPyEndAllowThreads(__tstate);
19674 if (PyErr_Occurred()) SWIG_fail;
19675 }
4f89f6a3
RD
19676 {
19677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19678 }
d14a1e28
RD
19679 return resultobj;
19680 fail:
19681 return NULL;
19682}
19683
19684
19685static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19686 PyObject *resultobj;
19687 wxDateTime *arg1 = (wxDateTime *) 0 ;
19688 wxDateTime *arg2 = 0 ;
19689 bool result;
19690 PyObject * obj0 = 0 ;
19691 PyObject * obj1 = 0 ;
19692 char *kwnames[] = {
19693 (char *) "self",(char *) "dt", NULL
19694 };
19695
19696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19699 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19700 SWIG_POINTER_EXCEPTION | 0)) == -1)
19701 SWIG_fail;
d14a1e28 19702 if (arg2 == NULL) {
15afbcd0
RD
19703 PyErr_SetString(PyExc_TypeError,"null reference");
19704 SWIG_fail;
d14a1e28
RD
19705 }
19706 {
19707 PyThreadState* __tstate = wxPyBeginAllowThreads();
19708 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
19709
19710 wxPyEndAllowThreads(__tstate);
19711 if (PyErr_Occurred()) SWIG_fail;
19712 }
4f89f6a3
RD
19713 {
19714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19715 }
d14a1e28
RD
19716 return resultobj;
19717 fail:
19718 return NULL;
19719}
19720
19721
19722static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19723 PyObject *resultobj;
19724 wxDateTime *arg1 = (wxDateTime *) 0 ;
19725 wxDateTime *arg2 = 0 ;
19726 wxTimeSpan *arg3 = 0 ;
19727 bool result;
19728 PyObject * obj0 = 0 ;
19729 PyObject * obj1 = 0 ;
19730 PyObject * obj2 = 0 ;
19731 char *kwnames[] = {
19732 (char *) "self",(char *) "dt",(char *) "ts", NULL
19733 };
19734
19735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19738 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19739 SWIG_POINTER_EXCEPTION | 0)) == -1)
19740 SWIG_fail;
d14a1e28 19741 if (arg2 == NULL) {
15afbcd0
RD
19742 PyErr_SetString(PyExc_TypeError,"null reference");
19743 SWIG_fail;
d14a1e28 19744 }
15afbcd0
RD
19745 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTimeSpan,
19746 SWIG_POINTER_EXCEPTION | 0)) == -1)
19747 SWIG_fail;
d14a1e28 19748 if (arg3 == NULL) {
15afbcd0
RD
19749 PyErr_SetString(PyExc_TypeError,"null reference");
19750 SWIG_fail;
d14a1e28
RD
19751 }
19752 {
19753 PyThreadState* __tstate = wxPyBeginAllowThreads();
19754 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
19755
19756 wxPyEndAllowThreads(__tstate);
19757 if (PyErr_Occurred()) SWIG_fail;
19758 }
4f89f6a3
RD
19759 {
19760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19761 }
d14a1e28
RD
19762 return resultobj;
19763 fail:
19764 return NULL;
19765}
19766
19767
19768static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19769 PyObject *resultobj;
19770 wxDateTime *arg1 = (wxDateTime *) 0 ;
19771 wxTimeSpan *arg2 = 0 ;
19772 wxDateTime *result;
19773 PyObject * obj0 = 0 ;
19774 PyObject * obj1 = 0 ;
19775 char *kwnames[] = {
19776 (char *) "self",(char *) "diff", NULL
19777 };
19778
19779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19782 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19783 SWIG_POINTER_EXCEPTION | 0)) == -1)
19784 SWIG_fail;
d14a1e28 19785 if (arg2 == NULL) {
15afbcd0
RD
19786 PyErr_SetString(PyExc_TypeError,"null reference");
19787 SWIG_fail;
d14a1e28
RD
19788 }
19789 {
19790 PyThreadState* __tstate = wxPyBeginAllowThreads();
19791 {
19792 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19793 result = (wxDateTime *) &_result_ref;
19794 }
19795
19796 wxPyEndAllowThreads(__tstate);
19797 if (PyErr_Occurred()) SWIG_fail;
19798 }
15afbcd0 19799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19800 return resultobj;
19801 fail:
19802 return NULL;
19803}
19804
19805
19806static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19807 PyObject *resultobj;
19808 wxDateTime *arg1 = (wxDateTime *) 0 ;
19809 wxDateSpan *arg2 = 0 ;
19810 wxDateTime *result;
19811 PyObject * obj0 = 0 ;
19812 PyObject * obj1 = 0 ;
19813 char *kwnames[] = {
19814 (char *) "self",(char *) "diff", NULL
19815 };
19816
19817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19820 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19821 SWIG_POINTER_EXCEPTION | 0)) == -1)
19822 SWIG_fail;
d14a1e28 19823 if (arg2 == NULL) {
15afbcd0
RD
19824 PyErr_SetString(PyExc_TypeError,"null reference");
19825 SWIG_fail;
d14a1e28
RD
19826 }
19827 {
19828 PyThreadState* __tstate = wxPyBeginAllowThreads();
19829 {
19830 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
19831 result = (wxDateTime *) &_result_ref;
19832 }
19833
19834 wxPyEndAllowThreads(__tstate);
19835 if (PyErr_Occurred()) SWIG_fail;
19836 }
15afbcd0 19837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19838 return resultobj;
19839 fail:
19840 return NULL;
19841}
19842
19843
19844static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19845 PyObject *resultobj;
19846 wxDateTime *arg1 = (wxDateTime *) 0 ;
19847 wxTimeSpan *arg2 = 0 ;
19848 wxDateTime *result;
19849 PyObject * obj0 = 0 ;
19850 PyObject * obj1 = 0 ;
19851 char *kwnames[] = {
19852 (char *) "self",(char *) "diff", NULL
19853 };
19854
19855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19858 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19859 SWIG_POINTER_EXCEPTION | 0)) == -1)
19860 SWIG_fail;
d14a1e28 19861 if (arg2 == NULL) {
15afbcd0
RD
19862 PyErr_SetString(PyExc_TypeError,"null reference");
19863 SWIG_fail;
d14a1e28
RD
19864 }
19865 {
19866 PyThreadState* __tstate = wxPyBeginAllowThreads();
19867 {
19868 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19869 result = (wxDateTime *) &_result_ref;
19870 }
19871
19872 wxPyEndAllowThreads(__tstate);
19873 if (PyErr_Occurred()) SWIG_fail;
19874 }
15afbcd0 19875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19876 return resultobj;
19877 fail:
19878 return NULL;
19879}
19880
19881
19882static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19883 PyObject *resultobj;
19884 wxDateTime *arg1 = (wxDateTime *) 0 ;
19885 wxDateSpan *arg2 = 0 ;
19886 wxDateTime *result;
19887 PyObject * obj0 = 0 ;
19888 PyObject * obj1 = 0 ;
19889 char *kwnames[] = {
19890 (char *) "self",(char *) "diff", NULL
19891 };
19892
19893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19896 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19897 SWIG_POINTER_EXCEPTION | 0)) == -1)
19898 SWIG_fail;
d14a1e28 19899 if (arg2 == NULL) {
15afbcd0
RD
19900 PyErr_SetString(PyExc_TypeError,"null reference");
19901 SWIG_fail;
d14a1e28
RD
19902 }
19903 {
19904 PyThreadState* __tstate = wxPyBeginAllowThreads();
19905 {
19906 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
19907 result = (wxDateTime *) &_result_ref;
19908 }
19909
19910 wxPyEndAllowThreads(__tstate);
19911 if (PyErr_Occurred()) SWIG_fail;
19912 }
15afbcd0 19913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19914 return resultobj;
19915 fail:
19916 return NULL;
19917}
19918
19919
19920static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19921 PyObject *resultobj;
19922 wxDateTime *arg1 = (wxDateTime *) 0 ;
19923 wxDateTime *arg2 = 0 ;
19924 wxTimeSpan result;
19925 PyObject * obj0 = 0 ;
19926 PyObject * obj1 = 0 ;
19927 char *kwnames[] = {
19928 (char *) "self",(char *) "dt", NULL
19929 };
19930
19931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19934 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19935 SWIG_POINTER_EXCEPTION | 0)) == -1)
19936 SWIG_fail;
d14a1e28 19937 if (arg2 == NULL) {
15afbcd0
RD
19938 PyErr_SetString(PyExc_TypeError,"null reference");
19939 SWIG_fail;
d14a1e28
RD
19940 }
19941 {
19942 PyThreadState* __tstate = wxPyBeginAllowThreads();
19943 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
19944
19945 wxPyEndAllowThreads(__tstate);
19946 if (PyErr_Occurred()) SWIG_fail;
19947 }
19948 {
19949 wxTimeSpan * resultptr;
19950 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 19951 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
19952 }
19953 return resultobj;
19954 fail:
19955 return NULL;
19956}
19957
19958
19959static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
19960 PyObject *resultobj;
19961 wxDateTime *arg1 = (wxDateTime *) 0 ;
19962 wxTimeSpan *arg2 = 0 ;
19963 wxDateTime *result;
19964 PyObject * obj0 = 0 ;
19965 PyObject * obj1 = 0 ;
19966
19967 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
15afbcd0
RD
19968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19970 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19971 SWIG_POINTER_EXCEPTION | 0)) == -1)
19972 SWIG_fail;
d14a1e28 19973 if (arg2 == NULL) {
15afbcd0
RD
19974 PyErr_SetString(PyExc_TypeError,"null reference");
19975 SWIG_fail;
d14a1e28
RD
19976 }
19977 {
19978 PyThreadState* __tstate = wxPyBeginAllowThreads();
19979 {
19980 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19981 result = (wxDateTime *) &_result_ref;
19982 }
19983
19984 wxPyEndAllowThreads(__tstate);
19985 if (PyErr_Occurred()) SWIG_fail;
19986 }
15afbcd0 19987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
19988 return resultobj;
19989 fail:
19990 return NULL;
19991}
19992
19993
19994static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
19995 PyObject *resultobj;
19996 wxDateTime *arg1 = (wxDateTime *) 0 ;
19997 wxDateSpan *arg2 = 0 ;
19998 wxDateTime *result;
19999 PyObject * obj0 = 0 ;
20000 PyObject * obj1 = 0 ;
20001
20002 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
15afbcd0
RD
20003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20005 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20006 SWIG_POINTER_EXCEPTION | 0)) == -1)
20007 SWIG_fail;
d14a1e28 20008 if (arg2 == NULL) {
15afbcd0
RD
20009 PyErr_SetString(PyExc_TypeError,"null reference");
20010 SWIG_fail;
d14a1e28
RD
20011 }
20012 {
20013 PyThreadState* __tstate = wxPyBeginAllowThreads();
20014 {
20015 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
20016 result = (wxDateTime *) &_result_ref;
20017 }
20018
20019 wxPyEndAllowThreads(__tstate);
20020 if (PyErr_Occurred()) SWIG_fail;
20021 }
15afbcd0 20022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20023 return resultobj;
20024 fail:
20025 return NULL;
20026}
20027
20028
20029static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
20030 int argc;
20031 PyObject *argv[3];
20032 int ii;
20033
20034 argc = PyObject_Length(args);
20035 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20036 argv[ii] = PyTuple_GetItem(args,ii);
20037 }
20038 if (argc == 2) {
20039 int _v;
20040 {
20041 void *ptr;
15afbcd0 20042 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20043 _v = 0;
20044 PyErr_Clear();
20045 } else {
20046 _v = 1;
20047 }
20048 }
20049 if (_v) {
20050 {
20051 void *ptr;
15afbcd0 20052 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
20053 _v = 0;
20054 PyErr_Clear();
20055 } else {
20056 _v = 1;
20057 }
20058 }
20059 if (_v) {
20060 return _wrap_DateTime___iadd____SWIG_0(self,args);
20061 }
20062 }
20063 }
20064 if (argc == 2) {
20065 int _v;
20066 {
20067 void *ptr;
15afbcd0 20068 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20069 _v = 0;
20070 PyErr_Clear();
20071 } else {
20072 _v = 1;
20073 }
20074 }
20075 if (_v) {
20076 {
20077 void *ptr;
15afbcd0 20078 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
20079 _v = 0;
20080 PyErr_Clear();
20081 } else {
20082 _v = 1;
20083 }
20084 }
20085 if (_v) {
20086 return _wrap_DateTime___iadd____SWIG_1(self,args);
20087 }
20088 }
20089 }
20090
20091 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
20092 return NULL;
20093}
20094
20095
20096static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
20097 PyObject *resultobj;
20098 wxDateTime *arg1 = (wxDateTime *) 0 ;
20099 wxTimeSpan *arg2 = 0 ;
20100 wxDateTime *result;
20101 PyObject * obj0 = 0 ;
20102 PyObject * obj1 = 0 ;
20103
20104 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
15afbcd0
RD
20105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20107 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20108 SWIG_POINTER_EXCEPTION | 0)) == -1)
20109 SWIG_fail;
d14a1e28 20110 if (arg2 == NULL) {
15afbcd0
RD
20111 PyErr_SetString(PyExc_TypeError,"null reference");
20112 SWIG_fail;
d14a1e28
RD
20113 }
20114 {
20115 PyThreadState* __tstate = wxPyBeginAllowThreads();
20116 {
20117 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
20118 result = (wxDateTime *) &_result_ref;
20119 }
20120
20121 wxPyEndAllowThreads(__tstate);
20122 if (PyErr_Occurred()) SWIG_fail;
20123 }
15afbcd0 20124 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20125 return resultobj;
20126 fail:
20127 return NULL;
20128}
20129
20130
20131static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
20132 PyObject *resultobj;
20133 wxDateTime *arg1 = (wxDateTime *) 0 ;
20134 wxDateSpan *arg2 = 0 ;
20135 wxDateTime *result;
20136 PyObject * obj0 = 0 ;
20137 PyObject * obj1 = 0 ;
20138
20139 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
15afbcd0
RD
20140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20142 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20143 SWIG_POINTER_EXCEPTION | 0)) == -1)
20144 SWIG_fail;
d14a1e28 20145 if (arg2 == NULL) {
15afbcd0
RD
20146 PyErr_SetString(PyExc_TypeError,"null reference");
20147 SWIG_fail;
d14a1e28
RD
20148 }
20149 {
20150 PyThreadState* __tstate = wxPyBeginAllowThreads();
20151 {
20152 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
20153 result = (wxDateTime *) &_result_ref;
20154 }
20155
20156 wxPyEndAllowThreads(__tstate);
20157 if (PyErr_Occurred()) SWIG_fail;
20158 }
15afbcd0 20159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20160 return resultobj;
20161 fail:
20162 return NULL;
20163}
20164
20165
20166static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
20167 int argc;
20168 PyObject *argv[3];
20169 int ii;
20170
20171 argc = PyObject_Length(args);
20172 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20173 argv[ii] = PyTuple_GetItem(args,ii);
20174 }
20175 if (argc == 2) {
20176 int _v;
20177 {
20178 void *ptr;
15afbcd0 20179 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20180 _v = 0;
20181 PyErr_Clear();
20182 } else {
20183 _v = 1;
20184 }
20185 }
20186 if (_v) {
20187 {
20188 void *ptr;
15afbcd0 20189 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
20190 _v = 0;
20191 PyErr_Clear();
20192 } else {
20193 _v = 1;
20194 }
20195 }
20196 if (_v) {
20197 return _wrap_DateTime___isub____SWIG_0(self,args);
20198 }
20199 }
20200 }
20201 if (argc == 2) {
20202 int _v;
20203 {
20204 void *ptr;
15afbcd0 20205 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20206 _v = 0;
20207 PyErr_Clear();
20208 } else {
20209 _v = 1;
20210 }
20211 }
20212 if (_v) {
20213 {
20214 void *ptr;
15afbcd0 20215 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
20216 _v = 0;
20217 PyErr_Clear();
20218 } else {
20219 _v = 1;
20220 }
20221 }
20222 if (_v) {
20223 return _wrap_DateTime___isub____SWIG_1(self,args);
20224 }
20225 }
20226 }
20227
20228 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
20229 return NULL;
20230}
20231
20232
20233static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
20234 PyObject *resultobj;
20235 wxDateTime *arg1 = (wxDateTime *) 0 ;
20236 wxTimeSpan *arg2 = 0 ;
20237 wxDateTime result;
20238 PyObject * obj0 = 0 ;
20239 PyObject * obj1 = 0 ;
20240
20241 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
15afbcd0
RD
20242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20244 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20245 SWIG_POINTER_EXCEPTION | 0)) == -1)
20246 SWIG_fail;
d14a1e28 20247 if (arg2 == NULL) {
15afbcd0
RD
20248 PyErr_SetString(PyExc_TypeError,"null reference");
20249 SWIG_fail;
d14a1e28
RD
20250 }
20251 {
20252 PyThreadState* __tstate = wxPyBeginAllowThreads();
20253 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
20254
20255 wxPyEndAllowThreads(__tstate);
20256 if (PyErr_Occurred()) SWIG_fail;
20257 }
20258 {
20259 wxDateTime * resultptr;
20260 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 20261 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20262 }
20263 return resultobj;
20264 fail:
20265 return NULL;
20266}
20267
20268
20269static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
20270 PyObject *resultobj;
20271 wxDateTime *arg1 = (wxDateTime *) 0 ;
20272 wxDateSpan *arg2 = 0 ;
20273 wxDateTime result;
20274 PyObject * obj0 = 0 ;
20275 PyObject * obj1 = 0 ;
20276
20277 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
15afbcd0
RD
20278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20280 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20281 SWIG_POINTER_EXCEPTION | 0)) == -1)
20282 SWIG_fail;
d14a1e28 20283 if (arg2 == NULL) {
15afbcd0
RD
20284 PyErr_SetString(PyExc_TypeError,"null reference");
20285 SWIG_fail;
d14a1e28
RD
20286 }
20287 {
20288 PyThreadState* __tstate = wxPyBeginAllowThreads();
20289 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
20290
20291 wxPyEndAllowThreads(__tstate);
20292 if (PyErr_Occurred()) SWIG_fail;
20293 }
20294 {
20295 wxDateTime * resultptr;
20296 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 20297 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20298 }
20299 return resultobj;
20300 fail:
20301 return NULL;
20302}
20303
20304
20305static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
20306 int argc;
20307 PyObject *argv[3];
20308 int ii;
20309
20310 argc = PyObject_Length(args);
20311 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20312 argv[ii] = PyTuple_GetItem(args,ii);
20313 }
20314 if (argc == 2) {
20315 int _v;
20316 {
20317 void *ptr;
15afbcd0 20318 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20319 _v = 0;
20320 PyErr_Clear();
20321 } else {
20322 _v = 1;
20323 }
20324 }
20325 if (_v) {
20326 {
20327 void *ptr;
15afbcd0 20328 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
20329 _v = 0;
20330 PyErr_Clear();
20331 } else {
20332 _v = 1;
20333 }
20334 }
20335 if (_v) {
20336 return _wrap_DateTime___add____SWIG_0(self,args);
20337 }
20338 }
20339 }
20340 if (argc == 2) {
20341 int _v;
20342 {
20343 void *ptr;
15afbcd0 20344 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20345 _v = 0;
20346 PyErr_Clear();
20347 } else {
20348 _v = 1;
20349 }
20350 }
20351 if (_v) {
20352 {
20353 void *ptr;
15afbcd0 20354 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
20355 _v = 0;
20356 PyErr_Clear();
20357 } else {
20358 _v = 1;
20359 }
20360 }
20361 if (_v) {
20362 return _wrap_DateTime___add____SWIG_1(self,args);
20363 }
20364 }
20365 }
20366
20367 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
20368 return NULL;
20369}
20370
20371
20372static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
20373 PyObject *resultobj;
20374 wxDateTime *arg1 = (wxDateTime *) 0 ;
20375 wxDateTime *arg2 = 0 ;
20376 wxTimeSpan result;
20377 PyObject * obj0 = 0 ;
20378 PyObject * obj1 = 0 ;
20379
20380 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
15afbcd0
RD
20381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20383 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20384 SWIG_POINTER_EXCEPTION | 0)) == -1)
20385 SWIG_fail;
d14a1e28 20386 if (arg2 == NULL) {
15afbcd0
RD
20387 PyErr_SetString(PyExc_TypeError,"null reference");
20388 SWIG_fail;
d14a1e28
RD
20389 }
20390 {
20391 PyThreadState* __tstate = wxPyBeginAllowThreads();
20392 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
20393
20394 wxPyEndAllowThreads(__tstate);
20395 if (PyErr_Occurred()) SWIG_fail;
20396 }
20397 {
20398 wxTimeSpan * resultptr;
20399 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 20400 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
20401 }
20402 return resultobj;
20403 fail:
20404 return NULL;
20405}
20406
20407
20408static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
20409 PyObject *resultobj;
20410 wxDateTime *arg1 = (wxDateTime *) 0 ;
20411 wxTimeSpan *arg2 = 0 ;
20412 wxDateTime result;
20413 PyObject * obj0 = 0 ;
20414 PyObject * obj1 = 0 ;
20415
20416 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
15afbcd0
RD
20417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20419 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20420 SWIG_POINTER_EXCEPTION | 0)) == -1)
20421 SWIG_fail;
d14a1e28 20422 if (arg2 == NULL) {
15afbcd0
RD
20423 PyErr_SetString(PyExc_TypeError,"null reference");
20424 SWIG_fail;
d14a1e28
RD
20425 }
20426 {
20427 PyThreadState* __tstate = wxPyBeginAllowThreads();
20428 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
20429
20430 wxPyEndAllowThreads(__tstate);
20431 if (PyErr_Occurred()) SWIG_fail;
20432 }
20433 {
20434 wxDateTime * resultptr;
20435 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 20436 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20437 }
20438 return resultobj;
20439 fail:
20440 return NULL;
20441}
20442
20443
20444static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
20445 PyObject *resultobj;
20446 wxDateTime *arg1 = (wxDateTime *) 0 ;
20447 wxDateSpan *arg2 = 0 ;
20448 wxDateTime result;
20449 PyObject * obj0 = 0 ;
20450 PyObject * obj1 = 0 ;
20451
20452 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
15afbcd0
RD
20453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20455 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20456 SWIG_POINTER_EXCEPTION | 0)) == -1)
20457 SWIG_fail;
d14a1e28 20458 if (arg2 == NULL) {
15afbcd0
RD
20459 PyErr_SetString(PyExc_TypeError,"null reference");
20460 SWIG_fail;
d14a1e28
RD
20461 }
20462 {
20463 PyThreadState* __tstate = wxPyBeginAllowThreads();
20464 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
20465
20466 wxPyEndAllowThreads(__tstate);
20467 if (PyErr_Occurred()) SWIG_fail;
20468 }
20469 {
20470 wxDateTime * resultptr;
20471 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 20472 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20473 }
20474 return resultobj;
20475 fail:
20476 return NULL;
20477}
20478
20479
20480static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
20481 int argc;
20482 PyObject *argv[3];
20483 int ii;
20484
20485 argc = PyObject_Length(args);
20486 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20487 argv[ii] = PyTuple_GetItem(args,ii);
20488 }
20489 if (argc == 2) {
20490 int _v;
20491 {
20492 void *ptr;
15afbcd0 20493 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20494 _v = 0;
20495 PyErr_Clear();
20496 } else {
20497 _v = 1;
20498 }
20499 }
20500 if (_v) {
20501 {
20502 void *ptr;
15afbcd0 20503 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20504 _v = 0;
20505 PyErr_Clear();
20506 } else {
20507 _v = 1;
20508 }
20509 }
20510 if (_v) {
20511 return _wrap_DateTime___sub____SWIG_0(self,args);
20512 }
20513 }
20514 }
20515 if (argc == 2) {
20516 int _v;
20517 {
20518 void *ptr;
15afbcd0 20519 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20520 _v = 0;
20521 PyErr_Clear();
20522 } else {
20523 _v = 1;
20524 }
20525 }
20526 if (_v) {
20527 {
20528 void *ptr;
15afbcd0 20529 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
20530 _v = 0;
20531 PyErr_Clear();
20532 } else {
20533 _v = 1;
20534 }
20535 }
20536 if (_v) {
20537 return _wrap_DateTime___sub____SWIG_1(self,args);
20538 }
20539 }
20540 }
20541 if (argc == 2) {
20542 int _v;
20543 {
20544 void *ptr;
15afbcd0 20545 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
20546 _v = 0;
20547 PyErr_Clear();
20548 } else {
20549 _v = 1;
20550 }
20551 }
20552 if (_v) {
20553 {
20554 void *ptr;
15afbcd0 20555 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
20556 _v = 0;
20557 PyErr_Clear();
20558 } else {
20559 _v = 1;
20560 }
20561 }
20562 if (_v) {
20563 return _wrap_DateTime___sub____SWIG_2(self,args);
20564 }
20565 }
20566 }
20567
20568 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
20569 return NULL;
20570}
20571
20572
20573static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
20574 PyObject *resultobj;
20575 wxDateTime *arg1 = (wxDateTime *) 0 ;
22faec7d 20576 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20577 bool result;
20578 PyObject * obj0 = 0 ;
20579 PyObject * obj1 = 0 ;
20580
20581 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
15afbcd0
RD
20582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20584 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20586 {
20587 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 20588 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20589
20590 wxPyEndAllowThreads(__tstate);
20591 if (PyErr_Occurred()) SWIG_fail;
20592 }
4f89f6a3
RD
20593 {
20594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20595 }
d14a1e28
RD
20596 return resultobj;
20597 fail:
20598 return NULL;
20599}
20600
20601
20602static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
20603 PyObject *resultobj;
20604 wxDateTime *arg1 = (wxDateTime *) 0 ;
22faec7d 20605 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20606 bool result;
20607 PyObject * obj0 = 0 ;
20608 PyObject * obj1 = 0 ;
20609
20610 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
15afbcd0
RD
20611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20613 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20615 {
20616 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 20617 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20618
20619 wxPyEndAllowThreads(__tstate);
20620 if (PyErr_Occurred()) SWIG_fail;
20621 }
4f89f6a3
RD
20622 {
20623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20624 }
d14a1e28
RD
20625 return resultobj;
20626 fail:
20627 return NULL;
20628}
20629
20630
20631static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
20632 PyObject *resultobj;
20633 wxDateTime *arg1 = (wxDateTime *) 0 ;
22faec7d 20634 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20635 bool result;
20636 PyObject * obj0 = 0 ;
20637 PyObject * obj1 = 0 ;
20638
20639 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
15afbcd0
RD
20640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20642 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20644 {
20645 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 20646 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20647
20648 wxPyEndAllowThreads(__tstate);
20649 if (PyErr_Occurred()) SWIG_fail;
20650 }
4f89f6a3
RD
20651 {
20652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20653 }
d14a1e28
RD
20654 return resultobj;
20655 fail:
20656 return NULL;
20657}
20658
20659
20660static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
20661 PyObject *resultobj;
20662 wxDateTime *arg1 = (wxDateTime *) 0 ;
22faec7d 20663 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20664 bool result;
20665 PyObject * obj0 = 0 ;
20666 PyObject * obj1 = 0 ;
20667
20668 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
15afbcd0
RD
20669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20671 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20673 {
20674 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 20675 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20676
20677 wxPyEndAllowThreads(__tstate);
20678 if (PyErr_Occurred()) SWIG_fail;
20679 }
4f89f6a3
RD
20680 {
20681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20682 }
d14a1e28
RD
20683 return resultobj;
20684 fail:
20685 return NULL;
20686}
20687
20688
20689static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
20690 PyObject *resultobj;
20691 wxDateTime *arg1 = (wxDateTime *) 0 ;
22faec7d 20692 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20693 bool result;
20694 PyObject * obj0 = 0 ;
20695 PyObject * obj1 = 0 ;
20696
20697 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
15afbcd0
RD
20698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20700 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20702 {
20703 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 20704 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20705
20706 wxPyEndAllowThreads(__tstate);
20707 if (PyErr_Occurred()) SWIG_fail;
20708 }
4f89f6a3
RD
20709 {
20710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20711 }
d14a1e28
RD
20712 return resultobj;
20713 fail:
20714 return NULL;
20715}
20716
20717
20718static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
20719 PyObject *resultobj;
20720 wxDateTime *arg1 = (wxDateTime *) 0 ;
22faec7d 20721 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
20722 bool result;
20723 PyObject * obj0 = 0 ;
20724 PyObject * obj1 = 0 ;
20725
20726 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
15afbcd0
RD
20727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20729 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20731 {
20732 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 20733 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
20734
20735 wxPyEndAllowThreads(__tstate);
20736 if (PyErr_Occurred()) SWIG_fail;
20737 }
4f89f6a3
RD
20738 {
20739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20740 }
d14a1e28
RD
20741 return resultobj;
20742 fail:
20743 return NULL;
20744}
20745
20746
20747static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
20748 PyObject *resultobj;
20749 wxDateTime *arg1 = (wxDateTime *) 0 ;
20750 wxString *arg2 = 0 ;
20751 int result;
e811c8ce 20752 bool temp2 = False ;
d14a1e28
RD
20753 PyObject * obj0 = 0 ;
20754 PyObject * obj1 = 0 ;
20755 char *kwnames[] = {
20756 (char *) "self",(char *) "date", NULL
20757 };
20758
20759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20762 {
20763 arg2 = wxString_in_helper(obj1);
20764 if (arg2 == NULL) SWIG_fail;
e811c8ce 20765 temp2 = True;
d14a1e28
RD
20766 }
20767 {
20768 PyThreadState* __tstate = wxPyBeginAllowThreads();
20769 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
20770
20771 wxPyEndAllowThreads(__tstate);
20772 if (PyErr_Occurred()) SWIG_fail;
20773 }
15afbcd0 20774 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20775 {
20776 if (temp2)
20777 delete arg2;
20778 }
20779 return resultobj;
20780 fail:
20781 {
20782 if (temp2)
20783 delete arg2;
20784 }
20785 return NULL;
20786}
20787
20788
20789static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
20790 PyObject *resultobj;
20791 wxDateTime *arg1 = (wxDateTime *) 0 ;
20792 wxString *arg2 = 0 ;
20793 wxString const &arg3_defvalue = wxPyDateFormatStr ;
20794 wxString *arg3 = (wxString *) &arg3_defvalue ;
20795 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
20796 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
20797 int result;
e811c8ce
RD
20798 bool temp2 = False ;
20799 bool temp3 = False ;
d14a1e28
RD
20800 PyObject * obj0 = 0 ;
20801 PyObject * obj1 = 0 ;
20802 PyObject * obj2 = 0 ;
20803 PyObject * obj3 = 0 ;
20804 char *kwnames[] = {
20805 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20806 };
20807
20808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
20809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20811 {
20812 arg2 = wxString_in_helper(obj1);
20813 if (arg2 == NULL) SWIG_fail;
e811c8ce 20814 temp2 = True;
d14a1e28
RD
20815 }
20816 if (obj2) {
20817 {
20818 arg3 = wxString_in_helper(obj2);
20819 if (arg3 == NULL) SWIG_fail;
e811c8ce 20820 temp3 = True;
d14a1e28
RD
20821 }
20822 }
20823 if (obj3) {
15afbcd0
RD
20824 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDateTime,
20825 SWIG_POINTER_EXCEPTION | 0)) == -1)
20826 SWIG_fail;
d14a1e28 20827 if (arg4 == NULL) {
15afbcd0
RD
20828 PyErr_SetString(PyExc_TypeError,"null reference");
20829 SWIG_fail;
d14a1e28
RD
20830 }
20831 }
20832 {
20833 PyThreadState* __tstate = wxPyBeginAllowThreads();
20834 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
20835
20836 wxPyEndAllowThreads(__tstate);
20837 if (PyErr_Occurred()) SWIG_fail;
20838 }
15afbcd0 20839 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20840 {
20841 if (temp2)
20842 delete arg2;
20843 }
20844 {
20845 if (temp3)
20846 delete arg3;
20847 }
20848 return resultobj;
20849 fail:
20850 {
20851 if (temp2)
20852 delete arg2;
20853 }
20854 {
20855 if (temp3)
20856 delete arg3;
20857 }
20858 return NULL;
20859}
20860
20861
20862static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20863 PyObject *resultobj;
20864 wxDateTime *arg1 = (wxDateTime *) 0 ;
20865 wxString *arg2 = 0 ;
20866 int result;
e811c8ce 20867 bool temp2 = False ;
d14a1e28
RD
20868 PyObject * obj0 = 0 ;
20869 PyObject * obj1 = 0 ;
20870 char *kwnames[] = {
20871 (char *) "self",(char *) "datetime", NULL
20872 };
20873
20874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20877 {
20878 arg2 = wxString_in_helper(obj1);
20879 if (arg2 == NULL) SWIG_fail;
e811c8ce 20880 temp2 = True;
d14a1e28
RD
20881 }
20882 {
20883 PyThreadState* __tstate = wxPyBeginAllowThreads();
20884 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
20885
20886 wxPyEndAllowThreads(__tstate);
20887 if (PyErr_Occurred()) SWIG_fail;
20888 }
15afbcd0 20889 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20890 {
20891 if (temp2)
20892 delete arg2;
20893 }
20894 return resultobj;
20895 fail:
20896 {
20897 if (temp2)
20898 delete arg2;
20899 }
20900 return NULL;
20901}
20902
20903
20904static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
20905 PyObject *resultobj;
20906 wxDateTime *arg1 = (wxDateTime *) 0 ;
20907 wxString *arg2 = 0 ;
20908 int result;
e811c8ce 20909 bool temp2 = False ;
d14a1e28
RD
20910 PyObject * obj0 = 0 ;
20911 PyObject * obj1 = 0 ;
20912 char *kwnames[] = {
20913 (char *) "self",(char *) "date", NULL
20914 };
20915
20916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20919 {
20920 arg2 = wxString_in_helper(obj1);
20921 if (arg2 == NULL) SWIG_fail;
e811c8ce 20922 temp2 = True;
d14a1e28
RD
20923 }
20924 {
20925 PyThreadState* __tstate = wxPyBeginAllowThreads();
20926 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
20927
20928 wxPyEndAllowThreads(__tstate);
20929 if (PyErr_Occurred()) SWIG_fail;
20930 }
15afbcd0 20931 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20932 {
20933 if (temp2)
20934 delete arg2;
20935 }
20936 return resultobj;
20937 fail:
20938 {
20939 if (temp2)
20940 delete arg2;
20941 }
20942 return NULL;
20943}
20944
20945
20946static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20947 PyObject *resultobj;
20948 wxDateTime *arg1 = (wxDateTime *) 0 ;
20949 wxString *arg2 = 0 ;
20950 int result;
e811c8ce 20951 bool temp2 = False ;
d14a1e28
RD
20952 PyObject * obj0 = 0 ;
20953 PyObject * obj1 = 0 ;
20954 char *kwnames[] = {
20955 (char *) "self",(char *) "time", NULL
20956 };
20957
20958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20961 {
20962 arg2 = wxString_in_helper(obj1);
20963 if (arg2 == NULL) SWIG_fail;
e811c8ce 20964 temp2 = True;
d14a1e28
RD
20965 }
20966 {
20967 PyThreadState* __tstate = wxPyBeginAllowThreads();
20968 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
20969
20970 wxPyEndAllowThreads(__tstate);
20971 if (PyErr_Occurred()) SWIG_fail;
20972 }
15afbcd0 20973 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20974 {
20975 if (temp2)
20976 delete arg2;
20977 }
20978 return resultobj;
20979 fail:
20980 {
20981 if (temp2)
20982 delete arg2;
20983 }
20984 return NULL;
20985}
20986
20987
20988static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
20989 PyObject *resultobj;
20990 wxDateTime *arg1 = (wxDateTime *) 0 ;
20991 wxString const &arg2_defvalue = wxPyDateFormatStr ;
20992 wxString *arg2 = (wxString *) &arg2_defvalue ;
20993 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
20994 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
20995 wxString result;
e811c8ce 20996 bool temp2 = False ;
7722248d 20997 bool temp3 = False ;
d14a1e28
RD
20998 PyObject * obj0 = 0 ;
20999 PyObject * obj1 = 0 ;
21000 PyObject * obj2 = 0 ;
21001 char *kwnames[] = {
21002 (char *) "self",(char *) "format",(char *) "tz", NULL
21003 };
21004
21005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21008 if (obj1) {
21009 {
21010 arg2 = wxString_in_helper(obj1);
21011 if (arg2 == NULL) SWIG_fail;
e811c8ce 21012 temp2 = True;
d14a1e28
RD
21013 }
21014 }
21015 if (obj2) {
21016 {
21017 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
7722248d 21018 temp3 = True;
d14a1e28
RD
21019 }
21020 }
21021 {
21022 PyThreadState* __tstate = wxPyBeginAllowThreads();
21023 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
21024
21025 wxPyEndAllowThreads(__tstate);
21026 if (PyErr_Occurred()) SWIG_fail;
21027 }
21028 {
21029#if wxUSE_UNICODE
21030 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21031#else
21032 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21033#endif
21034 }
21035 {
21036 if (temp2)
21037 delete arg2;
21038 }
21039 {
7722248d 21040 if (temp3) delete arg3;
d14a1e28
RD
21041 }
21042 return resultobj;
21043 fail:
21044 {
21045 if (temp2)
21046 delete arg2;
21047 }
21048 {
7722248d 21049 if (temp3) delete arg3;
d14a1e28
RD
21050 }
21051 return NULL;
21052}
21053
21054
21055static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
21056 PyObject *resultobj;
21057 wxDateTime *arg1 = (wxDateTime *) 0 ;
21058 wxString result;
21059 PyObject * obj0 = 0 ;
21060 char *kwnames[] = {
21061 (char *) "self", NULL
21062 };
21063
21064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
15afbcd0
RD
21065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21067 {
21068 PyThreadState* __tstate = wxPyBeginAllowThreads();
21069 result = ((wxDateTime const *)arg1)->FormatDate();
21070
21071 wxPyEndAllowThreads(__tstate);
21072 if (PyErr_Occurred()) SWIG_fail;
21073 }
21074 {
21075#if wxUSE_UNICODE
21076 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21077#else
21078 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21079#endif
21080 }
21081 return resultobj;
21082 fail:
21083 return NULL;
21084}
21085
21086
21087static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21088 PyObject *resultobj;
21089 wxDateTime *arg1 = (wxDateTime *) 0 ;
21090 wxString result;
21091 PyObject * obj0 = 0 ;
21092 char *kwnames[] = {
21093 (char *) "self", NULL
21094 };
21095
21096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
15afbcd0
RD
21097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21099 {
21100 PyThreadState* __tstate = wxPyBeginAllowThreads();
21101 result = ((wxDateTime const *)arg1)->FormatTime();
21102
21103 wxPyEndAllowThreads(__tstate);
21104 if (PyErr_Occurred()) SWIG_fail;
21105 }
21106 {
21107#if wxUSE_UNICODE
21108 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21109#else
21110 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21111#endif
21112 }
21113 return resultobj;
21114 fail:
21115 return NULL;
21116}
21117
21118
21119static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
21120 PyObject *resultobj;
21121 wxDateTime *arg1 = (wxDateTime *) 0 ;
21122 wxString result;
21123 PyObject * obj0 = 0 ;
21124 char *kwnames[] = {
21125 (char *) "self", NULL
21126 };
21127
21128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
15afbcd0
RD
21129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21131 {
21132 PyThreadState* __tstate = wxPyBeginAllowThreads();
21133 result = ((wxDateTime const *)arg1)->FormatISODate();
21134
21135 wxPyEndAllowThreads(__tstate);
21136 if (PyErr_Occurred()) SWIG_fail;
21137 }
21138 {
21139#if wxUSE_UNICODE
21140 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21141#else
21142 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21143#endif
21144 }
21145 return resultobj;
21146 fail:
21147 return NULL;
21148}
21149
21150
21151static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21152 PyObject *resultobj;
21153 wxDateTime *arg1 = (wxDateTime *) 0 ;
21154 wxString result;
21155 PyObject * obj0 = 0 ;
21156 char *kwnames[] = {
21157 (char *) "self", NULL
21158 };
21159
21160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
15afbcd0
RD
21161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21163 {
21164 PyThreadState* __tstate = wxPyBeginAllowThreads();
21165 result = ((wxDateTime const *)arg1)->FormatISOTime();
21166
21167 wxPyEndAllowThreads(__tstate);
21168 if (PyErr_Occurred()) SWIG_fail;
21169 }
21170 {
21171#if wxUSE_UNICODE
21172 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21173#else
21174 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21175#endif
21176 }
21177 return resultobj;
21178 fail:
21179 return NULL;
21180}
21181
21182
21183static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
21184 PyObject *obj;
21185 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21186 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
21187 Py_INCREF(obj);
21188 return Py_BuildValue((char *)"");
21189}
21190static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
21191 PyObject *resultobj;
21192 long arg1 ;
21193 wxTimeSpan result;
994141e6 21194 PyObject * obj0 = 0 ;
d14a1e28
RD
21195 char *kwnames[] = {
21196 (char *) "sec", NULL
21197 };
21198
994141e6 21199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
15afbcd0
RD
21200 arg1 = (long) SWIG_AsLong(obj0);
21201 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21202 {
21203 PyThreadState* __tstate = wxPyBeginAllowThreads();
21204 result = wxTimeSpan::Seconds(arg1);
21205
21206 wxPyEndAllowThreads(__tstate);
21207 if (PyErr_Occurred()) SWIG_fail;
21208 }
21209 {
21210 wxTimeSpan * resultptr;
21211 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 21212 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21213 }
21214 return resultobj;
21215 fail:
21216 return NULL;
21217}
21218
21219
21220static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
21221 PyObject *resultobj;
21222 wxTimeSpan result;
21223 char *kwnames[] = {
21224 NULL
21225 };
21226
21227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
21228 {
21229 PyThreadState* __tstate = wxPyBeginAllowThreads();
21230 result = wxTimeSpan::Second();
21231
21232 wxPyEndAllowThreads(__tstate);
21233 if (PyErr_Occurred()) SWIG_fail;
21234 }
21235 {
21236 wxTimeSpan * resultptr;
21237 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 21238 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21239 }
21240 return resultobj;
21241 fail:
21242 return NULL;
21243}
21244
21245
21246static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
21247 PyObject *resultobj;
21248 long arg1 ;
21249 wxTimeSpan result;
994141e6 21250 PyObject * obj0 = 0 ;
d14a1e28
RD
21251 char *kwnames[] = {
21252 (char *) "min", NULL
21253 };
21254
994141e6 21255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
15afbcd0
RD
21256 arg1 = (long) SWIG_AsLong(obj0);
21257 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21258 {
21259 PyThreadState* __tstate = wxPyBeginAllowThreads();
21260 result = wxTimeSpan::Minutes(arg1);
21261
21262 wxPyEndAllowThreads(__tstate);
21263 if (PyErr_Occurred()) SWIG_fail;
21264 }
21265 {
21266 wxTimeSpan * resultptr;
21267 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 21268 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21269 }
21270 return resultobj;
21271 fail:
21272 return NULL;
21273}
21274
21275
21276static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
21277 PyObject *resultobj;
21278 wxTimeSpan result;
21279 char *kwnames[] = {
21280 NULL
21281 };
21282
21283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
21284 {
21285 PyThreadState* __tstate = wxPyBeginAllowThreads();
21286 result = wxTimeSpan::Minute();
21287
21288 wxPyEndAllowThreads(__tstate);
21289 if (PyErr_Occurred()) SWIG_fail;
21290 }
21291 {
21292 wxTimeSpan * resultptr;
21293 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 21294 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21295 }
21296 return resultobj;
21297 fail:
21298 return NULL;
21299}
21300
21301
21302static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
21303 PyObject *resultobj;
21304 long arg1 ;
21305 wxTimeSpan result;
994141e6 21306 PyObject * obj0 = 0 ;
d14a1e28
RD
21307 char *kwnames[] = {
21308 (char *) "hours", NULL
21309 };
21310
994141e6 21311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
15afbcd0
RD
21312 arg1 = (long) SWIG_AsLong(obj0);
21313 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21314 {
21315 PyThreadState* __tstate = wxPyBeginAllowThreads();
21316 result = wxTimeSpan::Hours(arg1);
21317
21318 wxPyEndAllowThreads(__tstate);
21319 if (PyErr_Occurred()) SWIG_fail;
21320 }
21321 {
21322 wxTimeSpan * resultptr;
21323 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 21324 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21325 }
21326 return resultobj;
21327 fail:
21328 return NULL;
21329}
21330
21331
21332static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
21333 PyObject *resultobj;
21334 wxTimeSpan result;
21335 char *kwnames[] = {
21336 NULL
21337 };
21338
21339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
21340 {
21341 PyThreadState* __tstate = wxPyBeginAllowThreads();
21342 result = wxTimeSpan::Hour();
21343
21344 wxPyEndAllowThreads(__tstate);
21345 if (PyErr_Occurred()) SWIG_fail;
21346 }
21347 {
21348 wxTimeSpan * resultptr;
21349 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 21350 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21351 }
21352 return resultobj;
21353 fail:
21354 return NULL;
21355}
21356
21357
21358static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
21359 PyObject *resultobj;
21360 long arg1 ;
21361 wxTimeSpan result;
994141e6 21362 PyObject * obj0 = 0 ;
d14a1e28
RD
21363 char *kwnames[] = {
21364 (char *) "days", NULL
21365 };
21366
994141e6 21367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
15afbcd0
RD
21368 arg1 = (long) SWIG_AsLong(obj0);
21369 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21370 {
21371 PyThreadState* __tstate = wxPyBeginAllowThreads();
21372 result = wxTimeSpan::Days(arg1);
21373
21374 wxPyEndAllowThreads(__tstate);
21375 if (PyErr_Occurred()) SWIG_fail;
21376 }
21377 {
21378 wxTimeSpan * resultptr;
21379 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 21380 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21381 }
21382 return resultobj;
21383 fail:
21384 return NULL;
21385}
21386
21387
21388static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
21389 PyObject *resultobj;
21390 wxTimeSpan result;
21391 char *kwnames[] = {
21392 NULL
21393 };
21394
21395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
21396 {
21397 PyThreadState* __tstate = wxPyBeginAllowThreads();
21398 result = wxTimeSpan::Day();
21399
21400 wxPyEndAllowThreads(__tstate);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 }
21403 {
21404 wxTimeSpan * resultptr;
21405 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 21406 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21407 }
21408 return resultobj;
21409 fail:
21410 return NULL;
21411}
21412
21413
21414static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
21415 PyObject *resultobj;
21416 long arg1 ;
21417 wxTimeSpan result;
994141e6 21418 PyObject * obj0 = 0 ;
d14a1e28
RD
21419 char *kwnames[] = {
21420 (char *) "days", NULL
21421 };
21422
994141e6 21423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
15afbcd0
RD
21424 arg1 = (long) SWIG_AsLong(obj0);
21425 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21426 {
21427 PyThreadState* __tstate = wxPyBeginAllowThreads();
21428 result = wxTimeSpan::Weeks(arg1);
21429
21430 wxPyEndAllowThreads(__tstate);
21431 if (PyErr_Occurred()) SWIG_fail;
21432 }
21433 {
21434 wxTimeSpan * resultptr;
21435 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 21436 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21437 }
21438 return resultobj;
21439 fail:
21440 return NULL;
21441}
21442
21443
21444static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
21445 PyObject *resultobj;
21446 wxTimeSpan result;
21447 char *kwnames[] = {
21448 NULL
21449 };
21450
21451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
21452 {
21453 PyThreadState* __tstate = wxPyBeginAllowThreads();
21454 result = wxTimeSpan::Week();
21455
21456 wxPyEndAllowThreads(__tstate);
21457 if (PyErr_Occurred()) SWIG_fail;
21458 }
21459 {
21460 wxTimeSpan * resultptr;
21461 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 21462 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21463 }
21464 return resultobj;
21465 fail:
21466 return NULL;
21467}
21468
21469
21470static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21471 PyObject *resultobj;
21472 long arg1 = (long) 0 ;
21473 long arg2 = (long) 0 ;
21474 long arg3 = (long) 0 ;
21475 long arg4 = (long) 0 ;
21476 wxTimeSpan *result;
994141e6
RD
21477 PyObject * obj0 = 0 ;
21478 PyObject * obj1 = 0 ;
21479 PyObject * obj2 = 0 ;
21480 PyObject * obj3 = 0 ;
d14a1e28
RD
21481 char *kwnames[] = {
21482 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21483 };
21484
994141e6
RD
21485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21486 if (obj0) {
15afbcd0
RD
21487 arg1 = (long) SWIG_AsLong(obj0);
21488 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
21489 }
21490 if (obj1) {
15afbcd0
RD
21491 arg2 = (long) SWIG_AsLong(obj1);
21492 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
21493 }
21494 if (obj2) {
15afbcd0
RD
21495 arg3 = (long) SWIG_AsLong(obj2);
21496 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
21497 }
21498 if (obj3) {
15afbcd0
RD
21499 arg4 = (long) SWIG_AsLong(obj3);
21500 if (PyErr_Occurred()) SWIG_fail;
994141e6 21501 }
d14a1e28
RD
21502 {
21503 PyThreadState* __tstate = wxPyBeginAllowThreads();
21504 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
21505
21506 wxPyEndAllowThreads(__tstate);
21507 if (PyErr_Occurred()) SWIG_fail;
21508 }
15afbcd0 21509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21510 return resultobj;
21511 fail:
21512 return NULL;
21513}
21514
21515
21516static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21517 PyObject *resultobj;
21518 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21519 PyObject * obj0 = 0 ;
21520 char *kwnames[] = {
21521 (char *) "self", NULL
21522 };
21523
21524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
15afbcd0
RD
21525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21527 {
21528 PyThreadState* __tstate = wxPyBeginAllowThreads();
21529 delete arg1;
21530
21531 wxPyEndAllowThreads(__tstate);
21532 if (PyErr_Occurred()) SWIG_fail;
21533 }
21534 Py_INCREF(Py_None); resultobj = Py_None;
21535 return resultobj;
21536 fail:
21537 return NULL;
21538}
21539
21540
21541static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
21542 PyObject *resultobj;
21543 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21544 wxTimeSpan *arg2 = 0 ;
21545 wxTimeSpan *result;
21546 PyObject * obj0 = 0 ;
21547 PyObject * obj1 = 0 ;
21548 char *kwnames[] = {
21549 (char *) "self",(char *) "diff", NULL
21550 };
21551
21552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21555 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21556 SWIG_POINTER_EXCEPTION | 0)) == -1)
21557 SWIG_fail;
d14a1e28 21558 if (arg2 == NULL) {
15afbcd0
RD
21559 PyErr_SetString(PyExc_TypeError,"null reference");
21560 SWIG_fail;
d14a1e28
RD
21561 }
21562 {
21563 PyThreadState* __tstate = wxPyBeginAllowThreads();
21564 {
21565 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
21566 result = (wxTimeSpan *) &_result_ref;
21567 }
21568
21569 wxPyEndAllowThreads(__tstate);
21570 if (PyErr_Occurred()) SWIG_fail;
21571 }
15afbcd0 21572 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21573 return resultobj;
21574 fail:
21575 return NULL;
21576}
21577
21578
21579static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
21580 PyObject *resultobj;
21581 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21582 wxTimeSpan *arg2 = 0 ;
21583 wxTimeSpan *result;
21584 PyObject * obj0 = 0 ;
21585 PyObject * obj1 = 0 ;
21586 char *kwnames[] = {
21587 (char *) "self",(char *) "diff", NULL
21588 };
21589
21590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21593 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21594 SWIG_POINTER_EXCEPTION | 0)) == -1)
21595 SWIG_fail;
d14a1e28 21596 if (arg2 == NULL) {
15afbcd0
RD
21597 PyErr_SetString(PyExc_TypeError,"null reference");
21598 SWIG_fail;
d14a1e28
RD
21599 }
21600 {
21601 PyThreadState* __tstate = wxPyBeginAllowThreads();
21602 {
21603 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
21604 result = (wxTimeSpan *) &_result_ref;
21605 }
21606
21607 wxPyEndAllowThreads(__tstate);
21608 if (PyErr_Occurred()) SWIG_fail;
21609 }
15afbcd0 21610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21611 return resultobj;
21612 fail:
21613 return NULL;
21614}
21615
21616
21617static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
21618 PyObject *resultobj;
21619 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21620 int arg2 ;
21621 wxTimeSpan *result;
21622 PyObject * obj0 = 0 ;
994141e6 21623 PyObject * obj1 = 0 ;
d14a1e28
RD
21624 char *kwnames[] = {
21625 (char *) "self",(char *) "n", NULL
21626 };
21627
994141e6 21628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21631 arg2 = (int) SWIG_AsInt(obj1);
21632 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21633 {
21634 PyThreadState* __tstate = wxPyBeginAllowThreads();
21635 {
21636 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
21637 result = (wxTimeSpan *) &_result_ref;
21638 }
21639
21640 wxPyEndAllowThreads(__tstate);
21641 if (PyErr_Occurred()) SWIG_fail;
21642 }
15afbcd0 21643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21644 return resultobj;
21645 fail:
21646 return NULL;
21647}
21648
21649
21650static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
21651 PyObject *resultobj;
21652 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21653 wxTimeSpan *result;
21654 PyObject * obj0 = 0 ;
21655 char *kwnames[] = {
21656 (char *) "self", NULL
21657 };
21658
21659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
15afbcd0
RD
21660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21662 {
21663 PyThreadState* __tstate = wxPyBeginAllowThreads();
21664 {
21665 wxTimeSpan &_result_ref = (arg1)->Neg();
21666 result = (wxTimeSpan *) &_result_ref;
21667 }
21668
21669 wxPyEndAllowThreads(__tstate);
21670 if (PyErr_Occurred()) SWIG_fail;
21671 }
15afbcd0 21672 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21673 return resultobj;
21674 fail:
21675 return NULL;
21676}
21677
21678
21679static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
21680 PyObject *resultobj;
21681 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21682 wxTimeSpan result;
21683 PyObject * obj0 = 0 ;
21684 char *kwnames[] = {
21685 (char *) "self", NULL
21686 };
21687
21688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
15afbcd0
RD
21689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21691 {
21692 PyThreadState* __tstate = wxPyBeginAllowThreads();
21693 result = ((wxTimeSpan const *)arg1)->Abs();
21694
21695 wxPyEndAllowThreads(__tstate);
21696 if (PyErr_Occurred()) SWIG_fail;
21697 }
21698 {
21699 wxTimeSpan * resultptr;
21700 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 21701 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21702 }
21703 return resultobj;
21704 fail:
21705 return NULL;
21706}
21707
21708
21709static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21710 PyObject *resultobj;
21711 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21712 wxTimeSpan *arg2 = 0 ;
21713 wxTimeSpan *result;
21714 PyObject * obj0 = 0 ;
21715 PyObject * obj1 = 0 ;
21716 char *kwnames[] = {
21717 (char *) "self",(char *) "diff", NULL
21718 };
21719
21720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21723 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21724 SWIG_POINTER_EXCEPTION | 0)) == -1)
21725 SWIG_fail;
d14a1e28 21726 if (arg2 == NULL) {
15afbcd0
RD
21727 PyErr_SetString(PyExc_TypeError,"null reference");
21728 SWIG_fail;
d14a1e28
RD
21729 }
21730 {
21731 PyThreadState* __tstate = wxPyBeginAllowThreads();
21732 {
21733 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
21734 result = (wxTimeSpan *) &_result_ref;
21735 }
21736
21737 wxPyEndAllowThreads(__tstate);
21738 if (PyErr_Occurred()) SWIG_fail;
21739 }
15afbcd0 21740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21741 return resultobj;
21742 fail:
21743 return NULL;
21744}
21745
21746
21747static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21748 PyObject *resultobj;
21749 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21750 wxTimeSpan *arg2 = 0 ;
21751 wxTimeSpan *result;
21752 PyObject * obj0 = 0 ;
21753 PyObject * obj1 = 0 ;
21754 char *kwnames[] = {
21755 (char *) "self",(char *) "diff", NULL
21756 };
21757
21758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21761 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21762 SWIG_POINTER_EXCEPTION | 0)) == -1)
21763 SWIG_fail;
d14a1e28 21764 if (arg2 == NULL) {
15afbcd0
RD
21765 PyErr_SetString(PyExc_TypeError,"null reference");
21766 SWIG_fail;
d14a1e28
RD
21767 }
21768 {
21769 PyThreadState* __tstate = wxPyBeginAllowThreads();
21770 {
21771 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
21772 result = (wxTimeSpan *) &_result_ref;
21773 }
21774
21775 wxPyEndAllowThreads(__tstate);
21776 if (PyErr_Occurred()) SWIG_fail;
21777 }
15afbcd0 21778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21779 return resultobj;
21780 fail:
21781 return NULL;
21782}
21783
21784
21785static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21786 PyObject *resultobj;
21787 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21788 int arg2 ;
21789 wxTimeSpan *result;
21790 PyObject * obj0 = 0 ;
994141e6 21791 PyObject * obj1 = 0 ;
d14a1e28
RD
21792 char *kwnames[] = {
21793 (char *) "self",(char *) "n", NULL
21794 };
21795
994141e6 21796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21799 arg2 = (int) SWIG_AsInt(obj1);
21800 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21801 {
21802 PyThreadState* __tstate = wxPyBeginAllowThreads();
21803 {
21804 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
21805 result = (wxTimeSpan *) &_result_ref;
21806 }
21807
21808 wxPyEndAllowThreads(__tstate);
21809 if (PyErr_Occurred()) SWIG_fail;
21810 }
15afbcd0 21811 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21812 return resultobj;
21813 fail:
21814 return NULL;
21815}
21816
21817
21818static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21819 PyObject *resultobj;
21820 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21821 wxTimeSpan *result;
21822 PyObject * obj0 = 0 ;
21823 char *kwnames[] = {
21824 (char *) "self", NULL
21825 };
21826
21827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
15afbcd0
RD
21828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21830 {
21831 PyThreadState* __tstate = wxPyBeginAllowThreads();
21832 {
21833 wxTimeSpan &_result_ref = (arg1)->operator -();
21834 result = (wxTimeSpan *) &_result_ref;
21835 }
21836
21837 wxPyEndAllowThreads(__tstate);
21838 if (PyErr_Occurred()) SWIG_fail;
21839 }
15afbcd0 21840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
21841 return resultobj;
21842 fail:
21843 return NULL;
21844}
21845
21846
21847static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21848 PyObject *resultobj;
21849 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21850 wxTimeSpan *arg2 = 0 ;
21851 wxTimeSpan result;
21852 PyObject * obj0 = 0 ;
21853 PyObject * obj1 = 0 ;
21854 char *kwnames[] = {
21855 (char *) "self",(char *) "other", NULL
21856 };
21857
21858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21861 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21862 SWIG_POINTER_EXCEPTION | 0)) == -1)
21863 SWIG_fail;
d14a1e28 21864 if (arg2 == NULL) {
15afbcd0
RD
21865 PyErr_SetString(PyExc_TypeError,"null reference");
21866 SWIG_fail;
d14a1e28
RD
21867 }
21868 {
21869 PyThreadState* __tstate = wxPyBeginAllowThreads();
21870 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
21871
21872 wxPyEndAllowThreads(__tstate);
21873 if (PyErr_Occurred()) SWIG_fail;
21874 }
21875 {
21876 wxTimeSpan * resultptr;
21877 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 21878 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21879 }
21880 return resultobj;
21881 fail:
21882 return NULL;
21883}
21884
21885
21886static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21887 PyObject *resultobj;
21888 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21889 wxTimeSpan *arg2 = 0 ;
21890 wxTimeSpan result;
21891 PyObject * obj0 = 0 ;
21892 PyObject * obj1 = 0 ;
21893 char *kwnames[] = {
21894 (char *) "self",(char *) "other", NULL
21895 };
21896
21897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21900 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21901 SWIG_POINTER_EXCEPTION | 0)) == -1)
21902 SWIG_fail;
d14a1e28 21903 if (arg2 == NULL) {
15afbcd0
RD
21904 PyErr_SetString(PyExc_TypeError,"null reference");
21905 SWIG_fail;
d14a1e28
RD
21906 }
21907 {
21908 PyThreadState* __tstate = wxPyBeginAllowThreads();
21909 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
21910
21911 wxPyEndAllowThreads(__tstate);
21912 if (PyErr_Occurred()) SWIG_fail;
21913 }
21914 {
21915 wxTimeSpan * resultptr;
21916 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 21917 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21918 }
21919 return resultobj;
21920 fail:
21921 return NULL;
21922}
21923
21924
21925static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21926 PyObject *resultobj;
21927 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21928 int arg2 ;
21929 wxTimeSpan result;
21930 PyObject * obj0 = 0 ;
994141e6 21931 PyObject * obj1 = 0 ;
d14a1e28
RD
21932 char *kwnames[] = {
21933 (char *) "self",(char *) "n", NULL
21934 };
21935
994141e6 21936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21939 arg2 = (int) SWIG_AsInt(obj1);
21940 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21941 {
21942 PyThreadState* __tstate = wxPyBeginAllowThreads();
21943 result = wxTimeSpan___mul__(arg1,arg2);
21944
21945 wxPyEndAllowThreads(__tstate);
21946 if (PyErr_Occurred()) SWIG_fail;
21947 }
21948 {
21949 wxTimeSpan * resultptr;
21950 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 21951 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21952 }
21953 return resultobj;
21954 fail:
21955 return NULL;
21956}
21957
21958
21959static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21960 PyObject *resultobj;
21961 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21962 int arg2 ;
21963 wxTimeSpan result;
21964 PyObject * obj0 = 0 ;
994141e6 21965 PyObject * obj1 = 0 ;
d14a1e28
RD
21966 char *kwnames[] = {
21967 (char *) "self",(char *) "n", NULL
21968 };
21969
994141e6 21970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21973 arg2 = (int) SWIG_AsInt(obj1);
21974 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21975 {
21976 PyThreadState* __tstate = wxPyBeginAllowThreads();
21977 result = wxTimeSpan___rmul__(arg1,arg2);
21978
21979 wxPyEndAllowThreads(__tstate);
21980 if (PyErr_Occurred()) SWIG_fail;
21981 }
21982 {
21983 wxTimeSpan * resultptr;
21984 resultptr = new wxTimeSpan((wxTimeSpan &) result);
15afbcd0 21985 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
21986 }
21987 return resultobj;
21988 fail:
21989 return NULL;
21990}
21991
21992
21993static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
21994 PyObject *resultobj;
21995 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22faec7d 21996 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
21997 bool result;
21998 PyObject * obj0 = 0 ;
21999 PyObject * obj1 = 0 ;
22000 char *kwnames[] = {
22001 (char *) "self",(char *) "other", NULL
22002 };
22003
22004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22007 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22009 {
22010 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 22011 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
22012
22013 wxPyEndAllowThreads(__tstate);
22014 if (PyErr_Occurred()) SWIG_fail;
22015 }
4f89f6a3
RD
22016 {
22017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22018 }
d14a1e28
RD
22019 return resultobj;
22020 fail:
22021 return NULL;
22022}
22023
22024
22025static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
22026 PyObject *resultobj;
22027 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22faec7d 22028 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
22029 bool result;
22030 PyObject * obj0 = 0 ;
22031 PyObject * obj1 = 0 ;
22032 char *kwnames[] = {
22033 (char *) "self",(char *) "other", NULL
22034 };
22035
22036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22039 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22041 {
22042 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 22043 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
22044
22045 wxPyEndAllowThreads(__tstate);
22046 if (PyErr_Occurred()) SWIG_fail;
22047 }
4f89f6a3
RD
22048 {
22049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22050 }
d14a1e28
RD
22051 return resultobj;
22052 fail:
22053 return NULL;
22054}
22055
22056
22057static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
22058 PyObject *resultobj;
22059 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22faec7d 22060 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
22061 bool result;
22062 PyObject * obj0 = 0 ;
22063 PyObject * obj1 = 0 ;
22064 char *kwnames[] = {
22065 (char *) "self",(char *) "other", NULL
22066 };
22067
22068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22071 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22073 {
22074 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 22075 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
22076
22077 wxPyEndAllowThreads(__tstate);
22078 if (PyErr_Occurred()) SWIG_fail;
22079 }
4f89f6a3
RD
22080 {
22081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22082 }
d14a1e28
RD
22083 return resultobj;
22084 fail:
22085 return NULL;
22086}
22087
22088
22089static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
22090 PyObject *resultobj;
22091 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22faec7d 22092 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
22093 bool result;
22094 PyObject * obj0 = 0 ;
22095 PyObject * obj1 = 0 ;
22096 char *kwnames[] = {
22097 (char *) "self",(char *) "other", NULL
22098 };
22099
22100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22105 {
22106 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 22107 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
22108
22109 wxPyEndAllowThreads(__tstate);
22110 if (PyErr_Occurred()) SWIG_fail;
22111 }
4f89f6a3
RD
22112 {
22113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22114 }
d14a1e28
RD
22115 return resultobj;
22116 fail:
22117 return NULL;
22118}
22119
22120
22121static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
22122 PyObject *resultobj;
22123 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22faec7d 22124 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
22125 bool result;
22126 PyObject * obj0 = 0 ;
22127 PyObject * obj1 = 0 ;
22128 char *kwnames[] = {
22129 (char *) "self",(char *) "other", NULL
22130 };
22131
22132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22135 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22137 {
22138 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 22139 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
22140
22141 wxPyEndAllowThreads(__tstate);
22142 if (PyErr_Occurred()) SWIG_fail;
22143 }
4f89f6a3
RD
22144 {
22145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22146 }
d14a1e28
RD
22147 return resultobj;
22148 fail:
22149 return NULL;
22150}
22151
22152
22153static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
22154 PyObject *resultobj;
22155 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22faec7d 22156 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
22157 bool result;
22158 PyObject * obj0 = 0 ;
22159 PyObject * obj1 = 0 ;
22160 char *kwnames[] = {
22161 (char *) "self",(char *) "other", NULL
22162 };
22163
22164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22167 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22169 {
22170 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 22171 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
22172
22173 wxPyEndAllowThreads(__tstate);
22174 if (PyErr_Occurred()) SWIG_fail;
22175 }
4f89f6a3
RD
22176 {
22177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22178 }
d14a1e28
RD
22179 return resultobj;
22180 fail:
22181 return NULL;
22182}
22183
22184
22185static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
22186 PyObject *resultobj;
22187 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22188 bool result;
22189 PyObject * obj0 = 0 ;
22190 char *kwnames[] = {
22191 (char *) "self", NULL
22192 };
22193
22194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
15afbcd0
RD
22195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22197 {
22198 PyThreadState* __tstate = wxPyBeginAllowThreads();
22199 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
22200
22201 wxPyEndAllowThreads(__tstate);
22202 if (PyErr_Occurred()) SWIG_fail;
22203 }
4f89f6a3
RD
22204 {
22205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22206 }
d14a1e28
RD
22207 return resultobj;
22208 fail:
22209 return NULL;
22210}
22211
22212
22213static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
22214 PyObject *resultobj;
22215 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22216 bool result;
22217 PyObject * obj0 = 0 ;
22218 char *kwnames[] = {
22219 (char *) "self", NULL
22220 };
22221
22222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
15afbcd0
RD
22223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22225 {
22226 PyThreadState* __tstate = wxPyBeginAllowThreads();
22227 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
22228
22229 wxPyEndAllowThreads(__tstate);
22230 if (PyErr_Occurred()) SWIG_fail;
22231 }
4f89f6a3
RD
22232 {
22233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22234 }
d14a1e28
RD
22235 return resultobj;
22236 fail:
22237 return NULL;
22238}
22239
22240
22241static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
22242 PyObject *resultobj;
22243 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22244 bool result;
22245 PyObject * obj0 = 0 ;
22246 char *kwnames[] = {
22247 (char *) "self", NULL
22248 };
22249
22250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
15afbcd0
RD
22251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22253 {
22254 PyThreadState* __tstate = wxPyBeginAllowThreads();
22255 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
22256
22257 wxPyEndAllowThreads(__tstate);
22258 if (PyErr_Occurred()) SWIG_fail;
22259 }
4f89f6a3
RD
22260 {
22261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22262 }
d14a1e28
RD
22263 return resultobj;
22264 fail:
22265 return NULL;
22266}
22267
22268
22269static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22270 PyObject *resultobj;
22271 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22272 wxTimeSpan *arg2 = 0 ;
22273 bool result;
22274 PyObject * obj0 = 0 ;
22275 PyObject * obj1 = 0 ;
22276 char *kwnames[] = {
22277 (char *) "self",(char *) "ts", NULL
22278 };
22279
22280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22283 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22284 SWIG_POINTER_EXCEPTION | 0)) == -1)
22285 SWIG_fail;
d14a1e28 22286 if (arg2 == NULL) {
15afbcd0
RD
22287 PyErr_SetString(PyExc_TypeError,"null reference");
22288 SWIG_fail;
d14a1e28
RD
22289 }
22290 {
22291 PyThreadState* __tstate = wxPyBeginAllowThreads();
22292 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
22293
22294 wxPyEndAllowThreads(__tstate);
22295 if (PyErr_Occurred()) SWIG_fail;
22296 }
4f89f6a3
RD
22297 {
22298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22299 }
d14a1e28
RD
22300 return resultobj;
22301 fail:
22302 return NULL;
22303}
22304
22305
22306static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
22307 PyObject *resultobj;
22308 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22309 wxTimeSpan *arg2 = 0 ;
22310 bool result;
22311 PyObject * obj0 = 0 ;
22312 PyObject * obj1 = 0 ;
22313 char *kwnames[] = {
22314 (char *) "self",(char *) "ts", NULL
22315 };
22316
22317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22320 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22321 SWIG_POINTER_EXCEPTION | 0)) == -1)
22322 SWIG_fail;
d14a1e28 22323 if (arg2 == NULL) {
15afbcd0
RD
22324 PyErr_SetString(PyExc_TypeError,"null reference");
22325 SWIG_fail;
d14a1e28
RD
22326 }
22327 {
22328 PyThreadState* __tstate = wxPyBeginAllowThreads();
22329 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
22330
22331 wxPyEndAllowThreads(__tstate);
22332 if (PyErr_Occurred()) SWIG_fail;
22333 }
4f89f6a3
RD
22334 {
22335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22336 }
d14a1e28
RD
22337 return resultobj;
22338 fail:
22339 return NULL;
22340}
22341
22342
22343static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
22344 PyObject *resultobj;
22345 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22346 wxTimeSpan *arg2 = 0 ;
22347 bool result;
22348 PyObject * obj0 = 0 ;
22349 PyObject * obj1 = 0 ;
22350 char *kwnames[] = {
22351 (char *) "self",(char *) "t", NULL
22352 };
22353
22354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22357 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22358 SWIG_POINTER_EXCEPTION | 0)) == -1)
22359 SWIG_fail;
d14a1e28 22360 if (arg2 == NULL) {
15afbcd0
RD
22361 PyErr_SetString(PyExc_TypeError,"null reference");
22362 SWIG_fail;
d14a1e28
RD
22363 }
22364 {
22365 PyThreadState* __tstate = wxPyBeginAllowThreads();
22366 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
22367
22368 wxPyEndAllowThreads(__tstate);
22369 if (PyErr_Occurred()) SWIG_fail;
22370 }
4f89f6a3
RD
22371 {
22372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22373 }
d14a1e28
RD
22374 return resultobj;
22375 fail:
22376 return NULL;
22377}
22378
22379
22380static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22381 PyObject *resultobj;
22382 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22383 int result;
22384 PyObject * obj0 = 0 ;
22385 char *kwnames[] = {
22386 (char *) "self", NULL
22387 };
22388
22389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
15afbcd0
RD
22390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22392 {
22393 PyThreadState* __tstate = wxPyBeginAllowThreads();
22394 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
22395
22396 wxPyEndAllowThreads(__tstate);
22397 if (PyErr_Occurred()) SWIG_fail;
22398 }
15afbcd0 22399 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22400 return resultobj;
22401 fail:
22402 return NULL;
22403}
22404
22405
22406static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22407 PyObject *resultobj;
22408 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22409 int result;
22410 PyObject * obj0 = 0 ;
22411 char *kwnames[] = {
22412 (char *) "self", NULL
22413 };
22414
22415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
15afbcd0
RD
22416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22418 {
22419 PyThreadState* __tstate = wxPyBeginAllowThreads();
22420 result = (int)((wxTimeSpan const *)arg1)->GetDays();
22421
22422 wxPyEndAllowThreads(__tstate);
22423 if (PyErr_Occurred()) SWIG_fail;
22424 }
15afbcd0 22425 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22426 return resultobj;
22427 fail:
22428 return NULL;
22429}
22430
22431
22432static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
22433 PyObject *resultobj;
22434 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22435 int result;
22436 PyObject * obj0 = 0 ;
22437 char *kwnames[] = {
22438 (char *) "self", NULL
22439 };
22440
22441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
15afbcd0
RD
22442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22444 {
22445 PyThreadState* __tstate = wxPyBeginAllowThreads();
22446 result = (int)((wxTimeSpan const *)arg1)->GetHours();
22447
22448 wxPyEndAllowThreads(__tstate);
22449 if (PyErr_Occurred()) SWIG_fail;
22450 }
15afbcd0 22451 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22452 return resultobj;
22453 fail:
22454 return NULL;
22455}
22456
22457
22458static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
22459 PyObject *resultobj;
22460 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22461 int result;
22462 PyObject * obj0 = 0 ;
22463 char *kwnames[] = {
22464 (char *) "self", NULL
22465 };
22466
22467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
15afbcd0
RD
22468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22470 {
22471 PyThreadState* __tstate = wxPyBeginAllowThreads();
22472 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
22473
22474 wxPyEndAllowThreads(__tstate);
22475 if (PyErr_Occurred()) SWIG_fail;
22476 }
15afbcd0 22477 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22478 return resultobj;
22479 fail:
22480 return NULL;
22481}
22482
22483
22484static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22485 PyObject *resultobj;
22486 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22487 wxLongLong result;
22488 PyObject * obj0 = 0 ;
22489 char *kwnames[] = {
22490 (char *) "self", NULL
22491 };
22492
22493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
15afbcd0
RD
22494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22496 {
22497 PyThreadState* __tstate = wxPyBeginAllowThreads();
22498 result = ((wxTimeSpan const *)arg1)->GetSeconds();
22499
22500 wxPyEndAllowThreads(__tstate);
22501 if (PyErr_Occurred()) SWIG_fail;
22502 }
22503 {
22504 PyObject *hi, *lo, *shifter, *shifted;
22505 hi = PyLong_FromLong( (&result)->GetHi() );
22506 lo = PyLong_FromLong( (&result)->GetLo() );
22507 shifter = PyLong_FromLong(32);
22508 shifted = PyNumber_Lshift(hi, shifter);
22509 resultobj = PyNumber_Or(shifted, lo);
22510 Py_DECREF(hi);
22511 Py_DECREF(lo);
22512 Py_DECREF(shifter);
22513 Py_DECREF(shifted);
22514 }
22515 return resultobj;
22516 fail:
22517 return NULL;
22518}
22519
22520
22521static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22522 PyObject *resultobj;
22523 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22524 wxLongLong result;
22525 PyObject * obj0 = 0 ;
22526 char *kwnames[] = {
22527 (char *) "self", NULL
22528 };
22529
22530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
15afbcd0
RD
22531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22533 {
22534 PyThreadState* __tstate = wxPyBeginAllowThreads();
22535 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
22536
22537 wxPyEndAllowThreads(__tstate);
22538 if (PyErr_Occurred()) SWIG_fail;
22539 }
22540 {
22541 PyObject *hi, *lo, *shifter, *shifted;
22542 hi = PyLong_FromLong( (&result)->GetHi() );
22543 lo = PyLong_FromLong( (&result)->GetLo() );
22544 shifter = PyLong_FromLong(32);
22545 shifted = PyNumber_Lshift(hi, shifter);
22546 resultobj = PyNumber_Or(shifted, lo);
22547 Py_DECREF(hi);
22548 Py_DECREF(lo);
22549 Py_DECREF(shifter);
22550 Py_DECREF(shifted);
22551 }
22552 return resultobj;
22553 fail:
22554 return NULL;
22555}
22556
22557
22558static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
22559 PyObject *resultobj;
22560 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22561 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
22562 wxString *arg2 = (wxString *) &arg2_defvalue ;
22563 wxString result;
e811c8ce 22564 bool temp2 = False ;
d14a1e28
RD
22565 PyObject * obj0 = 0 ;
22566 PyObject * obj1 = 0 ;
22567 char *kwnames[] = {
22568 (char *) "self",(char *) "format", NULL
22569 };
22570
22571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22574 if (obj1) {
22575 {
22576 arg2 = wxString_in_helper(obj1);
22577 if (arg2 == NULL) SWIG_fail;
e811c8ce 22578 temp2 = True;
d14a1e28
RD
22579 }
22580 }
22581 {
22582 PyThreadState* __tstate = wxPyBeginAllowThreads();
22583 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
22584
22585 wxPyEndAllowThreads(__tstate);
22586 if (PyErr_Occurred()) SWIG_fail;
22587 }
22588 {
22589#if wxUSE_UNICODE
22590 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22591#else
22592 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22593#endif
22594 }
22595 {
22596 if (temp2)
22597 delete arg2;
22598 }
22599 return resultobj;
22600 fail:
22601 {
22602 if (temp2)
22603 delete arg2;
22604 }
22605 return NULL;
22606}
22607
22608
22609static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
22610 PyObject *obj;
22611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22612 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
22613 Py_INCREF(obj);
22614 return Py_BuildValue((char *)"");
22615}
22616static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22617 PyObject *resultobj;
22618 int arg1 = (int) 0 ;
22619 int arg2 = (int) 0 ;
22620 int arg3 = (int) 0 ;
22621 int arg4 = (int) 0 ;
22622 wxDateSpan *result;
994141e6
RD
22623 PyObject * obj0 = 0 ;
22624 PyObject * obj1 = 0 ;
22625 PyObject * obj2 = 0 ;
22626 PyObject * obj3 = 0 ;
d14a1e28
RD
22627 char *kwnames[] = {
22628 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22629 };
22630
994141e6
RD
22631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22632 if (obj0) {
15afbcd0
RD
22633 arg1 = (int) SWIG_AsInt(obj0);
22634 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
22635 }
22636 if (obj1) {
15afbcd0
RD
22637 arg2 = (int) SWIG_AsInt(obj1);
22638 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
22639 }
22640 if (obj2) {
15afbcd0
RD
22641 arg3 = (int) SWIG_AsInt(obj2);
22642 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
22643 }
22644 if (obj3) {
15afbcd0
RD
22645 arg4 = (int) SWIG_AsInt(obj3);
22646 if (PyErr_Occurred()) SWIG_fail;
994141e6 22647 }
d14a1e28
RD
22648 {
22649 PyThreadState* __tstate = wxPyBeginAllowThreads();
22650 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
22651
22652 wxPyEndAllowThreads(__tstate);
22653 if (PyErr_Occurred()) SWIG_fail;
22654 }
15afbcd0 22655 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22656 return resultobj;
22657 fail:
22658 return NULL;
22659}
22660
22661
22662static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22663 PyObject *resultobj;
22664 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22665 PyObject * obj0 = 0 ;
22666 char *kwnames[] = {
22667 (char *) "self", NULL
22668 };
22669
22670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
15afbcd0
RD
22671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22673 {
22674 PyThreadState* __tstate = wxPyBeginAllowThreads();
22675 delete arg1;
22676
22677 wxPyEndAllowThreads(__tstate);
22678 if (PyErr_Occurred()) SWIG_fail;
22679 }
22680 Py_INCREF(Py_None); resultobj = Py_None;
22681 return resultobj;
22682 fail:
22683 return NULL;
22684}
22685
22686
22687static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
22688 PyObject *resultobj;
22689 int arg1 ;
22690 wxDateSpan result;
994141e6 22691 PyObject * obj0 = 0 ;
d14a1e28
RD
22692 char *kwnames[] = {
22693 (char *) "days", NULL
22694 };
22695
994141e6 22696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
15afbcd0
RD
22697 arg1 = (int) SWIG_AsInt(obj0);
22698 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22699 {
22700 PyThreadState* __tstate = wxPyBeginAllowThreads();
22701 result = wxDateSpan::Days(arg1);
22702
22703 wxPyEndAllowThreads(__tstate);
22704 if (PyErr_Occurred()) SWIG_fail;
22705 }
22706 {
22707 wxDateSpan * resultptr;
22708 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 22709 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22710 }
22711 return resultobj;
22712 fail:
22713 return NULL;
22714}
22715
22716
22717static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
22718 PyObject *resultobj;
22719 wxDateSpan result;
22720 char *kwnames[] = {
22721 NULL
22722 };
22723
22724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
22725 {
22726 PyThreadState* __tstate = wxPyBeginAllowThreads();
22727 result = wxDateSpan::Day();
22728
22729 wxPyEndAllowThreads(__tstate);
22730 if (PyErr_Occurred()) SWIG_fail;
22731 }
22732 {
22733 wxDateSpan * resultptr;
22734 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 22735 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22736 }
22737 return resultobj;
22738 fail:
22739 return NULL;
22740}
22741
22742
22743static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22744 PyObject *resultobj;
22745 int arg1 ;
22746 wxDateSpan result;
994141e6 22747 PyObject * obj0 = 0 ;
d14a1e28
RD
22748 char *kwnames[] = {
22749 (char *) "weeks", NULL
22750 };
22751
994141e6 22752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
15afbcd0
RD
22753 arg1 = (int) SWIG_AsInt(obj0);
22754 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22755 {
22756 PyThreadState* __tstate = wxPyBeginAllowThreads();
22757 result = wxDateSpan::Weeks(arg1);
22758
22759 wxPyEndAllowThreads(__tstate);
22760 if (PyErr_Occurred()) SWIG_fail;
22761 }
22762 {
22763 wxDateSpan * resultptr;
22764 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 22765 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22766 }
22767 return resultobj;
22768 fail:
22769 return NULL;
22770}
22771
22772
22773static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
22774 PyObject *resultobj;
22775 wxDateSpan result;
22776 char *kwnames[] = {
22777 NULL
22778 };
22779
22780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
22781 {
22782 PyThreadState* __tstate = wxPyBeginAllowThreads();
22783 result = wxDateSpan::Week();
22784
22785 wxPyEndAllowThreads(__tstate);
22786 if (PyErr_Occurred()) SWIG_fail;
22787 }
22788 {
22789 wxDateSpan * resultptr;
22790 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 22791 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22792 }
22793 return resultobj;
22794 fail:
22795 return NULL;
22796}
22797
22798
22799static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
22800 PyObject *resultobj;
22801 int arg1 ;
22802 wxDateSpan result;
994141e6 22803 PyObject * obj0 = 0 ;
d14a1e28
RD
22804 char *kwnames[] = {
22805 (char *) "mon", NULL
22806 };
22807
994141e6 22808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
15afbcd0
RD
22809 arg1 = (int) SWIG_AsInt(obj0);
22810 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22811 {
22812 PyThreadState* __tstate = wxPyBeginAllowThreads();
22813 result = wxDateSpan::Months(arg1);
22814
22815 wxPyEndAllowThreads(__tstate);
22816 if (PyErr_Occurred()) SWIG_fail;
22817 }
22818 {
22819 wxDateSpan * resultptr;
22820 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 22821 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22822 }
22823 return resultobj;
22824 fail:
22825 return NULL;
22826}
22827
22828
22829static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
22830 PyObject *resultobj;
22831 wxDateSpan result;
22832 char *kwnames[] = {
22833 NULL
22834 };
22835
22836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
22837 {
22838 PyThreadState* __tstate = wxPyBeginAllowThreads();
22839 result = wxDateSpan::Month();
22840
22841 wxPyEndAllowThreads(__tstate);
22842 if (PyErr_Occurred()) SWIG_fail;
22843 }
22844 {
22845 wxDateSpan * resultptr;
22846 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 22847 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22848 }
22849 return resultobj;
22850 fail:
22851 return NULL;
22852}
22853
22854
22855static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
22856 PyObject *resultobj;
22857 int arg1 ;
22858 wxDateSpan result;
994141e6 22859 PyObject * obj0 = 0 ;
d14a1e28
RD
22860 char *kwnames[] = {
22861 (char *) "years", NULL
22862 };
22863
994141e6 22864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
15afbcd0
RD
22865 arg1 = (int) SWIG_AsInt(obj0);
22866 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22867 {
22868 PyThreadState* __tstate = wxPyBeginAllowThreads();
22869 result = wxDateSpan::Years(arg1);
22870
22871 wxPyEndAllowThreads(__tstate);
22872 if (PyErr_Occurred()) SWIG_fail;
22873 }
22874 {
22875 wxDateSpan * resultptr;
22876 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 22877 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22878 }
22879 return resultobj;
22880 fail:
22881 return NULL;
22882}
22883
22884
22885static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
22886 PyObject *resultobj;
22887 wxDateSpan result;
22888 char *kwnames[] = {
22889 NULL
22890 };
22891
22892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
22893 {
22894 PyThreadState* __tstate = wxPyBeginAllowThreads();
22895 result = wxDateSpan::Year();
22896
22897 wxPyEndAllowThreads(__tstate);
22898 if (PyErr_Occurred()) SWIG_fail;
22899 }
22900 {
22901 wxDateSpan * resultptr;
22902 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 22903 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
22904 }
22905 return resultobj;
22906 fail:
22907 return NULL;
22908}
22909
22910
22911static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
22912 PyObject *resultobj;
22913 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22914 int arg2 ;
22915 wxDateSpan *result;
22916 PyObject * obj0 = 0 ;
994141e6 22917 PyObject * obj1 = 0 ;
d14a1e28
RD
22918 char *kwnames[] = {
22919 (char *) "self",(char *) "n", NULL
22920 };
22921
994141e6 22922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22925 arg2 = (int) SWIG_AsInt(obj1);
22926 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22927 {
22928 PyThreadState* __tstate = wxPyBeginAllowThreads();
22929 {
22930 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
22931 result = (wxDateSpan *) &_result_ref;
22932 }
22933
22934 wxPyEndAllowThreads(__tstate);
22935 if (PyErr_Occurred()) SWIG_fail;
22936 }
15afbcd0 22937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
22938 return resultobj;
22939 fail:
22940 return NULL;
22941}
22942
22943
22944static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
22945 PyObject *resultobj;
22946 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22947 int arg2 ;
22948 wxDateSpan *result;
22949 PyObject * obj0 = 0 ;
994141e6 22950 PyObject * obj1 = 0 ;
d14a1e28
RD
22951 char *kwnames[] = {
22952 (char *) "self",(char *) "n", NULL
22953 };
22954
994141e6 22955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22958 arg2 = (int) SWIG_AsInt(obj1);
22959 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22960 {
22961 PyThreadState* __tstate = wxPyBeginAllowThreads();
22962 {
22963 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
22964 result = (wxDateSpan *) &_result_ref;
22965 }
22966
22967 wxPyEndAllowThreads(__tstate);
22968 if (PyErr_Occurred()) SWIG_fail;
22969 }
15afbcd0 22970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
22971 return resultobj;
22972 fail:
22973 return NULL;
22974}
22975
22976
22977static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22978 PyObject *resultobj;
22979 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22980 int arg2 ;
22981 wxDateSpan *result;
22982 PyObject * obj0 = 0 ;
994141e6 22983 PyObject * obj1 = 0 ;
d14a1e28
RD
22984 char *kwnames[] = {
22985 (char *) "self",(char *) "n", NULL
22986 };
22987
994141e6 22988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22991 arg2 = (int) SWIG_AsInt(obj1);
22992 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22993 {
22994 PyThreadState* __tstate = wxPyBeginAllowThreads();
22995 {
22996 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
22997 result = (wxDateSpan *) &_result_ref;
22998 }
22999
23000 wxPyEndAllowThreads(__tstate);
23001 if (PyErr_Occurred()) SWIG_fail;
23002 }
15afbcd0 23003 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23004 return resultobj;
23005 fail:
23006 return NULL;
23007}
23008
23009
23010static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23011 PyObject *resultobj;
23012 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23013 int arg2 ;
23014 wxDateSpan *result;
23015 PyObject * obj0 = 0 ;
994141e6 23016 PyObject * obj1 = 0 ;
d14a1e28
RD
23017 char *kwnames[] = {
23018 (char *) "self",(char *) "n", NULL
23019 };
23020
994141e6 23021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23024 arg2 = (int) SWIG_AsInt(obj1);
23025 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23026 {
23027 PyThreadState* __tstate = wxPyBeginAllowThreads();
23028 {
23029 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
23030 result = (wxDateSpan *) &_result_ref;
23031 }
23032
23033 wxPyEndAllowThreads(__tstate);
23034 if (PyErr_Occurred()) SWIG_fail;
23035 }
15afbcd0 23036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23037 return resultobj;
23038 fail:
23039 return NULL;
23040}
23041
23042
23043static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
23044 PyObject *resultobj;
23045 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23046 int result;
23047 PyObject * obj0 = 0 ;
23048 char *kwnames[] = {
23049 (char *) "self", NULL
23050 };
23051
23052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
15afbcd0
RD
23053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23055 {
23056 PyThreadState* __tstate = wxPyBeginAllowThreads();
23057 result = (int)((wxDateSpan const *)arg1)->GetYears();
23058
23059 wxPyEndAllowThreads(__tstate);
23060 if (PyErr_Occurred()) SWIG_fail;
23061 }
15afbcd0 23062 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23063 return resultobj;
23064 fail:
23065 return NULL;
23066}
23067
23068
23069static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
23070 PyObject *resultobj;
23071 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23072 int result;
23073 PyObject * obj0 = 0 ;
23074 char *kwnames[] = {
23075 (char *) "self", NULL
23076 };
23077
23078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
15afbcd0
RD
23079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23081 {
23082 PyThreadState* __tstate = wxPyBeginAllowThreads();
23083 result = (int)((wxDateSpan const *)arg1)->GetMonths();
23084
23085 wxPyEndAllowThreads(__tstate);
23086 if (PyErr_Occurred()) SWIG_fail;
23087 }
15afbcd0 23088 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23089 return resultobj;
23090 fail:
23091 return NULL;
23092}
23093
23094
23095static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
23096 PyObject *resultobj;
23097 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23098 int result;
23099 PyObject * obj0 = 0 ;
23100 char *kwnames[] = {
23101 (char *) "self", NULL
23102 };
23103
23104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
15afbcd0
RD
23105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23107 {
23108 PyThreadState* __tstate = wxPyBeginAllowThreads();
23109 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
23110
23111 wxPyEndAllowThreads(__tstate);
23112 if (PyErr_Occurred()) SWIG_fail;
23113 }
15afbcd0 23114 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23115 return resultobj;
23116 fail:
23117 return NULL;
23118}
23119
23120
23121static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23122 PyObject *resultobj;
23123 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23124 int result;
23125 PyObject * obj0 = 0 ;
23126 char *kwnames[] = {
23127 (char *) "self", NULL
23128 };
23129
23130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
15afbcd0
RD
23131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23133 {
23134 PyThreadState* __tstate = wxPyBeginAllowThreads();
23135 result = (int)((wxDateSpan const *)arg1)->GetDays();
23136
23137 wxPyEndAllowThreads(__tstate);
23138 if (PyErr_Occurred()) SWIG_fail;
23139 }
15afbcd0 23140 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23141 return resultobj;
23142 fail:
23143 return NULL;
23144}
23145
23146
23147static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23148 PyObject *resultobj;
23149 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23150 int result;
23151 PyObject * obj0 = 0 ;
23152 char *kwnames[] = {
23153 (char *) "self", NULL
23154 };
23155
23156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
15afbcd0
RD
23157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23159 {
23160 PyThreadState* __tstate = wxPyBeginAllowThreads();
23161 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
23162
23163 wxPyEndAllowThreads(__tstate);
23164 if (PyErr_Occurred()) SWIG_fail;
23165 }
15afbcd0 23166 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23167 return resultobj;
23168 fail:
23169 return NULL;
23170}
23171
23172
23173static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
23174 PyObject *resultobj;
23175 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23176 wxDateSpan *arg2 = 0 ;
23177 wxDateSpan *result;
23178 PyObject * obj0 = 0 ;
23179 PyObject * obj1 = 0 ;
23180 char *kwnames[] = {
23181 (char *) "self",(char *) "other", NULL
23182 };
23183
23184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23187 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23188 SWIG_POINTER_EXCEPTION | 0)) == -1)
23189 SWIG_fail;
d14a1e28 23190 if (arg2 == NULL) {
15afbcd0
RD
23191 PyErr_SetString(PyExc_TypeError,"null reference");
23192 SWIG_fail;
d14a1e28
RD
23193 }
23194 {
23195 PyThreadState* __tstate = wxPyBeginAllowThreads();
23196 {
23197 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
23198 result = (wxDateSpan *) &_result_ref;
23199 }
23200
23201 wxPyEndAllowThreads(__tstate);
23202 if (PyErr_Occurred()) SWIG_fail;
23203 }
15afbcd0 23204 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23205 return resultobj;
23206 fail:
23207 return NULL;
23208}
23209
23210
23211static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
23212 PyObject *resultobj;
23213 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23214 wxDateSpan *arg2 = 0 ;
23215 wxDateSpan *result;
23216 PyObject * obj0 = 0 ;
23217 PyObject * obj1 = 0 ;
23218 char *kwnames[] = {
23219 (char *) "self",(char *) "other", NULL
23220 };
23221
23222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23225 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23226 SWIG_POINTER_EXCEPTION | 0)) == -1)
23227 SWIG_fail;
d14a1e28 23228 if (arg2 == NULL) {
15afbcd0
RD
23229 PyErr_SetString(PyExc_TypeError,"null reference");
23230 SWIG_fail;
d14a1e28
RD
23231 }
23232 {
23233 PyThreadState* __tstate = wxPyBeginAllowThreads();
23234 {
23235 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
23236 result = (wxDateSpan *) &_result_ref;
23237 }
23238
23239 wxPyEndAllowThreads(__tstate);
23240 if (PyErr_Occurred()) SWIG_fail;
23241 }
15afbcd0 23242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23243 return resultobj;
23244 fail:
23245 return NULL;
23246}
23247
23248
23249static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
23250 PyObject *resultobj;
23251 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23252 wxDateSpan *result;
23253 PyObject * obj0 = 0 ;
23254 char *kwnames[] = {
23255 (char *) "self", NULL
23256 };
23257
23258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
15afbcd0
RD
23259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23261 {
23262 PyThreadState* __tstate = wxPyBeginAllowThreads();
23263 {
23264 wxDateSpan &_result_ref = (arg1)->Neg();
23265 result = (wxDateSpan *) &_result_ref;
23266 }
23267
23268 wxPyEndAllowThreads(__tstate);
23269 if (PyErr_Occurred()) SWIG_fail;
23270 }
15afbcd0 23271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23272 return resultobj;
23273 fail:
23274 return NULL;
23275}
23276
23277
23278static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
23279 PyObject *resultobj;
23280 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23281 int arg2 ;
23282 wxDateSpan *result;
23283 PyObject * obj0 = 0 ;
994141e6 23284 PyObject * obj1 = 0 ;
d14a1e28
RD
23285 char *kwnames[] = {
23286 (char *) "self",(char *) "factor", NULL
23287 };
23288
994141e6 23289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23292 arg2 = (int) SWIG_AsInt(obj1);
23293 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23294 {
23295 PyThreadState* __tstate = wxPyBeginAllowThreads();
23296 {
23297 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
23298 result = (wxDateSpan *) &_result_ref;
23299 }
23300
23301 wxPyEndAllowThreads(__tstate);
23302 if (PyErr_Occurred()) SWIG_fail;
23303 }
15afbcd0 23304 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23305 return resultobj;
23306 fail:
23307 return NULL;
23308}
23309
23310
23311static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
23312 PyObject *resultobj;
23313 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23314 wxDateSpan *arg2 = 0 ;
23315 wxDateSpan *result;
23316 PyObject * obj0 = 0 ;
23317 PyObject * obj1 = 0 ;
23318 char *kwnames[] = {
23319 (char *) "self",(char *) "other", NULL
23320 };
23321
23322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23325 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23326 SWIG_POINTER_EXCEPTION | 0)) == -1)
23327 SWIG_fail;
d14a1e28 23328 if (arg2 == NULL) {
15afbcd0
RD
23329 PyErr_SetString(PyExc_TypeError,"null reference");
23330 SWIG_fail;
d14a1e28
RD
23331 }
23332 {
23333 PyThreadState* __tstate = wxPyBeginAllowThreads();
23334 {
23335 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
23336 result = (wxDateSpan *) &_result_ref;
23337 }
23338
23339 wxPyEndAllowThreads(__tstate);
23340 if (PyErr_Occurred()) SWIG_fail;
23341 }
15afbcd0 23342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23343 return resultobj;
23344 fail:
23345 return NULL;
23346}
23347
23348
23349static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23350 PyObject *resultobj;
23351 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23352 wxDateSpan *arg2 = 0 ;
23353 wxDateSpan *result;
23354 PyObject * obj0 = 0 ;
23355 PyObject * obj1 = 0 ;
23356 char *kwnames[] = {
23357 (char *) "self",(char *) "other", NULL
23358 };
23359
23360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23363 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23364 SWIG_POINTER_EXCEPTION | 0)) == -1)
23365 SWIG_fail;
d14a1e28 23366 if (arg2 == NULL) {
15afbcd0
RD
23367 PyErr_SetString(PyExc_TypeError,"null reference");
23368 SWIG_fail;
d14a1e28
RD
23369 }
23370 {
23371 PyThreadState* __tstate = wxPyBeginAllowThreads();
23372 {
23373 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
23374 result = (wxDateSpan *) &_result_ref;
23375 }
23376
23377 wxPyEndAllowThreads(__tstate);
23378 if (PyErr_Occurred()) SWIG_fail;
23379 }
15afbcd0 23380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23381 return resultobj;
23382 fail:
23383 return NULL;
23384}
23385
23386
23387static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
23388 PyObject *resultobj;
23389 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23390 wxDateSpan *result;
23391 PyObject * obj0 = 0 ;
23392 char *kwnames[] = {
23393 (char *) "self", NULL
23394 };
23395
23396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
15afbcd0
RD
23397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23399 {
23400 PyThreadState* __tstate = wxPyBeginAllowThreads();
23401 {
23402 wxDateSpan &_result_ref = (arg1)->operator -();
23403 result = (wxDateSpan *) &_result_ref;
23404 }
23405
23406 wxPyEndAllowThreads(__tstate);
23407 if (PyErr_Occurred()) SWIG_fail;
23408 }
15afbcd0 23409 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23410 return resultobj;
23411 fail:
23412 return NULL;
23413}
23414
23415
23416static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23417 PyObject *resultobj;
23418 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23419 int arg2 ;
23420 wxDateSpan *result;
23421 PyObject * obj0 = 0 ;
994141e6 23422 PyObject * obj1 = 0 ;
d14a1e28
RD
23423 char *kwnames[] = {
23424 (char *) "self",(char *) "factor", NULL
23425 };
23426
994141e6 23427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23430 arg2 = (int) SWIG_AsInt(obj1);
23431 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23432 {
23433 PyThreadState* __tstate = wxPyBeginAllowThreads();
23434 {
23435 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
23436 result = (wxDateSpan *) &_result_ref;
23437 }
23438
23439 wxPyEndAllowThreads(__tstate);
23440 if (PyErr_Occurred()) SWIG_fail;
23441 }
15afbcd0 23442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
23443 return resultobj;
23444 fail:
23445 return NULL;
23446}
23447
23448
23449static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
23450 PyObject *resultobj;
23451 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23452 wxDateSpan *arg2 = 0 ;
23453 wxDateSpan result;
23454 PyObject * obj0 = 0 ;
23455 PyObject * obj1 = 0 ;
23456 char *kwnames[] = {
23457 (char *) "self",(char *) "other", NULL
23458 };
23459
23460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23463 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23464 SWIG_POINTER_EXCEPTION | 0)) == -1)
23465 SWIG_fail;
d14a1e28 23466 if (arg2 == NULL) {
15afbcd0
RD
23467 PyErr_SetString(PyExc_TypeError,"null reference");
23468 SWIG_fail;
d14a1e28
RD
23469 }
23470 {
23471 PyThreadState* __tstate = wxPyBeginAllowThreads();
23472 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
23473
23474 wxPyEndAllowThreads(__tstate);
23475 if (PyErr_Occurred()) SWIG_fail;
23476 }
23477 {
23478 wxDateSpan * resultptr;
23479 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 23480 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23481 }
23482 return resultobj;
23483 fail:
23484 return NULL;
23485}
23486
23487
23488static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23489 PyObject *resultobj;
23490 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23491 wxDateSpan *arg2 = 0 ;
23492 wxDateSpan result;
23493 PyObject * obj0 = 0 ;
23494 PyObject * obj1 = 0 ;
23495 char *kwnames[] = {
23496 (char *) "self",(char *) "other", NULL
23497 };
23498
23499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23502 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23503 SWIG_POINTER_EXCEPTION | 0)) == -1)
23504 SWIG_fail;
d14a1e28 23505 if (arg2 == NULL) {
15afbcd0
RD
23506 PyErr_SetString(PyExc_TypeError,"null reference");
23507 SWIG_fail;
d14a1e28
RD
23508 }
23509 {
23510 PyThreadState* __tstate = wxPyBeginAllowThreads();
23511 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
23512
23513 wxPyEndAllowThreads(__tstate);
23514 if (PyErr_Occurred()) SWIG_fail;
23515 }
23516 {
23517 wxDateSpan * resultptr;
23518 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 23519 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23520 }
23521 return resultobj;
23522 fail:
23523 return NULL;
23524}
23525
23526
23527static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23528 PyObject *resultobj;
23529 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23530 int arg2 ;
23531 wxDateSpan result;
23532 PyObject * obj0 = 0 ;
994141e6 23533 PyObject * obj1 = 0 ;
d14a1e28
RD
23534 char *kwnames[] = {
23535 (char *) "self",(char *) "n", NULL
23536 };
23537
994141e6 23538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23541 arg2 = (int) SWIG_AsInt(obj1);
23542 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23543 {
23544 PyThreadState* __tstate = wxPyBeginAllowThreads();
23545 result = wxDateSpan___mul__(arg1,arg2);
23546
23547 wxPyEndAllowThreads(__tstate);
23548 if (PyErr_Occurred()) SWIG_fail;
23549 }
23550 {
23551 wxDateSpan * resultptr;
23552 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 23553 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23554 }
23555 return resultobj;
23556 fail:
23557 return NULL;
23558}
23559
23560
23561static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23562 PyObject *resultobj;
23563 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23564 int arg2 ;
23565 wxDateSpan result;
23566 PyObject * obj0 = 0 ;
994141e6 23567 PyObject * obj1 = 0 ;
d14a1e28
RD
23568 char *kwnames[] = {
23569 (char *) "self",(char *) "n", NULL
23570 };
23571
994141e6 23572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23575 arg2 = (int) SWIG_AsInt(obj1);
23576 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23577 {
23578 PyThreadState* __tstate = wxPyBeginAllowThreads();
23579 result = wxDateSpan___rmul__(arg1,arg2);
23580
23581 wxPyEndAllowThreads(__tstate);
23582 if (PyErr_Occurred()) SWIG_fail;
23583 }
23584 {
23585 wxDateSpan * resultptr;
23586 resultptr = new wxDateSpan((wxDateSpan &) result);
15afbcd0 23587 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
23588 }
23589 return resultobj;
23590 fail:
23591 return NULL;
23592}
23593
23594
23595static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23596 PyObject *resultobj;
23597 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22faec7d 23598 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
d14a1e28
RD
23599 bool result;
23600 PyObject * obj0 = 0 ;
23601 PyObject * obj1 = 0 ;
23602 char *kwnames[] = {
23603 (char *) "self",(char *) "other", NULL
23604 };
23605
23606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23609 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23611 {
23612 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 23613 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
d14a1e28
RD
23614
23615 wxPyEndAllowThreads(__tstate);
23616 if (PyErr_Occurred()) SWIG_fail;
23617 }
4f89f6a3
RD
23618 {
23619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23620 }
d14a1e28
RD
23621 return resultobj;
23622 fail:
23623 return NULL;
23624}
23625
23626
23627static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23628 PyObject *resultobj;
23629 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22faec7d 23630 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
d14a1e28
RD
23631 bool result;
23632 PyObject * obj0 = 0 ;
23633 PyObject * obj1 = 0 ;
23634 char *kwnames[] = {
23635 (char *) "self",(char *) "other", NULL
23636 };
23637
23638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23643 {
23644 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 23645 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
d14a1e28
RD
23646
23647 wxPyEndAllowThreads(__tstate);
23648 if (PyErr_Occurred()) SWIG_fail;
23649 }
4f89f6a3
RD
23650 {
23651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23652 }
d14a1e28
RD
23653 return resultobj;
23654 fail:
23655 return NULL;
23656}
23657
23658
23659static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
23660 PyObject *obj;
23661 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23662 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
23663 Py_INCREF(obj);
23664 return Py_BuildValue((char *)"");
23665}
23666static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23667 PyObject *resultobj;
23668 long result;
23669 char *kwnames[] = {
23670 NULL
23671 };
23672
23673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
23674 {
23675 PyThreadState* __tstate = wxPyBeginAllowThreads();
23676 result = (long)wxGetLocalTime();
23677
23678 wxPyEndAllowThreads(__tstate);
23679 if (PyErr_Occurred()) SWIG_fail;
23680 }
15afbcd0 23681 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23682 return resultobj;
23683 fail:
23684 return NULL;
23685}
23686
23687
23688static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23689 PyObject *resultobj;
23690 long result;
23691 char *kwnames[] = {
23692 NULL
23693 };
23694
23695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
23696 {
23697 PyThreadState* __tstate = wxPyBeginAllowThreads();
23698 result = (long)wxGetUTCTime();
23699
23700 wxPyEndAllowThreads(__tstate);
23701 if (PyErr_Occurred()) SWIG_fail;
23702 }
15afbcd0 23703 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23704 return resultobj;
23705 fail:
23706 return NULL;
23707}
23708
23709
23710static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23711 PyObject *resultobj;
23712 long result;
23713 char *kwnames[] = {
23714 NULL
23715 };
23716
23717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
23718 {
23719 PyThreadState* __tstate = wxPyBeginAllowThreads();
23720 result = (long)wxGetCurrentTime();
23721
23722 wxPyEndAllowThreads(__tstate);
23723 if (PyErr_Occurred()) SWIG_fail;
23724 }
15afbcd0 23725 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23726 return resultobj;
23727 fail:
23728 return NULL;
23729}
23730
23731
23732static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
23733 PyObject *resultobj;
23734 wxLongLong result;
23735 char *kwnames[] = {
23736 NULL
23737 };
23738
23739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
23740 {
23741 PyThreadState* __tstate = wxPyBeginAllowThreads();
23742 result = wxGetLocalTimeMillis();
23743
23744 wxPyEndAllowThreads(__tstate);
23745 if (PyErr_Occurred()) SWIG_fail;
23746 }
23747 {
23748 PyObject *hi, *lo, *shifter, *shifted;
23749 hi = PyLong_FromLong( (&result)->GetHi() );
23750 lo = PyLong_FromLong( (&result)->GetLo() );
23751 shifter = PyLong_FromLong(32);
23752 shifted = PyNumber_Lshift(hi, shifter);
23753 resultobj = PyNumber_Or(shifted, lo);
23754 Py_DECREF(hi);
23755 Py_DECREF(lo);
23756 Py_DECREF(shifter);
23757 Py_DECREF(shifted);
23758 }
23759 return resultobj;
23760 fail:
23761 return NULL;
23762}
23763
23764
98e665d3
RD
23765static int _wrap_DefaultDateTime_set(PyObject *_val) {
23766 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
23767 return 1;
23768}
23769
23770
23771static PyObject *_wrap_DefaultDateTime_get() {
23772 PyObject *pyobj;
23773
15afbcd0 23774 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
98e665d3
RD
23775 return pyobj;
23776}
23777
23778
d14a1e28
RD
23779static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23780 PyObject *resultobj;
23781 int arg1 ;
23782 wxDataFormat *result;
994141e6 23783 PyObject * obj0 = 0 ;
d14a1e28
RD
23784 char *kwnames[] = {
23785 (char *) "type", NULL
23786 };
23787
994141e6 23788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
15afbcd0
RD
23789 arg1 = (wxDataFormatId) SWIG_AsInt(obj0);
23790 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23791 {
23792 PyThreadState* __tstate = wxPyBeginAllowThreads();
23793 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
23794
23795 wxPyEndAllowThreads(__tstate);
23796 if (PyErr_Occurred()) SWIG_fail;
23797 }
15afbcd0 23798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
d14a1e28
RD
23799 return resultobj;
23800 fail:
23801 return NULL;
23802}
23803
23804
23805static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23806 PyObject *resultobj;
23807 wxString *arg1 = 0 ;
23808 wxDataFormat *result;
e811c8ce 23809 bool temp1 = False ;
d14a1e28
RD
23810 PyObject * obj0 = 0 ;
23811 char *kwnames[] = {
23812 (char *) "format", NULL
23813 };
23814
23815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
23816 {
23817 arg1 = wxString_in_helper(obj0);
23818 if (arg1 == NULL) SWIG_fail;
e811c8ce 23819 temp1 = True;
d14a1e28
RD
23820 }
23821 {
23822 PyThreadState* __tstate = wxPyBeginAllowThreads();
23823 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
23824
23825 wxPyEndAllowThreads(__tstate);
23826 if (PyErr_Occurred()) SWIG_fail;
23827 }
15afbcd0 23828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
d14a1e28
RD
23829 {
23830 if (temp1)
23831 delete arg1;
23832 }
23833 return resultobj;
23834 fail:
23835 {
23836 if (temp1)
23837 delete arg1;
23838 }
23839 return NULL;
23840}
23841
23842
23843static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23844 PyObject *resultobj;
23845 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23846 PyObject * obj0 = 0 ;
23847 char *kwnames[] = {
23848 (char *) "self", NULL
23849 };
23850
23851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
15afbcd0
RD
23852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23854 {
23855 PyThreadState* __tstate = wxPyBeginAllowThreads();
23856 delete arg1;
23857
23858 wxPyEndAllowThreads(__tstate);
23859 if (PyErr_Occurred()) SWIG_fail;
23860 }
23861 Py_INCREF(Py_None); resultobj = Py_None;
23862 return resultobj;
23863 fail:
23864 return NULL;
23865}
23866
23867
23868static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
23869 PyObject *resultobj;
23870 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23871 int arg2 ;
23872 bool result;
23873 PyObject * obj0 = 0 ;
994141e6 23874 PyObject * obj1 = 0 ;
d14a1e28 23875
994141e6 23876 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
15afbcd0
RD
23877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23879 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
23880 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23881 {
23882 PyThreadState* __tstate = wxPyBeginAllowThreads();
db914595 23883 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
d14a1e28
RD
23884
23885 wxPyEndAllowThreads(__tstate);
23886 if (PyErr_Occurred()) SWIG_fail;
23887 }
4f89f6a3
RD
23888 {
23889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23890 }
d14a1e28
RD
23891 return resultobj;
23892 fail:
23893 return NULL;
23894}
23895
23896
23897static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
23898 PyObject *resultobj;
23899 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23900 int arg2 ;
23901 bool result;
23902 PyObject * obj0 = 0 ;
994141e6 23903 PyObject * obj1 = 0 ;
d14a1e28 23904
994141e6 23905 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
15afbcd0
RD
23906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23908 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
23909 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23910 {
23911 PyThreadState* __tstate = wxPyBeginAllowThreads();
db914595 23912 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
d14a1e28
RD
23913
23914 wxPyEndAllowThreads(__tstate);
23915 if (PyErr_Occurred()) SWIG_fail;
23916 }
4f89f6a3
RD
23917 {
23918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23919 }
d14a1e28
RD
23920 return resultobj;
23921 fail:
23922 return NULL;
23923}
23924
23925
23926static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
23927 PyObject *resultobj;
23928 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23929 wxDataFormat *arg2 = 0 ;
23930 bool result;
23931 PyObject * obj0 = 0 ;
23932 PyObject * obj1 = 0 ;
23933
23934 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
15afbcd0
RD
23935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23937 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
23938 SWIG_POINTER_EXCEPTION | 0)) == -1)
23939 SWIG_fail;
d14a1e28 23940 if (arg2 == NULL) {
15afbcd0
RD
23941 PyErr_SetString(PyExc_TypeError,"null reference");
23942 SWIG_fail;
d14a1e28
RD
23943 }
23944 {
23945 PyThreadState* __tstate = wxPyBeginAllowThreads();
23946 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
23947
23948 wxPyEndAllowThreads(__tstate);
23949 if (PyErr_Occurred()) SWIG_fail;
23950 }
4f89f6a3
RD
23951 {
23952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23953 }
d14a1e28
RD
23954 return resultobj;
23955 fail:
23956 return NULL;
23957}
23958
23959
23960static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
23961 int argc;
23962 PyObject *argv[3];
23963 int ii;
23964
23965 argc = PyObject_Length(args);
23966 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23967 argv[ii] = PyTuple_GetItem(args,ii);
23968 }
23969 if (argc == 2) {
23970 int _v;
23971 {
23972 void *ptr;
15afbcd0 23973 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
23974 _v = 0;
23975 PyErr_Clear();
23976 } else {
23977 _v = 1;
23978 }
23979 }
23980 if (_v) {
23981 {
23982 void *ptr;
15afbcd0 23983 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
23984 _v = 0;
23985 PyErr_Clear();
23986 } else {
23987 _v = 1;
23988 }
23989 }
23990 if (_v) {
23991 return _wrap_DataFormat___eq____SWIG_1(self,args);
23992 }
23993 }
23994 }
23995 if (argc == 2) {
23996 int _v;
23997 {
23998 void *ptr;
15afbcd0 23999 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
24000 _v = 0;
24001 PyErr_Clear();
24002 } else {
24003 _v = 1;
24004 }
24005 }
24006 if (_v) {
15afbcd0 24007 _v = SWIG_CheckInt(argv[1]);
d14a1e28
RD
24008 if (_v) {
24009 return _wrap_DataFormat___eq____SWIG_0(self,args);
24010 }
24011 }
24012 }
24013
24014 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
24015 return NULL;
24016}
24017
24018
24019static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
24020 PyObject *resultobj;
24021 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24022 wxDataFormat *arg2 = 0 ;
24023 bool result;
24024 PyObject * obj0 = 0 ;
24025 PyObject * obj1 = 0 ;
24026
24027 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
15afbcd0
RD
24028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24030 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24031 SWIG_POINTER_EXCEPTION | 0)) == -1)
24032 SWIG_fail;
d14a1e28 24033 if (arg2 == NULL) {
15afbcd0
RD
24034 PyErr_SetString(PyExc_TypeError,"null reference");
24035 SWIG_fail;
d14a1e28
RD
24036 }
24037 {
24038 PyThreadState* __tstate = wxPyBeginAllowThreads();
24039 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
24040
24041 wxPyEndAllowThreads(__tstate);
24042 if (PyErr_Occurred()) SWIG_fail;
24043 }
4f89f6a3
RD
24044 {
24045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24046 }
d14a1e28
RD
24047 return resultobj;
24048 fail:
24049 return NULL;
24050}
24051
24052
24053static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
24054 int argc;
24055 PyObject *argv[3];
24056 int ii;
24057
24058 argc = PyObject_Length(args);
24059 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24060 argv[ii] = PyTuple_GetItem(args,ii);
24061 }
24062 if (argc == 2) {
24063 int _v;
24064 {
24065 void *ptr;
15afbcd0 24066 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
24067 _v = 0;
24068 PyErr_Clear();
24069 } else {
24070 _v = 1;
24071 }
24072 }
24073 if (_v) {
24074 {
24075 void *ptr;
15afbcd0 24076 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
24077 _v = 0;
24078 PyErr_Clear();
24079 } else {
24080 _v = 1;
24081 }
24082 }
24083 if (_v) {
24084 return _wrap_DataFormat___ne____SWIG_1(self,args);
24085 }
24086 }
24087 }
24088 if (argc == 2) {
24089 int _v;
24090 {
24091 void *ptr;
15afbcd0 24092 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
24093 _v = 0;
24094 PyErr_Clear();
24095 } else {
24096 _v = 1;
24097 }
24098 }
24099 if (_v) {
15afbcd0 24100 _v = SWIG_CheckInt(argv[1]);
d14a1e28
RD
24101 if (_v) {
24102 return _wrap_DataFormat___ne____SWIG_0(self,args);
24103 }
24104 }
24105 }
24106
24107 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
24108 return NULL;
24109}
24110
24111
24112static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24113 PyObject *resultobj;
24114 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24115 int arg2 ;
24116 PyObject * obj0 = 0 ;
994141e6 24117 PyObject * obj1 = 0 ;
d14a1e28
RD
24118 char *kwnames[] = {
24119 (char *) "self",(char *) "format", NULL
24120 };
24121
994141e6 24122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24125 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
24126 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24127 {
24128 PyThreadState* __tstate = wxPyBeginAllowThreads();
24129 (arg1)->SetType((wxDataFormatId )arg2);
24130
24131 wxPyEndAllowThreads(__tstate);
24132 if (PyErr_Occurred()) SWIG_fail;
24133 }
24134 Py_INCREF(Py_None); resultobj = Py_None;
24135 return resultobj;
24136 fail:
24137 return NULL;
24138}
24139
24140
24141static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24142 PyObject *resultobj;
24143 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24144 int result;
24145 PyObject * obj0 = 0 ;
24146 char *kwnames[] = {
24147 (char *) "self", NULL
24148 };
24149
24150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
15afbcd0
RD
24151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24153 {
24154 PyThreadState* __tstate = wxPyBeginAllowThreads();
24155 result = (int)((wxDataFormat const *)arg1)->GetType();
24156
24157 wxPyEndAllowThreads(__tstate);
24158 if (PyErr_Occurred()) SWIG_fail;
24159 }
15afbcd0 24160 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
24161 return resultobj;
24162 fail:
24163 return NULL;
24164}
24165
24166
24167static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24168 PyObject *resultobj;
24169 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24170 wxString result;
24171 PyObject * obj0 = 0 ;
24172 char *kwnames[] = {
24173 (char *) "self", NULL
24174 };
24175
24176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
24177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24179 {
24180 PyThreadState* __tstate = wxPyBeginAllowThreads();
24181 result = ((wxDataFormat const *)arg1)->GetId();
24182
24183 wxPyEndAllowThreads(__tstate);
24184 if (PyErr_Occurred()) SWIG_fail;
24185 }
24186 {
24187#if wxUSE_UNICODE
24188 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24189#else
24190 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24191#endif
24192 }
24193 return resultobj;
24194 fail:
24195 return NULL;
24196}
24197
24198
24199static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24200 PyObject *resultobj;
24201 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24202 wxString *arg2 = 0 ;
e811c8ce 24203 bool temp2 = False ;
d14a1e28
RD
24204 PyObject * obj0 = 0 ;
24205 PyObject * obj1 = 0 ;
24206 char *kwnames[] = {
24207 (char *) "self",(char *) "format", NULL
24208 };
24209
24210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24213 {
24214 arg2 = wxString_in_helper(obj1);
24215 if (arg2 == NULL) SWIG_fail;
e811c8ce 24216 temp2 = True;
d14a1e28
RD
24217 }
24218 {
24219 PyThreadState* __tstate = wxPyBeginAllowThreads();
24220 (arg1)->SetId((wxString const &)*arg2);
24221
24222 wxPyEndAllowThreads(__tstate);
24223 if (PyErr_Occurred()) SWIG_fail;
24224 }
24225 Py_INCREF(Py_None); resultobj = Py_None;
24226 {
24227 if (temp2)
24228 delete arg2;
24229 }
24230 return resultobj;
24231 fail:
24232 {
24233 if (temp2)
24234 delete arg2;
24235 }
24236 return NULL;
24237}
24238
24239
24240static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
24241 PyObject *obj;
24242 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24243 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
24244 Py_INCREF(obj);
24245 return Py_BuildValue((char *)"");
24246}
24247static int _wrap_FormatInvalid_set(PyObject *_val) {
24248 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
24249 return 1;
24250}
24251
24252
24253static PyObject *_wrap_FormatInvalid_get() {
24254 PyObject *pyobj;
24255
15afbcd0 24256 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
d14a1e28
RD
24257 return pyobj;
24258}
24259
24260
24261static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24262 PyObject *resultobj;
24263 wxDataObject *arg1 = (wxDataObject *) 0 ;
24264 PyObject * obj0 = 0 ;
24265 char *kwnames[] = {
24266 (char *) "self", NULL
24267 };
24268
24269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
15afbcd0
RD
24270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24272 {
24273 PyThreadState* __tstate = wxPyBeginAllowThreads();
24274 delete arg1;
24275
24276 wxPyEndAllowThreads(__tstate);
24277 if (PyErr_Occurred()) SWIG_fail;
24278 }
24279 Py_INCREF(Py_None); resultobj = Py_None;
24280 return resultobj;
24281 fail:
24282 return NULL;
24283}
24284
24285
24286static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24287 PyObject *resultobj;
24288 wxDataObject *arg1 = (wxDataObject *) 0 ;
24289 int arg2 = (int) wxDataObject::Get ;
24290 SwigValueWrapper< wxDataFormat > result;
24291 PyObject * obj0 = 0 ;
994141e6 24292 PyObject * obj1 = 0 ;
d14a1e28
RD
24293 char *kwnames[] = {
24294 (char *) "self",(char *) "dir", NULL
24295 };
24296
994141e6 24297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 24300 if (obj1) {
15afbcd0
RD
24301 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24302 if (PyErr_Occurred()) SWIG_fail;
994141e6 24303 }
d14a1e28
RD
24304 {
24305 PyThreadState* __tstate = wxPyBeginAllowThreads();
24306 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
24307
24308 wxPyEndAllowThreads(__tstate);
24309 if (PyErr_Occurred()) SWIG_fail;
24310 }
24311 {
24312 wxDataFormat * resultptr;
24313 resultptr = new wxDataFormat((wxDataFormat &) result);
15afbcd0 24314 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
d14a1e28
RD
24315 }
24316 return resultobj;
24317 fail:
24318 return NULL;
24319}
24320
24321
24322static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24323 PyObject *resultobj;
24324 wxDataObject *arg1 = (wxDataObject *) 0 ;
24325 int arg2 = (int) wxDataObject::Get ;
24326 size_t result;
24327 PyObject * obj0 = 0 ;
994141e6 24328 PyObject * obj1 = 0 ;
d14a1e28
RD
24329 char *kwnames[] = {
24330 (char *) "self",(char *) "dir", NULL
24331 };
24332
994141e6 24333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 24336 if (obj1) {
15afbcd0
RD
24337 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24338 if (PyErr_Occurred()) SWIG_fail;
994141e6 24339 }
d14a1e28
RD
24340 {
24341 PyThreadState* __tstate = wxPyBeginAllowThreads();
24342 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
24343
24344 wxPyEndAllowThreads(__tstate);
24345 if (PyErr_Occurred()) SWIG_fail;
24346 }
15afbcd0 24347 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
24348 return resultobj;
24349 fail:
24350 return NULL;
24351}
24352
24353
24354static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24355 PyObject *resultobj;
24356 wxDataObject *arg1 = (wxDataObject *) 0 ;
24357 wxDataFormat *arg2 = 0 ;
24358 int arg3 = (int) wxDataObject::Get ;
24359 bool result;
24360 PyObject * obj0 = 0 ;
24361 PyObject * obj1 = 0 ;
994141e6 24362 PyObject * obj2 = 0 ;
d14a1e28
RD
24363 char *kwnames[] = {
24364 (char *) "self",(char *) "format",(char *) "dir", NULL
24365 };
24366
994141e6 24367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24370 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24371 SWIG_POINTER_EXCEPTION | 0)) == -1)
24372 SWIG_fail;
d14a1e28 24373 if (arg2 == NULL) {
15afbcd0
RD
24374 PyErr_SetString(PyExc_TypeError,"null reference");
24375 SWIG_fail;
d14a1e28 24376 }
994141e6 24377 if (obj2) {
15afbcd0
RD
24378 arg3 = (wxDataObject::Direction) SWIG_AsInt(obj2);
24379 if (PyErr_Occurred()) SWIG_fail;
994141e6 24380 }
d14a1e28
RD
24381 {
24382 PyThreadState* __tstate = wxPyBeginAllowThreads();
24383 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
24384
24385 wxPyEndAllowThreads(__tstate);
24386 if (PyErr_Occurred()) SWIG_fail;
24387 }
4f89f6a3
RD
24388 {
24389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24390 }
d14a1e28
RD
24391 return resultobj;
24392 fail:
24393 return NULL;
24394}
24395
24396
24397static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24398 PyObject *resultobj;
24399 wxDataObject *arg1 = (wxDataObject *) 0 ;
24400 wxDataFormat *arg2 = 0 ;
24401 size_t result;
24402 PyObject * obj0 = 0 ;
24403 PyObject * obj1 = 0 ;
24404 char *kwnames[] = {
24405 (char *) "self",(char *) "format", NULL
24406 };
24407
24408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24411 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24412 SWIG_POINTER_EXCEPTION | 0)) == -1)
24413 SWIG_fail;
d14a1e28 24414 if (arg2 == NULL) {
15afbcd0
RD
24415 PyErr_SetString(PyExc_TypeError,"null reference");
24416 SWIG_fail;
d14a1e28
RD
24417 }
24418 {
24419 PyThreadState* __tstate = wxPyBeginAllowThreads();
24420 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
24421
24422 wxPyEndAllowThreads(__tstate);
24423 if (PyErr_Occurred()) SWIG_fail;
24424 }
15afbcd0 24425 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
24426 return resultobj;
24427 fail:
24428 return NULL;
24429}
24430
24431
24432static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
24433 PyObject *resultobj;
24434 wxDataObject *arg1 = (wxDataObject *) 0 ;
24435 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
24436 int arg3 = (int) wxDataObject::Get ;
24437 PyObject * obj0 = 0 ;
24438 PyObject * obj1 = 0 ;
994141e6 24439 PyObject * obj2 = 0 ;
d14a1e28
RD
24440 char *kwnames[] = {
24441 (char *) "self",(char *) "formats",(char *) "dir", NULL
24442 };
24443
994141e6 24444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24447 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 24449 if (obj2) {
15afbcd0
RD
24450 arg3 = (wxDataObject::Direction) SWIG_AsInt(obj2);
24451 if (PyErr_Occurred()) SWIG_fail;
994141e6 24452 }
d14a1e28
RD
24453 {
24454 PyThreadState* __tstate = wxPyBeginAllowThreads();
24455 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
24456
24457 wxPyEndAllowThreads(__tstate);
24458 if (PyErr_Occurred()) SWIG_fail;
24459 }
24460 Py_INCREF(Py_None); resultobj = Py_None;
24461 return resultobj;
24462 fail:
24463 return NULL;
24464}
24465
24466
24467static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
24468 PyObject *resultobj;
24469 wxDataObject *arg1 = (wxDataObject *) 0 ;
24470 wxDataFormat *arg2 = 0 ;
24471 void *arg3 = (void *) 0 ;
24472 bool result;
24473 PyObject * obj0 = 0 ;
24474 PyObject * obj1 = 0 ;
24475 PyObject * obj2 = 0 ;
24476 char *kwnames[] = {
24477 (char *) "self",(char *) "format",(char *) "buf", NULL
24478 };
24479
24480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24483 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24484 SWIG_POINTER_EXCEPTION | 0)) == -1)
24485 SWIG_fail;
d14a1e28 24486 if (arg2 == NULL) {
15afbcd0
RD
24487 PyErr_SetString(PyExc_TypeError,"null reference");
24488 SWIG_fail;
d14a1e28 24489 }
15afbcd0 24490 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24491 {
24492 PyThreadState* __tstate = wxPyBeginAllowThreads();
24493 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
24494
24495 wxPyEndAllowThreads(__tstate);
24496 if (PyErr_Occurred()) SWIG_fail;
24497 }
4f89f6a3
RD
24498 {
24499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24500 }
d14a1e28
RD
24501 return resultobj;
24502 fail:
24503 return NULL;
24504}
24505
24506
24507static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24508 PyObject *resultobj;
24509 wxDataObject *arg1 = (wxDataObject *) 0 ;
24510 wxDataFormat *arg2 = 0 ;
24511 size_t arg3 ;
24512 void *arg4 = (void *) 0 ;
24513 bool result;
24514 PyObject * obj0 = 0 ;
24515 PyObject * obj1 = 0 ;
24516 PyObject * obj2 = 0 ;
24517 PyObject * obj3 = 0 ;
24518 char *kwnames[] = {
24519 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24520 };
24521
24522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
24523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24526 SWIG_POINTER_EXCEPTION | 0)) == -1)
24527 SWIG_fail;
d14a1e28 24528 if (arg2 == NULL) {
15afbcd0
RD
24529 PyErr_SetString(PyExc_TypeError,"null reference");
24530 SWIG_fail;
a41e16b6 24531 }
15afbcd0
RD
24532 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
24533 if (PyErr_Occurred()) SWIG_fail;
24534 if ((SWIG_ConvertPtr(obj3,&arg4,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24535 {
24536 PyThreadState* __tstate = wxPyBeginAllowThreads();
24537 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
24538
24539 wxPyEndAllowThreads(__tstate);
24540 if (PyErr_Occurred()) SWIG_fail;
24541 }
4f89f6a3
RD
24542 {
24543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24544 }
d14a1e28
RD
24545 return resultobj;
24546 fail:
24547 return NULL;
24548}
24549
24550
24551static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
24552 PyObject *obj;
24553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24554 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
24555 Py_INCREF(obj);
24556 return Py_BuildValue((char *)"");
24557}
24558static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24559 PyObject *resultobj;
24560 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24561 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24562 wxDataObjectSimple *result;
24563 PyObject * obj0 = 0 ;
24564 char *kwnames[] = {
24565 (char *) "format", NULL
24566 };
24567
24568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
24569 if (obj0) {
15afbcd0
RD
24570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24571 SWIG_POINTER_EXCEPTION | 0)) == -1)
24572 SWIG_fail;
d14a1e28 24573 if (arg1 == NULL) {
15afbcd0
RD
24574 PyErr_SetString(PyExc_TypeError,"null reference");
24575 SWIG_fail;
d14a1e28
RD
24576 }
24577 }
24578 {
24579 PyThreadState* __tstate = wxPyBeginAllowThreads();
24580 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
24581
24582 wxPyEndAllowThreads(__tstate);
24583 if (PyErr_Occurred()) SWIG_fail;
24584 }
15afbcd0 24585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
d14a1e28
RD
24586 return resultobj;
24587 fail:
24588 return NULL;
24589}
24590
24591
24592static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24593 PyObject *resultobj;
24594 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24595 wxDataFormat *result;
24596 PyObject * obj0 = 0 ;
24597 char *kwnames[] = {
24598 (char *) "self", NULL
24599 };
24600
24601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
15afbcd0
RD
24602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24604 {
24605 PyThreadState* __tstate = wxPyBeginAllowThreads();
24606 {
24607 wxDataFormat const &_result_ref = (arg1)->GetFormat();
24608 result = (wxDataFormat *) &_result_ref;
24609 }
24610
24611 wxPyEndAllowThreads(__tstate);
24612 if (PyErr_Occurred()) SWIG_fail;
24613 }
15afbcd0 24614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
d14a1e28
RD
24615 return resultobj;
24616 fail:
24617 return NULL;
24618}
24619
24620
24621static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24622 PyObject *resultobj;
24623 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24624 wxDataFormat *arg2 = 0 ;
24625 PyObject * obj0 = 0 ;
24626 PyObject * obj1 = 0 ;
24627 char *kwnames[] = {
24628 (char *) "self",(char *) "format", NULL
24629 };
24630
24631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24635 SWIG_POINTER_EXCEPTION | 0)) == -1)
24636 SWIG_fail;
d14a1e28 24637 if (arg2 == NULL) {
15afbcd0
RD
24638 PyErr_SetString(PyExc_TypeError,"null reference");
24639 SWIG_fail;
d14a1e28
RD
24640 }
24641 {
24642 PyThreadState* __tstate = wxPyBeginAllowThreads();
24643 (arg1)->SetFormat((wxDataFormat const &)*arg2);
24644
24645 wxPyEndAllowThreads(__tstate);
24646 if (PyErr_Occurred()) SWIG_fail;
24647 }
24648 Py_INCREF(Py_None); resultobj = Py_None;
24649 return resultobj;
24650 fail:
24651 return NULL;
24652}
24653
24654
24655static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24656 PyObject *obj;
24657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24658 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
24659 Py_INCREF(obj);
24660 return Py_BuildValue((char *)"");
24661}
24662static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24663 PyObject *resultobj;
24664 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24665 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24666 wxPyDataObjectSimple *result;
24667 PyObject * obj0 = 0 ;
24668 char *kwnames[] = {
24669 (char *) "format", NULL
24670 };
24671
24672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
24673 if (obj0) {
15afbcd0
RD
24674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24675 SWIG_POINTER_EXCEPTION | 0)) == -1)
24676 SWIG_fail;
d14a1e28 24677 if (arg1 == NULL) {
15afbcd0
RD
24678 PyErr_SetString(PyExc_TypeError,"null reference");
24679 SWIG_fail;
d14a1e28
RD
24680 }
24681 }
24682 {
24683 PyThreadState* __tstate = wxPyBeginAllowThreads();
24684 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
24685
24686 wxPyEndAllowThreads(__tstate);
24687 if (PyErr_Occurred()) SWIG_fail;
24688 }
15afbcd0 24689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
d14a1e28
RD
24690 return resultobj;
24691 fail:
24692 return NULL;
24693}
24694
24695
24696static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24697 PyObject *resultobj;
24698 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
24699 PyObject *arg2 = (PyObject *) 0 ;
24700 PyObject *arg3 = (PyObject *) 0 ;
24701 PyObject * obj0 = 0 ;
24702 PyObject * obj1 = 0 ;
24703 PyObject * obj2 = 0 ;
24704 char *kwnames[] = {
24705 (char *) "self",(char *) "self",(char *) "_class", NULL
24706 };
24707
24708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDataObjectSimple,
24710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24711 arg2 = obj1;
24712 arg3 = obj2;
24713 {
24714 PyThreadState* __tstate = wxPyBeginAllowThreads();
24715 (arg1)->_setCallbackInfo(arg2,arg3);
24716
24717 wxPyEndAllowThreads(__tstate);
24718 if (PyErr_Occurred()) SWIG_fail;
24719 }
24720 Py_INCREF(Py_None); resultobj = Py_None;
24721 return resultobj;
24722 fail:
24723 return NULL;
24724}
24725
24726
24727static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24728 PyObject *obj;
24729 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24730 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
24731 Py_INCREF(obj);
24732 return Py_BuildValue((char *)"");
24733}
24734static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
24735 PyObject *resultobj;
24736 wxDataObjectComposite *result;
24737 char *kwnames[] = {
24738 NULL
24739 };
24740
24741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
24742 {
24743 PyThreadState* __tstate = wxPyBeginAllowThreads();
24744 result = (wxDataObjectComposite *)new wxDataObjectComposite();
24745
24746 wxPyEndAllowThreads(__tstate);
24747 if (PyErr_Occurred()) SWIG_fail;
24748 }
15afbcd0 24749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
d14a1e28
RD
24750 return resultobj;
24751 fail:
24752 return NULL;
24753}
24754
24755
24756static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
24757 PyObject *resultobj;
24758 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
24759 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
e811c8ce 24760 int arg3 = (int) False ;
d14a1e28
RD
24761 PyObject * obj0 = 0 ;
24762 PyObject * obj1 = 0 ;
994141e6 24763 PyObject * obj2 = 0 ;
d14a1e28
RD
24764 char *kwnames[] = {
24765 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24766 };
24767
994141e6 24768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectComposite,
24770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24771 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObjectSimple,
24772 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
994141e6 24773 if (obj2) {
15afbcd0
RD
24774 arg3 = (int) SWIG_AsInt(obj2);
24775 if (PyErr_Occurred()) SWIG_fail;
994141e6 24776 }
d14a1e28
RD
24777 {
24778 PyThreadState* __tstate = wxPyBeginAllowThreads();
24779 (arg1)->Add(arg2,arg3);
24780
24781 wxPyEndAllowThreads(__tstate);
24782 if (PyErr_Occurred()) SWIG_fail;
24783 }
24784 Py_INCREF(Py_None); resultobj = Py_None;
24785 return resultobj;
24786 fail:
24787 return NULL;
24788}
24789
24790
24791static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
24792 PyObject *obj;
24793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24794 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
24795 Py_INCREF(obj);
24796 return Py_BuildValue((char *)"");
24797}
24798static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24799 PyObject *resultobj;
24800 wxString const &arg1_defvalue = wxPyEmptyString ;
24801 wxString *arg1 = (wxString *) &arg1_defvalue ;
24802 wxTextDataObject *result;
e811c8ce 24803 bool temp1 = False ;
d14a1e28
RD
24804 PyObject * obj0 = 0 ;
24805 char *kwnames[] = {
24806 (char *) "text", NULL
24807 };
24808
24809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
24810 if (obj0) {
24811 {
24812 arg1 = wxString_in_helper(obj0);
24813 if (arg1 == NULL) SWIG_fail;
e811c8ce 24814 temp1 = True;
d14a1e28
RD
24815 }
24816 }
24817 {
24818 PyThreadState* __tstate = wxPyBeginAllowThreads();
24819 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
24820
24821 wxPyEndAllowThreads(__tstate);
24822 if (PyErr_Occurred()) SWIG_fail;
24823 }
15afbcd0 24824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
d14a1e28
RD
24825 {
24826 if (temp1)
24827 delete arg1;
24828 }
24829 return resultobj;
24830 fail:
24831 {
24832 if (temp1)
24833 delete arg1;
24834 }
24835 return NULL;
24836}
24837
24838
24839static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
24840 PyObject *resultobj;
24841 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24842 size_t result;
24843 PyObject * obj0 = 0 ;
24844 char *kwnames[] = {
24845 (char *) "self", NULL
24846 };
24847
24848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
24849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24851 {
24852 PyThreadState* __tstate = wxPyBeginAllowThreads();
24853 result = (size_t)(arg1)->GetTextLength();
24854
24855 wxPyEndAllowThreads(__tstate);
24856 if (PyErr_Occurred()) SWIG_fail;
24857 }
15afbcd0 24858 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
24859 return resultobj;
24860 fail:
24861 return NULL;
24862}
24863
24864
24865static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
24866 PyObject *resultobj;
24867 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24868 wxString result;
24869 PyObject * obj0 = 0 ;
24870 char *kwnames[] = {
24871 (char *) "self", NULL
24872 };
24873
24874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
24875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24877 {
24878 PyThreadState* __tstate = wxPyBeginAllowThreads();
24879 result = (arg1)->GetText();
24880
24881 wxPyEndAllowThreads(__tstate);
24882 if (PyErr_Occurred()) SWIG_fail;
24883 }
24884 {
24885#if wxUSE_UNICODE
24886 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24887#else
24888 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24889#endif
24890 }
24891 return resultobj;
24892 fail:
24893 return NULL;
24894}
24895
24896
24897static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
24898 PyObject *resultobj;
24899 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24900 wxString *arg2 = 0 ;
e811c8ce 24901 bool temp2 = False ;
d14a1e28
RD
24902 PyObject * obj0 = 0 ;
24903 PyObject * obj1 = 0 ;
24904 char *kwnames[] = {
24905 (char *) "self",(char *) "text", NULL
24906 };
24907
24908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24911 {
24912 arg2 = wxString_in_helper(obj1);
24913 if (arg2 == NULL) SWIG_fail;
e811c8ce 24914 temp2 = True;
d14a1e28
RD
24915 }
24916 {
24917 PyThreadState* __tstate = wxPyBeginAllowThreads();
24918 (arg1)->SetText((wxString const &)*arg2);
24919
24920 wxPyEndAllowThreads(__tstate);
24921 if (PyErr_Occurred()) SWIG_fail;
24922 }
24923 Py_INCREF(Py_None); resultobj = Py_None;
24924 {
24925 if (temp2)
24926 delete arg2;
24927 }
24928 return resultobj;
24929 fail:
24930 {
24931 if (temp2)
24932 delete arg2;
24933 }
24934 return NULL;
24935}
24936
24937
24938static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
24939 PyObject *obj;
24940 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24941 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
24942 Py_INCREF(obj);
24943 return Py_BuildValue((char *)"");
24944}
24945static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24946 PyObject *resultobj;
24947 wxString const &arg1_defvalue = wxPyEmptyString ;
24948 wxString *arg1 = (wxString *) &arg1_defvalue ;
24949 wxPyTextDataObject *result;
e811c8ce 24950 bool temp1 = False ;
d14a1e28
RD
24951 PyObject * obj0 = 0 ;
24952 char *kwnames[] = {
24953 (char *) "text", NULL
24954 };
24955
24956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
24957 if (obj0) {
24958 {
24959 arg1 = wxString_in_helper(obj0);
24960 if (arg1 == NULL) SWIG_fail;
e811c8ce 24961 temp1 = True;
d14a1e28
RD
24962 }
24963 }
24964 {
24965 PyThreadState* __tstate = wxPyBeginAllowThreads();
24966 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
24967
24968 wxPyEndAllowThreads(__tstate);
24969 if (PyErr_Occurred()) SWIG_fail;
24970 }
15afbcd0 24971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
d14a1e28
RD
24972 {
24973 if (temp1)
24974 delete arg1;
24975 }
24976 return resultobj;
24977 fail:
24978 {
24979 if (temp1)
24980 delete arg1;
24981 }
24982 return NULL;
24983}
24984
24985
24986static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24987 PyObject *resultobj;
24988 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
24989 PyObject *arg2 = (PyObject *) 0 ;
24990 PyObject *arg3 = (PyObject *) 0 ;
24991 PyObject * obj0 = 0 ;
24992 PyObject * obj1 = 0 ;
24993 PyObject * obj2 = 0 ;
24994 char *kwnames[] = {
24995 (char *) "self",(char *) "self",(char *) "_class", NULL
24996 };
24997
24998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDataObject,
25000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25001 arg2 = obj1;
25002 arg3 = obj2;
25003 {
25004 PyThreadState* __tstate = wxPyBeginAllowThreads();
25005 (arg1)->_setCallbackInfo(arg2,arg3);
25006
25007 wxPyEndAllowThreads(__tstate);
25008 if (PyErr_Occurred()) SWIG_fail;
25009 }
25010 Py_INCREF(Py_None); resultobj = Py_None;
25011 return resultobj;
25012 fail:
25013 return NULL;
25014}
25015
25016
25017static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
25018 PyObject *obj;
25019 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25020 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
25021 Py_INCREF(obj);
25022 return Py_BuildValue((char *)"");
25023}
25024static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25025 PyObject *resultobj;
25026 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25027 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25028 wxBitmapDataObject *result;
25029 PyObject * obj0 = 0 ;
25030 char *kwnames[] = {
25031 (char *) "bitmap", NULL
25032 };
25033
25034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
25035 if (obj0) {
15afbcd0
RD
25036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25037 SWIG_POINTER_EXCEPTION | 0)) == -1)
25038 SWIG_fail;
d14a1e28 25039 if (arg1 == NULL) {
15afbcd0
RD
25040 PyErr_SetString(PyExc_TypeError,"null reference");
25041 SWIG_fail;
d14a1e28
RD
25042 }
25043 }
25044 {
25045 PyThreadState* __tstate = wxPyBeginAllowThreads();
25046 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
25047
25048 wxPyEndAllowThreads(__tstate);
25049 if (PyErr_Occurred()) SWIG_fail;
25050 }
15afbcd0 25051 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
d14a1e28
RD
25052 return resultobj;
25053 fail:
25054 return NULL;
25055}
25056
25057
25058static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25059 PyObject *resultobj;
25060 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25061 wxBitmap result;
25062 PyObject * obj0 = 0 ;
25063 char *kwnames[] = {
25064 (char *) "self", NULL
25065 };
25066
25067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
25068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25070 {
25071 PyThreadState* __tstate = wxPyBeginAllowThreads();
25072 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
25073
25074 wxPyEndAllowThreads(__tstate);
25075 if (PyErr_Occurred()) SWIG_fail;
25076 }
25077 {
25078 wxBitmap * resultptr;
25079 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 25080 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
25081 }
25082 return resultobj;
25083 fail:
25084 return NULL;
25085}
25086
25087
25088static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25089 PyObject *resultobj;
25090 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25091 wxBitmap *arg2 = 0 ;
25092 PyObject * obj0 = 0 ;
25093 PyObject * obj1 = 0 ;
25094 char *kwnames[] = {
25095 (char *) "self",(char *) "bitmap", NULL
25096 };
25097
25098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25101 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
25102 SWIG_POINTER_EXCEPTION | 0)) == -1)
25103 SWIG_fail;
d14a1e28 25104 if (arg2 == NULL) {
15afbcd0
RD
25105 PyErr_SetString(PyExc_TypeError,"null reference");
25106 SWIG_fail;
d14a1e28
RD
25107 }
25108 {
25109 PyThreadState* __tstate = wxPyBeginAllowThreads();
25110 (arg1)->SetBitmap((wxBitmap const &)*arg2);
25111
25112 wxPyEndAllowThreads(__tstate);
25113 if (PyErr_Occurred()) SWIG_fail;
25114 }
25115 Py_INCREF(Py_None); resultobj = Py_None;
25116 return resultobj;
25117 fail:
25118 return NULL;
25119}
25120
25121
25122static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
25123 PyObject *obj;
25124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25125 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
25126 Py_INCREF(obj);
25127 return Py_BuildValue((char *)"");
25128}
25129static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25130 PyObject *resultobj;
25131 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25132 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25133 wxPyBitmapDataObject *result;
25134 PyObject * obj0 = 0 ;
25135 char *kwnames[] = {
25136 (char *) "bitmap", NULL
25137 };
25138
25139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
25140 if (obj0) {
15afbcd0
RD
25141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25142 SWIG_POINTER_EXCEPTION | 0)) == -1)
25143 SWIG_fail;
d14a1e28 25144 if (arg1 == NULL) {
15afbcd0
RD
25145 PyErr_SetString(PyExc_TypeError,"null reference");
25146 SWIG_fail;
d14a1e28
RD
25147 }
25148 }
25149 {
25150 PyThreadState* __tstate = wxPyBeginAllowThreads();
25151 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
25152
25153 wxPyEndAllowThreads(__tstate);
25154 if (PyErr_Occurred()) SWIG_fail;
25155 }
15afbcd0 25156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
d14a1e28
RD
25157 return resultobj;
25158 fail:
25159 return NULL;
25160}
25161
25162
25163static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25164 PyObject *resultobj;
25165 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
25166 PyObject *arg2 = (PyObject *) 0 ;
25167 PyObject *arg3 = (PyObject *) 0 ;
25168 PyObject * obj0 = 0 ;
25169 PyObject * obj1 = 0 ;
25170 PyObject * obj2 = 0 ;
25171 char *kwnames[] = {
25172 (char *) "self",(char *) "self",(char *) "_class", NULL
25173 };
25174
25175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapDataObject,
25177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25178 arg2 = obj1;
25179 arg3 = obj2;
25180 {
25181 PyThreadState* __tstate = wxPyBeginAllowThreads();
25182 (arg1)->_setCallbackInfo(arg2,arg3);
25183
25184 wxPyEndAllowThreads(__tstate);
25185 if (PyErr_Occurred()) SWIG_fail;
25186 }
25187 Py_INCREF(Py_None); resultobj = Py_None;
25188 return resultobj;
25189 fail:
25190 return NULL;
25191}
25192
25193
25194static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
25195 PyObject *obj;
25196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25197 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
25198 Py_INCREF(obj);
25199 return Py_BuildValue((char *)"");
25200}
25201static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25202 PyObject *resultobj;
25203 wxFileDataObject *result;
25204 char *kwnames[] = {
25205 NULL
25206 };
25207
25208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
25209 {
25210 PyThreadState* __tstate = wxPyBeginAllowThreads();
25211 result = (wxFileDataObject *)new wxFileDataObject();
25212
25213 wxPyEndAllowThreads(__tstate);
25214 if (PyErr_Occurred()) SWIG_fail;
25215 }
15afbcd0 25216 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
d14a1e28
RD
25217 return resultobj;
25218 fail:
25219 return NULL;
25220}
25221
25222
25223static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
25224 PyObject *resultobj;
25225 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25226 wxArrayString *result;
25227 PyObject * obj0 = 0 ;
25228 char *kwnames[] = {
25229 (char *) "self", NULL
25230 };
25231
25232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
15afbcd0
RD
25233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25235 {
25236 PyThreadState* __tstate = wxPyBeginAllowThreads();
25237 {
25238 wxArrayString const &_result_ref = (arg1)->GetFilenames();
25239 result = (wxArrayString *) &_result_ref;
25240 }
25241
25242 wxPyEndAllowThreads(__tstate);
25243 if (PyErr_Occurred()) SWIG_fail;
25244 }
25245 {
25246 resultobj = wxArrayString2PyList_helper(*result);
25247 }
25248 return resultobj;
25249 fail:
25250 return NULL;
25251}
25252
25253
15afbcd0
RD
25254static PyObject *_wrap_FileDataObject_AddFile(PyObject *self, PyObject *args, PyObject *kwargs) {
25255 PyObject *resultobj;
25256 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25257 wxString *arg2 = 0 ;
25258 bool temp2 = False ;
25259 PyObject * obj0 = 0 ;
25260 PyObject * obj1 = 0 ;
25261 char *kwnames[] = {
25262 (char *) "self",(char *) "filename", NULL
25263 };
25264
25265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
25266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25268 {
25269 arg2 = wxString_in_helper(obj1);
25270 if (arg2 == NULL) SWIG_fail;
25271 temp2 = True;
25272 }
25273 {
25274 PyThreadState* __tstate = wxPyBeginAllowThreads();
25275 (arg1)->AddFile((wxString const &)*arg2);
25276
25277 wxPyEndAllowThreads(__tstate);
25278 if (PyErr_Occurred()) SWIG_fail;
25279 }
25280 Py_INCREF(Py_None); resultobj = Py_None;
25281 {
25282 if (temp2)
25283 delete arg2;
25284 }
25285 return resultobj;
25286 fail:
25287 {
25288 if (temp2)
25289 delete arg2;
25290 }
25291 return NULL;
25292}
25293
25294
d14a1e28
RD
25295static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
25296 PyObject *obj;
25297 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25298 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
25299 Py_INCREF(obj);
25300 return Py_BuildValue((char *)"");
25301}
25302static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25303 PyObject *resultobj;
25304 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25305 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25306 wxCustomDataObject *result;
25307 PyObject * obj0 = 0 ;
25308 char *kwnames[] = {
25309 (char *) "format", NULL
25310 };
25311
25312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
25313 if (obj0) {
15afbcd0
RD
25314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25315 SWIG_POINTER_EXCEPTION | 0)) == -1)
25316 SWIG_fail;
d14a1e28 25317 if (arg1 == NULL) {
15afbcd0
RD
25318 PyErr_SetString(PyExc_TypeError,"null reference");
25319 SWIG_fail;
d14a1e28
RD
25320 }
25321 }
25322 {
25323 PyThreadState* __tstate = wxPyBeginAllowThreads();
25324 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
25325
25326 wxPyEndAllowThreads(__tstate);
25327 if (PyErr_Occurred()) SWIG_fail;
25328 }
15afbcd0 25329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
d14a1e28
RD
25330 return resultobj;
25331 fail:
25332 return NULL;
25333}
25334
25335
25336static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
25337 PyObject *resultobj;
25338 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25339 PyObject *arg2 = (PyObject *) 0 ;
25340 PyObject * obj0 = 0 ;
25341 PyObject * obj1 = 0 ;
25342 char *kwnames[] = {
25343 (char *) "self",(char *) "data", NULL
25344 };
25345
25346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25349 arg2 = obj1;
25350 {
25351 PyThreadState* __tstate = wxPyBeginAllowThreads();
25352 wxCustomDataObject_TakeData(arg1,arg2);
25353
25354 wxPyEndAllowThreads(__tstate);
25355 if (PyErr_Occurred()) SWIG_fail;
25356 }
25357 Py_INCREF(Py_None); resultobj = Py_None;
25358 return resultobj;
25359 fail:
25360 return NULL;
25361}
25362
25363
25364static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25365 PyObject *resultobj;
25366 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25367 PyObject *arg2 = (PyObject *) 0 ;
25368 bool result;
25369 PyObject * obj0 = 0 ;
25370 PyObject * obj1 = 0 ;
25371 char *kwnames[] = {
25372 (char *) "self",(char *) "data", NULL
25373 };
25374
25375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25378 arg2 = obj1;
25379 {
25380 PyThreadState* __tstate = wxPyBeginAllowThreads();
25381 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
25382
25383 wxPyEndAllowThreads(__tstate);
25384 if (PyErr_Occurred()) SWIG_fail;
25385 }
4f89f6a3
RD
25386 {
25387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25388 }
d14a1e28
RD
25389 return resultobj;
25390 fail:
25391 return NULL;
25392}
25393
25394
25395static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25396 PyObject *resultobj;
25397 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25398 size_t result;
25399 PyObject * obj0 = 0 ;
25400 char *kwnames[] = {
25401 (char *) "self", NULL
25402 };
25403
25404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
25405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25407 {
25408 PyThreadState* __tstate = wxPyBeginAllowThreads();
25409 result = (size_t)(arg1)->GetSize();
25410
25411 wxPyEndAllowThreads(__tstate);
25412 if (PyErr_Occurred()) SWIG_fail;
25413 }
15afbcd0 25414 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
25415 return resultobj;
25416 fail:
25417 return NULL;
25418}
25419
25420
25421static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25422 PyObject *resultobj;
25423 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25424 PyObject *result;
25425 PyObject * obj0 = 0 ;
25426 char *kwnames[] = {
25427 (char *) "self", NULL
25428 };
25429
25430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
25431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25433 {
25434 PyThreadState* __tstate = wxPyBeginAllowThreads();
25435 result = (PyObject *)wxCustomDataObject_GetData(arg1);
25436
25437 wxPyEndAllowThreads(__tstate);
25438 if (PyErr_Occurred()) SWIG_fail;
25439 }
25440 resultobj = result;
25441 return resultobj;
25442 fail:
25443 return NULL;
25444}
25445
25446
25447static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
25448 PyObject *obj;
25449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25450 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
25451 Py_INCREF(obj);
25452 return Py_BuildValue((char *)"");
25453}
25454static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25455 PyObject *resultobj;
25456 wxURLDataObject *result;
25457 char *kwnames[] = {
25458 NULL
25459 };
25460
25461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
25462 {
25463 PyThreadState* __tstate = wxPyBeginAllowThreads();
25464 result = (wxURLDataObject *)new wxURLDataObject();
25465
25466 wxPyEndAllowThreads(__tstate);
25467 if (PyErr_Occurred()) SWIG_fail;
25468 }
15afbcd0 25469 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
d14a1e28
RD
25470 return resultobj;
25471 fail:
25472 return NULL;
25473}
25474
25475
25476static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25477 PyObject *resultobj;
25478 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25479 wxString result;
25480 PyObject * obj0 = 0 ;
25481 char *kwnames[] = {
25482 (char *) "self", NULL
25483 };
25484
25485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
15afbcd0
RD
25486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25488 {
25489 PyThreadState* __tstate = wxPyBeginAllowThreads();
25490 result = (arg1)->GetURL();
25491
25492 wxPyEndAllowThreads(__tstate);
25493 if (PyErr_Occurred()) SWIG_fail;
25494 }
25495 {
25496#if wxUSE_UNICODE
25497 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25498#else
25499 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25500#endif
25501 }
25502 return resultobj;
25503 fail:
25504 return NULL;
25505}
25506
25507
25508static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25509 PyObject *resultobj;
25510 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25511 wxString *arg2 = 0 ;
e811c8ce 25512 bool temp2 = False ;
d14a1e28
RD
25513 PyObject * obj0 = 0 ;
25514 PyObject * obj1 = 0 ;
25515 char *kwnames[] = {
25516 (char *) "self",(char *) "url", NULL
25517 };
25518
25519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25522 {
25523 arg2 = wxString_in_helper(obj1);
25524 if (arg2 == NULL) SWIG_fail;
e811c8ce 25525 temp2 = True;
d14a1e28
RD
25526 }
25527 {
25528 PyThreadState* __tstate = wxPyBeginAllowThreads();
25529 (arg1)->SetURL((wxString const &)*arg2);
25530
25531 wxPyEndAllowThreads(__tstate);
25532 if (PyErr_Occurred()) SWIG_fail;
25533 }
25534 Py_INCREF(Py_None); resultobj = Py_None;
25535 {
25536 if (temp2)
25537 delete arg2;
25538 }
25539 return resultobj;
25540 fail:
25541 {
25542 if (temp2)
25543 delete arg2;
25544 }
25545 return NULL;
25546}
25547
25548
25549static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
25550 PyObject *obj;
25551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25552 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
25553 Py_INCREF(obj);
25554 return Py_BuildValue((char *)"");
25555}
25556static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25557 PyObject *resultobj;
25558 wxMetafileDataObject *result;
25559 char *kwnames[] = {
25560 NULL
25561 };
25562
25563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
25564 {
25565 PyThreadState* __tstate = wxPyBeginAllowThreads();
25566 result = (wxMetafileDataObject *)new wxMetafileDataObject();
25567
25568 wxPyEndAllowThreads(__tstate);
25569 if (PyErr_Occurred()) SWIG_fail;
25570 }
15afbcd0 25571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
d14a1e28
RD
25572 return resultobj;
25573 fail:
25574 return NULL;
25575}
25576
25577
25578static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
25579 PyObject *obj;
25580 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25581 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
25582 Py_INCREF(obj);
25583 return Py_BuildValue((char *)"");
25584}
25585static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
25586 PyObject *resultobj;
25587 int arg1 ;
25588 bool result;
994141e6 25589 PyObject * obj0 = 0 ;
d14a1e28
RD
25590 char *kwnames[] = {
25591 (char *) "res", NULL
25592 };
25593
994141e6 25594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
25595 arg1 = (wxDragResult) SWIG_AsInt(obj0);
25596 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25597 {
25598 PyThreadState* __tstate = wxPyBeginAllowThreads();
25599 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
25600
25601 wxPyEndAllowThreads(__tstate);
25602 if (PyErr_Occurred()) SWIG_fail;
25603 }
4f89f6a3
RD
25604 {
25605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25606 }
d14a1e28
RD
25607 return resultobj;
25608 fail:
25609 return NULL;
25610}
25611
25612
25613static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25614 PyObject *resultobj;
d1e20054 25615 wxWindow *arg1 = (wxWindow *) 0 ;
d14a1e28
RD
25616 wxIcon const &arg2_defvalue = wxNullIcon ;
25617 wxIcon *arg2 = (wxIcon *) &arg2_defvalue ;
25618 wxIcon const &arg3_defvalue = wxNullIcon ;
25619 wxIcon *arg3 = (wxIcon *) &arg3_defvalue ;
25620 wxIcon const &arg4_defvalue = wxNullIcon ;
25621 wxIcon *arg4 = (wxIcon *) &arg4_defvalue ;
25622 wxPyDropSource *result;
25623 PyObject * obj0 = 0 ;
25624 PyObject * obj1 = 0 ;
25625 PyObject * obj2 = 0 ;
25626 PyObject * obj3 = 0 ;
25627 char *kwnames[] = {
25628 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25629 };
25630
d1e20054 25631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
25632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 25634 if (obj1) {
15afbcd0
RD
25635 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
25636 SWIG_POINTER_EXCEPTION | 0)) == -1)
25637 SWIG_fail;
d14a1e28 25638 if (arg2 == NULL) {
15afbcd0
RD
25639 PyErr_SetString(PyExc_TypeError,"null reference");
25640 SWIG_fail;
d14a1e28
RD
25641 }
25642 }
25643 if (obj2) {
15afbcd0
RD
25644 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxIcon,
25645 SWIG_POINTER_EXCEPTION | 0)) == -1)
25646 SWIG_fail;
d14a1e28 25647 if (arg3 == NULL) {
15afbcd0
RD
25648 PyErr_SetString(PyExc_TypeError,"null reference");
25649 SWIG_fail;
d14a1e28
RD
25650 }
25651 }
25652 if (obj3) {
15afbcd0
RD
25653 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxIcon,
25654 SWIG_POINTER_EXCEPTION | 0)) == -1)
25655 SWIG_fail;
d14a1e28 25656 if (arg4 == NULL) {
15afbcd0
RD
25657 PyErr_SetString(PyExc_TypeError,"null reference");
25658 SWIG_fail;
d14a1e28
RD
25659 }
25660 }
25661 {
25662 PyThreadState* __tstate = wxPyBeginAllowThreads();
25663 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxIcon const &)*arg2,(wxIcon const &)*arg3,(wxIcon const &)*arg4);
25664
25665 wxPyEndAllowThreads(__tstate);
25666 if (PyErr_Occurred()) SWIG_fail;
25667 }
15afbcd0 25668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
d14a1e28
RD
25669 return resultobj;
25670 fail:
25671 return NULL;
25672}
25673
25674
25675static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25676 PyObject *resultobj;
25677 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25678 PyObject *arg2 = (PyObject *) 0 ;
25679 PyObject *arg3 = (PyObject *) 0 ;
25680 int arg4 ;
25681 PyObject * obj0 = 0 ;
25682 PyObject * obj1 = 0 ;
25683 PyObject * obj2 = 0 ;
994141e6 25684 PyObject * obj3 = 0 ;
d14a1e28
RD
25685 char *kwnames[] = {
25686 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25687 };
25688
994141e6 25689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
25690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25692 arg2 = obj1;
25693 arg3 = obj2;
15afbcd0
RD
25694 arg4 = (int) SWIG_AsInt(obj3);
25695 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25696 {
25697 PyThreadState* __tstate = wxPyBeginAllowThreads();
25698 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
25699
25700 wxPyEndAllowThreads(__tstate);
25701 if (PyErr_Occurred()) SWIG_fail;
25702 }
25703 Py_INCREF(Py_None); resultobj = Py_None;
25704 return resultobj;
25705 fail:
25706 return NULL;
25707}
25708
25709
25710static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25711 PyObject *resultobj;
25712 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25713 PyObject * obj0 = 0 ;
25714 char *kwnames[] = {
25715 (char *) "self", NULL
25716 };
25717
25718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
15afbcd0
RD
25719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25721 {
25722 PyThreadState* __tstate = wxPyBeginAllowThreads();
25723 delete arg1;
25724
25725 wxPyEndAllowThreads(__tstate);
25726 if (PyErr_Occurred()) SWIG_fail;
25727 }
25728 Py_INCREF(Py_None); resultobj = Py_None;
25729 return resultobj;
25730 fail:
25731 return NULL;
25732}
25733
25734
25735static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25736 PyObject *resultobj;
25737 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25738 wxDataObject *arg2 = 0 ;
25739 PyObject * obj0 = 0 ;
25740 PyObject * obj1 = 0 ;
25741 char *kwnames[] = {
25742 (char *) "self",(char *) "data", NULL
25743 };
25744
25745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25748 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
25749 SWIG_POINTER_EXCEPTION | 0)) == -1)
25750 SWIG_fail;
d14a1e28 25751 if (arg2 == NULL) {
15afbcd0
RD
25752 PyErr_SetString(PyExc_TypeError,"null reference");
25753 SWIG_fail;
d14a1e28
RD
25754 }
25755 {
25756 PyThreadState* __tstate = wxPyBeginAllowThreads();
25757 (arg1)->SetData(*arg2);
25758
25759 wxPyEndAllowThreads(__tstate);
25760 if (PyErr_Occurred()) SWIG_fail;
25761 }
25762 Py_INCREF(Py_None); resultobj = Py_None;
25763 return resultobj;
25764 fail:
25765 return NULL;
25766}
25767
25768
25769static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25770 PyObject *resultobj;
25771 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25772 wxDataObject *result;
25773 PyObject * obj0 = 0 ;
25774 char *kwnames[] = {
25775 (char *) "self", NULL
25776 };
25777
25778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
15afbcd0
RD
25779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25781 {
25782 PyThreadState* __tstate = wxPyBeginAllowThreads();
25783 result = (wxDataObject *)(arg1)->GetDataObject();
25784
25785 wxPyEndAllowThreads(__tstate);
25786 if (PyErr_Occurred()) SWIG_fail;
25787 }
15afbcd0 25788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
d14a1e28
RD
25789 return resultobj;
25790 fail:
25791 return NULL;
25792}
25793
25794
25795static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
25796 PyObject *resultobj;
25797 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25798 int arg2 ;
25799 wxCursor *arg3 = 0 ;
25800 PyObject * obj0 = 0 ;
994141e6 25801 PyObject * obj1 = 0 ;
d14a1e28
RD
25802 PyObject * obj2 = 0 ;
25803 char *kwnames[] = {
25804 (char *) "self",(char *) "res",(char *) "cursor", NULL
25805 };
25806
994141e6 25807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25810 arg2 = (wxDragResult) SWIG_AsInt(obj1);
25811 if (PyErr_Occurred()) SWIG_fail;
25812 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
25813 SWIG_POINTER_EXCEPTION | 0)) == -1)
25814 SWIG_fail;
d14a1e28 25815 if (arg3 == NULL) {
15afbcd0
RD
25816 PyErr_SetString(PyExc_TypeError,"null reference");
25817 SWIG_fail;
d14a1e28
RD
25818 }
25819 {
25820 PyThreadState* __tstate = wxPyBeginAllowThreads();
25821 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
25822
25823 wxPyEndAllowThreads(__tstate);
25824 if (PyErr_Occurred()) SWIG_fail;
25825 }
25826 Py_INCREF(Py_None); resultobj = Py_None;
25827 return resultobj;
25828 fail:
25829 return NULL;
25830}
25831
25832
25833static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
25834 PyObject *resultobj;
25835 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25836 int arg2 = (int) wxDrag_CopyOnly ;
25837 int result;
25838 PyObject * obj0 = 0 ;
994141e6 25839 PyObject * obj1 = 0 ;
d14a1e28
RD
25840 char *kwnames[] = {
25841 (char *) "self",(char *) "flags", NULL
25842 };
25843
994141e6 25844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 25847 if (obj1) {
15afbcd0
RD
25848 arg2 = (int) SWIG_AsInt(obj1);
25849 if (PyErr_Occurred()) SWIG_fail;
994141e6 25850 }
d14a1e28
RD
25851 {
25852 PyThreadState* __tstate = wxPyBeginAllowThreads();
25853 result = (int)(arg1)->DoDragDrop(arg2);
25854
25855 wxPyEndAllowThreads(__tstate);
25856 if (PyErr_Occurred()) SWIG_fail;
25857 }
15afbcd0 25858 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25859 return resultobj;
25860 fail:
25861 return NULL;
25862}
25863
25864
25865static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
25866 PyObject *resultobj;
25867 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25868 int arg2 ;
25869 bool result;
25870 PyObject * obj0 = 0 ;
994141e6 25871 PyObject * obj1 = 0 ;
d14a1e28
RD
25872 char *kwnames[] = {
25873 (char *) "self",(char *) "effect", NULL
25874 };
25875
994141e6 25876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25879 arg2 = (wxDragResult) SWIG_AsInt(obj1);
25880 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25881 {
25882 PyThreadState* __tstate = wxPyBeginAllowThreads();
25883 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
25884
25885 wxPyEndAllowThreads(__tstate);
25886 if (PyErr_Occurred()) SWIG_fail;
25887 }
4f89f6a3
RD
25888 {
25889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25890 }
d14a1e28
RD
25891 return resultobj;
25892 fail:
25893 return NULL;
25894}
25895
25896
25897static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
25898 PyObject *obj;
25899 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25900 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
25901 Py_INCREF(obj);
25902 return Py_BuildValue((char *)"");
25903}
15afbcd0 25904static PyObject *_wrap_new_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25905 PyObject *resultobj;
25906 wxDataObject *arg1 = (wxDataObject *) NULL ;
25907 wxPyDropTarget *result;
25908 PyObject * obj0 = 0 ;
25909 char *kwnames[] = {
25910 (char *) "dataObject", NULL
25911 };
25912
15afbcd0 25913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
d14a1e28 25914 if (obj0) {
15afbcd0
RD
25915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
25916 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
25917 }
25918 {
25919 PyThreadState* __tstate = wxPyBeginAllowThreads();
25920 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
25921
25922 wxPyEndAllowThreads(__tstate);
25923 if (PyErr_Occurred()) SWIG_fail;
25924 }
15afbcd0 25925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
d14a1e28
RD
25926 return resultobj;
25927 fail:
25928 return NULL;
25929}
25930
25931
25932static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25933 PyObject *resultobj;
25934 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25935 PyObject *arg2 = (PyObject *) 0 ;
25936 PyObject *arg3 = (PyObject *) 0 ;
25937 PyObject * obj0 = 0 ;
25938 PyObject * obj1 = 0 ;
25939 PyObject * obj2 = 0 ;
25940 char *kwnames[] = {
25941 (char *) "self",(char *) "self",(char *) "_class", NULL
25942 };
25943
25944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
25946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25947 arg2 = obj1;
25948 arg3 = obj2;
25949 {
25950 PyThreadState* __tstate = wxPyBeginAllowThreads();
25951 (arg1)->_setCallbackInfo(arg2,arg3);
25952
25953 wxPyEndAllowThreads(__tstate);
25954 if (PyErr_Occurred()) SWIG_fail;
25955 }
25956 Py_INCREF(Py_None); resultobj = Py_None;
25957 return resultobj;
25958 fail:
25959 return NULL;
25960}
25961
25962
25963static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25964 PyObject *resultobj;
25965 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25966 PyObject * obj0 = 0 ;
25967 char *kwnames[] = {
25968 (char *) "self", NULL
25969 };
25970
25971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
15afbcd0
RD
25972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
25973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25974 {
25975 PyThreadState* __tstate = wxPyBeginAllowThreads();
25976 delete arg1;
25977
25978 wxPyEndAllowThreads(__tstate);
25979 if (PyErr_Occurred()) SWIG_fail;
25980 }
25981 Py_INCREF(Py_None); resultobj = Py_None;
25982 return resultobj;
25983 fail:
25984 return NULL;
25985}
25986
25987
25988static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25989 PyObject *resultobj;
25990 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25991 wxDataObject *result;
25992 PyObject * obj0 = 0 ;
25993 char *kwnames[] = {
25994 (char *) "self", NULL
25995 };
25996
25997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
15afbcd0
RD
25998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
25999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26000 {
26001 PyThreadState* __tstate = wxPyBeginAllowThreads();
26002 result = (wxDataObject *)(arg1)->GetDataObject();
26003
26004 wxPyEndAllowThreads(__tstate);
26005 if (PyErr_Occurred()) SWIG_fail;
26006 }
15afbcd0 26007 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
d14a1e28
RD
26008 return resultobj;
26009 fail:
26010 return NULL;
26011}
26012
26013
26014static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
26015 PyObject *resultobj;
26016 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26017 wxDataObject *arg2 = (wxDataObject *) 0 ;
26018 PyObject * obj0 = 0 ;
26019 PyObject * obj1 = 0 ;
26020 char *kwnames[] = {
26021 (char *) "self",(char *) "dataObject", NULL
26022 };
26023
26024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26027 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26028 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
26029 {
26030 PyThreadState* __tstate = wxPyBeginAllowThreads();
26031 (arg1)->SetDataObject(arg2);
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_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26044 PyObject *resultobj;
26045 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
e811c8ce
RD
26046 int arg2 ;
26047 int arg3 ;
d14a1e28
RD
26048 int arg4 ;
26049 int result;
26050 PyObject * obj0 = 0 ;
994141e6
RD
26051 PyObject * obj1 = 0 ;
26052 PyObject * obj2 = 0 ;
26053 PyObject * obj3 = 0 ;
d14a1e28
RD
26054 char *kwnames[] = {
26055 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26056 };
26057
994141e6 26058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
26059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26061 arg2 = (int) SWIG_AsInt(obj1);
26062 if (PyErr_Occurred()) SWIG_fail;
26063 arg3 = (int) SWIG_AsInt(obj2);
26064 if (PyErr_Occurred()) SWIG_fail;
26065 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26066 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26067 {
26068 PyThreadState* __tstate = wxPyBeginAllowThreads();
26069 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26070
26071 wxPyEndAllowThreads(__tstate);
26072 if (PyErr_Occurred()) SWIG_fail;
26073 }
15afbcd0 26074 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26075 return resultobj;
26076 fail:
26077 return NULL;
26078}
26079
26080
26081static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26082 PyObject *resultobj;
26083 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
e811c8ce
RD
26084 int arg2 ;
26085 int arg3 ;
d14a1e28
RD
26086 int arg4 ;
26087 int result;
26088 PyObject * obj0 = 0 ;
994141e6
RD
26089 PyObject * obj1 = 0 ;
26090 PyObject * obj2 = 0 ;
26091 PyObject * obj3 = 0 ;
d14a1e28
RD
26092 char *kwnames[] = {
26093 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26094 };
26095
994141e6 26096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
26097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26099 arg2 = (int) SWIG_AsInt(obj1);
26100 if (PyErr_Occurred()) SWIG_fail;
26101 arg3 = (int) SWIG_AsInt(obj2);
26102 if (PyErr_Occurred()) SWIG_fail;
26103 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26104 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26105 {
26106 PyThreadState* __tstate = wxPyBeginAllowThreads();
26107 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26108
26109 wxPyEndAllowThreads(__tstate);
26110 if (PyErr_Occurred()) SWIG_fail;
26111 }
15afbcd0 26112 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26113 return resultobj;
26114 fail:
26115 return NULL;
26116}
26117
26118
26119static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26120 PyObject *resultobj;
26121 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26122 PyObject * obj0 = 0 ;
26123 char *kwnames[] = {
26124 (char *) "self", NULL
26125 };
26126
26127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
15afbcd0
RD
26128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26130 {
26131 PyThreadState* __tstate = wxPyBeginAllowThreads();
26132 (arg1)->base_OnLeave();
26133
26134 wxPyEndAllowThreads(__tstate);
26135 if (PyErr_Occurred()) SWIG_fail;
26136 }
26137 Py_INCREF(Py_None); resultobj = Py_None;
26138 return resultobj;
26139 fail:
26140 return NULL;
26141}
26142
26143
26144static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26145 PyObject *resultobj;
26146 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
e811c8ce
RD
26147 int arg2 ;
26148 int arg3 ;
d14a1e28
RD
26149 bool result;
26150 PyObject * obj0 = 0 ;
994141e6
RD
26151 PyObject * obj1 = 0 ;
26152 PyObject * obj2 = 0 ;
d14a1e28
RD
26153 char *kwnames[] = {
26154 (char *) "self",(char *) "x",(char *) "y", NULL
26155 };
26156
994141e6 26157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26160 arg2 = (int) SWIG_AsInt(obj1);
26161 if (PyErr_Occurred()) SWIG_fail;
26162 arg3 = (int) SWIG_AsInt(obj2);
26163 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26164 {
26165 PyThreadState* __tstate = wxPyBeginAllowThreads();
26166 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26167
26168 wxPyEndAllowThreads(__tstate);
26169 if (PyErr_Occurred()) SWIG_fail;
26170 }
4f89f6a3
RD
26171 {
26172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26173 }
d14a1e28
RD
26174 return resultobj;
26175 fail:
26176 return NULL;
26177}
26178
26179
26180static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26181 PyObject *resultobj;
26182 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26183 bool result;
26184 PyObject * obj0 = 0 ;
26185 char *kwnames[] = {
26186 (char *) "self", NULL
26187 };
26188
26189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
26190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26192 {
26193 PyThreadState* __tstate = wxPyBeginAllowThreads();
26194 result = (bool)(arg1)->GetData();
26195
26196 wxPyEndAllowThreads(__tstate);
26197 if (PyErr_Occurred()) SWIG_fail;
26198 }
4f89f6a3
RD
26199 {
26200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26201 }
d14a1e28
RD
26202 return resultobj;
26203 fail:
26204 return NULL;
26205}
26206
26207
26208static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
26209 PyObject *obj;
26210 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26211 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
26212 Py_INCREF(obj);
26213 return Py_BuildValue((char *)"");
26214}
26215static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26216 PyObject *resultobj;
26217 wxPyTextDropTarget *result;
26218 char *kwnames[] = {
26219 NULL
26220 };
26221
26222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
26223 {
26224 PyThreadState* __tstate = wxPyBeginAllowThreads();
26225 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
26226
26227 wxPyEndAllowThreads(__tstate);
26228 if (PyErr_Occurred()) SWIG_fail;
26229 }
15afbcd0 26230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
d14a1e28
RD
26231 return resultobj;
26232 fail:
26233 return NULL;
26234}
26235
26236
26237static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26238 PyObject *resultobj;
26239 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26240 PyObject *arg2 = (PyObject *) 0 ;
26241 PyObject *arg3 = (PyObject *) 0 ;
26242 PyObject * obj0 = 0 ;
26243 PyObject * obj1 = 0 ;
26244 PyObject * obj2 = 0 ;
26245 char *kwnames[] = {
26246 (char *) "self",(char *) "self",(char *) "_class", NULL
26247 };
26248
26249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26252 arg2 = obj1;
26253 arg3 = obj2;
26254 {
26255 PyThreadState* __tstate = wxPyBeginAllowThreads();
26256 (arg1)->_setCallbackInfo(arg2,arg3);
26257
26258 wxPyEndAllowThreads(__tstate);
26259 if (PyErr_Occurred()) SWIG_fail;
26260 }
26261 Py_INCREF(Py_None); resultobj = Py_None;
26262 return resultobj;
26263 fail:
26264 return NULL;
26265}
26266
26267
26268static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26269 PyObject *resultobj;
26270 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
26271 int arg2 ;
26272 int arg3 ;
d14a1e28
RD
26273 int arg4 ;
26274 int result;
26275 PyObject * obj0 = 0 ;
994141e6
RD
26276 PyObject * obj1 = 0 ;
26277 PyObject * obj2 = 0 ;
26278 PyObject * obj3 = 0 ;
d14a1e28
RD
26279 char *kwnames[] = {
26280 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26281 };
26282
994141e6 26283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
26284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26286 arg2 = (int) SWIG_AsInt(obj1);
26287 if (PyErr_Occurred()) SWIG_fail;
26288 arg3 = (int) SWIG_AsInt(obj2);
26289 if (PyErr_Occurred()) SWIG_fail;
26290 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26291 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26292 {
26293 PyThreadState* __tstate = wxPyBeginAllowThreads();
26294 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26295
26296 wxPyEndAllowThreads(__tstate);
26297 if (PyErr_Occurred()) SWIG_fail;
26298 }
15afbcd0 26299 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26300 return resultobj;
26301 fail:
26302 return NULL;
26303}
26304
26305
26306static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26307 PyObject *resultobj;
26308 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
26309 int arg2 ;
26310 int arg3 ;
d14a1e28
RD
26311 int arg4 ;
26312 int result;
26313 PyObject * obj0 = 0 ;
994141e6
RD
26314 PyObject * obj1 = 0 ;
26315 PyObject * obj2 = 0 ;
26316 PyObject * obj3 = 0 ;
d14a1e28
RD
26317 char *kwnames[] = {
26318 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26319 };
26320
994141e6 26321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
26322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26324 arg2 = (int) SWIG_AsInt(obj1);
26325 if (PyErr_Occurred()) SWIG_fail;
26326 arg3 = (int) SWIG_AsInt(obj2);
26327 if (PyErr_Occurred()) SWIG_fail;
26328 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26329 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26330 {
26331 PyThreadState* __tstate = wxPyBeginAllowThreads();
26332 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26333
26334 wxPyEndAllowThreads(__tstate);
26335 if (PyErr_Occurred()) SWIG_fail;
26336 }
15afbcd0 26337 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26338 return resultobj;
26339 fail:
26340 return NULL;
26341}
26342
26343
26344static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26345 PyObject *resultobj;
26346 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26347 PyObject * obj0 = 0 ;
26348 char *kwnames[] = {
26349 (char *) "self", NULL
26350 };
26351
26352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
15afbcd0
RD
26353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26355 {
26356 PyThreadState* __tstate = wxPyBeginAllowThreads();
26357 (arg1)->base_OnLeave();
26358
26359 wxPyEndAllowThreads(__tstate);
26360 if (PyErr_Occurred()) SWIG_fail;
26361 }
26362 Py_INCREF(Py_None); resultobj = Py_None;
26363 return resultobj;
26364 fail:
26365 return NULL;
26366}
26367
26368
26369static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26370 PyObject *resultobj;
26371 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
26372 int arg2 ;
26373 int arg3 ;
d14a1e28
RD
26374 bool result;
26375 PyObject * obj0 = 0 ;
994141e6
RD
26376 PyObject * obj1 = 0 ;
26377 PyObject * obj2 = 0 ;
d14a1e28
RD
26378 char *kwnames[] = {
26379 (char *) "self",(char *) "x",(char *) "y", NULL
26380 };
26381
994141e6 26382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26385 arg2 = (int) SWIG_AsInt(obj1);
26386 if (PyErr_Occurred()) SWIG_fail;
26387 arg3 = (int) SWIG_AsInt(obj2);
26388 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26389 {
26390 PyThreadState* __tstate = wxPyBeginAllowThreads();
26391 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26392
26393 wxPyEndAllowThreads(__tstate);
26394 if (PyErr_Occurred()) SWIG_fail;
26395 }
4f89f6a3
RD
26396 {
26397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26398 }
d14a1e28
RD
26399 return resultobj;
26400 fail:
26401 return NULL;
26402}
26403
26404
26405static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26406 PyObject *resultobj;
26407 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
26408 int arg2 ;
26409 int arg3 ;
d14a1e28
RD
26410 int arg4 ;
26411 int result;
26412 PyObject * obj0 = 0 ;
994141e6
RD
26413 PyObject * obj1 = 0 ;
26414 PyObject * obj2 = 0 ;
26415 PyObject * obj3 = 0 ;
d14a1e28
RD
26416 char *kwnames[] = {
26417 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26418 };
26419
994141e6 26420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
26421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26423 arg2 = (int) SWIG_AsInt(obj1);
26424 if (PyErr_Occurred()) SWIG_fail;
26425 arg3 = (int) SWIG_AsInt(obj2);
26426 if (PyErr_Occurred()) SWIG_fail;
26427 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26428 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26429 {
26430 PyThreadState* __tstate = wxPyBeginAllowThreads();
26431 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26432
26433 wxPyEndAllowThreads(__tstate);
26434 if (PyErr_Occurred()) SWIG_fail;
26435 }
15afbcd0 26436 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26437 return resultobj;
26438 fail:
26439 return NULL;
26440}
26441
26442
26443static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
26444 PyObject *obj;
26445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26446 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
26447 Py_INCREF(obj);
26448 return Py_BuildValue((char *)"");
26449}
26450static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26451 PyObject *resultobj;
26452 wxPyFileDropTarget *result;
26453 char *kwnames[] = {
26454 NULL
26455 };
26456
26457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
26458 {
26459 PyThreadState* __tstate = wxPyBeginAllowThreads();
26460 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
26461
26462 wxPyEndAllowThreads(__tstate);
26463 if (PyErr_Occurred()) SWIG_fail;
26464 }
15afbcd0 26465 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
d14a1e28
RD
26466 return resultobj;
26467 fail:
26468 return NULL;
26469}
26470
26471
26472static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26473 PyObject *resultobj;
26474 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26475 PyObject *arg2 = (PyObject *) 0 ;
26476 PyObject *arg3 = (PyObject *) 0 ;
26477 PyObject * obj0 = 0 ;
26478 PyObject * obj1 = 0 ;
26479 PyObject * obj2 = 0 ;
26480 char *kwnames[] = {
26481 (char *) "self",(char *) "self",(char *) "_class", NULL
26482 };
26483
26484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26487 arg2 = obj1;
26488 arg3 = obj2;
26489 {
26490 PyThreadState* __tstate = wxPyBeginAllowThreads();
26491 (arg1)->_setCallbackInfo(arg2,arg3);
26492
26493 wxPyEndAllowThreads(__tstate);
26494 if (PyErr_Occurred()) SWIG_fail;
26495 }
26496 Py_INCREF(Py_None); resultobj = Py_None;
26497 return resultobj;
26498 fail:
26499 return NULL;
26500}
26501
26502
26503static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26504 PyObject *resultobj;
26505 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
26506 int arg2 ;
26507 int arg3 ;
d14a1e28
RD
26508 int arg4 ;
26509 int result;
26510 PyObject * obj0 = 0 ;
994141e6
RD
26511 PyObject * obj1 = 0 ;
26512 PyObject * obj2 = 0 ;
26513 PyObject * obj3 = 0 ;
d14a1e28
RD
26514 char *kwnames[] = {
26515 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26516 };
26517
994141e6 26518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
26519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26521 arg2 = (int) SWIG_AsInt(obj1);
26522 if (PyErr_Occurred()) SWIG_fail;
26523 arg3 = (int) SWIG_AsInt(obj2);
26524 if (PyErr_Occurred()) SWIG_fail;
26525 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26526 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26527 {
26528 PyThreadState* __tstate = wxPyBeginAllowThreads();
26529 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26530
26531 wxPyEndAllowThreads(__tstate);
26532 if (PyErr_Occurred()) SWIG_fail;
26533 }
15afbcd0 26534 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26535 return resultobj;
26536 fail:
26537 return NULL;
26538}
26539
26540
26541static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26542 PyObject *resultobj;
26543 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
26544 int arg2 ;
26545 int arg3 ;
d14a1e28
RD
26546 int arg4 ;
26547 int result;
26548 PyObject * obj0 = 0 ;
994141e6
RD
26549 PyObject * obj1 = 0 ;
26550 PyObject * obj2 = 0 ;
26551 PyObject * obj3 = 0 ;
d14a1e28
RD
26552 char *kwnames[] = {
26553 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26554 };
26555
994141e6 26556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
26557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26559 arg2 = (int) SWIG_AsInt(obj1);
26560 if (PyErr_Occurred()) SWIG_fail;
26561 arg3 = (int) SWIG_AsInt(obj2);
26562 if (PyErr_Occurred()) SWIG_fail;
26563 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26564 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26565 {
26566 PyThreadState* __tstate = wxPyBeginAllowThreads();
26567 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26568
26569 wxPyEndAllowThreads(__tstate);
26570 if (PyErr_Occurred()) SWIG_fail;
26571 }
15afbcd0 26572 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26573 return resultobj;
26574 fail:
26575 return NULL;
26576}
26577
26578
26579static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26580 PyObject *resultobj;
26581 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26582 PyObject * obj0 = 0 ;
26583 char *kwnames[] = {
26584 (char *) "self", NULL
26585 };
26586
26587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
15afbcd0
RD
26588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26590 {
26591 PyThreadState* __tstate = wxPyBeginAllowThreads();
26592 (arg1)->base_OnLeave();
26593
26594 wxPyEndAllowThreads(__tstate);
26595 if (PyErr_Occurred()) SWIG_fail;
26596 }
26597 Py_INCREF(Py_None); resultobj = Py_None;
26598 return resultobj;
26599 fail:
26600 return NULL;
26601}
26602
26603
26604static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26605 PyObject *resultobj;
26606 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
26607 int arg2 ;
26608 int arg3 ;
d14a1e28
RD
26609 bool result;
26610 PyObject * obj0 = 0 ;
994141e6
RD
26611 PyObject * obj1 = 0 ;
26612 PyObject * obj2 = 0 ;
d14a1e28
RD
26613 char *kwnames[] = {
26614 (char *) "self",(char *) "x",(char *) "y", NULL
26615 };
26616
994141e6 26617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26620 arg2 = (int) SWIG_AsInt(obj1);
26621 if (PyErr_Occurred()) SWIG_fail;
26622 arg3 = (int) SWIG_AsInt(obj2);
26623 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26624 {
26625 PyThreadState* __tstate = wxPyBeginAllowThreads();
26626 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26627
26628 wxPyEndAllowThreads(__tstate);
26629 if (PyErr_Occurred()) SWIG_fail;
26630 }
4f89f6a3
RD
26631 {
26632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26633 }
d14a1e28
RD
26634 return resultobj;
26635 fail:
26636 return NULL;
26637}
26638
26639
26640static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26641 PyObject *resultobj;
26642 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
26643 int arg2 ;
26644 int arg3 ;
d14a1e28
RD
26645 int arg4 ;
26646 int result;
26647 PyObject * obj0 = 0 ;
994141e6
RD
26648 PyObject * obj1 = 0 ;
26649 PyObject * obj2 = 0 ;
26650 PyObject * obj3 = 0 ;
d14a1e28
RD
26651 char *kwnames[] = {
26652 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26653 };
26654
994141e6 26655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
26656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26658 arg2 = (int) SWIG_AsInt(obj1);
26659 if (PyErr_Occurred()) SWIG_fail;
26660 arg3 = (int) SWIG_AsInt(obj2);
26661 if (PyErr_Occurred()) SWIG_fail;
26662 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26663 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26664 {
26665 PyThreadState* __tstate = wxPyBeginAllowThreads();
26666 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26667
26668 wxPyEndAllowThreads(__tstate);
26669 if (PyErr_Occurred()) SWIG_fail;
26670 }
15afbcd0 26671 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26672 return resultobj;
26673 fail:
26674 return NULL;
26675}
26676
26677
26678static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
26679 PyObject *obj;
26680 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26681 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
26682 Py_INCREF(obj);
26683 return Py_BuildValue((char *)"");
26684}
26685static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26686 PyObject *resultobj;
26687 wxClipboard *result;
26688 char *kwnames[] = {
26689 NULL
26690 };
26691
26692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
26693 {
26694 PyThreadState* __tstate = wxPyBeginAllowThreads();
26695 result = (wxClipboard *)new wxClipboard();
26696
26697 wxPyEndAllowThreads(__tstate);
26698 if (PyErr_Occurred()) SWIG_fail;
26699 }
15afbcd0 26700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
d14a1e28
RD
26701 return resultobj;
26702 fail:
26703 return NULL;
26704}
26705
26706
26707static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26708 PyObject *resultobj;
26709 wxClipboard *arg1 = (wxClipboard *) 0 ;
26710 PyObject * obj0 = 0 ;
26711 char *kwnames[] = {
26712 (char *) "self", NULL
26713 };
26714
26715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
26716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26718 {
26719 PyThreadState* __tstate = wxPyBeginAllowThreads();
26720 delete arg1;
26721
26722 wxPyEndAllowThreads(__tstate);
26723 if (PyErr_Occurred()) SWIG_fail;
26724 }
26725 Py_INCREF(Py_None); resultobj = Py_None;
26726 return resultobj;
26727 fail:
26728 return NULL;
26729}
26730
26731
26732static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
26733 PyObject *resultobj;
26734 wxClipboard *arg1 = (wxClipboard *) 0 ;
26735 bool result;
26736 PyObject * obj0 = 0 ;
26737 char *kwnames[] = {
26738 (char *) "self", NULL
26739 };
26740
26741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
15afbcd0
RD
26742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26744 {
26745 PyThreadState* __tstate = wxPyBeginAllowThreads();
26746 result = (bool)(arg1)->Open();
26747
26748 wxPyEndAllowThreads(__tstate);
26749 if (PyErr_Occurred()) SWIG_fail;
26750 }
4f89f6a3
RD
26751 {
26752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26753 }
d14a1e28
RD
26754 return resultobj;
26755 fail:
26756 return NULL;
26757}
26758
26759
26760static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
26761 PyObject *resultobj;
26762 wxClipboard *arg1 = (wxClipboard *) 0 ;
26763 PyObject * obj0 = 0 ;
26764 char *kwnames[] = {
26765 (char *) "self", NULL
26766 };
26767
26768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
15afbcd0
RD
26769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26771 {
26772 PyThreadState* __tstate = wxPyBeginAllowThreads();
26773 (arg1)->Close();
26774
26775 wxPyEndAllowThreads(__tstate);
26776 if (PyErr_Occurred()) SWIG_fail;
26777 }
26778 Py_INCREF(Py_None); resultobj = Py_None;
26779 return resultobj;
26780 fail:
26781 return NULL;
26782}
26783
26784
26785static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
26786 PyObject *resultobj;
26787 wxClipboard *arg1 = (wxClipboard *) 0 ;
26788 bool result;
26789 PyObject * obj0 = 0 ;
26790 char *kwnames[] = {
26791 (char *) "self", NULL
26792 };
26793
26794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
15afbcd0
RD
26795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26797 {
26798 PyThreadState* __tstate = wxPyBeginAllowThreads();
26799 result = (bool)((wxClipboard const *)arg1)->IsOpened();
26800
26801 wxPyEndAllowThreads(__tstate);
26802 if (PyErr_Occurred()) SWIG_fail;
26803 }
4f89f6a3
RD
26804 {
26805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26806 }
d14a1e28
RD
26807 return resultobj;
26808 fail:
26809 return NULL;
26810}
26811
26812
26813static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
26814 PyObject *resultobj;
26815 wxClipboard *arg1 = (wxClipboard *) 0 ;
26816 wxDataObject *arg2 = (wxDataObject *) 0 ;
26817 bool result;
26818 PyObject * obj0 = 0 ;
26819 PyObject * obj1 = 0 ;
26820 char *kwnames[] = {
26821 (char *) "self",(char *) "data", NULL
26822 };
26823
26824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26827 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26828 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
26829 {
26830 PyThreadState* __tstate = wxPyBeginAllowThreads();
26831 result = (bool)(arg1)->AddData(arg2);
26832
26833 wxPyEndAllowThreads(__tstate);
26834 if (PyErr_Occurred()) SWIG_fail;
26835 }
4f89f6a3
RD
26836 {
26837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26838 }
d14a1e28
RD
26839 return resultobj;
26840 fail:
26841 return NULL;
26842}
26843
26844
26845static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26846 PyObject *resultobj;
26847 wxClipboard *arg1 = (wxClipboard *) 0 ;
26848 wxDataObject *arg2 = (wxDataObject *) 0 ;
26849 bool result;
26850 PyObject * obj0 = 0 ;
26851 PyObject * obj1 = 0 ;
26852 char *kwnames[] = {
26853 (char *) "self",(char *) "data", NULL
26854 };
26855
26856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26859 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26860 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
26861 {
26862 PyThreadState* __tstate = wxPyBeginAllowThreads();
26863 result = (bool)(arg1)->SetData(arg2);
26864
26865 wxPyEndAllowThreads(__tstate);
26866 if (PyErr_Occurred()) SWIG_fail;
26867 }
4f89f6a3
RD
26868 {
26869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26870 }
d14a1e28
RD
26871 return resultobj;
26872 fail:
26873 return NULL;
26874}
26875
26876
26877static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
26878 PyObject *resultobj;
26879 wxClipboard *arg1 = (wxClipboard *) 0 ;
26880 wxDataFormat *arg2 = 0 ;
26881 bool result;
26882 PyObject * obj0 = 0 ;
26883 PyObject * obj1 = 0 ;
26884 char *kwnames[] = {
26885 (char *) "self",(char *) "format", NULL
26886 };
26887
26888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26891 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
26892 SWIG_POINTER_EXCEPTION | 0)) == -1)
26893 SWIG_fail;
d14a1e28 26894 if (arg2 == NULL) {
15afbcd0
RD
26895 PyErr_SetString(PyExc_TypeError,"null reference");
26896 SWIG_fail;
d14a1e28
RD
26897 }
26898 {
26899 PyThreadState* __tstate = wxPyBeginAllowThreads();
26900 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
26901
26902 wxPyEndAllowThreads(__tstate);
26903 if (PyErr_Occurred()) SWIG_fail;
26904 }
4f89f6a3
RD
26905 {
26906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26907 }
d14a1e28
RD
26908 return resultobj;
26909 fail:
26910 return NULL;
26911}
26912
26913
26914static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26915 PyObject *resultobj;
26916 wxClipboard *arg1 = (wxClipboard *) 0 ;
26917 wxDataObject *arg2 = 0 ;
26918 bool result;
26919 PyObject * obj0 = 0 ;
26920 PyObject * obj1 = 0 ;
26921 char *kwnames[] = {
26922 (char *) "self",(char *) "data", NULL
26923 };
26924
26925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26928 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26929 SWIG_POINTER_EXCEPTION | 0)) == -1)
26930 SWIG_fail;
d14a1e28 26931 if (arg2 == NULL) {
15afbcd0
RD
26932 PyErr_SetString(PyExc_TypeError,"null reference");
26933 SWIG_fail;
d14a1e28
RD
26934 }
26935 {
26936 PyThreadState* __tstate = wxPyBeginAllowThreads();
26937 result = (bool)(arg1)->GetData(*arg2);
26938
26939 wxPyEndAllowThreads(__tstate);
26940 if (PyErr_Occurred()) SWIG_fail;
26941 }
4f89f6a3
RD
26942 {
26943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26944 }
d14a1e28
RD
26945 return resultobj;
26946 fail:
26947 return NULL;
26948}
26949
26950
26951static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
26952 PyObject *resultobj;
26953 wxClipboard *arg1 = (wxClipboard *) 0 ;
26954 PyObject * obj0 = 0 ;
26955 char *kwnames[] = {
26956 (char *) "self", NULL
26957 };
26958
26959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
26960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26962 {
26963 PyThreadState* __tstate = wxPyBeginAllowThreads();
26964 (arg1)->Clear();
26965
26966 wxPyEndAllowThreads(__tstate);
26967 if (PyErr_Occurred()) SWIG_fail;
26968 }
26969 Py_INCREF(Py_None); resultobj = Py_None;
26970 return resultobj;
26971 fail:
26972 return NULL;
26973}
26974
26975
26976static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
26977 PyObject *resultobj;
26978 wxClipboard *arg1 = (wxClipboard *) 0 ;
26979 bool result;
26980 PyObject * obj0 = 0 ;
26981 char *kwnames[] = {
26982 (char *) "self", NULL
26983 };
26984
26985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
15afbcd0
RD
26986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26988 {
26989 PyThreadState* __tstate = wxPyBeginAllowThreads();
26990 result = (bool)(arg1)->Flush();
26991
26992 wxPyEndAllowThreads(__tstate);
26993 if (PyErr_Occurred()) SWIG_fail;
26994 }
4f89f6a3
RD
26995 {
26996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26997 }
d14a1e28
RD
26998 return resultobj;
26999 fail:
27000 return NULL;
27001}
27002
27003
27004static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
27005 PyObject *resultobj;
27006 wxClipboard *arg1 = (wxClipboard *) 0 ;
fcafa8a9 27007 bool arg2 = (bool) True ;
d14a1e28
RD
27008 PyObject * obj0 = 0 ;
27009 PyObject * obj1 = 0 ;
27010 char *kwnames[] = {
27011 (char *) "self",(char *) "primary", NULL
27012 };
27013
27014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 27017 if (obj1) {
15afbcd0
RD
27018 arg2 = (bool) SWIG_AsBool(obj1);
27019 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27020 }
27021 {
27022 PyThreadState* __tstate = wxPyBeginAllowThreads();
27023 (arg1)->UsePrimarySelection(arg2);
27024
27025 wxPyEndAllowThreads(__tstate);
27026 if (PyErr_Occurred()) SWIG_fail;
27027 }
27028 Py_INCREF(Py_None); resultobj = Py_None;
27029 return resultobj;
27030 fail:
27031 return NULL;
27032}
27033
27034
27035static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
27036 PyObject *obj;
27037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27038 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
27039 Py_INCREF(obj);
27040 return Py_BuildValue((char *)"");
27041}
27042static int _wrap_TheClipboard_set(PyObject *_val) {
27043 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
27044 return 1;
27045}
27046
27047
27048static PyObject *_wrap_TheClipboard_get() {
27049 PyObject *pyobj;
27050
15afbcd0 27051 pyobj = SWIG_NewPointerObj((void *)(wxTheClipboard), SWIGTYPE_p_wxClipboard, 0);
d14a1e28
RD
27052 return pyobj;
27053}
27054
27055
27056static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
27057 PyObject *resultobj;
27058 wxClipboard *arg1 = (wxClipboard *) NULL ;
27059 wxClipboardLocker *result;
27060 PyObject * obj0 = 0 ;
27061 char *kwnames[] = {
27062 (char *) "clipboard", NULL
27063 };
27064
27065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
27066 if (obj0) {
15afbcd0
RD
27067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27069 }
27070 {
27071 PyThreadState* __tstate = wxPyBeginAllowThreads();
27072 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
27073
27074 wxPyEndAllowThreads(__tstate);
27075 if (PyErr_Occurred()) SWIG_fail;
27076 }
15afbcd0 27077 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
d14a1e28
RD
27078 return resultobj;
27079 fail:
27080 return NULL;
27081}
27082
27083
27084static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
27085 PyObject *resultobj;
27086 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27087 PyObject * obj0 = 0 ;
27088 char *kwnames[] = {
27089 (char *) "self", NULL
27090 };
27091
27092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
15afbcd0
RD
27093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27095 {
27096 PyThreadState* __tstate = wxPyBeginAllowThreads();
27097 delete arg1;
27098
27099 wxPyEndAllowThreads(__tstate);
27100 if (PyErr_Occurred()) SWIG_fail;
27101 }
27102 Py_INCREF(Py_None); resultobj = Py_None;
27103 return resultobj;
27104 fail:
27105 return NULL;
27106}
27107
27108
27109static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
27110 PyObject *resultobj;
27111 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27112 bool result;
27113 PyObject * obj0 = 0 ;
27114 char *kwnames[] = {
27115 (char *) "self", NULL
27116 };
27117
27118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
15afbcd0
RD
27119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27121 {
27122 PyThreadState* __tstate = wxPyBeginAllowThreads();
27123 result = (bool)wxClipboardLocker___nonzero__(arg1);
27124
27125 wxPyEndAllowThreads(__tstate);
27126 if (PyErr_Occurred()) SWIG_fail;
27127 }
4f89f6a3
RD
27128 {
27129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27130 }
d14a1e28
RD
27131 return resultobj;
27132 fail:
27133 return NULL;
27134}
27135
27136
27137static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
27138 PyObject *obj;
27139 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27140 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
27141 Py_INCREF(obj);
27142 return Py_BuildValue((char *)"");
27143}
4276dc52
RD
27144static PyObject *_wrap_new_VideoMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27145 PyObject *resultobj;
27146 int arg1 = (int) 0 ;
27147 int arg2 = (int) 0 ;
27148 int arg3 = (int) 0 ;
27149 int arg4 = (int) 0 ;
27150 wxVideoMode *result;
27151 PyObject * obj0 = 0 ;
27152 PyObject * obj1 = 0 ;
27153 PyObject * obj2 = 0 ;
27154 PyObject * obj3 = 0 ;
27155 char *kwnames[] = {
27156 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27157 };
27158
27159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27160 if (obj0) {
27161 arg1 = (int) SWIG_AsInt(obj0);
27162 if (PyErr_Occurred()) SWIG_fail;
27163 }
27164 if (obj1) {
27165 arg2 = (int) SWIG_AsInt(obj1);
27166 if (PyErr_Occurred()) SWIG_fail;
27167 }
27168 if (obj2) {
27169 arg3 = (int) SWIG_AsInt(obj2);
27170 if (PyErr_Occurred()) SWIG_fail;
27171 }
27172 if (obj3) {
27173 arg4 = (int) SWIG_AsInt(obj3);
27174 if (PyErr_Occurred()) SWIG_fail;
27175 }
27176 {
27177 PyThreadState* __tstate = wxPyBeginAllowThreads();
27178 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
27179
27180 wxPyEndAllowThreads(__tstate);
27181 if (PyErr_Occurred()) SWIG_fail;
27182 }
27183 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
27184 return resultobj;
27185 fail:
27186 return NULL;
27187}
27188
27189
27190static PyObject *_wrap_delete_VideoMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27191 PyObject *resultobj;
27192 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27193 PyObject * obj0 = 0 ;
27194 char *kwnames[] = {
27195 (char *) "self", NULL
27196 };
27197
27198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
27199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27201 {
27202 PyThreadState* __tstate = wxPyBeginAllowThreads();
27203 delete arg1;
27204
27205 wxPyEndAllowThreads(__tstate);
27206 if (PyErr_Occurred()) SWIG_fail;
27207 }
27208 Py_INCREF(Py_None); resultobj = Py_None;
27209 return resultobj;
27210 fail:
27211 return NULL;
27212}
27213
27214
27215static PyObject *_wrap_VideoMode_Matches(PyObject *self, PyObject *args, PyObject *kwargs) {
27216 PyObject *resultobj;
27217 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27218 wxVideoMode *arg2 = 0 ;
27219 bool result;
27220 PyObject * obj0 = 0 ;
27221 PyObject * obj1 = 0 ;
27222 char *kwnames[] = {
27223 (char *) "self",(char *) "other", NULL
27224 };
27225
27226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
27227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27229 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27230 SWIG_POINTER_EXCEPTION | 0)) == -1)
27231 SWIG_fail;
27232 if (arg2 == NULL) {
27233 PyErr_SetString(PyExc_TypeError,"null reference");
27234 SWIG_fail;
27235 }
27236 {
27237 PyThreadState* __tstate = wxPyBeginAllowThreads();
27238 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
27239
27240 wxPyEndAllowThreads(__tstate);
27241 if (PyErr_Occurred()) SWIG_fail;
27242 }
4f89f6a3
RD
27243 {
27244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27245 }
4276dc52
RD
27246 return resultobj;
27247 fail:
27248 return NULL;
27249}
27250
27251
27252static PyObject *_wrap_VideoMode_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
27253 PyObject *resultobj;
27254 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27255 int result;
27256 PyObject * obj0 = 0 ;
27257 char *kwnames[] = {
27258 (char *) "self", NULL
27259 };
27260
27261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
27262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27264 {
27265 PyThreadState* __tstate = wxPyBeginAllowThreads();
27266 result = (int)((wxVideoMode const *)arg1)->GetWidth();
27267
27268 wxPyEndAllowThreads(__tstate);
27269 if (PyErr_Occurred()) SWIG_fail;
27270 }
27271 resultobj = SWIG_FromInt((int)result);
27272 return resultobj;
27273 fail:
27274 return NULL;
27275}
27276
27277
27278static PyObject *_wrap_VideoMode_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
27279 PyObject *resultobj;
27280 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27281 int result;
27282 PyObject * obj0 = 0 ;
27283 char *kwnames[] = {
27284 (char *) "self", NULL
27285 };
27286
27287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
27288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27290 {
27291 PyThreadState* __tstate = wxPyBeginAllowThreads();
27292 result = (int)((wxVideoMode const *)arg1)->GetHeight();
27293
27294 wxPyEndAllowThreads(__tstate);
27295 if (PyErr_Occurred()) SWIG_fail;
27296 }
27297 resultobj = SWIG_FromInt((int)result);
27298 return resultobj;
27299 fail:
27300 return NULL;
27301}
27302
27303
27304static PyObject *_wrap_VideoMode_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
27305 PyObject *resultobj;
27306 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27307 int result;
27308 PyObject * obj0 = 0 ;
27309 char *kwnames[] = {
27310 (char *) "self", NULL
27311 };
27312
27313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
27314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27316 {
27317 PyThreadState* __tstate = wxPyBeginAllowThreads();
27318 result = (int)((wxVideoMode const *)arg1)->GetDepth();
27319
27320 wxPyEndAllowThreads(__tstate);
27321 if (PyErr_Occurred()) SWIG_fail;
27322 }
27323 resultobj = SWIG_FromInt((int)result);
27324 return resultobj;
27325 fail:
27326 return NULL;
27327}
27328
27329
27330static PyObject *_wrap_VideoMode_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
27331 PyObject *resultobj;
27332 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27333 bool result;
27334 PyObject * obj0 = 0 ;
27335 char *kwnames[] = {
27336 (char *) "self", NULL
27337 };
27338
27339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
27340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27342 {
27343 PyThreadState* __tstate = wxPyBeginAllowThreads();
27344 result = (bool)((wxVideoMode const *)arg1)->IsOk();
27345
27346 wxPyEndAllowThreads(__tstate);
27347 if (PyErr_Occurred()) SWIG_fail;
27348 }
4f89f6a3
RD
27349 {
27350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27351 }
4276dc52
RD
27352 return resultobj;
27353 fail:
27354 return NULL;
27355}
27356
27357
27358static PyObject *_wrap_VideoMode___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
27359 PyObject *resultobj;
27360 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27361 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27362 bool result;
27363 PyObject * obj0 = 0 ;
27364 PyObject * obj1 = 0 ;
27365 char *kwnames[] = {
27366 (char *) "self",(char *) "other", NULL
27367 };
27368
27369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
27370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27372 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27374 {
27375 PyThreadState* __tstate = wxPyBeginAllowThreads();
27376 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
27377
27378 wxPyEndAllowThreads(__tstate);
27379 if (PyErr_Occurred()) SWIG_fail;
27380 }
4f89f6a3
RD
27381 {
27382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27383 }
4276dc52
RD
27384 return resultobj;
27385 fail:
27386 return NULL;
27387}
27388
27389
27390static PyObject *_wrap_VideoMode___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
27391 PyObject *resultobj;
27392 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27393 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27394 bool result;
27395 PyObject * obj0 = 0 ;
27396 PyObject * obj1 = 0 ;
27397 char *kwnames[] = {
27398 (char *) "self",(char *) "other", NULL
27399 };
27400
27401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
27402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27404 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27406 {
27407 PyThreadState* __tstate = wxPyBeginAllowThreads();
27408 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
27409
27410 wxPyEndAllowThreads(__tstate);
27411 if (PyErr_Occurred()) SWIG_fail;
27412 }
4f89f6a3
RD
27413 {
27414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27415 }
4276dc52
RD
27416 return resultobj;
27417 fail:
27418 return NULL;
27419}
27420
27421
27422static PyObject *_wrap_VideoMode_w_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27423 PyObject *resultobj;
27424 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27425 int arg2 ;
27426 PyObject * obj0 = 0 ;
27427 PyObject * obj1 = 0 ;
27428 char *kwnames[] = {
27429 (char *) "self",(char *) "w", NULL
27430 };
27431
27432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
27433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27435 arg2 = (int) SWIG_AsInt(obj1);
27436 if (PyErr_Occurred()) SWIG_fail;
27437 if (arg1) (arg1)->w = arg2;
27438
27439 Py_INCREF(Py_None); resultobj = Py_None;
27440 return resultobj;
27441 fail:
27442 return NULL;
27443}
27444
27445
27446static PyObject *_wrap_VideoMode_w_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27447 PyObject *resultobj;
27448 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27449 int result;
27450 PyObject * obj0 = 0 ;
27451 char *kwnames[] = {
27452 (char *) "self", NULL
27453 };
27454
27455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
27456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27458 result = (int) ((arg1)->w);
27459
27460 resultobj = SWIG_FromInt((int)result);
27461 return resultobj;
27462 fail:
27463 return NULL;
27464}
27465
27466
27467static PyObject *_wrap_VideoMode_h_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27468 PyObject *resultobj;
27469 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27470 int arg2 ;
27471 PyObject * obj0 = 0 ;
27472 PyObject * obj1 = 0 ;
27473 char *kwnames[] = {
27474 (char *) "self",(char *) "h", NULL
27475 };
27476
27477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
27478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27480 arg2 = (int) SWIG_AsInt(obj1);
27481 if (PyErr_Occurred()) SWIG_fail;
27482 if (arg1) (arg1)->h = arg2;
27483
27484 Py_INCREF(Py_None); resultobj = Py_None;
27485 return resultobj;
27486 fail:
27487 return NULL;
27488}
27489
27490
27491static PyObject *_wrap_VideoMode_h_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27492 PyObject *resultobj;
27493 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27494 int result;
27495 PyObject * obj0 = 0 ;
27496 char *kwnames[] = {
27497 (char *) "self", NULL
27498 };
27499
27500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
27501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27503 result = (int) ((arg1)->h);
27504
27505 resultobj = SWIG_FromInt((int)result);
27506 return resultobj;
27507 fail:
27508 return NULL;
27509}
27510
27511
27512static PyObject *_wrap_VideoMode_bpp_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27513 PyObject *resultobj;
27514 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27515 int arg2 ;
27516 PyObject * obj0 = 0 ;
27517 PyObject * obj1 = 0 ;
27518 char *kwnames[] = {
27519 (char *) "self",(char *) "bpp", NULL
27520 };
27521
27522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
27523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27525 arg2 = (int) SWIG_AsInt(obj1);
27526 if (PyErr_Occurred()) SWIG_fail;
27527 if (arg1) (arg1)->bpp = arg2;
27528
27529 Py_INCREF(Py_None); resultobj = Py_None;
27530 return resultobj;
27531 fail:
27532 return NULL;
27533}
27534
27535
27536static PyObject *_wrap_VideoMode_bpp_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27537 PyObject *resultobj;
27538 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27539 int result;
27540 PyObject * obj0 = 0 ;
27541 char *kwnames[] = {
27542 (char *) "self", NULL
27543 };
27544
27545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
27546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27548 result = (int) ((arg1)->bpp);
27549
27550 resultobj = SWIG_FromInt((int)result);
27551 return resultobj;
27552 fail:
27553 return NULL;
27554}
27555
27556
27557static PyObject *_wrap_VideoMode_refresh_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27558 PyObject *resultobj;
27559 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27560 int arg2 ;
27561 PyObject * obj0 = 0 ;
27562 PyObject * obj1 = 0 ;
27563 char *kwnames[] = {
27564 (char *) "self",(char *) "refresh", NULL
27565 };
27566
27567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
27568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27570 arg2 = (int) SWIG_AsInt(obj1);
27571 if (PyErr_Occurred()) SWIG_fail;
27572 if (arg1) (arg1)->refresh = arg2;
27573
27574 Py_INCREF(Py_None); resultobj = Py_None;
27575 return resultobj;
27576 fail:
27577 return NULL;
27578}
27579
27580
27581static PyObject *_wrap_VideoMode_refresh_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27582 PyObject *resultobj;
27583 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27584 int result;
27585 PyObject * obj0 = 0 ;
27586 char *kwnames[] = {
27587 (char *) "self", NULL
27588 };
27589
27590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
27591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27593 result = (int) ((arg1)->refresh);
27594
27595 resultobj = SWIG_FromInt((int)result);
27596 return resultobj;
27597 fail:
27598 return NULL;
27599}
27600
27601
27602static PyObject * VideoMode_swigregister(PyObject *self, PyObject *args) {
27603 PyObject *obj;
27604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27605 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
27606 Py_INCREF(obj);
27607 return Py_BuildValue((char *)"");
27608}
27609static int _wrap_DefaultVideoMode_set(PyObject *_val) {
27610 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
27611 return 1;
27612}
27613
27614
27615static PyObject *_wrap_DefaultVideoMode_get() {
27616 PyObject *pyobj;
27617
27618 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
27619 return pyobj;
27620}
27621
27622
27623static PyObject *_wrap_new_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
27624 PyObject *resultobj;
27625 size_t arg1 = (size_t) 0 ;
27626 wxDisplay *result;
27627 PyObject * obj0 = 0 ;
27628 char *kwnames[] = {
27629 (char *) "index", NULL
27630 };
27631
27632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
27633 if (obj0) {
27634 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
27635 if (PyErr_Occurred()) SWIG_fail;
27636 }
27637 {
27638 PyThreadState* __tstate = wxPyBeginAllowThreads();
27639 result = (wxDisplay *)new wxDisplay(arg1);
27640
27641 wxPyEndAllowThreads(__tstate);
27642 if (PyErr_Occurred()) SWIG_fail;
27643 }
27644 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
27645 return resultobj;
27646 fail:
27647 return NULL;
27648}
27649
27650
27651static PyObject *_wrap_delete_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
27652 PyObject *resultobj;
27653 wxDisplay *arg1 = (wxDisplay *) 0 ;
27654 PyObject * obj0 = 0 ;
27655 char *kwnames[] = {
27656 (char *) "self", NULL
27657 };
27658
27659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
27660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27662 {
27663 PyThreadState* __tstate = wxPyBeginAllowThreads();
27664 delete arg1;
27665
27666 wxPyEndAllowThreads(__tstate);
27667 if (PyErr_Occurred()) SWIG_fail;
27668 }
27669 Py_INCREF(Py_None); resultobj = Py_None;
27670 return resultobj;
27671 fail:
27672 return NULL;
27673}
27674
27675
27676static PyObject *_wrap_Display_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
27677 PyObject *resultobj;
27678 size_t result;
27679 char *kwnames[] = {
27680 NULL
27681 };
27682
27683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
27684 {
27685 PyThreadState* __tstate = wxPyBeginAllowThreads();
27686 result = (size_t)wxDisplay::GetCount();
27687
27688 wxPyEndAllowThreads(__tstate);
27689 if (PyErr_Occurred()) SWIG_fail;
27690 }
27691 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
27692 return resultobj;
27693 fail:
27694 return NULL;
27695}
27696
27697
27698static PyObject *_wrap_Display_GetFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
27699 PyObject *resultobj;
27700 wxPoint *arg1 = 0 ;
27701 int result;
27702 wxPoint temp1 ;
27703 PyObject * obj0 = 0 ;
27704 char *kwnames[] = {
27705 (char *) "pt", NULL
27706 };
27707
27708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
27709 {
27710 arg1 = &temp1;
27711 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
27712 }
27713 {
27714 PyThreadState* __tstate = wxPyBeginAllowThreads();
27715 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
27716
27717 wxPyEndAllowThreads(__tstate);
27718 if (PyErr_Occurred()) SWIG_fail;
27719 }
27720 resultobj = SWIG_FromInt((int)result);
27721 return resultobj;
27722 fail:
27723 return NULL;
27724}
27725
27726
27727static PyObject *_wrap_Display_GetFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27728 PyObject *resultobj;
27729 wxWindow *arg1 = (wxWindow *) 0 ;
27730 int result;
27731 PyObject * obj0 = 0 ;
27732 char *kwnames[] = {
27733 (char *) "window", NULL
27734 };
27735
27736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
27737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27739 {
27740 PyThreadState* __tstate = wxPyBeginAllowThreads();
27741 result = (int)Display_GetFromWindow(arg1);
27742
27743 wxPyEndAllowThreads(__tstate);
27744 if (PyErr_Occurred()) SWIG_fail;
27745 }
27746 resultobj = SWIG_FromInt((int)result);
27747 return resultobj;
27748 fail:
27749 return NULL;
27750}
27751
27752
27753static PyObject *_wrap_Display_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
27754 PyObject *resultobj;
27755 wxDisplay *arg1 = (wxDisplay *) 0 ;
27756 bool result;
27757 PyObject * obj0 = 0 ;
27758 char *kwnames[] = {
27759 (char *) "self", NULL
27760 };
27761
27762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
27763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27765 {
27766 PyThreadState* __tstate = wxPyBeginAllowThreads();
27767 result = (bool)((wxDisplay const *)arg1)->IsOk();
27768
27769 wxPyEndAllowThreads(__tstate);
27770 if (PyErr_Occurred()) SWIG_fail;
27771 }
4f89f6a3
RD
27772 {
27773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27774 }
4276dc52
RD
27775 return resultobj;
27776 fail:
27777 return NULL;
27778}
27779
27780
27781static PyObject *_wrap_Display_GetGeometry(PyObject *self, PyObject *args, PyObject *kwargs) {
27782 PyObject *resultobj;
27783 wxDisplay *arg1 = (wxDisplay *) 0 ;
27784 wxRect result;
27785 PyObject * obj0 = 0 ;
27786 char *kwnames[] = {
27787 (char *) "self", NULL
27788 };
27789
27790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
27791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27793 {
27794 PyThreadState* __tstate = wxPyBeginAllowThreads();
27795 result = ((wxDisplay const *)arg1)->GetGeometry();
27796
27797 wxPyEndAllowThreads(__tstate);
27798 if (PyErr_Occurred()) SWIG_fail;
27799 }
27800 {
27801 wxRect * resultptr;
27802 resultptr = new wxRect((wxRect &) result);
27803 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
27804 }
27805 return resultobj;
27806 fail:
27807 return NULL;
27808}
27809
27810
27811static PyObject *_wrap_Display_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
27812 PyObject *resultobj;
27813 wxDisplay *arg1 = (wxDisplay *) 0 ;
27814 wxString result;
27815 PyObject * obj0 = 0 ;
27816 char *kwnames[] = {
27817 (char *) "self", NULL
27818 };
27819
27820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
27821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27823 {
27824 PyThreadState* __tstate = wxPyBeginAllowThreads();
27825 result = ((wxDisplay const *)arg1)->GetName();
27826
27827 wxPyEndAllowThreads(__tstate);
27828 if (PyErr_Occurred()) SWIG_fail;
27829 }
27830 {
27831#if wxUSE_UNICODE
27832 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27833#else
27834 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27835#endif
27836 }
27837 return resultobj;
27838 fail:
27839 return NULL;
27840}
27841
27842
27843static PyObject *_wrap_Display_IsPrimary(PyObject *self, PyObject *args, PyObject *kwargs) {
27844 PyObject *resultobj;
27845 wxDisplay *arg1 = (wxDisplay *) 0 ;
27846 bool result;
27847 PyObject * obj0 = 0 ;
27848 char *kwnames[] = {
27849 (char *) "self", NULL
27850 };
27851
27852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
27853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27855 {
27856 PyThreadState* __tstate = wxPyBeginAllowThreads();
27857 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
27858
27859 wxPyEndAllowThreads(__tstate);
27860 if (PyErr_Occurred()) SWIG_fail;
27861 }
4f89f6a3
RD
27862 {
27863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27864 }
4276dc52
RD
27865 return resultobj;
27866 fail:
27867 return NULL;
27868}
27869
27870
27871static PyObject *_wrap_Display_GetModes(PyObject *self, PyObject *args, PyObject *kwargs) {
27872 PyObject *resultobj;
27873 wxDisplay *arg1 = (wxDisplay *) 0 ;
27874 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
27875 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
27876 PyObject *result;
27877 PyObject * obj0 = 0 ;
27878 PyObject * obj1 = 0 ;
27879 char *kwnames[] = {
27880 (char *) "self",(char *) "mode", NULL
27881 };
27882
27883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
27884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27886 if (obj1) {
27887 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27888 SWIG_POINTER_EXCEPTION | 0)) == -1)
27889 SWIG_fail;
27890 if (arg2 == NULL) {
27891 PyErr_SetString(PyExc_TypeError,"null reference");
27892 SWIG_fail;
27893 }
27894 }
27895 {
27896 PyThreadState* __tstate = wxPyBeginAllowThreads();
27897 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
27898
27899 wxPyEndAllowThreads(__tstate);
27900 if (PyErr_Occurred()) SWIG_fail;
27901 }
27902 resultobj = result;
27903 return resultobj;
27904 fail:
27905 return NULL;
27906}
27907
27908
27909static PyObject *_wrap_Display_GetCurrentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27910 PyObject *resultobj;
27911 wxDisplay *arg1 = (wxDisplay *) 0 ;
27912 wxVideoMode result;
27913 PyObject * obj0 = 0 ;
27914 char *kwnames[] = {
27915 (char *) "self", NULL
27916 };
27917
27918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
27919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27921 {
27922 PyThreadState* __tstate = wxPyBeginAllowThreads();
27923 result = ((wxDisplay const *)arg1)->GetCurrentMode();
27924
27925 wxPyEndAllowThreads(__tstate);
27926 if (PyErr_Occurred()) SWIG_fail;
27927 }
27928 {
27929 wxVideoMode * resultptr;
27930 resultptr = new wxVideoMode((wxVideoMode &) result);
27931 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
27932 }
27933 return resultobj;
27934 fail:
27935 return NULL;
27936}
27937
27938
27939static PyObject *_wrap_Display_ChangeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27940 PyObject *resultobj;
27941 wxDisplay *arg1 = (wxDisplay *) 0 ;
27942 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
27943 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
27944 bool result;
27945 PyObject * obj0 = 0 ;
27946 PyObject * obj1 = 0 ;
27947 char *kwnames[] = {
27948 (char *) "self",(char *) "mode", NULL
27949 };
27950
27951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
27952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27954 if (obj1) {
27955 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27956 SWIG_POINTER_EXCEPTION | 0)) == -1)
27957 SWIG_fail;
27958 if (arg2 == NULL) {
27959 PyErr_SetString(PyExc_TypeError,"null reference");
27960 SWIG_fail;
27961 }
27962 }
27963 {
27964 PyThreadState* __tstate = wxPyBeginAllowThreads();
27965 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
27966
27967 wxPyEndAllowThreads(__tstate);
27968 if (PyErr_Occurred()) SWIG_fail;
27969 }
4f89f6a3
RD
27970 {
27971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27972 }
4276dc52
RD
27973 return resultobj;
27974 fail:
27975 return NULL;
27976}
27977
27978
27979static PyObject *_wrap_Display_ResetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27980 PyObject *resultobj;
27981 wxDisplay *arg1 = (wxDisplay *) 0 ;
27982 PyObject * obj0 = 0 ;
27983 char *kwnames[] = {
27984 (char *) "self", NULL
27985 };
27986
27987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
27988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27990 {
27991 PyThreadState* __tstate = wxPyBeginAllowThreads();
27992 (arg1)->ResetMode();
27993
27994 wxPyEndAllowThreads(__tstate);
27995 if (PyErr_Occurred()) SWIG_fail;
27996 }
27997 Py_INCREF(Py_None); resultobj = Py_None;
27998 return resultobj;
27999 fail:
28000 return NULL;
28001}
28002
28003
28004static PyObject * Display_swigregister(PyObject *self, PyObject *args) {
28005 PyObject *obj;
28006 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28007 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
28008 Py_INCREF(obj);
28009 return Py_BuildValue((char *)"");
28010}
d14a1e28
RD
28011static PyMethodDef SwigMethods[] = {
28012 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
28013 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
28014 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
28015 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
28016 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
28017 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
28018 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
28019 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
28020 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
28021 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
28022 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
28023 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
28024 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
28025 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
28026 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
28027 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
28028 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
28029 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
28030 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
28031 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
28032 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
28033 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
28034 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
28035 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
28036 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
28037 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
28038 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
28039 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
28040 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
28041 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
28042 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
28043 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
28044 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
28045 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
28046 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
28047 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
28048 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
28049 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
28050 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
28051 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
28052 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
28053 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
28054 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
28055 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
28056 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
28057 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
28058 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
28059 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
28060 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
28061 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
28062 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
28063 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
28064 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
28065 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
28066 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
28067 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
28068 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
28069 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
28070 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
28071 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
28072 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
28073 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
28074 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
28075 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
28076 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
28077 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
28078 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
39f61e25 28079 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
28080 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
28081 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
28082 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
28083 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
28084 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
28085 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
28086 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
28087 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
28088 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
28089 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
28090 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
28091 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
28092 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
28093 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
28094 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
28095 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
28096 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
28097 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
d14a1e28 28098 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
322913ce 28099 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28 28100 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
322913ce 28101 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
28102 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
28103 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
28104 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
28105 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
28106 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
28107 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
28108 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
28109 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
28110 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
28111 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
28112 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
28113 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
28114 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
28115 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
28116 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
28117 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
28118 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
28119 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
28120 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
28121 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
28122 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
28123 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
28124 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
28125 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
28126 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
28127 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
28128 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
28129 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
28130 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
28131 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
28132 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
28133 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
28134 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
28135 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
28136 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
28137 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
28138 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
28139 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
28140 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
28141 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28142 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28143 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28144 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
28145 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
28146 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
28147 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
28148 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
28149 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
28150 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
28151 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
28152 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
28153 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
28154 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28155 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
28156 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
28157 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
28158 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
28159 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
7722248d 28160 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
28161 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
28162 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
28163 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
28164 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
28165 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
28166 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
cc6dd355 28167 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
28168 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
28169 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
28170 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
28171 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
28172 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
28173 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
28174 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
28175 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
28176 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
28177 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
28178 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
28179 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
28180 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
28181 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
28182 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
28183 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
28184 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
28185 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
28186 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
28187 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
28188 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
28189 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
28190 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
28191 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
28192 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
28193 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
28194 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
28195 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
28196 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
28197 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
28198 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
28199 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
28200 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
28201 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
28202 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
28203 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
28204 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
28205 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
28206 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
28207 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
28208 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
28209 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
28210 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
28211 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
28212 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
28213 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
28214 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
28215 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
28216 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
28217 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
28218 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
28219 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
28220 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
28221 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
28222 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
28223 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
28224 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
28225 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
28226 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
28227 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
28228 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
28229 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
28230 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
28231 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
28232 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
28233 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
cc6dd355 28234 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
d14a1e28
RD
28235 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
28236 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
28237 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
28238 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
28239 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
28240 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
28241 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28242 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
28243 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
28244 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
28245 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
28246 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
28247 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28248 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
28249 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
28250 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
28251 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
28252 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
28253 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
28254 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
28255 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
28256 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
28257 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
28258 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
28259 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
28260 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
28261 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
28262 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
28263 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
28264 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
28265 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
28266 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
28267 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
28268 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
28269 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
28270 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
28271 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
28272 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
28273 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
28274 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
28275 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
28276 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
28277 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
28278 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
28279 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
28280 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
28281 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
28282 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
28283 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
28284 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
28285 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
28286 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
28287 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
28288 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
28289 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
28290 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
28291 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
28292 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
28293 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
28294 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
28295 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
28296 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
28297 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
28298 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
28299 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
28300 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
28301 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
28302 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
28303 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
28304 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
28305 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
28306 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
28307 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
28308 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
28309 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
28310 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
28311 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
28312 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
28313 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
28314 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
28315 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
28316 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
28317 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
28318 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
28319 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
28320 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
28321 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
28322 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
28323 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
28324 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
28325 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
28326 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
28327 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
28328 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
28329 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
28330 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
28331 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
28332 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
28333 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
28334 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
28335 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
28336 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
28337 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
28338 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
28339 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
28340 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
28341 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
4d5c3d91
RD
28342 { (char *)"new_Sound", _wrap_new_Sound, METH_VARARGS },
28343 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS },
28344 { (char *)"Sound_Create", _wrap_Sound_Create, METH_VARARGS },
28345 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS },
28346 { (char *)"Sound_Play", _wrap_Sound_Play, METH_VARARGS },
28347 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound, METH_VARARGS },
28348 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS },
28349 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS },
d14a1e28
RD
28350 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
28351 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
28352 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
28353 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
28354 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
28355 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
28356 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
28357 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
28358 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
28359 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
28360 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
28361 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
28362 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
28363 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
28364 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
28365 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
28366 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
28367 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
28368 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
28369 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
28370 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
28371 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
28372 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
28373 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
28374 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
28375 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
28376 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
28377 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
28378 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
28379 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
28380 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
28381 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
28382 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
28383 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
28384 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
28385 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
28386 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
28387 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
28388 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
28389 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
28390 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
28391 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
28392 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
28393 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
28394 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
28395 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
28396 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
28397 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28398 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
28399 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
28400 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
28401 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
28402 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
1e0c8722 28403 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
28404 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
28405 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
28406 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
28407 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
28408 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
28409 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
28410 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
28411 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
28412 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
28413 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
28414 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
28415 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
28416 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
28417 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
28418 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
28419 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
28420 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
28421 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
28422 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
28423 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
28424 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
28425 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
28426 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
28427 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
28428 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
28429 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
28430 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
28431 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
28432 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
28433 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
28434 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
28435 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
d14a1e28 28436 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
b88bce5f 28437 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
28438 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
28439 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
28440 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28441 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
28442 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
28443 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
28444 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
28445 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
28446 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
28447 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
d14a1e28
RD
28448 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
28449 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
28450 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
28451 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
28452 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
28453 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
b88bce5f
RD
28454 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
28455 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
28456 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
28457 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
d14a1e28
RD
28458 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28459 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
28460 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
28461 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
28462 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
28463 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
28464 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
28465 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
28466 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
28467 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
28468 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
28469 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
28470 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
28471 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
28472 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
28473 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
28474 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
28475 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
28476 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
28477 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
28478 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
28479 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
28480 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
28481 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
28482 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
28483 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
28484 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
28485 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
28486 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
28487 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
28488 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
28489 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
28490 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
28491 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
28492 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
28493 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
28494 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
28495 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
28496 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
28497 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
28498 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
28499 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
28500 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
28501 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
28502 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
28503 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
28504 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
28505 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
28506 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
28507 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
28508 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
28509 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
28510 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
28511 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
28512 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
28513 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
28514 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
28515 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
28516 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
28517 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
28518 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
28519 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
28520 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
28521 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
28522 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
28523 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
28524 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
28525 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
28526 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
28527 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
28528 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
28529 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
28530 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
28531 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
28532 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
28533 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
28534 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
28535 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
28536 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
28537 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
28538 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
28539 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
28540 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
28541 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
28542 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
28543 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
28544 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
28545 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
28546 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
28547 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
28548 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
28549 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
28550 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
28551 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
28552 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
28553 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
28554 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
28555 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
28556 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
28557 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
28558 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
28559 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
28560 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
28561 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
28562 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
28563 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
28564 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
28565 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
28566 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
28567 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
28568 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
28569 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
28570 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
28571 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
28572 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
28573 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
28574 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
28575 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
28576 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
28577 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
28578 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
28579 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
28580 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
28581 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
28582 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
28583 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
28584 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
28585 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
28586 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
28587 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
28588 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
28589 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
28590 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
28591 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
28592 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
28593 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
28594 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
28595 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
28596 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
28597 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
28598 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
28599 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
28600 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
28601 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
28602 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
28603 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
28604 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
28605 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
28606 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
28607 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
28608 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
28609 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
28610 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
28611 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
28612 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
28613 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
28614 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
28615 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
28616 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
28617 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
28618 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
28619 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
28620 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
28621 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
28622 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
28623 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
28624 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
28625 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
28626 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
28627 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
28628 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
28629 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
28630 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
28631 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
28632 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
28633 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
28634 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
28635 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
28636 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
28637 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
28638 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
28639 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
28640 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
28641 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
28642 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
28643 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
28644 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
28645 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
28646 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
28647 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
28648 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
28649 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
28650 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
28651 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
28652 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
28653 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
28654 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
28655 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
28656 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
28657 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
28658 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
28659 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
28660 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
28661 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
28662 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
28663 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
28664 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
28665 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
28666 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
28667 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
28668 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
28669 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
28670 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
28671 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
28672 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
28673 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
28674 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
28675 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
28676 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
28677 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28678 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
28679 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
28680 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
28681 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
28682 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
28683 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
28684 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
28685 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
28686 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
28687 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
28688 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28689 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
28690 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
28691 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
28692 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
28693 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
28694 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
28695 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28696 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
28697 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
28698 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
15afbcd0 28699 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
28700 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
28701 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
28702 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
28703 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
28704 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
28705 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
28706 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
28707 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
28708 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
28709 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
28710 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
28711 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
28712 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
28713 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
28714 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
28715 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28716 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
28717 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
28718 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
28719 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
28720 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
28721 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
28722 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
15afbcd0 28723 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
28724 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28725 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
28726 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
28727 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
28728 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
28729 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
28730 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
28731 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
28732 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
28733 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
28734 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
28735 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28736 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
28737 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
28738 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
28739 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
28740 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
28741 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
28742 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
28743 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28744 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
28745 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
28746 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
28747 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
28748 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
28749 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
28750 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
28751 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
28752 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
28753 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
28754 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
28755 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
28756 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
28757 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
28758 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
28759 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
28760 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
28761 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
28762 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
28763 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
28764 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
28765 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
28766 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
4276dc52
RD
28767 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS },
28768 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS },
28769 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS },
28770 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS },
28771 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS },
28772 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS },
28773 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS },
28774 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS },
28775 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS },
28776 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS },
28777 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS },
28778 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS },
28779 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS },
28780 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS },
28781 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS },
28782 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS },
28783 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS },
28784 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS },
28785 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS },
28786 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS },
28787 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS },
28788 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS },
28789 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS },
28790 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS },
28791 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS },
28792 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS },
28793 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS },
28794 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS },
28795 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS },
28796 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS },
28797 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS },
28798 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS },
d14a1e28
RD
28799 { NULL, NULL }
28800};
28801
28802
28803/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28804
28805static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28806 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28807}
28808static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28809 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28810}
28811static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28812 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28813}
28814static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28815 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28816}
28817static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28818 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28819}
28820static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28821 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28822}
28823static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
28824 return (void *)((wxEvent *) ((wxTimerEvent *) x));
28825}
28826static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28827 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28828}
28829static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28830 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28831}
28832static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28833 return (void *)((wxEvent *) ((wxPyEvent *) x));
28834}
28835static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28836 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28837}
28838static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
28839 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
28840}
28841static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28842 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28843}
28844static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28845 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28846}
28847static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28848 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28849}
28850static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28851 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28852}
28853static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28854 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28855}
28856static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28857 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28858}
28859static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28860 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28861}
28862static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28863 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28864}
28865static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28866 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28867}
28868static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28869 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28870}
28871static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28872 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28873}
28874static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28875 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28876}
28877static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28878 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28879}
28880static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28881 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28882}
28883static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28884 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28885}
28886static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28887 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28888}
28889static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28890 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28891}
28892static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28893 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28894}
28895static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
28896 return (void *)((wxEvent *) ((wxProcessEvent *) x));
28897}
28898static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28899 return (void *)((wxEvent *) ((wxShowEvent *) x));
28900}
28901static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28902 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28903}
28904static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28905 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28906}
28907static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28908 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28909}
28910static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28911 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28912}
28913static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28914 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28915}
28916static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28917 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28918}
28919static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
28920 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
28921}
28922static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
28923 return (void *)((wxConfigBase *) ((wxConfig *) x));
28924}
28925static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
28926 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
28927}
28928static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
28929 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
28930}
28931static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
28932 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
28933}
28934static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
28935 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
28936}
28937static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
28938 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
28939}
28940static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
28941 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
28942}
28943static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
28944 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
28945}
28946static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
28947 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
28948}
28949static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
28950 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
28951}
28952static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
28953 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
28954}
28955static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
28956 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
28957}
28958static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
28959 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
28960}
28961static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
28962 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
28963}
28964static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
28965 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
28966}
28967static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
28968 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
28969}
28970static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
28971 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
28972}
28973static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
28974 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
28975}
28976static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
28977 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
28978}
28979static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
28980 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
28981}
28982static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
28983 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
28984}
28985static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
28986 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
28987}
28988static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
28989 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
28990}
28991static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28992 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28993}
28994static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28995 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28996}
28997static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28998 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28999}
29000static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
29001 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
29002}
29003static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
29004 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
29005}
29006static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
29007 return (void *)((wxEvtHandler *) ((wxValidator *) x));
29008}
29009static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
29010 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
29011}
29012static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
29013 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
29014}
29015static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
29016 return (void *)((wxEvtHandler *) ((wxMenu *) x));
29017}
29018static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
29019 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
29020}
29021static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
29022 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
29023}
29024static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
29025 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
29026}
29027static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
29028 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
29029}
29030static void *_p_wxSizerItemTo_p_wxObject(void *x) {
29031 return (void *)((wxObject *) ((wxSizerItem *) x));
29032}
29033static void *_p_wxScrollEventTo_p_wxObject(void *x) {
29034 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
29035}
29036static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
29037 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
29038}
29039static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
29040 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
29041}
29042static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
29043 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
29044}
29045static void *_p_wxSizerTo_p_wxObject(void *x) {
29046 return (void *)((wxObject *) ((wxSizer *) x));
29047}
29048static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
29049 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
29050}
29051static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
29052 return (void *)((wxObject *) ((wxFileHistory *) x));
29053}
29054static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
29055 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
29056}
29057static void *_p_wxEventTo_p_wxObject(void *x) {
29058 return (void *)((wxObject *) ((wxEvent *) x));
29059}
29060static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
29061 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
29062}
29063static void *_p_wxGridSizerTo_p_wxObject(void *x) {
29064 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
29065}
29066static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
29067 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
29068}
29069static void *_p_wxPaintEventTo_p_wxObject(void *x) {
29070 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
29071}
29072static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
29073 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
29074}
29075static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
29076 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
29077}
29078static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
29079 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
29080}
29081static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
29082 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29083}
29084static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
29085 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
29086}
29087static void *_p_wxControlTo_p_wxObject(void *x) {
29088 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
29089}
29090static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
29091 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
29092}
29093static void *_p_wxTimerEventTo_p_wxObject(void *x) {
29094 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
29095}
29096static void *_p_wxFSFileTo_p_wxObject(void *x) {
29097 return (void *)((wxObject *) ((wxFSFile *) x));
29098}
29099static void *_p_wxClipboardTo_p_wxObject(void *x) {
29100 return (void *)((wxObject *) ((wxClipboard *) x));
29101}
29102static void *_p_wxPySizerTo_p_wxObject(void *x) {
29103 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
29104}
29105static void *_p_wxPyEventTo_p_wxObject(void *x) {
29106 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
29107}
29108static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
29109 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
29110}
29111static void *_p_wxShowEventTo_p_wxObject(void *x) {
29112 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
29113}
29114static void *_p_wxToolTipTo_p_wxObject(void *x) {
29115 return (void *)((wxObject *) ((wxToolTip *) x));
29116}
29117static void *_p_wxMenuItemTo_p_wxObject(void *x) {
29118 return (void *)((wxObject *) ((wxMenuItem *) x));
29119}
29120static void *_p_wxIdleEventTo_p_wxObject(void *x) {
29121 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
29122}
29123static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
29124 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
29125}
29126static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
29127 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
29128}
29129static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
29130 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
29131}
29132static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
29133 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
29134}
29135static void *_p_wxSizeEventTo_p_wxObject(void *x) {
29136 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
29137}
29138static void *_p_wxMoveEventTo_p_wxObject(void *x) {
29139 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
29140}
29141static void *_p_wxActivateEventTo_p_wxObject(void *x) {
29142 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
29143}
29144static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
29145 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
29146}
29147static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
29148 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
29149}
29150static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
29151 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
29152}
29153static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
29154 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
29155}
29156static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
29157 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
29158}
29159static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
29160 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
29161}
29162static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
29163 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
29164}
29165static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
29166 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
29167}
29168static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
29169 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
29170}
29171static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
29172 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
29173}
29174static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
29175 return (void *)((wxObject *) ((wxImageHandler *) x));
29176}
29177static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
29178 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
29179}
29180static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
29181 return (void *)((wxObject *) ((wxEvtHandler *) x));
29182}
1e0c8722
RD
29183static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
29184 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
29185}
d14a1e28
RD
29186static void *_p_wxImageTo_p_wxObject(void *x) {
29187 return (void *)((wxObject *) ((wxImage *) x));
29188}
29189static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
29190 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
29191}
29192static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
29193 return (void *)((wxObject *) ((wxSystemOptions *) x));
29194}
29195static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
29196 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
29197}
29198static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
29199 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29200}
29201static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
29202 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
29203}
29204static void *_p_wxKeyEventTo_p_wxObject(void *x) {
29205 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
29206}
29207static void *_p_wxWindowTo_p_wxObject(void *x) {
29208 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
29209}
29210static void *_p_wxMenuTo_p_wxObject(void *x) {
29211 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
29212}
29213static void *_p_wxMenuBarTo_p_wxObject(void *x) {
29214 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
29215}
29216static void *_p_wxPyProcessTo_p_wxObject(void *x) {
29217 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
29218}
29219static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29220 return (void *)((wxObject *) ((wxFileSystem *) x));
29221}
29222static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29223 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29224}
29225static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29226 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29227}
29228static void *_p_wxPyAppTo_p_wxObject(void *x) {
29229 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29230}
29231static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29232 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29233}
29234static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29235 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29236}
29237static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29238 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29239}
29240static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
29241 return (void *)((wxObject *) ((wxBusyInfo *) x));
29242}
29243static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29244 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29245}
29246static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29247 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29248}
29249static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29250 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29251}
29252static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29253 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29254}
29255static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29256 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29257}
29258static void *_p_wxProcessEventTo_p_wxObject(void *x) {
29259 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
29260}
29261static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29262 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29263}
29264static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29265 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29266}
29267static void *_p_wxValidatorTo_p_wxObject(void *x) {
29268 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29269}
29270static void *_p_wxPyTimerTo_p_wxObject(void *x) {
29271 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
29272}
29273static void *_p_wxLogStderrTo_p_wxLog(void *x) {
29274 return (void *)((wxLog *) ((wxLogStderr *) x));
29275}
29276static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
29277 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
29278}
29279static void *_p_wxLogWindowTo_p_wxLog(void *x) {
29280 return (void *)((wxLog *) ((wxLogWindow *) x));
29281}
29282static void *_p_wxLogChainTo_p_wxLog(void *x) {
29283 return (void *)((wxLog *) ((wxLogChain *) x));
29284}
29285static void *_p_wxLogGuiTo_p_wxLog(void *x) {
29286 return (void *)((wxLog *) ((wxLogGui *) x));
29287}
29288static void *_p_wxPyLogTo_p_wxLog(void *x) {
29289 return (void *)((wxLog *) ((wxPyLog *) x));
29290}
29291static void *_p_wxControlTo_p_wxWindow(void *x) {
29292 return (void *)((wxWindow *) ((wxControl *) x));
29293}
29294static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29295 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29296}
29297static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29298 return (void *)((wxWindow *) ((wxMenuBar *) x));
29299}
29300static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
29301 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
29302}
29303static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
29304 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
29305}
15afbcd0
RD
29306static 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}};
29307static 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}};
29308static 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}};
29309static 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}};
29310static 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}};
29311static 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}};
29312static 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}};
29313static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxFileConfig", _p_wxFileConfigTo_p_wxConfigBase, 0, 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{"_p_wxConfig", _p_wxConfigTo_p_wxConfigBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4276dc52 29314static swig_type_info _swigt__p_wxDisplay[] = {{"_p_wxDisplay", 0, "wxDisplay *", 0, 0, 0, 0},{"_p_wxDisplay", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
29315static 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}};
29316static 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}};
29317static 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}};
29318static 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}};
29319static 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}};
29320static 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}};
29321static 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}};
29322static 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}};
29323static 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}};
29324static 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}};
29325static 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}};
29326static 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}};
29327static 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}};
29328static 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}};
29329static 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}};
29330static 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}};
29331static 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}};
29332static 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}};
29333static 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}};
29334static 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}};
29335static 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}};
29336static 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}};
29337static 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}};
29338static 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}};
29339static 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}};
29340static 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}};
29341static 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}};
29342static 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}};
29343static 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}};
29344static 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}};
29345static 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}};
29346static 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}};
29347static 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}};
29348static 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}};
29349static 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}};
29350static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0, 0, 0, 0},{"_p_wxSystemSettings", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
4276dc52 29351static swig_type_info _swigt__p_wxVideoMode[] = {{"_p_wxVideoMode", 0, "wxVideoMode *", 0, 0, 0, 0},{"_p_wxVideoMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
29352static 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}};
29353static 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}};
29354static 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}};
29355static 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}};
29356static 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}};
29357static 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}};
29358static 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}};
29359static 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}};
29360static 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}};
29361static 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}};
29362static 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}};
29363static 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}};
29364static 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}};
29365static 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}};
29366static 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}};
29367static 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}};
29368static 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}};
29369static 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}};
29370static 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}};
29371static 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}};
29372static 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}};
29373static 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}};
29374static 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}};
29375static 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}};
29376static 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}};
29377static 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}};
29378static 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}};
29379static 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}};
29380static 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}};
29381static 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}};
29382static 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}};
29383static 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}};
29384static 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}};
29385static 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}};
29386static 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}};
29387static 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}};
29388static 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}};
29389static 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}};
29390static 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}};
29391static 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
29392
29393static swig_type_info *swig_types_initial[] = {
29394_swigt__p_wxLogChain,
29395_swigt__p_wxMutexGuiLocker,
29396_swigt__p_wxFileHistory,
29397_swigt__p_wxLog,
29398_swigt__p_wxDateTime__TimeZone,
29399_swigt__p_wxMenu,
29400_swigt__p_wxEvent,
29401_swigt__p_wxConfigBase,
4276dc52 29402_swigt__p_wxDisplay,
d14a1e28
RD
29403_swigt__p_wxFileType,
29404_swigt__p_wxLogGui,
29405_swigt__p_wxFont,
29406_swigt__p_wxDataFormat,
29407_swigt__p_wxTimerEvent,
29408_swigt__p_wxCaret,
29409_swigt__p_int,
29410_swigt__p_wxSize,
29411_swigt__p_wxClipboard,
29412_swigt__p_wxStopWatch,
29413_swigt__p_wxDC,
29414_swigt__p_wxClipboardLocker,
29415_swigt__p_wxIcon,
29416_swigt__p_wxLogStderr,
29417_swigt__p_wxLogTextCtrl,
29418_swigt__p_wxTextCtrl,
29419_swigt__p_wxBusyCursor,
d14a1e28
RD
29420_swigt__p_wxPyTextDataObject,
29421_swigt__p_wxBitmapDataObject,
29422_swigt__p_wxTextDataObject,
29423_swigt__p_wxDataObject,
4d5c3d91 29424_swigt__p_wxPyBitmapDataObject,
994141e6 29425_swigt__p_wxFileDataObject,
d14a1e28
RD
29426_swigt__p_wxCustomDataObject,
29427_swigt__p_wxURLDataObject,
29428_swigt__p_wxMetafileDataObject,
4d5c3d91 29429_swigt__p_wxSound,
d14a1e28
RD
29430_swigt__p_wxTimerRunner,
29431_swigt__p_wxLogWindow,
29432_swigt__p_wxTimeSpan,
29433_swigt__p_wxArrayString,
29434_swigt__p_wxWindowDisabler,
29435_swigt__p_wxToolTip,
29436_swigt__p_wxDataObjectComposite,
29437_swigt__p_wxFileConfig,
29438_swigt__p_wxSystemSettings,
4276dc52 29439_swigt__p_wxVideoMode,
d14a1e28
RD
29440_swigt__p_wxPyDataObjectSimple,
29441_swigt__p_wxDataObjectSimple,
29442_swigt__p_wxEvtHandler,
29443_swigt__p_wxRect,
994141e6 29444_swigt__p_char,
d14a1e28
RD
29445_swigt__p_wxSingleInstanceChecker,
29446_swigt__p_wxFileTypeInfo,
29447_swigt__p_wxFrame,
29448_swigt__p_wxTimer,
29449_swigt__p_wxMimeTypesManager,
29450_swigt__p_wxPyArtProvider,
29451_swigt__p_wxPyTipProvider,
29452_swigt__p_wxTipProvider,
29453_swigt__p_wxJoystick,
29454_swigt__p_wxSystemOptions,
29455_swigt__p_wxPoint,
29456_swigt__p_wxJoystickEvent,
29457_swigt__p_wxCursor,
29458_swigt__p_wxObject,
29459_swigt__p_wxOutputStream,
29460_swigt__p_wxDateTime,
29461_swigt__p_wxPyDropSource,
29462_swigt__p_wxWindow,
29463_swigt__p_wxString,
29464_swigt__p_wxPyProcess,
29465_swigt__p_wxBitmap,
29466_swigt__p_wxConfig,
29467_swigt__p_wxChar,
29468_swigt__p_wxBusyInfo,
29469_swigt__p_wxPyDropTarget,
29470_swigt__p_wxPyTextDropTarget,
29471_swigt__p_wxPyFileDropTarget,
29472_swigt__p_wxProcessEvent,
29473_swigt__p_wxPyLog,
29474_swigt__p_wxLogNull,
29475_swigt__p_wxColour,
4d5c3d91 29476_swigt__p_wxByte,
d14a1e28
RD
29477_swigt__p_wxConfigPathChanger,
29478_swigt__p_wxPyTimer,
29479_swigt__p_wxDateSpan,
294800
29481};
29482
29483
29484/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29485
29486static swig_const_info swig_const_table[] = {
15afbcd0
RD
29487{ SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
29488{ SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
29489{ SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
29490{ SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
29491{ SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
d14a1e28
RD
29492{0}};
29493
29494#ifdef __cplusplus
29495}
29496#endif
29497
29498#ifdef __cplusplus
29499extern "C"
29500#endif
29501SWIGEXPORT(void) SWIG_init(void) {
29502 static PyObject *SWIG_globals = 0;
29503 static int typeinit = 0;
29504 PyObject *m, *d;
29505 int i;
29506 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
29507 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29508 d = PyModule_GetDict(m);
29509
29510 if (!typeinit) {
29511 for (i = 0; swig_types_initial[i]; i++) {
29512 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29513 }
29514 typeinit = 1;
29515 }
29516 SWIG_InstallConstants(d,swig_const_table);
29517
15afbcd0
RD
29518 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT));
29519 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT));
29520 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT));
29521 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT));
29522 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT));
29523 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE));
29524 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT));
29525 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT));
29526 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT));
29527 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR));
29528 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND));
29529 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP));
29530 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION));
29531 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION));
29532 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU));
29533 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW));
29534 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME));
29535 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT));
29536 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT));
29537 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT));
29538 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER));
29539 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER));
29540 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE));
29541 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT));
29542 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
29543 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE));
29544 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE));
29545 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW));
29546 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW));
29547 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT));
29548 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT));
29549 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
29550 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT));
29551 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT));
29552 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT));
29553 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT));
29554 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW));
29555 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT));
29556 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT));
29557 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK));
29558 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX));
29559 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT));
29560 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
29561 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
29562 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT));
29563 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR));
29564 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX));
29565 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS));
29566 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X));
29567 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y));
29568 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X));
29569 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y));
29570 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X));
29571 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y));
29572 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X));
29573 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y));
29574 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X));
29575 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y));
29576 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X));
29577 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y));
29578 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X));
29579 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X));
29580 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y));
29581 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X));
29582 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y));
29583 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X));
29584 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y));
29585 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X));
29586 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y));
29587 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X));
29588 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y));
29589 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X));
29590 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y));
29591 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y));
29592 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X));
29593 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X));
29594 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y));
29595 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y));
29596 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y));
29597 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y));
29598 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT));
29599 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT));
29600 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS));
29601 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS));
29602 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
29603 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME));
29604 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE));
29605 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY));
29606 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA));
29607 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL));
29608 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP));
b2dc1044
RD
29609 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29610 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
29611 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
29612 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
15afbcd0
RD
29613 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF));
29614 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT));
29615 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS));
29616 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT));
d14a1e28 29617 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
15afbcd0
RD
29618 PyDict_SetItemString(d,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError));
29619 PyDict_SetItemString(d,"LOG_Error", SWIG_FromInt((int)wxLOG_Error));
29620 PyDict_SetItemString(d,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning));
29621 PyDict_SetItemString(d,"LOG_Message", SWIG_FromInt((int)wxLOG_Message));
29622 PyDict_SetItemString(d,"LOG_Status", SWIG_FromInt((int)wxLOG_Status));
29623 PyDict_SetItemString(d,"LOG_Info", SWIG_FromInt((int)wxLOG_Info));
29624 PyDict_SetItemString(d,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug));
29625 PyDict_SetItemString(d,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace));
29626 PyDict_SetItemString(d,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress));
29627 PyDict_SetItemString(d,"LOG_User", SWIG_FromInt((int)wxLOG_User));
29628 PyDict_SetItemString(d,"LOG_Max", SWIG_FromInt((int)wxLOG_Max));
29629 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29630 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29631 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29632 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29633 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29634 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29635 PyDict_SetItemString(d,"TraceMessages", SWIG_FromInt((int)0x0002));
29636 PyDict_SetItemString(d,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29637 PyDict_SetItemString(d,"TraceRefCount", SWIG_FromInt((int)0x0008));
29638 PyDict_SetItemString(d,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29639 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT));
29640 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT));
29641 PyDict_SetItemString(d,"KILL_OK", SWIG_FromInt((int)wxKILL_OK));
29642 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL));
29643 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED));
29644 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS));
29645 PyDict_SetItemString(d,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR));
29646 PyDict_SetItemString(d,"SIGNONE", SWIG_FromInt((int)wxSIGNONE));
29647 PyDict_SetItemString(d,"SIGHUP", SWIG_FromInt((int)wxSIGHUP));
29648 PyDict_SetItemString(d,"SIGINT", SWIG_FromInt((int)wxSIGINT));
29649 PyDict_SetItemString(d,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT));
29650 PyDict_SetItemString(d,"SIGILL", SWIG_FromInt((int)wxSIGILL));
29651 PyDict_SetItemString(d,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP));
29652 PyDict_SetItemString(d,"SIGABRT", SWIG_FromInt((int)wxSIGABRT));
29653 PyDict_SetItemString(d,"SIGIOT", SWIG_FromInt((int)wxSIGIOT));
29654 PyDict_SetItemString(d,"SIGEMT", SWIG_FromInt((int)wxSIGEMT));
29655 PyDict_SetItemString(d,"SIGFPE", SWIG_FromInt((int)wxSIGFPE));
29656 PyDict_SetItemString(d,"SIGKILL", SWIG_FromInt((int)wxSIGKILL));
29657 PyDict_SetItemString(d,"SIGBUS", SWIG_FromInt((int)wxSIGBUS));
29658 PyDict_SetItemString(d,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV));
29659 PyDict_SetItemString(d,"SIGSYS", SWIG_FromInt((int)wxSIGSYS));
29660 PyDict_SetItemString(d,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE));
29661 PyDict_SetItemString(d,"SIGALRM", SWIG_FromInt((int)wxSIGALRM));
29662 PyDict_SetItemString(d,"SIGTERM", SWIG_FromInt((int)wxSIGTERM));
d14a1e28 29663 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
15afbcd0
RD
29664 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC));
29665 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC));
29666 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE));
29667 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER));
d14a1e28
RD
29668
29669 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29670
15afbcd0
RD
29671 PyDict_SetItemString(d,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1));
29672 PyDict_SetItemString(d,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2));
29673 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY));
29674 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1));
29675 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2));
29676 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3));
29677 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4));
d14a1e28
RD
29678 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
29679 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
29680 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
29681 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
15afbcd0
RD
29682 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC));
29683 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC));
29684 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP));
29685 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD));
29686 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE));
29687 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE));
29688 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME));
29689 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL));
d14a1e28
RD
29690 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
29691 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
29692 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
29693 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
29694 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
29695 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
29696 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
29697 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
29698 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
29699 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
29700 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
29701 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
29702 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
29703 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
29704 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
29705 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
29706 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
29707 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
29708 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
29709 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
29710 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
29711 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
29712 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
29713 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
29714 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
29715 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
29716 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
29717 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
29718 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
29719 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
29720 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
29721 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
29722 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
29723 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
29724 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
29725 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
29726 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
29727 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
29728 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
29729
29730 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29731
15afbcd0
RD
29732 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE));
29733 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE));
29734 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH));
29735 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
29736 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown));
29737 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String));
29738 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean));
29739 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer));
29740 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float));
b2dc1044
RD
29741 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
29742 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
15afbcd0
RD
29743 PyDict_SetItemString(d,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local));
29744 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12));
29745 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11));
29746 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10));
29747 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9));
29748 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8));
29749 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7));
29750 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6));
29751 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5));
29752 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4));
29753 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3));
29754 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2));
29755 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1));
29756 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0));
29757 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1));
29758 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2));
29759 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3));
29760 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4));
29761 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5));
29762 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6));
29763 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7));
29764 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8));
29765 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9));
29766 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10));
29767 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11));
29768 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12));
29769 PyDict_SetItemString(d,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET));
29770 PyDict_SetItemString(d,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST));
29771 PyDict_SetItemString(d,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET));
29772 PyDict_SetItemString(d,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST));
29773 PyDict_SetItemString(d,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET));
29774 PyDict_SetItemString(d,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST));
29775 PyDict_SetItemString(d,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK));
29776 PyDict_SetItemString(d,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD));
29777 PyDict_SetItemString(d,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST));
29778 PyDict_SetItemString(d,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT));
29779 PyDict_SetItemString(d,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST));
29780 PyDict_SetItemString(d,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT));
29781 PyDict_SetItemString(d,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST));
29782 PyDict_SetItemString(d,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT));
29783 PyDict_SetItemString(d,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST));
29784 PyDict_SetItemString(d,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT));
29785 PyDict_SetItemString(d,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST));
29786 PyDict_SetItemString(d,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT));
29787 PyDict_SetItemString(d,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST));
29788 PyDict_SetItemString(d,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST));
29789 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT));
29790 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST));
29791 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST));
29792 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST));
29793 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST));
29794 PyDict_SetItemString(d,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC));
29795 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian));
29796 PyDict_SetItemString(d,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian));
29797 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown));
29798 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard));
29799 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska));
29800 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania));
29801 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria));
29802 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen));
29803 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg));
29804 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol));
29805 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia));
29806 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria));
29807 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium));
29808 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria));
29809 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1));
29810 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2));
29811 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3));
29812 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada));
29813 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China));
29814 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1));
29815 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2));
29816 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia));
29817 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark));
29818 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt));
29819 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia));
29820 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland));
29821 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France));
29822 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace));
29823 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine));
29824 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg));
29825 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany));
29826 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic));
29827 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia));
29828 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant));
29829 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain));
29830 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece));
29831 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary));
29832 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland));
29833 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy));
29834 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan));
29835 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1));
29836 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2));
29837 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3));
29838 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia));
29839 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania));
29840 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg));
29841 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands));
29842 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen));
29843 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland));
29844 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht));
29845 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland));
29846 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway));
29847 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland));
29848 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal));
29849 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania));
29850 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia));
29851 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland));
29852 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain));
29853 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden));
29854 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland));
29855 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic));
29856 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant));
29857 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey));
29858 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA));
29859 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales));
29860 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia));
29861 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown));
29862 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default));
29863 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start));
29864 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC));
29865 PyDict_SetItemString(d,"DateTime_France", SWIG_FromInt((int)wxDateTime::France));
29866 PyDict_SetItemString(d,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany));
29867 PyDict_SetItemString(d,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK));
29868 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End));
29869 PyDict_SetItemString(d,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia));
29870 PyDict_SetItemString(d,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA));
29871 PyDict_SetItemString(d,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan));
29872 PyDict_SetItemString(d,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb));
29873 PyDict_SetItemString(d,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar));
29874 PyDict_SetItemString(d,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr));
29875 PyDict_SetItemString(d,"DateTime_May", SWIG_FromInt((int)wxDateTime::May));
29876 PyDict_SetItemString(d,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun));
29877 PyDict_SetItemString(d,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul));
29878 PyDict_SetItemString(d,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug));
29879 PyDict_SetItemString(d,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep));
29880 PyDict_SetItemString(d,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct));
29881 PyDict_SetItemString(d,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov));
29882 PyDict_SetItemString(d,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec));
29883 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month));
29884 PyDict_SetItemString(d,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun));
29885 PyDict_SetItemString(d,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon));
29886 PyDict_SetItemString(d,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue));
29887 PyDict_SetItemString(d,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed));
29888 PyDict_SetItemString(d,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu));
29889 PyDict_SetItemString(d,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri));
29890 PyDict_SetItemString(d,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat));
29891 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay));
29892 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year));
29893 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full));
29894 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr));
29895 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First));
29896 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First));
29897 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First));
98e665d3 29898 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
15afbcd0
RD
29899 PyDict_SetItemString(d,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID));
29900 PyDict_SetItemString(d,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT));
29901 PyDict_SetItemString(d,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP));
29902 PyDict_SetItemString(d,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE));
29903 PyDict_SetItemString(d,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK));
29904 PyDict_SetItemString(d,"DF_DIF", SWIG_FromInt((int)wxDF_DIF));
29905 PyDict_SetItemString(d,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF));
29906 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT));
29907 PyDict_SetItemString(d,"DF_DIB", SWIG_FromInt((int)wxDF_DIB));
29908 PyDict_SetItemString(d,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE));
29909 PyDict_SetItemString(d,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA));
29910 PyDict_SetItemString(d,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF));
29911 PyDict_SetItemString(d,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE));
29912 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT));
29913 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE));
29914 PyDict_SetItemString(d,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME));
29915 PyDict_SetItemString(d,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE));
29916 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE));
29917 PyDict_SetItemString(d,"DF_HTML", SWIG_FromInt((int)wxDF_HTML));
29918 PyDict_SetItemString(d,"DF_MAX", SWIG_FromInt((int)wxDF_MAX));
d14a1e28 29919 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
15afbcd0
RD
29920 PyDict_SetItemString(d,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get));
29921 PyDict_SetItemString(d,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set));
29922 PyDict_SetItemString(d,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both));
29923 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly));
29924 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove));
29925 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove));
29926 PyDict_SetItemString(d,"DragError", SWIG_FromInt((int)wxDragError));
29927 PyDict_SetItemString(d,"DragNone", SWIG_FromInt((int)wxDragNone));
29928 PyDict_SetItemString(d,"DragCopy", SWIG_FromInt((int)wxDragCopy));
29929 PyDict_SetItemString(d,"DragMove", SWIG_FromInt((int)wxDragMove));
29930 PyDict_SetItemString(d,"DragLink", SWIG_FromInt((int)wxDragLink));
29931 PyDict_SetItemString(d,"DragCancel", SWIG_FromInt((int)wxDragCancel));
d14a1e28
RD
29932
29933 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
29934 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
29935 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
29936 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
29937
29938 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
4276dc52 29939 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
d14a1e28
RD
29940}
29941