]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/misc_wrap.cpp
Added selection methods
[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
cc6dd355 126
d14a1e28
RD
127/***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
d14a1e28
RD
137#include "Python.h"
138
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143#define SWIG_PY_INT 1
144#define SWIG_PY_FLOAT 2
145#define SWIG_PY_STRING 3
146#define SWIG_PY_POINTER 4
147#define SWIG_PY_BINARY 5
148
149/* Flags for pointer conversion */
150
151#define SWIG_POINTER_EXCEPTION 0x1
152#define SWIG_POINTER_DISOWN 0x2
153
154/* Exception handling in wrappers */
155#define SWIG_fail goto fail
156
157/* Constant information structure */
158typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165} swig_const_info;
166
d14a1e28
RD
167/* Common SWIG API */
168#define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170#define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172#define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
a41e16b6 174
d14a1e28
RD
175/* Python-specific SWIG API */
176#define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178#define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
182#define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184#define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
994141e6 187typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 188
cc6dd355
RD
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 197
994141e6
RD
198/* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
201/* basic types */
202/*
203 utilities
204*/
205SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info);
206SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr);
207SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj);
208SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type,
209 long min_value, long max_value);
210SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type,
211 unsigned long max_value);
212SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info);
213SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info,
214 char** cptr, size_t* size);
215SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info,
216 char* carray, size_t size);
217SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size);
218SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv);
d14a1e28
RD
219
220
221/* Contract support */
222
9d1d5697 223#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 224
d14a1e28
RD
225#ifdef __cplusplus
226}
227#endif
228
229
230
231/* -------- TYPES TABLE (BEGIN) -------- */
232
233#define SWIGTYPE_p_wxLogChain swig_types[0]
234#define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
235#define SWIGTYPE_p_wxFileHistory swig_types[2]
236#define SWIGTYPE_p_wxLog swig_types[3]
237#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
238#define SWIGTYPE_p_wxMenu swig_types[5]
239#define SWIGTYPE_p_wxEvent swig_types[6]
240#define SWIGTYPE_p_wxConfigBase swig_types[7]
4d5c3d91
RD
241#define SWIGTYPE_p_wxFileType swig_types[8]
242#define SWIGTYPE_p_wxLogGui swig_types[9]
243#define SWIGTYPE_p_wxFont swig_types[10]
244#define SWIGTYPE_p_wxDataFormat swig_types[11]
245#define SWIGTYPE_p_wxTimerEvent swig_types[12]
246#define SWIGTYPE_p_wxCaret swig_types[13]
247#define SWIGTYPE_p_int swig_types[14]
248#define SWIGTYPE_p_wxSize swig_types[15]
249#define SWIGTYPE_p_wxClipboard swig_types[16]
250#define SWIGTYPE_p_wxStopWatch swig_types[17]
251#define SWIGTYPE_p_wxDC swig_types[18]
252#define SWIGTYPE_p_wxClipboardLocker swig_types[19]
253#define SWIGTYPE_p_wxIcon swig_types[20]
254#define SWIGTYPE_p_wxLogStderr swig_types[21]
255#define SWIGTYPE_p_wxLogTextCtrl swig_types[22]
256#define SWIGTYPE_p_wxTextCtrl swig_types[23]
257#define SWIGTYPE_p_wxBusyCursor swig_types[24]
258#define SWIGTYPE_p_wxPyTextDataObject swig_types[25]
259#define SWIGTYPE_p_wxBitmapDataObject swig_types[26]
260#define SWIGTYPE_p_wxTextDataObject swig_types[27]
261#define SWIGTYPE_p_wxDataObject swig_types[28]
262#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[29]
263#define SWIGTYPE_p_wxFileDataObject swig_types[30]
264#define SWIGTYPE_p_wxCustomDataObject swig_types[31]
265#define SWIGTYPE_p_wxURLDataObject swig_types[32]
266#define SWIGTYPE_p_wxMetafileDataObject swig_types[33]
267#define SWIGTYPE_p_wxSound swig_types[34]
d14a1e28
RD
268#define SWIGTYPE_p_wxTimerRunner swig_types[35]
269#define SWIGTYPE_p_wxLogWindow swig_types[36]
270#define SWIGTYPE_p_wxTimeSpan swig_types[37]
271#define SWIGTYPE_p_wxArrayString swig_types[38]
272#define SWIGTYPE_p_wxWindowDisabler swig_types[39]
273#define SWIGTYPE_p_wxToolTip swig_types[40]
274#define SWIGTYPE_p_wxDataObjectComposite swig_types[41]
275#define SWIGTYPE_p_wxFileConfig swig_types[42]
276#define SWIGTYPE_p_wxSystemSettings swig_types[43]
277#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[44]
278#define SWIGTYPE_p_wxDataObjectSimple swig_types[45]
279#define SWIGTYPE_p_wxEvtHandler swig_types[46]
280#define SWIGTYPE_p_wxRect swig_types[47]
994141e6
RD
281#define SWIGTYPE_p_char swig_types[48]
282#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[49]
283#define SWIGTYPE_p_wxFileTypeInfo swig_types[50]
284#define SWIGTYPE_p_wxFrame swig_types[51]
285#define SWIGTYPE_p_wxTimer swig_types[52]
286#define SWIGTYPE_p_wxMimeTypesManager swig_types[53]
287#define SWIGTYPE_p_wxPyArtProvider swig_types[54]
288#define SWIGTYPE_p_wxPyTipProvider swig_types[55]
289#define SWIGTYPE_p_wxTipProvider swig_types[56]
290#define SWIGTYPE_p_wxJoystick swig_types[57]
291#define SWIGTYPE_p_wxSystemOptions swig_types[58]
292#define SWIGTYPE_p_wxPoint swig_types[59]
293#define SWIGTYPE_p_wxJoystickEvent swig_types[60]
294#define SWIGTYPE_p_wxCursor swig_types[61]
295#define SWIGTYPE_p_wxObject swig_types[62]
296#define SWIGTYPE_p_wxOutputStream swig_types[63]
297#define SWIGTYPE_p_wxDateTime swig_types[64]
298#define SWIGTYPE_p_wxPyDropSource swig_types[65]
299#define SWIGTYPE_p_wxWindow swig_types[66]
300#define SWIGTYPE_p_wxString swig_types[67]
301#define SWIGTYPE_p_wxPyProcess swig_types[68]
302#define SWIGTYPE_p_wxBitmap swig_types[69]
303#define SWIGTYPE_p_wxConfig swig_types[70]
304#define SWIGTYPE_p_wxChar swig_types[71]
305#define SWIGTYPE_p_wxBusyInfo swig_types[72]
306#define SWIGTYPE_p_wxPyDropTarget swig_types[73]
307#define SWIGTYPE_p_wxPyTextDropTarget swig_types[74]
308#define SWIGTYPE_p_wxPyFileDropTarget swig_types[75]
309#define SWIGTYPE_p_wxProcessEvent swig_types[76]
310#define SWIGTYPE_p_wxPyLog swig_types[77]
311#define SWIGTYPE_p_wxLogNull swig_types[78]
312#define SWIGTYPE_p_wxColour swig_types[79]
4d5c3d91
RD
313#define SWIGTYPE_p_wxByte swig_types[80]
314#define SWIGTYPE_p_wxConfigPathChanger swig_types[81]
315#define SWIGTYPE_p_wxPyTimer swig_types[82]
316#define SWIGTYPE_p_wxDateSpan swig_types[83]
317static swig_type_info *swig_types[85];
d14a1e28
RD
318
319/* -------- TYPES TABLE (END) -------- */
320
321
322/*-----------------------------------------------
323 @(target):= _misc.so
324 ------------------------------------------------*/
325#define SWIG_init init_misc
326
327#define SWIG_name "_misc"
328
994141e6
RD
329#include <limits.h>
330#include <float.h>
331#include <string.h>
332
333#ifndef SWIGSTATIC
334#ifdef __cplusplus
335#define SWIGSTATIC(a) static inline a
336#else
337#define SWIGSTATIC(a) static a
338#endif
339#endif
340
341#ifndef numeric_cast
342#ifdef __cplusplus
343#ifdef HAVE_NUMERIC_CAST
344#define numeric_cast(type,a) numeric_cast<type>(a)
345#else
346#define numeric_cast(type,a) static_cast<type>(a)
347#endif
348#else
349#define numeric_cast(type,a) (type)(a)
350#endif
351#endif
352
353
354
355#define SWIG_PyObj_FromSignedChar PyInt_FromLong
356#define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
357#define SWIG_PyObj_FromShort PyInt_FromLong
358#define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
359#define SWIG_PyObj_FromInt PyInt_FromLong
360#define SWIG_PyObj_FromLong PyInt_FromLong
361#define SWIG_PyObj_FromFloat PyFloat_FromDouble
362#define SWIG_PyObj_FromDouble PyFloat_FromDouble
363#define SWIG_PyObj_FromFloat PyFloat_FromDouble
364#define SWIG_PyObj_FromDouble PyFloat_FromDouble
365
366
d14a1e28
RD
367#include "wx/wxPython/wxPython.h"
368#include "wx/wxPython/pyclasses.h"
369#include "wx/wxPython/pyistream.h"
370
d14a1e28 371
b2dc1044 372 static const wxString wxPyEmptyString(wxEmptyString);
d14a1e28 373
d14a1e28 374
994141e6
RD
375
376SWIGSTATIC(int)
377SWIG_PyObj_AsInt(PyObject *obj)
378{
379 return numeric_cast(int,
380 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
381}
382
b2dc1044
RD
383 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
384 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
385 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
d14a1e28 386
994141e6
RD
387SWIGSTATIC(long)
388SWIG_PyObj_AsLong(PyObject * obj)
389{
390 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
391}
392
393
394SWIGSTATIC(bool)
395SWIG_PyObj_AsBool(PyObject *obj)
396{
397 return PyObject_IsTrue(obj) ? true : false;
398}
399
400
d14a1e28
RD
401static PyObject* t_output_helper(PyObject* target, PyObject* o) {
402 PyObject* o2;
403 PyObject* o3;
404
405 if (!target) {
406 target = o;
407 } else if (target == Py_None) {
408 Py_DECREF(Py_None);
409 target = o;
410 } else {
411 if (!PyTuple_Check(target)) {
412 o2 = target;
413 target = PyTuple_New(1);
414 PyTuple_SetItem(target, 0, o2);
415 }
416 o3 = PyTuple_New(1);
417 PyTuple_SetItem(o3, 0, o);
418
419 o2 = target;
420 target = PySequence_Concat(o2, o3);
421 Py_DECREF(o2);
422 Py_DECREF(o3);
423 }
424 return target;
425}
426
427
428 long wxGetFreeMemory()
39f61e25
RD
429 { wxPyRaiseNotImplemented(); return 0; }
430
431
994141e6
RD
432SWIGSTATIC(PyObject* )
433SWIG_PyObj_FromUnsignedLong(unsigned long value)
434{
435 return (value > (unsigned long)(LONG_MAX)) ?
436 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
437}
438
439
39f61e25
RD
440 bool wxGetKeyState(wxKeyCode key)
441 { wxPyRaiseNotImplemented(); return False; }
d14a1e28
RD
442
443
444 void wxWakeUpMainThread() {}
445
446
447 bool wxThread_IsMain() {
448#ifdef WXP_WITH_THREAD
449 return wxThread::IsMain();
450#else
e811c8ce 451 return True;
d14a1e28
RD
452#endif
453 }
454
455
456 int wxCaret_GetBlinkTime() {
457 return wxCaret::GetBlinkTime();
458 }
459
460 void wxCaret_SetBlinkTime(int milliseconds) {
461 wxCaret::SetBlinkTime(milliseconds);
462 }
463
464
465#include <wx/snglinst.h>
466
467
468#ifdef __WXMSW__
469#include <wx/msw/private.h>
470#include <wx/dynload.h>
471#endif
472
473
474
475void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
476{
477#ifdef __WXMSW__
478
479 switch (method)
480 {
481 case 1:
482 // This one only partially works. Appears to be an undocumented
483 // "standard" convention that not all widgets adhear to. For
484 // example, for some widgets backgrounds or non-client areas may
485 // not be painted.
486 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
487 break;
488
489 case 2:
490 // This one works much better, except for on XP. On Win2k nearly
491 // all widgets and their children are captured correctly[**]. On
492 // XP with Themes activated most native widgets draw only
493 // partially, if at all. Without themes it works just like on
494 // Win2k.
495 //
496 // ** For example the radio buttons in a wxRadioBox are not its
497 // children by default, but you can capture it via the panel
498 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
499 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
500 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
501 PRF_ERASEBKGND | PRF_OWNED );
502 break;
503
504 case 3:
505 // This one is only defined in the latest SDK and is only
506 // available on XP. MSDN says it is similar to sending WM_PRINT
507 // so I expect that it will work similar to the above. Since it
508 // is avaialble only on XP, it can't be compiled like this and
509 // will have to be loaded dynamically.
510 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
511
512 // fall through
513
514 case 4:
515 // Use PrintWindow if available, or fallback to WM_PRINT
516 // otherwise. Unfortunately using PrintWindow is even worse than
517 // WM_PRINT. For most native widgets nothing is drawn to the dc
518 // at all, with or without Themes.
519 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
e811c8ce 520 static bool s_triedToLoad = False;
d14a1e28
RD
521 static PrintWindow_t pfnPrintWindow = NULL;
522 if ( !s_triedToLoad )
523 {
524
e811c8ce 525 s_triedToLoad = True;
d14a1e28
RD
526 wxDynamicLibrary dllUser32(_T("user32.dll"));
527 if ( dllUser32.IsLoaded() )
528 {
529 wxLogNull nolog; // Don't report errors here
530 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
531 }
532 }
533 if (pfnPrintWindow)
534 {
535 printf("Using PrintWindow\n");
536 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
537 }
538 else
539 {
540 printf("Using WM_PRINT\n");
541 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
542 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
543 }
544 }
545#endif
546}
547
548
549
550#include <wx/tipdlg.h>
551
552
553class wxPyTipProvider : public wxTipProvider {
554public:
555 wxPyTipProvider(size_t currentTip)
556 : wxTipProvider(currentTip) {}
557
558 DEC_PYCALLBACK_STRING__pure(GetTip);
559 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
560 PYPRIVATE;
561};
562
563IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
564IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
565
566
567IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
568
994141e6
RD
569
570SWIGSTATIC(unsigned int)
571SWIG_PyObj_AsUnsignedInt(PyObject *obj)
572{
573 return numeric_cast(unsigned int,
574 SWIG_PyObj_AsUnsignedLongInRange(obj, "unsigned int", UINT_MAX));
575}
576
d14a1e28
RD
577wxString Log_TimeStamp(){
578 wxString msg;
579 wxLog::TimeStamp(&msg);
580 return msg;
581 }
582void wxLog_Destroy(wxLog *self){ delete self; }
583
584// A wxLog class that can be derived from in wxPython
585class wxPyLog : public wxLog {
586public:
587 wxPyLog() : wxLog() {}
588
589 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
590 bool found;
591 wxPyBeginBlockThreads();
592 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
593 PyObject* s = wx2PyString(szString);
594 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
595 Py_DECREF(s);
596 }
597 wxPyEndBlockThreads();
598 if (! found)
599 wxLog::DoLog(level, szString, t);
600 }
601
602 virtual void DoLogString(const wxChar *szString, time_t t) {
603 bool found;
604 wxPyBeginBlockThreads();
605 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
606 PyObject* s = wx2PyString(szString);
607 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
608 Py_DECREF(s);
609 }
610 wxPyEndBlockThreads();
611 if (! found)
612 wxLog::DoLogString(szString, t);
613 }
614
615 PYPRIVATE;
616};
617
618
619
620
621IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
622
623
624#include <wx/joystick.h>
625
626
627#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
628// A C++ stub class for wxJoystick for platforms that don't have it.
629class wxJoystick : public wxObject {
630public:
631 wxJoystick(int joystick = wxJOYSTICK1) {
632 wxPyBeginBlockThreads();
39f61e25
RD
633 PyErr_SetString(PyExc_NotImplementedError,
634 "wxJoystick is not available on this platform.");
d14a1e28
RD
635 wxPyEndBlockThreads();
636 }
637 wxPoint GetPosition() { return wxPoint(-1,-1); }
638 int GetZPosition() { return -1; }
639 int GetButtonState() { return -1; }
640 int GetPOVPosition() { return -1; }
641 int GetPOVCTSPosition() { return -1; }
642 int GetRudderPosition() { return -1; }
643 int GetUPosition() { return -1; }
644 int GetVPosition() { return -1; }
645 int GetMovementThreshold() { return -1; }
646 void SetMovementThreshold(int threshold) {}
647
e811c8ce 648 bool IsOk(void) { return False; }
d14a1e28
RD
649 int GetNumberJoysticks() { return -1; }
650 int GetManufacturerId() { return -1; }
651 int GetProductId() { return -1; }
652 wxString GetProductName() { return ""; }
653 int GetXMin() { return -1; }
654 int GetYMin() { return -1; }
655 int GetZMin() { return -1; }
656 int GetXMax() { return -1; }
657 int GetYMax() { return -1; }
658 int GetZMax() { return -1; }
659 int GetNumberButtons() { return -1; }
660 int GetNumberAxes() { return -1; }
661 int GetMaxButtons() { return -1; }
662 int GetMaxAxes() { return -1; }
663 int GetPollingMin() { return -1; }
664 int GetPollingMax() { return -1; }
665 int GetRudderMin() { return -1; }
666 int GetRudderMax() { return -1; }
667 int GetUMin() { return -1; }
668 int GetUMax() { return -1; }
669 int GetVMin() { return -1; }
670 int GetVMax() { return -1; }
671
e811c8ce
RD
672 bool HasRudder() { return False; }
673 bool HasZ() { return False; }
674 bool HasU() { return False; }
675 bool HasV() { return False; }
676 bool HasPOV() { return False; }
677 bool HasPOV4Dir() { return False; }
678 bool HasPOVCTS() { return False; }
d14a1e28 679
e811c8ce
RD
680 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
681 bool ReleaseCapture() { return False; }
d14a1e28
RD
682};
683#endif
684
685
4d5c3d91 686#include <wx/sound.h>
d14a1e28
RD
687
688
dff1fa9b 689#if !wxUSE_SOUND
d14a1e28 690// A C++ stub class for wxWave for platforms that don't have it.
4d5c3d91 691class wxSound : public wxObject
d14a1e28
RD
692{
693public:
4d5c3d91 694 wxSound() {
d14a1e28 695 wxPyBeginBlockThreads();
39f61e25 696 PyErr_SetString(PyExc_NotImplementedError,
4d5c3d91 697 "wxSound is not available on this platform.");
d14a1e28
RD
698 wxPyEndBlockThreads();
699 }
4d5c3d91 700 wxSound(const wxString&, bool) {
d14a1e28 701 wxPyBeginBlockThreads();
39f61e25 702 PyErr_SetString(PyExc_NotImplementedError,
4d5c3d91 703 "wxSound is not available on this platform.");
d14a1e28
RD
704 wxPyEndBlockThreads();
705 }
4d5c3d91
RD
706 wxSound(int, const wxByte*) {
707 wxPyBeginBlockThreads();
708 PyErr_SetString(PyExc_NotImplementedError,
709 "wxSound is not available on this platform.");
710 wxPyEndBlockThreads();
711 }
712
713 ~wxSound() {};
d14a1e28 714
4d5c3d91
RD
715 bool Create(const wxString&, bool) { return false; }
716 bool Create(int, const wxByte*) { return false; };
717 bool IsOk() { return false; };
718 bool Play(unsigned) const { return false; }
719 static bool Play(const wxString&, unsigned) { return false; }
720 static void Stop() {}
d14a1e28
RD
721};
722
723#endif
724
d14a1e28
RD
725
726#include <wx/mimetype.h>
727
728PyObject *wxFileType_GetMimeType(wxFileType *self){
729 wxString str;
730 if (self->GetMimeType(&str))
731 return wx2PyString(str);
732 else
733 RETURN_NONE();
734 }
735PyObject *wxFileType_GetMimeTypes(wxFileType *self){
736 wxArrayString arr;
737 if (self->GetMimeTypes(arr))
738 return wxArrayString2PyList_helper(arr);
739 else
740 RETURN_NONE();
741 }
742PyObject *wxFileType_GetExtensions(wxFileType *self){
743 wxArrayString arr;
744 if (self->GetExtensions(arr))
745 return wxArrayString2PyList_helper(arr);
746 else
747 RETURN_NONE();
748 }
749wxIcon *wxFileType_GetIcon(wxFileType *self){
750 wxIconLocation loc;
751 if (self->GetIcon(&loc))
752 return new wxIcon(loc);
753 else
754 return NULL;
755 }
756PyObject *wxFileType_GetIconInfo(wxFileType *self){
757 wxIconLocation loc;
758 if (self->GetIcon(&loc)) {
759 wxString iconFile = loc.GetFileName();
760 int iconIndex = -1;
761
762
763
764 // Make a tuple and put the values in it
765 wxPyBeginBlockThreads();
766 PyObject* tuple = PyTuple_New(3);
767 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
e811c8ce 768 wxT("wxIcon"), True));
d14a1e28
RD
769 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
770 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
771 wxPyEndBlockThreads();
772 return tuple;
773 }
774 else
775 RETURN_NONE();
776 }
777PyObject *wxFileType_GetDescription(wxFileType *self){
778 wxString str;
779 if (self->GetDescription(&str))
780 return wx2PyString(str);
781 else
782 RETURN_NONE();
783 }
784PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
785 wxString str;
786 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
787 return wx2PyString(str);
788 else
789 RETURN_NONE();
790 }
791PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
792 wxString str;
793 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
794 return wx2PyString(str);
795 else
796 RETURN_NONE();
797 }
798PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
799 wxArrayString verbs;
800 wxArrayString commands;
801 if (self->GetAllCommands(&verbs, &commands,
802 wxFileType::MessageParameters(filename, mimetype))) {
803 wxPyBeginBlockThreads();
804 PyObject* tuple = PyTuple_New(2);
805 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
806 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
807 wxPyEndBlockThreads();
808 return tuple;
809 }
810 else
811 RETURN_NONE();
812 }
813wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
814 return wxFileType::ExpandCommand(command,
815 wxFileType::MessageParameters(filename, mimetype));
816 }
817PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
818 wxArrayString arr;
819 self->EnumAllFileTypes(arr);
820 return wxArrayString2PyList_helper(arr);
821 }
822
823#include <wx/artprov.h>
824
825 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
826 static const wxString wxPyART_MENU(wxART_MENU);
827 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
828 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
829 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
830 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
831 static const wxString wxPyART_OTHER(wxART_OTHER);
832 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
833 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
834 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
835 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
836 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
837 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
838 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
839 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
840 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
841 static const wxString wxPyART_GO_UP(wxART_GO_UP);
842 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
843 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
844 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
845 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
846 static const wxString wxPyART_PRINT(wxART_PRINT);
847 static const wxString wxPyART_HELP(wxART_HELP);
848 static const wxString wxPyART_TIP(wxART_TIP);
849 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
850 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
851 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
852 static const wxString wxPyART_FOLDER(wxART_FOLDER);
853 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
854 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
855 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
856 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
857 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
858 static const wxString wxPyART_ERROR(wxART_ERROR);
859 static const wxString wxPyART_QUESTION(wxART_QUESTION);
860 static const wxString wxPyART_WARNING(wxART_WARNING);
861 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
862 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
863 // Python aware wxArtProvider
864class wxPyArtProvider : public wxArtProvider {
865public:
866
867 virtual wxBitmap CreateBitmap(const wxArtID& id,
868 const wxArtClient& client,
869 const wxSize& size) {
870 wxBitmap rval = wxNullBitmap;
871 wxPyBeginBlockThreads();
872 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
873 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
874 PyObject* ro;
875 wxBitmap* ptr;
876 PyObject* s1, *s2;
877 s1 = wx2PyString(id);
878 s2 = wx2PyString(client);
879 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
880 Py_DECREF(so);
881 Py_DECREF(s1);
882 Py_DECREF(s2);
883 if (ro) {
884 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
885 rval = *ptr;
886 Py_DECREF(ro);
887 }
888 }
889 wxPyEndBlockThreads();
890 return rval;
891 }
892
893 PYPRIVATE;
894};
895
1e0c8722 896void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
d14a1e28
RD
897
898
899
900 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
901 PyObject* ret = PyTuple_New(3);
902 if (ret) {
903 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
904 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
905 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
906 }
907 return ret;
908 }
909
910PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
911 bool cont;
912 long index = 0;
913 wxString value;
914
915 cont = self->GetFirstGroup(value, index);
916 return __EnumerationHelper(cont, value, index);
917 }
918PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
919 bool cont;
920 wxString value;
921
922 cont = self->GetNextGroup(value, index);
923 return __EnumerationHelper(cont, value, index);
924 }
925PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
926 bool cont;
927 long index = 0;
928 wxString value;
929
930 cont = self->GetFirstEntry(value, index);
931 return __EnumerationHelper(cont, value, index);
932 }
933PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
934 bool cont;
935 wxString value;
936
937 cont = self->GetNextEntry(value, index);
938 return __EnumerationHelper(cont, value, index);
939 }
940long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
941 long rv;
942 self->Read(key, &rv, defaultVal);
943 return rv;
944 }
994141e6
RD
945
946SWIGSTATIC(double)
947SWIG_PyObj_AsDouble(PyObject *obj)
948{
949 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
950#if HAVE_LONG_LONG
951 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
952#else
953 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
954#endif
955 if (PyErr_Occurred()) {
956 PyErr_Clear();
957 PyErr_SetString(PyExc_TypeError, "a double is expected");
958 }
959}
960
d14a1e28
RD
961double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
962 double rv;
963 self->Read(key, &rv, defaultVal);
964 return rv;
965 }
966bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
967 bool rv;
968 self->Read(key, &rv, defaultVal);
969 return rv;
970 }
971
972#include <wx/datetime.h>
973
d14a1e28 974
33b885b9
RD
975 static const wxString wxPyDateFormatStr(wxT("%c"));
976 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
d14a1e28
RD
977
978#define LOCAL_TZ wxDateTime::Local
979
994141e6
RD
980
981#define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
982
d14a1e28
RD
983wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
984wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
985wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
986wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
987wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
988bool wxDateTime___lt__(wxDateTime *self,wxDateTime const &other){ return *self < other; }
989bool wxDateTime___le__(wxDateTime *self,wxDateTime const &other){ return *self <= other; }
990bool wxDateTime___gt__(wxDateTime *self,wxDateTime const &other){ return *self > other; }
991bool wxDateTime___ge__(wxDateTime *self,wxDateTime const &other){ return *self >= other; }
992bool wxDateTime___eq__(wxDateTime *self,wxDateTime const &other){ return *self == other; }
993bool wxDateTime___ne__(wxDateTime *self,wxDateTime const &other){ return *self != other; }
994int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
995 const wxChar* rv;
996 const wxChar* _date = date;
997 rv = self->ParseRfc822Date(_date);
998 if (rv == NULL) return -1;
999 return rv - _date;
1000 }
1001int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
1002 const wxChar* rv;
1003 const wxChar* _date = date;
1004 rv = self->ParseFormat(_date, format, dateDef);
1005 if (rv == NULL) return -1;
1006 return rv - _date;
1007 }
1008int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
1009 const wxChar* rv;
1010 const wxChar* _datetime = datetime;
1011 rv = self->ParseDateTime(_datetime);
1012 if (rv == NULL) return -1;
1013 return rv - _datetime;
1014 }
1015int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
1016 const wxChar* rv;
1017 const wxChar* _date = date;
1018 rv = self->ParseDate(_date);
1019 if (rv == NULL) return -1;
1020 return rv - _date;
1021 }
1022int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
1023 const wxChar* rv;
1024 const wxChar* _time = time;
1025 rv = self->ParseTime(_time);
1026 if (rv == NULL) return -1;
1027 return rv - _time;
1028 }
1029wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
1030wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
1031wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
1032wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
1033bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self < other; }
1034bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const &other){ return *self <= other; }
1035bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self > other; }
1036bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const &other){ return *self >= other; }
1037bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const &other){ return *self == other; }
1038bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const &other){ return *self != other; }
1039wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
1040wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
1041wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
1042wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
1043bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const &other){ return *self == other; }
1044bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const &other){ return *self != other; }
1045
1046#include <wx/dataobj.h>
1047
1048 // Create a new class for wxPython to use
1049class wxPyDataObjectSimple : public wxDataObjectSimple {
1050public:
1051 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
1052 : wxDataObjectSimple(format) {}
1053
1054 DEC_PYCALLBACK_SIZET__const(GetDataSize);
1055 bool GetDataHere(void *buf) const;
1056 bool SetData(size_t len, const void *buf) const;
1057 PYPRIVATE;
1058};
1059
1060IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
1061
1062bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
1063 // We need to get the data for this object and write it to buf. I think
1064 // the best way to do this for wxPython is to have the Python method
1065 // return either a string or None and then act appropriately with the
1066 // C++ version.
1067
e811c8ce 1068 bool rval = False;
d14a1e28
RD
1069 wxPyBeginBlockThreads();
1070 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
1071 PyObject* ro;
1072 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1073 if (ro) {
1074 rval = (ro != Py_None && PyString_Check(ro));
1075 if (rval)
1076 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
1077 Py_DECREF(ro);
1078 }
1079 }
1080 wxPyEndBlockThreads();
1081 return rval;
1082}
1083
1084bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
1085 // For this one we simply need to make a string from buf and len
1086 // and send it to the Python method.
e811c8ce 1087 bool rval = False;
d14a1e28
RD
1088 wxPyBeginBlockThreads();
1089 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
1090 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
1091 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
1092 Py_DECREF(data);
1093 }
1094 wxPyEndBlockThreads();
1095 return rval;
1096}
1097
1098 // Create a new class for wxPython to use
1099class wxPyTextDataObject : public wxTextDataObject {
1100public:
1101 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
1102 : wxTextDataObject(text) {}
1103
1104 DEC_PYCALLBACK_SIZET__const(GetTextLength);
1105 DEC_PYCALLBACK_STRING__const(GetText);
1106 DEC_PYCALLBACK__STRING(SetText);
1107 PYPRIVATE;
1108};
1109
1110IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
1111IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
1112IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
1113
1114
1115 // Create a new class for wxPython to use
1116class wxPyBitmapDataObject : public wxBitmapDataObject {
1117public:
1118 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1119 : wxBitmapDataObject(bitmap) {}
1120
1121 wxBitmap GetBitmap() const;
1122 void SetBitmap(const wxBitmap& bitmap);
1123 PYPRIVATE;
1124};
1125
1126wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1127 wxBitmap* rval = &wxNullBitmap;
1128 wxPyBeginBlockThreads();
1129 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1130 PyObject* ro;
1131 wxBitmap* ptr;
1132 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1133 if (ro) {
1134 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1135 rval = ptr;
1136 Py_DECREF(ro);
1137 }
1138 }
1139 wxPyEndBlockThreads();
1140 return *rval;
1141}
1142
1143void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1144 wxPyBeginBlockThreads();
1145 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
e811c8ce 1146 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
d14a1e28
RD
1147 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1148 Py_DECREF(bo);
1149 }
1150 wxPyEndBlockThreads();
1151}
1152
1153void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1154 if (PyString_Check(data)) {
1155 // for Python we just call SetData here since we always need it to make a copy.
1156 self->SetData(PyString_Size(data), PyString_AsString(data));
1157 }
1158 else {
1159 // raise a TypeError if not a string
1160 PyErr_SetString(PyExc_TypeError, "String expected.");
1161 }
1162 }
1163bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1164 if (PyString_Check(data)) {
1165 return self->SetData(PyString_Size(data), PyString_AsString(data));
1166 }
1167 else {
1168 // raise a TypeError if not a string
1169 PyErr_SetString(PyExc_TypeError, "String expected.");
e811c8ce 1170 return False;
d14a1e28
RD
1171 }
1172 }
1173PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1174 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1175 }
1176
1177class wxMetafileDataObject : public wxDataObjectSimple
1178{
1179public:
39f61e25 1180 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
d14a1e28
RD
1181};
1182
1183
d14a1e28
RD
1184IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1185
1186
d14a1e28
RD
1187IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1188IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1189IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1190IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1191IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1192
1193
d14a1e28
RD
1194class wxPyTextDropTarget : public wxTextDropTarget {
1195public:
1196 wxPyTextDropTarget() {}
1197
1198 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1199
1200 DEC_PYCALLBACK__(OnLeave);
1201 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1202 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1203 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1204 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1205
1206 PYPRIVATE;
1207};
1208
1209IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1210IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1211IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1212IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1213IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1214IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1215
1216
1217
1218class wxPyFileDropTarget : public wxFileDropTarget {
1219public:
1220 wxPyFileDropTarget() {}
1221
1222 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1223
1224 DEC_PYCALLBACK__(OnLeave);
1225 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1226 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1227 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1228 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1229
1230 PYPRIVATE;
1231};
1232
1233bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1234 const wxArrayString& filenames) {
e811c8ce 1235 bool rval = False;
d14a1e28
RD
1236 wxPyBeginBlockThreads();
1237 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1238 PyObject* list = wxArrayString2PyList_helper(filenames);
1239 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1240 Py_DECREF(list);
1241 }
1242 wxPyEndBlockThreads();
1243 return rval;
1244}
1245
1246
1247
1248IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1249IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1250IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1251IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1252IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1253
1254
1255
1256
1257bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1258#ifdef __cplusplus
1259extern "C" {
1260#endif
1261static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1262 PyObject *resultobj;
1263 int arg1 ;
1264 wxColour result;
994141e6 1265 PyObject * obj0 = 0 ;
d14a1e28
RD
1266 char *kwnames[] = {
1267 (char *) "index", NULL
1268 };
1269
994141e6
RD
1270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
1271 {
1272 arg1 = (wxSystemColour) SWIG_PyObj_AsInt(obj0);
1273 if (PyErr_Occurred()) SWIG_fail;
1274 }
d14a1e28
RD
1275 {
1276 PyThreadState* __tstate = wxPyBeginAllowThreads();
1277 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1278
1279 wxPyEndAllowThreads(__tstate);
1280 if (PyErr_Occurred()) SWIG_fail;
1281 }
1282 {
1283 wxColour * resultptr;
1284 resultptr = new wxColour((wxColour &) result);
1285 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
1286 }
1287 return resultobj;
1288 fail:
1289 return NULL;
1290}
1291
1292
1293static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1294 PyObject *resultobj;
1295 int arg1 ;
1296 wxFont result;
994141e6 1297 PyObject * obj0 = 0 ;
d14a1e28
RD
1298 char *kwnames[] = {
1299 (char *) "index", NULL
1300 };
1301
994141e6
RD
1302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
1303 {
1304 arg1 = (wxSystemFont) SWIG_PyObj_AsInt(obj0);
1305 if (PyErr_Occurred()) SWIG_fail;
1306 }
d14a1e28
RD
1307 {
1308 PyThreadState* __tstate = wxPyBeginAllowThreads();
1309 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1310
1311 wxPyEndAllowThreads(__tstate);
1312 if (PyErr_Occurred()) SWIG_fail;
1313 }
1314 {
1315 wxFont * resultptr;
1316 resultptr = new wxFont((wxFont &) result);
1317 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
1318 }
1319 return resultobj;
1320 fail:
1321 return NULL;
1322}
1323
1324
1325static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1326 PyObject *resultobj;
1327 int arg1 ;
1328 int result;
994141e6 1329 PyObject * obj0 = 0 ;
d14a1e28
RD
1330 char *kwnames[] = {
1331 (char *) "index", NULL
1332 };
1333
994141e6
RD
1334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
1335 {
1336 arg1 = (wxSystemMetric) SWIG_PyObj_AsInt(obj0);
1337 if (PyErr_Occurred()) SWIG_fail;
1338 }
d14a1e28
RD
1339 {
1340 PyThreadState* __tstate = wxPyBeginAllowThreads();
1341 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1342
1343 wxPyEndAllowThreads(__tstate);
1344 if (PyErr_Occurred()) SWIG_fail;
1345 }
994141e6 1346 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
1347 return resultobj;
1348 fail:
1349 return NULL;
1350}
1351
1352
1353static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1354 PyObject *resultobj;
1355 int arg1 ;
1356 bool result;
994141e6 1357 PyObject * obj0 = 0 ;
d14a1e28
RD
1358 char *kwnames[] = {
1359 (char *) "index", NULL
1360 };
1361
994141e6
RD
1362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
1363 {
1364 arg1 = (wxSystemFeature) SWIG_PyObj_AsInt(obj0);
1365 if (PyErr_Occurred()) SWIG_fail;
1366 }
d14a1e28
RD
1367 {
1368 PyThreadState* __tstate = wxPyBeginAllowThreads();
1369 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1370
1371 wxPyEndAllowThreads(__tstate);
1372 if (PyErr_Occurred()) SWIG_fail;
1373 }
4d5c3d91 1374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1375 return resultobj;
1376 fail:
1377 return NULL;
1378}
1379
1380
1381static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1382 PyObject *resultobj;
1383 int result;
1384 char *kwnames[] = {
1385 NULL
1386 };
1387
1388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1389 {
1390 PyThreadState* __tstate = wxPyBeginAllowThreads();
1391 result = (int)wxSystemSettings::GetScreenType();
1392
1393 wxPyEndAllowThreads(__tstate);
1394 if (PyErr_Occurred()) SWIG_fail;
1395 }
994141e6 1396 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
1397 return resultobj;
1398 fail:
1399 return NULL;
1400}
1401
1402
1403static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1404 PyObject *resultobj;
1405 int arg1 ;
994141e6 1406 PyObject * obj0 = 0 ;
d14a1e28
RD
1407 char *kwnames[] = {
1408 (char *) "screen", NULL
1409 };
1410
994141e6
RD
1411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
1412 {
1413 arg1 = (wxSystemScreenType) SWIG_PyObj_AsInt(obj0);
1414 if (PyErr_Occurred()) SWIG_fail;
1415 }
d14a1e28
RD
1416 {
1417 PyThreadState* __tstate = wxPyBeginAllowThreads();
1418 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1419
1420 wxPyEndAllowThreads(__tstate);
1421 if (PyErr_Occurred()) SWIG_fail;
1422 }
1423 Py_INCREF(Py_None); resultobj = Py_None;
1424 return resultobj;
1425 fail:
1426 return NULL;
1427}
1428
1429
1430static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1431 PyObject *obj;
1432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1433 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1434 Py_INCREF(obj);
1435 return Py_BuildValue((char *)"");
1436}
1437static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1438 PyObject *resultobj;
1439 wxSystemOptions *result;
1440 char *kwnames[] = {
1441 NULL
1442 };
1443
1444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1445 {
1446 PyThreadState* __tstate = wxPyBeginAllowThreads();
1447 result = (wxSystemOptions *)new wxSystemOptions();
1448
1449 wxPyEndAllowThreads(__tstate);
1450 if (PyErr_Occurred()) SWIG_fail;
1451 }
1452 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSystemOptions, 1);
1453 return resultobj;
1454 fail:
1455 return NULL;
1456}
1457
1458
1459static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1460 PyObject *resultobj;
1461 wxString *arg1 = 0 ;
1462 wxString *arg2 = 0 ;
e811c8ce
RD
1463 bool temp1 = False ;
1464 bool temp2 = False ;
d14a1e28
RD
1465 PyObject * obj0 = 0 ;
1466 PyObject * obj1 = 0 ;
1467 char *kwnames[] = {
1468 (char *) "name",(char *) "value", NULL
1469 };
1470
1471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1472 {
1473 arg1 = wxString_in_helper(obj0);
1474 if (arg1 == NULL) SWIG_fail;
e811c8ce 1475 temp1 = True;
d14a1e28
RD
1476 }
1477 {
1478 arg2 = wxString_in_helper(obj1);
1479 if (arg2 == NULL) SWIG_fail;
e811c8ce 1480 temp2 = True;
d14a1e28
RD
1481 }
1482 {
1483 PyThreadState* __tstate = wxPyBeginAllowThreads();
1484 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1485
1486 wxPyEndAllowThreads(__tstate);
1487 if (PyErr_Occurred()) SWIG_fail;
1488 }
1489 Py_INCREF(Py_None); resultobj = Py_None;
1490 {
1491 if (temp1)
1492 delete arg1;
1493 }
1494 {
1495 if (temp2)
1496 delete arg2;
1497 }
1498 return resultobj;
1499 fail:
1500 {
1501 if (temp1)
1502 delete arg1;
1503 }
1504 {
1505 if (temp2)
1506 delete arg2;
1507 }
1508 return NULL;
1509}
1510
1511
1512static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1513 PyObject *resultobj;
1514 wxString *arg1 = 0 ;
1515 int arg2 ;
e811c8ce 1516 bool temp1 = False ;
d14a1e28 1517 PyObject * obj0 = 0 ;
994141e6 1518 PyObject * obj1 = 0 ;
d14a1e28
RD
1519 char *kwnames[] = {
1520 (char *) "name",(char *) "value", NULL
1521 };
1522
994141e6 1523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
1524 {
1525 arg1 = wxString_in_helper(obj0);
1526 if (arg1 == NULL) SWIG_fail;
e811c8ce 1527 temp1 = True;
d14a1e28 1528 }
994141e6
RD
1529 {
1530 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1531 if (PyErr_Occurred()) SWIG_fail;
1532 }
d14a1e28
RD
1533 {
1534 PyThreadState* __tstate = wxPyBeginAllowThreads();
1535 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1536
1537 wxPyEndAllowThreads(__tstate);
1538 if (PyErr_Occurred()) SWIG_fail;
1539 }
1540 Py_INCREF(Py_None); resultobj = Py_None;
1541 {
1542 if (temp1)
1543 delete arg1;
1544 }
1545 return resultobj;
1546 fail:
1547 {
1548 if (temp1)
1549 delete arg1;
1550 }
1551 return NULL;
1552}
1553
1554
1555static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1556 PyObject *resultobj;
1557 wxString *arg1 = 0 ;
1558 wxString result;
e811c8ce 1559 bool temp1 = False ;
d14a1e28
RD
1560 PyObject * obj0 = 0 ;
1561 char *kwnames[] = {
1562 (char *) "name", NULL
1563 };
1564
1565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1566 {
1567 arg1 = wxString_in_helper(obj0);
1568 if (arg1 == NULL) SWIG_fail;
e811c8ce 1569 temp1 = True;
d14a1e28
RD
1570 }
1571 {
1572 PyThreadState* __tstate = wxPyBeginAllowThreads();
1573 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1574
1575 wxPyEndAllowThreads(__tstate);
1576 if (PyErr_Occurred()) SWIG_fail;
1577 }
1578 {
1579#if wxUSE_UNICODE
1580 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1581#else
1582 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1583#endif
1584 }
1585 {
1586 if (temp1)
1587 delete arg1;
1588 }
1589 return resultobj;
1590 fail:
1591 {
1592 if (temp1)
1593 delete arg1;
1594 }
1595 return NULL;
1596}
1597
1598
1599static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1600 PyObject *resultobj;
1601 wxString *arg1 = 0 ;
1602 int result;
e811c8ce 1603 bool temp1 = False ;
d14a1e28
RD
1604 PyObject * obj0 = 0 ;
1605 char *kwnames[] = {
1606 (char *) "name", NULL
1607 };
1608
1609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1610 {
1611 arg1 = wxString_in_helper(obj0);
1612 if (arg1 == NULL) SWIG_fail;
e811c8ce 1613 temp1 = True;
d14a1e28
RD
1614 }
1615 {
1616 PyThreadState* __tstate = wxPyBeginAllowThreads();
1617 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1618
1619 wxPyEndAllowThreads(__tstate);
1620 if (PyErr_Occurred()) SWIG_fail;
1621 }
994141e6 1622 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
1623 {
1624 if (temp1)
1625 delete arg1;
1626 }
1627 return resultobj;
1628 fail:
1629 {
1630 if (temp1)
1631 delete arg1;
1632 }
1633 return NULL;
1634}
1635
1636
1637static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1638 PyObject *resultobj;
1639 wxString *arg1 = 0 ;
1640 bool result;
e811c8ce 1641 bool temp1 = False ;
d14a1e28
RD
1642 PyObject * obj0 = 0 ;
1643 char *kwnames[] = {
1644 (char *) "name", NULL
1645 };
1646
1647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1648 {
1649 arg1 = wxString_in_helper(obj0);
1650 if (arg1 == NULL) SWIG_fail;
e811c8ce 1651 temp1 = True;
d14a1e28
RD
1652 }
1653 {
1654 PyThreadState* __tstate = wxPyBeginAllowThreads();
1655 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1656
1657 wxPyEndAllowThreads(__tstate);
1658 if (PyErr_Occurred()) SWIG_fail;
1659 }
4d5c3d91 1660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1661 {
1662 if (temp1)
1663 delete arg1;
1664 }
1665 return resultobj;
1666 fail:
1667 {
1668 if (temp1)
1669 delete arg1;
1670 }
1671 return NULL;
1672}
1673
1674
1675static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1676 PyObject *obj;
1677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1678 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1679 Py_INCREF(obj);
1680 return Py_BuildValue((char *)"");
1681}
b2dc1044
RD
1682static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
1683 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
1684 return 1;
1685}
1686
1687
1688static PyObject *_wrap_FileSelectorPromptStr_get() {
1689 PyObject *pyobj;
1690
1691 {
1692#if wxUSE_UNICODE
1693 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1694#else
1695 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1696#endif
1697 }
1698 return pyobj;
1699}
1700
1701
1702static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
1703 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
1704 return 1;
1705}
1706
1707
1708static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
1709 PyObject *pyobj;
1710
1711 {
1712#if wxUSE_UNICODE
1713 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1714#else
1715 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1716#endif
1717 }
1718 return pyobj;
1719}
1720
1721
1722static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
1723 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
1724 return 1;
1725}
1726
1727
1728static PyObject *_wrap_DirSelectorPromptStr_get() {
1729 PyObject *pyobj;
1730
1731 {
1732#if wxUSE_UNICODE
1733 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1734#else
1735 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1736#endif
1737 }
1738 return pyobj;
1739}
1740
1741
d14a1e28
RD
1742static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1743 PyObject *resultobj;
1744 long result;
1745 char *kwnames[] = {
1746 NULL
1747 };
1748
1749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1750 {
1751 PyThreadState* __tstate = wxPyBeginAllowThreads();
1752 result = (long)wxNewId();
1753
1754 wxPyEndAllowThreads(__tstate);
1755 if (PyErr_Occurred()) SWIG_fail;
1756 }
994141e6 1757 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
1758 return resultobj;
1759 fail:
1760 return NULL;
1761}
1762
1763
1764static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1765 PyObject *resultobj;
1766 long arg1 ;
994141e6 1767 PyObject * obj0 = 0 ;
d14a1e28
RD
1768 char *kwnames[] = {
1769 (char *) "id", NULL
1770 };
1771
994141e6
RD
1772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
1773 {
1774 arg1 = (long) SWIG_PyObj_AsLong(obj0);
1775 if (PyErr_Occurred()) SWIG_fail;
1776 }
d14a1e28
RD
1777 {
1778 PyThreadState* __tstate = wxPyBeginAllowThreads();
1779 wxRegisterId(arg1);
1780
1781 wxPyEndAllowThreads(__tstate);
1782 if (PyErr_Occurred()) SWIG_fail;
1783 }
1784 Py_INCREF(Py_None); resultobj = Py_None;
1785 return resultobj;
1786 fail:
1787 return NULL;
1788}
1789
1790
1791static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1792 PyObject *resultobj;
1793 long result;
1794 char *kwnames[] = {
1795 NULL
1796 };
1797
1798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1799 {
1800 PyThreadState* __tstate = wxPyBeginAllowThreads();
1801 result = (long)wxGetCurrentId();
1802
1803 wxPyEndAllowThreads(__tstate);
1804 if (PyErr_Occurred()) SWIG_fail;
1805 }
994141e6 1806 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
1807 return resultobj;
1808 fail:
1809 return NULL;
1810}
1811
1812
1813static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
1814 PyObject *resultobj;
1815 char *kwnames[] = {
1816 NULL
1817 };
1818
1819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1820 {
1821 PyThreadState* __tstate = wxPyBeginAllowThreads();
1822 wxBell();
1823
1824 wxPyEndAllowThreads(__tstate);
1825 if (PyErr_Occurred()) SWIG_fail;
1826 }
1827 Py_INCREF(Py_None); resultobj = Py_None;
1828 return resultobj;
1829 fail:
1830 return NULL;
1831}
1832
1833
1834static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1835 PyObject *resultobj;
1836 char *kwnames[] = {
1837 NULL
1838 };
1839
1840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
1841 {
1842 PyThreadState* __tstate = wxPyBeginAllowThreads();
1843 wxEndBusyCursor();
1844
1845 wxPyEndAllowThreads(__tstate);
1846 if (PyErr_Occurred()) SWIG_fail;
1847 }
1848 Py_INCREF(Py_None); resultobj = Py_None;
1849 return resultobj;
1850 fail:
1851 return NULL;
1852}
1853
1854
1855static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1856 PyObject *resultobj;
e811c8ce 1857 bool arg1 = (bool) True ;
d14a1e28
RD
1858 long result;
1859 PyObject * obj0 = 0 ;
1860 char *kwnames[] = {
1861 (char *) "resetTimer", NULL
1862 };
1863
1864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
1865 if (obj0) {
a41e16b6 1866 {
994141e6 1867 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
a41e16b6
RD
1868 if (PyErr_Occurred()) SWIG_fail;
1869 }
d14a1e28
RD
1870 }
1871 {
1872 PyThreadState* __tstate = wxPyBeginAllowThreads();
1873 result = (long)wxGetElapsedTime(arg1);
1874
1875 wxPyEndAllowThreads(__tstate);
1876 if (PyErr_Occurred()) SWIG_fail;
1877 }
994141e6 1878 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
1879 return resultobj;
1880 fail:
1881 return NULL;
1882}
1883
1884
1885static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1886 PyObject *resultobj;
1887 int *arg1 = (int *) 0 ;
1888 int *arg2 = (int *) 0 ;
1889 int temp1 ;
1890 int temp2 ;
1891 char *kwnames[] = {
1892 NULL
1893 };
1894
1895 arg1 = &temp1;
1896 arg2 = &temp2;
1897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
1898 {
1899 PyThreadState* __tstate = wxPyBeginAllowThreads();
1900 wxGetMousePosition(arg1,arg2);
1901
1902 wxPyEndAllowThreads(__tstate);
1903 if (PyErr_Occurred()) SWIG_fail;
1904 }
1905 Py_INCREF(Py_None); resultobj = Py_None;
1906 {
1907 PyObject *o = PyInt_FromLong((long) (*arg1));
1908 resultobj = t_output_helper(resultobj,o);
1909 }
1910 {
1911 PyObject *o = PyInt_FromLong((long) (*arg2));
1912 resultobj = t_output_helper(resultobj,o);
1913 }
1914 return resultobj;
1915 fail:
1916 return NULL;
1917}
1918
1919
1920static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
1921 PyObject *resultobj;
1922 bool result;
1923 char *kwnames[] = {
1924 NULL
1925 };
1926
1927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
1928 {
1929 PyThreadState* __tstate = wxPyBeginAllowThreads();
1930 result = (bool)wxIsBusy();
1931
1932 wxPyEndAllowThreads(__tstate);
1933 if (PyErr_Occurred()) SWIG_fail;
1934 }
4d5c3d91 1935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1936 return resultobj;
1937 fail:
1938 return NULL;
1939}
1940
1941
1942static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
1943 PyObject *resultobj;
1944 wxString result;
1945 char *kwnames[] = {
1946 NULL
1947 };
1948
1949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
1950 {
1951 PyThreadState* __tstate = wxPyBeginAllowThreads();
1952 result = wxNow();
1953
1954 wxPyEndAllowThreads(__tstate);
1955 if (PyErr_Occurred()) SWIG_fail;
1956 }
1957 {
1958#if wxUSE_UNICODE
1959 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1960#else
1961 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1962#endif
1963 }
1964 return resultobj;
1965 fail:
1966 return NULL;
1967}
1968
1969
1970static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
1971 PyObject *resultobj;
1972 wxString const &arg1_defvalue = wxPyEmptyString ;
1973 wxString *arg1 = (wxString *) &arg1_defvalue ;
1974 bool result;
e811c8ce 1975 bool temp1 = False ;
d14a1e28
RD
1976 PyObject * obj0 = 0 ;
1977 char *kwnames[] = {
1978 (char *) "command", NULL
1979 };
1980
1981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
1982 if (obj0) {
1983 {
1984 arg1 = wxString_in_helper(obj0);
1985 if (arg1 == NULL) SWIG_fail;
e811c8ce 1986 temp1 = True;
d14a1e28
RD
1987 }
1988 }
1989 {
1990 PyThreadState* __tstate = wxPyBeginAllowThreads();
1991 result = (bool)wxShell((wxString const &)*arg1);
1992
1993 wxPyEndAllowThreads(__tstate);
1994 if (PyErr_Occurred()) SWIG_fail;
1995 }
4d5c3d91 1996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1997 {
1998 if (temp1)
1999 delete arg1;
2000 }
2001 return resultobj;
2002 fail:
2003 {
2004 if (temp1)
2005 delete arg1;
2006 }
2007 return NULL;
2008}
2009
2010
2011static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
2012 PyObject *resultobj;
2013 char *kwnames[] = {
2014 NULL
2015 };
2016
2017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2018 {
2019 PyThreadState* __tstate = wxPyBeginAllowThreads();
2020 wxStartTimer();
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_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
2033 PyObject *resultobj;
2034 int *arg1 = (int *) 0 ;
2035 int *arg2 = (int *) 0 ;
2036 int result;
2037 int temp1 ;
2038 int temp2 ;
2039 char *kwnames[] = {
2040 NULL
2041 };
2042
2043 arg1 = &temp1;
2044 arg2 = &temp2;
2045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2046 {
2047 PyThreadState* __tstate = wxPyBeginAllowThreads();
2048 result = (int)wxGetOsVersion(arg1,arg2);
2049
2050 wxPyEndAllowThreads(__tstate);
2051 if (PyErr_Occurred()) SWIG_fail;
2052 }
994141e6 2053 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
2054 {
2055 PyObject *o = PyInt_FromLong((long) (*arg1));
2056 resultobj = t_output_helper(resultobj,o);
2057 }
2058 {
2059 PyObject *o = PyInt_FromLong((long) (*arg2));
2060 resultobj = t_output_helper(resultobj,o);
2061 }
2062 return resultobj;
2063 fail:
2064 return NULL;
2065}
2066
2067
2068static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
2069 PyObject *resultobj;
2070 wxString result;
2071 char *kwnames[] = {
2072 NULL
2073 };
2074
2075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2076 {
2077 PyThreadState* __tstate = wxPyBeginAllowThreads();
2078 result = wxGetOsDescription();
2079
2080 wxPyEndAllowThreads(__tstate);
2081 if (PyErr_Occurred()) SWIG_fail;
2082 }
2083 {
2084#if wxUSE_UNICODE
2085 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2086#else
2087 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2088#endif
2089 }
2090 return resultobj;
2091 fail:
2092 return NULL;
2093}
2094
2095
2096static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
2097 PyObject *resultobj;
2098 long result;
2099 char *kwnames[] = {
2100 NULL
2101 };
2102
2103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2104 {
2105 PyThreadState* __tstate = wxPyBeginAllowThreads();
2106 result = (long)wxGetFreeMemory();
2107
2108 wxPyEndAllowThreads(__tstate);
2109 if (PyErr_Occurred()) SWIG_fail;
2110 }
994141e6 2111 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
2112 return resultobj;
2113 fail:
2114 return NULL;
2115}
2116
2117
2118static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
2119 PyObject *resultobj;
2120 int arg1 ;
2121 bool result;
994141e6 2122 PyObject * obj0 = 0 ;
d14a1e28
RD
2123 char *kwnames[] = {
2124 (char *) "wFlags", NULL
2125 };
2126
994141e6
RD
2127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
2128 {
2129 arg1 = (wxShutdownFlags) SWIG_PyObj_AsInt(obj0);
2130 if (PyErr_Occurred()) SWIG_fail;
2131 }
d14a1e28
RD
2132 {
2133 PyThreadState* __tstate = wxPyBeginAllowThreads();
2134 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2135
2136 wxPyEndAllowThreads(__tstate);
2137 if (PyErr_Occurred()) SWIG_fail;
2138 }
4d5c3d91 2139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2140 return resultobj;
2141 fail:
2142 return NULL;
2143}
2144
2145
2146static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2147 PyObject *resultobj;
2148 int arg1 ;
994141e6 2149 PyObject * obj0 = 0 ;
d14a1e28
RD
2150 char *kwnames[] = {
2151 (char *) "secs", NULL
2152 };
2153
994141e6
RD
2154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
2155 {
2156 arg1 = (int) SWIG_PyObj_AsInt(obj0);
2157 if (PyErr_Occurred()) SWIG_fail;
2158 }
d14a1e28
RD
2159 {
2160 PyThreadState* __tstate = wxPyBeginAllowThreads();
2161 wxSleep(arg1);
2162
2163 wxPyEndAllowThreads(__tstate);
2164 if (PyErr_Occurred()) SWIG_fail;
2165 }
2166 Py_INCREF(Py_None); resultobj = Py_None;
2167 return resultobj;
2168 fail:
2169 return NULL;
2170}
2171
2172
2173static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2174 PyObject *resultobj;
2175 unsigned long arg1 ;
2176 PyObject * obj0 = 0 ;
2177 char *kwnames[] = {
2178 (char *) "milliseconds", NULL
2179 };
2180
2181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
a41e16b6 2182 {
994141e6 2183 arg1 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0);
a41e16b6
RD
2184 if (PyErr_Occurred()) SWIG_fail;
2185 }
d14a1e28
RD
2186 {
2187 PyThreadState* __tstate = wxPyBeginAllowThreads();
2188 wxUsleep(arg1);
2189
2190 wxPyEndAllowThreads(__tstate);
2191 if (PyErr_Occurred()) SWIG_fail;
2192 }
2193 Py_INCREF(Py_None); resultobj = Py_None;
2194 return resultobj;
2195 fail:
2196 return NULL;
2197}
2198
2199
2200static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2201 PyObject *resultobj;
2202 bool arg1 ;
2203 PyObject * obj0 = 0 ;
2204 char *kwnames[] = {
2205 (char *) "enable", NULL
2206 };
2207
2208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
a41e16b6 2209 {
994141e6 2210 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
a41e16b6
RD
2211 if (PyErr_Occurred()) SWIG_fail;
2212 }
d14a1e28
RD
2213 {
2214 PyThreadState* __tstate = wxPyBeginAllowThreads();
2215 wxEnableTopLevelWindows(arg1);
2216
2217 wxPyEndAllowThreads(__tstate);
2218 if (PyErr_Occurred()) SWIG_fail;
2219 }
2220 Py_INCREF(Py_None); resultobj = Py_None;
2221 return resultobj;
2222 fail:
2223 return NULL;
2224}
2225
2226
2227static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2228 PyObject *resultobj;
2229 wxString *arg1 = 0 ;
2230 wxString result;
e811c8ce 2231 bool temp1 = False ;
d14a1e28
RD
2232 PyObject * obj0 = 0 ;
2233 char *kwnames[] = {
2234 (char *) "in", NULL
2235 };
2236
2237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2238 {
2239 arg1 = wxString_in_helper(obj0);
2240 if (arg1 == NULL) SWIG_fail;
e811c8ce 2241 temp1 = True;
d14a1e28
RD
2242 }
2243 {
2244 PyThreadState* __tstate = wxPyBeginAllowThreads();
2245 result = wxStripMenuCodes((wxString const &)*arg1);
2246
2247 wxPyEndAllowThreads(__tstate);
2248 if (PyErr_Occurred()) SWIG_fail;
2249 }
2250 {
2251#if wxUSE_UNICODE
2252 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2253#else
2254 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2255#endif
2256 }
2257 {
2258 if (temp1)
2259 delete arg1;
2260 }
2261 return resultobj;
2262 fail:
2263 {
2264 if (temp1)
2265 delete arg1;
2266 }
2267 return NULL;
2268}
2269
2270
2271static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2272 PyObject *resultobj;
2273 wxString result;
2274 char *kwnames[] = {
2275 NULL
2276 };
2277
2278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2279 {
2280 PyThreadState* __tstate = wxPyBeginAllowThreads();
2281 result = wxGetEmailAddress();
2282
2283 wxPyEndAllowThreads(__tstate);
2284 if (PyErr_Occurred()) SWIG_fail;
2285 }
2286 {
2287#if wxUSE_UNICODE
2288 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2289#else
2290 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2291#endif
2292 }
2293 return resultobj;
2294 fail:
2295 return NULL;
2296}
2297
2298
2299static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2300 PyObject *resultobj;
2301 wxString result;
2302 char *kwnames[] = {
2303 NULL
2304 };
2305
2306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2307 {
2308 PyThreadState* __tstate = wxPyBeginAllowThreads();
2309 result = wxGetHostName();
2310
2311 wxPyEndAllowThreads(__tstate);
2312 if (PyErr_Occurred()) SWIG_fail;
2313 }
2314 {
2315#if wxUSE_UNICODE
2316 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2317#else
2318 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2319#endif
2320 }
2321 return resultobj;
2322 fail:
2323 return NULL;
2324}
2325
2326
2327static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2328 PyObject *resultobj;
2329 wxString result;
2330 char *kwnames[] = {
2331 NULL
2332 };
2333
2334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2335 {
2336 PyThreadState* __tstate = wxPyBeginAllowThreads();
2337 result = wxGetFullHostName();
2338
2339 wxPyEndAllowThreads(__tstate);
2340 if (PyErr_Occurred()) SWIG_fail;
2341 }
2342 {
2343#if wxUSE_UNICODE
2344 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2345#else
2346 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2347#endif
2348 }
2349 return resultobj;
2350 fail:
2351 return NULL;
2352}
2353
2354
2355static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2356 PyObject *resultobj;
2357 wxString result;
2358 char *kwnames[] = {
2359 NULL
2360 };
2361
2362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2363 {
2364 PyThreadState* __tstate = wxPyBeginAllowThreads();
2365 result = wxGetUserId();
2366
2367 wxPyEndAllowThreads(__tstate);
2368 if (PyErr_Occurred()) SWIG_fail;
2369 }
2370 {
2371#if wxUSE_UNICODE
2372 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2373#else
2374 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2375#endif
2376 }
2377 return resultobj;
2378 fail:
2379 return NULL;
2380}
2381
2382
2383static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2384 PyObject *resultobj;
2385 wxString result;
2386 char *kwnames[] = {
2387 NULL
2388 };
2389
2390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2391 {
2392 PyThreadState* __tstate = wxPyBeginAllowThreads();
2393 result = wxGetUserName();
2394
2395 wxPyEndAllowThreads(__tstate);
2396 if (PyErr_Occurred()) SWIG_fail;
2397 }
2398 {
2399#if wxUSE_UNICODE
2400 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2401#else
2402 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2403#endif
2404 }
2405 return resultobj;
2406 fail:
2407 return NULL;
2408}
2409
2410
2411static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2412 PyObject *resultobj;
2413 wxString result;
2414 char *kwnames[] = {
2415 NULL
2416 };
2417
2418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2419 {
2420 PyThreadState* __tstate = wxPyBeginAllowThreads();
2421 result = wxGetHomeDir();
2422
2423 wxPyEndAllowThreads(__tstate);
2424 if (PyErr_Occurred()) SWIG_fail;
2425 }
2426 {
2427#if wxUSE_UNICODE
2428 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2429#else
2430 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2431#endif
2432 }
2433 return resultobj;
2434 fail:
2435 return NULL;
2436}
2437
2438
2439static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2440 PyObject *resultobj;
2441 wxString const &arg1_defvalue = wxPyEmptyString ;
2442 wxString *arg1 = (wxString *) &arg1_defvalue ;
2443 wxString result;
e811c8ce 2444 bool temp1 = False ;
d14a1e28
RD
2445 PyObject * obj0 = 0 ;
2446 char *kwnames[] = {
2447 (char *) "user", NULL
2448 };
2449
2450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2451 if (obj0) {
2452 {
2453 arg1 = wxString_in_helper(obj0);
2454 if (arg1 == NULL) SWIG_fail;
e811c8ce 2455 temp1 = True;
d14a1e28
RD
2456 }
2457 }
2458 {
2459 PyThreadState* __tstate = wxPyBeginAllowThreads();
2460 result = wxGetUserHome((wxString const &)*arg1);
2461
2462 wxPyEndAllowThreads(__tstate);
2463 if (PyErr_Occurred()) SWIG_fail;
2464 }
2465 {
2466#if wxUSE_UNICODE
2467 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2468#else
2469 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2470#endif
2471 }
2472 {
2473 if (temp1)
2474 delete arg1;
2475 }
2476 return resultobj;
2477 fail:
2478 {
2479 if (temp1)
2480 delete arg1;
2481 }
2482 return NULL;
2483}
2484
2485
2486static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2487 PyObject *resultobj;
2488 unsigned long result;
2489 char *kwnames[] = {
2490 NULL
2491 };
2492
2493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2494 {
2495 PyThreadState* __tstate = wxPyBeginAllowThreads();
2496 result = (unsigned long)wxGetProcessId();
2497
2498 wxPyEndAllowThreads(__tstate);
2499 if (PyErr_Occurred()) SWIG_fail;
2500 }
994141e6 2501 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
2502 return resultobj;
2503 fail:
2504 return NULL;
2505}
2506
2507
2508static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2509 PyObject *resultobj;
2510 char *kwnames[] = {
2511 NULL
2512 };
2513
2514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2515 {
2516 PyThreadState* __tstate = wxPyBeginAllowThreads();
2517 wxTrap();
2518
2519 wxPyEndAllowThreads(__tstate);
2520 if (PyErr_Occurred()) SWIG_fail;
2521 }
2522 Py_INCREF(Py_None); resultobj = Py_None;
2523 return resultobj;
2524 fail:
2525 return NULL;
2526}
2527
2528
2529static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2530 PyObject *resultobj;
2531 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2532 wxString *arg1 = (wxString *) &arg1_defvalue ;
2533 wxString const &arg2_defvalue = wxPyEmptyString ;
2534 wxString *arg2 = (wxString *) &arg2_defvalue ;
2535 wxString const &arg3_defvalue = wxPyEmptyString ;
2536 wxString *arg3 = (wxString *) &arg3_defvalue ;
2537 wxString const &arg4_defvalue = wxPyEmptyString ;
2538 wxString *arg4 = (wxString *) &arg4_defvalue ;
2539 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2540 wxString *arg5 = (wxString *) &arg5_defvalue ;
2541 int arg6 = (int) 0 ;
2542 wxWindow *arg7 = (wxWindow *) NULL ;
2543 int arg8 = (int) -1 ;
2544 int arg9 = (int) -1 ;
2545 wxString result;
e811c8ce
RD
2546 bool temp1 = False ;
2547 bool temp2 = False ;
2548 bool temp3 = False ;
2549 bool temp4 = False ;
2550 bool temp5 = False ;
d14a1e28
RD
2551 PyObject * obj0 = 0 ;
2552 PyObject * obj1 = 0 ;
2553 PyObject * obj2 = 0 ;
2554 PyObject * obj3 = 0 ;
2555 PyObject * obj4 = 0 ;
994141e6 2556 PyObject * obj5 = 0 ;
d14a1e28 2557 PyObject * obj6 = 0 ;
994141e6
RD
2558 PyObject * obj7 = 0 ;
2559 PyObject * obj8 = 0 ;
d14a1e28
RD
2560 char *kwnames[] = {
2561 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2562 };
2563
994141e6 2564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d14a1e28
RD
2565 if (obj0) {
2566 {
2567 arg1 = wxString_in_helper(obj0);
2568 if (arg1 == NULL) SWIG_fail;
e811c8ce 2569 temp1 = True;
d14a1e28
RD
2570 }
2571 }
2572 if (obj1) {
2573 {
2574 arg2 = wxString_in_helper(obj1);
2575 if (arg2 == NULL) SWIG_fail;
e811c8ce 2576 temp2 = True;
d14a1e28
RD
2577 }
2578 }
2579 if (obj2) {
2580 {
2581 arg3 = wxString_in_helper(obj2);
2582 if (arg3 == NULL) SWIG_fail;
e811c8ce 2583 temp3 = True;
d14a1e28
RD
2584 }
2585 }
2586 if (obj3) {
2587 {
2588 arg4 = wxString_in_helper(obj3);
2589 if (arg4 == NULL) SWIG_fail;
e811c8ce 2590 temp4 = True;
d14a1e28
RD
2591 }
2592 }
2593 if (obj4) {
2594 {
2595 arg5 = wxString_in_helper(obj4);
2596 if (arg5 == NULL) SWIG_fail;
e811c8ce 2597 temp5 = True;
d14a1e28
RD
2598 }
2599 }
994141e6
RD
2600 if (obj5) {
2601 {
2602 arg6 = (int) SWIG_PyObj_AsInt(obj5);
2603 if (PyErr_Occurred()) SWIG_fail;
2604 }
2605 }
d14a1e28
RD
2606 if (obj6) {
2607 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2608 }
994141e6
RD
2609 if (obj7) {
2610 {
2611 arg8 = (int) SWIG_PyObj_AsInt(obj7);
2612 if (PyErr_Occurred()) SWIG_fail;
2613 }
2614 }
2615 if (obj8) {
2616 {
2617 arg9 = (int) SWIG_PyObj_AsInt(obj8);
2618 if (PyErr_Occurred()) SWIG_fail;
2619 }
2620 }
d14a1e28
RD
2621 {
2622 PyThreadState* __tstate = wxPyBeginAllowThreads();
2623 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2624
2625 wxPyEndAllowThreads(__tstate);
2626 if (PyErr_Occurred()) SWIG_fail;
2627 }
2628 {
2629#if wxUSE_UNICODE
2630 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2631#else
2632 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2633#endif
2634 }
2635 {
2636 if (temp1)
2637 delete arg1;
2638 }
2639 {
2640 if (temp2)
2641 delete arg2;
2642 }
2643 {
2644 if (temp3)
2645 delete arg3;
2646 }
2647 {
2648 if (temp4)
2649 delete arg4;
2650 }
2651 {
2652 if (temp5)
2653 delete arg5;
2654 }
2655 return resultobj;
2656 fail:
2657 {
2658 if (temp1)
2659 delete arg1;
2660 }
2661 {
2662 if (temp2)
2663 delete arg2;
2664 }
2665 {
2666 if (temp3)
2667 delete arg3;
2668 }
2669 {
2670 if (temp4)
2671 delete arg4;
2672 }
2673 {
2674 if (temp5)
2675 delete arg5;
2676 }
2677 return NULL;
2678}
2679
2680
2681static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2682 PyObject *resultobj;
2683 wxString *arg1 = 0 ;
2684 wxString *arg2 = 0 ;
2685 wxString const &arg3_defvalue = wxPyEmptyString ;
2686 wxString *arg3 = (wxString *) &arg3_defvalue ;
2687 wxWindow *arg4 = (wxWindow *) NULL ;
2688 wxString result;
e811c8ce
RD
2689 bool temp1 = False ;
2690 bool temp2 = False ;
2691 bool temp3 = False ;
d14a1e28
RD
2692 PyObject * obj0 = 0 ;
2693 PyObject * obj1 = 0 ;
2694 PyObject * obj2 = 0 ;
2695 PyObject * obj3 = 0 ;
2696 char *kwnames[] = {
2697 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2698 };
2699
2700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2701 {
2702 arg1 = wxString_in_helper(obj0);
2703 if (arg1 == NULL) SWIG_fail;
e811c8ce 2704 temp1 = True;
d14a1e28
RD
2705 }
2706 {
2707 arg2 = wxString_in_helper(obj1);
2708 if (arg2 == NULL) SWIG_fail;
e811c8ce 2709 temp2 = True;
d14a1e28
RD
2710 }
2711 if (obj2) {
2712 {
2713 arg3 = wxString_in_helper(obj2);
2714 if (arg3 == NULL) SWIG_fail;
e811c8ce 2715 temp3 = True;
d14a1e28
RD
2716 }
2717 }
2718 if (obj3) {
2719 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2720 }
2721 {
2722 PyThreadState* __tstate = wxPyBeginAllowThreads();
2723 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2724
2725 wxPyEndAllowThreads(__tstate);
2726 if (PyErr_Occurred()) SWIG_fail;
2727 }
2728 {
2729#if wxUSE_UNICODE
2730 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2731#else
2732 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2733#endif
2734 }
2735 {
2736 if (temp1)
2737 delete arg1;
2738 }
2739 {
2740 if (temp2)
2741 delete arg2;
2742 }
2743 {
2744 if (temp3)
2745 delete arg3;
2746 }
2747 return resultobj;
2748 fail:
2749 {
2750 if (temp1)
2751 delete arg1;
2752 }
2753 {
2754 if (temp2)
2755 delete arg2;
2756 }
2757 {
2758 if (temp3)
2759 delete arg3;
2760 }
2761 return NULL;
2762}
2763
2764
2765static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2766 PyObject *resultobj;
2767 wxString *arg1 = 0 ;
2768 wxString *arg2 = 0 ;
2769 wxString const &arg3_defvalue = wxPyEmptyString ;
2770 wxString *arg3 = (wxString *) &arg3_defvalue ;
2771 wxWindow *arg4 = (wxWindow *) NULL ;
2772 wxString result;
e811c8ce
RD
2773 bool temp1 = False ;
2774 bool temp2 = False ;
2775 bool temp3 = False ;
d14a1e28
RD
2776 PyObject * obj0 = 0 ;
2777 PyObject * obj1 = 0 ;
2778 PyObject * obj2 = 0 ;
2779 PyObject * obj3 = 0 ;
2780 char *kwnames[] = {
2781 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2782 };
2783
2784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2785 {
2786 arg1 = wxString_in_helper(obj0);
2787 if (arg1 == NULL) SWIG_fail;
e811c8ce 2788 temp1 = True;
d14a1e28
RD
2789 }
2790 {
2791 arg2 = wxString_in_helper(obj1);
2792 if (arg2 == NULL) SWIG_fail;
e811c8ce 2793 temp2 = True;
d14a1e28
RD
2794 }
2795 if (obj2) {
2796 {
2797 arg3 = wxString_in_helper(obj2);
2798 if (arg3 == NULL) SWIG_fail;
e811c8ce 2799 temp3 = True;
d14a1e28
RD
2800 }
2801 }
2802 if (obj3) {
2803 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2804 }
2805 {
2806 PyThreadState* __tstate = wxPyBeginAllowThreads();
2807 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2808
2809 wxPyEndAllowThreads(__tstate);
2810 if (PyErr_Occurred()) SWIG_fail;
2811 }
2812 {
2813#if wxUSE_UNICODE
2814 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2815#else
2816 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2817#endif
2818 }
2819 {
2820 if (temp1)
2821 delete arg1;
2822 }
2823 {
2824 if (temp2)
2825 delete arg2;
2826 }
2827 {
2828 if (temp3)
2829 delete arg3;
2830 }
2831 return resultobj;
2832 fail:
2833 {
2834 if (temp1)
2835 delete arg1;
2836 }
2837 {
2838 if (temp2)
2839 delete arg2;
2840 }
2841 {
2842 if (temp3)
2843 delete arg3;
2844 }
2845 return NULL;
2846}
2847
2848
2849static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2850 PyObject *resultobj;
2851 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
2852 wxString *arg1 = (wxString *) &arg1_defvalue ;
2853 wxString const &arg2_defvalue = wxPyEmptyString ;
2854 wxString *arg2 = (wxString *) &arg2_defvalue ;
2855 long arg3 = (long) wxDD_DEFAULT_STYLE ;
2856 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2857 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2858 wxWindow *arg5 = (wxWindow *) NULL ;
2859 wxString result;
e811c8ce
RD
2860 bool temp1 = False ;
2861 bool temp2 = False ;
d14a1e28
RD
2862 wxPoint temp4 ;
2863 PyObject * obj0 = 0 ;
2864 PyObject * obj1 = 0 ;
994141e6 2865 PyObject * obj2 = 0 ;
d14a1e28
RD
2866 PyObject * obj3 = 0 ;
2867 PyObject * obj4 = 0 ;
2868 char *kwnames[] = {
2869 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2870 };
2871
994141e6 2872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
2873 if (obj0) {
2874 {
2875 arg1 = wxString_in_helper(obj0);
2876 if (arg1 == NULL) SWIG_fail;
e811c8ce 2877 temp1 = True;
d14a1e28
RD
2878 }
2879 }
2880 if (obj1) {
2881 {
2882 arg2 = wxString_in_helper(obj1);
2883 if (arg2 == NULL) SWIG_fail;
e811c8ce 2884 temp2 = True;
d14a1e28
RD
2885 }
2886 }
994141e6
RD
2887 if (obj2) {
2888 {
2889 arg3 = (long) SWIG_PyObj_AsLong(obj2);
2890 if (PyErr_Occurred()) SWIG_fail;
2891 }
2892 }
d14a1e28
RD
2893 if (obj3) {
2894 {
2895 arg4 = &temp4;
2896 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2897 }
2898 }
2899 if (obj4) {
2900 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2901 }
2902 {
2903 PyThreadState* __tstate = wxPyBeginAllowThreads();
2904 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
2905
2906 wxPyEndAllowThreads(__tstate);
2907 if (PyErr_Occurred()) SWIG_fail;
2908 }
2909 {
2910#if wxUSE_UNICODE
2911 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2912#else
2913 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2914#endif
2915 }
2916 {
2917 if (temp1)
2918 delete arg1;
2919 }
2920 {
2921 if (temp2)
2922 delete arg2;
2923 }
2924 return resultobj;
2925 fail:
2926 {
2927 if (temp1)
2928 delete arg1;
2929 }
2930 {
2931 if (temp2)
2932 delete arg2;
2933 }
2934 return NULL;
2935}
2936
2937
2938static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2939 PyObject *resultobj;
2940 wxString *arg1 = 0 ;
2941 wxString const &arg2_defvalue = wxPyEmptyString ;
2942 wxString *arg2 = (wxString *) &arg2_defvalue ;
2943 wxString const &arg3_defvalue = wxPyEmptyString ;
2944 wxString *arg3 = (wxString *) &arg3_defvalue ;
2945 wxWindow *arg4 = (wxWindow *) NULL ;
2946 int arg5 = (int) -1 ;
2947 int arg6 = (int) -1 ;
e811c8ce 2948 bool arg7 = (bool) True ;
d14a1e28 2949 wxString result;
e811c8ce
RD
2950 bool temp1 = False ;
2951 bool temp2 = False ;
2952 bool temp3 = False ;
d14a1e28
RD
2953 PyObject * obj0 = 0 ;
2954 PyObject * obj1 = 0 ;
2955 PyObject * obj2 = 0 ;
2956 PyObject * obj3 = 0 ;
994141e6
RD
2957 PyObject * obj4 = 0 ;
2958 PyObject * obj5 = 0 ;
d14a1e28
RD
2959 PyObject * obj6 = 0 ;
2960 char *kwnames[] = {
2961 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2962 };
2963
994141e6 2964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
2965 {
2966 arg1 = wxString_in_helper(obj0);
2967 if (arg1 == NULL) SWIG_fail;
e811c8ce 2968 temp1 = True;
d14a1e28
RD
2969 }
2970 if (obj1) {
2971 {
2972 arg2 = wxString_in_helper(obj1);
2973 if (arg2 == NULL) SWIG_fail;
e811c8ce 2974 temp2 = True;
d14a1e28
RD
2975 }
2976 }
2977 if (obj2) {
2978 {
2979 arg3 = wxString_in_helper(obj2);
2980 if (arg3 == NULL) SWIG_fail;
e811c8ce 2981 temp3 = True;
d14a1e28
RD
2982 }
2983 }
2984 if (obj3) {
2985 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2986 }
994141e6
RD
2987 if (obj4) {
2988 {
2989 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2990 if (PyErr_Occurred()) SWIG_fail;
2991 }
2992 }
2993 if (obj5) {
2994 {
2995 arg6 = (int) SWIG_PyObj_AsInt(obj5);
2996 if (PyErr_Occurred()) SWIG_fail;
2997 }
2998 }
d14a1e28 2999 if (obj6) {
a41e16b6 3000 {
994141e6 3001 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
a41e16b6
RD
3002 if (PyErr_Occurred()) SWIG_fail;
3003 }
d14a1e28
RD
3004 }
3005 {
3006 PyThreadState* __tstate = wxPyBeginAllowThreads();
3007 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
3008
3009 wxPyEndAllowThreads(__tstate);
3010 if (PyErr_Occurred()) SWIG_fail;
3011 }
3012 {
3013#if wxUSE_UNICODE
3014 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3015#else
3016 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3017#endif
3018 }
3019 {
3020 if (temp1)
3021 delete arg1;
3022 }
3023 {
3024 if (temp2)
3025 delete arg2;
3026 }
3027 {
3028 if (temp3)
3029 delete arg3;
3030 }
3031 return resultobj;
3032 fail:
3033 {
3034 if (temp1)
3035 delete arg1;
3036 }
3037 {
3038 if (temp2)
3039 delete arg2;
3040 }
3041 {
3042 if (temp3)
3043 delete arg3;
3044 }
3045 return NULL;
3046}
3047
3048
3049static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3050 PyObject *resultobj;
3051 wxString *arg1 = 0 ;
3052 wxString const &arg2_defvalue = wxPyEmptyString ;
3053 wxString *arg2 = (wxString *) &arg2_defvalue ;
3054 wxString const &arg3_defvalue = wxPyEmptyString ;
3055 wxString *arg3 = (wxString *) &arg3_defvalue ;
3056 wxWindow *arg4 = (wxWindow *) NULL ;
3057 wxString result;
e811c8ce
RD
3058 bool temp1 = False ;
3059 bool temp2 = False ;
3060 bool temp3 = False ;
d14a1e28
RD
3061 PyObject * obj0 = 0 ;
3062 PyObject * obj1 = 0 ;
3063 PyObject * obj2 = 0 ;
3064 PyObject * obj3 = 0 ;
3065 char *kwnames[] = {
3066 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3067 };
3068
3069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3070 {
3071 arg1 = wxString_in_helper(obj0);
3072 if (arg1 == NULL) SWIG_fail;
e811c8ce 3073 temp1 = True;
d14a1e28
RD
3074 }
3075 if (obj1) {
3076 {
3077 arg2 = wxString_in_helper(obj1);
3078 if (arg2 == NULL) SWIG_fail;
e811c8ce 3079 temp2 = True;
d14a1e28
RD
3080 }
3081 }
3082 if (obj2) {
3083 {
3084 arg3 = wxString_in_helper(obj2);
3085 if (arg3 == NULL) SWIG_fail;
e811c8ce 3086 temp3 = True;
d14a1e28
RD
3087 }
3088 }
3089 if (obj3) {
3090 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3091 }
3092 {
3093 PyThreadState* __tstate = wxPyBeginAllowThreads();
3094 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3095
3096 wxPyEndAllowThreads(__tstate);
3097 if (PyErr_Occurred()) SWIG_fail;
3098 }
3099 {
3100#if wxUSE_UNICODE
3101 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3102#else
3103 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3104#endif
3105 }
3106 {
3107 if (temp1)
3108 delete arg1;
3109 }
3110 {
3111 if (temp2)
3112 delete arg2;
3113 }
3114 {
3115 if (temp3)
3116 delete arg3;
3117 }
3118 return resultobj;
3119 fail:
3120 {
3121 if (temp1)
3122 delete arg1;
3123 }
3124 {
3125 if (temp2)
3126 delete arg2;
3127 }
3128 {
3129 if (temp3)
3130 delete arg3;
3131 }
3132 return NULL;
3133}
3134
3135
3136static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
3137 PyObject *resultobj;
3138 wxString *arg1 = 0 ;
3139 wxString *arg2 = 0 ;
3140 int arg3 ;
3141 wxString *arg4 = (wxString *) 0 ;
3142 wxWindow *arg5 = (wxWindow *) NULL ;
3143 int arg6 = (int) -1 ;
3144 int arg7 = (int) -1 ;
e811c8ce 3145 bool arg8 = (bool) True ;
d14a1e28
RD
3146 int arg9 = (int) 150 ;
3147 int arg10 = (int) 200 ;
3148 wxString result;
e811c8ce
RD
3149 bool temp1 = False ;
3150 bool temp2 = False ;
d14a1e28
RD
3151 PyObject * obj0 = 0 ;
3152 PyObject * obj1 = 0 ;
3153 PyObject * obj2 = 0 ;
3154 PyObject * obj3 = 0 ;
994141e6
RD
3155 PyObject * obj4 = 0 ;
3156 PyObject * obj5 = 0 ;
d14a1e28 3157 PyObject * obj6 = 0 ;
994141e6
RD
3158 PyObject * obj7 = 0 ;
3159 PyObject * obj8 = 0 ;
d14a1e28
RD
3160 char *kwnames[] = {
3161 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3162 };
3163
994141e6 3164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d14a1e28
RD
3165 {
3166 arg1 = wxString_in_helper(obj0);
3167 if (arg1 == NULL) SWIG_fail;
e811c8ce 3168 temp1 = True;
d14a1e28
RD
3169 }
3170 {
3171 arg2 = wxString_in_helper(obj1);
3172 if (arg2 == NULL) SWIG_fail;
e811c8ce 3173 temp2 = True;
d14a1e28
RD
3174 }
3175 {
3176 arg3 = PyList_Size(obj2);
3177 arg4 = wxString_LIST_helper(obj2);
3178 if (arg4 == NULL) SWIG_fail;
3179 }
3180 if (obj3) {
3181 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3182 }
994141e6
RD
3183 if (obj4) {
3184 {
3185 arg6 = (int) SWIG_PyObj_AsInt(obj4);
3186 if (PyErr_Occurred()) SWIG_fail;
3187 }
3188 }
3189 if (obj5) {
3190 {
3191 arg7 = (int) SWIG_PyObj_AsInt(obj5);
3192 if (PyErr_Occurred()) SWIG_fail;
3193 }
3194 }
d14a1e28 3195 if (obj6) {
a41e16b6 3196 {
994141e6
RD
3197 arg8 = (bool) SWIG_PyObj_AsBool(obj6);
3198 if (PyErr_Occurred()) SWIG_fail;
3199 }
3200 }
3201 if (obj7) {
3202 {
3203 arg9 = (int) SWIG_PyObj_AsInt(obj7);
3204 if (PyErr_Occurred()) SWIG_fail;
3205 }
3206 }
3207 if (obj8) {
3208 {
3209 arg10 = (int) SWIG_PyObj_AsInt(obj8);
a41e16b6
RD
3210 if (PyErr_Occurred()) SWIG_fail;
3211 }
d14a1e28
RD
3212 }
3213 {
3214 PyThreadState* __tstate = wxPyBeginAllowThreads();
3215 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3216
3217 wxPyEndAllowThreads(__tstate);
3218 if (PyErr_Occurred()) SWIG_fail;
3219 }
3220 {
3221#if wxUSE_UNICODE
3222 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3223#else
3224 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3225#endif
3226 }
3227 {
3228 if (temp1)
3229 delete arg1;
3230 }
3231 {
3232 if (temp2)
3233 delete arg2;
3234 }
3235 {
3236 if (arg4) delete [] arg4;
3237 }
3238 return resultobj;
3239 fail:
3240 {
3241 if (temp1)
3242 delete arg1;
3243 }
3244 {
3245 if (temp2)
3246 delete arg2;
3247 }
3248 {
3249 if (arg4) delete [] arg4;
3250 }
3251 return NULL;
3252}
3253
3254
3255static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3256 PyObject *resultobj;
3257 wxString *arg1 = 0 ;
3258 wxString *arg2 = 0 ;
3259 int arg3 ;
3260 wxString *arg4 = (wxString *) 0 ;
3261 wxWindow *arg5 = (wxWindow *) NULL ;
3262 int arg6 = (int) -1 ;
3263 int arg7 = (int) -1 ;
e811c8ce 3264 bool arg8 = (bool) True ;
d14a1e28
RD
3265 int arg9 = (int) 150 ;
3266 int arg10 = (int) 200 ;
3267 int result;
e811c8ce
RD
3268 bool temp1 = False ;
3269 bool temp2 = False ;
d14a1e28
RD
3270 PyObject * obj0 = 0 ;
3271 PyObject * obj1 = 0 ;
3272 PyObject * obj2 = 0 ;
3273 PyObject * obj3 = 0 ;
994141e6
RD
3274 PyObject * obj4 = 0 ;
3275 PyObject * obj5 = 0 ;
d14a1e28 3276 PyObject * obj6 = 0 ;
994141e6
RD
3277 PyObject * obj7 = 0 ;
3278 PyObject * obj8 = 0 ;
d14a1e28
RD
3279 char *kwnames[] = {
3280 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3281 };
3282
994141e6 3283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d14a1e28
RD
3284 {
3285 arg1 = wxString_in_helper(obj0);
3286 if (arg1 == NULL) SWIG_fail;
e811c8ce 3287 temp1 = True;
d14a1e28
RD
3288 }
3289 {
3290 arg2 = wxString_in_helper(obj1);
3291 if (arg2 == NULL) SWIG_fail;
e811c8ce 3292 temp2 = True;
d14a1e28
RD
3293 }
3294 {
3295 arg3 = PyList_Size(obj2);
3296 arg4 = wxString_LIST_helper(obj2);
3297 if (arg4 == NULL) SWIG_fail;
3298 }
3299 if (obj3) {
3300 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3301 }
994141e6
RD
3302 if (obj4) {
3303 {
3304 arg6 = (int) SWIG_PyObj_AsInt(obj4);
3305 if (PyErr_Occurred()) SWIG_fail;
3306 }
3307 }
3308 if (obj5) {
3309 {
3310 arg7 = (int) SWIG_PyObj_AsInt(obj5);
3311 if (PyErr_Occurred()) SWIG_fail;
3312 }
3313 }
d14a1e28 3314 if (obj6) {
a41e16b6 3315 {
994141e6
RD
3316 arg8 = (bool) SWIG_PyObj_AsBool(obj6);
3317 if (PyErr_Occurred()) SWIG_fail;
3318 }
3319 }
3320 if (obj7) {
3321 {
3322 arg9 = (int) SWIG_PyObj_AsInt(obj7);
3323 if (PyErr_Occurred()) SWIG_fail;
3324 }
3325 }
3326 if (obj8) {
3327 {
3328 arg10 = (int) SWIG_PyObj_AsInt(obj8);
a41e16b6
RD
3329 if (PyErr_Occurred()) SWIG_fail;
3330 }
d14a1e28
RD
3331 }
3332 {
3333 PyThreadState* __tstate = wxPyBeginAllowThreads();
3334 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3335
3336 wxPyEndAllowThreads(__tstate);
3337 if (PyErr_Occurred()) SWIG_fail;
3338 }
994141e6 3339 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3340 {
3341 if (temp1)
3342 delete arg1;
3343 }
3344 {
3345 if (temp2)
3346 delete arg2;
3347 }
3348 {
3349 if (arg4) delete [] arg4;
3350 }
3351 return resultobj;
3352 fail:
3353 {
3354 if (temp1)
3355 delete arg1;
3356 }
3357 {
3358 if (temp2)
3359 delete arg2;
3360 }
3361 {
3362 if (arg4) delete [] arg4;
3363 }
3364 return NULL;
3365}
3366
3367
3368static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3369 PyObject *resultobj;
3370 wxString *arg1 = 0 ;
3371 wxString const &arg2_defvalue = wxPyEmptyString ;
3372 wxString *arg2 = (wxString *) &arg2_defvalue ;
3373 int arg3 = (int) wxOK|wxCENTRE ;
3374 wxWindow *arg4 = (wxWindow *) NULL ;
3375 int arg5 = (int) -1 ;
3376 int arg6 = (int) -1 ;
3377 int result;
e811c8ce
RD
3378 bool temp1 = False ;
3379 bool temp2 = False ;
d14a1e28
RD
3380 PyObject * obj0 = 0 ;
3381 PyObject * obj1 = 0 ;
994141e6 3382 PyObject * obj2 = 0 ;
d14a1e28 3383 PyObject * obj3 = 0 ;
994141e6
RD
3384 PyObject * obj4 = 0 ;
3385 PyObject * obj5 = 0 ;
d14a1e28
RD
3386 char *kwnames[] = {
3387 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3388 };
3389
994141e6 3390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28
RD
3391 {
3392 arg1 = wxString_in_helper(obj0);
3393 if (arg1 == NULL) SWIG_fail;
e811c8ce 3394 temp1 = True;
d14a1e28
RD
3395 }
3396 if (obj1) {
3397 {
3398 arg2 = wxString_in_helper(obj1);
3399 if (arg2 == NULL) SWIG_fail;
e811c8ce 3400 temp2 = True;
d14a1e28
RD
3401 }
3402 }
994141e6
RD
3403 if (obj2) {
3404 {
3405 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3406 if (PyErr_Occurred()) SWIG_fail;
3407 }
3408 }
d14a1e28
RD
3409 if (obj3) {
3410 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3411 }
994141e6
RD
3412 if (obj4) {
3413 {
3414 arg5 = (int) SWIG_PyObj_AsInt(obj4);
3415 if (PyErr_Occurred()) SWIG_fail;
3416 }
3417 }
3418 if (obj5) {
3419 {
3420 arg6 = (int) SWIG_PyObj_AsInt(obj5);
3421 if (PyErr_Occurred()) SWIG_fail;
3422 }
3423 }
d14a1e28
RD
3424 {
3425 PyThreadState* __tstate = wxPyBeginAllowThreads();
3426 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3427
3428 wxPyEndAllowThreads(__tstate);
3429 if (PyErr_Occurred()) SWIG_fail;
3430 }
994141e6 3431 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3432 {
3433 if (temp1)
3434 delete arg1;
3435 }
3436 {
3437 if (temp2)
3438 delete arg2;
3439 }
3440 return resultobj;
3441 fail:
3442 {
3443 if (temp1)
3444 delete arg1;
3445 }
3446 {
3447 if (temp2)
3448 delete arg2;
3449 }
3450 return NULL;
3451}
3452
3453
3454static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3455 PyObject *resultobj;
3456 wxString *arg1 = 0 ;
3457 wxString *arg2 = 0 ;
3458 wxString *arg3 = 0 ;
3459 long arg4 ;
3460 long arg5 = (long) 0 ;
3461 long arg6 = (long) 100 ;
3462 wxWindow *arg7 = (wxWindow *) NULL ;
3463 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3464 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3465 long result;
e811c8ce
RD
3466 bool temp1 = False ;
3467 bool temp2 = False ;
3468 bool temp3 = False ;
d14a1e28
RD
3469 wxPoint temp8 ;
3470 PyObject * obj0 = 0 ;
3471 PyObject * obj1 = 0 ;
3472 PyObject * obj2 = 0 ;
994141e6
RD
3473 PyObject * obj3 = 0 ;
3474 PyObject * obj4 = 0 ;
3475 PyObject * obj5 = 0 ;
3476 PyObject * obj6 = 0 ;
d14a1e28
RD
3477 PyObject * obj7 = 0 ;
3478 char *kwnames[] = {
3479 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3480 };
3481
994141e6 3482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d14a1e28
RD
3483 {
3484 arg1 = wxString_in_helper(obj0);
3485 if (arg1 == NULL) SWIG_fail;
e811c8ce 3486 temp1 = True;
d14a1e28
RD
3487 }
3488 {
3489 arg2 = wxString_in_helper(obj1);
3490 if (arg2 == NULL) SWIG_fail;
e811c8ce 3491 temp2 = True;
d14a1e28
RD
3492 }
3493 {
3494 arg3 = wxString_in_helper(obj2);
3495 if (arg3 == NULL) SWIG_fail;
e811c8ce 3496 temp3 = True;
d14a1e28 3497 }
994141e6
RD
3498 {
3499 arg4 = (long) SWIG_PyObj_AsLong(obj3);
3500 if (PyErr_Occurred()) SWIG_fail;
3501 }
3502 if (obj4) {
3503 {
3504 arg5 = (long) SWIG_PyObj_AsLong(obj4);
3505 if (PyErr_Occurred()) SWIG_fail;
3506 }
3507 }
3508 if (obj5) {
3509 {
3510 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3511 if (PyErr_Occurred()) SWIG_fail;
3512 }
3513 }
d14a1e28
RD
3514 if (obj6) {
3515 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3516 }
3517 if (obj7) {
3518 {
3519 arg8 = &temp8;
3520 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3521 }
3522 }
3523 {
3524 PyThreadState* __tstate = wxPyBeginAllowThreads();
3525 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3526
3527 wxPyEndAllowThreads(__tstate);
3528 if (PyErr_Occurred()) SWIG_fail;
3529 }
994141e6 3530 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
3531 {
3532 if (temp1)
3533 delete arg1;
3534 }
3535 {
3536 if (temp2)
3537 delete arg2;
3538 }
3539 {
3540 if (temp3)
3541 delete arg3;
3542 }
3543 return resultobj;
3544 fail:
3545 {
3546 if (temp1)
3547 delete arg1;
3548 }
3549 {
3550 if (temp2)
3551 delete arg2;
3552 }
3553 {
3554 if (temp3)
3555 delete arg3;
3556 }
3557 return NULL;
3558}
3559
3560
3561static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3562 PyObject *resultobj;
3563 bool result;
3564 char *kwnames[] = {
3565 NULL
3566 };
3567
3568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3569 {
3570 PyThreadState* __tstate = wxPyBeginAllowThreads();
3571 result = (bool)wxColourDisplay();
3572
3573 wxPyEndAllowThreads(__tstate);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 }
4d5c3d91 3576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
3577 return resultobj;
3578 fail:
3579 return NULL;
3580}
3581
3582
3583static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3584 PyObject *resultobj;
3585 int result;
3586 char *kwnames[] = {
3587 NULL
3588 };
3589
3590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3591 {
3592 PyThreadState* __tstate = wxPyBeginAllowThreads();
3593 result = (int)wxDisplayDepth();
3594
3595 wxPyEndAllowThreads(__tstate);
3596 if (PyErr_Occurred()) SWIG_fail;
3597 }
994141e6 3598 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3599 return resultobj;
3600 fail:
3601 return NULL;
3602}
3603
3604
3605static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3606 PyObject *resultobj;
3607 int result;
3608 char *kwnames[] = {
3609 NULL
3610 };
3611
3612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3613 {
3614 PyThreadState* __tstate = wxPyBeginAllowThreads();
3615 result = (int)wxGetDisplayDepth();
3616
3617 wxPyEndAllowThreads(__tstate);
3618 if (PyErr_Occurred()) SWIG_fail;
3619 }
994141e6 3620 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3621 return resultobj;
3622 fail:
3623 return NULL;
3624}
3625
3626
3627static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3628 PyObject *resultobj;
3629 int *arg1 = (int *) 0 ;
3630 int *arg2 = (int *) 0 ;
3631 int temp1 ;
3632 int temp2 ;
3633 char *kwnames[] = {
3634 NULL
3635 };
3636
3637 arg1 = &temp1;
3638 arg2 = &temp2;
3639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3640 {
3641 PyThreadState* __tstate = wxPyBeginAllowThreads();
3642 wxDisplaySize(arg1,arg2);
3643
3644 wxPyEndAllowThreads(__tstate);
3645 if (PyErr_Occurred()) SWIG_fail;
3646 }
3647 Py_INCREF(Py_None); resultobj = Py_None;
3648 {
3649 PyObject *o = PyInt_FromLong((long) (*arg1));
3650 resultobj = t_output_helper(resultobj,o);
3651 }
3652 {
3653 PyObject *o = PyInt_FromLong((long) (*arg2));
3654 resultobj = t_output_helper(resultobj,o);
3655 }
3656 return resultobj;
3657 fail:
3658 return NULL;
3659}
3660
3661
3662static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3663 PyObject *resultobj;
3664 wxSize result;
3665 char *kwnames[] = {
3666 NULL
3667 };
3668
3669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3670 {
3671 PyThreadState* __tstate = wxPyBeginAllowThreads();
3672 result = wxGetDisplaySize();
3673
3674 wxPyEndAllowThreads(__tstate);
3675 if (PyErr_Occurred()) SWIG_fail;
3676 }
3677 {
3678 wxSize * resultptr;
3679 resultptr = new wxSize((wxSize &) result);
3680 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3681 }
3682 return resultobj;
3683 fail:
3684 return NULL;
3685}
3686
3687
3688static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3689 PyObject *resultobj;
3690 int *arg1 = (int *) 0 ;
3691 int *arg2 = (int *) 0 ;
3692 int temp1 ;
3693 int temp2 ;
3694 char *kwnames[] = {
3695 NULL
3696 };
3697
3698 arg1 = &temp1;
3699 arg2 = &temp2;
3700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3701 {
3702 PyThreadState* __tstate = wxPyBeginAllowThreads();
3703 wxDisplaySizeMM(arg1,arg2);
3704
3705 wxPyEndAllowThreads(__tstate);
3706 if (PyErr_Occurred()) SWIG_fail;
3707 }
3708 Py_INCREF(Py_None); resultobj = Py_None;
3709 {
3710 PyObject *o = PyInt_FromLong((long) (*arg1));
3711 resultobj = t_output_helper(resultobj,o);
3712 }
3713 {
3714 PyObject *o = PyInt_FromLong((long) (*arg2));
3715 resultobj = t_output_helper(resultobj,o);
3716 }
3717 return resultobj;
3718 fail:
3719 return NULL;
3720}
3721
3722
3723static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3724 PyObject *resultobj;
3725 wxSize result;
3726 char *kwnames[] = {
3727 NULL
3728 };
3729
3730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3731 {
3732 PyThreadState* __tstate = wxPyBeginAllowThreads();
3733 result = wxGetDisplaySizeMM();
3734
3735 wxPyEndAllowThreads(__tstate);
3736 if (PyErr_Occurred()) SWIG_fail;
3737 }
3738 {
3739 wxSize * resultptr;
3740 resultptr = new wxSize((wxSize &) result);
3741 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3742 }
3743 return resultobj;
3744 fail:
3745 return NULL;
3746}
3747
3748
3749static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3750 PyObject *resultobj;
3751 int *arg1 = (int *) 0 ;
3752 int *arg2 = (int *) 0 ;
3753 int *arg3 = (int *) 0 ;
3754 int *arg4 = (int *) 0 ;
3755 int temp1 ;
3756 int temp2 ;
3757 int temp3 ;
3758 int temp4 ;
3759 char *kwnames[] = {
3760 NULL
3761 };
3762
3763 arg1 = &temp1;
3764 arg2 = &temp2;
3765 arg3 = &temp3;
3766 arg4 = &temp4;
3767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3768 {
3769 PyThreadState* __tstate = wxPyBeginAllowThreads();
3770 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3771
3772 wxPyEndAllowThreads(__tstate);
3773 if (PyErr_Occurred()) SWIG_fail;
3774 }
3775 Py_INCREF(Py_None); resultobj = Py_None;
3776 {
3777 PyObject *o = PyInt_FromLong((long) (*arg1));
3778 resultobj = t_output_helper(resultobj,o);
3779 }
3780 {
3781 PyObject *o = PyInt_FromLong((long) (*arg2));
3782 resultobj = t_output_helper(resultobj,o);
3783 }
3784 {
3785 PyObject *o = PyInt_FromLong((long) (*arg3));
3786 resultobj = t_output_helper(resultobj,o);
3787 }
3788 {
3789 PyObject *o = PyInt_FromLong((long) (*arg4));
3790 resultobj = t_output_helper(resultobj,o);
3791 }
3792 return resultobj;
3793 fail:
3794 return NULL;
3795}
3796
3797
3798static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3799 PyObject *resultobj;
3800 wxRect result;
3801 char *kwnames[] = {
3802 NULL
3803 };
3804
3805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3806 {
3807 PyThreadState* __tstate = wxPyBeginAllowThreads();
3808 result = wxGetClientDisplayRect();
3809
3810 wxPyEndAllowThreads(__tstate);
3811 if (PyErr_Occurred()) SWIG_fail;
3812 }
3813 {
3814 wxRect * resultptr;
3815 resultptr = new wxRect((wxRect &) result);
3816 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3817 }
3818 return resultobj;
3819 fail:
3820 return NULL;
3821}
3822
3823
3824static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3825 PyObject *resultobj;
3826 wxCursor *arg1 = 0 ;
3827 PyObject * obj0 = 0 ;
3828 char *kwnames[] = {
3829 (char *) "cursor", NULL
3830 };
3831
3832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3834 if (arg1 == NULL) {
3835 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3836 }
3837 {
3838 PyThreadState* __tstate = wxPyBeginAllowThreads();
3839 wxSetCursor(*arg1);
3840
3841 wxPyEndAllowThreads(__tstate);
3842 if (PyErr_Occurred()) SWIG_fail;
3843 }
3844 Py_INCREF(Py_None); resultobj = Py_None;
3845 return resultobj;
3846 fail:
3847 return NULL;
3848}
3849
3850
3851static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3852 PyObject *resultobj;
3853 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3854 PyObject * obj0 = 0 ;
3855 char *kwnames[] = {
3856 (char *) "cursor", NULL
3857 };
3858
3859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3860 if (obj0) {
3861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3862 }
3863 {
3864 PyThreadState* __tstate = wxPyBeginAllowThreads();
3865 wxBeginBusyCursor(arg1);
3866
3867 wxPyEndAllowThreads(__tstate);
3868 if (PyErr_Occurred()) SWIG_fail;
3869 }
3870 Py_INCREF(Py_None); resultobj = Py_None;
3871 return resultobj;
3872 fail:
3873 return NULL;
3874}
3875
3876
3877static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3878 PyObject *resultobj;
3879 wxWindow *result;
3880 char *kwnames[] = {
3881 NULL
3882 };
3883
3884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
3885 {
3886 PyThreadState* __tstate = wxPyBeginAllowThreads();
3887 result = (wxWindow *)wxGetActiveWindow();
3888
3889 wxPyEndAllowThreads(__tstate);
3890 if (PyErr_Occurred()) SWIG_fail;
3891 }
3892 {
3893 resultobj = wxPyMake_wxObject(result);
3894 }
3895 return resultobj;
3896 fail:
3897 return NULL;
3898}
3899
3900
3901static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3902 PyObject *resultobj;
3903 wxPoint *arg1 = 0 ;
3904 wxWindow *result;
3905 wxPoint temp1 ;
3906 PyObject * obj0 = 0 ;
3907 char *kwnames[] = {
3908 (char *) "pt", NULL
3909 };
3910
3911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
3912 {
3913 arg1 = &temp1;
3914 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3915 }
3916 {
3917 PyThreadState* __tstate = wxPyBeginAllowThreads();
3918 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
3919
3920 wxPyEndAllowThreads(__tstate);
3921 if (PyErr_Occurred()) SWIG_fail;
3922 }
3923 {
3924 resultobj = wxPyMake_wxObject(result);
3925 }
3926 return resultobj;
3927 fail:
3928 return NULL;
3929}
3930
3931
3932static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3933 PyObject *resultobj;
3934 wxPoint *arg1 = 0 ;
3935 wxWindow *result;
3936 wxPoint temp1 ;
3937 PyObject * obj0 = 0 ;
3938 char *kwnames[] = {
3939 (char *) "pt", NULL
3940 };
3941
3942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
3943 {
3944 arg1 = &temp1;
3945 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3946 }
3947 {
3948 PyThreadState* __tstate = wxPyBeginAllowThreads();
3949 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
3950
3951 wxPyEndAllowThreads(__tstate);
3952 if (PyErr_Occurred()) SWIG_fail;
3953 }
3954 {
3955 resultobj = wxPyMake_wxObject(result);
3956 }
3957 return resultobj;
3958 fail:
3959 return NULL;
3960}
3961
3962
3963static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3964 PyObject *resultobj;
3965 wxWindow *arg1 = (wxWindow *) 0 ;
3966 wxWindow *result;
3967 PyObject * obj0 = 0 ;
3968 char *kwnames[] = {
3969 (char *) "win", NULL
3970 };
3971
3972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
3973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3974 {
3975 PyThreadState* __tstate = wxPyBeginAllowThreads();
3976 result = (wxWindow *)wxGetTopLevelParent(arg1);
3977
3978 wxPyEndAllowThreads(__tstate);
3979 if (PyErr_Occurred()) SWIG_fail;
3980 }
3981 {
3982 resultobj = wxPyMake_wxObject(result);
3983 }
3984 return resultobj;
3985 fail:
3986 return NULL;
3987}
3988
3989
39f61e25
RD
3990static PyObject *_wrap_GetKeyState(PyObject *self, PyObject *args, PyObject *kwargs) {
3991 PyObject *resultobj;
3992 int arg1 ;
3993 bool result;
994141e6 3994 PyObject * obj0 = 0 ;
39f61e25
RD
3995 char *kwnames[] = {
3996 (char *) "key", NULL
3997 };
3998
994141e6
RD
3999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
4000 {
4001 arg1 = (wxKeyCode) SWIG_PyObj_AsInt(obj0);
4002 if (PyErr_Occurred()) SWIG_fail;
4003 }
39f61e25
RD
4004 {
4005 PyThreadState* __tstate = wxPyBeginAllowThreads();
4006 result = (bool)wxGetKeyState((wxKeyCode )arg1);
4007
4008 wxPyEndAllowThreads(__tstate);
4009 if (PyErr_Occurred()) SWIG_fail;
4010 }
4d5c3d91 4011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39f61e25
RD
4012 return resultobj;
4013 fail:
4014 return NULL;
4015}
4016
4017
d14a1e28
RD
4018static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
4019 PyObject *resultobj;
4020 char *kwnames[] = {
4021 NULL
4022 };
4023
4024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4025 {
4026 PyThreadState* __tstate = wxPyBeginAllowThreads();
4027 wxWakeUpMainThread();
4028
4029 wxPyEndAllowThreads(__tstate);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 }
4032 Py_INCREF(Py_None); resultobj = Py_None;
4033 return resultobj;
4034 fail:
4035 return NULL;
4036}
4037
4038
4039static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
4040 PyObject *resultobj;
4041 char *kwnames[] = {
4042 NULL
4043 };
4044
4045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4046 {
4047 PyThreadState* __tstate = wxPyBeginAllowThreads();
4048 wxMutexGuiEnter();
4049
4050 wxPyEndAllowThreads(__tstate);
4051 if (PyErr_Occurred()) SWIG_fail;
4052 }
4053 Py_INCREF(Py_None); resultobj = Py_None;
4054 return resultobj;
4055 fail:
4056 return NULL;
4057}
4058
4059
4060static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
4061 PyObject *resultobj;
4062 char *kwnames[] = {
4063 NULL
4064 };
4065
4066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4067 {
4068 PyThreadState* __tstate = wxPyBeginAllowThreads();
4069 wxMutexGuiLeave();
4070
4071 wxPyEndAllowThreads(__tstate);
4072 if (PyErr_Occurred()) SWIG_fail;
4073 }
4074 Py_INCREF(Py_None); resultobj = Py_None;
4075 return resultobj;
4076 fail:
4077 return NULL;
4078}
4079
4080
4081static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4082 PyObject *resultobj;
4083 wxMutexGuiLocker *result;
4084 char *kwnames[] = {
4085 NULL
4086 };
4087
4088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4089 {
4090 PyThreadState* __tstate = wxPyBeginAllowThreads();
4091 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4092
4093 wxPyEndAllowThreads(__tstate);
4094 if (PyErr_Occurred()) SWIG_fail;
4095 }
4096 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMutexGuiLocker, 1);
4097 return resultobj;
4098 fail:
4099 return NULL;
4100}
4101
4102
4103static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4104 PyObject *resultobj;
4105 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4106 PyObject * obj0 = 0 ;
4107 char *kwnames[] = {
4108 (char *) "self", NULL
4109 };
4110
4111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
4112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMutexGuiLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4113 {
4114 PyThreadState* __tstate = wxPyBeginAllowThreads();
4115 delete arg1;
4116
4117 wxPyEndAllowThreads(__tstate);
4118 if (PyErr_Occurred()) SWIG_fail;
4119 }
4120 Py_INCREF(Py_None); resultobj = Py_None;
4121 return resultobj;
4122 fail:
4123 return NULL;
4124}
4125
4126
4127static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
4128 PyObject *obj;
4129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4130 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4131 Py_INCREF(obj);
4132 return Py_BuildValue((char *)"");
4133}
4134static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
4135 PyObject *resultobj;
4136 bool result;
4137 char *kwnames[] = {
4138 NULL
4139 };
4140
4141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4142 {
4143 PyThreadState* __tstate = wxPyBeginAllowThreads();
4144 result = (bool)wxThread_IsMain();
4145
4146 wxPyEndAllowThreads(__tstate);
4147 if (PyErr_Occurred()) SWIG_fail;
4148 }
4d5c3d91 4149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4150 return resultobj;
4151 fail:
4152 return NULL;
4153}
4154
4155
4156static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4157 PyObject *resultobj;
4158 wxString *arg1 = 0 ;
4159 wxToolTip *result;
e811c8ce 4160 bool temp1 = False ;
d14a1e28
RD
4161 PyObject * obj0 = 0 ;
4162 char *kwnames[] = {
4163 (char *) "tip", NULL
4164 };
4165
4166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4167 {
4168 arg1 = wxString_in_helper(obj0);
4169 if (arg1 == NULL) SWIG_fail;
e811c8ce 4170 temp1 = True;
d14a1e28
RD
4171 }
4172 {
4173 PyThreadState* __tstate = wxPyBeginAllowThreads();
4174 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4175
4176 wxPyEndAllowThreads(__tstate);
4177 if (PyErr_Occurred()) SWIG_fail;
4178 }
4179 {
4180 resultobj = wxPyMake_wxObject(result);
4181 }
4182 {
4183 if (temp1)
4184 delete arg1;
4185 }
4186 return resultobj;
4187 fail:
4188 {
4189 if (temp1)
4190 delete arg1;
4191 }
4192 return NULL;
4193}
4194
4195
4196static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4197 PyObject *resultobj;
4198 wxToolTip *arg1 = (wxToolTip *) 0 ;
4199 wxString *arg2 = 0 ;
e811c8ce 4200 bool temp2 = False ;
d14a1e28
RD
4201 PyObject * obj0 = 0 ;
4202 PyObject * obj1 = 0 ;
4203 char *kwnames[] = {
4204 (char *) "self",(char *) "tip", NULL
4205 };
4206
4207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
4208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4209 {
4210 arg2 = wxString_in_helper(obj1);
4211 if (arg2 == NULL) SWIG_fail;
e811c8ce 4212 temp2 = True;
d14a1e28
RD
4213 }
4214 {
4215 PyThreadState* __tstate = wxPyBeginAllowThreads();
4216 (arg1)->SetTip((wxString const &)*arg2);
4217
4218 wxPyEndAllowThreads(__tstate);
4219 if (PyErr_Occurred()) SWIG_fail;
4220 }
4221 Py_INCREF(Py_None); resultobj = Py_None;
4222 {
4223 if (temp2)
4224 delete arg2;
4225 }
4226 return resultobj;
4227 fail:
4228 {
4229 if (temp2)
4230 delete arg2;
4231 }
4232 return NULL;
4233}
4234
4235
4236static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4237 PyObject *resultobj;
4238 wxToolTip *arg1 = (wxToolTip *) 0 ;
4239 wxString result;
4240 PyObject * obj0 = 0 ;
4241 char *kwnames[] = {
4242 (char *) "self", NULL
4243 };
4244
4245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
4246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4247 {
4248 PyThreadState* __tstate = wxPyBeginAllowThreads();
4249 result = (arg1)->GetTip();
4250
4251 wxPyEndAllowThreads(__tstate);
4252 if (PyErr_Occurred()) SWIG_fail;
4253 }
4254 {
4255#if wxUSE_UNICODE
4256 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4257#else
4258 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4259#endif
4260 }
4261 return resultobj;
4262 fail:
4263 return NULL;
4264}
4265
4266
4267static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4268 PyObject *resultobj;
4269 wxToolTip *arg1 = (wxToolTip *) 0 ;
4270 wxWindow *result;
4271 PyObject * obj0 = 0 ;
4272 char *kwnames[] = {
4273 (char *) "self", NULL
4274 };
4275
4276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
4277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4278 {
4279 PyThreadState* __tstate = wxPyBeginAllowThreads();
4280 result = (wxWindow *)(arg1)->GetWindow();
4281
4282 wxPyEndAllowThreads(__tstate);
4283 if (PyErr_Occurred()) SWIG_fail;
4284 }
4285 {
4286 resultobj = wxPyMake_wxObject(result);
4287 }
4288 return resultobj;
4289 fail:
4290 return NULL;
4291}
4292
4293
4294static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
4295 PyObject *resultobj;
4296 bool arg1 ;
4297 PyObject * obj0 = 0 ;
4298 char *kwnames[] = {
4299 (char *) "flag", NULL
4300 };
4301
4302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
a41e16b6 4303 {
994141e6 4304 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
a41e16b6
RD
4305 if (PyErr_Occurred()) SWIG_fail;
4306 }
d14a1e28
RD
4307 {
4308 PyThreadState* __tstate = wxPyBeginAllowThreads();
4309 wxToolTip::Enable(arg1);
4310
4311 wxPyEndAllowThreads(__tstate);
4312 if (PyErr_Occurred()) SWIG_fail;
4313 }
4314 Py_INCREF(Py_None); resultobj = Py_None;
4315 return resultobj;
4316 fail:
4317 return NULL;
4318}
4319
4320
4321static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
4322 PyObject *resultobj;
4323 long arg1 ;
994141e6 4324 PyObject * obj0 = 0 ;
d14a1e28
RD
4325 char *kwnames[] = {
4326 (char *) "milliseconds", NULL
4327 };
4328
994141e6
RD
4329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
4330 {
4331 arg1 = (long) SWIG_PyObj_AsLong(obj0);
4332 if (PyErr_Occurred()) SWIG_fail;
4333 }
d14a1e28
RD
4334 {
4335 PyThreadState* __tstate = wxPyBeginAllowThreads();
4336 wxToolTip::SetDelay(arg1);
4337
4338 wxPyEndAllowThreads(__tstate);
4339 if (PyErr_Occurred()) SWIG_fail;
4340 }
4341 Py_INCREF(Py_None); resultobj = Py_None;
4342 return resultobj;
4343 fail:
4344 return NULL;
4345}
4346
4347
4348static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
4349 PyObject *obj;
4350 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4351 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4352 Py_INCREF(obj);
4353 return Py_BuildValue((char *)"");
4354}
4355static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4356 PyObject *resultobj;
4357 wxWindow *arg1 = (wxWindow *) 0 ;
4358 wxSize *arg2 = 0 ;
4359 wxCaret *result;
4360 wxSize temp2 ;
4361 PyObject * obj0 = 0 ;
4362 PyObject * obj1 = 0 ;
4363 char *kwnames[] = {
4364 (char *) "window",(char *) "size", NULL
4365 };
4366
4367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4369 {
4370 arg2 = &temp2;
4371 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4372 }
4373 {
4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
4375 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4376
4377 wxPyEndAllowThreads(__tstate);
4378 if (PyErr_Occurred()) SWIG_fail;
4379 }
4380 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 1);
4381 return resultobj;
4382 fail:
4383 return NULL;
4384}
4385
4386
4387static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4388 PyObject *resultobj;
4389 wxCaret *arg1 = (wxCaret *) 0 ;
4390 PyObject * obj0 = 0 ;
4391 char *kwnames[] = {
4392 (char *) "self", NULL
4393 };
4394
4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4397 {
4398 PyThreadState* __tstate = wxPyBeginAllowThreads();
4399 delete arg1;
4400
4401 wxPyEndAllowThreads(__tstate);
4402 if (PyErr_Occurred()) SWIG_fail;
4403 }
4404 Py_INCREF(Py_None); resultobj = Py_None;
4405 return resultobj;
4406 fail:
4407 return NULL;
4408}
4409
4410
4411static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4412 PyObject *resultobj;
4413 wxCaret *arg1 = (wxCaret *) 0 ;
4414 bool result;
4415 PyObject * obj0 = 0 ;
4416 char *kwnames[] = {
4417 (char *) "self", NULL
4418 };
4419
4420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4422 {
4423 PyThreadState* __tstate = wxPyBeginAllowThreads();
4424 result = (bool)(arg1)->IsOk();
4425
4426 wxPyEndAllowThreads(__tstate);
4427 if (PyErr_Occurred()) SWIG_fail;
4428 }
4d5c3d91 4429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4430 return resultobj;
4431 fail:
4432 return NULL;
4433}
4434
4435
4436static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4437 PyObject *resultobj;
4438 wxCaret *arg1 = (wxCaret *) 0 ;
4439 bool result;
4440 PyObject * obj0 = 0 ;
4441 char *kwnames[] = {
4442 (char *) "self", NULL
4443 };
4444
4445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4447 {
4448 PyThreadState* __tstate = wxPyBeginAllowThreads();
4449 result = (bool)(arg1)->IsVisible();
4450
4451 wxPyEndAllowThreads(__tstate);
4452 if (PyErr_Occurred()) SWIG_fail;
4453 }
4d5c3d91 4454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4455 return resultobj;
4456 fail:
4457 return NULL;
4458}
4459
4460
322913ce
RD
4461static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4462 PyObject *resultobj;
4463 wxCaret *arg1 = (wxCaret *) 0 ;
4464 wxPoint result;
4465 PyObject * obj0 = 0 ;
4466 char *kwnames[] = {
4467 (char *) "self", NULL
4468 };
4469
4470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4472 {
4473 PyThreadState* __tstate = wxPyBeginAllowThreads();
4474 result = (arg1)->GetPosition();
4475
4476 wxPyEndAllowThreads(__tstate);
4477 if (PyErr_Occurred()) SWIG_fail;
4478 }
4479 {
4480 wxPoint * resultptr;
4481 resultptr = new wxPoint((wxPoint &) result);
4482 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4483 }
4484 return resultobj;
4485 fail:
4486 return NULL;
4487}
4488
4489
d14a1e28
RD
4490static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4491 PyObject *resultobj;
4492 wxCaret *arg1 = (wxCaret *) 0 ;
4493 int *arg2 = (int *) 0 ;
4494 int *arg3 = (int *) 0 ;
4495 int temp2 ;
4496 int temp3 ;
4497 PyObject * obj0 = 0 ;
4498 char *kwnames[] = {
4499 (char *) "self", NULL
4500 };
4501
4502 arg2 = &temp2;
4503 arg3 = &temp3;
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4506 {
4507 PyThreadState* __tstate = wxPyBeginAllowThreads();
4508 (arg1)->GetPosition(arg2,arg3);
4509
4510 wxPyEndAllowThreads(__tstate);
4511 if (PyErr_Occurred()) SWIG_fail;
4512 }
4513 Py_INCREF(Py_None); resultobj = Py_None;
4514 {
4515 PyObject *o = PyInt_FromLong((long) (*arg2));
4516 resultobj = t_output_helper(resultobj,o);
4517 }
4518 {
4519 PyObject *o = PyInt_FromLong((long) (*arg3));
4520 resultobj = t_output_helper(resultobj,o);
4521 }
4522 return resultobj;
4523 fail:
4524 return NULL;
4525}
4526
4527
322913ce 4528static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4529 PyObject *resultobj;
4530 wxCaret *arg1 = (wxCaret *) 0 ;
322913ce 4531 wxSize result;
d14a1e28
RD
4532 PyObject * obj0 = 0 ;
4533 char *kwnames[] = {
4534 (char *) "self", NULL
4535 };
4536
322913ce 4537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
d14a1e28
RD
4538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4539 {
4540 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 4541 result = (arg1)->GetSize();
d14a1e28
RD
4542
4543 wxPyEndAllowThreads(__tstate);
4544 if (PyErr_Occurred()) SWIG_fail;
4545 }
4546 {
322913ce
RD
4547 wxSize * resultptr;
4548 resultptr = new wxSize((wxSize &) result);
4549 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
4550 }
4551 return resultobj;
4552 fail:
4553 return NULL;
4554}
4555
4556
4557static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4558 PyObject *resultobj;
4559 wxCaret *arg1 = (wxCaret *) 0 ;
4560 int *arg2 = (int *) 0 ;
4561 int *arg3 = (int *) 0 ;
4562 int temp2 ;
4563 int temp3 ;
4564 PyObject * obj0 = 0 ;
4565 char *kwnames[] = {
4566 (char *) "self", NULL
4567 };
4568
4569 arg2 = &temp2;
4570 arg3 = &temp3;
4571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4573 {
4574 PyThreadState* __tstate = wxPyBeginAllowThreads();
4575 (arg1)->GetSize(arg2,arg3);
4576
4577 wxPyEndAllowThreads(__tstate);
4578 if (PyErr_Occurred()) SWIG_fail;
4579 }
4580 Py_INCREF(Py_None); resultobj = Py_None;
4581 {
4582 PyObject *o = PyInt_FromLong((long) (*arg2));
4583 resultobj = t_output_helper(resultobj,o);
4584 }
4585 {
4586 PyObject *o = PyInt_FromLong((long) (*arg3));
4587 resultobj = t_output_helper(resultobj,o);
4588 }
4589 return resultobj;
4590 fail:
4591 return NULL;
4592}
4593
4594
d14a1e28
RD
4595static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4596 PyObject *resultobj;
4597 wxCaret *arg1 = (wxCaret *) 0 ;
4598 wxWindow *result;
4599 PyObject * obj0 = 0 ;
4600 char *kwnames[] = {
4601 (char *) "self", NULL
4602 };
4603
4604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4606 {
4607 PyThreadState* __tstate = wxPyBeginAllowThreads();
4608 result = (wxWindow *)(arg1)->GetWindow();
4609
4610 wxPyEndAllowThreads(__tstate);
4611 if (PyErr_Occurred()) SWIG_fail;
4612 }
4613 {
4614 resultobj = wxPyMake_wxObject(result);
4615 }
4616 return resultobj;
4617 fail:
4618 return NULL;
4619}
4620
4621
4622static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4623 PyObject *resultobj;
4624 wxCaret *arg1 = (wxCaret *) 0 ;
4625 int arg2 ;
4626 int arg3 ;
4627 PyObject * obj0 = 0 ;
994141e6
RD
4628 PyObject * obj1 = 0 ;
4629 PyObject * obj2 = 0 ;
d14a1e28
RD
4630 char *kwnames[] = {
4631 (char *) "self",(char *) "x",(char *) "y", NULL
4632 };
4633
994141e6 4634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 4635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
4636 {
4637 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4638 if (PyErr_Occurred()) SWIG_fail;
4639 }
4640 {
4641 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4642 if (PyErr_Occurred()) SWIG_fail;
4643 }
d14a1e28
RD
4644 {
4645 PyThreadState* __tstate = wxPyBeginAllowThreads();
4646 (arg1)->Move(arg2,arg3);
4647
4648 wxPyEndAllowThreads(__tstate);
4649 if (PyErr_Occurred()) SWIG_fail;
4650 }
4651 Py_INCREF(Py_None); resultobj = Py_None;
4652 return resultobj;
4653 fail:
4654 return NULL;
4655}
4656
4657
4658static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4659 PyObject *resultobj;
4660 wxCaret *arg1 = (wxCaret *) 0 ;
4661 wxPoint *arg2 = 0 ;
4662 wxPoint temp2 ;
4663 PyObject * obj0 = 0 ;
4664 PyObject * obj1 = 0 ;
4665 char *kwnames[] = {
4666 (char *) "self",(char *) "pt", NULL
4667 };
4668
4669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4671 {
4672 arg2 = &temp2;
4673 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4674 }
4675 {
4676 PyThreadState* __tstate = wxPyBeginAllowThreads();
4677 (arg1)->Move((wxPoint const &)*arg2);
4678
4679 wxPyEndAllowThreads(__tstate);
4680 if (PyErr_Occurred()) SWIG_fail;
4681 }
4682 Py_INCREF(Py_None); resultobj = Py_None;
4683 return resultobj;
4684 fail:
4685 return NULL;
4686}
4687
4688
4689static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4690 PyObject *resultobj;
4691 wxCaret *arg1 = (wxCaret *) 0 ;
4692 int arg2 ;
4693 int arg3 ;
4694 PyObject * obj0 = 0 ;
994141e6
RD
4695 PyObject * obj1 = 0 ;
4696 PyObject * obj2 = 0 ;
d14a1e28
RD
4697 char *kwnames[] = {
4698 (char *) "self",(char *) "width",(char *) "height", NULL
4699 };
4700
994141e6 4701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 4702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
4703 {
4704 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 {
4708 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4709 if (PyErr_Occurred()) SWIG_fail;
4710 }
d14a1e28
RD
4711 {
4712 PyThreadState* __tstate = wxPyBeginAllowThreads();
4713 (arg1)->SetSize(arg2,arg3);
4714
4715 wxPyEndAllowThreads(__tstate);
4716 if (PyErr_Occurred()) SWIG_fail;
4717 }
4718 Py_INCREF(Py_None); resultobj = Py_None;
4719 return resultobj;
4720 fail:
4721 return NULL;
4722}
4723
4724
4725static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4726 PyObject *resultobj;
4727 wxCaret *arg1 = (wxCaret *) 0 ;
4728 wxSize *arg2 = 0 ;
4729 wxSize temp2 ;
4730 PyObject * obj0 = 0 ;
4731 PyObject * obj1 = 0 ;
4732 char *kwnames[] = {
4733 (char *) "self",(char *) "size", NULL
4734 };
4735
4736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4738 {
4739 arg2 = &temp2;
4740 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4741 }
4742 {
4743 PyThreadState* __tstate = wxPyBeginAllowThreads();
4744 (arg1)->SetSize((wxSize const &)*arg2);
4745
4746 wxPyEndAllowThreads(__tstate);
4747 if (PyErr_Occurred()) SWIG_fail;
4748 }
4749 Py_INCREF(Py_None); resultobj = Py_None;
4750 return resultobj;
4751 fail:
4752 return NULL;
4753}
4754
4755
4756static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4757 PyObject *resultobj;
4758 wxCaret *arg1 = (wxCaret *) 0 ;
e811c8ce 4759 int arg2 = (int) True ;
d14a1e28 4760 PyObject * obj0 = 0 ;
994141e6 4761 PyObject * obj1 = 0 ;
d14a1e28
RD
4762 char *kwnames[] = {
4763 (char *) "self",(char *) "show", NULL
4764 };
4765
994141e6 4766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 4767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
4768 if (obj1) {
4769 {
4770 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 }
4773 }
d14a1e28
RD
4774 {
4775 PyThreadState* __tstate = wxPyBeginAllowThreads();
4776 (arg1)->Show(arg2);
4777
4778 wxPyEndAllowThreads(__tstate);
4779 if (PyErr_Occurred()) SWIG_fail;
4780 }
4781 Py_INCREF(Py_None); resultobj = Py_None;
4782 return resultobj;
4783 fail:
4784 return NULL;
4785}
4786
4787
4788static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4789 PyObject *resultobj;
4790 wxCaret *arg1 = (wxCaret *) 0 ;
4791 PyObject * obj0 = 0 ;
4792 char *kwnames[] = {
4793 (char *) "self", NULL
4794 };
4795
4796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4798 {
4799 PyThreadState* __tstate = wxPyBeginAllowThreads();
4800 (arg1)->Hide();
4801
4802 wxPyEndAllowThreads(__tstate);
4803 if (PyErr_Occurred()) SWIG_fail;
4804 }
4805 Py_INCREF(Py_None); resultobj = Py_None;
4806 return resultobj;
4807 fail:
4808 return NULL;
4809}
4810
4811
4812static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4813 PyObject *obj;
4814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4815 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4816 Py_INCREF(obj);
4817 return Py_BuildValue((char *)"");
4818}
4819static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4820 PyObject *resultobj;
4821 int result;
4822 char *kwnames[] = {
4823 NULL
4824 };
4825
4826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4827 {
4828 PyThreadState* __tstate = wxPyBeginAllowThreads();
4829 result = (int)wxCaret_GetBlinkTime();
4830
4831 wxPyEndAllowThreads(__tstate);
4832 if (PyErr_Occurred()) SWIG_fail;
4833 }
994141e6 4834 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
4835 return resultobj;
4836 fail:
4837 return NULL;
4838}
4839
4840
4841static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4842 PyObject *resultobj;
4843 int arg1 ;
994141e6 4844 PyObject * obj0 = 0 ;
d14a1e28
RD
4845 char *kwnames[] = {
4846 (char *) "milliseconds", NULL
4847 };
4848
994141e6
RD
4849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
4850 {
4851 arg1 = (int) SWIG_PyObj_AsInt(obj0);
4852 if (PyErr_Occurred()) SWIG_fail;
4853 }
d14a1e28
RD
4854 {
4855 PyThreadState* __tstate = wxPyBeginAllowThreads();
4856 wxCaret_SetBlinkTime(arg1);
4857
4858 wxPyEndAllowThreads(__tstate);
4859 if (PyErr_Occurred()) SWIG_fail;
4860 }
4861 Py_INCREF(Py_None); resultobj = Py_None;
4862 return resultobj;
4863 fail:
4864 return NULL;
4865}
4866
4867
4868static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4869 PyObject *resultobj;
4870 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4871 wxBusyCursor *result;
4872 PyObject * obj0 = 0 ;
4873 char *kwnames[] = {
4874 (char *) "cursor", NULL
4875 };
4876
4877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
4878 if (obj0) {
4879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4880 }
4881 {
4882 PyThreadState* __tstate = wxPyBeginAllowThreads();
4883 result = (wxBusyCursor *)new wxBusyCursor(arg1);
4884
4885 wxPyEndAllowThreads(__tstate);
4886 if (PyErr_Occurred()) SWIG_fail;
4887 }
4888 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyCursor, 1);
4889 return resultobj;
4890 fail:
4891 return NULL;
4892}
4893
4894
4895static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4896 PyObject *resultobj;
4897 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
4898 PyObject * obj0 = 0 ;
4899 char *kwnames[] = {
4900 (char *) "self", NULL
4901 };
4902
4903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
4904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4905 {
4906 PyThreadState* __tstate = wxPyBeginAllowThreads();
4907 delete arg1;
4908
4909 wxPyEndAllowThreads(__tstate);
4910 if (PyErr_Occurred()) SWIG_fail;
4911 }
4912 Py_INCREF(Py_None); resultobj = Py_None;
4913 return resultobj;
4914 fail:
4915 return NULL;
4916}
4917
4918
4919static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
4920 PyObject *obj;
4921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4922 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
4923 Py_INCREF(obj);
4924 return Py_BuildValue((char *)"");
4925}
4926static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4927 PyObject *resultobj;
4928 wxWindow *arg1 = (wxWindow *) NULL ;
4929 wxWindowDisabler *result;
4930 PyObject * obj0 = 0 ;
4931 char *kwnames[] = {
4932 (char *) "winToSkip", NULL
4933 };
4934
4935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
4936 if (obj0) {
4937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4938 }
4939 {
4940 PyThreadState* __tstate = wxPyBeginAllowThreads();
4941 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
4942
4943 wxPyEndAllowThreads(__tstate);
4944 if (PyErr_Occurred()) SWIG_fail;
4945 }
4946 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDisabler, 1);
4947 return resultobj;
4948 fail:
4949 return NULL;
4950}
4951
4952
4953static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4954 PyObject *resultobj;
4955 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
4956 PyObject * obj0 = 0 ;
4957 char *kwnames[] = {
4958 (char *) "self", NULL
4959 };
4960
4961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
4962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4963 {
4964 PyThreadState* __tstate = wxPyBeginAllowThreads();
4965 delete arg1;
4966
4967 wxPyEndAllowThreads(__tstate);
4968 if (PyErr_Occurred()) SWIG_fail;
4969 }
4970 Py_INCREF(Py_None); resultobj = Py_None;
4971 return resultobj;
4972 fail:
4973 return NULL;
4974}
4975
4976
4977static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
4978 PyObject *obj;
4979 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4980 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
4981 Py_INCREF(obj);
4982 return Py_BuildValue((char *)"");
4983}
4984static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4985 PyObject *resultobj;
4986 wxString *arg1 = 0 ;
4987 wxBusyInfo *result;
e811c8ce 4988 bool temp1 = False ;
d14a1e28
RD
4989 PyObject * obj0 = 0 ;
4990 char *kwnames[] = {
4991 (char *) "message", NULL
4992 };
4993
4994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
4995 {
4996 arg1 = wxString_in_helper(obj0);
4997 if (arg1 == NULL) SWIG_fail;
e811c8ce 4998 temp1 = True;
d14a1e28
RD
4999 }
5000 {
5001 PyThreadState* __tstate = wxPyBeginAllowThreads();
5002 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
5003
5004 wxPyEndAllowThreads(__tstate);
5005 if (PyErr_Occurred()) SWIG_fail;
5006 }
5007 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyInfo, 1);
5008 {
5009 if (temp1)
5010 delete arg1;
5011 }
5012 return resultobj;
5013 fail:
5014 {
5015 if (temp1)
5016 delete arg1;
5017 }
5018 return NULL;
5019}
5020
5021
5022static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5023 PyObject *resultobj;
5024 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5025 PyObject * obj0 = 0 ;
5026 char *kwnames[] = {
5027 (char *) "self", NULL
5028 };
5029
5030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
5031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5032 {
5033 PyThreadState* __tstate = wxPyBeginAllowThreads();
5034 delete arg1;
5035
5036 wxPyEndAllowThreads(__tstate);
5037 if (PyErr_Occurred()) SWIG_fail;
5038 }
5039 Py_INCREF(Py_None); resultobj = Py_None;
5040 return resultobj;
5041 fail:
5042 return NULL;
5043}
5044
5045
5046static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
5047 PyObject *obj;
5048 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5049 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5050 Py_INCREF(obj);
5051 return Py_BuildValue((char *)"");
5052}
5053static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
5054 PyObject *resultobj;
5055 wxStopWatch *result;
5056 char *kwnames[] = {
5057 NULL
5058 };
5059
5060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5061 {
5062 PyThreadState* __tstate = wxPyBeginAllowThreads();
5063 result = (wxStopWatch *)new wxStopWatch();
5064
5065 wxPyEndAllowThreads(__tstate);
5066 if (PyErr_Occurred()) SWIG_fail;
5067 }
5068 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStopWatch, 1);
5069 return resultobj;
5070 fail:
5071 return NULL;
5072}
5073
5074
5075static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5076 PyObject *resultobj;
5077 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5078 long arg2 = (long) 0 ;
5079 PyObject * obj0 = 0 ;
994141e6 5080 PyObject * obj1 = 0 ;
d14a1e28
RD
5081 char *kwnames[] = {
5082 (char *) "self",(char *) "t0", NULL
5083 };
5084
994141e6 5085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
5087 if (obj1) {
5088 {
5089 arg2 = (long) SWIG_PyObj_AsLong(obj1);
5090 if (PyErr_Occurred()) SWIG_fail;
5091 }
5092 }
d14a1e28
RD
5093 {
5094 PyThreadState* __tstate = wxPyBeginAllowThreads();
5095 (arg1)->Start(arg2);
5096
5097 wxPyEndAllowThreads(__tstate);
5098 if (PyErr_Occurred()) SWIG_fail;
5099 }
5100 Py_INCREF(Py_None); resultobj = Py_None;
5101 return resultobj;
5102 fail:
5103 return NULL;
5104}
5105
5106
5107static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
5108 PyObject *resultobj;
5109 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5110 PyObject * obj0 = 0 ;
5111 char *kwnames[] = {
5112 (char *) "self", NULL
5113 };
5114
5115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
5116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5117 {
5118 PyThreadState* __tstate = wxPyBeginAllowThreads();
5119 (arg1)->Pause();
5120
5121 wxPyEndAllowThreads(__tstate);
5122 if (PyErr_Occurred()) SWIG_fail;
5123 }
5124 Py_INCREF(Py_None); resultobj = Py_None;
5125 return resultobj;
5126 fail:
5127 return NULL;
5128}
5129
5130
5131static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
5132 PyObject *resultobj;
5133 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5134 PyObject * obj0 = 0 ;
5135 char *kwnames[] = {
5136 (char *) "self", NULL
5137 };
5138
5139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
5140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5141 {
5142 PyThreadState* __tstate = wxPyBeginAllowThreads();
5143 (arg1)->Resume();
5144
5145 wxPyEndAllowThreads(__tstate);
5146 if (PyErr_Occurred()) SWIG_fail;
5147 }
5148 Py_INCREF(Py_None); resultobj = Py_None;
5149 return resultobj;
5150 fail:
5151 return NULL;
5152}
5153
5154
5155static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
5156 PyObject *resultobj;
5157 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5158 long result;
5159 PyObject * obj0 = 0 ;
5160 char *kwnames[] = {
5161 (char *) "self", NULL
5162 };
5163
5164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
5165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5166 {
5167 PyThreadState* __tstate = wxPyBeginAllowThreads();
5168 result = (long)((wxStopWatch const *)arg1)->Time();
5169
5170 wxPyEndAllowThreads(__tstate);
5171 if (PyErr_Occurred()) SWIG_fail;
5172 }
994141e6 5173 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
5174 return resultobj;
5175 fail:
5176 return NULL;
5177}
5178
5179
5180static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
5181 PyObject *obj;
5182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5183 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5184 Py_INCREF(obj);
5185 return Py_BuildValue((char *)"");
5186}
5187static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5188 PyObject *resultobj;
5189 int arg1 = (int) 9 ;
5190 wxFileHistory *result;
994141e6 5191 PyObject * obj0 = 0 ;
d14a1e28
RD
5192 char *kwnames[] = {
5193 (char *) "maxFiles", NULL
5194 };
5195
994141e6
RD
5196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FileHistory",kwnames,&obj0)) goto fail;
5197 if (obj0) {
5198 {
5199 arg1 = (int) SWIG_PyObj_AsInt(obj0);
5200 if (PyErr_Occurred()) SWIG_fail;
5201 }
5202 }
d14a1e28
RD
5203 {
5204 PyThreadState* __tstate = wxPyBeginAllowThreads();
5205 result = (wxFileHistory *)new wxFileHistory(arg1);
5206
5207 wxPyEndAllowThreads(__tstate);
5208 if (PyErr_Occurred()) SWIG_fail;
5209 }
5210 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileHistory, 1);
5211 return resultobj;
5212 fail:
5213 return NULL;
5214}
5215
5216
5217static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5218 PyObject *resultobj;
5219 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5220 PyObject * obj0 = 0 ;
5221 char *kwnames[] = {
5222 (char *) "self", NULL
5223 };
5224
5225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
5226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5227 {
5228 PyThreadState* __tstate = wxPyBeginAllowThreads();
5229 delete arg1;
5230
5231 wxPyEndAllowThreads(__tstate);
5232 if (PyErr_Occurred()) SWIG_fail;
5233 }
5234 Py_INCREF(Py_None); resultobj = Py_None;
5235 return resultobj;
5236 fail:
5237 return NULL;
5238}
5239
5240
5241static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5242 PyObject *resultobj;
5243 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5244 wxString *arg2 = 0 ;
e811c8ce 5245 bool temp2 = False ;
d14a1e28
RD
5246 PyObject * obj0 = 0 ;
5247 PyObject * obj1 = 0 ;
5248 char *kwnames[] = {
5249 (char *) "self",(char *) "file", NULL
5250 };
5251
5252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
5253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5254 {
5255 arg2 = wxString_in_helper(obj1);
5256 if (arg2 == NULL) SWIG_fail;
e811c8ce 5257 temp2 = True;
d14a1e28
RD
5258 }
5259 {
5260 PyThreadState* __tstate = wxPyBeginAllowThreads();
5261 (arg1)->AddFileToHistory((wxString const &)*arg2);
5262
5263 wxPyEndAllowThreads(__tstate);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 }
5266 Py_INCREF(Py_None); resultobj = Py_None;
5267 {
5268 if (temp2)
5269 delete arg2;
5270 }
5271 return resultobj;
5272 fail:
5273 {
5274 if (temp2)
5275 delete arg2;
5276 }
5277 return NULL;
5278}
5279
5280
5281static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5282 PyObject *resultobj;
5283 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5284 int arg2 ;
5285 PyObject * obj0 = 0 ;
994141e6 5286 PyObject * obj1 = 0 ;
d14a1e28
RD
5287 char *kwnames[] = {
5288 (char *) "self",(char *) "i", NULL
5289 };
5290
994141e6 5291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
5293 {
5294 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5295 if (PyErr_Occurred()) SWIG_fail;
5296 }
d14a1e28
RD
5297 {
5298 PyThreadState* __tstate = wxPyBeginAllowThreads();
5299 (arg1)->RemoveFileFromHistory(arg2);
5300
5301 wxPyEndAllowThreads(__tstate);
5302 if (PyErr_Occurred()) SWIG_fail;
5303 }
5304 Py_INCREF(Py_None); resultobj = Py_None;
5305 return resultobj;
5306 fail:
5307 return NULL;
5308}
5309
5310
5311static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
5312 PyObject *resultobj;
5313 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5314 int result;
5315 PyObject * obj0 = 0 ;
5316 char *kwnames[] = {
5317 (char *) "self", NULL
5318 };
5319
5320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
5321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5322 {
5323 PyThreadState* __tstate = wxPyBeginAllowThreads();
5324 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
5325
5326 wxPyEndAllowThreads(__tstate);
5327 if (PyErr_Occurred()) SWIG_fail;
5328 }
994141e6 5329 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
5330 return resultobj;
5331 fail:
5332 return NULL;
5333}
5334
5335
5336static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5337 PyObject *resultobj;
5338 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5339 wxMenu *arg2 = (wxMenu *) 0 ;
5340 PyObject * obj0 = 0 ;
5341 PyObject * obj1 = 0 ;
5342 char *kwnames[] = {
5343 (char *) "self",(char *) "menu", NULL
5344 };
5345
5346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
5347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5348 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5349 {
5350 PyThreadState* __tstate = wxPyBeginAllowThreads();
5351 (arg1)->UseMenu(arg2);
5352
5353 wxPyEndAllowThreads(__tstate);
5354 if (PyErr_Occurred()) SWIG_fail;
5355 }
5356 Py_INCREF(Py_None); resultobj = Py_None;
5357 return resultobj;
5358 fail:
5359 return NULL;
5360}
5361
5362
5363static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5364 PyObject *resultobj;
5365 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5366 wxMenu *arg2 = (wxMenu *) 0 ;
5367 PyObject * obj0 = 0 ;
5368 PyObject * obj1 = 0 ;
5369 char *kwnames[] = {
5370 (char *) "self",(char *) "menu", NULL
5371 };
5372
5373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
5374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5375 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5376 {
5377 PyThreadState* __tstate = wxPyBeginAllowThreads();
5378 (arg1)->RemoveMenu(arg2);
5379
5380 wxPyEndAllowThreads(__tstate);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
5383 Py_INCREF(Py_None); resultobj = Py_None;
5384 return resultobj;
5385 fail:
5386 return NULL;
5387}
5388
5389
5390static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
5391 PyObject *resultobj;
5392 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5393 wxConfigBase *arg2 = 0 ;
5394 PyObject * obj0 = 0 ;
5395 PyObject * obj1 = 0 ;
5396 char *kwnames[] = {
5397 (char *) "self",(char *) "config", NULL
5398 };
5399
5400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
5401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5402 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5403 if (arg2 == NULL) {
5404 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5405 }
5406 {
5407 PyThreadState* __tstate = wxPyBeginAllowThreads();
5408 (arg1)->Load(*arg2);
5409
5410 wxPyEndAllowThreads(__tstate);
5411 if (PyErr_Occurred()) SWIG_fail;
5412 }
5413 Py_INCREF(Py_None); resultobj = Py_None;
5414 return resultobj;
5415 fail:
5416 return NULL;
5417}
5418
5419
5420static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5421 PyObject *resultobj;
5422 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5423 wxConfigBase *arg2 = 0 ;
5424 PyObject * obj0 = 0 ;
5425 PyObject * obj1 = 0 ;
5426 char *kwnames[] = {
5427 (char *) "self",(char *) "config", NULL
5428 };
5429
5430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5432 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5433 if (arg2 == NULL) {
5434 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5435 }
5436 {
5437 PyThreadState* __tstate = wxPyBeginAllowThreads();
5438 (arg1)->Save(*arg2);
5439
5440 wxPyEndAllowThreads(__tstate);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 }
5443 Py_INCREF(Py_None); resultobj = Py_None;
5444 return resultobj;
5445 fail:
5446 return NULL;
5447}
5448
5449
5450static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5451 PyObject *resultobj;
5452 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5453 PyObject * obj0 = 0 ;
5454 char *kwnames[] = {
5455 (char *) "self", NULL
5456 };
5457
5458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5460 {
5461 PyThreadState* __tstate = wxPyBeginAllowThreads();
5462 (arg1)->AddFilesToMenu();
5463
5464 wxPyEndAllowThreads(__tstate);
5465 if (PyErr_Occurred()) SWIG_fail;
5466 }
5467 Py_INCREF(Py_None); resultobj = Py_None;
5468 return resultobj;
5469 fail:
5470 return NULL;
5471}
5472
5473
5474static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5475 PyObject *resultobj;
5476 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5477 wxMenu *arg2 = (wxMenu *) 0 ;
5478 PyObject * obj0 = 0 ;
5479 PyObject * obj1 = 0 ;
5480 char *kwnames[] = {
5481 (char *) "self",(char *) "menu", NULL
5482 };
5483
5484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5486 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5487 {
5488 PyThreadState* __tstate = wxPyBeginAllowThreads();
5489 (arg1)->AddFilesToMenu(arg2);
5490
5491 wxPyEndAllowThreads(__tstate);
5492 if (PyErr_Occurred()) SWIG_fail;
5493 }
5494 Py_INCREF(Py_None); resultobj = Py_None;
5495 return resultobj;
5496 fail:
5497 return NULL;
5498}
5499
5500
5501static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5502 PyObject *resultobj;
5503 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5504 int arg2 ;
5505 wxString result;
5506 PyObject * obj0 = 0 ;
994141e6 5507 PyObject * obj1 = 0 ;
d14a1e28
RD
5508 char *kwnames[] = {
5509 (char *) "self",(char *) "i", NULL
5510 };
5511
994141e6 5512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
5514 {
5515 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5516 if (PyErr_Occurred()) SWIG_fail;
5517 }
d14a1e28
RD
5518 {
5519 PyThreadState* __tstate = wxPyBeginAllowThreads();
5520 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5521
5522 wxPyEndAllowThreads(__tstate);
5523 if (PyErr_Occurred()) SWIG_fail;
5524 }
5525 {
5526#if wxUSE_UNICODE
5527 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5528#else
5529 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5530#endif
5531 }
5532 return resultobj;
5533 fail:
5534 return NULL;
5535}
5536
5537
5538static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5539 PyObject *resultobj;
5540 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5541 int result;
5542 PyObject * obj0 = 0 ;
5543 char *kwnames[] = {
5544 (char *) "self", NULL
5545 };
5546
5547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5549 {
5550 PyThreadState* __tstate = wxPyBeginAllowThreads();
5551 result = (int)((wxFileHistory const *)arg1)->GetCount();
5552
5553 wxPyEndAllowThreads(__tstate);
5554 if (PyErr_Occurred()) SWIG_fail;
5555 }
994141e6 5556 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
5557 return resultobj;
5558 fail:
5559 return NULL;
5560}
5561
5562
5563static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5564 PyObject *obj;
5565 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5566 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5567 Py_INCREF(obj);
5568 return Py_BuildValue((char *)"");
5569}
5570static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5571 PyObject *resultobj;
5572 wxString *arg1 = 0 ;
5573 wxString const &arg2_defvalue = wxPyEmptyString ;
5574 wxString *arg2 = (wxString *) &arg2_defvalue ;
5575 wxSingleInstanceChecker *result;
e811c8ce
RD
5576 bool temp1 = False ;
5577 bool temp2 = False ;
d14a1e28
RD
5578 PyObject * obj0 = 0 ;
5579 PyObject * obj1 = 0 ;
5580 char *kwnames[] = {
5581 (char *) "name",(char *) "path", NULL
5582 };
5583
5584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5585 {
5586 arg1 = wxString_in_helper(obj0);
5587 if (arg1 == NULL) SWIG_fail;
e811c8ce 5588 temp1 = True;
d14a1e28
RD
5589 }
5590 if (obj1) {
5591 {
5592 arg2 = wxString_in_helper(obj1);
5593 if (arg2 == NULL) SWIG_fail;
e811c8ce 5594 temp2 = True;
d14a1e28
RD
5595 }
5596 }
5597 {
5598 PyThreadState* __tstate = wxPyBeginAllowThreads();
5599 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5600
5601 wxPyEndAllowThreads(__tstate);
5602 if (PyErr_Occurred()) SWIG_fail;
5603 }
5604 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5605 {
5606 if (temp1)
5607 delete arg1;
5608 }
5609 {
5610 if (temp2)
5611 delete arg2;
5612 }
5613 return resultobj;
5614 fail:
5615 {
5616 if (temp1)
5617 delete arg1;
5618 }
5619 {
5620 if (temp2)
5621 delete arg2;
5622 }
5623 return NULL;
5624}
5625
5626
5627static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5628 PyObject *resultobj;
5629 wxSingleInstanceChecker *result;
5630 char *kwnames[] = {
5631 NULL
5632 };
5633
5634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5635 {
5636 PyThreadState* __tstate = wxPyBeginAllowThreads();
5637 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5638
5639 wxPyEndAllowThreads(__tstate);
5640 if (PyErr_Occurred()) SWIG_fail;
5641 }
5642 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5643 return resultobj;
5644 fail:
5645 return NULL;
5646}
5647
5648
5649static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5650 PyObject *resultobj;
5651 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5652 PyObject * obj0 = 0 ;
5653 char *kwnames[] = {
5654 (char *) "self", NULL
5655 };
5656
5657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5659 {
5660 PyThreadState* __tstate = wxPyBeginAllowThreads();
5661 delete arg1;
5662
5663 wxPyEndAllowThreads(__tstate);
5664 if (PyErr_Occurred()) SWIG_fail;
5665 }
5666 Py_INCREF(Py_None); resultobj = Py_None;
5667 return resultobj;
5668 fail:
5669 return NULL;
5670}
5671
5672
5673static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5674 PyObject *resultobj;
5675 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5676 wxString *arg2 = 0 ;
5677 wxString const &arg3_defvalue = wxPyEmptyString ;
5678 wxString *arg3 = (wxString *) &arg3_defvalue ;
5679 bool result;
e811c8ce
RD
5680 bool temp2 = False ;
5681 bool temp3 = False ;
d14a1e28
RD
5682 PyObject * obj0 = 0 ;
5683 PyObject * obj1 = 0 ;
5684 PyObject * obj2 = 0 ;
5685 char *kwnames[] = {
5686 (char *) "self",(char *) "name",(char *) "path", NULL
5687 };
5688
5689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5691 {
5692 arg2 = wxString_in_helper(obj1);
5693 if (arg2 == NULL) SWIG_fail;
e811c8ce 5694 temp2 = True;
d14a1e28
RD
5695 }
5696 if (obj2) {
5697 {
5698 arg3 = wxString_in_helper(obj2);
5699 if (arg3 == NULL) SWIG_fail;
e811c8ce 5700 temp3 = True;
d14a1e28
RD
5701 }
5702 }
5703 {
5704 PyThreadState* __tstate = wxPyBeginAllowThreads();
5705 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5706
5707 wxPyEndAllowThreads(__tstate);
5708 if (PyErr_Occurred()) SWIG_fail;
5709 }
4d5c3d91 5710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5711 {
5712 if (temp2)
5713 delete arg2;
5714 }
5715 {
5716 if (temp3)
5717 delete arg3;
5718 }
5719 return resultobj;
5720 fail:
5721 {
5722 if (temp2)
5723 delete arg2;
5724 }
5725 {
5726 if (temp3)
5727 delete arg3;
5728 }
5729 return NULL;
5730}
5731
5732
5733static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5734 PyObject *resultobj;
5735 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5736 bool result;
5737 PyObject * obj0 = 0 ;
5738 char *kwnames[] = {
5739 (char *) "self", NULL
5740 };
5741
5742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5744 {
5745 PyThreadState* __tstate = wxPyBeginAllowThreads();
5746 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5747
5748 wxPyEndAllowThreads(__tstate);
5749 if (PyErr_Occurred()) SWIG_fail;
5750 }
4d5c3d91 5751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5752 return resultobj;
5753 fail:
5754 return NULL;
5755}
5756
5757
5758static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5759 PyObject *obj;
5760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5761 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5762 Py_INCREF(obj);
5763 return Py_BuildValue((char *)"");
5764}
5765static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5766 PyObject *resultobj;
5767 wxWindow *arg1 = (wxWindow *) 0 ;
5768 wxDC *arg2 = 0 ;
5769 int arg3 ;
5770 PyObject * obj0 = 0 ;
5771 PyObject * obj1 = 0 ;
994141e6 5772 PyObject * obj2 = 0 ;
d14a1e28
RD
5773 char *kwnames[] = {
5774 (char *) "window",(char *) "dc",(char *) "method", NULL
5775 };
5776
994141e6 5777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
5778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5779 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5780 if (arg2 == NULL) {
5781 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5782 }
994141e6
RD
5783 {
5784 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5785 if (PyErr_Occurred()) SWIG_fail;
5786 }
d14a1e28
RD
5787 {
5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
5789 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5790
5791 wxPyEndAllowThreads(__tstate);
5792 if (PyErr_Occurred()) SWIG_fail;
5793 }
5794 Py_INCREF(Py_None); resultobj = Py_None;
5795 return resultobj;
5796 fail:
5797 return NULL;
5798}
5799
5800
5801static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5802 PyObject *resultobj;
5803 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5804 PyObject * obj0 = 0 ;
5805 char *kwnames[] = {
5806 (char *) "self", NULL
5807 };
5808
5809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
5810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5811 {
5812 PyThreadState* __tstate = wxPyBeginAllowThreads();
5813 delete arg1;
5814
5815 wxPyEndAllowThreads(__tstate);
5816 if (PyErr_Occurred()) SWIG_fail;
5817 }
5818 Py_INCREF(Py_None); resultobj = Py_None;
5819 return resultobj;
5820 fail:
5821 return NULL;
5822}
5823
5824
5825static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5826 PyObject *resultobj;
5827 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5828 wxString result;
5829 PyObject * obj0 = 0 ;
5830 char *kwnames[] = {
5831 (char *) "self", NULL
5832 };
5833
5834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
5835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5836 {
5837 PyThreadState* __tstate = wxPyBeginAllowThreads();
5838 result = (arg1)->GetTip();
5839
5840 wxPyEndAllowThreads(__tstate);
5841 if (PyErr_Occurred()) SWIG_fail;
5842 }
5843 {
5844#if wxUSE_UNICODE
5845 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5846#else
5847 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5848#endif
5849 }
5850 return resultobj;
5851 fail:
5852 return NULL;
5853}
5854
5855
5856static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5857 PyObject *resultobj;
5858 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5859 size_t result;
5860 PyObject * obj0 = 0 ;
5861 char *kwnames[] = {
5862 (char *) "self", NULL
5863 };
5864
5865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
5866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5867 {
5868 PyThreadState* __tstate = wxPyBeginAllowThreads();
5869 result = (size_t)(arg1)->GetCurrentTip();
5870
5871 wxPyEndAllowThreads(__tstate);
5872 if (PyErr_Occurred()) SWIG_fail;
5873 }
994141e6 5874 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
5875 return resultobj;
5876 fail:
5877 return NULL;
5878}
5879
5880
5881static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5882 PyObject *resultobj;
5883 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5884 wxString *arg2 = 0 ;
5885 wxString result;
e811c8ce 5886 bool temp2 = False ;
d14a1e28
RD
5887 PyObject * obj0 = 0 ;
5888 PyObject * obj1 = 0 ;
5889 char *kwnames[] = {
5890 (char *) "self",(char *) "tip", NULL
5891 };
5892
5893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
5894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5895 {
5896 arg2 = wxString_in_helper(obj1);
5897 if (arg2 == NULL) SWIG_fail;
e811c8ce 5898 temp2 = True;
d14a1e28
RD
5899 }
5900 {
5901 PyThreadState* __tstate = wxPyBeginAllowThreads();
5902 result = (arg1)->PreprocessTip((wxString const &)*arg2);
5903
5904 wxPyEndAllowThreads(__tstate);
5905 if (PyErr_Occurred()) SWIG_fail;
5906 }
5907 {
5908#if wxUSE_UNICODE
5909 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5910#else
5911 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5912#endif
5913 }
5914 {
5915 if (temp2)
5916 delete arg2;
5917 }
5918 return resultobj;
5919 fail:
5920 {
5921 if (temp2)
5922 delete arg2;
5923 }
5924 return NULL;
5925}
5926
5927
5928static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
5929 PyObject *obj;
5930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5931 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
5932 Py_INCREF(obj);
5933 return Py_BuildValue((char *)"");
5934}
5935static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5936 PyObject *resultobj;
5937 size_t arg1 ;
5938 wxPyTipProvider *result;
5939 PyObject * obj0 = 0 ;
5940 char *kwnames[] = {
5941 (char *) "currentTip", NULL
5942 };
5943
5944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
a41e16b6 5945 {
994141e6 5946 arg1 = (size_t) SWIG_PyObj_AsUnsignedLong(obj0);
a41e16b6
RD
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
d14a1e28
RD
5949 {
5950 PyThreadState* __tstate = wxPyBeginAllowThreads();
5951 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
5952
5953 wxPyEndAllowThreads(__tstate);
5954 if (PyErr_Occurred()) SWIG_fail;
5955 }
5956 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTipProvider, 1);
5957 return resultobj;
5958 fail:
5959 return NULL;
5960}
5961
5962
5963static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5964 PyObject *resultobj;
5965 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
5966 PyObject *arg2 = (PyObject *) 0 ;
5967 PyObject *arg3 = (PyObject *) 0 ;
5968 PyObject * obj0 = 0 ;
5969 PyObject * obj1 = 0 ;
5970 PyObject * obj2 = 0 ;
5971 char *kwnames[] = {
5972 (char *) "self",(char *) "self",(char *) "_class", NULL
5973 };
5974
5975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5977 arg2 = obj1;
5978 arg3 = obj2;
5979 {
5980 PyThreadState* __tstate = wxPyBeginAllowThreads();
5981 (arg1)->_setCallbackInfo(arg2,arg3);
5982
5983 wxPyEndAllowThreads(__tstate);
5984 if (PyErr_Occurred()) SWIG_fail;
5985 }
5986 Py_INCREF(Py_None); resultobj = Py_None;
5987 return resultobj;
5988 fail:
5989 return NULL;
5990}
5991
5992
5993static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
5994 PyObject *obj;
5995 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5996 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
5997 Py_INCREF(obj);
5998 return Py_BuildValue((char *)"");
5999}
6000static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6001 PyObject *resultobj;
6002 wxWindow *arg1 = (wxWindow *) 0 ;
6003 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
e811c8ce 6004 bool arg3 = (bool) True ;
d14a1e28
RD
6005 bool result;
6006 PyObject * obj0 = 0 ;
6007 PyObject * obj1 = 0 ;
6008 PyObject * obj2 = 0 ;
6009 char *kwnames[] = {
6010 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6011 };
6012
6013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
6014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6015 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6016 if (obj2) {
a41e16b6 6017 {
994141e6 6018 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
a41e16b6
RD
6019 if (PyErr_Occurred()) SWIG_fail;
6020 }
d14a1e28
RD
6021 }
6022 {
6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
6024 result = (bool)wxShowTip(arg1,arg2,arg3);
6025
6026 wxPyEndAllowThreads(__tstate);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
4d5c3d91 6029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6030 return resultobj;
6031 fail:
6032 return NULL;
6033}
6034
6035
6036static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6037 PyObject *resultobj;
6038 wxString *arg1 = 0 ;
6039 size_t arg2 ;
6040 wxTipProvider *result;
e811c8ce 6041 bool temp1 = False ;
d14a1e28
RD
6042 PyObject * obj0 = 0 ;
6043 PyObject * obj1 = 0 ;
6044 char *kwnames[] = {
6045 (char *) "filename",(char *) "currentTip", NULL
6046 };
6047
6048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6049 {
6050 arg1 = wxString_in_helper(obj0);
6051 if (arg1 == NULL) SWIG_fail;
e811c8ce 6052 temp1 = True;
d14a1e28 6053 }
a41e16b6 6054 {
994141e6 6055 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
a41e16b6
RD
6056 if (PyErr_Occurred()) SWIG_fail;
6057 }
d14a1e28
RD
6058 {
6059 PyThreadState* __tstate = wxPyBeginAllowThreads();
6060 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6061
6062 wxPyEndAllowThreads(__tstate);
6063 if (PyErr_Occurred()) SWIG_fail;
6064 }
6065 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipProvider, 1);
6066 {
6067 if (temp1)
6068 delete arg1;
6069 }
6070 return resultobj;
6071 fail:
6072 {
6073 if (temp1)
6074 delete arg1;
6075 }
6076 return NULL;
6077}
6078
6079
6080static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6081 PyObject *resultobj;
6082 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6083 int arg2 = (int) -1 ;
6084 wxPyTimer *result;
6085 PyObject * obj0 = 0 ;
994141e6 6086 PyObject * obj1 = 0 ;
d14a1e28
RD
6087 char *kwnames[] = {
6088 (char *) "owner",(char *) "id", NULL
6089 };
6090
994141e6 6091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
6092 if (obj0) {
6093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6094 }
994141e6
RD
6095 if (obj1) {
6096 {
6097 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6098 if (PyErr_Occurred()) SWIG_fail;
6099 }
6100 }
d14a1e28
RD
6101 {
6102 PyThreadState* __tstate = wxPyBeginAllowThreads();
6103 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6104
6105 wxPyEndAllowThreads(__tstate);
6106 if (PyErr_Occurred()) SWIG_fail;
6107 }
6108 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTimer, 1);
6109 return resultobj;
6110 fail:
6111 return NULL;
6112}
6113
6114
6115static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6116 PyObject *resultobj;
6117 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6118 PyObject * obj0 = 0 ;
6119 char *kwnames[] = {
6120 (char *) "self", NULL
6121 };
6122
6123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
6124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6125 {
6126 PyThreadState* __tstate = wxPyBeginAllowThreads();
6127 delete arg1;
6128
6129 wxPyEndAllowThreads(__tstate);
6130 if (PyErr_Occurred()) SWIG_fail;
6131 }
6132 Py_INCREF(Py_None); resultobj = Py_None;
6133 return resultobj;
6134 fail:
6135 return NULL;
6136}
6137
6138
7722248d
RD
6139static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6140 PyObject *resultobj;
6141 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6142 PyObject *arg2 = (PyObject *) 0 ;
6143 PyObject *arg3 = (PyObject *) 0 ;
6144 PyObject * obj0 = 0 ;
6145 PyObject * obj1 = 0 ;
6146 PyObject * obj2 = 0 ;
6147 char *kwnames[] = {
6148 (char *) "self",(char *) "self",(char *) "_class", NULL
6149 };
6150
6151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6153 arg2 = obj1;
6154 arg3 = obj2;
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 (arg1)->_setCallbackInfo(arg2,arg3);
6158
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 Py_INCREF(Py_None); resultobj = Py_None;
6163 return resultobj;
6164 fail:
6165 return NULL;
6166}
6167
6168
d14a1e28
RD
6169static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
6170 PyObject *resultobj;
6171 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6172 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6173 int arg3 = (int) -1 ;
6174 PyObject * obj0 = 0 ;
6175 PyObject * obj1 = 0 ;
994141e6 6176 PyObject * obj2 = 0 ;
d14a1e28
RD
6177 char *kwnames[] = {
6178 (char *) "self",(char *) "owner",(char *) "id", NULL
6179 };
6180
994141e6 6181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
6182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6183 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
6184 if (obj2) {
6185 {
6186 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6187 if (PyErr_Occurred()) SWIG_fail;
6188 }
6189 }
d14a1e28
RD
6190 {
6191 PyThreadState* __tstate = wxPyBeginAllowThreads();
6192 (arg1)->SetOwner(arg2,arg3);
6193
6194 wxPyEndAllowThreads(__tstate);
6195 if (PyErr_Occurred()) SWIG_fail;
6196 }
6197 Py_INCREF(Py_None); resultobj = Py_None;
6198 return resultobj;
6199 fail:
6200 return NULL;
6201}
6202
6203
6204static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6205 PyObject *resultobj;
6206 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6207 int arg2 = (int) -1 ;
e811c8ce 6208 bool arg3 = (bool) False ;
d14a1e28
RD
6209 bool result;
6210 PyObject * obj0 = 0 ;
994141e6 6211 PyObject * obj1 = 0 ;
d14a1e28
RD
6212 PyObject * obj2 = 0 ;
6213 char *kwnames[] = {
6214 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6215 };
6216
994141e6 6217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 6218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
6219 if (obj1) {
6220 {
6221 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
6224 }
d14a1e28 6225 if (obj2) {
a41e16b6 6226 {
994141e6 6227 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
a41e16b6
RD
6228 if (PyErr_Occurred()) SWIG_fail;
6229 }
d14a1e28
RD
6230 }
6231 {
6232 PyThreadState* __tstate = wxPyBeginAllowThreads();
6233 result = (bool)(arg1)->Start(arg2,arg3);
6234
6235 wxPyEndAllowThreads(__tstate);
6236 if (PyErr_Occurred()) SWIG_fail;
6237 }
4d5c3d91 6238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6239 return resultobj;
6240 fail:
6241 return NULL;
6242}
6243
6244
6245static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
6246 PyObject *resultobj;
6247 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6248 PyObject * obj0 = 0 ;
6249 char *kwnames[] = {
6250 (char *) "self", NULL
6251 };
6252
6253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
6254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6255 {
6256 PyThreadState* __tstate = wxPyBeginAllowThreads();
6257 (arg1)->Stop();
6258
6259 wxPyEndAllowThreads(__tstate);
6260 if (PyErr_Occurred()) SWIG_fail;
6261 }
6262 Py_INCREF(Py_None); resultobj = Py_None;
6263 return resultobj;
6264 fail:
6265 return NULL;
6266}
6267
6268
d14a1e28
RD
6269static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
6270 PyObject *resultobj;
6271 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6272 bool result;
6273 PyObject * obj0 = 0 ;
6274 char *kwnames[] = {
6275 (char *) "self", NULL
6276 };
6277
6278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
6279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6280 {
6281 PyThreadState* __tstate = wxPyBeginAllowThreads();
6282 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
6283
6284 wxPyEndAllowThreads(__tstate);
6285 if (PyErr_Occurred()) SWIG_fail;
6286 }
4d5c3d91 6287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6288 return resultobj;
6289 fail:
6290 return NULL;
6291}
6292
6293
6294static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6295 PyObject *resultobj;
6296 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6297 int result;
6298 PyObject * obj0 = 0 ;
6299 char *kwnames[] = {
6300 (char *) "self", NULL
6301 };
6302
6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
6304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6305 {
6306 PyThreadState* __tstate = wxPyBeginAllowThreads();
6307 result = (int)((wxPyTimer const *)arg1)->GetInterval();
6308
6309 wxPyEndAllowThreads(__tstate);
6310 if (PyErr_Occurred()) SWIG_fail;
6311 }
994141e6 6312 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
6313 return resultobj;
6314 fail:
6315 return NULL;
6316}
6317
6318
6319static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
6320 PyObject *resultobj;
6321 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6322 bool result;
6323 PyObject * obj0 = 0 ;
6324 char *kwnames[] = {
6325 (char *) "self", NULL
6326 };
6327
6328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
6329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6330 {
6331 PyThreadState* __tstate = wxPyBeginAllowThreads();
6332 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
6333
6334 wxPyEndAllowThreads(__tstate);
6335 if (PyErr_Occurred()) SWIG_fail;
6336 }
4d5c3d91 6337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6338 return resultobj;
6339 fail:
6340 return NULL;
6341}
6342
6343
cc6dd355
RD
6344static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6345 PyObject *resultobj;
6346 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6347 int result;
6348 PyObject * obj0 = 0 ;
6349 char *kwnames[] = {
6350 (char *) "self", NULL
6351 };
6352
6353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
6354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6355 {
6356 PyThreadState* __tstate = wxPyBeginAllowThreads();
6357 result = (int)((wxPyTimer const *)arg1)->GetId();
6358
6359 wxPyEndAllowThreads(__tstate);
6360 if (PyErr_Occurred()) SWIG_fail;
6361 }
994141e6 6362 resultobj = SWIG_PyObj_FromInt((int)result);
cc6dd355
RD
6363 return resultobj;
6364 fail:
6365 return NULL;
6366}
6367
6368
d14a1e28
RD
6369static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
6370 PyObject *obj;
6371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6372 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
6373 Py_INCREF(obj);
6374 return Py_BuildValue((char *)"");
6375}
6376static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6377 PyObject *resultobj;
6378 int arg1 = (int) 0 ;
6379 int arg2 = (int) 0 ;
6380 wxTimerEvent *result;
994141e6
RD
6381 PyObject * obj0 = 0 ;
6382 PyObject * obj1 = 0 ;
d14a1e28
RD
6383 char *kwnames[] = {
6384 (char *) "timerid",(char *) "interval", NULL
6385 };
6386
994141e6
RD
6387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
6388 if (obj0) {
6389 {
6390 arg1 = (int) SWIG_PyObj_AsInt(obj0);
6391 if (PyErr_Occurred()) SWIG_fail;
6392 }
6393 }
6394 if (obj1) {
6395 {
6396 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6397 if (PyErr_Occurred()) SWIG_fail;
6398 }
6399 }
d14a1e28
RD
6400 {
6401 PyThreadState* __tstate = wxPyBeginAllowThreads();
6402 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
6403
6404 wxPyEndAllowThreads(__tstate);
6405 if (PyErr_Occurred()) SWIG_fail;
6406 }
6407 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerEvent, 1);
6408 return resultobj;
6409 fail:
6410 return NULL;
6411}
6412
6413
6414static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6415 PyObject *resultobj;
6416 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
6417 int result;
6418 PyObject * obj0 = 0 ;
6419 char *kwnames[] = {
6420 (char *) "self", NULL
6421 };
6422
6423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
6424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6425 {
6426 PyThreadState* __tstate = wxPyBeginAllowThreads();
6427 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
6428
6429 wxPyEndAllowThreads(__tstate);
6430 if (PyErr_Occurred()) SWIG_fail;
6431 }
994141e6 6432 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
6433 return resultobj;
6434 fail:
6435 return NULL;
6436}
6437
6438
6439static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
6440 PyObject *obj;
6441 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6442 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
6443 Py_INCREF(obj);
6444 return Py_BuildValue((char *)"");
6445}
6446static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
6447 PyObject *resultobj;
6448 wxTimer *arg1 = 0 ;
6449 wxTimerRunner *result;
6450 PyObject * obj0 = 0 ;
6451
6452 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
6453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6454 if (arg1 == NULL) {
6455 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6456 }
6457 {
6458 PyThreadState* __tstate = wxPyBeginAllowThreads();
6459 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6460
6461 wxPyEndAllowThreads(__tstate);
6462 if (PyErr_Occurred()) SWIG_fail;
6463 }
6464 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6465 return resultobj;
6466 fail:
6467 return NULL;
6468}
6469
6470
6471static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
6472 PyObject *resultobj;
6473 wxTimer *arg1 = 0 ;
6474 int arg2 ;
e811c8ce 6475 bool arg3 = (bool) False ;
d14a1e28
RD
6476 wxTimerRunner *result;
6477 PyObject * obj0 = 0 ;
994141e6 6478 PyObject * obj1 = 0 ;
d14a1e28
RD
6479 PyObject * obj2 = 0 ;
6480
994141e6 6481 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
6482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6483 if (arg1 == NULL) {
6484 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6485 }
994141e6
RD
6486 {
6487 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6488 if (PyErr_Occurred()) SWIG_fail;
6489 }
d14a1e28 6490 if (obj2) {
a41e16b6 6491 {
994141e6 6492 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
a41e16b6
RD
6493 if (PyErr_Occurred()) SWIG_fail;
6494 }
d14a1e28
RD
6495 }
6496 {
6497 PyThreadState* __tstate = wxPyBeginAllowThreads();
6498 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6499
6500 wxPyEndAllowThreads(__tstate);
6501 if (PyErr_Occurred()) SWIG_fail;
6502 }
6503 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6504 return resultobj;
6505 fail:
6506 return NULL;
6507}
6508
6509
6510static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6511 int argc;
6512 PyObject *argv[4];
6513 int ii;
6514
6515 argc = PyObject_Length(args);
6516 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6517 argv[ii] = PyTuple_GetItem(args,ii);
6518 }
6519 if (argc == 1) {
6520 int _v;
6521 {
6522 void *ptr;
6523 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6524 _v = 0;
6525 PyErr_Clear();
6526 } else {
6527 _v = 1;
6528 }
6529 }
6530 if (_v) {
6531 return _wrap_new_TimerRunner__SWIG_0(self,args);
6532 }
6533 }
6534 if ((argc >= 2) && (argc <= 3)) {
6535 int _v;
6536 {
6537 void *ptr;
6538 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6539 _v = 0;
6540 PyErr_Clear();
6541 } else {
6542 _v = 1;
6543 }
6544 }
6545 if (_v) {
6546 {
994141e6 6547 SWIG_PyObj_AsInt(argv[1]);
a41e16b6
RD
6548 if (PyErr_Occurred()) {
6549 _v = 0;
6550 PyErr_Clear();
6551 } else {
6552 _v = 1;
6553 }
d14a1e28
RD
6554 }
6555 if (_v) {
6556 if (argc <= 2) {
6557 return _wrap_new_TimerRunner__SWIG_1(self,args);
6558 }
6559 {
994141e6 6560 SWIG_PyObj_AsBool(argv[2]);
a41e16b6
RD
6561 if (PyErr_Occurred()) {
6562 _v = 0;
6563 PyErr_Clear();
6564 } else {
6565 _v = 1;
6566 }
d14a1e28
RD
6567 }
6568 if (_v) {
6569 return _wrap_new_TimerRunner__SWIG_1(self,args);
6570 }
6571 }
6572 }
6573 }
6574
6575 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6576 return NULL;
6577}
6578
6579
6580static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6581 PyObject *resultobj;
6582 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6583 PyObject * obj0 = 0 ;
6584 char *kwnames[] = {
6585 (char *) "self", NULL
6586 };
6587
6588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6590 {
6591 PyThreadState* __tstate = wxPyBeginAllowThreads();
6592 delete arg1;
6593
6594 wxPyEndAllowThreads(__tstate);
6595 if (PyErr_Occurred()) SWIG_fail;
6596 }
6597 Py_INCREF(Py_None); resultobj = Py_None;
6598 return resultobj;
6599 fail:
6600 return NULL;
6601}
6602
6603
6604static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6605 PyObject *resultobj;
6606 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6607 int arg2 ;
e811c8ce 6608 bool arg3 = (bool) False ;
d14a1e28 6609 PyObject * obj0 = 0 ;
994141e6 6610 PyObject * obj1 = 0 ;
d14a1e28
RD
6611 PyObject * obj2 = 0 ;
6612 char *kwnames[] = {
6613 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6614 };
6615
994141e6 6616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 6617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
6618 {
6619 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6620 if (PyErr_Occurred()) SWIG_fail;
6621 }
d14a1e28 6622 if (obj2) {
a41e16b6 6623 {
994141e6 6624 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
a41e16b6
RD
6625 if (PyErr_Occurred()) SWIG_fail;
6626 }
d14a1e28
RD
6627 }
6628 {
6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
6630 (arg1)->Start(arg2,arg3);
6631
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 Py_INCREF(Py_None); resultobj = Py_None;
6636 return resultobj;
6637 fail:
6638 return NULL;
6639}
6640
6641
6642static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6643 PyObject *obj;
6644 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6645 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6646 Py_INCREF(obj);
6647 return Py_BuildValue((char *)"");
6648}
6649static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6650 PyObject *resultobj;
6651 wxLog *result;
6652 char *kwnames[] = {
6653 NULL
6654 };
6655
6656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6657 {
6658 PyThreadState* __tstate = wxPyBeginAllowThreads();
6659 result = (wxLog *)new wxLog();
6660
6661 wxPyEndAllowThreads(__tstate);
6662 if (PyErr_Occurred()) SWIG_fail;
6663 }
6664 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 1);
6665 return resultobj;
6666 fail:
6667 return NULL;
6668}
6669
6670
6671static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6672 PyObject *resultobj;
6673 bool result;
6674 char *kwnames[] = {
6675 NULL
6676 };
6677
6678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6679 {
6680 PyThreadState* __tstate = wxPyBeginAllowThreads();
6681 result = (bool)wxLog::IsEnabled();
6682
6683 wxPyEndAllowThreads(__tstate);
6684 if (PyErr_Occurred()) SWIG_fail;
6685 }
4d5c3d91 6686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6687 return resultobj;
6688 fail:
6689 return NULL;
6690}
6691
6692
6693static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6694 PyObject *resultobj;
e811c8ce 6695 bool arg1 = (bool) True ;
d14a1e28
RD
6696 bool result;
6697 PyObject * obj0 = 0 ;
6698 char *kwnames[] = {
6699 (char *) "doIt", NULL
6700 };
6701
6702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6703 if (obj0) {
a41e16b6 6704 {
994141e6 6705 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
a41e16b6
RD
6706 if (PyErr_Occurred()) SWIG_fail;
6707 }
d14a1e28
RD
6708 }
6709 {
6710 PyThreadState* __tstate = wxPyBeginAllowThreads();
6711 result = (bool)wxLog::EnableLogging(arg1);
6712
6713 wxPyEndAllowThreads(__tstate);
6714 if (PyErr_Occurred()) SWIG_fail;
6715 }
4d5c3d91 6716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6717 return resultobj;
6718 fail:
6719 return NULL;
6720}
6721
6722
6723static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6724 PyObject *resultobj;
6725 wxLogLevel arg1 ;
6726 wxChar *arg2 = (wxChar *) 0 ;
6727 time_t arg3 ;
6728 PyObject * obj0 = 0 ;
6729 PyObject * obj1 = 0 ;
6730 PyObject * obj2 = 0 ;
6731 char *kwnames[] = {
6732 (char *) "level",(char *) "szString",(char *) "t", NULL
6733 };
6734
6735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
a41e16b6 6736 {
994141e6 6737 arg1 = (wxLogLevel) SWIG_PyObj_AsUnsignedLong(obj0);
a41e16b6
RD
6738 if (PyErr_Occurred()) SWIG_fail;
6739 }
d14a1e28 6740 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 6741 {
994141e6 6742 arg3 = (time_t) SWIG_PyObj_AsUnsignedInt(obj2);
a41e16b6
RD
6743 if (PyErr_Occurred()) SWIG_fail;
6744 }
d14a1e28
RD
6745 {
6746 PyThreadState* __tstate = wxPyBeginAllowThreads();
6747 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6748
6749 wxPyEndAllowThreads(__tstate);
6750 if (PyErr_Occurred()) SWIG_fail;
6751 }
6752 Py_INCREF(Py_None); resultobj = Py_None;
6753 return resultobj;
6754 fail:
6755 return NULL;
6756}
6757
6758
6759static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6760 PyObject *resultobj;
6761 wxLog *arg1 = (wxLog *) 0 ;
6762 PyObject * obj0 = 0 ;
6763 char *kwnames[] = {
6764 (char *) "self", NULL
6765 };
6766
6767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6769 {
6770 PyThreadState* __tstate = wxPyBeginAllowThreads();
6771 (arg1)->Flush();
6772
6773 wxPyEndAllowThreads(__tstate);
6774 if (PyErr_Occurred()) SWIG_fail;
6775 }
6776 Py_INCREF(Py_None); resultobj = Py_None;
6777 return resultobj;
6778 fail:
6779 return NULL;
6780}
6781
6782
6783static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6784 PyObject *resultobj;
6785 char *kwnames[] = {
6786 NULL
6787 };
6788
6789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6790 {
6791 PyThreadState* __tstate = wxPyBeginAllowThreads();
6792 wxLog::FlushActive();
6793
6794 wxPyEndAllowThreads(__tstate);
6795 if (PyErr_Occurred()) SWIG_fail;
6796 }
6797 Py_INCREF(Py_None); resultobj = Py_None;
6798 return resultobj;
6799 fail:
6800 return NULL;
6801}
6802
6803
6804static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6805 PyObject *resultobj;
6806 wxLog *result;
6807 char *kwnames[] = {
6808 NULL
6809 };
6810
6811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6812 {
6813 PyThreadState* __tstate = wxPyBeginAllowThreads();
6814 result = (wxLog *)wxLog::GetActiveTarget();
6815
6816 wxPyEndAllowThreads(__tstate);
6817 if (PyErr_Occurred()) SWIG_fail;
6818 }
6819 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6820 return resultobj;
6821 fail:
6822 return NULL;
6823}
6824
6825
6826static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6827 PyObject *resultobj;
6828 wxLog *arg1 = (wxLog *) 0 ;
6829 wxLog *result;
6830 PyObject * obj0 = 0 ;
6831 char *kwnames[] = {
6832 (char *) "pLogger", NULL
6833 };
6834
6835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
6836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6837 {
6838 PyThreadState* __tstate = wxPyBeginAllowThreads();
6839 result = (wxLog *)wxLog::SetActiveTarget(arg1);
6840
6841 wxPyEndAllowThreads(__tstate);
6842 if (PyErr_Occurred()) SWIG_fail;
6843 }
6844 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6845 return resultobj;
6846 fail:
6847 return NULL;
6848}
6849
6850
6851static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
6852 PyObject *resultobj;
6853 char *kwnames[] = {
6854 NULL
6855 };
6856
6857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
6858 {
6859 PyThreadState* __tstate = wxPyBeginAllowThreads();
6860 wxLog::Suspend();
6861
6862 wxPyEndAllowThreads(__tstate);
6863 if (PyErr_Occurred()) SWIG_fail;
6864 }
6865 Py_INCREF(Py_None); resultobj = Py_None;
6866 return resultobj;
6867 fail:
6868 return NULL;
6869}
6870
6871
6872static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
6873 PyObject *resultobj;
6874 char *kwnames[] = {
6875 NULL
6876 };
6877
6878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
6879 {
6880 PyThreadState* __tstate = wxPyBeginAllowThreads();
6881 wxLog::Resume();
6882
6883 wxPyEndAllowThreads(__tstate);
6884 if (PyErr_Occurred()) SWIG_fail;
6885 }
6886 Py_INCREF(Py_None); resultobj = Py_None;
6887 return resultobj;
6888 fail:
6889 return NULL;
6890}
6891
6892
6893static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6894 PyObject *resultobj;
e811c8ce 6895 bool arg1 = (bool) True ;
d14a1e28
RD
6896 PyObject * obj0 = 0 ;
6897 char *kwnames[] = {
6898 (char *) "bVerbose", NULL
6899 };
6900
6901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
6902 if (obj0) {
a41e16b6 6903 {
994141e6 6904 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
a41e16b6
RD
6905 if (PyErr_Occurred()) SWIG_fail;
6906 }
d14a1e28
RD
6907 }
6908 {
6909 PyThreadState* __tstate = wxPyBeginAllowThreads();
6910 wxLog::SetVerbose(arg1);
6911
6912 wxPyEndAllowThreads(__tstate);
6913 if (PyErr_Occurred()) SWIG_fail;
6914 }
6915 Py_INCREF(Py_None); resultobj = Py_None;
6916 return resultobj;
6917 fail:
6918 return NULL;
6919}
6920
6921
6922static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6923 PyObject *resultobj;
6924 wxLogLevel arg1 ;
6925 PyObject * obj0 = 0 ;
6926 char *kwnames[] = {
6927 (char *) "logLevel", NULL
6928 };
6929
6930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
a41e16b6 6931 {
994141e6 6932 arg1 = (wxLogLevel) SWIG_PyObj_AsUnsignedLong(obj0);
a41e16b6
RD
6933 if (PyErr_Occurred()) SWIG_fail;
6934 }
d14a1e28
RD
6935 {
6936 PyThreadState* __tstate = wxPyBeginAllowThreads();
6937 wxLog::SetLogLevel(arg1);
6938
6939 wxPyEndAllowThreads(__tstate);
6940 if (PyErr_Occurred()) SWIG_fail;
6941 }
6942 Py_INCREF(Py_None); resultobj = Py_None;
6943 return resultobj;
6944 fail:
6945 return NULL;
6946}
6947
6948
6949static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
6950 PyObject *resultobj;
6951 char *kwnames[] = {
6952 NULL
6953 };
6954
6955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
6956 {
6957 PyThreadState* __tstate = wxPyBeginAllowThreads();
6958 wxLog::DontCreateOnDemand();
6959
6960 wxPyEndAllowThreads(__tstate);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 }
6963 Py_INCREF(Py_None); resultobj = Py_None;
6964 return resultobj;
6965 fail:
6966 return NULL;
6967}
6968
6969
6970static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6971 PyObject *resultobj;
6972 wxTraceMask arg1 ;
6973 PyObject * obj0 = 0 ;
6974 char *kwnames[] = {
6975 (char *) "ulMask", NULL
6976 };
6977
6978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
a41e16b6 6979 {
994141e6 6980 arg1 = (wxTraceMask) SWIG_PyObj_AsUnsignedLong(obj0);
a41e16b6
RD
6981 if (PyErr_Occurred()) SWIG_fail;
6982 }
d14a1e28
RD
6983 {
6984 PyThreadState* __tstate = wxPyBeginAllowThreads();
6985 wxLog::SetTraceMask(arg1);
6986
6987 wxPyEndAllowThreads(__tstate);
6988 if (PyErr_Occurred()) SWIG_fail;
6989 }
6990 Py_INCREF(Py_None); resultobj = Py_None;
6991 return resultobj;
6992 fail:
6993 return NULL;
6994}
6995
6996
6997static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6998 PyObject *resultobj;
6999 wxString *arg1 = 0 ;
e811c8ce 7000 bool temp1 = False ;
d14a1e28
RD
7001 PyObject * obj0 = 0 ;
7002 char *kwnames[] = {
7003 (char *) "str", NULL
7004 };
7005
7006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
7007 {
7008 arg1 = wxString_in_helper(obj0);
7009 if (arg1 == NULL) SWIG_fail;
e811c8ce 7010 temp1 = True;
d14a1e28
RD
7011 }
7012 {
7013 PyThreadState* __tstate = wxPyBeginAllowThreads();
7014 wxLog::AddTraceMask((wxString const &)*arg1);
7015
7016 wxPyEndAllowThreads(__tstate);
7017 if (PyErr_Occurred()) SWIG_fail;
7018 }
7019 Py_INCREF(Py_None); resultobj = Py_None;
7020 {
7021 if (temp1)
7022 delete arg1;
7023 }
7024 return resultobj;
7025 fail:
7026 {
7027 if (temp1)
7028 delete arg1;
7029 }
7030 return NULL;
7031}
7032
7033
7034static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7035 PyObject *resultobj;
7036 wxString *arg1 = 0 ;
e811c8ce 7037 bool temp1 = False ;
d14a1e28
RD
7038 PyObject * obj0 = 0 ;
7039 char *kwnames[] = {
7040 (char *) "str", NULL
7041 };
7042
7043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7044 {
7045 arg1 = wxString_in_helper(obj0);
7046 if (arg1 == NULL) SWIG_fail;
e811c8ce 7047 temp1 = True;
d14a1e28
RD
7048 }
7049 {
7050 PyThreadState* __tstate = wxPyBeginAllowThreads();
7051 wxLog::RemoveTraceMask((wxString const &)*arg1);
7052
7053 wxPyEndAllowThreads(__tstate);
7054 if (PyErr_Occurred()) SWIG_fail;
7055 }
7056 Py_INCREF(Py_None); resultobj = Py_None;
7057 {
7058 if (temp1)
7059 delete arg1;
7060 }
7061 return resultobj;
7062 fail:
7063 {
7064 if (temp1)
7065 delete arg1;
7066 }
7067 return NULL;
7068}
7069
7070
7071static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7072 PyObject *resultobj;
7073 char *kwnames[] = {
7074 NULL
7075 };
7076
7077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7078 {
7079 PyThreadState* __tstate = wxPyBeginAllowThreads();
7080 wxLog::ClearTraceMasks();
7081
7082 wxPyEndAllowThreads(__tstate);
7083 if (PyErr_Occurred()) SWIG_fail;
7084 }
7085 Py_INCREF(Py_None); resultobj = Py_None;
7086 return resultobj;
7087 fail:
7088 return NULL;
7089}
7090
7091
7092static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7093 PyObject *resultobj;
7094 wxArrayString *result;
7095 char *kwnames[] = {
7096 NULL
7097 };
7098
7099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7100 {
7101 PyThreadState* __tstate = wxPyBeginAllowThreads();
7102 {
7103 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7104 result = (wxArrayString *) &_result_ref;
7105 }
7106
7107 wxPyEndAllowThreads(__tstate);
7108 if (PyErr_Occurred()) SWIG_fail;
7109 }
7110 {
7111 resultobj = wxArrayString2PyList_helper(*result);
7112 }
7113 return resultobj;
7114 fail:
7115 return NULL;
7116}
7117
7118
7119static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7120 PyObject *resultobj;
7121 wxChar *arg1 = (wxChar *) 0 ;
7122 PyObject * obj0 = 0 ;
7123 char *kwnames[] = {
7124 (char *) "ts", NULL
7125 };
7126
7127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
7128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7129 {
7130 PyThreadState* __tstate = wxPyBeginAllowThreads();
7131 wxLog::SetTimestamp((wxChar const *)arg1);
7132
7133 wxPyEndAllowThreads(__tstate);
7134 if (PyErr_Occurred()) SWIG_fail;
7135 }
7136 Py_INCREF(Py_None); resultobj = Py_None;
7137 return resultobj;
7138 fail:
7139 return NULL;
7140}
7141
7142
7143static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7144 PyObject *resultobj;
7145 bool result;
7146 char *kwnames[] = {
7147 NULL
7148 };
7149
7150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7151 {
7152 PyThreadState* __tstate = wxPyBeginAllowThreads();
7153 result = (bool)wxLog::GetVerbose();
7154
7155 wxPyEndAllowThreads(__tstate);
7156 if (PyErr_Occurred()) SWIG_fail;
7157 }
4d5c3d91 7158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7159 return resultobj;
7160 fail:
7161 return NULL;
7162}
7163
7164
7165static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7166 PyObject *resultobj;
7167 wxTraceMask result;
7168 char *kwnames[] = {
7169 NULL
7170 };
7171
7172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
7173 {
7174 PyThreadState* __tstate = wxPyBeginAllowThreads();
7175 result = (wxTraceMask)wxLog::GetTraceMask();
7176
7177 wxPyEndAllowThreads(__tstate);
7178 if (PyErr_Occurred()) SWIG_fail;
7179 }
994141e6 7180 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
7181 return resultobj;
7182 fail:
7183 return NULL;
7184}
7185
7186
7187static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7188 PyObject *resultobj;
7189 wxChar *arg1 = (wxChar *) 0 ;
7190 bool result;
7191 PyObject * obj0 = 0 ;
7192 char *kwnames[] = {
7193 (char *) "mask", NULL
7194 };
7195
7196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
7197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7198 {
7199 PyThreadState* __tstate = wxPyBeginAllowThreads();
7200 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
7201
7202 wxPyEndAllowThreads(__tstate);
7203 if (PyErr_Occurred()) SWIG_fail;
7204 }
4d5c3d91 7205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7206 return resultobj;
7207 fail:
7208 return NULL;
7209}
7210
7211
7212static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7213 PyObject *resultobj;
7214 wxLogLevel result;
7215 char *kwnames[] = {
7216 NULL
7217 };
7218
7219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
7220 {
7221 PyThreadState* __tstate = wxPyBeginAllowThreads();
7222 result = (wxLogLevel)wxLog::GetLogLevel();
7223
7224 wxPyEndAllowThreads(__tstate);
7225 if (PyErr_Occurred()) SWIG_fail;
7226 }
994141e6 7227 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
7228 return resultobj;
7229 fail:
7230 return NULL;
7231}
7232
7233
7234static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7235 PyObject *resultobj;
7236 wxChar *result;
7237 char *kwnames[] = {
7238 NULL
7239 };
7240
7241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
7242 {
7243 PyThreadState* __tstate = wxPyBeginAllowThreads();
7244 result = (wxChar *)wxLog::GetTimestamp();
7245
7246 wxPyEndAllowThreads(__tstate);
7247 if (PyErr_Occurred()) SWIG_fail;
7248 }
7249 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChar, 0);
7250 return resultobj;
7251 fail:
7252 return NULL;
7253}
7254
7255
7256static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7257 PyObject *resultobj;
7258 wxString result;
7259 char *kwnames[] = {
7260 NULL
7261 };
7262
7263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
7264 {
7265 PyThreadState* __tstate = wxPyBeginAllowThreads();
7266 result = Log_TimeStamp();
7267
7268 wxPyEndAllowThreads(__tstate);
7269 if (PyErr_Occurred()) SWIG_fail;
7270 }
7271 {
7272#if wxUSE_UNICODE
7273 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7274#else
7275 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7276#endif
7277 }
7278 return resultobj;
7279 fail:
7280 return NULL;
7281}
7282
7283
7284static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7285 PyObject *resultobj;
7286 wxLog *arg1 = (wxLog *) 0 ;
7287 PyObject * obj0 = 0 ;
7288 char *kwnames[] = {
7289 (char *) "self", NULL
7290 };
7291
7292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
7293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7294 {
7295 PyThreadState* __tstate = wxPyBeginAllowThreads();
7296 wxLog_Destroy(arg1);
7297
7298 wxPyEndAllowThreads(__tstate);
7299 if (PyErr_Occurred()) SWIG_fail;
7300 }
7301 Py_INCREF(Py_None); resultobj = Py_None;
7302 return resultobj;
7303 fail:
7304 return NULL;
7305}
7306
7307
7308static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
7309 PyObject *obj;
7310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7311 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
7312 Py_INCREF(obj);
7313 return Py_BuildValue((char *)"");
7314}
7315static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
7316 PyObject *resultobj;
7317 wxLogStderr *result;
7318 char *kwnames[] = {
7319 NULL
7320 };
7321
7322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
7323 {
7324 PyThreadState* __tstate = wxPyBeginAllowThreads();
7325 result = (wxLogStderr *)new wxLogStderr();
7326
7327 wxPyEndAllowThreads(__tstate);
7328 if (PyErr_Occurred()) SWIG_fail;
7329 }
7330 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogStderr, 1);
7331 return resultobj;
7332 fail:
7333 return NULL;
7334}
7335
7336
7337static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
7338 PyObject *obj;
7339 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7340 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
7341 Py_INCREF(obj);
7342 return Py_BuildValue((char *)"");
7343}
7344static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7345 PyObject *resultobj;
7346 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7347 wxLogTextCtrl *result;
7348 PyObject * obj0 = 0 ;
7349 char *kwnames[] = {
7350 (char *) "pTextCtrl", NULL
7351 };
7352
7353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
7354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7355 {
7356 PyThreadState* __tstate = wxPyBeginAllowThreads();
7357 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
7358
7359 wxPyEndAllowThreads(__tstate);
7360 if (PyErr_Occurred()) SWIG_fail;
7361 }
7362 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogTextCtrl, 1);
7363 return resultobj;
7364 fail:
7365 return NULL;
7366}
7367
7368
7369static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
7370 PyObject *obj;
7371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7372 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
7373 Py_INCREF(obj);
7374 return Py_BuildValue((char *)"");
7375}
7376static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
7377 PyObject *resultobj;
7378 wxLogGui *result;
7379 char *kwnames[] = {
7380 NULL
7381 };
7382
7383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
7384 {
7385 PyThreadState* __tstate = wxPyBeginAllowThreads();
7386 result = (wxLogGui *)new wxLogGui();
7387
7388 wxPyEndAllowThreads(__tstate);
7389 if (PyErr_Occurred()) SWIG_fail;
7390 }
7391 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogGui, 1);
7392 return resultobj;
7393 fail:
7394 return NULL;
7395}
7396
7397
7398static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
7399 PyObject *obj;
7400 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7401 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
7402 Py_INCREF(obj);
7403 return Py_BuildValue((char *)"");
7404}
7405static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7406 PyObject *resultobj;
7407 wxFrame *arg1 = (wxFrame *) 0 ;
7408 wxString *arg2 = 0 ;
e811c8ce
RD
7409 bool arg3 = (bool) True ;
7410 bool arg4 = (bool) True ;
d14a1e28 7411 wxLogWindow *result;
e811c8ce 7412 bool temp2 = False ;
d14a1e28
RD
7413 PyObject * obj0 = 0 ;
7414 PyObject * obj1 = 0 ;
7415 PyObject * obj2 = 0 ;
7416 PyObject * obj3 = 0 ;
7417 char *kwnames[] = {
7418 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7419 };
7420
7421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7423 {
7424 arg2 = wxString_in_helper(obj1);
7425 if (arg2 == NULL) SWIG_fail;
e811c8ce 7426 temp2 = True;
d14a1e28
RD
7427 }
7428 if (obj2) {
a41e16b6 7429 {
994141e6 7430 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
a41e16b6
RD
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
d14a1e28
RD
7433 }
7434 if (obj3) {
a41e16b6 7435 {
994141e6 7436 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
a41e16b6
RD
7437 if (PyErr_Occurred()) SWIG_fail;
7438 }
d14a1e28
RD
7439 }
7440 {
7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
7442 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7443
7444 wxPyEndAllowThreads(__tstate);
7445 if (PyErr_Occurred()) SWIG_fail;
7446 }
7447 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogWindow, 1);
7448 {
7449 if (temp2)
7450 delete arg2;
7451 }
7452 return resultobj;
7453 fail:
7454 {
7455 if (temp2)
7456 delete arg2;
7457 }
7458 return NULL;
7459}
7460
7461
7462static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
7463 PyObject *resultobj;
7464 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
e811c8ce 7465 bool arg2 = (bool) True ;
d14a1e28
RD
7466 PyObject * obj0 = 0 ;
7467 PyObject * obj1 = 0 ;
7468 char *kwnames[] = {
7469 (char *) "self",(char *) "bShow", NULL
7470 };
7471
7472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
7473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7474 if (obj1) {
a41e16b6 7475 {
994141e6 7476 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
7477 if (PyErr_Occurred()) SWIG_fail;
7478 }
d14a1e28
RD
7479 }
7480 {
7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
7482 (arg1)->Show(arg2);
7483
7484 wxPyEndAllowThreads(__tstate);
7485 if (PyErr_Occurred()) SWIG_fail;
7486 }
7487 Py_INCREF(Py_None); resultobj = Py_None;
7488 return resultobj;
7489 fail:
7490 return NULL;
7491}
7492
7493
7494static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7495 PyObject *resultobj;
7496 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7497 wxFrame *result;
7498 PyObject * obj0 = 0 ;
7499 char *kwnames[] = {
7500 (char *) "self", NULL
7501 };
7502
7503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
7504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7505 {
7506 PyThreadState* __tstate = wxPyBeginAllowThreads();
7507 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7508
7509 wxPyEndAllowThreads(__tstate);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 }
7512 {
7513 resultobj = wxPyMake_wxObject(result);
7514 }
7515 return resultobj;
7516 fail:
7517 return NULL;
7518}
7519
7520
7521static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7522 PyObject *resultobj;
7523 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7524 wxLog *result;
7525 PyObject * obj0 = 0 ;
7526 char *kwnames[] = {
7527 (char *) "self", NULL
7528 };
7529
7530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7532 {
7533 PyThreadState* __tstate = wxPyBeginAllowThreads();
7534 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7535
7536 wxPyEndAllowThreads(__tstate);
7537 if (PyErr_Occurred()) SWIG_fail;
7538 }
7539 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7540 return resultobj;
7541 fail:
7542 return NULL;
7543}
7544
7545
7546static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7547 PyObject *resultobj;
7548 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7549 bool result;
7550 PyObject * obj0 = 0 ;
7551 char *kwnames[] = {
7552 (char *) "self", NULL
7553 };
7554
7555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
7556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7557 {
7558 PyThreadState* __tstate = wxPyBeginAllowThreads();
7559 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7560
7561 wxPyEndAllowThreads(__tstate);
7562 if (PyErr_Occurred()) SWIG_fail;
7563 }
4d5c3d91 7564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7565 return resultobj;
7566 fail:
7567 return NULL;
7568}
7569
7570
7571static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7572 PyObject *resultobj;
7573 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7574 bool arg2 ;
7575 PyObject * obj0 = 0 ;
7576 PyObject * obj1 = 0 ;
7577 char *kwnames[] = {
7578 (char *) "self",(char *) "bDoPass", NULL
7579 };
7580
7581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 7583 {
994141e6 7584 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
7585 if (PyErr_Occurred()) SWIG_fail;
7586 }
d14a1e28
RD
7587 {
7588 PyThreadState* __tstate = wxPyBeginAllowThreads();
7589 (arg1)->PassMessages(arg2);
7590
7591 wxPyEndAllowThreads(__tstate);
7592 if (PyErr_Occurred()) SWIG_fail;
7593 }
7594 Py_INCREF(Py_None); resultobj = Py_None;
7595 return resultobj;
7596 fail:
7597 return NULL;
7598}
7599
7600
7601static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7602 PyObject *obj;
7603 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7604 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7605 Py_INCREF(obj);
7606 return Py_BuildValue((char *)"");
7607}
7608static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7609 PyObject *resultobj;
7610 wxLog *arg1 = (wxLog *) 0 ;
7611 wxLogChain *result;
7612 PyObject * obj0 = 0 ;
7613 char *kwnames[] = {
7614 (char *) "logger", NULL
7615 };
7616
7617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7619 {
7620 PyThreadState* __tstate = wxPyBeginAllowThreads();
7621 result = (wxLogChain *)new wxLogChain(arg1);
7622
7623 wxPyEndAllowThreads(__tstate);
7624 if (PyErr_Occurred()) SWIG_fail;
7625 }
7626 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogChain, 1);
7627 return resultobj;
7628 fail:
7629 return NULL;
7630}
7631
7632
7633static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7634 PyObject *resultobj;
7635 wxLogChain *arg1 = (wxLogChain *) 0 ;
7636 wxLog *arg2 = (wxLog *) 0 ;
7637 PyObject * obj0 = 0 ;
7638 PyObject * obj1 = 0 ;
7639 char *kwnames[] = {
7640 (char *) "self",(char *) "logger", NULL
7641 };
7642
7643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7645 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7646 {
7647 PyThreadState* __tstate = wxPyBeginAllowThreads();
7648 (arg1)->SetLog(arg2);
7649
7650 wxPyEndAllowThreads(__tstate);
7651 if (PyErr_Occurred()) SWIG_fail;
7652 }
7653 Py_INCREF(Py_None); resultobj = Py_None;
7654 return resultobj;
7655 fail:
7656 return NULL;
7657}
7658
7659
7660static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7661 PyObject *resultobj;
7662 wxLogChain *arg1 = (wxLogChain *) 0 ;
7663 bool arg2 ;
7664 PyObject * obj0 = 0 ;
7665 PyObject * obj1 = 0 ;
7666 char *kwnames[] = {
7667 (char *) "self",(char *) "bDoPass", NULL
7668 };
7669
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 7672 {
994141e6 7673 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
7674 if (PyErr_Occurred()) SWIG_fail;
7675 }
d14a1e28
RD
7676 {
7677 PyThreadState* __tstate = wxPyBeginAllowThreads();
7678 (arg1)->PassMessages(arg2);
7679
7680 wxPyEndAllowThreads(__tstate);
7681 if (PyErr_Occurred()) SWIG_fail;
7682 }
7683 Py_INCREF(Py_None); resultobj = Py_None;
7684 return resultobj;
7685 fail:
7686 return NULL;
7687}
7688
7689
7690static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7691 PyObject *resultobj;
7692 wxLogChain *arg1 = (wxLogChain *) 0 ;
7693 bool result;
7694 PyObject * obj0 = 0 ;
7695 char *kwnames[] = {
7696 (char *) "self", NULL
7697 };
7698
7699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7701 {
7702 PyThreadState* __tstate = wxPyBeginAllowThreads();
7703 result = (bool)(arg1)->IsPassingMessages();
7704
7705 wxPyEndAllowThreads(__tstate);
7706 if (PyErr_Occurred()) SWIG_fail;
7707 }
4d5c3d91 7708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7709 return resultobj;
7710 fail:
7711 return NULL;
7712}
7713
7714
7715static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7716 PyObject *resultobj;
7717 wxLogChain *arg1 = (wxLogChain *) 0 ;
7718 wxLog *result;
7719 PyObject * obj0 = 0 ;
7720 char *kwnames[] = {
7721 (char *) "self", NULL
7722 };
7723
7724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7726 {
7727 PyThreadState* __tstate = wxPyBeginAllowThreads();
7728 result = (wxLog *)(arg1)->GetOldLog();
7729
7730 wxPyEndAllowThreads(__tstate);
7731 if (PyErr_Occurred()) SWIG_fail;
7732 }
7733 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7734 return resultobj;
7735 fail:
7736 return NULL;
7737}
7738
7739
7740static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7741 PyObject *obj;
7742 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7743 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7744 Py_INCREF(obj);
7745 return Py_BuildValue((char *)"");
7746}
7747static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7748 PyObject *resultobj;
7749 unsigned long result;
7750 char *kwnames[] = {
7751 NULL
7752 };
7753
7754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7755 {
7756 PyThreadState* __tstate = wxPyBeginAllowThreads();
7757 result = (unsigned long)wxSysErrorCode();
7758
7759 wxPyEndAllowThreads(__tstate);
7760 if (PyErr_Occurred()) SWIG_fail;
7761 }
994141e6 7762 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
7763 return resultobj;
7764 fail:
7765 return NULL;
7766}
7767
7768
7769static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7770 PyObject *resultobj;
7771 unsigned long arg1 = (unsigned long) 0 ;
7772 wxString result;
7773 PyObject * obj0 = 0 ;
7774 char *kwnames[] = {
7775 (char *) "nErrCode", NULL
7776 };
7777
7778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7779 if (obj0) {
a41e16b6 7780 {
994141e6 7781 arg1 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0);
a41e16b6
RD
7782 if (PyErr_Occurred()) SWIG_fail;
7783 }
d14a1e28
RD
7784 }
7785 {
7786 PyThreadState* __tstate = wxPyBeginAllowThreads();
7787 result = wxSysErrorMsg(arg1);
7788
7789 wxPyEndAllowThreads(__tstate);
7790 if (PyErr_Occurred()) SWIG_fail;
7791 }
7792 {
7793#if wxUSE_UNICODE
7794 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7795#else
7796 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7797#endif
7798 }
7799 return resultobj;
7800 fail:
7801 return NULL;
7802}
7803
7804
7805static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
7806 PyObject *resultobj;
7807 wxString *arg1 = 0 ;
e811c8ce 7808 bool temp1 = False ;
d14a1e28
RD
7809 PyObject * obj0 = 0 ;
7810 char *kwnames[] = {
7811 (char *) "msg", NULL
7812 };
7813
7814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7815 {
7816 arg1 = wxString_in_helper(obj0);
7817 if (arg1 == NULL) SWIG_fail;
e811c8ce 7818 temp1 = True;
d14a1e28
RD
7819 }
7820 {
7821 PyThreadState* __tstate = wxPyBeginAllowThreads();
7822 wxLogFatalError((wxString const &)*arg1);
7823
7824 wxPyEndAllowThreads(__tstate);
7825 if (PyErr_Occurred()) SWIG_fail;
7826 }
7827 Py_INCREF(Py_None); resultobj = Py_None;
7828 {
7829 if (temp1)
7830 delete arg1;
7831 }
7832 return resultobj;
7833 fail:
7834 {
7835 if (temp1)
7836 delete arg1;
7837 }
7838 return NULL;
7839}
7840
7841
7842static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
7843 PyObject *resultobj;
7844 wxString *arg1 = 0 ;
e811c8ce 7845 bool temp1 = False ;
d14a1e28
RD
7846 PyObject * obj0 = 0 ;
7847 char *kwnames[] = {
7848 (char *) "msg", NULL
7849 };
7850
7851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
7852 {
7853 arg1 = wxString_in_helper(obj0);
7854 if (arg1 == NULL) SWIG_fail;
e811c8ce 7855 temp1 = True;
d14a1e28
RD
7856 }
7857 {
7858 PyThreadState* __tstate = wxPyBeginAllowThreads();
7859 wxLogError((wxString const &)*arg1);
7860
7861 wxPyEndAllowThreads(__tstate);
7862 if (PyErr_Occurred()) SWIG_fail;
7863 }
7864 Py_INCREF(Py_None); resultobj = Py_None;
7865 {
7866 if (temp1)
7867 delete arg1;
7868 }
7869 return resultobj;
7870 fail:
7871 {
7872 if (temp1)
7873 delete arg1;
7874 }
7875 return NULL;
7876}
7877
7878
7879static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
7880 PyObject *resultobj;
7881 wxString *arg1 = 0 ;
e811c8ce 7882 bool temp1 = False ;
d14a1e28
RD
7883 PyObject * obj0 = 0 ;
7884 char *kwnames[] = {
7885 (char *) "msg", NULL
7886 };
7887
7888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
7889 {
7890 arg1 = wxString_in_helper(obj0);
7891 if (arg1 == NULL) SWIG_fail;
e811c8ce 7892 temp1 = True;
d14a1e28
RD
7893 }
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 wxLogWarning((wxString const &)*arg1);
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 Py_INCREF(Py_None); resultobj = Py_None;
7902 {
7903 if (temp1)
7904 delete arg1;
7905 }
7906 return resultobj;
7907 fail:
7908 {
7909 if (temp1)
7910 delete arg1;
7911 }
7912 return NULL;
7913}
7914
7915
7916static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7917 PyObject *resultobj;
7918 wxString *arg1 = 0 ;
e811c8ce 7919 bool temp1 = False ;
d14a1e28
RD
7920 PyObject * obj0 = 0 ;
7921 char *kwnames[] = {
7922 (char *) "msg", NULL
7923 };
7924
7925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
7926 {
7927 arg1 = wxString_in_helper(obj0);
7928 if (arg1 == NULL) SWIG_fail;
e811c8ce 7929 temp1 = True;
d14a1e28
RD
7930 }
7931 {
7932 PyThreadState* __tstate = wxPyBeginAllowThreads();
7933 wxLogMessage((wxString const &)*arg1);
7934
7935 wxPyEndAllowThreads(__tstate);
7936 if (PyErr_Occurred()) SWIG_fail;
7937 }
7938 Py_INCREF(Py_None); resultobj = Py_None;
7939 {
7940 if (temp1)
7941 delete arg1;
7942 }
7943 return resultobj;
7944 fail:
7945 {
7946 if (temp1)
7947 delete arg1;
7948 }
7949 return NULL;
7950}
7951
7952
7953static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7954 PyObject *resultobj;
7955 wxString *arg1 = 0 ;
e811c8ce 7956 bool temp1 = False ;
d14a1e28
RD
7957 PyObject * obj0 = 0 ;
7958 char *kwnames[] = {
7959 (char *) "msg", NULL
7960 };
7961
7962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
7963 {
7964 arg1 = wxString_in_helper(obj0);
7965 if (arg1 == NULL) SWIG_fail;
e811c8ce 7966 temp1 = True;
d14a1e28
RD
7967 }
7968 {
7969 PyThreadState* __tstate = wxPyBeginAllowThreads();
7970 wxLogInfo((wxString const &)*arg1);
7971
7972 wxPyEndAllowThreads(__tstate);
7973 if (PyErr_Occurred()) SWIG_fail;
7974 }
7975 Py_INCREF(Py_None); resultobj = Py_None;
7976 {
7977 if (temp1)
7978 delete arg1;
7979 }
7980 return resultobj;
7981 fail:
7982 {
7983 if (temp1)
7984 delete arg1;
7985 }
7986 return NULL;
7987}
7988
7989
7990static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
7991 PyObject *resultobj;
7992 wxString *arg1 = 0 ;
e811c8ce 7993 bool temp1 = False ;
d14a1e28
RD
7994 PyObject * obj0 = 0 ;
7995 char *kwnames[] = {
7996 (char *) "msg", NULL
7997 };
7998
7999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
8000 {
8001 arg1 = wxString_in_helper(obj0);
8002 if (arg1 == NULL) SWIG_fail;
e811c8ce 8003 temp1 = True;
d14a1e28
RD
8004 }
8005 {
8006 PyThreadState* __tstate = wxPyBeginAllowThreads();
8007 wxLogDebug((wxString const &)*arg1);
8008
8009 wxPyEndAllowThreads(__tstate);
8010 if (PyErr_Occurred()) SWIG_fail;
8011 }
8012 Py_INCREF(Py_None); resultobj = Py_None;
8013 {
8014 if (temp1)
8015 delete arg1;
8016 }
8017 return resultobj;
8018 fail:
8019 {
8020 if (temp1)
8021 delete arg1;
8022 }
8023 return NULL;
8024}
8025
8026
8027static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
8028 PyObject *resultobj;
8029 wxString *arg1 = 0 ;
e811c8ce 8030 bool temp1 = False ;
d14a1e28
RD
8031 PyObject * obj0 = 0 ;
8032 char *kwnames[] = {
8033 (char *) "msg", NULL
8034 };
8035
8036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8037 {
8038 arg1 = wxString_in_helper(obj0);
8039 if (arg1 == NULL) SWIG_fail;
e811c8ce 8040 temp1 = True;
d14a1e28
RD
8041 }
8042 {
8043 PyThreadState* __tstate = wxPyBeginAllowThreads();
8044 wxLogVerbose((wxString const &)*arg1);
8045
8046 wxPyEndAllowThreads(__tstate);
8047 if (PyErr_Occurred()) SWIG_fail;
8048 }
8049 Py_INCREF(Py_None); resultobj = Py_None;
8050 {
8051 if (temp1)
8052 delete arg1;
8053 }
8054 return resultobj;
8055 fail:
8056 {
8057 if (temp1)
8058 delete arg1;
8059 }
8060 return NULL;
8061}
8062
8063
8064static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8065 PyObject *resultobj;
8066 wxString *arg1 = 0 ;
e811c8ce 8067 bool temp1 = False ;
d14a1e28
RD
8068 PyObject * obj0 = 0 ;
8069 char *kwnames[] = {
8070 (char *) "msg", NULL
8071 };
8072
8073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8074 {
8075 arg1 = wxString_in_helper(obj0);
8076 if (arg1 == NULL) SWIG_fail;
e811c8ce 8077 temp1 = True;
d14a1e28
RD
8078 }
8079 {
8080 PyThreadState* __tstate = wxPyBeginAllowThreads();
8081 wxLogStatus((wxString const &)*arg1);
8082
8083 wxPyEndAllowThreads(__tstate);
8084 if (PyErr_Occurred()) SWIG_fail;
8085 }
8086 Py_INCREF(Py_None); resultobj = Py_None;
8087 {
8088 if (temp1)
8089 delete arg1;
8090 }
8091 return resultobj;
8092 fail:
8093 {
8094 if (temp1)
8095 delete arg1;
8096 }
8097 return NULL;
8098}
8099
8100
8101static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8102 PyObject *resultobj;
8103 wxFrame *arg1 = (wxFrame *) 0 ;
8104 wxString *arg2 = 0 ;
e811c8ce 8105 bool temp2 = False ;
d14a1e28
RD
8106 PyObject * obj0 = 0 ;
8107 PyObject * obj1 = 0 ;
8108 char *kwnames[] = {
8109 (char *) "pFrame",(char *) "msg", NULL
8110 };
8111
8112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
8113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8114 {
8115 arg2 = wxString_in_helper(obj1);
8116 if (arg2 == NULL) SWIG_fail;
e811c8ce 8117 temp2 = True;
d14a1e28
RD
8118 }
8119 {
8120 PyThreadState* __tstate = wxPyBeginAllowThreads();
8121 wxLogStatus(arg1,(wxString const &)*arg2);
8122
8123 wxPyEndAllowThreads(__tstate);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
8126 Py_INCREF(Py_None); resultobj = Py_None;
8127 {
8128 if (temp2)
8129 delete arg2;
8130 }
8131 return resultobj;
8132 fail:
8133 {
8134 if (temp2)
8135 delete arg2;
8136 }
8137 return NULL;
8138}
8139
8140
8141static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
8142 PyObject *resultobj;
8143 wxString *arg1 = 0 ;
e811c8ce 8144 bool temp1 = False ;
d14a1e28
RD
8145 PyObject * obj0 = 0 ;
8146 char *kwnames[] = {
8147 (char *) "msg", NULL
8148 };
8149
8150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
8151 {
8152 arg1 = wxString_in_helper(obj0);
8153 if (arg1 == NULL) SWIG_fail;
e811c8ce 8154 temp1 = True;
d14a1e28
RD
8155 }
8156 {
8157 PyThreadState* __tstate = wxPyBeginAllowThreads();
8158 wxLogSysError((wxString const &)*arg1);
8159
8160 wxPyEndAllowThreads(__tstate);
8161 if (PyErr_Occurred()) SWIG_fail;
8162 }
8163 Py_INCREF(Py_None); resultobj = Py_None;
8164 {
8165 if (temp1)
8166 delete arg1;
8167 }
8168 return resultobj;
8169 fail:
8170 {
8171 if (temp1)
8172 delete arg1;
8173 }
8174 return NULL;
8175}
8176
8177
cc6dd355 8178static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28 8179 PyObject *resultobj;
cc6dd355
RD
8180 unsigned long arg1 ;
8181 wxString *arg2 = 0 ;
8182 bool temp2 = False ;
d14a1e28 8183 PyObject * obj0 = 0 ;
cc6dd355 8184 PyObject * obj1 = 0 ;
d14a1e28 8185
cc6dd355 8186 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
a41e16b6 8187 {
994141e6 8188 arg1 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0);
a41e16b6
RD
8189 if (PyErr_Occurred()) SWIG_fail;
8190 }
d14a1e28 8191 {
cc6dd355
RD
8192 arg2 = wxString_in_helper(obj1);
8193 if (arg2 == NULL) SWIG_fail;
8194 temp2 = True;
d14a1e28
RD
8195 }
8196 {
8197 PyThreadState* __tstate = wxPyBeginAllowThreads();
cc6dd355 8198 wxLogTrace(arg1,(wxString const &)*arg2);
d14a1e28
RD
8199
8200 wxPyEndAllowThreads(__tstate);
8201 if (PyErr_Occurred()) SWIG_fail;
8202 }
8203 Py_INCREF(Py_None); resultobj = Py_None;
8204 {
cc6dd355
RD
8205 if (temp2)
8206 delete arg2;
d14a1e28
RD
8207 }
8208 return resultobj;
8209 fail:
8210 {
cc6dd355
RD
8211 if (temp2)
8212 delete arg2;
d14a1e28
RD
8213 }
8214 return NULL;
8215}
8216
8217
cc6dd355 8218static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28
RD
8219 PyObject *resultobj;
8220 wxString *arg1 = 0 ;
8221 wxString *arg2 = 0 ;
e811c8ce
RD
8222 bool temp1 = False ;
8223 bool temp2 = False ;
d14a1e28
RD
8224 PyObject * obj0 = 0 ;
8225 PyObject * obj1 = 0 ;
d14a1e28 8226
cc6dd355 8227 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
d14a1e28
RD
8228 {
8229 arg1 = wxString_in_helper(obj0);
8230 if (arg1 == NULL) SWIG_fail;
e811c8ce 8231 temp1 = True;
d14a1e28
RD
8232 }
8233 {
8234 arg2 = wxString_in_helper(obj1);
8235 if (arg2 == NULL) SWIG_fail;
e811c8ce 8236 temp2 = True;
d14a1e28
RD
8237 }
8238 {
8239 PyThreadState* __tstate = wxPyBeginAllowThreads();
8240 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
8241
8242 wxPyEndAllowThreads(__tstate);
8243 if (PyErr_Occurred()) SWIG_fail;
8244 }
8245 Py_INCREF(Py_None); resultobj = Py_None;
8246 {
8247 if (temp1)
8248 delete arg1;
8249 }
8250 {
8251 if (temp2)
8252 delete arg2;
8253 }
8254 return resultobj;
8255 fail:
8256 {
8257 if (temp1)
8258 delete arg1;
8259 }
8260 {
8261 if (temp2)
8262 delete arg2;
8263 }
8264 return NULL;
8265}
8266
8267
cc6dd355
RD
8268static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
8269 int argc;
8270 PyObject *argv[3];
8271 int ii;
8272
8273 argc = PyObject_Length(args);
8274 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
8275 argv[ii] = PyTuple_GetItem(args,ii);
8276 }
8277 if (argc == 2) {
8278 int _v;
8279 {
4d5c3d91 8280 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
cc6dd355
RD
8281 }
8282 if (_v) {
8283 {
4d5c3d91 8284 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
cc6dd355
RD
8285 }
8286 if (_v) {
8287 return _wrap_LogTrace__SWIG_1(self,args);
8288 }
8289 }
8290 }
8291 if (argc == 2) {
8292 int _v;
8293 {
994141e6 8294 SWIG_PyObj_AsUnsignedLong(argv[0]);
a41e16b6
RD
8295 if (PyErr_Occurred()) {
8296 _v = 0;
8297 PyErr_Clear();
8298 } else {
8299 _v = 1;
8300 }
cc6dd355
RD
8301 }
8302 if (_v) {
8303 {
4d5c3d91 8304 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
cc6dd355
RD
8305 }
8306 if (_v) {
8307 return _wrap_LogTrace__SWIG_0(self,args);
8308 }
8309 }
8310 }
8311
8312 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
8313 return NULL;
8314}
8315
8316
d14a1e28
RD
8317static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
8318 PyObject *resultobj;
8319 unsigned long arg1 ;
8320 wxString *arg2 = 0 ;
e811c8ce 8321 bool temp2 = False ;
d14a1e28
RD
8322 PyObject * obj0 = 0 ;
8323 PyObject * obj1 = 0 ;
8324 char *kwnames[] = {
8325 (char *) "level",(char *) "msg", NULL
8326 };
8327
8328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
a41e16b6 8329 {
994141e6 8330 arg1 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0);
a41e16b6
RD
8331 if (PyErr_Occurred()) SWIG_fail;
8332 }
d14a1e28
RD
8333 {
8334 arg2 = wxString_in_helper(obj1);
8335 if (arg2 == NULL) SWIG_fail;
e811c8ce 8336 temp2 = True;
d14a1e28
RD
8337 }
8338 {
8339 PyThreadState* __tstate = wxPyBeginAllowThreads();
8340 wxLogGeneric(arg1,(wxString const &)*arg2);
8341
8342 wxPyEndAllowThreads(__tstate);
8343 if (PyErr_Occurred()) SWIG_fail;
8344 }
8345 Py_INCREF(Py_None); resultobj = Py_None;
8346 {
8347 if (temp2)
8348 delete arg2;
8349 }
8350 return resultobj;
8351 fail:
8352 {
8353 if (temp2)
8354 delete arg2;
8355 }
8356 return NULL;
8357}
8358
8359
8360static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8361 PyObject *resultobj;
8362 wxString *arg1 = 0 ;
8363 wxString *arg2 = 0 ;
e811c8ce
RD
8364 bool temp1 = False ;
8365 bool temp2 = False ;
d14a1e28
RD
8366 PyObject * obj0 = 0 ;
8367 PyObject * obj1 = 0 ;
8368 char *kwnames[] = {
8369 (char *) "title",(char *) "text", NULL
8370 };
8371
8372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
8373 {
8374 arg1 = wxString_in_helper(obj0);
8375 if (arg1 == NULL) SWIG_fail;
e811c8ce 8376 temp1 = True;
d14a1e28
RD
8377 }
8378 {
8379 arg2 = wxString_in_helper(obj1);
8380 if (arg2 == NULL) SWIG_fail;
e811c8ce 8381 temp2 = True;
d14a1e28
RD
8382 }
8383 {
8384 PyThreadState* __tstate = wxPyBeginAllowThreads();
8385 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
8386
8387 wxPyEndAllowThreads(__tstate);
8388 if (PyErr_Occurred()) SWIG_fail;
8389 }
8390 Py_INCREF(Py_None); resultobj = Py_None;
8391 {
8392 if (temp1)
8393 delete arg1;
8394 }
8395 {
8396 if (temp2)
8397 delete arg2;
8398 }
8399 return resultobj;
8400 fail:
8401 {
8402 if (temp1)
8403 delete arg1;
8404 }
8405 {
8406 if (temp2)
8407 delete arg2;
8408 }
8409 return NULL;
8410}
8411
8412
8413static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8414 PyObject *resultobj;
8415 wxLogNull *result;
8416 char *kwnames[] = {
8417 NULL
8418 };
8419
8420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
8421 {
8422 PyThreadState* __tstate = wxPyBeginAllowThreads();
8423 result = (wxLogNull *)new wxLogNull();
8424
8425 wxPyEndAllowThreads(__tstate);
8426 if (PyErr_Occurred()) SWIG_fail;
8427 }
8428 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogNull, 1);
8429 return resultobj;
8430 fail:
8431 return NULL;
8432}
8433
8434
8435static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8436 PyObject *resultobj;
8437 wxLogNull *arg1 = (wxLogNull *) 0 ;
8438 PyObject * obj0 = 0 ;
8439 char *kwnames[] = {
8440 (char *) "self", NULL
8441 };
8442
8443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
8444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogNull,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8445 {
8446 PyThreadState* __tstate = wxPyBeginAllowThreads();
8447 delete arg1;
8448
8449 wxPyEndAllowThreads(__tstate);
8450 if (PyErr_Occurred()) SWIG_fail;
8451 }
8452 Py_INCREF(Py_None); resultobj = Py_None;
8453 return resultobj;
8454 fail:
8455 return NULL;
8456}
8457
8458
8459static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
8460 PyObject *obj;
8461 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8462 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
8463 Py_INCREF(obj);
8464 return Py_BuildValue((char *)"");
8465}
8466static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8467 PyObject *resultobj;
8468 wxPyLog *result;
8469 char *kwnames[] = {
8470 NULL
8471 };
8472
8473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
8474 {
8475 PyThreadState* __tstate = wxPyBeginAllowThreads();
8476 result = (wxPyLog *)new wxPyLog();
8477
8478 wxPyEndAllowThreads(__tstate);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
8481 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLog, 1);
8482 return resultobj;
8483 fail:
8484 return NULL;
8485}
8486
8487
8488static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8489 PyObject *resultobj;
8490 wxPyLog *arg1 = (wxPyLog *) 0 ;
8491 PyObject *arg2 = (PyObject *) 0 ;
8492 PyObject *arg3 = (PyObject *) 0 ;
8493 PyObject * obj0 = 0 ;
8494 PyObject * obj1 = 0 ;
8495 PyObject * obj2 = 0 ;
8496 char *kwnames[] = {
8497 (char *) "self",(char *) "self",(char *) "_class", NULL
8498 };
8499
8500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8502 arg2 = obj1;
8503 arg3 = obj2;
8504 {
8505 PyThreadState* __tstate = wxPyBeginAllowThreads();
8506 (arg1)->_setCallbackInfo(arg2,arg3);
8507
8508 wxPyEndAllowThreads(__tstate);
8509 if (PyErr_Occurred()) SWIG_fail;
8510 }
8511 Py_INCREF(Py_None); resultobj = Py_None;
8512 return resultobj;
8513 fail:
8514 return NULL;
8515}
8516
8517
8518static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
8519 PyObject *obj;
8520 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8521 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8522 Py_INCREF(obj);
8523 return Py_BuildValue((char *)"");
8524}
8525static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
8526 PyObject *resultobj;
8527 int arg1 ;
8528 int arg2 = (int) wxSIGTERM ;
8529 int result;
994141e6
RD
8530 PyObject * obj0 = 0 ;
8531 PyObject * obj1 = 0 ;
d14a1e28
RD
8532 char *kwnames[] = {
8533 (char *) "pid",(char *) "sig", NULL
8534 };
8535
994141e6
RD
8536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Kill",kwnames,&obj0,&obj1)) goto fail;
8537 {
8538 arg1 = (int) SWIG_PyObj_AsInt(obj0);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 }
8541 if (obj1) {
8542 {
8543 arg2 = (wxSignal) SWIG_PyObj_AsInt(obj1);
8544 if (PyErr_Occurred()) SWIG_fail;
8545 }
8546 }
d14a1e28
RD
8547 {
8548 PyThreadState* __tstate = wxPyBeginAllowThreads();
8549 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
8550
8551 wxPyEndAllowThreads(__tstate);
8552 if (PyErr_Occurred()) SWIG_fail;
8553 }
994141e6 8554 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
8555 return resultobj;
8556 fail:
8557 return NULL;
8558}
8559
8560
8561static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
8562 PyObject *resultobj;
8563 int arg1 ;
8564 bool result;
994141e6 8565 PyObject * obj0 = 0 ;
d14a1e28
RD
8566 char *kwnames[] = {
8567 (char *) "pid", NULL
8568 };
8569
994141e6
RD
8570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
8571 {
8572 arg1 = (int) SWIG_PyObj_AsInt(obj0);
8573 if (PyErr_Occurred()) SWIG_fail;
8574 }
d14a1e28
RD
8575 {
8576 PyThreadState* __tstate = wxPyBeginAllowThreads();
8577 result = (bool)wxPyProcess::Exists(arg1);
8578
8579 wxPyEndAllowThreads(__tstate);
8580 if (PyErr_Occurred()) SWIG_fail;
8581 }
4d5c3d91 8582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8583 return resultobj;
8584 fail:
8585 return NULL;
8586}
8587
8588
8589static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
8590 PyObject *resultobj;
8591 wxString *arg1 = 0 ;
8592 int arg2 = (int) wxEXEC_ASYNC ;
8593 wxPyProcess *result;
e811c8ce 8594 bool temp1 = False ;
d14a1e28 8595 PyObject * obj0 = 0 ;
994141e6 8596 PyObject * obj1 = 0 ;
d14a1e28
RD
8597 char *kwnames[] = {
8598 (char *) "cmd",(char *) "flags", NULL
8599 };
8600
994141e6 8601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
8602 {
8603 arg1 = wxString_in_helper(obj0);
8604 if (arg1 == NULL) SWIG_fail;
e811c8ce 8605 temp1 = True;
d14a1e28 8606 }
994141e6
RD
8607 if (obj1) {
8608 {
8609 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8610 if (PyErr_Occurred()) SWIG_fail;
8611 }
8612 }
d14a1e28
RD
8613 {
8614 PyThreadState* __tstate = wxPyBeginAllowThreads();
8615 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8616
8617 wxPyEndAllowThreads(__tstate);
8618 if (PyErr_Occurred()) SWIG_fail;
8619 }
8620 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 0);
8621 {
8622 if (temp1)
8623 delete arg1;
8624 }
8625 return resultobj;
8626 fail:
8627 {
8628 if (temp1)
8629 delete arg1;
8630 }
8631 return NULL;
8632}
8633
8634
8635static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
8636 PyObject *resultobj;
8637 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8638 int arg2 = (int) -1 ;
8639 wxPyProcess *result;
8640 PyObject * obj0 = 0 ;
994141e6 8641 PyObject * obj1 = 0 ;
d14a1e28
RD
8642 char *kwnames[] = {
8643 (char *) "parent",(char *) "id", NULL
8644 };
8645
994141e6 8646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
8647 if (obj0) {
8648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8649 }
994141e6
RD
8650 if (obj1) {
8651 {
8652 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8653 if (PyErr_Occurred()) SWIG_fail;
8654 }
8655 }
d14a1e28
RD
8656 {
8657 PyThreadState* __tstate = wxPyBeginAllowThreads();
8658 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8659
8660 wxPyEndAllowThreads(__tstate);
8661 if (PyErr_Occurred()) SWIG_fail;
8662 }
8663 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 1);
8664 return resultobj;
8665 fail:
8666 return NULL;
8667}
8668
8669
8670static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8671 PyObject *resultobj;
8672 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8673 PyObject *arg2 = (PyObject *) 0 ;
8674 PyObject *arg3 = (PyObject *) 0 ;
8675 PyObject * obj0 = 0 ;
8676 PyObject * obj1 = 0 ;
8677 PyObject * obj2 = 0 ;
8678 char *kwnames[] = {
8679 (char *) "self",(char *) "self",(char *) "_class", NULL
8680 };
8681
8682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8684 arg2 = obj1;
8685 arg3 = obj2;
8686 {
8687 PyThreadState* __tstate = wxPyBeginAllowThreads();
8688 (arg1)->_setCallbackInfo(arg2,arg3);
8689
8690 wxPyEndAllowThreads(__tstate);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 Py_INCREF(Py_None); resultobj = Py_None;
8694 return resultobj;
8695 fail:
8696 return NULL;
8697}
8698
8699
8700static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8701 PyObject *resultobj;
8702 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8703 int arg2 ;
8704 int arg3 ;
8705 PyObject * obj0 = 0 ;
994141e6
RD
8706 PyObject * obj1 = 0 ;
8707 PyObject * obj2 = 0 ;
d14a1e28
RD
8708 char *kwnames[] = {
8709 (char *) "self",(char *) "pid",(char *) "status", NULL
8710 };
8711
994141e6 8712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 8713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
8714 {
8715 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8716 if (PyErr_Occurred()) SWIG_fail;
8717 }
8718 {
8719 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8720 if (PyErr_Occurred()) SWIG_fail;
8721 }
d14a1e28
RD
8722 {
8723 PyThreadState* __tstate = wxPyBeginAllowThreads();
8724 (arg1)->base_OnTerminate(arg2,arg3);
8725
8726 wxPyEndAllowThreads(__tstate);
8727 if (PyErr_Occurred()) SWIG_fail;
8728 }
8729 Py_INCREF(Py_None); resultobj = Py_None;
8730 return resultobj;
8731 fail:
8732 return NULL;
8733}
8734
8735
8736static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8737 PyObject *resultobj;
8738 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8739 PyObject * obj0 = 0 ;
8740 char *kwnames[] = {
8741 (char *) "self", NULL
8742 };
8743
8744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8746 {
8747 PyThreadState* __tstate = wxPyBeginAllowThreads();
8748 (arg1)->Redirect();
8749
8750 wxPyEndAllowThreads(__tstate);
8751 if (PyErr_Occurred()) SWIG_fail;
8752 }
8753 Py_INCREF(Py_None); resultobj = Py_None;
8754 return resultobj;
8755 fail:
8756 return NULL;
8757}
8758
8759
8760static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8761 PyObject *resultobj;
8762 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8763 bool result;
8764 PyObject * obj0 = 0 ;
8765 char *kwnames[] = {
8766 (char *) "self", NULL
8767 };
8768
8769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8771 {
8772 PyThreadState* __tstate = wxPyBeginAllowThreads();
8773 result = (bool)(arg1)->IsRedirected();
8774
8775 wxPyEndAllowThreads(__tstate);
8776 if (PyErr_Occurred()) SWIG_fail;
8777 }
4d5c3d91 8778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8779 return resultobj;
8780 fail:
8781 return NULL;
8782}
8783
8784
8785static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8786 PyObject *resultobj;
8787 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8788 PyObject * obj0 = 0 ;
8789 char *kwnames[] = {
8790 (char *) "self", NULL
8791 };
8792
8793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8795 {
8796 PyThreadState* __tstate = wxPyBeginAllowThreads();
8797 (arg1)->Detach();
8798
8799 wxPyEndAllowThreads(__tstate);
8800 if (PyErr_Occurred()) SWIG_fail;
8801 }
8802 Py_INCREF(Py_None); resultobj = Py_None;
8803 return resultobj;
8804 fail:
8805 return NULL;
8806}
8807
8808
8809static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8810 PyObject *resultobj;
8811 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8812 wxInputStream *result;
8813 PyObject * obj0 = 0 ;
8814 char *kwnames[] = {
8815 (char *) "self", NULL
8816 };
8817
8818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
8819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8820 {
8821 PyThreadState* __tstate = wxPyBeginAllowThreads();
8822 result = (wxInputStream *)(arg1)->GetInputStream();
8823
8824 wxPyEndAllowThreads(__tstate);
8825 if (PyErr_Occurred()) SWIG_fail;
8826 }
8827 {
8828 wxPyInputStream * _ptr = NULL;
8829
8830 if (result) {
8831 _ptr = new wxPyInputStream(result);
8832 }
e811c8ce 8833 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
8834 }
8835 return resultobj;
8836 fail:
8837 return NULL;
8838}
8839
8840
8841static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8842 PyObject *resultobj;
8843 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8844 wxInputStream *result;
8845 PyObject * obj0 = 0 ;
8846 char *kwnames[] = {
8847 (char *) "self", NULL
8848 };
8849
8850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
8851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8852 {
8853 PyThreadState* __tstate = wxPyBeginAllowThreads();
8854 result = (wxInputStream *)(arg1)->GetErrorStream();
8855
8856 wxPyEndAllowThreads(__tstate);
8857 if (PyErr_Occurred()) SWIG_fail;
8858 }
8859 {
8860 wxPyInputStream * _ptr = NULL;
8861
8862 if (result) {
8863 _ptr = new wxPyInputStream(result);
8864 }
e811c8ce 8865 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
8866 }
8867 return resultobj;
8868 fail:
8869 return NULL;
8870}
8871
8872
8873static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8874 PyObject *resultobj;
8875 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8876 wxOutputStream *result;
8877 PyObject * obj0 = 0 ;
8878 char *kwnames[] = {
8879 (char *) "self", NULL
8880 };
8881
8882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
8883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8884 {
8885 PyThreadState* __tstate = wxPyBeginAllowThreads();
8886 result = (wxOutputStream *)(arg1)->GetOutputStream();
8887
8888 wxPyEndAllowThreads(__tstate);
8889 if (PyErr_Occurred()) SWIG_fail;
8890 }
8891 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxOutputStream, 0);
8892 return resultobj;
8893 fail:
8894 return NULL;
8895}
8896
8897
8898static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
8899 PyObject *resultobj;
8900 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8901 PyObject * obj0 = 0 ;
8902 char *kwnames[] = {
8903 (char *) "self", NULL
8904 };
8905
8906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
8907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8908 {
8909 PyThreadState* __tstate = wxPyBeginAllowThreads();
8910 (arg1)->CloseOutput();
8911
8912 wxPyEndAllowThreads(__tstate);
8913 if (PyErr_Occurred()) SWIG_fail;
8914 }
8915 Py_INCREF(Py_None); resultobj = Py_None;
8916 return resultobj;
8917 fail:
8918 return NULL;
8919}
8920
8921
8922static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
8923 PyObject *resultobj;
8924 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8925 bool result;
8926 PyObject * obj0 = 0 ;
8927 char *kwnames[] = {
8928 (char *) "self", NULL
8929 };
8930
8931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
8932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8933 {
8934 PyThreadState* __tstate = wxPyBeginAllowThreads();
8935 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
8936
8937 wxPyEndAllowThreads(__tstate);
8938 if (PyErr_Occurred()) SWIG_fail;
8939 }
4d5c3d91 8940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8941 return resultobj;
8942 fail:
8943 return NULL;
8944}
8945
8946
8947static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8948 PyObject *resultobj;
8949 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8950 bool result;
8951 PyObject * obj0 = 0 ;
8952 char *kwnames[] = {
8953 (char *) "self", NULL
8954 };
8955
8956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
8957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8958 {
8959 PyThreadState* __tstate = wxPyBeginAllowThreads();
8960 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
8961
8962 wxPyEndAllowThreads(__tstate);
8963 if (PyErr_Occurred()) SWIG_fail;
8964 }
4d5c3d91 8965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8966 return resultobj;
8967 fail:
8968 return NULL;
8969}
8970
8971
8972static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8973 PyObject *resultobj;
8974 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8975 bool result;
8976 PyObject * obj0 = 0 ;
8977 char *kwnames[] = {
8978 (char *) "self", NULL
8979 };
8980
8981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
8982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8983 {
8984 PyThreadState* __tstate = wxPyBeginAllowThreads();
8985 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
8986
8987 wxPyEndAllowThreads(__tstate);
8988 if (PyErr_Occurred()) SWIG_fail;
8989 }
4d5c3d91 8990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8991 return resultobj;
8992 fail:
8993 return NULL;
8994}
8995
8996
8997static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
8998 PyObject *obj;
8999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9000 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
9001 Py_INCREF(obj);
9002 return Py_BuildValue((char *)"");
9003}
9004static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9005 PyObject *resultobj;
9006 int arg1 = (int) 0 ;
9007 int arg2 = (int) 0 ;
9008 int arg3 = (int) 0 ;
9009 wxProcessEvent *result;
994141e6
RD
9010 PyObject * obj0 = 0 ;
9011 PyObject * obj1 = 0 ;
9012 PyObject * obj2 = 0 ;
d14a1e28
RD
9013 char *kwnames[] = {
9014 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9015 };
9016
994141e6
RD
9017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9018 if (obj0) {
9019 {
9020 arg1 = (int) SWIG_PyObj_AsInt(obj0);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 }
9023 }
9024 if (obj1) {
9025 {
9026 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 }
9030 if (obj2) {
9031 {
9032 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9033 if (PyErr_Occurred()) SWIG_fail;
9034 }
9035 }
d14a1e28
RD
9036 {
9037 PyThreadState* __tstate = wxPyBeginAllowThreads();
9038 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9039
9040 wxPyEndAllowThreads(__tstate);
9041 if (PyErr_Occurred()) SWIG_fail;
9042 }
9043 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProcessEvent, 1);
9044 return resultobj;
9045 fail:
9046 return NULL;
9047}
9048
9049
9050static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
9051 PyObject *resultobj;
9052 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9053 int result;
9054 PyObject * obj0 = 0 ;
9055 char *kwnames[] = {
9056 (char *) "self", NULL
9057 };
9058
9059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
9060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9061 {
9062 PyThreadState* __tstate = wxPyBeginAllowThreads();
9063 result = (int)(arg1)->GetPid();
9064
9065 wxPyEndAllowThreads(__tstate);
9066 if (PyErr_Occurred()) SWIG_fail;
9067 }
994141e6 9068 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9069 return resultobj;
9070 fail:
9071 return NULL;
9072}
9073
9074
9075static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
9076 PyObject *resultobj;
9077 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9078 int result;
9079 PyObject * obj0 = 0 ;
9080 char *kwnames[] = {
9081 (char *) "self", NULL
9082 };
9083
9084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
9085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9086 {
9087 PyThreadState* __tstate = wxPyBeginAllowThreads();
9088 result = (int)(arg1)->GetExitCode();
9089
9090 wxPyEndAllowThreads(__tstate);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 }
994141e6 9093 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9094 return resultobj;
9095 fail:
9096 return NULL;
9097}
9098
9099
9100static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9101 PyObject *resultobj;
9102 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9103 int arg2 ;
9104 PyObject * obj0 = 0 ;
994141e6 9105 PyObject * obj1 = 0 ;
d14a1e28
RD
9106 char *kwnames[] = {
9107 (char *) "self",(char *) "m_pid", NULL
9108 };
9109
994141e6 9110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 9111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
9112 {
9113 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9114 if (PyErr_Occurred()) SWIG_fail;
9115 }
d14a1e28
RD
9116 if (arg1) (arg1)->m_pid = arg2;
9117
9118 Py_INCREF(Py_None); resultobj = Py_None;
9119 return resultobj;
9120 fail:
9121 return NULL;
9122}
9123
9124
9125static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9126 PyObject *resultobj;
9127 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9128 int result;
9129 PyObject * obj0 = 0 ;
9130 char *kwnames[] = {
9131 (char *) "self", NULL
9132 };
9133
9134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
9135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9136 result = (int) ((arg1)->m_pid);
9137
994141e6 9138 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9139 return resultobj;
9140 fail:
9141 return NULL;
9142}
9143
9144
9145static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9146 PyObject *resultobj;
9147 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9148 int arg2 ;
9149 PyObject * obj0 = 0 ;
994141e6 9150 PyObject * obj1 = 0 ;
d14a1e28
RD
9151 char *kwnames[] = {
9152 (char *) "self",(char *) "m_exitcode", NULL
9153 };
9154
994141e6 9155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 9156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
9157 {
9158 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9159 if (PyErr_Occurred()) SWIG_fail;
9160 }
d14a1e28
RD
9161 if (arg1) (arg1)->m_exitcode = arg2;
9162
9163 Py_INCREF(Py_None); resultobj = Py_None;
9164 return resultobj;
9165 fail:
9166 return NULL;
9167}
9168
9169
9170static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9171 PyObject *resultobj;
9172 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9173 int result;
9174 PyObject * obj0 = 0 ;
9175 char *kwnames[] = {
9176 (char *) "self", NULL
9177 };
9178
9179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
9180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9181 result = (int) ((arg1)->m_exitcode);
9182
994141e6 9183 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9184 return resultobj;
9185 fail:
9186 return NULL;
9187}
9188
9189
9190static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
9191 PyObject *obj;
9192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9193 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
9194 Py_INCREF(obj);
9195 return Py_BuildValue((char *)"");
9196}
9197static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
9198 PyObject *resultobj;
9199 wxString *arg1 = 0 ;
9200 int arg2 = (int) wxEXEC_ASYNC ;
9201 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
9202 long result;
e811c8ce 9203 bool temp1 = False ;
d14a1e28 9204 PyObject * obj0 = 0 ;
994141e6 9205 PyObject * obj1 = 0 ;
d14a1e28
RD
9206 PyObject * obj2 = 0 ;
9207 char *kwnames[] = {
9208 (char *) "command",(char *) "flags",(char *) "process", NULL
9209 };
9210
994141e6 9211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
9212 {
9213 arg1 = wxString_in_helper(obj0);
9214 if (arg1 == NULL) SWIG_fail;
e811c8ce 9215 temp1 = True;
d14a1e28 9216 }
994141e6
RD
9217 if (obj1) {
9218 {
9219 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9220 if (PyErr_Occurred()) SWIG_fail;
9221 }
9222 }
d14a1e28
RD
9223 if (obj2) {
9224 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9225 }
9226 {
9227 PyThreadState* __tstate = wxPyBeginAllowThreads();
9228 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
9229
9230 wxPyEndAllowThreads(__tstate);
9231 if (PyErr_Occurred()) SWIG_fail;
9232 }
994141e6 9233 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
9234 {
9235 if (temp1)
9236 delete arg1;
9237 }
9238 return resultobj;
9239 fail:
9240 {
9241 if (temp1)
9242 delete arg1;
9243 }
9244 return NULL;
9245}
9246
9247
9248static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9249 PyObject *resultobj;
9250 int arg1 = (int) wxJOYSTICK1 ;
9251 wxJoystick *result;
994141e6 9252 PyObject * obj0 = 0 ;
d14a1e28
RD
9253 char *kwnames[] = {
9254 (char *) "joystick", NULL
9255 };
9256
994141e6
RD
9257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
9258 if (obj0) {
9259 {
9260 arg1 = (int) SWIG_PyObj_AsInt(obj0);
9261 if (PyErr_Occurred()) SWIG_fail;
9262 }
9263 }
d14a1e28
RD
9264 {
9265 PyThreadState* __tstate = wxPyBeginAllowThreads();
9266 result = (wxJoystick *)new wxJoystick(arg1);
9267
9268 wxPyEndAllowThreads(__tstate);
9269 if (PyErr_Occurred()) SWIG_fail;
9270 }
9271 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystick, 1);
9272 return resultobj;
9273 fail:
9274 return NULL;
9275}
9276
9277
9278static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9279 PyObject *resultobj;
9280 wxJoystick *arg1 = (wxJoystick *) 0 ;
9281 PyObject * obj0 = 0 ;
9282 char *kwnames[] = {
9283 (char *) "self", NULL
9284 };
9285
9286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
9287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9288 {
9289 PyThreadState* __tstate = wxPyBeginAllowThreads();
9290 delete arg1;
9291
9292 wxPyEndAllowThreads(__tstate);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 }
9295 Py_INCREF(Py_None); resultobj = Py_None;
9296 return resultobj;
9297 fail:
9298 return NULL;
9299}
9300
9301
9302static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9303 PyObject *resultobj;
9304 wxJoystick *arg1 = (wxJoystick *) 0 ;
9305 wxPoint result;
9306 PyObject * obj0 = 0 ;
9307 char *kwnames[] = {
9308 (char *) "self", NULL
9309 };
9310
9311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
9312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9313 {
9314 PyThreadState* __tstate = wxPyBeginAllowThreads();
9315 result = (arg1)->GetPosition();
9316
9317 wxPyEndAllowThreads(__tstate);
9318 if (PyErr_Occurred()) SWIG_fail;
9319 }
9320 {
9321 wxPoint * resultptr;
9322 resultptr = new wxPoint((wxPoint &) result);
9323 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9324 }
9325 return resultobj;
9326 fail:
9327 return NULL;
9328}
9329
9330
9331static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9332 PyObject *resultobj;
9333 wxJoystick *arg1 = (wxJoystick *) 0 ;
9334 int result;
9335 PyObject * obj0 = 0 ;
9336 char *kwnames[] = {
9337 (char *) "self", NULL
9338 };
9339
9340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
9341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9342 {
9343 PyThreadState* __tstate = wxPyBeginAllowThreads();
9344 result = (int)(arg1)->GetZPosition();
9345
9346 wxPyEndAllowThreads(__tstate);
9347 if (PyErr_Occurred()) SWIG_fail;
9348 }
994141e6 9349 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9350 return resultobj;
9351 fail:
9352 return NULL;
9353}
9354
9355
9356static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9357 PyObject *resultobj;
9358 wxJoystick *arg1 = (wxJoystick *) 0 ;
9359 int result;
9360 PyObject * obj0 = 0 ;
9361 char *kwnames[] = {
9362 (char *) "self", NULL
9363 };
9364
9365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
9366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9367 {
9368 PyThreadState* __tstate = wxPyBeginAllowThreads();
9369 result = (int)(arg1)->GetButtonState();
9370
9371 wxPyEndAllowThreads(__tstate);
9372 if (PyErr_Occurred()) SWIG_fail;
9373 }
994141e6 9374 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9375 return resultobj;
9376 fail:
9377 return NULL;
9378}
9379
9380
9381static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9382 PyObject *resultobj;
9383 wxJoystick *arg1 = (wxJoystick *) 0 ;
9384 int result;
9385 PyObject * obj0 = 0 ;
9386 char *kwnames[] = {
9387 (char *) "self", NULL
9388 };
9389
9390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
9391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9392 {
9393 PyThreadState* __tstate = wxPyBeginAllowThreads();
9394 result = (int)(arg1)->GetPOVPosition();
9395
9396 wxPyEndAllowThreads(__tstate);
9397 if (PyErr_Occurred()) SWIG_fail;
9398 }
994141e6 9399 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9400 return resultobj;
9401 fail:
9402 return NULL;
9403}
9404
9405
9406static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9407 PyObject *resultobj;
9408 wxJoystick *arg1 = (wxJoystick *) 0 ;
9409 int result;
9410 PyObject * obj0 = 0 ;
9411 char *kwnames[] = {
9412 (char *) "self", NULL
9413 };
9414
9415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
9416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9417 {
9418 PyThreadState* __tstate = wxPyBeginAllowThreads();
9419 result = (int)(arg1)->GetPOVCTSPosition();
9420
9421 wxPyEndAllowThreads(__tstate);
9422 if (PyErr_Occurred()) SWIG_fail;
9423 }
994141e6 9424 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9425 return resultobj;
9426 fail:
9427 return NULL;
9428}
9429
9430
9431static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9432 PyObject *resultobj;
9433 wxJoystick *arg1 = (wxJoystick *) 0 ;
9434 int result;
9435 PyObject * obj0 = 0 ;
9436 char *kwnames[] = {
9437 (char *) "self", NULL
9438 };
9439
9440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
9441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9442 {
9443 PyThreadState* __tstate = wxPyBeginAllowThreads();
9444 result = (int)(arg1)->GetRudderPosition();
9445
9446 wxPyEndAllowThreads(__tstate);
9447 if (PyErr_Occurred()) SWIG_fail;
9448 }
994141e6 9449 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9450 return resultobj;
9451 fail:
9452 return NULL;
9453}
9454
9455
9456static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9457 PyObject *resultobj;
9458 wxJoystick *arg1 = (wxJoystick *) 0 ;
9459 int result;
9460 PyObject * obj0 = 0 ;
9461 char *kwnames[] = {
9462 (char *) "self", NULL
9463 };
9464
9465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
9466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9467 {
9468 PyThreadState* __tstate = wxPyBeginAllowThreads();
9469 result = (int)(arg1)->GetUPosition();
9470
9471 wxPyEndAllowThreads(__tstate);
9472 if (PyErr_Occurred()) SWIG_fail;
9473 }
994141e6 9474 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9475 return resultobj;
9476 fail:
9477 return NULL;
9478}
9479
9480
9481static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9482 PyObject *resultobj;
9483 wxJoystick *arg1 = (wxJoystick *) 0 ;
9484 int result;
9485 PyObject * obj0 = 0 ;
9486 char *kwnames[] = {
9487 (char *) "self", NULL
9488 };
9489
9490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
9491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9492 {
9493 PyThreadState* __tstate = wxPyBeginAllowThreads();
9494 result = (int)(arg1)->GetVPosition();
9495
9496 wxPyEndAllowThreads(__tstate);
9497 if (PyErr_Occurred()) SWIG_fail;
9498 }
994141e6 9499 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9500 return resultobj;
9501 fail:
9502 return NULL;
9503}
9504
9505
9506static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9507 PyObject *resultobj;
9508 wxJoystick *arg1 = (wxJoystick *) 0 ;
9509 int result;
9510 PyObject * obj0 = 0 ;
9511 char *kwnames[] = {
9512 (char *) "self", NULL
9513 };
9514
9515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
9516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9517 {
9518 PyThreadState* __tstate = wxPyBeginAllowThreads();
9519 result = (int)(arg1)->GetMovementThreshold();
9520
9521 wxPyEndAllowThreads(__tstate);
9522 if (PyErr_Occurred()) SWIG_fail;
9523 }
994141e6 9524 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9525 return resultobj;
9526 fail:
9527 return NULL;
9528}
9529
9530
9531static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9532 PyObject *resultobj;
9533 wxJoystick *arg1 = (wxJoystick *) 0 ;
9534 int arg2 ;
9535 PyObject * obj0 = 0 ;
994141e6 9536 PyObject * obj1 = 0 ;
d14a1e28
RD
9537 char *kwnames[] = {
9538 (char *) "self",(char *) "threshold", NULL
9539 };
9540
994141e6 9541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 9542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
9543 {
9544 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9545 if (PyErr_Occurred()) SWIG_fail;
9546 }
d14a1e28
RD
9547 {
9548 PyThreadState* __tstate = wxPyBeginAllowThreads();
9549 (arg1)->SetMovementThreshold(arg2);
9550
9551 wxPyEndAllowThreads(__tstate);
9552 if (PyErr_Occurred()) SWIG_fail;
9553 }
9554 Py_INCREF(Py_None); resultobj = Py_None;
9555 return resultobj;
9556 fail:
9557 return NULL;
9558}
9559
9560
9561static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9562 PyObject *resultobj;
9563 wxJoystick *arg1 = (wxJoystick *) 0 ;
9564 bool result;
9565 PyObject * obj0 = 0 ;
9566 char *kwnames[] = {
9567 (char *) "self", NULL
9568 };
9569
9570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
9571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9572 {
9573 PyThreadState* __tstate = wxPyBeginAllowThreads();
9574 result = (bool)(arg1)->IsOk();
9575
9576 wxPyEndAllowThreads(__tstate);
9577 if (PyErr_Occurred()) SWIG_fail;
9578 }
4d5c3d91 9579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9580 return resultobj;
9581 fail:
9582 return NULL;
9583}
9584
9585
9586static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
9587 PyObject *resultobj;
9588 wxJoystick *arg1 = (wxJoystick *) 0 ;
9589 int result;
9590 PyObject * obj0 = 0 ;
9591 char *kwnames[] = {
9592 (char *) "self", NULL
9593 };
9594
9595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
9596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9597 {
9598 PyThreadState* __tstate = wxPyBeginAllowThreads();
9599 result = (int)(arg1)->GetNumberJoysticks();
9600
9601 wxPyEndAllowThreads(__tstate);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 }
994141e6 9604 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9605 return resultobj;
9606 fail:
9607 return NULL;
9608}
9609
9610
9611static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
9612 PyObject *resultobj;
9613 wxJoystick *arg1 = (wxJoystick *) 0 ;
9614 int result;
9615 PyObject * obj0 = 0 ;
9616 char *kwnames[] = {
9617 (char *) "self", NULL
9618 };
9619
9620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
9621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9622 {
9623 PyThreadState* __tstate = wxPyBeginAllowThreads();
9624 result = (int)(arg1)->GetManufacturerId();
9625
9626 wxPyEndAllowThreads(__tstate);
9627 if (PyErr_Occurred()) SWIG_fail;
9628 }
994141e6 9629 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9630 return resultobj;
9631 fail:
9632 return NULL;
9633}
9634
9635
9636static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
9637 PyObject *resultobj;
9638 wxJoystick *arg1 = (wxJoystick *) 0 ;
9639 int result;
9640 PyObject * obj0 = 0 ;
9641 char *kwnames[] = {
9642 (char *) "self", NULL
9643 };
9644
9645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
9646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9647 {
9648 PyThreadState* __tstate = wxPyBeginAllowThreads();
9649 result = (int)(arg1)->GetProductId();
9650
9651 wxPyEndAllowThreads(__tstate);
9652 if (PyErr_Occurred()) SWIG_fail;
9653 }
994141e6 9654 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9655 return resultobj;
9656 fail:
9657 return NULL;
9658}
9659
9660
9661static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
9662 PyObject *resultobj;
9663 wxJoystick *arg1 = (wxJoystick *) 0 ;
9664 wxString result;
9665 PyObject * obj0 = 0 ;
9666 char *kwnames[] = {
9667 (char *) "self", NULL
9668 };
9669
9670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
9671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9672 {
9673 PyThreadState* __tstate = wxPyBeginAllowThreads();
9674 result = (arg1)->GetProductName();
9675
9676 wxPyEndAllowThreads(__tstate);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 }
9679 {
9680#if wxUSE_UNICODE
9681 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9682#else
9683 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9684#endif
9685 }
9686 return resultobj;
9687 fail:
9688 return NULL;
9689}
9690
9691
9692static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9693 PyObject *resultobj;
9694 wxJoystick *arg1 = (wxJoystick *) 0 ;
9695 int result;
9696 PyObject * obj0 = 0 ;
9697 char *kwnames[] = {
9698 (char *) "self", NULL
9699 };
9700
9701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
9702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9703 {
9704 PyThreadState* __tstate = wxPyBeginAllowThreads();
9705 result = (int)(arg1)->GetXMin();
9706
9707 wxPyEndAllowThreads(__tstate);
9708 if (PyErr_Occurred()) SWIG_fail;
9709 }
994141e6 9710 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9711 return resultobj;
9712 fail:
9713 return NULL;
9714}
9715
9716
9717static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9718 PyObject *resultobj;
9719 wxJoystick *arg1 = (wxJoystick *) 0 ;
9720 int result;
9721 PyObject * obj0 = 0 ;
9722 char *kwnames[] = {
9723 (char *) "self", NULL
9724 };
9725
9726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
9727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 result = (int)(arg1)->GetYMin();
9731
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
994141e6 9735 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9736 return resultobj;
9737 fail:
9738 return NULL;
9739}
9740
9741
9742static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9743 PyObject *resultobj;
9744 wxJoystick *arg1 = (wxJoystick *) 0 ;
9745 int result;
9746 PyObject * obj0 = 0 ;
9747 char *kwnames[] = {
9748 (char *) "self", NULL
9749 };
9750
9751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9753 {
9754 PyThreadState* __tstate = wxPyBeginAllowThreads();
9755 result = (int)(arg1)->GetZMin();
9756
9757 wxPyEndAllowThreads(__tstate);
9758 if (PyErr_Occurred()) SWIG_fail;
9759 }
994141e6 9760 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9761 return resultobj;
9762 fail:
9763 return NULL;
9764}
9765
9766
9767static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9768 PyObject *resultobj;
9769 wxJoystick *arg1 = (wxJoystick *) 0 ;
9770 int result;
9771 PyObject * obj0 = 0 ;
9772 char *kwnames[] = {
9773 (char *) "self", NULL
9774 };
9775
9776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9778 {
9779 PyThreadState* __tstate = wxPyBeginAllowThreads();
9780 result = (int)(arg1)->GetXMax();
9781
9782 wxPyEndAllowThreads(__tstate);
9783 if (PyErr_Occurred()) SWIG_fail;
9784 }
994141e6 9785 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9786 return resultobj;
9787 fail:
9788 return NULL;
9789}
9790
9791
9792static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9793 PyObject *resultobj;
9794 wxJoystick *arg1 = (wxJoystick *) 0 ;
9795 int result;
9796 PyObject * obj0 = 0 ;
9797 char *kwnames[] = {
9798 (char *) "self", NULL
9799 };
9800
9801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
9802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9803 {
9804 PyThreadState* __tstate = wxPyBeginAllowThreads();
9805 result = (int)(arg1)->GetYMax();
9806
9807 wxPyEndAllowThreads(__tstate);
9808 if (PyErr_Occurred()) SWIG_fail;
9809 }
994141e6 9810 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9811 return resultobj;
9812 fail:
9813 return NULL;
9814}
9815
9816
9817static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9818 PyObject *resultobj;
9819 wxJoystick *arg1 = (wxJoystick *) 0 ;
9820 int result;
9821 PyObject * obj0 = 0 ;
9822 char *kwnames[] = {
9823 (char *) "self", NULL
9824 };
9825
9826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
9827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9828 {
9829 PyThreadState* __tstate = wxPyBeginAllowThreads();
9830 result = (int)(arg1)->GetZMax();
9831
9832 wxPyEndAllowThreads(__tstate);
9833 if (PyErr_Occurred()) SWIG_fail;
9834 }
994141e6 9835 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9836 return resultobj;
9837 fail:
9838 return NULL;
9839}
9840
9841
9842static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9843 PyObject *resultobj;
9844 wxJoystick *arg1 = (wxJoystick *) 0 ;
9845 int result;
9846 PyObject * obj0 = 0 ;
9847 char *kwnames[] = {
9848 (char *) "self", NULL
9849 };
9850
9851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
9852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9853 {
9854 PyThreadState* __tstate = wxPyBeginAllowThreads();
9855 result = (int)(arg1)->GetNumberButtons();
9856
9857 wxPyEndAllowThreads(__tstate);
9858 if (PyErr_Occurred()) SWIG_fail;
9859 }
994141e6 9860 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9861 return resultobj;
9862 fail:
9863 return NULL;
9864}
9865
9866
9867static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9868 PyObject *resultobj;
9869 wxJoystick *arg1 = (wxJoystick *) 0 ;
9870 int result;
9871 PyObject * obj0 = 0 ;
9872 char *kwnames[] = {
9873 (char *) "self", NULL
9874 };
9875
9876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
9877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9878 {
9879 PyThreadState* __tstate = wxPyBeginAllowThreads();
9880 result = (int)(arg1)->GetNumberAxes();
9881
9882 wxPyEndAllowThreads(__tstate);
9883 if (PyErr_Occurred()) SWIG_fail;
9884 }
994141e6 9885 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9886 return resultobj;
9887 fail:
9888 return NULL;
9889}
9890
9891
9892static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9893 PyObject *resultobj;
9894 wxJoystick *arg1 = (wxJoystick *) 0 ;
9895 int result;
9896 PyObject * obj0 = 0 ;
9897 char *kwnames[] = {
9898 (char *) "self", NULL
9899 };
9900
9901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
9902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9903 {
9904 PyThreadState* __tstate = wxPyBeginAllowThreads();
9905 result = (int)(arg1)->GetMaxButtons();
9906
9907 wxPyEndAllowThreads(__tstate);
9908 if (PyErr_Occurred()) SWIG_fail;
9909 }
994141e6 9910 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9911 return resultobj;
9912 fail:
9913 return NULL;
9914}
9915
9916
9917static PyObject *_wrap_Joystick_GetMaxAxes(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_GetMaxAxes",kwnames,&obj0)) goto fail;
9927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9928 {
9929 PyThreadState* __tstate = wxPyBeginAllowThreads();
9930 result = (int)(arg1)->GetMaxAxes();
9931
9932 wxPyEndAllowThreads(__tstate);
9933 if (PyErr_Occurred()) SWIG_fail;
9934 }
994141e6 9935 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9936 return resultobj;
9937 fail:
9938 return NULL;
9939}
9940
9941
9942static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9943 PyObject *resultobj;
9944 wxJoystick *arg1 = (wxJoystick *) 0 ;
9945 int result;
9946 PyObject * obj0 = 0 ;
9947 char *kwnames[] = {
9948 (char *) "self", NULL
9949 };
9950
9951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
9952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9953 {
9954 PyThreadState* __tstate = wxPyBeginAllowThreads();
9955 result = (int)(arg1)->GetPollingMin();
9956
9957 wxPyEndAllowThreads(__tstate);
9958 if (PyErr_Occurred()) SWIG_fail;
9959 }
994141e6 9960 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9961 return resultobj;
9962 fail:
9963 return NULL;
9964}
9965
9966
9967static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9968 PyObject *resultobj;
9969 wxJoystick *arg1 = (wxJoystick *) 0 ;
9970 int result;
9971 PyObject * obj0 = 0 ;
9972 char *kwnames[] = {
9973 (char *) "self", NULL
9974 };
9975
9976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
9977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9978 {
9979 PyThreadState* __tstate = wxPyBeginAllowThreads();
9980 result = (int)(arg1)->GetPollingMax();
9981
9982 wxPyEndAllowThreads(__tstate);
9983 if (PyErr_Occurred()) SWIG_fail;
9984 }
994141e6 9985 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9986 return resultobj;
9987 fail:
9988 return NULL;
9989}
9990
9991
9992static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9993 PyObject *resultobj;
9994 wxJoystick *arg1 = (wxJoystick *) 0 ;
9995 int result;
9996 PyObject * obj0 = 0 ;
9997 char *kwnames[] = {
9998 (char *) "self", NULL
9999 };
10000
10001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
10002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10003 {
10004 PyThreadState* __tstate = wxPyBeginAllowThreads();
10005 result = (int)(arg1)->GetRudderMin();
10006
10007 wxPyEndAllowThreads(__tstate);
10008 if (PyErr_Occurred()) SWIG_fail;
10009 }
994141e6 10010 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10011 return resultobj;
10012 fail:
10013 return NULL;
10014}
10015
10016
10017static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10018 PyObject *resultobj;
10019 wxJoystick *arg1 = (wxJoystick *) 0 ;
10020 int result;
10021 PyObject * obj0 = 0 ;
10022 char *kwnames[] = {
10023 (char *) "self", NULL
10024 };
10025
10026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
10027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10028 {
10029 PyThreadState* __tstate = wxPyBeginAllowThreads();
10030 result = (int)(arg1)->GetRudderMax();
10031
10032 wxPyEndAllowThreads(__tstate);
10033 if (PyErr_Occurred()) SWIG_fail;
10034 }
994141e6 10035 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10036 return resultobj;
10037 fail:
10038 return NULL;
10039}
10040
10041
10042static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10043 PyObject *resultobj;
10044 wxJoystick *arg1 = (wxJoystick *) 0 ;
10045 int result;
10046 PyObject * obj0 = 0 ;
10047 char *kwnames[] = {
10048 (char *) "self", NULL
10049 };
10050
10051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
10052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10053 {
10054 PyThreadState* __tstate = wxPyBeginAllowThreads();
10055 result = (int)(arg1)->GetUMin();
10056
10057 wxPyEndAllowThreads(__tstate);
10058 if (PyErr_Occurred()) SWIG_fail;
10059 }
994141e6 10060 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10061 return resultobj;
10062 fail:
10063 return NULL;
10064}
10065
10066
10067static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10068 PyObject *resultobj;
10069 wxJoystick *arg1 = (wxJoystick *) 0 ;
10070 int result;
10071 PyObject * obj0 = 0 ;
10072 char *kwnames[] = {
10073 (char *) "self", NULL
10074 };
10075
10076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
10077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10078 {
10079 PyThreadState* __tstate = wxPyBeginAllowThreads();
10080 result = (int)(arg1)->GetUMax();
10081
10082 wxPyEndAllowThreads(__tstate);
10083 if (PyErr_Occurred()) SWIG_fail;
10084 }
994141e6 10085 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10086 return resultobj;
10087 fail:
10088 return NULL;
10089}
10090
10091
10092static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10093 PyObject *resultobj;
10094 wxJoystick *arg1 = (wxJoystick *) 0 ;
10095 int result;
10096 PyObject * obj0 = 0 ;
10097 char *kwnames[] = {
10098 (char *) "self", NULL
10099 };
10100
10101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
10102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10103 {
10104 PyThreadState* __tstate = wxPyBeginAllowThreads();
10105 result = (int)(arg1)->GetVMin();
10106
10107 wxPyEndAllowThreads(__tstate);
10108 if (PyErr_Occurred()) SWIG_fail;
10109 }
994141e6 10110 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10111 return resultobj;
10112 fail:
10113 return NULL;
10114}
10115
10116
10117static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10118 PyObject *resultobj;
10119 wxJoystick *arg1 = (wxJoystick *) 0 ;
10120 int result;
10121 PyObject * obj0 = 0 ;
10122 char *kwnames[] = {
10123 (char *) "self", NULL
10124 };
10125
10126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
10127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10128 {
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 result = (int)(arg1)->GetVMax();
10131
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
994141e6 10135 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10136 return resultobj;
10137 fail:
10138 return NULL;
10139}
10140
10141
10142static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
10143 PyObject *resultobj;
10144 wxJoystick *arg1 = (wxJoystick *) 0 ;
10145 bool result;
10146 PyObject * obj0 = 0 ;
10147 char *kwnames[] = {
10148 (char *) "self", NULL
10149 };
10150
10151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
10152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10153 {
10154 PyThreadState* __tstate = wxPyBeginAllowThreads();
10155 result = (bool)(arg1)->HasRudder();
10156
10157 wxPyEndAllowThreads(__tstate);
10158 if (PyErr_Occurred()) SWIG_fail;
10159 }
4d5c3d91 10160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10161 return resultobj;
10162 fail:
10163 return NULL;
10164}
10165
10166
10167static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
10168 PyObject *resultobj;
10169 wxJoystick *arg1 = (wxJoystick *) 0 ;
10170 bool result;
10171 PyObject * obj0 = 0 ;
10172 char *kwnames[] = {
10173 (char *) "self", NULL
10174 };
10175
10176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
10177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10178 {
10179 PyThreadState* __tstate = wxPyBeginAllowThreads();
10180 result = (bool)(arg1)->HasZ();
10181
10182 wxPyEndAllowThreads(__tstate);
10183 if (PyErr_Occurred()) SWIG_fail;
10184 }
4d5c3d91 10185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10186 return resultobj;
10187 fail:
10188 return NULL;
10189}
10190
10191
10192static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
10193 PyObject *resultobj;
10194 wxJoystick *arg1 = (wxJoystick *) 0 ;
10195 bool result;
10196 PyObject * obj0 = 0 ;
10197 char *kwnames[] = {
10198 (char *) "self", NULL
10199 };
10200
10201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
10202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10203 {
10204 PyThreadState* __tstate = wxPyBeginAllowThreads();
10205 result = (bool)(arg1)->HasU();
10206
10207 wxPyEndAllowThreads(__tstate);
10208 if (PyErr_Occurred()) SWIG_fail;
10209 }
4d5c3d91 10210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10211 return resultobj;
10212 fail:
10213 return NULL;
10214}
10215
10216
10217static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
10218 PyObject *resultobj;
10219 wxJoystick *arg1 = (wxJoystick *) 0 ;
10220 bool result;
10221 PyObject * obj0 = 0 ;
10222 char *kwnames[] = {
10223 (char *) "self", NULL
10224 };
10225
10226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
10227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10228 {
10229 PyThreadState* __tstate = wxPyBeginAllowThreads();
10230 result = (bool)(arg1)->HasV();
10231
10232 wxPyEndAllowThreads(__tstate);
10233 if (PyErr_Occurred()) SWIG_fail;
10234 }
4d5c3d91 10235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10236 return resultobj;
10237 fail:
10238 return NULL;
10239}
10240
10241
10242static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
10243 PyObject *resultobj;
10244 wxJoystick *arg1 = (wxJoystick *) 0 ;
10245 bool result;
10246 PyObject * obj0 = 0 ;
10247 char *kwnames[] = {
10248 (char *) "self", NULL
10249 };
10250
10251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
10252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10253 {
10254 PyThreadState* __tstate = wxPyBeginAllowThreads();
10255 result = (bool)(arg1)->HasPOV();
10256
10257 wxPyEndAllowThreads(__tstate);
10258 if (PyErr_Occurred()) SWIG_fail;
10259 }
4d5c3d91 10260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10261 return resultobj;
10262 fail:
10263 return NULL;
10264}
10265
10266
10267static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
10268 PyObject *resultobj;
10269 wxJoystick *arg1 = (wxJoystick *) 0 ;
10270 bool result;
10271 PyObject * obj0 = 0 ;
10272 char *kwnames[] = {
10273 (char *) "self", NULL
10274 };
10275
10276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
10277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10278 {
10279 PyThreadState* __tstate = wxPyBeginAllowThreads();
10280 result = (bool)(arg1)->HasPOV4Dir();
10281
10282 wxPyEndAllowThreads(__tstate);
10283 if (PyErr_Occurred()) SWIG_fail;
10284 }
4d5c3d91 10285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10286 return resultobj;
10287 fail:
10288 return NULL;
10289}
10290
10291
10292static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
10293 PyObject *resultobj;
10294 wxJoystick *arg1 = (wxJoystick *) 0 ;
10295 bool result;
10296 PyObject * obj0 = 0 ;
10297 char *kwnames[] = {
10298 (char *) "self", NULL
10299 };
10300
10301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
10302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10303 {
10304 PyThreadState* __tstate = wxPyBeginAllowThreads();
10305 result = (bool)(arg1)->HasPOVCTS();
10306
10307 wxPyEndAllowThreads(__tstate);
10308 if (PyErr_Occurred()) SWIG_fail;
10309 }
4d5c3d91 10310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10311 return resultobj;
10312 fail:
10313 return NULL;
10314}
10315
10316
10317static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10318 PyObject *resultobj;
10319 wxJoystick *arg1 = (wxJoystick *) 0 ;
10320 wxWindow *arg2 = (wxWindow *) 0 ;
10321 int arg3 = (int) 0 ;
10322 bool result;
10323 PyObject * obj0 = 0 ;
10324 PyObject * obj1 = 0 ;
994141e6 10325 PyObject * obj2 = 0 ;
d14a1e28
RD
10326 char *kwnames[] = {
10327 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10328 };
10329
994141e6 10330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
10331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10332 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
10333 if (obj2) {
10334 {
10335 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10336 if (PyErr_Occurred()) SWIG_fail;
10337 }
10338 }
d14a1e28
RD
10339 {
10340 PyThreadState* __tstate = wxPyBeginAllowThreads();
10341 result = (bool)(arg1)->SetCapture(arg2,arg3);
10342
10343 wxPyEndAllowThreads(__tstate);
10344 if (PyErr_Occurred()) SWIG_fail;
10345 }
4d5c3d91 10346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10347 return resultobj;
10348 fail:
10349 return NULL;
10350}
10351
10352
10353static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10354 PyObject *resultobj;
10355 wxJoystick *arg1 = (wxJoystick *) 0 ;
10356 bool result;
10357 PyObject * obj0 = 0 ;
10358 char *kwnames[] = {
10359 (char *) "self", NULL
10360 };
10361
10362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
10363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10364 {
10365 PyThreadState* __tstate = wxPyBeginAllowThreads();
10366 result = (bool)(arg1)->ReleaseCapture();
10367
10368 wxPyEndAllowThreads(__tstate);
10369 if (PyErr_Occurred()) SWIG_fail;
10370 }
4d5c3d91 10371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10372 return resultobj;
10373 fail:
10374 return NULL;
10375}
10376
10377
10378static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
10379 PyObject *obj;
10380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10381 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
10382 Py_INCREF(obj);
10383 return Py_BuildValue((char *)"");
10384}
10385static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10386 PyObject *resultobj;
10387 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10388 wxPoint *arg2 = (wxPoint *) 0 ;
10389 PyObject * obj0 = 0 ;
10390 PyObject * obj1 = 0 ;
10391 char *kwnames[] = {
10392 (char *) "self",(char *) "m_pos", NULL
10393 };
10394
10395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
10396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10397 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10398 if (arg1) (arg1)->m_pos = *arg2;
10399
10400 Py_INCREF(Py_None); resultobj = Py_None;
10401 return resultobj;
10402 fail:
10403 return NULL;
10404}
10405
10406
10407static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10408 PyObject *resultobj;
10409 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10410 wxPoint *result;
10411 PyObject * obj0 = 0 ;
10412 char *kwnames[] = {
10413 (char *) "self", NULL
10414 };
10415
10416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
10417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10418 result = (wxPoint *)& ((arg1)->m_pos);
10419
10420 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
10421 return resultobj;
10422 fail:
10423 return NULL;
10424}
10425
10426
10427static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10428 PyObject *resultobj;
10429 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10430 int arg2 ;
10431 PyObject * obj0 = 0 ;
994141e6 10432 PyObject * obj1 = 0 ;
d14a1e28
RD
10433 char *kwnames[] = {
10434 (char *) "self",(char *) "m_zPosition", NULL
10435 };
10436
994141e6 10437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 10438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
10439 {
10440 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10441 if (PyErr_Occurred()) SWIG_fail;
10442 }
d14a1e28
RD
10443 if (arg1) (arg1)->m_zPosition = arg2;
10444
10445 Py_INCREF(Py_None); resultobj = Py_None;
10446 return resultobj;
10447 fail:
10448 return NULL;
10449}
10450
10451
10452static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10453 PyObject *resultobj;
10454 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10455 int result;
10456 PyObject * obj0 = 0 ;
10457 char *kwnames[] = {
10458 (char *) "self", NULL
10459 };
10460
10461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
10462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10463 result = (int) ((arg1)->m_zPosition);
10464
994141e6 10465 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10466 return resultobj;
10467 fail:
10468 return NULL;
10469}
10470
10471
10472static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10473 PyObject *resultobj;
10474 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10475 int arg2 ;
10476 PyObject * obj0 = 0 ;
994141e6 10477 PyObject * obj1 = 0 ;
d14a1e28
RD
10478 char *kwnames[] = {
10479 (char *) "self",(char *) "m_buttonChange", NULL
10480 };
10481
994141e6 10482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 10483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
10484 {
10485 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10486 if (PyErr_Occurred()) SWIG_fail;
10487 }
d14a1e28
RD
10488 if (arg1) (arg1)->m_buttonChange = arg2;
10489
10490 Py_INCREF(Py_None); resultobj = Py_None;
10491 return resultobj;
10492 fail:
10493 return NULL;
10494}
10495
10496
10497static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10498 PyObject *resultobj;
10499 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10500 int result;
10501 PyObject * obj0 = 0 ;
10502 char *kwnames[] = {
10503 (char *) "self", NULL
10504 };
10505
10506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
10507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10508 result = (int) ((arg1)->m_buttonChange);
10509
994141e6 10510 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10511 return resultobj;
10512 fail:
10513 return NULL;
10514}
10515
10516
10517static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10518 PyObject *resultobj;
10519 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10520 int arg2 ;
10521 PyObject * obj0 = 0 ;
994141e6 10522 PyObject * obj1 = 0 ;
d14a1e28
RD
10523 char *kwnames[] = {
10524 (char *) "self",(char *) "m_buttonState", NULL
10525 };
10526
994141e6 10527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 10528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
10529 {
10530 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 }
d14a1e28
RD
10533 if (arg1) (arg1)->m_buttonState = arg2;
10534
10535 Py_INCREF(Py_None); resultobj = Py_None;
10536 return resultobj;
10537 fail:
10538 return NULL;
10539}
10540
10541
10542static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10543 PyObject *resultobj;
10544 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10545 int result;
10546 PyObject * obj0 = 0 ;
10547 char *kwnames[] = {
10548 (char *) "self", NULL
10549 };
10550
10551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
10552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10553 result = (int) ((arg1)->m_buttonState);
10554
994141e6 10555 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10556 return resultobj;
10557 fail:
10558 return NULL;
10559}
10560
10561
10562static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10563 PyObject *resultobj;
10564 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10565 int arg2 ;
10566 PyObject * obj0 = 0 ;
994141e6 10567 PyObject * obj1 = 0 ;
d14a1e28
RD
10568 char *kwnames[] = {
10569 (char *) "self",(char *) "m_joyStick", NULL
10570 };
10571
994141e6 10572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 10573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
10574 {
10575 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10576 if (PyErr_Occurred()) SWIG_fail;
10577 }
d14a1e28
RD
10578 if (arg1) (arg1)->m_joyStick = arg2;
10579
10580 Py_INCREF(Py_None); resultobj = Py_None;
10581 return resultobj;
10582 fail:
10583 return NULL;
10584}
10585
10586
10587static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10588 PyObject *resultobj;
10589 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10590 int result;
10591 PyObject * obj0 = 0 ;
10592 char *kwnames[] = {
10593 (char *) "self", NULL
10594 };
10595
10596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
10597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10598 result = (int) ((arg1)->m_joyStick);
10599
994141e6 10600 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10601 return resultobj;
10602 fail:
10603 return NULL;
10604}
10605
10606
10607static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10608 PyObject *resultobj;
10609 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10610 int arg2 = (int) 0 ;
10611 int arg3 = (int) wxJOYSTICK1 ;
10612 int arg4 = (int) 0 ;
10613 wxJoystickEvent *result;
994141e6
RD
10614 PyObject * obj0 = 0 ;
10615 PyObject * obj1 = 0 ;
10616 PyObject * obj2 = 0 ;
10617 PyObject * obj3 = 0 ;
d14a1e28
RD
10618 char *kwnames[] = {
10619 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10620 };
10621
994141e6
RD
10622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10623 if (obj0) {
10624 {
10625 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
10626 if (PyErr_Occurred()) SWIG_fail;
10627 }
10628 }
10629 if (obj1) {
10630 {
10631 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10632 if (PyErr_Occurred()) SWIG_fail;
10633 }
10634 }
10635 if (obj2) {
10636 {
10637 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10638 if (PyErr_Occurred()) SWIG_fail;
10639 }
10640 }
10641 if (obj3) {
10642 {
10643 arg4 = (int) SWIG_PyObj_AsInt(obj3);
10644 if (PyErr_Occurred()) SWIG_fail;
10645 }
10646 }
d14a1e28
RD
10647 {
10648 PyThreadState* __tstate = wxPyBeginAllowThreads();
10649 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
10650
10651 wxPyEndAllowThreads(__tstate);
10652 if (PyErr_Occurred()) SWIG_fail;
10653 }
10654 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystickEvent, 1);
10655 return resultobj;
10656 fail:
10657 return NULL;
10658}
10659
10660
10661static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10662 PyObject *resultobj;
10663 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10664 wxPoint result;
10665 PyObject * obj0 = 0 ;
10666 char *kwnames[] = {
10667 (char *) "self", NULL
10668 };
10669
10670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
10671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10672 {
10673 PyThreadState* __tstate = wxPyBeginAllowThreads();
10674 result = ((wxJoystickEvent const *)arg1)->GetPosition();
10675
10676 wxPyEndAllowThreads(__tstate);
10677 if (PyErr_Occurred()) SWIG_fail;
10678 }
10679 {
10680 wxPoint * resultptr;
10681 resultptr = new wxPoint((wxPoint &) result);
10682 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
10683 }
10684 return resultobj;
10685 fail:
10686 return NULL;
10687}
10688
10689
10690static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10691 PyObject *resultobj;
10692 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10693 int result;
10694 PyObject * obj0 = 0 ;
10695 char *kwnames[] = {
10696 (char *) "self", NULL
10697 };
10698
10699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
10700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10701 {
10702 PyThreadState* __tstate = wxPyBeginAllowThreads();
10703 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
10704
10705 wxPyEndAllowThreads(__tstate);
10706 if (PyErr_Occurred()) SWIG_fail;
10707 }
994141e6 10708 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10709 return resultobj;
10710 fail:
10711 return NULL;
10712}
10713
10714
10715static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10716 PyObject *resultobj;
10717 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10718 int result;
10719 PyObject * obj0 = 0 ;
10720 char *kwnames[] = {
10721 (char *) "self", NULL
10722 };
10723
10724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
10725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10726 {
10727 PyThreadState* __tstate = wxPyBeginAllowThreads();
10728 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
10729
10730 wxPyEndAllowThreads(__tstate);
10731 if (PyErr_Occurred()) SWIG_fail;
10732 }
994141e6 10733 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10734 return resultobj;
10735 fail:
10736 return NULL;
10737}
10738
10739
10740static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10741 PyObject *resultobj;
10742 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10743 int result;
10744 PyObject * obj0 = 0 ;
10745 char *kwnames[] = {
10746 (char *) "self", NULL
10747 };
10748
10749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
10750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10751 {
10752 PyThreadState* __tstate = wxPyBeginAllowThreads();
10753 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10754
10755 wxPyEndAllowThreads(__tstate);
10756 if (PyErr_Occurred()) SWIG_fail;
10757 }
994141e6 10758 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10759 return resultobj;
10760 fail:
10761 return NULL;
10762}
10763
10764
10765static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10766 PyObject *resultobj;
10767 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10768 int result;
10769 PyObject * obj0 = 0 ;
10770 char *kwnames[] = {
10771 (char *) "self", NULL
10772 };
10773
10774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
10775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10776 {
10777 PyThreadState* __tstate = wxPyBeginAllowThreads();
10778 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
10779
10780 wxPyEndAllowThreads(__tstate);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 }
994141e6 10783 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
10784 return resultobj;
10785 fail:
10786 return NULL;
10787}
10788
10789
10790static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10791 PyObject *resultobj;
10792 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10793 int arg2 ;
10794 PyObject * obj0 = 0 ;
994141e6 10795 PyObject * obj1 = 0 ;
d14a1e28
RD
10796 char *kwnames[] = {
10797 (char *) "self",(char *) "stick", NULL
10798 };
10799
994141e6 10800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 10801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
10802 {
10803 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10804 if (PyErr_Occurred()) SWIG_fail;
10805 }
d14a1e28
RD
10806 {
10807 PyThreadState* __tstate = wxPyBeginAllowThreads();
10808 (arg1)->SetJoystick(arg2);
10809
10810 wxPyEndAllowThreads(__tstate);
10811 if (PyErr_Occurred()) SWIG_fail;
10812 }
10813 Py_INCREF(Py_None); resultobj = Py_None;
10814 return resultobj;
10815 fail:
10816 return NULL;
10817}
10818
10819
10820static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10821 PyObject *resultobj;
10822 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10823 int arg2 ;
10824 PyObject * obj0 = 0 ;
994141e6 10825 PyObject * obj1 = 0 ;
d14a1e28
RD
10826 char *kwnames[] = {
10827 (char *) "self",(char *) "state", NULL
10828 };
10829
994141e6 10830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 10831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
10832 {
10833 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10834 if (PyErr_Occurred()) SWIG_fail;
10835 }
d14a1e28
RD
10836 {
10837 PyThreadState* __tstate = wxPyBeginAllowThreads();
10838 (arg1)->SetButtonState(arg2);
10839
10840 wxPyEndAllowThreads(__tstate);
10841 if (PyErr_Occurred()) SWIG_fail;
10842 }
10843 Py_INCREF(Py_None); resultobj = Py_None;
10844 return resultobj;
10845 fail:
10846 return NULL;
10847}
10848
10849
10850static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10851 PyObject *resultobj;
10852 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10853 int arg2 ;
10854 PyObject * obj0 = 0 ;
994141e6 10855 PyObject * obj1 = 0 ;
d14a1e28
RD
10856 char *kwnames[] = {
10857 (char *) "self",(char *) "change", NULL
10858 };
10859
994141e6 10860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 10861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
10862 {
10863 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10864 if (PyErr_Occurred()) SWIG_fail;
10865 }
d14a1e28
RD
10866 {
10867 PyThreadState* __tstate = wxPyBeginAllowThreads();
10868 (arg1)->SetButtonChange(arg2);
10869
10870 wxPyEndAllowThreads(__tstate);
10871 if (PyErr_Occurred()) SWIG_fail;
10872 }
10873 Py_INCREF(Py_None); resultobj = Py_None;
10874 return resultobj;
10875 fail:
10876 return NULL;
10877}
10878
10879
10880static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10881 PyObject *resultobj;
10882 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10883 wxPoint *arg2 = 0 ;
10884 wxPoint temp2 ;
10885 PyObject * obj0 = 0 ;
10886 PyObject * obj1 = 0 ;
10887 char *kwnames[] = {
10888 (char *) "self",(char *) "pos", NULL
10889 };
10890
10891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10893 {
10894 arg2 = &temp2;
10895 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10896 }
10897 {
10898 PyThreadState* __tstate = wxPyBeginAllowThreads();
10899 (arg1)->SetPosition((wxPoint const &)*arg2);
10900
10901 wxPyEndAllowThreads(__tstate);
10902 if (PyErr_Occurred()) SWIG_fail;
10903 }
10904 Py_INCREF(Py_None); resultobj = Py_None;
10905 return resultobj;
10906 fail:
10907 return NULL;
10908}
10909
10910
10911static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10912 PyObject *resultobj;
10913 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10914 int arg2 ;
10915 PyObject * obj0 = 0 ;
994141e6 10916 PyObject * obj1 = 0 ;
d14a1e28
RD
10917 char *kwnames[] = {
10918 (char *) "self",(char *) "zPos", NULL
10919 };
10920
994141e6 10921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 10922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
10923 {
10924 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10925 if (PyErr_Occurred()) SWIG_fail;
10926 }
d14a1e28
RD
10927 {
10928 PyThreadState* __tstate = wxPyBeginAllowThreads();
10929 (arg1)->SetZPosition(arg2);
10930
10931 wxPyEndAllowThreads(__tstate);
10932 if (PyErr_Occurred()) SWIG_fail;
10933 }
10934 Py_INCREF(Py_None); resultobj = Py_None;
10935 return resultobj;
10936 fail:
10937 return NULL;
10938}
10939
10940
10941static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10942 PyObject *resultobj;
10943 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10944 bool result;
10945 PyObject * obj0 = 0 ;
10946 char *kwnames[] = {
10947 (char *) "self", NULL
10948 };
10949
10950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
10951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10952 {
10953 PyThreadState* __tstate = wxPyBeginAllowThreads();
10954 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
10955
10956 wxPyEndAllowThreads(__tstate);
10957 if (PyErr_Occurred()) SWIG_fail;
10958 }
4d5c3d91 10959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10960 return resultobj;
10961 fail:
10962 return NULL;
10963}
10964
10965
10966static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10967 PyObject *resultobj;
10968 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10969 bool result;
10970 PyObject * obj0 = 0 ;
10971 char *kwnames[] = {
10972 (char *) "self", NULL
10973 };
10974
10975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
10976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10977 {
10978 PyThreadState* __tstate = wxPyBeginAllowThreads();
10979 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
10980
10981 wxPyEndAllowThreads(__tstate);
10982 if (PyErr_Occurred()) SWIG_fail;
10983 }
4d5c3d91 10984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10985 return resultobj;
10986 fail:
10987 return NULL;
10988}
10989
10990
10991static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10992 PyObject *resultobj;
10993 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10994 bool result;
10995 PyObject * obj0 = 0 ;
10996 char *kwnames[] = {
10997 (char *) "self", NULL
10998 };
10999
11000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
11001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11002 {
11003 PyThreadState* __tstate = wxPyBeginAllowThreads();
11004 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
11005
11006 wxPyEndAllowThreads(__tstate);
11007 if (PyErr_Occurred()) SWIG_fail;
11008 }
4d5c3d91 11009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11010 return resultobj;
11011 fail:
11012 return NULL;
11013}
11014
11015
11016static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11017 PyObject *resultobj;
11018 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11019 int arg2 = (int) wxJOY_BUTTON_ANY ;
11020 bool result;
11021 PyObject * obj0 = 0 ;
994141e6 11022 PyObject * obj1 = 0 ;
d14a1e28
RD
11023 char *kwnames[] = {
11024 (char *) "self",(char *) "but", NULL
11025 };
11026
994141e6 11027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 11028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
11029 if (obj1) {
11030 {
11031 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11032 if (PyErr_Occurred()) SWIG_fail;
11033 }
11034 }
d14a1e28
RD
11035 {
11036 PyThreadState* __tstate = wxPyBeginAllowThreads();
11037 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
11038
11039 wxPyEndAllowThreads(__tstate);
11040 if (PyErr_Occurred()) SWIG_fail;
11041 }
4d5c3d91 11042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11043 return resultobj;
11044 fail:
11045 return NULL;
11046}
11047
11048
11049static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11050 PyObject *resultobj;
11051 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11052 int arg2 = (int) wxJOY_BUTTON_ANY ;
11053 bool result;
11054 PyObject * obj0 = 0 ;
994141e6 11055 PyObject * obj1 = 0 ;
d14a1e28
RD
11056 char *kwnames[] = {
11057 (char *) "self",(char *) "but", NULL
11058 };
11059
994141e6 11060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 11061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
11062 if (obj1) {
11063 {
11064 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11065 if (PyErr_Occurred()) SWIG_fail;
11066 }
11067 }
d14a1e28
RD
11068 {
11069 PyThreadState* __tstate = wxPyBeginAllowThreads();
11070 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
11071
11072 wxPyEndAllowThreads(__tstate);
11073 if (PyErr_Occurred()) SWIG_fail;
11074 }
4d5c3d91 11075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11076 return resultobj;
11077 fail:
11078 return NULL;
11079}
11080
11081
11082static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11083 PyObject *resultobj;
11084 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11085 int arg2 = (int) wxJOY_BUTTON_ANY ;
11086 bool result;
11087 PyObject * obj0 = 0 ;
994141e6 11088 PyObject * obj1 = 0 ;
d14a1e28
RD
11089 char *kwnames[] = {
11090 (char *) "self",(char *) "but", NULL
11091 };
11092
994141e6 11093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 11094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
11095 if (obj1) {
11096 {
11097 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11098 if (PyErr_Occurred()) SWIG_fail;
11099 }
11100 }
d14a1e28
RD
11101 {
11102 PyThreadState* __tstate = wxPyBeginAllowThreads();
11103 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
11104
11105 wxPyEndAllowThreads(__tstate);
11106 if (PyErr_Occurred()) SWIG_fail;
11107 }
4d5c3d91 11108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11109 return resultobj;
11110 fail:
11111 return NULL;
11112}
11113
11114
11115static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
11116 PyObject *obj;
11117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11118 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
11119 Py_INCREF(obj);
11120 return Py_BuildValue((char *)"");
11121}
4d5c3d91
RD
11122static PyObject *_wrap_new_Sound__SWIG_0(PyObject *self, PyObject *args) {
11123 PyObject *resultobj;
11124 wxSound *result;
11125
11126 if(!PyArg_ParseTuple(args,(char *)":new_Sound")) goto fail;
11127 {
11128 PyThreadState* __tstate = wxPyBeginAllowThreads();
11129 result = (wxSound *)new wxSound();
11130
11131 wxPyEndAllowThreads(__tstate);
11132 if (PyErr_Occurred()) SWIG_fail;
11133 }
11134 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSound, 1);
11135 return resultobj;
11136 fail:
11137 return NULL;
11138}
11139
11140
11141static PyObject *_wrap_new_Sound__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28
RD
11142 PyObject *resultobj;
11143 wxString *arg1 = 0 ;
4d5c3d91
RD
11144 bool arg2 = (bool) false ;
11145 wxSound *result;
e811c8ce 11146 bool temp1 = False ;
d14a1e28
RD
11147 PyObject * obj0 = 0 ;
11148 PyObject * obj1 = 0 ;
d14a1e28 11149
4d5c3d91 11150 if(!PyArg_ParseTuple(args,(char *)"O|O:new_Sound",&obj0,&obj1)) goto fail;
d14a1e28
RD
11151 {
11152 arg1 = wxString_in_helper(obj0);
11153 if (arg1 == NULL) SWIG_fail;
e811c8ce 11154 temp1 = True;
d14a1e28
RD
11155 }
11156 if (obj1) {
a41e16b6 11157 {
994141e6 11158 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
11159 if (PyErr_Occurred()) SWIG_fail;
11160 }
d14a1e28
RD
11161 }
11162 {
11163 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 11164 result = (wxSound *)new wxSound((wxString const &)*arg1,arg2);
d14a1e28
RD
11165
11166 wxPyEndAllowThreads(__tstate);
11167 if (PyErr_Occurred()) SWIG_fail;
11168 }
4d5c3d91 11169 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSound, 1);
d14a1e28
RD
11170 {
11171 if (temp1)
11172 delete arg1;
11173 }
11174 return resultobj;
11175 fail:
11176 {
11177 if (temp1)
11178 delete arg1;
11179 }
11180 return NULL;
11181}
11182
11183
4d5c3d91 11184static PyObject *_wrap_new_Sound__SWIG_2(PyObject *self, PyObject *args) {
d14a1e28 11185 PyObject *resultobj;
4d5c3d91
RD
11186 int arg1 ;
11187 wxByte *arg2 = (wxByte *) 0 ;
11188 wxSound *result;
d14a1e28 11189 PyObject * obj0 = 0 ;
4d5c3d91 11190 PyObject * obj1 = 0 ;
d14a1e28 11191
4d5c3d91 11192 if(!PyArg_ParseTuple(args,(char *)"OO:new_Sound",&obj0,&obj1)) goto fail;
d14a1e28 11193 {
4d5c3d91
RD
11194 arg1 = (int) SWIG_PyObj_AsInt(obj0);
11195 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11196 }
4d5c3d91 11197 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxByte,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
11198 {
11199 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 11200 result = (wxSound *)new wxSound(arg1,(wxByte const *)arg2);
d14a1e28
RD
11201
11202 wxPyEndAllowThreads(__tstate);
11203 if (PyErr_Occurred()) SWIG_fail;
11204 }
4d5c3d91 11205 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSound, 1);
d14a1e28
RD
11206 return resultobj;
11207 fail:
4d5c3d91
RD
11208 return NULL;
11209}
11210
11211
11212static PyObject *_wrap_new_Sound(PyObject *self, PyObject *args) {
11213 int argc;
11214 PyObject *argv[3];
11215 int ii;
11216
11217 argc = PyObject_Length(args);
11218 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
11219 argv[ii] = PyTuple_GetItem(args,ii);
d14a1e28 11220 }
4d5c3d91
RD
11221 if (argc == 0) {
11222 return _wrap_new_Sound__SWIG_0(self,args);
11223 }
11224 if ((argc >= 1) && (argc <= 2)) {
11225 int _v;
11226 {
11227 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
11228 }
11229 if (_v) {
11230 if (argc <= 1) {
11231 return _wrap_new_Sound__SWIG_1(self,args);
11232 }
11233 {
11234 SWIG_PyObj_AsBool(argv[1]);
11235 if (PyErr_Occurred()) {
11236 _v = 0;
11237 PyErr_Clear();
11238 } else {
11239 _v = 1;
11240 }
11241 }
11242 if (_v) {
11243 return _wrap_new_Sound__SWIG_1(self,args);
11244 }
11245 }
11246 }
11247 if (argc == 2) {
11248 int _v;
11249 {
11250 SWIG_PyObj_AsInt(argv[0]);
11251 if (PyErr_Occurred()) {
11252 _v = 0;
11253 PyErr_Clear();
11254 } else {
11255 _v = 1;
11256 }
11257 }
11258 if (_v) {
11259 {
11260 void *ptr;
11261 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
11262 _v = 0;
11263 PyErr_Clear();
11264 } else {
11265 _v = 1;
11266 }
11267 }
11268 if (_v) {
11269 return _wrap_new_Sound__SWIG_2(self,args);
11270 }
11271 }
11272 }
11273
11274 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Sound'");
d14a1e28
RD
11275 return NULL;
11276}
11277
11278
4d5c3d91 11279static PyObject *_wrap_delete_Sound(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 11280 PyObject *resultobj;
4d5c3d91 11281 wxSound *arg1 = (wxSound *) 0 ;
d14a1e28
RD
11282 PyObject * obj0 = 0 ;
11283 char *kwnames[] = {
11284 (char *) "self", NULL
11285 };
11286
4d5c3d91
RD
11287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
11288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSound,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
11289 {
11290 PyThreadState* __tstate = wxPyBeginAllowThreads();
11291 delete arg1;
11292
11293 wxPyEndAllowThreads(__tstate);
11294 if (PyErr_Occurred()) SWIG_fail;
11295 }
11296 Py_INCREF(Py_None); resultobj = Py_None;
11297 return resultobj;
11298 fail:
11299 return NULL;
11300}
11301
11302
4d5c3d91 11303static PyObject *_wrap_Sound_Create__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28 11304 PyObject *resultobj;
4d5c3d91
RD
11305 wxSound *arg1 = (wxSound *) 0 ;
11306 wxString *arg2 = 0 ;
11307 bool arg3 = (bool) false ;
d14a1e28 11308 bool result;
4d5c3d91 11309 bool temp2 = False ;
d14a1e28 11310 PyObject * obj0 = 0 ;
4d5c3d91
RD
11311 PyObject * obj1 = 0 ;
11312 PyObject * obj2 = 0 ;
d14a1e28 11313
4d5c3d91
RD
11314 if(!PyArg_ParseTuple(args,(char *)"OO|O:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
11315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSound,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11316 {
11317 arg2 = wxString_in_helper(obj1);
11318 if (arg2 == NULL) SWIG_fail;
11319 temp2 = True;
11320 }
11321 if (obj2) {
11322 {
11323 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11324 if (PyErr_Occurred()) SWIG_fail;
11325 }
11326 }
d14a1e28
RD
11327 {
11328 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 11329 result = (bool)(arg1)->Create((wxString const &)*arg2,arg3);
d14a1e28
RD
11330
11331 wxPyEndAllowThreads(__tstate);
11332 if (PyErr_Occurred()) SWIG_fail;
11333 }
4d5c3d91
RD
11334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11335 {
11336 if (temp2)
11337 delete arg2;
11338 }
d14a1e28
RD
11339 return resultobj;
11340 fail:
4d5c3d91
RD
11341 {
11342 if (temp2)
11343 delete arg2;
11344 }
d14a1e28
RD
11345 return NULL;
11346}
11347
11348
4d5c3d91 11349static PyObject *_wrap_Sound_Create__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28 11350 PyObject *resultobj;
4d5c3d91
RD
11351 wxSound *arg1 = (wxSound *) 0 ;
11352 int arg2 ;
11353 wxByte *arg3 = (wxByte *) 0 ;
d14a1e28
RD
11354 bool result;
11355 PyObject * obj0 = 0 ;
11356 PyObject * obj1 = 0 ;
11357 PyObject * obj2 = 0 ;
4d5c3d91
RD
11358
11359 if(!PyArg_ParseTuple(args,(char *)"OOO:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
11360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSound,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11361 {
11362 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11363 if (PyErr_Occurred()) SWIG_fail;
11364 }
11365 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxByte,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11366 {
11367 PyThreadState* __tstate = wxPyBeginAllowThreads();
11368 result = (bool)(arg1)->Create(arg2,(wxByte const *)arg3);
11369
11370 wxPyEndAllowThreads(__tstate);
11371 if (PyErr_Occurred()) SWIG_fail;
11372 }
11373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11374 return resultobj;
11375 fail:
11376 return NULL;
11377}
11378
11379
11380static PyObject *_wrap_Sound_Create(PyObject *self, PyObject *args) {
11381 int argc;
11382 PyObject *argv[4];
11383 int ii;
11384
11385 argc = PyObject_Length(args);
11386 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
11387 argv[ii] = PyTuple_GetItem(args,ii);
11388 }
11389 if ((argc >= 2) && (argc <= 3)) {
11390 int _v;
11391 {
11392 void *ptr;
11393 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
11394 _v = 0;
11395 PyErr_Clear();
11396 } else {
11397 _v = 1;
11398 }
11399 }
11400 if (_v) {
11401 {
11402 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
11403 }
11404 if (_v) {
11405 if (argc <= 2) {
11406 return _wrap_Sound_Create__SWIG_0(self,args);
11407 }
11408 {
11409 SWIG_PyObj_AsBool(argv[2]);
11410 if (PyErr_Occurred()) {
11411 _v = 0;
11412 PyErr_Clear();
11413 } else {
11414 _v = 1;
11415 }
11416 }
11417 if (_v) {
11418 return _wrap_Sound_Create__SWIG_0(self,args);
11419 }
11420 }
11421 }
11422 }
11423 if (argc == 3) {
11424 int _v;
11425 {
11426 void *ptr;
11427 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
11428 _v = 0;
11429 PyErr_Clear();
11430 } else {
11431 _v = 1;
11432 }
11433 }
11434 if (_v) {
11435 {
11436 SWIG_PyObj_AsInt(argv[1]);
11437 if (PyErr_Occurred()) {
11438 _v = 0;
11439 PyErr_Clear();
11440 } else {
11441 _v = 1;
11442 }
11443 }
11444 if (_v) {
11445 {
11446 void *ptr;
11447 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
11448 _v = 0;
11449 PyErr_Clear();
11450 } else {
11451 _v = 1;
11452 }
11453 }
11454 if (_v) {
11455 return _wrap_Sound_Create__SWIG_1(self,args);
11456 }
11457 }
11458 }
11459 }
11460
11461 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Sound_Create'");
11462 return NULL;
11463}
11464
11465
11466static PyObject *_wrap_Sound_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
11467 PyObject *resultobj;
11468 wxSound *arg1 = (wxSound *) 0 ;
11469 bool result;
11470 PyObject * obj0 = 0 ;
d14a1e28 11471 char *kwnames[] = {
4d5c3d91 11472 (char *) "self", NULL
d14a1e28
RD
11473 };
11474
4d5c3d91
RD
11475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
11476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSound,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11477 {
11478 PyThreadState* __tstate = wxPyBeginAllowThreads();
11479 result = (bool)(arg1)->IsOk();
11480
11481 wxPyEndAllowThreads(__tstate);
11482 if (PyErr_Occurred()) SWIG_fail;
11483 }
11484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11485 return resultobj;
11486 fail:
11487 return NULL;
11488}
11489
11490
11491static PyObject *_wrap_Sound_Play(PyObject *self, PyObject *args) {
11492 PyObject *resultobj;
11493 wxSound *arg1 = (wxSound *) 0 ;
11494 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11495 bool result;
11496 PyObject * obj0 = 0 ;
11497 PyObject * obj1 = 0 ;
11498
11499 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_Play",&obj0,&obj1)) goto fail;
11500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSound,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28 11501 if (obj1) {
a41e16b6 11502 {
4d5c3d91 11503 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
a41e16b6
RD
11504 if (PyErr_Occurred()) SWIG_fail;
11505 }
d14a1e28 11506 }
4d5c3d91
RD
11507 {
11508 PyThreadState* __tstate = wxPyBeginAllowThreads();
11509 result = (bool)((wxSound const *)arg1)->Play(arg2);
11510
11511 wxPyEndAllowThreads(__tstate);
11512 if (PyErr_Occurred()) SWIG_fail;
11513 }
11514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11515 return resultobj;
11516 fail:
11517 return NULL;
11518}
11519
11520
11521static PyObject *_wrap_Sound_PlaySound(PyObject *self, PyObject *args) {
11522 PyObject *resultobj;
11523 wxString *arg1 = 0 ;
11524 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11525 bool result;
11526 bool temp1 = False ;
11527 PyObject * obj0 = 0 ;
11528 PyObject * obj1 = 0 ;
11529
11530 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_PlaySound",&obj0,&obj1)) goto fail;
11531 {
11532 arg1 = wxString_in_helper(obj0);
11533 if (arg1 == NULL) SWIG_fail;
11534 temp1 = True;
11535 }
11536 if (obj1) {
a41e16b6 11537 {
4d5c3d91 11538 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
a41e16b6
RD
11539 if (PyErr_Occurred()) SWIG_fail;
11540 }
d14a1e28
RD
11541 }
11542 {
11543 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 11544 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
d14a1e28
RD
11545
11546 wxPyEndAllowThreads(__tstate);
11547 if (PyErr_Occurred()) SWIG_fail;
11548 }
4d5c3d91
RD
11549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11550 {
11551 if (temp1)
11552 delete arg1;
11553 }
d14a1e28
RD
11554 return resultobj;
11555 fail:
4d5c3d91
RD
11556 {
11557 if (temp1)
11558 delete arg1;
11559 }
d14a1e28
RD
11560 return NULL;
11561}
11562
11563
4d5c3d91
RD
11564static PyObject *_wrap_Sound_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
11565 PyObject *resultobj;
11566 char *kwnames[] = {
11567 NULL
11568 };
11569
11570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
11571 {
11572 PyThreadState* __tstate = wxPyBeginAllowThreads();
11573 wxSound::Stop();
11574
11575 wxPyEndAllowThreads(__tstate);
11576 if (PyErr_Occurred()) SWIG_fail;
11577 }
11578 Py_INCREF(Py_None); resultobj = Py_None;
11579 return resultobj;
11580 fail:
11581 return NULL;
11582}
11583
11584
11585static PyObject * Sound_swigregister(PyObject *self, PyObject *args) {
d14a1e28
RD
11586 PyObject *obj;
11587 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4d5c3d91 11588 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
d14a1e28
RD
11589 Py_INCREF(obj);
11590 return Py_BuildValue((char *)"");
11591}
11592static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11593 PyObject *resultobj;
11594 wxString *arg1 = 0 ;
11595 wxString *arg2 = 0 ;
11596 wxString *arg3 = 0 ;
11597 wxString *arg4 = 0 ;
11598 wxFileTypeInfo *result;
e811c8ce
RD
11599 bool temp1 = False ;
11600 bool temp2 = False ;
11601 bool temp3 = False ;
11602 bool temp4 = False ;
d14a1e28
RD
11603 PyObject * obj0 = 0 ;
11604 PyObject * obj1 = 0 ;
11605 PyObject * obj2 = 0 ;
11606 PyObject * obj3 = 0 ;
11607 char *kwnames[] = {
11608 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11609 };
11610
11611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11612 {
11613 arg1 = wxString_in_helper(obj0);
11614 if (arg1 == NULL) SWIG_fail;
e811c8ce 11615 temp1 = True;
d14a1e28
RD
11616 }
11617 {
11618 arg2 = wxString_in_helper(obj1);
11619 if (arg2 == NULL) SWIG_fail;
e811c8ce 11620 temp2 = True;
d14a1e28
RD
11621 }
11622 {
11623 arg3 = wxString_in_helper(obj2);
11624 if (arg3 == NULL) SWIG_fail;
e811c8ce 11625 temp3 = True;
d14a1e28
RD
11626 }
11627 {
11628 arg4 = wxString_in_helper(obj3);
11629 if (arg4 == NULL) SWIG_fail;
e811c8ce 11630 temp4 = True;
d14a1e28
RD
11631 }
11632 {
11633 PyThreadState* __tstate = wxPyBeginAllowThreads();
11634 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11635
11636 wxPyEndAllowThreads(__tstate);
11637 if (PyErr_Occurred()) SWIG_fail;
11638 }
11639 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
11640 {
11641 if (temp1)
11642 delete arg1;
11643 }
11644 {
11645 if (temp2)
11646 delete arg2;
11647 }
11648 {
11649 if (temp3)
11650 delete arg3;
11651 }
11652 {
11653 if (temp4)
11654 delete arg4;
11655 }
11656 return resultobj;
11657 fail:
11658 {
11659 if (temp1)
11660 delete arg1;
11661 }
11662 {
11663 if (temp2)
11664 delete arg2;
11665 }
11666 {
11667 if (temp3)
11668 delete arg3;
11669 }
11670 {
11671 if (temp4)
11672 delete arg4;
11673 }
11674 return NULL;
11675}
11676
11677
11678static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
11679 PyObject *resultobj;
11680 wxArrayString *arg1 = 0 ;
11681 wxFileTypeInfo *result;
3adfb63b 11682 bool temp1 = False ;
d14a1e28
RD
11683 PyObject * obj0 = 0 ;
11684 char *kwnames[] = {
11685 (char *) "sArray", NULL
11686 };
11687
11688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
11689 {
11690 if (! PySequence_Check(obj0)) {
11691 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11692 SWIG_fail;
11693 }
11694 arg1 = new wxArrayString;
3adfb63b 11695 temp1 = True;
d14a1e28
RD
11696 int i, len=PySequence_Length(obj0);
11697 for (i=0; i<len; i++) {
11698 PyObject* item = PySequence_GetItem(obj0, i);
11699#if wxUSE_UNICODE
11700 PyObject* str = PyObject_Unicode(item);
11701#else
11702 PyObject* str = PyObject_Str(item);
11703#endif
11704 arg1->Add(Py2wxString(str));
11705 Py_DECREF(item);
11706 Py_DECREF(str);
11707 }
11708 }
11709 {
11710 PyThreadState* __tstate = wxPyBeginAllowThreads();
11711 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
11712
11713 wxPyEndAllowThreads(__tstate);
11714 if (PyErr_Occurred()) SWIG_fail;
11715 }
11716 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
11717 {
3adfb63b 11718 if (temp1) delete arg1;
d14a1e28
RD
11719 }
11720 return resultobj;
11721 fail:
11722 {
3adfb63b 11723 if (temp1) delete arg1;
d14a1e28
RD
11724 }
11725 return NULL;
11726}
11727
11728
11729static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11730 PyObject *resultobj;
11731 wxFileTypeInfo *result;
11732 char *kwnames[] = {
11733 NULL
11734 };
11735
11736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
11737 {
11738 PyThreadState* __tstate = wxPyBeginAllowThreads();
11739 result = (wxFileTypeInfo *)new wxFileTypeInfo();
11740
11741 wxPyEndAllowThreads(__tstate);
11742 if (PyErr_Occurred()) SWIG_fail;
11743 }
11744 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
11745 return resultobj;
11746 fail:
11747 return NULL;
11748}
11749
11750
11751static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
11752 PyObject *resultobj;
11753 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11754 bool result;
11755 PyObject * obj0 = 0 ;
11756 char *kwnames[] = {
11757 (char *) "self", NULL
11758 };
11759
11760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
11761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11762 {
11763 PyThreadState* __tstate = wxPyBeginAllowThreads();
11764 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
11765
11766 wxPyEndAllowThreads(__tstate);
11767 if (PyErr_Occurred()) SWIG_fail;
11768 }
4d5c3d91 11769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11770 return resultobj;
11771 fail:
11772 return NULL;
11773}
11774
11775
11776static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11777 PyObject *resultobj;
11778 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11779 wxString *arg2 = 0 ;
11780 int arg3 = (int) 0 ;
e811c8ce 11781 bool temp2 = False ;
d14a1e28
RD
11782 PyObject * obj0 = 0 ;
11783 PyObject * obj1 = 0 ;
994141e6 11784 PyObject * obj2 = 0 ;
d14a1e28
RD
11785 char *kwnames[] = {
11786 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11787 };
11788
994141e6 11789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
11790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11791 {
11792 arg2 = wxString_in_helper(obj1);
11793 if (arg2 == NULL) SWIG_fail;
e811c8ce 11794 temp2 = True;
d14a1e28 11795 }
994141e6
RD
11796 if (obj2) {
11797 {
11798 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11799 if (PyErr_Occurred()) SWIG_fail;
11800 }
11801 }
d14a1e28
RD
11802 {
11803 PyThreadState* __tstate = wxPyBeginAllowThreads();
11804 (arg1)->SetIcon((wxString const &)*arg2,arg3);
11805
11806 wxPyEndAllowThreads(__tstate);
11807 if (PyErr_Occurred()) SWIG_fail;
11808 }
11809 Py_INCREF(Py_None); resultobj = Py_None;
11810 {
11811 if (temp2)
11812 delete arg2;
11813 }
11814 return resultobj;
11815 fail:
11816 {
11817 if (temp2)
11818 delete arg2;
11819 }
11820 return NULL;
11821}
11822
11823
11824static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
11825 PyObject *resultobj;
11826 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11827 wxString *arg2 = 0 ;
e811c8ce 11828 bool temp2 = False ;
d14a1e28
RD
11829 PyObject * obj0 = 0 ;
11830 PyObject * obj1 = 0 ;
11831 char *kwnames[] = {
11832 (char *) "self",(char *) "shortDesc", NULL
11833 };
11834
11835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
11836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11837 {
11838 arg2 = wxString_in_helper(obj1);
11839 if (arg2 == NULL) SWIG_fail;
e811c8ce 11840 temp2 = True;
d14a1e28
RD
11841 }
11842 {
11843 PyThreadState* __tstate = wxPyBeginAllowThreads();
11844 (arg1)->SetShortDesc((wxString const &)*arg2);
11845
11846 wxPyEndAllowThreads(__tstate);
11847 if (PyErr_Occurred()) SWIG_fail;
11848 }
11849 Py_INCREF(Py_None); resultobj = Py_None;
11850 {
11851 if (temp2)
11852 delete arg2;
11853 }
11854 return resultobj;
11855 fail:
11856 {
11857 if (temp2)
11858 delete arg2;
11859 }
11860 return NULL;
11861}
11862
11863
11864static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11865 PyObject *resultobj;
11866 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11867 wxString *result;
11868 PyObject * obj0 = 0 ;
11869 char *kwnames[] = {
11870 (char *) "self", NULL
11871 };
11872
11873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
11874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11875 {
11876 PyThreadState* __tstate = wxPyBeginAllowThreads();
11877 {
11878 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
11879 result = (wxString *) &_result_ref;
11880 }
11881
11882 wxPyEndAllowThreads(__tstate);
11883 if (PyErr_Occurred()) SWIG_fail;
11884 }
cc6dd355
RD
11885 {
11886#if wxUSE_UNICODE
11887 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11888#else
11889 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11890#endif
11891 }
d14a1e28
RD
11892 return resultobj;
11893 fail:
11894 return NULL;
11895}
11896
11897
11898static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11899 PyObject *resultobj;
11900 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11901 wxString *result;
11902 PyObject * obj0 = 0 ;
11903 char *kwnames[] = {
11904 (char *) "self", NULL
11905 };
11906
11907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
11908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11909 {
11910 PyThreadState* __tstate = wxPyBeginAllowThreads();
11911 {
11912 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
11913 result = (wxString *) &_result_ref;
11914 }
11915
11916 wxPyEndAllowThreads(__tstate);
11917 if (PyErr_Occurred()) SWIG_fail;
11918 }
cc6dd355
RD
11919 {
11920#if wxUSE_UNICODE
11921 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11922#else
11923 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11924#endif
11925 }
d14a1e28
RD
11926 return resultobj;
11927 fail:
11928 return NULL;
11929}
11930
11931
11932static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11933 PyObject *resultobj;
11934 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11935 wxString *result;
11936 PyObject * obj0 = 0 ;
11937 char *kwnames[] = {
11938 (char *) "self", NULL
11939 };
11940
11941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
11942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11943 {
11944 PyThreadState* __tstate = wxPyBeginAllowThreads();
11945 {
11946 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
11947 result = (wxString *) &_result_ref;
11948 }
11949
11950 wxPyEndAllowThreads(__tstate);
11951 if (PyErr_Occurred()) SWIG_fail;
11952 }
cc6dd355
RD
11953 {
11954#if wxUSE_UNICODE
11955 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11956#else
11957 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11958#endif
11959 }
d14a1e28
RD
11960 return resultobj;
11961 fail:
11962 return NULL;
11963}
11964
11965
11966static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
11967 PyObject *resultobj;
11968 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11969 wxString *result;
11970 PyObject * obj0 = 0 ;
11971 char *kwnames[] = {
11972 (char *) "self", NULL
11973 };
11974
11975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
11976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11977 {
11978 PyThreadState* __tstate = wxPyBeginAllowThreads();
11979 {
11980 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
11981 result = (wxString *) &_result_ref;
11982 }
11983
11984 wxPyEndAllowThreads(__tstate);
11985 if (PyErr_Occurred()) SWIG_fail;
11986 }
cc6dd355
RD
11987 {
11988#if wxUSE_UNICODE
11989 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11990#else
11991 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11992#endif
11993 }
d14a1e28
RD
11994 return resultobj;
11995 fail:
11996 return NULL;
11997}
11998
11999
12000static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12001 PyObject *resultobj;
12002 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12003 wxString *result;
12004 PyObject * obj0 = 0 ;
12005 char *kwnames[] = {
12006 (char *) "self", NULL
12007 };
12008
12009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
12010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12011 {
12012 PyThreadState* __tstate = wxPyBeginAllowThreads();
12013 {
12014 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
12015 result = (wxString *) &_result_ref;
12016 }
12017
12018 wxPyEndAllowThreads(__tstate);
12019 if (PyErr_Occurred()) SWIG_fail;
12020 }
cc6dd355
RD
12021 {
12022#if wxUSE_UNICODE
12023 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12024#else
12025 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12026#endif
12027 }
d14a1e28
RD
12028 return resultobj;
12029 fail:
12030 return NULL;
12031}
12032
12033
12034static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12035 PyObject *resultobj;
12036 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12037 wxArrayString *result;
12038 PyObject * obj0 = 0 ;
12039 char *kwnames[] = {
12040 (char *) "self", NULL
12041 };
12042
12043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
12044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12045 {
12046 PyThreadState* __tstate = wxPyBeginAllowThreads();
12047 {
12048 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
12049 result = (wxArrayString *) &_result_ref;
12050 }
12051
12052 wxPyEndAllowThreads(__tstate);
12053 if (PyErr_Occurred()) SWIG_fail;
12054 }
12055 {
12056 resultobj = wxArrayString2PyList_helper(*result);
12057 }
12058 return resultobj;
12059 fail:
12060 return NULL;
12061}
12062
12063
12064static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12065 PyObject *resultobj;
12066 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12067 int result;
12068 PyObject * obj0 = 0 ;
12069 char *kwnames[] = {
12070 (char *) "self", NULL
12071 };
12072
12073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
12074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12075 {
12076 PyThreadState* __tstate = wxPyBeginAllowThreads();
12077 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
12078
12079 wxPyEndAllowThreads(__tstate);
12080 if (PyErr_Occurred()) SWIG_fail;
12081 }
994141e6 12082 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
12083 return resultobj;
12084 fail:
12085 return NULL;
12086}
12087
12088
12089static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12090 PyObject *resultobj;
12091 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12092 wxString *result;
12093 PyObject * obj0 = 0 ;
12094 char *kwnames[] = {
12095 (char *) "self", NULL
12096 };
12097
12098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
12099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12100 {
12101 PyThreadState* __tstate = wxPyBeginAllowThreads();
12102 {
12103 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
12104 result = (wxString *) &_result_ref;
12105 }
12106
12107 wxPyEndAllowThreads(__tstate);
12108 if (PyErr_Occurred()) SWIG_fail;
12109 }
cc6dd355
RD
12110 {
12111#if wxUSE_UNICODE
12112 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12113#else
12114 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12115#endif
12116 }
d14a1e28
RD
12117 return resultobj;
12118 fail:
12119 return NULL;
12120}
12121
12122
12123static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12124 PyObject *resultobj;
12125 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12126 int result;
12127 PyObject * obj0 = 0 ;
12128 char *kwnames[] = {
12129 (char *) "self", NULL
12130 };
12131
12132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
12133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12134 {
12135 PyThreadState* __tstate = wxPyBeginAllowThreads();
12136 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
12137
12138 wxPyEndAllowThreads(__tstate);
12139 if (PyErr_Occurred()) SWIG_fail;
12140 }
994141e6 12141 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
12142 return resultobj;
12143 fail:
12144 return NULL;
12145}
12146
12147
12148static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
12149 PyObject *obj;
12150 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12151 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
12152 Py_INCREF(obj);
12153 return Py_BuildValue((char *)"");
12154}
12155static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12156 PyObject *resultobj;
12157 wxFileTypeInfo *arg1 = 0 ;
12158 wxFileType *result;
12159 PyObject * obj0 = 0 ;
12160 char *kwnames[] = {
12161 (char *) "ftInfo", NULL
12162 };
12163
12164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
12165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12166 if (arg1 == NULL) {
12167 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12168 }
12169 {
12170 PyThreadState* __tstate = wxPyBeginAllowThreads();
12171 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
12172
12173 wxPyEndAllowThreads(__tstate);
12174 if (PyErr_Occurred()) SWIG_fail;
12175 }
12176 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12177 return resultobj;
12178 fail:
12179 return NULL;
12180}
12181
12182
12183static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12184 PyObject *resultobj;
12185 wxFileType *arg1 = (wxFileType *) 0 ;
12186 PyObject * obj0 = 0 ;
12187 char *kwnames[] = {
12188 (char *) "self", NULL
12189 };
12190
12191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
12192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12193 {
12194 PyThreadState* __tstate = wxPyBeginAllowThreads();
12195 delete arg1;
12196
12197 wxPyEndAllowThreads(__tstate);
12198 if (PyErr_Occurred()) SWIG_fail;
12199 }
12200 Py_INCREF(Py_None); resultobj = Py_None;
12201 return resultobj;
12202 fail:
12203 return NULL;
12204}
12205
12206
12207static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12208 PyObject *resultobj;
12209 wxFileType *arg1 = (wxFileType *) 0 ;
12210 PyObject *result;
12211 PyObject * obj0 = 0 ;
12212 char *kwnames[] = {
12213 (char *) "self", NULL
12214 };
12215
12216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
12217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12218 {
12219 PyThreadState* __tstate = wxPyBeginAllowThreads();
12220 result = (PyObject *)wxFileType_GetMimeType(arg1);
12221
12222 wxPyEndAllowThreads(__tstate);
12223 if (PyErr_Occurred()) SWIG_fail;
12224 }
12225 resultobj = result;
12226 return resultobj;
12227 fail:
12228 return NULL;
12229}
12230
12231
12232static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12233 PyObject *resultobj;
12234 wxFileType *arg1 = (wxFileType *) 0 ;
12235 PyObject *result;
12236 PyObject * obj0 = 0 ;
12237 char *kwnames[] = {
12238 (char *) "self", NULL
12239 };
12240
12241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
12242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12243 {
12244 PyThreadState* __tstate = wxPyBeginAllowThreads();
12245 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
12246
12247 wxPyEndAllowThreads(__tstate);
12248 if (PyErr_Occurred()) SWIG_fail;
12249 }
12250 resultobj = result;
12251 return resultobj;
12252 fail:
12253 return NULL;
12254}
12255
12256
12257static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12258 PyObject *resultobj;
12259 wxFileType *arg1 = (wxFileType *) 0 ;
12260 PyObject *result;
12261 PyObject * obj0 = 0 ;
12262 char *kwnames[] = {
12263 (char *) "self", NULL
12264 };
12265
12266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
12267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12268 {
12269 PyThreadState* __tstate = wxPyBeginAllowThreads();
12270 result = (PyObject *)wxFileType_GetExtensions(arg1);
12271
12272 wxPyEndAllowThreads(__tstate);
12273 if (PyErr_Occurred()) SWIG_fail;
12274 }
12275 resultobj = result;
12276 return resultobj;
12277 fail:
12278 return NULL;
12279}
12280
12281
12282static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12283 PyObject *resultobj;
12284 wxFileType *arg1 = (wxFileType *) 0 ;
12285 wxIcon *result;
12286 PyObject * obj0 = 0 ;
12287 char *kwnames[] = {
12288 (char *) "self", NULL
12289 };
12290
12291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
12292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12293 {
12294 PyThreadState* __tstate = wxPyBeginAllowThreads();
12295 result = (wxIcon *)wxFileType_GetIcon(arg1);
12296
12297 wxPyEndAllowThreads(__tstate);
12298 if (PyErr_Occurred()) SWIG_fail;
12299 }
12300 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIcon, 1);
12301 return resultobj;
12302 fail:
12303 return NULL;
12304}
12305
12306
12307static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12308 PyObject *resultobj;
12309 wxFileType *arg1 = (wxFileType *) 0 ;
12310 PyObject *result;
12311 PyObject * obj0 = 0 ;
12312 char *kwnames[] = {
12313 (char *) "self", NULL
12314 };
12315
12316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
12317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12318 {
12319 PyThreadState* __tstate = wxPyBeginAllowThreads();
12320 result = (PyObject *)wxFileType_GetIconInfo(arg1);
12321
12322 wxPyEndAllowThreads(__tstate);
12323 if (PyErr_Occurred()) SWIG_fail;
12324 }
12325 resultobj = result;
12326 return resultobj;
12327 fail:
12328 return NULL;
12329}
12330
12331
12332static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12333 PyObject *resultobj;
12334 wxFileType *arg1 = (wxFileType *) 0 ;
12335 PyObject *result;
12336 PyObject * obj0 = 0 ;
12337 char *kwnames[] = {
12338 (char *) "self", NULL
12339 };
12340
12341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
12342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12343 {
12344 PyThreadState* __tstate = wxPyBeginAllowThreads();
12345 result = (PyObject *)wxFileType_GetDescription(arg1);
12346
12347 wxPyEndAllowThreads(__tstate);
12348 if (PyErr_Occurred()) SWIG_fail;
12349 }
12350 resultobj = result;
12351 return resultobj;
12352 fail:
12353 return NULL;
12354}
12355
12356
12357static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12358 PyObject *resultobj;
12359 wxFileType *arg1 = (wxFileType *) 0 ;
12360 wxString *arg2 = 0 ;
12361 wxString const &arg3_defvalue = wxPyEmptyString ;
12362 wxString *arg3 = (wxString *) &arg3_defvalue ;
12363 PyObject *result;
e811c8ce
RD
12364 bool temp2 = False ;
12365 bool temp3 = False ;
d14a1e28
RD
12366 PyObject * obj0 = 0 ;
12367 PyObject * obj1 = 0 ;
12368 PyObject * obj2 = 0 ;
12369 char *kwnames[] = {
12370 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12371 };
12372
12373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12375 {
12376 arg2 = wxString_in_helper(obj1);
12377 if (arg2 == NULL) SWIG_fail;
e811c8ce 12378 temp2 = True;
d14a1e28
RD
12379 }
12380 if (obj2) {
12381 {
12382 arg3 = wxString_in_helper(obj2);
12383 if (arg3 == NULL) SWIG_fail;
e811c8ce 12384 temp3 = True;
d14a1e28
RD
12385 }
12386 }
12387 {
12388 PyThreadState* __tstate = wxPyBeginAllowThreads();
12389 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12390
12391 wxPyEndAllowThreads(__tstate);
12392 if (PyErr_Occurred()) SWIG_fail;
12393 }
12394 resultobj = result;
12395 {
12396 if (temp2)
12397 delete arg2;
12398 }
12399 {
12400 if (temp3)
12401 delete arg3;
12402 }
12403 return resultobj;
12404 fail:
12405 {
12406 if (temp2)
12407 delete arg2;
12408 }
12409 {
12410 if (temp3)
12411 delete arg3;
12412 }
12413 return NULL;
12414}
12415
12416
12417static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12418 PyObject *resultobj;
12419 wxFileType *arg1 = (wxFileType *) 0 ;
12420 wxString *arg2 = 0 ;
12421 wxString const &arg3_defvalue = wxPyEmptyString ;
12422 wxString *arg3 = (wxString *) &arg3_defvalue ;
12423 PyObject *result;
e811c8ce
RD
12424 bool temp2 = False ;
12425 bool temp3 = False ;
d14a1e28
RD
12426 PyObject * obj0 = 0 ;
12427 PyObject * obj1 = 0 ;
12428 PyObject * obj2 = 0 ;
12429 char *kwnames[] = {
12430 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12431 };
12432
12433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12435 {
12436 arg2 = wxString_in_helper(obj1);
12437 if (arg2 == NULL) SWIG_fail;
e811c8ce 12438 temp2 = True;
d14a1e28
RD
12439 }
12440 if (obj2) {
12441 {
12442 arg3 = wxString_in_helper(obj2);
12443 if (arg3 == NULL) SWIG_fail;
e811c8ce 12444 temp3 = True;
d14a1e28
RD
12445 }
12446 }
12447 {
12448 PyThreadState* __tstate = wxPyBeginAllowThreads();
12449 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12450
12451 wxPyEndAllowThreads(__tstate);
12452 if (PyErr_Occurred()) SWIG_fail;
12453 }
12454 resultobj = result;
12455 {
12456 if (temp2)
12457 delete arg2;
12458 }
12459 {
12460 if (temp3)
12461 delete arg3;
12462 }
12463 return resultobj;
12464 fail:
12465 {
12466 if (temp2)
12467 delete arg2;
12468 }
12469 {
12470 if (temp3)
12471 delete arg3;
12472 }
12473 return NULL;
12474}
12475
12476
12477static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
12478 PyObject *resultobj;
12479 wxFileType *arg1 = (wxFileType *) 0 ;
12480 wxString *arg2 = 0 ;
12481 wxString const &arg3_defvalue = wxPyEmptyString ;
12482 wxString *arg3 = (wxString *) &arg3_defvalue ;
12483 PyObject *result;
e811c8ce
RD
12484 bool temp2 = False ;
12485 bool temp3 = False ;
d14a1e28
RD
12486 PyObject * obj0 = 0 ;
12487 PyObject * obj1 = 0 ;
12488 PyObject * obj2 = 0 ;
12489 char *kwnames[] = {
12490 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12491 };
12492
12493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
12494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12495 {
12496 arg2 = wxString_in_helper(obj1);
12497 if (arg2 == NULL) SWIG_fail;
e811c8ce 12498 temp2 = True;
d14a1e28
RD
12499 }
12500 if (obj2) {
12501 {
12502 arg3 = wxString_in_helper(obj2);
12503 if (arg3 == NULL) SWIG_fail;
e811c8ce 12504 temp3 = True;
d14a1e28
RD
12505 }
12506 }
12507 {
12508 PyThreadState* __tstate = wxPyBeginAllowThreads();
12509 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12510
12511 wxPyEndAllowThreads(__tstate);
12512 if (PyErr_Occurred()) SWIG_fail;
12513 }
12514 resultobj = result;
12515 {
12516 if (temp2)
12517 delete arg2;
12518 }
12519 {
12520 if (temp3)
12521 delete arg3;
12522 }
12523 return resultobj;
12524 fail:
12525 {
12526 if (temp2)
12527 delete arg2;
12528 }
12529 {
12530 if (temp3)
12531 delete arg3;
12532 }
12533 return NULL;
12534}
12535
12536
12537static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12538 PyObject *resultobj;
12539 wxFileType *arg1 = (wxFileType *) 0 ;
12540 wxString *arg2 = 0 ;
12541 wxString *arg3 = 0 ;
e811c8ce 12542 bool arg4 = (bool) True ;
d14a1e28 12543 bool result;
e811c8ce
RD
12544 bool temp2 = False ;
12545 bool temp3 = False ;
d14a1e28
RD
12546 PyObject * obj0 = 0 ;
12547 PyObject * obj1 = 0 ;
12548 PyObject * obj2 = 0 ;
12549 PyObject * obj3 = 0 ;
12550 char *kwnames[] = {
12551 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12552 };
12553
12554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12556 {
12557 arg2 = wxString_in_helper(obj1);
12558 if (arg2 == NULL) SWIG_fail;
e811c8ce 12559 temp2 = True;
d14a1e28
RD
12560 }
12561 {
12562 arg3 = wxString_in_helper(obj2);
12563 if (arg3 == NULL) SWIG_fail;
e811c8ce 12564 temp3 = True;
d14a1e28
RD
12565 }
12566 if (obj3) {
a41e16b6 12567 {
994141e6 12568 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
a41e16b6
RD
12569 if (PyErr_Occurred()) SWIG_fail;
12570 }
d14a1e28
RD
12571 }
12572 {
12573 PyThreadState* __tstate = wxPyBeginAllowThreads();
12574 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12575
12576 wxPyEndAllowThreads(__tstate);
12577 if (PyErr_Occurred()) SWIG_fail;
12578 }
4d5c3d91 12579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12580 {
12581 if (temp2)
12582 delete arg2;
12583 }
12584 {
12585 if (temp3)
12586 delete arg3;
12587 }
12588 return resultobj;
12589 fail:
12590 {
12591 if (temp2)
12592 delete arg2;
12593 }
12594 {
12595 if (temp3)
12596 delete arg3;
12597 }
12598 return NULL;
12599}
12600
12601
12602static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12603 PyObject *resultobj;
12604 wxFileType *arg1 = (wxFileType *) 0 ;
12605 wxString const &arg2_defvalue = wxPyEmptyString ;
12606 wxString *arg2 = (wxString *) &arg2_defvalue ;
12607 int arg3 = (int) 0 ;
12608 bool result;
e811c8ce 12609 bool temp2 = False ;
d14a1e28
RD
12610 PyObject * obj0 = 0 ;
12611 PyObject * obj1 = 0 ;
994141e6 12612 PyObject * obj2 = 0 ;
d14a1e28
RD
12613 char *kwnames[] = {
12614 (char *) "self",(char *) "cmd",(char *) "index", NULL
12615 };
12616
994141e6 12617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
12618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12619 if (obj1) {
12620 {
12621 arg2 = wxString_in_helper(obj1);
12622 if (arg2 == NULL) SWIG_fail;
e811c8ce 12623 temp2 = True;
d14a1e28
RD
12624 }
12625 }
994141e6
RD
12626 if (obj2) {
12627 {
12628 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12629 if (PyErr_Occurred()) SWIG_fail;
12630 }
12631 }
d14a1e28
RD
12632 {
12633 PyThreadState* __tstate = wxPyBeginAllowThreads();
12634 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
12635
12636 wxPyEndAllowThreads(__tstate);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 }
4d5c3d91 12639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12640 {
12641 if (temp2)
12642 delete arg2;
12643 }
12644 return resultobj;
12645 fail:
12646 {
12647 if (temp2)
12648 delete arg2;
12649 }
12650 return NULL;
12651}
12652
12653
12654static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12655 PyObject *resultobj;
12656 wxFileType *arg1 = (wxFileType *) 0 ;
12657 bool result;
12658 PyObject * obj0 = 0 ;
12659 char *kwnames[] = {
12660 (char *) "self", NULL
12661 };
12662
12663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
12664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 result = (bool)(arg1)->Unassociate();
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
4d5c3d91 12672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12673 return resultobj;
12674 fail:
12675 return NULL;
12676}
12677
12678
12679static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12680 PyObject *resultobj;
12681 wxString *arg1 = 0 ;
12682 wxString *arg2 = 0 ;
12683 wxString const &arg3_defvalue = wxPyEmptyString ;
12684 wxString *arg3 = (wxString *) &arg3_defvalue ;
12685 wxString result;
e811c8ce
RD
12686 bool temp1 = False ;
12687 bool temp2 = False ;
12688 bool temp3 = False ;
d14a1e28
RD
12689 PyObject * obj0 = 0 ;
12690 PyObject * obj1 = 0 ;
12691 PyObject * obj2 = 0 ;
12692 char *kwnames[] = {
12693 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12694 };
12695
12696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12697 {
12698 arg1 = wxString_in_helper(obj0);
12699 if (arg1 == NULL) SWIG_fail;
e811c8ce 12700 temp1 = True;
d14a1e28
RD
12701 }
12702 {
12703 arg2 = wxString_in_helper(obj1);
12704 if (arg2 == NULL) SWIG_fail;
e811c8ce 12705 temp2 = True;
d14a1e28
RD
12706 }
12707 if (obj2) {
12708 {
12709 arg3 = wxString_in_helper(obj2);
12710 if (arg3 == NULL) SWIG_fail;
e811c8ce 12711 temp3 = True;
d14a1e28
RD
12712 }
12713 }
12714 {
12715 PyThreadState* __tstate = wxPyBeginAllowThreads();
12716 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12717
12718 wxPyEndAllowThreads(__tstate);
12719 if (PyErr_Occurred()) SWIG_fail;
12720 }
12721 {
12722#if wxUSE_UNICODE
12723 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12724#else
12725 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12726#endif
12727 }
12728 {
12729 if (temp1)
12730 delete arg1;
12731 }
12732 {
12733 if (temp2)
12734 delete arg2;
12735 }
12736 {
12737 if (temp3)
12738 delete arg3;
12739 }
12740 return resultobj;
12741 fail:
12742 {
12743 if (temp1)
12744 delete arg1;
12745 }
12746 {
12747 if (temp2)
12748 delete arg2;
12749 }
12750 {
12751 if (temp3)
12752 delete arg3;
12753 }
12754 return NULL;
12755}
12756
12757
12758static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
12759 PyObject *obj;
12760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12761 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
12762 Py_INCREF(obj);
12763 return Py_BuildValue((char *)"");
12764}
12765static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
12766 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
12767 return 1;
12768}
12769
12770
12771static PyObject *_wrap_TheMimeTypesManager_get() {
12772 PyObject *pyobj;
12773
12774 pyobj = SWIG_NewPointerObj((void *) wxTheMimeTypesManager, SWIGTYPE_p_wxMimeTypesManager, 0);
12775 return pyobj;
12776}
12777
12778
12779static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
12780 PyObject *resultobj;
12781 wxString *arg1 = 0 ;
12782 wxString *arg2 = 0 ;
12783 bool result;
e811c8ce
RD
12784 bool temp1 = False ;
12785 bool temp2 = False ;
d14a1e28
RD
12786 PyObject * obj0 = 0 ;
12787 PyObject * obj1 = 0 ;
12788 char *kwnames[] = {
12789 (char *) "mimeType",(char *) "wildcard", NULL
12790 };
12791
12792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
12793 {
12794 arg1 = wxString_in_helper(obj0);
12795 if (arg1 == NULL) SWIG_fail;
e811c8ce 12796 temp1 = True;
d14a1e28
RD
12797 }
12798 {
12799 arg2 = wxString_in_helper(obj1);
12800 if (arg2 == NULL) SWIG_fail;
e811c8ce 12801 temp2 = True;
d14a1e28
RD
12802 }
12803 {
12804 PyThreadState* __tstate = wxPyBeginAllowThreads();
12805 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
12806
12807 wxPyEndAllowThreads(__tstate);
12808 if (PyErr_Occurred()) SWIG_fail;
12809 }
4d5c3d91 12810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12811 {
12812 if (temp1)
12813 delete arg1;
12814 }
12815 {
12816 if (temp2)
12817 delete arg2;
12818 }
12819 return resultobj;
12820 fail:
12821 {
12822 if (temp1)
12823 delete arg1;
12824 }
12825 {
12826 if (temp2)
12827 delete arg2;
12828 }
12829 return NULL;
12830}
12831
12832
12833static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
12834 PyObject *resultobj;
12835 wxMimeTypesManager *result;
12836 char *kwnames[] = {
12837 NULL
12838 };
12839
12840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
12841 {
12842 PyThreadState* __tstate = wxPyBeginAllowThreads();
12843 result = (wxMimeTypesManager *)new wxMimeTypesManager();
12844
12845 wxPyEndAllowThreads(__tstate);
12846 if (PyErr_Occurred()) SWIG_fail;
12847 }
12848 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMimeTypesManager, 1);
12849 return resultobj;
12850 fail:
12851 return NULL;
12852}
12853
12854
12855static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
12856 PyObject *resultobj;
12857 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12858 int arg2 = (int) wxMAILCAP_ALL ;
12859 wxString const &arg3_defvalue = wxPyEmptyString ;
12860 wxString *arg3 = (wxString *) &arg3_defvalue ;
e811c8ce 12861 bool temp3 = False ;
d14a1e28 12862 PyObject * obj0 = 0 ;
994141e6 12863 PyObject * obj1 = 0 ;
d14a1e28
RD
12864 PyObject * obj2 = 0 ;
12865 char *kwnames[] = {
12866 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
12867 };
12868
994141e6 12869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 12870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
12871 if (obj1) {
12872 {
12873 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12874 if (PyErr_Occurred()) SWIG_fail;
12875 }
12876 }
d14a1e28
RD
12877 if (obj2) {
12878 {
12879 arg3 = wxString_in_helper(obj2);
12880 if (arg3 == NULL) SWIG_fail;
e811c8ce 12881 temp3 = True;
d14a1e28
RD
12882 }
12883 }
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 (arg1)->Initialize(arg2,(wxString const &)*arg3);
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 Py_INCREF(Py_None); resultobj = Py_None;
12892 {
12893 if (temp3)
12894 delete arg3;
12895 }
12896 return resultobj;
12897 fail:
12898 {
12899 if (temp3)
12900 delete arg3;
12901 }
12902 return NULL;
12903}
12904
12905
12906static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
12907 PyObject *resultobj;
12908 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12909 PyObject * obj0 = 0 ;
12910 char *kwnames[] = {
12911 (char *) "self", NULL
12912 };
12913
12914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
12915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12916 {
12917 PyThreadState* __tstate = wxPyBeginAllowThreads();
12918 (arg1)->ClearData();
12919
12920 wxPyEndAllowThreads(__tstate);
12921 if (PyErr_Occurred()) SWIG_fail;
12922 }
12923 Py_INCREF(Py_None); resultobj = Py_None;
12924 return resultobj;
12925 fail:
12926 return NULL;
12927}
12928
12929
12930static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
12931 PyObject *resultobj;
12932 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12933 wxString *arg2 = 0 ;
12934 wxFileType *result;
e811c8ce 12935 bool temp2 = False ;
d14a1e28
RD
12936 PyObject * obj0 = 0 ;
12937 PyObject * obj1 = 0 ;
12938 char *kwnames[] = {
12939 (char *) "self",(char *) "ext", NULL
12940 };
12941
12942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
12943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12944 {
12945 arg2 = wxString_in_helper(obj1);
12946 if (arg2 == NULL) SWIG_fail;
e811c8ce 12947 temp2 = True;
d14a1e28
RD
12948 }
12949 {
12950 PyThreadState* __tstate = wxPyBeginAllowThreads();
12951 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
12952
12953 wxPyEndAllowThreads(__tstate);
12954 if (PyErr_Occurred()) SWIG_fail;
12955 }
12956 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12957 {
12958 if (temp2)
12959 delete arg2;
12960 }
12961 return resultobj;
12962 fail:
12963 {
12964 if (temp2)
12965 delete arg2;
12966 }
12967 return NULL;
12968}
12969
12970
12971static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12972 PyObject *resultobj;
12973 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12974 wxString *arg2 = 0 ;
12975 wxFileType *result;
e811c8ce 12976 bool temp2 = False ;
d14a1e28
RD
12977 PyObject * obj0 = 0 ;
12978 PyObject * obj1 = 0 ;
12979 char *kwnames[] = {
12980 (char *) "self",(char *) "mimeType", NULL
12981 };
12982
12983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
12984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12985 {
12986 arg2 = wxString_in_helper(obj1);
12987 if (arg2 == NULL) SWIG_fail;
e811c8ce 12988 temp2 = True;
d14a1e28
RD
12989 }
12990 {
12991 PyThreadState* __tstate = wxPyBeginAllowThreads();
12992 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
12993
12994 wxPyEndAllowThreads(__tstate);
12995 if (PyErr_Occurred()) SWIG_fail;
12996 }
12997 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12998 {
12999 if (temp2)
13000 delete arg2;
13001 }
13002 return resultobj;
13003 fail:
13004 {
13005 if (temp2)
13006 delete arg2;
13007 }
13008 return NULL;
13009}
13010
13011
13012static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
13013 PyObject *resultobj;
13014 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13015 wxString *arg2 = 0 ;
e811c8ce 13016 bool arg3 = (bool) False ;
d14a1e28 13017 bool result;
e811c8ce 13018 bool temp2 = False ;
d14a1e28
RD
13019 PyObject * obj0 = 0 ;
13020 PyObject * obj1 = 0 ;
13021 PyObject * obj2 = 0 ;
13022 char *kwnames[] = {
13023 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13024 };
13025
13026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13028 {
13029 arg2 = wxString_in_helper(obj1);
13030 if (arg2 == NULL) SWIG_fail;
e811c8ce 13031 temp2 = True;
d14a1e28
RD
13032 }
13033 if (obj2) {
a41e16b6 13034 {
994141e6 13035 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
a41e16b6
RD
13036 if (PyErr_Occurred()) SWIG_fail;
13037 }
d14a1e28
RD
13038 }
13039 {
13040 PyThreadState* __tstate = wxPyBeginAllowThreads();
13041 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
13042
13043 wxPyEndAllowThreads(__tstate);
13044 if (PyErr_Occurred()) SWIG_fail;
13045 }
4d5c3d91 13046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13047 {
13048 if (temp2)
13049 delete arg2;
13050 }
13051 return resultobj;
13052 fail:
13053 {
13054 if (temp2)
13055 delete arg2;
13056 }
13057 return NULL;
13058}
13059
13060
13061static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13062 PyObject *resultobj;
13063 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13064 wxString *arg2 = 0 ;
13065 bool result;
e811c8ce 13066 bool temp2 = False ;
d14a1e28
RD
13067 PyObject * obj0 = 0 ;
13068 PyObject * obj1 = 0 ;
13069 char *kwnames[] = {
13070 (char *) "self",(char *) "filename", NULL
13071 };
13072
13073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
13074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13075 {
13076 arg2 = wxString_in_helper(obj1);
13077 if (arg2 == NULL) SWIG_fail;
e811c8ce 13078 temp2 = True;
d14a1e28
RD
13079 }
13080 {
13081 PyThreadState* __tstate = wxPyBeginAllowThreads();
13082 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
13083
13084 wxPyEndAllowThreads(__tstate);
13085 if (PyErr_Occurred()) SWIG_fail;
13086 }
4d5c3d91 13087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13088 {
13089 if (temp2)
13090 delete arg2;
13091 }
13092 return resultobj;
13093 fail:
13094 {
13095 if (temp2)
13096 delete arg2;
13097 }
13098 return NULL;
13099}
13100
13101
13102static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13103 PyObject *resultobj;
13104 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13105 PyObject *result;
13106 PyObject * obj0 = 0 ;
13107 char *kwnames[] = {
13108 (char *) "self", NULL
13109 };
13110
13111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
13112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13113 {
13114 PyThreadState* __tstate = wxPyBeginAllowThreads();
13115 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
13116
13117 wxPyEndAllowThreads(__tstate);
13118 if (PyErr_Occurred()) SWIG_fail;
13119 }
13120 resultobj = result;
13121 return resultobj;
13122 fail:
13123 return NULL;
13124}
13125
13126
13127static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
13128 PyObject *resultobj;
13129 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13130 wxFileTypeInfo *arg2 = 0 ;
13131 PyObject * obj0 = 0 ;
13132 PyObject * obj1 = 0 ;
13133 char *kwnames[] = {
13134 (char *) "self",(char *) "ft", NULL
13135 };
13136
13137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
13138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13139 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13140 if (arg2 == NULL) {
13141 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13142 }
13143 {
13144 PyThreadState* __tstate = wxPyBeginAllowThreads();
13145 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
13146
13147 wxPyEndAllowThreads(__tstate);
13148 if (PyErr_Occurred()) SWIG_fail;
13149 }
13150 Py_INCREF(Py_None); resultobj = Py_None;
13151 return resultobj;
13152 fail:
13153 return NULL;
13154}
13155
13156
13157static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
13158 PyObject *resultobj;
13159 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13160 wxFileTypeInfo *arg2 = 0 ;
13161 wxFileType *result;
13162 PyObject * obj0 = 0 ;
13163 PyObject * obj1 = 0 ;
13164 char *kwnames[] = {
13165 (char *) "self",(char *) "ftInfo", NULL
13166 };
13167
13168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
13169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13170 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13171 if (arg2 == NULL) {
13172 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13173 }
13174 {
13175 PyThreadState* __tstate = wxPyBeginAllowThreads();
13176 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
13177
13178 wxPyEndAllowThreads(__tstate);
13179 if (PyErr_Occurred()) SWIG_fail;
13180 }
13181 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
13182 return resultobj;
13183 fail:
13184 return NULL;
13185}
13186
13187
13188static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
13189 PyObject *resultobj;
13190 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13191 wxFileType *arg2 = (wxFileType *) 0 ;
13192 bool result;
13193 PyObject * obj0 = 0 ;
13194 PyObject * obj1 = 0 ;
13195 char *kwnames[] = {
13196 (char *) "self",(char *) "ft", NULL
13197 };
13198
13199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
13200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13201 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13202 {
13203 PyThreadState* __tstate = wxPyBeginAllowThreads();
13204 result = (bool)(arg1)->Unassociate(arg2);
13205
13206 wxPyEndAllowThreads(__tstate);
13207 if (PyErr_Occurred()) SWIG_fail;
13208 }
4d5c3d91 13209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13210 return resultobj;
13211 fail:
13212 return NULL;
13213}
13214
13215
13216static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13217 PyObject *resultobj;
13218 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13219 PyObject * obj0 = 0 ;
13220 char *kwnames[] = {
13221 (char *) "self", NULL
13222 };
13223
13224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
13225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13226 {
13227 PyThreadState* __tstate = wxPyBeginAllowThreads();
13228 delete arg1;
13229
13230 wxPyEndAllowThreads(__tstate);
13231 if (PyErr_Occurred()) SWIG_fail;
13232 }
13233 Py_INCREF(Py_None); resultobj = Py_None;
13234 return resultobj;
13235 fail:
13236 return NULL;
13237}
13238
13239
13240static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
13241 PyObject *obj;
13242 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13243 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
13244 Py_INCREF(obj);
13245 return Py_BuildValue((char *)"");
13246}
13247static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
13248 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
13249 return 1;
13250}
13251
13252
13253static PyObject *_wrap_ART_TOOLBAR_get() {
13254 PyObject *pyobj;
13255
13256 {
13257#if wxUSE_UNICODE
13258 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13259#else
13260 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13261#endif
13262 }
13263 return pyobj;
13264}
13265
13266
13267static int _wrap_ART_MENU_set(PyObject *_val) {
13268 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
13269 return 1;
13270}
13271
13272
13273static PyObject *_wrap_ART_MENU_get() {
13274 PyObject *pyobj;
13275
13276 {
13277#if wxUSE_UNICODE
13278 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13279#else
13280 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13281#endif
13282 }
13283 return pyobj;
13284}
13285
13286
13287static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
13288 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
13289 return 1;
13290}
13291
13292
13293static PyObject *_wrap_ART_FRAME_ICON_get() {
13294 PyObject *pyobj;
13295
13296 {
13297#if wxUSE_UNICODE
13298 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13299#else
13300 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13301#endif
13302 }
13303 return pyobj;
13304}
13305
13306
13307static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
13308 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
13309 return 1;
13310}
13311
13312
13313static PyObject *_wrap_ART_CMN_DIALOG_get() {
13314 PyObject *pyobj;
13315
13316 {
13317#if wxUSE_UNICODE
13318 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13319#else
13320 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13321#endif
13322 }
13323 return pyobj;
13324}
13325
13326
13327static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
13328 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
13329 return 1;
13330}
13331
13332
13333static PyObject *_wrap_ART_HELP_BROWSER_get() {
13334 PyObject *pyobj;
13335
13336 {
13337#if wxUSE_UNICODE
13338 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13339#else
13340 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13341#endif
13342 }
13343 return pyobj;
13344}
13345
13346
13347static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
13348 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
13349 return 1;
13350}
13351
13352
13353static PyObject *_wrap_ART_MESSAGE_BOX_get() {
13354 PyObject *pyobj;
13355
13356 {
13357#if wxUSE_UNICODE
13358 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13359#else
13360 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13361#endif
13362 }
13363 return pyobj;
13364}
13365
13366
13367static int _wrap_ART_OTHER_set(PyObject *_val) {
13368 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
13369 return 1;
13370}
13371
13372
13373static PyObject *_wrap_ART_OTHER_get() {
13374 PyObject *pyobj;
13375
13376 {
13377#if wxUSE_UNICODE
13378 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13379#else
13380 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13381#endif
13382 }
13383 return pyobj;
13384}
13385
13386
13387static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
13388 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
13389 return 1;
13390}
13391
13392
13393static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
13394 PyObject *pyobj;
13395
13396 {
13397#if wxUSE_UNICODE
13398 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13399#else
13400 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13401#endif
13402 }
13403 return pyobj;
13404}
13405
13406
13407static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
13408 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
13409 return 1;
13410}
13411
13412
13413static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
13414 PyObject *pyobj;
13415
13416 {
13417#if wxUSE_UNICODE
13418 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13419#else
13420 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13421#endif
13422 }
13423 return pyobj;
13424}
13425
13426
13427static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
13428 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
13429 return 1;
13430}
13431
13432
13433static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
13434 PyObject *pyobj;
13435
13436 {
13437#if wxUSE_UNICODE
13438 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13439#else
13440 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13441#endif
13442 }
13443 return pyobj;
13444}
13445
13446
13447static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
13448 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
13449 return 1;
13450}
13451
13452
13453static PyObject *_wrap_ART_HELP_SETTINGS_get() {
13454 PyObject *pyobj;
13455
13456 {
13457#if wxUSE_UNICODE
13458 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13459#else
13460 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13461#endif
13462 }
13463 return pyobj;
13464}
13465
13466
13467static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
13468 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
13469 return 1;
13470}
13471
13472
13473static PyObject *_wrap_ART_HELP_BOOK_get() {
13474 PyObject *pyobj;
13475
13476 {
13477#if wxUSE_UNICODE
13478 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13479#else
13480 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13481#endif
13482 }
13483 return pyobj;
13484}
13485
13486
13487static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
13488 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
13489 return 1;
13490}
13491
13492
13493static PyObject *_wrap_ART_HELP_FOLDER_get() {
13494 PyObject *pyobj;
13495
13496 {
13497#if wxUSE_UNICODE
13498 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13499#else
13500 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13501#endif
13502 }
13503 return pyobj;
13504}
13505
13506
13507static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
13508 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
13509 return 1;
13510}
13511
13512
13513static PyObject *_wrap_ART_HELP_PAGE_get() {
13514 PyObject *pyobj;
13515
13516 {
13517#if wxUSE_UNICODE
13518 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13519#else
13520 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13521#endif
13522 }
13523 return pyobj;
13524}
13525
13526
13527static int _wrap_ART_GO_BACK_set(PyObject *_val) {
13528 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
13529 return 1;
13530}
13531
13532
13533static PyObject *_wrap_ART_GO_BACK_get() {
13534 PyObject *pyobj;
13535
13536 {
13537#if wxUSE_UNICODE
13538 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13539#else
13540 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13541#endif
13542 }
13543 return pyobj;
13544}
13545
13546
13547static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
13548 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
13549 return 1;
13550}
13551
13552
13553static PyObject *_wrap_ART_GO_FORWARD_get() {
13554 PyObject *pyobj;
13555
13556 {
13557#if wxUSE_UNICODE
13558 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13559#else
13560 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13561#endif
13562 }
13563 return pyobj;
13564}
13565
13566
13567static int _wrap_ART_GO_UP_set(PyObject *_val) {
13568 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
13569 return 1;
13570}
13571
13572
13573static PyObject *_wrap_ART_GO_UP_get() {
13574 PyObject *pyobj;
13575
13576 {
13577#if wxUSE_UNICODE
13578 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13579#else
13580 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13581#endif
13582 }
13583 return pyobj;
13584}
13585
13586
13587static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
13588 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
13589 return 1;
13590}
13591
13592
13593static PyObject *_wrap_ART_GO_DOWN_get() {
13594 PyObject *pyobj;
13595
13596 {
13597#if wxUSE_UNICODE
13598 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13599#else
13600 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13601#endif
13602 }
13603 return pyobj;
13604}
13605
13606
13607static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
13608 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
13609 return 1;
13610}
13611
13612
13613static PyObject *_wrap_ART_GO_TO_PARENT_get() {
13614 PyObject *pyobj;
13615
13616 {
13617#if wxUSE_UNICODE
13618 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13619#else
13620 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13621#endif
13622 }
13623 return pyobj;
13624}
13625
13626
13627static int _wrap_ART_GO_HOME_set(PyObject *_val) {
13628 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
13629 return 1;
13630}
13631
13632
13633static PyObject *_wrap_ART_GO_HOME_get() {
13634 PyObject *pyobj;
13635
13636 {
13637#if wxUSE_UNICODE
13638 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13639#else
13640 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13641#endif
13642 }
13643 return pyobj;
13644}
13645
13646
13647static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
13648 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
13649 return 1;
13650}
13651
13652
13653static PyObject *_wrap_ART_FILE_OPEN_get() {
13654 PyObject *pyobj;
13655
13656 {
13657#if wxUSE_UNICODE
13658 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13659#else
13660 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13661#endif
13662 }
13663 return pyobj;
13664}
13665
13666
13667static int _wrap_ART_PRINT_set(PyObject *_val) {
13668 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
13669 return 1;
13670}
13671
13672
13673static PyObject *_wrap_ART_PRINT_get() {
13674 PyObject *pyobj;
13675
13676 {
13677#if wxUSE_UNICODE
13678 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13679#else
13680 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13681#endif
13682 }
13683 return pyobj;
13684}
13685
13686
13687static int _wrap_ART_HELP_set(PyObject *_val) {
13688 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
13689 return 1;
13690}
13691
13692
13693static PyObject *_wrap_ART_HELP_get() {
13694 PyObject *pyobj;
13695
13696 {
13697#if wxUSE_UNICODE
13698 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13699#else
13700 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13701#endif
13702 }
13703 return pyobj;
13704}
13705
13706
13707static int _wrap_ART_TIP_set(PyObject *_val) {
13708 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
13709 return 1;
13710}
13711
13712
13713static PyObject *_wrap_ART_TIP_get() {
13714 PyObject *pyobj;
13715
13716 {
13717#if wxUSE_UNICODE
13718 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13719#else
13720 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13721#endif
13722 }
13723 return pyobj;
13724}
13725
13726
13727static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
13728 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
13729 return 1;
13730}
13731
13732
13733static PyObject *_wrap_ART_REPORT_VIEW_get() {
13734 PyObject *pyobj;
13735
13736 {
13737#if wxUSE_UNICODE
13738 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
13739#else
13740 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
13741#endif
13742 }
13743 return pyobj;
13744}
13745
13746
13747static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
13748 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
13749 return 1;
13750}
13751
13752
13753static PyObject *_wrap_ART_LIST_VIEW_get() {
13754 PyObject *pyobj;
13755
13756 {
13757#if wxUSE_UNICODE
13758 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
13759#else
13760 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
13761#endif
13762 }
13763 return pyobj;
13764}
13765
13766
13767static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
13768 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
13769 return 1;
13770}
13771
13772
13773static PyObject *_wrap_ART_NEW_DIR_get() {
13774 PyObject *pyobj;
13775
13776 {
13777#if wxUSE_UNICODE
13778 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
13779#else
13780 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
13781#endif
13782 }
13783 return pyobj;
13784}
13785
13786
13787static int _wrap_ART_FOLDER_set(PyObject *_val) {
13788 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
13789 return 1;
13790}
13791
13792
13793static PyObject *_wrap_ART_FOLDER_get() {
13794 PyObject *pyobj;
13795
13796 {
13797#if wxUSE_UNICODE
13798 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
13799#else
13800 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
13801#endif
13802 }
13803 return pyobj;
13804}
13805
13806
13807static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
13808 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
13809 return 1;
13810}
13811
13812
13813static PyObject *_wrap_ART_GO_DIR_UP_get() {
13814 PyObject *pyobj;
13815
13816 {
13817#if wxUSE_UNICODE
13818 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
13819#else
13820 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
13821#endif
13822 }
13823 return pyobj;
13824}
13825
13826
13827static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
13828 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
13829 return 1;
13830}
13831
13832
13833static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
13834 PyObject *pyobj;
13835
13836 {
13837#if wxUSE_UNICODE
13838 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
13839#else
13840 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
13841#endif
13842 }
13843 return pyobj;
13844}
13845
13846
13847static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
13848 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
13849 return 1;
13850}
13851
13852
13853static PyObject *_wrap_ART_NORMAL_FILE_get() {
13854 PyObject *pyobj;
13855
13856 {
13857#if wxUSE_UNICODE
13858 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
13859#else
13860 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
13861#endif
13862 }
13863 return pyobj;
13864}
13865
13866
13867static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
13868 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
13869 return 1;
13870}
13871
13872
13873static PyObject *_wrap_ART_TICK_MARK_get() {
13874 PyObject *pyobj;
13875
13876 {
13877#if wxUSE_UNICODE
13878 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
13879#else
13880 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
13881#endif
13882 }
13883 return pyobj;
13884}
13885
13886
13887static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
13888 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
13889 return 1;
13890}
13891
13892
13893static PyObject *_wrap_ART_CROSS_MARK_get() {
13894 PyObject *pyobj;
13895
13896 {
13897#if wxUSE_UNICODE
13898 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
13899#else
13900 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
13901#endif
13902 }
13903 return pyobj;
13904}
13905
13906
13907static int _wrap_ART_ERROR_set(PyObject *_val) {
13908 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
13909 return 1;
13910}
13911
13912
13913static PyObject *_wrap_ART_ERROR_get() {
13914 PyObject *pyobj;
13915
13916 {
13917#if wxUSE_UNICODE
13918 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
13919#else
13920 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
13921#endif
13922 }
13923 return pyobj;
13924}
13925
13926
13927static int _wrap_ART_QUESTION_set(PyObject *_val) {
13928 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
13929 return 1;
13930}
13931
13932
13933static PyObject *_wrap_ART_QUESTION_get() {
13934 PyObject *pyobj;
13935
13936 {
13937#if wxUSE_UNICODE
13938 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
13939#else
13940 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
13941#endif
13942 }
13943 return pyobj;
13944}
13945
13946
13947static int _wrap_ART_WARNING_set(PyObject *_val) {
13948 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
13949 return 1;
13950}
13951
13952
13953static PyObject *_wrap_ART_WARNING_get() {
13954 PyObject *pyobj;
13955
13956 {
13957#if wxUSE_UNICODE
13958 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
13959#else
13960 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
13961#endif
13962 }
13963 return pyobj;
13964}
13965
13966
13967static int _wrap_ART_INFORMATION_set(PyObject *_val) {
13968 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
13969 return 1;
13970}
13971
13972
13973static PyObject *_wrap_ART_INFORMATION_get() {
13974 PyObject *pyobj;
13975
13976 {
13977#if wxUSE_UNICODE
13978 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
13979#else
13980 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
13981#endif
13982 }
13983 return pyobj;
13984}
13985
13986
13987static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
13988 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
13989 return 1;
13990}
13991
13992
13993static PyObject *_wrap_ART_MISSING_IMAGE_get() {
13994 PyObject *pyobj;
13995
13996 {
13997#if wxUSE_UNICODE
13998 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
13999#else
14000 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14001#endif
14002 }
14003 return pyobj;
14004}
14005
14006
14007static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14008 PyObject *resultobj;
14009 wxPyArtProvider *result;
14010 char *kwnames[] = {
14011 NULL
14012 };
14013
14014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
14015 {
14016 PyThreadState* __tstate = wxPyBeginAllowThreads();
14017 result = (wxPyArtProvider *)new wxPyArtProvider();
14018
14019 wxPyEndAllowThreads(__tstate);
14020 if (PyErr_Occurred()) SWIG_fail;
14021 }
14022 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyArtProvider, 1);
14023 return resultobj;
14024 fail:
14025 return NULL;
14026}
14027
14028
d14a1e28
RD
14029static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14030 PyObject *resultobj;
14031 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14032 PyObject *arg2 = (PyObject *) 0 ;
14033 PyObject *arg3 = (PyObject *) 0 ;
14034 PyObject * obj0 = 0 ;
14035 PyObject * obj1 = 0 ;
14036 PyObject * obj2 = 0 ;
14037 char *kwnames[] = {
14038 (char *) "self",(char *) "self",(char *) "_class", NULL
14039 };
14040
14041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14043 arg2 = obj1;
14044 arg3 = obj2;
14045 {
14046 PyThreadState* __tstate = wxPyBeginAllowThreads();
14047 (arg1)->_setCallbackInfo(arg2,arg3);
14048
14049 wxPyEndAllowThreads(__tstate);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 Py_INCREF(Py_None); resultobj = Py_None;
14053 return resultobj;
14054 fail:
14055 return NULL;
14056}
14057
14058
14059static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14060 PyObject *resultobj;
14061 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14062 PyObject * obj0 = 0 ;
14063 char *kwnames[] = {
14064 (char *) "provider", NULL
14065 };
14066
14067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
14068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14069 {
14070 PyThreadState* __tstate = wxPyBeginAllowThreads();
14071 wxPyArtProvider::PushProvider(arg1);
14072
14073 wxPyEndAllowThreads(__tstate);
14074 if (PyErr_Occurred()) SWIG_fail;
14075 }
14076 Py_INCREF(Py_None); resultobj = Py_None;
14077 return resultobj;
14078 fail:
14079 return NULL;
14080}
14081
14082
14083static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14084 PyObject *resultobj;
14085 bool result;
14086 char *kwnames[] = {
14087 NULL
14088 };
14089
14090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
14091 {
14092 PyThreadState* __tstate = wxPyBeginAllowThreads();
14093 result = (bool)wxPyArtProvider::PopProvider();
14094
14095 wxPyEndAllowThreads(__tstate);
14096 if (PyErr_Occurred()) SWIG_fail;
14097 }
4d5c3d91 14098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14099 return resultobj;
14100 fail:
14101 return NULL;
14102}
14103
14104
14105static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14106 PyObject *resultobj;
14107 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14108 bool result;
14109 PyObject * obj0 = 0 ;
14110 char *kwnames[] = {
14111 (char *) "provider", NULL
14112 };
14113
14114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
14115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14116 {
14117 PyThreadState* __tstate = wxPyBeginAllowThreads();
14118 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
14119
14120 wxPyEndAllowThreads(__tstate);
14121 if (PyErr_Occurred()) SWIG_fail;
14122 }
4d5c3d91 14123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14124 return resultobj;
14125 fail:
14126 return NULL;
14127}
14128
14129
14130static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14131 PyObject *resultobj;
14132 wxString *arg1 = 0 ;
14133 wxString const &arg2_defvalue = wxPyART_OTHER ;
14134 wxString *arg2 = (wxString *) &arg2_defvalue ;
14135 wxSize const &arg3_defvalue = wxDefaultSize ;
14136 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14137 wxBitmap result;
e811c8ce
RD
14138 bool temp1 = False ;
14139 bool temp2 = False ;
d14a1e28
RD
14140 wxSize temp3 ;
14141 PyObject * obj0 = 0 ;
14142 PyObject * obj1 = 0 ;
14143 PyObject * obj2 = 0 ;
14144 char *kwnames[] = {
14145 (char *) "id",(char *) "client",(char *) "size", NULL
14146 };
14147
14148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
14149 {
14150 arg1 = wxString_in_helper(obj0);
14151 if (arg1 == NULL) SWIG_fail;
e811c8ce 14152 temp1 = True;
d14a1e28
RD
14153 }
14154 if (obj1) {
14155 {
14156 arg2 = wxString_in_helper(obj1);
14157 if (arg2 == NULL) SWIG_fail;
e811c8ce 14158 temp2 = True;
d14a1e28
RD
14159 }
14160 }
14161 if (obj2) {
14162 {
14163 arg3 = &temp3;
14164 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14165 }
14166 }
14167 {
14168 PyThreadState* __tstate = wxPyBeginAllowThreads();
14169 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14170
14171 wxPyEndAllowThreads(__tstate);
14172 if (PyErr_Occurred()) SWIG_fail;
14173 }
14174 {
14175 wxBitmap * resultptr;
14176 resultptr = new wxBitmap((wxBitmap &) result);
14177 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
14178 }
14179 {
14180 if (temp1)
14181 delete arg1;
14182 }
14183 {
14184 if (temp2)
14185 delete arg2;
14186 }
14187 return resultobj;
14188 fail:
14189 {
14190 if (temp1)
14191 delete arg1;
14192 }
14193 {
14194 if (temp2)
14195 delete arg2;
14196 }
14197 return NULL;
14198}
14199
14200
14201static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
14202 PyObject *resultobj;
14203 wxString *arg1 = 0 ;
14204 wxString const &arg2_defvalue = wxPyART_OTHER ;
14205 wxString *arg2 = (wxString *) &arg2_defvalue ;
14206 wxSize const &arg3_defvalue = wxDefaultSize ;
14207 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14208 wxIcon result;
e811c8ce
RD
14209 bool temp1 = False ;
14210 bool temp2 = False ;
d14a1e28
RD
14211 wxSize temp3 ;
14212 PyObject * obj0 = 0 ;
14213 PyObject * obj1 = 0 ;
14214 PyObject * obj2 = 0 ;
14215 char *kwnames[] = {
14216 (char *) "id",(char *) "client",(char *) "size", NULL
14217 };
14218
14219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
14220 {
14221 arg1 = wxString_in_helper(obj0);
14222 if (arg1 == NULL) SWIG_fail;
e811c8ce 14223 temp1 = True;
d14a1e28
RD
14224 }
14225 if (obj1) {
14226 {
14227 arg2 = wxString_in_helper(obj1);
14228 if (arg2 == NULL) SWIG_fail;
e811c8ce 14229 temp2 = True;
d14a1e28
RD
14230 }
14231 }
14232 if (obj2) {
14233 {
14234 arg3 = &temp3;
14235 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14236 }
14237 }
14238 {
14239 PyThreadState* __tstate = wxPyBeginAllowThreads();
14240 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14241
14242 wxPyEndAllowThreads(__tstate);
14243 if (PyErr_Occurred()) SWIG_fail;
14244 }
14245 {
14246 wxIcon * resultptr;
14247 resultptr = new wxIcon((wxIcon &) result);
14248 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
14249 }
14250 {
14251 if (temp1)
14252 delete arg1;
14253 }
14254 {
14255 if (temp2)
14256 delete arg2;
14257 }
14258 return resultobj;
14259 fail:
14260 {
14261 if (temp1)
14262 delete arg1;
14263 }
14264 {
14265 if (temp2)
14266 delete arg2;
14267 }
14268 return NULL;
14269}
14270
14271
1e0c8722
RD
14272static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
14273 PyObject *resultobj;
14274 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14275 PyObject * obj0 = 0 ;
14276 char *kwnames[] = {
14277 (char *) "self", NULL
14278 };
14279
14280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
14281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14282 {
14283 PyThreadState* __tstate = wxPyBeginAllowThreads();
14284 wxPyArtProvider_Destroy(arg1);
14285
14286 wxPyEndAllowThreads(__tstate);
14287 if (PyErr_Occurred()) SWIG_fail;
14288 }
14289 Py_INCREF(Py_None); resultobj = Py_None;
14290 return resultobj;
14291 fail:
14292 return NULL;
14293}
14294
14295
d14a1e28
RD
14296static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
14297 PyObject *obj;
14298 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14299 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
14300 Py_INCREF(obj);
14301 return Py_BuildValue((char *)"");
14302}
14303static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
14304 PyObject *resultobj;
14305 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14306 PyObject * obj0 = 0 ;
14307 char *kwnames[] = {
14308 (char *) "self", NULL
14309 };
14310
14311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
14312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14313 {
14314 PyThreadState* __tstate = wxPyBeginAllowThreads();
14315 delete arg1;
14316
14317 wxPyEndAllowThreads(__tstate);
14318 if (PyErr_Occurred()) SWIG_fail;
14319 }
14320 Py_INCREF(Py_None); resultobj = Py_None;
14321 return resultobj;
14322 fail:
14323 return NULL;
14324}
14325
14326
14327static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
14328 PyObject *resultobj;
14329 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14330 wxConfigBase *result;
14331 PyObject * obj0 = 0 ;
14332 char *kwnames[] = {
14333 (char *) "pConfig", NULL
14334 };
14335
14336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
14337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14338 {
14339 PyThreadState* __tstate = wxPyBeginAllowThreads();
14340 result = (wxConfigBase *)wxConfigBase::Set(arg1);
14341
14342 wxPyEndAllowThreads(__tstate);
14343 if (PyErr_Occurred()) SWIG_fail;
14344 }
14345 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
14346 return resultobj;
14347 fail:
14348 return NULL;
14349}
14350
14351
14352static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
14353 PyObject *resultobj;
e811c8ce 14354 bool arg1 = (bool) True ;
d14a1e28
RD
14355 wxConfigBase *result;
14356 PyObject * obj0 = 0 ;
14357 char *kwnames[] = {
14358 (char *) "createOnDemand", NULL
14359 };
14360
14361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
14362 if (obj0) {
a41e16b6 14363 {
994141e6 14364 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
a41e16b6
RD
14365 if (PyErr_Occurred()) SWIG_fail;
14366 }
d14a1e28
RD
14367 }
14368 {
14369 PyThreadState* __tstate = wxPyBeginAllowThreads();
14370 result = (wxConfigBase *)wxConfigBase::Get(arg1);
14371
14372 wxPyEndAllowThreads(__tstate);
14373 if (PyErr_Occurred()) SWIG_fail;
14374 }
14375 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
14376 return resultobj;
14377 fail:
14378 return NULL;
14379}
14380
14381
14382static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14383 PyObject *resultobj;
14384 wxConfigBase *result;
14385 char *kwnames[] = {
14386 NULL
14387 };
14388
14389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
14390 {
14391 PyThreadState* __tstate = wxPyBeginAllowThreads();
14392 result = (wxConfigBase *)wxConfigBase::Create();
14393
14394 wxPyEndAllowThreads(__tstate);
14395 if (PyErr_Occurred()) SWIG_fail;
14396 }
14397 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
14398 return resultobj;
14399 fail:
14400 return NULL;
14401}
14402
14403
14404static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
14405 PyObject *resultobj;
14406 char *kwnames[] = {
14407 NULL
14408 };
14409
14410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
14411 {
14412 PyThreadState* __tstate = wxPyBeginAllowThreads();
14413 wxConfigBase::DontCreateOnDemand();
14414
14415 wxPyEndAllowThreads(__tstate);
14416 if (PyErr_Occurred()) SWIG_fail;
14417 }
14418 Py_INCREF(Py_None); resultobj = Py_None;
14419 return resultobj;
14420 fail:
14421 return NULL;
14422}
14423
14424
14425static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14426 PyObject *resultobj;
14427 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14428 wxString *arg2 = 0 ;
e811c8ce 14429 bool temp2 = False ;
d14a1e28
RD
14430 PyObject * obj0 = 0 ;
14431 PyObject * obj1 = 0 ;
14432 char *kwnames[] = {
14433 (char *) "self",(char *) "strPath", NULL
14434 };
14435
14436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
14437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14438 {
14439 arg2 = wxString_in_helper(obj1);
14440 if (arg2 == NULL) SWIG_fail;
e811c8ce 14441 temp2 = True;
d14a1e28
RD
14442 }
14443 {
14444 PyThreadState* __tstate = wxPyBeginAllowThreads();
14445 (arg1)->SetPath((wxString const &)*arg2);
14446
14447 wxPyEndAllowThreads(__tstate);
14448 if (PyErr_Occurred()) SWIG_fail;
14449 }
14450 Py_INCREF(Py_None); resultobj = Py_None;
14451 {
14452 if (temp2)
14453 delete arg2;
14454 }
14455 return resultobj;
14456 fail:
14457 {
14458 if (temp2)
14459 delete arg2;
14460 }
14461 return NULL;
14462}
14463
14464
14465static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14466 PyObject *resultobj;
14467 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14468 wxString *result;
14469 PyObject * obj0 = 0 ;
14470 char *kwnames[] = {
14471 (char *) "self", NULL
14472 };
14473
14474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
14475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14476 {
14477 PyThreadState* __tstate = wxPyBeginAllowThreads();
14478 {
14479 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
14480 result = (wxString *) &_result_ref;
14481 }
14482
14483 wxPyEndAllowThreads(__tstate);
14484 if (PyErr_Occurred()) SWIG_fail;
14485 }
cc6dd355
RD
14486 {
14487#if wxUSE_UNICODE
14488 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14489#else
14490 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14491#endif
14492 }
d14a1e28
RD
14493 return resultobj;
14494 fail:
14495 return NULL;
14496}
14497
14498
14499static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14500 PyObject *resultobj;
14501 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14502 PyObject *result;
14503 PyObject * obj0 = 0 ;
14504 char *kwnames[] = {
14505 (char *) "self", NULL
14506 };
14507
14508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
14509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14510 {
14511 PyThreadState* __tstate = wxPyBeginAllowThreads();
14512 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
14513
14514 wxPyEndAllowThreads(__tstate);
14515 if (PyErr_Occurred()) SWIG_fail;
14516 }
14517 resultobj = result;
14518 return resultobj;
14519 fail:
14520 return NULL;
14521}
14522
14523
14524static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14525 PyObject *resultobj;
14526 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14527 long arg2 ;
14528 PyObject *result;
14529 PyObject * obj0 = 0 ;
994141e6 14530 PyObject * obj1 = 0 ;
d14a1e28
RD
14531 char *kwnames[] = {
14532 (char *) "self",(char *) "index", NULL
14533 };
14534
994141e6 14535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 14536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
14537 {
14538 arg2 = (long) SWIG_PyObj_AsLong(obj1);
14539 if (PyErr_Occurred()) SWIG_fail;
14540 }
d14a1e28
RD
14541 {
14542 PyThreadState* __tstate = wxPyBeginAllowThreads();
14543 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
14544
14545 wxPyEndAllowThreads(__tstate);
14546 if (PyErr_Occurred()) SWIG_fail;
14547 }
14548 resultobj = result;
14549 return resultobj;
14550 fail:
14551 return NULL;
14552}
14553
14554
14555static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14556 PyObject *resultobj;
14557 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14558 PyObject *result;
14559 PyObject * obj0 = 0 ;
14560 char *kwnames[] = {
14561 (char *) "self", NULL
14562 };
14563
14564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
14565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14566 {
14567 PyThreadState* __tstate = wxPyBeginAllowThreads();
14568 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
14569
14570 wxPyEndAllowThreads(__tstate);
14571 if (PyErr_Occurred()) SWIG_fail;
14572 }
14573 resultobj = result;
14574 return resultobj;
14575 fail:
14576 return NULL;
14577}
14578
14579
14580static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14581 PyObject *resultobj;
14582 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14583 long arg2 ;
14584 PyObject *result;
14585 PyObject * obj0 = 0 ;
994141e6 14586 PyObject * obj1 = 0 ;
d14a1e28
RD
14587 char *kwnames[] = {
14588 (char *) "self",(char *) "index", NULL
14589 };
14590
994141e6 14591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 14592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
14593 {
14594 arg2 = (long) SWIG_PyObj_AsLong(obj1);
14595 if (PyErr_Occurred()) SWIG_fail;
14596 }
d14a1e28
RD
14597 {
14598 PyThreadState* __tstate = wxPyBeginAllowThreads();
14599 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
14600
14601 wxPyEndAllowThreads(__tstate);
14602 if (PyErr_Occurred()) SWIG_fail;
14603 }
14604 resultobj = result;
14605 return resultobj;
14606 fail:
14607 return NULL;
14608}
14609
14610
14611static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
14612 PyObject *resultobj;
14613 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
e811c8ce 14614 bool arg2 = (bool) False ;
d14a1e28
RD
14615 size_t result;
14616 PyObject * obj0 = 0 ;
14617 PyObject * obj1 = 0 ;
14618 char *kwnames[] = {
14619 (char *) "self",(char *) "bRecursive", NULL
14620 };
14621
14622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
14623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14624 if (obj1) {
a41e16b6 14625 {
994141e6 14626 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
14627 if (PyErr_Occurred()) SWIG_fail;
14628 }
d14a1e28
RD
14629 }
14630 {
14631 PyThreadState* __tstate = wxPyBeginAllowThreads();
14632 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
14633
14634 wxPyEndAllowThreads(__tstate);
14635 if (PyErr_Occurred()) SWIG_fail;
14636 }
994141e6 14637 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
14638 return resultobj;
14639 fail:
14640 return NULL;
14641}
14642
14643
14644static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
14645 PyObject *resultobj;
14646 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
e811c8ce 14647 bool arg2 = (bool) False ;
d14a1e28
RD
14648 size_t result;
14649 PyObject * obj0 = 0 ;
14650 PyObject * obj1 = 0 ;
14651 char *kwnames[] = {
14652 (char *) "self",(char *) "bRecursive", NULL
14653 };
14654
14655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
14656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14657 if (obj1) {
a41e16b6 14658 {
994141e6 14659 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
14660 if (PyErr_Occurred()) SWIG_fail;
14661 }
d14a1e28
RD
14662 }
14663 {
14664 PyThreadState* __tstate = wxPyBeginAllowThreads();
14665 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
14666
14667 wxPyEndAllowThreads(__tstate);
14668 if (PyErr_Occurred()) SWIG_fail;
14669 }
994141e6 14670 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
14671 return resultobj;
14672 fail:
14673 return NULL;
14674}
14675
14676
14677static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14678 PyObject *resultobj;
14679 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14680 wxString *arg2 = 0 ;
14681 bool result;
e811c8ce 14682 bool temp2 = False ;
d14a1e28
RD
14683 PyObject * obj0 = 0 ;
14684 PyObject * obj1 = 0 ;
14685 char *kwnames[] = {
14686 (char *) "self",(char *) "strName", NULL
14687 };
14688
14689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
14690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14691 {
14692 arg2 = wxString_in_helper(obj1);
14693 if (arg2 == NULL) SWIG_fail;
e811c8ce 14694 temp2 = True;
d14a1e28
RD
14695 }
14696 {
14697 PyThreadState* __tstate = wxPyBeginAllowThreads();
14698 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
14699
14700 wxPyEndAllowThreads(__tstate);
14701 if (PyErr_Occurred()) SWIG_fail;
14702 }
4d5c3d91 14703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14704 {
14705 if (temp2)
14706 delete arg2;
14707 }
14708 return resultobj;
14709 fail:
14710 {
14711 if (temp2)
14712 delete arg2;
14713 }
14714 return NULL;
14715}
14716
14717
14718static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14719 PyObject *resultobj;
14720 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14721 wxString *arg2 = 0 ;
14722 bool result;
e811c8ce 14723 bool temp2 = False ;
d14a1e28
RD
14724 PyObject * obj0 = 0 ;
14725 PyObject * obj1 = 0 ;
14726 char *kwnames[] = {
14727 (char *) "self",(char *) "strName", NULL
14728 };
14729
14730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
14731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14732 {
14733 arg2 = wxString_in_helper(obj1);
14734 if (arg2 == NULL) SWIG_fail;
e811c8ce 14735 temp2 = True;
d14a1e28
RD
14736 }
14737 {
14738 PyThreadState* __tstate = wxPyBeginAllowThreads();
14739 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
14740
14741 wxPyEndAllowThreads(__tstate);
14742 if (PyErr_Occurred()) SWIG_fail;
14743 }
4d5c3d91 14744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14745 {
14746 if (temp2)
14747 delete arg2;
14748 }
14749 return resultobj;
14750 fail:
14751 {
14752 if (temp2)
14753 delete arg2;
14754 }
14755 return NULL;
14756}
14757
14758
14759static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
14760 PyObject *resultobj;
14761 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14762 wxString *arg2 = 0 ;
14763 bool result;
e811c8ce 14764 bool temp2 = False ;
d14a1e28
RD
14765 PyObject * obj0 = 0 ;
14766 PyObject * obj1 = 0 ;
14767 char *kwnames[] = {
14768 (char *) "self",(char *) "strName", NULL
14769 };
14770
14771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
14772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14773 {
14774 arg2 = wxString_in_helper(obj1);
14775 if (arg2 == NULL) SWIG_fail;
e811c8ce 14776 temp2 = True;
d14a1e28
RD
14777 }
14778 {
14779 PyThreadState* __tstate = wxPyBeginAllowThreads();
14780 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
14781
14782 wxPyEndAllowThreads(__tstate);
14783 if (PyErr_Occurred()) SWIG_fail;
14784 }
4d5c3d91 14785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14786 {
14787 if (temp2)
14788 delete arg2;
14789 }
14790 return resultobj;
14791 fail:
14792 {
14793 if (temp2)
14794 delete arg2;
14795 }
14796 return NULL;
14797}
14798
14799
14800static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
14801 PyObject *resultobj;
14802 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14803 wxString *arg2 = 0 ;
14804 int result;
e811c8ce 14805 bool temp2 = False ;
d14a1e28
RD
14806 PyObject * obj0 = 0 ;
14807 PyObject * obj1 = 0 ;
14808 char *kwnames[] = {
14809 (char *) "self",(char *) "name", NULL
14810 };
14811
14812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
14813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14814 {
14815 arg2 = wxString_in_helper(obj1);
14816 if (arg2 == NULL) SWIG_fail;
e811c8ce 14817 temp2 = True;
d14a1e28
RD
14818 }
14819 {
14820 PyThreadState* __tstate = wxPyBeginAllowThreads();
14821 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
14822
14823 wxPyEndAllowThreads(__tstate);
14824 if (PyErr_Occurred()) SWIG_fail;
14825 }
994141e6 14826 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
14827 {
14828 if (temp2)
14829 delete arg2;
14830 }
14831 return resultobj;
14832 fail:
14833 {
14834 if (temp2)
14835 delete arg2;
14836 }
14837 return NULL;
14838}
14839
14840
14841static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
14842 PyObject *resultobj;
14843 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14844 wxString *arg2 = 0 ;
14845 wxString const &arg3_defvalue = wxPyEmptyString ;
14846 wxString *arg3 = (wxString *) &arg3_defvalue ;
14847 wxString result;
e811c8ce
RD
14848 bool temp2 = False ;
14849 bool temp3 = False ;
d14a1e28
RD
14850 PyObject * obj0 = 0 ;
14851 PyObject * obj1 = 0 ;
14852 PyObject * obj2 = 0 ;
14853 char *kwnames[] = {
14854 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14855 };
14856
14857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
14858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14859 {
14860 arg2 = wxString_in_helper(obj1);
14861 if (arg2 == NULL) SWIG_fail;
e811c8ce 14862 temp2 = True;
d14a1e28
RD
14863 }
14864 if (obj2) {
14865 {
14866 arg3 = wxString_in_helper(obj2);
14867 if (arg3 == NULL) SWIG_fail;
e811c8ce 14868 temp3 = True;
d14a1e28
RD
14869 }
14870 }
14871 {
14872 PyThreadState* __tstate = wxPyBeginAllowThreads();
14873 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
14874
14875 wxPyEndAllowThreads(__tstate);
14876 if (PyErr_Occurred()) SWIG_fail;
14877 }
14878 {
14879#if wxUSE_UNICODE
14880 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14881#else
14882 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14883#endif
14884 }
14885 {
14886 if (temp2)
14887 delete arg2;
14888 }
14889 {
14890 if (temp3)
14891 delete arg3;
14892 }
14893 return resultobj;
14894 fail:
14895 {
14896 if (temp2)
14897 delete arg2;
14898 }
14899 {
14900 if (temp3)
14901 delete arg3;
14902 }
14903 return NULL;
14904}
14905
14906
14907static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
14908 PyObject *resultobj;
14909 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14910 wxString *arg2 = 0 ;
14911 long arg3 = (long) 0 ;
14912 long result;
e811c8ce 14913 bool temp2 = False ;
d14a1e28
RD
14914 PyObject * obj0 = 0 ;
14915 PyObject * obj1 = 0 ;
994141e6 14916 PyObject * obj2 = 0 ;
d14a1e28
RD
14917 char *kwnames[] = {
14918 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14919 };
14920
994141e6 14921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
14922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14923 {
14924 arg2 = wxString_in_helper(obj1);
14925 if (arg2 == NULL) SWIG_fail;
e811c8ce 14926 temp2 = True;
d14a1e28 14927 }
994141e6
RD
14928 if (obj2) {
14929 {
14930 arg3 = (long) SWIG_PyObj_AsLong(obj2);
14931 if (PyErr_Occurred()) SWIG_fail;
14932 }
14933 }
d14a1e28
RD
14934 {
14935 PyThreadState* __tstate = wxPyBeginAllowThreads();
14936 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
14937
14938 wxPyEndAllowThreads(__tstate);
14939 if (PyErr_Occurred()) SWIG_fail;
14940 }
994141e6 14941 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
14942 {
14943 if (temp2)
14944 delete arg2;
14945 }
14946 return resultobj;
14947 fail:
14948 {
14949 if (temp2)
14950 delete arg2;
14951 }
14952 return NULL;
14953}
14954
14955
14956static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
14957 PyObject *resultobj;
14958 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14959 wxString *arg2 = 0 ;
14960 double arg3 = (double) 0.0 ;
14961 double result;
e811c8ce 14962 bool temp2 = False ;
d14a1e28
RD
14963 PyObject * obj0 = 0 ;
14964 PyObject * obj1 = 0 ;
994141e6 14965 PyObject * obj2 = 0 ;
d14a1e28
RD
14966 char *kwnames[] = {
14967 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14968 };
14969
994141e6 14970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
14971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14972 {
14973 arg2 = wxString_in_helper(obj1);
14974 if (arg2 == NULL) SWIG_fail;
e811c8ce 14975 temp2 = True;
d14a1e28 14976 }
994141e6
RD
14977 if (obj2) {
14978 {
14979 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14980 if (PyErr_Occurred()) SWIG_fail;
14981 }
14982 }
d14a1e28
RD
14983 {
14984 PyThreadState* __tstate = wxPyBeginAllowThreads();
14985 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
14986
14987 wxPyEndAllowThreads(__tstate);
14988 if (PyErr_Occurred()) SWIG_fail;
14989 }
994141e6 14990 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
14991 {
14992 if (temp2)
14993 delete arg2;
14994 }
14995 return resultobj;
14996 fail:
14997 {
14998 if (temp2)
14999 delete arg2;
15000 }
15001 return NULL;
15002}
15003
15004
15005static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15006 PyObject *resultobj;
15007 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15008 wxString *arg2 = 0 ;
e811c8ce 15009 bool arg3 = (bool) False ;
d14a1e28 15010 bool result;
e811c8ce 15011 bool temp2 = False ;
d14a1e28
RD
15012 PyObject * obj0 = 0 ;
15013 PyObject * obj1 = 0 ;
15014 PyObject * obj2 = 0 ;
15015 char *kwnames[] = {
15016 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15017 };
15018
15019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15021 {
15022 arg2 = wxString_in_helper(obj1);
15023 if (arg2 == NULL) SWIG_fail;
e811c8ce 15024 temp2 = True;
d14a1e28
RD
15025 }
15026 if (obj2) {
a41e16b6 15027 {
994141e6 15028 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
a41e16b6
RD
15029 if (PyErr_Occurred()) SWIG_fail;
15030 }
d14a1e28
RD
15031 }
15032 {
15033 PyThreadState* __tstate = wxPyBeginAllowThreads();
15034 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
15035
15036 wxPyEndAllowThreads(__tstate);
15037 if (PyErr_Occurred()) SWIG_fail;
15038 }
4d5c3d91 15039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15040 {
15041 if (temp2)
15042 delete arg2;
15043 }
15044 return resultobj;
15045 fail:
15046 {
15047 if (temp2)
15048 delete arg2;
15049 }
15050 return NULL;
15051}
15052
15053
15054static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
15055 PyObject *resultobj;
15056 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15057 wxString *arg2 = 0 ;
15058 wxString *arg3 = 0 ;
15059 bool result;
e811c8ce
RD
15060 bool temp2 = False ;
15061 bool temp3 = False ;
d14a1e28
RD
15062 PyObject * obj0 = 0 ;
15063 PyObject * obj1 = 0 ;
15064 PyObject * obj2 = 0 ;
15065 char *kwnames[] = {
15066 (char *) "self",(char *) "key",(char *) "value", NULL
15067 };
15068
15069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
15070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15071 {
15072 arg2 = wxString_in_helper(obj1);
15073 if (arg2 == NULL) SWIG_fail;
e811c8ce 15074 temp2 = True;
d14a1e28
RD
15075 }
15076 {
15077 arg3 = wxString_in_helper(obj2);
15078 if (arg3 == NULL) SWIG_fail;
e811c8ce 15079 temp3 = True;
d14a1e28
RD
15080 }
15081 {
15082 PyThreadState* __tstate = wxPyBeginAllowThreads();
15083 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
15084
15085 wxPyEndAllowThreads(__tstate);
15086 if (PyErr_Occurred()) SWIG_fail;
15087 }
4d5c3d91 15088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15089 {
15090 if (temp2)
15091 delete arg2;
15092 }
15093 {
15094 if (temp3)
15095 delete arg3;
15096 }
15097 return resultobj;
15098 fail:
15099 {
15100 if (temp2)
15101 delete arg2;
15102 }
15103 {
15104 if (temp3)
15105 delete arg3;
15106 }
15107 return NULL;
15108}
15109
15110
15111static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15112 PyObject *resultobj;
15113 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15114 wxString *arg2 = 0 ;
15115 long arg3 ;
15116 bool result;
e811c8ce 15117 bool temp2 = False ;
d14a1e28
RD
15118 PyObject * obj0 = 0 ;
15119 PyObject * obj1 = 0 ;
994141e6 15120 PyObject * obj2 = 0 ;
d14a1e28
RD
15121 char *kwnames[] = {
15122 (char *) "self",(char *) "key",(char *) "value", NULL
15123 };
15124
994141e6 15125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
15126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15127 {
15128 arg2 = wxString_in_helper(obj1);
15129 if (arg2 == NULL) SWIG_fail;
e811c8ce 15130 temp2 = True;
d14a1e28 15131 }
994141e6
RD
15132 {
15133 arg3 = (long) SWIG_PyObj_AsLong(obj2);
15134 if (PyErr_Occurred()) SWIG_fail;
15135 }
d14a1e28
RD
15136 {
15137 PyThreadState* __tstate = wxPyBeginAllowThreads();
15138 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15139
15140 wxPyEndAllowThreads(__tstate);
15141 if (PyErr_Occurred()) SWIG_fail;
15142 }
4d5c3d91 15143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15144 {
15145 if (temp2)
15146 delete arg2;
15147 }
15148 return resultobj;
15149 fail:
15150 {
15151 if (temp2)
15152 delete arg2;
15153 }
15154 return NULL;
15155}
15156
15157
15158static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15159 PyObject *resultobj;
15160 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15161 wxString *arg2 = 0 ;
15162 double arg3 ;
15163 bool result;
e811c8ce 15164 bool temp2 = False ;
d14a1e28
RD
15165 PyObject * obj0 = 0 ;
15166 PyObject * obj1 = 0 ;
994141e6 15167 PyObject * obj2 = 0 ;
d14a1e28
RD
15168 char *kwnames[] = {
15169 (char *) "self",(char *) "key",(char *) "value", NULL
15170 };
15171
994141e6 15172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
15173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15174 {
15175 arg2 = wxString_in_helper(obj1);
15176 if (arg2 == NULL) SWIG_fail;
e811c8ce 15177 temp2 = True;
d14a1e28 15178 }
994141e6
RD
15179 {
15180 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
15181 if (PyErr_Occurred()) SWIG_fail;
15182 }
d14a1e28
RD
15183 {
15184 PyThreadState* __tstate = wxPyBeginAllowThreads();
15185 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15186
15187 wxPyEndAllowThreads(__tstate);
15188 if (PyErr_Occurred()) SWIG_fail;
15189 }
4d5c3d91 15190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15191 {
15192 if (temp2)
15193 delete arg2;
15194 }
15195 return resultobj;
15196 fail:
15197 {
15198 if (temp2)
15199 delete arg2;
15200 }
15201 return NULL;
15202}
15203
15204
15205static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15206 PyObject *resultobj;
15207 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15208 wxString *arg2 = 0 ;
15209 bool arg3 ;
15210 bool result;
e811c8ce 15211 bool temp2 = False ;
d14a1e28
RD
15212 PyObject * obj0 = 0 ;
15213 PyObject * obj1 = 0 ;
15214 PyObject * obj2 = 0 ;
15215 char *kwnames[] = {
15216 (char *) "self",(char *) "key",(char *) "value", NULL
15217 };
15218
15219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15221 {
15222 arg2 = wxString_in_helper(obj1);
15223 if (arg2 == NULL) SWIG_fail;
e811c8ce 15224 temp2 = True;
d14a1e28 15225 }
a41e16b6 15226 {
994141e6 15227 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
a41e16b6
RD
15228 if (PyErr_Occurred()) SWIG_fail;
15229 }
d14a1e28
RD
15230 {
15231 PyThreadState* __tstate = wxPyBeginAllowThreads();
15232 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15233
15234 wxPyEndAllowThreads(__tstate);
15235 if (PyErr_Occurred()) SWIG_fail;
15236 }
4d5c3d91 15237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15238 {
15239 if (temp2)
15240 delete arg2;
15241 }
15242 return resultobj;
15243 fail:
15244 {
15245 if (temp2)
15246 delete arg2;
15247 }
15248 return NULL;
15249}
15250
15251
15252static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
15253 PyObject *resultobj;
15254 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
e811c8ce 15255 bool arg2 = (bool) False ;
d14a1e28
RD
15256 bool result;
15257 PyObject * obj0 = 0 ;
15258 PyObject * obj1 = 0 ;
15259 char *kwnames[] = {
15260 (char *) "self",(char *) "bCurrentOnly", NULL
15261 };
15262
15263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
15264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15265 if (obj1) {
a41e16b6 15266 {
994141e6 15267 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
15268 if (PyErr_Occurred()) SWIG_fail;
15269 }
d14a1e28
RD
15270 }
15271 {
15272 PyThreadState* __tstate = wxPyBeginAllowThreads();
15273 result = (bool)(arg1)->Flush(arg2);
15274
15275 wxPyEndAllowThreads(__tstate);
15276 if (PyErr_Occurred()) SWIG_fail;
15277 }
4d5c3d91 15278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15279 return resultobj;
15280 fail:
15281 return NULL;
15282}
15283
15284
15285static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15286 PyObject *resultobj;
15287 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15288 wxString *arg2 = 0 ;
15289 wxString *arg3 = 0 ;
15290 bool result;
e811c8ce
RD
15291 bool temp2 = False ;
15292 bool temp3 = False ;
d14a1e28
RD
15293 PyObject * obj0 = 0 ;
15294 PyObject * obj1 = 0 ;
15295 PyObject * obj2 = 0 ;
15296 char *kwnames[] = {
15297 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15298 };
15299
15300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15302 {
15303 arg2 = wxString_in_helper(obj1);
15304 if (arg2 == NULL) SWIG_fail;
e811c8ce 15305 temp2 = True;
d14a1e28
RD
15306 }
15307 {
15308 arg3 = wxString_in_helper(obj2);
15309 if (arg3 == NULL) SWIG_fail;
e811c8ce 15310 temp3 = True;
d14a1e28
RD
15311 }
15312 {
15313 PyThreadState* __tstate = wxPyBeginAllowThreads();
15314 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
15315
15316 wxPyEndAllowThreads(__tstate);
15317 if (PyErr_Occurred()) SWIG_fail;
15318 }
4d5c3d91 15319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15320 {
15321 if (temp2)
15322 delete arg2;
15323 }
15324 {
15325 if (temp3)
15326 delete arg3;
15327 }
15328 return resultobj;
15329 fail:
15330 {
15331 if (temp2)
15332 delete arg2;
15333 }
15334 {
15335 if (temp3)
15336 delete arg3;
15337 }
15338 return NULL;
15339}
15340
15341
15342static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15343 PyObject *resultobj;
15344 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15345 wxString *arg2 = 0 ;
15346 wxString *arg3 = 0 ;
15347 bool result;
e811c8ce
RD
15348 bool temp2 = False ;
15349 bool temp3 = False ;
d14a1e28
RD
15350 PyObject * obj0 = 0 ;
15351 PyObject * obj1 = 0 ;
15352 PyObject * obj2 = 0 ;
15353 char *kwnames[] = {
15354 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15355 };
15356
15357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
15358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15359 {
15360 arg2 = wxString_in_helper(obj1);
15361 if (arg2 == NULL) SWIG_fail;
e811c8ce 15362 temp2 = True;
d14a1e28
RD
15363 }
15364 {
15365 arg3 = wxString_in_helper(obj2);
15366 if (arg3 == NULL) SWIG_fail;
e811c8ce 15367 temp3 = True;
d14a1e28
RD
15368 }
15369 {
15370 PyThreadState* __tstate = wxPyBeginAllowThreads();
15371 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
15372
15373 wxPyEndAllowThreads(__tstate);
15374 if (PyErr_Occurred()) SWIG_fail;
15375 }
4d5c3d91 15376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15377 {
15378 if (temp2)
15379 delete arg2;
15380 }
15381 {
15382 if (temp3)
15383 delete arg3;
15384 }
15385 return resultobj;
15386 fail:
15387 {
15388 if (temp2)
15389 delete arg2;
15390 }
15391 {
15392 if (temp3)
15393 delete arg3;
15394 }
15395 return NULL;
15396}
15397
15398
15399static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15400 PyObject *resultobj;
15401 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15402 wxString *arg2 = 0 ;
e811c8ce 15403 bool arg3 = (bool) True ;
d14a1e28 15404 bool result;
e811c8ce 15405 bool temp2 = False ;
d14a1e28
RD
15406 PyObject * obj0 = 0 ;
15407 PyObject * obj1 = 0 ;
15408 PyObject * obj2 = 0 ;
15409 char *kwnames[] = {
15410 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
15411 };
15412
15413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15415 {
15416 arg2 = wxString_in_helper(obj1);
15417 if (arg2 == NULL) SWIG_fail;
e811c8ce 15418 temp2 = True;
d14a1e28
RD
15419 }
15420 if (obj2) {
a41e16b6 15421 {
994141e6 15422 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
a41e16b6
RD
15423 if (PyErr_Occurred()) SWIG_fail;
15424 }
d14a1e28
RD
15425 }
15426 {
15427 PyThreadState* __tstate = wxPyBeginAllowThreads();
15428 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
15429
15430 wxPyEndAllowThreads(__tstate);
15431 if (PyErr_Occurred()) SWIG_fail;
15432 }
4d5c3d91 15433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15434 {
15435 if (temp2)
15436 delete arg2;
15437 }
15438 return resultobj;
15439 fail:
15440 {
15441 if (temp2)
15442 delete arg2;
15443 }
15444 return NULL;
15445}
15446
15447
15448static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15449 PyObject *resultobj;
15450 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15451 wxString *arg2 = 0 ;
15452 bool result;
e811c8ce 15453 bool temp2 = False ;
d14a1e28
RD
15454 PyObject * obj0 = 0 ;
15455 PyObject * obj1 = 0 ;
15456 char *kwnames[] = {
15457 (char *) "self",(char *) "key", NULL
15458 };
15459
15460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
15461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15462 {
15463 arg2 = wxString_in_helper(obj1);
15464 if (arg2 == NULL) SWIG_fail;
e811c8ce 15465 temp2 = True;
d14a1e28
RD
15466 }
15467 {
15468 PyThreadState* __tstate = wxPyBeginAllowThreads();
15469 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
15470
15471 wxPyEndAllowThreads(__tstate);
15472 if (PyErr_Occurred()) SWIG_fail;
15473 }
4d5c3d91 15474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15475 {
15476 if (temp2)
15477 delete arg2;
15478 }
15479 return resultobj;
15480 fail:
15481 {
15482 if (temp2)
15483 delete arg2;
15484 }
15485 return NULL;
15486}
15487
15488
15489static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
15490 PyObject *resultobj;
15491 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15492 bool result;
15493 PyObject * obj0 = 0 ;
15494 char *kwnames[] = {
15495 (char *) "self", NULL
15496 };
15497
15498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
15499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15500 {
15501 PyThreadState* __tstate = wxPyBeginAllowThreads();
15502 result = (bool)(arg1)->DeleteAll();
15503
15504 wxPyEndAllowThreads(__tstate);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 }
4d5c3d91 15507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15508 return resultobj;
15509 fail:
15510 return NULL;
15511}
15512
15513
15514static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15515 PyObject *resultobj;
15516 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15517 bool result;
15518 PyObject * obj0 = 0 ;
15519 char *kwnames[] = {
15520 (char *) "self", NULL
15521 };
15522
15523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
15524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15525 {
15526 PyThreadState* __tstate = wxPyBeginAllowThreads();
15527 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
15528
15529 wxPyEndAllowThreads(__tstate);
15530 if (PyErr_Occurred()) SWIG_fail;
15531 }
4d5c3d91 15532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15533 return resultobj;
15534 fail:
15535 return NULL;
15536}
15537
15538
15539static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15540 PyObject *resultobj;
15541 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
e811c8ce 15542 bool arg2 = (bool) True ;
d14a1e28
RD
15543 PyObject * obj0 = 0 ;
15544 PyObject * obj1 = 0 ;
15545 char *kwnames[] = {
15546 (char *) "self",(char *) "bDoIt", NULL
15547 };
15548
15549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15551 if (obj1) {
a41e16b6 15552 {
994141e6 15553 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
15554 if (PyErr_Occurred()) SWIG_fail;
15555 }
d14a1e28
RD
15556 }
15557 {
15558 PyThreadState* __tstate = wxPyBeginAllowThreads();
15559 (arg1)->SetExpandEnvVars(arg2);
15560
15561 wxPyEndAllowThreads(__tstate);
15562 if (PyErr_Occurred()) SWIG_fail;
15563 }
15564 Py_INCREF(Py_None); resultobj = Py_None;
15565 return resultobj;
15566 fail:
15567 return NULL;
15568}
15569
15570
15571static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
15572 PyObject *resultobj;
15573 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
e811c8ce 15574 bool arg2 = (bool) True ;
d14a1e28
RD
15575 PyObject * obj0 = 0 ;
15576 PyObject * obj1 = 0 ;
15577 char *kwnames[] = {
15578 (char *) "self",(char *) "bDoIt", NULL
15579 };
15580
15581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
15582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15583 if (obj1) {
a41e16b6 15584 {
994141e6 15585 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
15586 if (PyErr_Occurred()) SWIG_fail;
15587 }
d14a1e28
RD
15588 }
15589 {
15590 PyThreadState* __tstate = wxPyBeginAllowThreads();
15591 (arg1)->SetRecordDefaults(arg2);
15592
15593 wxPyEndAllowThreads(__tstate);
15594 if (PyErr_Occurred()) SWIG_fail;
15595 }
15596 Py_INCREF(Py_None); resultobj = Py_None;
15597 return resultobj;
15598 fail:
15599 return NULL;
15600}
15601
15602
15603static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
15604 PyObject *resultobj;
15605 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15606 bool result;
15607 PyObject * obj0 = 0 ;
15608 char *kwnames[] = {
15609 (char *) "self", NULL
15610 };
15611
15612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
15613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15614 {
15615 PyThreadState* __tstate = wxPyBeginAllowThreads();
15616 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
15617
15618 wxPyEndAllowThreads(__tstate);
15619 if (PyErr_Occurred()) SWIG_fail;
15620 }
4d5c3d91 15621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15622 return resultobj;
15623 fail:
15624 return NULL;
15625}
15626
15627
15628static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15629 PyObject *resultobj;
15630 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15631 wxString *arg2 = 0 ;
15632 wxString result;
e811c8ce 15633 bool temp2 = False ;
d14a1e28
RD
15634 PyObject * obj0 = 0 ;
15635 PyObject * obj1 = 0 ;
15636 char *kwnames[] = {
15637 (char *) "self",(char *) "str", NULL
15638 };
15639
15640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15642 {
15643 arg2 = wxString_in_helper(obj1);
15644 if (arg2 == NULL) SWIG_fail;
e811c8ce 15645 temp2 = True;
d14a1e28
RD
15646 }
15647 {
15648 PyThreadState* __tstate = wxPyBeginAllowThreads();
15649 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
15650
15651 wxPyEndAllowThreads(__tstate);
15652 if (PyErr_Occurred()) SWIG_fail;
15653 }
15654 {
15655#if wxUSE_UNICODE
15656 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15657#else
15658 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15659#endif
15660 }
15661 {
15662 if (temp2)
15663 delete arg2;
15664 }
15665 return resultobj;
15666 fail:
15667 {
15668 if (temp2)
15669 delete arg2;
15670 }
15671 return NULL;
15672}
15673
15674
15675static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
15676 PyObject *resultobj;
15677 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15678 wxString result;
15679 PyObject * obj0 = 0 ;
15680 char *kwnames[] = {
15681 (char *) "self", NULL
15682 };
15683
15684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
15685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15686 {
15687 PyThreadState* __tstate = wxPyBeginAllowThreads();
15688 result = ((wxConfigBase const *)arg1)->GetAppName();
15689
15690 wxPyEndAllowThreads(__tstate);
15691 if (PyErr_Occurred()) SWIG_fail;
15692 }
15693 {
15694#if wxUSE_UNICODE
15695 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15696#else
15697 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15698#endif
15699 }
15700 return resultobj;
15701 fail:
15702 return NULL;
15703}
15704
15705
15706static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
15707 PyObject *resultobj;
15708 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15709 wxString result;
15710 PyObject * obj0 = 0 ;
15711 char *kwnames[] = {
15712 (char *) "self", NULL
15713 };
15714
15715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
15716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15717 {
15718 PyThreadState* __tstate = wxPyBeginAllowThreads();
15719 result = ((wxConfigBase const *)arg1)->GetVendorName();
15720
15721 wxPyEndAllowThreads(__tstate);
15722 if (PyErr_Occurred()) SWIG_fail;
15723 }
15724 {
15725#if wxUSE_UNICODE
15726 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15727#else
15728 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15729#endif
15730 }
15731 return resultobj;
15732 fail:
15733 return NULL;
15734}
15735
15736
15737static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
15738 PyObject *resultobj;
15739 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15740 wxString *arg2 = 0 ;
e811c8ce 15741 bool temp2 = False ;
d14a1e28
RD
15742 PyObject * obj0 = 0 ;
15743 PyObject * obj1 = 0 ;
15744 char *kwnames[] = {
15745 (char *) "self",(char *) "appName", NULL
15746 };
15747
15748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
15749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15750 {
15751 arg2 = wxString_in_helper(obj1);
15752 if (arg2 == NULL) SWIG_fail;
e811c8ce 15753 temp2 = True;
d14a1e28
RD
15754 }
15755 {
15756 PyThreadState* __tstate = wxPyBeginAllowThreads();
15757 (arg1)->SetAppName((wxString const &)*arg2);
15758
15759 wxPyEndAllowThreads(__tstate);
15760 if (PyErr_Occurred()) SWIG_fail;
15761 }
15762 Py_INCREF(Py_None); resultobj = Py_None;
15763 {
15764 if (temp2)
15765 delete arg2;
15766 }
15767 return resultobj;
15768 fail:
15769 {
15770 if (temp2)
15771 delete arg2;
15772 }
15773 return NULL;
15774}
15775
15776
15777static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
15778 PyObject *resultobj;
15779 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15780 wxString *arg2 = 0 ;
e811c8ce 15781 bool temp2 = False ;
d14a1e28
RD
15782 PyObject * obj0 = 0 ;
15783 PyObject * obj1 = 0 ;
15784 char *kwnames[] = {
15785 (char *) "self",(char *) "vendorName", NULL
15786 };
15787
15788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
15789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15790 {
15791 arg2 = wxString_in_helper(obj1);
15792 if (arg2 == NULL) SWIG_fail;
e811c8ce 15793 temp2 = True;
d14a1e28
RD
15794 }
15795 {
15796 PyThreadState* __tstate = wxPyBeginAllowThreads();
15797 (arg1)->SetVendorName((wxString const &)*arg2);
15798
15799 wxPyEndAllowThreads(__tstate);
15800 if (PyErr_Occurred()) SWIG_fail;
15801 }
15802 Py_INCREF(Py_None); resultobj = Py_None;
15803 {
15804 if (temp2)
15805 delete arg2;
15806 }
15807 return resultobj;
15808 fail:
15809 {
15810 if (temp2)
15811 delete arg2;
15812 }
15813 return NULL;
15814}
15815
15816
15817static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15818 PyObject *resultobj;
15819 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15820 long arg2 ;
15821 PyObject * obj0 = 0 ;
994141e6 15822 PyObject * obj1 = 0 ;
d14a1e28
RD
15823 char *kwnames[] = {
15824 (char *) "self",(char *) "style", NULL
15825 };
15826
994141e6 15827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 15828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
15829 {
15830 arg2 = (long) SWIG_PyObj_AsLong(obj1);
15831 if (PyErr_Occurred()) SWIG_fail;
15832 }
d14a1e28
RD
15833 {
15834 PyThreadState* __tstate = wxPyBeginAllowThreads();
15835 (arg1)->SetStyle(arg2);
15836
15837 wxPyEndAllowThreads(__tstate);
15838 if (PyErr_Occurred()) SWIG_fail;
15839 }
15840 Py_INCREF(Py_None); resultobj = Py_None;
15841 return resultobj;
15842 fail:
15843 return NULL;
15844}
15845
15846
15847static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15848 PyObject *resultobj;
15849 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15850 long result;
15851 PyObject * obj0 = 0 ;
15852 char *kwnames[] = {
15853 (char *) "self", NULL
15854 };
15855
15856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
15857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15858 {
15859 PyThreadState* __tstate = wxPyBeginAllowThreads();
15860 result = (long)((wxConfigBase const *)arg1)->GetStyle();
15861
15862 wxPyEndAllowThreads(__tstate);
15863 if (PyErr_Occurred()) SWIG_fail;
15864 }
994141e6 15865 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
15866 return resultobj;
15867 fail:
15868 return NULL;
15869}
15870
15871
15872static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
15873 PyObject *obj;
15874 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15875 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
15876 Py_INCREF(obj);
15877 return Py_BuildValue((char *)"");
15878}
15879static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
15880 PyObject *resultobj;
15881 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15882 wxString *arg2 = 0 ;
15883 wxConfigPathChanger *result;
e811c8ce 15884 bool temp2 = False ;
d14a1e28
RD
15885 PyObject * obj0 = 0 ;
15886 PyObject * obj1 = 0 ;
15887 char *kwnames[] = {
15888 (char *) "pContainer",(char *) "strEntry", NULL
15889 };
15890
15891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
15892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15893 {
15894 arg2 = wxString_in_helper(obj1);
15895 if (arg2 == NULL) SWIG_fail;
e811c8ce 15896 temp2 = True;
d14a1e28
RD
15897 }
15898 {
15899 PyThreadState* __tstate = wxPyBeginAllowThreads();
15900 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
15901
15902 wxPyEndAllowThreads(__tstate);
15903 if (PyErr_Occurred()) SWIG_fail;
15904 }
15905 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigPathChanger, 1);
15906 {
15907 if (temp2)
15908 delete arg2;
15909 }
15910 return resultobj;
15911 fail:
15912 {
15913 if (temp2)
15914 delete arg2;
15915 }
15916 return NULL;
15917}
15918
15919
15920static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
15921 PyObject *resultobj;
15922 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
15923 PyObject * obj0 = 0 ;
15924 char *kwnames[] = {
15925 (char *) "self", NULL
15926 };
15927
15928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
15929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15930 {
15931 PyThreadState* __tstate = wxPyBeginAllowThreads();
15932 delete arg1;
15933
15934 wxPyEndAllowThreads(__tstate);
15935 if (PyErr_Occurred()) SWIG_fail;
15936 }
15937 Py_INCREF(Py_None); resultobj = Py_None;
15938 return resultobj;
15939 fail:
15940 return NULL;
15941}
15942
15943
15944static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
15945 PyObject *resultobj;
15946 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
15947 wxString *result;
15948 PyObject * obj0 = 0 ;
15949 char *kwnames[] = {
15950 (char *) "self", NULL
15951 };
15952
15953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
15954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15955 {
15956 PyThreadState* __tstate = wxPyBeginAllowThreads();
15957 {
15958 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
15959 result = (wxString *) &_result_ref;
15960 }
15961
15962 wxPyEndAllowThreads(__tstate);
15963 if (PyErr_Occurred()) SWIG_fail;
15964 }
cc6dd355
RD
15965 {
15966#if wxUSE_UNICODE
15967 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15968#else
15969 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15970#endif
15971 }
d14a1e28
RD
15972 return resultobj;
15973 fail:
15974 return NULL;
15975}
15976
15977
15978static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
15979 PyObject *obj;
15980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15981 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
15982 Py_INCREF(obj);
15983 return Py_BuildValue((char *)"");
15984}
15985static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
15986 PyObject *resultobj;
15987 wxString const &arg1_defvalue = wxPyEmptyString ;
15988 wxString *arg1 = (wxString *) &arg1_defvalue ;
15989 wxString const &arg2_defvalue = wxPyEmptyString ;
15990 wxString *arg2 = (wxString *) &arg2_defvalue ;
15991 wxString const &arg3_defvalue = wxPyEmptyString ;
15992 wxString *arg3 = (wxString *) &arg3_defvalue ;
15993 wxString const &arg4_defvalue = wxPyEmptyString ;
15994 wxString *arg4 = (wxString *) &arg4_defvalue ;
15995 long arg5 = (long) 0 ;
15996 wxConfig *result;
e811c8ce
RD
15997 bool temp1 = False ;
15998 bool temp2 = False ;
15999 bool temp3 = False ;
16000 bool temp4 = False ;
d14a1e28
RD
16001 PyObject * obj0 = 0 ;
16002 PyObject * obj1 = 0 ;
16003 PyObject * obj2 = 0 ;
16004 PyObject * obj3 = 0 ;
994141e6 16005 PyObject * obj4 = 0 ;
d14a1e28
RD
16006 char *kwnames[] = {
16007 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16008 };
16009
994141e6 16010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
16011 if (obj0) {
16012 {
16013 arg1 = wxString_in_helper(obj0);
16014 if (arg1 == NULL) SWIG_fail;
e811c8ce 16015 temp1 = True;
d14a1e28
RD
16016 }
16017 }
16018 if (obj1) {
16019 {
16020 arg2 = wxString_in_helper(obj1);
16021 if (arg2 == NULL) SWIG_fail;
e811c8ce 16022 temp2 = True;
d14a1e28
RD
16023 }
16024 }
16025 if (obj2) {
16026 {
16027 arg3 = wxString_in_helper(obj2);
16028 if (arg3 == NULL) SWIG_fail;
e811c8ce 16029 temp3 = True;
d14a1e28
RD
16030 }
16031 }
16032 if (obj3) {
16033 {
16034 arg4 = wxString_in_helper(obj3);
16035 if (arg4 == NULL) SWIG_fail;
e811c8ce 16036 temp4 = True;
d14a1e28
RD
16037 }
16038 }
994141e6
RD
16039 if (obj4) {
16040 {
16041 arg5 = (long) SWIG_PyObj_AsLong(obj4);
16042 if (PyErr_Occurred()) SWIG_fail;
16043 }
16044 }
d14a1e28
RD
16045 {
16046 PyThreadState* __tstate = wxPyBeginAllowThreads();
16047 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16048
16049 wxPyEndAllowThreads(__tstate);
16050 if (PyErr_Occurred()) SWIG_fail;
16051 }
16052 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfig, 1);
16053 {
16054 if (temp1)
16055 delete arg1;
16056 }
16057 {
16058 if (temp2)
16059 delete arg2;
16060 }
16061 {
16062 if (temp3)
16063 delete arg3;
16064 }
16065 {
16066 if (temp4)
16067 delete arg4;
16068 }
16069 return resultobj;
16070 fail:
16071 {
16072 if (temp1)
16073 delete arg1;
16074 }
16075 {
16076 if (temp2)
16077 delete arg2;
16078 }
16079 {
16080 if (temp3)
16081 delete arg3;
16082 }
16083 {
16084 if (temp4)
16085 delete arg4;
16086 }
16087 return NULL;
16088}
16089
16090
16091static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16092 PyObject *resultobj;
16093 wxConfig *arg1 = (wxConfig *) 0 ;
16094 PyObject * obj0 = 0 ;
16095 char *kwnames[] = {
16096 (char *) "self", NULL
16097 };
16098
16099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
16100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16101 {
16102 PyThreadState* __tstate = wxPyBeginAllowThreads();
16103 delete arg1;
16104
16105 wxPyEndAllowThreads(__tstate);
16106 if (PyErr_Occurred()) SWIG_fail;
16107 }
16108 Py_INCREF(Py_None); resultobj = Py_None;
16109 return resultobj;
16110 fail:
16111 return NULL;
16112}
16113
16114
16115static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
16116 PyObject *obj;
16117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16118 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
16119 Py_INCREF(obj);
16120 return Py_BuildValue((char *)"");
16121}
16122static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16123 PyObject *resultobj;
16124 wxString const &arg1_defvalue = wxPyEmptyString ;
16125 wxString *arg1 = (wxString *) &arg1_defvalue ;
16126 wxString const &arg2_defvalue = wxPyEmptyString ;
16127 wxString *arg2 = (wxString *) &arg2_defvalue ;
16128 wxString const &arg3_defvalue = wxPyEmptyString ;
16129 wxString *arg3 = (wxString *) &arg3_defvalue ;
16130 wxString const &arg4_defvalue = wxPyEmptyString ;
16131 wxString *arg4 = (wxString *) &arg4_defvalue ;
16132 long arg5 = (long) 0 ;
16133 wxFileConfig *result;
e811c8ce
RD
16134 bool temp1 = False ;
16135 bool temp2 = False ;
16136 bool temp3 = False ;
16137 bool temp4 = False ;
d14a1e28
RD
16138 PyObject * obj0 = 0 ;
16139 PyObject * obj1 = 0 ;
16140 PyObject * obj2 = 0 ;
16141 PyObject * obj3 = 0 ;
994141e6 16142 PyObject * obj4 = 0 ;
d14a1e28
RD
16143 char *kwnames[] = {
16144 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16145 };
16146
994141e6 16147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
16148 if (obj0) {
16149 {
16150 arg1 = wxString_in_helper(obj0);
16151 if (arg1 == NULL) SWIG_fail;
e811c8ce 16152 temp1 = True;
d14a1e28
RD
16153 }
16154 }
16155 if (obj1) {
16156 {
16157 arg2 = wxString_in_helper(obj1);
16158 if (arg2 == NULL) SWIG_fail;
e811c8ce 16159 temp2 = True;
d14a1e28
RD
16160 }
16161 }
16162 if (obj2) {
16163 {
16164 arg3 = wxString_in_helper(obj2);
16165 if (arg3 == NULL) SWIG_fail;
e811c8ce 16166 temp3 = True;
d14a1e28
RD
16167 }
16168 }
16169 if (obj3) {
16170 {
16171 arg4 = wxString_in_helper(obj3);
16172 if (arg4 == NULL) SWIG_fail;
e811c8ce 16173 temp4 = True;
d14a1e28
RD
16174 }
16175 }
994141e6
RD
16176 if (obj4) {
16177 {
16178 arg5 = (long) SWIG_PyObj_AsLong(obj4);
16179 if (PyErr_Occurred()) SWIG_fail;
16180 }
16181 }
d14a1e28
RD
16182 {
16183 PyThreadState* __tstate = wxPyBeginAllowThreads();
16184 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16185
16186 wxPyEndAllowThreads(__tstate);
16187 if (PyErr_Occurred()) SWIG_fail;
16188 }
16189 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileConfig, 1);
16190 {
16191 if (temp1)
16192 delete arg1;
16193 }
16194 {
16195 if (temp2)
16196 delete arg2;
16197 }
16198 {
16199 if (temp3)
16200 delete arg3;
16201 }
16202 {
16203 if (temp4)
16204 delete arg4;
16205 }
16206 return resultobj;
16207 fail:
16208 {
16209 if (temp1)
16210 delete arg1;
16211 }
16212 {
16213 if (temp2)
16214 delete arg2;
16215 }
16216 {
16217 if (temp3)
16218 delete arg3;
16219 }
16220 {
16221 if (temp4)
16222 delete arg4;
16223 }
16224 return NULL;
16225}
16226
16227
16228static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16229 PyObject *resultobj;
16230 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
16231 PyObject * obj0 = 0 ;
16232 char *kwnames[] = {
16233 (char *) "self", NULL
16234 };
16235
16236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
16237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16238 {
16239 PyThreadState* __tstate = wxPyBeginAllowThreads();
16240 delete arg1;
16241
16242 wxPyEndAllowThreads(__tstate);
16243 if (PyErr_Occurred()) SWIG_fail;
16244 }
16245 Py_INCREF(Py_None); resultobj = Py_None;
16246 return resultobj;
16247 fail:
16248 return NULL;
16249}
16250
16251
16252static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
16253 PyObject *obj;
16254 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16255 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
16256 Py_INCREF(obj);
16257 return Py_BuildValue((char *)"");
16258}
16259static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16260 PyObject *resultobj;
16261 wxString *arg1 = 0 ;
16262 wxString result;
e811c8ce 16263 bool temp1 = False ;
d14a1e28
RD
16264 PyObject * obj0 = 0 ;
16265 char *kwnames[] = {
16266 (char *) "sz", NULL
16267 };
16268
16269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
16270 {
16271 arg1 = wxString_in_helper(obj0);
16272 if (arg1 == NULL) SWIG_fail;
e811c8ce 16273 temp1 = True;
d14a1e28
RD
16274 }
16275 {
16276 PyThreadState* __tstate = wxPyBeginAllowThreads();
16277 result = wxExpandEnvVars((wxString const &)*arg1);
16278
16279 wxPyEndAllowThreads(__tstate);
16280 if (PyErr_Occurred()) SWIG_fail;
16281 }
16282 {
16283#if wxUSE_UNICODE
16284 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16285#else
16286 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16287#endif
16288 }
16289 {
16290 if (temp1)
16291 delete arg1;
16292 }
16293 return resultobj;
16294 fail:
16295 {
16296 if (temp1)
16297 delete arg1;
16298 }
16299 return NULL;
16300}
16301
16302
b2dc1044
RD
16303static int _wrap_DateFormatStr_set(PyObject *_val) {
16304 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
16305 return 1;
16306}
16307
16308
16309static PyObject *_wrap_DateFormatStr_get() {
16310 PyObject *pyobj;
16311
16312 {
16313#if wxUSE_UNICODE
16314 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16315#else
16316 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16317#endif
16318 }
16319 return pyobj;
16320}
16321
16322
16323static int _wrap_TimeSpanFormatStr_set(PyObject *_val) {
16324 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
16325 return 1;
16326}
16327
16328
16329static PyObject *_wrap_TimeSpanFormatStr_get() {
16330 PyObject *pyobj;
16331
16332 {
16333#if wxUSE_UNICODE
16334 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16335#else
16336 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16337#endif
16338 }
16339 return pyobj;
16340}
16341
16342
d14a1e28
RD
16343static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16344 PyObject *resultobj;
16345 int arg1 ;
994141e6 16346 PyObject * obj0 = 0 ;
d14a1e28
RD
16347 char *kwnames[] = {
16348 (char *) "country", NULL
16349 };
16350
994141e6
RD
16351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
16352 {
16353 arg1 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj0);
16354 if (PyErr_Occurred()) SWIG_fail;
16355 }
d14a1e28
RD
16356 {
16357 PyThreadState* __tstate = wxPyBeginAllowThreads();
16358 wxDateTime::SetCountry((wxDateTime::Country )arg1);
16359
16360 wxPyEndAllowThreads(__tstate);
16361 if (PyErr_Occurred()) SWIG_fail;
16362 }
16363 Py_INCREF(Py_None); resultobj = Py_None;
16364 return resultobj;
16365 fail:
16366 return NULL;
16367}
16368
16369
16370static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16371 PyObject *resultobj;
16372 int result;
16373 char *kwnames[] = {
16374 NULL
16375 };
16376
16377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
16378 {
16379 PyThreadState* __tstate = wxPyBeginAllowThreads();
16380 result = (int)wxDateTime::GetCountry();
16381
16382 wxPyEndAllowThreads(__tstate);
16383 if (PyErr_Occurred()) SWIG_fail;
16384 }
994141e6 16385 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
16386 return resultobj;
16387 fail:
16388 return NULL;
16389}
16390
16391
16392static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16393 PyObject *resultobj;
16394 int arg1 = (int) wxDateTime::Country_Default ;
16395 bool result;
994141e6 16396 PyObject * obj0 = 0 ;
d14a1e28
RD
16397 char *kwnames[] = {
16398 (char *) "country", NULL
16399 };
16400
994141e6
RD
16401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
16402 if (obj0) {
16403 {
16404 arg1 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj0);
16405 if (PyErr_Occurred()) SWIG_fail;
16406 }
16407 }
d14a1e28
RD
16408 {
16409 PyThreadState* __tstate = wxPyBeginAllowThreads();
16410 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
16411
16412 wxPyEndAllowThreads(__tstate);
16413 if (PyErr_Occurred()) SWIG_fail;
16414 }
4d5c3d91 16415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16416 return resultobj;
16417 fail:
16418 return NULL;
16419}
16420
16421
16422static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16423 PyObject *resultobj;
16424 int arg1 = (int) wxDateTime::Gregorian ;
16425 int result;
994141e6 16426 PyObject * obj0 = 0 ;
d14a1e28
RD
16427 char *kwnames[] = {
16428 (char *) "cal", NULL
16429 };
16430
994141e6
RD
16431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
16432 if (obj0) {
16433 {
16434 arg1 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj0);
16435 if (PyErr_Occurred()) SWIG_fail;
16436 }
16437 }
d14a1e28
RD
16438 {
16439 PyThreadState* __tstate = wxPyBeginAllowThreads();
16440 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
16441
16442 wxPyEndAllowThreads(__tstate);
16443 if (PyErr_Occurred()) SWIG_fail;
16444 }
994141e6 16445 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
16446 return resultobj;
16447 fail:
16448 return NULL;
16449}
16450
16451
16452static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
16453 PyObject *resultobj;
16454 int arg1 ;
16455 int result;
994141e6 16456 PyObject * obj0 = 0 ;
d14a1e28
RD
16457 char *kwnames[] = {
16458 (char *) "year", NULL
16459 };
16460
994141e6
RD
16461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
16462 {
16463 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16464 if (PyErr_Occurred()) SWIG_fail;
16465 }
d14a1e28
RD
16466 {
16467 PyThreadState* __tstate = wxPyBeginAllowThreads();
16468 result = (int)wxDateTime::ConvertYearToBC(arg1);
16469
16470 wxPyEndAllowThreads(__tstate);
16471 if (PyErr_Occurred()) SWIG_fail;
16472 }
994141e6 16473 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
16474 return resultobj;
16475 fail:
16476 return NULL;
16477}
16478
16479
16480static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16481 PyObject *resultobj;
16482 int arg1 = (int) wxDateTime::Gregorian ;
16483 int result;
994141e6 16484 PyObject * obj0 = 0 ;
d14a1e28
RD
16485 char *kwnames[] = {
16486 (char *) "cal", NULL
16487 };
16488
994141e6
RD
16489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
16490 if (obj0) {
16491 {
16492 arg1 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj0);
16493 if (PyErr_Occurred()) SWIG_fail;
16494 }
16495 }
d14a1e28
RD
16496 {
16497 PyThreadState* __tstate = wxPyBeginAllowThreads();
16498 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
16499
16500 wxPyEndAllowThreads(__tstate);
16501 if (PyErr_Occurred()) SWIG_fail;
16502 }
994141e6 16503 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
16504 return resultobj;
16505 fail:
16506 return NULL;
16507}
16508
16509
16510static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16511 PyObject *resultobj;
16512 int arg1 = (int) wxDateTime::Inv_Year ;
16513 int arg2 = (int) wxDateTime::Gregorian ;
16514 bool result;
994141e6
RD
16515 PyObject * obj0 = 0 ;
16516 PyObject * obj1 = 0 ;
d14a1e28
RD
16517 char *kwnames[] = {
16518 (char *) "year",(char *) "cal", NULL
16519 };
16520
994141e6
RD
16521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
16522 if (obj0) {
16523 {
16524 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16525 if (PyErr_Occurred()) SWIG_fail;
16526 }
16527 }
16528 if (obj1) {
16529 {
16530 arg2 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj1);
16531 if (PyErr_Occurred()) SWIG_fail;
16532 }
16533 }
d14a1e28
RD
16534 {
16535 PyThreadState* __tstate = wxPyBeginAllowThreads();
16536 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
16537
16538 wxPyEndAllowThreads(__tstate);
16539 if (PyErr_Occurred()) SWIG_fail;
16540 }
4d5c3d91 16541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16542 return resultobj;
16543 fail:
16544 return NULL;
16545}
16546
16547
16548static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
16549 PyObject *resultobj;
16550 int arg1 = (int) wxDateTime::Inv_Year ;
16551 int result;
994141e6 16552 PyObject * obj0 = 0 ;
d14a1e28
RD
16553 char *kwnames[] = {
16554 (char *) "year", NULL
16555 };
16556
994141e6
RD
16557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
16558 if (obj0) {
16559 {
16560 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16561 if (PyErr_Occurred()) SWIG_fail;
16562 }
16563 }
d14a1e28
RD
16564 {
16565 PyThreadState* __tstate = wxPyBeginAllowThreads();
16566 result = (int)wxDateTime::GetCentury(arg1);
16567
16568 wxPyEndAllowThreads(__tstate);
16569 if (PyErr_Occurred()) SWIG_fail;
16570 }
994141e6 16571 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
16572 return resultobj;
16573 fail:
16574 return NULL;
16575}
16576
16577
16578static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16579 PyObject *resultobj;
16580 int arg1 ;
16581 int arg2 = (int) wxDateTime::Gregorian ;
322913ce 16582 int result;
994141e6
RD
16583 PyObject * obj0 = 0 ;
16584 PyObject * obj1 = 0 ;
d14a1e28
RD
16585 char *kwnames[] = {
16586 (char *) "year",(char *) "cal", NULL
16587 };
16588
994141e6
RD
16589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
16590 {
16591 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16592 if (PyErr_Occurred()) SWIG_fail;
16593 }
16594 if (obj1) {
16595 {
16596 arg2 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj1);
16597 if (PyErr_Occurred()) SWIG_fail;
16598 }
16599 }
d14a1e28
RD
16600 {
16601 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 16602 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
d14a1e28
RD
16603
16604 wxPyEndAllowThreads(__tstate);
16605 if (PyErr_Occurred()) SWIG_fail;
16606 }
994141e6 16607 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
16608 return resultobj;
16609 fail:
16610 return NULL;
16611}
16612
16613
16614static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16615 PyObject *resultobj;
16616 int arg1 ;
16617 int arg2 = (int) wxDateTime::Inv_Year ;
16618 int arg3 = (int) wxDateTime::Gregorian ;
322913ce 16619 int result;
994141e6
RD
16620 PyObject * obj0 = 0 ;
16621 PyObject * obj1 = 0 ;
16622 PyObject * obj2 = 0 ;
d14a1e28
RD
16623 char *kwnames[] = {
16624 (char *) "month",(char *) "year",(char *) "cal", NULL
16625 };
16626
994141e6
RD
16627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
16628 {
16629 arg1 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj0);
16630 if (PyErr_Occurred()) SWIG_fail;
16631 }
16632 if (obj1) {
16633 {
16634 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16635 if (PyErr_Occurred()) SWIG_fail;
16636 }
16637 }
16638 if (obj2) {
16639 {
16640 arg3 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj2);
16641 if (PyErr_Occurred()) SWIG_fail;
16642 }
16643 }
d14a1e28
RD
16644 {
16645 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 16646 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
d14a1e28
RD
16647
16648 wxPyEndAllowThreads(__tstate);
16649 if (PyErr_Occurred()) SWIG_fail;
16650 }
994141e6 16651 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
16652 return resultobj;
16653 fail:
16654 return NULL;
16655}
16656
16657
16658static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
16659 PyObject *resultobj;
16660 int arg1 ;
16661 int arg2 = (int) wxDateTime::Name_Full ;
16662 wxString result;
994141e6
RD
16663 PyObject * obj0 = 0 ;
16664 PyObject * obj1 = 0 ;
d14a1e28
RD
16665 char *kwnames[] = {
16666 (char *) "month",(char *) "flags", NULL
16667 };
16668
994141e6
RD
16669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
16670 {
16671 arg1 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj0);
16672 if (PyErr_Occurred()) SWIG_fail;
16673 }
16674 if (obj1) {
16675 {
16676 arg2 = (wxDateTime::NameFlags) SWIG_PyObj_AsInt(obj1);
16677 if (PyErr_Occurred()) SWIG_fail;
16678 }
16679 }
d14a1e28
RD
16680 {
16681 PyThreadState* __tstate = wxPyBeginAllowThreads();
16682 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
16683
16684 wxPyEndAllowThreads(__tstate);
16685 if (PyErr_Occurred()) SWIG_fail;
16686 }
16687 {
16688#if wxUSE_UNICODE
16689 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16690#else
16691 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16692#endif
16693 }
16694 return resultobj;
16695 fail:
16696 return NULL;
16697}
16698
16699
16700static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
16701 PyObject *resultobj;
16702 int arg1 ;
16703 int arg2 = (int) wxDateTime::Name_Full ;
16704 wxString result;
994141e6
RD
16705 PyObject * obj0 = 0 ;
16706 PyObject * obj1 = 0 ;
d14a1e28
RD
16707 char *kwnames[] = {
16708 (char *) "weekday",(char *) "flags", NULL
16709 };
16710
994141e6
RD
16711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
16712 {
16713 arg1 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj0);
16714 if (PyErr_Occurred()) SWIG_fail;
16715 }
16716 if (obj1) {
16717 {
16718 arg2 = (wxDateTime::NameFlags) SWIG_PyObj_AsInt(obj1);
16719 if (PyErr_Occurred()) SWIG_fail;
16720 }
16721 }
d14a1e28
RD
16722 {
16723 PyThreadState* __tstate = wxPyBeginAllowThreads();
16724 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
16725
16726 wxPyEndAllowThreads(__tstate);
16727 if (PyErr_Occurred()) SWIG_fail;
16728 }
16729 {
16730#if wxUSE_UNICODE
16731 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16732#else
16733 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16734#endif
16735 }
16736 return resultobj;
16737 fail:
16738 return NULL;
16739}
16740
16741
16742static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
16743 PyObject *resultobj;
16744 wxString *arg1 = (wxString *) 0 ;
16745 wxString *arg2 = (wxString *) 0 ;
7eae615b
RD
16746 bool temp1 = False ;
16747 bool temp2 = False ;
d14a1e28
RD
16748 PyObject * obj0 = 0 ;
16749 PyObject * obj1 = 0 ;
16750 char *kwnames[] = {
16751 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16752 };
16753
16754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
7eae615b
RD
16755 {
16756 arg1 = wxString_in_helper(obj0);
16757 if (arg1 == NULL) SWIG_fail;
16758 temp1 = True;
16759 }
16760 {
16761 arg2 = wxString_in_helper(obj1);
16762 if (arg2 == NULL) SWIG_fail;
16763 temp2 = True;
16764 }
d14a1e28
RD
16765 {
16766 PyThreadState* __tstate = wxPyBeginAllowThreads();
16767 wxDateTime::GetAmPmStrings(arg1,arg2);
16768
16769 wxPyEndAllowThreads(__tstate);
16770 if (PyErr_Occurred()) SWIG_fail;
16771 }
16772 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
16773 {
16774 if (temp1)
16775 delete arg1;
16776 }
16777 {
16778 if (temp2)
16779 delete arg2;
16780 }
d14a1e28
RD
16781 return resultobj;
16782 fail:
7eae615b
RD
16783 {
16784 if (temp1)
16785 delete arg1;
16786 }
16787 {
16788 if (temp2)
16789 delete arg2;
16790 }
d14a1e28
RD
16791 return NULL;
16792}
16793
16794
16795static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
16796 PyObject *resultobj;
16797 int arg1 = (int) wxDateTime::Inv_Year ;
16798 int arg2 = (int) wxDateTime::Country_Default ;
16799 bool result;
994141e6
RD
16800 PyObject * obj0 = 0 ;
16801 PyObject * obj1 = 0 ;
d14a1e28
RD
16802 char *kwnames[] = {
16803 (char *) "year",(char *) "country", NULL
16804 };
16805
994141e6
RD
16806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
16807 if (obj0) {
16808 {
16809 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16810 if (PyErr_Occurred()) SWIG_fail;
16811 }
16812 }
16813 if (obj1) {
16814 {
16815 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
16816 if (PyErr_Occurred()) SWIG_fail;
16817 }
16818 }
d14a1e28
RD
16819 {
16820 PyThreadState* __tstate = wxPyBeginAllowThreads();
16821 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
16822
16823 wxPyEndAllowThreads(__tstate);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
4d5c3d91 16826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16827 return resultobj;
16828 fail:
16829 return NULL;
16830}
16831
16832
16833static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
16834 PyObject *resultobj;
16835 int arg1 = (int) wxDateTime::Inv_Year ;
16836 int arg2 = (int) wxDateTime::Country_Default ;
16837 wxDateTime result;
994141e6
RD
16838 PyObject * obj0 = 0 ;
16839 PyObject * obj1 = 0 ;
d14a1e28
RD
16840 char *kwnames[] = {
16841 (char *) "year",(char *) "country", NULL
16842 };
16843
994141e6
RD
16844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
16845 if (obj0) {
16846 {
16847 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16848 if (PyErr_Occurred()) SWIG_fail;
16849 }
16850 }
16851 if (obj1) {
16852 {
16853 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
16854 if (PyErr_Occurred()) SWIG_fail;
16855 }
16856 }
d14a1e28
RD
16857 {
16858 PyThreadState* __tstate = wxPyBeginAllowThreads();
16859 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
16860
16861 wxPyEndAllowThreads(__tstate);
16862 if (PyErr_Occurred()) SWIG_fail;
16863 }
16864 {
16865 wxDateTime * resultptr;
16866 resultptr = new wxDateTime((wxDateTime &) result);
16867 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16868 }
16869 return resultobj;
16870 fail:
16871 return NULL;
16872}
16873
16874
16875static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
16876 PyObject *resultobj;
16877 int arg1 = (int) wxDateTime::Inv_Year ;
16878 int arg2 = (int) wxDateTime::Country_Default ;
16879 wxDateTime result;
994141e6
RD
16880 PyObject * obj0 = 0 ;
16881 PyObject * obj1 = 0 ;
d14a1e28
RD
16882 char *kwnames[] = {
16883 (char *) "year",(char *) "country", NULL
16884 };
16885
994141e6
RD
16886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
16887 if (obj0) {
16888 {
16889 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16890 if (PyErr_Occurred()) SWIG_fail;
16891 }
16892 }
16893 if (obj1) {
16894 {
16895 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
16896 if (PyErr_Occurred()) SWIG_fail;
16897 }
16898 }
d14a1e28
RD
16899 {
16900 PyThreadState* __tstate = wxPyBeginAllowThreads();
16901 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
16902
16903 wxPyEndAllowThreads(__tstate);
16904 if (PyErr_Occurred()) SWIG_fail;
16905 }
16906 {
16907 wxDateTime * resultptr;
16908 resultptr = new wxDateTime((wxDateTime &) result);
16909 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16910 }
16911 return resultobj;
16912 fail:
16913 return NULL;
16914}
16915
16916
16917static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
16918 PyObject *resultobj;
16919 wxDateTime result;
16920 char *kwnames[] = {
16921 NULL
16922 };
16923
16924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
16925 {
16926 PyThreadState* __tstate = wxPyBeginAllowThreads();
16927 result = wxDateTime::Now();
16928
16929 wxPyEndAllowThreads(__tstate);
16930 if (PyErr_Occurred()) SWIG_fail;
16931 }
16932 {
16933 wxDateTime * resultptr;
16934 resultptr = new wxDateTime((wxDateTime &) result);
16935 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16936 }
16937 return resultobj;
16938 fail:
16939 return NULL;
16940}
16941
16942
16943static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
16944 PyObject *resultobj;
16945 wxDateTime result;
16946 char *kwnames[] = {
16947 NULL
16948 };
16949
16950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
16951 {
16952 PyThreadState* __tstate = wxPyBeginAllowThreads();
16953 result = wxDateTime::UNow();
16954
16955 wxPyEndAllowThreads(__tstate);
16956 if (PyErr_Occurred()) SWIG_fail;
16957 }
16958 {
16959 wxDateTime * resultptr;
16960 resultptr = new wxDateTime((wxDateTime &) result);
16961 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16962 }
16963 return resultobj;
16964 fail:
16965 return NULL;
16966}
16967
16968
16969static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
16970 PyObject *resultobj;
16971 wxDateTime result;
16972 char *kwnames[] = {
16973 NULL
16974 };
16975
16976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
16977 {
16978 PyThreadState* __tstate = wxPyBeginAllowThreads();
16979 result = wxDateTime::Today();
16980
16981 wxPyEndAllowThreads(__tstate);
16982 if (PyErr_Occurred()) SWIG_fail;
16983 }
16984 {
16985 wxDateTime * resultptr;
16986 resultptr = new wxDateTime((wxDateTime &) result);
16987 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16988 }
16989 return resultobj;
16990 fail:
16991 return NULL;
16992}
16993
16994
16995static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
16996 PyObject *resultobj;
16997 wxDateTime *result;
16998 char *kwnames[] = {
16999 NULL
17000 };
17001
17002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
17003 {
17004 PyThreadState* __tstate = wxPyBeginAllowThreads();
17005 result = (wxDateTime *)new wxDateTime();
17006
17007 wxPyEndAllowThreads(__tstate);
17008 if (PyErr_Occurred()) SWIG_fail;
17009 }
17010 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
17011 return resultobj;
17012 fail:
17013 return NULL;
17014}
17015
17016
17017static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17018 PyObject *resultobj;
17019 time_t arg1 ;
17020 wxDateTime *result;
17021 PyObject * obj0 = 0 ;
17022 char *kwnames[] = {
17023 (char *) "timet", NULL
17024 };
17025
17026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
a41e16b6 17027 {
994141e6 17028 arg1 = (time_t) SWIG_PyObj_AsUnsignedInt(obj0);
a41e16b6
RD
17029 if (PyErr_Occurred()) SWIG_fail;
17030 }
d14a1e28
RD
17031 {
17032 PyThreadState* __tstate = wxPyBeginAllowThreads();
17033 result = (wxDateTime *)new wxDateTime(arg1);
17034
17035 wxPyEndAllowThreads(__tstate);
17036 if (PyErr_Occurred()) SWIG_fail;
17037 }
17038 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
17039 return resultobj;
17040 fail:
17041 return NULL;
17042}
17043
17044
17045static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17046 PyObject *resultobj;
17047 double arg1 ;
17048 wxDateTime *result;
994141e6 17049 PyObject * obj0 = 0 ;
d14a1e28
RD
17050 char *kwnames[] = {
17051 (char *) "jdn", NULL
17052 };
17053
994141e6
RD
17054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
17055 {
17056 arg1 = (double) SWIG_PyObj_AsDouble(obj0);
17057 if (PyErr_Occurred()) SWIG_fail;
17058 }
d14a1e28
RD
17059 {
17060 PyThreadState* __tstate = wxPyBeginAllowThreads();
17061 result = (wxDateTime *)new wxDateTime(arg1);
17062
17063 wxPyEndAllowThreads(__tstate);
17064 if (PyErr_Occurred()) SWIG_fail;
17065 }
17066 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
17067 return resultobj;
17068 fail:
17069 return NULL;
17070}
17071
17072
17073static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17074 PyObject *resultobj;
322913ce
RD
17075 int arg1 ;
17076 int arg2 = (int) 0 ;
17077 int arg3 = (int) 0 ;
17078 int arg4 = (int) 0 ;
d14a1e28 17079 wxDateTime *result;
994141e6
RD
17080 PyObject * obj0 = 0 ;
17081 PyObject * obj1 = 0 ;
17082 PyObject * obj2 = 0 ;
17083 PyObject * obj3 = 0 ;
d14a1e28
RD
17084 char *kwnames[] = {
17085 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17086 };
17087
994141e6
RD
17088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17089 {
17090 arg1 = (int) SWIG_PyObj_AsInt(obj0);
17091 if (PyErr_Occurred()) SWIG_fail;
17092 }
17093 if (obj1) {
17094 {
17095 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17096 if (PyErr_Occurred()) SWIG_fail;
17097 }
17098 }
17099 if (obj2) {
17100 {
17101 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17102 if (PyErr_Occurred()) SWIG_fail;
17103 }
17104 }
17105 if (obj3) {
17106 {
17107 arg4 = (int) SWIG_PyObj_AsInt(obj3);
17108 if (PyErr_Occurred()) SWIG_fail;
17109 }
17110 }
d14a1e28
RD
17111 {
17112 PyThreadState* __tstate = wxPyBeginAllowThreads();
17113 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
17114
17115 wxPyEndAllowThreads(__tstate);
17116 if (PyErr_Occurred()) SWIG_fail;
17117 }
17118 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
17119 return resultobj;
17120 fail:
17121 return NULL;
17122}
17123
17124
17125static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
17126 PyObject *resultobj;
322913ce 17127 int arg1 ;
d14a1e28
RD
17128 int arg2 = (int) wxDateTime::Inv_Month ;
17129 int arg3 = (int) wxDateTime::Inv_Year ;
322913ce
RD
17130 int arg4 = (int) 0 ;
17131 int arg5 = (int) 0 ;
17132 int arg6 = (int) 0 ;
17133 int arg7 = (int) 0 ;
d14a1e28 17134 wxDateTime *result;
994141e6
RD
17135 PyObject * obj0 = 0 ;
17136 PyObject * obj1 = 0 ;
17137 PyObject * obj2 = 0 ;
17138 PyObject * obj3 = 0 ;
17139 PyObject * obj4 = 0 ;
17140 PyObject * obj5 = 0 ;
17141 PyObject * obj6 = 0 ;
d14a1e28
RD
17142 char *kwnames[] = {
17143 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17144 };
17145
994141e6
RD
17146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17147 {
17148 arg1 = (int) SWIG_PyObj_AsInt(obj0);
17149 if (PyErr_Occurred()) SWIG_fail;
17150 }
17151 if (obj1) {
17152 {
17153 arg2 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj1);
17154 if (PyErr_Occurred()) SWIG_fail;
17155 }
17156 }
17157 if (obj2) {
17158 {
17159 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17160 if (PyErr_Occurred()) SWIG_fail;
17161 }
17162 }
17163 if (obj3) {
17164 {
17165 arg4 = (int) SWIG_PyObj_AsInt(obj3);
17166 if (PyErr_Occurred()) SWIG_fail;
17167 }
17168 }
17169 if (obj4) {
17170 {
17171 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17172 if (PyErr_Occurred()) SWIG_fail;
17173 }
17174 }
17175 if (obj5) {
17176 {
17177 arg6 = (int) SWIG_PyObj_AsInt(obj5);
17178 if (PyErr_Occurred()) SWIG_fail;
17179 }
17180 }
17181 if (obj6) {
17182 {
17183 arg7 = (int) SWIG_PyObj_AsInt(obj6);
17184 if (PyErr_Occurred()) SWIG_fail;
17185 }
17186 }
d14a1e28
RD
17187 {
17188 PyThreadState* __tstate = wxPyBeginAllowThreads();
17189 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
17190
17191 wxPyEndAllowThreads(__tstate);
17192 if (PyErr_Occurred()) SWIG_fail;
17193 }
17194 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
17195 return resultobj;
17196 fail:
17197 return NULL;
17198}
17199
17200
17201static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17202 PyObject *resultobj;
17203 wxDateTime *arg1 = (wxDateTime *) 0 ;
17204 PyObject * obj0 = 0 ;
17205 char *kwnames[] = {
17206 (char *) "self", NULL
17207 };
17208
17209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
17210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17211 {
17212 PyThreadState* __tstate = wxPyBeginAllowThreads();
17213 delete arg1;
17214
17215 wxPyEndAllowThreads(__tstate);
17216 if (PyErr_Occurred()) SWIG_fail;
17217 }
17218 Py_INCREF(Py_None); resultobj = Py_None;
17219 return resultobj;
17220 fail:
17221 return NULL;
17222}
17223
17224
17225static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
17226 PyObject *resultobj;
17227 wxDateTime *arg1 = (wxDateTime *) 0 ;
17228 wxDateTime *result;
17229 PyObject * obj0 = 0 ;
17230 char *kwnames[] = {
17231 (char *) "self", NULL
17232 };
17233
17234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
17235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17236 {
17237 PyThreadState* __tstate = wxPyBeginAllowThreads();
17238 {
17239 wxDateTime &_result_ref = (arg1)->SetToCurrent();
17240 result = (wxDateTime *) &_result_ref;
17241 }
17242
17243 wxPyEndAllowThreads(__tstate);
17244 if (PyErr_Occurred()) SWIG_fail;
17245 }
17246 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17247 return resultobj;
17248 fail:
17249 return NULL;
17250}
17251
17252
17253static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17254 PyObject *resultobj;
17255 wxDateTime *arg1 = (wxDateTime *) 0 ;
17256 time_t arg2 ;
17257 wxDateTime *result;
17258 PyObject * obj0 = 0 ;
17259 PyObject * obj1 = 0 ;
17260 char *kwnames[] = {
17261 (char *) "self",(char *) "timet", NULL
17262 };
17263
17264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
17265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
a41e16b6 17266 {
994141e6 17267 arg2 = (time_t) SWIG_PyObj_AsUnsignedInt(obj1);
a41e16b6
RD
17268 if (PyErr_Occurred()) SWIG_fail;
17269 }
d14a1e28
RD
17270 {
17271 PyThreadState* __tstate = wxPyBeginAllowThreads();
17272 {
17273 wxDateTime &_result_ref = (arg1)->Set(arg2);
17274 result = (wxDateTime *) &_result_ref;
17275 }
17276
17277 wxPyEndAllowThreads(__tstate);
17278 if (PyErr_Occurred()) SWIG_fail;
17279 }
17280 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17281 return resultobj;
17282 fail:
17283 return NULL;
17284}
17285
17286
17287static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17288 PyObject *resultobj;
17289 wxDateTime *arg1 = (wxDateTime *) 0 ;
17290 double arg2 ;
17291 wxDateTime *result;
17292 PyObject * obj0 = 0 ;
994141e6 17293 PyObject * obj1 = 0 ;
d14a1e28
RD
17294 char *kwnames[] = {
17295 (char *) "self",(char *) "jdn", NULL
17296 };
17297
994141e6 17298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
17300 {
17301 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17302 if (PyErr_Occurred()) SWIG_fail;
17303 }
d14a1e28
RD
17304 {
17305 PyThreadState* __tstate = wxPyBeginAllowThreads();
17306 {
17307 wxDateTime &_result_ref = (arg1)->Set(arg2);
17308 result = (wxDateTime *) &_result_ref;
17309 }
17310
17311 wxPyEndAllowThreads(__tstate);
17312 if (PyErr_Occurred()) SWIG_fail;
17313 }
17314 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17315 return resultobj;
17316 fail:
17317 return NULL;
17318}
17319
17320
17321static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17322 PyObject *resultobj;
17323 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce
RD
17324 int arg2 ;
17325 int arg3 = (int) 0 ;
17326 int arg4 = (int) 0 ;
17327 int arg5 = (int) 0 ;
d14a1e28
RD
17328 wxDateTime *result;
17329 PyObject * obj0 = 0 ;
994141e6
RD
17330 PyObject * obj1 = 0 ;
17331 PyObject * obj2 = 0 ;
17332 PyObject * obj3 = 0 ;
17333 PyObject * obj4 = 0 ;
d14a1e28
RD
17334 char *kwnames[] = {
17335 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17336 };
17337
994141e6 17338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28 17339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
17340 {
17341 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17342 if (PyErr_Occurred()) SWIG_fail;
17343 }
17344 if (obj2) {
17345 {
17346 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17347 if (PyErr_Occurred()) SWIG_fail;
17348 }
17349 }
17350 if (obj3) {
17351 {
17352 arg4 = (int) SWIG_PyObj_AsInt(obj3);
17353 if (PyErr_Occurred()) SWIG_fail;
17354 }
17355 }
17356 if (obj4) {
17357 {
17358 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17359 if (PyErr_Occurred()) SWIG_fail;
17360 }
17361 }
d14a1e28
RD
17362 {
17363 PyThreadState* __tstate = wxPyBeginAllowThreads();
17364 {
17365 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
17366 result = (wxDateTime *) &_result_ref;
17367 }
17368
17369 wxPyEndAllowThreads(__tstate);
17370 if (PyErr_Occurred()) SWIG_fail;
17371 }
17372 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17373 return resultobj;
17374 fail:
17375 return NULL;
17376}
17377
17378
17379static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
17380 PyObject *resultobj;
17381 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 17382 int arg2 ;
d14a1e28
RD
17383 int arg3 = (int) wxDateTime::Inv_Month ;
17384 int arg4 = (int) wxDateTime::Inv_Year ;
322913ce
RD
17385 int arg5 = (int) 0 ;
17386 int arg6 = (int) 0 ;
17387 int arg7 = (int) 0 ;
17388 int arg8 = (int) 0 ;
d14a1e28
RD
17389 wxDateTime *result;
17390 PyObject * obj0 = 0 ;
994141e6
RD
17391 PyObject * obj1 = 0 ;
17392 PyObject * obj2 = 0 ;
17393 PyObject * obj3 = 0 ;
17394 PyObject * obj4 = 0 ;
17395 PyObject * obj5 = 0 ;
17396 PyObject * obj6 = 0 ;
17397 PyObject * obj7 = 0 ;
d14a1e28
RD
17398 char *kwnames[] = {
17399 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17400 };
17401
994141e6 17402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d14a1e28 17403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
17404 {
17405 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17406 if (PyErr_Occurred()) SWIG_fail;
17407 }
17408 if (obj2) {
17409 {
17410 arg3 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj2);
17411 if (PyErr_Occurred()) SWIG_fail;
17412 }
17413 }
17414 if (obj3) {
17415 {
17416 arg4 = (int) SWIG_PyObj_AsInt(obj3);
17417 if (PyErr_Occurred()) SWIG_fail;
17418 }
17419 }
17420 if (obj4) {
17421 {
17422 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17423 if (PyErr_Occurred()) SWIG_fail;
17424 }
17425 }
17426 if (obj5) {
17427 {
17428 arg6 = (int) SWIG_PyObj_AsInt(obj5);
17429 if (PyErr_Occurred()) SWIG_fail;
17430 }
17431 }
17432 if (obj6) {
17433 {
17434 arg7 = (int) SWIG_PyObj_AsInt(obj6);
17435 if (PyErr_Occurred()) SWIG_fail;
17436 }
17437 }
17438 if (obj7) {
17439 {
17440 arg8 = (int) SWIG_PyObj_AsInt(obj7);
17441 if (PyErr_Occurred()) SWIG_fail;
17442 }
17443 }
d14a1e28
RD
17444 {
17445 PyThreadState* __tstate = wxPyBeginAllowThreads();
17446 {
17447 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
17448 result = (wxDateTime *) &_result_ref;
17449 }
17450
17451 wxPyEndAllowThreads(__tstate);
17452 if (PyErr_Occurred()) SWIG_fail;
17453 }
17454 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17455 return resultobj;
17456 fail:
17457 return NULL;
17458}
17459
17460
17461static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17462 PyObject *resultobj;
17463 wxDateTime *arg1 = (wxDateTime *) 0 ;
17464 wxDateTime *result;
17465 PyObject * obj0 = 0 ;
17466 char *kwnames[] = {
17467 (char *) "self", NULL
17468 };
17469
17470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
17471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17472 {
17473 PyThreadState* __tstate = wxPyBeginAllowThreads();
17474 {
17475 wxDateTime &_result_ref = (arg1)->ResetTime();
17476 result = (wxDateTime *) &_result_ref;
17477 }
17478
17479 wxPyEndAllowThreads(__tstate);
17480 if (PyErr_Occurred()) SWIG_fail;
17481 }
17482 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17483 return resultobj;
17484 fail:
17485 return NULL;
17486}
17487
17488
17489static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17490 PyObject *resultobj;
17491 wxDateTime *arg1 = (wxDateTime *) 0 ;
17492 int arg2 ;
17493 wxDateTime *result;
17494 PyObject * obj0 = 0 ;
994141e6 17495 PyObject * obj1 = 0 ;
d14a1e28
RD
17496 char *kwnames[] = {
17497 (char *) "self",(char *) "year", NULL
17498 };
17499
994141e6 17500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
17502 {
17503 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17504 if (PyErr_Occurred()) SWIG_fail;
17505 }
d14a1e28
RD
17506 {
17507 PyThreadState* __tstate = wxPyBeginAllowThreads();
17508 {
17509 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
17510 result = (wxDateTime *) &_result_ref;
17511 }
17512
17513 wxPyEndAllowThreads(__tstate);
17514 if (PyErr_Occurred()) SWIG_fail;
17515 }
17516 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17517 return resultobj;
17518 fail:
17519 return NULL;
17520}
17521
17522
17523static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17524 PyObject *resultobj;
17525 wxDateTime *arg1 = (wxDateTime *) 0 ;
17526 int arg2 ;
17527 wxDateTime *result;
17528 PyObject * obj0 = 0 ;
994141e6 17529 PyObject * obj1 = 0 ;
d14a1e28
RD
17530 char *kwnames[] = {
17531 (char *) "self",(char *) "month", NULL
17532 };
17533
994141e6 17534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
17536 {
17537 arg2 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj1);
17538 if (PyErr_Occurred()) SWIG_fail;
17539 }
d14a1e28
RD
17540 {
17541 PyThreadState* __tstate = wxPyBeginAllowThreads();
17542 {
17543 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
17544 result = (wxDateTime *) &_result_ref;
17545 }
17546
17547 wxPyEndAllowThreads(__tstate);
17548 if (PyErr_Occurred()) SWIG_fail;
17549 }
17550 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17551 return resultobj;
17552 fail:
17553 return NULL;
17554}
17555
17556
17557static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17558 PyObject *resultobj;
17559 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 17560 int arg2 ;
d14a1e28
RD
17561 wxDateTime *result;
17562 PyObject * obj0 = 0 ;
994141e6 17563 PyObject * obj1 = 0 ;
d14a1e28
RD
17564 char *kwnames[] = {
17565 (char *) "self",(char *) "day", NULL
17566 };
17567
994141e6 17568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
17570 {
17571 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17572 if (PyErr_Occurred()) SWIG_fail;
17573 }
d14a1e28
RD
17574 {
17575 PyThreadState* __tstate = wxPyBeginAllowThreads();
17576 {
17577 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
17578 result = (wxDateTime *) &_result_ref;
17579 }
17580
17581 wxPyEndAllowThreads(__tstate);
17582 if (PyErr_Occurred()) SWIG_fail;
17583 }
17584 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17585 return resultobj;
17586 fail:
17587 return NULL;
17588}
17589
17590
17591static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17592 PyObject *resultobj;
17593 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 17594 int arg2 ;
d14a1e28
RD
17595 wxDateTime *result;
17596 PyObject * obj0 = 0 ;
994141e6 17597 PyObject * obj1 = 0 ;
d14a1e28
RD
17598 char *kwnames[] = {
17599 (char *) "self",(char *) "hour", NULL
17600 };
17601
994141e6 17602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
17604 {
17605 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17606 if (PyErr_Occurred()) SWIG_fail;
17607 }
d14a1e28
RD
17608 {
17609 PyThreadState* __tstate = wxPyBeginAllowThreads();
17610 {
17611 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
17612 result = (wxDateTime *) &_result_ref;
17613 }
17614
17615 wxPyEndAllowThreads(__tstate);
17616 if (PyErr_Occurred()) SWIG_fail;
17617 }
17618 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17619 return resultobj;
17620 fail:
17621 return NULL;
17622}
17623
17624
17625static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17626 PyObject *resultobj;
17627 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 17628 int arg2 ;
d14a1e28
RD
17629 wxDateTime *result;
17630 PyObject * obj0 = 0 ;
994141e6 17631 PyObject * obj1 = 0 ;
d14a1e28
RD
17632 char *kwnames[] = {
17633 (char *) "self",(char *) "minute", NULL
17634 };
17635
994141e6 17636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
17638 {
17639 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17640 if (PyErr_Occurred()) SWIG_fail;
17641 }
d14a1e28
RD
17642 {
17643 PyThreadState* __tstate = wxPyBeginAllowThreads();
17644 {
17645 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
17646 result = (wxDateTime *) &_result_ref;
17647 }
17648
17649 wxPyEndAllowThreads(__tstate);
17650 if (PyErr_Occurred()) SWIG_fail;
17651 }
17652 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17653 return resultobj;
17654 fail:
17655 return NULL;
17656}
17657
17658
17659static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17660 PyObject *resultobj;
17661 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 17662 int arg2 ;
d14a1e28
RD
17663 wxDateTime *result;
17664 PyObject * obj0 = 0 ;
994141e6 17665 PyObject * obj1 = 0 ;
d14a1e28
RD
17666 char *kwnames[] = {
17667 (char *) "self",(char *) "second", NULL
17668 };
17669
994141e6 17670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
17672 {
17673 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17674 if (PyErr_Occurred()) SWIG_fail;
17675 }
d14a1e28
RD
17676 {
17677 PyThreadState* __tstate = wxPyBeginAllowThreads();
17678 {
17679 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
17680 result = (wxDateTime *) &_result_ref;
17681 }
17682
17683 wxPyEndAllowThreads(__tstate);
17684 if (PyErr_Occurred()) SWIG_fail;
17685 }
17686 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17687 return resultobj;
17688 fail:
17689 return NULL;
17690}
17691
17692
17693static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17694 PyObject *resultobj;
17695 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 17696 int arg2 ;
d14a1e28
RD
17697 wxDateTime *result;
17698 PyObject * obj0 = 0 ;
994141e6 17699 PyObject * obj1 = 0 ;
d14a1e28
RD
17700 char *kwnames[] = {
17701 (char *) "self",(char *) "millisecond", NULL
17702 };
17703
994141e6 17704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
17706 {
17707 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17708 if (PyErr_Occurred()) SWIG_fail;
17709 }
d14a1e28
RD
17710 {
17711 PyThreadState* __tstate = wxPyBeginAllowThreads();
17712 {
17713 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
17714 result = (wxDateTime *) &_result_ref;
17715 }
17716
17717 wxPyEndAllowThreads(__tstate);
17718 if (PyErr_Occurred()) SWIG_fail;
17719 }
17720 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17721 return resultobj;
17722 fail:
17723 return NULL;
17724}
17725
17726
17727static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
17728 PyObject *resultobj;
17729 wxDateTime *arg1 = (wxDateTime *) 0 ;
17730 int arg2 ;
17731 int arg3 = (int) wxDateTime::Monday_First ;
17732 wxDateTime *result;
17733 PyObject * obj0 = 0 ;
994141e6
RD
17734 PyObject * obj1 = 0 ;
17735 PyObject * obj2 = 0 ;
d14a1e28
RD
17736 char *kwnames[] = {
17737 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17738 };
17739
994141e6 17740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 17741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
17742 {
17743 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17744 if (PyErr_Occurred()) SWIG_fail;
17745 }
17746 if (obj2) {
17747 {
17748 arg3 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj2);
17749 if (PyErr_Occurred()) SWIG_fail;
17750 }
17751 }
d14a1e28
RD
17752 {
17753 PyThreadState* __tstate = wxPyBeginAllowThreads();
17754 {
17755 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
17756 result = (wxDateTime *) &_result_ref;
17757 }
17758
17759 wxPyEndAllowThreads(__tstate);
17760 if (PyErr_Occurred()) SWIG_fail;
17761 }
17762 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17763 return resultobj;
17764 fail:
17765 return NULL;
17766}
17767
17768
17769static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
17770 PyObject *resultobj;
17771 wxDateTime *arg1 = (wxDateTime *) 0 ;
17772 int arg2 ;
17773 int arg3 = (int) wxDateTime::Monday_First ;
17774 wxDateTime result;
17775 PyObject * obj0 = 0 ;
994141e6
RD
17776 PyObject * obj1 = 0 ;
17777 PyObject * obj2 = 0 ;
d14a1e28
RD
17778 char *kwnames[] = {
17779 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17780 };
17781
994141e6 17782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 17783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
17784 {
17785 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17786 if (PyErr_Occurred()) SWIG_fail;
17787 }
17788 if (obj2) {
17789 {
17790 arg3 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj2);
17791 if (PyErr_Occurred()) SWIG_fail;
17792 }
17793 }
d14a1e28
RD
17794 {
17795 PyThreadState* __tstate = wxPyBeginAllowThreads();
17796 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
17797
17798 wxPyEndAllowThreads(__tstate);
17799 if (PyErr_Occurred()) SWIG_fail;
17800 }
17801 {
17802 wxDateTime * resultptr;
17803 resultptr = new wxDateTime((wxDateTime &) result);
17804 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17805 }
17806 return resultobj;
17807 fail:
17808 return NULL;
17809}
17810
17811
17812static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17813 PyObject *resultobj;
17814 wxDateTime *arg1 = (wxDateTime *) 0 ;
17815 int arg2 ;
17816 wxDateTime *result;
17817 PyObject * obj0 = 0 ;
994141e6 17818 PyObject * obj1 = 0 ;
d14a1e28
RD
17819 char *kwnames[] = {
17820 (char *) "self",(char *) "weekday", NULL
17821 };
17822
994141e6 17823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
17825 {
17826 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17827 if (PyErr_Occurred()) SWIG_fail;
17828 }
d14a1e28
RD
17829 {
17830 PyThreadState* __tstate = wxPyBeginAllowThreads();
17831 {
17832 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
17833 result = (wxDateTime *) &_result_ref;
17834 }
17835
17836 wxPyEndAllowThreads(__tstate);
17837 if (PyErr_Occurred()) SWIG_fail;
17838 }
17839 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17840 return resultobj;
17841 fail:
17842 return NULL;
17843}
17844
17845
17846static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17847 PyObject *resultobj;
17848 wxDateTime *arg1 = (wxDateTime *) 0 ;
17849 int arg2 ;
17850 wxDateTime result;
17851 PyObject * obj0 = 0 ;
994141e6 17852 PyObject * obj1 = 0 ;
d14a1e28
RD
17853 char *kwnames[] = {
17854 (char *) "self",(char *) "weekday", NULL
17855 };
17856
994141e6 17857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
17859 {
17860 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17861 if (PyErr_Occurred()) SWIG_fail;
17862 }
d14a1e28
RD
17863 {
17864 PyThreadState* __tstate = wxPyBeginAllowThreads();
17865 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
17866
17867 wxPyEndAllowThreads(__tstate);
17868 if (PyErr_Occurred()) SWIG_fail;
17869 }
17870 {
17871 wxDateTime * resultptr;
17872 resultptr = new wxDateTime((wxDateTime &) result);
17873 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17874 }
17875 return resultobj;
17876 fail:
17877 return NULL;
17878}
17879
17880
17881static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17882 PyObject *resultobj;
17883 wxDateTime *arg1 = (wxDateTime *) 0 ;
17884 int arg2 ;
17885 wxDateTime *result;
17886 PyObject * obj0 = 0 ;
994141e6 17887 PyObject * obj1 = 0 ;
d14a1e28
RD
17888 char *kwnames[] = {
17889 (char *) "self",(char *) "weekday", NULL
17890 };
17891
994141e6 17892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
17894 {
17895 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17896 if (PyErr_Occurred()) SWIG_fail;
17897 }
d14a1e28
RD
17898 {
17899 PyThreadState* __tstate = wxPyBeginAllowThreads();
17900 {
17901 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
17902 result = (wxDateTime *) &_result_ref;
17903 }
17904
17905 wxPyEndAllowThreads(__tstate);
17906 if (PyErr_Occurred()) SWIG_fail;
17907 }
17908 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17909 return resultobj;
17910 fail:
17911 return NULL;
17912}
17913
17914
17915static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17916 PyObject *resultobj;
17917 wxDateTime *arg1 = (wxDateTime *) 0 ;
17918 int arg2 ;
17919 wxDateTime result;
17920 PyObject * obj0 = 0 ;
994141e6 17921 PyObject * obj1 = 0 ;
d14a1e28
RD
17922 char *kwnames[] = {
17923 (char *) "self",(char *) "weekday", NULL
17924 };
17925
994141e6 17926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
17928 {
17929 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17930 if (PyErr_Occurred()) SWIG_fail;
17931 }
d14a1e28
RD
17932 {
17933 PyThreadState* __tstate = wxPyBeginAllowThreads();
17934 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
17935
17936 wxPyEndAllowThreads(__tstate);
17937 if (PyErr_Occurred()) SWIG_fail;
17938 }
17939 {
17940 wxDateTime * resultptr;
17941 resultptr = new wxDateTime((wxDateTime &) result);
17942 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17943 }
17944 return resultobj;
17945 fail:
17946 return NULL;
17947}
17948
17949
17950static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17951 PyObject *resultobj;
17952 wxDateTime *arg1 = (wxDateTime *) 0 ;
17953 int arg2 ;
17954 int arg3 = (int) 1 ;
17955 int arg4 = (int) wxDateTime::Inv_Month ;
17956 int arg5 = (int) wxDateTime::Inv_Year ;
17957 bool result;
17958 PyObject * obj0 = 0 ;
994141e6
RD
17959 PyObject * obj1 = 0 ;
17960 PyObject * obj2 = 0 ;
17961 PyObject * obj3 = 0 ;
17962 PyObject * obj4 = 0 ;
d14a1e28
RD
17963 char *kwnames[] = {
17964 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
17965 };
17966
994141e6 17967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28 17968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
17969 {
17970 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17971 if (PyErr_Occurred()) SWIG_fail;
17972 }
17973 if (obj2) {
17974 {
17975 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17976 if (PyErr_Occurred()) SWIG_fail;
17977 }
17978 }
17979 if (obj3) {
17980 {
17981 arg4 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj3);
17982 if (PyErr_Occurred()) SWIG_fail;
17983 }
17984 }
17985 if (obj4) {
17986 {
17987 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17988 if (PyErr_Occurred()) SWIG_fail;
17989 }
17990 }
d14a1e28
RD
17991 {
17992 PyThreadState* __tstate = wxPyBeginAllowThreads();
17993 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
17994
17995 wxPyEndAllowThreads(__tstate);
17996 if (PyErr_Occurred()) SWIG_fail;
17997 }
4d5c3d91 17998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17999 return resultobj;
18000 fail:
18001 return NULL;
18002}
18003
18004
18005static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18006 PyObject *resultobj;
18007 wxDateTime *arg1 = (wxDateTime *) 0 ;
18008 int arg2 ;
18009 int arg3 = (int) wxDateTime::Inv_Month ;
18010 int arg4 = (int) wxDateTime::Inv_Year ;
18011 bool result;
18012 PyObject * obj0 = 0 ;
994141e6
RD
18013 PyObject * obj1 = 0 ;
18014 PyObject * obj2 = 0 ;
18015 PyObject * obj3 = 0 ;
d14a1e28
RD
18016 char *kwnames[] = {
18017 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18018 };
18019
994141e6 18020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 18021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
18022 {
18023 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
18024 if (PyErr_Occurred()) SWIG_fail;
18025 }
18026 if (obj2) {
18027 {
18028 arg3 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj2);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 }
18031 }
18032 if (obj3) {
18033 {
18034 arg4 = (int) SWIG_PyObj_AsInt(obj3);
18035 if (PyErr_Occurred()) SWIG_fail;
18036 }
18037 }
d14a1e28
RD
18038 {
18039 PyThreadState* __tstate = wxPyBeginAllowThreads();
18040 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18041
18042 wxPyEndAllowThreads(__tstate);
18043 if (PyErr_Occurred()) SWIG_fail;
18044 }
4d5c3d91 18045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18046 return resultobj;
18047 fail:
18048 return NULL;
18049}
18050
18051
18052static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18053 PyObject *resultobj;
18054 wxDateTime *arg1 = (wxDateTime *) 0 ;
18055 int arg2 ;
18056 int arg3 = (int) wxDateTime::Inv_Month ;
18057 int arg4 = (int) wxDateTime::Inv_Year ;
18058 wxDateTime result;
18059 PyObject * obj0 = 0 ;
994141e6
RD
18060 PyObject * obj1 = 0 ;
18061 PyObject * obj2 = 0 ;
18062 PyObject * obj3 = 0 ;
d14a1e28
RD
18063 char *kwnames[] = {
18064 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18065 };
18066
994141e6 18067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 18068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
18069 {
18070 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
18071 if (PyErr_Occurred()) SWIG_fail;
18072 }
18073 if (obj2) {
18074 {
18075 arg3 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj2);
18076 if (PyErr_Occurred()) SWIG_fail;
18077 }
18078 }
18079 if (obj3) {
18080 {
18081 arg4 = (int) SWIG_PyObj_AsInt(obj3);
18082 if (PyErr_Occurred()) SWIG_fail;
18083 }
18084 }
d14a1e28
RD
18085 {
18086 PyThreadState* __tstate = wxPyBeginAllowThreads();
18087 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18088
18089 wxPyEndAllowThreads(__tstate);
18090 if (PyErr_Occurred()) SWIG_fail;
18091 }
18092 {
18093 wxDateTime * resultptr;
18094 resultptr = new wxDateTime((wxDateTime &) result);
18095 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18096 }
18097 return resultobj;
18098 fail:
18099 return NULL;
18100}
18101
18102
18103static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18104 PyObject *resultobj;
18105 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 18106 int arg2 ;
d14a1e28
RD
18107 int arg3 = (int) wxDateTime::Mon ;
18108 int arg4 = (int) wxDateTime::Monday_First ;
18109 bool result;
18110 PyObject * obj0 = 0 ;
994141e6
RD
18111 PyObject * obj1 = 0 ;
18112 PyObject * obj2 = 0 ;
18113 PyObject * obj3 = 0 ;
d14a1e28
RD
18114 char *kwnames[] = {
18115 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18116 };
18117
994141e6 18118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 18119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
18120 {
18121 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18122 if (PyErr_Occurred()) SWIG_fail;
18123 }
18124 if (obj2) {
18125 {
18126 arg3 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj2);
18127 if (PyErr_Occurred()) SWIG_fail;
18128 }
18129 }
18130 if (obj3) {
18131 {
18132 arg4 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj3);
18133 if (PyErr_Occurred()) SWIG_fail;
18134 }
18135 }
d14a1e28
RD
18136 {
18137 PyThreadState* __tstate = wxPyBeginAllowThreads();
18138 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18139
18140 wxPyEndAllowThreads(__tstate);
18141 if (PyErr_Occurred()) SWIG_fail;
18142 }
4d5c3d91 18143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18144 return resultobj;
18145 fail:
18146 return NULL;
18147}
18148
18149
18150static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18151 PyObject *resultobj;
18152 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 18153 int arg2 ;
d14a1e28
RD
18154 int arg3 = (int) wxDateTime::Mon ;
18155 int arg4 = (int) wxDateTime::Monday_First ;
18156 wxDateTime result;
18157 PyObject * obj0 = 0 ;
994141e6
RD
18158 PyObject * obj1 = 0 ;
18159 PyObject * obj2 = 0 ;
18160 PyObject * obj3 = 0 ;
d14a1e28
RD
18161 char *kwnames[] = {
18162 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18163 };
18164
994141e6 18165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 18166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
18167 {
18168 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18169 if (PyErr_Occurred()) SWIG_fail;
18170 }
18171 if (obj2) {
18172 {
18173 arg3 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj2);
18174 if (PyErr_Occurred()) SWIG_fail;
18175 }
18176 }
18177 if (obj3) {
18178 {
18179 arg4 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj3);
18180 if (PyErr_Occurred()) SWIG_fail;
18181 }
18182 }
d14a1e28
RD
18183 {
18184 PyThreadState* __tstate = wxPyBeginAllowThreads();
18185 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18186
18187 wxPyEndAllowThreads(__tstate);
18188 if (PyErr_Occurred()) SWIG_fail;
18189 }
18190 {
18191 wxDateTime * resultptr;
18192 resultptr = new wxDateTime((wxDateTime &) result);
18193 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18194 }
18195 return resultobj;
18196 fail:
18197 return NULL;
18198}
18199
18200
18201static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18202 PyObject *resultobj;
18203 wxDateTime *arg1 = (wxDateTime *) 0 ;
18204 int arg2 = (int) wxDateTime::Inv_Month ;
18205 int arg3 = (int) wxDateTime::Inv_Year ;
18206 wxDateTime *result;
18207 PyObject * obj0 = 0 ;
994141e6
RD
18208 PyObject * obj1 = 0 ;
18209 PyObject * obj2 = 0 ;
d14a1e28
RD
18210 char *kwnames[] = {
18211 (char *) "self",(char *) "month",(char *) "year", NULL
18212 };
18213
994141e6 18214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 18215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
18216 if (obj1) {
18217 {
18218 arg2 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj1);
18219 if (PyErr_Occurred()) SWIG_fail;
18220 }
18221 }
18222 if (obj2) {
18223 {
18224 arg3 = (int) SWIG_PyObj_AsInt(obj2);
18225 if (PyErr_Occurred()) SWIG_fail;
18226 }
18227 }
d14a1e28
RD
18228 {
18229 PyThreadState* __tstate = wxPyBeginAllowThreads();
18230 {
18231 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
18232 result = (wxDateTime *) &_result_ref;
18233 }
18234
18235 wxPyEndAllowThreads(__tstate);
18236 if (PyErr_Occurred()) SWIG_fail;
18237 }
18238 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18239 return resultobj;
18240 fail:
18241 return NULL;
18242}
18243
18244
18245static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18246 PyObject *resultobj;
18247 wxDateTime *arg1 = (wxDateTime *) 0 ;
18248 int arg2 = (int) wxDateTime::Inv_Month ;
18249 int arg3 = (int) wxDateTime::Inv_Year ;
18250 wxDateTime result;
18251 PyObject * obj0 = 0 ;
994141e6
RD
18252 PyObject * obj1 = 0 ;
18253 PyObject * obj2 = 0 ;
d14a1e28
RD
18254 char *kwnames[] = {
18255 (char *) "self",(char *) "month",(char *) "year", NULL
18256 };
18257
994141e6 18258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 18259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
18260 if (obj1) {
18261 {
18262 arg2 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj1);
18263 if (PyErr_Occurred()) SWIG_fail;
18264 }
18265 }
18266 if (obj2) {
18267 {
18268 arg3 = (int) SWIG_PyObj_AsInt(obj2);
18269 if (PyErr_Occurred()) SWIG_fail;
18270 }
18271 }
d14a1e28
RD
18272 {
18273 PyThreadState* __tstate = wxPyBeginAllowThreads();
18274 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
18275
18276 wxPyEndAllowThreads(__tstate);
18277 if (PyErr_Occurred()) SWIG_fail;
18278 }
18279 {
18280 wxDateTime * resultptr;
18281 resultptr = new wxDateTime((wxDateTime &) result);
18282 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18283 }
18284 return resultobj;
18285 fail:
18286 return NULL;
18287}
18288
18289
18290static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18291 PyObject *resultobj;
18292 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 18293 int arg2 ;
d14a1e28
RD
18294 wxDateTime *result;
18295 PyObject * obj0 = 0 ;
994141e6 18296 PyObject * obj1 = 0 ;
d14a1e28
RD
18297 char *kwnames[] = {
18298 (char *) "self",(char *) "yday", NULL
18299 };
18300
994141e6 18301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 18302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
18303 {
18304 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18305 if (PyErr_Occurred()) SWIG_fail;
18306 }
d14a1e28
RD
18307 {
18308 PyThreadState* __tstate = wxPyBeginAllowThreads();
18309 {
18310 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
18311 result = (wxDateTime *) &_result_ref;
18312 }
18313
18314 wxPyEndAllowThreads(__tstate);
18315 if (PyErr_Occurred()) SWIG_fail;
18316 }
18317 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18318 return resultobj;
18319 fail:
18320 return NULL;
18321}
18322
18323
18324static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18325 PyObject *resultobj;
18326 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 18327 int arg2 ;
d14a1e28
RD
18328 wxDateTime result;
18329 PyObject * obj0 = 0 ;
994141e6 18330 PyObject * obj1 = 0 ;
d14a1e28
RD
18331 char *kwnames[] = {
18332 (char *) "self",(char *) "yday", NULL
18333 };
18334
994141e6 18335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 18336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
18337 {
18338 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18339 if (PyErr_Occurred()) SWIG_fail;
18340 }
d14a1e28
RD
18341 {
18342 PyThreadState* __tstate = wxPyBeginAllowThreads();
18343 result = (arg1)->GetYearDay(arg2);
18344
18345 wxPyEndAllowThreads(__tstate);
18346 if (PyErr_Occurred()) SWIG_fail;
18347 }
18348 {
18349 wxDateTime * resultptr;
18350 resultptr = new wxDateTime((wxDateTime &) result);
18351 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18352 }
18353 return resultobj;
18354 fail:
18355 return NULL;
18356}
18357
18358
18359static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18360 PyObject *resultobj;
18361 wxDateTime *arg1 = (wxDateTime *) 0 ;
18362 double result;
18363 PyObject * obj0 = 0 ;
18364 char *kwnames[] = {
18365 (char *) "self", NULL
18366 };
18367
18368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
18369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18370 {
18371 PyThreadState* __tstate = wxPyBeginAllowThreads();
18372 result = (double)(arg1)->GetJulianDayNumber();
18373
18374 wxPyEndAllowThreads(__tstate);
18375 if (PyErr_Occurred()) SWIG_fail;
18376 }
994141e6 18377 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
18378 return resultobj;
18379 fail:
18380 return NULL;
18381}
18382
18383
18384static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
18385 PyObject *resultobj;
18386 wxDateTime *arg1 = (wxDateTime *) 0 ;
18387 double result;
18388 PyObject * obj0 = 0 ;
18389 char *kwnames[] = {
18390 (char *) "self", NULL
18391 };
18392
18393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
18394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18395 {
18396 PyThreadState* __tstate = wxPyBeginAllowThreads();
18397 result = (double)(arg1)->GetJDN();
18398
18399 wxPyEndAllowThreads(__tstate);
18400 if (PyErr_Occurred()) SWIG_fail;
18401 }
994141e6 18402 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
18403 return resultobj;
18404 fail:
18405 return NULL;
18406}
18407
18408
18409static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18410 PyObject *resultobj;
18411 wxDateTime *arg1 = (wxDateTime *) 0 ;
18412 double result;
18413 PyObject * obj0 = 0 ;
18414 char *kwnames[] = {
18415 (char *) "self", NULL
18416 };
18417
18418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
18419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18420 {
18421 PyThreadState* __tstate = wxPyBeginAllowThreads();
18422 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
18423
18424 wxPyEndAllowThreads(__tstate);
18425 if (PyErr_Occurred()) SWIG_fail;
18426 }
994141e6 18427 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
18428 return resultobj;
18429 fail:
18430 return NULL;
18431}
18432
18433
18434static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
18435 PyObject *resultobj;
18436 wxDateTime *arg1 = (wxDateTime *) 0 ;
18437 double result;
18438 PyObject * obj0 = 0 ;
18439 char *kwnames[] = {
18440 (char *) "self", NULL
18441 };
18442
18443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
18444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18445 {
18446 PyThreadState* __tstate = wxPyBeginAllowThreads();
18447 result = (double)(arg1)->GetMJD();
18448
18449 wxPyEndAllowThreads(__tstate);
18450 if (PyErr_Occurred()) SWIG_fail;
18451 }
994141e6 18452 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
18453 return resultobj;
18454 fail:
18455 return NULL;
18456}
18457
18458
18459static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
18460 PyObject *resultobj;
18461 wxDateTime *arg1 = (wxDateTime *) 0 ;
18462 double result;
18463 PyObject * obj0 = 0 ;
18464 char *kwnames[] = {
18465 (char *) "self", NULL
18466 };
18467
18468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
18469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18470 {
18471 PyThreadState* __tstate = wxPyBeginAllowThreads();
18472 result = (double)(arg1)->GetRataDie();
18473
18474 wxPyEndAllowThreads(__tstate);
18475 if (PyErr_Occurred()) SWIG_fail;
18476 }
994141e6 18477 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
18478 return resultobj;
18479 fail:
18480 return NULL;
18481}
18482
18483
18484static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18485 PyObject *resultobj;
18486 wxDateTime *arg1 = (wxDateTime *) 0 ;
18487 wxDateTime::TimeZone *arg2 = 0 ;
e811c8ce 18488 bool arg3 = (bool) False ;
d14a1e28 18489 wxDateTime result;
7722248d 18490 bool temp2 = False ;
d14a1e28
RD
18491 PyObject * obj0 = 0 ;
18492 PyObject * obj1 = 0 ;
18493 PyObject * obj2 = 0 ;
18494 char *kwnames[] = {
18495 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18496 };
18497
18498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18500 {
18501 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 18502 temp2 = True;
d14a1e28
RD
18503 }
18504 if (obj2) {
a41e16b6 18505 {
994141e6 18506 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
a41e16b6
RD
18507 if (PyErr_Occurred()) SWIG_fail;
18508 }
d14a1e28
RD
18509 }
18510 {
18511 PyThreadState* __tstate = wxPyBeginAllowThreads();
18512 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18513
18514 wxPyEndAllowThreads(__tstate);
18515 if (PyErr_Occurred()) SWIG_fail;
18516 }
18517 {
18518 wxDateTime * resultptr;
18519 resultptr = new wxDateTime((wxDateTime &) result);
18520 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18521 }
18522 {
7722248d 18523 if (temp2) delete arg2;
d14a1e28
RD
18524 }
18525 return resultobj;
18526 fail:
18527 {
7722248d 18528 if (temp2) delete arg2;
d14a1e28
RD
18529 }
18530 return NULL;
18531}
18532
18533
18534static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18535 PyObject *resultobj;
18536 wxDateTime *arg1 = (wxDateTime *) 0 ;
18537 wxDateTime::TimeZone *arg2 = 0 ;
e811c8ce 18538 bool arg3 = (bool) False ;
d14a1e28 18539 wxDateTime *result;
7722248d 18540 bool temp2 = False ;
d14a1e28
RD
18541 PyObject * obj0 = 0 ;
18542 PyObject * obj1 = 0 ;
18543 PyObject * obj2 = 0 ;
18544 char *kwnames[] = {
18545 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18546 };
18547
18548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18550 {
18551 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 18552 temp2 = True;
d14a1e28
RD
18553 }
18554 if (obj2) {
a41e16b6 18555 {
994141e6 18556 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
a41e16b6
RD
18557 if (PyErr_Occurred()) SWIG_fail;
18558 }
d14a1e28
RD
18559 }
18560 {
18561 PyThreadState* __tstate = wxPyBeginAllowThreads();
18562 {
18563 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18564 result = (wxDateTime *) &_result_ref;
18565 }
18566
18567 wxPyEndAllowThreads(__tstate);
18568 if (PyErr_Occurred()) SWIG_fail;
18569 }
18570 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18571 {
7722248d 18572 if (temp2) delete arg2;
d14a1e28
RD
18573 }
18574 return resultobj;
18575 fail:
18576 {
7722248d 18577 if (temp2) delete arg2;
d14a1e28
RD
18578 }
18579 return NULL;
18580}
18581
18582
18583static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18584 PyObject *resultobj;
18585 wxDateTime *arg1 = (wxDateTime *) 0 ;
e811c8ce 18586 bool arg2 = (bool) False ;
d14a1e28
RD
18587 wxDateTime result;
18588 PyObject * obj0 = 0 ;
18589 PyObject * obj1 = 0 ;
18590 char *kwnames[] = {
18591 (char *) "self",(char *) "noDST", NULL
18592 };
18593
18594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
18595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18596 if (obj1) {
a41e16b6 18597 {
994141e6 18598 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
18599 if (PyErr_Occurred()) SWIG_fail;
18600 }
d14a1e28
RD
18601 }
18602 {
18603 PyThreadState* __tstate = wxPyBeginAllowThreads();
18604 result = (arg1)->ToGMT(arg2);
18605
18606 wxPyEndAllowThreads(__tstate);
18607 if (PyErr_Occurred()) SWIG_fail;
18608 }
18609 {
18610 wxDateTime * resultptr;
18611 resultptr = new wxDateTime((wxDateTime &) result);
18612 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18613 }
18614 return resultobj;
18615 fail:
18616 return NULL;
18617}
18618
18619
18620static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18621 PyObject *resultobj;
18622 wxDateTime *arg1 = (wxDateTime *) 0 ;
e811c8ce 18623 bool arg2 = (bool) False ;
d14a1e28
RD
18624 wxDateTime *result;
18625 PyObject * obj0 = 0 ;
18626 PyObject * obj1 = 0 ;
18627 char *kwnames[] = {
18628 (char *) "self",(char *) "noDST", NULL
18629 };
18630
18631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
18632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18633 if (obj1) {
a41e16b6 18634 {
994141e6 18635 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
18636 if (PyErr_Occurred()) SWIG_fail;
18637 }
d14a1e28
RD
18638 }
18639 {
18640 PyThreadState* __tstate = wxPyBeginAllowThreads();
18641 {
18642 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
18643 result = (wxDateTime *) &_result_ref;
18644 }
18645
18646 wxPyEndAllowThreads(__tstate);
18647 if (PyErr_Occurred()) SWIG_fail;
18648 }
18649 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18650 return resultobj;
18651 fail:
18652 return NULL;
18653}
18654
18655
18656static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
18657 PyObject *resultobj;
18658 wxDateTime *arg1 = (wxDateTime *) 0 ;
18659 int arg2 = (int) wxDateTime::Country_Default ;
18660 int result;
18661 PyObject * obj0 = 0 ;
994141e6 18662 PyObject * obj1 = 0 ;
d14a1e28
RD
18663 char *kwnames[] = {
18664 (char *) "self",(char *) "country", NULL
18665 };
18666
994141e6 18667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 18668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
18669 if (obj1) {
18670 {
18671 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
18672 if (PyErr_Occurred()) SWIG_fail;
18673 }
18674 }
d14a1e28
RD
18675 {
18676 PyThreadState* __tstate = wxPyBeginAllowThreads();
18677 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
18678
18679 wxPyEndAllowThreads(__tstate);
18680 if (PyErr_Occurred()) SWIG_fail;
18681 }
994141e6 18682 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
18683 return resultobj;
18684 fail:
18685 return NULL;
18686}
18687
18688
18689static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
18690 PyObject *resultobj;
18691 wxDateTime *arg1 = (wxDateTime *) 0 ;
18692 bool result;
18693 PyObject * obj0 = 0 ;
18694 char *kwnames[] = {
18695 (char *) "self", NULL
18696 };
18697
18698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
18699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18700 {
18701 PyThreadState* __tstate = wxPyBeginAllowThreads();
18702 result = (bool)((wxDateTime const *)arg1)->IsValid();
18703
18704 wxPyEndAllowThreads(__tstate);
18705 if (PyErr_Occurred()) SWIG_fail;
18706 }
4d5c3d91 18707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18708 return resultobj;
18709 fail:
18710 return NULL;
18711}
18712
18713
18714static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
18715 PyObject *resultobj;
18716 wxDateTime *arg1 = (wxDateTime *) 0 ;
18717 time_t result;
18718 PyObject * obj0 = 0 ;
18719 char *kwnames[] = {
18720 (char *) "self", NULL
18721 };
18722
18723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
18724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18725 {
18726 PyThreadState* __tstate = wxPyBeginAllowThreads();
18727 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
18728
18729 wxPyEndAllowThreads(__tstate);
18730 if (PyErr_Occurred()) SWIG_fail;
18731 }
994141e6 18732 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
18733 return resultobj;
18734 fail:
18735 return NULL;
18736}
18737
18738
18739static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
18740 PyObject *resultobj;
18741 wxDateTime *arg1 = (wxDateTime *) 0 ;
18742 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18743 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18744 int result;
7722248d 18745 bool temp2 = False ;
d14a1e28
RD
18746 PyObject * obj0 = 0 ;
18747 PyObject * obj1 = 0 ;
18748 char *kwnames[] = {
18749 (char *) "self",(char *) "tz", NULL
18750 };
18751
18752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
18753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18754 if (obj1) {
18755 {
18756 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 18757 temp2 = True;
d14a1e28
RD
18758 }
18759 }
18760 {
18761 PyThreadState* __tstate = wxPyBeginAllowThreads();
18762 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
18763
18764 wxPyEndAllowThreads(__tstate);
18765 if (PyErr_Occurred()) SWIG_fail;
18766 }
994141e6 18767 resultobj = SWIG_PyObj_FromInt((int)result);
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_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
18781 PyObject *resultobj;
18782 wxDateTime *arg1 = (wxDateTime *) 0 ;
18783 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18784 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18785 int result;
7722248d 18786 bool temp2 = False ;
d14a1e28
RD
18787 PyObject * obj0 = 0 ;
18788 PyObject * obj1 = 0 ;
18789 char *kwnames[] = {
18790 (char *) "self",(char *) "tz", NULL
18791 };
18792
18793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
18794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18795 if (obj1) {
18796 {
18797 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 18798 temp2 = True;
d14a1e28
RD
18799 }
18800 }
18801 {
18802 PyThreadState* __tstate = wxPyBeginAllowThreads();
18803 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
18804
18805 wxPyEndAllowThreads(__tstate);
18806 if (PyErr_Occurred()) SWIG_fail;
18807 }
994141e6 18808 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28 18809 {
7722248d 18810 if (temp2) delete arg2;
d14a1e28
RD
18811 }
18812 return resultobj;
18813 fail:
18814 {
7722248d 18815 if (temp2) delete arg2;
d14a1e28
RD
18816 }
18817 return NULL;
18818}
18819
18820
18821static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18822 PyObject *resultobj;
18823 wxDateTime *arg1 = (wxDateTime *) 0 ;
18824 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18825 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 18826 int result;
7722248d 18827 bool temp2 = False ;
d14a1e28
RD
18828 PyObject * obj0 = 0 ;
18829 PyObject * obj1 = 0 ;
18830 char *kwnames[] = {
18831 (char *) "self",(char *) "tz", NULL
18832 };
18833
18834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
18835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18836 if (obj1) {
18837 {
18838 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 18839 temp2 = True;
d14a1e28
RD
18840 }
18841 }
18842 {
18843 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 18844 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
18845
18846 wxPyEndAllowThreads(__tstate);
18847 if (PyErr_Occurred()) SWIG_fail;
18848 }
994141e6 18849 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28 18850 {
7722248d 18851 if (temp2) delete arg2;
d14a1e28
RD
18852 }
18853 return resultobj;
18854 fail:
18855 {
7722248d 18856 if (temp2) delete arg2;
d14a1e28
RD
18857 }
18858 return NULL;
18859}
18860
18861
18862static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18863 PyObject *resultobj;
18864 wxDateTime *arg1 = (wxDateTime *) 0 ;
18865 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18866 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18867 int result;
7722248d 18868 bool temp2 = False ;
d14a1e28
RD
18869 PyObject * obj0 = 0 ;
18870 PyObject * obj1 = 0 ;
18871 char *kwnames[] = {
18872 (char *) "self",(char *) "tz", NULL
18873 };
18874
18875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
18876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18877 if (obj1) {
18878 {
18879 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 18880 temp2 = True;
d14a1e28
RD
18881 }
18882 }
18883 {
18884 PyThreadState* __tstate = wxPyBeginAllowThreads();
18885 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
18886
18887 wxPyEndAllowThreads(__tstate);
18888 if (PyErr_Occurred()) SWIG_fail;
18889 }
994141e6 18890 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28 18891 {
7722248d 18892 if (temp2) delete arg2;
d14a1e28
RD
18893 }
18894 return resultobj;
18895 fail:
18896 {
7722248d 18897 if (temp2) delete arg2;
d14a1e28
RD
18898 }
18899 return NULL;
18900}
18901
18902
18903static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
18904 PyObject *resultobj;
18905 wxDateTime *arg1 = (wxDateTime *) 0 ;
18906 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18907 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 18908 int result;
7722248d 18909 bool temp2 = False ;
d14a1e28
RD
18910 PyObject * obj0 = 0 ;
18911 PyObject * obj1 = 0 ;
18912 char *kwnames[] = {
18913 (char *) "self",(char *) "tz", NULL
18914 };
18915
18916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
18917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18918 if (obj1) {
18919 {
18920 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 18921 temp2 = True;
d14a1e28
RD
18922 }
18923 }
18924 {
18925 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 18926 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
18927
18928 wxPyEndAllowThreads(__tstate);
18929 if (PyErr_Occurred()) SWIG_fail;
18930 }
994141e6 18931 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28 18932 {
7722248d 18933 if (temp2) delete arg2;
d14a1e28
RD
18934 }
18935 return resultobj;
18936 fail:
18937 {
7722248d 18938 if (temp2) delete arg2;
d14a1e28
RD
18939 }
18940 return NULL;
18941}
18942
18943
18944static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
18945 PyObject *resultobj;
18946 wxDateTime *arg1 = (wxDateTime *) 0 ;
18947 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18948 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 18949 int result;
7722248d 18950 bool temp2 = False ;
d14a1e28
RD
18951 PyObject * obj0 = 0 ;
18952 PyObject * obj1 = 0 ;
18953 char *kwnames[] = {
18954 (char *) "self",(char *) "tz", NULL
18955 };
18956
18957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
18958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18959 if (obj1) {
18960 {
18961 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 18962 temp2 = True;
d14a1e28
RD
18963 }
18964 }
18965 {
18966 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 18967 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
18968
18969 wxPyEndAllowThreads(__tstate);
18970 if (PyErr_Occurred()) SWIG_fail;
18971 }
994141e6 18972 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28 18973 {
7722248d 18974 if (temp2) delete arg2;
d14a1e28
RD
18975 }
18976 return resultobj;
18977 fail:
18978 {
7722248d 18979 if (temp2) delete arg2;
d14a1e28
RD
18980 }
18981 return NULL;
18982}
18983
18984
18985static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
18986 PyObject *resultobj;
18987 wxDateTime *arg1 = (wxDateTime *) 0 ;
18988 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18989 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 18990 int result;
7722248d 18991 bool temp2 = False ;
d14a1e28
RD
18992 PyObject * obj0 = 0 ;
18993 PyObject * obj1 = 0 ;
18994 char *kwnames[] = {
18995 (char *) "self",(char *) "tz", NULL
18996 };
18997
18998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
18999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19000 if (obj1) {
19001 {
19002 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 19003 temp2 = True;
d14a1e28
RD
19004 }
19005 }
19006 {
19007 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 19008 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19009
19010 wxPyEndAllowThreads(__tstate);
19011 if (PyErr_Occurred()) SWIG_fail;
19012 }
994141e6 19013 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28 19014 {
7722248d 19015 if (temp2) delete arg2;
d14a1e28
RD
19016 }
19017 return resultobj;
19018 fail:
19019 {
7722248d 19020 if (temp2) delete arg2;
d14a1e28
RD
19021 }
19022 return NULL;
19023}
19024
19025
19026static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19027 PyObject *resultobj;
19028 wxDateTime *arg1 = (wxDateTime *) 0 ;
19029 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19030 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 19031 int result;
7722248d 19032 bool temp2 = False ;
d14a1e28
RD
19033 PyObject * obj0 = 0 ;
19034 PyObject * obj1 = 0 ;
19035 char *kwnames[] = {
19036 (char *) "self",(char *) "tz", NULL
19037 };
19038
19039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
19040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19041 if (obj1) {
19042 {
19043 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 19044 temp2 = True;
d14a1e28
RD
19045 }
19046 }
19047 {
19048 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 19049 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19050
19051 wxPyEndAllowThreads(__tstate);
19052 if (PyErr_Occurred()) SWIG_fail;
19053 }
994141e6 19054 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28 19055 {
7722248d 19056 if (temp2) delete arg2;
d14a1e28
RD
19057 }
19058 return resultobj;
19059 fail:
19060 {
7722248d 19061 if (temp2) delete arg2;
d14a1e28
RD
19062 }
19063 return NULL;
19064}
19065
19066
19067static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19068 PyObject *resultobj;
19069 wxDateTime *arg1 = (wxDateTime *) 0 ;
19070 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19071 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 19072 int result;
7722248d 19073 bool temp2 = False ;
d14a1e28
RD
19074 PyObject * obj0 = 0 ;
19075 PyObject * obj1 = 0 ;
19076 char *kwnames[] = {
19077 (char *) "self",(char *) "tz", NULL
19078 };
19079
19080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
19081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19082 if (obj1) {
19083 {
19084 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 19085 temp2 = True;
d14a1e28
RD
19086 }
19087 }
19088 {
19089 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 19090 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
19091
19092 wxPyEndAllowThreads(__tstate);
19093 if (PyErr_Occurred()) SWIG_fail;
19094 }
994141e6 19095 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28 19096 {
7722248d 19097 if (temp2) delete arg2;
d14a1e28
RD
19098 }
19099 return resultobj;
19100 fail:
19101 {
7722248d 19102 if (temp2) delete arg2;
d14a1e28
RD
19103 }
19104 return NULL;
19105}
19106
19107
19108static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19109 PyObject *resultobj;
19110 wxDateTime *arg1 = (wxDateTime *) 0 ;
19111 int arg2 = (int) wxDateTime::Monday_First ;
19112 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19113 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
322913ce 19114 int result;
7722248d 19115 bool temp3 = False ;
d14a1e28 19116 PyObject * obj0 = 0 ;
994141e6 19117 PyObject * obj1 = 0 ;
d14a1e28
RD
19118 PyObject * obj2 = 0 ;
19119 char *kwnames[] = {
19120 (char *) "self",(char *) "flags",(char *) "tz", NULL
19121 };
19122
994141e6 19123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 19124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
19125 if (obj1) {
19126 {
19127 arg2 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj1);
19128 if (PyErr_Occurred()) SWIG_fail;
19129 }
19130 }
d14a1e28
RD
19131 if (obj2) {
19132 {
19133 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
7722248d 19134 temp3 = True;
d14a1e28
RD
19135 }
19136 }
19137 {
19138 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 19139 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
19140
19141 wxPyEndAllowThreads(__tstate);
19142 if (PyErr_Occurred()) SWIG_fail;
19143 }
994141e6 19144 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28 19145 {
7722248d 19146 if (temp3) delete arg3;
d14a1e28
RD
19147 }
19148 return resultobj;
19149 fail:
19150 {
7722248d 19151 if (temp3) delete arg3;
d14a1e28
RD
19152 }
19153 return NULL;
19154}
19155
19156
19157static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
19158 PyObject *resultobj;
19159 wxDateTime *arg1 = (wxDateTime *) 0 ;
19160 int arg2 = (int) wxDateTime::Monday_First ;
19161 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19162 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
322913ce 19163 int result;
7722248d 19164 bool temp3 = False ;
d14a1e28 19165 PyObject * obj0 = 0 ;
994141e6 19166 PyObject * obj1 = 0 ;
d14a1e28
RD
19167 PyObject * obj2 = 0 ;
19168 char *kwnames[] = {
19169 (char *) "self",(char *) "flags",(char *) "tz", NULL
19170 };
19171
994141e6 19172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 19173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
19174 if (obj1) {
19175 {
19176 arg2 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj1);
19177 if (PyErr_Occurred()) SWIG_fail;
19178 }
19179 }
d14a1e28
RD
19180 if (obj2) {
19181 {
19182 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
7722248d 19183 temp3 = True;
d14a1e28
RD
19184 }
19185 }
19186 {
19187 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 19188 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
19189
19190 wxPyEndAllowThreads(__tstate);
19191 if (PyErr_Occurred()) SWIG_fail;
19192 }
994141e6 19193 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28 19194 {
7722248d 19195 if (temp3) delete arg3;
d14a1e28
RD
19196 }
19197 return resultobj;
19198 fail:
19199 {
7722248d 19200 if (temp3) delete arg3;
d14a1e28
RD
19201 }
19202 return NULL;
19203}
19204
19205
19206static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19207 PyObject *resultobj;
19208 wxDateTime *arg1 = (wxDateTime *) 0 ;
19209 int arg2 = (int) wxDateTime::Country_Default ;
19210 bool result;
19211 PyObject * obj0 = 0 ;
994141e6 19212 PyObject * obj1 = 0 ;
d14a1e28
RD
19213 char *kwnames[] = {
19214 (char *) "self",(char *) "country", NULL
19215 };
19216
994141e6 19217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 19218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
19219 if (obj1) {
19220 {
19221 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
19222 if (PyErr_Occurred()) SWIG_fail;
19223 }
19224 }
d14a1e28
RD
19225 {
19226 PyThreadState* __tstate = wxPyBeginAllowThreads();
19227 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
19228
19229 wxPyEndAllowThreads(__tstate);
19230 if (PyErr_Occurred()) SWIG_fail;
19231 }
4d5c3d91 19232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19233 return resultobj;
19234 fail:
19235 return NULL;
19236}
19237
19238
19239static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19240 PyObject *resultobj;
19241 wxDateTime *arg1 = (wxDateTime *) 0 ;
19242 wxDateTime *arg2 = 0 ;
19243 bool result;
19244 PyObject * obj0 = 0 ;
19245 PyObject * obj1 = 0 ;
19246 char *kwnames[] = {
19247 (char *) "self",(char *) "datetime", NULL
19248 };
19249
19250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
19251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19252 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19253 if (arg2 == NULL) {
19254 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19255 }
19256 {
19257 PyThreadState* __tstate = wxPyBeginAllowThreads();
19258 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
19259
19260 wxPyEndAllowThreads(__tstate);
19261 if (PyErr_Occurred()) SWIG_fail;
19262 }
4d5c3d91 19263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19264 return resultobj;
19265 fail:
19266 return NULL;
19267}
19268
19269
19270static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19271 PyObject *resultobj;
19272 wxDateTime *arg1 = (wxDateTime *) 0 ;
19273 wxDateTime *arg2 = 0 ;
19274 bool result;
19275 PyObject * obj0 = 0 ;
19276 PyObject * obj1 = 0 ;
19277 char *kwnames[] = {
19278 (char *) "self",(char *) "datetime", NULL
19279 };
19280
19281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
19282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19283 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19284 if (arg2 == NULL) {
19285 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19286 }
19287 {
19288 PyThreadState* __tstate = wxPyBeginAllowThreads();
19289 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
19290
19291 wxPyEndAllowThreads(__tstate);
19292 if (PyErr_Occurred()) SWIG_fail;
19293 }
4d5c3d91 19294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19295 return resultobj;
19296 fail:
19297 return NULL;
19298}
19299
19300
19301static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19302 PyObject *resultobj;
19303 wxDateTime *arg1 = (wxDateTime *) 0 ;
19304 wxDateTime *arg2 = 0 ;
19305 bool result;
19306 PyObject * obj0 = 0 ;
19307 PyObject * obj1 = 0 ;
19308 char *kwnames[] = {
19309 (char *) "self",(char *) "datetime", NULL
19310 };
19311
19312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
19313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19314 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19315 if (arg2 == NULL) {
19316 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19317 }
19318 {
19319 PyThreadState* __tstate = wxPyBeginAllowThreads();
19320 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
19321
19322 wxPyEndAllowThreads(__tstate);
19323 if (PyErr_Occurred()) SWIG_fail;
19324 }
4d5c3d91 19325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19326 return resultobj;
19327 fail:
19328 return NULL;
19329}
19330
19331
19332static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19333 PyObject *resultobj;
19334 wxDateTime *arg1 = (wxDateTime *) 0 ;
19335 wxDateTime *arg2 = 0 ;
19336 wxDateTime *arg3 = 0 ;
19337 bool result;
19338 PyObject * obj0 = 0 ;
19339 PyObject * obj1 = 0 ;
19340 PyObject * obj2 = 0 ;
19341 char *kwnames[] = {
19342 (char *) "self",(char *) "t1",(char *) "t2", NULL
19343 };
19344
19345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19347 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19348 if (arg2 == NULL) {
19349 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19350 }
19351 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19352 if (arg3 == NULL) {
19353 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19354 }
19355 {
19356 PyThreadState* __tstate = wxPyBeginAllowThreads();
19357 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19358
19359 wxPyEndAllowThreads(__tstate);
19360 if (PyErr_Occurred()) SWIG_fail;
19361 }
4d5c3d91 19362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19363 return resultobj;
19364 fail:
19365 return NULL;
19366}
19367
19368
19369static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19370 PyObject *resultobj;
19371 wxDateTime *arg1 = (wxDateTime *) 0 ;
19372 wxDateTime *arg2 = 0 ;
19373 wxDateTime *arg3 = 0 ;
19374 bool result;
19375 PyObject * obj0 = 0 ;
19376 PyObject * obj1 = 0 ;
19377 PyObject * obj2 = 0 ;
19378 char *kwnames[] = {
19379 (char *) "self",(char *) "t1",(char *) "t2", NULL
19380 };
19381
19382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19384 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19385 if (arg2 == NULL) {
19386 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19387 }
19388 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19389 if (arg3 == NULL) {
19390 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19391 }
19392 {
19393 PyThreadState* __tstate = wxPyBeginAllowThreads();
19394 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19395
19396 wxPyEndAllowThreads(__tstate);
19397 if (PyErr_Occurred()) SWIG_fail;
19398 }
4d5c3d91 19399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19400 return resultobj;
19401 fail:
19402 return NULL;
19403}
19404
19405
19406static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19407 PyObject *resultobj;
19408 wxDateTime *arg1 = (wxDateTime *) 0 ;
19409 wxDateTime *arg2 = 0 ;
19410 bool result;
19411 PyObject * obj0 = 0 ;
19412 PyObject * obj1 = 0 ;
19413 char *kwnames[] = {
19414 (char *) "self",(char *) "dt", NULL
19415 };
19416
19417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
19418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19419 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19420 if (arg2 == NULL) {
19421 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19422 }
19423 {
19424 PyThreadState* __tstate = wxPyBeginAllowThreads();
19425 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
19426
19427 wxPyEndAllowThreads(__tstate);
19428 if (PyErr_Occurred()) SWIG_fail;
19429 }
4d5c3d91 19430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19431 return resultobj;
19432 fail:
19433 return NULL;
19434}
19435
19436
19437static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19438 PyObject *resultobj;
19439 wxDateTime *arg1 = (wxDateTime *) 0 ;
19440 wxDateTime *arg2 = 0 ;
19441 bool result;
19442 PyObject * obj0 = 0 ;
19443 PyObject * obj1 = 0 ;
19444 char *kwnames[] = {
19445 (char *) "self",(char *) "dt", NULL
19446 };
19447
19448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
19449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19450 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19451 if (arg2 == NULL) {
19452 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19453 }
19454 {
19455 PyThreadState* __tstate = wxPyBeginAllowThreads();
19456 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
19457
19458 wxPyEndAllowThreads(__tstate);
19459 if (PyErr_Occurred()) SWIG_fail;
19460 }
4d5c3d91 19461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19462 return resultobj;
19463 fail:
19464 return NULL;
19465}
19466
19467
19468static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19469 PyObject *resultobj;
19470 wxDateTime *arg1 = (wxDateTime *) 0 ;
19471 wxDateTime *arg2 = 0 ;
19472 wxTimeSpan *arg3 = 0 ;
19473 bool result;
19474 PyObject * obj0 = 0 ;
19475 PyObject * obj1 = 0 ;
19476 PyObject * obj2 = 0 ;
19477 char *kwnames[] = {
19478 (char *) "self",(char *) "dt",(char *) "ts", NULL
19479 };
19480
19481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19483 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19484 if (arg2 == NULL) {
19485 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19486 }
19487 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19488 if (arg3 == NULL) {
19489 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19490 }
19491 {
19492 PyThreadState* __tstate = wxPyBeginAllowThreads();
19493 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
19494
19495 wxPyEndAllowThreads(__tstate);
19496 if (PyErr_Occurred()) SWIG_fail;
19497 }
4d5c3d91 19498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19499 return resultobj;
19500 fail:
19501 return NULL;
19502}
19503
19504
19505static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19506 PyObject *resultobj;
19507 wxDateTime *arg1 = (wxDateTime *) 0 ;
19508 wxTimeSpan *arg2 = 0 ;
19509 wxDateTime *result;
19510 PyObject * obj0 = 0 ;
19511 PyObject * obj1 = 0 ;
19512 char *kwnames[] = {
19513 (char *) "self",(char *) "diff", NULL
19514 };
19515
19516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
19517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19518 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19519 if (arg2 == NULL) {
19520 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19521 }
19522 {
19523 PyThreadState* __tstate = wxPyBeginAllowThreads();
19524 {
19525 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19526 result = (wxDateTime *) &_result_ref;
19527 }
19528
19529 wxPyEndAllowThreads(__tstate);
19530 if (PyErr_Occurred()) SWIG_fail;
19531 }
19532 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19533 return resultobj;
19534 fail:
19535 return NULL;
19536}
19537
19538
19539static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19540 PyObject *resultobj;
19541 wxDateTime *arg1 = (wxDateTime *) 0 ;
19542 wxDateSpan *arg2 = 0 ;
19543 wxDateTime *result;
19544 PyObject * obj0 = 0 ;
19545 PyObject * obj1 = 0 ;
19546 char *kwnames[] = {
19547 (char *) "self",(char *) "diff", NULL
19548 };
19549
19550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
19551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19552 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19553 if (arg2 == NULL) {
19554 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19555 }
19556 {
19557 PyThreadState* __tstate = wxPyBeginAllowThreads();
19558 {
19559 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
19560 result = (wxDateTime *) &_result_ref;
19561 }
19562
19563 wxPyEndAllowThreads(__tstate);
19564 if (PyErr_Occurred()) SWIG_fail;
19565 }
19566 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19567 return resultobj;
19568 fail:
19569 return NULL;
19570}
19571
19572
19573static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19574 PyObject *resultobj;
19575 wxDateTime *arg1 = (wxDateTime *) 0 ;
19576 wxTimeSpan *arg2 = 0 ;
19577 wxDateTime *result;
19578 PyObject * obj0 = 0 ;
19579 PyObject * obj1 = 0 ;
19580 char *kwnames[] = {
19581 (char *) "self",(char *) "diff", NULL
19582 };
19583
19584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
19585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19586 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19587 if (arg2 == NULL) {
19588 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19589 }
19590 {
19591 PyThreadState* __tstate = wxPyBeginAllowThreads();
19592 {
19593 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19594 result = (wxDateTime *) &_result_ref;
19595 }
19596
19597 wxPyEndAllowThreads(__tstate);
19598 if (PyErr_Occurred()) SWIG_fail;
19599 }
19600 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19601 return resultobj;
19602 fail:
19603 return NULL;
19604}
19605
19606
19607static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19608 PyObject *resultobj;
19609 wxDateTime *arg1 = (wxDateTime *) 0 ;
19610 wxDateSpan *arg2 = 0 ;
19611 wxDateTime *result;
19612 PyObject * obj0 = 0 ;
19613 PyObject * obj1 = 0 ;
19614 char *kwnames[] = {
19615 (char *) "self",(char *) "diff", NULL
19616 };
19617
19618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
19619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19621 if (arg2 == NULL) {
19622 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19623 }
19624 {
19625 PyThreadState* __tstate = wxPyBeginAllowThreads();
19626 {
19627 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
19628 result = (wxDateTime *) &_result_ref;
19629 }
19630
19631 wxPyEndAllowThreads(__tstate);
19632 if (PyErr_Occurred()) SWIG_fail;
19633 }
19634 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19635 return resultobj;
19636 fail:
19637 return NULL;
19638}
19639
19640
19641static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19642 PyObject *resultobj;
19643 wxDateTime *arg1 = (wxDateTime *) 0 ;
19644 wxDateTime *arg2 = 0 ;
19645 wxTimeSpan result;
19646 PyObject * obj0 = 0 ;
19647 PyObject * obj1 = 0 ;
19648 char *kwnames[] = {
19649 (char *) "self",(char *) "dt", NULL
19650 };
19651
19652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
19653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19654 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19655 if (arg2 == NULL) {
19656 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19657 }
19658 {
19659 PyThreadState* __tstate = wxPyBeginAllowThreads();
19660 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
19661
19662 wxPyEndAllowThreads(__tstate);
19663 if (PyErr_Occurred()) SWIG_fail;
19664 }
19665 {
19666 wxTimeSpan * resultptr;
19667 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19668 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19669 }
19670 return resultobj;
19671 fail:
19672 return NULL;
19673}
19674
19675
19676static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
19677 PyObject *resultobj;
19678 wxDateTime *arg1 = (wxDateTime *) 0 ;
19679 wxTimeSpan *arg2 = 0 ;
19680 wxDateTime *result;
19681 PyObject * obj0 = 0 ;
19682 PyObject * obj1 = 0 ;
19683
19684 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
19685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19686 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19687 if (arg2 == NULL) {
19688 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19689 }
19690 {
19691 PyThreadState* __tstate = wxPyBeginAllowThreads();
19692 {
19693 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19694 result = (wxDateTime *) &_result_ref;
19695 }
19696
19697 wxPyEndAllowThreads(__tstate);
19698 if (PyErr_Occurred()) SWIG_fail;
19699 }
19700 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19701 return resultobj;
19702 fail:
19703 return NULL;
19704}
19705
19706
19707static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
19708 PyObject *resultobj;
19709 wxDateTime *arg1 = (wxDateTime *) 0 ;
19710 wxDateSpan *arg2 = 0 ;
19711 wxDateTime *result;
19712 PyObject * obj0 = 0 ;
19713 PyObject * obj1 = 0 ;
19714
19715 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
19716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19717 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19718 if (arg2 == NULL) {
19719 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19720 }
19721 {
19722 PyThreadState* __tstate = wxPyBeginAllowThreads();
19723 {
19724 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
19725 result = (wxDateTime *) &_result_ref;
19726 }
19727
19728 wxPyEndAllowThreads(__tstate);
19729 if (PyErr_Occurred()) SWIG_fail;
19730 }
19731 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19732 return resultobj;
19733 fail:
19734 return NULL;
19735}
19736
19737
19738static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
19739 int argc;
19740 PyObject *argv[3];
19741 int ii;
19742
19743 argc = PyObject_Length(args);
19744 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
19745 argv[ii] = PyTuple_GetItem(args,ii);
19746 }
19747 if (argc == 2) {
19748 int _v;
19749 {
19750 void *ptr;
19751 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19752 _v = 0;
19753 PyErr_Clear();
19754 } else {
19755 _v = 1;
19756 }
19757 }
19758 if (_v) {
19759 {
19760 void *ptr;
19761 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
19762 _v = 0;
19763 PyErr_Clear();
19764 } else {
19765 _v = 1;
19766 }
19767 }
19768 if (_v) {
19769 return _wrap_DateTime___iadd____SWIG_0(self,args);
19770 }
19771 }
19772 }
19773 if (argc == 2) {
19774 int _v;
19775 {
19776 void *ptr;
19777 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19778 _v = 0;
19779 PyErr_Clear();
19780 } else {
19781 _v = 1;
19782 }
19783 }
19784 if (_v) {
19785 {
19786 void *ptr;
19787 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
19788 _v = 0;
19789 PyErr_Clear();
19790 } else {
19791 _v = 1;
19792 }
19793 }
19794 if (_v) {
19795 return _wrap_DateTime___iadd____SWIG_1(self,args);
19796 }
19797 }
19798 }
19799
19800 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
19801 return NULL;
19802}
19803
19804
19805static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
19806 PyObject *resultobj;
19807 wxDateTime *arg1 = (wxDateTime *) 0 ;
19808 wxTimeSpan *arg2 = 0 ;
19809 wxDateTime *result;
19810 PyObject * obj0 = 0 ;
19811 PyObject * obj1 = 0 ;
19812
19813 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
19814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19815 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19816 if (arg2 == NULL) {
19817 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19818 }
19819 {
19820 PyThreadState* __tstate = wxPyBeginAllowThreads();
19821 {
19822 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
19823 result = (wxDateTime *) &_result_ref;
19824 }
19825
19826 wxPyEndAllowThreads(__tstate);
19827 if (PyErr_Occurred()) SWIG_fail;
19828 }
19829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19830 return resultobj;
19831 fail:
19832 return NULL;
19833}
19834
19835
19836static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
19837 PyObject *resultobj;
19838 wxDateTime *arg1 = (wxDateTime *) 0 ;
19839 wxDateSpan *arg2 = 0 ;
19840 wxDateTime *result;
19841 PyObject * obj0 = 0 ;
19842 PyObject * obj1 = 0 ;
19843
19844 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
19845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19846 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19847 if (arg2 == NULL) {
19848 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19849 }
19850 {
19851 PyThreadState* __tstate = wxPyBeginAllowThreads();
19852 {
19853 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
19854 result = (wxDateTime *) &_result_ref;
19855 }
19856
19857 wxPyEndAllowThreads(__tstate);
19858 if (PyErr_Occurred()) SWIG_fail;
19859 }
19860 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19861 return resultobj;
19862 fail:
19863 return NULL;
19864}
19865
19866
19867static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
19868 int argc;
19869 PyObject *argv[3];
19870 int ii;
19871
19872 argc = PyObject_Length(args);
19873 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
19874 argv[ii] = PyTuple_GetItem(args,ii);
19875 }
19876 if (argc == 2) {
19877 int _v;
19878 {
19879 void *ptr;
19880 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19881 _v = 0;
19882 PyErr_Clear();
19883 } else {
19884 _v = 1;
19885 }
19886 }
19887 if (_v) {
19888 {
19889 void *ptr;
19890 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
19891 _v = 0;
19892 PyErr_Clear();
19893 } else {
19894 _v = 1;
19895 }
19896 }
19897 if (_v) {
19898 return _wrap_DateTime___isub____SWIG_0(self,args);
19899 }
19900 }
19901 }
19902 if (argc == 2) {
19903 int _v;
19904 {
19905 void *ptr;
19906 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19907 _v = 0;
19908 PyErr_Clear();
19909 } else {
19910 _v = 1;
19911 }
19912 }
19913 if (_v) {
19914 {
19915 void *ptr;
19916 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
19917 _v = 0;
19918 PyErr_Clear();
19919 } else {
19920 _v = 1;
19921 }
19922 }
19923 if (_v) {
19924 return _wrap_DateTime___isub____SWIG_1(self,args);
19925 }
19926 }
19927 }
19928
19929 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
19930 return NULL;
19931}
19932
19933
19934static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
19935 PyObject *resultobj;
19936 wxDateTime *arg1 = (wxDateTime *) 0 ;
19937 wxTimeSpan *arg2 = 0 ;
19938 wxDateTime result;
19939 PyObject * obj0 = 0 ;
19940 PyObject * obj1 = 0 ;
19941
19942 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
19943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19944 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19945 if (arg2 == NULL) {
19946 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19947 }
19948 {
19949 PyThreadState* __tstate = wxPyBeginAllowThreads();
19950 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
19951
19952 wxPyEndAllowThreads(__tstate);
19953 if (PyErr_Occurred()) SWIG_fail;
19954 }
19955 {
19956 wxDateTime * resultptr;
19957 resultptr = new wxDateTime((wxDateTime &) result);
19958 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
19959 }
19960 return resultobj;
19961 fail:
19962 return NULL;
19963}
19964
19965
19966static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
19967 PyObject *resultobj;
19968 wxDateTime *arg1 = (wxDateTime *) 0 ;
19969 wxDateSpan *arg2 = 0 ;
19970 wxDateTime result;
19971 PyObject * obj0 = 0 ;
19972 PyObject * obj1 = 0 ;
19973
19974 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
19975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19976 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19977 if (arg2 == NULL) {
19978 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19979 }
19980 {
19981 PyThreadState* __tstate = wxPyBeginAllowThreads();
19982 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
19983
19984 wxPyEndAllowThreads(__tstate);
19985 if (PyErr_Occurred()) SWIG_fail;
19986 }
19987 {
19988 wxDateTime * resultptr;
19989 resultptr = new wxDateTime((wxDateTime &) result);
19990 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
19991 }
19992 return resultobj;
19993 fail:
19994 return NULL;
19995}
19996
19997
19998static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
19999 int argc;
20000 PyObject *argv[3];
20001 int ii;
20002
20003 argc = PyObject_Length(args);
20004 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20005 argv[ii] = PyTuple_GetItem(args,ii);
20006 }
20007 if (argc == 2) {
20008 int _v;
20009 {
20010 void *ptr;
20011 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20012 _v = 0;
20013 PyErr_Clear();
20014 } else {
20015 _v = 1;
20016 }
20017 }
20018 if (_v) {
20019 {
20020 void *ptr;
20021 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20022 _v = 0;
20023 PyErr_Clear();
20024 } else {
20025 _v = 1;
20026 }
20027 }
20028 if (_v) {
20029 return _wrap_DateTime___add____SWIG_0(self,args);
20030 }
20031 }
20032 }
20033 if (argc == 2) {
20034 int _v;
20035 {
20036 void *ptr;
20037 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20038 _v = 0;
20039 PyErr_Clear();
20040 } else {
20041 _v = 1;
20042 }
20043 }
20044 if (_v) {
20045 {
20046 void *ptr;
20047 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20048 _v = 0;
20049 PyErr_Clear();
20050 } else {
20051 _v = 1;
20052 }
20053 }
20054 if (_v) {
20055 return _wrap_DateTime___add____SWIG_1(self,args);
20056 }
20057 }
20058 }
20059
20060 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
20061 return NULL;
20062}
20063
20064
20065static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
20066 PyObject *resultobj;
20067 wxDateTime *arg1 = (wxDateTime *) 0 ;
20068 wxDateTime *arg2 = 0 ;
20069 wxTimeSpan result;
20070 PyObject * obj0 = 0 ;
20071 PyObject * obj1 = 0 ;
20072
20073 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20075 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20076 if (arg2 == NULL) {
20077 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20078 }
20079 {
20080 PyThreadState* __tstate = wxPyBeginAllowThreads();
20081 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
20082
20083 wxPyEndAllowThreads(__tstate);
20084 if (PyErr_Occurred()) SWIG_fail;
20085 }
20086 {
20087 wxTimeSpan * resultptr;
20088 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20089 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20090 }
20091 return resultobj;
20092 fail:
20093 return NULL;
20094}
20095
20096
20097static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
20098 PyObject *resultobj;
20099 wxDateTime *arg1 = (wxDateTime *) 0 ;
20100 wxTimeSpan *arg2 = 0 ;
20101 wxDateTime result;
20102 PyObject * obj0 = 0 ;
20103 PyObject * obj1 = 0 ;
20104
20105 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20107 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20108 if (arg2 == NULL) {
20109 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20110 }
20111 {
20112 PyThreadState* __tstate = wxPyBeginAllowThreads();
20113 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
20114
20115 wxPyEndAllowThreads(__tstate);
20116 if (PyErr_Occurred()) SWIG_fail;
20117 }
20118 {
20119 wxDateTime * resultptr;
20120 resultptr = new wxDateTime((wxDateTime &) result);
20121 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
20122 }
20123 return resultobj;
20124 fail:
20125 return NULL;
20126}
20127
20128
20129static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
20130 PyObject *resultobj;
20131 wxDateTime *arg1 = (wxDateTime *) 0 ;
20132 wxDateSpan *arg2 = 0 ;
20133 wxDateTime result;
20134 PyObject * obj0 = 0 ;
20135 PyObject * obj1 = 0 ;
20136
20137 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20139 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20140 if (arg2 == NULL) {
20141 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20142 }
20143 {
20144 PyThreadState* __tstate = wxPyBeginAllowThreads();
20145 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
20146
20147 wxPyEndAllowThreads(__tstate);
20148 if (PyErr_Occurred()) SWIG_fail;
20149 }
20150 {
20151 wxDateTime * resultptr;
20152 resultptr = new wxDateTime((wxDateTime &) result);
20153 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
20154 }
20155 return resultobj;
20156 fail:
20157 return NULL;
20158}
20159
20160
20161static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
20162 int argc;
20163 PyObject *argv[3];
20164 int ii;
20165
20166 argc = PyObject_Length(args);
20167 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20168 argv[ii] = PyTuple_GetItem(args,ii);
20169 }
20170 if (argc == 2) {
20171 int _v;
20172 {
20173 void *ptr;
20174 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20175 _v = 0;
20176 PyErr_Clear();
20177 } else {
20178 _v = 1;
20179 }
20180 }
20181 if (_v) {
20182 {
20183 void *ptr;
20184 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20185 _v = 0;
20186 PyErr_Clear();
20187 } else {
20188 _v = 1;
20189 }
20190 }
20191 if (_v) {
20192 return _wrap_DateTime___sub____SWIG_0(self,args);
20193 }
20194 }
20195 }
20196 if (argc == 2) {
20197 int _v;
20198 {
20199 void *ptr;
20200 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20201 _v = 0;
20202 PyErr_Clear();
20203 } else {
20204 _v = 1;
20205 }
20206 }
20207 if (_v) {
20208 {
20209 void *ptr;
20210 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20211 _v = 0;
20212 PyErr_Clear();
20213 } else {
20214 _v = 1;
20215 }
20216 }
20217 if (_v) {
20218 return _wrap_DateTime___sub____SWIG_1(self,args);
20219 }
20220 }
20221 }
20222 if (argc == 2) {
20223 int _v;
20224 {
20225 void *ptr;
20226 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20227 _v = 0;
20228 PyErr_Clear();
20229 } else {
20230 _v = 1;
20231 }
20232 }
20233 if (_v) {
20234 {
20235 void *ptr;
20236 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20237 _v = 0;
20238 PyErr_Clear();
20239 } else {
20240 _v = 1;
20241 }
20242 }
20243 if (_v) {
20244 return _wrap_DateTime___sub____SWIG_2(self,args);
20245 }
20246 }
20247 }
20248
20249 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
20250 return NULL;
20251}
20252
20253
20254static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
20255 PyObject *resultobj;
20256 wxDateTime *arg1 = (wxDateTime *) 0 ;
20257 wxDateTime *arg2 = 0 ;
20258 bool result;
20259 PyObject * obj0 = 0 ;
20260 PyObject * obj1 = 0 ;
20261
20262 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
20263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20265 if (arg2 == NULL) {
20266 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20267 }
20268 {
20269 PyThreadState* __tstate = wxPyBeginAllowThreads();
20270 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const &)*arg2);
20271
20272 wxPyEndAllowThreads(__tstate);
20273 if (PyErr_Occurred()) SWIG_fail;
20274 }
4d5c3d91 20275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20276 return resultobj;
20277 fail:
20278 return NULL;
20279}
20280
20281
20282static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
20283 PyObject *resultobj;
20284 wxDateTime *arg1 = (wxDateTime *) 0 ;
20285 wxDateTime *arg2 = 0 ;
20286 bool result;
20287 PyObject * obj0 = 0 ;
20288 PyObject * obj1 = 0 ;
20289
20290 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
20291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20292 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20293 if (arg2 == NULL) {
20294 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20295 }
20296 {
20297 PyThreadState* __tstate = wxPyBeginAllowThreads();
20298 result = (bool)wxDateTime___le__(arg1,(wxDateTime const &)*arg2);
20299
20300 wxPyEndAllowThreads(__tstate);
20301 if (PyErr_Occurred()) SWIG_fail;
20302 }
4d5c3d91 20303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20304 return resultobj;
20305 fail:
20306 return NULL;
20307}
20308
20309
20310static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
20311 PyObject *resultobj;
20312 wxDateTime *arg1 = (wxDateTime *) 0 ;
20313 wxDateTime *arg2 = 0 ;
20314 bool result;
20315 PyObject * obj0 = 0 ;
20316 PyObject * obj1 = 0 ;
20317
20318 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
20319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20320 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20321 if (arg2 == NULL) {
20322 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20323 }
20324 {
20325 PyThreadState* __tstate = wxPyBeginAllowThreads();
20326 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const &)*arg2);
20327
20328 wxPyEndAllowThreads(__tstate);
20329 if (PyErr_Occurred()) SWIG_fail;
20330 }
4d5c3d91 20331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20332 return resultobj;
20333 fail:
20334 return NULL;
20335}
20336
20337
20338static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
20339 PyObject *resultobj;
20340 wxDateTime *arg1 = (wxDateTime *) 0 ;
20341 wxDateTime *arg2 = 0 ;
20342 bool result;
20343 PyObject * obj0 = 0 ;
20344 PyObject * obj1 = 0 ;
20345
20346 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
20347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20348 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20349 if (arg2 == NULL) {
20350 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20351 }
20352 {
20353 PyThreadState* __tstate = wxPyBeginAllowThreads();
20354 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const &)*arg2);
20355
20356 wxPyEndAllowThreads(__tstate);
20357 if (PyErr_Occurred()) SWIG_fail;
20358 }
4d5c3d91 20359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20360 return resultobj;
20361 fail:
20362 return NULL;
20363}
20364
20365
20366static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
20367 PyObject *resultobj;
20368 wxDateTime *arg1 = (wxDateTime *) 0 ;
20369 wxDateTime *arg2 = 0 ;
20370 bool result;
20371 PyObject * obj0 = 0 ;
20372 PyObject * obj1 = 0 ;
20373
20374 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
20375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20376 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20377 if (arg2 == NULL) {
20378 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20379 }
20380 {
20381 PyThreadState* __tstate = wxPyBeginAllowThreads();
20382 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const &)*arg2);
20383
20384 wxPyEndAllowThreads(__tstate);
20385 if (PyErr_Occurred()) SWIG_fail;
20386 }
4d5c3d91 20387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20388 return resultobj;
20389 fail:
20390 return NULL;
20391}
20392
20393
20394static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
20395 PyObject *resultobj;
20396 wxDateTime *arg1 = (wxDateTime *) 0 ;
20397 wxDateTime *arg2 = 0 ;
20398 bool result;
20399 PyObject * obj0 = 0 ;
20400 PyObject * obj1 = 0 ;
20401
20402 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
20403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20404 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20405 if (arg2 == NULL) {
20406 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20407 }
20408 {
20409 PyThreadState* __tstate = wxPyBeginAllowThreads();
20410 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const &)*arg2);
20411
20412 wxPyEndAllowThreads(__tstate);
20413 if (PyErr_Occurred()) SWIG_fail;
20414 }
4d5c3d91 20415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20416 return resultobj;
20417 fail:
20418 return NULL;
20419}
20420
20421
20422static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
20423 PyObject *resultobj;
20424 wxDateTime *arg1 = (wxDateTime *) 0 ;
20425 wxString *arg2 = 0 ;
20426 int result;
e811c8ce 20427 bool temp2 = False ;
d14a1e28
RD
20428 PyObject * obj0 = 0 ;
20429 PyObject * obj1 = 0 ;
20430 char *kwnames[] = {
20431 (char *) "self",(char *) "date", NULL
20432 };
20433
20434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
20435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20436 {
20437 arg2 = wxString_in_helper(obj1);
20438 if (arg2 == NULL) SWIG_fail;
e811c8ce 20439 temp2 = True;
d14a1e28
RD
20440 }
20441 {
20442 PyThreadState* __tstate = wxPyBeginAllowThreads();
20443 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
20444
20445 wxPyEndAllowThreads(__tstate);
20446 if (PyErr_Occurred()) SWIG_fail;
20447 }
994141e6 20448 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
20449 {
20450 if (temp2)
20451 delete arg2;
20452 }
20453 return resultobj;
20454 fail:
20455 {
20456 if (temp2)
20457 delete arg2;
20458 }
20459 return NULL;
20460}
20461
20462
20463static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
20464 PyObject *resultobj;
20465 wxDateTime *arg1 = (wxDateTime *) 0 ;
20466 wxString *arg2 = 0 ;
20467 wxString const &arg3_defvalue = wxPyDateFormatStr ;
20468 wxString *arg3 = (wxString *) &arg3_defvalue ;
20469 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
20470 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
20471 int result;
e811c8ce
RD
20472 bool temp2 = False ;
20473 bool temp3 = False ;
d14a1e28
RD
20474 PyObject * obj0 = 0 ;
20475 PyObject * obj1 = 0 ;
20476 PyObject * obj2 = 0 ;
20477 PyObject * obj3 = 0 ;
20478 char *kwnames[] = {
20479 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20480 };
20481
20482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20484 {
20485 arg2 = wxString_in_helper(obj1);
20486 if (arg2 == NULL) SWIG_fail;
e811c8ce 20487 temp2 = True;
d14a1e28
RD
20488 }
20489 if (obj2) {
20490 {
20491 arg3 = wxString_in_helper(obj2);
20492 if (arg3 == NULL) SWIG_fail;
e811c8ce 20493 temp3 = True;
d14a1e28
RD
20494 }
20495 }
20496 if (obj3) {
20497 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20498 if (arg4 == NULL) {
20499 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20500 }
20501 }
20502 {
20503 PyThreadState* __tstate = wxPyBeginAllowThreads();
20504 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
20505
20506 wxPyEndAllowThreads(__tstate);
20507 if (PyErr_Occurred()) SWIG_fail;
20508 }
994141e6 20509 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
20510 {
20511 if (temp2)
20512 delete arg2;
20513 }
20514 {
20515 if (temp3)
20516 delete arg3;
20517 }
20518 return resultobj;
20519 fail:
20520 {
20521 if (temp2)
20522 delete arg2;
20523 }
20524 {
20525 if (temp3)
20526 delete arg3;
20527 }
20528 return NULL;
20529}
20530
20531
20532static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20533 PyObject *resultobj;
20534 wxDateTime *arg1 = (wxDateTime *) 0 ;
20535 wxString *arg2 = 0 ;
20536 int result;
e811c8ce 20537 bool temp2 = False ;
d14a1e28
RD
20538 PyObject * obj0 = 0 ;
20539 PyObject * obj1 = 0 ;
20540 char *kwnames[] = {
20541 (char *) "self",(char *) "datetime", NULL
20542 };
20543
20544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
20545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20546 {
20547 arg2 = wxString_in_helper(obj1);
20548 if (arg2 == NULL) SWIG_fail;
e811c8ce 20549 temp2 = True;
d14a1e28
RD
20550 }
20551 {
20552 PyThreadState* __tstate = wxPyBeginAllowThreads();
20553 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
20554
20555 wxPyEndAllowThreads(__tstate);
20556 if (PyErr_Occurred()) SWIG_fail;
20557 }
994141e6 20558 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
20559 {
20560 if (temp2)
20561 delete arg2;
20562 }
20563 return resultobj;
20564 fail:
20565 {
20566 if (temp2)
20567 delete arg2;
20568 }
20569 return NULL;
20570}
20571
20572
20573static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
20574 PyObject *resultobj;
20575 wxDateTime *arg1 = (wxDateTime *) 0 ;
20576 wxString *arg2 = 0 ;
20577 int result;
e811c8ce 20578 bool temp2 = False ;
d14a1e28
RD
20579 PyObject * obj0 = 0 ;
20580 PyObject * obj1 = 0 ;
20581 char *kwnames[] = {
20582 (char *) "self",(char *) "date", NULL
20583 };
20584
20585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
20586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20587 {
20588 arg2 = wxString_in_helper(obj1);
20589 if (arg2 == NULL) SWIG_fail;
e811c8ce 20590 temp2 = True;
d14a1e28
RD
20591 }
20592 {
20593 PyThreadState* __tstate = wxPyBeginAllowThreads();
20594 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
20595
20596 wxPyEndAllowThreads(__tstate);
20597 if (PyErr_Occurred()) SWIG_fail;
20598 }
994141e6 20599 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
20600 {
20601 if (temp2)
20602 delete arg2;
20603 }
20604 return resultobj;
20605 fail:
20606 {
20607 if (temp2)
20608 delete arg2;
20609 }
20610 return NULL;
20611}
20612
20613
20614static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20615 PyObject *resultobj;
20616 wxDateTime *arg1 = (wxDateTime *) 0 ;
20617 wxString *arg2 = 0 ;
20618 int result;
e811c8ce 20619 bool temp2 = False ;
d14a1e28
RD
20620 PyObject * obj0 = 0 ;
20621 PyObject * obj1 = 0 ;
20622 char *kwnames[] = {
20623 (char *) "self",(char *) "time", NULL
20624 };
20625
20626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
20627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20628 {
20629 arg2 = wxString_in_helper(obj1);
20630 if (arg2 == NULL) SWIG_fail;
e811c8ce 20631 temp2 = True;
d14a1e28
RD
20632 }
20633 {
20634 PyThreadState* __tstate = wxPyBeginAllowThreads();
20635 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
20636
20637 wxPyEndAllowThreads(__tstate);
20638 if (PyErr_Occurred()) SWIG_fail;
20639 }
994141e6 20640 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
20641 {
20642 if (temp2)
20643 delete arg2;
20644 }
20645 return resultobj;
20646 fail:
20647 {
20648 if (temp2)
20649 delete arg2;
20650 }
20651 return NULL;
20652}
20653
20654
20655static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
20656 PyObject *resultobj;
20657 wxDateTime *arg1 = (wxDateTime *) 0 ;
20658 wxString const &arg2_defvalue = wxPyDateFormatStr ;
20659 wxString *arg2 = (wxString *) &arg2_defvalue ;
20660 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
20661 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
20662 wxString result;
e811c8ce 20663 bool temp2 = False ;
7722248d 20664 bool temp3 = False ;
d14a1e28
RD
20665 PyObject * obj0 = 0 ;
20666 PyObject * obj1 = 0 ;
20667 PyObject * obj2 = 0 ;
20668 char *kwnames[] = {
20669 (char *) "self",(char *) "format",(char *) "tz", NULL
20670 };
20671
20672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
20673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20674 if (obj1) {
20675 {
20676 arg2 = wxString_in_helper(obj1);
20677 if (arg2 == NULL) SWIG_fail;
e811c8ce 20678 temp2 = True;
d14a1e28
RD
20679 }
20680 }
20681 if (obj2) {
20682 {
20683 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
7722248d 20684 temp3 = True;
d14a1e28
RD
20685 }
20686 }
20687 {
20688 PyThreadState* __tstate = wxPyBeginAllowThreads();
20689 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
20690
20691 wxPyEndAllowThreads(__tstate);
20692 if (PyErr_Occurred()) SWIG_fail;
20693 }
20694 {
20695#if wxUSE_UNICODE
20696 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20697#else
20698 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20699#endif
20700 }
20701 {
20702 if (temp2)
20703 delete arg2;
20704 }
20705 {
7722248d 20706 if (temp3) delete arg3;
d14a1e28
RD
20707 }
20708 return resultobj;
20709 fail:
20710 {
20711 if (temp2)
20712 delete arg2;
20713 }
20714 {
7722248d 20715 if (temp3) delete arg3;
d14a1e28
RD
20716 }
20717 return NULL;
20718}
20719
20720
20721static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
20722 PyObject *resultobj;
20723 wxDateTime *arg1 = (wxDateTime *) 0 ;
20724 wxString result;
20725 PyObject * obj0 = 0 ;
20726 char *kwnames[] = {
20727 (char *) "self", NULL
20728 };
20729
20730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
20731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20732 {
20733 PyThreadState* __tstate = wxPyBeginAllowThreads();
20734 result = ((wxDateTime const *)arg1)->FormatDate();
20735
20736 wxPyEndAllowThreads(__tstate);
20737 if (PyErr_Occurred()) SWIG_fail;
20738 }
20739 {
20740#if wxUSE_UNICODE
20741 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20742#else
20743 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20744#endif
20745 }
20746 return resultobj;
20747 fail:
20748 return NULL;
20749}
20750
20751
20752static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20753 PyObject *resultobj;
20754 wxDateTime *arg1 = (wxDateTime *) 0 ;
20755 wxString result;
20756 PyObject * obj0 = 0 ;
20757 char *kwnames[] = {
20758 (char *) "self", NULL
20759 };
20760
20761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
20762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20763 {
20764 PyThreadState* __tstate = wxPyBeginAllowThreads();
20765 result = ((wxDateTime const *)arg1)->FormatTime();
20766
20767 wxPyEndAllowThreads(__tstate);
20768 if (PyErr_Occurred()) SWIG_fail;
20769 }
20770 {
20771#if wxUSE_UNICODE
20772 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20773#else
20774 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20775#endif
20776 }
20777 return resultobj;
20778 fail:
20779 return NULL;
20780}
20781
20782
20783static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
20784 PyObject *resultobj;
20785 wxDateTime *arg1 = (wxDateTime *) 0 ;
20786 wxString result;
20787 PyObject * obj0 = 0 ;
20788 char *kwnames[] = {
20789 (char *) "self", NULL
20790 };
20791
20792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
20793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20794 {
20795 PyThreadState* __tstate = wxPyBeginAllowThreads();
20796 result = ((wxDateTime const *)arg1)->FormatISODate();
20797
20798 wxPyEndAllowThreads(__tstate);
20799 if (PyErr_Occurred()) SWIG_fail;
20800 }
20801 {
20802#if wxUSE_UNICODE
20803 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20804#else
20805 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20806#endif
20807 }
20808 return resultobj;
20809 fail:
20810 return NULL;
20811}
20812
20813
20814static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20815 PyObject *resultobj;
20816 wxDateTime *arg1 = (wxDateTime *) 0 ;
20817 wxString result;
20818 PyObject * obj0 = 0 ;
20819 char *kwnames[] = {
20820 (char *) "self", NULL
20821 };
20822
20823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
20824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20825 {
20826 PyThreadState* __tstate = wxPyBeginAllowThreads();
20827 result = ((wxDateTime const *)arg1)->FormatISOTime();
20828
20829 wxPyEndAllowThreads(__tstate);
20830 if (PyErr_Occurred()) SWIG_fail;
20831 }
20832 {
20833#if wxUSE_UNICODE
20834 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20835#else
20836 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20837#endif
20838 }
20839 return resultobj;
20840 fail:
20841 return NULL;
20842}
20843
20844
20845static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
20846 PyObject *obj;
20847 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20848 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
20849 Py_INCREF(obj);
20850 return Py_BuildValue((char *)"");
20851}
20852static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20853 PyObject *resultobj;
20854 long arg1 ;
20855 wxTimeSpan result;
994141e6 20856 PyObject * obj0 = 0 ;
d14a1e28
RD
20857 char *kwnames[] = {
20858 (char *) "sec", NULL
20859 };
20860
994141e6
RD
20861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
20862 {
20863 arg1 = (long) SWIG_PyObj_AsLong(obj0);
20864 if (PyErr_Occurred()) SWIG_fail;
20865 }
d14a1e28
RD
20866 {
20867 PyThreadState* __tstate = wxPyBeginAllowThreads();
20868 result = wxTimeSpan::Seconds(arg1);
20869
20870 wxPyEndAllowThreads(__tstate);
20871 if (PyErr_Occurred()) SWIG_fail;
20872 }
20873 {
20874 wxTimeSpan * resultptr;
20875 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20876 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20877 }
20878 return resultobj;
20879 fail:
20880 return NULL;
20881}
20882
20883
20884static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
20885 PyObject *resultobj;
20886 wxTimeSpan result;
20887 char *kwnames[] = {
20888 NULL
20889 };
20890
20891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
20892 {
20893 PyThreadState* __tstate = wxPyBeginAllowThreads();
20894 result = wxTimeSpan::Second();
20895
20896 wxPyEndAllowThreads(__tstate);
20897 if (PyErr_Occurred()) SWIG_fail;
20898 }
20899 {
20900 wxTimeSpan * resultptr;
20901 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20902 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20903 }
20904 return resultobj;
20905 fail:
20906 return NULL;
20907}
20908
20909
20910static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
20911 PyObject *resultobj;
20912 long arg1 ;
20913 wxTimeSpan result;
994141e6 20914 PyObject * obj0 = 0 ;
d14a1e28
RD
20915 char *kwnames[] = {
20916 (char *) "min", NULL
20917 };
20918
994141e6
RD
20919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
20920 {
20921 arg1 = (long) SWIG_PyObj_AsLong(obj0);
20922 if (PyErr_Occurred()) SWIG_fail;
20923 }
d14a1e28
RD
20924 {
20925 PyThreadState* __tstate = wxPyBeginAllowThreads();
20926 result = wxTimeSpan::Minutes(arg1);
20927
20928 wxPyEndAllowThreads(__tstate);
20929 if (PyErr_Occurred()) SWIG_fail;
20930 }
20931 {
20932 wxTimeSpan * resultptr;
20933 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20934 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20935 }
20936 return resultobj;
20937 fail:
20938 return NULL;
20939}
20940
20941
20942static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
20943 PyObject *resultobj;
20944 wxTimeSpan result;
20945 char *kwnames[] = {
20946 NULL
20947 };
20948
20949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
20950 {
20951 PyThreadState* __tstate = wxPyBeginAllowThreads();
20952 result = wxTimeSpan::Minute();
20953
20954 wxPyEndAllowThreads(__tstate);
20955 if (PyErr_Occurred()) SWIG_fail;
20956 }
20957 {
20958 wxTimeSpan * resultptr;
20959 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20960 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20961 }
20962 return resultobj;
20963 fail:
20964 return NULL;
20965}
20966
20967
20968static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
20969 PyObject *resultobj;
20970 long arg1 ;
20971 wxTimeSpan result;
994141e6 20972 PyObject * obj0 = 0 ;
d14a1e28
RD
20973 char *kwnames[] = {
20974 (char *) "hours", NULL
20975 };
20976
994141e6
RD
20977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
20978 {
20979 arg1 = (long) SWIG_PyObj_AsLong(obj0);
20980 if (PyErr_Occurred()) SWIG_fail;
20981 }
d14a1e28
RD
20982 {
20983 PyThreadState* __tstate = wxPyBeginAllowThreads();
20984 result = wxTimeSpan::Hours(arg1);
20985
20986 wxPyEndAllowThreads(__tstate);
20987 if (PyErr_Occurred()) SWIG_fail;
20988 }
20989 {
20990 wxTimeSpan * resultptr;
20991 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20992 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20993 }
20994 return resultobj;
20995 fail:
20996 return NULL;
20997}
20998
20999
21000static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
21001 PyObject *resultobj;
21002 wxTimeSpan result;
21003 char *kwnames[] = {
21004 NULL
21005 };
21006
21007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
21008 {
21009 PyThreadState* __tstate = wxPyBeginAllowThreads();
21010 result = wxTimeSpan::Hour();
21011
21012 wxPyEndAllowThreads(__tstate);
21013 if (PyErr_Occurred()) SWIG_fail;
21014 }
21015 {
21016 wxTimeSpan * resultptr;
21017 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21018 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21019 }
21020 return resultobj;
21021 fail:
21022 return NULL;
21023}
21024
21025
21026static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
21027 PyObject *resultobj;
21028 long arg1 ;
21029 wxTimeSpan result;
994141e6 21030 PyObject * obj0 = 0 ;
d14a1e28
RD
21031 char *kwnames[] = {
21032 (char *) "days", NULL
21033 };
21034
994141e6
RD
21035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
21036 {
21037 arg1 = (long) SWIG_PyObj_AsLong(obj0);
21038 if (PyErr_Occurred()) SWIG_fail;
21039 }
d14a1e28
RD
21040 {
21041 PyThreadState* __tstate = wxPyBeginAllowThreads();
21042 result = wxTimeSpan::Days(arg1);
21043
21044 wxPyEndAllowThreads(__tstate);
21045 if (PyErr_Occurred()) SWIG_fail;
21046 }
21047 {
21048 wxTimeSpan * resultptr;
21049 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21050 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21051 }
21052 return resultobj;
21053 fail:
21054 return NULL;
21055}
21056
21057
21058static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
21059 PyObject *resultobj;
21060 wxTimeSpan result;
21061 char *kwnames[] = {
21062 NULL
21063 };
21064
21065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
21066 {
21067 PyThreadState* __tstate = wxPyBeginAllowThreads();
21068 result = wxTimeSpan::Day();
21069
21070 wxPyEndAllowThreads(__tstate);
21071 if (PyErr_Occurred()) SWIG_fail;
21072 }
21073 {
21074 wxTimeSpan * resultptr;
21075 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21076 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21077 }
21078 return resultobj;
21079 fail:
21080 return NULL;
21081}
21082
21083
21084static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
21085 PyObject *resultobj;
21086 long arg1 ;
21087 wxTimeSpan result;
994141e6 21088 PyObject * obj0 = 0 ;
d14a1e28
RD
21089 char *kwnames[] = {
21090 (char *) "days", NULL
21091 };
21092
994141e6
RD
21093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
21094 {
21095 arg1 = (long) SWIG_PyObj_AsLong(obj0);
21096 if (PyErr_Occurred()) SWIG_fail;
21097 }
d14a1e28
RD
21098 {
21099 PyThreadState* __tstate = wxPyBeginAllowThreads();
21100 result = wxTimeSpan::Weeks(arg1);
21101
21102 wxPyEndAllowThreads(__tstate);
21103 if (PyErr_Occurred()) SWIG_fail;
21104 }
21105 {
21106 wxTimeSpan * resultptr;
21107 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21108 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21109 }
21110 return resultobj;
21111 fail:
21112 return NULL;
21113}
21114
21115
21116static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
21117 PyObject *resultobj;
21118 wxTimeSpan result;
21119 char *kwnames[] = {
21120 NULL
21121 };
21122
21123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
21124 {
21125 PyThreadState* __tstate = wxPyBeginAllowThreads();
21126 result = wxTimeSpan::Week();
21127
21128 wxPyEndAllowThreads(__tstate);
21129 if (PyErr_Occurred()) SWIG_fail;
21130 }
21131 {
21132 wxTimeSpan * resultptr;
21133 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21134 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21135 }
21136 return resultobj;
21137 fail:
21138 return NULL;
21139}
21140
21141
21142static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21143 PyObject *resultobj;
21144 long arg1 = (long) 0 ;
21145 long arg2 = (long) 0 ;
21146 long arg3 = (long) 0 ;
21147 long arg4 = (long) 0 ;
21148 wxTimeSpan *result;
994141e6
RD
21149 PyObject * obj0 = 0 ;
21150 PyObject * obj1 = 0 ;
21151 PyObject * obj2 = 0 ;
21152 PyObject * obj3 = 0 ;
d14a1e28
RD
21153 char *kwnames[] = {
21154 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21155 };
21156
994141e6
RD
21157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21158 if (obj0) {
21159 {
21160 arg1 = (long) SWIG_PyObj_AsLong(obj0);
21161 if (PyErr_Occurred()) SWIG_fail;
21162 }
21163 }
21164 if (obj1) {
21165 {
21166 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21167 if (PyErr_Occurred()) SWIG_fail;
21168 }
21169 }
21170 if (obj2) {
21171 {
21172 arg3 = (long) SWIG_PyObj_AsLong(obj2);
21173 if (PyErr_Occurred()) SWIG_fail;
21174 }
21175 }
21176 if (obj3) {
21177 {
21178 arg4 = (long) SWIG_PyObj_AsLong(obj3);
21179 if (PyErr_Occurred()) SWIG_fail;
21180 }
21181 }
d14a1e28
RD
21182 {
21183 PyThreadState* __tstate = wxPyBeginAllowThreads();
21184 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
21185
21186 wxPyEndAllowThreads(__tstate);
21187 if (PyErr_Occurred()) SWIG_fail;
21188 }
21189 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 1);
21190 return resultobj;
21191 fail:
21192 return NULL;
21193}
21194
21195
21196static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21197 PyObject *resultobj;
21198 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21199 PyObject * obj0 = 0 ;
21200 char *kwnames[] = {
21201 (char *) "self", NULL
21202 };
21203
21204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
21205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21206 {
21207 PyThreadState* __tstate = wxPyBeginAllowThreads();
21208 delete arg1;
21209
21210 wxPyEndAllowThreads(__tstate);
21211 if (PyErr_Occurred()) SWIG_fail;
21212 }
21213 Py_INCREF(Py_None); resultobj = Py_None;
21214 return resultobj;
21215 fail:
21216 return NULL;
21217}
21218
21219
21220static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
21221 PyObject *resultobj;
21222 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21223 wxTimeSpan *arg2 = 0 ;
21224 wxTimeSpan *result;
21225 PyObject * obj0 = 0 ;
21226 PyObject * obj1 = 0 ;
21227 char *kwnames[] = {
21228 (char *) "self",(char *) "diff", NULL
21229 };
21230
21231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
21232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21233 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21234 if (arg2 == NULL) {
21235 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21236 }
21237 {
21238 PyThreadState* __tstate = wxPyBeginAllowThreads();
21239 {
21240 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
21241 result = (wxTimeSpan *) &_result_ref;
21242 }
21243
21244 wxPyEndAllowThreads(__tstate);
21245 if (PyErr_Occurred()) SWIG_fail;
21246 }
21247 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21248 return resultobj;
21249 fail:
21250 return NULL;
21251}
21252
21253
21254static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
21255 PyObject *resultobj;
21256 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21257 wxTimeSpan *arg2 = 0 ;
21258 wxTimeSpan *result;
21259 PyObject * obj0 = 0 ;
21260 PyObject * obj1 = 0 ;
21261 char *kwnames[] = {
21262 (char *) "self",(char *) "diff", NULL
21263 };
21264
21265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
21266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21267 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21268 if (arg2 == NULL) {
21269 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21270 }
21271 {
21272 PyThreadState* __tstate = wxPyBeginAllowThreads();
21273 {
21274 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
21275 result = (wxTimeSpan *) &_result_ref;
21276 }
21277
21278 wxPyEndAllowThreads(__tstate);
21279 if (PyErr_Occurred()) SWIG_fail;
21280 }
21281 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21282 return resultobj;
21283 fail:
21284 return NULL;
21285}
21286
21287
21288static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
21289 PyObject *resultobj;
21290 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21291 int arg2 ;
21292 wxTimeSpan *result;
21293 PyObject * obj0 = 0 ;
994141e6 21294 PyObject * obj1 = 0 ;
d14a1e28
RD
21295 char *kwnames[] = {
21296 (char *) "self",(char *) "n", NULL
21297 };
21298
994141e6 21299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 21300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
21301 {
21302 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21303 if (PyErr_Occurred()) SWIG_fail;
21304 }
d14a1e28
RD
21305 {
21306 PyThreadState* __tstate = wxPyBeginAllowThreads();
21307 {
21308 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
21309 result = (wxTimeSpan *) &_result_ref;
21310 }
21311
21312 wxPyEndAllowThreads(__tstate);
21313 if (PyErr_Occurred()) SWIG_fail;
21314 }
21315 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21316 return resultobj;
21317 fail:
21318 return NULL;
21319}
21320
21321
21322static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
21323 PyObject *resultobj;
21324 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21325 wxTimeSpan *result;
21326 PyObject * obj0 = 0 ;
21327 char *kwnames[] = {
21328 (char *) "self", NULL
21329 };
21330
21331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
21332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21333 {
21334 PyThreadState* __tstate = wxPyBeginAllowThreads();
21335 {
21336 wxTimeSpan &_result_ref = (arg1)->Neg();
21337 result = (wxTimeSpan *) &_result_ref;
21338 }
21339
21340 wxPyEndAllowThreads(__tstate);
21341 if (PyErr_Occurred()) SWIG_fail;
21342 }
21343 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21344 return resultobj;
21345 fail:
21346 return NULL;
21347}
21348
21349
21350static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
21351 PyObject *resultobj;
21352 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21353 wxTimeSpan result;
21354 PyObject * obj0 = 0 ;
21355 char *kwnames[] = {
21356 (char *) "self", NULL
21357 };
21358
21359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
21360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21361 {
21362 PyThreadState* __tstate = wxPyBeginAllowThreads();
21363 result = ((wxTimeSpan const *)arg1)->Abs();
21364
21365 wxPyEndAllowThreads(__tstate);
21366 if (PyErr_Occurred()) SWIG_fail;
21367 }
21368 {
21369 wxTimeSpan * resultptr;
21370 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21371 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21372 }
21373 return resultobj;
21374 fail:
21375 return NULL;
21376}
21377
21378
21379static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21380 PyObject *resultobj;
21381 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21382 wxTimeSpan *arg2 = 0 ;
21383 wxTimeSpan *result;
21384 PyObject * obj0 = 0 ;
21385 PyObject * obj1 = 0 ;
21386 char *kwnames[] = {
21387 (char *) "self",(char *) "diff", NULL
21388 };
21389
21390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21392 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21393 if (arg2 == NULL) {
21394 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21395 }
21396 {
21397 PyThreadState* __tstate = wxPyBeginAllowThreads();
21398 {
21399 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
21400 result = (wxTimeSpan *) &_result_ref;
21401 }
21402
21403 wxPyEndAllowThreads(__tstate);
21404 if (PyErr_Occurred()) SWIG_fail;
21405 }
21406 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21407 return resultobj;
21408 fail:
21409 return NULL;
21410}
21411
21412
21413static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21414 PyObject *resultobj;
21415 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21416 wxTimeSpan *arg2 = 0 ;
21417 wxTimeSpan *result;
21418 PyObject * obj0 = 0 ;
21419 PyObject * obj1 = 0 ;
21420 char *kwnames[] = {
21421 (char *) "self",(char *) "diff", NULL
21422 };
21423
21424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21426 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21427 if (arg2 == NULL) {
21428 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21429 }
21430 {
21431 PyThreadState* __tstate = wxPyBeginAllowThreads();
21432 {
21433 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
21434 result = (wxTimeSpan *) &_result_ref;
21435 }
21436
21437 wxPyEndAllowThreads(__tstate);
21438 if (PyErr_Occurred()) SWIG_fail;
21439 }
21440 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21441 return resultobj;
21442 fail:
21443 return NULL;
21444}
21445
21446
21447static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21448 PyObject *resultobj;
21449 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21450 int arg2 ;
21451 wxTimeSpan *result;
21452 PyObject * obj0 = 0 ;
994141e6 21453 PyObject * obj1 = 0 ;
d14a1e28
RD
21454 char *kwnames[] = {
21455 (char *) "self",(char *) "n", NULL
21456 };
21457
994141e6 21458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 21459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
21460 {
21461 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21462 if (PyErr_Occurred()) SWIG_fail;
21463 }
d14a1e28
RD
21464 {
21465 PyThreadState* __tstate = wxPyBeginAllowThreads();
21466 {
21467 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
21468 result = (wxTimeSpan *) &_result_ref;
21469 }
21470
21471 wxPyEndAllowThreads(__tstate);
21472 if (PyErr_Occurred()) SWIG_fail;
21473 }
21474 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21475 return resultobj;
21476 fail:
21477 return NULL;
21478}
21479
21480
21481static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21482 PyObject *resultobj;
21483 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21484 wxTimeSpan *result;
21485 PyObject * obj0 = 0 ;
21486 char *kwnames[] = {
21487 (char *) "self", NULL
21488 };
21489
21490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
21491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21492 {
21493 PyThreadState* __tstate = wxPyBeginAllowThreads();
21494 {
21495 wxTimeSpan &_result_ref = (arg1)->operator -();
21496 result = (wxTimeSpan *) &_result_ref;
21497 }
21498
21499 wxPyEndAllowThreads(__tstate);
21500 if (PyErr_Occurred()) SWIG_fail;
21501 }
21502 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21503 return resultobj;
21504 fail:
21505 return NULL;
21506}
21507
21508
21509static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21510 PyObject *resultobj;
21511 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21512 wxTimeSpan *arg2 = 0 ;
21513 wxTimeSpan result;
21514 PyObject * obj0 = 0 ;
21515 PyObject * obj1 = 0 ;
21516 char *kwnames[] = {
21517 (char *) "self",(char *) "other", NULL
21518 };
21519
21520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21523 if (arg2 == NULL) {
21524 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21525 }
21526 {
21527 PyThreadState* __tstate = wxPyBeginAllowThreads();
21528 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
21529
21530 wxPyEndAllowThreads(__tstate);
21531 if (PyErr_Occurred()) SWIG_fail;
21532 }
21533 {
21534 wxTimeSpan * resultptr;
21535 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21536 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21537 }
21538 return resultobj;
21539 fail:
21540 return NULL;
21541}
21542
21543
21544static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21545 PyObject *resultobj;
21546 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21547 wxTimeSpan *arg2 = 0 ;
21548 wxTimeSpan result;
21549 PyObject * obj0 = 0 ;
21550 PyObject * obj1 = 0 ;
21551 char *kwnames[] = {
21552 (char *) "self",(char *) "other", NULL
21553 };
21554
21555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21557 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21558 if (arg2 == NULL) {
21559 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21560 }
21561 {
21562 PyThreadState* __tstate = wxPyBeginAllowThreads();
21563 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
21564
21565 wxPyEndAllowThreads(__tstate);
21566 if (PyErr_Occurred()) SWIG_fail;
21567 }
21568 {
21569 wxTimeSpan * resultptr;
21570 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21571 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21572 }
21573 return resultobj;
21574 fail:
21575 return NULL;
21576}
21577
21578
21579static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21580 PyObject *resultobj;
21581 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21582 int arg2 ;
21583 wxTimeSpan result;
21584 PyObject * obj0 = 0 ;
994141e6 21585 PyObject * obj1 = 0 ;
d14a1e28
RD
21586 char *kwnames[] = {
21587 (char *) "self",(char *) "n", NULL
21588 };
21589
994141e6 21590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 21591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
21592 {
21593 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21594 if (PyErr_Occurred()) SWIG_fail;
21595 }
d14a1e28
RD
21596 {
21597 PyThreadState* __tstate = wxPyBeginAllowThreads();
21598 result = wxTimeSpan___mul__(arg1,arg2);
21599
21600 wxPyEndAllowThreads(__tstate);
21601 if (PyErr_Occurred()) SWIG_fail;
21602 }
21603 {
21604 wxTimeSpan * resultptr;
21605 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21606 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21607 }
21608 return resultobj;
21609 fail:
21610 return NULL;
21611}
21612
21613
21614static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21615 PyObject *resultobj;
21616 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21617 int arg2 ;
21618 wxTimeSpan result;
21619 PyObject * obj0 = 0 ;
994141e6 21620 PyObject * obj1 = 0 ;
d14a1e28
RD
21621 char *kwnames[] = {
21622 (char *) "self",(char *) "n", NULL
21623 };
21624
994141e6 21625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 21626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
21627 {
21628 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21629 if (PyErr_Occurred()) SWIG_fail;
21630 }
d14a1e28
RD
21631 {
21632 PyThreadState* __tstate = wxPyBeginAllowThreads();
21633 result = wxTimeSpan___rmul__(arg1,arg2);
21634
21635 wxPyEndAllowThreads(__tstate);
21636 if (PyErr_Occurred()) SWIG_fail;
21637 }
21638 {
21639 wxTimeSpan * resultptr;
21640 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21641 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21642 }
21643 return resultobj;
21644 fail:
21645 return NULL;
21646}
21647
21648
21649static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
21650 PyObject *resultobj;
21651 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21652 wxTimeSpan *arg2 = 0 ;
21653 bool result;
21654 PyObject * obj0 = 0 ;
21655 PyObject * obj1 = 0 ;
21656 char *kwnames[] = {
21657 (char *) "self",(char *) "other", NULL
21658 };
21659
21660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
21661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21662 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21663 if (arg2 == NULL) {
21664 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21665 }
21666 {
21667 PyThreadState* __tstate = wxPyBeginAllowThreads();
21668 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const &)*arg2);
21669
21670 wxPyEndAllowThreads(__tstate);
21671 if (PyErr_Occurred()) SWIG_fail;
21672 }
4d5c3d91 21673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21674 return resultobj;
21675 fail:
21676 return NULL;
21677}
21678
21679
21680static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
21681 PyObject *resultobj;
21682 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21683 wxTimeSpan *arg2 = 0 ;
21684 bool result;
21685 PyObject * obj0 = 0 ;
21686 PyObject * obj1 = 0 ;
21687 char *kwnames[] = {
21688 (char *) "self",(char *) "other", NULL
21689 };
21690
21691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
21692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21693 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21694 if (arg2 == NULL) {
21695 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21696 }
21697 {
21698 PyThreadState* __tstate = wxPyBeginAllowThreads();
21699 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const &)*arg2);
21700
21701 wxPyEndAllowThreads(__tstate);
21702 if (PyErr_Occurred()) SWIG_fail;
21703 }
4d5c3d91 21704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21705 return resultobj;
21706 fail:
21707 return NULL;
21708}
21709
21710
21711static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
21712 PyObject *resultobj;
21713 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21714 wxTimeSpan *arg2 = 0 ;
21715 bool result;
21716 PyObject * obj0 = 0 ;
21717 PyObject * obj1 = 0 ;
21718 char *kwnames[] = {
21719 (char *) "self",(char *) "other", NULL
21720 };
21721
21722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
21723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21724 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21725 if (arg2 == NULL) {
21726 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21727 }
21728 {
21729 PyThreadState* __tstate = wxPyBeginAllowThreads();
21730 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const &)*arg2);
21731
21732 wxPyEndAllowThreads(__tstate);
21733 if (PyErr_Occurred()) SWIG_fail;
21734 }
4d5c3d91 21735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21736 return resultobj;
21737 fail:
21738 return NULL;
21739}
21740
21741
21742static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
21743 PyObject *resultobj;
21744 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21745 wxTimeSpan *arg2 = 0 ;
21746 bool result;
21747 PyObject * obj0 = 0 ;
21748 PyObject * obj1 = 0 ;
21749 char *kwnames[] = {
21750 (char *) "self",(char *) "other", NULL
21751 };
21752
21753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
21754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21755 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21756 if (arg2 == NULL) {
21757 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21758 }
21759 {
21760 PyThreadState* __tstate = wxPyBeginAllowThreads();
21761 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const &)*arg2);
21762
21763 wxPyEndAllowThreads(__tstate);
21764 if (PyErr_Occurred()) SWIG_fail;
21765 }
4d5c3d91 21766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21767 return resultobj;
21768 fail:
21769 return NULL;
21770}
21771
21772
21773static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
21774 PyObject *resultobj;
21775 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21776 wxTimeSpan *arg2 = 0 ;
21777 bool result;
21778 PyObject * obj0 = 0 ;
21779 PyObject * obj1 = 0 ;
21780 char *kwnames[] = {
21781 (char *) "self",(char *) "other", NULL
21782 };
21783
21784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
21785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21786 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21787 if (arg2 == NULL) {
21788 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21789 }
21790 {
21791 PyThreadState* __tstate = wxPyBeginAllowThreads();
21792 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const &)*arg2);
21793
21794 wxPyEndAllowThreads(__tstate);
21795 if (PyErr_Occurred()) SWIG_fail;
21796 }
4d5c3d91 21797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21798 return resultobj;
21799 fail:
21800 return NULL;
21801}
21802
21803
21804static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
21805 PyObject *resultobj;
21806 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21807 wxTimeSpan *arg2 = 0 ;
21808 bool result;
21809 PyObject * obj0 = 0 ;
21810 PyObject * obj1 = 0 ;
21811 char *kwnames[] = {
21812 (char *) "self",(char *) "other", NULL
21813 };
21814
21815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
21816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21817 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21818 if (arg2 == NULL) {
21819 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21820 }
21821 {
21822 PyThreadState* __tstate = wxPyBeginAllowThreads();
21823 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const &)*arg2);
21824
21825 wxPyEndAllowThreads(__tstate);
21826 if (PyErr_Occurred()) SWIG_fail;
21827 }
4d5c3d91 21828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21829 return resultobj;
21830 fail:
21831 return NULL;
21832}
21833
21834
21835static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
21836 PyObject *resultobj;
21837 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21838 bool result;
21839 PyObject * obj0 = 0 ;
21840 char *kwnames[] = {
21841 (char *) "self", NULL
21842 };
21843
21844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
21845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21846 {
21847 PyThreadState* __tstate = wxPyBeginAllowThreads();
21848 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
21849
21850 wxPyEndAllowThreads(__tstate);
21851 if (PyErr_Occurred()) SWIG_fail;
21852 }
4d5c3d91 21853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21854 return resultobj;
21855 fail:
21856 return NULL;
21857}
21858
21859
21860static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
21861 PyObject *resultobj;
21862 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21863 bool result;
21864 PyObject * obj0 = 0 ;
21865 char *kwnames[] = {
21866 (char *) "self", NULL
21867 };
21868
21869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
21870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21871 {
21872 PyThreadState* __tstate = wxPyBeginAllowThreads();
21873 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
21874
21875 wxPyEndAllowThreads(__tstate);
21876 if (PyErr_Occurred()) SWIG_fail;
21877 }
4d5c3d91 21878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21879 return resultobj;
21880 fail:
21881 return NULL;
21882}
21883
21884
21885static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
21886 PyObject *resultobj;
21887 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21888 bool result;
21889 PyObject * obj0 = 0 ;
21890 char *kwnames[] = {
21891 (char *) "self", NULL
21892 };
21893
21894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
21895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21896 {
21897 PyThreadState* __tstate = wxPyBeginAllowThreads();
21898 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
21899
21900 wxPyEndAllowThreads(__tstate);
21901 if (PyErr_Occurred()) SWIG_fail;
21902 }
4d5c3d91 21903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21904 return resultobj;
21905 fail:
21906 return NULL;
21907}
21908
21909
21910static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21911 PyObject *resultobj;
21912 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21913 wxTimeSpan *arg2 = 0 ;
21914 bool result;
21915 PyObject * obj0 = 0 ;
21916 PyObject * obj1 = 0 ;
21917 char *kwnames[] = {
21918 (char *) "self",(char *) "ts", NULL
21919 };
21920
21921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
21922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21923 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21924 if (arg2 == NULL) {
21925 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21926 }
21927 {
21928 PyThreadState* __tstate = wxPyBeginAllowThreads();
21929 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
21930
21931 wxPyEndAllowThreads(__tstate);
21932 if (PyErr_Occurred()) SWIG_fail;
21933 }
4d5c3d91 21934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21935 return resultobj;
21936 fail:
21937 return NULL;
21938}
21939
21940
21941static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
21942 PyObject *resultobj;
21943 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21944 wxTimeSpan *arg2 = 0 ;
21945 bool result;
21946 PyObject * obj0 = 0 ;
21947 PyObject * obj1 = 0 ;
21948 char *kwnames[] = {
21949 (char *) "self",(char *) "ts", NULL
21950 };
21951
21952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
21953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21954 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21955 if (arg2 == NULL) {
21956 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21957 }
21958 {
21959 PyThreadState* __tstate = wxPyBeginAllowThreads();
21960 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
21961
21962 wxPyEndAllowThreads(__tstate);
21963 if (PyErr_Occurred()) SWIG_fail;
21964 }
4d5c3d91 21965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21966 return resultobj;
21967 fail:
21968 return NULL;
21969}
21970
21971
21972static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
21973 PyObject *resultobj;
21974 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21975 wxTimeSpan *arg2 = 0 ;
21976 bool result;
21977 PyObject * obj0 = 0 ;
21978 PyObject * obj1 = 0 ;
21979 char *kwnames[] = {
21980 (char *) "self",(char *) "t", NULL
21981 };
21982
21983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
21984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21985 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21986 if (arg2 == NULL) {
21987 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21988 }
21989 {
21990 PyThreadState* __tstate = wxPyBeginAllowThreads();
21991 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
21992
21993 wxPyEndAllowThreads(__tstate);
21994 if (PyErr_Occurred()) SWIG_fail;
21995 }
4d5c3d91 21996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21997 return resultobj;
21998 fail:
21999 return NULL;
22000}
22001
22002
22003static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22004 PyObject *resultobj;
22005 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22006 int result;
22007 PyObject * obj0 = 0 ;
22008 char *kwnames[] = {
22009 (char *) "self", NULL
22010 };
22011
22012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
22013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22014 {
22015 PyThreadState* __tstate = wxPyBeginAllowThreads();
22016 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
22017
22018 wxPyEndAllowThreads(__tstate);
22019 if (PyErr_Occurred()) SWIG_fail;
22020 }
994141e6 22021 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
22022 return resultobj;
22023 fail:
22024 return NULL;
22025}
22026
22027
22028static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22029 PyObject *resultobj;
22030 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22031 int result;
22032 PyObject * obj0 = 0 ;
22033 char *kwnames[] = {
22034 (char *) "self", NULL
22035 };
22036
22037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
22038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22039 {
22040 PyThreadState* __tstate = wxPyBeginAllowThreads();
22041 result = (int)((wxTimeSpan const *)arg1)->GetDays();
22042
22043 wxPyEndAllowThreads(__tstate);
22044 if (PyErr_Occurred()) SWIG_fail;
22045 }
994141e6 22046 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
22047 return resultobj;
22048 fail:
22049 return NULL;
22050}
22051
22052
22053static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
22054 PyObject *resultobj;
22055 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22056 int result;
22057 PyObject * obj0 = 0 ;
22058 char *kwnames[] = {
22059 (char *) "self", NULL
22060 };
22061
22062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
22063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22064 {
22065 PyThreadState* __tstate = wxPyBeginAllowThreads();
22066 result = (int)((wxTimeSpan const *)arg1)->GetHours();
22067
22068 wxPyEndAllowThreads(__tstate);
22069 if (PyErr_Occurred()) SWIG_fail;
22070 }
994141e6 22071 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
22072 return resultobj;
22073 fail:
22074 return NULL;
22075}
22076
22077
22078static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
22079 PyObject *resultobj;
22080 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22081 int result;
22082 PyObject * obj0 = 0 ;
22083 char *kwnames[] = {
22084 (char *) "self", NULL
22085 };
22086
22087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
22088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22089 {
22090 PyThreadState* __tstate = wxPyBeginAllowThreads();
22091 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
22092
22093 wxPyEndAllowThreads(__tstate);
22094 if (PyErr_Occurred()) SWIG_fail;
22095 }
994141e6 22096 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
22097 return resultobj;
22098 fail:
22099 return NULL;
22100}
22101
22102
22103static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22104 PyObject *resultobj;
22105 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22106 wxLongLong result;
22107 PyObject * obj0 = 0 ;
22108 char *kwnames[] = {
22109 (char *) "self", NULL
22110 };
22111
22112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
22113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22114 {
22115 PyThreadState* __tstate = wxPyBeginAllowThreads();
22116 result = ((wxTimeSpan const *)arg1)->GetSeconds();
22117
22118 wxPyEndAllowThreads(__tstate);
22119 if (PyErr_Occurred()) SWIG_fail;
22120 }
22121 {
22122 PyObject *hi, *lo, *shifter, *shifted;
22123 hi = PyLong_FromLong( (&result)->GetHi() );
22124 lo = PyLong_FromLong( (&result)->GetLo() );
22125 shifter = PyLong_FromLong(32);
22126 shifted = PyNumber_Lshift(hi, shifter);
22127 resultobj = PyNumber_Or(shifted, lo);
22128 Py_DECREF(hi);
22129 Py_DECREF(lo);
22130 Py_DECREF(shifter);
22131 Py_DECREF(shifted);
22132 }
22133 return resultobj;
22134 fail:
22135 return NULL;
22136}
22137
22138
22139static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22140 PyObject *resultobj;
22141 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22142 wxLongLong result;
22143 PyObject * obj0 = 0 ;
22144 char *kwnames[] = {
22145 (char *) "self", NULL
22146 };
22147
22148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
22149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22150 {
22151 PyThreadState* __tstate = wxPyBeginAllowThreads();
22152 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
22153
22154 wxPyEndAllowThreads(__tstate);
22155 if (PyErr_Occurred()) SWIG_fail;
22156 }
22157 {
22158 PyObject *hi, *lo, *shifter, *shifted;
22159 hi = PyLong_FromLong( (&result)->GetHi() );
22160 lo = PyLong_FromLong( (&result)->GetLo() );
22161 shifter = PyLong_FromLong(32);
22162 shifted = PyNumber_Lshift(hi, shifter);
22163 resultobj = PyNumber_Or(shifted, lo);
22164 Py_DECREF(hi);
22165 Py_DECREF(lo);
22166 Py_DECREF(shifter);
22167 Py_DECREF(shifted);
22168 }
22169 return resultobj;
22170 fail:
22171 return NULL;
22172}
22173
22174
22175static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
22176 PyObject *resultobj;
22177 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22178 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
22179 wxString *arg2 = (wxString *) &arg2_defvalue ;
22180 wxString result;
e811c8ce 22181 bool temp2 = False ;
d14a1e28
RD
22182 PyObject * obj0 = 0 ;
22183 PyObject * obj1 = 0 ;
22184 char *kwnames[] = {
22185 (char *) "self",(char *) "format", NULL
22186 };
22187
22188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
22189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22190 if (obj1) {
22191 {
22192 arg2 = wxString_in_helper(obj1);
22193 if (arg2 == NULL) SWIG_fail;
e811c8ce 22194 temp2 = True;
d14a1e28
RD
22195 }
22196 }
22197 {
22198 PyThreadState* __tstate = wxPyBeginAllowThreads();
22199 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
22200
22201 wxPyEndAllowThreads(__tstate);
22202 if (PyErr_Occurred()) SWIG_fail;
22203 }
22204 {
22205#if wxUSE_UNICODE
22206 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22207#else
22208 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22209#endif
22210 }
22211 {
22212 if (temp2)
22213 delete arg2;
22214 }
22215 return resultobj;
22216 fail:
22217 {
22218 if (temp2)
22219 delete arg2;
22220 }
22221 return NULL;
22222}
22223
22224
22225static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
22226 PyObject *obj;
22227 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22228 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
22229 Py_INCREF(obj);
22230 return Py_BuildValue((char *)"");
22231}
22232static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22233 PyObject *resultobj;
22234 int arg1 = (int) 0 ;
22235 int arg2 = (int) 0 ;
22236 int arg3 = (int) 0 ;
22237 int arg4 = (int) 0 ;
22238 wxDateSpan *result;
994141e6
RD
22239 PyObject * obj0 = 0 ;
22240 PyObject * obj1 = 0 ;
22241 PyObject * obj2 = 0 ;
22242 PyObject * obj3 = 0 ;
d14a1e28
RD
22243 char *kwnames[] = {
22244 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22245 };
22246
994141e6
RD
22247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22248 if (obj0) {
22249 {
22250 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22251 if (PyErr_Occurred()) SWIG_fail;
22252 }
22253 }
22254 if (obj1) {
22255 {
22256 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22257 if (PyErr_Occurred()) SWIG_fail;
22258 }
22259 }
22260 if (obj2) {
22261 {
22262 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22263 if (PyErr_Occurred()) SWIG_fail;
22264 }
22265 }
22266 if (obj3) {
22267 {
22268 arg4 = (int) SWIG_PyObj_AsInt(obj3);
22269 if (PyErr_Occurred()) SWIG_fail;
22270 }
22271 }
d14a1e28
RD
22272 {
22273 PyThreadState* __tstate = wxPyBeginAllowThreads();
22274 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
22275
22276 wxPyEndAllowThreads(__tstate);
22277 if (PyErr_Occurred()) SWIG_fail;
22278 }
22279 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 1);
22280 return resultobj;
22281 fail:
22282 return NULL;
22283}
22284
22285
22286static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22287 PyObject *resultobj;
22288 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22289 PyObject * obj0 = 0 ;
22290 char *kwnames[] = {
22291 (char *) "self", NULL
22292 };
22293
22294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
22295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22296 {
22297 PyThreadState* __tstate = wxPyBeginAllowThreads();
22298 delete arg1;
22299
22300 wxPyEndAllowThreads(__tstate);
22301 if (PyErr_Occurred()) SWIG_fail;
22302 }
22303 Py_INCREF(Py_None); resultobj = Py_None;
22304 return resultobj;
22305 fail:
22306 return NULL;
22307}
22308
22309
22310static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
22311 PyObject *resultobj;
22312 int arg1 ;
22313 wxDateSpan result;
994141e6 22314 PyObject * obj0 = 0 ;
d14a1e28
RD
22315 char *kwnames[] = {
22316 (char *) "days", NULL
22317 };
22318
994141e6
RD
22319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
22320 {
22321 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22322 if (PyErr_Occurred()) SWIG_fail;
22323 }
d14a1e28
RD
22324 {
22325 PyThreadState* __tstate = wxPyBeginAllowThreads();
22326 result = wxDateSpan::Days(arg1);
22327
22328 wxPyEndAllowThreads(__tstate);
22329 if (PyErr_Occurred()) SWIG_fail;
22330 }
22331 {
22332 wxDateSpan * resultptr;
22333 resultptr = new wxDateSpan((wxDateSpan &) result);
22334 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22335 }
22336 return resultobj;
22337 fail:
22338 return NULL;
22339}
22340
22341
22342static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
22343 PyObject *resultobj;
22344 wxDateSpan result;
22345 char *kwnames[] = {
22346 NULL
22347 };
22348
22349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
22350 {
22351 PyThreadState* __tstate = wxPyBeginAllowThreads();
22352 result = wxDateSpan::Day();
22353
22354 wxPyEndAllowThreads(__tstate);
22355 if (PyErr_Occurred()) SWIG_fail;
22356 }
22357 {
22358 wxDateSpan * resultptr;
22359 resultptr = new wxDateSpan((wxDateSpan &) result);
22360 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22361 }
22362 return resultobj;
22363 fail:
22364 return NULL;
22365}
22366
22367
22368static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22369 PyObject *resultobj;
22370 int arg1 ;
22371 wxDateSpan result;
994141e6 22372 PyObject * obj0 = 0 ;
d14a1e28
RD
22373 char *kwnames[] = {
22374 (char *) "weeks", NULL
22375 };
22376
994141e6
RD
22377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
22378 {
22379 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22380 if (PyErr_Occurred()) SWIG_fail;
22381 }
d14a1e28
RD
22382 {
22383 PyThreadState* __tstate = wxPyBeginAllowThreads();
22384 result = wxDateSpan::Weeks(arg1);
22385
22386 wxPyEndAllowThreads(__tstate);
22387 if (PyErr_Occurred()) SWIG_fail;
22388 }
22389 {
22390 wxDateSpan * resultptr;
22391 resultptr = new wxDateSpan((wxDateSpan &) result);
22392 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22393 }
22394 return resultobj;
22395 fail:
22396 return NULL;
22397}
22398
22399
22400static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
22401 PyObject *resultobj;
22402 wxDateSpan result;
22403 char *kwnames[] = {
22404 NULL
22405 };
22406
22407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
22408 {
22409 PyThreadState* __tstate = wxPyBeginAllowThreads();
22410 result = wxDateSpan::Week();
22411
22412 wxPyEndAllowThreads(__tstate);
22413 if (PyErr_Occurred()) SWIG_fail;
22414 }
22415 {
22416 wxDateSpan * resultptr;
22417 resultptr = new wxDateSpan((wxDateSpan &) result);
22418 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22419 }
22420 return resultobj;
22421 fail:
22422 return NULL;
22423}
22424
22425
22426static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
22427 PyObject *resultobj;
22428 int arg1 ;
22429 wxDateSpan result;
994141e6 22430 PyObject * obj0 = 0 ;
d14a1e28
RD
22431 char *kwnames[] = {
22432 (char *) "mon", NULL
22433 };
22434
994141e6
RD
22435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
22436 {
22437 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22438 if (PyErr_Occurred()) SWIG_fail;
22439 }
d14a1e28
RD
22440 {
22441 PyThreadState* __tstate = wxPyBeginAllowThreads();
22442 result = wxDateSpan::Months(arg1);
22443
22444 wxPyEndAllowThreads(__tstate);
22445 if (PyErr_Occurred()) SWIG_fail;
22446 }
22447 {
22448 wxDateSpan * resultptr;
22449 resultptr = new wxDateSpan((wxDateSpan &) result);
22450 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22451 }
22452 return resultobj;
22453 fail:
22454 return NULL;
22455}
22456
22457
22458static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
22459 PyObject *resultobj;
22460 wxDateSpan result;
22461 char *kwnames[] = {
22462 NULL
22463 };
22464
22465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
22466 {
22467 PyThreadState* __tstate = wxPyBeginAllowThreads();
22468 result = wxDateSpan::Month();
22469
22470 wxPyEndAllowThreads(__tstate);
22471 if (PyErr_Occurred()) SWIG_fail;
22472 }
22473 {
22474 wxDateSpan * resultptr;
22475 resultptr = new wxDateSpan((wxDateSpan &) result);
22476 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22477 }
22478 return resultobj;
22479 fail:
22480 return NULL;
22481}
22482
22483
22484static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
22485 PyObject *resultobj;
22486 int arg1 ;
22487 wxDateSpan result;
994141e6 22488 PyObject * obj0 = 0 ;
d14a1e28
RD
22489 char *kwnames[] = {
22490 (char *) "years", NULL
22491 };
22492
994141e6
RD
22493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
22494 {
22495 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22496 if (PyErr_Occurred()) SWIG_fail;
22497 }
d14a1e28
RD
22498 {
22499 PyThreadState* __tstate = wxPyBeginAllowThreads();
22500 result = wxDateSpan::Years(arg1);
22501
22502 wxPyEndAllowThreads(__tstate);
22503 if (PyErr_Occurred()) SWIG_fail;
22504 }
22505 {
22506 wxDateSpan * resultptr;
22507 resultptr = new wxDateSpan((wxDateSpan &) result);
22508 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22509 }
22510 return resultobj;
22511 fail:
22512 return NULL;
22513}
22514
22515
22516static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
22517 PyObject *resultobj;
22518 wxDateSpan result;
22519 char *kwnames[] = {
22520 NULL
22521 };
22522
22523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
22524 {
22525 PyThreadState* __tstate = wxPyBeginAllowThreads();
22526 result = wxDateSpan::Year();
22527
22528 wxPyEndAllowThreads(__tstate);
22529 if (PyErr_Occurred()) SWIG_fail;
22530 }
22531 {
22532 wxDateSpan * resultptr;
22533 resultptr = new wxDateSpan((wxDateSpan &) result);
22534 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22535 }
22536 return resultobj;
22537 fail:
22538 return NULL;
22539}
22540
22541
22542static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
22543 PyObject *resultobj;
22544 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22545 int arg2 ;
22546 wxDateSpan *result;
22547 PyObject * obj0 = 0 ;
994141e6 22548 PyObject * obj1 = 0 ;
d14a1e28
RD
22549 char *kwnames[] = {
22550 (char *) "self",(char *) "n", NULL
22551 };
22552
994141e6 22553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 22554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
22555 {
22556 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22557 if (PyErr_Occurred()) SWIG_fail;
22558 }
d14a1e28
RD
22559 {
22560 PyThreadState* __tstate = wxPyBeginAllowThreads();
22561 {
22562 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
22563 result = (wxDateSpan *) &_result_ref;
22564 }
22565
22566 wxPyEndAllowThreads(__tstate);
22567 if (PyErr_Occurred()) SWIG_fail;
22568 }
22569 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22570 return resultobj;
22571 fail:
22572 return NULL;
22573}
22574
22575
22576static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
22577 PyObject *resultobj;
22578 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22579 int arg2 ;
22580 wxDateSpan *result;
22581 PyObject * obj0 = 0 ;
994141e6 22582 PyObject * obj1 = 0 ;
d14a1e28
RD
22583 char *kwnames[] = {
22584 (char *) "self",(char *) "n", NULL
22585 };
22586
994141e6 22587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 22588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
22589 {
22590 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22591 if (PyErr_Occurred()) SWIG_fail;
22592 }
d14a1e28
RD
22593 {
22594 PyThreadState* __tstate = wxPyBeginAllowThreads();
22595 {
22596 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
22597 result = (wxDateSpan *) &_result_ref;
22598 }
22599
22600 wxPyEndAllowThreads(__tstate);
22601 if (PyErr_Occurred()) SWIG_fail;
22602 }
22603 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22604 return resultobj;
22605 fail:
22606 return NULL;
22607}
22608
22609
22610static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22611 PyObject *resultobj;
22612 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22613 int arg2 ;
22614 wxDateSpan *result;
22615 PyObject * obj0 = 0 ;
994141e6 22616 PyObject * obj1 = 0 ;
d14a1e28
RD
22617 char *kwnames[] = {
22618 (char *) "self",(char *) "n", NULL
22619 };
22620
994141e6 22621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 22622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
22623 {
22624 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22625 if (PyErr_Occurred()) SWIG_fail;
22626 }
d14a1e28
RD
22627 {
22628 PyThreadState* __tstate = wxPyBeginAllowThreads();
22629 {
22630 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
22631 result = (wxDateSpan *) &_result_ref;
22632 }
22633
22634 wxPyEndAllowThreads(__tstate);
22635 if (PyErr_Occurred()) SWIG_fail;
22636 }
22637 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22638 return resultobj;
22639 fail:
22640 return NULL;
22641}
22642
22643
22644static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22645 PyObject *resultobj;
22646 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22647 int arg2 ;
22648 wxDateSpan *result;
22649 PyObject * obj0 = 0 ;
994141e6 22650 PyObject * obj1 = 0 ;
d14a1e28
RD
22651 char *kwnames[] = {
22652 (char *) "self",(char *) "n", NULL
22653 };
22654
994141e6 22655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 22656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
22657 {
22658 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22659 if (PyErr_Occurred()) SWIG_fail;
22660 }
d14a1e28
RD
22661 {
22662 PyThreadState* __tstate = wxPyBeginAllowThreads();
22663 {
22664 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
22665 result = (wxDateSpan *) &_result_ref;
22666 }
22667
22668 wxPyEndAllowThreads(__tstate);
22669 if (PyErr_Occurred()) SWIG_fail;
22670 }
22671 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22672 return resultobj;
22673 fail:
22674 return NULL;
22675}
22676
22677
22678static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
22679 PyObject *resultobj;
22680 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22681 int result;
22682 PyObject * obj0 = 0 ;
22683 char *kwnames[] = {
22684 (char *) "self", NULL
22685 };
22686
22687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
22688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22689 {
22690 PyThreadState* __tstate = wxPyBeginAllowThreads();
22691 result = (int)((wxDateSpan const *)arg1)->GetYears();
22692
22693 wxPyEndAllowThreads(__tstate);
22694 if (PyErr_Occurred()) SWIG_fail;
22695 }
994141e6 22696 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
22697 return resultobj;
22698 fail:
22699 return NULL;
22700}
22701
22702
22703static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
22704 PyObject *resultobj;
22705 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22706 int result;
22707 PyObject * obj0 = 0 ;
22708 char *kwnames[] = {
22709 (char *) "self", NULL
22710 };
22711
22712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
22713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22714 {
22715 PyThreadState* __tstate = wxPyBeginAllowThreads();
22716 result = (int)((wxDateSpan const *)arg1)->GetMonths();
22717
22718 wxPyEndAllowThreads(__tstate);
22719 if (PyErr_Occurred()) SWIG_fail;
22720 }
994141e6 22721 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
22722 return resultobj;
22723 fail:
22724 return NULL;
22725}
22726
22727
22728static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22729 PyObject *resultobj;
22730 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22731 int result;
22732 PyObject * obj0 = 0 ;
22733 char *kwnames[] = {
22734 (char *) "self", NULL
22735 };
22736
22737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
22738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22739 {
22740 PyThreadState* __tstate = wxPyBeginAllowThreads();
22741 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
22742
22743 wxPyEndAllowThreads(__tstate);
22744 if (PyErr_Occurred()) SWIG_fail;
22745 }
994141e6 22746 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
22747 return resultobj;
22748 fail:
22749 return NULL;
22750}
22751
22752
22753static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22754 PyObject *resultobj;
22755 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22756 int result;
22757 PyObject * obj0 = 0 ;
22758 char *kwnames[] = {
22759 (char *) "self", NULL
22760 };
22761
22762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
22763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22764 {
22765 PyThreadState* __tstate = wxPyBeginAllowThreads();
22766 result = (int)((wxDateSpan const *)arg1)->GetDays();
22767
22768 wxPyEndAllowThreads(__tstate);
22769 if (PyErr_Occurred()) SWIG_fail;
22770 }
994141e6 22771 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
22772 return resultobj;
22773 fail:
22774 return NULL;
22775}
22776
22777
22778static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22779 PyObject *resultobj;
22780 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22781 int result;
22782 PyObject * obj0 = 0 ;
22783 char *kwnames[] = {
22784 (char *) "self", NULL
22785 };
22786
22787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
22788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22789 {
22790 PyThreadState* __tstate = wxPyBeginAllowThreads();
22791 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
22792
22793 wxPyEndAllowThreads(__tstate);
22794 if (PyErr_Occurred()) SWIG_fail;
22795 }
994141e6 22796 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
22797 return resultobj;
22798 fail:
22799 return NULL;
22800}
22801
22802
22803static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
22804 PyObject *resultobj;
22805 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22806 wxDateSpan *arg2 = 0 ;
22807 wxDateSpan *result;
22808 PyObject * obj0 = 0 ;
22809 PyObject * obj1 = 0 ;
22810 char *kwnames[] = {
22811 (char *) "self",(char *) "other", NULL
22812 };
22813
22814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
22815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22816 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22817 if (arg2 == NULL) {
22818 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22819 }
22820 {
22821 PyThreadState* __tstate = wxPyBeginAllowThreads();
22822 {
22823 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
22824 result = (wxDateSpan *) &_result_ref;
22825 }
22826
22827 wxPyEndAllowThreads(__tstate);
22828 if (PyErr_Occurred()) SWIG_fail;
22829 }
22830 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22831 return resultobj;
22832 fail:
22833 return NULL;
22834}
22835
22836
22837static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
22838 PyObject *resultobj;
22839 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22840 wxDateSpan *arg2 = 0 ;
22841 wxDateSpan *result;
22842 PyObject * obj0 = 0 ;
22843 PyObject * obj1 = 0 ;
22844 char *kwnames[] = {
22845 (char *) "self",(char *) "other", NULL
22846 };
22847
22848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
22849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22850 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22851 if (arg2 == NULL) {
22852 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22853 }
22854 {
22855 PyThreadState* __tstate = wxPyBeginAllowThreads();
22856 {
22857 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
22858 result = (wxDateSpan *) &_result_ref;
22859 }
22860
22861 wxPyEndAllowThreads(__tstate);
22862 if (PyErr_Occurred()) SWIG_fail;
22863 }
22864 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22865 return resultobj;
22866 fail:
22867 return NULL;
22868}
22869
22870
22871static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
22872 PyObject *resultobj;
22873 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22874 wxDateSpan *result;
22875 PyObject * obj0 = 0 ;
22876 char *kwnames[] = {
22877 (char *) "self", NULL
22878 };
22879
22880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
22881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22882 {
22883 PyThreadState* __tstate = wxPyBeginAllowThreads();
22884 {
22885 wxDateSpan &_result_ref = (arg1)->Neg();
22886 result = (wxDateSpan *) &_result_ref;
22887 }
22888
22889 wxPyEndAllowThreads(__tstate);
22890 if (PyErr_Occurred()) SWIG_fail;
22891 }
22892 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22893 return resultobj;
22894 fail:
22895 return NULL;
22896}
22897
22898
22899static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
22900 PyObject *resultobj;
22901 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22902 int arg2 ;
22903 wxDateSpan *result;
22904 PyObject * obj0 = 0 ;
994141e6 22905 PyObject * obj1 = 0 ;
d14a1e28
RD
22906 char *kwnames[] = {
22907 (char *) "self",(char *) "factor", NULL
22908 };
22909
994141e6 22910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 22911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
22912 {
22913 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22914 if (PyErr_Occurred()) SWIG_fail;
22915 }
d14a1e28
RD
22916 {
22917 PyThreadState* __tstate = wxPyBeginAllowThreads();
22918 {
22919 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
22920 result = (wxDateSpan *) &_result_ref;
22921 }
22922
22923 wxPyEndAllowThreads(__tstate);
22924 if (PyErr_Occurred()) SWIG_fail;
22925 }
22926 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22927 return resultobj;
22928 fail:
22929 return NULL;
22930}
22931
22932
22933static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
22934 PyObject *resultobj;
22935 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22936 wxDateSpan *arg2 = 0 ;
22937 wxDateSpan *result;
22938 PyObject * obj0 = 0 ;
22939 PyObject * obj1 = 0 ;
22940 char *kwnames[] = {
22941 (char *) "self",(char *) "other", NULL
22942 };
22943
22944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
22945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22946 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22947 if (arg2 == NULL) {
22948 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22949 }
22950 {
22951 PyThreadState* __tstate = wxPyBeginAllowThreads();
22952 {
22953 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
22954 result = (wxDateSpan *) &_result_ref;
22955 }
22956
22957 wxPyEndAllowThreads(__tstate);
22958 if (PyErr_Occurred()) SWIG_fail;
22959 }
22960 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22961 return resultobj;
22962 fail:
22963 return NULL;
22964}
22965
22966
22967static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
22968 PyObject *resultobj;
22969 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22970 wxDateSpan *arg2 = 0 ;
22971 wxDateSpan *result;
22972 PyObject * obj0 = 0 ;
22973 PyObject * obj1 = 0 ;
22974 char *kwnames[] = {
22975 (char *) "self",(char *) "other", NULL
22976 };
22977
22978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
22979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22980 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22981 if (arg2 == NULL) {
22982 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22983 }
22984 {
22985 PyThreadState* __tstate = wxPyBeginAllowThreads();
22986 {
22987 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
22988 result = (wxDateSpan *) &_result_ref;
22989 }
22990
22991 wxPyEndAllowThreads(__tstate);
22992 if (PyErr_Occurred()) SWIG_fail;
22993 }
22994 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22995 return resultobj;
22996 fail:
22997 return NULL;
22998}
22999
23000
23001static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
23002 PyObject *resultobj;
23003 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23004 wxDateSpan *result;
23005 PyObject * obj0 = 0 ;
23006 char *kwnames[] = {
23007 (char *) "self", NULL
23008 };
23009
23010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
23011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23012 {
23013 PyThreadState* __tstate = wxPyBeginAllowThreads();
23014 {
23015 wxDateSpan &_result_ref = (arg1)->operator -();
23016 result = (wxDateSpan *) &_result_ref;
23017 }
23018
23019 wxPyEndAllowThreads(__tstate);
23020 if (PyErr_Occurred()) SWIG_fail;
23021 }
23022 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
23023 return resultobj;
23024 fail:
23025 return NULL;
23026}
23027
23028
23029static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23030 PyObject *resultobj;
23031 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23032 int arg2 ;
23033 wxDateSpan *result;
23034 PyObject * obj0 = 0 ;
994141e6 23035 PyObject * obj1 = 0 ;
d14a1e28
RD
23036 char *kwnames[] = {
23037 (char *) "self",(char *) "factor", NULL
23038 };
23039
994141e6 23040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 23041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
23042 {
23043 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23044 if (PyErr_Occurred()) SWIG_fail;
23045 }
d14a1e28
RD
23046 {
23047 PyThreadState* __tstate = wxPyBeginAllowThreads();
23048 {
23049 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
23050 result = (wxDateSpan *) &_result_ref;
23051 }
23052
23053 wxPyEndAllowThreads(__tstate);
23054 if (PyErr_Occurred()) SWIG_fail;
23055 }
23056 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
23057 return resultobj;
23058 fail:
23059 return NULL;
23060}
23061
23062
23063static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
23064 PyObject *resultobj;
23065 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23066 wxDateSpan *arg2 = 0 ;
23067 wxDateSpan result;
23068 PyObject * obj0 = 0 ;
23069 PyObject * obj1 = 0 ;
23070 char *kwnames[] = {
23071 (char *) "self",(char *) "other", NULL
23072 };
23073
23074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
23075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23076 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23077 if (arg2 == NULL) {
23078 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23079 }
23080 {
23081 PyThreadState* __tstate = wxPyBeginAllowThreads();
23082 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
23083
23084 wxPyEndAllowThreads(__tstate);
23085 if (PyErr_Occurred()) SWIG_fail;
23086 }
23087 {
23088 wxDateSpan * resultptr;
23089 resultptr = new wxDateSpan((wxDateSpan &) result);
23090 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
23091 }
23092 return resultobj;
23093 fail:
23094 return NULL;
23095}
23096
23097
23098static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23099 PyObject *resultobj;
23100 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23101 wxDateSpan *arg2 = 0 ;
23102 wxDateSpan result;
23103 PyObject * obj0 = 0 ;
23104 PyObject * obj1 = 0 ;
23105 char *kwnames[] = {
23106 (char *) "self",(char *) "other", NULL
23107 };
23108
23109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
23110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23111 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23112 if (arg2 == NULL) {
23113 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23114 }
23115 {
23116 PyThreadState* __tstate = wxPyBeginAllowThreads();
23117 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
23118
23119 wxPyEndAllowThreads(__tstate);
23120 if (PyErr_Occurred()) SWIG_fail;
23121 }
23122 {
23123 wxDateSpan * resultptr;
23124 resultptr = new wxDateSpan((wxDateSpan &) result);
23125 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
23126 }
23127 return resultobj;
23128 fail:
23129 return NULL;
23130}
23131
23132
23133static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23134 PyObject *resultobj;
23135 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23136 int arg2 ;
23137 wxDateSpan result;
23138 PyObject * obj0 = 0 ;
994141e6 23139 PyObject * obj1 = 0 ;
d14a1e28
RD
23140 char *kwnames[] = {
23141 (char *) "self",(char *) "n", NULL
23142 };
23143
994141e6 23144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 23145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
23146 {
23147 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23148 if (PyErr_Occurred()) SWIG_fail;
23149 }
d14a1e28
RD
23150 {
23151 PyThreadState* __tstate = wxPyBeginAllowThreads();
23152 result = wxDateSpan___mul__(arg1,arg2);
23153
23154 wxPyEndAllowThreads(__tstate);
23155 if (PyErr_Occurred()) SWIG_fail;
23156 }
23157 {
23158 wxDateSpan * resultptr;
23159 resultptr = new wxDateSpan((wxDateSpan &) result);
23160 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
23161 }
23162 return resultobj;
23163 fail:
23164 return NULL;
23165}
23166
23167
23168static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23169 PyObject *resultobj;
23170 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23171 int arg2 ;
23172 wxDateSpan result;
23173 PyObject * obj0 = 0 ;
994141e6 23174 PyObject * obj1 = 0 ;
d14a1e28
RD
23175 char *kwnames[] = {
23176 (char *) "self",(char *) "n", NULL
23177 };
23178
994141e6 23179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 23180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
23181 {
23182 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23183 if (PyErr_Occurred()) SWIG_fail;
23184 }
d14a1e28
RD
23185 {
23186 PyThreadState* __tstate = wxPyBeginAllowThreads();
23187 result = wxDateSpan___rmul__(arg1,arg2);
23188
23189 wxPyEndAllowThreads(__tstate);
23190 if (PyErr_Occurred()) SWIG_fail;
23191 }
23192 {
23193 wxDateSpan * resultptr;
23194 resultptr = new wxDateSpan((wxDateSpan &) result);
23195 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
23196 }
23197 return resultobj;
23198 fail:
23199 return NULL;
23200}
23201
23202
23203static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23204 PyObject *resultobj;
23205 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23206 wxDateSpan *arg2 = 0 ;
23207 bool result;
23208 PyObject * obj0 = 0 ;
23209 PyObject * obj1 = 0 ;
23210 char *kwnames[] = {
23211 (char *) "self",(char *) "other", NULL
23212 };
23213
23214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
23215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23216 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23217 if (arg2 == NULL) {
23218 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23219 }
23220 {
23221 PyThreadState* __tstate = wxPyBeginAllowThreads();
23222 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const &)*arg2);
23223
23224 wxPyEndAllowThreads(__tstate);
23225 if (PyErr_Occurred()) SWIG_fail;
23226 }
4d5c3d91 23227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23228 return resultobj;
23229 fail:
23230 return NULL;
23231}
23232
23233
23234static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23235 PyObject *resultobj;
23236 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23237 wxDateSpan *arg2 = 0 ;
23238 bool result;
23239 PyObject * obj0 = 0 ;
23240 PyObject * obj1 = 0 ;
23241 char *kwnames[] = {
23242 (char *) "self",(char *) "other", NULL
23243 };
23244
23245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
23246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23247 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23248 if (arg2 == NULL) {
23249 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23250 }
23251 {
23252 PyThreadState* __tstate = wxPyBeginAllowThreads();
23253 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const &)*arg2);
23254
23255 wxPyEndAllowThreads(__tstate);
23256 if (PyErr_Occurred()) SWIG_fail;
23257 }
4d5c3d91 23258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23259 return resultobj;
23260 fail:
23261 return NULL;
23262}
23263
23264
23265static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
23266 PyObject *obj;
23267 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23268 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
23269 Py_INCREF(obj);
23270 return Py_BuildValue((char *)"");
23271}
23272static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23273 PyObject *resultobj;
23274 long result;
23275 char *kwnames[] = {
23276 NULL
23277 };
23278
23279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
23280 {
23281 PyThreadState* __tstate = wxPyBeginAllowThreads();
23282 result = (long)wxGetLocalTime();
23283
23284 wxPyEndAllowThreads(__tstate);
23285 if (PyErr_Occurred()) SWIG_fail;
23286 }
994141e6 23287 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
23288 return resultobj;
23289 fail:
23290 return NULL;
23291}
23292
23293
23294static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23295 PyObject *resultobj;
23296 long result;
23297 char *kwnames[] = {
23298 NULL
23299 };
23300
23301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
23302 {
23303 PyThreadState* __tstate = wxPyBeginAllowThreads();
23304 result = (long)wxGetUTCTime();
23305
23306 wxPyEndAllowThreads(__tstate);
23307 if (PyErr_Occurred()) SWIG_fail;
23308 }
994141e6 23309 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
23310 return resultobj;
23311 fail:
23312 return NULL;
23313}
23314
23315
23316static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23317 PyObject *resultobj;
23318 long result;
23319 char *kwnames[] = {
23320 NULL
23321 };
23322
23323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
23324 {
23325 PyThreadState* __tstate = wxPyBeginAllowThreads();
23326 result = (long)wxGetCurrentTime();
23327
23328 wxPyEndAllowThreads(__tstate);
23329 if (PyErr_Occurred()) SWIG_fail;
23330 }
994141e6 23331 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
23332 return resultobj;
23333 fail:
23334 return NULL;
23335}
23336
23337
23338static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
23339 PyObject *resultobj;
23340 wxLongLong result;
23341 char *kwnames[] = {
23342 NULL
23343 };
23344
23345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
23346 {
23347 PyThreadState* __tstate = wxPyBeginAllowThreads();
23348 result = wxGetLocalTimeMillis();
23349
23350 wxPyEndAllowThreads(__tstate);
23351 if (PyErr_Occurred()) SWIG_fail;
23352 }
23353 {
23354 PyObject *hi, *lo, *shifter, *shifted;
23355 hi = PyLong_FromLong( (&result)->GetHi() );
23356 lo = PyLong_FromLong( (&result)->GetLo() );
23357 shifter = PyLong_FromLong(32);
23358 shifted = PyNumber_Lshift(hi, shifter);
23359 resultobj = PyNumber_Or(shifted, lo);
23360 Py_DECREF(hi);
23361 Py_DECREF(lo);
23362 Py_DECREF(shifter);
23363 Py_DECREF(shifted);
23364 }
23365 return resultobj;
23366 fail:
23367 return NULL;
23368}
23369
23370
23371static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23372 PyObject *resultobj;
23373 int arg1 ;
23374 wxDataFormat *result;
994141e6 23375 PyObject * obj0 = 0 ;
d14a1e28
RD
23376 char *kwnames[] = {
23377 (char *) "type", NULL
23378 };
23379
994141e6
RD
23380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
23381 {
23382 arg1 = (wxDataFormatId) SWIG_PyObj_AsInt(obj0);
23383 if (PyErr_Occurred()) SWIG_fail;
23384 }
d14a1e28
RD
23385 {
23386 PyThreadState* __tstate = wxPyBeginAllowThreads();
23387 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
23388
23389 wxPyEndAllowThreads(__tstate);
23390 if (PyErr_Occurred()) SWIG_fail;
23391 }
23392 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
23393 return resultobj;
23394 fail:
23395 return NULL;
23396}
23397
23398
23399static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23400 PyObject *resultobj;
23401 wxString *arg1 = 0 ;
23402 wxDataFormat *result;
e811c8ce 23403 bool temp1 = False ;
d14a1e28
RD
23404 PyObject * obj0 = 0 ;
23405 char *kwnames[] = {
23406 (char *) "format", NULL
23407 };
23408
23409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
23410 {
23411 arg1 = wxString_in_helper(obj0);
23412 if (arg1 == NULL) SWIG_fail;
e811c8ce 23413 temp1 = True;
d14a1e28
RD
23414 }
23415 {
23416 PyThreadState* __tstate = wxPyBeginAllowThreads();
23417 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
23418
23419 wxPyEndAllowThreads(__tstate);
23420 if (PyErr_Occurred()) SWIG_fail;
23421 }
23422 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
23423 {
23424 if (temp1)
23425 delete arg1;
23426 }
23427 return resultobj;
23428 fail:
23429 {
23430 if (temp1)
23431 delete arg1;
23432 }
23433 return NULL;
23434}
23435
23436
23437static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23438 PyObject *resultobj;
23439 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23440 PyObject * obj0 = 0 ;
23441 char *kwnames[] = {
23442 (char *) "self", NULL
23443 };
23444
23445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
23446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23447 {
23448 PyThreadState* __tstate = wxPyBeginAllowThreads();
23449 delete arg1;
23450
23451 wxPyEndAllowThreads(__tstate);
23452 if (PyErr_Occurred()) SWIG_fail;
23453 }
23454 Py_INCREF(Py_None); resultobj = Py_None;
23455 return resultobj;
23456 fail:
23457 return NULL;
23458}
23459
23460
23461static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
23462 PyObject *resultobj;
23463 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23464 int arg2 ;
23465 bool result;
23466 PyObject * obj0 = 0 ;
994141e6 23467 PyObject * obj1 = 0 ;
d14a1e28 23468
994141e6 23469 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
d14a1e28 23470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
23471 {
23472 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23473 if (PyErr_Occurred()) SWIG_fail;
23474 }
d14a1e28
RD
23475 {
23476 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 23477 result = (bool)((wxDataFormat const *)arg1)->operator ==(arg2);
d14a1e28
RD
23478
23479 wxPyEndAllowThreads(__tstate);
23480 if (PyErr_Occurred()) SWIG_fail;
23481 }
4d5c3d91 23482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23483 return resultobj;
23484 fail:
23485 return NULL;
23486}
23487
23488
23489static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
23490 PyObject *resultobj;
23491 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23492 int arg2 ;
23493 bool result;
23494 PyObject * obj0 = 0 ;
994141e6 23495 PyObject * obj1 = 0 ;
d14a1e28 23496
994141e6 23497 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
d14a1e28 23498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
23499 {
23500 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23501 if (PyErr_Occurred()) SWIG_fail;
23502 }
d14a1e28
RD
23503 {
23504 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 23505 result = (bool)((wxDataFormat const *)arg1)->operator !=(arg2);
d14a1e28
RD
23506
23507 wxPyEndAllowThreads(__tstate);
23508 if (PyErr_Occurred()) SWIG_fail;
23509 }
4d5c3d91 23510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23511 return resultobj;
23512 fail:
23513 return NULL;
23514}
23515
23516
23517static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
23518 PyObject *resultobj;
23519 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23520 wxDataFormat *arg2 = 0 ;
23521 bool result;
23522 PyObject * obj0 = 0 ;
23523 PyObject * obj1 = 0 ;
23524
23525 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
23526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23527 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23528 if (arg2 == NULL) {
23529 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23530 }
23531 {
23532 PyThreadState* __tstate = wxPyBeginAllowThreads();
23533 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
23534
23535 wxPyEndAllowThreads(__tstate);
23536 if (PyErr_Occurred()) SWIG_fail;
23537 }
4d5c3d91 23538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23539 return resultobj;
23540 fail:
23541 return NULL;
23542}
23543
23544
23545static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
23546 int argc;
23547 PyObject *argv[3];
23548 int ii;
23549
23550 argc = PyObject_Length(args);
23551 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23552 argv[ii] = PyTuple_GetItem(args,ii);
23553 }
23554 if (argc == 2) {
23555 int _v;
23556 {
23557 void *ptr;
23558 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23559 _v = 0;
23560 PyErr_Clear();
23561 } else {
23562 _v = 1;
23563 }
23564 }
23565 if (_v) {
23566 {
23567 void *ptr;
23568 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23569 _v = 0;
23570 PyErr_Clear();
23571 } else {
23572 _v = 1;
23573 }
23574 }
23575 if (_v) {
23576 return _wrap_DataFormat___eq____SWIG_1(self,args);
23577 }
23578 }
23579 }
23580 if (argc == 2) {
23581 int _v;
23582 {
23583 void *ptr;
23584 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23585 _v = 0;
23586 PyErr_Clear();
23587 } else {
23588 _v = 1;
23589 }
23590 }
23591 if (_v) {
23592 {
994141e6 23593 SWIG_PyObj_AsInt(argv[1]);
a41e16b6
RD
23594 if (PyErr_Occurred()) {
23595 _v = 0;
23596 PyErr_Clear();
23597 } else {
23598 _v = 1;
23599 }
d14a1e28
RD
23600 }
23601 if (_v) {
23602 return _wrap_DataFormat___eq____SWIG_0(self,args);
23603 }
23604 }
23605 }
23606
23607 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
23608 return NULL;
23609}
23610
23611
23612static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
23613 PyObject *resultobj;
23614 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23615 wxDataFormat *arg2 = 0 ;
23616 bool result;
23617 PyObject * obj0 = 0 ;
23618 PyObject * obj1 = 0 ;
23619
23620 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
23621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23622 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23623 if (arg2 == NULL) {
23624 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23625 }
23626 {
23627 PyThreadState* __tstate = wxPyBeginAllowThreads();
23628 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
23629
23630 wxPyEndAllowThreads(__tstate);
23631 if (PyErr_Occurred()) SWIG_fail;
23632 }
4d5c3d91 23633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23634 return resultobj;
23635 fail:
23636 return NULL;
23637}
23638
23639
23640static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
23641 int argc;
23642 PyObject *argv[3];
23643 int ii;
23644
23645 argc = PyObject_Length(args);
23646 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23647 argv[ii] = PyTuple_GetItem(args,ii);
23648 }
23649 if (argc == 2) {
23650 int _v;
23651 {
23652 void *ptr;
23653 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23654 _v = 0;
23655 PyErr_Clear();
23656 } else {
23657 _v = 1;
23658 }
23659 }
23660 if (_v) {
23661 {
23662 void *ptr;
23663 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23664 _v = 0;
23665 PyErr_Clear();
23666 } else {
23667 _v = 1;
23668 }
23669 }
23670 if (_v) {
23671 return _wrap_DataFormat___ne____SWIG_1(self,args);
23672 }
23673 }
23674 }
23675 if (argc == 2) {
23676 int _v;
23677 {
23678 void *ptr;
23679 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23680 _v = 0;
23681 PyErr_Clear();
23682 } else {
23683 _v = 1;
23684 }
23685 }
23686 if (_v) {
23687 {
994141e6 23688 SWIG_PyObj_AsInt(argv[1]);
a41e16b6
RD
23689 if (PyErr_Occurred()) {
23690 _v = 0;
23691 PyErr_Clear();
23692 } else {
23693 _v = 1;
23694 }
d14a1e28
RD
23695 }
23696 if (_v) {
23697 return _wrap_DataFormat___ne____SWIG_0(self,args);
23698 }
23699 }
23700 }
23701
23702 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
23703 return NULL;
23704}
23705
23706
23707static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
23708 PyObject *resultobj;
23709 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23710 int arg2 ;
23711 PyObject * obj0 = 0 ;
994141e6 23712 PyObject * obj1 = 0 ;
d14a1e28
RD
23713 char *kwnames[] = {
23714 (char *) "self",(char *) "format", NULL
23715 };
23716
994141e6 23717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 23718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
23719 {
23720 arg2 = (wxDataFormatId) SWIG_PyObj_AsInt(obj1);
23721 if (PyErr_Occurred()) SWIG_fail;
23722 }
d14a1e28
RD
23723 {
23724 PyThreadState* __tstate = wxPyBeginAllowThreads();
23725 (arg1)->SetType((wxDataFormatId )arg2);
23726
23727 wxPyEndAllowThreads(__tstate);
23728 if (PyErr_Occurred()) SWIG_fail;
23729 }
23730 Py_INCREF(Py_None); resultobj = Py_None;
23731 return resultobj;
23732 fail:
23733 return NULL;
23734}
23735
23736
23737static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
23738 PyObject *resultobj;
23739 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23740 int result;
23741 PyObject * obj0 = 0 ;
23742 char *kwnames[] = {
23743 (char *) "self", NULL
23744 };
23745
23746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
23747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23748 {
23749 PyThreadState* __tstate = wxPyBeginAllowThreads();
23750 result = (int)((wxDataFormat const *)arg1)->GetType();
23751
23752 wxPyEndAllowThreads(__tstate);
23753 if (PyErr_Occurred()) SWIG_fail;
23754 }
994141e6 23755 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
23756 return resultobj;
23757 fail:
23758 return NULL;
23759}
23760
23761
23762static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23763 PyObject *resultobj;
23764 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23765 wxString result;
23766 PyObject * obj0 = 0 ;
23767 char *kwnames[] = {
23768 (char *) "self", NULL
23769 };
23770
23771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
23772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23773 {
23774 PyThreadState* __tstate = wxPyBeginAllowThreads();
23775 result = ((wxDataFormat const *)arg1)->GetId();
23776
23777 wxPyEndAllowThreads(__tstate);
23778 if (PyErr_Occurred()) SWIG_fail;
23779 }
23780 {
23781#if wxUSE_UNICODE
23782 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23783#else
23784 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23785#endif
23786 }
23787 return resultobj;
23788 fail:
23789 return NULL;
23790}
23791
23792
23793static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23794 PyObject *resultobj;
23795 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23796 wxString *arg2 = 0 ;
e811c8ce 23797 bool temp2 = False ;
d14a1e28
RD
23798 PyObject * obj0 = 0 ;
23799 PyObject * obj1 = 0 ;
23800 char *kwnames[] = {
23801 (char *) "self",(char *) "format", NULL
23802 };
23803
23804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
23805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23806 {
23807 arg2 = wxString_in_helper(obj1);
23808 if (arg2 == NULL) SWIG_fail;
e811c8ce 23809 temp2 = True;
d14a1e28
RD
23810 }
23811 {
23812 PyThreadState* __tstate = wxPyBeginAllowThreads();
23813 (arg1)->SetId((wxString const &)*arg2);
23814
23815 wxPyEndAllowThreads(__tstate);
23816 if (PyErr_Occurred()) SWIG_fail;
23817 }
23818 Py_INCREF(Py_None); resultobj = Py_None;
23819 {
23820 if (temp2)
23821 delete arg2;
23822 }
23823 return resultobj;
23824 fail:
23825 {
23826 if (temp2)
23827 delete arg2;
23828 }
23829 return NULL;
23830}
23831
23832
23833static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
23834 PyObject *obj;
23835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23836 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
23837 Py_INCREF(obj);
23838 return Py_BuildValue((char *)"");
23839}
23840static int _wrap_FormatInvalid_set(PyObject *_val) {
23841 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
23842 return 1;
23843}
23844
23845
23846static PyObject *_wrap_FormatInvalid_get() {
23847 PyObject *pyobj;
23848
23849 pyobj = SWIG_NewPointerObj((void *) &wxFormatInvalid, SWIGTYPE_p_wxDataFormat, 0);
23850 return pyobj;
23851}
23852
23853
23854static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23855 PyObject *resultobj;
23856 wxDataObject *arg1 = (wxDataObject *) 0 ;
23857 PyObject * obj0 = 0 ;
23858 char *kwnames[] = {
23859 (char *) "self", NULL
23860 };
23861
23862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
23863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23864 {
23865 PyThreadState* __tstate = wxPyBeginAllowThreads();
23866 delete arg1;
23867
23868 wxPyEndAllowThreads(__tstate);
23869 if (PyErr_Occurred()) SWIG_fail;
23870 }
23871 Py_INCREF(Py_None); resultobj = Py_None;
23872 return resultobj;
23873 fail:
23874 return NULL;
23875}
23876
23877
23878static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23879 PyObject *resultobj;
23880 wxDataObject *arg1 = (wxDataObject *) 0 ;
23881 int arg2 = (int) wxDataObject::Get ;
23882 SwigValueWrapper< wxDataFormat > result;
23883 PyObject * obj0 = 0 ;
994141e6 23884 PyObject * obj1 = 0 ;
d14a1e28
RD
23885 char *kwnames[] = {
23886 (char *) "self",(char *) "dir", NULL
23887 };
23888
994141e6 23889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 23890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
23891 if (obj1) {
23892 {
23893 arg2 = (wxDataObject::Direction) SWIG_PyObj_AsInt(obj1);
23894 if (PyErr_Occurred()) SWIG_fail;
23895 }
23896 }
d14a1e28
RD
23897 {
23898 PyThreadState* __tstate = wxPyBeginAllowThreads();
23899 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
23900
23901 wxPyEndAllowThreads(__tstate);
23902 if (PyErr_Occurred()) SWIG_fail;
23903 }
23904 {
23905 wxDataFormat * resultptr;
23906 resultptr = new wxDataFormat((wxDataFormat &) result);
23907 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDataFormat, 1);
23908 }
23909 return resultobj;
23910 fail:
23911 return NULL;
23912}
23913
23914
23915static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23916 PyObject *resultobj;
23917 wxDataObject *arg1 = (wxDataObject *) 0 ;
23918 int arg2 = (int) wxDataObject::Get ;
23919 size_t result;
23920 PyObject * obj0 = 0 ;
994141e6 23921 PyObject * obj1 = 0 ;
d14a1e28
RD
23922 char *kwnames[] = {
23923 (char *) "self",(char *) "dir", NULL
23924 };
23925
994141e6 23926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 23927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
23928 if (obj1) {
23929 {
23930 arg2 = (wxDataObject::Direction) SWIG_PyObj_AsInt(obj1);
23931 if (PyErr_Occurred()) SWIG_fail;
23932 }
23933 }
d14a1e28
RD
23934 {
23935 PyThreadState* __tstate = wxPyBeginAllowThreads();
23936 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
23937
23938 wxPyEndAllowThreads(__tstate);
23939 if (PyErr_Occurred()) SWIG_fail;
23940 }
994141e6 23941 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
23942 return resultobj;
23943 fail:
23944 return NULL;
23945}
23946
23947
23948static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
23949 PyObject *resultobj;
23950 wxDataObject *arg1 = (wxDataObject *) 0 ;
23951 wxDataFormat *arg2 = 0 ;
23952 int arg3 = (int) wxDataObject::Get ;
23953 bool result;
23954 PyObject * obj0 = 0 ;
23955 PyObject * obj1 = 0 ;
994141e6 23956 PyObject * obj2 = 0 ;
d14a1e28
RD
23957 char *kwnames[] = {
23958 (char *) "self",(char *) "format",(char *) "dir", NULL
23959 };
23960
994141e6 23961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
23962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23963 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23964 if (arg2 == NULL) {
23965 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23966 }
994141e6
RD
23967 if (obj2) {
23968 {
23969 arg3 = (wxDataObject::Direction) SWIG_PyObj_AsInt(obj2);
23970 if (PyErr_Occurred()) SWIG_fail;
23971 }
23972 }
d14a1e28
RD
23973 {
23974 PyThreadState* __tstate = wxPyBeginAllowThreads();
23975 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
23976
23977 wxPyEndAllowThreads(__tstate);
23978 if (PyErr_Occurred()) SWIG_fail;
23979 }
4d5c3d91 23980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23981 return resultobj;
23982 fail:
23983 return NULL;
23984}
23985
23986
23987static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23988 PyObject *resultobj;
23989 wxDataObject *arg1 = (wxDataObject *) 0 ;
23990 wxDataFormat *arg2 = 0 ;
23991 size_t result;
23992 PyObject * obj0 = 0 ;
23993 PyObject * obj1 = 0 ;
23994 char *kwnames[] = {
23995 (char *) "self",(char *) "format", NULL
23996 };
23997
23998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
23999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24000 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24001 if (arg2 == NULL) {
24002 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24003 }
24004 {
24005 PyThreadState* __tstate = wxPyBeginAllowThreads();
24006 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
24007
24008 wxPyEndAllowThreads(__tstate);
24009 if (PyErr_Occurred()) SWIG_fail;
24010 }
994141e6 24011 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
24012 return resultobj;
24013 fail:
24014 return NULL;
24015}
24016
24017
24018static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
24019 PyObject *resultobj;
24020 wxDataObject *arg1 = (wxDataObject *) 0 ;
24021 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
24022 int arg3 = (int) wxDataObject::Get ;
24023 PyObject * obj0 = 0 ;
24024 PyObject * obj1 = 0 ;
994141e6 24025 PyObject * obj2 = 0 ;
d14a1e28
RD
24026 char *kwnames[] = {
24027 (char *) "self",(char *) "formats",(char *) "dir", NULL
24028 };
24029
994141e6 24030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
24031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24032 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
24033 if (obj2) {
24034 {
24035 arg3 = (wxDataObject::Direction) SWIG_PyObj_AsInt(obj2);
24036 if (PyErr_Occurred()) SWIG_fail;
24037 }
24038 }
d14a1e28
RD
24039 {
24040 PyThreadState* __tstate = wxPyBeginAllowThreads();
24041 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
24042
24043 wxPyEndAllowThreads(__tstate);
24044 if (PyErr_Occurred()) SWIG_fail;
24045 }
24046 Py_INCREF(Py_None); resultobj = Py_None;
24047 return resultobj;
24048 fail:
24049 return NULL;
24050}
24051
24052
24053static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
24054 PyObject *resultobj;
24055 wxDataObject *arg1 = (wxDataObject *) 0 ;
24056 wxDataFormat *arg2 = 0 ;
24057 void *arg3 = (void *) 0 ;
24058 bool result;
24059 PyObject * obj0 = 0 ;
24060 PyObject * obj1 = 0 ;
24061 PyObject * obj2 = 0 ;
24062 char *kwnames[] = {
24063 (char *) "self",(char *) "format",(char *) "buf", NULL
24064 };
24065
24066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
24067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24068 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24069 if (arg2 == NULL) {
24070 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24071 }
24072 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24073 {
24074 PyThreadState* __tstate = wxPyBeginAllowThreads();
24075 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
24076
24077 wxPyEndAllowThreads(__tstate);
24078 if (PyErr_Occurred()) SWIG_fail;
24079 }
4d5c3d91 24080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24081 return resultobj;
24082 fail:
24083 return NULL;
24084}
24085
24086
24087static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24088 PyObject *resultobj;
24089 wxDataObject *arg1 = (wxDataObject *) 0 ;
24090 wxDataFormat *arg2 = 0 ;
24091 size_t arg3 ;
24092 void *arg4 = (void *) 0 ;
24093 bool result;
24094 PyObject * obj0 = 0 ;
24095 PyObject * obj1 = 0 ;
24096 PyObject * obj2 = 0 ;
24097 PyObject * obj3 = 0 ;
24098 char *kwnames[] = {
24099 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24100 };
24101
24102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24104 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24105 if (arg2 == NULL) {
24106 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24107 }
a41e16b6 24108 {
994141e6 24109 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
a41e16b6
RD
24110 if (PyErr_Occurred()) SWIG_fail;
24111 }
d14a1e28
RD
24112 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24113 {
24114 PyThreadState* __tstate = wxPyBeginAllowThreads();
24115 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
24116
24117 wxPyEndAllowThreads(__tstate);
24118 if (PyErr_Occurred()) SWIG_fail;
24119 }
4d5c3d91 24120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24121 return resultobj;
24122 fail:
24123 return NULL;
24124}
24125
24126
24127static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
24128 PyObject *obj;
24129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24130 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
24131 Py_INCREF(obj);
24132 return Py_BuildValue((char *)"");
24133}
24134static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24135 PyObject *resultobj;
24136 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24137 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24138 wxDataObjectSimple *result;
24139 PyObject * obj0 = 0 ;
24140 char *kwnames[] = {
24141 (char *) "format", NULL
24142 };
24143
24144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
24145 if (obj0) {
24146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24147 if (arg1 == NULL) {
24148 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24149 }
24150 }
24151 {
24152 PyThreadState* __tstate = wxPyBeginAllowThreads();
24153 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
24154
24155 wxPyEndAllowThreads(__tstate);
24156 if (PyErr_Occurred()) SWIG_fail;
24157 }
24158 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectSimple, 1);
24159 return resultobj;
24160 fail:
24161 return NULL;
24162}
24163
24164
24165static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24166 PyObject *resultobj;
24167 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24168 wxDataFormat *result;
24169 PyObject * obj0 = 0 ;
24170 char *kwnames[] = {
24171 (char *) "self", NULL
24172 };
24173
24174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
24175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24176 {
24177 PyThreadState* __tstate = wxPyBeginAllowThreads();
24178 {
24179 wxDataFormat const &_result_ref = (arg1)->GetFormat();
24180 result = (wxDataFormat *) &_result_ref;
24181 }
24182
24183 wxPyEndAllowThreads(__tstate);
24184 if (PyErr_Occurred()) SWIG_fail;
24185 }
24186 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 0);
24187 return resultobj;
24188 fail:
24189 return NULL;
24190}
24191
24192
24193static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24194 PyObject *resultobj;
24195 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24196 wxDataFormat *arg2 = 0 ;
24197 PyObject * obj0 = 0 ;
24198 PyObject * obj1 = 0 ;
24199 char *kwnames[] = {
24200 (char *) "self",(char *) "format", NULL
24201 };
24202
24203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
24204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24205 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24206 if (arg2 == NULL) {
24207 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24208 }
24209 {
24210 PyThreadState* __tstate = wxPyBeginAllowThreads();
24211 (arg1)->SetFormat((wxDataFormat const &)*arg2);
24212
24213 wxPyEndAllowThreads(__tstate);
24214 if (PyErr_Occurred()) SWIG_fail;
24215 }
24216 Py_INCREF(Py_None); resultobj = Py_None;
24217 return resultobj;
24218 fail:
24219 return NULL;
24220}
24221
24222
24223static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24224 PyObject *obj;
24225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24226 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
24227 Py_INCREF(obj);
24228 return Py_BuildValue((char *)"");
24229}
24230static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24231 PyObject *resultobj;
24232 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24233 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24234 wxPyDataObjectSimple *result;
24235 PyObject * obj0 = 0 ;
24236 char *kwnames[] = {
24237 (char *) "format", NULL
24238 };
24239
24240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
24241 if (obj0) {
24242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24243 if (arg1 == NULL) {
24244 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24245 }
24246 }
24247 {
24248 PyThreadState* __tstate = wxPyBeginAllowThreads();
24249 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
24250
24251 wxPyEndAllowThreads(__tstate);
24252 if (PyErr_Occurred()) SWIG_fail;
24253 }
24254 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDataObjectSimple, 1);
24255 return resultobj;
24256 fail:
24257 return NULL;
24258}
24259
24260
24261static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24262 PyObject *resultobj;
24263 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
24264 PyObject *arg2 = (PyObject *) 0 ;
24265 PyObject *arg3 = (PyObject *) 0 ;
24266 PyObject * obj0 = 0 ;
24267 PyObject * obj1 = 0 ;
24268 PyObject * obj2 = 0 ;
24269 char *kwnames[] = {
24270 (char *) "self",(char *) "self",(char *) "_class", NULL
24271 };
24272
24273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24275 arg2 = obj1;
24276 arg3 = obj2;
24277 {
24278 PyThreadState* __tstate = wxPyBeginAllowThreads();
24279 (arg1)->_setCallbackInfo(arg2,arg3);
24280
24281 wxPyEndAllowThreads(__tstate);
24282 if (PyErr_Occurred()) SWIG_fail;
24283 }
24284 Py_INCREF(Py_None); resultobj = Py_None;
24285 return resultobj;
24286 fail:
24287 return NULL;
24288}
24289
24290
24291static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24292 PyObject *obj;
24293 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24294 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
24295 Py_INCREF(obj);
24296 return Py_BuildValue((char *)"");
24297}
24298static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
24299 PyObject *resultobj;
24300 wxDataObjectComposite *result;
24301 char *kwnames[] = {
24302 NULL
24303 };
24304
24305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
24306 {
24307 PyThreadState* __tstate = wxPyBeginAllowThreads();
24308 result = (wxDataObjectComposite *)new wxDataObjectComposite();
24309
24310 wxPyEndAllowThreads(__tstate);
24311 if (PyErr_Occurred()) SWIG_fail;
24312 }
24313 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectComposite, 1);
24314 return resultobj;
24315 fail:
24316 return NULL;
24317}
24318
24319
24320static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
24321 PyObject *resultobj;
24322 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
24323 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
e811c8ce 24324 int arg3 = (int) False ;
d14a1e28
RD
24325 PyObject * obj0 = 0 ;
24326 PyObject * obj1 = 0 ;
994141e6 24327 PyObject * obj2 = 0 ;
d14a1e28
RD
24328 char *kwnames[] = {
24329 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24330 };
24331
994141e6 24332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 24333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectComposite,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
58203fa6 24334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
994141e6
RD
24335 if (obj2) {
24336 {
24337 arg3 = (int) SWIG_PyObj_AsInt(obj2);
24338 if (PyErr_Occurred()) SWIG_fail;
24339 }
24340 }
d14a1e28
RD
24341 {
24342 PyThreadState* __tstate = wxPyBeginAllowThreads();
24343 (arg1)->Add(arg2,arg3);
24344
24345 wxPyEndAllowThreads(__tstate);
24346 if (PyErr_Occurred()) SWIG_fail;
24347 }
24348 Py_INCREF(Py_None); resultobj = Py_None;
24349 return resultobj;
24350 fail:
24351 return NULL;
24352}
24353
24354
24355static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
24356 PyObject *obj;
24357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24358 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
24359 Py_INCREF(obj);
24360 return Py_BuildValue((char *)"");
24361}
24362static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24363 PyObject *resultobj;
24364 wxString const &arg1_defvalue = wxPyEmptyString ;
24365 wxString *arg1 = (wxString *) &arg1_defvalue ;
24366 wxTextDataObject *result;
e811c8ce 24367 bool temp1 = False ;
d14a1e28
RD
24368 PyObject * obj0 = 0 ;
24369 char *kwnames[] = {
24370 (char *) "text", NULL
24371 };
24372
24373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
24374 if (obj0) {
24375 {
24376 arg1 = wxString_in_helper(obj0);
24377 if (arg1 == NULL) SWIG_fail;
e811c8ce 24378 temp1 = True;
d14a1e28
RD
24379 }
24380 }
24381 {
24382 PyThreadState* __tstate = wxPyBeginAllowThreads();
24383 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
24384
24385 wxPyEndAllowThreads(__tstate);
24386 if (PyErr_Occurred()) SWIG_fail;
24387 }
24388 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextDataObject, 1);
24389 {
24390 if (temp1)
24391 delete arg1;
24392 }
24393 return resultobj;
24394 fail:
24395 {
24396 if (temp1)
24397 delete arg1;
24398 }
24399 return NULL;
24400}
24401
24402
24403static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
24404 PyObject *resultobj;
24405 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24406 size_t result;
24407 PyObject * obj0 = 0 ;
24408 char *kwnames[] = {
24409 (char *) "self", NULL
24410 };
24411
24412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
24413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24414 {
24415 PyThreadState* __tstate = wxPyBeginAllowThreads();
24416 result = (size_t)(arg1)->GetTextLength();
24417
24418 wxPyEndAllowThreads(__tstate);
24419 if (PyErr_Occurred()) SWIG_fail;
24420 }
994141e6 24421 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
24422 return resultobj;
24423 fail:
24424 return NULL;
24425}
24426
24427
24428static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
24429 PyObject *resultobj;
24430 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24431 wxString result;
24432 PyObject * obj0 = 0 ;
24433 char *kwnames[] = {
24434 (char *) "self", NULL
24435 };
24436
24437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
24438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24439 {
24440 PyThreadState* __tstate = wxPyBeginAllowThreads();
24441 result = (arg1)->GetText();
24442
24443 wxPyEndAllowThreads(__tstate);
24444 if (PyErr_Occurred()) SWIG_fail;
24445 }
24446 {
24447#if wxUSE_UNICODE
24448 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24449#else
24450 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24451#endif
24452 }
24453 return resultobj;
24454 fail:
24455 return NULL;
24456}
24457
24458
24459static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
24460 PyObject *resultobj;
24461 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24462 wxString *arg2 = 0 ;
e811c8ce 24463 bool temp2 = False ;
d14a1e28
RD
24464 PyObject * obj0 = 0 ;
24465 PyObject * obj1 = 0 ;
24466 char *kwnames[] = {
24467 (char *) "self",(char *) "text", NULL
24468 };
24469
24470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
24471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24472 {
24473 arg2 = wxString_in_helper(obj1);
24474 if (arg2 == NULL) SWIG_fail;
e811c8ce 24475 temp2 = True;
d14a1e28
RD
24476 }
24477 {
24478 PyThreadState* __tstate = wxPyBeginAllowThreads();
24479 (arg1)->SetText((wxString const &)*arg2);
24480
24481 wxPyEndAllowThreads(__tstate);
24482 if (PyErr_Occurred()) SWIG_fail;
24483 }
24484 Py_INCREF(Py_None); resultobj = Py_None;
24485 {
24486 if (temp2)
24487 delete arg2;
24488 }
24489 return resultobj;
24490 fail:
24491 {
24492 if (temp2)
24493 delete arg2;
24494 }
24495 return NULL;
24496}
24497
24498
24499static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
24500 PyObject *obj;
24501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24502 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
24503 Py_INCREF(obj);
24504 return Py_BuildValue((char *)"");
24505}
24506static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24507 PyObject *resultobj;
24508 wxString const &arg1_defvalue = wxPyEmptyString ;
24509 wxString *arg1 = (wxString *) &arg1_defvalue ;
24510 wxPyTextDataObject *result;
e811c8ce 24511 bool temp1 = False ;
d14a1e28
RD
24512 PyObject * obj0 = 0 ;
24513 char *kwnames[] = {
24514 (char *) "text", NULL
24515 };
24516
24517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
24518 if (obj0) {
24519 {
24520 arg1 = wxString_in_helper(obj0);
24521 if (arg1 == NULL) SWIG_fail;
e811c8ce 24522 temp1 = True;
d14a1e28
RD
24523 }
24524 }
24525 {
24526 PyThreadState* __tstate = wxPyBeginAllowThreads();
24527 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
24528
24529 wxPyEndAllowThreads(__tstate);
24530 if (PyErr_Occurred()) SWIG_fail;
24531 }
24532 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDataObject, 1);
24533 {
24534 if (temp1)
24535 delete arg1;
24536 }
24537 return resultobj;
24538 fail:
24539 {
24540 if (temp1)
24541 delete arg1;
24542 }
24543 return NULL;
24544}
24545
24546
24547static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24548 PyObject *resultobj;
24549 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
24550 PyObject *arg2 = (PyObject *) 0 ;
24551 PyObject *arg3 = (PyObject *) 0 ;
24552 PyObject * obj0 = 0 ;
24553 PyObject * obj1 = 0 ;
24554 PyObject * obj2 = 0 ;
24555 char *kwnames[] = {
24556 (char *) "self",(char *) "self",(char *) "_class", NULL
24557 };
24558
24559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24561 arg2 = obj1;
24562 arg3 = obj2;
24563 {
24564 PyThreadState* __tstate = wxPyBeginAllowThreads();
24565 (arg1)->_setCallbackInfo(arg2,arg3);
24566
24567 wxPyEndAllowThreads(__tstate);
24568 if (PyErr_Occurred()) SWIG_fail;
24569 }
24570 Py_INCREF(Py_None); resultobj = Py_None;
24571 return resultobj;
24572 fail:
24573 return NULL;
24574}
24575
24576
24577static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
24578 PyObject *obj;
24579 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24580 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
24581 Py_INCREF(obj);
24582 return Py_BuildValue((char *)"");
24583}
24584static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24585 PyObject *resultobj;
24586 wxBitmap const &arg1_defvalue = wxNullBitmap ;
24587 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
24588 wxBitmapDataObject *result;
24589 PyObject * obj0 = 0 ;
24590 char *kwnames[] = {
24591 (char *) "bitmap", NULL
24592 };
24593
24594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
24595 if (obj0) {
24596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24597 if (arg1 == NULL) {
24598 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24599 }
24600 }
24601 {
24602 PyThreadState* __tstate = wxPyBeginAllowThreads();
24603 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
24604
24605 wxPyEndAllowThreads(__tstate);
24606 if (PyErr_Occurred()) SWIG_fail;
24607 }
24608 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmapDataObject, 1);
24609 return resultobj;
24610 fail:
24611 return NULL;
24612}
24613
24614
24615static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
24616 PyObject *resultobj;
24617 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
24618 wxBitmap result;
24619 PyObject * obj0 = 0 ;
24620 char *kwnames[] = {
24621 (char *) "self", NULL
24622 };
24623
24624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
24625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24626 {
24627 PyThreadState* __tstate = wxPyBeginAllowThreads();
24628 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
24629
24630 wxPyEndAllowThreads(__tstate);
24631 if (PyErr_Occurred()) SWIG_fail;
24632 }
24633 {
24634 wxBitmap * resultptr;
24635 resultptr = new wxBitmap((wxBitmap &) result);
24636 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
24637 }
24638 return resultobj;
24639 fail:
24640 return NULL;
24641}
24642
24643
24644static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
24645 PyObject *resultobj;
24646 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
24647 wxBitmap *arg2 = 0 ;
24648 PyObject * obj0 = 0 ;
24649 PyObject * obj1 = 0 ;
24650 char *kwnames[] = {
24651 (char *) "self",(char *) "bitmap", NULL
24652 };
24653
24654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
24655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24656 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24657 if (arg2 == NULL) {
24658 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24659 }
24660 {
24661 PyThreadState* __tstate = wxPyBeginAllowThreads();
24662 (arg1)->SetBitmap((wxBitmap const &)*arg2);
24663
24664 wxPyEndAllowThreads(__tstate);
24665 if (PyErr_Occurred()) SWIG_fail;
24666 }
24667 Py_INCREF(Py_None); resultobj = Py_None;
24668 return resultobj;
24669 fail:
24670 return NULL;
24671}
24672
24673
24674static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
24675 PyObject *obj;
24676 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24677 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
24678 Py_INCREF(obj);
24679 return Py_BuildValue((char *)"");
24680}
24681static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24682 PyObject *resultobj;
24683 wxBitmap const &arg1_defvalue = wxNullBitmap ;
24684 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
24685 wxPyBitmapDataObject *result;
24686 PyObject * obj0 = 0 ;
24687 char *kwnames[] = {
24688 (char *) "bitmap", NULL
24689 };
24690
24691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
24692 if (obj0) {
24693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24694 if (arg1 == NULL) {
24695 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24696 }
24697 }
24698 {
24699 PyThreadState* __tstate = wxPyBeginAllowThreads();
24700 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
24701
24702 wxPyEndAllowThreads(__tstate);
24703 if (PyErr_Occurred()) SWIG_fail;
24704 }
24705 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapDataObject, 1);
24706 return resultobj;
24707 fail:
24708 return NULL;
24709}
24710
24711
24712static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24713 PyObject *resultobj;
24714 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
24715 PyObject *arg2 = (PyObject *) 0 ;
24716 PyObject *arg3 = (PyObject *) 0 ;
24717 PyObject * obj0 = 0 ;
24718 PyObject * obj1 = 0 ;
24719 PyObject * obj2 = 0 ;
24720 char *kwnames[] = {
24721 (char *) "self",(char *) "self",(char *) "_class", NULL
24722 };
24723
24724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24726 arg2 = obj1;
24727 arg3 = obj2;
24728 {
24729 PyThreadState* __tstate = wxPyBeginAllowThreads();
24730 (arg1)->_setCallbackInfo(arg2,arg3);
24731
24732 wxPyEndAllowThreads(__tstate);
24733 if (PyErr_Occurred()) SWIG_fail;
24734 }
24735 Py_INCREF(Py_None); resultobj = Py_None;
24736 return resultobj;
24737 fail:
24738 return NULL;
24739}
24740
24741
24742static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
24743 PyObject *obj;
24744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24745 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
24746 Py_INCREF(obj);
24747 return Py_BuildValue((char *)"");
24748}
24749static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24750 PyObject *resultobj;
24751 wxFileDataObject *result;
24752 char *kwnames[] = {
24753 NULL
24754 };
24755
24756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
24757 {
24758 PyThreadState* __tstate = wxPyBeginAllowThreads();
24759 result = (wxFileDataObject *)new wxFileDataObject();
24760
24761 wxPyEndAllowThreads(__tstate);
24762 if (PyErr_Occurred()) SWIG_fail;
24763 }
24764 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDataObject, 1);
24765 return resultobj;
24766 fail:
24767 return NULL;
24768}
24769
24770
24771static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
24772 PyObject *resultobj;
24773 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
24774 wxArrayString *result;
24775 PyObject * obj0 = 0 ;
24776 char *kwnames[] = {
24777 (char *) "self", NULL
24778 };
24779
24780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
24781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24782 {
24783 PyThreadState* __tstate = wxPyBeginAllowThreads();
24784 {
24785 wxArrayString const &_result_ref = (arg1)->GetFilenames();
24786 result = (wxArrayString *) &_result_ref;
24787 }
24788
24789 wxPyEndAllowThreads(__tstate);
24790 if (PyErr_Occurred()) SWIG_fail;
24791 }
24792 {
24793 resultobj = wxArrayString2PyList_helper(*result);
24794 }
24795 return resultobj;
24796 fail:
24797 return NULL;
24798}
24799
24800
24801static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
24802 PyObject *obj;
24803 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24804 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
24805 Py_INCREF(obj);
24806 return Py_BuildValue((char *)"");
24807}
24808static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24809 PyObject *resultobj;
24810 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24811 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24812 wxCustomDataObject *result;
24813 PyObject * obj0 = 0 ;
24814 char *kwnames[] = {
24815 (char *) "format", NULL
24816 };
24817
24818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
24819 if (obj0) {
24820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24821 if (arg1 == NULL) {
24822 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24823 }
24824 }
24825 {
24826 PyThreadState* __tstate = wxPyBeginAllowThreads();
24827 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
24828
24829 wxPyEndAllowThreads(__tstate);
24830 if (PyErr_Occurred()) SWIG_fail;
24831 }
24832 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCustomDataObject, 1);
24833 return resultobj;
24834 fail:
24835 return NULL;
24836}
24837
24838
24839static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
24840 PyObject *resultobj;
24841 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
24842 PyObject *arg2 = (PyObject *) 0 ;
24843 PyObject * obj0 = 0 ;
24844 PyObject * obj1 = 0 ;
24845 char *kwnames[] = {
24846 (char *) "self",(char *) "data", NULL
24847 };
24848
24849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
24850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24851 arg2 = obj1;
24852 {
24853 PyThreadState* __tstate = wxPyBeginAllowThreads();
24854 wxCustomDataObject_TakeData(arg1,arg2);
24855
24856 wxPyEndAllowThreads(__tstate);
24857 if (PyErr_Occurred()) SWIG_fail;
24858 }
24859 Py_INCREF(Py_None); resultobj = Py_None;
24860 return resultobj;
24861 fail:
24862 return NULL;
24863}
24864
24865
24866static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24867 PyObject *resultobj;
24868 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
24869 PyObject *arg2 = (PyObject *) 0 ;
24870 bool result;
24871 PyObject * obj0 = 0 ;
24872 PyObject * obj1 = 0 ;
24873 char *kwnames[] = {
24874 (char *) "self",(char *) "data", NULL
24875 };
24876
24877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
24878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24879 arg2 = obj1;
24880 {
24881 PyThreadState* __tstate = wxPyBeginAllowThreads();
24882 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
24883
24884 wxPyEndAllowThreads(__tstate);
24885 if (PyErr_Occurred()) SWIG_fail;
24886 }
4d5c3d91 24887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24888 return resultobj;
24889 fail:
24890 return NULL;
24891}
24892
24893
24894static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24895 PyObject *resultobj;
24896 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
24897 size_t result;
24898 PyObject * obj0 = 0 ;
24899 char *kwnames[] = {
24900 (char *) "self", NULL
24901 };
24902
24903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
24904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24905 {
24906 PyThreadState* __tstate = wxPyBeginAllowThreads();
24907 result = (size_t)(arg1)->GetSize();
24908
24909 wxPyEndAllowThreads(__tstate);
24910 if (PyErr_Occurred()) SWIG_fail;
24911 }
994141e6 24912 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
24913 return resultobj;
24914 fail:
24915 return NULL;
24916}
24917
24918
24919static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24920 PyObject *resultobj;
24921 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
24922 PyObject *result;
24923 PyObject * obj0 = 0 ;
24924 char *kwnames[] = {
24925 (char *) "self", NULL
24926 };
24927
24928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
24929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24930 {
24931 PyThreadState* __tstate = wxPyBeginAllowThreads();
24932 result = (PyObject *)wxCustomDataObject_GetData(arg1);
24933
24934 wxPyEndAllowThreads(__tstate);
24935 if (PyErr_Occurred()) SWIG_fail;
24936 }
24937 resultobj = result;
24938 return resultobj;
24939 fail:
24940 return NULL;
24941}
24942
24943
24944static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
24945 PyObject *obj;
24946 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24947 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
24948 Py_INCREF(obj);
24949 return Py_BuildValue((char *)"");
24950}
24951static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24952 PyObject *resultobj;
24953 wxURLDataObject *result;
24954 char *kwnames[] = {
24955 NULL
24956 };
24957
24958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
24959 {
24960 PyThreadState* __tstate = wxPyBeginAllowThreads();
24961 result = (wxURLDataObject *)new wxURLDataObject();
24962
24963 wxPyEndAllowThreads(__tstate);
24964 if (PyErr_Occurred()) SWIG_fail;
24965 }
24966 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxURLDataObject, 1);
24967 return resultobj;
24968 fail:
24969 return NULL;
24970}
24971
24972
24973static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
24974 PyObject *resultobj;
24975 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
24976 wxString result;
24977 PyObject * obj0 = 0 ;
24978 char *kwnames[] = {
24979 (char *) "self", NULL
24980 };
24981
24982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
24983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24984 {
24985 PyThreadState* __tstate = wxPyBeginAllowThreads();
24986 result = (arg1)->GetURL();
24987
24988 wxPyEndAllowThreads(__tstate);
24989 if (PyErr_Occurred()) SWIG_fail;
24990 }
24991 {
24992#if wxUSE_UNICODE
24993 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24994#else
24995 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24996#endif
24997 }
24998 return resultobj;
24999 fail:
25000 return NULL;
25001}
25002
25003
25004static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25005 PyObject *resultobj;
25006 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25007 wxString *arg2 = 0 ;
e811c8ce 25008 bool temp2 = False ;
d14a1e28
RD
25009 PyObject * obj0 = 0 ;
25010 PyObject * obj1 = 0 ;
25011 char *kwnames[] = {
25012 (char *) "self",(char *) "url", NULL
25013 };
25014
25015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
25016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25017 {
25018 arg2 = wxString_in_helper(obj1);
25019 if (arg2 == NULL) SWIG_fail;
e811c8ce 25020 temp2 = True;
d14a1e28
RD
25021 }
25022 {
25023 PyThreadState* __tstate = wxPyBeginAllowThreads();
25024 (arg1)->SetURL((wxString const &)*arg2);
25025
25026 wxPyEndAllowThreads(__tstate);
25027 if (PyErr_Occurred()) SWIG_fail;
25028 }
25029 Py_INCREF(Py_None); resultobj = Py_None;
25030 {
25031 if (temp2)
25032 delete arg2;
25033 }
25034 return resultobj;
25035 fail:
25036 {
25037 if (temp2)
25038 delete arg2;
25039 }
25040 return NULL;
25041}
25042
25043
25044static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
25045 PyObject *obj;
25046 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25047 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
25048 Py_INCREF(obj);
25049 return Py_BuildValue((char *)"");
25050}
25051static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25052 PyObject *resultobj;
25053 wxMetafileDataObject *result;
25054 char *kwnames[] = {
25055 NULL
25056 };
25057
25058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
25059 {
25060 PyThreadState* __tstate = wxPyBeginAllowThreads();
25061 result = (wxMetafileDataObject *)new wxMetafileDataObject();
25062
25063 wxPyEndAllowThreads(__tstate);
25064 if (PyErr_Occurred()) SWIG_fail;
25065 }
25066 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMetafileDataObject, 1);
25067 return resultobj;
25068 fail:
25069 return NULL;
25070}
25071
25072
25073static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
25074 PyObject *obj;
25075 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25076 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
25077 Py_INCREF(obj);
25078 return Py_BuildValue((char *)"");
25079}
25080static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
25081 PyObject *resultobj;
25082 int arg1 ;
25083 bool result;
994141e6 25084 PyObject * obj0 = 0 ;
d14a1e28
RD
25085 char *kwnames[] = {
25086 (char *) "res", NULL
25087 };
25088
994141e6
RD
25089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
25090 {
25091 arg1 = (wxDragResult) SWIG_PyObj_AsInt(obj0);
25092 if (PyErr_Occurred()) SWIG_fail;
25093 }
d14a1e28
RD
25094 {
25095 PyThreadState* __tstate = wxPyBeginAllowThreads();
25096 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
25097
25098 wxPyEndAllowThreads(__tstate);
25099 if (PyErr_Occurred()) SWIG_fail;
25100 }
4d5c3d91 25101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25102 return resultobj;
25103 fail:
25104 return NULL;
25105}
25106
25107
25108static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25109 PyObject *resultobj;
d1e20054 25110 wxWindow *arg1 = (wxWindow *) 0 ;
d14a1e28
RD
25111 wxIcon const &arg2_defvalue = wxNullIcon ;
25112 wxIcon *arg2 = (wxIcon *) &arg2_defvalue ;
25113 wxIcon const &arg3_defvalue = wxNullIcon ;
25114 wxIcon *arg3 = (wxIcon *) &arg3_defvalue ;
25115 wxIcon const &arg4_defvalue = wxNullIcon ;
25116 wxIcon *arg4 = (wxIcon *) &arg4_defvalue ;
25117 wxPyDropSource *result;
25118 PyObject * obj0 = 0 ;
25119 PyObject * obj1 = 0 ;
25120 PyObject * obj2 = 0 ;
25121 PyObject * obj3 = 0 ;
25122 char *kwnames[] = {
25123 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25124 };
25125
d1e20054
RD
25126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
25128 if (obj1) {
25129 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25130 if (arg2 == NULL) {
25131 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25132 }
25133 }
25134 if (obj2) {
25135 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25136 if (arg3 == NULL) {
25137 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25138 }
25139 }
25140 if (obj3) {
25141 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25142 if (arg4 == NULL) {
25143 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25144 }
25145 }
25146 {
25147 PyThreadState* __tstate = wxPyBeginAllowThreads();
25148 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxIcon const &)*arg2,(wxIcon const &)*arg3,(wxIcon const &)*arg4);
25149
25150 wxPyEndAllowThreads(__tstate);
25151 if (PyErr_Occurred()) SWIG_fail;
25152 }
25153 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropSource, 1);
25154 return resultobj;
25155 fail:
25156 return NULL;
25157}
25158
25159
25160static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25161 PyObject *resultobj;
25162 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25163 PyObject *arg2 = (PyObject *) 0 ;
25164 PyObject *arg3 = (PyObject *) 0 ;
25165 int arg4 ;
25166 PyObject * obj0 = 0 ;
25167 PyObject * obj1 = 0 ;
25168 PyObject * obj2 = 0 ;
994141e6 25169 PyObject * obj3 = 0 ;
d14a1e28
RD
25170 char *kwnames[] = {
25171 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25172 };
25173
994141e6 25174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
25175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25176 arg2 = obj1;
25177 arg3 = obj2;
994141e6
RD
25178 {
25179 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25180 if (PyErr_Occurred()) SWIG_fail;
25181 }
d14a1e28
RD
25182 {
25183 PyThreadState* __tstate = wxPyBeginAllowThreads();
25184 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
25185
25186 wxPyEndAllowThreads(__tstate);
25187 if (PyErr_Occurred()) SWIG_fail;
25188 }
25189 Py_INCREF(Py_None); resultobj = Py_None;
25190 return resultobj;
25191 fail:
25192 return NULL;
25193}
25194
25195
25196static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25197 PyObject *resultobj;
25198 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25199 PyObject * obj0 = 0 ;
25200 char *kwnames[] = {
25201 (char *) "self", NULL
25202 };
25203
25204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
25205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25206 {
25207 PyThreadState* __tstate = wxPyBeginAllowThreads();
25208 delete arg1;
25209
25210 wxPyEndAllowThreads(__tstate);
25211 if (PyErr_Occurred()) SWIG_fail;
25212 }
25213 Py_INCREF(Py_None); resultobj = Py_None;
25214 return resultobj;
25215 fail:
25216 return NULL;
25217}
25218
25219
25220static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25221 PyObject *resultobj;
25222 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25223 wxDataObject *arg2 = 0 ;
25224 PyObject * obj0 = 0 ;
25225 PyObject * obj1 = 0 ;
25226 char *kwnames[] = {
25227 (char *) "self",(char *) "data", NULL
25228 };
25229
25230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
25231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25232 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25233 if (arg2 == NULL) {
25234 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25235 }
25236 {
25237 PyThreadState* __tstate = wxPyBeginAllowThreads();
25238 (arg1)->SetData(*arg2);
25239
25240 wxPyEndAllowThreads(__tstate);
25241 if (PyErr_Occurred()) SWIG_fail;
25242 }
25243 Py_INCREF(Py_None); resultobj = Py_None;
25244 return resultobj;
25245 fail:
25246 return NULL;
25247}
25248
25249
25250static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25251 PyObject *resultobj;
25252 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25253 wxDataObject *result;
25254 PyObject * obj0 = 0 ;
25255 char *kwnames[] = {
25256 (char *) "self", NULL
25257 };
25258
25259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
25260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25261 {
25262 PyThreadState* __tstate = wxPyBeginAllowThreads();
25263 result = (wxDataObject *)(arg1)->GetDataObject();
25264
25265 wxPyEndAllowThreads(__tstate);
25266 if (PyErr_Occurred()) SWIG_fail;
25267 }
25268 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
25269 return resultobj;
25270 fail:
25271 return NULL;
25272}
25273
25274
25275static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
25276 PyObject *resultobj;
25277 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25278 int arg2 ;
25279 wxCursor *arg3 = 0 ;
25280 PyObject * obj0 = 0 ;
994141e6 25281 PyObject * obj1 = 0 ;
d14a1e28
RD
25282 PyObject * obj2 = 0 ;
25283 char *kwnames[] = {
25284 (char *) "self",(char *) "res",(char *) "cursor", NULL
25285 };
25286
994141e6 25287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 25288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25289 {
25290 arg2 = (wxDragResult) SWIG_PyObj_AsInt(obj1);
25291 if (PyErr_Occurred()) SWIG_fail;
25292 }
d14a1e28
RD
25293 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25294 if (arg3 == NULL) {
25295 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25296 }
25297 {
25298 PyThreadState* __tstate = wxPyBeginAllowThreads();
25299 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
25300
25301 wxPyEndAllowThreads(__tstate);
25302 if (PyErr_Occurred()) SWIG_fail;
25303 }
25304 Py_INCREF(Py_None); resultobj = Py_None;
25305 return resultobj;
25306 fail:
25307 return NULL;
25308}
25309
25310
25311static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
25312 PyObject *resultobj;
25313 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25314 int arg2 = (int) wxDrag_CopyOnly ;
25315 int result;
25316 PyObject * obj0 = 0 ;
994141e6 25317 PyObject * obj1 = 0 ;
d14a1e28
RD
25318 char *kwnames[] = {
25319 (char *) "self",(char *) "flags", NULL
25320 };
25321
994141e6 25322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 25323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25324 if (obj1) {
25325 {
25326 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25327 if (PyErr_Occurred()) SWIG_fail;
25328 }
25329 }
d14a1e28
RD
25330 {
25331 PyThreadState* __tstate = wxPyBeginAllowThreads();
25332 result = (int)(arg1)->DoDragDrop(arg2);
25333
25334 wxPyEndAllowThreads(__tstate);
25335 if (PyErr_Occurred()) SWIG_fail;
25336 }
994141e6 25337 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
25338 return resultobj;
25339 fail:
25340 return NULL;
25341}
25342
25343
25344static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
25345 PyObject *resultobj;
25346 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25347 int arg2 ;
25348 bool result;
25349 PyObject * obj0 = 0 ;
994141e6 25350 PyObject * obj1 = 0 ;
d14a1e28
RD
25351 char *kwnames[] = {
25352 (char *) "self",(char *) "effect", NULL
25353 };
25354
994141e6 25355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 25356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25357 {
25358 arg2 = (wxDragResult) SWIG_PyObj_AsInt(obj1);
25359 if (PyErr_Occurred()) SWIG_fail;
25360 }
d14a1e28
RD
25361 {
25362 PyThreadState* __tstate = wxPyBeginAllowThreads();
25363 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
25364
25365 wxPyEndAllowThreads(__tstate);
25366 if (PyErr_Occurred()) SWIG_fail;
25367 }
4d5c3d91 25368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25369 return resultobj;
25370 fail:
25371 return NULL;
25372}
25373
25374
25375static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
25376 PyObject *obj;
25377 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25378 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
25379 Py_INCREF(obj);
25380 return Py_BuildValue((char *)"");
25381}
196addbf 25382static PyObject *_wrap_new_PyDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25383 PyObject *resultobj;
25384 wxDataObject *arg1 = (wxDataObject *) NULL ;
25385 wxPyDropTarget *result;
25386 PyObject * obj0 = 0 ;
25387 char *kwnames[] = {
25388 (char *) "dataObject", NULL
25389 };
25390
196addbf 25391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDropTarget",kwnames,&obj0)) goto fail;
d14a1e28 25392 if (obj0) {
58203fa6 25393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
d14a1e28
RD
25394 }
25395 {
25396 PyThreadState* __tstate = wxPyBeginAllowThreads();
25397 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
25398
25399 wxPyEndAllowThreads(__tstate);
25400 if (PyErr_Occurred()) SWIG_fail;
25401 }
25402 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 1);
25403 return resultobj;
25404 fail:
25405 return NULL;
25406}
25407
25408
25409static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25410 PyObject *resultobj;
25411 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25412 PyObject *arg2 = (PyObject *) 0 ;
25413 PyObject *arg3 = (PyObject *) 0 ;
25414 PyObject * obj0 = 0 ;
25415 PyObject * obj1 = 0 ;
25416 PyObject * obj2 = 0 ;
25417 char *kwnames[] = {
25418 (char *) "self",(char *) "self",(char *) "_class", NULL
25419 };
25420
25421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25423 arg2 = obj1;
25424 arg3 = obj2;
25425 {
25426 PyThreadState* __tstate = wxPyBeginAllowThreads();
25427 (arg1)->_setCallbackInfo(arg2,arg3);
25428
25429 wxPyEndAllowThreads(__tstate);
25430 if (PyErr_Occurred()) SWIG_fail;
25431 }
25432 Py_INCREF(Py_None); resultobj = Py_None;
25433 return resultobj;
25434 fail:
25435 return NULL;
25436}
25437
25438
25439static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25440 PyObject *resultobj;
25441 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25442 PyObject * obj0 = 0 ;
25443 char *kwnames[] = {
25444 (char *) "self", NULL
25445 };
25446
25447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
25448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25449 {
25450 PyThreadState* __tstate = wxPyBeginAllowThreads();
25451 delete arg1;
25452
25453 wxPyEndAllowThreads(__tstate);
25454 if (PyErr_Occurred()) SWIG_fail;
25455 }
25456 Py_INCREF(Py_None); resultobj = Py_None;
25457 return resultobj;
25458 fail:
25459 return NULL;
25460}
25461
25462
25463static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25464 PyObject *resultobj;
25465 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25466 wxDataObject *result;
25467 PyObject * obj0 = 0 ;
25468 char *kwnames[] = {
25469 (char *) "self", NULL
25470 };
25471
25472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
25473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25474 {
25475 PyThreadState* __tstate = wxPyBeginAllowThreads();
25476 result = (wxDataObject *)(arg1)->GetDataObject();
25477
25478 wxPyEndAllowThreads(__tstate);
25479 if (PyErr_Occurred()) SWIG_fail;
25480 }
25481 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
25482 return resultobj;
25483 fail:
25484 return NULL;
25485}
25486
25487
25488static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25489 PyObject *resultobj;
25490 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25491 wxDataObject *arg2 = (wxDataObject *) 0 ;
25492 PyObject * obj0 = 0 ;
25493 PyObject * obj1 = 0 ;
25494 char *kwnames[] = {
25495 (char *) "self",(char *) "dataObject", NULL
25496 };
25497
25498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
25499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
58203fa6 25500 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
d14a1e28
RD
25501 {
25502 PyThreadState* __tstate = wxPyBeginAllowThreads();
25503 (arg1)->SetDataObject(arg2);
25504
25505 wxPyEndAllowThreads(__tstate);
25506 if (PyErr_Occurred()) SWIG_fail;
25507 }
25508 Py_INCREF(Py_None); resultobj = Py_None;
25509 return resultobj;
25510 fail:
25511 return NULL;
25512}
25513
25514
25515static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
25516 PyObject *resultobj;
25517 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
e811c8ce
RD
25518 int arg2 ;
25519 int arg3 ;
d14a1e28
RD
25520 int arg4 ;
25521 int result;
25522 PyObject * obj0 = 0 ;
994141e6
RD
25523 PyObject * obj1 = 0 ;
25524 PyObject * obj2 = 0 ;
25525 PyObject * obj3 = 0 ;
d14a1e28
RD
25526 char *kwnames[] = {
25527 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25528 };
25529
994141e6 25530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 25531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25532 {
25533 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25534 if (PyErr_Occurred()) SWIG_fail;
25535 }
25536 {
25537 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25538 if (PyErr_Occurred()) SWIG_fail;
25539 }
25540 {
25541 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25542 if (PyErr_Occurred()) SWIG_fail;
25543 }
d14a1e28
RD
25544 {
25545 PyThreadState* __tstate = wxPyBeginAllowThreads();
25546 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
25547
25548 wxPyEndAllowThreads(__tstate);
25549 if (PyErr_Occurred()) SWIG_fail;
25550 }
994141e6 25551 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
25552 return resultobj;
25553 fail:
25554 return NULL;
25555}
25556
25557
25558static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
25559 PyObject *resultobj;
25560 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
e811c8ce
RD
25561 int arg2 ;
25562 int arg3 ;
d14a1e28
RD
25563 int arg4 ;
25564 int result;
25565 PyObject * obj0 = 0 ;
994141e6
RD
25566 PyObject * obj1 = 0 ;
25567 PyObject * obj2 = 0 ;
25568 PyObject * obj3 = 0 ;
d14a1e28
RD
25569 char *kwnames[] = {
25570 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25571 };
25572
994141e6 25573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 25574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25575 {
25576 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25577 if (PyErr_Occurred()) SWIG_fail;
25578 }
25579 {
25580 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25581 if (PyErr_Occurred()) SWIG_fail;
25582 }
25583 {
25584 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25585 if (PyErr_Occurred()) SWIG_fail;
25586 }
d14a1e28
RD
25587 {
25588 PyThreadState* __tstate = wxPyBeginAllowThreads();
25589 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
25590
25591 wxPyEndAllowThreads(__tstate);
25592 if (PyErr_Occurred()) SWIG_fail;
25593 }
994141e6 25594 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
25595 return resultobj;
25596 fail:
25597 return NULL;
25598}
25599
25600
25601static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
25602 PyObject *resultobj;
25603 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25604 PyObject * obj0 = 0 ;
25605 char *kwnames[] = {
25606 (char *) "self", NULL
25607 };
25608
25609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
25610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25611 {
25612 PyThreadState* __tstate = wxPyBeginAllowThreads();
25613 (arg1)->base_OnLeave();
25614
25615 wxPyEndAllowThreads(__tstate);
25616 if (PyErr_Occurred()) SWIG_fail;
25617 }
25618 Py_INCREF(Py_None); resultobj = Py_None;
25619 return resultobj;
25620 fail:
25621 return NULL;
25622}
25623
25624
25625static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
25626 PyObject *resultobj;
25627 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
e811c8ce
RD
25628 int arg2 ;
25629 int arg3 ;
d14a1e28
RD
25630 bool result;
25631 PyObject * obj0 = 0 ;
994141e6
RD
25632 PyObject * obj1 = 0 ;
25633 PyObject * obj2 = 0 ;
d14a1e28
RD
25634 char *kwnames[] = {
25635 (char *) "self",(char *) "x",(char *) "y", NULL
25636 };
25637
994141e6 25638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 25639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25640 {
25641 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25642 if (PyErr_Occurred()) SWIG_fail;
25643 }
25644 {
25645 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25646 if (PyErr_Occurred()) SWIG_fail;
25647 }
d14a1e28
RD
25648 {
25649 PyThreadState* __tstate = wxPyBeginAllowThreads();
25650 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
25651
25652 wxPyEndAllowThreads(__tstate);
25653 if (PyErr_Occurred()) SWIG_fail;
25654 }
4d5c3d91 25655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25656 return resultobj;
25657 fail:
25658 return NULL;
25659}
25660
25661
25662static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25663 PyObject *resultobj;
25664 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25665 bool result;
25666 PyObject * obj0 = 0 ;
25667 char *kwnames[] = {
25668 (char *) "self", NULL
25669 };
25670
25671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
25672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25673 {
25674 PyThreadState* __tstate = wxPyBeginAllowThreads();
25675 result = (bool)(arg1)->GetData();
25676
25677 wxPyEndAllowThreads(__tstate);
25678 if (PyErr_Occurred()) SWIG_fail;
25679 }
4d5c3d91 25680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25681 return resultobj;
25682 fail:
25683 return NULL;
25684}
25685
25686
25687static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
25688 PyObject *obj;
25689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25690 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
25691 Py_INCREF(obj);
25692 return Py_BuildValue((char *)"");
25693}
25694static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25695 PyObject *resultobj;
25696 wxPyTextDropTarget *result;
25697 char *kwnames[] = {
25698 NULL
25699 };
25700
25701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
25702 {
25703 PyThreadState* __tstate = wxPyBeginAllowThreads();
25704 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
25705
25706 wxPyEndAllowThreads(__tstate);
25707 if (PyErr_Occurred()) SWIG_fail;
25708 }
25709 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDropTarget, 1);
25710 return resultobj;
25711 fail:
25712 return NULL;
25713}
25714
25715
25716static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25717 PyObject *resultobj;
25718 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
25719 PyObject *arg2 = (PyObject *) 0 ;
25720 PyObject *arg3 = (PyObject *) 0 ;
25721 PyObject * obj0 = 0 ;
25722 PyObject * obj1 = 0 ;
25723 PyObject * obj2 = 0 ;
25724 char *kwnames[] = {
25725 (char *) "self",(char *) "self",(char *) "_class", NULL
25726 };
25727
25728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25730 arg2 = obj1;
25731 arg3 = obj2;
25732 {
25733 PyThreadState* __tstate = wxPyBeginAllowThreads();
25734 (arg1)->_setCallbackInfo(arg2,arg3);
25735
25736 wxPyEndAllowThreads(__tstate);
25737 if (PyErr_Occurred()) SWIG_fail;
25738 }
25739 Py_INCREF(Py_None); resultobj = Py_None;
25740 return resultobj;
25741 fail:
25742 return NULL;
25743}
25744
25745
25746static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
25747 PyObject *resultobj;
25748 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
25749 int arg2 ;
25750 int arg3 ;
d14a1e28
RD
25751 int arg4 ;
25752 int result;
25753 PyObject * obj0 = 0 ;
994141e6
RD
25754 PyObject * obj1 = 0 ;
25755 PyObject * obj2 = 0 ;
25756 PyObject * obj3 = 0 ;
d14a1e28
RD
25757 char *kwnames[] = {
25758 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25759 };
25760
994141e6 25761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 25762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25763 {
25764 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25765 if (PyErr_Occurred()) SWIG_fail;
25766 }
25767 {
25768 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25769 if (PyErr_Occurred()) SWIG_fail;
25770 }
25771 {
25772 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25773 if (PyErr_Occurred()) SWIG_fail;
25774 }
d14a1e28
RD
25775 {
25776 PyThreadState* __tstate = wxPyBeginAllowThreads();
25777 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
25778
25779 wxPyEndAllowThreads(__tstate);
25780 if (PyErr_Occurred()) SWIG_fail;
25781 }
994141e6 25782 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
25783 return resultobj;
25784 fail:
25785 return NULL;
25786}
25787
25788
25789static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
25790 PyObject *resultobj;
25791 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
25792 int arg2 ;
25793 int arg3 ;
d14a1e28
RD
25794 int arg4 ;
25795 int result;
25796 PyObject * obj0 = 0 ;
994141e6
RD
25797 PyObject * obj1 = 0 ;
25798 PyObject * obj2 = 0 ;
25799 PyObject * obj3 = 0 ;
d14a1e28
RD
25800 char *kwnames[] = {
25801 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25802 };
25803
994141e6 25804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 25805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25806 {
25807 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25808 if (PyErr_Occurred()) SWIG_fail;
25809 }
25810 {
25811 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25812 if (PyErr_Occurred()) SWIG_fail;
25813 }
25814 {
25815 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25816 if (PyErr_Occurred()) SWIG_fail;
25817 }
d14a1e28
RD
25818 {
25819 PyThreadState* __tstate = wxPyBeginAllowThreads();
25820 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
25821
25822 wxPyEndAllowThreads(__tstate);
25823 if (PyErr_Occurred()) SWIG_fail;
25824 }
994141e6 25825 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
25826 return resultobj;
25827 fail:
25828 return NULL;
25829}
25830
25831
25832static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
25833 PyObject *resultobj;
25834 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
25835 PyObject * obj0 = 0 ;
25836 char *kwnames[] = {
25837 (char *) "self", NULL
25838 };
25839
25840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
25841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25842 {
25843 PyThreadState* __tstate = wxPyBeginAllowThreads();
25844 (arg1)->base_OnLeave();
25845
25846 wxPyEndAllowThreads(__tstate);
25847 if (PyErr_Occurred()) SWIG_fail;
25848 }
25849 Py_INCREF(Py_None); resultobj = Py_None;
25850 return resultobj;
25851 fail:
25852 return NULL;
25853}
25854
25855
25856static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
25857 PyObject *resultobj;
25858 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
25859 int arg2 ;
25860 int arg3 ;
d14a1e28
RD
25861 bool result;
25862 PyObject * obj0 = 0 ;
994141e6
RD
25863 PyObject * obj1 = 0 ;
25864 PyObject * obj2 = 0 ;
d14a1e28
RD
25865 char *kwnames[] = {
25866 (char *) "self",(char *) "x",(char *) "y", NULL
25867 };
25868
994141e6 25869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 25870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25871 {
25872 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25873 if (PyErr_Occurred()) SWIG_fail;
25874 }
25875 {
25876 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25877 if (PyErr_Occurred()) SWIG_fail;
25878 }
d14a1e28
RD
25879 {
25880 PyThreadState* __tstate = wxPyBeginAllowThreads();
25881 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
25882
25883 wxPyEndAllowThreads(__tstate);
25884 if (PyErr_Occurred()) SWIG_fail;
25885 }
4d5c3d91 25886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25887 return resultobj;
25888 fail:
25889 return NULL;
25890}
25891
25892
25893static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
25894 PyObject *resultobj;
25895 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
25896 int arg2 ;
25897 int arg3 ;
d14a1e28
RD
25898 int arg4 ;
25899 int result;
25900 PyObject * obj0 = 0 ;
994141e6
RD
25901 PyObject * obj1 = 0 ;
25902 PyObject * obj2 = 0 ;
25903 PyObject * obj3 = 0 ;
d14a1e28
RD
25904 char *kwnames[] = {
25905 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25906 };
25907
994141e6 25908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 25909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
25910 {
25911 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25912 if (PyErr_Occurred()) SWIG_fail;
25913 }
25914 {
25915 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25916 if (PyErr_Occurred()) SWIG_fail;
25917 }
25918 {
25919 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25920 if (PyErr_Occurred()) SWIG_fail;
25921 }
d14a1e28
RD
25922 {
25923 PyThreadState* __tstate = wxPyBeginAllowThreads();
25924 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
25925
25926 wxPyEndAllowThreads(__tstate);
25927 if (PyErr_Occurred()) SWIG_fail;
25928 }
994141e6 25929 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
25930 return resultobj;
25931 fail:
25932 return NULL;
25933}
25934
25935
25936static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
25937 PyObject *obj;
25938 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25939 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
25940 Py_INCREF(obj);
25941 return Py_BuildValue((char *)"");
25942}
25943static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25944 PyObject *resultobj;
25945 wxPyFileDropTarget *result;
25946 char *kwnames[] = {
25947 NULL
25948 };
25949
25950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
25951 {
25952 PyThreadState* __tstate = wxPyBeginAllowThreads();
25953 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
25954
25955 wxPyEndAllowThreads(__tstate);
25956 if (PyErr_Occurred()) SWIG_fail;
25957 }
25958 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileDropTarget, 1);
25959 return resultobj;
25960 fail:
25961 return NULL;
25962}
25963
25964
25965static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25966 PyObject *resultobj;
25967 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
25968 PyObject *arg2 = (PyObject *) 0 ;
25969 PyObject *arg3 = (PyObject *) 0 ;
25970 PyObject * obj0 = 0 ;
25971 PyObject * obj1 = 0 ;
25972 PyObject * obj2 = 0 ;
25973 char *kwnames[] = {
25974 (char *) "self",(char *) "self",(char *) "_class", NULL
25975 };
25976
25977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25979 arg2 = obj1;
25980 arg3 = obj2;
25981 {
25982 PyThreadState* __tstate = wxPyBeginAllowThreads();
25983 (arg1)->_setCallbackInfo(arg2,arg3);
25984
25985 wxPyEndAllowThreads(__tstate);
25986 if (PyErr_Occurred()) SWIG_fail;
25987 }
25988 Py_INCREF(Py_None); resultobj = Py_None;
25989 return resultobj;
25990 fail:
25991 return NULL;
25992}
25993
25994
25995static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
25996 PyObject *resultobj;
25997 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
25998 int arg2 ;
25999 int arg3 ;
d14a1e28
RD
26000 int arg4 ;
26001 int result;
26002 PyObject * obj0 = 0 ;
994141e6
RD
26003 PyObject * obj1 = 0 ;
26004 PyObject * obj2 = 0 ;
26005 PyObject * obj3 = 0 ;
d14a1e28
RD
26006 char *kwnames[] = {
26007 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26008 };
26009
994141e6 26010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 26011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
26012 {
26013 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26014 if (PyErr_Occurred()) SWIG_fail;
26015 }
26016 {
26017 arg3 = (int) SWIG_PyObj_AsInt(obj2);
26018 if (PyErr_Occurred()) SWIG_fail;
26019 }
26020 {
26021 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
26022 if (PyErr_Occurred()) SWIG_fail;
26023 }
d14a1e28
RD
26024 {
26025 PyThreadState* __tstate = wxPyBeginAllowThreads();
26026 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26027
26028 wxPyEndAllowThreads(__tstate);
26029 if (PyErr_Occurred()) SWIG_fail;
26030 }
994141e6 26031 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
26032 return resultobj;
26033 fail:
26034 return NULL;
26035}
26036
26037
26038static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26039 PyObject *resultobj;
26040 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
26041 int arg2 ;
26042 int arg3 ;
d14a1e28
RD
26043 int arg4 ;
26044 int result;
26045 PyObject * obj0 = 0 ;
994141e6
RD
26046 PyObject * obj1 = 0 ;
26047 PyObject * obj2 = 0 ;
26048 PyObject * obj3 = 0 ;
d14a1e28
RD
26049 char *kwnames[] = {
26050 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26051 };
26052
994141e6 26053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 26054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
26055 {
26056 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26057 if (PyErr_Occurred()) SWIG_fail;
26058 }
26059 {
26060 arg3 = (int) SWIG_PyObj_AsInt(obj2);
26061 if (PyErr_Occurred()) SWIG_fail;
26062 }
26063 {
26064 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
26065 if (PyErr_Occurred()) SWIG_fail;
26066 }
d14a1e28
RD
26067 {
26068 PyThreadState* __tstate = wxPyBeginAllowThreads();
26069 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26070
26071 wxPyEndAllowThreads(__tstate);
26072 if (PyErr_Occurred()) SWIG_fail;
26073 }
994141e6 26074 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
26075 return resultobj;
26076 fail:
26077 return NULL;
26078}
26079
26080
26081static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26082 PyObject *resultobj;
26083 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26084 PyObject * obj0 = 0 ;
26085 char *kwnames[] = {
26086 (char *) "self", NULL
26087 };
26088
26089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26091 {
26092 PyThreadState* __tstate = wxPyBeginAllowThreads();
26093 (arg1)->base_OnLeave();
26094
26095 wxPyEndAllowThreads(__tstate);
26096 if (PyErr_Occurred()) SWIG_fail;
26097 }
26098 Py_INCREF(Py_None); resultobj = Py_None;
26099 return resultobj;
26100 fail:
26101 return NULL;
26102}
26103
26104
26105static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26106 PyObject *resultobj;
26107 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
26108 int arg2 ;
26109 int arg3 ;
d14a1e28
RD
26110 bool result;
26111 PyObject * obj0 = 0 ;
994141e6
RD
26112 PyObject * obj1 = 0 ;
26113 PyObject * obj2 = 0 ;
d14a1e28
RD
26114 char *kwnames[] = {
26115 (char *) "self",(char *) "x",(char *) "y", NULL
26116 };
26117
994141e6 26118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 26119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
26120 {
26121 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26122 if (PyErr_Occurred()) SWIG_fail;
26123 }
26124 {
26125 arg3 = (int) SWIG_PyObj_AsInt(obj2);
26126 if (PyErr_Occurred()) SWIG_fail;
26127 }
d14a1e28
RD
26128 {
26129 PyThreadState* __tstate = wxPyBeginAllowThreads();
26130 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26131
26132 wxPyEndAllowThreads(__tstate);
26133 if (PyErr_Occurred()) SWIG_fail;
26134 }
4d5c3d91 26135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26136 return resultobj;
26137 fail:
26138 return NULL;
26139}
26140
26141
26142static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26143 PyObject *resultobj;
26144 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
26145 int arg2 ;
26146 int arg3 ;
d14a1e28
RD
26147 int arg4 ;
26148 int result;
26149 PyObject * obj0 = 0 ;
994141e6
RD
26150 PyObject * obj1 = 0 ;
26151 PyObject * obj2 = 0 ;
26152 PyObject * obj3 = 0 ;
d14a1e28
RD
26153 char *kwnames[] = {
26154 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26155 };
26156
994141e6 26157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 26158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
994141e6
RD
26159 {
26160 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26161 if (PyErr_Occurred()) SWIG_fail;
26162 }
26163 {
26164 arg3 = (int) SWIG_PyObj_AsInt(obj2);
26165 if (PyErr_Occurred()) SWIG_fail;
26166 }
26167 {
26168 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
26169 if (PyErr_Occurred()) SWIG_fail;
26170 }
d14a1e28
RD
26171 {
26172 PyThreadState* __tstate = wxPyBeginAllowThreads();
26173 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26174
26175 wxPyEndAllowThreads(__tstate);
26176 if (PyErr_Occurred()) SWIG_fail;
26177 }
994141e6 26178 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
26179 return resultobj;
26180 fail:
26181 return NULL;
26182}
26183
26184
26185static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
26186 PyObject *obj;
26187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26188 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
26189 Py_INCREF(obj);
26190 return Py_BuildValue((char *)"");
26191}
26192static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26193 PyObject *resultobj;
26194 wxClipboard *result;
26195 char *kwnames[] = {
26196 NULL
26197 };
26198
26199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
26200 {
26201 PyThreadState* __tstate = wxPyBeginAllowThreads();
26202 result = (wxClipboard *)new wxClipboard();
26203
26204 wxPyEndAllowThreads(__tstate);
26205 if (PyErr_Occurred()) SWIG_fail;
26206 }
26207 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboard, 1);
26208 return resultobj;
26209 fail:
26210 return NULL;
26211}
26212
26213
26214static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26215 PyObject *resultobj;
26216 wxClipboard *arg1 = (wxClipboard *) 0 ;
26217 PyObject * obj0 = 0 ;
26218 char *kwnames[] = {
26219 (char *) "self", NULL
26220 };
26221
26222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
26223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26224 {
26225 PyThreadState* __tstate = wxPyBeginAllowThreads();
26226 delete arg1;
26227
26228 wxPyEndAllowThreads(__tstate);
26229 if (PyErr_Occurred()) SWIG_fail;
26230 }
26231 Py_INCREF(Py_None); resultobj = Py_None;
26232 return resultobj;
26233 fail:
26234 return NULL;
26235}
26236
26237
26238static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
26239 PyObject *resultobj;
26240 wxClipboard *arg1 = (wxClipboard *) 0 ;
26241 bool result;
26242 PyObject * obj0 = 0 ;
26243 char *kwnames[] = {
26244 (char *) "self", NULL
26245 };
26246
26247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
26248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26249 {
26250 PyThreadState* __tstate = wxPyBeginAllowThreads();
26251 result = (bool)(arg1)->Open();
26252
26253 wxPyEndAllowThreads(__tstate);
26254 if (PyErr_Occurred()) SWIG_fail;
26255 }
4d5c3d91 26256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26257 return resultobj;
26258 fail:
26259 return NULL;
26260}
26261
26262
26263static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
26264 PyObject *resultobj;
26265 wxClipboard *arg1 = (wxClipboard *) 0 ;
26266 PyObject * obj0 = 0 ;
26267 char *kwnames[] = {
26268 (char *) "self", NULL
26269 };
26270
26271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
26272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26273 {
26274 PyThreadState* __tstate = wxPyBeginAllowThreads();
26275 (arg1)->Close();
26276
26277 wxPyEndAllowThreads(__tstate);
26278 if (PyErr_Occurred()) SWIG_fail;
26279 }
26280 Py_INCREF(Py_None); resultobj = Py_None;
26281 return resultobj;
26282 fail:
26283 return NULL;
26284}
26285
26286
26287static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
26288 PyObject *resultobj;
26289 wxClipboard *arg1 = (wxClipboard *) 0 ;
26290 bool result;
26291 PyObject * obj0 = 0 ;
26292 char *kwnames[] = {
26293 (char *) "self", NULL
26294 };
26295
26296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
26297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26298 {
26299 PyThreadState* __tstate = wxPyBeginAllowThreads();
26300 result = (bool)((wxClipboard const *)arg1)->IsOpened();
26301
26302 wxPyEndAllowThreads(__tstate);
26303 if (PyErr_Occurred()) SWIG_fail;
26304 }
4d5c3d91 26305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26306 return resultobj;
26307 fail:
26308 return NULL;
26309}
26310
26311
26312static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
26313 PyObject *resultobj;
26314 wxClipboard *arg1 = (wxClipboard *) 0 ;
26315 wxDataObject *arg2 = (wxDataObject *) 0 ;
26316 bool result;
26317 PyObject * obj0 = 0 ;
26318 PyObject * obj1 = 0 ;
26319 char *kwnames[] = {
26320 (char *) "self",(char *) "data", NULL
26321 };
26322
26323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
26324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
58203fa6 26325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
d14a1e28
RD
26326 {
26327 PyThreadState* __tstate = wxPyBeginAllowThreads();
26328 result = (bool)(arg1)->AddData(arg2);
26329
26330 wxPyEndAllowThreads(__tstate);
26331 if (PyErr_Occurred()) SWIG_fail;
26332 }
4d5c3d91 26333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26334 return resultobj;
26335 fail:
26336 return NULL;
26337}
26338
26339
26340static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26341 PyObject *resultobj;
26342 wxClipboard *arg1 = (wxClipboard *) 0 ;
26343 wxDataObject *arg2 = (wxDataObject *) 0 ;
26344 bool result;
26345 PyObject * obj0 = 0 ;
26346 PyObject * obj1 = 0 ;
26347 char *kwnames[] = {
26348 (char *) "self",(char *) "data", NULL
26349 };
26350
26351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
26352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
58203fa6 26353 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
d14a1e28
RD
26354 {
26355 PyThreadState* __tstate = wxPyBeginAllowThreads();
26356 result = (bool)(arg1)->SetData(arg2);
26357
26358 wxPyEndAllowThreads(__tstate);
26359 if (PyErr_Occurred()) SWIG_fail;
26360 }
4d5c3d91 26361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26362 return resultobj;
26363 fail:
26364 return NULL;
26365}
26366
26367
26368static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
26369 PyObject *resultobj;
26370 wxClipboard *arg1 = (wxClipboard *) 0 ;
26371 wxDataFormat *arg2 = 0 ;
26372 bool result;
26373 PyObject * obj0 = 0 ;
26374 PyObject * obj1 = 0 ;
26375 char *kwnames[] = {
26376 (char *) "self",(char *) "format", NULL
26377 };
26378
26379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
26380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26381 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26382 if (arg2 == NULL) {
26383 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26384 }
26385 {
26386 PyThreadState* __tstate = wxPyBeginAllowThreads();
26387 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
26388
26389 wxPyEndAllowThreads(__tstate);
26390 if (PyErr_Occurred()) SWIG_fail;
26391 }
4d5c3d91 26392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26393 return resultobj;
26394 fail:
26395 return NULL;
26396}
26397
26398
26399static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26400 PyObject *resultobj;
26401 wxClipboard *arg1 = (wxClipboard *) 0 ;
26402 wxDataObject *arg2 = 0 ;
26403 bool result;
26404 PyObject * obj0 = 0 ;
26405 PyObject * obj1 = 0 ;
26406 char *kwnames[] = {
26407 (char *) "self",(char *) "data", NULL
26408 };
26409
26410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
26411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26412 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26413 if (arg2 == NULL) {
26414 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26415 }
26416 {
26417 PyThreadState* __tstate = wxPyBeginAllowThreads();
26418 result = (bool)(arg1)->GetData(*arg2);
26419
26420 wxPyEndAllowThreads(__tstate);
26421 if (PyErr_Occurred()) SWIG_fail;
26422 }
4d5c3d91 26423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26424 return resultobj;
26425 fail:
26426 return NULL;
26427}
26428
26429
26430static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
26431 PyObject *resultobj;
26432 wxClipboard *arg1 = (wxClipboard *) 0 ;
26433 PyObject * obj0 = 0 ;
26434 char *kwnames[] = {
26435 (char *) "self", NULL
26436 };
26437
26438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
26439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26440 {
26441 PyThreadState* __tstate = wxPyBeginAllowThreads();
26442 (arg1)->Clear();
26443
26444 wxPyEndAllowThreads(__tstate);
26445 if (PyErr_Occurred()) SWIG_fail;
26446 }
26447 Py_INCREF(Py_None); resultobj = Py_None;
26448 return resultobj;
26449 fail:
26450 return NULL;
26451}
26452
26453
26454static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
26455 PyObject *resultobj;
26456 wxClipboard *arg1 = (wxClipboard *) 0 ;
26457 bool result;
26458 PyObject * obj0 = 0 ;
26459 char *kwnames[] = {
26460 (char *) "self", NULL
26461 };
26462
26463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
26464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26465 {
26466 PyThreadState* __tstate = wxPyBeginAllowThreads();
26467 result = (bool)(arg1)->Flush();
26468
26469 wxPyEndAllowThreads(__tstate);
26470 if (PyErr_Occurred()) SWIG_fail;
26471 }
4d5c3d91 26472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26473 return resultobj;
26474 fail:
26475 return NULL;
26476}
26477
26478
26479static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26480 PyObject *resultobj;
26481 wxClipboard *arg1 = (wxClipboard *) 0 ;
e811c8ce 26482 bool arg2 = (bool) False ;
d14a1e28
RD
26483 PyObject * obj0 = 0 ;
26484 PyObject * obj1 = 0 ;
26485 char *kwnames[] = {
26486 (char *) "self",(char *) "primary", NULL
26487 };
26488
26489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
26490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26491 if (obj1) {
a41e16b6 26492 {
994141e6 26493 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
a41e16b6
RD
26494 if (PyErr_Occurred()) SWIG_fail;
26495 }
d14a1e28
RD
26496 }
26497 {
26498 PyThreadState* __tstate = wxPyBeginAllowThreads();
26499 (arg1)->UsePrimarySelection(arg2);
26500
26501 wxPyEndAllowThreads(__tstate);
26502 if (PyErr_Occurred()) SWIG_fail;
26503 }
26504 Py_INCREF(Py_None); resultobj = Py_None;
26505 return resultobj;
26506 fail:
26507 return NULL;
26508}
26509
26510
26511static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
26512 PyObject *obj;
26513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26514 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
26515 Py_INCREF(obj);
26516 return Py_BuildValue((char *)"");
26517}
26518static int _wrap_TheClipboard_set(PyObject *_val) {
26519 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
26520 return 1;
26521}
26522
26523
26524static PyObject *_wrap_TheClipboard_get() {
26525 PyObject *pyobj;
26526
26527 pyobj = SWIG_NewPointerObj((void *) wxTheClipboard, SWIGTYPE_p_wxClipboard, 0);
26528 return pyobj;
26529}
26530
26531
26532static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
26533 PyObject *resultobj;
26534 wxClipboard *arg1 = (wxClipboard *) NULL ;
26535 wxClipboardLocker *result;
26536 PyObject * obj0 = 0 ;
26537 char *kwnames[] = {
26538 (char *) "clipboard", NULL
26539 };
26540
26541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
26542 if (obj0) {
26543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26544 }
26545 {
26546 PyThreadState* __tstate = wxPyBeginAllowThreads();
26547 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
26548
26549 wxPyEndAllowThreads(__tstate);
26550 if (PyErr_Occurred()) SWIG_fail;
26551 }
26552 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboardLocker, 1);
26553 return resultobj;
26554 fail:
26555 return NULL;
26556}
26557
26558
26559static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
26560 PyObject *resultobj;
26561 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
26562 PyObject * obj0 = 0 ;
26563 char *kwnames[] = {
26564 (char *) "self", NULL
26565 };
26566
26567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
26568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26569 {
26570 PyThreadState* __tstate = wxPyBeginAllowThreads();
26571 delete arg1;
26572
26573 wxPyEndAllowThreads(__tstate);
26574 if (PyErr_Occurred()) SWIG_fail;
26575 }
26576 Py_INCREF(Py_None); resultobj = Py_None;
26577 return resultobj;
26578 fail:
26579 return NULL;
26580}
26581
26582
26583static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
26584 PyObject *resultobj;
26585 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
26586 bool result;
26587 PyObject * obj0 = 0 ;
26588 char *kwnames[] = {
26589 (char *) "self", NULL
26590 };
26591
26592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
26593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26594 {
26595 PyThreadState* __tstate = wxPyBeginAllowThreads();
26596 result = (bool)wxClipboardLocker___nonzero__(arg1);
26597
26598 wxPyEndAllowThreads(__tstate);
26599 if (PyErr_Occurred()) SWIG_fail;
26600 }
4d5c3d91 26601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26602 return resultobj;
26603 fail:
26604 return NULL;
26605}
26606
26607
26608static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
26609 PyObject *obj;
26610 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26611 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
26612 Py_INCREF(obj);
26613 return Py_BuildValue((char *)"");
26614}
26615static PyMethodDef SwigMethods[] = {
26616 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
26617 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
26618 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
26619 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
26620 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
26621 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
26622 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
26623 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
26624 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
26625 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
26626 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
26627 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
26628 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
26629 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
26630 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
26631 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
26632 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
26633 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
26634 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
26635 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
26636 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
26637 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
26638 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
26639 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
26640 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
26641 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
26642 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
26643 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
26644 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
26645 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
26646 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
26647 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
26648 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
26649 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
26650 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
26651 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
26652 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
26653 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
26654 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
26655 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
26656 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
26657 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
26658 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
26659 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
26660 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
26661 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
26662 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
26663 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
26664 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
26665 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
26666 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
26667 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
26668 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
26669 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
26670 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
26671 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
26674 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
26675 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
26676 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
26677 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
26678 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
26679 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
26680 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
26681 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
26682 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
39f61e25 26683 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
26684 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
26685 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
26686 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
26687 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
26688 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
26689 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
26690 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
26691 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
26692 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
26693 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
26694 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
26695 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
26696 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
26697 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
26698 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
26699 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
26700 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
26701 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
d14a1e28 26702 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
322913ce 26703 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28 26704 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
322913ce 26705 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
26706 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
26707 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
26708 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
26709 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
26710 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
26711 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
26712 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
26713 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
26714 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
26715 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
26716 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
26717 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
26718 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
26719 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
26720 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
26721 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
26722 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
26723 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
26724 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
26725 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
26726 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
26727 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
26728 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
26729 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
26730 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
26731 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
26732 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
26733 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
26734 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
26735 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
26736 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
26737 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
26738 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
26739 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
26740 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
26741 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
26742 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
26743 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
26744 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
26745 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
26746 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
26747 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
26748 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
26749 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
26750 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
26751 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
26752 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
26753 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
26754 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
26755 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
26756 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
26757 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
26758 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26759 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
26760 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
26761 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
26762 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
26763 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
7722248d 26764 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
26765 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
26766 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
26767 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
26768 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
26769 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
26770 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
cc6dd355 26771 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
26772 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
26773 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
26774 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
26775 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
26776 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
26777 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
26778 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
26779 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
26780 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
26781 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
26782 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
26783 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
26784 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
26785 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
26786 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
26787 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
26788 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
26789 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
26790 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
26791 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
26792 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
26793 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
26794 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
26795 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
26796 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
26797 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
26798 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
26799 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
26800 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
26801 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
26802 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
26803 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
26804 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
26805 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
26806 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
26807 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
26808 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
26809 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
26810 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
26811 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
26812 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
26813 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
26814 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
26815 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
26816 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
26817 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
26818 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
26819 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
26820 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
26821 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
26822 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
26823 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
26824 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
26825 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
26826 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
26827 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
26828 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
26829 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
26830 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
26831 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
26832 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
26833 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
26834 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
26835 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
26836 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
26837 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
cc6dd355 26838 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
d14a1e28
RD
26839 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
26840 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
26841 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
26842 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
26843 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
26844 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
26845 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26846 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
26847 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
26848 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
26849 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
26850 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
26851 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26852 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
26853 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
26854 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
26855 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
26856 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
26857 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
26858 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
26859 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
26860 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
26861 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
26862 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
26863 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
26864 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
26865 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
26866 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
26867 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
26868 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
26869 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
26870 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
26871 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
26872 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
26873 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
26874 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
26875 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
26876 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
26877 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
26878 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
26879 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
26880 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
26881 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
26882 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
26883 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
26884 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
26885 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
26886 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
26887 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
26888 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
26889 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
26890 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
26891 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
26892 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
26893 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
26894 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
26895 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
26896 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
26897 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
26898 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
26899 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
26900 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
26901 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
26902 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
26903 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
26904 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
26905 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
26906 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
26907 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
26908 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
26909 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
26910 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
26911 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
26912 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
26913 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
26914 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
26915 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
26916 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
26917 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
26918 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
26919 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
26920 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
26921 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
26922 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
26923 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
26924 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
26925 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
26926 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
26927 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
26928 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
26929 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26930 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
26931 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
26932 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
26933 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
26934 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
26935 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
26936 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
26937 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26938 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
26939 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
26940 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
26941 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
26942 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
26943 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
26944 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
26945 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
4d5c3d91
RD
26946 { (char *)"new_Sound", _wrap_new_Sound, METH_VARARGS },
26947 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS },
26948 { (char *)"Sound_Create", _wrap_Sound_Create, METH_VARARGS },
26949 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS },
26950 { (char *)"Sound_Play", _wrap_Sound_Play, METH_VARARGS },
26951 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound, METH_VARARGS },
26952 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS },
26953 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS },
d14a1e28
RD
26954 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
26955 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
26956 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
26957 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
26958 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
26959 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
26960 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
26961 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
26962 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
26963 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
26964 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
26965 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
26966 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
26967 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
26968 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
26969 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
26970 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
26971 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
26972 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
26973 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
26974 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
26975 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
26976 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
26977 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
26978 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
26979 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
26980 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
26981 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
26982 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
26983 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
26984 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
26985 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
26986 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
26987 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
26988 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
26989 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
26990 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
26991 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
26992 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
26993 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
26994 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
26995 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
26996 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
26997 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
26998 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
26999 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
27000 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
27001 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27002 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
27003 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
27004 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
27005 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
27006 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
1e0c8722 27007 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
27008 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
27009 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
27010 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
27011 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
27012 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
27013 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
27014 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
27015 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
27016 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
27017 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
27018 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
27019 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
27020 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
27021 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
27022 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
27023 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
27024 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
27025 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
27026 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
27027 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
27028 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
27029 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
27030 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
27031 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
27032 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
27033 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
27034 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
27035 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
27036 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
27037 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
27038 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
27039 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
27040 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
27041 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
27042 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
27043 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
27044 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
27045 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
27046 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
27047 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
27048 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
27049 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
27050 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
27051 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
27052 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
27053 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
27054 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
27055 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
27056 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
27057 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
27058 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
27059 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
27060 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
27061 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
27062 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
27063 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
27064 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
27065 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
27066 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
27067 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
27068 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
27069 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
27070 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
27071 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
27072 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
27073 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
27074 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
27075 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
27076 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
27077 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
27078 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
27079 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
27080 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
27081 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
27082 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
27083 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
27084 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
27085 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
27086 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
27087 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
27088 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
27089 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
27090 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
27091 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
27092 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
27093 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
27094 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
27095 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
27096 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
27097 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
27098 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
27099 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
27100 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
27101 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
27102 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
27103 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
27104 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
27105 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
27106 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
27107 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
27108 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
27109 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
27110 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
27111 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
27112 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
27113 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
27114 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
27115 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
27116 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
27117 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
27118 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
27119 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
27120 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
27121 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
27122 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
27123 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
27124 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
27125 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
27126 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
27127 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
27128 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
27129 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
27130 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
27131 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
27132 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
27133 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
27134 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
27135 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
27136 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
27137 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
27138 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
27139 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
27140 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
27141 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
27142 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
27143 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
27144 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
27145 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
27146 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
27147 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
27148 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
27149 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
27150 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
27151 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
27152 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
27153 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
27154 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
27155 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
27156 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
27157 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
27158 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
27159 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
27160 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
27161 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
27162 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
27163 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
27164 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
27165 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
27166 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
27167 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
27168 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
27169 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
27170 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
27171 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
27172 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
27173 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
27174 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
27175 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
27176 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
27177 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
27178 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
27179 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
27180 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
27181 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
27182 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
27183 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
27184 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
27185 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
27186 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
27187 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
27188 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
27189 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
27190 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
27191 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
27192 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
27193 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
27194 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
27195 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
27196 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
27197 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
27198 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
27199 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
27200 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
27201 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
27202 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
27203 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
27204 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
27205 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
27206 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
27207 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
27208 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
27209 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
27210 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
27211 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
27212 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
27213 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
27214 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
27215 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
27216 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
27217 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
27218 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
27219 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
27220 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
27221 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
27222 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
27223 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
27224 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
27225 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
27226 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
27227 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
27228 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
27229 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
27230 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
27231 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
27232 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
27233 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
27234 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
27235 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
27236 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
27237 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
27238 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
27239 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
27240 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
27241 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
27242 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
27243 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
27244 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
27245 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
27246 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
27247 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
27248 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
27249 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
27250 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
27251 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
27252 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
27253 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
27254 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
27255 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
27256 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
27257 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
27258 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
27259 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
27260 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
27261 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
27262 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
27263 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
27264 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
27265 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
27266 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
27267 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
27268 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
27269 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
27270 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
27271 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
27272 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
27273 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
27274 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
27275 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
27276 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
27277 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
27278 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
27279 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
27280 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
27281 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27282 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
27283 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
27284 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
27285 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
27286 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
27287 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
27288 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
27289 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
27290 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
27291 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
27292 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27293 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
27294 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
27295 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
27296 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
27297 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
27298 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
27299 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27300 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
27301 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
27302 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
27303 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
27304 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
27305 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
27306 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
27307 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
27308 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
27309 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
27310 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
27311 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
27312 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
27313 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
27314 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
27315 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
27316 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
27317 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
27318 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27319 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
27320 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
27321 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
27322 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
27323 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
27324 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
27325 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
196addbf 27326 { (char *)"new_PyDropTarget", (PyCFunction) _wrap_new_PyDropTarget, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
27327 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27328 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
27329 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
27330 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
27331 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
27332 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
27333 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
27334 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
27335 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
27336 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
27337 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
27338 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27339 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
27340 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
27341 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
27342 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
27343 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
27344 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
27345 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
27346 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27347 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
27348 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
27349 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
27350 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
27351 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
27352 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
27353 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
27354 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
27355 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
27356 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
27357 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
27358 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
27359 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
27360 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
27361 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
27362 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
27363 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
27364 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
27365 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
27366 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
27367 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
27368 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
27369 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
27370 { NULL, NULL }
27371};
27372
27373
27374/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27375
27376static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
27377 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
27378}
27379static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
27380 return (void *)((wxEvent *) ((wxMenuEvent *) x));
27381}
27382static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
27383 return (void *)((wxEvent *) ((wxCloseEvent *) x));
27384}
27385static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
27386 return (void *)((wxEvent *) ((wxMouseEvent *) x));
27387}
27388static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
27389 return (void *)((wxEvent *) ((wxEraseEvent *) x));
27390}
27391static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
27392 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
27393}
27394static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
27395 return (void *)((wxEvent *) ((wxTimerEvent *) x));
27396}
27397static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
27398 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
27399}
27400static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
27401 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
27402}
27403static void *_p_wxPyEventTo_p_wxEvent(void *x) {
27404 return (void *)((wxEvent *) ((wxPyEvent *) x));
27405}
27406static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
27407 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
27408}
27409static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
27410 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
27411}
27412static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
27413 return (void *)((wxEvent *) ((wxIdleEvent *) x));
27414}
27415static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
27416 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
27417}
27418static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
27419 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
27420}
27421static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
27422 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
27423}
27424static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
27425 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
27426}
27427static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
27428 return (void *)((wxEvent *) ((wxActivateEvent *) x));
27429}
27430static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
27431 return (void *)((wxEvent *) ((wxSizeEvent *) x));
27432}
27433static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
27434 return (void *)((wxEvent *) ((wxMoveEvent *) x));
27435}
27436static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
27437 return (void *)((wxEvent *) ((wxPaintEvent *) x));
27438}
27439static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
27440 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
27441}
27442static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
27443 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
27444}
27445static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
27446 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
27447}
27448static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
27449 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
27450}
27451static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
27452 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27453}
27454static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
27455 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
27456}
27457static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
27458 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
27459}
27460static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
27461 return (void *)((wxEvent *) ((wxFocusEvent *) x));
27462}
27463static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
27464 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
27465}
27466static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
27467 return (void *)((wxEvent *) ((wxProcessEvent *) x));
27468}
27469static void *_p_wxShowEventTo_p_wxEvent(void *x) {
27470 return (void *)((wxEvent *) ((wxShowEvent *) x));
27471}
27472static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
27473 return (void *)((wxEvent *) ((wxCommandEvent *) x));
27474}
27475static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
27476 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
27477}
27478static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
27479 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27480}
27481static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
27482 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
27483}
27484static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
27485 return (void *)((wxEvent *) ((wxKeyEvent *) x));
27486}
27487static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
27488 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
27489}
27490static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
27491 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
27492}
27493static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
27494 return (void *)((wxConfigBase *) ((wxConfig *) x));
27495}
27496static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
27497 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
27498}
27499static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
27500 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
27501}
27502static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
27503 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
27504}
27505static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
27506 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
27507}
27508static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
27509 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
27510}
27511static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
27512 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
27513}
27514static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
27515 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
27516}
27517static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
27518 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
27519}
27520static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
27521 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
27522}
27523static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
27524 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
27525}
27526static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
27527 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
27528}
27529static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
27530 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
27531}
27532static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
27533 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
27534}
27535static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
27536 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
27537}
27538static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
27539 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
27540}
27541static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
27542 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
27543}
27544static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
27545 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
27546}
27547static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
27548 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
27549}
27550static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
27551 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
27552}
27553static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
27554 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
27555}
27556static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
27557 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
27558}
27559static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
27560 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
27561}
27562static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27563 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27564}
27565static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27566 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27567}
27568static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27569 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27570}
27571static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27572 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27573}
27574static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
27575 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
27576}
27577static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27578 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27579}
27580static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27581 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27582}
27583static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27584 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27585}
27586static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27587 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27588}
27589static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
27590 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
27591}
27592static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
27593 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
27594}
27595static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27596 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27597}
27598static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27599 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27600}
27601static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27602 return (void *)((wxObject *) ((wxSizerItem *) x));
27603}
27604static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27605 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27606}
27607static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27608 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27609}
27610static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27611 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27612}
27613static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27614 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27615}
27616static void *_p_wxSizerTo_p_wxObject(void *x) {
27617 return (void *)((wxObject *) ((wxSizer *) x));
27618}
27619static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27620 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27621}
27622static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
27623 return (void *)((wxObject *) ((wxFileHistory *) x));
27624}
27625static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27626 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27627}
27628static void *_p_wxEventTo_p_wxObject(void *x) {
27629 return (void *)((wxObject *) ((wxEvent *) x));
27630}
27631static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27632 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27633}
27634static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27635 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27636}
27637static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27638 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27639}
27640static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27641 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27642}
27643static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27644 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27645}
27646static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27647 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27648}
27649static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27650 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27651}
27652static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27653 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27654}
27655static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27656 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27657}
27658static void *_p_wxControlTo_p_wxObject(void *x) {
27659 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27660}
27661static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27662 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27663}
27664static void *_p_wxTimerEventTo_p_wxObject(void *x) {
27665 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
27666}
27667static void *_p_wxFSFileTo_p_wxObject(void *x) {
27668 return (void *)((wxObject *) ((wxFSFile *) x));
27669}
27670static void *_p_wxClipboardTo_p_wxObject(void *x) {
27671 return (void *)((wxObject *) ((wxClipboard *) x));
27672}
27673static void *_p_wxPySizerTo_p_wxObject(void *x) {
27674 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27675}
27676static void *_p_wxPyEventTo_p_wxObject(void *x) {
27677 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27678}
27679static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27680 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27681}
27682static void *_p_wxShowEventTo_p_wxObject(void *x) {
27683 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27684}
27685static void *_p_wxToolTipTo_p_wxObject(void *x) {
27686 return (void *)((wxObject *) ((wxToolTip *) x));
27687}
27688static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27689 return (void *)((wxObject *) ((wxMenuItem *) x));
27690}
27691static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27692 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27693}
27694static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27695 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27696}
27697static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27698 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27699}
27700static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27701 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27702}
27703static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27704 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27705}
27706static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27707 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27708}
27709static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27710 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27711}
27712static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27713 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27714}
27715static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27716 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27717}
27718static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27719 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27720}
27721static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27722 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27723}
27724static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27725 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27726}
27727static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27728 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27729}
27730static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27731 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27732}
27733static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27734 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27735}
27736static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27737 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27738}
27739static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27740 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27741}
27742static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27743 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27744}
27745static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27746 return (void *)((wxObject *) ((wxImageHandler *) x));
27747}
27748static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27749 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27750}
27751static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27752 return (void *)((wxObject *) ((wxEvtHandler *) x));
27753}
1e0c8722
RD
27754static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27755 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27756}
d14a1e28
RD
27757static void *_p_wxImageTo_p_wxObject(void *x) {
27758 return (void *)((wxObject *) ((wxImage *) x));
27759}
27760static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27761 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27762}
27763static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
27764 return (void *)((wxObject *) ((wxSystemOptions *) x));
27765}
27766static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
27767 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
27768}
27769static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27770 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27771}
27772static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27773 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27774}
27775static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27776 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27777}
27778static void *_p_wxWindowTo_p_wxObject(void *x) {
27779 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27780}
27781static void *_p_wxMenuTo_p_wxObject(void *x) {
27782 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27783}
27784static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27786}
27787static void *_p_wxPyProcessTo_p_wxObject(void *x) {
27788 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
27789}
27790static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27791 return (void *)((wxObject *) ((wxFileSystem *) x));
27792}
27793static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27794 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27795}
27796static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27797 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27798}
27799static void *_p_wxPyAppTo_p_wxObject(void *x) {
27800 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27801}
27802static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27803 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27804}
27805static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27806 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27807}
27808static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27809 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27810}
27811static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
27812 return (void *)((wxObject *) ((wxBusyInfo *) x));
27813}
27814static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27815 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27816}
27817static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27818 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27819}
27820static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27821 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27822}
27823static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27824 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27825}
27826static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27827 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27828}
27829static void *_p_wxProcessEventTo_p_wxObject(void *x) {
27830 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
27831}
27832static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27833 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27834}
27835static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27836 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27837}
27838static void *_p_wxValidatorTo_p_wxObject(void *x) {
27839 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27840}
27841static void *_p_wxPyTimerTo_p_wxObject(void *x) {
27842 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
27843}
27844static void *_p_wxLogStderrTo_p_wxLog(void *x) {
27845 return (void *)((wxLog *) ((wxLogStderr *) x));
27846}
27847static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
27848 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
27849}
27850static void *_p_wxLogWindowTo_p_wxLog(void *x) {
27851 return (void *)((wxLog *) ((wxLogWindow *) x));
27852}
27853static void *_p_wxLogChainTo_p_wxLog(void *x) {
27854 return (void *)((wxLog *) ((wxLogChain *) x));
27855}
27856static void *_p_wxLogGuiTo_p_wxLog(void *x) {
27857 return (void *)((wxLog *) ((wxLogGui *) x));
27858}
27859static void *_p_wxPyLogTo_p_wxLog(void *x) {
27860 return (void *)((wxLog *) ((wxPyLog *) x));
27861}
27862static void *_p_wxControlTo_p_wxWindow(void *x) {
27863 return (void *)((wxWindow *) ((wxControl *) x));
27864}
27865static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27866 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27867}
27868static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27869 return (void *)((wxWindow *) ((wxMenuBar *) x));
27870}
27871static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
27872 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
27873}
27874static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
27875 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
27876}
27877static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
27878static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
27879static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
27880static swig_type_info _swigt__p_wxLog[] = {{"_p_wxLog", 0, "wxLog *", 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog},{"_p_wxLog"},{0}};
27881static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
27882static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
27883static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{0}};
27884static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxFileConfig", _p_wxFileConfigTo_p_wxConfigBase},{"_p_wxConfigBase"},{"_p_wxConfig", _p_wxConfigTo_p_wxConfigBase},{0}};
d14a1e28
RD
27885static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
27886static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
27887static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27888static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
27889static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
27890static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
27891static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27892static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27893static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
27894static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
27895static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27896static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
27897static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27898static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
27899static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
27900static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27901static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
d14a1e28
RD
27902static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
27903static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject},{0}};
27904static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject},{0}};
27905static swig_type_info _swigt__p_wxDataObject[] = {{"_p_wxDataObject", 0, "wxDataObject *", 0},{"_p_wxDataObjectSimple", _p_wxDataObjectSimpleTo_p_wxDataObject},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObject},{"_p_wxDataObjectComposite", _p_wxDataObjectCompositeTo_p_wxDataObject},{"_p_wxDataObject"},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObject},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObject},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObject},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObject},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObject},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObject},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObject},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObject},{0}};
4d5c3d91 27906static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
994141e6 27907static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
d14a1e28
RD
27908static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
27909static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
27910static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
4d5c3d91 27911static swig_type_info _swigt__p_wxSound[] = {{"_p_wxSound", 0, "wxSound *", 0},{"_p_wxSound"},{0}};
d14a1e28
RD
27912static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
27913static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
27914static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
27915static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27916static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
27917static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
27918static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite},{0}};
27919static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
27920static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
27921static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
27922static swig_type_info _swigt__p_wxDataObjectSimple[] = {{"_p_wxDataObjectSimple", 0, "wxDataObjectSimple *", 0},{"_p_wxDataObjectSimple"},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObjectSimple},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObjectSimple},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObjectSimple},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObjectSimple},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObjectSimple},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObjectSimple},{0}};
27923static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler},{0}};
27924static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
994141e6 27925static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
d14a1e28
RD
27926static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
27927static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
27928static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
27929static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
27930static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
27931static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
27932static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
27933static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider},{0}};
27934static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
27935static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
27936static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27937static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
27938static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
1e0c8722 27939static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject},{0}};
d14a1e28
RD
27940static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
27941static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
27942static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
27943static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{0}};
27944static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27945static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
27946static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27947static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
27948static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
27949static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
27950static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{"_p_wxPyTextDropTarget", _p_wxPyTextDropTargetTo_p_wxPyDropTarget},{"_p_wxPyFileDropTarget", _p_wxPyFileDropTargetTo_p_wxPyDropTarget},{0}};
27951static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
27952static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
27953static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
27954static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
27955static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
27956static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
4d5c3d91 27957static swig_type_info _swigt__p_wxByte[] = {{"_p_wxByte", 0, "wxByte *", 0},{"_p_wxByte"},{0}};
d14a1e28
RD
27958static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
27959static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
27960static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
27961
27962static swig_type_info *swig_types_initial[] = {
27963_swigt__p_wxLogChain,
27964_swigt__p_wxMutexGuiLocker,
27965_swigt__p_wxFileHistory,
27966_swigt__p_wxLog,
27967_swigt__p_wxDateTime__TimeZone,
27968_swigt__p_wxMenu,
27969_swigt__p_wxEvent,
27970_swigt__p_wxConfigBase,
d14a1e28
RD
27971_swigt__p_wxFileType,
27972_swigt__p_wxLogGui,
27973_swigt__p_wxFont,
27974_swigt__p_wxDataFormat,
27975_swigt__p_wxTimerEvent,
27976_swigt__p_wxCaret,
27977_swigt__p_int,
27978_swigt__p_wxSize,
27979_swigt__p_wxClipboard,
27980_swigt__p_wxStopWatch,
27981_swigt__p_wxDC,
27982_swigt__p_wxClipboardLocker,
27983_swigt__p_wxIcon,
27984_swigt__p_wxLogStderr,
27985_swigt__p_wxLogTextCtrl,
27986_swigt__p_wxTextCtrl,
27987_swigt__p_wxBusyCursor,
d14a1e28
RD
27988_swigt__p_wxPyTextDataObject,
27989_swigt__p_wxBitmapDataObject,
27990_swigt__p_wxTextDataObject,
27991_swigt__p_wxDataObject,
4d5c3d91 27992_swigt__p_wxPyBitmapDataObject,
994141e6 27993_swigt__p_wxFileDataObject,
d14a1e28
RD
27994_swigt__p_wxCustomDataObject,
27995_swigt__p_wxURLDataObject,
27996_swigt__p_wxMetafileDataObject,
4d5c3d91 27997_swigt__p_wxSound,
d14a1e28
RD
27998_swigt__p_wxTimerRunner,
27999_swigt__p_wxLogWindow,
28000_swigt__p_wxTimeSpan,
28001_swigt__p_wxArrayString,
28002_swigt__p_wxWindowDisabler,
28003_swigt__p_wxToolTip,
28004_swigt__p_wxDataObjectComposite,
28005_swigt__p_wxFileConfig,
28006_swigt__p_wxSystemSettings,
28007_swigt__p_wxPyDataObjectSimple,
28008_swigt__p_wxDataObjectSimple,
28009_swigt__p_wxEvtHandler,
28010_swigt__p_wxRect,
994141e6 28011_swigt__p_char,
d14a1e28
RD
28012_swigt__p_wxSingleInstanceChecker,
28013_swigt__p_wxFileTypeInfo,
28014_swigt__p_wxFrame,
28015_swigt__p_wxTimer,
28016_swigt__p_wxMimeTypesManager,
28017_swigt__p_wxPyArtProvider,
28018_swigt__p_wxPyTipProvider,
28019_swigt__p_wxTipProvider,
28020_swigt__p_wxJoystick,
28021_swigt__p_wxSystemOptions,
28022_swigt__p_wxPoint,
28023_swigt__p_wxJoystickEvent,
28024_swigt__p_wxCursor,
28025_swigt__p_wxObject,
28026_swigt__p_wxOutputStream,
28027_swigt__p_wxDateTime,
28028_swigt__p_wxPyDropSource,
28029_swigt__p_wxWindow,
28030_swigt__p_wxString,
28031_swigt__p_wxPyProcess,
28032_swigt__p_wxBitmap,
28033_swigt__p_wxConfig,
28034_swigt__p_wxChar,
28035_swigt__p_wxBusyInfo,
28036_swigt__p_wxPyDropTarget,
28037_swigt__p_wxPyTextDropTarget,
28038_swigt__p_wxPyFileDropTarget,
28039_swigt__p_wxProcessEvent,
28040_swigt__p_wxPyLog,
28041_swigt__p_wxLogNull,
28042_swigt__p_wxColour,
4d5c3d91 28043_swigt__p_wxByte,
d14a1e28
RD
28044_swigt__p_wxConfigPathChanger,
28045_swigt__p_wxPyTimer,
28046_swigt__p_wxDateSpan,
280470
28048};
28049
28050
28051/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28052
28053static swig_const_info swig_const_table[] = {
d14a1e28
RD
28054{ SWIG_PY_STRING, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
28055{ SWIG_PY_STRING, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
28056{ SWIG_PY_STRING, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
28057{ SWIG_PY_STRING, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
28058{ SWIG_PY_STRING, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
d14a1e28
RD
28059{0}};
28060
28061#ifdef __cplusplus
28062}
28063#endif
28064
28065#ifdef __cplusplus
28066extern "C"
28067#endif
28068SWIGEXPORT(void) SWIG_init(void) {
28069 static PyObject *SWIG_globals = 0;
28070 static int typeinit = 0;
28071 PyObject *m, *d;
28072 int i;
28073 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28074 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28075 d = PyModule_GetDict(m);
28076
28077 if (!typeinit) {
28078 for (i = 0; swig_types_initial[i]; i++) {
28079 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28080 }
28081 typeinit = 1;
28082 }
28083 SWIG_InstallConstants(d,swig_const_table);
28084
994141e6
RD
28085 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_OEM_FIXED_FONT));
28086 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_ANSI_FIXED_FONT));
28087 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_PyObj_FromInt((int)wxSYS_ANSI_VAR_FONT));
28088 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_PyObj_FromInt((int)wxSYS_SYSTEM_FONT));
28089 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_PyObj_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT));
28090 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_PyObj_FromInt((int)wxSYS_DEFAULT_PALETTE));
28091 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_SYSTEM_FIXED_FONT));
28092 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_PyObj_FromInt((int)wxSYS_DEFAULT_GUI_FONT));
28093 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_PyObj_FromInt((int)wxSYS_ICONTITLE_FONT));
28094 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_SCROLLBAR));
28095 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BACKGROUND));
28096 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_DESKTOP));
28097 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION));
28098 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION));
28099 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENU));
28100 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOW));
28101 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOWFRAME));
28102 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUTEXT));
28103 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOWTEXT));
28104 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT));
28105 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER));
28106 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER));
28107 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_APPWORKSPACE));
28108 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HIGHLIGHT));
28109 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
28110 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNFACE));
28111 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DFACE));
28112 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNSHADOW));
28113 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DSHADOW));
28114 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRAYTEXT));
28115 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNTEXT));
28116 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
28117 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT));
28118 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNHILIGHT));
28119 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT));
28120 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DHILIGHT));
28121 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DDKSHADOW));
28122 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DLIGHT));
28123 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INFOTEXT));
28124 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INFOBK));
28125 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_LISTBOX));
28126 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HOTLIGHT));
28127 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
28128 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
28129 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUHILIGHT));
28130 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUBAR));
28131 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MAX));
28132 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_PyObj_FromInt((int)wxSYS_MOUSE_BUTTONS));
28133 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_PyObj_FromInt((int)wxSYS_BORDER_X));
28134 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_PyObj_FromInt((int)wxSYS_BORDER_Y));
28135 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_PyObj_FromInt((int)wxSYS_CURSOR_X));
28136 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_PyObj_FromInt((int)wxSYS_CURSOR_Y));
28137 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_PyObj_FromInt((int)wxSYS_DCLICK_X));
28138 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_PyObj_FromInt((int)wxSYS_DCLICK_Y));
28139 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_PyObj_FromInt((int)wxSYS_DRAG_X));
28140 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_PyObj_FromInt((int)wxSYS_DRAG_Y));
28141 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_PyObj_FromInt((int)wxSYS_EDGE_X));
28142 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_PyObj_FromInt((int)wxSYS_EDGE_Y));
28143 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_ARROW_X));
28144 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_ARROW_Y));
28145 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_PyObj_FromInt((int)wxSYS_HTHUMB_X));
28146 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_PyObj_FromInt((int)wxSYS_ICON_X));
28147 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_PyObj_FromInt((int)wxSYS_ICON_Y));
28148 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_PyObj_FromInt((int)wxSYS_ICONSPACING_X));
28149 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_PyObj_FromInt((int)wxSYS_ICONSPACING_Y));
28150 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_PyObj_FromInt((int)wxSYS_WINDOWMIN_X));
28151 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_PyObj_FromInt((int)wxSYS_WINDOWMIN_Y));
28152 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_X));
28153 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_Y));
28154 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_PyObj_FromInt((int)wxSYS_FRAMESIZE_X));
28155 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_PyObj_FromInt((int)wxSYS_FRAMESIZE_Y));
28156 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_PyObj_FromInt((int)wxSYS_SMALLICON_X));
28157 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_PyObj_FromInt((int)wxSYS_SMALLICON_Y));
28158 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_Y));
28159 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_X));
28160 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_ARROW_X));
28161 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_ARROW_Y));
28162 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_PyObj_FromInt((int)wxSYS_VTHUMB_Y));
28163 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_PyObj_FromInt((int)wxSYS_CAPTION_Y));
28164 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_PyObj_FromInt((int)wxSYS_MENU_Y));
28165 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_PyObj_FromInt((int)wxSYS_NETWORK_PRESENT));
28166 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_PyObj_FromInt((int)wxSYS_PENWINDOWS_PRESENT));
28167 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_PyObj_FromInt((int)wxSYS_SHOW_SOUNDS));
28168 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_PyObj_FromInt((int)wxSYS_SWAP_BUTTONS));
28169 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_PyObj_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
28170 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_PyObj_FromInt((int)wxSYS_CAN_ICONIZE_FRAME));
28171 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_NONE));
28172 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_TINY));
28173 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_PDA));
28174 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_SMALL));
28175 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_DESKTOP));
b2dc1044
RD
28176 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
28177 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
28178 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
28179 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
994141e6
RD
28180 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_PyObj_FromInt((int)wxSHUTDOWN_POWEROFF));
28181 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_PyObj_FromInt((int)wxSHUTDOWN_REBOOT));
28182 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_PyObj_FromInt((int)wxTIMER_CONTINUOUS));
28183 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_PyObj_FromInt((int)wxTIMER_ONE_SHOT));
d14a1e28 28184 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
994141e6
RD
28185 PyDict_SetItemString(d,"LOG_FatalError", SWIG_PyObj_FromInt((int)wxLOG_FatalError));
28186 PyDict_SetItemString(d,"LOG_Error", SWIG_PyObj_FromInt((int)wxLOG_Error));
28187 PyDict_SetItemString(d,"LOG_Warning", SWIG_PyObj_FromInt((int)wxLOG_Warning));
28188 PyDict_SetItemString(d,"LOG_Message", SWIG_PyObj_FromInt((int)wxLOG_Message));
28189 PyDict_SetItemString(d,"LOG_Status", SWIG_PyObj_FromInt((int)wxLOG_Status));
28190 PyDict_SetItemString(d,"LOG_Info", SWIG_PyObj_FromInt((int)wxLOG_Info));
28191 PyDict_SetItemString(d,"LOG_Debug", SWIG_PyObj_FromInt((int)wxLOG_Debug));
28192 PyDict_SetItemString(d,"LOG_Trace", SWIG_PyObj_FromInt((int)wxLOG_Trace));
28193 PyDict_SetItemString(d,"LOG_Progress", SWIG_PyObj_FromInt((int)wxLOG_Progress));
28194 PyDict_SetItemString(d,"LOG_User", SWIG_PyObj_FromInt((int)wxLOG_User));
28195 PyDict_SetItemString(d,"LOG_Max", SWIG_PyObj_FromInt((int)wxLOG_Max));
28196 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_PyObj_FromInt((int)0x0001));
28197 PyDict_SetItemString(d,"TraceMessages", SWIG_PyObj_FromInt((int)0x0002));
28198 PyDict_SetItemString(d,"TraceResAlloc", SWIG_PyObj_FromInt((int)0x0004));
28199 PyDict_SetItemString(d,"TraceRefCount", SWIG_PyObj_FromInt((int)0x0008));
28200 PyDict_SetItemString(d,"TraceOleCalls", SWIG_PyObj_FromInt((int)0x0100));
28201 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_PyObj_FromInt((int)wxPROCESS_DEFAULT));
28202 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_PyObj_FromInt((int)wxPROCESS_REDIRECT));
28203 PyDict_SetItemString(d,"KILL_OK", SWIG_PyObj_FromInt((int)wxKILL_OK));
28204 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_PyObj_FromInt((int)wxKILL_BAD_SIGNAL));
28205 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_PyObj_FromInt((int)wxKILL_ACCESS_DENIED));
28206 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_PyObj_FromInt((int)wxKILL_NO_PROCESS));
28207 PyDict_SetItemString(d,"KILL_ERROR", SWIG_PyObj_FromInt((int)wxKILL_ERROR));
28208 PyDict_SetItemString(d,"SIGNONE", SWIG_PyObj_FromInt((int)wxSIGNONE));
28209 PyDict_SetItemString(d,"SIGHUP", SWIG_PyObj_FromInt((int)wxSIGHUP));
28210 PyDict_SetItemString(d,"SIGINT", SWIG_PyObj_FromInt((int)wxSIGINT));
28211 PyDict_SetItemString(d,"SIGQUIT", SWIG_PyObj_FromInt((int)wxSIGQUIT));
28212 PyDict_SetItemString(d,"SIGILL", SWIG_PyObj_FromInt((int)wxSIGILL));
28213 PyDict_SetItemString(d,"SIGTRAP", SWIG_PyObj_FromInt((int)wxSIGTRAP));
28214 PyDict_SetItemString(d,"SIGABRT", SWIG_PyObj_FromInt((int)wxSIGABRT));
28215 PyDict_SetItemString(d,"SIGIOT", SWIG_PyObj_FromInt((int)wxSIGIOT));
28216 PyDict_SetItemString(d,"SIGEMT", SWIG_PyObj_FromInt((int)wxSIGEMT));
28217 PyDict_SetItemString(d,"SIGFPE", SWIG_PyObj_FromInt((int)wxSIGFPE));
28218 PyDict_SetItemString(d,"SIGKILL", SWIG_PyObj_FromInt((int)wxSIGKILL));
28219 PyDict_SetItemString(d,"SIGBUS", SWIG_PyObj_FromInt((int)wxSIGBUS));
28220 PyDict_SetItemString(d,"SIGSEGV", SWIG_PyObj_FromInt((int)wxSIGSEGV));
28221 PyDict_SetItemString(d,"SIGSYS", SWIG_PyObj_FromInt((int)wxSIGSYS));
28222 PyDict_SetItemString(d,"SIGPIPE", SWIG_PyObj_FromInt((int)wxSIGPIPE));
28223 PyDict_SetItemString(d,"SIGALRM", SWIG_PyObj_FromInt((int)wxSIGALRM));
28224 PyDict_SetItemString(d,"SIGTERM", SWIG_PyObj_FromInt((int)wxSIGTERM));
d14a1e28 28225 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
994141e6
RD
28226 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_PyObj_FromInt((int)wxEXEC_ASYNC));
28227 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_PyObj_FromInt((int)wxEXEC_SYNC));
28228 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_PyObj_FromInt((int)wxEXEC_NOHIDE));
28229 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_PyObj_FromInt((int)wxEXEC_MAKE_GROUP_LEADER));
d14a1e28
RD
28230
28231 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
28232
994141e6
RD
28233 PyDict_SetItemString(d,"JOYSTICK1", SWIG_PyObj_FromInt((int)wxJOYSTICK1));
28234 PyDict_SetItemString(d,"JOYSTICK2", SWIG_PyObj_FromInt((int)wxJOYSTICK2));
28235 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_PyObj_FromInt((int)wxJOY_BUTTON_ANY));
28236 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_PyObj_FromInt((int)wxJOY_BUTTON1));
28237 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_PyObj_FromInt((int)wxJOY_BUTTON2));
28238 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_PyObj_FromInt((int)wxJOY_BUTTON3));
28239 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_PyObj_FromInt((int)wxJOY_BUTTON4));
d14a1e28
RD
28240 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
28241 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
28242 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
28243 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
4d5c3d91
RD
28244 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_PyObj_FromInt((int)wxSOUND_SYNC));
28245 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_PyObj_FromInt((int)wxSOUND_ASYNC));
28246 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_PyObj_FromInt((int)wxSOUND_LOOP));
994141e6
RD
28247 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_PyObj_FromInt((int)wxMAILCAP_STANDARD));
28248 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_PyObj_FromInt((int)wxMAILCAP_NETSCAPE));
28249 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_PyObj_FromInt((int)wxMAILCAP_KDE));
28250 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_PyObj_FromInt((int)wxMAILCAP_GNOME));
28251 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_PyObj_FromInt((int)wxMAILCAP_ALL));
d14a1e28
RD
28252 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
28253 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
28254 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
28255 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
28256 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
28257 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
28258 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
28259 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
28260 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
28261 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
28262 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
28263 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
28264 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
28265 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
28266 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
28267 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
28268 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
28269 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
28270 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
28271 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
28272 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
28273 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
28274 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
28275 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
28276 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
28277 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
28278 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
28279 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
28280 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
28281 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
28282 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
28283 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
28284 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
28285 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
28286 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
28287 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
28288 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
28289 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
28290 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
28291
28292 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
28293
994141e6
RD
28294 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_PyObj_FromInt((int)wxCONFIG_USE_LOCAL_FILE));
28295 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_PyObj_FromInt((int)wxCONFIG_USE_GLOBAL_FILE));
28296 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_PyObj_FromInt((int)wxCONFIG_USE_RELATIVE_PATH));
28297 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_PyObj_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
28298 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Unknown));
28299 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_PyObj_FromInt((int)wxConfigBase::Type_String));
28300 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Boolean));
28301 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Integer));
28302 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Float));
b2dc1044
RD
28303 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
28304 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
994141e6
RD
28305 PyDict_SetItemString(d,"DateTime_Local", SWIG_PyObj_FromInt((int)wxDateTime::Local));
28306 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_PyObj_FromInt((int)wxDateTime::GMT_12));
28307 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_PyObj_FromInt((int)wxDateTime::GMT_11));
28308 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_PyObj_FromInt((int)wxDateTime::GMT_10));
28309 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_PyObj_FromInt((int)wxDateTime::GMT_9));
28310 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_PyObj_FromInt((int)wxDateTime::GMT_8));
28311 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_PyObj_FromInt((int)wxDateTime::GMT_7));
28312 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_PyObj_FromInt((int)wxDateTime::GMT_6));
28313 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_PyObj_FromInt((int)wxDateTime::GMT_5));
28314 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_PyObj_FromInt((int)wxDateTime::GMT_4));
28315 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_PyObj_FromInt((int)wxDateTime::GMT_3));
28316 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_PyObj_FromInt((int)wxDateTime::GMT_2));
28317 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_PyObj_FromInt((int)wxDateTime::GMT_1));
28318 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_PyObj_FromInt((int)wxDateTime::GMT0));
28319 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_PyObj_FromInt((int)wxDateTime::GMT1));
28320 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_PyObj_FromInt((int)wxDateTime::GMT2));
28321 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_PyObj_FromInt((int)wxDateTime::GMT3));
28322 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_PyObj_FromInt((int)wxDateTime::GMT4));
28323 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_PyObj_FromInt((int)wxDateTime::GMT5));
28324 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_PyObj_FromInt((int)wxDateTime::GMT6));
28325 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_PyObj_FromInt((int)wxDateTime::GMT7));
28326 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_PyObj_FromInt((int)wxDateTime::GMT8));
28327 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_PyObj_FromInt((int)wxDateTime::GMT9));
28328 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_PyObj_FromInt((int)wxDateTime::GMT10));
28329 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_PyObj_FromInt((int)wxDateTime::GMT11));
28330 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_PyObj_FromInt((int)wxDateTime::GMT12));
28331 PyDict_SetItemString(d,"DateTime_WET", SWIG_PyObj_FromInt((int)wxDateTime::WET));
28332 PyDict_SetItemString(d,"DateTime_WEST", SWIG_PyObj_FromInt((int)wxDateTime::WEST));
28333 PyDict_SetItemString(d,"DateTime_CET", SWIG_PyObj_FromInt((int)wxDateTime::CET));
28334 PyDict_SetItemString(d,"DateTime_CEST", SWIG_PyObj_FromInt((int)wxDateTime::CEST));
28335 PyDict_SetItemString(d,"DateTime_EET", SWIG_PyObj_FromInt((int)wxDateTime::EET));
28336 PyDict_SetItemString(d,"DateTime_EEST", SWIG_PyObj_FromInt((int)wxDateTime::EEST));
28337 PyDict_SetItemString(d,"DateTime_MSK", SWIG_PyObj_FromInt((int)wxDateTime::MSK));
28338 PyDict_SetItemString(d,"DateTime_MSD", SWIG_PyObj_FromInt((int)wxDateTime::MSD));
28339 PyDict_SetItemString(d,"DateTime_AST", SWIG_PyObj_FromInt((int)wxDateTime::AST));
28340 PyDict_SetItemString(d,"DateTime_ADT", SWIG_PyObj_FromInt((int)wxDateTime::ADT));
28341 PyDict_SetItemString(d,"DateTime_EST", SWIG_PyObj_FromInt((int)wxDateTime::EST));
28342 PyDict_SetItemString(d,"DateTime_EDT", SWIG_PyObj_FromInt((int)wxDateTime::EDT));
28343 PyDict_SetItemString(d,"DateTime_CST", SWIG_PyObj_FromInt((int)wxDateTime::CST));
28344 PyDict_SetItemString(d,"DateTime_CDT", SWIG_PyObj_FromInt((int)wxDateTime::CDT));
28345 PyDict_SetItemString(d,"DateTime_MST", SWIG_PyObj_FromInt((int)wxDateTime::MST));
28346 PyDict_SetItemString(d,"DateTime_MDT", SWIG_PyObj_FromInt((int)wxDateTime::MDT));
28347 PyDict_SetItemString(d,"DateTime_PST", SWIG_PyObj_FromInt((int)wxDateTime::PST));
28348 PyDict_SetItemString(d,"DateTime_PDT", SWIG_PyObj_FromInt((int)wxDateTime::PDT));
28349 PyDict_SetItemString(d,"DateTime_HST", SWIG_PyObj_FromInt((int)wxDateTime::HST));
28350 PyDict_SetItemString(d,"DateTime_AKST", SWIG_PyObj_FromInt((int)wxDateTime::AKST));
28351 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_PyObj_FromInt((int)wxDateTime::AKDT));
28352 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_PyObj_FromInt((int)wxDateTime::A_WST));
28353 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_PyObj_FromInt((int)wxDateTime::A_CST));
28354 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_PyObj_FromInt((int)wxDateTime::A_EST));
28355 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_PyObj_FromInt((int)wxDateTime::A_ESST));
28356 PyDict_SetItemString(d,"DateTime_UTC", SWIG_PyObj_FromInt((int)wxDateTime::UTC));
28357 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_PyObj_FromInt((int)wxDateTime::Gregorian));
28358 PyDict_SetItemString(d,"DateTime_Julian", SWIG_PyObj_FromInt((int)wxDateTime::Julian));
28359 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Unknown));
28360 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Standard));
28361 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Alaska));
28362 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Albania));
28363 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria));
28364 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Brixen));
28365 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Salzburg));
28366 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Tyrol));
28367 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Carinthia));
28368 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Styria));
28369 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Belgium));
28370 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria));
28371 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_1));
28372 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_2));
28373 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_3));
28374 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Canada));
28375 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China));
28376 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China_1));
28377 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China_2));
28378 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Czechoslovakia));
28379 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Denmark));
28380 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Egypt));
28381 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Estonia));
28382 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Finland));
28383 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France));
28384 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Alsace));
28385 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Lorraine));
28386 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Strasbourg));
28387 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany));
28388 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Catholic));
28389 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Prussia));
28390 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Protestant));
28391 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_PyObj_FromInt((int)wxDateTime::Gr_GreatBritain));
28392 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Greece));
28393 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Hungary));
28394 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Ireland));
28395 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Italy));
28396 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan));
28397 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_1));
28398 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_2));
28399 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_3));
28400 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Latvia));
28401 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Lithuania));
28402 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Luxemburg));
28403 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands));
28404 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Groningen));
28405 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland));
28406 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht));
28407 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Friesland));
28408 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Norway));
28409 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Poland));
28410 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Portugal));
28411 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Romania));
28412 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Russia));
28413 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Scotland));
28414 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Spain));
28415 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Sweden));
28416 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland));
28417 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland_Catholic));
28418 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland_Protestant));
28419 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Turkey));
28420 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_PyObj_FromInt((int)wxDateTime::Gr_USA));
28421 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Wales));
28422 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Yugoslavia));
28423 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_PyObj_FromInt((int)wxDateTime::Country_Unknown));
28424 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_PyObj_FromInt((int)wxDateTime::Country_Default));
28425 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_PyObj_FromInt((int)wxDateTime::Country_WesternEurope_Start));
28426 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_PyObj_FromInt((int)wxDateTime::Country_EEC));
28427 PyDict_SetItemString(d,"DateTime_France", SWIG_PyObj_FromInt((int)wxDateTime::France));
28428 PyDict_SetItemString(d,"DateTime_Germany", SWIG_PyObj_FromInt((int)wxDateTime::Germany));
28429 PyDict_SetItemString(d,"DateTime_UK", SWIG_PyObj_FromInt((int)wxDateTime::UK));
28430 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_PyObj_FromInt((int)wxDateTime::Country_WesternEurope_End));
28431 PyDict_SetItemString(d,"DateTime_Russia", SWIG_PyObj_FromInt((int)wxDateTime::Russia));
28432 PyDict_SetItemString(d,"DateTime_USA", SWIG_PyObj_FromInt((int)wxDateTime::USA));
28433 PyDict_SetItemString(d,"DateTime_Jan", SWIG_PyObj_FromInt((int)wxDateTime::Jan));
28434 PyDict_SetItemString(d,"DateTime_Feb", SWIG_PyObj_FromInt((int)wxDateTime::Feb));
28435 PyDict_SetItemString(d,"DateTime_Mar", SWIG_PyObj_FromInt((int)wxDateTime::Mar));
28436 PyDict_SetItemString(d,"DateTime_Apr", SWIG_PyObj_FromInt((int)wxDateTime::Apr));
28437 PyDict_SetItemString(d,"DateTime_May", SWIG_PyObj_FromInt((int)wxDateTime::May));
28438 PyDict_SetItemString(d,"DateTime_Jun", SWIG_PyObj_FromInt((int)wxDateTime::Jun));
28439 PyDict_SetItemString(d,"DateTime_Jul", SWIG_PyObj_FromInt((int)wxDateTime::Jul));
28440 PyDict_SetItemString(d,"DateTime_Aug", SWIG_PyObj_FromInt((int)wxDateTime::Aug));
28441 PyDict_SetItemString(d,"DateTime_Sep", SWIG_PyObj_FromInt((int)wxDateTime::Sep));
28442 PyDict_SetItemString(d,"DateTime_Oct", SWIG_PyObj_FromInt((int)wxDateTime::Oct));
28443 PyDict_SetItemString(d,"DateTime_Nov", SWIG_PyObj_FromInt((int)wxDateTime::Nov));
28444 PyDict_SetItemString(d,"DateTime_Dec", SWIG_PyObj_FromInt((int)wxDateTime::Dec));
28445 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_PyObj_FromInt((int)wxDateTime::Inv_Month));
28446 PyDict_SetItemString(d,"DateTime_Sun", SWIG_PyObj_FromInt((int)wxDateTime::Sun));
28447 PyDict_SetItemString(d,"DateTime_Mon", SWIG_PyObj_FromInt((int)wxDateTime::Mon));
28448 PyDict_SetItemString(d,"DateTime_Tue", SWIG_PyObj_FromInt((int)wxDateTime::Tue));
28449 PyDict_SetItemString(d,"DateTime_Wed", SWIG_PyObj_FromInt((int)wxDateTime::Wed));
28450 PyDict_SetItemString(d,"DateTime_Thu", SWIG_PyObj_FromInt((int)wxDateTime::Thu));
28451 PyDict_SetItemString(d,"DateTime_Fri", SWIG_PyObj_FromInt((int)wxDateTime::Fri));
28452 PyDict_SetItemString(d,"DateTime_Sat", SWIG_PyObj_FromInt((int)wxDateTime::Sat));
28453 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_PyObj_FromInt((int)wxDateTime::Inv_WeekDay));
28454 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_PyObj_FromInt((int)wxDateTime::Inv_Year));
28455 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_PyObj_FromInt((int)wxDateTime::Name_Full));
28456 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_PyObj_FromInt((int)wxDateTime::Name_Abbr));
28457 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_PyObj_FromInt((int)wxDateTime::Default_First));
28458 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_PyObj_FromInt((int)wxDateTime::Monday_First));
28459 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_PyObj_FromInt((int)wxDateTime::Sunday_First));
28460 PyDict_SetItemString(d,"DF_INVALID", SWIG_PyObj_FromInt((int)wxDF_INVALID));
28461 PyDict_SetItemString(d,"DF_TEXT", SWIG_PyObj_FromInt((int)wxDF_TEXT));
28462 PyDict_SetItemString(d,"DF_BITMAP", SWIG_PyObj_FromInt((int)wxDF_BITMAP));
28463 PyDict_SetItemString(d,"DF_METAFILE", SWIG_PyObj_FromInt((int)wxDF_METAFILE));
28464 PyDict_SetItemString(d,"DF_SYLK", SWIG_PyObj_FromInt((int)wxDF_SYLK));
28465 PyDict_SetItemString(d,"DF_DIF", SWIG_PyObj_FromInt((int)wxDF_DIF));
28466 PyDict_SetItemString(d,"DF_TIFF", SWIG_PyObj_FromInt((int)wxDF_TIFF));
28467 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_PyObj_FromInt((int)wxDF_OEMTEXT));
28468 PyDict_SetItemString(d,"DF_DIB", SWIG_PyObj_FromInt((int)wxDF_DIB));
28469 PyDict_SetItemString(d,"DF_PALETTE", SWIG_PyObj_FromInt((int)wxDF_PALETTE));
28470 PyDict_SetItemString(d,"DF_PENDATA", SWIG_PyObj_FromInt((int)wxDF_PENDATA));
28471 PyDict_SetItemString(d,"DF_RIFF", SWIG_PyObj_FromInt((int)wxDF_RIFF));
28472 PyDict_SetItemString(d,"DF_WAVE", SWIG_PyObj_FromInt((int)wxDF_WAVE));
28473 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_PyObj_FromInt((int)wxDF_UNICODETEXT));
28474 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_PyObj_FromInt((int)wxDF_ENHMETAFILE));
28475 PyDict_SetItemString(d,"DF_FILENAME", SWIG_PyObj_FromInt((int)wxDF_FILENAME));
28476 PyDict_SetItemString(d,"DF_LOCALE", SWIG_PyObj_FromInt((int)wxDF_LOCALE));
28477 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_PyObj_FromInt((int)wxDF_PRIVATE));
28478 PyDict_SetItemString(d,"DF_HTML", SWIG_PyObj_FromInt((int)wxDF_HTML));
28479 PyDict_SetItemString(d,"DF_MAX", SWIG_PyObj_FromInt((int)wxDF_MAX));
d14a1e28 28480 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
994141e6
RD
28481 PyDict_SetItemString(d,"DataObject_Get", SWIG_PyObj_FromInt((int)wxDataObject::Get));
28482 PyDict_SetItemString(d,"DataObject_Set", SWIG_PyObj_FromInt((int)wxDataObject::Set));
28483 PyDict_SetItemString(d,"DataObject_Both", SWIG_PyObj_FromInt((int)wxDataObject::Both));
28484 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_PyObj_FromInt((int)wxDrag_CopyOnly));
28485 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_PyObj_FromInt((int)wxDrag_AllowMove));
28486 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_PyObj_FromInt((int)wxDrag_DefaultMove));
28487 PyDict_SetItemString(d,"DragError", SWIG_PyObj_FromInt((int)wxDragError));
28488 PyDict_SetItemString(d,"DragNone", SWIG_PyObj_FromInt((int)wxDragNone));
28489 PyDict_SetItemString(d,"DragCopy", SWIG_PyObj_FromInt((int)wxDragCopy));
28490 PyDict_SetItemString(d,"DragMove", SWIG_PyObj_FromInt((int)wxDragMove));
28491 PyDict_SetItemString(d,"DragLink", SWIG_PyObj_FromInt((int)wxDragLink));
28492 PyDict_SetItemString(d,"DragCancel", SWIG_PyObj_FromInt((int)wxDragCancel));
d14a1e28
RD
28493
28494 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
28495 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
28496 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
28497 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
28498
28499 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
28500}
28501