]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/misc_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / msw / misc_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
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
48
49
50/***********************************************************************
51 * common.swg for wxPython
52 *
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
56 * anyway.
57 *
58 ************************************************************************/
59
60#include <string.h>
61
62#if defined(_WIN32) || defined(__WIN32__)
63# if defined(_MSC_VER)
64# if defined(STATIC_LINKED)
65# define SWIGEXPORT(a) a
66# define SWIGIMPORT(a) extern a
67# else
68# define SWIGEXPORT(a) __declspec(dllexport) a
69# define SWIGIMPORT(a) extern a
70# endif
71# else
72# if defined(__BORLANDC__)
73# define SWIGEXPORT(a) a _export
74# define SWIGIMPORT(a) a _export
75# else
76# define SWIGEXPORT(a) a
77# define SWIGIMPORT(a) a
78# endif
79# endif
80#else
81# define SWIGEXPORT(a) a
82# define SWIGIMPORT(a) a
83#endif
84
85#ifdef SWIG_GLOBAL
86#define SWIGRUNTIME(a) SWIGEXPORT(a)
87#else
88#define SWIGRUNTIME(a) static a
89#endif
90
91
92#ifdef __cplusplus
93extern "C" {
94#endif
95
96typedef void *(*swig_converter_func)(void *);
97typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99typedef struct swig_type_info {
100 const char *name;
101 swig_converter_func converter;
102 const char *str;
103 void *clientdata;
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107} swig_type_info;
108
109
110SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117
118
119#ifdef __cplusplus
120}
121#endif
122
123/***********************************************************************
124 * pyrun.swg for wxPython
125 *
126 * Include only the function prototypes and such from SWIG's pyrun.swg,
127 * but not the runtime functions themselves. This helps keep the
128 * wrapper files clean of unnecessary stuff that is in the libpy.c file
129 * anyway.
130 *
131 ************************************************************************/
132
133
134#include "Python.h"
135
136#ifdef __cplusplus
137extern "C" {
138#endif
139
140#define SWIG_PY_INT 1
141#define SWIG_PY_FLOAT 2
142#define SWIG_PY_STRING 3
143#define SWIG_PY_POINTER 4
144#define SWIG_PY_BINARY 5
145
146/* Flags for pointer conversion */
147
148#define SWIG_POINTER_EXCEPTION 0x1
149#define SWIG_POINTER_DISOWN 0x2
150
151/* Exception handling in wrappers */
152#define SWIG_fail goto fail
153
154/* Constant information structure */
155typedef struct swig_const_info {
156 int type;
157 char *name;
158 long lvalue;
159 double dvalue;
160 void *pvalue;
161 swig_type_info **ptype;
162} swig_const_info;
163
164
165
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181#define SWIG_PackData(c, ptr, sz) \
182 SWIG_Python_PackData(c, ptr, sz)
183#define SWIG_UnpackData(c, ptr, sz) \
184 SWIG_Python_UnpackData(c, ptr, sz)
185#define SWIG_NewPackedObj(ptr, sz, type) \
186 SWIG_Python_NewPackedObj(ptr, sz, type)
187#define SWIG_InstallConstants(d, constants) \
188 SWIG_Python_InstallConstants(d, constants)
189
190
191SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
192SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
193SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
194
195SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
196SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
197SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
198SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
199SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
200SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
201SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
202
203
204/* Contract support */
205
206#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
207#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
208
209#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
210#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
211
212#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
213#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
214#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
215
216#ifdef __cplusplus
217}
218#endif
219
220
221
222/* -------- TYPES TABLE (BEGIN) -------- */
223
224#define SWIGTYPE_p_wxLogChain swig_types[0]
225#define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
226#define SWIGTYPE_p_wxMetafile swig_types[2]
227#define SWIGTYPE_p_wxFileHistory swig_types[3]
228#define SWIGTYPE_p_wxLog swig_types[4]
229#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
230#define SWIGTYPE_p_wxMenu swig_types[6]
231#define SWIGTYPE_p_wxEvent swig_types[7]
232#define SWIGTYPE_p_wxConfigBase swig_types[8]
233#define SWIGTYPE_p_wxWave swig_types[9]
234#define SWIGTYPE_p_wxFileType swig_types[10]
235#define SWIGTYPE_p_wxLogGui swig_types[11]
236#define SWIGTYPE_p_wxFont swig_types[12]
237#define SWIGTYPE_p_wxDataFormat swig_types[13]
238#define SWIGTYPE_p_wxTimerEvent swig_types[14]
239#define SWIGTYPE_p_wxCaret swig_types[15]
240#define SWIGTYPE_p_int swig_types[16]
241#define SWIGTYPE_p_wxSize swig_types[17]
242#define SWIGTYPE_p_wxClipboard swig_types[18]
243#define SWIGTYPE_p_wxStopWatch swig_types[19]
244#define SWIGTYPE_p_wxDC swig_types[20]
245#define SWIGTYPE_p_wxClipboardLocker swig_types[21]
246#define SWIGTYPE_p_wxIcon swig_types[22]
247#define SWIGTYPE_p_wxLogStderr swig_types[23]
248#define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
249#define SWIGTYPE_p_wxTextCtrl swig_types[25]
250#define SWIGTYPE_p_wxBusyCursor swig_types[26]
251#define SWIGTYPE_p_wxFileDataObject swig_types[27]
252#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[28]
253#define SWIGTYPE_p_wxPyTextDataObject swig_types[29]
254#define SWIGTYPE_p_wxBitmapDataObject swig_types[30]
255#define SWIGTYPE_p_wxTextDataObject swig_types[31]
256#define SWIGTYPE_p_wxDataObject swig_types[32]
257#define SWIGTYPE_p_wxCustomDataObject swig_types[33]
258#define SWIGTYPE_p_wxURLDataObject swig_types[34]
259#define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
260#define SWIGTYPE_p_wxTimerRunner swig_types[36]
261#define SWIGTYPE_p_wxLogWindow swig_types[37]
262#define SWIGTYPE_p_wxTimeSpan swig_types[38]
263#define SWIGTYPE_p_wxArrayString swig_types[39]
264#define SWIGTYPE_p_wxWindowDisabler swig_types[40]
265#define SWIGTYPE_p_wxToolTip swig_types[41]
266#define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
267#define SWIGTYPE_p_wxFileConfig swig_types[43]
268#define SWIGTYPE_p_wxSystemSettings swig_types[44]
269#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[45]
270#define SWIGTYPE_p_wxDataObjectSimple swig_types[46]
271#define SWIGTYPE_p_wxEvtHandler swig_types[47]
272#define SWIGTYPE_p_wxRect swig_types[48]
273#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[49]
274#define SWIGTYPE_p_wxFileTypeInfo swig_types[50]
275#define SWIGTYPE_p_wxFrame swig_types[51]
276#define SWIGTYPE_p_wxTimer swig_types[52]
277#define SWIGTYPE_p_wxMimeTypesManager swig_types[53]
278#define SWIGTYPE_p_wxPyArtProvider swig_types[54]
279#define SWIGTYPE_p_wxPyTipProvider swig_types[55]
280#define SWIGTYPE_p_wxTipProvider swig_types[56]
281#define SWIGTYPE_p_wxJoystick swig_types[57]
282#define SWIGTYPE_p_wxSystemOptions swig_types[58]
283#define SWIGTYPE_p_wxPoint swig_types[59]
284#define SWIGTYPE_p_wxJoystickEvent swig_types[60]
285#define SWIGTYPE_p_wxCursor swig_types[61]
286#define SWIGTYPE_p_wxObject swig_types[62]
287#define SWIGTYPE_p_wxOutputStream swig_types[63]
288#define SWIGTYPE_p_wxDateTime swig_types[64]
289#define SWIGTYPE_p_wxPyDropSource swig_types[65]
290#define SWIGTYPE_p_wxWindow swig_types[66]
291#define SWIGTYPE_p_wxString swig_types[67]
292#define SWIGTYPE_p_wxPyProcess swig_types[68]
293#define SWIGTYPE_p_wxBitmap swig_types[69]
294#define SWIGTYPE_p_wxConfig swig_types[70]
295#define SWIGTYPE_p_wxChar swig_types[71]
296#define SWIGTYPE_p_wxBusyInfo swig_types[72]
297#define SWIGTYPE_p_wxPyDropTarget swig_types[73]
298#define SWIGTYPE_p_wxPyTextDropTarget swig_types[74]
299#define SWIGTYPE_p_wxPyFileDropTarget swig_types[75]
300#define SWIGTYPE_p_wxProcessEvent swig_types[76]
301#define SWIGTYPE_p_wxPyLog swig_types[77]
302#define SWIGTYPE_p_wxLogNull swig_types[78]
303#define SWIGTYPE_p_wxColour swig_types[79]
304#define SWIGTYPE_p_wxConfigPathChanger swig_types[80]
305#define SWIGTYPE_p_wxPyTimer swig_types[81]
306#define SWIGTYPE_p_wxDateSpan swig_types[82]
307static swig_type_info *swig_types[84];
308
309/* -------- TYPES TABLE (END) -------- */
310
311
312/*-----------------------------------------------
313 @(target):= _misc.so
314 ------------------------------------------------*/
315#define SWIG_init init_misc
316
317#define SWIG_name "_misc"
318
319#include "wx/wxPython/wxPython.h"
320#include "wx/wxPython/pyclasses.h"
321#include "wx/wxPython/pyistream.h"
322
323 DECLARE_DEF_STRING(EmptyString);
324
325
326
327
328
329 DECLARE_DEF_STRING(FileSelectorPromptStr);
330 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr);
331 DECLARE_DEF_STRING(DirSelectorPromptStr);
332
333
334static PyObject* t_output_helper(PyObject* target, PyObject* o) {
335 PyObject* o2;
336 PyObject* o3;
337
338 if (!target) {
339 target = o;
340 } else if (target == Py_None) {
341 Py_DECREF(Py_None);
342 target = o;
343 } else {
344 if (!PyTuple_Check(target)) {
345 o2 = target;
346 target = PyTuple_New(1);
347 PyTuple_SetItem(target, 0, o2);
348 }
349 o3 = PyTuple_New(1);
350 PyTuple_SetItem(o3, 0, o);
351
352 o2 = target;
353 target = PySequence_Concat(o2, o3);
354 Py_DECREF(o2);
355 Py_DECREF(o3);
356 }
357 return target;
358}
359
360
361 bool wxThread_IsMain() {
362#ifdef WXP_WITH_THREAD
363 return wxThread::IsMain();
364#else
365 return TRUE;
366#endif
367 }
368
369
370 int wxCaret_GetBlinkTime() {
371 return wxCaret::GetBlinkTime();
372 }
373
374 void wxCaret_SetBlinkTime(int milliseconds) {
375 wxCaret::SetBlinkTime(milliseconds);
376 }
377
378
379#include <wx/snglinst.h>
380
381
382#ifdef __WXMSW__
383#include <wx/msw/private.h>
384#include <wx/dynload.h>
385#endif
386
387
388
389void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
390{
391#ifdef __WXMSW__
392
393 switch (method)
394 {
395 case 1:
396 // This one only partially works. Appears to be an undocumented
397 // "standard" convention that not all widgets adhear to. For
398 // example, for some widgets backgrounds or non-client areas may
399 // not be painted.
400 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
401 break;
402
403 case 2:
404 // This one works much better, except for on XP. On Win2k nearly
405 // all widgets and their children are captured correctly[**]. On
406 // XP with Themes activated most native widgets draw only
407 // partially, if at all. Without themes it works just like on
408 // Win2k.
409 //
410 // ** For example the radio buttons in a wxRadioBox are not its
411 // children by default, but you can capture it via the panel
412 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
413 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
414 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
415 PRF_ERASEBKGND | PRF_OWNED );
416 break;
417
418 case 3:
419 // This one is only defined in the latest SDK and is only
420 // available on XP. MSDN says it is similar to sending WM_PRINT
421 // so I expect that it will work similar to the above. Since it
422 // is avaialble only on XP, it can't be compiled like this and
423 // will have to be loaded dynamically.
424 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
425
426 // fall through
427
428 case 4:
429 // Use PrintWindow if available, or fallback to WM_PRINT
430 // otherwise. Unfortunately using PrintWindow is even worse than
431 // WM_PRINT. For most native widgets nothing is drawn to the dc
432 // at all, with or without Themes.
433 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
434 static bool s_triedToLoad = false;
435 static PrintWindow_t pfnPrintWindow = NULL;
436 if ( !s_triedToLoad )
437 {
438
439 s_triedToLoad = true;
440 wxDynamicLibrary dllUser32(_T("user32.dll"));
441 if ( dllUser32.IsLoaded() )
442 {
443 wxLogNull nolog; // Don't report errors here
444 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
445 }
446 }
447 if (pfnPrintWindow)
448 {
449 printf("Using PrintWindow\n");
450 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
451 }
452 else
453 {
454 printf("Using WM_PRINT\n");
455 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
456 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
457 }
458 }
459#endif
460}
461
462
463
464#include <wx/tipdlg.h>
465
466
467class wxPyTipProvider : public wxTipProvider {
468public:
469 wxPyTipProvider(size_t currentTip)
470 : wxTipProvider(currentTip) {}
471
472 DEC_PYCALLBACK_STRING__pure(GetTip);
473 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
474 PYPRIVATE;
475};
476
477IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
478IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
479
480
481IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
482
483wxString Log_TimeStamp(){
484 wxString msg;
485 wxLog::TimeStamp(&msg);
486 return msg;
487 }
488void wxLog_Destroy(wxLog *self){ delete self; }
489
490// A wxLog class that can be derived from in wxPython
491class wxPyLog : public wxLog {
492public:
493 wxPyLog() : wxLog() {}
494
495 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
496 bool found;
497 wxPyBeginBlockThreads();
498 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
499 PyObject* s = wx2PyString(szString);
500 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
501 Py_DECREF(s);
502 }
503 wxPyEndBlockThreads();
504 if (! found)
505 wxLog::DoLog(level, szString, t);
506 }
507
508 virtual void DoLogString(const wxChar *szString, time_t t) {
509 bool found;
510 wxPyBeginBlockThreads();
511 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
512 PyObject* s = wx2PyString(szString);
513 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
514 Py_DECREF(s);
515 }
516 wxPyEndBlockThreads();
517 if (! found)
518 wxLog::DoLogString(szString, t);
519 }
520
521 PYPRIVATE;
522};
523
524
525
526
527IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
528
529
530#include <wx/joystick.h>
531
532
533#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
534// A C++ stub class for wxJoystick for platforms that don't have it.
535class wxJoystick : public wxObject {
536public:
537 wxJoystick(int joystick = wxJOYSTICK1) {
538 wxPyBeginBlockThreads();
539 PyErr_SetString(PyExc_NotImplementedError, "wxJoystick is not available on this platform.");
540 wxPyEndBlockThreads();
541 }
542 wxPoint GetPosition() { return wxPoint(-1,-1); }
543 int GetZPosition() { return -1; }
544 int GetButtonState() { return -1; }
545 int GetPOVPosition() { return -1; }
546 int GetPOVCTSPosition() { return -1; }
547 int GetRudderPosition() { return -1; }
548 int GetUPosition() { return -1; }
549 int GetVPosition() { return -1; }
550 int GetMovementThreshold() { return -1; }
551 void SetMovementThreshold(int threshold) {}
552
553 bool IsOk(void) { return FALSE; }
554 int GetNumberJoysticks() { return -1; }
555 int GetManufacturerId() { return -1; }
556 int GetProductId() { return -1; }
557 wxString GetProductName() { return ""; }
558 int GetXMin() { return -1; }
559 int GetYMin() { return -1; }
560 int GetZMin() { return -1; }
561 int GetXMax() { return -1; }
562 int GetYMax() { return -1; }
563 int GetZMax() { return -1; }
564 int GetNumberButtons() { return -1; }
565 int GetNumberAxes() { return -1; }
566 int GetMaxButtons() { return -1; }
567 int GetMaxAxes() { return -1; }
568 int GetPollingMin() { return -1; }
569 int GetPollingMax() { return -1; }
570 int GetRudderMin() { return -1; }
571 int GetRudderMax() { return -1; }
572 int GetUMin() { return -1; }
573 int GetUMax() { return -1; }
574 int GetVMin() { return -1; }
575 int GetVMax() { return -1; }
576
577 bool HasRudder() { return FALSE; }
578 bool HasZ() { return FALSE; }
579 bool HasU() { return FALSE; }
580 bool HasV() { return FALSE; }
581 bool HasPOV() { return FALSE; }
582 bool HasPOV4Dir() { return FALSE; }
583 bool HasPOVCTS() { return FALSE; }
584
585 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return FALSE; }
586 bool ReleaseCapture() { return FALSE; }
587};
588#endif
589
590
591#include <wx/wave.h>
592
593
594#if !wxUSE_WAVE
595// A C++ stub class for wxWave for platforms that don't have it.
596class wxWave : public wxObject
597{
598public:
599 wxWave(const wxString& fileName, bool isResource = FALSE) {
600 wxPyBeginBlockThreads();
601 PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
602 wxPyEndBlockThreads();
603 }
604 wxWave(int size, const wxByte* data) {
605 wxPyBeginBlockThreads();
606 PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
607 wxPyEndBlockThreads();
608 }
609
610 ~wxWave() {}
611
612 bool IsOk() const { return FALSE; }
613 bool Play(bool async = TRUE, bool looped = FALSE) const { return FALSE; }
614};
615
616#endif
617
618wxWave *new_wxWave(wxString const &data){
619 return new wxWave(data.Len(), (wxByte*)data.c_str());
620 }
621
622#include <wx/mimetype.h>
623
624PyObject *wxFileType_GetMimeType(wxFileType *self){
625 wxString str;
626 if (self->GetMimeType(&str))
627 return wx2PyString(str);
628 else
629 RETURN_NONE();
630 }
631PyObject *wxFileType_GetMimeTypes(wxFileType *self){
632 wxArrayString arr;
633 if (self->GetMimeTypes(arr))
634 return wxArrayString2PyList_helper(arr);
635 else
636 RETURN_NONE();
637 }
638PyObject *wxFileType_GetExtensions(wxFileType *self){
639 wxArrayString arr;
640 if (self->GetExtensions(arr))
641 return wxArrayString2PyList_helper(arr);
642 else
643 RETURN_NONE();
644 }
645wxIcon *wxFileType_GetIcon(wxFileType *self){
646 wxIconLocation loc;
647 if (self->GetIcon(&loc))
648 return new wxIcon(loc);
649 else
650 return NULL;
651 }
652PyObject *wxFileType_GetIconInfo(wxFileType *self){
653 wxIconLocation loc;
654 if (self->GetIcon(&loc)) {
655 wxString iconFile = loc.GetFileName();
656 int iconIndex = -1;
657
658 iconIndex = loc.GetIndex();
659
660 // Make a tuple and put the values in it
661 wxPyBeginBlockThreads();
662 PyObject* tuple = PyTuple_New(3);
663 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
664 wxT("wxIcon"), TRUE));
665 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
666 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
667 wxPyEndBlockThreads();
668 return tuple;
669 }
670 else
671 RETURN_NONE();
672 }
673PyObject *wxFileType_GetDescription(wxFileType *self){
674 wxString str;
675 if (self->GetDescription(&str))
676 return wx2PyString(str);
677 else
678 RETURN_NONE();
679 }
680PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
681 wxString str;
682 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
683 return wx2PyString(str);
684 else
685 RETURN_NONE();
686 }
687PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
688 wxString str;
689 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
690 return wx2PyString(str);
691 else
692 RETURN_NONE();
693 }
694PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
695 wxArrayString verbs;
696 wxArrayString commands;
697 if (self->GetAllCommands(&verbs, &commands,
698 wxFileType::MessageParameters(filename, mimetype))) {
699 wxPyBeginBlockThreads();
700 PyObject* tuple = PyTuple_New(2);
701 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
702 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
703 wxPyEndBlockThreads();
704 return tuple;
705 }
706 else
707 RETURN_NONE();
708 }
709wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
710 return wxFileType::ExpandCommand(command,
711 wxFileType::MessageParameters(filename, mimetype));
712 }
713PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
714 wxArrayString arr;
715 self->EnumAllFileTypes(arr);
716 return wxArrayString2PyList_helper(arr);
717 }
718
719#include <wx/artprov.h>
720
721 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
722 static const wxString wxPyART_MENU(wxART_MENU);
723 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
724 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
725 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
726 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
727 static const wxString wxPyART_OTHER(wxART_OTHER);
728 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
729 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
730 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
731 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
732 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
733 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
734 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
735 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
736 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
737 static const wxString wxPyART_GO_UP(wxART_GO_UP);
738 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
739 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
740 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
741 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
742 static const wxString wxPyART_PRINT(wxART_PRINT);
743 static const wxString wxPyART_HELP(wxART_HELP);
744 static const wxString wxPyART_TIP(wxART_TIP);
745 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
746 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
747 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
748 static const wxString wxPyART_FOLDER(wxART_FOLDER);
749 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
750 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
751 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
752 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
753 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
754 static const wxString wxPyART_ERROR(wxART_ERROR);
755 static const wxString wxPyART_QUESTION(wxART_QUESTION);
756 static const wxString wxPyART_WARNING(wxART_WARNING);
757 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
758 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
759 // Python aware wxArtProvider
760class wxPyArtProvider : public wxArtProvider {
761public:
762
763 virtual wxBitmap CreateBitmap(const wxArtID& id,
764 const wxArtClient& client,
765 const wxSize& size) {
766 wxBitmap rval = wxNullBitmap;
767 wxPyBeginBlockThreads();
768 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
769 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
770 PyObject* ro;
771 wxBitmap* ptr;
772 PyObject* s1, *s2;
773 s1 = wx2PyString(id);
774 s2 = wx2PyString(client);
775 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
776 Py_DECREF(so);
777 Py_DECREF(s1);
778 Py_DECREF(s2);
779 if (ro) {
780 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
781 rval = *ptr;
782 Py_DECREF(ro);
783 }
784 }
785 wxPyEndBlockThreads();
786 return rval;
787 }
788
789 PYPRIVATE;
790};
791
792
793
794
795 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
796 PyObject* ret = PyTuple_New(3);
797 if (ret) {
798 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
799 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
800 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
801 }
802 return ret;
803 }
804
805PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
806 bool cont;
807 long index = 0;
808 wxString value;
809
810 cont = self->GetFirstGroup(value, index);
811 return __EnumerationHelper(cont, value, index);
812 }
813PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
814 bool cont;
815 wxString value;
816
817 cont = self->GetNextGroup(value, index);
818 return __EnumerationHelper(cont, value, index);
819 }
820PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
821 bool cont;
822 long index = 0;
823 wxString value;
824
825 cont = self->GetFirstEntry(value, index);
826 return __EnumerationHelper(cont, value, index);
827 }
828PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
829 bool cont;
830 wxString value;
831
832 cont = self->GetNextEntry(value, index);
833 return __EnumerationHelper(cont, value, index);
834 }
835long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
836 long rv;
837 self->Read(key, &rv, defaultVal);
838 return rv;
839 }
840double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
841 double rv;
842 self->Read(key, &rv, defaultVal);
843 return rv;
844 }
845bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
846 bool rv;
847 self->Read(key, &rv, defaultVal);
848 return rv;
849 }
850
851#include <wx/datetime.h>
852
853 DECLARE_DEF_STRING2(DateFormatStr, wxT("%c"));
854 DECLARE_DEF_STRING2(TimeSpanFormatStr, wxT("%H:%M:%S"));
855
856
857
858#define LOCAL_TZ wxDateTime::Local
859
860wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
861wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
862wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
863wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
864wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
865bool wxDateTime___lt__(wxDateTime *self,wxDateTime const &other){ return *self < other; }
866bool wxDateTime___le__(wxDateTime *self,wxDateTime const &other){ return *self <= other; }
867bool wxDateTime___gt__(wxDateTime *self,wxDateTime const &other){ return *self > other; }
868bool wxDateTime___ge__(wxDateTime *self,wxDateTime const &other){ return *self >= other; }
869bool wxDateTime___eq__(wxDateTime *self,wxDateTime const &other){ return *self == other; }
870bool wxDateTime___ne__(wxDateTime *self,wxDateTime const &other){ return *self != other; }
871int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
872 const wxChar* rv;
873 const wxChar* _date = date;
874 rv = self->ParseRfc822Date(_date);
875 if (rv == NULL) return -1;
876 return rv - _date;
877 }
878int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
879 const wxChar* rv;
880 const wxChar* _date = date;
881 rv = self->ParseFormat(_date, format, dateDef);
882 if (rv == NULL) return -1;
883 return rv - _date;
884 }
885int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
886 const wxChar* rv;
887 const wxChar* _datetime = datetime;
888 rv = self->ParseDateTime(_datetime);
889 if (rv == NULL) return -1;
890 return rv - _datetime;
891 }
892int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
893 const wxChar* rv;
894 const wxChar* _date = date;
895 rv = self->ParseDate(_date);
896 if (rv == NULL) return -1;
897 return rv - _date;
898 }
899int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
900 const wxChar* rv;
901 const wxChar* _time = time;
902 rv = self->ParseTime(_time);
903 if (rv == NULL) return -1;
904 return rv - _time;
905 }
906wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
907wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
908wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
909wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
910bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self < other; }
911bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const &other){ return *self <= other; }
912bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self > other; }
913bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const &other){ return *self >= other; }
914bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const &other){ return *self == other; }
915bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const &other){ return *self != other; }
916wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
917wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
918wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
919wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
920bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const &other){ return *self == other; }
921bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const &other){ return *self != other; }
922
923#include <wx/dataobj.h>
924
925 // Create a new class for wxPython to use
926class wxPyDataObjectSimple : public wxDataObjectSimple {
927public:
928 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
929 : wxDataObjectSimple(format) {}
930
931 DEC_PYCALLBACK_SIZET__const(GetDataSize);
932 bool GetDataHere(void *buf) const;
933 bool SetData(size_t len, const void *buf) const;
934 PYPRIVATE;
935};
936
937IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
938
939bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
940 // We need to get the data for this object and write it to buf. I think
941 // the best way to do this for wxPython is to have the Python method
942 // return either a string or None and then act appropriately with the
943 // C++ version.
944
945 bool rval = FALSE;
946 wxPyBeginBlockThreads();
947 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
948 PyObject* ro;
949 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
950 if (ro) {
951 rval = (ro != Py_None && PyString_Check(ro));
952 if (rval)
953 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
954 Py_DECREF(ro);
955 }
956 }
957 wxPyEndBlockThreads();
958 return rval;
959}
960
961bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
962 // For this one we simply need to make a string from buf and len
963 // and send it to the Python method.
964 bool rval = FALSE;
965 wxPyBeginBlockThreads();
966 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
967 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
968 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
969 Py_DECREF(data);
970 }
971 wxPyEndBlockThreads();
972 return rval;
973}
974
975 // Create a new class for wxPython to use
976class wxPyTextDataObject : public wxTextDataObject {
977public:
978 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
979 : wxTextDataObject(text) {}
980
981 DEC_PYCALLBACK_SIZET__const(GetTextLength);
982 DEC_PYCALLBACK_STRING__const(GetText);
983 DEC_PYCALLBACK__STRING(SetText);
984 PYPRIVATE;
985};
986
987IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
988IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
989IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
990
991
992 // Create a new class for wxPython to use
993class wxPyBitmapDataObject : public wxBitmapDataObject {
994public:
995 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
996 : wxBitmapDataObject(bitmap) {}
997
998 wxBitmap GetBitmap() const;
999 void SetBitmap(const wxBitmap& bitmap);
1000 PYPRIVATE;
1001};
1002
1003wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1004 wxBitmap* rval = &wxNullBitmap;
1005 wxPyBeginBlockThreads();
1006 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1007 PyObject* ro;
1008 wxBitmap* ptr;
1009 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1010 if (ro) {
1011 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1012 rval = ptr;
1013 Py_DECREF(ro);
1014 }
1015 }
1016 wxPyEndBlockThreads();
1017 return *rval;
1018}
1019
1020void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1021 wxPyBeginBlockThreads();
1022 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1023 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), false);
1024 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1025 Py_DECREF(bo);
1026 }
1027 wxPyEndBlockThreads();
1028}
1029
1030void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1031 if (PyString_Check(data)) {
1032 // for Python we just call SetData here since we always need it to make a copy.
1033 self->SetData(PyString_Size(data), PyString_AsString(data));
1034 }
1035 else {
1036 // raise a TypeError if not a string
1037 PyErr_SetString(PyExc_TypeError, "String expected.");
1038 }
1039 }
1040bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1041 if (PyString_Check(data)) {
1042 return self->SetData(PyString_Size(data), PyString_AsString(data));
1043 }
1044 else {
1045 // raise a TypeError if not a string
1046 PyErr_SetString(PyExc_TypeError, "String expected.");
1047 return FALSE;
1048 }
1049 }
1050PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1051 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1052 }
1053
1054#include <wx/metafile.h>
1055
1056
1057#include <wx/dnd.h>
1058
1059
1060class wxPyDropSource : public wxDropSource {
1061public:
1062#ifndef __WXGTK__
1063 wxPyDropSource(wxWindow *win = NULL,
1064 const wxCursor &copy = wxNullCursor,
1065 const wxCursor &move = wxNullCursor,
1066 const wxCursor &none = wxNullCursor)
1067 : wxDropSource(win, copy, move, none) {}
1068#else
1069 wxPyDropSource(wxWindow *win = NULL,
1070 const wxIcon& copy = wxNullIcon,
1071 const wxIcon& move = wxNullIcon,
1072 const wxIcon& none = wxNullIcon)
1073 : wxDropSource(win, copy, move, none) {}
1074#endif
1075 ~wxPyDropSource() { }
1076
1077 DEC_PYCALLBACK_BOOL_DR(GiveFeedback);
1078 PYPRIVATE;
1079};
1080
1081IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1082
1083
1084
1085class wxPyDropTarget : public wxDropTarget {
1086public:
1087 wxPyDropTarget(wxDataObject *dataObject = NULL)
1088 : wxDropTarget(dataObject) {}
1089
1090 // called when mouse leaves the window: might be used to remove the
1091 // feedback which was given in OnEnter()
1092 DEC_PYCALLBACK__(OnLeave);
1093
1094 // called when the mouse enters the window (only once until OnLeave())
1095 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1096
1097 // called when the mouse moves in the window - shouldn't take long to
1098 // execute or otherwise mouse movement would be too slow
1099 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1100
1101 // called after OnDrop() returns TRUE: you will usually just call
1102 // GetData() from here and, probably, also refresh something to update the
1103 // new data and, finally, return the code indicating how did the operation
1104 // complete (returning default value in case of success and wxDragError on
1105 // failure is usually ok)
1106 DEC_PYCALLBACK_DR_2WXCDR_pure(OnData);
1107
1108 // this function is called when data is dropped at position (x, y) - if it
1109 // returns TRUE, OnData() will be called immediately afterwards which will
1110 // allow to retrieve the data dropped.
1111 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1112
1113 PYPRIVATE;
1114};
1115
1116IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1117IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1118IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1119IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1120IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1121
1122
1123
1124class wxPyTextDropTarget : public wxTextDropTarget {
1125public:
1126 wxPyTextDropTarget() {}
1127
1128 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1129
1130 DEC_PYCALLBACK__(OnLeave);
1131 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1132 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1133 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1134 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1135
1136 PYPRIVATE;
1137};
1138
1139IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1140IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1141IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1142IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1143IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1144IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1145
1146
1147
1148class wxPyFileDropTarget : public wxFileDropTarget {
1149public:
1150 wxPyFileDropTarget() {}
1151
1152 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1153
1154 DEC_PYCALLBACK__(OnLeave);
1155 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1156 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1157 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1158 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1159
1160 PYPRIVATE;
1161};
1162
1163bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1164 const wxArrayString& filenames) {
1165 bool rval = FALSE;
1166 wxPyBeginBlockThreads();
1167 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1168 PyObject* list = wxArrayString2PyList_helper(filenames);
1169 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1170 Py_DECREF(list);
1171 }
1172 wxPyEndBlockThreads();
1173 return rval;
1174}
1175
1176
1177
1178IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1179IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1180IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1181IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1182IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1183
1184
1185
1186
1187bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1188#ifdef __cplusplus
1189extern "C" {
1190#endif
1191static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1192 PyObject *resultobj;
1193 int arg1 ;
1194 wxColour result;
1195 char *kwnames[] = {
1196 (char *) "index", NULL
1197 };
1198
1199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetColour",kwnames,&arg1)) goto fail;
1200 {
1201 PyThreadState* __tstate = wxPyBeginAllowThreads();
1202 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1203
1204 wxPyEndAllowThreads(__tstate);
1205 if (PyErr_Occurred()) SWIG_fail;
1206 }
1207 {
1208 wxColour * resultptr;
1209 resultptr = new wxColour((wxColour &) result);
1210 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
1211 }
1212 return resultobj;
1213 fail:
1214 return NULL;
1215}
1216
1217
1218static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1219 PyObject *resultobj;
1220 int arg1 ;
1221 wxFont result;
1222 char *kwnames[] = {
1223 (char *) "index", NULL
1224 };
1225
1226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetFont",kwnames,&arg1)) goto fail;
1227 {
1228 PyThreadState* __tstate = wxPyBeginAllowThreads();
1229 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1230
1231 wxPyEndAllowThreads(__tstate);
1232 if (PyErr_Occurred()) SWIG_fail;
1233 }
1234 {
1235 wxFont * resultptr;
1236 resultptr = new wxFont((wxFont &) result);
1237 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
1238 }
1239 return resultobj;
1240 fail:
1241 return NULL;
1242}
1243
1244
1245static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1246 PyObject *resultobj;
1247 int arg1 ;
1248 int result;
1249 char *kwnames[] = {
1250 (char *) "index", NULL
1251 };
1252
1253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetMetric",kwnames,&arg1)) goto fail;
1254 {
1255 PyThreadState* __tstate = wxPyBeginAllowThreads();
1256 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1257
1258 wxPyEndAllowThreads(__tstate);
1259 if (PyErr_Occurred()) SWIG_fail;
1260 }
1261 resultobj = PyInt_FromLong((long)result);
1262 return resultobj;
1263 fail:
1264 return NULL;
1265}
1266
1267
1268static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1269 PyObject *resultobj;
1270 int arg1 ;
1271 bool result;
1272 char *kwnames[] = {
1273 (char *) "index", NULL
1274 };
1275
1276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_HasFeature",kwnames,&arg1)) goto fail;
1277 {
1278 PyThreadState* __tstate = wxPyBeginAllowThreads();
1279 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1280
1281 wxPyEndAllowThreads(__tstate);
1282 if (PyErr_Occurred()) SWIG_fail;
1283 }
1284 resultobj = PyInt_FromLong((long)result);
1285 return resultobj;
1286 fail:
1287 return NULL;
1288}
1289
1290
1291static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1292 PyObject *resultobj;
1293 int result;
1294 char *kwnames[] = {
1295 NULL
1296 };
1297
1298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1299 {
1300 PyThreadState* __tstate = wxPyBeginAllowThreads();
1301 result = (int)wxSystemSettings::GetScreenType();
1302
1303 wxPyEndAllowThreads(__tstate);
1304 if (PyErr_Occurred()) SWIG_fail;
1305 }
1306 resultobj = PyInt_FromLong((long)result);
1307 return resultobj;
1308 fail:
1309 return NULL;
1310}
1311
1312
1313static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1314 PyObject *resultobj;
1315 int arg1 ;
1316 char *kwnames[] = {
1317 (char *) "screen", NULL
1318 };
1319
1320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_SetScreenType",kwnames,&arg1)) goto fail;
1321 {
1322 PyThreadState* __tstate = wxPyBeginAllowThreads();
1323 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1324
1325 wxPyEndAllowThreads(__tstate);
1326 if (PyErr_Occurred()) SWIG_fail;
1327 }
1328 Py_INCREF(Py_None); resultobj = Py_None;
1329 return resultobj;
1330 fail:
1331 return NULL;
1332}
1333
1334
1335static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1336 PyObject *obj;
1337 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1338 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1339 Py_INCREF(obj);
1340 return Py_BuildValue((char *)"");
1341}
1342static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1343 PyObject *resultobj;
1344 wxSystemOptions *result;
1345 char *kwnames[] = {
1346 NULL
1347 };
1348
1349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1350 {
1351 PyThreadState* __tstate = wxPyBeginAllowThreads();
1352 result = (wxSystemOptions *)new wxSystemOptions();
1353
1354 wxPyEndAllowThreads(__tstate);
1355 if (PyErr_Occurred()) SWIG_fail;
1356 }
1357 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSystemOptions, 1);
1358 return resultobj;
1359 fail:
1360 return NULL;
1361}
1362
1363
1364static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1365 PyObject *resultobj;
1366 wxString *arg1 = 0 ;
1367 wxString *arg2 = 0 ;
1368 bool temp1 = false ;
1369 bool temp2 = false ;
1370 PyObject * obj0 = 0 ;
1371 PyObject * obj1 = 0 ;
1372 char *kwnames[] = {
1373 (char *) "name",(char *) "value", NULL
1374 };
1375
1376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1377 {
1378 arg1 = wxString_in_helper(obj0);
1379 if (arg1 == NULL) SWIG_fail;
1380 temp1 = true;
1381 }
1382 {
1383 arg2 = wxString_in_helper(obj1);
1384 if (arg2 == NULL) SWIG_fail;
1385 temp2 = true;
1386 }
1387 {
1388 PyThreadState* __tstate = wxPyBeginAllowThreads();
1389 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1390
1391 wxPyEndAllowThreads(__tstate);
1392 if (PyErr_Occurred()) SWIG_fail;
1393 }
1394 Py_INCREF(Py_None); resultobj = Py_None;
1395 {
1396 if (temp1)
1397 delete arg1;
1398 }
1399 {
1400 if (temp2)
1401 delete arg2;
1402 }
1403 return resultobj;
1404 fail:
1405 {
1406 if (temp1)
1407 delete arg1;
1408 }
1409 {
1410 if (temp2)
1411 delete arg2;
1412 }
1413 return NULL;
1414}
1415
1416
1417static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1418 PyObject *resultobj;
1419 wxString *arg1 = 0 ;
1420 int arg2 ;
1421 bool temp1 = false ;
1422 PyObject * obj0 = 0 ;
1423 char *kwnames[] = {
1424 (char *) "name",(char *) "value", NULL
1425 };
1426
1427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SystemOptions_SetOptionInt",kwnames,&obj0,&arg2)) goto fail;
1428 {
1429 arg1 = wxString_in_helper(obj0);
1430 if (arg1 == NULL) SWIG_fail;
1431 temp1 = true;
1432 }
1433 {
1434 PyThreadState* __tstate = wxPyBeginAllowThreads();
1435 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1436
1437 wxPyEndAllowThreads(__tstate);
1438 if (PyErr_Occurred()) SWIG_fail;
1439 }
1440 Py_INCREF(Py_None); resultobj = Py_None;
1441 {
1442 if (temp1)
1443 delete arg1;
1444 }
1445 return resultobj;
1446 fail:
1447 {
1448 if (temp1)
1449 delete arg1;
1450 }
1451 return NULL;
1452}
1453
1454
1455static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1456 PyObject *resultobj;
1457 wxString *arg1 = 0 ;
1458 wxString result;
1459 bool temp1 = false ;
1460 PyObject * obj0 = 0 ;
1461 char *kwnames[] = {
1462 (char *) "name", NULL
1463 };
1464
1465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1466 {
1467 arg1 = wxString_in_helper(obj0);
1468 if (arg1 == NULL) SWIG_fail;
1469 temp1 = true;
1470 }
1471 {
1472 PyThreadState* __tstate = wxPyBeginAllowThreads();
1473 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1474
1475 wxPyEndAllowThreads(__tstate);
1476 if (PyErr_Occurred()) SWIG_fail;
1477 }
1478 {
1479#if wxUSE_UNICODE
1480 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1481#else
1482 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1483#endif
1484 }
1485 {
1486 if (temp1)
1487 delete arg1;
1488 }
1489 return resultobj;
1490 fail:
1491 {
1492 if (temp1)
1493 delete arg1;
1494 }
1495 return NULL;
1496}
1497
1498
1499static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1500 PyObject *resultobj;
1501 wxString *arg1 = 0 ;
1502 int result;
1503 bool temp1 = false ;
1504 PyObject * obj0 = 0 ;
1505 char *kwnames[] = {
1506 (char *) "name", NULL
1507 };
1508
1509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1510 {
1511 arg1 = wxString_in_helper(obj0);
1512 if (arg1 == NULL) SWIG_fail;
1513 temp1 = true;
1514 }
1515 {
1516 PyThreadState* __tstate = wxPyBeginAllowThreads();
1517 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1518
1519 wxPyEndAllowThreads(__tstate);
1520 if (PyErr_Occurred()) SWIG_fail;
1521 }
1522 resultobj = PyInt_FromLong((long)result);
1523 {
1524 if (temp1)
1525 delete arg1;
1526 }
1527 return resultobj;
1528 fail:
1529 {
1530 if (temp1)
1531 delete arg1;
1532 }
1533 return NULL;
1534}
1535
1536
1537static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1538 PyObject *resultobj;
1539 wxString *arg1 = 0 ;
1540 bool result;
1541 bool temp1 = false ;
1542 PyObject * obj0 = 0 ;
1543 char *kwnames[] = {
1544 (char *) "name", NULL
1545 };
1546
1547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1548 {
1549 arg1 = wxString_in_helper(obj0);
1550 if (arg1 == NULL) SWIG_fail;
1551 temp1 = true;
1552 }
1553 {
1554 PyThreadState* __tstate = wxPyBeginAllowThreads();
1555 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1556
1557 wxPyEndAllowThreads(__tstate);
1558 if (PyErr_Occurred()) SWIG_fail;
1559 }
1560 resultobj = PyInt_FromLong((long)result);
1561 {
1562 if (temp1)
1563 delete arg1;
1564 }
1565 return resultobj;
1566 fail:
1567 {
1568 if (temp1)
1569 delete arg1;
1570 }
1571 return NULL;
1572}
1573
1574
1575static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1576 PyObject *obj;
1577 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1578 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1579 Py_INCREF(obj);
1580 return Py_BuildValue((char *)"");
1581}
1582static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1583 PyObject *resultobj;
1584 long result;
1585 char *kwnames[] = {
1586 NULL
1587 };
1588
1589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1590 {
1591 PyThreadState* __tstate = wxPyBeginAllowThreads();
1592 result = (long)wxNewId();
1593
1594 wxPyEndAllowThreads(__tstate);
1595 if (PyErr_Occurred()) SWIG_fail;
1596 }
1597 resultobj = PyInt_FromLong((long)result);
1598 return resultobj;
1599 fail:
1600 return NULL;
1601}
1602
1603
1604static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1605 PyObject *resultobj;
1606 long arg1 ;
1607 char *kwnames[] = {
1608 (char *) "id", NULL
1609 };
1610
1611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:RegisterId",kwnames,&arg1)) goto fail;
1612 {
1613 PyThreadState* __tstate = wxPyBeginAllowThreads();
1614 wxRegisterId(arg1);
1615
1616 wxPyEndAllowThreads(__tstate);
1617 if (PyErr_Occurred()) SWIG_fail;
1618 }
1619 Py_INCREF(Py_None); resultobj = Py_None;
1620 return resultobj;
1621 fail:
1622 return NULL;
1623}
1624
1625
1626static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1627 PyObject *resultobj;
1628 long result;
1629 char *kwnames[] = {
1630 NULL
1631 };
1632
1633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1634 {
1635 PyThreadState* __tstate = wxPyBeginAllowThreads();
1636 result = (long)wxGetCurrentId();
1637
1638 wxPyEndAllowThreads(__tstate);
1639 if (PyErr_Occurred()) SWIG_fail;
1640 }
1641 resultobj = PyInt_FromLong((long)result);
1642 return resultobj;
1643 fail:
1644 return NULL;
1645}
1646
1647
1648static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
1649 PyObject *resultobj;
1650 char *kwnames[] = {
1651 NULL
1652 };
1653
1654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1655 {
1656 PyThreadState* __tstate = wxPyBeginAllowThreads();
1657 wxBell();
1658
1659 wxPyEndAllowThreads(__tstate);
1660 if (PyErr_Occurred()) SWIG_fail;
1661 }
1662 Py_INCREF(Py_None); resultobj = Py_None;
1663 return resultobj;
1664 fail:
1665 return NULL;
1666}
1667
1668
1669static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1670 PyObject *resultobj;
1671 char *kwnames[] = {
1672 NULL
1673 };
1674
1675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
1676 {
1677 PyThreadState* __tstate = wxPyBeginAllowThreads();
1678 wxEndBusyCursor();
1679
1680 wxPyEndAllowThreads(__tstate);
1681 if (PyErr_Occurred()) SWIG_fail;
1682 }
1683 Py_INCREF(Py_None); resultobj = Py_None;
1684 return resultobj;
1685 fail:
1686 return NULL;
1687}
1688
1689
1690static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1691 PyObject *resultobj;
1692 bool arg1 = (bool) TRUE ;
1693 long result;
1694 PyObject * obj0 = 0 ;
1695 char *kwnames[] = {
1696 (char *) "resetTimer", NULL
1697 };
1698
1699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
1700 if (obj0) {
1701 arg1 = PyInt_AsLong(obj0) ? true : false;
1702 if (PyErr_Occurred()) SWIG_fail;
1703 }
1704 {
1705 PyThreadState* __tstate = wxPyBeginAllowThreads();
1706 result = (long)wxGetElapsedTime(arg1);
1707
1708 wxPyEndAllowThreads(__tstate);
1709 if (PyErr_Occurred()) SWIG_fail;
1710 }
1711 resultobj = PyInt_FromLong((long)result);
1712 return resultobj;
1713 fail:
1714 return NULL;
1715}
1716
1717
1718static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1719 PyObject *resultobj;
1720 int *arg1 = (int *) 0 ;
1721 int *arg2 = (int *) 0 ;
1722 int temp1 ;
1723 int temp2 ;
1724 char *kwnames[] = {
1725 NULL
1726 };
1727
1728 arg1 = &temp1;
1729 arg2 = &temp2;
1730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
1731 {
1732 PyThreadState* __tstate = wxPyBeginAllowThreads();
1733 wxGetMousePosition(arg1,arg2);
1734
1735 wxPyEndAllowThreads(__tstate);
1736 if (PyErr_Occurred()) SWIG_fail;
1737 }
1738 Py_INCREF(Py_None); resultobj = Py_None;
1739 {
1740 PyObject *o = PyInt_FromLong((long) (*arg1));
1741 resultobj = t_output_helper(resultobj,o);
1742 }
1743 {
1744 PyObject *o = PyInt_FromLong((long) (*arg2));
1745 resultobj = t_output_helper(resultobj,o);
1746 }
1747 return resultobj;
1748 fail:
1749 return NULL;
1750}
1751
1752
1753static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
1754 PyObject *resultobj;
1755 bool result;
1756 char *kwnames[] = {
1757 NULL
1758 };
1759
1760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
1761 {
1762 PyThreadState* __tstate = wxPyBeginAllowThreads();
1763 result = (bool)wxIsBusy();
1764
1765 wxPyEndAllowThreads(__tstate);
1766 if (PyErr_Occurred()) SWIG_fail;
1767 }
1768 resultobj = PyInt_FromLong((long)result);
1769 return resultobj;
1770 fail:
1771 return NULL;
1772}
1773
1774
1775static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
1776 PyObject *resultobj;
1777 wxString result;
1778 char *kwnames[] = {
1779 NULL
1780 };
1781
1782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
1783 {
1784 PyThreadState* __tstate = wxPyBeginAllowThreads();
1785 result = wxNow();
1786
1787 wxPyEndAllowThreads(__tstate);
1788 if (PyErr_Occurred()) SWIG_fail;
1789 }
1790 {
1791#if wxUSE_UNICODE
1792 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1793#else
1794 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1795#endif
1796 }
1797 return resultobj;
1798 fail:
1799 return NULL;
1800}
1801
1802
1803static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
1804 PyObject *resultobj;
1805 wxString const &arg1_defvalue = wxPyEmptyString ;
1806 wxString *arg1 = (wxString *) &arg1_defvalue ;
1807 bool result;
1808 bool temp1 = false ;
1809 PyObject * obj0 = 0 ;
1810 char *kwnames[] = {
1811 (char *) "command", NULL
1812 };
1813
1814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
1815 if (obj0) {
1816 {
1817 arg1 = wxString_in_helper(obj0);
1818 if (arg1 == NULL) SWIG_fail;
1819 temp1 = true;
1820 }
1821 }
1822 {
1823 PyThreadState* __tstate = wxPyBeginAllowThreads();
1824 result = (bool)wxShell((wxString const &)*arg1);
1825
1826 wxPyEndAllowThreads(__tstate);
1827 if (PyErr_Occurred()) SWIG_fail;
1828 }
1829 resultobj = PyInt_FromLong((long)result);
1830 {
1831 if (temp1)
1832 delete arg1;
1833 }
1834 return resultobj;
1835 fail:
1836 {
1837 if (temp1)
1838 delete arg1;
1839 }
1840 return NULL;
1841}
1842
1843
1844static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
1845 PyObject *resultobj;
1846 char *kwnames[] = {
1847 NULL
1848 };
1849
1850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
1851 {
1852 PyThreadState* __tstate = wxPyBeginAllowThreads();
1853 wxStartTimer();
1854
1855 wxPyEndAllowThreads(__tstate);
1856 if (PyErr_Occurred()) SWIG_fail;
1857 }
1858 Py_INCREF(Py_None); resultobj = Py_None;
1859 return resultobj;
1860 fail:
1861 return NULL;
1862}
1863
1864
1865static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
1866 PyObject *resultobj;
1867 int *arg1 = (int *) 0 ;
1868 int *arg2 = (int *) 0 ;
1869 int result;
1870 int temp1 ;
1871 int temp2 ;
1872 char *kwnames[] = {
1873 NULL
1874 };
1875
1876 arg1 = &temp1;
1877 arg2 = &temp2;
1878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
1879 {
1880 PyThreadState* __tstate = wxPyBeginAllowThreads();
1881 result = (int)wxGetOsVersion(arg1,arg2);
1882
1883 wxPyEndAllowThreads(__tstate);
1884 if (PyErr_Occurred()) SWIG_fail;
1885 }
1886 resultobj = PyInt_FromLong((long)result);
1887 {
1888 PyObject *o = PyInt_FromLong((long) (*arg1));
1889 resultobj = t_output_helper(resultobj,o);
1890 }
1891 {
1892 PyObject *o = PyInt_FromLong((long) (*arg2));
1893 resultobj = t_output_helper(resultobj,o);
1894 }
1895 return resultobj;
1896 fail:
1897 return NULL;
1898}
1899
1900
1901static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
1902 PyObject *resultobj;
1903 wxString result;
1904 char *kwnames[] = {
1905 NULL
1906 };
1907
1908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
1909 {
1910 PyThreadState* __tstate = wxPyBeginAllowThreads();
1911 result = wxGetOsDescription();
1912
1913 wxPyEndAllowThreads(__tstate);
1914 if (PyErr_Occurred()) SWIG_fail;
1915 }
1916 {
1917#if wxUSE_UNICODE
1918 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1919#else
1920 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1921#endif
1922 }
1923 return resultobj;
1924 fail:
1925 return NULL;
1926}
1927
1928
1929static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
1930 PyObject *resultobj;
1931 long result;
1932 char *kwnames[] = {
1933 NULL
1934 };
1935
1936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
1937 {
1938 PyThreadState* __tstate = wxPyBeginAllowThreads();
1939 result = (long)wxGetFreeMemory();
1940
1941 wxPyEndAllowThreads(__tstate);
1942 if (PyErr_Occurred()) SWIG_fail;
1943 }
1944 resultobj = PyInt_FromLong((long)result);
1945 return resultobj;
1946 fail:
1947 return NULL;
1948}
1949
1950
1951static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
1952 PyObject *resultobj;
1953 int arg1 ;
1954 bool result;
1955 char *kwnames[] = {
1956 (char *) "wFlags", NULL
1957 };
1958
1959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Shutdown",kwnames,&arg1)) goto fail;
1960 {
1961 PyThreadState* __tstate = wxPyBeginAllowThreads();
1962 result = (bool)wxShutdown((wxShutdownFlags )arg1);
1963
1964 wxPyEndAllowThreads(__tstate);
1965 if (PyErr_Occurred()) SWIG_fail;
1966 }
1967 resultobj = PyInt_FromLong((long)result);
1968 return resultobj;
1969 fail:
1970 return NULL;
1971}
1972
1973
1974static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1975 PyObject *resultobj;
1976 int arg1 ;
1977 char *kwnames[] = {
1978 (char *) "secs", NULL
1979 };
1980
1981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Sleep",kwnames,&arg1)) goto fail;
1982 {
1983 PyThreadState* __tstate = wxPyBeginAllowThreads();
1984 wxSleep(arg1);
1985
1986 wxPyEndAllowThreads(__tstate);
1987 if (PyErr_Occurred()) SWIG_fail;
1988 }
1989 Py_INCREF(Py_None); resultobj = Py_None;
1990 return resultobj;
1991 fail:
1992 return NULL;
1993}
1994
1995
1996static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1997 PyObject *resultobj;
1998 unsigned long arg1 ;
1999 PyObject * obj0 = 0 ;
2000 char *kwnames[] = {
2001 (char *) "milliseconds", NULL
2002 };
2003
2004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
2005 arg1 = (unsigned long) PyInt_AsLong(obj0);
2006 if (PyErr_Occurred()) SWIG_fail;
2007 {
2008 PyThreadState* __tstate = wxPyBeginAllowThreads();
2009 wxUsleep(arg1);
2010
2011 wxPyEndAllowThreads(__tstate);
2012 if (PyErr_Occurred()) SWIG_fail;
2013 }
2014 Py_INCREF(Py_None); resultobj = Py_None;
2015 return resultobj;
2016 fail:
2017 return NULL;
2018}
2019
2020
2021static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2022 PyObject *resultobj;
2023 bool arg1 ;
2024 PyObject * obj0 = 0 ;
2025 char *kwnames[] = {
2026 (char *) "enable", NULL
2027 };
2028
2029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2030 arg1 = PyInt_AsLong(obj0) ? true : false;
2031 if (PyErr_Occurred()) SWIG_fail;
2032 {
2033 PyThreadState* __tstate = wxPyBeginAllowThreads();
2034 wxEnableTopLevelWindows(arg1);
2035
2036 wxPyEndAllowThreads(__tstate);
2037 if (PyErr_Occurred()) SWIG_fail;
2038 }
2039 Py_INCREF(Py_None); resultobj = Py_None;
2040 return resultobj;
2041 fail:
2042 return NULL;
2043}
2044
2045
2046static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2047 PyObject *resultobj;
2048 wxString *arg1 = 0 ;
2049 wxString result;
2050 bool temp1 = false ;
2051 PyObject * obj0 = 0 ;
2052 char *kwnames[] = {
2053 (char *) "in", NULL
2054 };
2055
2056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2057 {
2058 arg1 = wxString_in_helper(obj0);
2059 if (arg1 == NULL) SWIG_fail;
2060 temp1 = true;
2061 }
2062 {
2063 PyThreadState* __tstate = wxPyBeginAllowThreads();
2064 result = wxStripMenuCodes((wxString const &)*arg1);
2065
2066 wxPyEndAllowThreads(__tstate);
2067 if (PyErr_Occurred()) SWIG_fail;
2068 }
2069 {
2070#if wxUSE_UNICODE
2071 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2072#else
2073 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2074#endif
2075 }
2076 {
2077 if (temp1)
2078 delete arg1;
2079 }
2080 return resultobj;
2081 fail:
2082 {
2083 if (temp1)
2084 delete arg1;
2085 }
2086 return NULL;
2087}
2088
2089
2090static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2091 PyObject *resultobj;
2092 wxString result;
2093 char *kwnames[] = {
2094 NULL
2095 };
2096
2097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2098 {
2099 PyThreadState* __tstate = wxPyBeginAllowThreads();
2100 result = wxGetEmailAddress();
2101
2102 wxPyEndAllowThreads(__tstate);
2103 if (PyErr_Occurred()) SWIG_fail;
2104 }
2105 {
2106#if wxUSE_UNICODE
2107 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2108#else
2109 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2110#endif
2111 }
2112 return resultobj;
2113 fail:
2114 return NULL;
2115}
2116
2117
2118static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2119 PyObject *resultobj;
2120 wxString result;
2121 char *kwnames[] = {
2122 NULL
2123 };
2124
2125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2126 {
2127 PyThreadState* __tstate = wxPyBeginAllowThreads();
2128 result = wxGetHostName();
2129
2130 wxPyEndAllowThreads(__tstate);
2131 if (PyErr_Occurred()) SWIG_fail;
2132 }
2133 {
2134#if wxUSE_UNICODE
2135 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2136#else
2137 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2138#endif
2139 }
2140 return resultobj;
2141 fail:
2142 return NULL;
2143}
2144
2145
2146static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2147 PyObject *resultobj;
2148 wxString result;
2149 char *kwnames[] = {
2150 NULL
2151 };
2152
2153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2154 {
2155 PyThreadState* __tstate = wxPyBeginAllowThreads();
2156 result = wxGetFullHostName();
2157
2158 wxPyEndAllowThreads(__tstate);
2159 if (PyErr_Occurred()) SWIG_fail;
2160 }
2161 {
2162#if wxUSE_UNICODE
2163 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2164#else
2165 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2166#endif
2167 }
2168 return resultobj;
2169 fail:
2170 return NULL;
2171}
2172
2173
2174static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2175 PyObject *resultobj;
2176 wxString result;
2177 char *kwnames[] = {
2178 NULL
2179 };
2180
2181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2182 {
2183 PyThreadState* __tstate = wxPyBeginAllowThreads();
2184 result = wxGetUserId();
2185
2186 wxPyEndAllowThreads(__tstate);
2187 if (PyErr_Occurred()) SWIG_fail;
2188 }
2189 {
2190#if wxUSE_UNICODE
2191 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2192#else
2193 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2194#endif
2195 }
2196 return resultobj;
2197 fail:
2198 return NULL;
2199}
2200
2201
2202static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2203 PyObject *resultobj;
2204 wxString result;
2205 char *kwnames[] = {
2206 NULL
2207 };
2208
2209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2210 {
2211 PyThreadState* __tstate = wxPyBeginAllowThreads();
2212 result = wxGetUserName();
2213
2214 wxPyEndAllowThreads(__tstate);
2215 if (PyErr_Occurred()) SWIG_fail;
2216 }
2217 {
2218#if wxUSE_UNICODE
2219 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2220#else
2221 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2222#endif
2223 }
2224 return resultobj;
2225 fail:
2226 return NULL;
2227}
2228
2229
2230static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2231 PyObject *resultobj;
2232 wxString result;
2233 char *kwnames[] = {
2234 NULL
2235 };
2236
2237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2238 {
2239 PyThreadState* __tstate = wxPyBeginAllowThreads();
2240 result = wxGetHomeDir();
2241
2242 wxPyEndAllowThreads(__tstate);
2243 if (PyErr_Occurred()) SWIG_fail;
2244 }
2245 {
2246#if wxUSE_UNICODE
2247 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2248#else
2249 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2250#endif
2251 }
2252 return resultobj;
2253 fail:
2254 return NULL;
2255}
2256
2257
2258static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2259 PyObject *resultobj;
2260 wxString const &arg1_defvalue = wxPyEmptyString ;
2261 wxString *arg1 = (wxString *) &arg1_defvalue ;
2262 wxString result;
2263 bool temp1 = false ;
2264 PyObject * obj0 = 0 ;
2265 char *kwnames[] = {
2266 (char *) "user", NULL
2267 };
2268
2269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2270 if (obj0) {
2271 {
2272 arg1 = wxString_in_helper(obj0);
2273 if (arg1 == NULL) SWIG_fail;
2274 temp1 = true;
2275 }
2276 }
2277 {
2278 PyThreadState* __tstate = wxPyBeginAllowThreads();
2279 result = wxGetUserHome((wxString const &)*arg1);
2280
2281 wxPyEndAllowThreads(__tstate);
2282 if (PyErr_Occurred()) SWIG_fail;
2283 }
2284 {
2285#if wxUSE_UNICODE
2286 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2287#else
2288 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2289#endif
2290 }
2291 {
2292 if (temp1)
2293 delete arg1;
2294 }
2295 return resultobj;
2296 fail:
2297 {
2298 if (temp1)
2299 delete arg1;
2300 }
2301 return NULL;
2302}
2303
2304
2305static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2306 PyObject *resultobj;
2307 unsigned long result;
2308 char *kwnames[] = {
2309 NULL
2310 };
2311
2312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2313 {
2314 PyThreadState* __tstate = wxPyBeginAllowThreads();
2315 result = (unsigned long)wxGetProcessId();
2316
2317 wxPyEndAllowThreads(__tstate);
2318 if (PyErr_Occurred()) SWIG_fail;
2319 }
2320 resultobj = PyInt_FromLong((long)result);
2321 return resultobj;
2322 fail:
2323 return NULL;
2324}
2325
2326
2327static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2328 PyObject *resultobj;
2329 char *kwnames[] = {
2330 NULL
2331 };
2332
2333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2334 {
2335 PyThreadState* __tstate = wxPyBeginAllowThreads();
2336 wxTrap();
2337
2338 wxPyEndAllowThreads(__tstate);
2339 if (PyErr_Occurred()) SWIG_fail;
2340 }
2341 Py_INCREF(Py_None); resultobj = Py_None;
2342 return resultobj;
2343 fail:
2344 return NULL;
2345}
2346
2347
2348static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2349 PyObject *resultobj;
2350 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2351 wxString *arg1 = (wxString *) &arg1_defvalue ;
2352 wxString const &arg2_defvalue = wxPyEmptyString ;
2353 wxString *arg2 = (wxString *) &arg2_defvalue ;
2354 wxString const &arg3_defvalue = wxPyEmptyString ;
2355 wxString *arg3 = (wxString *) &arg3_defvalue ;
2356 wxString const &arg4_defvalue = wxPyEmptyString ;
2357 wxString *arg4 = (wxString *) &arg4_defvalue ;
2358 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2359 wxString *arg5 = (wxString *) &arg5_defvalue ;
2360 int arg6 = (int) 0 ;
2361 wxWindow *arg7 = (wxWindow *) NULL ;
2362 int arg8 = (int) -1 ;
2363 int arg9 = (int) -1 ;
2364 wxString result;
2365 bool temp1 = false ;
2366 bool temp2 = false ;
2367 bool temp3 = false ;
2368 bool temp4 = false ;
2369 bool temp5 = false ;
2370 PyObject * obj0 = 0 ;
2371 PyObject * obj1 = 0 ;
2372 PyObject * obj2 = 0 ;
2373 PyObject * obj3 = 0 ;
2374 PyObject * obj4 = 0 ;
2375 PyObject * obj6 = 0 ;
2376 char *kwnames[] = {
2377 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2378 };
2379
2380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOiOii:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&arg9)) goto fail;
2381 if (obj0) {
2382 {
2383 arg1 = wxString_in_helper(obj0);
2384 if (arg1 == NULL) SWIG_fail;
2385 temp1 = true;
2386 }
2387 }
2388 if (obj1) {
2389 {
2390 arg2 = wxString_in_helper(obj1);
2391 if (arg2 == NULL) SWIG_fail;
2392 temp2 = true;
2393 }
2394 }
2395 if (obj2) {
2396 {
2397 arg3 = wxString_in_helper(obj2);
2398 if (arg3 == NULL) SWIG_fail;
2399 temp3 = true;
2400 }
2401 }
2402 if (obj3) {
2403 {
2404 arg4 = wxString_in_helper(obj3);
2405 if (arg4 == NULL) SWIG_fail;
2406 temp4 = true;
2407 }
2408 }
2409 if (obj4) {
2410 {
2411 arg5 = wxString_in_helper(obj4);
2412 if (arg5 == NULL) SWIG_fail;
2413 temp5 = true;
2414 }
2415 }
2416 if (obj6) {
2417 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2418 }
2419 {
2420 PyThreadState* __tstate = wxPyBeginAllowThreads();
2421 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
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 {
2434 if (temp1)
2435 delete arg1;
2436 }
2437 {
2438 if (temp2)
2439 delete arg2;
2440 }
2441 {
2442 if (temp3)
2443 delete arg3;
2444 }
2445 {
2446 if (temp4)
2447 delete arg4;
2448 }
2449 {
2450 if (temp5)
2451 delete arg5;
2452 }
2453 return resultobj;
2454 fail:
2455 {
2456 if (temp1)
2457 delete arg1;
2458 }
2459 {
2460 if (temp2)
2461 delete arg2;
2462 }
2463 {
2464 if (temp3)
2465 delete arg3;
2466 }
2467 {
2468 if (temp4)
2469 delete arg4;
2470 }
2471 {
2472 if (temp5)
2473 delete arg5;
2474 }
2475 return NULL;
2476}
2477
2478
2479static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2480 PyObject *resultobj;
2481 wxString *arg1 = 0 ;
2482 wxString *arg2 = 0 ;
2483 wxString const &arg3_defvalue = wxPyEmptyString ;
2484 wxString *arg3 = (wxString *) &arg3_defvalue ;
2485 wxWindow *arg4 = (wxWindow *) NULL ;
2486 wxString result;
2487 bool temp1 = false ;
2488 bool temp2 = false ;
2489 bool temp3 = false ;
2490 PyObject * obj0 = 0 ;
2491 PyObject * obj1 = 0 ;
2492 PyObject * obj2 = 0 ;
2493 PyObject * obj3 = 0 ;
2494 char *kwnames[] = {
2495 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2496 };
2497
2498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2499 {
2500 arg1 = wxString_in_helper(obj0);
2501 if (arg1 == NULL) SWIG_fail;
2502 temp1 = true;
2503 }
2504 {
2505 arg2 = wxString_in_helper(obj1);
2506 if (arg2 == NULL) SWIG_fail;
2507 temp2 = true;
2508 }
2509 if (obj2) {
2510 {
2511 arg3 = wxString_in_helper(obj2);
2512 if (arg3 == NULL) SWIG_fail;
2513 temp3 = true;
2514 }
2515 }
2516 if (obj3) {
2517 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2518 }
2519 {
2520 PyThreadState* __tstate = wxPyBeginAllowThreads();
2521 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2522
2523 wxPyEndAllowThreads(__tstate);
2524 if (PyErr_Occurred()) SWIG_fail;
2525 }
2526 {
2527#if wxUSE_UNICODE
2528 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2529#else
2530 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2531#endif
2532 }
2533 {
2534 if (temp1)
2535 delete arg1;
2536 }
2537 {
2538 if (temp2)
2539 delete arg2;
2540 }
2541 {
2542 if (temp3)
2543 delete arg3;
2544 }
2545 return resultobj;
2546 fail:
2547 {
2548 if (temp1)
2549 delete arg1;
2550 }
2551 {
2552 if (temp2)
2553 delete arg2;
2554 }
2555 {
2556 if (temp3)
2557 delete arg3;
2558 }
2559 return NULL;
2560}
2561
2562
2563static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2564 PyObject *resultobj;
2565 wxString *arg1 = 0 ;
2566 wxString *arg2 = 0 ;
2567 wxString const &arg3_defvalue = wxPyEmptyString ;
2568 wxString *arg3 = (wxString *) &arg3_defvalue ;
2569 wxWindow *arg4 = (wxWindow *) NULL ;
2570 wxString result;
2571 bool temp1 = false ;
2572 bool temp2 = false ;
2573 bool temp3 = false ;
2574 PyObject * obj0 = 0 ;
2575 PyObject * obj1 = 0 ;
2576 PyObject * obj2 = 0 ;
2577 PyObject * obj3 = 0 ;
2578 char *kwnames[] = {
2579 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2580 };
2581
2582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2583 {
2584 arg1 = wxString_in_helper(obj0);
2585 if (arg1 == NULL) SWIG_fail;
2586 temp1 = true;
2587 }
2588 {
2589 arg2 = wxString_in_helper(obj1);
2590 if (arg2 == NULL) SWIG_fail;
2591 temp2 = true;
2592 }
2593 if (obj2) {
2594 {
2595 arg3 = wxString_in_helper(obj2);
2596 if (arg3 == NULL) SWIG_fail;
2597 temp3 = true;
2598 }
2599 }
2600 if (obj3) {
2601 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2602 }
2603 {
2604 PyThreadState* __tstate = wxPyBeginAllowThreads();
2605 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2606
2607 wxPyEndAllowThreads(__tstate);
2608 if (PyErr_Occurred()) SWIG_fail;
2609 }
2610 {
2611#if wxUSE_UNICODE
2612 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2613#else
2614 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2615#endif
2616 }
2617 {
2618 if (temp1)
2619 delete arg1;
2620 }
2621 {
2622 if (temp2)
2623 delete arg2;
2624 }
2625 {
2626 if (temp3)
2627 delete arg3;
2628 }
2629 return resultobj;
2630 fail:
2631 {
2632 if (temp1)
2633 delete arg1;
2634 }
2635 {
2636 if (temp2)
2637 delete arg2;
2638 }
2639 {
2640 if (temp3)
2641 delete arg3;
2642 }
2643 return NULL;
2644}
2645
2646
2647static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2648 PyObject *resultobj;
2649 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
2650 wxString *arg1 = (wxString *) &arg1_defvalue ;
2651 wxString const &arg2_defvalue = wxPyEmptyString ;
2652 wxString *arg2 = (wxString *) &arg2_defvalue ;
2653 long arg3 = (long) wxDD_DEFAULT_STYLE ;
2654 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2655 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2656 wxWindow *arg5 = (wxWindow *) NULL ;
2657 wxString result;
2658 bool temp1 = false ;
2659 bool temp2 = false ;
2660 wxPoint temp4 ;
2661 PyObject * obj0 = 0 ;
2662 PyObject * obj1 = 0 ;
2663 PyObject * obj3 = 0 ;
2664 PyObject * obj4 = 0 ;
2665 char *kwnames[] = {
2666 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2667 };
2668
2669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOlOO:DirSelector",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
2670 if (obj0) {
2671 {
2672 arg1 = wxString_in_helper(obj0);
2673 if (arg1 == NULL) SWIG_fail;
2674 temp1 = true;
2675 }
2676 }
2677 if (obj1) {
2678 {
2679 arg2 = wxString_in_helper(obj1);
2680 if (arg2 == NULL) SWIG_fail;
2681 temp2 = true;
2682 }
2683 }
2684 if (obj3) {
2685 {
2686 arg4 = &temp4;
2687 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2688 }
2689 }
2690 if (obj4) {
2691 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2692 }
2693 {
2694 PyThreadState* __tstate = wxPyBeginAllowThreads();
2695 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
2696
2697 wxPyEndAllowThreads(__tstate);
2698 if (PyErr_Occurred()) SWIG_fail;
2699 }
2700 {
2701#if wxUSE_UNICODE
2702 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2703#else
2704 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2705#endif
2706 }
2707 {
2708 if (temp1)
2709 delete arg1;
2710 }
2711 {
2712 if (temp2)
2713 delete arg2;
2714 }
2715 return resultobj;
2716 fail:
2717 {
2718 if (temp1)
2719 delete arg1;
2720 }
2721 {
2722 if (temp2)
2723 delete arg2;
2724 }
2725 return NULL;
2726}
2727
2728
2729static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2730 PyObject *resultobj;
2731 wxString *arg1 = 0 ;
2732 wxString const &arg2_defvalue = wxPyEmptyString ;
2733 wxString *arg2 = (wxString *) &arg2_defvalue ;
2734 wxString const &arg3_defvalue = wxPyEmptyString ;
2735 wxString *arg3 = (wxString *) &arg3_defvalue ;
2736 wxWindow *arg4 = (wxWindow *) NULL ;
2737 int arg5 = (int) -1 ;
2738 int arg6 = (int) -1 ;
2739 bool arg7 = (bool) TRUE ;
2740 wxString result;
2741 bool temp1 = false ;
2742 bool temp2 = false ;
2743 bool temp3 = false ;
2744 PyObject * obj0 = 0 ;
2745 PyObject * obj1 = 0 ;
2746 PyObject * obj2 = 0 ;
2747 PyObject * obj3 = 0 ;
2748 PyObject * obj6 = 0 ;
2749 char *kwnames[] = {
2750 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2751 };
2752
2753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOiiO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
2754 {
2755 arg1 = wxString_in_helper(obj0);
2756 if (arg1 == NULL) SWIG_fail;
2757 temp1 = true;
2758 }
2759 if (obj1) {
2760 {
2761 arg2 = wxString_in_helper(obj1);
2762 if (arg2 == NULL) SWIG_fail;
2763 temp2 = true;
2764 }
2765 }
2766 if (obj2) {
2767 {
2768 arg3 = wxString_in_helper(obj2);
2769 if (arg3 == NULL) SWIG_fail;
2770 temp3 = true;
2771 }
2772 }
2773 if (obj3) {
2774 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2775 }
2776 if (obj6) {
2777 arg7 = PyInt_AsLong(obj6) ? true : false;
2778 if (PyErr_Occurred()) SWIG_fail;
2779 }
2780 {
2781 PyThreadState* __tstate = wxPyBeginAllowThreads();
2782 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
2783
2784 wxPyEndAllowThreads(__tstate);
2785 if (PyErr_Occurred()) SWIG_fail;
2786 }
2787 {
2788#if wxUSE_UNICODE
2789 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2790#else
2791 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2792#endif
2793 }
2794 {
2795 if (temp1)
2796 delete arg1;
2797 }
2798 {
2799 if (temp2)
2800 delete arg2;
2801 }
2802 {
2803 if (temp3)
2804 delete arg3;
2805 }
2806 return resultobj;
2807 fail:
2808 {
2809 if (temp1)
2810 delete arg1;
2811 }
2812 {
2813 if (temp2)
2814 delete arg2;
2815 }
2816 {
2817 if (temp3)
2818 delete arg3;
2819 }
2820 return NULL;
2821}
2822
2823
2824static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2825 PyObject *resultobj;
2826 wxString *arg1 = 0 ;
2827 wxString const &arg2_defvalue = wxPyEmptyString ;
2828 wxString *arg2 = (wxString *) &arg2_defvalue ;
2829 wxString const &arg3_defvalue = wxPyEmptyString ;
2830 wxString *arg3 = (wxString *) &arg3_defvalue ;
2831 wxWindow *arg4 = (wxWindow *) NULL ;
2832 wxString result;
2833 bool temp1 = false ;
2834 bool temp2 = false ;
2835 bool temp3 = false ;
2836 PyObject * obj0 = 0 ;
2837 PyObject * obj1 = 0 ;
2838 PyObject * obj2 = 0 ;
2839 PyObject * obj3 = 0 ;
2840 char *kwnames[] = {
2841 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
2842 };
2843
2844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2845 {
2846 arg1 = wxString_in_helper(obj0);
2847 if (arg1 == NULL) SWIG_fail;
2848 temp1 = true;
2849 }
2850 if (obj1) {
2851 {
2852 arg2 = wxString_in_helper(obj1);
2853 if (arg2 == NULL) SWIG_fail;
2854 temp2 = true;
2855 }
2856 }
2857 if (obj2) {
2858 {
2859 arg3 = wxString_in_helper(obj2);
2860 if (arg3 == NULL) SWIG_fail;
2861 temp3 = true;
2862 }
2863 }
2864 if (obj3) {
2865 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2866 }
2867 {
2868 PyThreadState* __tstate = wxPyBeginAllowThreads();
2869 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2870
2871 wxPyEndAllowThreads(__tstate);
2872 if (PyErr_Occurred()) SWIG_fail;
2873 }
2874 {
2875#if wxUSE_UNICODE
2876 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2877#else
2878 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2879#endif
2880 }
2881 {
2882 if (temp1)
2883 delete arg1;
2884 }
2885 {
2886 if (temp2)
2887 delete arg2;
2888 }
2889 {
2890 if (temp3)
2891 delete arg3;
2892 }
2893 return resultobj;
2894 fail:
2895 {
2896 if (temp1)
2897 delete arg1;
2898 }
2899 {
2900 if (temp2)
2901 delete arg2;
2902 }
2903 {
2904 if (temp3)
2905 delete arg3;
2906 }
2907 return NULL;
2908}
2909
2910
2911static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2912 PyObject *resultobj;
2913 wxString *arg1 = 0 ;
2914 wxString *arg2 = 0 ;
2915 int arg3 ;
2916 wxString *arg4 = (wxString *) 0 ;
2917 wxWindow *arg5 = (wxWindow *) NULL ;
2918 int arg6 = (int) -1 ;
2919 int arg7 = (int) -1 ;
2920 bool arg8 = (bool) TRUE ;
2921 int arg9 = (int) 150 ;
2922 int arg10 = (int) 200 ;
2923 wxString result;
2924 bool temp1 = false ;
2925 bool temp2 = false ;
2926 PyObject * obj0 = 0 ;
2927 PyObject * obj1 = 0 ;
2928 PyObject * obj2 = 0 ;
2929 PyObject * obj3 = 0 ;
2930 PyObject * obj6 = 0 ;
2931 char *kwnames[] = {
2932 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2933 };
2934
2935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
2936 {
2937 arg1 = wxString_in_helper(obj0);
2938 if (arg1 == NULL) SWIG_fail;
2939 temp1 = true;
2940 }
2941 {
2942 arg2 = wxString_in_helper(obj1);
2943 if (arg2 == NULL) SWIG_fail;
2944 temp2 = true;
2945 }
2946 {
2947 arg3 = PyList_Size(obj2);
2948 arg4 = wxString_LIST_helper(obj2);
2949 if (arg4 == NULL) SWIG_fail;
2950 }
2951 if (obj3) {
2952 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2953 }
2954 if (obj6) {
2955 arg8 = PyInt_AsLong(obj6) ? true : false;
2956 if (PyErr_Occurred()) SWIG_fail;
2957 }
2958 {
2959 PyThreadState* __tstate = wxPyBeginAllowThreads();
2960 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
2961
2962 wxPyEndAllowThreads(__tstate);
2963 if (PyErr_Occurred()) SWIG_fail;
2964 }
2965 {
2966#if wxUSE_UNICODE
2967 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2968#else
2969 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2970#endif
2971 }
2972 {
2973 if (temp1)
2974 delete arg1;
2975 }
2976 {
2977 if (temp2)
2978 delete arg2;
2979 }
2980 {
2981 if (arg4) delete [] arg4;
2982 }
2983 return resultobj;
2984 fail:
2985 {
2986 if (temp1)
2987 delete arg1;
2988 }
2989 {
2990 if (temp2)
2991 delete arg2;
2992 }
2993 {
2994 if (arg4) delete [] arg4;
2995 }
2996 return NULL;
2997}
2998
2999
3000static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3001 PyObject *resultobj;
3002 wxString *arg1 = 0 ;
3003 wxString *arg2 = 0 ;
3004 int arg3 ;
3005 wxString *arg4 = (wxString *) 0 ;
3006 wxWindow *arg5 = (wxWindow *) NULL ;
3007 int arg6 = (int) -1 ;
3008 int arg7 = (int) -1 ;
3009 bool arg8 = (bool) TRUE ;
3010 int arg9 = (int) 150 ;
3011 int arg10 = (int) 200 ;
3012 int result;
3013 bool temp1 = false ;
3014 bool temp2 = false ;
3015 PyObject * obj0 = 0 ;
3016 PyObject * obj1 = 0 ;
3017 PyObject * obj2 = 0 ;
3018 PyObject * obj3 = 0 ;
3019 PyObject * obj6 = 0 ;
3020 char *kwnames[] = {
3021 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3022 };
3023
3024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
3025 {
3026 arg1 = wxString_in_helper(obj0);
3027 if (arg1 == NULL) SWIG_fail;
3028 temp1 = true;
3029 }
3030 {
3031 arg2 = wxString_in_helper(obj1);
3032 if (arg2 == NULL) SWIG_fail;
3033 temp2 = true;
3034 }
3035 {
3036 arg3 = PyList_Size(obj2);
3037 arg4 = wxString_LIST_helper(obj2);
3038 if (arg4 == NULL) SWIG_fail;
3039 }
3040 if (obj3) {
3041 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3042 }
3043 if (obj6) {
3044 arg8 = PyInt_AsLong(obj6) ? true : false;
3045 if (PyErr_Occurred()) SWIG_fail;
3046 }
3047 {
3048 PyThreadState* __tstate = wxPyBeginAllowThreads();
3049 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3050
3051 wxPyEndAllowThreads(__tstate);
3052 if (PyErr_Occurred()) SWIG_fail;
3053 }
3054 resultobj = PyInt_FromLong((long)result);
3055 {
3056 if (temp1)
3057 delete arg1;
3058 }
3059 {
3060 if (temp2)
3061 delete arg2;
3062 }
3063 {
3064 if (arg4) delete [] arg4;
3065 }
3066 return resultobj;
3067 fail:
3068 {
3069 if (temp1)
3070 delete arg1;
3071 }
3072 {
3073 if (temp2)
3074 delete arg2;
3075 }
3076 {
3077 if (arg4) delete [] arg4;
3078 }
3079 return NULL;
3080}
3081
3082
3083static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3084 PyObject *resultobj;
3085 wxString *arg1 = 0 ;
3086 wxString const &arg2_defvalue = wxPyEmptyString ;
3087 wxString *arg2 = (wxString *) &arg2_defvalue ;
3088 int arg3 = (int) wxOK|wxCENTRE ;
3089 wxWindow *arg4 = (wxWindow *) NULL ;
3090 int arg5 = (int) -1 ;
3091 int arg6 = (int) -1 ;
3092 int result;
3093 bool temp1 = false ;
3094 bool temp2 = false ;
3095 PyObject * obj0 = 0 ;
3096 PyObject * obj1 = 0 ;
3097 PyObject * obj3 = 0 ;
3098 char *kwnames[] = {
3099 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3100 };
3101
3102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OiOii:MessageBox",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5,&arg6)) goto fail;
3103 {
3104 arg1 = wxString_in_helper(obj0);
3105 if (arg1 == NULL) SWIG_fail;
3106 temp1 = true;
3107 }
3108 if (obj1) {
3109 {
3110 arg2 = wxString_in_helper(obj1);
3111 if (arg2 == NULL) SWIG_fail;
3112 temp2 = true;
3113 }
3114 }
3115 if (obj3) {
3116 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3117 }
3118 {
3119 PyThreadState* __tstate = wxPyBeginAllowThreads();
3120 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3121
3122 wxPyEndAllowThreads(__tstate);
3123 if (PyErr_Occurred()) SWIG_fail;
3124 }
3125 resultobj = PyInt_FromLong((long)result);
3126 {
3127 if (temp1)
3128 delete arg1;
3129 }
3130 {
3131 if (temp2)
3132 delete arg2;
3133 }
3134 return resultobj;
3135 fail:
3136 {
3137 if (temp1)
3138 delete arg1;
3139 }
3140 {
3141 if (temp2)
3142 delete arg2;
3143 }
3144 return NULL;
3145}
3146
3147
3148static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3149 PyObject *resultobj;
3150 wxString *arg1 = 0 ;
3151 wxString *arg2 = 0 ;
3152 wxString *arg3 = 0 ;
3153 long arg4 ;
3154 long arg5 = (long) 0 ;
3155 long arg6 = (long) 100 ;
3156 wxWindow *arg7 = (wxWindow *) NULL ;
3157 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3158 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3159 long result;
3160 bool temp1 = false ;
3161 bool temp2 = false ;
3162 bool temp3 = false ;
3163 wxPoint temp8 ;
3164 PyObject * obj0 = 0 ;
3165 PyObject * obj1 = 0 ;
3166 PyObject * obj2 = 0 ;
3167 PyObject * obj6 = 0 ;
3168 PyObject * obj7 = 0 ;
3169 char *kwnames[] = {
3170 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3171 };
3172
3173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOl|llOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&obj6,&obj7)) goto fail;
3174 {
3175 arg1 = wxString_in_helper(obj0);
3176 if (arg1 == NULL) SWIG_fail;
3177 temp1 = true;
3178 }
3179 {
3180 arg2 = wxString_in_helper(obj1);
3181 if (arg2 == NULL) SWIG_fail;
3182 temp2 = true;
3183 }
3184 {
3185 arg3 = wxString_in_helper(obj2);
3186 if (arg3 == NULL) SWIG_fail;
3187 temp3 = true;
3188 }
3189 if (obj6) {
3190 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3191 }
3192 if (obj7) {
3193 {
3194 arg8 = &temp8;
3195 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3196 }
3197 }
3198 {
3199 PyThreadState* __tstate = wxPyBeginAllowThreads();
3200 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3201
3202 wxPyEndAllowThreads(__tstate);
3203 if (PyErr_Occurred()) SWIG_fail;
3204 }
3205 resultobj = PyInt_FromLong((long)result);
3206 {
3207 if (temp1)
3208 delete arg1;
3209 }
3210 {
3211 if (temp2)
3212 delete arg2;
3213 }
3214 {
3215 if (temp3)
3216 delete arg3;
3217 }
3218 return resultobj;
3219 fail:
3220 {
3221 if (temp1)
3222 delete arg1;
3223 }
3224 {
3225 if (temp2)
3226 delete arg2;
3227 }
3228 {
3229 if (temp3)
3230 delete arg3;
3231 }
3232 return NULL;
3233}
3234
3235
3236static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3237 PyObject *resultobj;
3238 bool result;
3239 char *kwnames[] = {
3240 NULL
3241 };
3242
3243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3244 {
3245 PyThreadState* __tstate = wxPyBeginAllowThreads();
3246 result = (bool)wxColourDisplay();
3247
3248 wxPyEndAllowThreads(__tstate);
3249 if (PyErr_Occurred()) SWIG_fail;
3250 }
3251 resultobj = PyInt_FromLong((long)result);
3252 return resultobj;
3253 fail:
3254 return NULL;
3255}
3256
3257
3258static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3259 PyObject *resultobj;
3260 int result;
3261 char *kwnames[] = {
3262 NULL
3263 };
3264
3265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3266 {
3267 PyThreadState* __tstate = wxPyBeginAllowThreads();
3268 result = (int)wxDisplayDepth();
3269
3270 wxPyEndAllowThreads(__tstate);
3271 if (PyErr_Occurred()) SWIG_fail;
3272 }
3273 resultobj = PyInt_FromLong((long)result);
3274 return resultobj;
3275 fail:
3276 return NULL;
3277}
3278
3279
3280static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3281 PyObject *resultobj;
3282 int result;
3283 char *kwnames[] = {
3284 NULL
3285 };
3286
3287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3288 {
3289 PyThreadState* __tstate = wxPyBeginAllowThreads();
3290 result = (int)wxGetDisplayDepth();
3291
3292 wxPyEndAllowThreads(__tstate);
3293 if (PyErr_Occurred()) SWIG_fail;
3294 }
3295 resultobj = PyInt_FromLong((long)result);
3296 return resultobj;
3297 fail:
3298 return NULL;
3299}
3300
3301
3302static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3303 PyObject *resultobj;
3304 int *arg1 = (int *) 0 ;
3305 int *arg2 = (int *) 0 ;
3306 int temp1 ;
3307 int temp2 ;
3308 char *kwnames[] = {
3309 NULL
3310 };
3311
3312 arg1 = &temp1;
3313 arg2 = &temp2;
3314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3315 {
3316 PyThreadState* __tstate = wxPyBeginAllowThreads();
3317 wxDisplaySize(arg1,arg2);
3318
3319 wxPyEndAllowThreads(__tstate);
3320 if (PyErr_Occurred()) SWIG_fail;
3321 }
3322 Py_INCREF(Py_None); resultobj = Py_None;
3323 {
3324 PyObject *o = PyInt_FromLong((long) (*arg1));
3325 resultobj = t_output_helper(resultobj,o);
3326 }
3327 {
3328 PyObject *o = PyInt_FromLong((long) (*arg2));
3329 resultobj = t_output_helper(resultobj,o);
3330 }
3331 return resultobj;
3332 fail:
3333 return NULL;
3334}
3335
3336
3337static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3338 PyObject *resultobj;
3339 wxSize result;
3340 char *kwnames[] = {
3341 NULL
3342 };
3343
3344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3345 {
3346 PyThreadState* __tstate = wxPyBeginAllowThreads();
3347 result = wxGetDisplaySize();
3348
3349 wxPyEndAllowThreads(__tstate);
3350 if (PyErr_Occurred()) SWIG_fail;
3351 }
3352 {
3353 wxSize * resultptr;
3354 resultptr = new wxSize((wxSize &) result);
3355 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3356 }
3357 return resultobj;
3358 fail:
3359 return NULL;
3360}
3361
3362
3363static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3364 PyObject *resultobj;
3365 int *arg1 = (int *) 0 ;
3366 int *arg2 = (int *) 0 ;
3367 int temp1 ;
3368 int temp2 ;
3369 char *kwnames[] = {
3370 NULL
3371 };
3372
3373 arg1 = &temp1;
3374 arg2 = &temp2;
3375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3376 {
3377 PyThreadState* __tstate = wxPyBeginAllowThreads();
3378 wxDisplaySizeMM(arg1,arg2);
3379
3380 wxPyEndAllowThreads(__tstate);
3381 if (PyErr_Occurred()) SWIG_fail;
3382 }
3383 Py_INCREF(Py_None); resultobj = Py_None;
3384 {
3385 PyObject *o = PyInt_FromLong((long) (*arg1));
3386 resultobj = t_output_helper(resultobj,o);
3387 }
3388 {
3389 PyObject *o = PyInt_FromLong((long) (*arg2));
3390 resultobj = t_output_helper(resultobj,o);
3391 }
3392 return resultobj;
3393 fail:
3394 return NULL;
3395}
3396
3397
3398static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3399 PyObject *resultobj;
3400 wxSize result;
3401 char *kwnames[] = {
3402 NULL
3403 };
3404
3405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3406 {
3407 PyThreadState* __tstate = wxPyBeginAllowThreads();
3408 result = wxGetDisplaySizeMM();
3409
3410 wxPyEndAllowThreads(__tstate);
3411 if (PyErr_Occurred()) SWIG_fail;
3412 }
3413 {
3414 wxSize * resultptr;
3415 resultptr = new wxSize((wxSize &) result);
3416 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3417 }
3418 return resultobj;
3419 fail:
3420 return NULL;
3421}
3422
3423
3424static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3425 PyObject *resultobj;
3426 int *arg1 = (int *) 0 ;
3427 int *arg2 = (int *) 0 ;
3428 int *arg3 = (int *) 0 ;
3429 int *arg4 = (int *) 0 ;
3430 int temp1 ;
3431 int temp2 ;
3432 int temp3 ;
3433 int temp4 ;
3434 char *kwnames[] = {
3435 NULL
3436 };
3437
3438 arg1 = &temp1;
3439 arg2 = &temp2;
3440 arg3 = &temp3;
3441 arg4 = &temp4;
3442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3443 {
3444 PyThreadState* __tstate = wxPyBeginAllowThreads();
3445 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3446
3447 wxPyEndAllowThreads(__tstate);
3448 if (PyErr_Occurred()) SWIG_fail;
3449 }
3450 Py_INCREF(Py_None); resultobj = Py_None;
3451 {
3452 PyObject *o = PyInt_FromLong((long) (*arg1));
3453 resultobj = t_output_helper(resultobj,o);
3454 }
3455 {
3456 PyObject *o = PyInt_FromLong((long) (*arg2));
3457 resultobj = t_output_helper(resultobj,o);
3458 }
3459 {
3460 PyObject *o = PyInt_FromLong((long) (*arg3));
3461 resultobj = t_output_helper(resultobj,o);
3462 }
3463 {
3464 PyObject *o = PyInt_FromLong((long) (*arg4));
3465 resultobj = t_output_helper(resultobj,o);
3466 }
3467 return resultobj;
3468 fail:
3469 return NULL;
3470}
3471
3472
3473static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3474 PyObject *resultobj;
3475 wxRect result;
3476 char *kwnames[] = {
3477 NULL
3478 };
3479
3480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3481 {
3482 PyThreadState* __tstate = wxPyBeginAllowThreads();
3483 result = wxGetClientDisplayRect();
3484
3485 wxPyEndAllowThreads(__tstate);
3486 if (PyErr_Occurred()) SWIG_fail;
3487 }
3488 {
3489 wxRect * resultptr;
3490 resultptr = new wxRect((wxRect &) result);
3491 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3492 }
3493 return resultobj;
3494 fail:
3495 return NULL;
3496}
3497
3498
3499static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3500 PyObject *resultobj;
3501 wxCursor *arg1 = 0 ;
3502 PyObject * obj0 = 0 ;
3503 char *kwnames[] = {
3504 (char *) "cursor", NULL
3505 };
3506
3507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3509 if (arg1 == NULL) {
3510 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3511 }
3512 {
3513 PyThreadState* __tstate = wxPyBeginAllowThreads();
3514 wxSetCursor(*arg1);
3515
3516 wxPyEndAllowThreads(__tstate);
3517 if (PyErr_Occurred()) SWIG_fail;
3518 }
3519 Py_INCREF(Py_None); resultobj = Py_None;
3520 return resultobj;
3521 fail:
3522 return NULL;
3523}
3524
3525
3526static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3527 PyObject *resultobj;
3528 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3529 PyObject * obj0 = 0 ;
3530 char *kwnames[] = {
3531 (char *) "cursor", NULL
3532 };
3533
3534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3535 if (obj0) {
3536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3537 }
3538 {
3539 PyThreadState* __tstate = wxPyBeginAllowThreads();
3540 wxBeginBusyCursor(arg1);
3541
3542 wxPyEndAllowThreads(__tstate);
3543 if (PyErr_Occurred()) SWIG_fail;
3544 }
3545 Py_INCREF(Py_None); resultobj = Py_None;
3546 return resultobj;
3547 fail:
3548 return NULL;
3549}
3550
3551
3552static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3553 PyObject *resultobj;
3554 wxWindow *result;
3555 char *kwnames[] = {
3556 NULL
3557 };
3558
3559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
3560 {
3561 PyThreadState* __tstate = wxPyBeginAllowThreads();
3562 result = (wxWindow *)wxGetActiveWindow();
3563
3564 wxPyEndAllowThreads(__tstate);
3565 if (PyErr_Occurred()) SWIG_fail;
3566 }
3567 {
3568 resultobj = wxPyMake_wxObject(result);
3569 }
3570 return resultobj;
3571 fail:
3572 return NULL;
3573}
3574
3575
3576static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3577 PyObject *resultobj;
3578 wxPoint *arg1 = 0 ;
3579 wxWindow *result;
3580 wxPoint temp1 ;
3581 PyObject * obj0 = 0 ;
3582 char *kwnames[] = {
3583 (char *) "pt", NULL
3584 };
3585
3586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
3587 {
3588 arg1 = &temp1;
3589 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3590 }
3591 {
3592 PyThreadState* __tstate = wxPyBeginAllowThreads();
3593 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
3594
3595 wxPyEndAllowThreads(__tstate);
3596 if (PyErr_Occurred()) SWIG_fail;
3597 }
3598 {
3599 resultobj = wxPyMake_wxObject(result);
3600 }
3601 return resultobj;
3602 fail:
3603 return NULL;
3604}
3605
3606
3607static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3608 PyObject *resultobj;
3609 wxPoint *arg1 = 0 ;
3610 wxWindow *result;
3611 wxPoint temp1 ;
3612 PyObject * obj0 = 0 ;
3613 char *kwnames[] = {
3614 (char *) "pt", NULL
3615 };
3616
3617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
3618 {
3619 arg1 = &temp1;
3620 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3621 }
3622 {
3623 PyThreadState* __tstate = wxPyBeginAllowThreads();
3624 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
3625
3626 wxPyEndAllowThreads(__tstate);
3627 if (PyErr_Occurred()) SWIG_fail;
3628 }
3629 {
3630 resultobj = wxPyMake_wxObject(result);
3631 }
3632 return resultobj;
3633 fail:
3634 return NULL;
3635}
3636
3637
3638static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3639 PyObject *resultobj;
3640 wxWindow *arg1 = (wxWindow *) 0 ;
3641 wxWindow *result;
3642 PyObject * obj0 = 0 ;
3643 char *kwnames[] = {
3644 (char *) "win", NULL
3645 };
3646
3647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
3648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3649 {
3650 PyThreadState* __tstate = wxPyBeginAllowThreads();
3651 result = (wxWindow *)wxGetTopLevelParent(arg1);
3652
3653 wxPyEndAllowThreads(__tstate);
3654 if (PyErr_Occurred()) SWIG_fail;
3655 }
3656 {
3657 resultobj = wxPyMake_wxObject(result);
3658 }
3659 return resultobj;
3660 fail:
3661 return NULL;
3662}
3663
3664
3665static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
3666 PyObject *resultobj;
3667 char *kwnames[] = {
3668 NULL
3669 };
3670
3671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
3672 {
3673 PyThreadState* __tstate = wxPyBeginAllowThreads();
3674 wxWakeUpMainThread();
3675
3676 wxPyEndAllowThreads(__tstate);
3677 if (PyErr_Occurred()) SWIG_fail;
3678 }
3679 Py_INCREF(Py_None); resultobj = Py_None;
3680 return resultobj;
3681 fail:
3682 return NULL;
3683}
3684
3685
3686static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
3687 PyObject *resultobj;
3688 char *kwnames[] = {
3689 NULL
3690 };
3691
3692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
3693 {
3694 PyThreadState* __tstate = wxPyBeginAllowThreads();
3695 wxMutexGuiEnter();
3696
3697 wxPyEndAllowThreads(__tstate);
3698 if (PyErr_Occurred()) SWIG_fail;
3699 }
3700 Py_INCREF(Py_None); resultobj = Py_None;
3701 return resultobj;
3702 fail:
3703 return NULL;
3704}
3705
3706
3707static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
3708 PyObject *resultobj;
3709 char *kwnames[] = {
3710 NULL
3711 };
3712
3713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
3714 {
3715 PyThreadState* __tstate = wxPyBeginAllowThreads();
3716 wxMutexGuiLeave();
3717
3718 wxPyEndAllowThreads(__tstate);
3719 if (PyErr_Occurred()) SWIG_fail;
3720 }
3721 Py_INCREF(Py_None); resultobj = Py_None;
3722 return resultobj;
3723 fail:
3724 return NULL;
3725}
3726
3727
3728static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3729 PyObject *resultobj;
3730 wxMutexGuiLocker *result;
3731 char *kwnames[] = {
3732 NULL
3733 };
3734
3735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
3736 {
3737 PyThreadState* __tstate = wxPyBeginAllowThreads();
3738 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
3739
3740 wxPyEndAllowThreads(__tstate);
3741 if (PyErr_Occurred()) SWIG_fail;
3742 }
3743 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMutexGuiLocker, 1);
3744 return resultobj;
3745 fail:
3746 return NULL;
3747}
3748
3749
3750static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3751 PyObject *resultobj;
3752 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
3753 PyObject * obj0 = 0 ;
3754 char *kwnames[] = {
3755 (char *) "self", NULL
3756 };
3757
3758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
3759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMutexGuiLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3760 {
3761 PyThreadState* __tstate = wxPyBeginAllowThreads();
3762 delete arg1;
3763
3764 wxPyEndAllowThreads(__tstate);
3765 if (PyErr_Occurred()) SWIG_fail;
3766 }
3767 Py_INCREF(Py_None); resultobj = Py_None;
3768 return resultobj;
3769 fail:
3770 return NULL;
3771}
3772
3773
3774static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
3775 PyObject *obj;
3776 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3777 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
3778 Py_INCREF(obj);
3779 return Py_BuildValue((char *)"");
3780}
3781static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
3782 PyObject *resultobj;
3783 bool result;
3784 char *kwnames[] = {
3785 NULL
3786 };
3787
3788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
3789 {
3790 PyThreadState* __tstate = wxPyBeginAllowThreads();
3791 result = (bool)wxThread_IsMain();
3792
3793 wxPyEndAllowThreads(__tstate);
3794 if (PyErr_Occurred()) SWIG_fail;
3795 }
3796 resultobj = PyInt_FromLong((long)result);
3797 return resultobj;
3798 fail:
3799 return NULL;
3800}
3801
3802
3803static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3804 PyObject *resultobj;
3805 wxString *arg1 = 0 ;
3806 wxToolTip *result;
3807 bool temp1 = false ;
3808 PyObject * obj0 = 0 ;
3809 char *kwnames[] = {
3810 (char *) "tip", NULL
3811 };
3812
3813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
3814 {
3815 arg1 = wxString_in_helper(obj0);
3816 if (arg1 == NULL) SWIG_fail;
3817 temp1 = true;
3818 }
3819 {
3820 PyThreadState* __tstate = wxPyBeginAllowThreads();
3821 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
3822
3823 wxPyEndAllowThreads(__tstate);
3824 if (PyErr_Occurred()) SWIG_fail;
3825 }
3826 {
3827 resultobj = wxPyMake_wxObject(result);
3828 }
3829 {
3830 if (temp1)
3831 delete arg1;
3832 }
3833 return resultobj;
3834 fail:
3835 {
3836 if (temp1)
3837 delete arg1;
3838 }
3839 return NULL;
3840}
3841
3842
3843static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3844 PyObject *resultobj;
3845 wxToolTip *arg1 = (wxToolTip *) 0 ;
3846 wxString *arg2 = 0 ;
3847 bool temp2 = false ;
3848 PyObject * obj0 = 0 ;
3849 PyObject * obj1 = 0 ;
3850 char *kwnames[] = {
3851 (char *) "self",(char *) "tip", NULL
3852 };
3853
3854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
3855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3856 {
3857 arg2 = wxString_in_helper(obj1);
3858 if (arg2 == NULL) SWIG_fail;
3859 temp2 = true;
3860 }
3861 {
3862 PyThreadState* __tstate = wxPyBeginAllowThreads();
3863 (arg1)->SetTip((wxString const &)*arg2);
3864
3865 wxPyEndAllowThreads(__tstate);
3866 if (PyErr_Occurred()) SWIG_fail;
3867 }
3868 Py_INCREF(Py_None); resultobj = Py_None;
3869 {
3870 if (temp2)
3871 delete arg2;
3872 }
3873 return resultobj;
3874 fail:
3875 {
3876 if (temp2)
3877 delete arg2;
3878 }
3879 return NULL;
3880}
3881
3882
3883static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3884 PyObject *resultobj;
3885 wxToolTip *arg1 = (wxToolTip *) 0 ;
3886 wxString result;
3887 PyObject * obj0 = 0 ;
3888 char *kwnames[] = {
3889 (char *) "self", NULL
3890 };
3891
3892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
3893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3894 {
3895 PyThreadState* __tstate = wxPyBeginAllowThreads();
3896 result = (arg1)->GetTip();
3897
3898 wxPyEndAllowThreads(__tstate);
3899 if (PyErr_Occurred()) SWIG_fail;
3900 }
3901 {
3902#if wxUSE_UNICODE
3903 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3904#else
3905 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3906#endif
3907 }
3908 return resultobj;
3909 fail:
3910 return NULL;
3911}
3912
3913
3914static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3915 PyObject *resultobj;
3916 wxToolTip *arg1 = (wxToolTip *) 0 ;
3917 wxWindow *result;
3918 PyObject * obj0 = 0 ;
3919 char *kwnames[] = {
3920 (char *) "self", NULL
3921 };
3922
3923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
3924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3925 {
3926 PyThreadState* __tstate = wxPyBeginAllowThreads();
3927 result = (wxWindow *)(arg1)->GetWindow();
3928
3929 wxPyEndAllowThreads(__tstate);
3930 if (PyErr_Occurred()) SWIG_fail;
3931 }
3932 {
3933 resultobj = wxPyMake_wxObject(result);
3934 }
3935 return resultobj;
3936 fail:
3937 return NULL;
3938}
3939
3940
3941static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
3942 PyObject *resultobj;
3943 bool arg1 ;
3944 PyObject * obj0 = 0 ;
3945 char *kwnames[] = {
3946 (char *) "flag", NULL
3947 };
3948
3949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
3950 arg1 = PyInt_AsLong(obj0) ? true : false;
3951 if (PyErr_Occurred()) SWIG_fail;
3952 {
3953 PyThreadState* __tstate = wxPyBeginAllowThreads();
3954 wxToolTip::Enable(arg1);
3955
3956 wxPyEndAllowThreads(__tstate);
3957 if (PyErr_Occurred()) SWIG_fail;
3958 }
3959 Py_INCREF(Py_None); resultobj = Py_None;
3960 return resultobj;
3961 fail:
3962 return NULL;
3963}
3964
3965
3966static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
3967 PyObject *resultobj;
3968 long arg1 ;
3969 char *kwnames[] = {
3970 (char *) "milliseconds", NULL
3971 };
3972
3973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:ToolTip_SetDelay",kwnames,&arg1)) goto fail;
3974 {
3975 PyThreadState* __tstate = wxPyBeginAllowThreads();
3976 wxToolTip::SetDelay(arg1);
3977
3978 wxPyEndAllowThreads(__tstate);
3979 if (PyErr_Occurred()) SWIG_fail;
3980 }
3981 Py_INCREF(Py_None); resultobj = Py_None;
3982 return resultobj;
3983 fail:
3984 return NULL;
3985}
3986
3987
3988static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
3989 PyObject *obj;
3990 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3991 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
3992 Py_INCREF(obj);
3993 return Py_BuildValue((char *)"");
3994}
3995static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
3996 PyObject *resultobj;
3997 wxWindow *arg1 = (wxWindow *) 0 ;
3998 wxSize *arg2 = 0 ;
3999 wxCaret *result;
4000 wxSize temp2 ;
4001 PyObject * obj0 = 0 ;
4002 PyObject * obj1 = 0 ;
4003 char *kwnames[] = {
4004 (char *) "window",(char *) "size", NULL
4005 };
4006
4007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4009 {
4010 arg2 = &temp2;
4011 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4012 }
4013 {
4014 PyThreadState* __tstate = wxPyBeginAllowThreads();
4015 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4016
4017 wxPyEndAllowThreads(__tstate);
4018 if (PyErr_Occurred()) SWIG_fail;
4019 }
4020 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 1);
4021 return resultobj;
4022 fail:
4023 return NULL;
4024}
4025
4026
4027static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4028 PyObject *resultobj;
4029 wxCaret *arg1 = (wxCaret *) 0 ;
4030 PyObject * obj0 = 0 ;
4031 char *kwnames[] = {
4032 (char *) "self", NULL
4033 };
4034
4035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4037 {
4038 PyThreadState* __tstate = wxPyBeginAllowThreads();
4039 delete arg1;
4040
4041 wxPyEndAllowThreads(__tstate);
4042 if (PyErr_Occurred()) SWIG_fail;
4043 }
4044 Py_INCREF(Py_None); resultobj = Py_None;
4045 return resultobj;
4046 fail:
4047 return NULL;
4048}
4049
4050
4051static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4052 PyObject *resultobj;
4053 wxCaret *arg1 = (wxCaret *) 0 ;
4054 bool result;
4055 PyObject * obj0 = 0 ;
4056 char *kwnames[] = {
4057 (char *) "self", NULL
4058 };
4059
4060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 result = (bool)(arg1)->IsOk();
4065
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 resultobj = PyInt_FromLong((long)result);
4070 return resultobj;
4071 fail:
4072 return NULL;
4073}
4074
4075
4076static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4077 PyObject *resultobj;
4078 wxCaret *arg1 = (wxCaret *) 0 ;
4079 bool result;
4080 PyObject * obj0 = 0 ;
4081 char *kwnames[] = {
4082 (char *) "self", NULL
4083 };
4084
4085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4087 {
4088 PyThreadState* __tstate = wxPyBeginAllowThreads();
4089 result = (bool)(arg1)->IsVisible();
4090
4091 wxPyEndAllowThreads(__tstate);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
4094 resultobj = PyInt_FromLong((long)result);
4095 return resultobj;
4096 fail:
4097 return NULL;
4098}
4099
4100
4101static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4102 PyObject *resultobj;
4103 wxCaret *arg1 = (wxCaret *) 0 ;
4104 int *arg2 = (int *) 0 ;
4105 int *arg3 = (int *) 0 ;
4106 int temp2 ;
4107 int temp3 ;
4108 PyObject * obj0 = 0 ;
4109 char *kwnames[] = {
4110 (char *) "self", NULL
4111 };
4112
4113 arg2 = &temp2;
4114 arg3 = &temp3;
4115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4117 {
4118 PyThreadState* __tstate = wxPyBeginAllowThreads();
4119 (arg1)->GetPosition(arg2,arg3);
4120
4121 wxPyEndAllowThreads(__tstate);
4122 if (PyErr_Occurred()) SWIG_fail;
4123 }
4124 Py_INCREF(Py_None); resultobj = Py_None;
4125 {
4126 PyObject *o = PyInt_FromLong((long) (*arg2));
4127 resultobj = t_output_helper(resultobj,o);
4128 }
4129 {
4130 PyObject *o = PyInt_FromLong((long) (*arg3));
4131 resultobj = t_output_helper(resultobj,o);
4132 }
4133 return resultobj;
4134 fail:
4135 return NULL;
4136}
4137
4138
4139static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4140 PyObject *resultobj;
4141 wxCaret *arg1 = (wxCaret *) 0 ;
4142 wxPoint result;
4143 PyObject * obj0 = 0 ;
4144 char *kwnames[] = {
4145 (char *) "self", NULL
4146 };
4147
4148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4150 {
4151 PyThreadState* __tstate = wxPyBeginAllowThreads();
4152 result = (arg1)->GetPosition();
4153
4154 wxPyEndAllowThreads(__tstate);
4155 if (PyErr_Occurred()) SWIG_fail;
4156 }
4157 {
4158 wxPoint * resultptr;
4159 resultptr = new wxPoint((wxPoint &) result);
4160 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4161 }
4162 return resultobj;
4163 fail:
4164 return NULL;
4165}
4166
4167
4168static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4169 PyObject *resultobj;
4170 wxCaret *arg1 = (wxCaret *) 0 ;
4171 int *arg2 = (int *) 0 ;
4172 int *arg3 = (int *) 0 ;
4173 int temp2 ;
4174 int temp3 ;
4175 PyObject * obj0 = 0 ;
4176 char *kwnames[] = {
4177 (char *) "self", NULL
4178 };
4179
4180 arg2 = &temp2;
4181 arg3 = &temp3;
4182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4184 {
4185 PyThreadState* __tstate = wxPyBeginAllowThreads();
4186 (arg1)->GetSize(arg2,arg3);
4187
4188 wxPyEndAllowThreads(__tstate);
4189 if (PyErr_Occurred()) SWIG_fail;
4190 }
4191 Py_INCREF(Py_None); resultobj = Py_None;
4192 {
4193 PyObject *o = PyInt_FromLong((long) (*arg2));
4194 resultobj = t_output_helper(resultobj,o);
4195 }
4196 {
4197 PyObject *o = PyInt_FromLong((long) (*arg3));
4198 resultobj = t_output_helper(resultobj,o);
4199 }
4200 return resultobj;
4201 fail:
4202 return NULL;
4203}
4204
4205
4206static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4207 PyObject *resultobj;
4208 wxCaret *arg1 = (wxCaret *) 0 ;
4209 wxSize result;
4210 PyObject * obj0 = 0 ;
4211 char *kwnames[] = {
4212 (char *) "self", NULL
4213 };
4214
4215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4217 {
4218 PyThreadState* __tstate = wxPyBeginAllowThreads();
4219 result = (arg1)->GetSize();
4220
4221 wxPyEndAllowThreads(__tstate);
4222 if (PyErr_Occurred()) SWIG_fail;
4223 }
4224 {
4225 wxSize * resultptr;
4226 resultptr = new wxSize((wxSize &) result);
4227 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
4228 }
4229 return resultobj;
4230 fail:
4231 return NULL;
4232}
4233
4234
4235static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4236 PyObject *resultobj;
4237 wxCaret *arg1 = (wxCaret *) 0 ;
4238 wxWindow *result;
4239 PyObject * obj0 = 0 ;
4240 char *kwnames[] = {
4241 (char *) "self", NULL
4242 };
4243
4244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4246 {
4247 PyThreadState* __tstate = wxPyBeginAllowThreads();
4248 result = (wxWindow *)(arg1)->GetWindow();
4249
4250 wxPyEndAllowThreads(__tstate);
4251 if (PyErr_Occurred()) SWIG_fail;
4252 }
4253 {
4254 resultobj = wxPyMake_wxObject(result);
4255 }
4256 return resultobj;
4257 fail:
4258 return NULL;
4259}
4260
4261
4262static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4263 PyObject *resultobj;
4264 wxCaret *arg1 = (wxCaret *) 0 ;
4265 int arg2 ;
4266 int arg3 ;
4267 PyObject * obj0 = 0 ;
4268 char *kwnames[] = {
4269 (char *) "self",(char *) "x",(char *) "y", NULL
4270 };
4271
4272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_MoveXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
4273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4274 {
4275 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276 (arg1)->Move(arg2,arg3);
4277
4278 wxPyEndAllowThreads(__tstate);
4279 if (PyErr_Occurred()) SWIG_fail;
4280 }
4281 Py_INCREF(Py_None); resultobj = Py_None;
4282 return resultobj;
4283 fail:
4284 return NULL;
4285}
4286
4287
4288static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4289 PyObject *resultobj;
4290 wxCaret *arg1 = (wxCaret *) 0 ;
4291 wxPoint *arg2 = 0 ;
4292 wxPoint temp2 ;
4293 PyObject * obj0 = 0 ;
4294 PyObject * obj1 = 0 ;
4295 char *kwnames[] = {
4296 (char *) "self",(char *) "pt", NULL
4297 };
4298
4299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4301 {
4302 arg2 = &temp2;
4303 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4304 }
4305 {
4306 PyThreadState* __tstate = wxPyBeginAllowThreads();
4307 (arg1)->Move((wxPoint const &)*arg2);
4308
4309 wxPyEndAllowThreads(__tstate);
4310 if (PyErr_Occurred()) SWIG_fail;
4311 }
4312 Py_INCREF(Py_None); resultobj = Py_None;
4313 return resultobj;
4314 fail:
4315 return NULL;
4316}
4317
4318
4319static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4320 PyObject *resultobj;
4321 wxCaret *arg1 = (wxCaret *) 0 ;
4322 int arg2 ;
4323 int arg3 ;
4324 PyObject * obj0 = 0 ;
4325 char *kwnames[] = {
4326 (char *) "self",(char *) "width",(char *) "height", NULL
4327 };
4328
4329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
4330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4331 {
4332 PyThreadState* __tstate = wxPyBeginAllowThreads();
4333 (arg1)->SetSize(arg2,arg3);
4334
4335 wxPyEndAllowThreads(__tstate);
4336 if (PyErr_Occurred()) SWIG_fail;
4337 }
4338 Py_INCREF(Py_None); resultobj = Py_None;
4339 return resultobj;
4340 fail:
4341 return NULL;
4342}
4343
4344
4345static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4346 PyObject *resultobj;
4347 wxCaret *arg1 = (wxCaret *) 0 ;
4348 wxSize *arg2 = 0 ;
4349 wxSize temp2 ;
4350 PyObject * obj0 = 0 ;
4351 PyObject * obj1 = 0 ;
4352 char *kwnames[] = {
4353 (char *) "self",(char *) "size", NULL
4354 };
4355
4356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4358 {
4359 arg2 = &temp2;
4360 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4361 }
4362 {
4363 PyThreadState* __tstate = wxPyBeginAllowThreads();
4364 (arg1)->SetSize((wxSize const &)*arg2);
4365
4366 wxPyEndAllowThreads(__tstate);
4367 if (PyErr_Occurred()) SWIG_fail;
4368 }
4369 Py_INCREF(Py_None); resultobj = Py_None;
4370 return resultobj;
4371 fail:
4372 return NULL;
4373}
4374
4375
4376static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4377 PyObject *resultobj;
4378 wxCaret *arg1 = (wxCaret *) 0 ;
4379 int arg2 = (int) TRUE ;
4380 PyObject * obj0 = 0 ;
4381 char *kwnames[] = {
4382 (char *) "self",(char *) "show", NULL
4383 };
4384
4385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Caret_Show",kwnames,&obj0,&arg2)) goto fail;
4386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4387 {
4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
4389 (arg1)->Show(arg2);
4390
4391 wxPyEndAllowThreads(__tstate);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 }
4394 Py_INCREF(Py_None); resultobj = Py_None;
4395 return resultobj;
4396 fail:
4397 return NULL;
4398}
4399
4400
4401static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4402 PyObject *resultobj;
4403 wxCaret *arg1 = (wxCaret *) 0 ;
4404 PyObject * obj0 = 0 ;
4405 char *kwnames[] = {
4406 (char *) "self", NULL
4407 };
4408
4409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4411 {
4412 PyThreadState* __tstate = wxPyBeginAllowThreads();
4413 (arg1)->Hide();
4414
4415 wxPyEndAllowThreads(__tstate);
4416 if (PyErr_Occurred()) SWIG_fail;
4417 }
4418 Py_INCREF(Py_None); resultobj = Py_None;
4419 return resultobj;
4420 fail:
4421 return NULL;
4422}
4423
4424
4425static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4426 PyObject *obj;
4427 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4428 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4429 Py_INCREF(obj);
4430 return Py_BuildValue((char *)"");
4431}
4432static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4433 PyObject *resultobj;
4434 int result;
4435 char *kwnames[] = {
4436 NULL
4437 };
4438
4439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4440 {
4441 PyThreadState* __tstate = wxPyBeginAllowThreads();
4442 result = (int)wxCaret_GetBlinkTime();
4443
4444 wxPyEndAllowThreads(__tstate);
4445 if (PyErr_Occurred()) SWIG_fail;
4446 }
4447 resultobj = PyInt_FromLong((long)result);
4448 return resultobj;
4449 fail:
4450 return NULL;
4451}
4452
4453
4454static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4455 PyObject *resultobj;
4456 int arg1 ;
4457 char *kwnames[] = {
4458 (char *) "milliseconds", NULL
4459 };
4460
4461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Caret_SetBlinkTime",kwnames,&arg1)) goto fail;
4462 {
4463 PyThreadState* __tstate = wxPyBeginAllowThreads();
4464 wxCaret_SetBlinkTime(arg1);
4465
4466 wxPyEndAllowThreads(__tstate);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
4469 Py_INCREF(Py_None); resultobj = Py_None;
4470 return resultobj;
4471 fail:
4472 return NULL;
4473}
4474
4475
4476static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4477 PyObject *resultobj;
4478 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4479 wxBusyCursor *result;
4480 PyObject * obj0 = 0 ;
4481 char *kwnames[] = {
4482 (char *) "cursor", NULL
4483 };
4484
4485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
4486 if (obj0) {
4487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4488 }
4489 {
4490 PyThreadState* __tstate = wxPyBeginAllowThreads();
4491 result = (wxBusyCursor *)new wxBusyCursor(arg1);
4492
4493 wxPyEndAllowThreads(__tstate);
4494 if (PyErr_Occurred()) SWIG_fail;
4495 }
4496 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyCursor, 1);
4497 return resultobj;
4498 fail:
4499 return NULL;
4500}
4501
4502
4503static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4504 PyObject *resultobj;
4505 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
4506 PyObject * obj0 = 0 ;
4507 char *kwnames[] = {
4508 (char *) "self", NULL
4509 };
4510
4511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
4512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4513 {
4514 PyThreadState* __tstate = wxPyBeginAllowThreads();
4515 delete arg1;
4516
4517 wxPyEndAllowThreads(__tstate);
4518 if (PyErr_Occurred()) SWIG_fail;
4519 }
4520 Py_INCREF(Py_None); resultobj = Py_None;
4521 return resultobj;
4522 fail:
4523 return NULL;
4524}
4525
4526
4527static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
4528 PyObject *obj;
4529 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4530 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
4531 Py_INCREF(obj);
4532 return Py_BuildValue((char *)"");
4533}
4534static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4535 PyObject *resultobj;
4536 wxWindow *arg1 = (wxWindow *) NULL ;
4537 wxWindowDisabler *result;
4538 PyObject * obj0 = 0 ;
4539 char *kwnames[] = {
4540 (char *) "winToSkip", NULL
4541 };
4542
4543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
4544 if (obj0) {
4545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4546 }
4547 {
4548 PyThreadState* __tstate = wxPyBeginAllowThreads();
4549 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
4550
4551 wxPyEndAllowThreads(__tstate);
4552 if (PyErr_Occurred()) SWIG_fail;
4553 }
4554 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDisabler, 1);
4555 return resultobj;
4556 fail:
4557 return NULL;
4558}
4559
4560
4561static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4562 PyObject *resultobj;
4563 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
4564 PyObject * obj0 = 0 ;
4565 char *kwnames[] = {
4566 (char *) "self", NULL
4567 };
4568
4569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
4570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4571 {
4572 PyThreadState* __tstate = wxPyBeginAllowThreads();
4573 delete arg1;
4574
4575 wxPyEndAllowThreads(__tstate);
4576 if (PyErr_Occurred()) SWIG_fail;
4577 }
4578 Py_INCREF(Py_None); resultobj = Py_None;
4579 return resultobj;
4580 fail:
4581 return NULL;
4582}
4583
4584
4585static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
4586 PyObject *obj;
4587 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4588 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
4589 Py_INCREF(obj);
4590 return Py_BuildValue((char *)"");
4591}
4592static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4593 PyObject *resultobj;
4594 wxString *arg1 = 0 ;
4595 wxBusyInfo *result;
4596 bool temp1 = false ;
4597 PyObject * obj0 = 0 ;
4598 char *kwnames[] = {
4599 (char *) "message", NULL
4600 };
4601
4602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
4603 {
4604 arg1 = wxString_in_helper(obj0);
4605 if (arg1 == NULL) SWIG_fail;
4606 temp1 = true;
4607 }
4608 {
4609 PyThreadState* __tstate = wxPyBeginAllowThreads();
4610 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
4611
4612 wxPyEndAllowThreads(__tstate);
4613 if (PyErr_Occurred()) SWIG_fail;
4614 }
4615 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyInfo, 1);
4616 {
4617 if (temp1)
4618 delete arg1;
4619 }
4620 return resultobj;
4621 fail:
4622 {
4623 if (temp1)
4624 delete arg1;
4625 }
4626 return NULL;
4627}
4628
4629
4630static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4631 PyObject *resultobj;
4632 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
4633 PyObject * obj0 = 0 ;
4634 char *kwnames[] = {
4635 (char *) "self", NULL
4636 };
4637
4638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
4639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4640 {
4641 PyThreadState* __tstate = wxPyBeginAllowThreads();
4642 delete arg1;
4643
4644 wxPyEndAllowThreads(__tstate);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 }
4647 Py_INCREF(Py_None); resultobj = Py_None;
4648 return resultobj;
4649 fail:
4650 return NULL;
4651}
4652
4653
4654static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
4655 PyObject *obj;
4656 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4657 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
4658 Py_INCREF(obj);
4659 return Py_BuildValue((char *)"");
4660}
4661static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
4662 PyObject *resultobj;
4663 wxStopWatch *result;
4664 char *kwnames[] = {
4665 NULL
4666 };
4667
4668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
4669 {
4670 PyThreadState* __tstate = wxPyBeginAllowThreads();
4671 result = (wxStopWatch *)new wxStopWatch();
4672
4673 wxPyEndAllowThreads(__tstate);
4674 if (PyErr_Occurred()) SWIG_fail;
4675 }
4676 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStopWatch, 1);
4677 return resultobj;
4678 fail:
4679 return NULL;
4680}
4681
4682
4683static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
4684 PyObject *resultobj;
4685 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4686 long arg2 = (long) 0 ;
4687 PyObject * obj0 = 0 ;
4688 char *kwnames[] = {
4689 (char *) "self",(char *) "t0", NULL
4690 };
4691
4692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:StopWatch_Start",kwnames,&obj0,&arg2)) goto fail;
4693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4694 {
4695 PyThreadState* __tstate = wxPyBeginAllowThreads();
4696 (arg1)->Start(arg2);
4697
4698 wxPyEndAllowThreads(__tstate);
4699 if (PyErr_Occurred()) SWIG_fail;
4700 }
4701 Py_INCREF(Py_None); resultobj = Py_None;
4702 return resultobj;
4703 fail:
4704 return NULL;
4705}
4706
4707
4708static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
4709 PyObject *resultobj;
4710 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4711 PyObject * obj0 = 0 ;
4712 char *kwnames[] = {
4713 (char *) "self", NULL
4714 };
4715
4716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
4717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4718 {
4719 PyThreadState* __tstate = wxPyBeginAllowThreads();
4720 (arg1)->Pause();
4721
4722 wxPyEndAllowThreads(__tstate);
4723 if (PyErr_Occurred()) SWIG_fail;
4724 }
4725 Py_INCREF(Py_None); resultobj = Py_None;
4726 return resultobj;
4727 fail:
4728 return NULL;
4729}
4730
4731
4732static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
4733 PyObject *resultobj;
4734 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4735 PyObject * obj0 = 0 ;
4736 char *kwnames[] = {
4737 (char *) "self", NULL
4738 };
4739
4740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
4741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4742 {
4743 PyThreadState* __tstate = wxPyBeginAllowThreads();
4744 (arg1)->Resume();
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_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
4757 PyObject *resultobj;
4758 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4759 long result;
4760 PyObject * obj0 = 0 ;
4761 char *kwnames[] = {
4762 (char *) "self", NULL
4763 };
4764
4765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
4766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4767 {
4768 PyThreadState* __tstate = wxPyBeginAllowThreads();
4769 result = (long)((wxStopWatch const *)arg1)->Time();
4770
4771 wxPyEndAllowThreads(__tstate);
4772 if (PyErr_Occurred()) SWIG_fail;
4773 }
4774 resultobj = PyInt_FromLong((long)result);
4775 return resultobj;
4776 fail:
4777 return NULL;
4778}
4779
4780
4781static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
4782 PyObject *obj;
4783 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4784 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
4785 Py_INCREF(obj);
4786 return Py_BuildValue((char *)"");
4787}
4788static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4789 PyObject *resultobj;
4790 int arg1 = (int) 9 ;
4791 wxFileHistory *result;
4792 char *kwnames[] = {
4793 (char *) "maxFiles", NULL
4794 };
4795
4796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FileHistory",kwnames,&arg1)) goto fail;
4797 {
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 result = (wxFileHistory *)new wxFileHistory(arg1);
4800
4801 wxPyEndAllowThreads(__tstate);
4802 if (PyErr_Occurred()) SWIG_fail;
4803 }
4804 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileHistory, 1);
4805 return resultobj;
4806 fail:
4807 return NULL;
4808}
4809
4810
4811static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4812 PyObject *resultobj;
4813 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4814 PyObject * obj0 = 0 ;
4815 char *kwnames[] = {
4816 (char *) "self", NULL
4817 };
4818
4819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
4820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4821 {
4822 PyThreadState* __tstate = wxPyBeginAllowThreads();
4823 delete arg1;
4824
4825 wxPyEndAllowThreads(__tstate);
4826 if (PyErr_Occurred()) SWIG_fail;
4827 }
4828 Py_INCREF(Py_None); resultobj = Py_None;
4829 return resultobj;
4830 fail:
4831 return NULL;
4832}
4833
4834
4835static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4836 PyObject *resultobj;
4837 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4838 wxString *arg2 = 0 ;
4839 bool temp2 = false ;
4840 PyObject * obj0 = 0 ;
4841 PyObject * obj1 = 0 ;
4842 char *kwnames[] = {
4843 (char *) "self",(char *) "file", NULL
4844 };
4845
4846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
4847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4848 {
4849 arg2 = wxString_in_helper(obj1);
4850 if (arg2 == NULL) SWIG_fail;
4851 temp2 = true;
4852 }
4853 {
4854 PyThreadState* __tstate = wxPyBeginAllowThreads();
4855 (arg1)->AddFileToHistory((wxString const &)*arg2);
4856
4857 wxPyEndAllowThreads(__tstate);
4858 if (PyErr_Occurred()) SWIG_fail;
4859 }
4860 Py_INCREF(Py_None); resultobj = Py_None;
4861 {
4862 if (temp2)
4863 delete arg2;
4864 }
4865 return resultobj;
4866 fail:
4867 {
4868 if (temp2)
4869 delete arg2;
4870 }
4871 return NULL;
4872}
4873
4874
4875static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4876 PyObject *resultobj;
4877 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4878 int arg2 ;
4879 PyObject * obj0 = 0 ;
4880 char *kwnames[] = {
4881 (char *) "self",(char *) "i", NULL
4882 };
4883
4884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&arg2)) goto fail;
4885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4886 {
4887 PyThreadState* __tstate = wxPyBeginAllowThreads();
4888 (arg1)->RemoveFileFromHistory(arg2);
4889
4890 wxPyEndAllowThreads(__tstate);
4891 if (PyErr_Occurred()) SWIG_fail;
4892 }
4893 Py_INCREF(Py_None); resultobj = Py_None;
4894 return resultobj;
4895 fail:
4896 return NULL;
4897}
4898
4899
4900static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
4901 PyObject *resultobj;
4902 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4903 int result;
4904 PyObject * obj0 = 0 ;
4905 char *kwnames[] = {
4906 (char *) "self", NULL
4907 };
4908
4909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
4910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4911 {
4912 PyThreadState* __tstate = wxPyBeginAllowThreads();
4913 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
4914
4915 wxPyEndAllowThreads(__tstate);
4916 if (PyErr_Occurred()) SWIG_fail;
4917 }
4918 resultobj = PyInt_FromLong((long)result);
4919 return resultobj;
4920 fail:
4921 return NULL;
4922}
4923
4924
4925static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4926 PyObject *resultobj;
4927 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4928 wxMenu *arg2 = (wxMenu *) 0 ;
4929 PyObject * obj0 = 0 ;
4930 PyObject * obj1 = 0 ;
4931 char *kwnames[] = {
4932 (char *) "self",(char *) "menu", NULL
4933 };
4934
4935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
4936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4937 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4938 {
4939 PyThreadState* __tstate = wxPyBeginAllowThreads();
4940 (arg1)->UseMenu(arg2);
4941
4942 wxPyEndAllowThreads(__tstate);
4943 if (PyErr_Occurred()) SWIG_fail;
4944 }
4945 Py_INCREF(Py_None); resultobj = Py_None;
4946 return resultobj;
4947 fail:
4948 return NULL;
4949}
4950
4951
4952static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4953 PyObject *resultobj;
4954 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4955 wxMenu *arg2 = (wxMenu *) 0 ;
4956 PyObject * obj0 = 0 ;
4957 PyObject * obj1 = 0 ;
4958 char *kwnames[] = {
4959 (char *) "self",(char *) "menu", NULL
4960 };
4961
4962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
4963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4964 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4965 {
4966 PyThreadState* __tstate = wxPyBeginAllowThreads();
4967 (arg1)->RemoveMenu(arg2);
4968
4969 wxPyEndAllowThreads(__tstate);
4970 if (PyErr_Occurred()) SWIG_fail;
4971 }
4972 Py_INCREF(Py_None); resultobj = Py_None;
4973 return resultobj;
4974 fail:
4975 return NULL;
4976}
4977
4978
4979static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
4980 PyObject *resultobj;
4981 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4982 wxConfigBase *arg2 = 0 ;
4983 PyObject * obj0 = 0 ;
4984 PyObject * obj1 = 0 ;
4985 char *kwnames[] = {
4986 (char *) "self",(char *) "config", NULL
4987 };
4988
4989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
4990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4991 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4992 if (arg2 == NULL) {
4993 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4994 }
4995 {
4996 PyThreadState* __tstate = wxPyBeginAllowThreads();
4997 (arg1)->Load(*arg2);
4998
4999 wxPyEndAllowThreads(__tstate);
5000 if (PyErr_Occurred()) SWIG_fail;
5001 }
5002 Py_INCREF(Py_None); resultobj = Py_None;
5003 return resultobj;
5004 fail:
5005 return NULL;
5006}
5007
5008
5009static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5010 PyObject *resultobj;
5011 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5012 wxConfigBase *arg2 = 0 ;
5013 PyObject * obj0 = 0 ;
5014 PyObject * obj1 = 0 ;
5015 char *kwnames[] = {
5016 (char *) "self",(char *) "config", NULL
5017 };
5018
5019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5021 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5022 if (arg2 == NULL) {
5023 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5024 }
5025 {
5026 PyThreadState* __tstate = wxPyBeginAllowThreads();
5027 (arg1)->Save(*arg2);
5028
5029 wxPyEndAllowThreads(__tstate);
5030 if (PyErr_Occurred()) SWIG_fail;
5031 }
5032 Py_INCREF(Py_None); resultobj = Py_None;
5033 return resultobj;
5034 fail:
5035 return NULL;
5036}
5037
5038
5039static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5040 PyObject *resultobj;
5041 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5042 PyObject * obj0 = 0 ;
5043 char *kwnames[] = {
5044 (char *) "self", NULL
5045 };
5046
5047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5049 {
5050 PyThreadState* __tstate = wxPyBeginAllowThreads();
5051 (arg1)->AddFilesToMenu();
5052
5053 wxPyEndAllowThreads(__tstate);
5054 if (PyErr_Occurred()) SWIG_fail;
5055 }
5056 Py_INCREF(Py_None); resultobj = Py_None;
5057 return resultobj;
5058 fail:
5059 return NULL;
5060}
5061
5062
5063static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5064 PyObject *resultobj;
5065 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5066 wxMenu *arg2 = (wxMenu *) 0 ;
5067 PyObject * obj0 = 0 ;
5068 PyObject * obj1 = 0 ;
5069 char *kwnames[] = {
5070 (char *) "self",(char *) "menu", NULL
5071 };
5072
5073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5075 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5076 {
5077 PyThreadState* __tstate = wxPyBeginAllowThreads();
5078 (arg1)->AddFilesToMenu(arg2);
5079
5080 wxPyEndAllowThreads(__tstate);
5081 if (PyErr_Occurred()) SWIG_fail;
5082 }
5083 Py_INCREF(Py_None); resultobj = Py_None;
5084 return resultobj;
5085 fail:
5086 return NULL;
5087}
5088
5089
5090static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5091 PyObject *resultobj;
5092 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5093 int arg2 ;
5094 wxString result;
5095 PyObject * obj0 = 0 ;
5096 char *kwnames[] = {
5097 (char *) "self",(char *) "i", NULL
5098 };
5099
5100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_GetHistoryFile",kwnames,&obj0,&arg2)) goto fail;
5101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5102 {
5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5104 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5105
5106 wxPyEndAllowThreads(__tstate);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
5109 {
5110#if wxUSE_UNICODE
5111 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5112#else
5113 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5114#endif
5115 }
5116 return resultobj;
5117 fail:
5118 return NULL;
5119}
5120
5121
5122static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5123 PyObject *resultobj;
5124 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5125 int result;
5126 PyObject * obj0 = 0 ;
5127 char *kwnames[] = {
5128 (char *) "self", NULL
5129 };
5130
5131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5133 {
5134 PyThreadState* __tstate = wxPyBeginAllowThreads();
5135 result = (int)((wxFileHistory const *)arg1)->GetCount();
5136
5137 wxPyEndAllowThreads(__tstate);
5138 if (PyErr_Occurred()) SWIG_fail;
5139 }
5140 resultobj = PyInt_FromLong((long)result);
5141 return resultobj;
5142 fail:
5143 return NULL;
5144}
5145
5146
5147static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5148 PyObject *obj;
5149 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5150 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5151 Py_INCREF(obj);
5152 return Py_BuildValue((char *)"");
5153}
5154static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5155 PyObject *resultobj;
5156 wxString *arg1 = 0 ;
5157 wxString const &arg2_defvalue = wxPyEmptyString ;
5158 wxString *arg2 = (wxString *) &arg2_defvalue ;
5159 wxSingleInstanceChecker *result;
5160 bool temp1 = false ;
5161 bool temp2 = false ;
5162 PyObject * obj0 = 0 ;
5163 PyObject * obj1 = 0 ;
5164 char *kwnames[] = {
5165 (char *) "name",(char *) "path", NULL
5166 };
5167
5168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5169 {
5170 arg1 = wxString_in_helper(obj0);
5171 if (arg1 == NULL) SWIG_fail;
5172 temp1 = true;
5173 }
5174 if (obj1) {
5175 {
5176 arg2 = wxString_in_helper(obj1);
5177 if (arg2 == NULL) SWIG_fail;
5178 temp2 = true;
5179 }
5180 }
5181 {
5182 PyThreadState* __tstate = wxPyBeginAllowThreads();
5183 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5184
5185 wxPyEndAllowThreads(__tstate);
5186 if (PyErr_Occurred()) SWIG_fail;
5187 }
5188 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5189 {
5190 if (temp1)
5191 delete arg1;
5192 }
5193 {
5194 if (temp2)
5195 delete arg2;
5196 }
5197 return resultobj;
5198 fail:
5199 {
5200 if (temp1)
5201 delete arg1;
5202 }
5203 {
5204 if (temp2)
5205 delete arg2;
5206 }
5207 return NULL;
5208}
5209
5210
5211static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5212 PyObject *resultobj;
5213 wxSingleInstanceChecker *result;
5214 char *kwnames[] = {
5215 NULL
5216 };
5217
5218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5219 {
5220 PyThreadState* __tstate = wxPyBeginAllowThreads();
5221 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5222
5223 wxPyEndAllowThreads(__tstate);
5224 if (PyErr_Occurred()) SWIG_fail;
5225 }
5226 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5227 return resultobj;
5228 fail:
5229 return NULL;
5230}
5231
5232
5233static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5234 PyObject *resultobj;
5235 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5236 PyObject * obj0 = 0 ;
5237 char *kwnames[] = {
5238 (char *) "self", NULL
5239 };
5240
5241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5243 {
5244 PyThreadState* __tstate = wxPyBeginAllowThreads();
5245 delete arg1;
5246
5247 wxPyEndAllowThreads(__tstate);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 Py_INCREF(Py_None); resultobj = Py_None;
5251 return resultobj;
5252 fail:
5253 return NULL;
5254}
5255
5256
5257static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5258 PyObject *resultobj;
5259 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5260 wxString *arg2 = 0 ;
5261 wxString const &arg3_defvalue = wxPyEmptyString ;
5262 wxString *arg3 = (wxString *) &arg3_defvalue ;
5263 bool result;
5264 bool temp2 = false ;
5265 bool temp3 = false ;
5266 PyObject * obj0 = 0 ;
5267 PyObject * obj1 = 0 ;
5268 PyObject * obj2 = 0 ;
5269 char *kwnames[] = {
5270 (char *) "self",(char *) "name",(char *) "path", NULL
5271 };
5272
5273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5275 {
5276 arg2 = wxString_in_helper(obj1);
5277 if (arg2 == NULL) SWIG_fail;
5278 temp2 = true;
5279 }
5280 if (obj2) {
5281 {
5282 arg3 = wxString_in_helper(obj2);
5283 if (arg3 == NULL) SWIG_fail;
5284 temp3 = true;
5285 }
5286 }
5287 {
5288 PyThreadState* __tstate = wxPyBeginAllowThreads();
5289 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5290
5291 wxPyEndAllowThreads(__tstate);
5292 if (PyErr_Occurred()) SWIG_fail;
5293 }
5294 resultobj = PyInt_FromLong((long)result);
5295 {
5296 if (temp2)
5297 delete arg2;
5298 }
5299 {
5300 if (temp3)
5301 delete arg3;
5302 }
5303 return resultobj;
5304 fail:
5305 {
5306 if (temp2)
5307 delete arg2;
5308 }
5309 {
5310 if (temp3)
5311 delete arg3;
5312 }
5313 return NULL;
5314}
5315
5316
5317static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5318 PyObject *resultobj;
5319 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5320 bool result;
5321 PyObject * obj0 = 0 ;
5322 char *kwnames[] = {
5323 (char *) "self", NULL
5324 };
5325
5326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5328 {
5329 PyThreadState* __tstate = wxPyBeginAllowThreads();
5330 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5331
5332 wxPyEndAllowThreads(__tstate);
5333 if (PyErr_Occurred()) SWIG_fail;
5334 }
5335 resultobj = PyInt_FromLong((long)result);
5336 return resultobj;
5337 fail:
5338 return NULL;
5339}
5340
5341
5342static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5343 PyObject *obj;
5344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5345 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5346 Py_INCREF(obj);
5347 return Py_BuildValue((char *)"");
5348}
5349static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5350 PyObject *resultobj;
5351 wxWindow *arg1 = (wxWindow *) 0 ;
5352 wxDC *arg2 = 0 ;
5353 int arg3 ;
5354 PyObject * obj0 = 0 ;
5355 PyObject * obj1 = 0 ;
5356 char *kwnames[] = {
5357 (char *) "window",(char *) "dc",(char *) "method", NULL
5358 };
5359
5360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DrawWindowOnDC",kwnames,&obj0,&obj1,&arg3)) goto fail;
5361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5362 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5363 if (arg2 == NULL) {
5364 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5365 }
5366 {
5367 PyThreadState* __tstate = wxPyBeginAllowThreads();
5368 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5369
5370 wxPyEndAllowThreads(__tstate);
5371 if (PyErr_Occurred()) SWIG_fail;
5372 }
5373 Py_INCREF(Py_None); resultobj = Py_None;
5374 return resultobj;
5375 fail:
5376 return NULL;
5377}
5378
5379
5380static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5381 PyObject *resultobj;
5382 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5383 PyObject * obj0 = 0 ;
5384 char *kwnames[] = {
5385 (char *) "self", NULL
5386 };
5387
5388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
5389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5390 {
5391 PyThreadState* __tstate = wxPyBeginAllowThreads();
5392 delete arg1;
5393
5394 wxPyEndAllowThreads(__tstate);
5395 if (PyErr_Occurred()) SWIG_fail;
5396 }
5397 Py_INCREF(Py_None); resultobj = Py_None;
5398 return resultobj;
5399 fail:
5400 return NULL;
5401}
5402
5403
5404static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5405 PyObject *resultobj;
5406 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5407 wxString result;
5408 PyObject * obj0 = 0 ;
5409 char *kwnames[] = {
5410 (char *) "self", NULL
5411 };
5412
5413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
5414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5415 {
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 result = (arg1)->GetTip();
5418
5419 wxPyEndAllowThreads(__tstate);
5420 if (PyErr_Occurred()) SWIG_fail;
5421 }
5422 {
5423#if wxUSE_UNICODE
5424 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5425#else
5426 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5427#endif
5428 }
5429 return resultobj;
5430 fail:
5431 return NULL;
5432}
5433
5434
5435static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5436 PyObject *resultobj;
5437 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5438 size_t result;
5439 PyObject * obj0 = 0 ;
5440 char *kwnames[] = {
5441 (char *) "self", NULL
5442 };
5443
5444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
5445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5446 {
5447 PyThreadState* __tstate = wxPyBeginAllowThreads();
5448 result = (size_t)(arg1)->GetCurrentTip();
5449
5450 wxPyEndAllowThreads(__tstate);
5451 if (PyErr_Occurred()) SWIG_fail;
5452 }
5453 resultobj = PyInt_FromLong((long)result);
5454 return resultobj;
5455 fail:
5456 return NULL;
5457}
5458
5459
5460static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5461 PyObject *resultobj;
5462 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5463 wxString *arg2 = 0 ;
5464 wxString result;
5465 bool temp2 = false ;
5466 PyObject * obj0 = 0 ;
5467 PyObject * obj1 = 0 ;
5468 char *kwnames[] = {
5469 (char *) "self",(char *) "tip", NULL
5470 };
5471
5472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
5473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5474 {
5475 arg2 = wxString_in_helper(obj1);
5476 if (arg2 == NULL) SWIG_fail;
5477 temp2 = true;
5478 }
5479 {
5480 PyThreadState* __tstate = wxPyBeginAllowThreads();
5481 result = (arg1)->PreprocessTip((wxString const &)*arg2);
5482
5483 wxPyEndAllowThreads(__tstate);
5484 if (PyErr_Occurred()) SWIG_fail;
5485 }
5486 {
5487#if wxUSE_UNICODE
5488 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5489#else
5490 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5491#endif
5492 }
5493 {
5494 if (temp2)
5495 delete arg2;
5496 }
5497 return resultobj;
5498 fail:
5499 {
5500 if (temp2)
5501 delete arg2;
5502 }
5503 return NULL;
5504}
5505
5506
5507static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
5508 PyObject *obj;
5509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5510 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
5511 Py_INCREF(obj);
5512 return Py_BuildValue((char *)"");
5513}
5514static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5515 PyObject *resultobj;
5516 size_t arg1 ;
5517 wxPyTipProvider *result;
5518 PyObject * obj0 = 0 ;
5519 char *kwnames[] = {
5520 (char *) "currentTip", NULL
5521 };
5522
5523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
5524 arg1 = (size_t) PyInt_AsLong(obj0);
5525 if (PyErr_Occurred()) SWIG_fail;
5526 {
5527 PyThreadState* __tstate = wxPyBeginAllowThreads();
5528 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
5529
5530 wxPyEndAllowThreads(__tstate);
5531 if (PyErr_Occurred()) SWIG_fail;
5532 }
5533 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTipProvider, 1);
5534 return resultobj;
5535 fail:
5536 return NULL;
5537}
5538
5539
5540static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5541 PyObject *resultobj;
5542 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
5543 PyObject *arg2 = (PyObject *) 0 ;
5544 PyObject *arg3 = (PyObject *) 0 ;
5545 PyObject * obj0 = 0 ;
5546 PyObject * obj1 = 0 ;
5547 PyObject * obj2 = 0 ;
5548 char *kwnames[] = {
5549 (char *) "self",(char *) "self",(char *) "_class", NULL
5550 };
5551
5552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5554 arg2 = obj1;
5555 arg3 = obj2;
5556 {
5557 PyThreadState* __tstate = wxPyBeginAllowThreads();
5558 (arg1)->_setCallbackInfo(arg2,arg3);
5559
5560 wxPyEndAllowThreads(__tstate);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 }
5563 Py_INCREF(Py_None); resultobj = Py_None;
5564 return resultobj;
5565 fail:
5566 return NULL;
5567}
5568
5569
5570static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
5571 PyObject *obj;
5572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5573 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
5574 Py_INCREF(obj);
5575 return Py_BuildValue((char *)"");
5576}
5577static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5578 PyObject *resultobj;
5579 wxWindow *arg1 = (wxWindow *) 0 ;
5580 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
5581 bool arg3 = (bool) TRUE ;
5582 bool result;
5583 PyObject * obj0 = 0 ;
5584 PyObject * obj1 = 0 ;
5585 PyObject * obj2 = 0 ;
5586 char *kwnames[] = {
5587 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5588 };
5589
5590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
5591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5592 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5593 if (obj2) {
5594 arg3 = PyInt_AsLong(obj2) ? true : false;
5595 if (PyErr_Occurred()) SWIG_fail;
5596 }
5597 {
5598 PyThreadState* __tstate = wxPyBeginAllowThreads();
5599 result = (bool)wxShowTip(arg1,arg2,arg3);
5600
5601 wxPyEndAllowThreads(__tstate);
5602 if (PyErr_Occurred()) SWIG_fail;
5603 }
5604 resultobj = PyInt_FromLong((long)result);
5605 return resultobj;
5606 fail:
5607 return NULL;
5608}
5609
5610
5611static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5612 PyObject *resultobj;
5613 wxString *arg1 = 0 ;
5614 size_t arg2 ;
5615 wxTipProvider *result;
5616 bool temp1 = false ;
5617 PyObject * obj0 = 0 ;
5618 PyObject * obj1 = 0 ;
5619 char *kwnames[] = {
5620 (char *) "filename",(char *) "currentTip", NULL
5621 };
5622
5623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
5624 {
5625 arg1 = wxString_in_helper(obj0);
5626 if (arg1 == NULL) SWIG_fail;
5627 temp1 = true;
5628 }
5629 arg2 = (size_t) PyInt_AsLong(obj1);
5630 if (PyErr_Occurred()) SWIG_fail;
5631 {
5632 PyThreadState* __tstate = wxPyBeginAllowThreads();
5633 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
5634
5635 wxPyEndAllowThreads(__tstate);
5636 if (PyErr_Occurred()) SWIG_fail;
5637 }
5638 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipProvider, 1);
5639 {
5640 if (temp1)
5641 delete arg1;
5642 }
5643 return resultobj;
5644 fail:
5645 {
5646 if (temp1)
5647 delete arg1;
5648 }
5649 return NULL;
5650}
5651
5652
5653static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5654 PyObject *resultobj;
5655 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
5656 int arg2 = (int) -1 ;
5657 wxPyTimer *result;
5658 PyObject * obj0 = 0 ;
5659 char *kwnames[] = {
5660 (char *) "owner",(char *) "id", NULL
5661 };
5662
5663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Timer",kwnames,&obj0,&arg2)) goto fail;
5664 if (obj0) {
5665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5666 }
5667 {
5668 PyThreadState* __tstate = wxPyBeginAllowThreads();
5669 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
5670
5671 wxPyEndAllowThreads(__tstate);
5672 if (PyErr_Occurred()) SWIG_fail;
5673 }
5674 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTimer, 1);
5675 return resultobj;
5676 fail:
5677 return NULL;
5678}
5679
5680
5681static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5682 PyObject *resultobj;
5683 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5684 PyObject * obj0 = 0 ;
5685 char *kwnames[] = {
5686 (char *) "self", NULL
5687 };
5688
5689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
5690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5691 {
5692 PyThreadState* __tstate = wxPyBeginAllowThreads();
5693 delete arg1;
5694
5695 wxPyEndAllowThreads(__tstate);
5696 if (PyErr_Occurred()) SWIG_fail;
5697 }
5698 Py_INCREF(Py_None); resultobj = Py_None;
5699 return resultobj;
5700 fail:
5701 return NULL;
5702}
5703
5704
5705static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
5706 PyObject *resultobj;
5707 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5708 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
5709 int arg3 = (int) -1 ;
5710 PyObject * obj0 = 0 ;
5711 PyObject * obj1 = 0 ;
5712 char *kwnames[] = {
5713 (char *) "self",(char *) "owner",(char *) "id", NULL
5714 };
5715
5716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Timer_SetOwner",kwnames,&obj0,&obj1,&arg3)) goto fail;
5717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5718 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5719 {
5720 PyThreadState* __tstate = wxPyBeginAllowThreads();
5721 (arg1)->SetOwner(arg2,arg3);
5722
5723 wxPyEndAllowThreads(__tstate);
5724 if (PyErr_Occurred()) SWIG_fail;
5725 }
5726 Py_INCREF(Py_None); resultobj = Py_None;
5727 return resultobj;
5728 fail:
5729 return NULL;
5730}
5731
5732
5733static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5734 PyObject *resultobj;
5735 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5736 int arg2 = (int) -1 ;
5737 bool arg3 = (bool) FALSE ;
5738 bool result;
5739 PyObject * obj0 = 0 ;
5740 PyObject * obj2 = 0 ;
5741 char *kwnames[] = {
5742 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5743 };
5744
5745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Timer_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
5746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5747 if (obj2) {
5748 arg3 = PyInt_AsLong(obj2) ? true : false;
5749 if (PyErr_Occurred()) SWIG_fail;
5750 }
5751 {
5752 PyThreadState* __tstate = wxPyBeginAllowThreads();
5753 result = (bool)(arg1)->Start(arg2,arg3);
5754
5755 wxPyEndAllowThreads(__tstate);
5756 if (PyErr_Occurred()) SWIG_fail;
5757 }
5758 resultobj = PyInt_FromLong((long)result);
5759 return resultobj;
5760 fail:
5761 return NULL;
5762}
5763
5764
5765static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
5766 PyObject *resultobj;
5767 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5768 PyObject * obj0 = 0 ;
5769 char *kwnames[] = {
5770 (char *) "self", NULL
5771 };
5772
5773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
5774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5775 {
5776 PyThreadState* __tstate = wxPyBeginAllowThreads();
5777 (arg1)->Stop();
5778
5779 wxPyEndAllowThreads(__tstate);
5780 if (PyErr_Occurred()) SWIG_fail;
5781 }
5782 Py_INCREF(Py_None); resultobj = Py_None;
5783 return resultobj;
5784 fail:
5785 return NULL;
5786}
5787
5788
5789static PyObject *_wrap_Timer_Notify(PyObject *self, PyObject *args, PyObject *kwargs) {
5790 PyObject *resultobj;
5791 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5792 PyObject * obj0 = 0 ;
5793 char *kwnames[] = {
5794 (char *) "self", NULL
5795 };
5796
5797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Notify",kwnames,&obj0)) goto fail;
5798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5799 {
5800 PyThreadState* __tstate = wxPyBeginAllowThreads();
5801 (arg1)->Notify();
5802
5803 wxPyEndAllowThreads(__tstate);
5804 if (PyErr_Occurred()) SWIG_fail;
5805 }
5806 Py_INCREF(Py_None); resultobj = Py_None;
5807 return resultobj;
5808 fail:
5809 return NULL;
5810}
5811
5812
5813static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5814 PyObject *resultobj;
5815 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5816 bool result;
5817 PyObject * obj0 = 0 ;
5818 char *kwnames[] = {
5819 (char *) "self", NULL
5820 };
5821
5822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
5823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5824 {
5825 PyThreadState* __tstate = wxPyBeginAllowThreads();
5826 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
5827
5828 wxPyEndAllowThreads(__tstate);
5829 if (PyErr_Occurred()) SWIG_fail;
5830 }
5831 resultobj = PyInt_FromLong((long)result);
5832 return resultobj;
5833 fail:
5834 return NULL;
5835}
5836
5837
5838static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5839 PyObject *resultobj;
5840 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5841 int result;
5842 PyObject * obj0 = 0 ;
5843 char *kwnames[] = {
5844 (char *) "self", NULL
5845 };
5846
5847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
5848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5849 {
5850 PyThreadState* __tstate = wxPyBeginAllowThreads();
5851 result = (int)((wxPyTimer const *)arg1)->GetInterval();
5852
5853 wxPyEndAllowThreads(__tstate);
5854 if (PyErr_Occurred()) SWIG_fail;
5855 }
5856 resultobj = PyInt_FromLong((long)result);
5857 return resultobj;
5858 fail:
5859 return NULL;
5860}
5861
5862
5863static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
5864 PyObject *resultobj;
5865 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5866 bool result;
5867 PyObject * obj0 = 0 ;
5868 char *kwnames[] = {
5869 (char *) "self", NULL
5870 };
5871
5872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
5873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5874 {
5875 PyThreadState* __tstate = wxPyBeginAllowThreads();
5876 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
5877
5878 wxPyEndAllowThreads(__tstate);
5879 if (PyErr_Occurred()) SWIG_fail;
5880 }
5881 resultobj = PyInt_FromLong((long)result);
5882 return resultobj;
5883 fail:
5884 return NULL;
5885}
5886
5887
5888static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
5889 PyObject *obj;
5890 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5891 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
5892 Py_INCREF(obj);
5893 return Py_BuildValue((char *)"");
5894}
5895static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5896 PyObject *resultobj;
5897 int arg1 = (int) 0 ;
5898 int arg2 = (int) 0 ;
5899 wxTimerEvent *result;
5900 char *kwnames[] = {
5901 (char *) "timerid",(char *) "interval", NULL
5902 };
5903
5904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TimerEvent",kwnames,&arg1,&arg2)) goto fail;
5905 {
5906 PyThreadState* __tstate = wxPyBeginAllowThreads();
5907 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
5908
5909 wxPyEndAllowThreads(__tstate);
5910 if (PyErr_Occurred()) SWIG_fail;
5911 }
5912 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerEvent, 1);
5913 return resultobj;
5914 fail:
5915 return NULL;
5916}
5917
5918
5919static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5920 PyObject *resultobj;
5921 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
5922 int result;
5923 PyObject * obj0 = 0 ;
5924 char *kwnames[] = {
5925 (char *) "self", NULL
5926 };
5927
5928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
5929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5930 {
5931 PyThreadState* __tstate = wxPyBeginAllowThreads();
5932 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
5933
5934 wxPyEndAllowThreads(__tstate);
5935 if (PyErr_Occurred()) SWIG_fail;
5936 }
5937 resultobj = PyInt_FromLong((long)result);
5938 return resultobj;
5939 fail:
5940 return NULL;
5941}
5942
5943
5944static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
5945 PyObject *obj;
5946 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5947 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
5948 Py_INCREF(obj);
5949 return Py_BuildValue((char *)"");
5950}
5951static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
5952 PyObject *resultobj;
5953 wxTimer *arg1 = 0 ;
5954 wxTimerRunner *result;
5955 PyObject * obj0 = 0 ;
5956
5957 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
5958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5959 if (arg1 == NULL) {
5960 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5961 }
5962 {
5963 PyThreadState* __tstate = wxPyBeginAllowThreads();
5964 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
5965
5966 wxPyEndAllowThreads(__tstate);
5967 if (PyErr_Occurred()) SWIG_fail;
5968 }
5969 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
5970 return resultobj;
5971 fail:
5972 return NULL;
5973}
5974
5975
5976static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
5977 PyObject *resultobj;
5978 wxTimer *arg1 = 0 ;
5979 int arg2 ;
5980 bool arg3 = (bool) FALSE ;
5981 wxTimerRunner *result;
5982 PyObject * obj0 = 0 ;
5983 PyObject * obj2 = 0 ;
5984
5985 if(!PyArg_ParseTuple(args,(char *)"Oi|O:new_TimerRunner",&obj0,&arg2,&obj2)) goto fail;
5986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5987 if (arg1 == NULL) {
5988 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5989 }
5990 if (obj2) {
5991 arg3 = PyInt_AsLong(obj2) ? true : false;
5992 if (PyErr_Occurred()) SWIG_fail;
5993 }
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
5997
5998 wxPyEndAllowThreads(__tstate);
5999 if (PyErr_Occurred()) SWIG_fail;
6000 }
6001 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6002 return resultobj;
6003 fail:
6004 return NULL;
6005}
6006
6007
6008static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6009 int argc;
6010 PyObject *argv[4];
6011 int ii;
6012
6013 argc = PyObject_Length(args);
6014 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6015 argv[ii] = PyTuple_GetItem(args,ii);
6016 }
6017 if (argc == 1) {
6018 int _v;
6019 {
6020 void *ptr;
6021 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6022 _v = 0;
6023 PyErr_Clear();
6024 } else {
6025 _v = 1;
6026 }
6027 }
6028 if (_v) {
6029 return _wrap_new_TimerRunner__SWIG_0(self,args);
6030 }
6031 }
6032 if ((argc >= 2) && (argc <= 3)) {
6033 int _v;
6034 {
6035 void *ptr;
6036 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6037 _v = 0;
6038 PyErr_Clear();
6039 } else {
6040 _v = 1;
6041 }
6042 }
6043 if (_v) {
6044 {
6045 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6046 }
6047 if (_v) {
6048 if (argc <= 2) {
6049 return _wrap_new_TimerRunner__SWIG_1(self,args);
6050 }
6051 {
6052 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
6053 }
6054 if (_v) {
6055 return _wrap_new_TimerRunner__SWIG_1(self,args);
6056 }
6057 }
6058 }
6059 }
6060
6061 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6062 return NULL;
6063}
6064
6065
6066static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6067 PyObject *resultobj;
6068 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6069 PyObject * obj0 = 0 ;
6070 char *kwnames[] = {
6071 (char *) "self", NULL
6072 };
6073
6074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6076 {
6077 PyThreadState* __tstate = wxPyBeginAllowThreads();
6078 delete arg1;
6079
6080 wxPyEndAllowThreads(__tstate);
6081 if (PyErr_Occurred()) SWIG_fail;
6082 }
6083 Py_INCREF(Py_None); resultobj = Py_None;
6084 return resultobj;
6085 fail:
6086 return NULL;
6087}
6088
6089
6090static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6091 PyObject *resultobj;
6092 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6093 int arg2 ;
6094 bool arg3 = (bool) FALSE ;
6095 PyObject * obj0 = 0 ;
6096 PyObject * obj2 = 0 ;
6097 char *kwnames[] = {
6098 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6099 };
6100
6101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:TimerRunner_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
6102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6103 if (obj2) {
6104 arg3 = PyInt_AsLong(obj2) ? true : false;
6105 if (PyErr_Occurred()) SWIG_fail;
6106 }
6107 {
6108 PyThreadState* __tstate = wxPyBeginAllowThreads();
6109 (arg1)->Start(arg2,arg3);
6110
6111 wxPyEndAllowThreads(__tstate);
6112 if (PyErr_Occurred()) SWIG_fail;
6113 }
6114 Py_INCREF(Py_None); resultobj = Py_None;
6115 return resultobj;
6116 fail:
6117 return NULL;
6118}
6119
6120
6121static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6122 PyObject *obj;
6123 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6124 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6125 Py_INCREF(obj);
6126 return Py_BuildValue((char *)"");
6127}
6128static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6129 PyObject *resultobj;
6130 wxLog *result;
6131 char *kwnames[] = {
6132 NULL
6133 };
6134
6135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6136 {
6137 PyThreadState* __tstate = wxPyBeginAllowThreads();
6138 result = (wxLog *)new wxLog();
6139
6140 wxPyEndAllowThreads(__tstate);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
6143 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 1);
6144 return resultobj;
6145 fail:
6146 return NULL;
6147}
6148
6149
6150static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6151 PyObject *resultobj;
6152 bool result;
6153 char *kwnames[] = {
6154 NULL
6155 };
6156
6157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6158 {
6159 PyThreadState* __tstate = wxPyBeginAllowThreads();
6160 result = (bool)wxLog::IsEnabled();
6161
6162 wxPyEndAllowThreads(__tstate);
6163 if (PyErr_Occurred()) SWIG_fail;
6164 }
6165 resultobj = PyInt_FromLong((long)result);
6166 return resultobj;
6167 fail:
6168 return NULL;
6169}
6170
6171
6172static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6173 PyObject *resultobj;
6174 bool arg1 = (bool) TRUE ;
6175 bool result;
6176 PyObject * obj0 = 0 ;
6177 char *kwnames[] = {
6178 (char *) "doIt", NULL
6179 };
6180
6181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6182 if (obj0) {
6183 arg1 = PyInt_AsLong(obj0) ? true : false;
6184 if (PyErr_Occurred()) SWIG_fail;
6185 }
6186 {
6187 PyThreadState* __tstate = wxPyBeginAllowThreads();
6188 result = (bool)wxLog::EnableLogging(arg1);
6189
6190 wxPyEndAllowThreads(__tstate);
6191 if (PyErr_Occurred()) SWIG_fail;
6192 }
6193 resultobj = PyInt_FromLong((long)result);
6194 return resultobj;
6195 fail:
6196 return NULL;
6197}
6198
6199
6200static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6201 PyObject *resultobj;
6202 wxLogLevel arg1 ;
6203 wxChar *arg2 = (wxChar *) 0 ;
6204 time_t arg3 ;
6205 PyObject * obj0 = 0 ;
6206 PyObject * obj1 = 0 ;
6207 PyObject * obj2 = 0 ;
6208 char *kwnames[] = {
6209 (char *) "level",(char *) "szString",(char *) "t", NULL
6210 };
6211
6212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
6213 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6214 if (PyErr_Occurred()) SWIG_fail;
6215 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6216 arg3 = (time_t) PyInt_AsLong(obj2);
6217 if (PyErr_Occurred()) SWIG_fail;
6218 {
6219 PyThreadState* __tstate = wxPyBeginAllowThreads();
6220 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6221
6222 wxPyEndAllowThreads(__tstate);
6223 if (PyErr_Occurred()) SWIG_fail;
6224 }
6225 Py_INCREF(Py_None); resultobj = Py_None;
6226 return resultobj;
6227 fail:
6228 return NULL;
6229}
6230
6231
6232static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6233 PyObject *resultobj;
6234 wxLog *arg1 = (wxLog *) 0 ;
6235 PyObject * obj0 = 0 ;
6236 char *kwnames[] = {
6237 (char *) "self", NULL
6238 };
6239
6240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6242 {
6243 PyThreadState* __tstate = wxPyBeginAllowThreads();
6244 (arg1)->Flush();
6245
6246 wxPyEndAllowThreads(__tstate);
6247 if (PyErr_Occurred()) SWIG_fail;
6248 }
6249 Py_INCREF(Py_None); resultobj = Py_None;
6250 return resultobj;
6251 fail:
6252 return NULL;
6253}
6254
6255
6256static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6257 PyObject *resultobj;
6258 char *kwnames[] = {
6259 NULL
6260 };
6261
6262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6263 {
6264 PyThreadState* __tstate = wxPyBeginAllowThreads();
6265 wxLog::FlushActive();
6266
6267 wxPyEndAllowThreads(__tstate);
6268 if (PyErr_Occurred()) SWIG_fail;
6269 }
6270 Py_INCREF(Py_None); resultobj = Py_None;
6271 return resultobj;
6272 fail:
6273 return NULL;
6274}
6275
6276
6277static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6278 PyObject *resultobj;
6279 wxLog *result;
6280 char *kwnames[] = {
6281 NULL
6282 };
6283
6284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6285 {
6286 PyThreadState* __tstate = wxPyBeginAllowThreads();
6287 result = (wxLog *)wxLog::GetActiveTarget();
6288
6289 wxPyEndAllowThreads(__tstate);
6290 if (PyErr_Occurred()) SWIG_fail;
6291 }
6292 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6293 return resultobj;
6294 fail:
6295 return NULL;
6296}
6297
6298
6299static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6300 PyObject *resultobj;
6301 wxLog *arg1 = (wxLog *) 0 ;
6302 wxLog *result;
6303 PyObject * obj0 = 0 ;
6304 char *kwnames[] = {
6305 (char *) "pLogger", NULL
6306 };
6307
6308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
6309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6310 {
6311 PyThreadState* __tstate = wxPyBeginAllowThreads();
6312 result = (wxLog *)wxLog::SetActiveTarget(arg1);
6313
6314 wxPyEndAllowThreads(__tstate);
6315 if (PyErr_Occurred()) SWIG_fail;
6316 }
6317 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6318 return resultobj;
6319 fail:
6320 return NULL;
6321}
6322
6323
6324static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
6325 PyObject *resultobj;
6326 char *kwnames[] = {
6327 NULL
6328 };
6329
6330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
6331 {
6332 PyThreadState* __tstate = wxPyBeginAllowThreads();
6333 wxLog::Suspend();
6334
6335 wxPyEndAllowThreads(__tstate);
6336 if (PyErr_Occurred()) SWIG_fail;
6337 }
6338 Py_INCREF(Py_None); resultobj = Py_None;
6339 return resultobj;
6340 fail:
6341 return NULL;
6342}
6343
6344
6345static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
6346 PyObject *resultobj;
6347 char *kwnames[] = {
6348 NULL
6349 };
6350
6351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
6352 {
6353 PyThreadState* __tstate = wxPyBeginAllowThreads();
6354 wxLog::Resume();
6355
6356 wxPyEndAllowThreads(__tstate);
6357 if (PyErr_Occurred()) SWIG_fail;
6358 }
6359 Py_INCREF(Py_None); resultobj = Py_None;
6360 return resultobj;
6361 fail:
6362 return NULL;
6363}
6364
6365
6366static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6367 PyObject *resultobj;
6368 bool arg1 = (bool) TRUE ;
6369 PyObject * obj0 = 0 ;
6370 char *kwnames[] = {
6371 (char *) "bVerbose", NULL
6372 };
6373
6374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
6375 if (obj0) {
6376 arg1 = PyInt_AsLong(obj0) ? true : false;
6377 if (PyErr_Occurred()) SWIG_fail;
6378 }
6379 {
6380 PyThreadState* __tstate = wxPyBeginAllowThreads();
6381 wxLog::SetVerbose(arg1);
6382
6383 wxPyEndAllowThreads(__tstate);
6384 if (PyErr_Occurred()) SWIG_fail;
6385 }
6386 Py_INCREF(Py_None); resultobj = Py_None;
6387 return resultobj;
6388 fail:
6389 return NULL;
6390}
6391
6392
6393static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6394 PyObject *resultobj;
6395 wxLogLevel arg1 ;
6396 PyObject * obj0 = 0 ;
6397 char *kwnames[] = {
6398 (char *) "logLevel", NULL
6399 };
6400
6401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
6402 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6403 if (PyErr_Occurred()) SWIG_fail;
6404 {
6405 PyThreadState* __tstate = wxPyBeginAllowThreads();
6406 wxLog::SetLogLevel(arg1);
6407
6408 wxPyEndAllowThreads(__tstate);
6409 if (PyErr_Occurred()) SWIG_fail;
6410 }
6411 Py_INCREF(Py_None); resultobj = Py_None;
6412 return resultobj;
6413 fail:
6414 return NULL;
6415}
6416
6417
6418static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
6419 PyObject *resultobj;
6420 char *kwnames[] = {
6421 NULL
6422 };
6423
6424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
6425 {
6426 PyThreadState* __tstate = wxPyBeginAllowThreads();
6427 wxLog::DontCreateOnDemand();
6428
6429 wxPyEndAllowThreads(__tstate);
6430 if (PyErr_Occurred()) SWIG_fail;
6431 }
6432 Py_INCREF(Py_None); resultobj = Py_None;
6433 return resultobj;
6434 fail:
6435 return NULL;
6436}
6437
6438
6439static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6440 PyObject *resultobj;
6441 wxTraceMask arg1 ;
6442 PyObject * obj0 = 0 ;
6443 char *kwnames[] = {
6444 (char *) "ulMask", NULL
6445 };
6446
6447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
6448 arg1 = (wxTraceMask) PyInt_AsLong(obj0);
6449 if (PyErr_Occurred()) SWIG_fail;
6450 {
6451 PyThreadState* __tstate = wxPyBeginAllowThreads();
6452 wxLog::SetTraceMask(arg1);
6453
6454 wxPyEndAllowThreads(__tstate);
6455 if (PyErr_Occurred()) SWIG_fail;
6456 }
6457 Py_INCREF(Py_None); resultobj = Py_None;
6458 return resultobj;
6459 fail:
6460 return NULL;
6461}
6462
6463
6464static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6465 PyObject *resultobj;
6466 wxString *arg1 = 0 ;
6467 bool temp1 = false ;
6468 PyObject * obj0 = 0 ;
6469 char *kwnames[] = {
6470 (char *) "str", NULL
6471 };
6472
6473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
6474 {
6475 arg1 = wxString_in_helper(obj0);
6476 if (arg1 == NULL) SWIG_fail;
6477 temp1 = true;
6478 }
6479 {
6480 PyThreadState* __tstate = wxPyBeginAllowThreads();
6481 wxLog::AddTraceMask((wxString const &)*arg1);
6482
6483 wxPyEndAllowThreads(__tstate);
6484 if (PyErr_Occurred()) SWIG_fail;
6485 }
6486 Py_INCREF(Py_None); resultobj = Py_None;
6487 {
6488 if (temp1)
6489 delete arg1;
6490 }
6491 return resultobj;
6492 fail:
6493 {
6494 if (temp1)
6495 delete arg1;
6496 }
6497 return NULL;
6498}
6499
6500
6501static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6502 PyObject *resultobj;
6503 wxString *arg1 = 0 ;
6504 bool temp1 = false ;
6505 PyObject * obj0 = 0 ;
6506 char *kwnames[] = {
6507 (char *) "str", NULL
6508 };
6509
6510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
6511 {
6512 arg1 = wxString_in_helper(obj0);
6513 if (arg1 == NULL) SWIG_fail;
6514 temp1 = true;
6515 }
6516 {
6517 PyThreadState* __tstate = wxPyBeginAllowThreads();
6518 wxLog::RemoveTraceMask((wxString const &)*arg1);
6519
6520 wxPyEndAllowThreads(__tstate);
6521 if (PyErr_Occurred()) SWIG_fail;
6522 }
6523 Py_INCREF(Py_None); resultobj = Py_None;
6524 {
6525 if (temp1)
6526 delete arg1;
6527 }
6528 return resultobj;
6529 fail:
6530 {
6531 if (temp1)
6532 delete arg1;
6533 }
6534 return NULL;
6535}
6536
6537
6538static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6539 PyObject *resultobj;
6540 char *kwnames[] = {
6541 NULL
6542 };
6543
6544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
6545 {
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 wxLog::ClearTraceMasks();
6548
6549 wxPyEndAllowThreads(__tstate);
6550 if (PyErr_Occurred()) SWIG_fail;
6551 }
6552 Py_INCREF(Py_None); resultobj = Py_None;
6553 return resultobj;
6554 fail:
6555 return NULL;
6556}
6557
6558
6559static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6560 PyObject *resultobj;
6561 wxArrayString *result;
6562 char *kwnames[] = {
6563 NULL
6564 };
6565
6566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
6567 {
6568 PyThreadState* __tstate = wxPyBeginAllowThreads();
6569 {
6570 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
6571 result = (wxArrayString *) &_result_ref;
6572 }
6573
6574 wxPyEndAllowThreads(__tstate);
6575 if (PyErr_Occurred()) SWIG_fail;
6576 }
6577 {
6578 resultobj = wxArrayString2PyList_helper(*result);
6579 }
6580 return resultobj;
6581 fail:
6582 return NULL;
6583}
6584
6585
6586static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6587 PyObject *resultobj;
6588 wxChar *arg1 = (wxChar *) 0 ;
6589 PyObject * obj0 = 0 ;
6590 char *kwnames[] = {
6591 (char *) "ts", NULL
6592 };
6593
6594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
6595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6596 {
6597 PyThreadState* __tstate = wxPyBeginAllowThreads();
6598 wxLog::SetTimestamp((wxChar const *)arg1);
6599
6600 wxPyEndAllowThreads(__tstate);
6601 if (PyErr_Occurred()) SWIG_fail;
6602 }
6603 Py_INCREF(Py_None); resultobj = Py_None;
6604 return resultobj;
6605 fail:
6606 return NULL;
6607}
6608
6609
6610static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6611 PyObject *resultobj;
6612 bool result;
6613 char *kwnames[] = {
6614 NULL
6615 };
6616
6617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
6618 {
6619 PyThreadState* __tstate = wxPyBeginAllowThreads();
6620 result = (bool)wxLog::GetVerbose();
6621
6622 wxPyEndAllowThreads(__tstate);
6623 if (PyErr_Occurred()) SWIG_fail;
6624 }
6625 resultobj = PyInt_FromLong((long)result);
6626 return resultobj;
6627 fail:
6628 return NULL;
6629}
6630
6631
6632static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6633 PyObject *resultobj;
6634 wxTraceMask result;
6635 char *kwnames[] = {
6636 NULL
6637 };
6638
6639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
6640 {
6641 PyThreadState* __tstate = wxPyBeginAllowThreads();
6642 result = (wxTraceMask)wxLog::GetTraceMask();
6643
6644 wxPyEndAllowThreads(__tstate);
6645 if (PyErr_Occurred()) SWIG_fail;
6646 }
6647 resultobj = PyInt_FromLong((long)result);
6648 return resultobj;
6649 fail:
6650 return NULL;
6651}
6652
6653
6654static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6655 PyObject *resultobj;
6656 wxChar *arg1 = (wxChar *) 0 ;
6657 bool result;
6658 PyObject * obj0 = 0 ;
6659 char *kwnames[] = {
6660 (char *) "mask", NULL
6661 };
6662
6663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
6664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6665 {
6666 PyThreadState* __tstate = wxPyBeginAllowThreads();
6667 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
6668
6669 wxPyEndAllowThreads(__tstate);
6670 if (PyErr_Occurred()) SWIG_fail;
6671 }
6672 resultobj = PyInt_FromLong((long)result);
6673 return resultobj;
6674 fail:
6675 return NULL;
6676}
6677
6678
6679static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6680 PyObject *resultobj;
6681 wxLogLevel result;
6682 char *kwnames[] = {
6683 NULL
6684 };
6685
6686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
6687 {
6688 PyThreadState* __tstate = wxPyBeginAllowThreads();
6689 result = (wxLogLevel)wxLog::GetLogLevel();
6690
6691 wxPyEndAllowThreads(__tstate);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
6694 resultobj = PyInt_FromLong((long)result);
6695 return resultobj;
6696 fail:
6697 return NULL;
6698}
6699
6700
6701static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6702 PyObject *resultobj;
6703 wxChar *result;
6704 char *kwnames[] = {
6705 NULL
6706 };
6707
6708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
6709 {
6710 PyThreadState* __tstate = wxPyBeginAllowThreads();
6711 result = (wxChar *)wxLog::GetTimestamp();
6712
6713 wxPyEndAllowThreads(__tstate);
6714 if (PyErr_Occurred()) SWIG_fail;
6715 }
6716 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChar, 0);
6717 return resultobj;
6718 fail:
6719 return NULL;
6720}
6721
6722
6723static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6724 PyObject *resultobj;
6725 wxString result;
6726 char *kwnames[] = {
6727 NULL
6728 };
6729
6730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
6731 {
6732 PyThreadState* __tstate = wxPyBeginAllowThreads();
6733 result = Log_TimeStamp();
6734
6735 wxPyEndAllowThreads(__tstate);
6736 if (PyErr_Occurred()) SWIG_fail;
6737 }
6738 {
6739#if wxUSE_UNICODE
6740 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6741#else
6742 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6743#endif
6744 }
6745 return resultobj;
6746 fail:
6747 return NULL;
6748}
6749
6750
6751static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6752 PyObject *resultobj;
6753 wxLog *arg1 = (wxLog *) 0 ;
6754 PyObject * obj0 = 0 ;
6755 char *kwnames[] = {
6756 (char *) "self", NULL
6757 };
6758
6759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
6760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6761 {
6762 PyThreadState* __tstate = wxPyBeginAllowThreads();
6763 wxLog_Destroy(arg1);
6764
6765 wxPyEndAllowThreads(__tstate);
6766 if (PyErr_Occurred()) SWIG_fail;
6767 }
6768 Py_INCREF(Py_None); resultobj = Py_None;
6769 return resultobj;
6770 fail:
6771 return NULL;
6772}
6773
6774
6775static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
6776 PyObject *obj;
6777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6778 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
6779 Py_INCREF(obj);
6780 return Py_BuildValue((char *)"");
6781}
6782static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
6783 PyObject *resultobj;
6784 wxLogStderr *result;
6785 char *kwnames[] = {
6786 NULL
6787 };
6788
6789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
6790 {
6791 PyThreadState* __tstate = wxPyBeginAllowThreads();
6792 result = (wxLogStderr *)new wxLogStderr();
6793
6794 wxPyEndAllowThreads(__tstate);
6795 if (PyErr_Occurred()) SWIG_fail;
6796 }
6797 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogStderr, 1);
6798 return resultobj;
6799 fail:
6800 return NULL;
6801}
6802
6803
6804static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
6805 PyObject *obj;
6806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6807 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
6808 Py_INCREF(obj);
6809 return Py_BuildValue((char *)"");
6810}
6811static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6812 PyObject *resultobj;
6813 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6814 wxLogTextCtrl *result;
6815 PyObject * obj0 = 0 ;
6816 char *kwnames[] = {
6817 (char *) "pTextCtrl", NULL
6818 };
6819
6820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
6821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6822 {
6823 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
6825
6826 wxPyEndAllowThreads(__tstate);
6827 if (PyErr_Occurred()) SWIG_fail;
6828 }
6829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogTextCtrl, 1);
6830 return resultobj;
6831 fail:
6832 return NULL;
6833}
6834
6835
6836static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
6837 PyObject *obj;
6838 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6839 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
6840 Py_INCREF(obj);
6841 return Py_BuildValue((char *)"");
6842}
6843static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
6844 PyObject *resultobj;
6845 wxLogGui *result;
6846 char *kwnames[] = {
6847 NULL
6848 };
6849
6850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
6851 {
6852 PyThreadState* __tstate = wxPyBeginAllowThreads();
6853 result = (wxLogGui *)new wxLogGui();
6854
6855 wxPyEndAllowThreads(__tstate);
6856 if (PyErr_Occurred()) SWIG_fail;
6857 }
6858 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogGui, 1);
6859 return resultobj;
6860 fail:
6861 return NULL;
6862}
6863
6864
6865static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
6866 PyObject *obj;
6867 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6868 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
6869 Py_INCREF(obj);
6870 return Py_BuildValue((char *)"");
6871}
6872static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6873 PyObject *resultobj;
6874 wxFrame *arg1 = (wxFrame *) 0 ;
6875 wxString *arg2 = 0 ;
6876 bool arg3 = (bool) TRUE ;
6877 bool arg4 = (bool) TRUE ;
6878 wxLogWindow *result;
6879 bool temp2 = false ;
6880 PyObject * obj0 = 0 ;
6881 PyObject * obj1 = 0 ;
6882 PyObject * obj2 = 0 ;
6883 PyObject * obj3 = 0 ;
6884 char *kwnames[] = {
6885 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
6886 };
6887
6888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6890 {
6891 arg2 = wxString_in_helper(obj1);
6892 if (arg2 == NULL) SWIG_fail;
6893 temp2 = true;
6894 }
6895 if (obj2) {
6896 arg3 = PyInt_AsLong(obj2) ? true : false;
6897 if (PyErr_Occurred()) SWIG_fail;
6898 }
6899 if (obj3) {
6900 arg4 = PyInt_AsLong(obj3) ? true : false;
6901 if (PyErr_Occurred()) SWIG_fail;
6902 }
6903 {
6904 PyThreadState* __tstate = wxPyBeginAllowThreads();
6905 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
6906
6907 wxPyEndAllowThreads(__tstate);
6908 if (PyErr_Occurred()) SWIG_fail;
6909 }
6910 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogWindow, 1);
6911 {
6912 if (temp2)
6913 delete arg2;
6914 }
6915 return resultobj;
6916 fail:
6917 {
6918 if (temp2)
6919 delete arg2;
6920 }
6921 return NULL;
6922}
6923
6924
6925static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
6926 PyObject *resultobj;
6927 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6928 bool arg2 = (bool) TRUE ;
6929 PyObject * obj0 = 0 ;
6930 PyObject * obj1 = 0 ;
6931 char *kwnames[] = {
6932 (char *) "self",(char *) "bShow", NULL
6933 };
6934
6935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
6936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6937 if (obj1) {
6938 arg2 = PyInt_AsLong(obj1) ? true : false;
6939 if (PyErr_Occurred()) SWIG_fail;
6940 }
6941 {
6942 PyThreadState* __tstate = wxPyBeginAllowThreads();
6943 (arg1)->Show(arg2);
6944
6945 wxPyEndAllowThreads(__tstate);
6946 if (PyErr_Occurred()) SWIG_fail;
6947 }
6948 Py_INCREF(Py_None); resultobj = Py_None;
6949 return resultobj;
6950 fail:
6951 return NULL;
6952}
6953
6954
6955static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
6956 PyObject *resultobj;
6957 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6958 wxFrame *result;
6959 PyObject * obj0 = 0 ;
6960 char *kwnames[] = {
6961 (char *) "self", NULL
6962 };
6963
6964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
6965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6966 {
6967 PyThreadState* __tstate = wxPyBeginAllowThreads();
6968 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
6969
6970 wxPyEndAllowThreads(__tstate);
6971 if (PyErr_Occurred()) SWIG_fail;
6972 }
6973 {
6974 resultobj = wxPyMake_wxObject(result);
6975 }
6976 return resultobj;
6977 fail:
6978 return NULL;
6979}
6980
6981
6982static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6983 PyObject *resultobj;
6984 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6985 wxLog *result;
6986 PyObject * obj0 = 0 ;
6987 char *kwnames[] = {
6988 (char *) "self", NULL
6989 };
6990
6991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
6992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6993 {
6994 PyThreadState* __tstate = wxPyBeginAllowThreads();
6995 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
6996
6997 wxPyEndAllowThreads(__tstate);
6998 if (PyErr_Occurred()) SWIG_fail;
6999 }
7000 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7001 return resultobj;
7002 fail:
7003 return NULL;
7004}
7005
7006
7007static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7008 PyObject *resultobj;
7009 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7010 bool result;
7011 PyObject * obj0 = 0 ;
7012 char *kwnames[] = {
7013 (char *) "self", NULL
7014 };
7015
7016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
7017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7018 {
7019 PyThreadState* __tstate = wxPyBeginAllowThreads();
7020 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7021
7022 wxPyEndAllowThreads(__tstate);
7023 if (PyErr_Occurred()) SWIG_fail;
7024 }
7025 resultobj = PyInt_FromLong((long)result);
7026 return resultobj;
7027 fail:
7028 return NULL;
7029}
7030
7031
7032static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7033 PyObject *resultobj;
7034 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7035 bool arg2 ;
7036 PyObject * obj0 = 0 ;
7037 PyObject * obj1 = 0 ;
7038 char *kwnames[] = {
7039 (char *) "self",(char *) "bDoPass", NULL
7040 };
7041
7042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7044 arg2 = PyInt_AsLong(obj1) ? true : false;
7045 if (PyErr_Occurred()) SWIG_fail;
7046 {
7047 PyThreadState* __tstate = wxPyBeginAllowThreads();
7048 (arg1)->PassMessages(arg2);
7049
7050 wxPyEndAllowThreads(__tstate);
7051 if (PyErr_Occurred()) SWIG_fail;
7052 }
7053 Py_INCREF(Py_None); resultobj = Py_None;
7054 return resultobj;
7055 fail:
7056 return NULL;
7057}
7058
7059
7060static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7061 PyObject *obj;
7062 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7063 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7064 Py_INCREF(obj);
7065 return Py_BuildValue((char *)"");
7066}
7067static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7068 PyObject *resultobj;
7069 wxLog *arg1 = (wxLog *) 0 ;
7070 wxLogChain *result;
7071 PyObject * obj0 = 0 ;
7072 char *kwnames[] = {
7073 (char *) "logger", NULL
7074 };
7075
7076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7078 {
7079 PyThreadState* __tstate = wxPyBeginAllowThreads();
7080 result = (wxLogChain *)new wxLogChain(arg1);
7081
7082 wxPyEndAllowThreads(__tstate);
7083 if (PyErr_Occurred()) SWIG_fail;
7084 }
7085 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogChain, 1);
7086 return resultobj;
7087 fail:
7088 return NULL;
7089}
7090
7091
7092static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7093 PyObject *resultobj;
7094 wxLogChain *arg1 = (wxLogChain *) 0 ;
7095 wxLog *arg2 = (wxLog *) 0 ;
7096 PyObject * obj0 = 0 ;
7097 PyObject * obj1 = 0 ;
7098 char *kwnames[] = {
7099 (char *) "self",(char *) "logger", NULL
7100 };
7101
7102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7104 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7105 {
7106 PyThreadState* __tstate = wxPyBeginAllowThreads();
7107 (arg1)->SetLog(arg2);
7108
7109 wxPyEndAllowThreads(__tstate);
7110 if (PyErr_Occurred()) SWIG_fail;
7111 }
7112 Py_INCREF(Py_None); resultobj = Py_None;
7113 return resultobj;
7114 fail:
7115 return NULL;
7116}
7117
7118
7119static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7120 PyObject *resultobj;
7121 wxLogChain *arg1 = (wxLogChain *) 0 ;
7122 bool arg2 ;
7123 PyObject * obj0 = 0 ;
7124 PyObject * obj1 = 0 ;
7125 char *kwnames[] = {
7126 (char *) "self",(char *) "bDoPass", NULL
7127 };
7128
7129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7131 arg2 = PyInt_AsLong(obj1) ? true : false;
7132 if (PyErr_Occurred()) SWIG_fail;
7133 {
7134 PyThreadState* __tstate = wxPyBeginAllowThreads();
7135 (arg1)->PassMessages(arg2);
7136
7137 wxPyEndAllowThreads(__tstate);
7138 if (PyErr_Occurred()) SWIG_fail;
7139 }
7140 Py_INCREF(Py_None); resultobj = Py_None;
7141 return resultobj;
7142 fail:
7143 return NULL;
7144}
7145
7146
7147static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7148 PyObject *resultobj;
7149 wxLogChain *arg1 = (wxLogChain *) 0 ;
7150 bool result;
7151 PyObject * obj0 = 0 ;
7152 char *kwnames[] = {
7153 (char *) "self", NULL
7154 };
7155
7156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7158 {
7159 PyThreadState* __tstate = wxPyBeginAllowThreads();
7160 result = (bool)(arg1)->IsPassingMessages();
7161
7162 wxPyEndAllowThreads(__tstate);
7163 if (PyErr_Occurred()) SWIG_fail;
7164 }
7165 resultobj = PyInt_FromLong((long)result);
7166 return resultobj;
7167 fail:
7168 return NULL;
7169}
7170
7171
7172static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7173 PyObject *resultobj;
7174 wxLogChain *arg1 = (wxLogChain *) 0 ;
7175 wxLog *result;
7176 PyObject * obj0 = 0 ;
7177 char *kwnames[] = {
7178 (char *) "self", NULL
7179 };
7180
7181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7183 {
7184 PyThreadState* __tstate = wxPyBeginAllowThreads();
7185 result = (wxLog *)(arg1)->GetOldLog();
7186
7187 wxPyEndAllowThreads(__tstate);
7188 if (PyErr_Occurred()) SWIG_fail;
7189 }
7190 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7191 return resultobj;
7192 fail:
7193 return NULL;
7194}
7195
7196
7197static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7198 PyObject *obj;
7199 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7200 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7201 Py_INCREF(obj);
7202 return Py_BuildValue((char *)"");
7203}
7204static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7205 PyObject *resultobj;
7206 unsigned long result;
7207 char *kwnames[] = {
7208 NULL
7209 };
7210
7211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7212 {
7213 PyThreadState* __tstate = wxPyBeginAllowThreads();
7214 result = (unsigned long)wxSysErrorCode();
7215
7216 wxPyEndAllowThreads(__tstate);
7217 if (PyErr_Occurred()) SWIG_fail;
7218 }
7219 resultobj = PyInt_FromLong((long)result);
7220 return resultobj;
7221 fail:
7222 return NULL;
7223}
7224
7225
7226static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7227 PyObject *resultobj;
7228 unsigned long arg1 = (unsigned long) 0 ;
7229 wxString result;
7230 PyObject * obj0 = 0 ;
7231 char *kwnames[] = {
7232 (char *) "nErrCode", NULL
7233 };
7234
7235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7236 if (obj0) {
7237 arg1 = (unsigned long) PyInt_AsLong(obj0);
7238 if (PyErr_Occurred()) SWIG_fail;
7239 }
7240 {
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 result = wxSysErrorMsg(arg1);
7243
7244 wxPyEndAllowThreads(__tstate);
7245 if (PyErr_Occurred()) SWIG_fail;
7246 }
7247 {
7248#if wxUSE_UNICODE
7249 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7250#else
7251 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7252#endif
7253 }
7254 return resultobj;
7255 fail:
7256 return NULL;
7257}
7258
7259
7260static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
7261 PyObject *resultobj;
7262 wxString *arg1 = 0 ;
7263 bool temp1 = false ;
7264 PyObject * obj0 = 0 ;
7265 char *kwnames[] = {
7266 (char *) "msg", NULL
7267 };
7268
7269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7270 {
7271 arg1 = wxString_in_helper(obj0);
7272 if (arg1 == NULL) SWIG_fail;
7273 temp1 = true;
7274 }
7275 {
7276 PyThreadState* __tstate = wxPyBeginAllowThreads();
7277 wxLogFatalError((wxString const &)*arg1);
7278
7279 wxPyEndAllowThreads(__tstate);
7280 if (PyErr_Occurred()) SWIG_fail;
7281 }
7282 Py_INCREF(Py_None); resultobj = Py_None;
7283 {
7284 if (temp1)
7285 delete arg1;
7286 }
7287 return resultobj;
7288 fail:
7289 {
7290 if (temp1)
7291 delete arg1;
7292 }
7293 return NULL;
7294}
7295
7296
7297static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
7298 PyObject *resultobj;
7299 wxString *arg1 = 0 ;
7300 bool temp1 = false ;
7301 PyObject * obj0 = 0 ;
7302 char *kwnames[] = {
7303 (char *) "msg", NULL
7304 };
7305
7306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
7307 {
7308 arg1 = wxString_in_helper(obj0);
7309 if (arg1 == NULL) SWIG_fail;
7310 temp1 = true;
7311 }
7312 {
7313 PyThreadState* __tstate = wxPyBeginAllowThreads();
7314 wxLogError((wxString const &)*arg1);
7315
7316 wxPyEndAllowThreads(__tstate);
7317 if (PyErr_Occurred()) SWIG_fail;
7318 }
7319 Py_INCREF(Py_None); resultobj = Py_None;
7320 {
7321 if (temp1)
7322 delete arg1;
7323 }
7324 return resultobj;
7325 fail:
7326 {
7327 if (temp1)
7328 delete arg1;
7329 }
7330 return NULL;
7331}
7332
7333
7334static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
7335 PyObject *resultobj;
7336 wxString *arg1 = 0 ;
7337 bool temp1 = false ;
7338 PyObject * obj0 = 0 ;
7339 char *kwnames[] = {
7340 (char *) "msg", NULL
7341 };
7342
7343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
7344 {
7345 arg1 = wxString_in_helper(obj0);
7346 if (arg1 == NULL) SWIG_fail;
7347 temp1 = true;
7348 }
7349 {
7350 PyThreadState* __tstate = wxPyBeginAllowThreads();
7351 wxLogWarning((wxString const &)*arg1);
7352
7353 wxPyEndAllowThreads(__tstate);
7354 if (PyErr_Occurred()) SWIG_fail;
7355 }
7356 Py_INCREF(Py_None); resultobj = Py_None;
7357 {
7358 if (temp1)
7359 delete arg1;
7360 }
7361 return resultobj;
7362 fail:
7363 {
7364 if (temp1)
7365 delete arg1;
7366 }
7367 return NULL;
7368}
7369
7370
7371static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7372 PyObject *resultobj;
7373 wxString *arg1 = 0 ;
7374 bool temp1 = false ;
7375 PyObject * obj0 = 0 ;
7376 char *kwnames[] = {
7377 (char *) "msg", NULL
7378 };
7379
7380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
7381 {
7382 arg1 = wxString_in_helper(obj0);
7383 if (arg1 == NULL) SWIG_fail;
7384 temp1 = true;
7385 }
7386 {
7387 PyThreadState* __tstate = wxPyBeginAllowThreads();
7388 wxLogMessage((wxString const &)*arg1);
7389
7390 wxPyEndAllowThreads(__tstate);
7391 if (PyErr_Occurred()) SWIG_fail;
7392 }
7393 Py_INCREF(Py_None); resultobj = Py_None;
7394 {
7395 if (temp1)
7396 delete arg1;
7397 }
7398 return resultobj;
7399 fail:
7400 {
7401 if (temp1)
7402 delete arg1;
7403 }
7404 return NULL;
7405}
7406
7407
7408static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7409 PyObject *resultobj;
7410 wxString *arg1 = 0 ;
7411 bool temp1 = false ;
7412 PyObject * obj0 = 0 ;
7413 char *kwnames[] = {
7414 (char *) "msg", NULL
7415 };
7416
7417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
7418 {
7419 arg1 = wxString_in_helper(obj0);
7420 if (arg1 == NULL) SWIG_fail;
7421 temp1 = true;
7422 }
7423 {
7424 PyThreadState* __tstate = wxPyBeginAllowThreads();
7425 wxLogInfo((wxString const &)*arg1);
7426
7427 wxPyEndAllowThreads(__tstate);
7428 if (PyErr_Occurred()) SWIG_fail;
7429 }
7430 Py_INCREF(Py_None); resultobj = Py_None;
7431 {
7432 if (temp1)
7433 delete arg1;
7434 }
7435 return resultobj;
7436 fail:
7437 {
7438 if (temp1)
7439 delete arg1;
7440 }
7441 return NULL;
7442}
7443
7444
7445static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
7446 PyObject *resultobj;
7447 wxString *arg1 = 0 ;
7448 bool temp1 = false ;
7449 PyObject * obj0 = 0 ;
7450 char *kwnames[] = {
7451 (char *) "msg", NULL
7452 };
7453
7454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
7455 {
7456 arg1 = wxString_in_helper(obj0);
7457 if (arg1 == NULL) SWIG_fail;
7458 temp1 = true;
7459 }
7460 {
7461 PyThreadState* __tstate = wxPyBeginAllowThreads();
7462 wxLogDebug((wxString const &)*arg1);
7463
7464 wxPyEndAllowThreads(__tstate);
7465 if (PyErr_Occurred()) SWIG_fail;
7466 }
7467 Py_INCREF(Py_None); resultobj = Py_None;
7468 {
7469 if (temp1)
7470 delete arg1;
7471 }
7472 return resultobj;
7473 fail:
7474 {
7475 if (temp1)
7476 delete arg1;
7477 }
7478 return NULL;
7479}
7480
7481
7482static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7483 PyObject *resultobj;
7484 wxString *arg1 = 0 ;
7485 bool temp1 = false ;
7486 PyObject * obj0 = 0 ;
7487 char *kwnames[] = {
7488 (char *) "msg", NULL
7489 };
7490
7491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
7492 {
7493 arg1 = wxString_in_helper(obj0);
7494 if (arg1 == NULL) SWIG_fail;
7495 temp1 = true;
7496 }
7497 {
7498 PyThreadState* __tstate = wxPyBeginAllowThreads();
7499 wxLogVerbose((wxString const &)*arg1);
7500
7501 wxPyEndAllowThreads(__tstate);
7502 if (PyErr_Occurred()) SWIG_fail;
7503 }
7504 Py_INCREF(Py_None); resultobj = Py_None;
7505 {
7506 if (temp1)
7507 delete arg1;
7508 }
7509 return resultobj;
7510 fail:
7511 {
7512 if (temp1)
7513 delete arg1;
7514 }
7515 return NULL;
7516}
7517
7518
7519static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7520 PyObject *resultobj;
7521 wxString *arg1 = 0 ;
7522 bool temp1 = false ;
7523 PyObject * obj0 = 0 ;
7524 char *kwnames[] = {
7525 (char *) "msg", NULL
7526 };
7527
7528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
7529 {
7530 arg1 = wxString_in_helper(obj0);
7531 if (arg1 == NULL) SWIG_fail;
7532 temp1 = true;
7533 }
7534 {
7535 PyThreadState* __tstate = wxPyBeginAllowThreads();
7536 wxLogStatus((wxString const &)*arg1);
7537
7538 wxPyEndAllowThreads(__tstate);
7539 if (PyErr_Occurred()) SWIG_fail;
7540 }
7541 Py_INCREF(Py_None); resultobj = Py_None;
7542 {
7543 if (temp1)
7544 delete arg1;
7545 }
7546 return resultobj;
7547 fail:
7548 {
7549 if (temp1)
7550 delete arg1;
7551 }
7552 return NULL;
7553}
7554
7555
7556static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7557 PyObject *resultobj;
7558 wxFrame *arg1 = (wxFrame *) 0 ;
7559 wxString *arg2 = 0 ;
7560 bool temp2 = false ;
7561 PyObject * obj0 = 0 ;
7562 PyObject * obj1 = 0 ;
7563 char *kwnames[] = {
7564 (char *) "pFrame",(char *) "msg", NULL
7565 };
7566
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
7568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7569 {
7570 arg2 = wxString_in_helper(obj1);
7571 if (arg2 == NULL) SWIG_fail;
7572 temp2 = true;
7573 }
7574 {
7575 PyThreadState* __tstate = wxPyBeginAllowThreads();
7576 wxLogStatus(arg1,(wxString const &)*arg2);
7577
7578 wxPyEndAllowThreads(__tstate);
7579 if (PyErr_Occurred()) SWIG_fail;
7580 }
7581 Py_INCREF(Py_None); resultobj = Py_None;
7582 {
7583 if (temp2)
7584 delete arg2;
7585 }
7586 return resultobj;
7587 fail:
7588 {
7589 if (temp2)
7590 delete arg2;
7591 }
7592 return NULL;
7593}
7594
7595
7596static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
7597 PyObject *resultobj;
7598 wxString *arg1 = 0 ;
7599 bool temp1 = false ;
7600 PyObject * obj0 = 0 ;
7601 char *kwnames[] = {
7602 (char *) "msg", NULL
7603 };
7604
7605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
7606 {
7607 arg1 = wxString_in_helper(obj0);
7608 if (arg1 == NULL) SWIG_fail;
7609 temp1 = true;
7610 }
7611 {
7612 PyThreadState* __tstate = wxPyBeginAllowThreads();
7613 wxLogSysError((wxString const &)*arg1);
7614
7615 wxPyEndAllowThreads(__tstate);
7616 if (PyErr_Occurred()) SWIG_fail;
7617 }
7618 Py_INCREF(Py_None); resultobj = Py_None;
7619 {
7620 if (temp1)
7621 delete arg1;
7622 }
7623 return resultobj;
7624 fail:
7625 {
7626 if (temp1)
7627 delete arg1;
7628 }
7629 return NULL;
7630}
7631
7632
7633static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args, PyObject *kwargs) {
7634 PyObject *resultobj;
7635 wxString *arg1 = 0 ;
7636 bool temp1 = false ;
7637 PyObject * obj0 = 0 ;
7638 char *kwnames[] = {
7639 (char *) "msg", NULL
7640 };
7641
7642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogTrace",kwnames,&obj0)) goto fail;
7643 {
7644 arg1 = wxString_in_helper(obj0);
7645 if (arg1 == NULL) SWIG_fail;
7646 temp1 = true;
7647 }
7648 {
7649 PyThreadState* __tstate = wxPyBeginAllowThreads();
7650 wxLogTrace((wxString const &)*arg1);
7651
7652 wxPyEndAllowThreads(__tstate);
7653 if (PyErr_Occurred()) SWIG_fail;
7654 }
7655 Py_INCREF(Py_None); resultobj = Py_None;
7656 {
7657 if (temp1)
7658 delete arg1;
7659 }
7660 return resultobj;
7661 fail:
7662 {
7663 if (temp1)
7664 delete arg1;
7665 }
7666 return NULL;
7667}
7668
7669
7670static PyObject *_wrap_LogTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7671 PyObject *resultobj;
7672 wxString *arg1 = 0 ;
7673 wxString *arg2 = 0 ;
7674 bool temp1 = false ;
7675 bool temp2 = false ;
7676 PyObject * obj0 = 0 ;
7677 PyObject * obj1 = 0 ;
7678 char *kwnames[] = {
7679 (char *) "mask",(char *) "msg", NULL
7680 };
7681
7682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogTraceMask",kwnames,&obj0,&obj1)) goto fail;
7683 {
7684 arg1 = wxString_in_helper(obj0);
7685 if (arg1 == NULL) SWIG_fail;
7686 temp1 = true;
7687 }
7688 {
7689 arg2 = wxString_in_helper(obj1);
7690 if (arg2 == NULL) SWIG_fail;
7691 temp2 = true;
7692 }
7693 {
7694 PyThreadState* __tstate = wxPyBeginAllowThreads();
7695 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
7696
7697 wxPyEndAllowThreads(__tstate);
7698 if (PyErr_Occurred()) SWIG_fail;
7699 }
7700 Py_INCREF(Py_None); resultobj = Py_None;
7701 {
7702 if (temp1)
7703 delete arg1;
7704 }
7705 {
7706 if (temp2)
7707 delete arg2;
7708 }
7709 return resultobj;
7710 fail:
7711 {
7712 if (temp1)
7713 delete arg1;
7714 }
7715 {
7716 if (temp2)
7717 delete arg2;
7718 }
7719 return NULL;
7720}
7721
7722
7723static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
7724 PyObject *resultobj;
7725 unsigned long arg1 ;
7726 wxString *arg2 = 0 ;
7727 bool temp2 = false ;
7728 PyObject * obj0 = 0 ;
7729 PyObject * obj1 = 0 ;
7730 char *kwnames[] = {
7731 (char *) "level",(char *) "msg", NULL
7732 };
7733
7734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
7735 arg1 = (unsigned long) PyInt_AsLong(obj0);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 {
7738 arg2 = wxString_in_helper(obj1);
7739 if (arg2 == NULL) SWIG_fail;
7740 temp2 = true;
7741 }
7742 {
7743 PyThreadState* __tstate = wxPyBeginAllowThreads();
7744 wxLogGeneric(arg1,(wxString const &)*arg2);
7745
7746 wxPyEndAllowThreads(__tstate);
7747 if (PyErr_Occurred()) SWIG_fail;
7748 }
7749 Py_INCREF(Py_None); resultobj = Py_None;
7750 {
7751 if (temp2)
7752 delete arg2;
7753 }
7754 return resultobj;
7755 fail:
7756 {
7757 if (temp2)
7758 delete arg2;
7759 }
7760 return NULL;
7761}
7762
7763
7764static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7765 PyObject *resultobj;
7766 wxString *arg1 = 0 ;
7767 wxString *arg2 = 0 ;
7768 bool temp1 = false ;
7769 bool temp2 = false ;
7770 PyObject * obj0 = 0 ;
7771 PyObject * obj1 = 0 ;
7772 char *kwnames[] = {
7773 (char *) "title",(char *) "text", NULL
7774 };
7775
7776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
7777 {
7778 arg1 = wxString_in_helper(obj0);
7779 if (arg1 == NULL) SWIG_fail;
7780 temp1 = true;
7781 }
7782 {
7783 arg2 = wxString_in_helper(obj1);
7784 if (arg2 == NULL) SWIG_fail;
7785 temp2 = true;
7786 }
7787 {
7788 PyThreadState* __tstate = wxPyBeginAllowThreads();
7789 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
7790
7791 wxPyEndAllowThreads(__tstate);
7792 if (PyErr_Occurred()) SWIG_fail;
7793 }
7794 Py_INCREF(Py_None); resultobj = Py_None;
7795 {
7796 if (temp1)
7797 delete arg1;
7798 }
7799 {
7800 if (temp2)
7801 delete arg2;
7802 }
7803 return resultobj;
7804 fail:
7805 {
7806 if (temp1)
7807 delete arg1;
7808 }
7809 {
7810 if (temp2)
7811 delete arg2;
7812 }
7813 return NULL;
7814}
7815
7816
7817static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7818 PyObject *resultobj;
7819 wxLogNull *result;
7820 char *kwnames[] = {
7821 NULL
7822 };
7823
7824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
7825 {
7826 PyThreadState* __tstate = wxPyBeginAllowThreads();
7827 result = (wxLogNull *)new wxLogNull();
7828
7829 wxPyEndAllowThreads(__tstate);
7830 if (PyErr_Occurred()) SWIG_fail;
7831 }
7832 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogNull, 1);
7833 return resultobj;
7834 fail:
7835 return NULL;
7836}
7837
7838
7839static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7840 PyObject *resultobj;
7841 wxLogNull *arg1 = (wxLogNull *) 0 ;
7842 PyObject * obj0 = 0 ;
7843 char *kwnames[] = {
7844 (char *) "self", NULL
7845 };
7846
7847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
7848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogNull,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7849 {
7850 PyThreadState* __tstate = wxPyBeginAllowThreads();
7851 delete arg1;
7852
7853 wxPyEndAllowThreads(__tstate);
7854 if (PyErr_Occurred()) SWIG_fail;
7855 }
7856 Py_INCREF(Py_None); resultobj = Py_None;
7857 return resultobj;
7858 fail:
7859 return NULL;
7860}
7861
7862
7863static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
7864 PyObject *obj;
7865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7866 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
7867 Py_INCREF(obj);
7868 return Py_BuildValue((char *)"");
7869}
7870static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7871 PyObject *resultobj;
7872 wxPyLog *result;
7873 char *kwnames[] = {
7874 NULL
7875 };
7876
7877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
7878 {
7879 PyThreadState* __tstate = wxPyBeginAllowThreads();
7880 result = (wxPyLog *)new wxPyLog();
7881
7882 wxPyEndAllowThreads(__tstate);
7883 if (PyErr_Occurred()) SWIG_fail;
7884 }
7885 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLog, 1);
7886 return resultobj;
7887 fail:
7888 return NULL;
7889}
7890
7891
7892static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7893 PyObject *resultobj;
7894 wxPyLog *arg1 = (wxPyLog *) 0 ;
7895 PyObject *arg2 = (PyObject *) 0 ;
7896 PyObject *arg3 = (PyObject *) 0 ;
7897 PyObject * obj0 = 0 ;
7898 PyObject * obj1 = 0 ;
7899 PyObject * obj2 = 0 ;
7900 char *kwnames[] = {
7901 (char *) "self",(char *) "self",(char *) "_class", NULL
7902 };
7903
7904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7906 arg2 = obj1;
7907 arg3 = obj2;
7908 {
7909 PyThreadState* __tstate = wxPyBeginAllowThreads();
7910 (arg1)->_setCallbackInfo(arg2,arg3);
7911
7912 wxPyEndAllowThreads(__tstate);
7913 if (PyErr_Occurred()) SWIG_fail;
7914 }
7915 Py_INCREF(Py_None); resultobj = Py_None;
7916 return resultobj;
7917 fail:
7918 return NULL;
7919}
7920
7921
7922static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
7923 PyObject *obj;
7924 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7925 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
7926 Py_INCREF(obj);
7927 return Py_BuildValue((char *)"");
7928}
7929static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
7930 PyObject *resultobj;
7931 int arg1 ;
7932 int arg2 = (int) wxSIGTERM ;
7933 int result;
7934 char *kwnames[] = {
7935 (char *) "pid",(char *) "sig", NULL
7936 };
7937
7938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:Process_Kill",kwnames,&arg1,&arg2)) goto fail;
7939 {
7940 PyThreadState* __tstate = wxPyBeginAllowThreads();
7941 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
7942
7943 wxPyEndAllowThreads(__tstate);
7944 if (PyErr_Occurred()) SWIG_fail;
7945 }
7946 resultobj = PyInt_FromLong((long)result);
7947 return resultobj;
7948 fail:
7949 return NULL;
7950}
7951
7952
7953static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
7954 PyObject *resultobj;
7955 int arg1 ;
7956 bool result;
7957 char *kwnames[] = {
7958 (char *) "pid", NULL
7959 };
7960
7961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Process_Exists",kwnames,&arg1)) goto fail;
7962 {
7963 PyThreadState* __tstate = wxPyBeginAllowThreads();
7964 result = (bool)wxPyProcess::Exists(arg1);
7965
7966 wxPyEndAllowThreads(__tstate);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
7969 resultobj = PyInt_FromLong((long)result);
7970 return resultobj;
7971 fail:
7972 return NULL;
7973}
7974
7975
7976static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
7977 PyObject *resultobj;
7978 wxString *arg1 = 0 ;
7979 int arg2 = (int) wxEXEC_ASYNC ;
7980 wxPyProcess *result;
7981 bool temp1 = false ;
7982 PyObject * obj0 = 0 ;
7983 char *kwnames[] = {
7984 (char *) "cmd",(char *) "flags", NULL
7985 };
7986
7987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Process_Open",kwnames,&obj0,&arg2)) goto fail;
7988 {
7989 arg1 = wxString_in_helper(obj0);
7990 if (arg1 == NULL) SWIG_fail;
7991 temp1 = true;
7992 }
7993 {
7994 PyThreadState* __tstate = wxPyBeginAllowThreads();
7995 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
7996
7997 wxPyEndAllowThreads(__tstate);
7998 if (PyErr_Occurred()) SWIG_fail;
7999 }
8000 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 0);
8001 {
8002 if (temp1)
8003 delete arg1;
8004 }
8005 return resultobj;
8006 fail:
8007 {
8008 if (temp1)
8009 delete arg1;
8010 }
8011 return NULL;
8012}
8013
8014
8015static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
8016 PyObject *resultobj;
8017 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8018 int arg2 = (int) -1 ;
8019 wxPyProcess *result;
8020 PyObject * obj0 = 0 ;
8021 char *kwnames[] = {
8022 (char *) "parent",(char *) "id", NULL
8023 };
8024
8025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Process",kwnames,&obj0,&arg2)) goto fail;
8026 if (obj0) {
8027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8028 }
8029 {
8030 PyThreadState* __tstate = wxPyBeginAllowThreads();
8031 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8032
8033 wxPyEndAllowThreads(__tstate);
8034 if (PyErr_Occurred()) SWIG_fail;
8035 }
8036 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 1);
8037 return resultobj;
8038 fail:
8039 return NULL;
8040}
8041
8042
8043static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8044 PyObject *resultobj;
8045 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8046 PyObject *arg2 = (PyObject *) 0 ;
8047 PyObject *arg3 = (PyObject *) 0 ;
8048 PyObject * obj0 = 0 ;
8049 PyObject * obj1 = 0 ;
8050 PyObject * obj2 = 0 ;
8051 char *kwnames[] = {
8052 (char *) "self",(char *) "self",(char *) "_class", NULL
8053 };
8054
8055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8057 arg2 = obj1;
8058 arg3 = obj2;
8059 {
8060 PyThreadState* __tstate = wxPyBeginAllowThreads();
8061 (arg1)->_setCallbackInfo(arg2,arg3);
8062
8063 wxPyEndAllowThreads(__tstate);
8064 if (PyErr_Occurred()) SWIG_fail;
8065 }
8066 Py_INCREF(Py_None); resultobj = Py_None;
8067 return resultobj;
8068 fail:
8069 return NULL;
8070}
8071
8072
8073static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8074 PyObject *resultobj;
8075 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8076 int arg2 ;
8077 int arg3 ;
8078 PyObject * obj0 = 0 ;
8079 char *kwnames[] = {
8080 (char *) "self",(char *) "pid",(char *) "status", NULL
8081 };
8082
8083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Process_base_OnTerminate",kwnames,&obj0,&arg2,&arg3)) goto fail;
8084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8085 {
8086 PyThreadState* __tstate = wxPyBeginAllowThreads();
8087 (arg1)->base_OnTerminate(arg2,arg3);
8088
8089 wxPyEndAllowThreads(__tstate);
8090 if (PyErr_Occurred()) SWIG_fail;
8091 }
8092 Py_INCREF(Py_None); resultobj = Py_None;
8093 return resultobj;
8094 fail:
8095 return NULL;
8096}
8097
8098
8099static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8100 PyObject *resultobj;
8101 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8102 PyObject * obj0 = 0 ;
8103 char *kwnames[] = {
8104 (char *) "self", NULL
8105 };
8106
8107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8109 {
8110 PyThreadState* __tstate = wxPyBeginAllowThreads();
8111 (arg1)->Redirect();
8112
8113 wxPyEndAllowThreads(__tstate);
8114 if (PyErr_Occurred()) SWIG_fail;
8115 }
8116 Py_INCREF(Py_None); resultobj = Py_None;
8117 return resultobj;
8118 fail:
8119 return NULL;
8120}
8121
8122
8123static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8124 PyObject *resultobj;
8125 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8126 bool result;
8127 PyObject * obj0 = 0 ;
8128 char *kwnames[] = {
8129 (char *) "self", NULL
8130 };
8131
8132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8134 {
8135 PyThreadState* __tstate = wxPyBeginAllowThreads();
8136 result = (bool)(arg1)->IsRedirected();
8137
8138 wxPyEndAllowThreads(__tstate);
8139 if (PyErr_Occurred()) SWIG_fail;
8140 }
8141 resultobj = PyInt_FromLong((long)result);
8142 return resultobj;
8143 fail:
8144 return NULL;
8145}
8146
8147
8148static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8149 PyObject *resultobj;
8150 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8151 PyObject * obj0 = 0 ;
8152 char *kwnames[] = {
8153 (char *) "self", NULL
8154 };
8155
8156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8158 {
8159 PyThreadState* __tstate = wxPyBeginAllowThreads();
8160 (arg1)->Detach();
8161
8162 wxPyEndAllowThreads(__tstate);
8163 if (PyErr_Occurred()) SWIG_fail;
8164 }
8165 Py_INCREF(Py_None); resultobj = Py_None;
8166 return resultobj;
8167 fail:
8168 return NULL;
8169}
8170
8171
8172static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8173 PyObject *resultobj;
8174 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8175 wxInputStream *result;
8176 PyObject * obj0 = 0 ;
8177 char *kwnames[] = {
8178 (char *) "self", NULL
8179 };
8180
8181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
8182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8183 {
8184 PyThreadState* __tstate = wxPyBeginAllowThreads();
8185 result = (wxInputStream *)(arg1)->GetInputStream();
8186
8187 wxPyEndAllowThreads(__tstate);
8188 if (PyErr_Occurred()) SWIG_fail;
8189 }
8190 {
8191 wxPyInputStream * _ptr = NULL;
8192
8193 if (result) {
8194 _ptr = new wxPyInputStream(result);
8195 }
8196 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true);
8197 }
8198 return resultobj;
8199 fail:
8200 return NULL;
8201}
8202
8203
8204static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8205 PyObject *resultobj;
8206 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8207 wxInputStream *result;
8208 PyObject * obj0 = 0 ;
8209 char *kwnames[] = {
8210 (char *) "self", NULL
8211 };
8212
8213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
8214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8215 {
8216 PyThreadState* __tstate = wxPyBeginAllowThreads();
8217 result = (wxInputStream *)(arg1)->GetErrorStream();
8218
8219 wxPyEndAllowThreads(__tstate);
8220 if (PyErr_Occurred()) SWIG_fail;
8221 }
8222 {
8223 wxPyInputStream * _ptr = NULL;
8224
8225 if (result) {
8226 _ptr = new wxPyInputStream(result);
8227 }
8228 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true);
8229 }
8230 return resultobj;
8231 fail:
8232 return NULL;
8233}
8234
8235
8236static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8237 PyObject *resultobj;
8238 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8239 wxOutputStream *result;
8240 PyObject * obj0 = 0 ;
8241 char *kwnames[] = {
8242 (char *) "self", NULL
8243 };
8244
8245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
8246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8247 {
8248 PyThreadState* __tstate = wxPyBeginAllowThreads();
8249 result = (wxOutputStream *)(arg1)->GetOutputStream();
8250
8251 wxPyEndAllowThreads(__tstate);
8252 if (PyErr_Occurred()) SWIG_fail;
8253 }
8254 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxOutputStream, 0);
8255 return resultobj;
8256 fail:
8257 return NULL;
8258}
8259
8260
8261static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
8262 PyObject *resultobj;
8263 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8264 PyObject * obj0 = 0 ;
8265 char *kwnames[] = {
8266 (char *) "self", NULL
8267 };
8268
8269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
8270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8271 {
8272 PyThreadState* __tstate = wxPyBeginAllowThreads();
8273 (arg1)->CloseOutput();
8274
8275 wxPyEndAllowThreads(__tstate);
8276 if (PyErr_Occurred()) SWIG_fail;
8277 }
8278 Py_INCREF(Py_None); resultobj = Py_None;
8279 return resultobj;
8280 fail:
8281 return NULL;
8282}
8283
8284
8285static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
8286 PyObject *resultobj;
8287 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8288 bool result;
8289 PyObject * obj0 = 0 ;
8290 char *kwnames[] = {
8291 (char *) "self", NULL
8292 };
8293
8294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
8295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8296 {
8297 PyThreadState* __tstate = wxPyBeginAllowThreads();
8298 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
8299
8300 wxPyEndAllowThreads(__tstate);
8301 if (PyErr_Occurred()) SWIG_fail;
8302 }
8303 resultobj = PyInt_FromLong((long)result);
8304 return resultobj;
8305 fail:
8306 return NULL;
8307}
8308
8309
8310static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8311 PyObject *resultobj;
8312 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8313 bool result;
8314 PyObject * obj0 = 0 ;
8315 char *kwnames[] = {
8316 (char *) "self", NULL
8317 };
8318
8319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
8320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8321 {
8322 PyThreadState* __tstate = wxPyBeginAllowThreads();
8323 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
8324
8325 wxPyEndAllowThreads(__tstate);
8326 if (PyErr_Occurred()) SWIG_fail;
8327 }
8328 resultobj = PyInt_FromLong((long)result);
8329 return resultobj;
8330 fail:
8331 return NULL;
8332}
8333
8334
8335static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8336 PyObject *resultobj;
8337 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8338 bool result;
8339 PyObject * obj0 = 0 ;
8340 char *kwnames[] = {
8341 (char *) "self", NULL
8342 };
8343
8344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
8345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8346 {
8347 PyThreadState* __tstate = wxPyBeginAllowThreads();
8348 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
8349
8350 wxPyEndAllowThreads(__tstate);
8351 if (PyErr_Occurred()) SWIG_fail;
8352 }
8353 resultobj = PyInt_FromLong((long)result);
8354 return resultobj;
8355 fail:
8356 return NULL;
8357}
8358
8359
8360static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
8361 PyObject *obj;
8362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8363 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
8364 Py_INCREF(obj);
8365 return Py_BuildValue((char *)"");
8366}
8367static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8368 PyObject *resultobj;
8369 int arg1 = (int) 0 ;
8370 int arg2 = (int) 0 ;
8371 int arg3 = (int) 0 ;
8372 wxProcessEvent *result;
8373 char *kwnames[] = {
8374 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8375 };
8376
8377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iii:new_ProcessEvent",kwnames,&arg1,&arg2,&arg3)) goto fail;
8378 {
8379 PyThreadState* __tstate = wxPyBeginAllowThreads();
8380 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
8381
8382 wxPyEndAllowThreads(__tstate);
8383 if (PyErr_Occurred()) SWIG_fail;
8384 }
8385 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProcessEvent, 1);
8386 return resultobj;
8387 fail:
8388 return NULL;
8389}
8390
8391
8392static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
8393 PyObject *resultobj;
8394 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8395 int result;
8396 PyObject * obj0 = 0 ;
8397 char *kwnames[] = {
8398 (char *) "self", NULL
8399 };
8400
8401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
8402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8403 {
8404 PyThreadState* __tstate = wxPyBeginAllowThreads();
8405 result = (int)(arg1)->GetPid();
8406
8407 wxPyEndAllowThreads(__tstate);
8408 if (PyErr_Occurred()) SWIG_fail;
8409 }
8410 resultobj = PyInt_FromLong((long)result);
8411 return resultobj;
8412 fail:
8413 return NULL;
8414}
8415
8416
8417static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8418 PyObject *resultobj;
8419 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8420 int result;
8421 PyObject * obj0 = 0 ;
8422 char *kwnames[] = {
8423 (char *) "self", NULL
8424 };
8425
8426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
8427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8428 {
8429 PyThreadState* __tstate = wxPyBeginAllowThreads();
8430 result = (int)(arg1)->GetExitCode();
8431
8432 wxPyEndAllowThreads(__tstate);
8433 if (PyErr_Occurred()) SWIG_fail;
8434 }
8435 resultobj = PyInt_FromLong((long)result);
8436 return resultobj;
8437 fail:
8438 return NULL;
8439}
8440
8441
8442static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8443 PyObject *resultobj;
8444 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8445 int arg2 ;
8446 PyObject * obj0 = 0 ;
8447 char *kwnames[] = {
8448 (char *) "self",(char *) "m_pid", NULL
8449 };
8450
8451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_pid_set",kwnames,&obj0,&arg2)) goto fail;
8452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8453 if (arg1) (arg1)->m_pid = arg2;
8454
8455 Py_INCREF(Py_None); resultobj = Py_None;
8456 return resultobj;
8457 fail:
8458 return NULL;
8459}
8460
8461
8462static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8463 PyObject *resultobj;
8464 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8465 int result;
8466 PyObject * obj0 = 0 ;
8467 char *kwnames[] = {
8468 (char *) "self", NULL
8469 };
8470
8471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
8472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8473 result = (int) ((arg1)->m_pid);
8474
8475 resultobj = PyInt_FromLong((long)result);
8476 return resultobj;
8477 fail:
8478 return NULL;
8479}
8480
8481
8482static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8483 PyObject *resultobj;
8484 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8485 int arg2 ;
8486 PyObject * obj0 = 0 ;
8487 char *kwnames[] = {
8488 (char *) "self",(char *) "m_exitcode", NULL
8489 };
8490
8491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames,&obj0,&arg2)) goto fail;
8492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8493 if (arg1) (arg1)->m_exitcode = arg2;
8494
8495 Py_INCREF(Py_None); resultobj = Py_None;
8496 return resultobj;
8497 fail:
8498 return NULL;
8499}
8500
8501
8502static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8503 PyObject *resultobj;
8504 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8505 int result;
8506 PyObject * obj0 = 0 ;
8507 char *kwnames[] = {
8508 (char *) "self", NULL
8509 };
8510
8511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
8512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8513 result = (int) ((arg1)->m_exitcode);
8514
8515 resultobj = PyInt_FromLong((long)result);
8516 return resultobj;
8517 fail:
8518 return NULL;
8519}
8520
8521
8522static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
8523 PyObject *obj;
8524 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8525 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
8526 Py_INCREF(obj);
8527 return Py_BuildValue((char *)"");
8528}
8529static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
8530 PyObject *resultobj;
8531 wxString *arg1 = 0 ;
8532 int arg2 = (int) wxEXEC_ASYNC ;
8533 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
8534 long result;
8535 bool temp1 = false ;
8536 PyObject * obj0 = 0 ;
8537 PyObject * obj2 = 0 ;
8538 char *kwnames[] = {
8539 (char *) "command",(char *) "flags",(char *) "process", NULL
8540 };
8541
8542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Execute",kwnames,&obj0,&arg2,&obj2)) goto fail;
8543 {
8544 arg1 = wxString_in_helper(obj0);
8545 if (arg1 == NULL) SWIG_fail;
8546 temp1 = true;
8547 }
8548 if (obj2) {
8549 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8550 }
8551 {
8552 PyThreadState* __tstate = wxPyBeginAllowThreads();
8553 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
8554
8555 wxPyEndAllowThreads(__tstate);
8556 if (PyErr_Occurred()) SWIG_fail;
8557 }
8558 resultobj = PyInt_FromLong((long)result);
8559 {
8560 if (temp1)
8561 delete arg1;
8562 }
8563 return resultobj;
8564 fail:
8565 {
8566 if (temp1)
8567 delete arg1;
8568 }
8569 return NULL;
8570}
8571
8572
8573static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8574 PyObject *resultobj;
8575 int arg1 = (int) wxJOYSTICK1 ;
8576 wxJoystick *result;
8577 char *kwnames[] = {
8578 (char *) "joystick", NULL
8579 };
8580
8581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_Joystick",kwnames,&arg1)) goto fail;
8582 {
8583 PyThreadState* __tstate = wxPyBeginAllowThreads();
8584 result = (wxJoystick *)new wxJoystick(arg1);
8585
8586 wxPyEndAllowThreads(__tstate);
8587 if (PyErr_Occurred()) SWIG_fail;
8588 }
8589 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystick, 1);
8590 return resultobj;
8591 fail:
8592 return NULL;
8593}
8594
8595
8596static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8597 PyObject *resultobj;
8598 wxJoystick *arg1 = (wxJoystick *) 0 ;
8599 PyObject * obj0 = 0 ;
8600 char *kwnames[] = {
8601 (char *) "self", NULL
8602 };
8603
8604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
8605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8606 {
8607 PyThreadState* __tstate = wxPyBeginAllowThreads();
8608 delete arg1;
8609
8610 wxPyEndAllowThreads(__tstate);
8611 if (PyErr_Occurred()) SWIG_fail;
8612 }
8613 Py_INCREF(Py_None); resultobj = Py_None;
8614 return resultobj;
8615 fail:
8616 return NULL;
8617}
8618
8619
8620static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8621 PyObject *resultobj;
8622 wxJoystick *arg1 = (wxJoystick *) 0 ;
8623 wxPoint result;
8624 PyObject * obj0 = 0 ;
8625 char *kwnames[] = {
8626 (char *) "self", NULL
8627 };
8628
8629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
8630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8631 {
8632 PyThreadState* __tstate = wxPyBeginAllowThreads();
8633 result = (arg1)->GetPosition();
8634
8635 wxPyEndAllowThreads(__tstate);
8636 if (PyErr_Occurred()) SWIG_fail;
8637 }
8638 {
8639 wxPoint * resultptr;
8640 resultptr = new wxPoint((wxPoint &) result);
8641 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8642 }
8643 return resultobj;
8644 fail:
8645 return NULL;
8646}
8647
8648
8649static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8650 PyObject *resultobj;
8651 wxJoystick *arg1 = (wxJoystick *) 0 ;
8652 int result;
8653 PyObject * obj0 = 0 ;
8654 char *kwnames[] = {
8655 (char *) "self", NULL
8656 };
8657
8658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
8659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8660 {
8661 PyThreadState* __tstate = wxPyBeginAllowThreads();
8662 result = (int)(arg1)->GetZPosition();
8663
8664 wxPyEndAllowThreads(__tstate);
8665 if (PyErr_Occurred()) SWIG_fail;
8666 }
8667 resultobj = PyInt_FromLong((long)result);
8668 return resultobj;
8669 fail:
8670 return NULL;
8671}
8672
8673
8674static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
8675 PyObject *resultobj;
8676 wxJoystick *arg1 = (wxJoystick *) 0 ;
8677 int result;
8678 PyObject * obj0 = 0 ;
8679 char *kwnames[] = {
8680 (char *) "self", NULL
8681 };
8682
8683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
8684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8685 {
8686 PyThreadState* __tstate = wxPyBeginAllowThreads();
8687 result = (int)(arg1)->GetButtonState();
8688
8689 wxPyEndAllowThreads(__tstate);
8690 if (PyErr_Occurred()) SWIG_fail;
8691 }
8692 resultobj = PyInt_FromLong((long)result);
8693 return resultobj;
8694 fail:
8695 return NULL;
8696}
8697
8698
8699static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8700 PyObject *resultobj;
8701 wxJoystick *arg1 = (wxJoystick *) 0 ;
8702 int result;
8703 PyObject * obj0 = 0 ;
8704 char *kwnames[] = {
8705 (char *) "self", NULL
8706 };
8707
8708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
8709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8710 {
8711 PyThreadState* __tstate = wxPyBeginAllowThreads();
8712 result = (int)(arg1)->GetPOVPosition();
8713
8714 wxPyEndAllowThreads(__tstate);
8715 if (PyErr_Occurred()) SWIG_fail;
8716 }
8717 resultobj = PyInt_FromLong((long)result);
8718 return resultobj;
8719 fail:
8720 return NULL;
8721}
8722
8723
8724static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8725 PyObject *resultobj;
8726 wxJoystick *arg1 = (wxJoystick *) 0 ;
8727 int result;
8728 PyObject * obj0 = 0 ;
8729 char *kwnames[] = {
8730 (char *) "self", NULL
8731 };
8732
8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
8734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8735 {
8736 PyThreadState* __tstate = wxPyBeginAllowThreads();
8737 result = (int)(arg1)->GetPOVCTSPosition();
8738
8739 wxPyEndAllowThreads(__tstate);
8740 if (PyErr_Occurred()) SWIG_fail;
8741 }
8742 resultobj = PyInt_FromLong((long)result);
8743 return resultobj;
8744 fail:
8745 return NULL;
8746}
8747
8748
8749static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8750 PyObject *resultobj;
8751 wxJoystick *arg1 = (wxJoystick *) 0 ;
8752 int result;
8753 PyObject * obj0 = 0 ;
8754 char *kwnames[] = {
8755 (char *) "self", NULL
8756 };
8757
8758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
8759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8760 {
8761 PyThreadState* __tstate = wxPyBeginAllowThreads();
8762 result = (int)(arg1)->GetRudderPosition();
8763
8764 wxPyEndAllowThreads(__tstate);
8765 if (PyErr_Occurred()) SWIG_fail;
8766 }
8767 resultobj = PyInt_FromLong((long)result);
8768 return resultobj;
8769 fail:
8770 return NULL;
8771}
8772
8773
8774static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8775 PyObject *resultobj;
8776 wxJoystick *arg1 = (wxJoystick *) 0 ;
8777 int result;
8778 PyObject * obj0 = 0 ;
8779 char *kwnames[] = {
8780 (char *) "self", NULL
8781 };
8782
8783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
8784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8785 {
8786 PyThreadState* __tstate = wxPyBeginAllowThreads();
8787 result = (int)(arg1)->GetUPosition();
8788
8789 wxPyEndAllowThreads(__tstate);
8790 if (PyErr_Occurred()) SWIG_fail;
8791 }
8792 resultobj = PyInt_FromLong((long)result);
8793 return resultobj;
8794 fail:
8795 return NULL;
8796}
8797
8798
8799static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8800 PyObject *resultobj;
8801 wxJoystick *arg1 = (wxJoystick *) 0 ;
8802 int result;
8803 PyObject * obj0 = 0 ;
8804 char *kwnames[] = {
8805 (char *) "self", NULL
8806 };
8807
8808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
8809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8810 {
8811 PyThreadState* __tstate = wxPyBeginAllowThreads();
8812 result = (int)(arg1)->GetVPosition();
8813
8814 wxPyEndAllowThreads(__tstate);
8815 if (PyErr_Occurred()) SWIG_fail;
8816 }
8817 resultobj = PyInt_FromLong((long)result);
8818 return resultobj;
8819 fail:
8820 return NULL;
8821}
8822
8823
8824static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8825 PyObject *resultobj;
8826 wxJoystick *arg1 = (wxJoystick *) 0 ;
8827 int result;
8828 PyObject * obj0 = 0 ;
8829 char *kwnames[] = {
8830 (char *) "self", NULL
8831 };
8832
8833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
8834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8835 {
8836 PyThreadState* __tstate = wxPyBeginAllowThreads();
8837 result = (int)(arg1)->GetMovementThreshold();
8838
8839 wxPyEndAllowThreads(__tstate);
8840 if (PyErr_Occurred()) SWIG_fail;
8841 }
8842 resultobj = PyInt_FromLong((long)result);
8843 return resultobj;
8844 fail:
8845 return NULL;
8846}
8847
8848
8849static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8850 PyObject *resultobj;
8851 wxJoystick *arg1 = (wxJoystick *) 0 ;
8852 int arg2 ;
8853 PyObject * obj0 = 0 ;
8854 char *kwnames[] = {
8855 (char *) "self",(char *) "threshold", NULL
8856 };
8857
8858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Joystick_SetMovementThreshold",kwnames,&obj0,&arg2)) goto fail;
8859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8860 {
8861 PyThreadState* __tstate = wxPyBeginAllowThreads();
8862 (arg1)->SetMovementThreshold(arg2);
8863
8864 wxPyEndAllowThreads(__tstate);
8865 if (PyErr_Occurred()) SWIG_fail;
8866 }
8867 Py_INCREF(Py_None); resultobj = Py_None;
8868 return resultobj;
8869 fail:
8870 return NULL;
8871}
8872
8873
8874static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
8875 PyObject *resultobj;
8876 wxJoystick *arg1 = (wxJoystick *) 0 ;
8877 bool result;
8878 PyObject * obj0 = 0 ;
8879 char *kwnames[] = {
8880 (char *) "self", NULL
8881 };
8882
8883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
8884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8885 {
8886 PyThreadState* __tstate = wxPyBeginAllowThreads();
8887 result = (bool)(arg1)->IsOk();
8888
8889 wxPyEndAllowThreads(__tstate);
8890 if (PyErr_Occurred()) SWIG_fail;
8891 }
8892 resultobj = PyInt_FromLong((long)result);
8893 return resultobj;
8894 fail:
8895 return NULL;
8896}
8897
8898
8899static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
8900 PyObject *resultobj;
8901 wxJoystick *arg1 = (wxJoystick *) 0 ;
8902 int result;
8903 PyObject * obj0 = 0 ;
8904 char *kwnames[] = {
8905 (char *) "self", NULL
8906 };
8907
8908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
8909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8910 {
8911 PyThreadState* __tstate = wxPyBeginAllowThreads();
8912 result = (int)(arg1)->GetNumberJoysticks();
8913
8914 wxPyEndAllowThreads(__tstate);
8915 if (PyErr_Occurred()) SWIG_fail;
8916 }
8917 resultobj = PyInt_FromLong((long)result);
8918 return resultobj;
8919 fail:
8920 return NULL;
8921}
8922
8923
8924static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
8925 PyObject *resultobj;
8926 wxJoystick *arg1 = (wxJoystick *) 0 ;
8927 int result;
8928 PyObject * obj0 = 0 ;
8929 char *kwnames[] = {
8930 (char *) "self", NULL
8931 };
8932
8933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
8934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8935 {
8936 PyThreadState* __tstate = wxPyBeginAllowThreads();
8937 result = (int)(arg1)->GetManufacturerId();
8938
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
8942 resultobj = PyInt_FromLong((long)result);
8943 return resultobj;
8944 fail:
8945 return NULL;
8946}
8947
8948
8949static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
8950 PyObject *resultobj;
8951 wxJoystick *arg1 = (wxJoystick *) 0 ;
8952 int result;
8953 PyObject * obj0 = 0 ;
8954 char *kwnames[] = {
8955 (char *) "self", NULL
8956 };
8957
8958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
8959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8960 {
8961 PyThreadState* __tstate = wxPyBeginAllowThreads();
8962 result = (int)(arg1)->GetProductId();
8963
8964 wxPyEndAllowThreads(__tstate);
8965 if (PyErr_Occurred()) SWIG_fail;
8966 }
8967 resultobj = PyInt_FromLong((long)result);
8968 return resultobj;
8969 fail:
8970 return NULL;
8971}
8972
8973
8974static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
8975 PyObject *resultobj;
8976 wxJoystick *arg1 = (wxJoystick *) 0 ;
8977 wxString result;
8978 PyObject * obj0 = 0 ;
8979 char *kwnames[] = {
8980 (char *) "self", NULL
8981 };
8982
8983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
8984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8985 {
8986 PyThreadState* __tstate = wxPyBeginAllowThreads();
8987 result = (arg1)->GetProductName();
8988
8989 wxPyEndAllowThreads(__tstate);
8990 if (PyErr_Occurred()) SWIG_fail;
8991 }
8992 {
8993#if wxUSE_UNICODE
8994 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8995#else
8996 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8997#endif
8998 }
8999 return resultobj;
9000 fail:
9001 return NULL;
9002}
9003
9004
9005static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9006 PyObject *resultobj;
9007 wxJoystick *arg1 = (wxJoystick *) 0 ;
9008 int result;
9009 PyObject * obj0 = 0 ;
9010 char *kwnames[] = {
9011 (char *) "self", NULL
9012 };
9013
9014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
9015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9016 {
9017 PyThreadState* __tstate = wxPyBeginAllowThreads();
9018 result = (int)(arg1)->GetXMin();
9019
9020 wxPyEndAllowThreads(__tstate);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 }
9023 resultobj = PyInt_FromLong((long)result);
9024 return resultobj;
9025 fail:
9026 return NULL;
9027}
9028
9029
9030static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9031 PyObject *resultobj;
9032 wxJoystick *arg1 = (wxJoystick *) 0 ;
9033 int result;
9034 PyObject * obj0 = 0 ;
9035 char *kwnames[] = {
9036 (char *) "self", NULL
9037 };
9038
9039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
9040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9041 {
9042 PyThreadState* __tstate = wxPyBeginAllowThreads();
9043 result = (int)(arg1)->GetYMin();
9044
9045 wxPyEndAllowThreads(__tstate);
9046 if (PyErr_Occurred()) SWIG_fail;
9047 }
9048 resultobj = PyInt_FromLong((long)result);
9049 return resultobj;
9050 fail:
9051 return NULL;
9052}
9053
9054
9055static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9056 PyObject *resultobj;
9057 wxJoystick *arg1 = (wxJoystick *) 0 ;
9058 int result;
9059 PyObject * obj0 = 0 ;
9060 char *kwnames[] = {
9061 (char *) "self", NULL
9062 };
9063
9064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9066 {
9067 PyThreadState* __tstate = wxPyBeginAllowThreads();
9068 result = (int)(arg1)->GetZMin();
9069
9070 wxPyEndAllowThreads(__tstate);
9071 if (PyErr_Occurred()) SWIG_fail;
9072 }
9073 resultobj = PyInt_FromLong((long)result);
9074 return resultobj;
9075 fail:
9076 return NULL;
9077}
9078
9079
9080static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9081 PyObject *resultobj;
9082 wxJoystick *arg1 = (wxJoystick *) 0 ;
9083 int result;
9084 PyObject * obj0 = 0 ;
9085 char *kwnames[] = {
9086 (char *) "self", NULL
9087 };
9088
9089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9091 {
9092 PyThreadState* __tstate = wxPyBeginAllowThreads();
9093 result = (int)(arg1)->GetXMax();
9094
9095 wxPyEndAllowThreads(__tstate);
9096 if (PyErr_Occurred()) SWIG_fail;
9097 }
9098 resultobj = PyInt_FromLong((long)result);
9099 return resultobj;
9100 fail:
9101 return NULL;
9102}
9103
9104
9105static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9106 PyObject *resultobj;
9107 wxJoystick *arg1 = (wxJoystick *) 0 ;
9108 int result;
9109 PyObject * obj0 = 0 ;
9110 char *kwnames[] = {
9111 (char *) "self", NULL
9112 };
9113
9114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
9115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9116 {
9117 PyThreadState* __tstate = wxPyBeginAllowThreads();
9118 result = (int)(arg1)->GetYMax();
9119
9120 wxPyEndAllowThreads(__tstate);
9121 if (PyErr_Occurred()) SWIG_fail;
9122 }
9123 resultobj = PyInt_FromLong((long)result);
9124 return resultobj;
9125 fail:
9126 return NULL;
9127}
9128
9129
9130static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9131 PyObject *resultobj;
9132 wxJoystick *arg1 = (wxJoystick *) 0 ;
9133 int result;
9134 PyObject * obj0 = 0 ;
9135 char *kwnames[] = {
9136 (char *) "self", NULL
9137 };
9138
9139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
9140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9141 {
9142 PyThreadState* __tstate = wxPyBeginAllowThreads();
9143 result = (int)(arg1)->GetZMax();
9144
9145 wxPyEndAllowThreads(__tstate);
9146 if (PyErr_Occurred()) SWIG_fail;
9147 }
9148 resultobj = PyInt_FromLong((long)result);
9149 return resultobj;
9150 fail:
9151 return NULL;
9152}
9153
9154
9155static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9156 PyObject *resultobj;
9157 wxJoystick *arg1 = (wxJoystick *) 0 ;
9158 int result;
9159 PyObject * obj0 = 0 ;
9160 char *kwnames[] = {
9161 (char *) "self", NULL
9162 };
9163
9164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
9165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9166 {
9167 PyThreadState* __tstate = wxPyBeginAllowThreads();
9168 result = (int)(arg1)->GetNumberButtons();
9169
9170 wxPyEndAllowThreads(__tstate);
9171 if (PyErr_Occurred()) SWIG_fail;
9172 }
9173 resultobj = PyInt_FromLong((long)result);
9174 return resultobj;
9175 fail:
9176 return NULL;
9177}
9178
9179
9180static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9181 PyObject *resultobj;
9182 wxJoystick *arg1 = (wxJoystick *) 0 ;
9183 int result;
9184 PyObject * obj0 = 0 ;
9185 char *kwnames[] = {
9186 (char *) "self", NULL
9187 };
9188
9189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
9190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9191 {
9192 PyThreadState* __tstate = wxPyBeginAllowThreads();
9193 result = (int)(arg1)->GetNumberAxes();
9194
9195 wxPyEndAllowThreads(__tstate);
9196 if (PyErr_Occurred()) SWIG_fail;
9197 }
9198 resultobj = PyInt_FromLong((long)result);
9199 return resultobj;
9200 fail:
9201 return NULL;
9202}
9203
9204
9205static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9206 PyObject *resultobj;
9207 wxJoystick *arg1 = (wxJoystick *) 0 ;
9208 int result;
9209 PyObject * obj0 = 0 ;
9210 char *kwnames[] = {
9211 (char *) "self", NULL
9212 };
9213
9214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
9215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9216 {
9217 PyThreadState* __tstate = wxPyBeginAllowThreads();
9218 result = (int)(arg1)->GetMaxButtons();
9219
9220 wxPyEndAllowThreads(__tstate);
9221 if (PyErr_Occurred()) SWIG_fail;
9222 }
9223 resultobj = PyInt_FromLong((long)result);
9224 return resultobj;
9225 fail:
9226 return NULL;
9227}
9228
9229
9230static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9231 PyObject *resultobj;
9232 wxJoystick *arg1 = (wxJoystick *) 0 ;
9233 int result;
9234 PyObject * obj0 = 0 ;
9235 char *kwnames[] = {
9236 (char *) "self", NULL
9237 };
9238
9239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
9240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9241 {
9242 PyThreadState* __tstate = wxPyBeginAllowThreads();
9243 result = (int)(arg1)->GetMaxAxes();
9244
9245 wxPyEndAllowThreads(__tstate);
9246 if (PyErr_Occurred()) SWIG_fail;
9247 }
9248 resultobj = PyInt_FromLong((long)result);
9249 return resultobj;
9250 fail:
9251 return NULL;
9252}
9253
9254
9255static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9256 PyObject *resultobj;
9257 wxJoystick *arg1 = (wxJoystick *) 0 ;
9258 int result;
9259 PyObject * obj0 = 0 ;
9260 char *kwnames[] = {
9261 (char *) "self", NULL
9262 };
9263
9264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
9265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9266 {
9267 PyThreadState* __tstate = wxPyBeginAllowThreads();
9268 result = (int)(arg1)->GetPollingMin();
9269
9270 wxPyEndAllowThreads(__tstate);
9271 if (PyErr_Occurred()) SWIG_fail;
9272 }
9273 resultobj = PyInt_FromLong((long)result);
9274 return resultobj;
9275 fail:
9276 return NULL;
9277}
9278
9279
9280static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9281 PyObject *resultobj;
9282 wxJoystick *arg1 = (wxJoystick *) 0 ;
9283 int result;
9284 PyObject * obj0 = 0 ;
9285 char *kwnames[] = {
9286 (char *) "self", NULL
9287 };
9288
9289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
9290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9291 {
9292 PyThreadState* __tstate = wxPyBeginAllowThreads();
9293 result = (int)(arg1)->GetPollingMax();
9294
9295 wxPyEndAllowThreads(__tstate);
9296 if (PyErr_Occurred()) SWIG_fail;
9297 }
9298 resultobj = PyInt_FromLong((long)result);
9299 return resultobj;
9300 fail:
9301 return NULL;
9302}
9303
9304
9305static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9306 PyObject *resultobj;
9307 wxJoystick *arg1 = (wxJoystick *) 0 ;
9308 int result;
9309 PyObject * obj0 = 0 ;
9310 char *kwnames[] = {
9311 (char *) "self", NULL
9312 };
9313
9314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
9315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9316 {
9317 PyThreadState* __tstate = wxPyBeginAllowThreads();
9318 result = (int)(arg1)->GetRudderMin();
9319
9320 wxPyEndAllowThreads(__tstate);
9321 if (PyErr_Occurred()) SWIG_fail;
9322 }
9323 resultobj = PyInt_FromLong((long)result);
9324 return resultobj;
9325 fail:
9326 return NULL;
9327}
9328
9329
9330static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9331 PyObject *resultobj;
9332 wxJoystick *arg1 = (wxJoystick *) 0 ;
9333 int result;
9334 PyObject * obj0 = 0 ;
9335 char *kwnames[] = {
9336 (char *) "self", NULL
9337 };
9338
9339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
9340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9341 {
9342 PyThreadState* __tstate = wxPyBeginAllowThreads();
9343 result = (int)(arg1)->GetRudderMax();
9344
9345 wxPyEndAllowThreads(__tstate);
9346 if (PyErr_Occurred()) SWIG_fail;
9347 }
9348 resultobj = PyInt_FromLong((long)result);
9349 return resultobj;
9350 fail:
9351 return NULL;
9352}
9353
9354
9355static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9356 PyObject *resultobj;
9357 wxJoystick *arg1 = (wxJoystick *) 0 ;
9358 int result;
9359 PyObject * obj0 = 0 ;
9360 char *kwnames[] = {
9361 (char *) "self", NULL
9362 };
9363
9364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
9365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9366 {
9367 PyThreadState* __tstate = wxPyBeginAllowThreads();
9368 result = (int)(arg1)->GetUMin();
9369
9370 wxPyEndAllowThreads(__tstate);
9371 if (PyErr_Occurred()) SWIG_fail;
9372 }
9373 resultobj = PyInt_FromLong((long)result);
9374 return resultobj;
9375 fail:
9376 return NULL;
9377}
9378
9379
9380static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9381 PyObject *resultobj;
9382 wxJoystick *arg1 = (wxJoystick *) 0 ;
9383 int result;
9384 PyObject * obj0 = 0 ;
9385 char *kwnames[] = {
9386 (char *) "self", NULL
9387 };
9388
9389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
9390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9391 {
9392 PyThreadState* __tstate = wxPyBeginAllowThreads();
9393 result = (int)(arg1)->GetUMax();
9394
9395 wxPyEndAllowThreads(__tstate);
9396 if (PyErr_Occurred()) SWIG_fail;
9397 }
9398 resultobj = PyInt_FromLong((long)result);
9399 return resultobj;
9400 fail:
9401 return NULL;
9402}
9403
9404
9405static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9406 PyObject *resultobj;
9407 wxJoystick *arg1 = (wxJoystick *) 0 ;
9408 int result;
9409 PyObject * obj0 = 0 ;
9410 char *kwnames[] = {
9411 (char *) "self", NULL
9412 };
9413
9414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
9415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9416 {
9417 PyThreadState* __tstate = wxPyBeginAllowThreads();
9418 result = (int)(arg1)->GetVMin();
9419
9420 wxPyEndAllowThreads(__tstate);
9421 if (PyErr_Occurred()) SWIG_fail;
9422 }
9423 resultobj = PyInt_FromLong((long)result);
9424 return resultobj;
9425 fail:
9426 return NULL;
9427}
9428
9429
9430static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9431 PyObject *resultobj;
9432 wxJoystick *arg1 = (wxJoystick *) 0 ;
9433 int result;
9434 PyObject * obj0 = 0 ;
9435 char *kwnames[] = {
9436 (char *) "self", NULL
9437 };
9438
9439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
9440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9441 {
9442 PyThreadState* __tstate = wxPyBeginAllowThreads();
9443 result = (int)(arg1)->GetVMax();
9444
9445 wxPyEndAllowThreads(__tstate);
9446 if (PyErr_Occurred()) SWIG_fail;
9447 }
9448 resultobj = PyInt_FromLong((long)result);
9449 return resultobj;
9450 fail:
9451 return NULL;
9452}
9453
9454
9455static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
9456 PyObject *resultobj;
9457 wxJoystick *arg1 = (wxJoystick *) 0 ;
9458 bool result;
9459 PyObject * obj0 = 0 ;
9460 char *kwnames[] = {
9461 (char *) "self", NULL
9462 };
9463
9464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
9465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9466 {
9467 PyThreadState* __tstate = wxPyBeginAllowThreads();
9468 result = (bool)(arg1)->HasRudder();
9469
9470 wxPyEndAllowThreads(__tstate);
9471 if (PyErr_Occurred()) SWIG_fail;
9472 }
9473 resultobj = PyInt_FromLong((long)result);
9474 return resultobj;
9475 fail:
9476 return NULL;
9477}
9478
9479
9480static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
9481 PyObject *resultobj;
9482 wxJoystick *arg1 = (wxJoystick *) 0 ;
9483 bool result;
9484 PyObject * obj0 = 0 ;
9485 char *kwnames[] = {
9486 (char *) "self", NULL
9487 };
9488
9489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
9490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9491 {
9492 PyThreadState* __tstate = wxPyBeginAllowThreads();
9493 result = (bool)(arg1)->HasZ();
9494
9495 wxPyEndAllowThreads(__tstate);
9496 if (PyErr_Occurred()) SWIG_fail;
9497 }
9498 resultobj = PyInt_FromLong((long)result);
9499 return resultobj;
9500 fail:
9501 return NULL;
9502}
9503
9504
9505static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
9506 PyObject *resultobj;
9507 wxJoystick *arg1 = (wxJoystick *) 0 ;
9508 bool result;
9509 PyObject * obj0 = 0 ;
9510 char *kwnames[] = {
9511 (char *) "self", NULL
9512 };
9513
9514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
9515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9516 {
9517 PyThreadState* __tstate = wxPyBeginAllowThreads();
9518 result = (bool)(arg1)->HasU();
9519
9520 wxPyEndAllowThreads(__tstate);
9521 if (PyErr_Occurred()) SWIG_fail;
9522 }
9523 resultobj = PyInt_FromLong((long)result);
9524 return resultobj;
9525 fail:
9526 return NULL;
9527}
9528
9529
9530static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
9531 PyObject *resultobj;
9532 wxJoystick *arg1 = (wxJoystick *) 0 ;
9533 bool result;
9534 PyObject * obj0 = 0 ;
9535 char *kwnames[] = {
9536 (char *) "self", NULL
9537 };
9538
9539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
9540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9541 {
9542 PyThreadState* __tstate = wxPyBeginAllowThreads();
9543 result = (bool)(arg1)->HasV();
9544
9545 wxPyEndAllowThreads(__tstate);
9546 if (PyErr_Occurred()) SWIG_fail;
9547 }
9548 resultobj = PyInt_FromLong((long)result);
9549 return resultobj;
9550 fail:
9551 return NULL;
9552}
9553
9554
9555static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
9556 PyObject *resultobj;
9557 wxJoystick *arg1 = (wxJoystick *) 0 ;
9558 bool result;
9559 PyObject * obj0 = 0 ;
9560 char *kwnames[] = {
9561 (char *) "self", NULL
9562 };
9563
9564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
9565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9566 {
9567 PyThreadState* __tstate = wxPyBeginAllowThreads();
9568 result = (bool)(arg1)->HasPOV();
9569
9570 wxPyEndAllowThreads(__tstate);
9571 if (PyErr_Occurred()) SWIG_fail;
9572 }
9573 resultobj = PyInt_FromLong((long)result);
9574 return resultobj;
9575 fail:
9576 return NULL;
9577}
9578
9579
9580static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
9581 PyObject *resultobj;
9582 wxJoystick *arg1 = (wxJoystick *) 0 ;
9583 bool result;
9584 PyObject * obj0 = 0 ;
9585 char *kwnames[] = {
9586 (char *) "self", NULL
9587 };
9588
9589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
9590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9591 {
9592 PyThreadState* __tstate = wxPyBeginAllowThreads();
9593 result = (bool)(arg1)->HasPOV4Dir();
9594
9595 wxPyEndAllowThreads(__tstate);
9596 if (PyErr_Occurred()) SWIG_fail;
9597 }
9598 resultobj = PyInt_FromLong((long)result);
9599 return resultobj;
9600 fail:
9601 return NULL;
9602}
9603
9604
9605static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
9606 PyObject *resultobj;
9607 wxJoystick *arg1 = (wxJoystick *) 0 ;
9608 bool result;
9609 PyObject * obj0 = 0 ;
9610 char *kwnames[] = {
9611 (char *) "self", NULL
9612 };
9613
9614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
9615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9616 {
9617 PyThreadState* __tstate = wxPyBeginAllowThreads();
9618 result = (bool)(arg1)->HasPOVCTS();
9619
9620 wxPyEndAllowThreads(__tstate);
9621 if (PyErr_Occurred()) SWIG_fail;
9622 }
9623 resultobj = PyInt_FromLong((long)result);
9624 return resultobj;
9625 fail:
9626 return NULL;
9627}
9628
9629
9630static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9631 PyObject *resultobj;
9632 wxJoystick *arg1 = (wxJoystick *) 0 ;
9633 wxWindow *arg2 = (wxWindow *) 0 ;
9634 int arg3 = (int) 0 ;
9635 bool result;
9636 PyObject * obj0 = 0 ;
9637 PyObject * obj1 = 0 ;
9638 char *kwnames[] = {
9639 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9640 };
9641
9642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Joystick_SetCapture",kwnames,&obj0,&obj1,&arg3)) goto fail;
9643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9645 {
9646 PyThreadState* __tstate = wxPyBeginAllowThreads();
9647 result = (bool)(arg1)->SetCapture(arg2,arg3);
9648
9649 wxPyEndAllowThreads(__tstate);
9650 if (PyErr_Occurred()) SWIG_fail;
9651 }
9652 resultobj = PyInt_FromLong((long)result);
9653 return resultobj;
9654 fail:
9655 return NULL;
9656}
9657
9658
9659static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9660 PyObject *resultobj;
9661 wxJoystick *arg1 = (wxJoystick *) 0 ;
9662 bool result;
9663 PyObject * obj0 = 0 ;
9664 char *kwnames[] = {
9665 (char *) "self", NULL
9666 };
9667
9668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
9669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9670 {
9671 PyThreadState* __tstate = wxPyBeginAllowThreads();
9672 result = (bool)(arg1)->ReleaseCapture();
9673
9674 wxPyEndAllowThreads(__tstate);
9675 if (PyErr_Occurred()) SWIG_fail;
9676 }
9677 resultobj = PyInt_FromLong((long)result);
9678 return resultobj;
9679 fail:
9680 return NULL;
9681}
9682
9683
9684static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
9685 PyObject *obj;
9686 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9687 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
9688 Py_INCREF(obj);
9689 return Py_BuildValue((char *)"");
9690}
9691static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9692 PyObject *resultobj;
9693 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9694 wxPoint *arg2 = (wxPoint *) 0 ;
9695 PyObject * obj0 = 0 ;
9696 PyObject * obj1 = 0 ;
9697 char *kwnames[] = {
9698 (char *) "self",(char *) "m_pos", NULL
9699 };
9700
9701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
9702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9703 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9704 if (arg1) (arg1)->m_pos = *arg2;
9705
9706 Py_INCREF(Py_None); resultobj = Py_None;
9707 return resultobj;
9708 fail:
9709 return NULL;
9710}
9711
9712
9713static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9714 PyObject *resultobj;
9715 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9716 wxPoint *result;
9717 PyObject * obj0 = 0 ;
9718 char *kwnames[] = {
9719 (char *) "self", NULL
9720 };
9721
9722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
9723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9724 result = (wxPoint *)& ((arg1)->m_pos);
9725
9726 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
9727 return resultobj;
9728 fail:
9729 return NULL;
9730}
9731
9732
9733static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9734 PyObject *resultobj;
9735 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9736 int arg2 ;
9737 PyObject * obj0 = 0 ;
9738 char *kwnames[] = {
9739 (char *) "self",(char *) "m_zPosition", NULL
9740 };
9741
9742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames,&obj0,&arg2)) goto fail;
9743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9744 if (arg1) (arg1)->m_zPosition = arg2;
9745
9746 Py_INCREF(Py_None); resultobj = Py_None;
9747 return resultobj;
9748 fail:
9749 return NULL;
9750}
9751
9752
9753static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9754 PyObject *resultobj;
9755 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9756 int result;
9757 PyObject * obj0 = 0 ;
9758 char *kwnames[] = {
9759 (char *) "self", NULL
9760 };
9761
9762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
9763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9764 result = (int) ((arg1)->m_zPosition);
9765
9766 resultobj = PyInt_FromLong((long)result);
9767 return resultobj;
9768 fail:
9769 return NULL;
9770}
9771
9772
9773static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9774 PyObject *resultobj;
9775 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9776 int arg2 ;
9777 PyObject * obj0 = 0 ;
9778 char *kwnames[] = {
9779 (char *) "self",(char *) "m_buttonChange", NULL
9780 };
9781
9782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&arg2)) goto fail;
9783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9784 if (arg1) (arg1)->m_buttonChange = arg2;
9785
9786 Py_INCREF(Py_None); resultobj = Py_None;
9787 return resultobj;
9788 fail:
9789 return NULL;
9790}
9791
9792
9793static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9794 PyObject *resultobj;
9795 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9796 int result;
9797 PyObject * obj0 = 0 ;
9798 char *kwnames[] = {
9799 (char *) "self", NULL
9800 };
9801
9802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
9803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9804 result = (int) ((arg1)->m_buttonChange);
9805
9806 resultobj = PyInt_FromLong((long)result);
9807 return resultobj;
9808 fail:
9809 return NULL;
9810}
9811
9812
9813static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9814 PyObject *resultobj;
9815 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9816 int arg2 ;
9817 PyObject * obj0 = 0 ;
9818 char *kwnames[] = {
9819 (char *) "self",(char *) "m_buttonState", NULL
9820 };
9821
9822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames,&obj0,&arg2)) goto fail;
9823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9824 if (arg1) (arg1)->m_buttonState = arg2;
9825
9826 Py_INCREF(Py_None); resultobj = Py_None;
9827 return resultobj;
9828 fail:
9829 return NULL;
9830}
9831
9832
9833static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9834 PyObject *resultobj;
9835 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9836 int result;
9837 PyObject * obj0 = 0 ;
9838 char *kwnames[] = {
9839 (char *) "self", NULL
9840 };
9841
9842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
9843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9844 result = (int) ((arg1)->m_buttonState);
9845
9846 resultobj = PyInt_FromLong((long)result);
9847 return resultobj;
9848 fail:
9849 return NULL;
9850}
9851
9852
9853static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9854 PyObject *resultobj;
9855 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9856 int arg2 ;
9857 PyObject * obj0 = 0 ;
9858 char *kwnames[] = {
9859 (char *) "self",(char *) "m_joyStick", NULL
9860 };
9861
9862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames,&obj0,&arg2)) goto fail;
9863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9864 if (arg1) (arg1)->m_joyStick = arg2;
9865
9866 Py_INCREF(Py_None); resultobj = Py_None;
9867 return resultobj;
9868 fail:
9869 return NULL;
9870}
9871
9872
9873static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9874 PyObject *resultobj;
9875 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9876 int result;
9877 PyObject * obj0 = 0 ;
9878 char *kwnames[] = {
9879 (char *) "self", NULL
9880 };
9881
9882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
9883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9884 result = (int) ((arg1)->m_joyStick);
9885
9886 resultobj = PyInt_FromLong((long)result);
9887 return resultobj;
9888 fail:
9889 return NULL;
9890}
9891
9892
9893static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9894 PyObject *resultobj;
9895 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
9896 int arg2 = (int) 0 ;
9897 int arg3 = (int) wxJOYSTICK1 ;
9898 int arg4 = (int) 0 ;
9899 wxJoystickEvent *result;
9900 char *kwnames[] = {
9901 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
9902 };
9903
9904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_JoystickEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
9905 {
9906 PyThreadState* __tstate = wxPyBeginAllowThreads();
9907 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
9908
9909 wxPyEndAllowThreads(__tstate);
9910 if (PyErr_Occurred()) SWIG_fail;
9911 }
9912 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystickEvent, 1);
9913 return resultobj;
9914 fail:
9915 return NULL;
9916}
9917
9918
9919static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9920 PyObject *resultobj;
9921 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9922 wxPoint result;
9923 PyObject * obj0 = 0 ;
9924 char *kwnames[] = {
9925 (char *) "self", NULL
9926 };
9927
9928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
9929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9930 {
9931 PyThreadState* __tstate = wxPyBeginAllowThreads();
9932 result = ((wxJoystickEvent const *)arg1)->GetPosition();
9933
9934 wxPyEndAllowThreads(__tstate);
9935 if (PyErr_Occurred()) SWIG_fail;
9936 }
9937 {
9938 wxPoint * resultptr;
9939 resultptr = new wxPoint((wxPoint &) result);
9940 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9941 }
9942 return resultobj;
9943 fail:
9944 return NULL;
9945}
9946
9947
9948static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9949 PyObject *resultobj;
9950 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9951 int result;
9952 PyObject * obj0 = 0 ;
9953 char *kwnames[] = {
9954 (char *) "self", NULL
9955 };
9956
9957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
9958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9959 {
9960 PyThreadState* __tstate = wxPyBeginAllowThreads();
9961 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
9962
9963 wxPyEndAllowThreads(__tstate);
9964 if (PyErr_Occurred()) SWIG_fail;
9965 }
9966 resultobj = PyInt_FromLong((long)result);
9967 return resultobj;
9968 fail:
9969 return NULL;
9970}
9971
9972
9973static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9974 PyObject *resultobj;
9975 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9976 int result;
9977 PyObject * obj0 = 0 ;
9978 char *kwnames[] = {
9979 (char *) "self", NULL
9980 };
9981
9982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
9983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9984 {
9985 PyThreadState* __tstate = wxPyBeginAllowThreads();
9986 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
9987
9988 wxPyEndAllowThreads(__tstate);
9989 if (PyErr_Occurred()) SWIG_fail;
9990 }
9991 resultobj = PyInt_FromLong((long)result);
9992 return resultobj;
9993 fail:
9994 return NULL;
9995}
9996
9997
9998static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
9999 PyObject *resultobj;
10000 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10001 int result;
10002 PyObject * obj0 = 0 ;
10003 char *kwnames[] = {
10004 (char *) "self", NULL
10005 };
10006
10007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
10008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10009 {
10010 PyThreadState* __tstate = wxPyBeginAllowThreads();
10011 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10012
10013 wxPyEndAllowThreads(__tstate);
10014 if (PyErr_Occurred()) SWIG_fail;
10015 }
10016 resultobj = PyInt_FromLong((long)result);
10017 return resultobj;
10018 fail:
10019 return NULL;
10020}
10021
10022
10023static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10024 PyObject *resultobj;
10025 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10026 int result;
10027 PyObject * obj0 = 0 ;
10028 char *kwnames[] = {
10029 (char *) "self", NULL
10030 };
10031
10032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
10033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10034 {
10035 PyThreadState* __tstate = wxPyBeginAllowThreads();
10036 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
10037
10038 wxPyEndAllowThreads(__tstate);
10039 if (PyErr_Occurred()) SWIG_fail;
10040 }
10041 resultobj = PyInt_FromLong((long)result);
10042 return resultobj;
10043 fail:
10044 return NULL;
10045}
10046
10047
10048static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10049 PyObject *resultobj;
10050 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10051 int arg2 ;
10052 PyObject * obj0 = 0 ;
10053 char *kwnames[] = {
10054 (char *) "self",(char *) "stick", NULL
10055 };
10056
10057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetJoystick",kwnames,&obj0,&arg2)) goto fail;
10058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10059 {
10060 PyThreadState* __tstate = wxPyBeginAllowThreads();
10061 (arg1)->SetJoystick(arg2);
10062
10063 wxPyEndAllowThreads(__tstate);
10064 if (PyErr_Occurred()) SWIG_fail;
10065 }
10066 Py_INCREF(Py_None); resultobj = Py_None;
10067 return resultobj;
10068 fail:
10069 return NULL;
10070}
10071
10072
10073static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10074 PyObject *resultobj;
10075 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10076 int arg2 ;
10077 PyObject * obj0 = 0 ;
10078 char *kwnames[] = {
10079 (char *) "self",(char *) "state", NULL
10080 };
10081
10082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonState",kwnames,&obj0,&arg2)) goto fail;
10083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10084 {
10085 PyThreadState* __tstate = wxPyBeginAllowThreads();
10086 (arg1)->SetButtonState(arg2);
10087
10088 wxPyEndAllowThreads(__tstate);
10089 if (PyErr_Occurred()) SWIG_fail;
10090 }
10091 Py_INCREF(Py_None); resultobj = Py_None;
10092 return resultobj;
10093 fail:
10094 return NULL;
10095}
10096
10097
10098static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10099 PyObject *resultobj;
10100 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10101 int arg2 ;
10102 PyObject * obj0 = 0 ;
10103 char *kwnames[] = {
10104 (char *) "self",(char *) "change", NULL
10105 };
10106
10107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames,&obj0,&arg2)) goto fail;
10108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10109 {
10110 PyThreadState* __tstate = wxPyBeginAllowThreads();
10111 (arg1)->SetButtonChange(arg2);
10112
10113 wxPyEndAllowThreads(__tstate);
10114 if (PyErr_Occurred()) SWIG_fail;
10115 }
10116 Py_INCREF(Py_None); resultobj = Py_None;
10117 return resultobj;
10118 fail:
10119 return NULL;
10120}
10121
10122
10123static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10124 PyObject *resultobj;
10125 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10126 wxPoint *arg2 = 0 ;
10127 wxPoint temp2 ;
10128 PyObject * obj0 = 0 ;
10129 PyObject * obj1 = 0 ;
10130 char *kwnames[] = {
10131 (char *) "self",(char *) "pos", NULL
10132 };
10133
10134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10136 {
10137 arg2 = &temp2;
10138 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10139 }
10140 {
10141 PyThreadState* __tstate = wxPyBeginAllowThreads();
10142 (arg1)->SetPosition((wxPoint const &)*arg2);
10143
10144 wxPyEndAllowThreads(__tstate);
10145 if (PyErr_Occurred()) SWIG_fail;
10146 }
10147 Py_INCREF(Py_None); resultobj = Py_None;
10148 return resultobj;
10149 fail:
10150 return NULL;
10151}
10152
10153
10154static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10155 PyObject *resultobj;
10156 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10157 int arg2 ;
10158 PyObject * obj0 = 0 ;
10159 char *kwnames[] = {
10160 (char *) "self",(char *) "zPos", NULL
10161 };
10162
10163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetZPosition",kwnames,&obj0,&arg2)) goto fail;
10164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10165 {
10166 PyThreadState* __tstate = wxPyBeginAllowThreads();
10167 (arg1)->SetZPosition(arg2);
10168
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 Py_INCREF(Py_None); resultobj = Py_None;
10173 return resultobj;
10174 fail:
10175 return NULL;
10176}
10177
10178
10179static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10180 PyObject *resultobj;
10181 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10182 bool result;
10183 PyObject * obj0 = 0 ;
10184 char *kwnames[] = {
10185 (char *) "self", NULL
10186 };
10187
10188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
10189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10190 {
10191 PyThreadState* __tstate = wxPyBeginAllowThreads();
10192 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
10193
10194 wxPyEndAllowThreads(__tstate);
10195 if (PyErr_Occurred()) SWIG_fail;
10196 }
10197 resultobj = PyInt_FromLong((long)result);
10198 return resultobj;
10199 fail:
10200 return NULL;
10201}
10202
10203
10204static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10205 PyObject *resultobj;
10206 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10207 bool result;
10208 PyObject * obj0 = 0 ;
10209 char *kwnames[] = {
10210 (char *) "self", NULL
10211 };
10212
10213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
10214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10215 {
10216 PyThreadState* __tstate = wxPyBeginAllowThreads();
10217 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
10218
10219 wxPyEndAllowThreads(__tstate);
10220 if (PyErr_Occurred()) SWIG_fail;
10221 }
10222 resultobj = PyInt_FromLong((long)result);
10223 return resultobj;
10224 fail:
10225 return NULL;
10226}
10227
10228
10229static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10230 PyObject *resultobj;
10231 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10232 bool result;
10233 PyObject * obj0 = 0 ;
10234 char *kwnames[] = {
10235 (char *) "self", NULL
10236 };
10237
10238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
10239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10240 {
10241 PyThreadState* __tstate = wxPyBeginAllowThreads();
10242 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
10243
10244 wxPyEndAllowThreads(__tstate);
10245 if (PyErr_Occurred()) SWIG_fail;
10246 }
10247 resultobj = PyInt_FromLong((long)result);
10248 return resultobj;
10249 fail:
10250 return NULL;
10251}
10252
10253
10254static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10255 PyObject *resultobj;
10256 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10257 int arg2 = (int) wxJOY_BUTTON_ANY ;
10258 bool result;
10259 PyObject * obj0 = 0 ;
10260 char *kwnames[] = {
10261 (char *) "self",(char *) "but", NULL
10262 };
10263
10264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonDown",kwnames,&obj0,&arg2)) goto fail;
10265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
10269
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 resultobj = PyInt_FromLong((long)result);
10274 return resultobj;
10275 fail:
10276 return NULL;
10277}
10278
10279
10280static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
10281 PyObject *resultobj;
10282 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10283 int arg2 = (int) wxJOY_BUTTON_ANY ;
10284 bool result;
10285 PyObject * obj0 = 0 ;
10286 char *kwnames[] = {
10287 (char *) "self",(char *) "but", NULL
10288 };
10289
10290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonUp",kwnames,&obj0,&arg2)) goto fail;
10291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10292 {
10293 PyThreadState* __tstate = wxPyBeginAllowThreads();
10294 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
10295
10296 wxPyEndAllowThreads(__tstate);
10297 if (PyErr_Occurred()) SWIG_fail;
10298 }
10299 resultobj = PyInt_FromLong((long)result);
10300 return resultobj;
10301 fail:
10302 return NULL;
10303}
10304
10305
10306static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10307 PyObject *resultobj;
10308 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10309 int arg2 = (int) wxJOY_BUTTON_ANY ;
10310 bool result;
10311 PyObject * obj0 = 0 ;
10312 char *kwnames[] = {
10313 (char *) "self",(char *) "but", NULL
10314 };
10315
10316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames,&obj0,&arg2)) goto fail;
10317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10318 {
10319 PyThreadState* __tstate = wxPyBeginAllowThreads();
10320 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
10321
10322 wxPyEndAllowThreads(__tstate);
10323 if (PyErr_Occurred()) SWIG_fail;
10324 }
10325 resultobj = PyInt_FromLong((long)result);
10326 return resultobj;
10327 fail:
10328 return NULL;
10329}
10330
10331
10332static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
10333 PyObject *obj;
10334 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10335 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
10336 Py_INCREF(obj);
10337 return Py_BuildValue((char *)"");
10338}
10339static PyObject *_wrap_new_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10340 PyObject *resultobj;
10341 wxString *arg1 = 0 ;
10342 bool arg2 = (bool) FALSE ;
10343 wxWave *result;
10344 bool temp1 = false ;
10345 PyObject * obj0 = 0 ;
10346 PyObject * obj1 = 0 ;
10347 char *kwnames[] = {
10348 (char *) "fileName",(char *) "isResource", NULL
10349 };
10350
10351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Wave",kwnames,&obj0,&obj1)) goto fail;
10352 {
10353 arg1 = wxString_in_helper(obj0);
10354 if (arg1 == NULL) SWIG_fail;
10355 temp1 = true;
10356 }
10357 if (obj1) {
10358 arg2 = PyInt_AsLong(obj1) ? true : false;
10359 if (PyErr_Occurred()) SWIG_fail;
10360 }
10361 {
10362 PyThreadState* __tstate = wxPyBeginAllowThreads();
10363 result = (wxWave *)new wxWave((wxString const &)*arg1,arg2);
10364
10365 wxPyEndAllowThreads(__tstate);
10366 if (PyErr_Occurred()) SWIG_fail;
10367 }
10368 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10369 {
10370 if (temp1)
10371 delete arg1;
10372 }
10373 return resultobj;
10374 fail:
10375 {
10376 if (temp1)
10377 delete arg1;
10378 }
10379 return NULL;
10380}
10381
10382
10383static PyObject *_wrap_new_WaveData(PyObject *self, PyObject *args, PyObject *kwargs) {
10384 PyObject *resultobj;
10385 wxString *arg1 = 0 ;
10386 wxWave *result;
10387 bool temp1 = false ;
10388 PyObject * obj0 = 0 ;
10389 char *kwnames[] = {
10390 (char *) "data", NULL
10391 };
10392
10393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_WaveData",kwnames,&obj0)) goto fail;
10394 {
10395 arg1 = wxString_in_helper(obj0);
10396 if (arg1 == NULL) SWIG_fail;
10397 temp1 = true;
10398 }
10399 {
10400 PyThreadState* __tstate = wxPyBeginAllowThreads();
10401 result = (wxWave *)new_wxWave((wxString const &)*arg1);
10402
10403 wxPyEndAllowThreads(__tstate);
10404 if (PyErr_Occurred()) SWIG_fail;
10405 }
10406 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10407 {
10408 if (temp1)
10409 delete arg1;
10410 }
10411 return resultobj;
10412 fail:
10413 {
10414 if (temp1)
10415 delete arg1;
10416 }
10417 return NULL;
10418}
10419
10420
10421static PyObject *_wrap_delete_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10422 PyObject *resultobj;
10423 wxWave *arg1 = (wxWave *) 0 ;
10424 PyObject * obj0 = 0 ;
10425 char *kwnames[] = {
10426 (char *) "self", NULL
10427 };
10428
10429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Wave",kwnames,&obj0)) goto fail;
10430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10431 {
10432 PyThreadState* __tstate = wxPyBeginAllowThreads();
10433 delete arg1;
10434
10435 wxPyEndAllowThreads(__tstate);
10436 if (PyErr_Occurred()) SWIG_fail;
10437 }
10438 Py_INCREF(Py_None); resultobj = Py_None;
10439 return resultobj;
10440 fail:
10441 return NULL;
10442}
10443
10444
10445static PyObject *_wrap_Wave_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10446 PyObject *resultobj;
10447 wxWave *arg1 = (wxWave *) 0 ;
10448 bool result;
10449 PyObject * obj0 = 0 ;
10450 char *kwnames[] = {
10451 (char *) "self", NULL
10452 };
10453
10454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wave_IsOk",kwnames,&obj0)) goto fail;
10455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10456 {
10457 PyThreadState* __tstate = wxPyBeginAllowThreads();
10458 result = (bool)((wxWave const *)arg1)->IsOk();
10459
10460 wxPyEndAllowThreads(__tstate);
10461 if (PyErr_Occurred()) SWIG_fail;
10462 }
10463 resultobj = PyInt_FromLong((long)result);
10464 return resultobj;
10465 fail:
10466 return NULL;
10467}
10468
10469
10470static PyObject *_wrap_Wave_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
10471 PyObject *resultobj;
10472 wxWave *arg1 = (wxWave *) 0 ;
10473 bool arg2 = (bool) TRUE ;
10474 bool arg3 = (bool) FALSE ;
10475 bool result;
10476 PyObject * obj0 = 0 ;
10477 PyObject * obj1 = 0 ;
10478 PyObject * obj2 = 0 ;
10479 char *kwnames[] = {
10480 (char *) "self",(char *) "async",(char *) "looped", NULL
10481 };
10482
10483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Wave_Play",kwnames,&obj0,&obj1,&obj2)) goto fail;
10484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10485 if (obj1) {
10486 arg2 = PyInt_AsLong(obj1) ? true : false;
10487 if (PyErr_Occurred()) SWIG_fail;
10488 }
10489 if (obj2) {
10490 arg3 = PyInt_AsLong(obj2) ? true : false;
10491 if (PyErr_Occurred()) SWIG_fail;
10492 }
10493 {
10494 PyThreadState* __tstate = wxPyBeginAllowThreads();
10495 result = (bool)((wxWave const *)arg1)->Play(arg2,arg3);
10496
10497 wxPyEndAllowThreads(__tstate);
10498 if (PyErr_Occurred()) SWIG_fail;
10499 }
10500 resultobj = PyInt_FromLong((long)result);
10501 return resultobj;
10502 fail:
10503 return NULL;
10504}
10505
10506
10507static PyObject * Wave_swigregister(PyObject *self, PyObject *args) {
10508 PyObject *obj;
10509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10510 SWIG_TypeClientData(SWIGTYPE_p_wxWave, obj);
10511 Py_INCREF(obj);
10512 return Py_BuildValue((char *)"");
10513}
10514static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10515 PyObject *resultobj;
10516 wxString *arg1 = 0 ;
10517 wxString *arg2 = 0 ;
10518 wxString *arg3 = 0 ;
10519 wxString *arg4 = 0 ;
10520 wxFileTypeInfo *result;
10521 bool temp1 = false ;
10522 bool temp2 = false ;
10523 bool temp3 = false ;
10524 bool temp4 = false ;
10525 PyObject * obj0 = 0 ;
10526 PyObject * obj1 = 0 ;
10527 PyObject * obj2 = 0 ;
10528 PyObject * obj3 = 0 ;
10529 char *kwnames[] = {
10530 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10531 };
10532
10533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10534 {
10535 arg1 = wxString_in_helper(obj0);
10536 if (arg1 == NULL) SWIG_fail;
10537 temp1 = true;
10538 }
10539 {
10540 arg2 = wxString_in_helper(obj1);
10541 if (arg2 == NULL) SWIG_fail;
10542 temp2 = true;
10543 }
10544 {
10545 arg3 = wxString_in_helper(obj2);
10546 if (arg3 == NULL) SWIG_fail;
10547 temp3 = true;
10548 }
10549 {
10550 arg4 = wxString_in_helper(obj3);
10551 if (arg4 == NULL) SWIG_fail;
10552 temp4 = true;
10553 }
10554 {
10555 PyThreadState* __tstate = wxPyBeginAllowThreads();
10556 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10557
10558 wxPyEndAllowThreads(__tstate);
10559 if (PyErr_Occurred()) SWIG_fail;
10560 }
10561 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10562 {
10563 if (temp1)
10564 delete arg1;
10565 }
10566 {
10567 if (temp2)
10568 delete arg2;
10569 }
10570 {
10571 if (temp3)
10572 delete arg3;
10573 }
10574 {
10575 if (temp4)
10576 delete arg4;
10577 }
10578 return resultobj;
10579 fail:
10580 {
10581 if (temp1)
10582 delete arg1;
10583 }
10584 {
10585 if (temp2)
10586 delete arg2;
10587 }
10588 {
10589 if (temp3)
10590 delete arg3;
10591 }
10592 {
10593 if (temp4)
10594 delete arg4;
10595 }
10596 return NULL;
10597}
10598
10599
10600static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
10601 PyObject *resultobj;
10602 wxArrayString *arg1 = 0 ;
10603 wxFileTypeInfo *result;
10604 PyObject * obj0 = 0 ;
10605 char *kwnames[] = {
10606 (char *) "sArray", NULL
10607 };
10608
10609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
10610 {
10611 if (! PySequence_Check(obj0)) {
10612 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10613 SWIG_fail;
10614 }
10615 arg1 = new wxArrayString;
10616 int i, len=PySequence_Length(obj0);
10617 for (i=0; i<len; i++) {
10618 PyObject* item = PySequence_GetItem(obj0, i);
10619#if wxUSE_UNICODE
10620 PyObject* str = PyObject_Unicode(item);
10621#else
10622 PyObject* str = PyObject_Str(item);
10623#endif
10624 arg1->Add(Py2wxString(str));
10625 Py_DECREF(item);
10626 Py_DECREF(str);
10627 }
10628 }
10629 {
10630 PyThreadState* __tstate = wxPyBeginAllowThreads();
10631 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
10632
10633 wxPyEndAllowThreads(__tstate);
10634 if (PyErr_Occurred()) SWIG_fail;
10635 }
10636 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10637 {
10638 if (arg1) delete arg1;
10639 }
10640 return resultobj;
10641 fail:
10642 {
10643 if (arg1) delete arg1;
10644 }
10645 return NULL;
10646}
10647
10648
10649static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10650 PyObject *resultobj;
10651 wxFileTypeInfo *result;
10652 char *kwnames[] = {
10653 NULL
10654 };
10655
10656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
10657 {
10658 PyThreadState* __tstate = wxPyBeginAllowThreads();
10659 result = (wxFileTypeInfo *)new wxFileTypeInfo();
10660
10661 wxPyEndAllowThreads(__tstate);
10662 if (PyErr_Occurred()) SWIG_fail;
10663 }
10664 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10665 return resultobj;
10666 fail:
10667 return NULL;
10668}
10669
10670
10671static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
10672 PyObject *resultobj;
10673 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10674 bool result;
10675 PyObject * obj0 = 0 ;
10676 char *kwnames[] = {
10677 (char *) "self", NULL
10678 };
10679
10680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
10681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10682 {
10683 PyThreadState* __tstate = wxPyBeginAllowThreads();
10684 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
10685
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 resultobj = PyInt_FromLong((long)result);
10690 return resultobj;
10691 fail:
10692 return NULL;
10693}
10694
10695
10696static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10697 PyObject *resultobj;
10698 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10699 wxString *arg2 = 0 ;
10700 int arg3 = (int) 0 ;
10701 bool temp2 = false ;
10702 PyObject * obj0 = 0 ;
10703 PyObject * obj1 = 0 ;
10704 char *kwnames[] = {
10705 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
10706 };
10707
10708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
10709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10710 {
10711 arg2 = wxString_in_helper(obj1);
10712 if (arg2 == NULL) SWIG_fail;
10713 temp2 = true;
10714 }
10715 {
10716 PyThreadState* __tstate = wxPyBeginAllowThreads();
10717 (arg1)->SetIcon((wxString const &)*arg2,arg3);
10718
10719 wxPyEndAllowThreads(__tstate);
10720 if (PyErr_Occurred()) SWIG_fail;
10721 }
10722 Py_INCREF(Py_None); resultobj = Py_None;
10723 {
10724 if (temp2)
10725 delete arg2;
10726 }
10727 return resultobj;
10728 fail:
10729 {
10730 if (temp2)
10731 delete arg2;
10732 }
10733 return NULL;
10734}
10735
10736
10737static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10738 PyObject *resultobj;
10739 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10740 wxString *arg2 = 0 ;
10741 bool temp2 = false ;
10742 PyObject * obj0 = 0 ;
10743 PyObject * obj1 = 0 ;
10744 char *kwnames[] = {
10745 (char *) "self",(char *) "shortDesc", NULL
10746 };
10747
10748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
10749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10750 {
10751 arg2 = wxString_in_helper(obj1);
10752 if (arg2 == NULL) SWIG_fail;
10753 temp2 = true;
10754 }
10755 {
10756 PyThreadState* __tstate = wxPyBeginAllowThreads();
10757 (arg1)->SetShortDesc((wxString const &)*arg2);
10758
10759 wxPyEndAllowThreads(__tstate);
10760 if (PyErr_Occurred()) SWIG_fail;
10761 }
10762 Py_INCREF(Py_None); resultobj = Py_None;
10763 {
10764 if (temp2)
10765 delete arg2;
10766 }
10767 return resultobj;
10768 fail:
10769 {
10770 if (temp2)
10771 delete arg2;
10772 }
10773 return NULL;
10774}
10775
10776
10777static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
10778 PyObject *resultobj;
10779 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10780 wxString *result;
10781 PyObject * obj0 = 0 ;
10782 char *kwnames[] = {
10783 (char *) "self", NULL
10784 };
10785
10786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
10787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10788 {
10789 PyThreadState* __tstate = wxPyBeginAllowThreads();
10790 {
10791 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
10792 result = (wxString *) &_result_ref;
10793 }
10794
10795 wxPyEndAllowThreads(__tstate);
10796 if (PyErr_Occurred()) SWIG_fail;
10797 }
10798 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10799 return resultobj;
10800 fail:
10801 return NULL;
10802}
10803
10804
10805static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10806 PyObject *resultobj;
10807 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10808 wxString *result;
10809 PyObject * obj0 = 0 ;
10810 char *kwnames[] = {
10811 (char *) "self", NULL
10812 };
10813
10814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
10815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10816 {
10817 PyThreadState* __tstate = wxPyBeginAllowThreads();
10818 {
10819 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
10820 result = (wxString *) &_result_ref;
10821 }
10822
10823 wxPyEndAllowThreads(__tstate);
10824 if (PyErr_Occurred()) SWIG_fail;
10825 }
10826 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10827 return resultobj;
10828 fail:
10829 return NULL;
10830}
10831
10832
10833static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10834 PyObject *resultobj;
10835 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10836 wxString *result;
10837 PyObject * obj0 = 0 ;
10838 char *kwnames[] = {
10839 (char *) "self", NULL
10840 };
10841
10842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
10843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10844 {
10845 PyThreadState* __tstate = wxPyBeginAllowThreads();
10846 {
10847 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
10848 result = (wxString *) &_result_ref;
10849 }
10850
10851 wxPyEndAllowThreads(__tstate);
10852 if (PyErr_Occurred()) SWIG_fail;
10853 }
10854 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10855 return resultobj;
10856 fail:
10857 return NULL;
10858}
10859
10860
10861static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10862 PyObject *resultobj;
10863 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10864 wxString *result;
10865 PyObject * obj0 = 0 ;
10866 char *kwnames[] = {
10867 (char *) "self", NULL
10868 };
10869
10870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
10871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10872 {
10873 PyThreadState* __tstate = wxPyBeginAllowThreads();
10874 {
10875 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
10876 result = (wxString *) &_result_ref;
10877 }
10878
10879 wxPyEndAllowThreads(__tstate);
10880 if (PyErr_Occurred()) SWIG_fail;
10881 }
10882 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10883 return resultobj;
10884 fail:
10885 return NULL;
10886}
10887
10888
10889static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
10890 PyObject *resultobj;
10891 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10892 wxString *result;
10893 PyObject * obj0 = 0 ;
10894 char *kwnames[] = {
10895 (char *) "self", NULL
10896 };
10897
10898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
10899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10900 {
10901 PyThreadState* __tstate = wxPyBeginAllowThreads();
10902 {
10903 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
10904 result = (wxString *) &_result_ref;
10905 }
10906
10907 wxPyEndAllowThreads(__tstate);
10908 if (PyErr_Occurred()) SWIG_fail;
10909 }
10910 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10911 return resultobj;
10912 fail:
10913 return NULL;
10914}
10915
10916
10917static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
10918 PyObject *resultobj;
10919 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10920 wxArrayString *result;
10921 PyObject * obj0 = 0 ;
10922 char *kwnames[] = {
10923 (char *) "self", NULL
10924 };
10925
10926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
10927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10928 {
10929 PyThreadState* __tstate = wxPyBeginAllowThreads();
10930 {
10931 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
10932 result = (wxArrayString *) &_result_ref;
10933 }
10934
10935 wxPyEndAllowThreads(__tstate);
10936 if (PyErr_Occurred()) SWIG_fail;
10937 }
10938 {
10939 resultobj = wxArrayString2PyList_helper(*result);
10940 }
10941 return resultobj;
10942 fail:
10943 return NULL;
10944}
10945
10946
10947static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10948 PyObject *resultobj;
10949 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10950 int result;
10951 PyObject * obj0 = 0 ;
10952 char *kwnames[] = {
10953 (char *) "self", NULL
10954 };
10955
10956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
10957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10958 {
10959 PyThreadState* __tstate = wxPyBeginAllowThreads();
10960 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
10961
10962 wxPyEndAllowThreads(__tstate);
10963 if (PyErr_Occurred()) SWIG_fail;
10964 }
10965 resultobj = PyInt_FromLong((long)result);
10966 return resultobj;
10967 fail:
10968 return NULL;
10969}
10970
10971
10972static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
10973 PyObject *resultobj;
10974 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10975 wxString *result;
10976 PyObject * obj0 = 0 ;
10977 char *kwnames[] = {
10978 (char *) "self", NULL
10979 };
10980
10981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
10982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10983 {
10984 PyThreadState* __tstate = wxPyBeginAllowThreads();
10985 {
10986 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
10987 result = (wxString *) &_result_ref;
10988 }
10989
10990 wxPyEndAllowThreads(__tstate);
10991 if (PyErr_Occurred()) SWIG_fail;
10992 }
10993 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10994 return resultobj;
10995 fail:
10996 return NULL;
10997}
10998
10999
11000static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11001 PyObject *resultobj;
11002 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11003 int result;
11004 PyObject * obj0 = 0 ;
11005 char *kwnames[] = {
11006 (char *) "self", NULL
11007 };
11008
11009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
11010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11011 {
11012 PyThreadState* __tstate = wxPyBeginAllowThreads();
11013 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
11014
11015 wxPyEndAllowThreads(__tstate);
11016 if (PyErr_Occurred()) SWIG_fail;
11017 }
11018 resultobj = PyInt_FromLong((long)result);
11019 return resultobj;
11020 fail:
11021 return NULL;
11022}
11023
11024
11025static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
11026 PyObject *obj;
11027 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11028 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
11029 Py_INCREF(obj);
11030 return Py_BuildValue((char *)"");
11031}
11032static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11033 PyObject *resultobj;
11034 wxFileTypeInfo *arg1 = 0 ;
11035 wxFileType *result;
11036 PyObject * obj0 = 0 ;
11037 char *kwnames[] = {
11038 (char *) "ftInfo", NULL
11039 };
11040
11041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
11042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11043 if (arg1 == NULL) {
11044 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11045 }
11046 {
11047 PyThreadState* __tstate = wxPyBeginAllowThreads();
11048 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
11049
11050 wxPyEndAllowThreads(__tstate);
11051 if (PyErr_Occurred()) SWIG_fail;
11052 }
11053 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11054 return resultobj;
11055 fail:
11056 return NULL;
11057}
11058
11059
11060static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11061 PyObject *resultobj;
11062 wxFileType *arg1 = (wxFileType *) 0 ;
11063 PyObject * obj0 = 0 ;
11064 char *kwnames[] = {
11065 (char *) "self", NULL
11066 };
11067
11068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
11069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11070 {
11071 PyThreadState* __tstate = wxPyBeginAllowThreads();
11072 delete arg1;
11073
11074 wxPyEndAllowThreads(__tstate);
11075 if (PyErr_Occurred()) SWIG_fail;
11076 }
11077 Py_INCREF(Py_None); resultobj = Py_None;
11078 return resultobj;
11079 fail:
11080 return NULL;
11081}
11082
11083
11084static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11085 PyObject *resultobj;
11086 wxFileType *arg1 = (wxFileType *) 0 ;
11087 PyObject *result;
11088 PyObject * obj0 = 0 ;
11089 char *kwnames[] = {
11090 (char *) "self", NULL
11091 };
11092
11093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
11094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11095 {
11096 PyThreadState* __tstate = wxPyBeginAllowThreads();
11097 result = (PyObject *)wxFileType_GetMimeType(arg1);
11098
11099 wxPyEndAllowThreads(__tstate);
11100 if (PyErr_Occurred()) SWIG_fail;
11101 }
11102 resultobj = result;
11103 return resultobj;
11104 fail:
11105 return NULL;
11106}
11107
11108
11109static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11110 PyObject *resultobj;
11111 wxFileType *arg1 = (wxFileType *) 0 ;
11112 PyObject *result;
11113 PyObject * obj0 = 0 ;
11114 char *kwnames[] = {
11115 (char *) "self", NULL
11116 };
11117
11118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
11119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11120 {
11121 PyThreadState* __tstate = wxPyBeginAllowThreads();
11122 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
11123
11124 wxPyEndAllowThreads(__tstate);
11125 if (PyErr_Occurred()) SWIG_fail;
11126 }
11127 resultobj = result;
11128 return resultobj;
11129 fail:
11130 return NULL;
11131}
11132
11133
11134static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11135 PyObject *resultobj;
11136 wxFileType *arg1 = (wxFileType *) 0 ;
11137 PyObject *result;
11138 PyObject * obj0 = 0 ;
11139 char *kwnames[] = {
11140 (char *) "self", NULL
11141 };
11142
11143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
11144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11145 {
11146 PyThreadState* __tstate = wxPyBeginAllowThreads();
11147 result = (PyObject *)wxFileType_GetExtensions(arg1);
11148
11149 wxPyEndAllowThreads(__tstate);
11150 if (PyErr_Occurred()) SWIG_fail;
11151 }
11152 resultobj = result;
11153 return resultobj;
11154 fail:
11155 return NULL;
11156}
11157
11158
11159static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11160 PyObject *resultobj;
11161 wxFileType *arg1 = (wxFileType *) 0 ;
11162 wxIcon *result;
11163 PyObject * obj0 = 0 ;
11164 char *kwnames[] = {
11165 (char *) "self", NULL
11166 };
11167
11168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
11169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11170 {
11171 PyThreadState* __tstate = wxPyBeginAllowThreads();
11172 result = (wxIcon *)wxFileType_GetIcon(arg1);
11173
11174 wxPyEndAllowThreads(__tstate);
11175 if (PyErr_Occurred()) SWIG_fail;
11176 }
11177 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIcon, 1);
11178 return resultobj;
11179 fail:
11180 return NULL;
11181}
11182
11183
11184static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11185 PyObject *resultobj;
11186 wxFileType *arg1 = (wxFileType *) 0 ;
11187 PyObject *result;
11188 PyObject * obj0 = 0 ;
11189 char *kwnames[] = {
11190 (char *) "self", NULL
11191 };
11192
11193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
11194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11195 {
11196 PyThreadState* __tstate = wxPyBeginAllowThreads();
11197 result = (PyObject *)wxFileType_GetIconInfo(arg1);
11198
11199 wxPyEndAllowThreads(__tstate);
11200 if (PyErr_Occurred()) SWIG_fail;
11201 }
11202 resultobj = result;
11203 return resultobj;
11204 fail:
11205 return NULL;
11206}
11207
11208
11209static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11210 PyObject *resultobj;
11211 wxFileType *arg1 = (wxFileType *) 0 ;
11212 PyObject *result;
11213 PyObject * obj0 = 0 ;
11214 char *kwnames[] = {
11215 (char *) "self", NULL
11216 };
11217
11218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
11219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11220 {
11221 PyThreadState* __tstate = wxPyBeginAllowThreads();
11222 result = (PyObject *)wxFileType_GetDescription(arg1);
11223
11224 wxPyEndAllowThreads(__tstate);
11225 if (PyErr_Occurred()) SWIG_fail;
11226 }
11227 resultobj = result;
11228 return resultobj;
11229 fail:
11230 return NULL;
11231}
11232
11233
11234static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11235 PyObject *resultobj;
11236 wxFileType *arg1 = (wxFileType *) 0 ;
11237 wxString *arg2 = 0 ;
11238 wxString const &arg3_defvalue = wxPyEmptyString ;
11239 wxString *arg3 = (wxString *) &arg3_defvalue ;
11240 PyObject *result;
11241 bool temp2 = false ;
11242 bool temp3 = false ;
11243 PyObject * obj0 = 0 ;
11244 PyObject * obj1 = 0 ;
11245 PyObject * obj2 = 0 ;
11246 char *kwnames[] = {
11247 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11248 };
11249
11250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11252 {
11253 arg2 = wxString_in_helper(obj1);
11254 if (arg2 == NULL) SWIG_fail;
11255 temp2 = true;
11256 }
11257 if (obj2) {
11258 {
11259 arg3 = wxString_in_helper(obj2);
11260 if (arg3 == NULL) SWIG_fail;
11261 temp3 = true;
11262 }
11263 }
11264 {
11265 PyThreadState* __tstate = wxPyBeginAllowThreads();
11266 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11267
11268 wxPyEndAllowThreads(__tstate);
11269 if (PyErr_Occurred()) SWIG_fail;
11270 }
11271 resultobj = result;
11272 {
11273 if (temp2)
11274 delete arg2;
11275 }
11276 {
11277 if (temp3)
11278 delete arg3;
11279 }
11280 return resultobj;
11281 fail:
11282 {
11283 if (temp2)
11284 delete arg2;
11285 }
11286 {
11287 if (temp3)
11288 delete arg3;
11289 }
11290 return NULL;
11291}
11292
11293
11294static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11295 PyObject *resultobj;
11296 wxFileType *arg1 = (wxFileType *) 0 ;
11297 wxString *arg2 = 0 ;
11298 wxString const &arg3_defvalue = wxPyEmptyString ;
11299 wxString *arg3 = (wxString *) &arg3_defvalue ;
11300 PyObject *result;
11301 bool temp2 = false ;
11302 bool temp3 = false ;
11303 PyObject * obj0 = 0 ;
11304 PyObject * obj1 = 0 ;
11305 PyObject * obj2 = 0 ;
11306 char *kwnames[] = {
11307 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11308 };
11309
11310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11312 {
11313 arg2 = wxString_in_helper(obj1);
11314 if (arg2 == NULL) SWIG_fail;
11315 temp2 = true;
11316 }
11317 if (obj2) {
11318 {
11319 arg3 = wxString_in_helper(obj2);
11320 if (arg3 == NULL) SWIG_fail;
11321 temp3 = true;
11322 }
11323 }
11324 {
11325 PyThreadState* __tstate = wxPyBeginAllowThreads();
11326 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11327
11328 wxPyEndAllowThreads(__tstate);
11329 if (PyErr_Occurred()) SWIG_fail;
11330 }
11331 resultobj = result;
11332 {
11333 if (temp2)
11334 delete arg2;
11335 }
11336 {
11337 if (temp3)
11338 delete arg3;
11339 }
11340 return resultobj;
11341 fail:
11342 {
11343 if (temp2)
11344 delete arg2;
11345 }
11346 {
11347 if (temp3)
11348 delete arg3;
11349 }
11350 return NULL;
11351}
11352
11353
11354static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
11355 PyObject *resultobj;
11356 wxFileType *arg1 = (wxFileType *) 0 ;
11357 wxString *arg2 = 0 ;
11358 wxString const &arg3_defvalue = wxPyEmptyString ;
11359 wxString *arg3 = (wxString *) &arg3_defvalue ;
11360 PyObject *result;
11361 bool temp2 = false ;
11362 bool temp3 = false ;
11363 PyObject * obj0 = 0 ;
11364 PyObject * obj1 = 0 ;
11365 PyObject * obj2 = 0 ;
11366 char *kwnames[] = {
11367 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11368 };
11369
11370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
11371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11372 {
11373 arg2 = wxString_in_helper(obj1);
11374 if (arg2 == NULL) SWIG_fail;
11375 temp2 = true;
11376 }
11377 if (obj2) {
11378 {
11379 arg3 = wxString_in_helper(obj2);
11380 if (arg3 == NULL) SWIG_fail;
11381 temp3 = true;
11382 }
11383 }
11384 {
11385 PyThreadState* __tstate = wxPyBeginAllowThreads();
11386 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11387
11388 wxPyEndAllowThreads(__tstate);
11389 if (PyErr_Occurred()) SWIG_fail;
11390 }
11391 resultobj = result;
11392 {
11393 if (temp2)
11394 delete arg2;
11395 }
11396 {
11397 if (temp3)
11398 delete arg3;
11399 }
11400 return resultobj;
11401 fail:
11402 {
11403 if (temp2)
11404 delete arg2;
11405 }
11406 {
11407 if (temp3)
11408 delete arg3;
11409 }
11410 return NULL;
11411}
11412
11413
11414static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11415 PyObject *resultobj;
11416 wxFileType *arg1 = (wxFileType *) 0 ;
11417 wxString *arg2 = 0 ;
11418 wxString *arg3 = 0 ;
11419 bool arg4 = (bool) TRUE ;
11420 bool result;
11421 bool temp2 = false ;
11422 bool temp3 = false ;
11423 PyObject * obj0 = 0 ;
11424 PyObject * obj1 = 0 ;
11425 PyObject * obj2 = 0 ;
11426 PyObject * obj3 = 0 ;
11427 char *kwnames[] = {
11428 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11429 };
11430
11431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11433 {
11434 arg2 = wxString_in_helper(obj1);
11435 if (arg2 == NULL) SWIG_fail;
11436 temp2 = true;
11437 }
11438 {
11439 arg3 = wxString_in_helper(obj2);
11440 if (arg3 == NULL) SWIG_fail;
11441 temp3 = true;
11442 }
11443 if (obj3) {
11444 arg4 = PyInt_AsLong(obj3) ? true : false;
11445 if (PyErr_Occurred()) SWIG_fail;
11446 }
11447 {
11448 PyThreadState* __tstate = wxPyBeginAllowThreads();
11449 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11450
11451 wxPyEndAllowThreads(__tstate);
11452 if (PyErr_Occurred()) SWIG_fail;
11453 }
11454 resultobj = PyInt_FromLong((long)result);
11455 {
11456 if (temp2)
11457 delete arg2;
11458 }
11459 {
11460 if (temp3)
11461 delete arg3;
11462 }
11463 return resultobj;
11464 fail:
11465 {
11466 if (temp2)
11467 delete arg2;
11468 }
11469 {
11470 if (temp3)
11471 delete arg3;
11472 }
11473 return NULL;
11474}
11475
11476
11477static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11478 PyObject *resultobj;
11479 wxFileType *arg1 = (wxFileType *) 0 ;
11480 wxString const &arg2_defvalue = wxPyEmptyString ;
11481 wxString *arg2 = (wxString *) &arg2_defvalue ;
11482 int arg3 = (int) 0 ;
11483 bool result;
11484 bool temp2 = false ;
11485 PyObject * obj0 = 0 ;
11486 PyObject * obj1 = 0 ;
11487 char *kwnames[] = {
11488 (char *) "self",(char *) "cmd",(char *) "index", NULL
11489 };
11490
11491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
11492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11493 if (obj1) {
11494 {
11495 arg2 = wxString_in_helper(obj1);
11496 if (arg2 == NULL) SWIG_fail;
11497 temp2 = true;
11498 }
11499 }
11500 {
11501 PyThreadState* __tstate = wxPyBeginAllowThreads();
11502 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
11503
11504 wxPyEndAllowThreads(__tstate);
11505 if (PyErr_Occurred()) SWIG_fail;
11506 }
11507 resultobj = PyInt_FromLong((long)result);
11508 {
11509 if (temp2)
11510 delete arg2;
11511 }
11512 return resultobj;
11513 fail:
11514 {
11515 if (temp2)
11516 delete arg2;
11517 }
11518 return NULL;
11519}
11520
11521
11522static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
11523 PyObject *resultobj;
11524 wxFileType *arg1 = (wxFileType *) 0 ;
11525 bool result;
11526 PyObject * obj0 = 0 ;
11527 char *kwnames[] = {
11528 (char *) "self", NULL
11529 };
11530
11531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
11532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11533 {
11534 PyThreadState* __tstate = wxPyBeginAllowThreads();
11535 result = (bool)(arg1)->Unassociate();
11536
11537 wxPyEndAllowThreads(__tstate);
11538 if (PyErr_Occurred()) SWIG_fail;
11539 }
11540 resultobj = PyInt_FromLong((long)result);
11541 return resultobj;
11542 fail:
11543 return NULL;
11544}
11545
11546
11547static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11548 PyObject *resultobj;
11549 wxString *arg1 = 0 ;
11550 wxString *arg2 = 0 ;
11551 wxString const &arg3_defvalue = wxPyEmptyString ;
11552 wxString *arg3 = (wxString *) &arg3_defvalue ;
11553 wxString result;
11554 bool temp1 = false ;
11555 bool temp2 = false ;
11556 bool temp3 = false ;
11557 PyObject * obj0 = 0 ;
11558 PyObject * obj1 = 0 ;
11559 PyObject * obj2 = 0 ;
11560 char *kwnames[] = {
11561 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11562 };
11563
11564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11565 {
11566 arg1 = wxString_in_helper(obj0);
11567 if (arg1 == NULL) SWIG_fail;
11568 temp1 = true;
11569 }
11570 {
11571 arg2 = wxString_in_helper(obj1);
11572 if (arg2 == NULL) SWIG_fail;
11573 temp2 = true;
11574 }
11575 if (obj2) {
11576 {
11577 arg3 = wxString_in_helper(obj2);
11578 if (arg3 == NULL) SWIG_fail;
11579 temp3 = true;
11580 }
11581 }
11582 {
11583 PyThreadState* __tstate = wxPyBeginAllowThreads();
11584 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11585
11586 wxPyEndAllowThreads(__tstate);
11587 if (PyErr_Occurred()) SWIG_fail;
11588 }
11589 {
11590#if wxUSE_UNICODE
11591 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11592#else
11593 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11594#endif
11595 }
11596 {
11597 if (temp1)
11598 delete arg1;
11599 }
11600 {
11601 if (temp2)
11602 delete arg2;
11603 }
11604 {
11605 if (temp3)
11606 delete arg3;
11607 }
11608 return resultobj;
11609 fail:
11610 {
11611 if (temp1)
11612 delete arg1;
11613 }
11614 {
11615 if (temp2)
11616 delete arg2;
11617 }
11618 {
11619 if (temp3)
11620 delete arg3;
11621 }
11622 return NULL;
11623}
11624
11625
11626static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
11627 PyObject *obj;
11628 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11629 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
11630 Py_INCREF(obj);
11631 return Py_BuildValue((char *)"");
11632}
11633static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
11634 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
11635 return 1;
11636}
11637
11638
11639static PyObject *_wrap_TheMimeTypesManager_get() {
11640 PyObject *pyobj;
11641
11642 pyobj = SWIG_NewPointerObj((void *) wxTheMimeTypesManager, SWIGTYPE_p_wxMimeTypesManager, 0);
11643 return pyobj;
11644}
11645
11646
11647static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
11648 PyObject *resultobj;
11649 wxString *arg1 = 0 ;
11650 wxString *arg2 = 0 ;
11651 bool result;
11652 bool temp1 = false ;
11653 bool temp2 = false ;
11654 PyObject * obj0 = 0 ;
11655 PyObject * obj1 = 0 ;
11656 char *kwnames[] = {
11657 (char *) "mimeType",(char *) "wildcard", NULL
11658 };
11659
11660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
11661 {
11662 arg1 = wxString_in_helper(obj0);
11663 if (arg1 == NULL) SWIG_fail;
11664 temp1 = true;
11665 }
11666 {
11667 arg2 = wxString_in_helper(obj1);
11668 if (arg2 == NULL) SWIG_fail;
11669 temp2 = true;
11670 }
11671 {
11672 PyThreadState* __tstate = wxPyBeginAllowThreads();
11673 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
11674
11675 wxPyEndAllowThreads(__tstate);
11676 if (PyErr_Occurred()) SWIG_fail;
11677 }
11678 resultobj = PyInt_FromLong((long)result);
11679 {
11680 if (temp1)
11681 delete arg1;
11682 }
11683 {
11684 if (temp2)
11685 delete arg2;
11686 }
11687 return resultobj;
11688 fail:
11689 {
11690 if (temp1)
11691 delete arg1;
11692 }
11693 {
11694 if (temp2)
11695 delete arg2;
11696 }
11697 return NULL;
11698}
11699
11700
11701static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
11702 PyObject *resultobj;
11703 wxMimeTypesManager *result;
11704 char *kwnames[] = {
11705 NULL
11706 };
11707
11708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
11709 {
11710 PyThreadState* __tstate = wxPyBeginAllowThreads();
11711 result = (wxMimeTypesManager *)new wxMimeTypesManager();
11712
11713 wxPyEndAllowThreads(__tstate);
11714 if (PyErr_Occurred()) SWIG_fail;
11715 }
11716 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMimeTypesManager, 1);
11717 return resultobj;
11718 fail:
11719 return NULL;
11720}
11721
11722
11723static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
11724 PyObject *resultobj;
11725 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11726 int arg2 = (int) wxMAILCAP_ALL ;
11727 wxString const &arg3_defvalue = wxPyEmptyString ;
11728 wxString *arg3 = (wxString *) &arg3_defvalue ;
11729 bool temp3 = false ;
11730 PyObject * obj0 = 0 ;
11731 PyObject * obj2 = 0 ;
11732 char *kwnames[] = {
11733 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
11734 };
11735
11736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:MimeTypesManager_Initialize",kwnames,&obj0,&arg2,&obj2)) goto fail;
11737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11738 if (obj2) {
11739 {
11740 arg3 = wxString_in_helper(obj2);
11741 if (arg3 == NULL) SWIG_fail;
11742 temp3 = true;
11743 }
11744 }
11745 {
11746 PyThreadState* __tstate = wxPyBeginAllowThreads();
11747 (arg1)->Initialize(arg2,(wxString const &)*arg3);
11748
11749 wxPyEndAllowThreads(__tstate);
11750 if (PyErr_Occurred()) SWIG_fail;
11751 }
11752 Py_INCREF(Py_None); resultobj = Py_None;
11753 {
11754 if (temp3)
11755 delete arg3;
11756 }
11757 return resultobj;
11758 fail:
11759 {
11760 if (temp3)
11761 delete arg3;
11762 }
11763 return NULL;
11764}
11765
11766
11767static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
11768 PyObject *resultobj;
11769 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11770 PyObject * obj0 = 0 ;
11771 char *kwnames[] = {
11772 (char *) "self", NULL
11773 };
11774
11775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
11776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11777 {
11778 PyThreadState* __tstate = wxPyBeginAllowThreads();
11779 (arg1)->ClearData();
11780
11781 wxPyEndAllowThreads(__tstate);
11782 if (PyErr_Occurred()) SWIG_fail;
11783 }
11784 Py_INCREF(Py_None); resultobj = Py_None;
11785 return resultobj;
11786 fail:
11787 return NULL;
11788}
11789
11790
11791static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
11792 PyObject *resultobj;
11793 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11794 wxString *arg2 = 0 ;
11795 wxFileType *result;
11796 bool temp2 = false ;
11797 PyObject * obj0 = 0 ;
11798 PyObject * obj1 = 0 ;
11799 char *kwnames[] = {
11800 (char *) "self",(char *) "ext", NULL
11801 };
11802
11803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
11804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11805 {
11806 arg2 = wxString_in_helper(obj1);
11807 if (arg2 == NULL) SWIG_fail;
11808 temp2 = true;
11809 }
11810 {
11811 PyThreadState* __tstate = wxPyBeginAllowThreads();
11812 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
11813
11814 wxPyEndAllowThreads(__tstate);
11815 if (PyErr_Occurred()) SWIG_fail;
11816 }
11817 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11818 {
11819 if (temp2)
11820 delete arg2;
11821 }
11822 return resultobj;
11823 fail:
11824 {
11825 if (temp2)
11826 delete arg2;
11827 }
11828 return NULL;
11829}
11830
11831
11832static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11833 PyObject *resultobj;
11834 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11835 wxString *arg2 = 0 ;
11836 wxFileType *result;
11837 bool temp2 = false ;
11838 PyObject * obj0 = 0 ;
11839 PyObject * obj1 = 0 ;
11840 char *kwnames[] = {
11841 (char *) "self",(char *) "mimeType", NULL
11842 };
11843
11844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
11845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11846 {
11847 arg2 = wxString_in_helper(obj1);
11848 if (arg2 == NULL) SWIG_fail;
11849 temp2 = true;
11850 }
11851 {
11852 PyThreadState* __tstate = wxPyBeginAllowThreads();
11853 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
11854
11855 wxPyEndAllowThreads(__tstate);
11856 if (PyErr_Occurred()) SWIG_fail;
11857 }
11858 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11859 {
11860 if (temp2)
11861 delete arg2;
11862 }
11863 return resultobj;
11864 fail:
11865 {
11866 if (temp2)
11867 delete arg2;
11868 }
11869 return NULL;
11870}
11871
11872
11873static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
11874 PyObject *resultobj;
11875 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11876 wxString *arg2 = 0 ;
11877 bool arg3 = (bool) FALSE ;
11878 bool result;
11879 bool temp2 = false ;
11880 PyObject * obj0 = 0 ;
11881 PyObject * obj1 = 0 ;
11882 PyObject * obj2 = 0 ;
11883 char *kwnames[] = {
11884 (char *) "self",(char *) "filename",(char *) "fallback", NULL
11885 };
11886
11887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
11888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11889 {
11890 arg2 = wxString_in_helper(obj1);
11891 if (arg2 == NULL) SWIG_fail;
11892 temp2 = true;
11893 }
11894 if (obj2) {
11895 arg3 = PyInt_AsLong(obj2) ? true : false;
11896 if (PyErr_Occurred()) SWIG_fail;
11897 }
11898 {
11899 PyThreadState* __tstate = wxPyBeginAllowThreads();
11900 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
11901
11902 wxPyEndAllowThreads(__tstate);
11903 if (PyErr_Occurred()) SWIG_fail;
11904 }
11905 resultobj = PyInt_FromLong((long)result);
11906 {
11907 if (temp2)
11908 delete arg2;
11909 }
11910 return resultobj;
11911 fail:
11912 {
11913 if (temp2)
11914 delete arg2;
11915 }
11916 return NULL;
11917}
11918
11919
11920static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11921 PyObject *resultobj;
11922 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11923 wxString *arg2 = 0 ;
11924 bool result;
11925 bool temp2 = false ;
11926 PyObject * obj0 = 0 ;
11927 PyObject * obj1 = 0 ;
11928 char *kwnames[] = {
11929 (char *) "self",(char *) "filename", NULL
11930 };
11931
11932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
11933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11934 {
11935 arg2 = wxString_in_helper(obj1);
11936 if (arg2 == NULL) SWIG_fail;
11937 temp2 = true;
11938 }
11939 {
11940 PyThreadState* __tstate = wxPyBeginAllowThreads();
11941 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
11942
11943 wxPyEndAllowThreads(__tstate);
11944 if (PyErr_Occurred()) SWIG_fail;
11945 }
11946 resultobj = PyInt_FromLong((long)result);
11947 {
11948 if (temp2)
11949 delete arg2;
11950 }
11951 return resultobj;
11952 fail:
11953 {
11954 if (temp2)
11955 delete arg2;
11956 }
11957 return NULL;
11958}
11959
11960
11961static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11962 PyObject *resultobj;
11963 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11964 PyObject *result;
11965 PyObject * obj0 = 0 ;
11966 char *kwnames[] = {
11967 (char *) "self", NULL
11968 };
11969
11970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
11971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11972 {
11973 PyThreadState* __tstate = wxPyBeginAllowThreads();
11974 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
11975
11976 wxPyEndAllowThreads(__tstate);
11977 if (PyErr_Occurred()) SWIG_fail;
11978 }
11979 resultobj = result;
11980 return resultobj;
11981 fail:
11982 return NULL;
11983}
11984
11985
11986static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
11987 PyObject *resultobj;
11988 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11989 wxFileTypeInfo *arg2 = 0 ;
11990 PyObject * obj0 = 0 ;
11991 PyObject * obj1 = 0 ;
11992 char *kwnames[] = {
11993 (char *) "self",(char *) "ft", NULL
11994 };
11995
11996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
11997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11998 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11999 if (arg2 == NULL) {
12000 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12001 }
12002 {
12003 PyThreadState* __tstate = wxPyBeginAllowThreads();
12004 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
12005
12006 wxPyEndAllowThreads(__tstate);
12007 if (PyErr_Occurred()) SWIG_fail;
12008 }
12009 Py_INCREF(Py_None); resultobj = Py_None;
12010 return resultobj;
12011 fail:
12012 return NULL;
12013}
12014
12015
12016static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
12017 PyObject *resultobj;
12018 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12019 wxFileTypeInfo *arg2 = 0 ;
12020 wxFileType *result;
12021 PyObject * obj0 = 0 ;
12022 PyObject * obj1 = 0 ;
12023 char *kwnames[] = {
12024 (char *) "self",(char *) "ftInfo", NULL
12025 };
12026
12027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
12028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12029 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12030 if (arg2 == NULL) {
12031 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12032 }
12033 {
12034 PyThreadState* __tstate = wxPyBeginAllowThreads();
12035 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
12036
12037 wxPyEndAllowThreads(__tstate);
12038 if (PyErr_Occurred()) SWIG_fail;
12039 }
12040 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12041 return resultobj;
12042 fail:
12043 return NULL;
12044}
12045
12046
12047static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12048 PyObject *resultobj;
12049 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12050 wxFileType *arg2 = (wxFileType *) 0 ;
12051 bool result;
12052 PyObject * obj0 = 0 ;
12053 PyObject * obj1 = 0 ;
12054 char *kwnames[] = {
12055 (char *) "self",(char *) "ft", NULL
12056 };
12057
12058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
12059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12060 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12061 {
12062 PyThreadState* __tstate = wxPyBeginAllowThreads();
12063 result = (bool)(arg1)->Unassociate(arg2);
12064
12065 wxPyEndAllowThreads(__tstate);
12066 if (PyErr_Occurred()) SWIG_fail;
12067 }
12068 resultobj = PyInt_FromLong((long)result);
12069 return resultobj;
12070 fail:
12071 return NULL;
12072}
12073
12074
12075static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
12076 PyObject *resultobj;
12077 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12078 PyObject * obj0 = 0 ;
12079 char *kwnames[] = {
12080 (char *) "self", NULL
12081 };
12082
12083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
12084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12085 {
12086 PyThreadState* __tstate = wxPyBeginAllowThreads();
12087 delete arg1;
12088
12089 wxPyEndAllowThreads(__tstate);
12090 if (PyErr_Occurred()) SWIG_fail;
12091 }
12092 Py_INCREF(Py_None); resultobj = Py_None;
12093 return resultobj;
12094 fail:
12095 return NULL;
12096}
12097
12098
12099static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
12100 PyObject *obj;
12101 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12102 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
12103 Py_INCREF(obj);
12104 return Py_BuildValue((char *)"");
12105}
12106static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
12107 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
12108 return 1;
12109}
12110
12111
12112static PyObject *_wrap_ART_TOOLBAR_get() {
12113 PyObject *pyobj;
12114
12115 {
12116#if wxUSE_UNICODE
12117 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12118#else
12119 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12120#endif
12121 }
12122 return pyobj;
12123}
12124
12125
12126static int _wrap_ART_MENU_set(PyObject *_val) {
12127 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
12128 return 1;
12129}
12130
12131
12132static PyObject *_wrap_ART_MENU_get() {
12133 PyObject *pyobj;
12134
12135 {
12136#if wxUSE_UNICODE
12137 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12138#else
12139 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12140#endif
12141 }
12142 return pyobj;
12143}
12144
12145
12146static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
12147 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
12148 return 1;
12149}
12150
12151
12152static PyObject *_wrap_ART_FRAME_ICON_get() {
12153 PyObject *pyobj;
12154
12155 {
12156#if wxUSE_UNICODE
12157 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12158#else
12159 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12160#endif
12161 }
12162 return pyobj;
12163}
12164
12165
12166static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
12167 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
12168 return 1;
12169}
12170
12171
12172static PyObject *_wrap_ART_CMN_DIALOG_get() {
12173 PyObject *pyobj;
12174
12175 {
12176#if wxUSE_UNICODE
12177 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12178#else
12179 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12180#endif
12181 }
12182 return pyobj;
12183}
12184
12185
12186static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
12187 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
12188 return 1;
12189}
12190
12191
12192static PyObject *_wrap_ART_HELP_BROWSER_get() {
12193 PyObject *pyobj;
12194
12195 {
12196#if wxUSE_UNICODE
12197 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12198#else
12199 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12200#endif
12201 }
12202 return pyobj;
12203}
12204
12205
12206static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
12207 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
12208 return 1;
12209}
12210
12211
12212static PyObject *_wrap_ART_MESSAGE_BOX_get() {
12213 PyObject *pyobj;
12214
12215 {
12216#if wxUSE_UNICODE
12217 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12218#else
12219 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12220#endif
12221 }
12222 return pyobj;
12223}
12224
12225
12226static int _wrap_ART_OTHER_set(PyObject *_val) {
12227 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
12228 return 1;
12229}
12230
12231
12232static PyObject *_wrap_ART_OTHER_get() {
12233 PyObject *pyobj;
12234
12235 {
12236#if wxUSE_UNICODE
12237 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12238#else
12239 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12240#endif
12241 }
12242 return pyobj;
12243}
12244
12245
12246static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
12247 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
12248 return 1;
12249}
12250
12251
12252static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
12253 PyObject *pyobj;
12254
12255 {
12256#if wxUSE_UNICODE
12257 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12258#else
12259 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12260#endif
12261 }
12262 return pyobj;
12263}
12264
12265
12266static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
12267 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
12268 return 1;
12269}
12270
12271
12272static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
12273 PyObject *pyobj;
12274
12275 {
12276#if wxUSE_UNICODE
12277 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12278#else
12279 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12280#endif
12281 }
12282 return pyobj;
12283}
12284
12285
12286static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
12287 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
12288 return 1;
12289}
12290
12291
12292static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
12293 PyObject *pyobj;
12294
12295 {
12296#if wxUSE_UNICODE
12297 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12298#else
12299 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12300#endif
12301 }
12302 return pyobj;
12303}
12304
12305
12306static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
12307 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
12308 return 1;
12309}
12310
12311
12312static PyObject *_wrap_ART_HELP_SETTINGS_get() {
12313 PyObject *pyobj;
12314
12315 {
12316#if wxUSE_UNICODE
12317 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12318#else
12319 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12320#endif
12321 }
12322 return pyobj;
12323}
12324
12325
12326static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
12327 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
12328 return 1;
12329}
12330
12331
12332static PyObject *_wrap_ART_HELP_BOOK_get() {
12333 PyObject *pyobj;
12334
12335 {
12336#if wxUSE_UNICODE
12337 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12338#else
12339 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12340#endif
12341 }
12342 return pyobj;
12343}
12344
12345
12346static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
12347 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
12348 return 1;
12349}
12350
12351
12352static PyObject *_wrap_ART_HELP_FOLDER_get() {
12353 PyObject *pyobj;
12354
12355 {
12356#if wxUSE_UNICODE
12357 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12358#else
12359 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12360#endif
12361 }
12362 return pyobj;
12363}
12364
12365
12366static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
12367 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
12368 return 1;
12369}
12370
12371
12372static PyObject *_wrap_ART_HELP_PAGE_get() {
12373 PyObject *pyobj;
12374
12375 {
12376#if wxUSE_UNICODE
12377 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12378#else
12379 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12380#endif
12381 }
12382 return pyobj;
12383}
12384
12385
12386static int _wrap_ART_GO_BACK_set(PyObject *_val) {
12387 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
12388 return 1;
12389}
12390
12391
12392static PyObject *_wrap_ART_GO_BACK_get() {
12393 PyObject *pyobj;
12394
12395 {
12396#if wxUSE_UNICODE
12397 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12398#else
12399 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12400#endif
12401 }
12402 return pyobj;
12403}
12404
12405
12406static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
12407 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
12408 return 1;
12409}
12410
12411
12412static PyObject *_wrap_ART_GO_FORWARD_get() {
12413 PyObject *pyobj;
12414
12415 {
12416#if wxUSE_UNICODE
12417 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12418#else
12419 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12420#endif
12421 }
12422 return pyobj;
12423}
12424
12425
12426static int _wrap_ART_GO_UP_set(PyObject *_val) {
12427 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
12428 return 1;
12429}
12430
12431
12432static PyObject *_wrap_ART_GO_UP_get() {
12433 PyObject *pyobj;
12434
12435 {
12436#if wxUSE_UNICODE
12437 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12438#else
12439 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12440#endif
12441 }
12442 return pyobj;
12443}
12444
12445
12446static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
12447 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
12448 return 1;
12449}
12450
12451
12452static PyObject *_wrap_ART_GO_DOWN_get() {
12453 PyObject *pyobj;
12454
12455 {
12456#if wxUSE_UNICODE
12457 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12458#else
12459 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12460#endif
12461 }
12462 return pyobj;
12463}
12464
12465
12466static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
12467 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
12468 return 1;
12469}
12470
12471
12472static PyObject *_wrap_ART_GO_TO_PARENT_get() {
12473 PyObject *pyobj;
12474
12475 {
12476#if wxUSE_UNICODE
12477 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12478#else
12479 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12480#endif
12481 }
12482 return pyobj;
12483}
12484
12485
12486static int _wrap_ART_GO_HOME_set(PyObject *_val) {
12487 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
12488 return 1;
12489}
12490
12491
12492static PyObject *_wrap_ART_GO_HOME_get() {
12493 PyObject *pyobj;
12494
12495 {
12496#if wxUSE_UNICODE
12497 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12498#else
12499 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12500#endif
12501 }
12502 return pyobj;
12503}
12504
12505
12506static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
12507 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
12508 return 1;
12509}
12510
12511
12512static PyObject *_wrap_ART_FILE_OPEN_get() {
12513 PyObject *pyobj;
12514
12515 {
12516#if wxUSE_UNICODE
12517 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12518#else
12519 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12520#endif
12521 }
12522 return pyobj;
12523}
12524
12525
12526static int _wrap_ART_PRINT_set(PyObject *_val) {
12527 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
12528 return 1;
12529}
12530
12531
12532static PyObject *_wrap_ART_PRINT_get() {
12533 PyObject *pyobj;
12534
12535 {
12536#if wxUSE_UNICODE
12537 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12538#else
12539 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12540#endif
12541 }
12542 return pyobj;
12543}
12544
12545
12546static int _wrap_ART_HELP_set(PyObject *_val) {
12547 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
12548 return 1;
12549}
12550
12551
12552static PyObject *_wrap_ART_HELP_get() {
12553 PyObject *pyobj;
12554
12555 {
12556#if wxUSE_UNICODE
12557 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12558#else
12559 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12560#endif
12561 }
12562 return pyobj;
12563}
12564
12565
12566static int _wrap_ART_TIP_set(PyObject *_val) {
12567 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
12568 return 1;
12569}
12570
12571
12572static PyObject *_wrap_ART_TIP_get() {
12573 PyObject *pyobj;
12574
12575 {
12576#if wxUSE_UNICODE
12577 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12578#else
12579 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12580#endif
12581 }
12582 return pyobj;
12583}
12584
12585
12586static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
12587 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
12588 return 1;
12589}
12590
12591
12592static PyObject *_wrap_ART_REPORT_VIEW_get() {
12593 PyObject *pyobj;
12594
12595 {
12596#if wxUSE_UNICODE
12597 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12598#else
12599 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12600#endif
12601 }
12602 return pyobj;
12603}
12604
12605
12606static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
12607 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
12608 return 1;
12609}
12610
12611
12612static PyObject *_wrap_ART_LIST_VIEW_get() {
12613 PyObject *pyobj;
12614
12615 {
12616#if wxUSE_UNICODE
12617 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12618#else
12619 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12620#endif
12621 }
12622 return pyobj;
12623}
12624
12625
12626static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
12627 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
12628 return 1;
12629}
12630
12631
12632static PyObject *_wrap_ART_NEW_DIR_get() {
12633 PyObject *pyobj;
12634
12635 {
12636#if wxUSE_UNICODE
12637 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12638#else
12639 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12640#endif
12641 }
12642 return pyobj;
12643}
12644
12645
12646static int _wrap_ART_FOLDER_set(PyObject *_val) {
12647 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
12648 return 1;
12649}
12650
12651
12652static PyObject *_wrap_ART_FOLDER_get() {
12653 PyObject *pyobj;
12654
12655 {
12656#if wxUSE_UNICODE
12657 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12658#else
12659 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12660#endif
12661 }
12662 return pyobj;
12663}
12664
12665
12666static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
12667 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
12668 return 1;
12669}
12670
12671
12672static PyObject *_wrap_ART_GO_DIR_UP_get() {
12673 PyObject *pyobj;
12674
12675 {
12676#if wxUSE_UNICODE
12677 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12678#else
12679 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12680#endif
12681 }
12682 return pyobj;
12683}
12684
12685
12686static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
12687 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
12688 return 1;
12689}
12690
12691
12692static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
12693 PyObject *pyobj;
12694
12695 {
12696#if wxUSE_UNICODE
12697 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12698#else
12699 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12700#endif
12701 }
12702 return pyobj;
12703}
12704
12705
12706static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
12707 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
12708 return 1;
12709}
12710
12711
12712static PyObject *_wrap_ART_NORMAL_FILE_get() {
12713 PyObject *pyobj;
12714
12715 {
12716#if wxUSE_UNICODE
12717 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12718#else
12719 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12720#endif
12721 }
12722 return pyobj;
12723}
12724
12725
12726static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
12727 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
12728 return 1;
12729}
12730
12731
12732static PyObject *_wrap_ART_TICK_MARK_get() {
12733 PyObject *pyobj;
12734
12735 {
12736#if wxUSE_UNICODE
12737 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12738#else
12739 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12740#endif
12741 }
12742 return pyobj;
12743}
12744
12745
12746static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
12747 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
12748 return 1;
12749}
12750
12751
12752static PyObject *_wrap_ART_CROSS_MARK_get() {
12753 PyObject *pyobj;
12754
12755 {
12756#if wxUSE_UNICODE
12757 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12758#else
12759 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12760#endif
12761 }
12762 return pyobj;
12763}
12764
12765
12766static int _wrap_ART_ERROR_set(PyObject *_val) {
12767 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
12768 return 1;
12769}
12770
12771
12772static PyObject *_wrap_ART_ERROR_get() {
12773 PyObject *pyobj;
12774
12775 {
12776#if wxUSE_UNICODE
12777 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12778#else
12779 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12780#endif
12781 }
12782 return pyobj;
12783}
12784
12785
12786static int _wrap_ART_QUESTION_set(PyObject *_val) {
12787 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
12788 return 1;
12789}
12790
12791
12792static PyObject *_wrap_ART_QUESTION_get() {
12793 PyObject *pyobj;
12794
12795 {
12796#if wxUSE_UNICODE
12797 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12798#else
12799 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12800#endif
12801 }
12802 return pyobj;
12803}
12804
12805
12806static int _wrap_ART_WARNING_set(PyObject *_val) {
12807 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
12808 return 1;
12809}
12810
12811
12812static PyObject *_wrap_ART_WARNING_get() {
12813 PyObject *pyobj;
12814
12815 {
12816#if wxUSE_UNICODE
12817 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12818#else
12819 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12820#endif
12821 }
12822 return pyobj;
12823}
12824
12825
12826static int _wrap_ART_INFORMATION_set(PyObject *_val) {
12827 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
12828 return 1;
12829}
12830
12831
12832static PyObject *_wrap_ART_INFORMATION_get() {
12833 PyObject *pyobj;
12834
12835 {
12836#if wxUSE_UNICODE
12837 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12838#else
12839 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12840#endif
12841 }
12842 return pyobj;
12843}
12844
12845
12846static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
12847 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
12848 return 1;
12849}
12850
12851
12852static PyObject *_wrap_ART_MISSING_IMAGE_get() {
12853 PyObject *pyobj;
12854
12855 {
12856#if wxUSE_UNICODE
12857 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
12858#else
12859 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
12860#endif
12861 }
12862 return pyobj;
12863}
12864
12865
12866static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12867 PyObject *resultobj;
12868 wxPyArtProvider *result;
12869 char *kwnames[] = {
12870 NULL
12871 };
12872
12873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
12874 {
12875 PyThreadState* __tstate = wxPyBeginAllowThreads();
12876 result = (wxPyArtProvider *)new wxPyArtProvider();
12877
12878 wxPyEndAllowThreads(__tstate);
12879 if (PyErr_Occurred()) SWIG_fail;
12880 }
12881 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyArtProvider, 1);
12882 return resultobj;
12883 fail:
12884 return NULL;
12885}
12886
12887
12888static PyObject *_wrap_delete_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12889 PyObject *resultobj;
12890 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12891 PyObject * obj0 = 0 ;
12892 char *kwnames[] = {
12893 (char *) "self", NULL
12894 };
12895
12896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArtProvider",kwnames,&obj0)) goto fail;
12897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12898 {
12899 PyThreadState* __tstate = wxPyBeginAllowThreads();
12900 delete arg1;
12901
12902 wxPyEndAllowThreads(__tstate);
12903 if (PyErr_Occurred()) SWIG_fail;
12904 }
12905 Py_INCREF(Py_None); resultobj = Py_None;
12906 return resultobj;
12907 fail:
12908 return NULL;
12909}
12910
12911
12912static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12913 PyObject *resultobj;
12914 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12915 PyObject *arg2 = (PyObject *) 0 ;
12916 PyObject *arg3 = (PyObject *) 0 ;
12917 PyObject * obj0 = 0 ;
12918 PyObject * obj1 = 0 ;
12919 PyObject * obj2 = 0 ;
12920 char *kwnames[] = {
12921 (char *) "self",(char *) "self",(char *) "_class", NULL
12922 };
12923
12924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12926 arg2 = obj1;
12927 arg3 = obj2;
12928 {
12929 PyThreadState* __tstate = wxPyBeginAllowThreads();
12930 (arg1)->_setCallbackInfo(arg2,arg3);
12931
12932 wxPyEndAllowThreads(__tstate);
12933 if (PyErr_Occurred()) SWIG_fail;
12934 }
12935 Py_INCREF(Py_None); resultobj = Py_None;
12936 return resultobj;
12937 fail:
12938 return NULL;
12939}
12940
12941
12942static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12943 PyObject *resultobj;
12944 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12945 PyObject * obj0 = 0 ;
12946 char *kwnames[] = {
12947 (char *) "provider", NULL
12948 };
12949
12950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
12951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12952 {
12953 PyThreadState* __tstate = wxPyBeginAllowThreads();
12954 wxPyArtProvider::PushProvider(arg1);
12955
12956 wxPyEndAllowThreads(__tstate);
12957 if (PyErr_Occurred()) SWIG_fail;
12958 }
12959 Py_INCREF(Py_None); resultobj = Py_None;
12960 return resultobj;
12961 fail:
12962 return NULL;
12963}
12964
12965
12966static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12967 PyObject *resultobj;
12968 bool result;
12969 char *kwnames[] = {
12970 NULL
12971 };
12972
12973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
12974 {
12975 PyThreadState* __tstate = wxPyBeginAllowThreads();
12976 result = (bool)wxPyArtProvider::PopProvider();
12977
12978 wxPyEndAllowThreads(__tstate);
12979 if (PyErr_Occurred()) SWIG_fail;
12980 }
12981 resultobj = PyInt_FromLong((long)result);
12982 return resultobj;
12983 fail:
12984 return NULL;
12985}
12986
12987
12988static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12989 PyObject *resultobj;
12990 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12991 bool result;
12992 PyObject * obj0 = 0 ;
12993 char *kwnames[] = {
12994 (char *) "provider", NULL
12995 };
12996
12997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
12998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12999 {
13000 PyThreadState* __tstate = wxPyBeginAllowThreads();
13001 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
13002
13003 wxPyEndAllowThreads(__tstate);
13004 if (PyErr_Occurred()) SWIG_fail;
13005 }
13006 resultobj = PyInt_FromLong((long)result);
13007 return resultobj;
13008 fail:
13009 return NULL;
13010}
13011
13012
13013static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13014 PyObject *resultobj;
13015 wxString *arg1 = 0 ;
13016 wxString const &arg2_defvalue = wxPyART_OTHER ;
13017 wxString *arg2 = (wxString *) &arg2_defvalue ;
13018 wxSize const &arg3_defvalue = wxDefaultSize ;
13019 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13020 wxBitmap result;
13021 bool temp1 = false ;
13022 bool temp2 = false ;
13023 wxSize temp3 ;
13024 PyObject * obj0 = 0 ;
13025 PyObject * obj1 = 0 ;
13026 PyObject * obj2 = 0 ;
13027 char *kwnames[] = {
13028 (char *) "id",(char *) "client",(char *) "size", NULL
13029 };
13030
13031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13032 {
13033 arg1 = wxString_in_helper(obj0);
13034 if (arg1 == NULL) SWIG_fail;
13035 temp1 = true;
13036 }
13037 if (obj1) {
13038 {
13039 arg2 = wxString_in_helper(obj1);
13040 if (arg2 == NULL) SWIG_fail;
13041 temp2 = true;
13042 }
13043 }
13044 if (obj2) {
13045 {
13046 arg3 = &temp3;
13047 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13048 }
13049 }
13050 {
13051 PyThreadState* __tstate = wxPyBeginAllowThreads();
13052 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13053
13054 wxPyEndAllowThreads(__tstate);
13055 if (PyErr_Occurred()) SWIG_fail;
13056 }
13057 {
13058 wxBitmap * resultptr;
13059 resultptr = new wxBitmap((wxBitmap &) result);
13060 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13061 }
13062 {
13063 if (temp1)
13064 delete arg1;
13065 }
13066 {
13067 if (temp2)
13068 delete arg2;
13069 }
13070 return resultobj;
13071 fail:
13072 {
13073 if (temp1)
13074 delete arg1;
13075 }
13076 {
13077 if (temp2)
13078 delete arg2;
13079 }
13080 return NULL;
13081}
13082
13083
13084static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
13085 PyObject *resultobj;
13086 wxString *arg1 = 0 ;
13087 wxString const &arg2_defvalue = wxPyART_OTHER ;
13088 wxString *arg2 = (wxString *) &arg2_defvalue ;
13089 wxSize const &arg3_defvalue = wxDefaultSize ;
13090 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13091 wxIcon result;
13092 bool temp1 = false ;
13093 bool temp2 = false ;
13094 wxSize temp3 ;
13095 PyObject * obj0 = 0 ;
13096 PyObject * obj1 = 0 ;
13097 PyObject * obj2 = 0 ;
13098 char *kwnames[] = {
13099 (char *) "id",(char *) "client",(char *) "size", NULL
13100 };
13101
13102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13103 {
13104 arg1 = wxString_in_helper(obj0);
13105 if (arg1 == NULL) SWIG_fail;
13106 temp1 = true;
13107 }
13108 if (obj1) {
13109 {
13110 arg2 = wxString_in_helper(obj1);
13111 if (arg2 == NULL) SWIG_fail;
13112 temp2 = true;
13113 }
13114 }
13115 if (obj2) {
13116 {
13117 arg3 = &temp3;
13118 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13119 }
13120 }
13121 {
13122 PyThreadState* __tstate = wxPyBeginAllowThreads();
13123 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13124
13125 wxPyEndAllowThreads(__tstate);
13126 if (PyErr_Occurred()) SWIG_fail;
13127 }
13128 {
13129 wxIcon * resultptr;
13130 resultptr = new wxIcon((wxIcon &) result);
13131 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
13132 }
13133 {
13134 if (temp1)
13135 delete arg1;
13136 }
13137 {
13138 if (temp2)
13139 delete arg2;
13140 }
13141 return resultobj;
13142 fail:
13143 {
13144 if (temp1)
13145 delete arg1;
13146 }
13147 {
13148 if (temp2)
13149 delete arg2;
13150 }
13151 return NULL;
13152}
13153
13154
13155static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
13156 PyObject *obj;
13157 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13158 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
13159 Py_INCREF(obj);
13160 return Py_BuildValue((char *)"");
13161}
13162static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
13163 PyObject *resultobj;
13164 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13165 PyObject * obj0 = 0 ;
13166 char *kwnames[] = {
13167 (char *) "self", NULL
13168 };
13169
13170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
13171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13172 {
13173 PyThreadState* __tstate = wxPyBeginAllowThreads();
13174 delete arg1;
13175
13176 wxPyEndAllowThreads(__tstate);
13177 if (PyErr_Occurred()) SWIG_fail;
13178 }
13179 Py_INCREF(Py_None); resultobj = Py_None;
13180 return resultobj;
13181 fail:
13182 return NULL;
13183}
13184
13185
13186static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
13187 PyObject *resultobj;
13188 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13189 wxConfigBase *result;
13190 PyObject * obj0 = 0 ;
13191 char *kwnames[] = {
13192 (char *) "pConfig", NULL
13193 };
13194
13195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
13196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13197 {
13198 PyThreadState* __tstate = wxPyBeginAllowThreads();
13199 result = (wxConfigBase *)wxConfigBase::Set(arg1);
13200
13201 wxPyEndAllowThreads(__tstate);
13202 if (PyErr_Occurred()) SWIG_fail;
13203 }
13204 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13205 return resultobj;
13206 fail:
13207 return NULL;
13208}
13209
13210
13211static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
13212 PyObject *resultobj;
13213 bool arg1 = (bool) TRUE ;
13214 wxConfigBase *result;
13215 PyObject * obj0 = 0 ;
13216 char *kwnames[] = {
13217 (char *) "createOnDemand", NULL
13218 };
13219
13220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
13221 if (obj0) {
13222 arg1 = PyInt_AsLong(obj0) ? true : false;
13223 if (PyErr_Occurred()) SWIG_fail;
13224 }
13225 {
13226 PyThreadState* __tstate = wxPyBeginAllowThreads();
13227 result = (wxConfigBase *)wxConfigBase::Get(arg1);
13228
13229 wxPyEndAllowThreads(__tstate);
13230 if (PyErr_Occurred()) SWIG_fail;
13231 }
13232 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13233 return resultobj;
13234 fail:
13235 return NULL;
13236}
13237
13238
13239static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13240 PyObject *resultobj;
13241 wxConfigBase *result;
13242 char *kwnames[] = {
13243 NULL
13244 };
13245
13246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
13247 {
13248 PyThreadState* __tstate = wxPyBeginAllowThreads();
13249 result = (wxConfigBase *)wxConfigBase::Create();
13250
13251 wxPyEndAllowThreads(__tstate);
13252 if (PyErr_Occurred()) SWIG_fail;
13253 }
13254 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13255 return resultobj;
13256 fail:
13257 return NULL;
13258}
13259
13260
13261static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
13262 PyObject *resultobj;
13263 char *kwnames[] = {
13264 NULL
13265 };
13266
13267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
13268 {
13269 PyThreadState* __tstate = wxPyBeginAllowThreads();
13270 wxConfigBase::DontCreateOnDemand();
13271
13272 wxPyEndAllowThreads(__tstate);
13273 if (PyErr_Occurred()) SWIG_fail;
13274 }
13275 Py_INCREF(Py_None); resultobj = Py_None;
13276 return resultobj;
13277 fail:
13278 return NULL;
13279}
13280
13281
13282static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13283 PyObject *resultobj;
13284 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13285 wxString *arg2 = 0 ;
13286 bool temp2 = false ;
13287 PyObject * obj0 = 0 ;
13288 PyObject * obj1 = 0 ;
13289 char *kwnames[] = {
13290 (char *) "self",(char *) "strPath", NULL
13291 };
13292
13293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
13294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13295 {
13296 arg2 = wxString_in_helper(obj1);
13297 if (arg2 == NULL) SWIG_fail;
13298 temp2 = true;
13299 }
13300 {
13301 PyThreadState* __tstate = wxPyBeginAllowThreads();
13302 (arg1)->SetPath((wxString const &)*arg2);
13303
13304 wxPyEndAllowThreads(__tstate);
13305 if (PyErr_Occurred()) SWIG_fail;
13306 }
13307 Py_INCREF(Py_None); resultobj = Py_None;
13308 {
13309 if (temp2)
13310 delete arg2;
13311 }
13312 return resultobj;
13313 fail:
13314 {
13315 if (temp2)
13316 delete arg2;
13317 }
13318 return NULL;
13319}
13320
13321
13322static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13323 PyObject *resultobj;
13324 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13325 wxString *result;
13326 PyObject * obj0 = 0 ;
13327 char *kwnames[] = {
13328 (char *) "self", NULL
13329 };
13330
13331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
13332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13333 {
13334 PyThreadState* __tstate = wxPyBeginAllowThreads();
13335 {
13336 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
13337 result = (wxString *) &_result_ref;
13338 }
13339
13340 wxPyEndAllowThreads(__tstate);
13341 if (PyErr_Occurred()) SWIG_fail;
13342 }
13343 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
13344 return resultobj;
13345 fail:
13346 return NULL;
13347}
13348
13349
13350static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13351 PyObject *resultobj;
13352 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13353 PyObject *result;
13354 PyObject * obj0 = 0 ;
13355 char *kwnames[] = {
13356 (char *) "self", NULL
13357 };
13358
13359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
13360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13361 {
13362 PyThreadState* __tstate = wxPyBeginAllowThreads();
13363 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
13364
13365 wxPyEndAllowThreads(__tstate);
13366 if (PyErr_Occurred()) SWIG_fail;
13367 }
13368 resultobj = result;
13369 return resultobj;
13370 fail:
13371 return NULL;
13372}
13373
13374
13375static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13376 PyObject *resultobj;
13377 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13378 long arg2 ;
13379 PyObject *result;
13380 PyObject * obj0 = 0 ;
13381 char *kwnames[] = {
13382 (char *) "self",(char *) "index", NULL
13383 };
13384
13385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextGroup",kwnames,&obj0,&arg2)) goto fail;
13386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13387 {
13388 PyThreadState* __tstate = wxPyBeginAllowThreads();
13389 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
13390
13391 wxPyEndAllowThreads(__tstate);
13392 if (PyErr_Occurred()) SWIG_fail;
13393 }
13394 resultobj = result;
13395 return resultobj;
13396 fail:
13397 return NULL;
13398}
13399
13400
13401static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13402 PyObject *resultobj;
13403 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13404 PyObject *result;
13405 PyObject * obj0 = 0 ;
13406 char *kwnames[] = {
13407 (char *) "self", NULL
13408 };
13409
13410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
13411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13412 {
13413 PyThreadState* __tstate = wxPyBeginAllowThreads();
13414 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
13415
13416 wxPyEndAllowThreads(__tstate);
13417 if (PyErr_Occurred()) SWIG_fail;
13418 }
13419 resultobj = result;
13420 return resultobj;
13421 fail:
13422 return NULL;
13423}
13424
13425
13426static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13427 PyObject *resultobj;
13428 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13429 long arg2 ;
13430 PyObject *result;
13431 PyObject * obj0 = 0 ;
13432 char *kwnames[] = {
13433 (char *) "self",(char *) "index", NULL
13434 };
13435
13436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextEntry",kwnames,&obj0,&arg2)) goto fail;
13437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13438 {
13439 PyThreadState* __tstate = wxPyBeginAllowThreads();
13440 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
13441
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 resultobj = result;
13446 return resultobj;
13447 fail:
13448 return NULL;
13449}
13450
13451
13452static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
13453 PyObject *resultobj;
13454 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13455 bool arg2 = (bool) FALSE ;
13456 size_t result;
13457 PyObject * obj0 = 0 ;
13458 PyObject * obj1 = 0 ;
13459 char *kwnames[] = {
13460 (char *) "self",(char *) "bRecursive", NULL
13461 };
13462
13463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
13464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13465 if (obj1) {
13466 arg2 = PyInt_AsLong(obj1) ? true : false;
13467 if (PyErr_Occurred()) SWIG_fail;
13468 }
13469 {
13470 PyThreadState* __tstate = wxPyBeginAllowThreads();
13471 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
13472
13473 wxPyEndAllowThreads(__tstate);
13474 if (PyErr_Occurred()) SWIG_fail;
13475 }
13476 resultobj = PyInt_FromLong((long)result);
13477 return resultobj;
13478 fail:
13479 return NULL;
13480}
13481
13482
13483static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
13484 PyObject *resultobj;
13485 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13486 bool arg2 = (bool) FALSE ;
13487 size_t result;
13488 PyObject * obj0 = 0 ;
13489 PyObject * obj1 = 0 ;
13490 char *kwnames[] = {
13491 (char *) "self",(char *) "bRecursive", NULL
13492 };
13493
13494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
13495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13496 if (obj1) {
13497 arg2 = PyInt_AsLong(obj1) ? true : false;
13498 if (PyErr_Occurred()) SWIG_fail;
13499 }
13500 {
13501 PyThreadState* __tstate = wxPyBeginAllowThreads();
13502 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
13503
13504 wxPyEndAllowThreads(__tstate);
13505 if (PyErr_Occurred()) SWIG_fail;
13506 }
13507 resultobj = PyInt_FromLong((long)result);
13508 return resultobj;
13509 fail:
13510 return NULL;
13511}
13512
13513
13514static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13515 PyObject *resultobj;
13516 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13517 wxString *arg2 = 0 ;
13518 bool result;
13519 bool temp2 = false ;
13520 PyObject * obj0 = 0 ;
13521 PyObject * obj1 = 0 ;
13522 char *kwnames[] = {
13523 (char *) "self",(char *) "strName", NULL
13524 };
13525
13526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
13527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13528 {
13529 arg2 = wxString_in_helper(obj1);
13530 if (arg2 == NULL) SWIG_fail;
13531 temp2 = true;
13532 }
13533 {
13534 PyThreadState* __tstate = wxPyBeginAllowThreads();
13535 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
13536
13537 wxPyEndAllowThreads(__tstate);
13538 if (PyErr_Occurred()) SWIG_fail;
13539 }
13540 resultobj = PyInt_FromLong((long)result);
13541 {
13542 if (temp2)
13543 delete arg2;
13544 }
13545 return resultobj;
13546 fail:
13547 {
13548 if (temp2)
13549 delete arg2;
13550 }
13551 return NULL;
13552}
13553
13554
13555static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13556 PyObject *resultobj;
13557 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13558 wxString *arg2 = 0 ;
13559 bool result;
13560 bool temp2 = false ;
13561 PyObject * obj0 = 0 ;
13562 PyObject * obj1 = 0 ;
13563 char *kwnames[] = {
13564 (char *) "self",(char *) "strName", NULL
13565 };
13566
13567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
13568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13569 {
13570 arg2 = wxString_in_helper(obj1);
13571 if (arg2 == NULL) SWIG_fail;
13572 temp2 = true;
13573 }
13574 {
13575 PyThreadState* __tstate = wxPyBeginAllowThreads();
13576 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
13577
13578 wxPyEndAllowThreads(__tstate);
13579 if (PyErr_Occurred()) SWIG_fail;
13580 }
13581 resultobj = PyInt_FromLong((long)result);
13582 {
13583 if (temp2)
13584 delete arg2;
13585 }
13586 return resultobj;
13587 fail:
13588 {
13589 if (temp2)
13590 delete arg2;
13591 }
13592 return NULL;
13593}
13594
13595
13596static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
13597 PyObject *resultobj;
13598 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13599 wxString *arg2 = 0 ;
13600 bool result;
13601 bool temp2 = false ;
13602 PyObject * obj0 = 0 ;
13603 PyObject * obj1 = 0 ;
13604 char *kwnames[] = {
13605 (char *) "self",(char *) "strName", NULL
13606 };
13607
13608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
13609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13610 {
13611 arg2 = wxString_in_helper(obj1);
13612 if (arg2 == NULL) SWIG_fail;
13613 temp2 = true;
13614 }
13615 {
13616 PyThreadState* __tstate = wxPyBeginAllowThreads();
13617 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
13618
13619 wxPyEndAllowThreads(__tstate);
13620 if (PyErr_Occurred()) SWIG_fail;
13621 }
13622 resultobj = PyInt_FromLong((long)result);
13623 {
13624 if (temp2)
13625 delete arg2;
13626 }
13627 return resultobj;
13628 fail:
13629 {
13630 if (temp2)
13631 delete arg2;
13632 }
13633 return NULL;
13634}
13635
13636
13637static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
13638 PyObject *resultobj;
13639 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13640 wxString *arg2 = 0 ;
13641 int result;
13642 bool temp2 = false ;
13643 PyObject * obj0 = 0 ;
13644 PyObject * obj1 = 0 ;
13645 char *kwnames[] = {
13646 (char *) "self",(char *) "name", NULL
13647 };
13648
13649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
13650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13651 {
13652 arg2 = wxString_in_helper(obj1);
13653 if (arg2 == NULL) SWIG_fail;
13654 temp2 = true;
13655 }
13656 {
13657 PyThreadState* __tstate = wxPyBeginAllowThreads();
13658 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
13659
13660 wxPyEndAllowThreads(__tstate);
13661 if (PyErr_Occurred()) SWIG_fail;
13662 }
13663 resultobj = PyInt_FromLong((long)result);
13664 {
13665 if (temp2)
13666 delete arg2;
13667 }
13668 return resultobj;
13669 fail:
13670 {
13671 if (temp2)
13672 delete arg2;
13673 }
13674 return NULL;
13675}
13676
13677
13678static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
13679 PyObject *resultobj;
13680 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13681 wxString *arg2 = 0 ;
13682 wxString const &arg3_defvalue = wxPyEmptyString ;
13683 wxString *arg3 = (wxString *) &arg3_defvalue ;
13684 wxString result;
13685 bool temp2 = false ;
13686 bool temp3 = false ;
13687 PyObject * obj0 = 0 ;
13688 PyObject * obj1 = 0 ;
13689 PyObject * obj2 = 0 ;
13690 char *kwnames[] = {
13691 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13692 };
13693
13694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
13695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13696 {
13697 arg2 = wxString_in_helper(obj1);
13698 if (arg2 == NULL) SWIG_fail;
13699 temp2 = true;
13700 }
13701 if (obj2) {
13702 {
13703 arg3 = wxString_in_helper(obj2);
13704 if (arg3 == NULL) SWIG_fail;
13705 temp3 = true;
13706 }
13707 }
13708 {
13709 PyThreadState* __tstate = wxPyBeginAllowThreads();
13710 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
13711
13712 wxPyEndAllowThreads(__tstate);
13713 if (PyErr_Occurred()) SWIG_fail;
13714 }
13715 {
13716#if wxUSE_UNICODE
13717 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13718#else
13719 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13720#endif
13721 }
13722 {
13723 if (temp2)
13724 delete arg2;
13725 }
13726 {
13727 if (temp3)
13728 delete arg3;
13729 }
13730 return resultobj;
13731 fail:
13732 {
13733 if (temp2)
13734 delete arg2;
13735 }
13736 {
13737 if (temp3)
13738 delete arg3;
13739 }
13740 return NULL;
13741}
13742
13743
13744static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13745 PyObject *resultobj;
13746 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13747 wxString *arg2 = 0 ;
13748 long arg3 = (long) 0 ;
13749 long result;
13750 bool temp2 = false ;
13751 PyObject * obj0 = 0 ;
13752 PyObject * obj1 = 0 ;
13753 char *kwnames[] = {
13754 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13755 };
13756
13757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
13758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13759 {
13760 arg2 = wxString_in_helper(obj1);
13761 if (arg2 == NULL) SWIG_fail;
13762 temp2 = true;
13763 }
13764 {
13765 PyThreadState* __tstate = wxPyBeginAllowThreads();
13766 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
13767
13768 wxPyEndAllowThreads(__tstate);
13769 if (PyErr_Occurred()) SWIG_fail;
13770 }
13771 resultobj = PyInt_FromLong((long)result);
13772 {
13773 if (temp2)
13774 delete arg2;
13775 }
13776 return resultobj;
13777 fail:
13778 {
13779 if (temp2)
13780 delete arg2;
13781 }
13782 return NULL;
13783}
13784
13785
13786static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
13787 PyObject *resultobj;
13788 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13789 wxString *arg2 = 0 ;
13790 double arg3 = (double) 0.0 ;
13791 double result;
13792 bool temp2 = false ;
13793 PyObject * obj0 = 0 ;
13794 PyObject * obj1 = 0 ;
13795 char *kwnames[] = {
13796 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13797 };
13798
13799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|d:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
13800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13801 {
13802 arg2 = wxString_in_helper(obj1);
13803 if (arg2 == NULL) SWIG_fail;
13804 temp2 = true;
13805 }
13806 {
13807 PyThreadState* __tstate = wxPyBeginAllowThreads();
13808 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
13809
13810 wxPyEndAllowThreads(__tstate);
13811 if (PyErr_Occurred()) SWIG_fail;
13812 }
13813 resultobj = PyFloat_FromDouble(result);
13814 {
13815 if (temp2)
13816 delete arg2;
13817 }
13818 return resultobj;
13819 fail:
13820 {
13821 if (temp2)
13822 delete arg2;
13823 }
13824 return NULL;
13825}
13826
13827
13828static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
13829 PyObject *resultobj;
13830 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13831 wxString *arg2 = 0 ;
13832 bool arg3 = (bool) FALSE ;
13833 bool result;
13834 bool temp2 = false ;
13835 PyObject * obj0 = 0 ;
13836 PyObject * obj1 = 0 ;
13837 PyObject * obj2 = 0 ;
13838 char *kwnames[] = {
13839 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13840 };
13841
13842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
13843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13844 {
13845 arg2 = wxString_in_helper(obj1);
13846 if (arg2 == NULL) SWIG_fail;
13847 temp2 = true;
13848 }
13849 if (obj2) {
13850 arg3 = PyInt_AsLong(obj2) ? true : false;
13851 if (PyErr_Occurred()) SWIG_fail;
13852 }
13853 {
13854 PyThreadState* __tstate = wxPyBeginAllowThreads();
13855 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
13856
13857 wxPyEndAllowThreads(__tstate);
13858 if (PyErr_Occurred()) SWIG_fail;
13859 }
13860 resultobj = PyInt_FromLong((long)result);
13861 {
13862 if (temp2)
13863 delete arg2;
13864 }
13865 return resultobj;
13866 fail:
13867 {
13868 if (temp2)
13869 delete arg2;
13870 }
13871 return NULL;
13872}
13873
13874
13875static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
13876 PyObject *resultobj;
13877 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13878 wxString *arg2 = 0 ;
13879 wxString *arg3 = 0 ;
13880 bool result;
13881 bool temp2 = false ;
13882 bool temp3 = false ;
13883 PyObject * obj0 = 0 ;
13884 PyObject * obj1 = 0 ;
13885 PyObject * obj2 = 0 ;
13886 char *kwnames[] = {
13887 (char *) "self",(char *) "key",(char *) "value", NULL
13888 };
13889
13890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
13891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13892 {
13893 arg2 = wxString_in_helper(obj1);
13894 if (arg2 == NULL) SWIG_fail;
13895 temp2 = true;
13896 }
13897 {
13898 arg3 = wxString_in_helper(obj2);
13899 if (arg3 == NULL) SWIG_fail;
13900 temp3 = true;
13901 }
13902 {
13903 PyThreadState* __tstate = wxPyBeginAllowThreads();
13904 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
13905
13906 wxPyEndAllowThreads(__tstate);
13907 if (PyErr_Occurred()) SWIG_fail;
13908 }
13909 resultobj = PyInt_FromLong((long)result);
13910 {
13911 if (temp2)
13912 delete arg2;
13913 }
13914 {
13915 if (temp3)
13916 delete arg3;
13917 }
13918 return resultobj;
13919 fail:
13920 {
13921 if (temp2)
13922 delete arg2;
13923 }
13924 {
13925 if (temp3)
13926 delete arg3;
13927 }
13928 return NULL;
13929}
13930
13931
13932static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13933 PyObject *resultobj;
13934 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13935 wxString *arg2 = 0 ;
13936 long arg3 ;
13937 bool result;
13938 bool temp2 = false ;
13939 PyObject * obj0 = 0 ;
13940 PyObject * obj1 = 0 ;
13941 char *kwnames[] = {
13942 (char *) "self",(char *) "key",(char *) "value", NULL
13943 };
13944
13945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
13946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13947 {
13948 arg2 = wxString_in_helper(obj1);
13949 if (arg2 == NULL) SWIG_fail;
13950 temp2 = true;
13951 }
13952 {
13953 PyThreadState* __tstate = wxPyBeginAllowThreads();
13954 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
13955
13956 wxPyEndAllowThreads(__tstate);
13957 if (PyErr_Occurred()) SWIG_fail;
13958 }
13959 resultobj = PyInt_FromLong((long)result);
13960 {
13961 if (temp2)
13962 delete arg2;
13963 }
13964 return resultobj;
13965 fail:
13966 {
13967 if (temp2)
13968 delete arg2;
13969 }
13970 return NULL;
13971}
13972
13973
13974static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
13975 PyObject *resultobj;
13976 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13977 wxString *arg2 = 0 ;
13978 double arg3 ;
13979 bool result;
13980 bool temp2 = false ;
13981 PyObject * obj0 = 0 ;
13982 PyObject * obj1 = 0 ;
13983 char *kwnames[] = {
13984 (char *) "self",(char *) "key",(char *) "value", NULL
13985 };
13986
13987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
13988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13989 {
13990 arg2 = wxString_in_helper(obj1);
13991 if (arg2 == NULL) SWIG_fail;
13992 temp2 = true;
13993 }
13994 {
13995 PyThreadState* __tstate = wxPyBeginAllowThreads();
13996 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
13997
13998 wxPyEndAllowThreads(__tstate);
13999 if (PyErr_Occurred()) SWIG_fail;
14000 }
14001 resultobj = PyInt_FromLong((long)result);
14002 {
14003 if (temp2)
14004 delete arg2;
14005 }
14006 return resultobj;
14007 fail:
14008 {
14009 if (temp2)
14010 delete arg2;
14011 }
14012 return NULL;
14013}
14014
14015
14016static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
14017 PyObject *resultobj;
14018 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14019 wxString *arg2 = 0 ;
14020 bool arg3 ;
14021 bool result;
14022 bool temp2 = false ;
14023 PyObject * obj0 = 0 ;
14024 PyObject * obj1 = 0 ;
14025 PyObject * obj2 = 0 ;
14026 char *kwnames[] = {
14027 (char *) "self",(char *) "key",(char *) "value", NULL
14028 };
14029
14030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
14031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14032 {
14033 arg2 = wxString_in_helper(obj1);
14034 if (arg2 == NULL) SWIG_fail;
14035 temp2 = true;
14036 }
14037 arg3 = PyInt_AsLong(obj2) ? true : false;
14038 if (PyErr_Occurred()) SWIG_fail;
14039 {
14040 PyThreadState* __tstate = wxPyBeginAllowThreads();
14041 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14042
14043 wxPyEndAllowThreads(__tstate);
14044 if (PyErr_Occurred()) SWIG_fail;
14045 }
14046 resultobj = PyInt_FromLong((long)result);
14047 {
14048 if (temp2)
14049 delete arg2;
14050 }
14051 return resultobj;
14052 fail:
14053 {
14054 if (temp2)
14055 delete arg2;
14056 }
14057 return NULL;
14058}
14059
14060
14061static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
14062 PyObject *resultobj;
14063 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14064 bool arg2 = (bool) FALSE ;
14065 bool result;
14066 PyObject * obj0 = 0 ;
14067 PyObject * obj1 = 0 ;
14068 char *kwnames[] = {
14069 (char *) "self",(char *) "bCurrentOnly", NULL
14070 };
14071
14072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
14073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14074 if (obj1) {
14075 arg2 = PyInt_AsLong(obj1) ? true : false;
14076 if (PyErr_Occurred()) SWIG_fail;
14077 }
14078 {
14079 PyThreadState* __tstate = wxPyBeginAllowThreads();
14080 result = (bool)(arg1)->Flush(arg2);
14081
14082 wxPyEndAllowThreads(__tstate);
14083 if (PyErr_Occurred()) SWIG_fail;
14084 }
14085 resultobj = PyInt_FromLong((long)result);
14086 return resultobj;
14087 fail:
14088 return NULL;
14089}
14090
14091
14092static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14093 PyObject *resultobj;
14094 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14095 wxString *arg2 = 0 ;
14096 wxString *arg3 = 0 ;
14097 bool result;
14098 bool temp2 = false ;
14099 bool temp3 = false ;
14100 PyObject * obj0 = 0 ;
14101 PyObject * obj1 = 0 ;
14102 PyObject * obj2 = 0 ;
14103 char *kwnames[] = {
14104 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14105 };
14106
14107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14109 {
14110 arg2 = wxString_in_helper(obj1);
14111 if (arg2 == NULL) SWIG_fail;
14112 temp2 = true;
14113 }
14114 {
14115 arg3 = wxString_in_helper(obj2);
14116 if (arg3 == NULL) SWIG_fail;
14117 temp3 = true;
14118 }
14119 {
14120 PyThreadState* __tstate = wxPyBeginAllowThreads();
14121 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
14122
14123 wxPyEndAllowThreads(__tstate);
14124 if (PyErr_Occurred()) SWIG_fail;
14125 }
14126 resultobj = PyInt_FromLong((long)result);
14127 {
14128 if (temp2)
14129 delete arg2;
14130 }
14131 {
14132 if (temp3)
14133 delete arg3;
14134 }
14135 return resultobj;
14136 fail:
14137 {
14138 if (temp2)
14139 delete arg2;
14140 }
14141 {
14142 if (temp3)
14143 delete arg3;
14144 }
14145 return NULL;
14146}
14147
14148
14149static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14150 PyObject *resultobj;
14151 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14152 wxString *arg2 = 0 ;
14153 wxString *arg3 = 0 ;
14154 bool result;
14155 bool temp2 = false ;
14156 bool temp3 = false ;
14157 PyObject * obj0 = 0 ;
14158 PyObject * obj1 = 0 ;
14159 PyObject * obj2 = 0 ;
14160 char *kwnames[] = {
14161 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14162 };
14163
14164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
14165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14166 {
14167 arg2 = wxString_in_helper(obj1);
14168 if (arg2 == NULL) SWIG_fail;
14169 temp2 = true;
14170 }
14171 {
14172 arg3 = wxString_in_helper(obj2);
14173 if (arg3 == NULL) SWIG_fail;
14174 temp3 = true;
14175 }
14176 {
14177 PyThreadState* __tstate = wxPyBeginAllowThreads();
14178 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
14179
14180 wxPyEndAllowThreads(__tstate);
14181 if (PyErr_Occurred()) SWIG_fail;
14182 }
14183 resultobj = PyInt_FromLong((long)result);
14184 {
14185 if (temp2)
14186 delete arg2;
14187 }
14188 {
14189 if (temp3)
14190 delete arg3;
14191 }
14192 return resultobj;
14193 fail:
14194 {
14195 if (temp2)
14196 delete arg2;
14197 }
14198 {
14199 if (temp3)
14200 delete arg3;
14201 }
14202 return NULL;
14203}
14204
14205
14206static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14207 PyObject *resultobj;
14208 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14209 wxString *arg2 = 0 ;
14210 bool arg3 = (bool) TRUE ;
14211 bool result;
14212 bool temp2 = false ;
14213 PyObject * obj0 = 0 ;
14214 PyObject * obj1 = 0 ;
14215 PyObject * obj2 = 0 ;
14216 char *kwnames[] = {
14217 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14218 };
14219
14220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14222 {
14223 arg2 = wxString_in_helper(obj1);
14224 if (arg2 == NULL) SWIG_fail;
14225 temp2 = true;
14226 }
14227 if (obj2) {
14228 arg3 = PyInt_AsLong(obj2) ? true : false;
14229 if (PyErr_Occurred()) SWIG_fail;
14230 }
14231 {
14232 PyThreadState* __tstate = wxPyBeginAllowThreads();
14233 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
14234
14235 wxPyEndAllowThreads(__tstate);
14236 if (PyErr_Occurred()) SWIG_fail;
14237 }
14238 resultobj = PyInt_FromLong((long)result);
14239 {
14240 if (temp2)
14241 delete arg2;
14242 }
14243 return resultobj;
14244 fail:
14245 {
14246 if (temp2)
14247 delete arg2;
14248 }
14249 return NULL;
14250}
14251
14252
14253static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14254 PyObject *resultobj;
14255 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14256 wxString *arg2 = 0 ;
14257 bool result;
14258 bool temp2 = false ;
14259 PyObject * obj0 = 0 ;
14260 PyObject * obj1 = 0 ;
14261 char *kwnames[] = {
14262 (char *) "self",(char *) "key", NULL
14263 };
14264
14265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
14266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14267 {
14268 arg2 = wxString_in_helper(obj1);
14269 if (arg2 == NULL) SWIG_fail;
14270 temp2 = true;
14271 }
14272 {
14273 PyThreadState* __tstate = wxPyBeginAllowThreads();
14274 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
14275
14276 wxPyEndAllowThreads(__tstate);
14277 if (PyErr_Occurred()) SWIG_fail;
14278 }
14279 resultobj = PyInt_FromLong((long)result);
14280 {
14281 if (temp2)
14282 delete arg2;
14283 }
14284 return resultobj;
14285 fail:
14286 {
14287 if (temp2)
14288 delete arg2;
14289 }
14290 return NULL;
14291}
14292
14293
14294static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
14295 PyObject *resultobj;
14296 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14297 bool result;
14298 PyObject * obj0 = 0 ;
14299 char *kwnames[] = {
14300 (char *) "self", NULL
14301 };
14302
14303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
14304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14305 {
14306 PyThreadState* __tstate = wxPyBeginAllowThreads();
14307 result = (bool)(arg1)->DeleteAll();
14308
14309 wxPyEndAllowThreads(__tstate);
14310 if (PyErr_Occurred()) SWIG_fail;
14311 }
14312 resultobj = PyInt_FromLong((long)result);
14313 return resultobj;
14314 fail:
14315 return NULL;
14316}
14317
14318
14319static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14320 PyObject *resultobj;
14321 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14322 bool result;
14323 PyObject * obj0 = 0 ;
14324 char *kwnames[] = {
14325 (char *) "self", NULL
14326 };
14327
14328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
14329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14330 {
14331 PyThreadState* __tstate = wxPyBeginAllowThreads();
14332 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
14333
14334 wxPyEndAllowThreads(__tstate);
14335 if (PyErr_Occurred()) SWIG_fail;
14336 }
14337 resultobj = PyInt_FromLong((long)result);
14338 return resultobj;
14339 fail:
14340 return NULL;
14341}
14342
14343
14344static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14345 PyObject *resultobj;
14346 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14347 bool arg2 = (bool) TRUE ;
14348 PyObject * obj0 = 0 ;
14349 PyObject * obj1 = 0 ;
14350 char *kwnames[] = {
14351 (char *) "self",(char *) "bDoIt", NULL
14352 };
14353
14354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14356 if (obj1) {
14357 arg2 = PyInt_AsLong(obj1) ? true : false;
14358 if (PyErr_Occurred()) SWIG_fail;
14359 }
14360 {
14361 PyThreadState* __tstate = wxPyBeginAllowThreads();
14362 (arg1)->SetExpandEnvVars(arg2);
14363
14364 wxPyEndAllowThreads(__tstate);
14365 if (PyErr_Occurred()) SWIG_fail;
14366 }
14367 Py_INCREF(Py_None); resultobj = Py_None;
14368 return resultobj;
14369 fail:
14370 return NULL;
14371}
14372
14373
14374static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14375 PyObject *resultobj;
14376 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14377 bool arg2 = (bool) TRUE ;
14378 PyObject * obj0 = 0 ;
14379 PyObject * obj1 = 0 ;
14380 char *kwnames[] = {
14381 (char *) "self",(char *) "bDoIt", NULL
14382 };
14383
14384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
14385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14386 if (obj1) {
14387 arg2 = PyInt_AsLong(obj1) ? true : false;
14388 if (PyErr_Occurred()) SWIG_fail;
14389 }
14390 {
14391 PyThreadState* __tstate = wxPyBeginAllowThreads();
14392 (arg1)->SetRecordDefaults(arg2);
14393
14394 wxPyEndAllowThreads(__tstate);
14395 if (PyErr_Occurred()) SWIG_fail;
14396 }
14397 Py_INCREF(Py_None); resultobj = Py_None;
14398 return resultobj;
14399 fail:
14400 return NULL;
14401}
14402
14403
14404static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14405 PyObject *resultobj;
14406 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14407 bool result;
14408 PyObject * obj0 = 0 ;
14409 char *kwnames[] = {
14410 (char *) "self", NULL
14411 };
14412
14413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
14414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14415 {
14416 PyThreadState* __tstate = wxPyBeginAllowThreads();
14417 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
14418
14419 wxPyEndAllowThreads(__tstate);
14420 if (PyErr_Occurred()) SWIG_fail;
14421 }
14422 resultobj = PyInt_FromLong((long)result);
14423 return resultobj;
14424 fail:
14425 return NULL;
14426}
14427
14428
14429static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14430 PyObject *resultobj;
14431 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14432 wxString *arg2 = 0 ;
14433 wxString result;
14434 bool temp2 = false ;
14435 PyObject * obj0 = 0 ;
14436 PyObject * obj1 = 0 ;
14437 char *kwnames[] = {
14438 (char *) "self",(char *) "str", NULL
14439 };
14440
14441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14443 {
14444 arg2 = wxString_in_helper(obj1);
14445 if (arg2 == NULL) SWIG_fail;
14446 temp2 = true;
14447 }
14448 {
14449 PyThreadState* __tstate = wxPyBeginAllowThreads();
14450 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
14451
14452 wxPyEndAllowThreads(__tstate);
14453 if (PyErr_Occurred()) SWIG_fail;
14454 }
14455 {
14456#if wxUSE_UNICODE
14457 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14458#else
14459 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14460#endif
14461 }
14462 {
14463 if (temp2)
14464 delete arg2;
14465 }
14466 return resultobj;
14467 fail:
14468 {
14469 if (temp2)
14470 delete arg2;
14471 }
14472 return NULL;
14473}
14474
14475
14476static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14477 PyObject *resultobj;
14478 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14479 wxString result;
14480 PyObject * obj0 = 0 ;
14481 char *kwnames[] = {
14482 (char *) "self", NULL
14483 };
14484
14485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
14486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14487 {
14488 PyThreadState* __tstate = wxPyBeginAllowThreads();
14489 result = ((wxConfigBase const *)arg1)->GetAppName();
14490
14491 wxPyEndAllowThreads(__tstate);
14492 if (PyErr_Occurred()) SWIG_fail;
14493 }
14494 {
14495#if wxUSE_UNICODE
14496 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14497#else
14498 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14499#endif
14500 }
14501 return resultobj;
14502 fail:
14503 return NULL;
14504}
14505
14506
14507static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14508 PyObject *resultobj;
14509 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14510 wxString result;
14511 PyObject * obj0 = 0 ;
14512 char *kwnames[] = {
14513 (char *) "self", NULL
14514 };
14515
14516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
14517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14518 {
14519 PyThreadState* __tstate = wxPyBeginAllowThreads();
14520 result = ((wxConfigBase const *)arg1)->GetVendorName();
14521
14522 wxPyEndAllowThreads(__tstate);
14523 if (PyErr_Occurred()) SWIG_fail;
14524 }
14525 {
14526#if wxUSE_UNICODE
14527 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14528#else
14529 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14530#endif
14531 }
14532 return resultobj;
14533 fail:
14534 return NULL;
14535}
14536
14537
14538static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14539 PyObject *resultobj;
14540 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14541 wxString *arg2 = 0 ;
14542 bool temp2 = false ;
14543 PyObject * obj0 = 0 ;
14544 PyObject * obj1 = 0 ;
14545 char *kwnames[] = {
14546 (char *) "self",(char *) "appName", NULL
14547 };
14548
14549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
14550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14551 {
14552 arg2 = wxString_in_helper(obj1);
14553 if (arg2 == NULL) SWIG_fail;
14554 temp2 = true;
14555 }
14556 {
14557 PyThreadState* __tstate = wxPyBeginAllowThreads();
14558 (arg1)->SetAppName((wxString const &)*arg2);
14559
14560 wxPyEndAllowThreads(__tstate);
14561 if (PyErr_Occurred()) SWIG_fail;
14562 }
14563 Py_INCREF(Py_None); resultobj = Py_None;
14564 {
14565 if (temp2)
14566 delete arg2;
14567 }
14568 return resultobj;
14569 fail:
14570 {
14571 if (temp2)
14572 delete arg2;
14573 }
14574 return NULL;
14575}
14576
14577
14578static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14579 PyObject *resultobj;
14580 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14581 wxString *arg2 = 0 ;
14582 bool temp2 = false ;
14583 PyObject * obj0 = 0 ;
14584 PyObject * obj1 = 0 ;
14585 char *kwnames[] = {
14586 (char *) "self",(char *) "vendorName", NULL
14587 };
14588
14589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
14590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14591 {
14592 arg2 = wxString_in_helper(obj1);
14593 if (arg2 == NULL) SWIG_fail;
14594 temp2 = true;
14595 }
14596 {
14597 PyThreadState* __tstate = wxPyBeginAllowThreads();
14598 (arg1)->SetVendorName((wxString const &)*arg2);
14599
14600 wxPyEndAllowThreads(__tstate);
14601 if (PyErr_Occurred()) SWIG_fail;
14602 }
14603 Py_INCREF(Py_None); resultobj = Py_None;
14604 {
14605 if (temp2)
14606 delete arg2;
14607 }
14608 return resultobj;
14609 fail:
14610 {
14611 if (temp2)
14612 delete arg2;
14613 }
14614 return NULL;
14615}
14616
14617
14618static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14619 PyObject *resultobj;
14620 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14621 long arg2 ;
14622 PyObject * obj0 = 0 ;
14623 char *kwnames[] = {
14624 (char *) "self",(char *) "style", NULL
14625 };
14626
14627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_SetStyle",kwnames,&obj0,&arg2)) goto fail;
14628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14629 {
14630 PyThreadState* __tstate = wxPyBeginAllowThreads();
14631 (arg1)->SetStyle(arg2);
14632
14633 wxPyEndAllowThreads(__tstate);
14634 if (PyErr_Occurred()) SWIG_fail;
14635 }
14636 Py_INCREF(Py_None); resultobj = Py_None;
14637 return resultobj;
14638 fail:
14639 return NULL;
14640}
14641
14642
14643static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14644 PyObject *resultobj;
14645 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14646 long result;
14647 PyObject * obj0 = 0 ;
14648 char *kwnames[] = {
14649 (char *) "self", NULL
14650 };
14651
14652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
14653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14654 {
14655 PyThreadState* __tstate = wxPyBeginAllowThreads();
14656 result = (long)((wxConfigBase const *)arg1)->GetStyle();
14657
14658 wxPyEndAllowThreads(__tstate);
14659 if (PyErr_Occurred()) SWIG_fail;
14660 }
14661 resultobj = PyInt_FromLong((long)result);
14662 return resultobj;
14663 fail:
14664 return NULL;
14665}
14666
14667
14668static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
14669 PyObject *obj;
14670 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14671 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
14672 Py_INCREF(obj);
14673 return Py_BuildValue((char *)"");
14674}
14675static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14676 PyObject *resultobj;
14677 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14678 wxString *arg2 = 0 ;
14679 wxConfigPathChanger *result;
14680 bool temp2 = false ;
14681 PyObject * obj0 = 0 ;
14682 PyObject * obj1 = 0 ;
14683 char *kwnames[] = {
14684 (char *) "pContainer",(char *) "strEntry", NULL
14685 };
14686
14687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
14688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14689 {
14690 arg2 = wxString_in_helper(obj1);
14691 if (arg2 == NULL) SWIG_fail;
14692 temp2 = true;
14693 }
14694 {
14695 PyThreadState* __tstate = wxPyBeginAllowThreads();
14696 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
14697
14698 wxPyEndAllowThreads(__tstate);
14699 if (PyErr_Occurred()) SWIG_fail;
14700 }
14701 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigPathChanger, 1);
14702 {
14703 if (temp2)
14704 delete arg2;
14705 }
14706 return resultobj;
14707 fail:
14708 {
14709 if (temp2)
14710 delete arg2;
14711 }
14712 return NULL;
14713}
14714
14715
14716static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14717 PyObject *resultobj;
14718 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14719 PyObject * obj0 = 0 ;
14720 char *kwnames[] = {
14721 (char *) "self", NULL
14722 };
14723
14724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
14725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14726 {
14727 PyThreadState* __tstate = wxPyBeginAllowThreads();
14728 delete arg1;
14729
14730 wxPyEndAllowThreads(__tstate);
14731 if (PyErr_Occurred()) SWIG_fail;
14732 }
14733 Py_INCREF(Py_None); resultobj = Py_None;
14734 return resultobj;
14735 fail:
14736 return NULL;
14737}
14738
14739
14740static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
14741 PyObject *resultobj;
14742 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14743 wxString *result;
14744 PyObject * obj0 = 0 ;
14745 char *kwnames[] = {
14746 (char *) "self", NULL
14747 };
14748
14749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
14750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14751 {
14752 PyThreadState* __tstate = wxPyBeginAllowThreads();
14753 {
14754 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
14755 result = (wxString *) &_result_ref;
14756 }
14757
14758 wxPyEndAllowThreads(__tstate);
14759 if (PyErr_Occurred()) SWIG_fail;
14760 }
14761 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
14762 return resultobj;
14763 fail:
14764 return NULL;
14765}
14766
14767
14768static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
14769 PyObject *obj;
14770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14771 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
14772 Py_INCREF(obj);
14773 return Py_BuildValue((char *)"");
14774}
14775static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
14776 PyObject *resultobj;
14777 wxString const &arg1_defvalue = wxPyEmptyString ;
14778 wxString *arg1 = (wxString *) &arg1_defvalue ;
14779 wxString const &arg2_defvalue = wxPyEmptyString ;
14780 wxString *arg2 = (wxString *) &arg2_defvalue ;
14781 wxString const &arg3_defvalue = wxPyEmptyString ;
14782 wxString *arg3 = (wxString *) &arg3_defvalue ;
14783 wxString const &arg4_defvalue = wxPyEmptyString ;
14784 wxString *arg4 = (wxString *) &arg4_defvalue ;
14785 long arg5 = (long) 0 ;
14786 wxConfig *result;
14787 bool temp1 = false ;
14788 bool temp2 = false ;
14789 bool temp3 = false ;
14790 bool temp4 = false ;
14791 PyObject * obj0 = 0 ;
14792 PyObject * obj1 = 0 ;
14793 PyObject * obj2 = 0 ;
14794 PyObject * obj3 = 0 ;
14795 char *kwnames[] = {
14796 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14797 };
14798
14799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
14800 if (obj0) {
14801 {
14802 arg1 = wxString_in_helper(obj0);
14803 if (arg1 == NULL) SWIG_fail;
14804 temp1 = true;
14805 }
14806 }
14807 if (obj1) {
14808 {
14809 arg2 = wxString_in_helper(obj1);
14810 if (arg2 == NULL) SWIG_fail;
14811 temp2 = true;
14812 }
14813 }
14814 if (obj2) {
14815 {
14816 arg3 = wxString_in_helper(obj2);
14817 if (arg3 == NULL) SWIG_fail;
14818 temp3 = true;
14819 }
14820 }
14821 if (obj3) {
14822 {
14823 arg4 = wxString_in_helper(obj3);
14824 if (arg4 == NULL) SWIG_fail;
14825 temp4 = true;
14826 }
14827 }
14828 {
14829 PyThreadState* __tstate = wxPyBeginAllowThreads();
14830 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
14831
14832 wxPyEndAllowThreads(__tstate);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfig, 1);
14836 {
14837 if (temp1)
14838 delete arg1;
14839 }
14840 {
14841 if (temp2)
14842 delete arg2;
14843 }
14844 {
14845 if (temp3)
14846 delete arg3;
14847 }
14848 {
14849 if (temp4)
14850 delete arg4;
14851 }
14852 return resultobj;
14853 fail:
14854 {
14855 if (temp1)
14856 delete arg1;
14857 }
14858 {
14859 if (temp2)
14860 delete arg2;
14861 }
14862 {
14863 if (temp3)
14864 delete arg3;
14865 }
14866 {
14867 if (temp4)
14868 delete arg4;
14869 }
14870 return NULL;
14871}
14872
14873
14874static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
14875 PyObject *resultobj;
14876 wxConfig *arg1 = (wxConfig *) 0 ;
14877 PyObject * obj0 = 0 ;
14878 char *kwnames[] = {
14879 (char *) "self", NULL
14880 };
14881
14882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
14883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14884 {
14885 PyThreadState* __tstate = wxPyBeginAllowThreads();
14886 delete arg1;
14887
14888 wxPyEndAllowThreads(__tstate);
14889 if (PyErr_Occurred()) SWIG_fail;
14890 }
14891 Py_INCREF(Py_None); resultobj = Py_None;
14892 return resultobj;
14893 fail:
14894 return NULL;
14895}
14896
14897
14898static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
14899 PyObject *obj;
14900 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14901 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
14902 Py_INCREF(obj);
14903 return Py_BuildValue((char *)"");
14904}
14905static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
14906 PyObject *resultobj;
14907 wxString const &arg1_defvalue = wxPyEmptyString ;
14908 wxString *arg1 = (wxString *) &arg1_defvalue ;
14909 wxString const &arg2_defvalue = wxPyEmptyString ;
14910 wxString *arg2 = (wxString *) &arg2_defvalue ;
14911 wxString const &arg3_defvalue = wxPyEmptyString ;
14912 wxString *arg3 = (wxString *) &arg3_defvalue ;
14913 wxString const &arg4_defvalue = wxPyEmptyString ;
14914 wxString *arg4 = (wxString *) &arg4_defvalue ;
14915 long arg5 = (long) 0 ;
14916 wxFileConfig *result;
14917 bool temp1 = false ;
14918 bool temp2 = false ;
14919 bool temp3 = false ;
14920 bool temp4 = false ;
14921 PyObject * obj0 = 0 ;
14922 PyObject * obj1 = 0 ;
14923 PyObject * obj2 = 0 ;
14924 PyObject * obj3 = 0 ;
14925 char *kwnames[] = {
14926 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14927 };
14928
14929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
14930 if (obj0) {
14931 {
14932 arg1 = wxString_in_helper(obj0);
14933 if (arg1 == NULL) SWIG_fail;
14934 temp1 = true;
14935 }
14936 }
14937 if (obj1) {
14938 {
14939 arg2 = wxString_in_helper(obj1);
14940 if (arg2 == NULL) SWIG_fail;
14941 temp2 = true;
14942 }
14943 }
14944 if (obj2) {
14945 {
14946 arg3 = wxString_in_helper(obj2);
14947 if (arg3 == NULL) SWIG_fail;
14948 temp3 = true;
14949 }
14950 }
14951 if (obj3) {
14952 {
14953 arg4 = wxString_in_helper(obj3);
14954 if (arg4 == NULL) SWIG_fail;
14955 temp4 = true;
14956 }
14957 }
14958 {
14959 PyThreadState* __tstate = wxPyBeginAllowThreads();
14960 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
14961
14962 wxPyEndAllowThreads(__tstate);
14963 if (PyErr_Occurred()) SWIG_fail;
14964 }
14965 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileConfig, 1);
14966 {
14967 if (temp1)
14968 delete arg1;
14969 }
14970 {
14971 if (temp2)
14972 delete arg2;
14973 }
14974 {
14975 if (temp3)
14976 delete arg3;
14977 }
14978 {
14979 if (temp4)
14980 delete arg4;
14981 }
14982 return resultobj;
14983 fail:
14984 {
14985 if (temp1)
14986 delete arg1;
14987 }
14988 {
14989 if (temp2)
14990 delete arg2;
14991 }
14992 {
14993 if (temp3)
14994 delete arg3;
14995 }
14996 {
14997 if (temp4)
14998 delete arg4;
14999 }
15000 return NULL;
15001}
15002
15003
15004static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
15005 PyObject *resultobj;
15006 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
15007 PyObject * obj0 = 0 ;
15008 char *kwnames[] = {
15009 (char *) "self", NULL
15010 };
15011
15012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
15013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15014 {
15015 PyThreadState* __tstate = wxPyBeginAllowThreads();
15016 delete arg1;
15017
15018 wxPyEndAllowThreads(__tstate);
15019 if (PyErr_Occurred()) SWIG_fail;
15020 }
15021 Py_INCREF(Py_None); resultobj = Py_None;
15022 return resultobj;
15023 fail:
15024 return NULL;
15025}
15026
15027
15028static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
15029 PyObject *obj;
15030 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15031 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
15032 Py_INCREF(obj);
15033 return Py_BuildValue((char *)"");
15034}
15035static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15036 PyObject *resultobj;
15037 wxString *arg1 = 0 ;
15038 wxString result;
15039 bool temp1 = false ;
15040 PyObject * obj0 = 0 ;
15041 char *kwnames[] = {
15042 (char *) "sz", NULL
15043 };
15044
15045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
15046 {
15047 arg1 = wxString_in_helper(obj0);
15048 if (arg1 == NULL) SWIG_fail;
15049 temp1 = true;
15050 }
15051 {
15052 PyThreadState* __tstate = wxPyBeginAllowThreads();
15053 result = wxExpandEnvVars((wxString const &)*arg1);
15054
15055 wxPyEndAllowThreads(__tstate);
15056 if (PyErr_Occurred()) SWIG_fail;
15057 }
15058 {
15059#if wxUSE_UNICODE
15060 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15061#else
15062 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15063#endif
15064 }
15065 {
15066 if (temp1)
15067 delete arg1;
15068 }
15069 return resultobj;
15070 fail:
15071 {
15072 if (temp1)
15073 delete arg1;
15074 }
15075 return NULL;
15076}
15077
15078
15079static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15080 PyObject *resultobj;
15081 int arg1 ;
15082 char *kwnames[] = {
15083 (char *) "country", NULL
15084 };
15085
15086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_SetCountry",kwnames,&arg1)) goto fail;
15087 {
15088 PyThreadState* __tstate = wxPyBeginAllowThreads();
15089 wxDateTime::SetCountry((wxDateTime::Country )arg1);
15090
15091 wxPyEndAllowThreads(__tstate);
15092 if (PyErr_Occurred()) SWIG_fail;
15093 }
15094 Py_INCREF(Py_None); resultobj = Py_None;
15095 return resultobj;
15096 fail:
15097 return NULL;
15098}
15099
15100
15101static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15102 PyObject *resultobj;
15103 int result;
15104 char *kwnames[] = {
15105 NULL
15106 };
15107
15108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
15109 {
15110 PyThreadState* __tstate = wxPyBeginAllowThreads();
15111 result = (int)wxDateTime::GetCountry();
15112
15113 wxPyEndAllowThreads(__tstate);
15114 if (PyErr_Occurred()) SWIG_fail;
15115 }
15116 resultobj = PyInt_FromLong((long)result);
15117 return resultobj;
15118 fail:
15119 return NULL;
15120}
15121
15122
15123static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15124 PyObject *resultobj;
15125 int arg1 = (int) wxDateTime::Country_Default ;
15126 bool result;
15127 char *kwnames[] = {
15128 (char *) "country", NULL
15129 };
15130
15131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames,&arg1)) goto fail;
15132 {
15133 PyThreadState* __tstate = wxPyBeginAllowThreads();
15134 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
15135
15136 wxPyEndAllowThreads(__tstate);
15137 if (PyErr_Occurred()) SWIG_fail;
15138 }
15139 resultobj = PyInt_FromLong((long)result);
15140 return resultobj;
15141 fail:
15142 return NULL;
15143}
15144
15145
15146static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15147 PyObject *resultobj;
15148 int arg1 = (int) wxDateTime::Gregorian ;
15149 int result;
15150 char *kwnames[] = {
15151 (char *) "cal", NULL
15152 };
15153
15154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentYear",kwnames,&arg1)) goto fail;
15155 {
15156 PyThreadState* __tstate = wxPyBeginAllowThreads();
15157 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
15158
15159 wxPyEndAllowThreads(__tstate);
15160 if (PyErr_Occurred()) SWIG_fail;
15161 }
15162 resultobj = PyInt_FromLong((long)result);
15163 return resultobj;
15164 fail:
15165 return NULL;
15166}
15167
15168
15169static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
15170 PyObject *resultobj;
15171 int arg1 ;
15172 int result;
15173 char *kwnames[] = {
15174 (char *) "year", NULL
15175 };
15176
15177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_ConvertYearToBC",kwnames,&arg1)) goto fail;
15178 {
15179 PyThreadState* __tstate = wxPyBeginAllowThreads();
15180 result = (int)wxDateTime::ConvertYearToBC(arg1);
15181
15182 wxPyEndAllowThreads(__tstate);
15183 if (PyErr_Occurred()) SWIG_fail;
15184 }
15185 resultobj = PyInt_FromLong((long)result);
15186 return resultobj;
15187 fail:
15188 return NULL;
15189}
15190
15191
15192static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15193 PyObject *resultobj;
15194 int arg1 = (int) wxDateTime::Gregorian ;
15195 int result;
15196 char *kwnames[] = {
15197 (char *) "cal", NULL
15198 };
15199
15200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentMonth",kwnames,&arg1)) goto fail;
15201 {
15202 PyThreadState* __tstate = wxPyBeginAllowThreads();
15203 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
15204
15205 wxPyEndAllowThreads(__tstate);
15206 if (PyErr_Occurred()) SWIG_fail;
15207 }
15208 resultobj = PyInt_FromLong((long)result);
15209 return resultobj;
15210 fail:
15211 return NULL;
15212}
15213
15214
15215static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15216 PyObject *resultobj;
15217 int arg1 = (int) wxDateTime::Inv_Year ;
15218 int arg2 = (int) wxDateTime::Gregorian ;
15219 bool result;
15220 char *kwnames[] = {
15221 (char *) "year",(char *) "cal", NULL
15222 };
15223
15224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsLeapYear",kwnames,&arg1,&arg2)) goto fail;
15225 {
15226 PyThreadState* __tstate = wxPyBeginAllowThreads();
15227 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
15228
15229 wxPyEndAllowThreads(__tstate);
15230 if (PyErr_Occurred()) SWIG_fail;
15231 }
15232 resultobj = PyInt_FromLong((long)result);
15233 return resultobj;
15234 fail:
15235 return NULL;
15236}
15237
15238
15239static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
15240 PyObject *resultobj;
15241 int arg1 = (int) wxDateTime::Inv_Year ;
15242 int result;
15243 char *kwnames[] = {
15244 (char *) "year", NULL
15245 };
15246
15247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCentury",kwnames,&arg1)) goto fail;
15248 {
15249 PyThreadState* __tstate = wxPyBeginAllowThreads();
15250 result = (int)wxDateTime::GetCentury(arg1);
15251
15252 wxPyEndAllowThreads(__tstate);
15253 if (PyErr_Occurred()) SWIG_fail;
15254 }
15255 resultobj = PyInt_FromLong((long)result);
15256 return resultobj;
15257 fail:
15258 return NULL;
15259}
15260
15261
15262static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15263 PyObject *resultobj;
15264 int arg1 ;
15265 int arg2 = (int) wxDateTime::Gregorian ;
15266 wxDateTime::wxDateTime_t result;
15267 char *kwnames[] = {
15268 (char *) "year",(char *) "cal", NULL
15269 };
15270
15271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames,&arg1,&arg2)) goto fail;
15272 {
15273 PyThreadState* __tstate = wxPyBeginAllowThreads();
15274 result = (wxDateTime::wxDateTime_t)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
15275
15276 wxPyEndAllowThreads(__tstate);
15277 if (PyErr_Occurred()) SWIG_fail;
15278 }
15279 resultobj = PyInt_FromLong((long)result);
15280 return resultobj;
15281 fail:
15282 return NULL;
15283}
15284
15285
15286static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15287 PyObject *resultobj;
15288 int arg1 ;
15289 int arg2 = (int) wxDateTime::Inv_Year ;
15290 int arg3 = (int) wxDateTime::Gregorian ;
15291 wxDateTime::wxDateTime_t result;
15292 char *kwnames[] = {
15293 (char *) "month",(char *) "year",(char *) "cal", NULL
15294 };
15295
15296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames,&arg1,&arg2,&arg3)) goto fail;
15297 {
15298 PyThreadState* __tstate = wxPyBeginAllowThreads();
15299 result = (wxDateTime::wxDateTime_t)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
15300
15301 wxPyEndAllowThreads(__tstate);
15302 if (PyErr_Occurred()) SWIG_fail;
15303 }
15304 resultobj = PyInt_FromLong((long)result);
15305 return resultobj;
15306 fail:
15307 return NULL;
15308}
15309
15310
15311static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
15312 PyObject *resultobj;
15313 int arg1 ;
15314 int arg2 = (int) wxDateTime::Name_Full ;
15315 wxString result;
15316 char *kwnames[] = {
15317 (char *) "month",(char *) "flags", NULL
15318 };
15319
15320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetMonthName",kwnames,&arg1,&arg2)) goto fail;
15321 {
15322 PyThreadState* __tstate = wxPyBeginAllowThreads();
15323 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
15324
15325 wxPyEndAllowThreads(__tstate);
15326 if (PyErr_Occurred()) SWIG_fail;
15327 }
15328 {
15329#if wxUSE_UNICODE
15330 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15331#else
15332 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15333#endif
15334 }
15335 return resultobj;
15336 fail:
15337 return NULL;
15338}
15339
15340
15341static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
15342 PyObject *resultobj;
15343 int arg1 ;
15344 int arg2 = (int) wxDateTime::Name_Full ;
15345 wxString result;
15346 char *kwnames[] = {
15347 (char *) "weekday",(char *) "flags", NULL
15348 };
15349
15350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetWeekDayName",kwnames,&arg1,&arg2)) goto fail;
15351 {
15352 PyThreadState* __tstate = wxPyBeginAllowThreads();
15353 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
15354
15355 wxPyEndAllowThreads(__tstate);
15356 if (PyErr_Occurred()) SWIG_fail;
15357 }
15358 {
15359#if wxUSE_UNICODE
15360 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15361#else
15362 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15363#endif
15364 }
15365 return resultobj;
15366 fail:
15367 return NULL;
15368}
15369
15370
15371static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
15372 PyObject *resultobj;
15373 wxString *arg1 = (wxString *) 0 ;
15374 wxString *arg2 = (wxString *) 0 ;
15375 PyObject * obj0 = 0 ;
15376 PyObject * obj1 = 0 ;
15377 char *kwnames[] = {
15378 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15379 };
15380
15381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
15382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15383 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15384 {
15385 PyThreadState* __tstate = wxPyBeginAllowThreads();
15386 wxDateTime::GetAmPmStrings(arg1,arg2);
15387
15388 wxPyEndAllowThreads(__tstate);
15389 if (PyErr_Occurred()) SWIG_fail;
15390 }
15391 Py_INCREF(Py_None); resultobj = Py_None;
15392 return resultobj;
15393 fail:
15394 return NULL;
15395}
15396
15397
15398static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
15399 PyObject *resultobj;
15400 int arg1 = (int) wxDateTime::Inv_Year ;
15401 int arg2 = (int) wxDateTime::Country_Default ;
15402 bool result;
15403 char *kwnames[] = {
15404 (char *) "year",(char *) "country", NULL
15405 };
15406
15407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsDSTApplicable",kwnames,&arg1,&arg2)) goto fail;
15408 {
15409 PyThreadState* __tstate = wxPyBeginAllowThreads();
15410 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
15411
15412 wxPyEndAllowThreads(__tstate);
15413 if (PyErr_Occurred()) SWIG_fail;
15414 }
15415 resultobj = PyInt_FromLong((long)result);
15416 return resultobj;
15417 fail:
15418 return NULL;
15419}
15420
15421
15422static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15423 PyObject *resultobj;
15424 int arg1 = (int) wxDateTime::Inv_Year ;
15425 int arg2 = (int) wxDateTime::Country_Default ;
15426 wxDateTime result;
15427 char *kwnames[] = {
15428 (char *) "year",(char *) "country", NULL
15429 };
15430
15431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetBeginDST",kwnames,&arg1,&arg2)) goto fail;
15432 {
15433 PyThreadState* __tstate = wxPyBeginAllowThreads();
15434 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
15435
15436 wxPyEndAllowThreads(__tstate);
15437 if (PyErr_Occurred()) SWIG_fail;
15438 }
15439 {
15440 wxDateTime * resultptr;
15441 resultptr = new wxDateTime((wxDateTime &) result);
15442 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15443 }
15444 return resultobj;
15445 fail:
15446 return NULL;
15447}
15448
15449
15450static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15451 PyObject *resultobj;
15452 int arg1 = (int) wxDateTime::Inv_Year ;
15453 int arg2 = (int) wxDateTime::Country_Default ;
15454 wxDateTime result;
15455 char *kwnames[] = {
15456 (char *) "year",(char *) "country", NULL
15457 };
15458
15459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetEndDST",kwnames,&arg1,&arg2)) goto fail;
15460 {
15461 PyThreadState* __tstate = wxPyBeginAllowThreads();
15462 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
15463
15464 wxPyEndAllowThreads(__tstate);
15465 if (PyErr_Occurred()) SWIG_fail;
15466 }
15467 {
15468 wxDateTime * resultptr;
15469 resultptr = new wxDateTime((wxDateTime &) result);
15470 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15471 }
15472 return resultobj;
15473 fail:
15474 return NULL;
15475}
15476
15477
15478static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
15479 PyObject *resultobj;
15480 wxDateTime result;
15481 char *kwnames[] = {
15482 NULL
15483 };
15484
15485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
15486 {
15487 PyThreadState* __tstate = wxPyBeginAllowThreads();
15488 result = wxDateTime::Now();
15489
15490 wxPyEndAllowThreads(__tstate);
15491 if (PyErr_Occurred()) SWIG_fail;
15492 }
15493 {
15494 wxDateTime * resultptr;
15495 resultptr = new wxDateTime((wxDateTime &) result);
15496 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15497 }
15498 return resultobj;
15499 fail:
15500 return NULL;
15501}
15502
15503
15504static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
15505 PyObject *resultobj;
15506 wxDateTime result;
15507 char *kwnames[] = {
15508 NULL
15509 };
15510
15511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
15512 {
15513 PyThreadState* __tstate = wxPyBeginAllowThreads();
15514 result = wxDateTime::UNow();
15515
15516 wxPyEndAllowThreads(__tstate);
15517 if (PyErr_Occurred()) SWIG_fail;
15518 }
15519 {
15520 wxDateTime * resultptr;
15521 resultptr = new wxDateTime((wxDateTime &) result);
15522 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15523 }
15524 return resultobj;
15525 fail:
15526 return NULL;
15527}
15528
15529
15530static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
15531 PyObject *resultobj;
15532 wxDateTime result;
15533 char *kwnames[] = {
15534 NULL
15535 };
15536
15537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
15538 {
15539 PyThreadState* __tstate = wxPyBeginAllowThreads();
15540 result = wxDateTime::Today();
15541
15542 wxPyEndAllowThreads(__tstate);
15543 if (PyErr_Occurred()) SWIG_fail;
15544 }
15545 {
15546 wxDateTime * resultptr;
15547 resultptr = new wxDateTime((wxDateTime &) result);
15548 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15549 }
15550 return resultobj;
15551 fail:
15552 return NULL;
15553}
15554
15555
15556static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15557 PyObject *resultobj;
15558 wxDateTime *result;
15559 char *kwnames[] = {
15560 NULL
15561 };
15562
15563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
15564 {
15565 PyThreadState* __tstate = wxPyBeginAllowThreads();
15566 result = (wxDateTime *)new wxDateTime();
15567
15568 wxPyEndAllowThreads(__tstate);
15569 if (PyErr_Occurred()) SWIG_fail;
15570 }
15571 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15572 return resultobj;
15573 fail:
15574 return NULL;
15575}
15576
15577
15578static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15579 PyObject *resultobj;
15580 time_t arg1 ;
15581 wxDateTime *result;
15582 PyObject * obj0 = 0 ;
15583 char *kwnames[] = {
15584 (char *) "timet", NULL
15585 };
15586
15587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
15588 arg1 = (time_t) PyInt_AsLong(obj0);
15589 if (PyErr_Occurred()) SWIG_fail;
15590 {
15591 PyThreadState* __tstate = wxPyBeginAllowThreads();
15592 result = (wxDateTime *)new wxDateTime(arg1);
15593
15594 wxPyEndAllowThreads(__tstate);
15595 if (PyErr_Occurred()) SWIG_fail;
15596 }
15597 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15598 return resultobj;
15599 fail:
15600 return NULL;
15601}
15602
15603
15604static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15605 PyObject *resultobj;
15606 double arg1 ;
15607 wxDateTime *result;
15608 char *kwnames[] = {
15609 (char *) "jdn", NULL
15610 };
15611
15612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"d:new_DateTimeFromJDN",kwnames,&arg1)) goto fail;
15613 {
15614 PyThreadState* __tstate = wxPyBeginAllowThreads();
15615 result = (wxDateTime *)new wxDateTime(arg1);
15616
15617 wxPyEndAllowThreads(__tstate);
15618 if (PyErr_Occurred()) SWIG_fail;
15619 }
15620 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15621 return resultobj;
15622 fail:
15623 return NULL;
15624}
15625
15626
15627static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15628 PyObject *resultobj;
15629 wxDateTime::wxDateTime_t arg1 ;
15630 wxDateTime::wxDateTime_t arg2 = (wxDateTime::wxDateTime_t) 0 ;
15631 wxDateTime::wxDateTime_t arg3 = (wxDateTime::wxDateTime_t) 0 ;
15632 wxDateTime::wxDateTime_t arg4 = (wxDateTime::wxDateTime_t) 0 ;
15633 wxDateTime *result;
15634 PyObject * obj0 = 0 ;
15635 PyObject * obj1 = 0 ;
15636 PyObject * obj2 = 0 ;
15637 PyObject * obj3 = 0 ;
15638 char *kwnames[] = {
15639 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15640 };
15641
15642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15643 arg1 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj0);
15644 if (PyErr_Occurred()) SWIG_fail;
15645 if (obj1) {
15646 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
15647 if (PyErr_Occurred()) SWIG_fail;
15648 }
15649 if (obj2) {
15650 arg3 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj2);
15651 if (PyErr_Occurred()) SWIG_fail;
15652 }
15653 if (obj3) {
15654 arg4 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj3);
15655 if (PyErr_Occurred()) SWIG_fail;
15656 }
15657 {
15658 PyThreadState* __tstate = wxPyBeginAllowThreads();
15659 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
15660
15661 wxPyEndAllowThreads(__tstate);
15662 if (PyErr_Occurred()) SWIG_fail;
15663 }
15664 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15665 return resultobj;
15666 fail:
15667 return NULL;
15668}
15669
15670
15671static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
15672 PyObject *resultobj;
15673 wxDateTime::wxDateTime_t arg1 ;
15674 int arg2 = (int) wxDateTime::Inv_Month ;
15675 int arg3 = (int) wxDateTime::Inv_Year ;
15676 wxDateTime::wxDateTime_t arg4 = (wxDateTime::wxDateTime_t) 0 ;
15677 wxDateTime::wxDateTime_t arg5 = (wxDateTime::wxDateTime_t) 0 ;
15678 wxDateTime::wxDateTime_t arg6 = (wxDateTime::wxDateTime_t) 0 ;
15679 wxDateTime::wxDateTime_t arg7 = (wxDateTime::wxDateTime_t) 0 ;
15680 wxDateTime *result;
15681 PyObject * obj0 = 0 ;
15682 PyObject * obj3 = 0 ;
15683 PyObject * obj4 = 0 ;
15684 PyObject * obj5 = 0 ;
15685 PyObject * obj6 = 0 ;
15686 char *kwnames[] = {
15687 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15688 };
15689
15690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iiOOOO:new_DateTimeFromDMY",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&obj5,&obj6)) goto fail;
15691 arg1 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj0);
15692 if (PyErr_Occurred()) SWIG_fail;
15693 if (obj3) {
15694 arg4 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj3);
15695 if (PyErr_Occurred()) SWIG_fail;
15696 }
15697 if (obj4) {
15698 arg5 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj4);
15699 if (PyErr_Occurred()) SWIG_fail;
15700 }
15701 if (obj5) {
15702 arg6 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj5);
15703 if (PyErr_Occurred()) SWIG_fail;
15704 }
15705 if (obj6) {
15706 arg7 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj6);
15707 if (PyErr_Occurred()) SWIG_fail;
15708 }
15709 {
15710 PyThreadState* __tstate = wxPyBeginAllowThreads();
15711 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
15712
15713 wxPyEndAllowThreads(__tstate);
15714 if (PyErr_Occurred()) SWIG_fail;
15715 }
15716 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15717 return resultobj;
15718 fail:
15719 return NULL;
15720}
15721
15722
15723static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15724 PyObject *resultobj;
15725 wxDateTime *arg1 = (wxDateTime *) 0 ;
15726 PyObject * obj0 = 0 ;
15727 char *kwnames[] = {
15728 (char *) "self", NULL
15729 };
15730
15731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
15732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15733 {
15734 PyThreadState* __tstate = wxPyBeginAllowThreads();
15735 delete arg1;
15736
15737 wxPyEndAllowThreads(__tstate);
15738 if (PyErr_Occurred()) SWIG_fail;
15739 }
15740 Py_INCREF(Py_None); resultobj = Py_None;
15741 return resultobj;
15742 fail:
15743 return NULL;
15744}
15745
15746
15747static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
15748 PyObject *resultobj;
15749 wxDateTime *arg1 = (wxDateTime *) 0 ;
15750 wxDateTime *result;
15751 PyObject * obj0 = 0 ;
15752 char *kwnames[] = {
15753 (char *) "self", NULL
15754 };
15755
15756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
15757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15758 {
15759 PyThreadState* __tstate = wxPyBeginAllowThreads();
15760 {
15761 wxDateTime &_result_ref = (arg1)->SetToCurrent();
15762 result = (wxDateTime *) &_result_ref;
15763 }
15764
15765 wxPyEndAllowThreads(__tstate);
15766 if (PyErr_Occurred()) SWIG_fail;
15767 }
15768 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15769 return resultobj;
15770 fail:
15771 return NULL;
15772}
15773
15774
15775static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15776 PyObject *resultobj;
15777 wxDateTime *arg1 = (wxDateTime *) 0 ;
15778 time_t arg2 ;
15779 wxDateTime *result;
15780 PyObject * obj0 = 0 ;
15781 PyObject * obj1 = 0 ;
15782 char *kwnames[] = {
15783 (char *) "self",(char *) "timet", NULL
15784 };
15785
15786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
15787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15788 arg2 = (time_t) PyInt_AsLong(obj1);
15789 if (PyErr_Occurred()) SWIG_fail;
15790 {
15791 PyThreadState* __tstate = wxPyBeginAllowThreads();
15792 {
15793 wxDateTime &_result_ref = (arg1)->Set(arg2);
15794 result = (wxDateTime *) &_result_ref;
15795 }
15796
15797 wxPyEndAllowThreads(__tstate);
15798 if (PyErr_Occurred()) SWIG_fail;
15799 }
15800 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15801 return resultobj;
15802 fail:
15803 return NULL;
15804}
15805
15806
15807static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15808 PyObject *resultobj;
15809 wxDateTime *arg1 = (wxDateTime *) 0 ;
15810 double arg2 ;
15811 wxDateTime *result;
15812 PyObject * obj0 = 0 ;
15813 char *kwnames[] = {
15814 (char *) "self",(char *) "jdn", NULL
15815 };
15816
15817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:DateTime_SetJDN",kwnames,&obj0,&arg2)) goto fail;
15818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15819 {
15820 PyThreadState* __tstate = wxPyBeginAllowThreads();
15821 {
15822 wxDateTime &_result_ref = (arg1)->Set(arg2);
15823 result = (wxDateTime *) &_result_ref;
15824 }
15825
15826 wxPyEndAllowThreads(__tstate);
15827 if (PyErr_Occurred()) SWIG_fail;
15828 }
15829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15830 return resultobj;
15831 fail:
15832 return NULL;
15833}
15834
15835
15836static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15837 PyObject *resultobj;
15838 wxDateTime *arg1 = (wxDateTime *) 0 ;
15839 wxDateTime::wxDateTime_t arg2 ;
15840 wxDateTime::wxDateTime_t arg3 = (wxDateTime::wxDateTime_t) 0 ;
15841 wxDateTime::wxDateTime_t arg4 = (wxDateTime::wxDateTime_t) 0 ;
15842 wxDateTime::wxDateTime_t arg5 = (wxDateTime::wxDateTime_t) 0 ;
15843 wxDateTime *result;
15844 PyObject * obj0 = 0 ;
15845 PyObject * obj1 = 0 ;
15846 PyObject * obj2 = 0 ;
15847 PyObject * obj3 = 0 ;
15848 PyObject * obj4 = 0 ;
15849 char *kwnames[] = {
15850 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15851 };
15852
15853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15855 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
15856 if (PyErr_Occurred()) SWIG_fail;
15857 if (obj2) {
15858 arg3 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj2);
15859 if (PyErr_Occurred()) SWIG_fail;
15860 }
15861 if (obj3) {
15862 arg4 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj3);
15863 if (PyErr_Occurred()) SWIG_fail;
15864 }
15865 if (obj4) {
15866 arg5 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj4);
15867 if (PyErr_Occurred()) SWIG_fail;
15868 }
15869 {
15870 PyThreadState* __tstate = wxPyBeginAllowThreads();
15871 {
15872 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
15873 result = (wxDateTime *) &_result_ref;
15874 }
15875
15876 wxPyEndAllowThreads(__tstate);
15877 if (PyErr_Occurred()) SWIG_fail;
15878 }
15879 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15880 return resultobj;
15881 fail:
15882 return NULL;
15883}
15884
15885
15886static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
15887 PyObject *resultobj;
15888 wxDateTime *arg1 = (wxDateTime *) 0 ;
15889 wxDateTime::wxDateTime_t arg2 ;
15890 int arg3 = (int) wxDateTime::Inv_Month ;
15891 int arg4 = (int) wxDateTime::Inv_Year ;
15892 wxDateTime::wxDateTime_t arg5 = (wxDateTime::wxDateTime_t) 0 ;
15893 wxDateTime::wxDateTime_t arg6 = (wxDateTime::wxDateTime_t) 0 ;
15894 wxDateTime::wxDateTime_t arg7 = (wxDateTime::wxDateTime_t) 0 ;
15895 wxDateTime::wxDateTime_t arg8 = (wxDateTime::wxDateTime_t) 0 ;
15896 wxDateTime *result;
15897 PyObject * obj0 = 0 ;
15898 PyObject * obj1 = 0 ;
15899 PyObject * obj4 = 0 ;
15900 PyObject * obj5 = 0 ;
15901 PyObject * obj6 = 0 ;
15902 PyObject * obj7 = 0 ;
15903 char *kwnames[] = {
15904 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15905 };
15906
15907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiOOOO:DateTime_Set",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&obj6,&obj7)) goto fail;
15908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15909 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
15910 if (PyErr_Occurred()) SWIG_fail;
15911 if (obj4) {
15912 arg5 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj4);
15913 if (PyErr_Occurred()) SWIG_fail;
15914 }
15915 if (obj5) {
15916 arg6 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj5);
15917 if (PyErr_Occurred()) SWIG_fail;
15918 }
15919 if (obj6) {
15920 arg7 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj6);
15921 if (PyErr_Occurred()) SWIG_fail;
15922 }
15923 if (obj7) {
15924 arg8 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj7);
15925 if (PyErr_Occurred()) SWIG_fail;
15926 }
15927 {
15928 PyThreadState* __tstate = wxPyBeginAllowThreads();
15929 {
15930 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
15931 result = (wxDateTime *) &_result_ref;
15932 }
15933
15934 wxPyEndAllowThreads(__tstate);
15935 if (PyErr_Occurred()) SWIG_fail;
15936 }
15937 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15938 return resultobj;
15939 fail:
15940 return NULL;
15941}
15942
15943
15944static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15945 PyObject *resultobj;
15946 wxDateTime *arg1 = (wxDateTime *) 0 ;
15947 wxDateTime *result;
15948 PyObject * obj0 = 0 ;
15949 char *kwnames[] = {
15950 (char *) "self", NULL
15951 };
15952
15953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
15954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15955 {
15956 PyThreadState* __tstate = wxPyBeginAllowThreads();
15957 {
15958 wxDateTime &_result_ref = (arg1)->ResetTime();
15959 result = (wxDateTime *) &_result_ref;
15960 }
15961
15962 wxPyEndAllowThreads(__tstate);
15963 if (PyErr_Occurred()) SWIG_fail;
15964 }
15965 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15966 return resultobj;
15967 fail:
15968 return NULL;
15969}
15970
15971
15972static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15973 PyObject *resultobj;
15974 wxDateTime *arg1 = (wxDateTime *) 0 ;
15975 int arg2 ;
15976 wxDateTime *result;
15977 PyObject * obj0 = 0 ;
15978 char *kwnames[] = {
15979 (char *) "self",(char *) "year", NULL
15980 };
15981
15982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetYear",kwnames,&obj0,&arg2)) goto fail;
15983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15984 {
15985 PyThreadState* __tstate = wxPyBeginAllowThreads();
15986 {
15987 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
15988 result = (wxDateTime *) &_result_ref;
15989 }
15990
15991 wxPyEndAllowThreads(__tstate);
15992 if (PyErr_Occurred()) SWIG_fail;
15993 }
15994 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15995 return resultobj;
15996 fail:
15997 return NULL;
15998}
15999
16000
16001static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16002 PyObject *resultobj;
16003 wxDateTime *arg1 = (wxDateTime *) 0 ;
16004 int arg2 ;
16005 wxDateTime *result;
16006 PyObject * obj0 = 0 ;
16007 char *kwnames[] = {
16008 (char *) "self",(char *) "month", NULL
16009 };
16010
16011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMonth",kwnames,&obj0,&arg2)) goto fail;
16012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16013 {
16014 PyThreadState* __tstate = wxPyBeginAllowThreads();
16015 {
16016 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
16017 result = (wxDateTime *) &_result_ref;
16018 }
16019
16020 wxPyEndAllowThreads(__tstate);
16021 if (PyErr_Occurred()) SWIG_fail;
16022 }
16023 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16024 return resultobj;
16025 fail:
16026 return NULL;
16027}
16028
16029
16030static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16031 PyObject *resultobj;
16032 wxDateTime *arg1 = (wxDateTime *) 0 ;
16033 wxDateTime::wxDateTime_t arg2 ;
16034 wxDateTime *result;
16035 PyObject * obj0 = 0 ;
16036 PyObject * obj1 = 0 ;
16037 char *kwnames[] = {
16038 (char *) "self",(char *) "day", NULL
16039 };
16040
16041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
16042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16043 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
16044 if (PyErr_Occurred()) SWIG_fail;
16045 {
16046 PyThreadState* __tstate = wxPyBeginAllowThreads();
16047 {
16048 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
16049 result = (wxDateTime *) &_result_ref;
16050 }
16051
16052 wxPyEndAllowThreads(__tstate);
16053 if (PyErr_Occurred()) SWIG_fail;
16054 }
16055 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16056 return resultobj;
16057 fail:
16058 return NULL;
16059}
16060
16061
16062static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
16063 PyObject *resultobj;
16064 wxDateTime *arg1 = (wxDateTime *) 0 ;
16065 wxDateTime::wxDateTime_t arg2 ;
16066 wxDateTime *result;
16067 PyObject * obj0 = 0 ;
16068 PyObject * obj1 = 0 ;
16069 char *kwnames[] = {
16070 (char *) "self",(char *) "hour", NULL
16071 };
16072
16073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
16074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16075 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
16076 if (PyErr_Occurred()) SWIG_fail;
16077 {
16078 PyThreadState* __tstate = wxPyBeginAllowThreads();
16079 {
16080 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
16081 result = (wxDateTime *) &_result_ref;
16082 }
16083
16084 wxPyEndAllowThreads(__tstate);
16085 if (PyErr_Occurred()) SWIG_fail;
16086 }
16087 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16088 return resultobj;
16089 fail:
16090 return NULL;
16091}
16092
16093
16094static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
16095 PyObject *resultobj;
16096 wxDateTime *arg1 = (wxDateTime *) 0 ;
16097 wxDateTime::wxDateTime_t arg2 ;
16098 wxDateTime *result;
16099 PyObject * obj0 = 0 ;
16100 PyObject * obj1 = 0 ;
16101 char *kwnames[] = {
16102 (char *) "self",(char *) "minute", NULL
16103 };
16104
16105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
16106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16107 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
16108 if (PyErr_Occurred()) SWIG_fail;
16109 {
16110 PyThreadState* __tstate = wxPyBeginAllowThreads();
16111 {
16112 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
16113 result = (wxDateTime *) &_result_ref;
16114 }
16115
16116 wxPyEndAllowThreads(__tstate);
16117 if (PyErr_Occurred()) SWIG_fail;
16118 }
16119 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16120 return resultobj;
16121 fail:
16122 return NULL;
16123}
16124
16125
16126static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16127 PyObject *resultobj;
16128 wxDateTime *arg1 = (wxDateTime *) 0 ;
16129 wxDateTime::wxDateTime_t arg2 ;
16130 wxDateTime *result;
16131 PyObject * obj0 = 0 ;
16132 PyObject * obj1 = 0 ;
16133 char *kwnames[] = {
16134 (char *) "self",(char *) "second", NULL
16135 };
16136
16137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
16138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16139 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
16140 if (PyErr_Occurred()) SWIG_fail;
16141 {
16142 PyThreadState* __tstate = wxPyBeginAllowThreads();
16143 {
16144 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
16145 result = (wxDateTime *) &_result_ref;
16146 }
16147
16148 wxPyEndAllowThreads(__tstate);
16149 if (PyErr_Occurred()) SWIG_fail;
16150 }
16151 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16152 return resultobj;
16153 fail:
16154 return NULL;
16155}
16156
16157
16158static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16159 PyObject *resultobj;
16160 wxDateTime *arg1 = (wxDateTime *) 0 ;
16161 wxDateTime::wxDateTime_t arg2 ;
16162 wxDateTime *result;
16163 PyObject * obj0 = 0 ;
16164 PyObject * obj1 = 0 ;
16165 char *kwnames[] = {
16166 (char *) "self",(char *) "millisecond", NULL
16167 };
16168
16169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
16170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16171 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
16172 if (PyErr_Occurred()) SWIG_fail;
16173 {
16174 PyThreadState* __tstate = wxPyBeginAllowThreads();
16175 {
16176 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
16177 result = (wxDateTime *) &_result_ref;
16178 }
16179
16180 wxPyEndAllowThreads(__tstate);
16181 if (PyErr_Occurred()) SWIG_fail;
16182 }
16183 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16184 return resultobj;
16185 fail:
16186 return NULL;
16187}
16188
16189
16190static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16191 PyObject *resultobj;
16192 wxDateTime *arg1 = (wxDateTime *) 0 ;
16193 int arg2 ;
16194 int arg3 = (int) wxDateTime::Monday_First ;
16195 wxDateTime *result;
16196 PyObject * obj0 = 0 ;
16197 char *kwnames[] = {
16198 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16199 };
16200
16201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16203 {
16204 PyThreadState* __tstate = wxPyBeginAllowThreads();
16205 {
16206 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16207 result = (wxDateTime *) &_result_ref;
16208 }
16209
16210 wxPyEndAllowThreads(__tstate);
16211 if (PyErr_Occurred()) SWIG_fail;
16212 }
16213 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16214 return resultobj;
16215 fail:
16216 return NULL;
16217}
16218
16219
16220static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16221 PyObject *resultobj;
16222 wxDateTime *arg1 = (wxDateTime *) 0 ;
16223 int arg2 ;
16224 int arg3 = (int) wxDateTime::Monday_First ;
16225 wxDateTime result;
16226 PyObject * obj0 = 0 ;
16227 char *kwnames[] = {
16228 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16229 };
16230
16231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16233 {
16234 PyThreadState* __tstate = wxPyBeginAllowThreads();
16235 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16236
16237 wxPyEndAllowThreads(__tstate);
16238 if (PyErr_Occurred()) SWIG_fail;
16239 }
16240 {
16241 wxDateTime * resultptr;
16242 resultptr = new wxDateTime((wxDateTime &) result);
16243 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16244 }
16245 return resultobj;
16246 fail:
16247 return NULL;
16248}
16249
16250
16251static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16252 PyObject *resultobj;
16253 wxDateTime *arg1 = (wxDateTime *) 0 ;
16254 int arg2 ;
16255 wxDateTime *result;
16256 PyObject * obj0 = 0 ;
16257 char *kwnames[] = {
16258 (char *) "self",(char *) "weekday", NULL
16259 };
16260
16261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16263 {
16264 PyThreadState* __tstate = wxPyBeginAllowThreads();
16265 {
16266 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
16267 result = (wxDateTime *) &_result_ref;
16268 }
16269
16270 wxPyEndAllowThreads(__tstate);
16271 if (PyErr_Occurred()) SWIG_fail;
16272 }
16273 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16274 return resultobj;
16275 fail:
16276 return NULL;
16277}
16278
16279
16280static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16281 PyObject *resultobj;
16282 wxDateTime *arg1 = (wxDateTime *) 0 ;
16283 int arg2 ;
16284 wxDateTime result;
16285 PyObject * obj0 = 0 ;
16286 char *kwnames[] = {
16287 (char *) "self",(char *) "weekday", NULL
16288 };
16289
16290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16292 {
16293 PyThreadState* __tstate = wxPyBeginAllowThreads();
16294 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
16295
16296 wxPyEndAllowThreads(__tstate);
16297 if (PyErr_Occurred()) SWIG_fail;
16298 }
16299 {
16300 wxDateTime * resultptr;
16301 resultptr = new wxDateTime((wxDateTime &) result);
16302 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16303 }
16304 return resultobj;
16305 fail:
16306 return NULL;
16307}
16308
16309
16310static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16311 PyObject *resultobj;
16312 wxDateTime *arg1 = (wxDateTime *) 0 ;
16313 int arg2 ;
16314 wxDateTime *result;
16315 PyObject * obj0 = 0 ;
16316 char *kwnames[] = {
16317 (char *) "self",(char *) "weekday", NULL
16318 };
16319
16320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16322 {
16323 PyThreadState* __tstate = wxPyBeginAllowThreads();
16324 {
16325 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
16326 result = (wxDateTime *) &_result_ref;
16327 }
16328
16329 wxPyEndAllowThreads(__tstate);
16330 if (PyErr_Occurred()) SWIG_fail;
16331 }
16332 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16333 return resultobj;
16334 fail:
16335 return NULL;
16336}
16337
16338
16339static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16340 PyObject *resultobj;
16341 wxDateTime *arg1 = (wxDateTime *) 0 ;
16342 int arg2 ;
16343 wxDateTime result;
16344 PyObject * obj0 = 0 ;
16345 char *kwnames[] = {
16346 (char *) "self",(char *) "weekday", NULL
16347 };
16348
16349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16351 {
16352 PyThreadState* __tstate = wxPyBeginAllowThreads();
16353 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
16354
16355 wxPyEndAllowThreads(__tstate);
16356 if (PyErr_Occurred()) SWIG_fail;
16357 }
16358 {
16359 wxDateTime * resultptr;
16360 resultptr = new wxDateTime((wxDateTime &) result);
16361 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16362 }
16363 return resultobj;
16364 fail:
16365 return NULL;
16366}
16367
16368
16369static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16370 PyObject *resultobj;
16371 wxDateTime *arg1 = (wxDateTime *) 0 ;
16372 int arg2 ;
16373 int arg3 = (int) 1 ;
16374 int arg4 = (int) wxDateTime::Inv_Month ;
16375 int arg5 = (int) wxDateTime::Inv_Year ;
16376 bool result;
16377 PyObject * obj0 = 0 ;
16378 char *kwnames[] = {
16379 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16380 };
16381
16382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16384 {
16385 PyThreadState* __tstate = wxPyBeginAllowThreads();
16386 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
16387
16388 wxPyEndAllowThreads(__tstate);
16389 if (PyErr_Occurred()) SWIG_fail;
16390 }
16391 resultobj = PyInt_FromLong((long)result);
16392 return resultobj;
16393 fail:
16394 return NULL;
16395}
16396
16397
16398static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16399 PyObject *resultobj;
16400 wxDateTime *arg1 = (wxDateTime *) 0 ;
16401 int arg2 ;
16402 int arg3 = (int) wxDateTime::Inv_Month ;
16403 int arg4 = (int) wxDateTime::Inv_Year ;
16404 bool result;
16405 PyObject * obj0 = 0 ;
16406 char *kwnames[] = {
16407 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16408 };
16409
16410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16412 {
16413 PyThreadState* __tstate = wxPyBeginAllowThreads();
16414 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16415
16416 wxPyEndAllowThreads(__tstate);
16417 if (PyErr_Occurred()) SWIG_fail;
16418 }
16419 resultobj = PyInt_FromLong((long)result);
16420 return resultobj;
16421 fail:
16422 return NULL;
16423}
16424
16425
16426static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16427 PyObject *resultobj;
16428 wxDateTime *arg1 = (wxDateTime *) 0 ;
16429 int arg2 ;
16430 int arg3 = (int) wxDateTime::Inv_Month ;
16431 int arg4 = (int) wxDateTime::Inv_Year ;
16432 wxDateTime result;
16433 PyObject * obj0 = 0 ;
16434 char *kwnames[] = {
16435 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16436 };
16437
16438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16440 {
16441 PyThreadState* __tstate = wxPyBeginAllowThreads();
16442 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16443
16444 wxPyEndAllowThreads(__tstate);
16445 if (PyErr_Occurred()) SWIG_fail;
16446 }
16447 {
16448 wxDateTime * resultptr;
16449 resultptr = new wxDateTime((wxDateTime &) result);
16450 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16451 }
16452 return resultobj;
16453 fail:
16454 return NULL;
16455}
16456
16457
16458static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16459 PyObject *resultobj;
16460 wxDateTime *arg1 = (wxDateTime *) 0 ;
16461 wxDateTime::wxDateTime_t arg2 ;
16462 int arg3 = (int) wxDateTime::Mon ;
16463 int arg4 = (int) wxDateTime::Monday_First ;
16464 bool result;
16465 PyObject * obj0 = 0 ;
16466 PyObject * obj1 = 0 ;
16467 char *kwnames[] = {
16468 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16469 };
16470
16471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|ii:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
16472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16473 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
16474 if (PyErr_Occurred()) SWIG_fail;
16475 {
16476 PyThreadState* __tstate = wxPyBeginAllowThreads();
16477 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16478
16479 wxPyEndAllowThreads(__tstate);
16480 if (PyErr_Occurred()) SWIG_fail;
16481 }
16482 resultobj = PyInt_FromLong((long)result);
16483 return resultobj;
16484 fail:
16485 return NULL;
16486}
16487
16488
16489static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16490 PyObject *resultobj;
16491 wxDateTime *arg1 = (wxDateTime *) 0 ;
16492 wxDateTime::wxDateTime_t arg2 ;
16493 int arg3 = (int) wxDateTime::Mon ;
16494 int arg4 = (int) wxDateTime::Monday_First ;
16495 wxDateTime result;
16496 PyObject * obj0 = 0 ;
16497 PyObject * obj1 = 0 ;
16498 char *kwnames[] = {
16499 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16500 };
16501
16502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|ii:DateTime_GetWeek",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
16503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16504 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
16505 if (PyErr_Occurred()) SWIG_fail;
16506 {
16507 PyThreadState* __tstate = wxPyBeginAllowThreads();
16508 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16509
16510 wxPyEndAllowThreads(__tstate);
16511 if (PyErr_Occurred()) SWIG_fail;
16512 }
16513 {
16514 wxDateTime * resultptr;
16515 resultptr = new wxDateTime((wxDateTime &) result);
16516 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16517 }
16518 return resultobj;
16519 fail:
16520 return NULL;
16521}
16522
16523
16524static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16525 PyObject *resultobj;
16526 wxDateTime *arg1 = (wxDateTime *) 0 ;
16527 int arg2 = (int) wxDateTime::Inv_Month ;
16528 int arg3 = (int) wxDateTime::Inv_Year ;
16529 wxDateTime *result;
16530 PyObject * obj0 = 0 ;
16531 char *kwnames[] = {
16532 (char *) "self",(char *) "month",(char *) "year", NULL
16533 };
16534
16535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16537 {
16538 PyThreadState* __tstate = wxPyBeginAllowThreads();
16539 {
16540 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
16541 result = (wxDateTime *) &_result_ref;
16542 }
16543
16544 wxPyEndAllowThreads(__tstate);
16545 if (PyErr_Occurred()) SWIG_fail;
16546 }
16547 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16548 return resultobj;
16549 fail:
16550 return NULL;
16551}
16552
16553
16554static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16555 PyObject *resultobj;
16556 wxDateTime *arg1 = (wxDateTime *) 0 ;
16557 int arg2 = (int) wxDateTime::Inv_Month ;
16558 int arg3 = (int) wxDateTime::Inv_Year ;
16559 wxDateTime result;
16560 PyObject * obj0 = 0 ;
16561 char *kwnames[] = {
16562 (char *) "self",(char *) "month",(char *) "year", NULL
16563 };
16564
16565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16567 {
16568 PyThreadState* __tstate = wxPyBeginAllowThreads();
16569 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
16570
16571 wxPyEndAllowThreads(__tstate);
16572 if (PyErr_Occurred()) SWIG_fail;
16573 }
16574 {
16575 wxDateTime * resultptr;
16576 resultptr = new wxDateTime((wxDateTime &) result);
16577 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16578 }
16579 return resultobj;
16580 fail:
16581 return NULL;
16582}
16583
16584
16585static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16586 PyObject *resultobj;
16587 wxDateTime *arg1 = (wxDateTime *) 0 ;
16588 wxDateTime::wxDateTime_t arg2 ;
16589 wxDateTime *result;
16590 PyObject * obj0 = 0 ;
16591 PyObject * obj1 = 0 ;
16592 char *kwnames[] = {
16593 (char *) "self",(char *) "yday", NULL
16594 };
16595
16596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
16597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16598 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
16599 if (PyErr_Occurred()) SWIG_fail;
16600 {
16601 PyThreadState* __tstate = wxPyBeginAllowThreads();
16602 {
16603 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
16604 result = (wxDateTime *) &_result_ref;
16605 }
16606
16607 wxPyEndAllowThreads(__tstate);
16608 if (PyErr_Occurred()) SWIG_fail;
16609 }
16610 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16611 return resultobj;
16612 fail:
16613 return NULL;
16614}
16615
16616
16617static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16618 PyObject *resultobj;
16619 wxDateTime *arg1 = (wxDateTime *) 0 ;
16620 wxDateTime::wxDateTime_t arg2 ;
16621 wxDateTime result;
16622 PyObject * obj0 = 0 ;
16623 PyObject * obj1 = 0 ;
16624 char *kwnames[] = {
16625 (char *) "self",(char *) "yday", NULL
16626 };
16627
16628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
16629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16630 arg2 = (wxDateTime::wxDateTime_t) PyInt_AsLong(obj1);
16631 if (PyErr_Occurred()) SWIG_fail;
16632 {
16633 PyThreadState* __tstate = wxPyBeginAllowThreads();
16634 result = (arg1)->GetYearDay(arg2);
16635
16636 wxPyEndAllowThreads(__tstate);
16637 if (PyErr_Occurred()) SWIG_fail;
16638 }
16639 {
16640 wxDateTime * resultptr;
16641 resultptr = new wxDateTime((wxDateTime &) result);
16642 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16643 }
16644 return resultobj;
16645 fail:
16646 return NULL;
16647}
16648
16649
16650static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16651 PyObject *resultobj;
16652 wxDateTime *arg1 = (wxDateTime *) 0 ;
16653 double result;
16654 PyObject * obj0 = 0 ;
16655 char *kwnames[] = {
16656 (char *) "self", NULL
16657 };
16658
16659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
16660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16661 {
16662 PyThreadState* __tstate = wxPyBeginAllowThreads();
16663 result = (double)(arg1)->GetJulianDayNumber();
16664
16665 wxPyEndAllowThreads(__tstate);
16666 if (PyErr_Occurred()) SWIG_fail;
16667 }
16668 resultobj = PyFloat_FromDouble(result);
16669 return resultobj;
16670 fail:
16671 return NULL;
16672}
16673
16674
16675static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
16676 PyObject *resultobj;
16677 wxDateTime *arg1 = (wxDateTime *) 0 ;
16678 double result;
16679 PyObject * obj0 = 0 ;
16680 char *kwnames[] = {
16681 (char *) "self", NULL
16682 };
16683
16684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
16685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16686 {
16687 PyThreadState* __tstate = wxPyBeginAllowThreads();
16688 result = (double)(arg1)->GetJDN();
16689
16690 wxPyEndAllowThreads(__tstate);
16691 if (PyErr_Occurred()) SWIG_fail;
16692 }
16693 resultobj = PyFloat_FromDouble(result);
16694 return resultobj;
16695 fail:
16696 return NULL;
16697}
16698
16699
16700static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16701 PyObject *resultobj;
16702 wxDateTime *arg1 = (wxDateTime *) 0 ;
16703 double result;
16704 PyObject * obj0 = 0 ;
16705 char *kwnames[] = {
16706 (char *) "self", NULL
16707 };
16708
16709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
16710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16711 {
16712 PyThreadState* __tstate = wxPyBeginAllowThreads();
16713 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
16714
16715 wxPyEndAllowThreads(__tstate);
16716 if (PyErr_Occurred()) SWIG_fail;
16717 }
16718 resultobj = PyFloat_FromDouble(result);
16719 return resultobj;
16720 fail:
16721 return NULL;
16722}
16723
16724
16725static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
16726 PyObject *resultobj;
16727 wxDateTime *arg1 = (wxDateTime *) 0 ;
16728 double result;
16729 PyObject * obj0 = 0 ;
16730 char *kwnames[] = {
16731 (char *) "self", NULL
16732 };
16733
16734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
16735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16736 {
16737 PyThreadState* __tstate = wxPyBeginAllowThreads();
16738 result = (double)(arg1)->GetMJD();
16739
16740 wxPyEndAllowThreads(__tstate);
16741 if (PyErr_Occurred()) SWIG_fail;
16742 }
16743 resultobj = PyFloat_FromDouble(result);
16744 return resultobj;
16745 fail:
16746 return NULL;
16747}
16748
16749
16750static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
16751 PyObject *resultobj;
16752 wxDateTime *arg1 = (wxDateTime *) 0 ;
16753 double result;
16754 PyObject * obj0 = 0 ;
16755 char *kwnames[] = {
16756 (char *) "self", NULL
16757 };
16758
16759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
16760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16761 {
16762 PyThreadState* __tstate = wxPyBeginAllowThreads();
16763 result = (double)(arg1)->GetRataDie();
16764
16765 wxPyEndAllowThreads(__tstate);
16766 if (PyErr_Occurred()) SWIG_fail;
16767 }
16768 resultobj = PyFloat_FromDouble(result);
16769 return resultobj;
16770 fail:
16771 return NULL;
16772}
16773
16774
16775static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16776 PyObject *resultobj;
16777 wxDateTime *arg1 = (wxDateTime *) 0 ;
16778 wxDateTime::TimeZone *arg2 = 0 ;
16779 bool arg3 = (bool) FALSE ;
16780 wxDateTime result;
16781 PyObject * obj0 = 0 ;
16782 PyObject * obj1 = 0 ;
16783 PyObject * obj2 = 0 ;
16784 char *kwnames[] = {
16785 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16786 };
16787
16788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16790 {
16791 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16792 }
16793 if (obj2) {
16794 arg3 = PyInt_AsLong(obj2) ? true : false;
16795 if (PyErr_Occurred()) SWIG_fail;
16796 }
16797 {
16798 PyThreadState* __tstate = wxPyBeginAllowThreads();
16799 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16800
16801 wxPyEndAllowThreads(__tstate);
16802 if (PyErr_Occurred()) SWIG_fail;
16803 }
16804 {
16805 wxDateTime * resultptr;
16806 resultptr = new wxDateTime((wxDateTime &) result);
16807 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16808 }
16809 {
16810 if (arg2) delete arg2;
16811 }
16812 return resultobj;
16813 fail:
16814 {
16815 if (arg2) delete arg2;
16816 }
16817 return NULL;
16818}
16819
16820
16821static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16822 PyObject *resultobj;
16823 wxDateTime *arg1 = (wxDateTime *) 0 ;
16824 wxDateTime::TimeZone *arg2 = 0 ;
16825 bool arg3 = (bool) FALSE ;
16826 wxDateTime *result;
16827 PyObject * obj0 = 0 ;
16828 PyObject * obj1 = 0 ;
16829 PyObject * obj2 = 0 ;
16830 char *kwnames[] = {
16831 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16832 };
16833
16834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16836 {
16837 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16838 }
16839 if (obj2) {
16840 arg3 = PyInt_AsLong(obj2) ? true : false;
16841 if (PyErr_Occurred()) SWIG_fail;
16842 }
16843 {
16844 PyThreadState* __tstate = wxPyBeginAllowThreads();
16845 {
16846 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16847 result = (wxDateTime *) &_result_ref;
16848 }
16849
16850 wxPyEndAllowThreads(__tstate);
16851 if (PyErr_Occurred()) SWIG_fail;
16852 }
16853 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16854 {
16855 if (arg2) delete arg2;
16856 }
16857 return resultobj;
16858 fail:
16859 {
16860 if (arg2) delete arg2;
16861 }
16862 return NULL;
16863}
16864
16865
16866static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16867 PyObject *resultobj;
16868 wxDateTime *arg1 = (wxDateTime *) 0 ;
16869 bool arg2 = (bool) FALSE ;
16870 wxDateTime result;
16871 PyObject * obj0 = 0 ;
16872 PyObject * obj1 = 0 ;
16873 char *kwnames[] = {
16874 (char *) "self",(char *) "noDST", NULL
16875 };
16876
16877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
16878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16879 if (obj1) {
16880 arg2 = PyInt_AsLong(obj1) ? true : false;
16881 if (PyErr_Occurred()) SWIG_fail;
16882 }
16883 {
16884 PyThreadState* __tstate = wxPyBeginAllowThreads();
16885 result = (arg1)->ToGMT(arg2);
16886
16887 wxPyEndAllowThreads(__tstate);
16888 if (PyErr_Occurred()) SWIG_fail;
16889 }
16890 {
16891 wxDateTime * resultptr;
16892 resultptr = new wxDateTime((wxDateTime &) result);
16893 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16894 }
16895 return resultobj;
16896 fail:
16897 return NULL;
16898}
16899
16900
16901static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16902 PyObject *resultobj;
16903 wxDateTime *arg1 = (wxDateTime *) 0 ;
16904 bool arg2 = (bool) FALSE ;
16905 wxDateTime *result;
16906 PyObject * obj0 = 0 ;
16907 PyObject * obj1 = 0 ;
16908 char *kwnames[] = {
16909 (char *) "self",(char *) "noDST", NULL
16910 };
16911
16912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
16913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16914 if (obj1) {
16915 arg2 = PyInt_AsLong(obj1) ? true : false;
16916 if (PyErr_Occurred()) SWIG_fail;
16917 }
16918 {
16919 PyThreadState* __tstate = wxPyBeginAllowThreads();
16920 {
16921 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
16922 result = (wxDateTime *) &_result_ref;
16923 }
16924
16925 wxPyEndAllowThreads(__tstate);
16926 if (PyErr_Occurred()) SWIG_fail;
16927 }
16928 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16929 return resultobj;
16930 fail:
16931 return NULL;
16932}
16933
16934
16935static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
16936 PyObject *resultobj;
16937 wxDateTime *arg1 = (wxDateTime *) 0 ;
16938 int arg2 = (int) wxDateTime::Country_Default ;
16939 int result;
16940 PyObject * obj0 = 0 ;
16941 char *kwnames[] = {
16942 (char *) "self",(char *) "country", NULL
16943 };
16944
16945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsDST",kwnames,&obj0,&arg2)) goto fail;
16946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16947 {
16948 PyThreadState* __tstate = wxPyBeginAllowThreads();
16949 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
16950
16951 wxPyEndAllowThreads(__tstate);
16952 if (PyErr_Occurred()) SWIG_fail;
16953 }
16954 resultobj = PyInt_FromLong((long)result);
16955 return resultobj;
16956 fail:
16957 return NULL;
16958}
16959
16960
16961static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
16962 PyObject *resultobj;
16963 wxDateTime *arg1 = (wxDateTime *) 0 ;
16964 bool result;
16965 PyObject * obj0 = 0 ;
16966 char *kwnames[] = {
16967 (char *) "self", NULL
16968 };
16969
16970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
16971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16972 {
16973 PyThreadState* __tstate = wxPyBeginAllowThreads();
16974 result = (bool)((wxDateTime const *)arg1)->IsValid();
16975
16976 wxPyEndAllowThreads(__tstate);
16977 if (PyErr_Occurred()) SWIG_fail;
16978 }
16979 resultobj = PyInt_FromLong((long)result);
16980 return resultobj;
16981 fail:
16982 return NULL;
16983}
16984
16985
16986static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
16987 PyObject *resultobj;
16988 wxDateTime *arg1 = (wxDateTime *) 0 ;
16989 time_t result;
16990 PyObject * obj0 = 0 ;
16991 char *kwnames[] = {
16992 (char *) "self", NULL
16993 };
16994
16995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
16996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16997 {
16998 PyThreadState* __tstate = wxPyBeginAllowThreads();
16999 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
17000
17001 wxPyEndAllowThreads(__tstate);
17002 if (PyErr_Occurred()) SWIG_fail;
17003 }
17004 resultobj = PyInt_FromLong((long)result);
17005 return resultobj;
17006 fail:
17007 return NULL;
17008}
17009
17010
17011static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17012 PyObject *resultobj;
17013 wxDateTime *arg1 = (wxDateTime *) 0 ;
17014 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17015 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17016 int result;
17017 PyObject * obj0 = 0 ;
17018 PyObject * obj1 = 0 ;
17019 char *kwnames[] = {
17020 (char *) "self",(char *) "tz", NULL
17021 };
17022
17023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
17024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17025 if (obj1) {
17026 {
17027 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17028 }
17029 }
17030 {
17031 PyThreadState* __tstate = wxPyBeginAllowThreads();
17032 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
17033
17034 wxPyEndAllowThreads(__tstate);
17035 if (PyErr_Occurred()) SWIG_fail;
17036 }
17037 resultobj = PyInt_FromLong((long)result);
17038 {
17039 if (arg2) delete arg2;
17040 }
17041 return resultobj;
17042 fail:
17043 {
17044 if (arg2) delete arg2;
17045 }
17046 return NULL;
17047}
17048
17049
17050static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17051 PyObject *resultobj;
17052 wxDateTime *arg1 = (wxDateTime *) 0 ;
17053 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17054 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17055 int result;
17056 PyObject * obj0 = 0 ;
17057 PyObject * obj1 = 0 ;
17058 char *kwnames[] = {
17059 (char *) "self",(char *) "tz", NULL
17060 };
17061
17062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
17063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17064 if (obj1) {
17065 {
17066 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17067 }
17068 }
17069 {
17070 PyThreadState* __tstate = wxPyBeginAllowThreads();
17071 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
17072
17073 wxPyEndAllowThreads(__tstate);
17074 if (PyErr_Occurred()) SWIG_fail;
17075 }
17076 resultobj = PyInt_FromLong((long)result);
17077 {
17078 if (arg2) delete arg2;
17079 }
17080 return resultobj;
17081 fail:
17082 {
17083 if (arg2) delete arg2;
17084 }
17085 return NULL;
17086}
17087
17088
17089static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17090 PyObject *resultobj;
17091 wxDateTime *arg1 = (wxDateTime *) 0 ;
17092 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17093 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17094 wxDateTime::wxDateTime_t result;
17095 PyObject * obj0 = 0 ;
17096 PyObject * obj1 = 0 ;
17097 char *kwnames[] = {
17098 (char *) "self",(char *) "tz", NULL
17099 };
17100
17101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
17102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17103 if (obj1) {
17104 {
17105 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17106 }
17107 }
17108 {
17109 PyThreadState* __tstate = wxPyBeginAllowThreads();
17110 result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
17111
17112 wxPyEndAllowThreads(__tstate);
17113 if (PyErr_Occurred()) SWIG_fail;
17114 }
17115 resultobj = PyInt_FromLong((long)result);
17116 {
17117 if (arg2) delete arg2;
17118 }
17119 return resultobj;
17120 fail:
17121 {
17122 if (arg2) delete arg2;
17123 }
17124 return NULL;
17125}
17126
17127
17128static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17129 PyObject *resultobj;
17130 wxDateTime *arg1 = (wxDateTime *) 0 ;
17131 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17132 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17133 int result;
17134 PyObject * obj0 = 0 ;
17135 PyObject * obj1 = 0 ;
17136 char *kwnames[] = {
17137 (char *) "self",(char *) "tz", NULL
17138 };
17139
17140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
17141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17142 if (obj1) {
17143 {
17144 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17145 }
17146 }
17147 {
17148 PyThreadState* __tstate = wxPyBeginAllowThreads();
17149 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
17150
17151 wxPyEndAllowThreads(__tstate);
17152 if (PyErr_Occurred()) SWIG_fail;
17153 }
17154 resultobj = PyInt_FromLong((long)result);
17155 {
17156 if (arg2) delete arg2;
17157 }
17158 return resultobj;
17159 fail:
17160 {
17161 if (arg2) delete arg2;
17162 }
17163 return NULL;
17164}
17165
17166
17167static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17168 PyObject *resultobj;
17169 wxDateTime *arg1 = (wxDateTime *) 0 ;
17170 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17171 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17172 wxDateTime::wxDateTime_t result;
17173 PyObject * obj0 = 0 ;
17174 PyObject * obj1 = 0 ;
17175 char *kwnames[] = {
17176 (char *) "self",(char *) "tz", NULL
17177 };
17178
17179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
17180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17181 if (obj1) {
17182 {
17183 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17184 }
17185 }
17186 {
17187 PyThreadState* __tstate = wxPyBeginAllowThreads();
17188 result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
17189
17190 wxPyEndAllowThreads(__tstate);
17191 if (PyErr_Occurred()) SWIG_fail;
17192 }
17193 resultobj = PyInt_FromLong((long)result);
17194 {
17195 if (arg2) delete arg2;
17196 }
17197 return resultobj;
17198 fail:
17199 {
17200 if (arg2) delete arg2;
17201 }
17202 return NULL;
17203}
17204
17205
17206static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17207 PyObject *resultobj;
17208 wxDateTime *arg1 = (wxDateTime *) 0 ;
17209 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17210 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17211 wxDateTime::wxDateTime_t result;
17212 PyObject * obj0 = 0 ;
17213 PyObject * obj1 = 0 ;
17214 char *kwnames[] = {
17215 (char *) "self",(char *) "tz", NULL
17216 };
17217
17218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
17219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17220 if (obj1) {
17221 {
17222 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17223 }
17224 }
17225 {
17226 PyThreadState* __tstate = wxPyBeginAllowThreads();
17227 result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
17228
17229 wxPyEndAllowThreads(__tstate);
17230 if (PyErr_Occurred()) SWIG_fail;
17231 }
17232 resultobj = PyInt_FromLong((long)result);
17233 {
17234 if (arg2) delete arg2;
17235 }
17236 return resultobj;
17237 fail:
17238 {
17239 if (arg2) delete arg2;
17240 }
17241 return NULL;
17242}
17243
17244
17245static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17246 PyObject *resultobj;
17247 wxDateTime *arg1 = (wxDateTime *) 0 ;
17248 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17249 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17250 wxDateTime::wxDateTime_t result;
17251 PyObject * obj0 = 0 ;
17252 PyObject * obj1 = 0 ;
17253 char *kwnames[] = {
17254 (char *) "self",(char *) "tz", NULL
17255 };
17256
17257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
17258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17259 if (obj1) {
17260 {
17261 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17262 }
17263 }
17264 {
17265 PyThreadState* __tstate = wxPyBeginAllowThreads();
17266 result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
17267
17268 wxPyEndAllowThreads(__tstate);
17269 if (PyErr_Occurred()) SWIG_fail;
17270 }
17271 resultobj = PyInt_FromLong((long)result);
17272 {
17273 if (arg2) delete arg2;
17274 }
17275 return resultobj;
17276 fail:
17277 {
17278 if (arg2) delete arg2;
17279 }
17280 return NULL;
17281}
17282
17283
17284static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17285 PyObject *resultobj;
17286 wxDateTime *arg1 = (wxDateTime *) 0 ;
17287 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17288 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17289 wxDateTime::wxDateTime_t result;
17290 PyObject * obj0 = 0 ;
17291 PyObject * obj1 = 0 ;
17292 char *kwnames[] = {
17293 (char *) "self",(char *) "tz", NULL
17294 };
17295
17296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
17297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17298 if (obj1) {
17299 {
17300 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17301 }
17302 }
17303 {
17304 PyThreadState* __tstate = wxPyBeginAllowThreads();
17305 result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
17306
17307 wxPyEndAllowThreads(__tstate);
17308 if (PyErr_Occurred()) SWIG_fail;
17309 }
17310 resultobj = PyInt_FromLong((long)result);
17311 {
17312 if (arg2) delete arg2;
17313 }
17314 return resultobj;
17315 fail:
17316 {
17317 if (arg2) delete arg2;
17318 }
17319 return NULL;
17320}
17321
17322
17323static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17324 PyObject *resultobj;
17325 wxDateTime *arg1 = (wxDateTime *) 0 ;
17326 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17327 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17328 wxDateTime::wxDateTime_t result;
17329 PyObject * obj0 = 0 ;
17330 PyObject * obj1 = 0 ;
17331 char *kwnames[] = {
17332 (char *) "self",(char *) "tz", NULL
17333 };
17334
17335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
17336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17337 if (obj1) {
17338 {
17339 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17340 }
17341 }
17342 {
17343 PyThreadState* __tstate = wxPyBeginAllowThreads();
17344 result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
17345
17346 wxPyEndAllowThreads(__tstate);
17347 if (PyErr_Occurred()) SWIG_fail;
17348 }
17349 resultobj = PyInt_FromLong((long)result);
17350 {
17351 if (arg2) delete arg2;
17352 }
17353 return resultobj;
17354 fail:
17355 {
17356 if (arg2) delete arg2;
17357 }
17358 return NULL;
17359}
17360
17361
17362static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17363 PyObject *resultobj;
17364 wxDateTime *arg1 = (wxDateTime *) 0 ;
17365 int arg2 = (int) wxDateTime::Monday_First ;
17366 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17367 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
17368 wxDateTime::wxDateTime_t result;
17369 PyObject * obj0 = 0 ;
17370 PyObject * obj2 = 0 ;
17371 char *kwnames[] = {
17372 (char *) "self",(char *) "flags",(char *) "tz", NULL
17373 };
17374
17375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames,&obj0,&arg2,&obj2)) goto fail;
17376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17377 if (obj2) {
17378 {
17379 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
17380 }
17381 }
17382 {
17383 PyThreadState* __tstate = wxPyBeginAllowThreads();
17384 result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
17385
17386 wxPyEndAllowThreads(__tstate);
17387 if (PyErr_Occurred()) SWIG_fail;
17388 }
17389 resultobj = PyInt_FromLong((long)result);
17390 {
17391 if (arg3) delete arg3;
17392 }
17393 return resultobj;
17394 fail:
17395 {
17396 if (arg3) delete arg3;
17397 }
17398 return NULL;
17399}
17400
17401
17402static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17403 PyObject *resultobj;
17404 wxDateTime *arg1 = (wxDateTime *) 0 ;
17405 int arg2 = (int) wxDateTime::Monday_First ;
17406 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17407 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
17408 wxDateTime::wxDateTime_t result;
17409 PyObject * obj0 = 0 ;
17410 PyObject * obj2 = 0 ;
17411 char *kwnames[] = {
17412 (char *) "self",(char *) "flags",(char *) "tz", NULL
17413 };
17414
17415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames,&obj0,&arg2,&obj2)) goto fail;
17416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17417 if (obj2) {
17418 {
17419 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
17420 }
17421 }
17422 {
17423 PyThreadState* __tstate = wxPyBeginAllowThreads();
17424 result = (wxDateTime::wxDateTime_t)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
17425
17426 wxPyEndAllowThreads(__tstate);
17427 if (PyErr_Occurred()) SWIG_fail;
17428 }
17429 resultobj = PyInt_FromLong((long)result);
17430 {
17431 if (arg3) delete arg3;
17432 }
17433 return resultobj;
17434 fail:
17435 {
17436 if (arg3) delete arg3;
17437 }
17438 return NULL;
17439}
17440
17441
17442static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17443 PyObject *resultobj;
17444 wxDateTime *arg1 = (wxDateTime *) 0 ;
17445 int arg2 = (int) wxDateTime::Country_Default ;
17446 bool result;
17447 PyObject * obj0 = 0 ;
17448 char *kwnames[] = {
17449 (char *) "self",(char *) "country", NULL
17450 };
17451
17452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsWorkDay",kwnames,&obj0,&arg2)) goto fail;
17453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17454 {
17455 PyThreadState* __tstate = wxPyBeginAllowThreads();
17456 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
17457
17458 wxPyEndAllowThreads(__tstate);
17459 if (PyErr_Occurred()) SWIG_fail;
17460 }
17461 resultobj = PyInt_FromLong((long)result);
17462 return resultobj;
17463 fail:
17464 return NULL;
17465}
17466
17467
17468static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17469 PyObject *resultobj;
17470 wxDateTime *arg1 = (wxDateTime *) 0 ;
17471 wxDateTime *arg2 = 0 ;
17472 bool result;
17473 PyObject * obj0 = 0 ;
17474 PyObject * obj1 = 0 ;
17475 char *kwnames[] = {
17476 (char *) "self",(char *) "datetime", NULL
17477 };
17478
17479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
17480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17482 if (arg2 == NULL) {
17483 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17484 }
17485 {
17486 PyThreadState* __tstate = wxPyBeginAllowThreads();
17487 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
17488
17489 wxPyEndAllowThreads(__tstate);
17490 if (PyErr_Occurred()) SWIG_fail;
17491 }
17492 resultobj = PyInt_FromLong((long)result);
17493 return resultobj;
17494 fail:
17495 return NULL;
17496}
17497
17498
17499static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17500 PyObject *resultobj;
17501 wxDateTime *arg1 = (wxDateTime *) 0 ;
17502 wxDateTime *arg2 = 0 ;
17503 bool result;
17504 PyObject * obj0 = 0 ;
17505 PyObject * obj1 = 0 ;
17506 char *kwnames[] = {
17507 (char *) "self",(char *) "datetime", NULL
17508 };
17509
17510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
17511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17512 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17513 if (arg2 == NULL) {
17514 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17515 }
17516 {
17517 PyThreadState* __tstate = wxPyBeginAllowThreads();
17518 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
17519
17520 wxPyEndAllowThreads(__tstate);
17521 if (PyErr_Occurred()) SWIG_fail;
17522 }
17523 resultobj = PyInt_FromLong((long)result);
17524 return resultobj;
17525 fail:
17526 return NULL;
17527}
17528
17529
17530static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17531 PyObject *resultobj;
17532 wxDateTime *arg1 = (wxDateTime *) 0 ;
17533 wxDateTime *arg2 = 0 ;
17534 bool result;
17535 PyObject * obj0 = 0 ;
17536 PyObject * obj1 = 0 ;
17537 char *kwnames[] = {
17538 (char *) "self",(char *) "datetime", NULL
17539 };
17540
17541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
17542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17543 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17544 if (arg2 == NULL) {
17545 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17546 }
17547 {
17548 PyThreadState* __tstate = wxPyBeginAllowThreads();
17549 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
17550
17551 wxPyEndAllowThreads(__tstate);
17552 if (PyErr_Occurred()) SWIG_fail;
17553 }
17554 resultobj = PyInt_FromLong((long)result);
17555 return resultobj;
17556 fail:
17557 return NULL;
17558}
17559
17560
17561static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17562 PyObject *resultobj;
17563 wxDateTime *arg1 = (wxDateTime *) 0 ;
17564 wxDateTime *arg2 = 0 ;
17565 wxDateTime *arg3 = 0 ;
17566 bool result;
17567 PyObject * obj0 = 0 ;
17568 PyObject * obj1 = 0 ;
17569 PyObject * obj2 = 0 ;
17570 char *kwnames[] = {
17571 (char *) "self",(char *) "t1",(char *) "t2", NULL
17572 };
17573
17574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17576 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17577 if (arg2 == NULL) {
17578 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17579 }
17580 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17581 if (arg3 == NULL) {
17582 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17583 }
17584 {
17585 PyThreadState* __tstate = wxPyBeginAllowThreads();
17586 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17587
17588 wxPyEndAllowThreads(__tstate);
17589 if (PyErr_Occurred()) SWIG_fail;
17590 }
17591 resultobj = PyInt_FromLong((long)result);
17592 return resultobj;
17593 fail:
17594 return NULL;
17595}
17596
17597
17598static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17599 PyObject *resultobj;
17600 wxDateTime *arg1 = (wxDateTime *) 0 ;
17601 wxDateTime *arg2 = 0 ;
17602 wxDateTime *arg3 = 0 ;
17603 bool result;
17604 PyObject * obj0 = 0 ;
17605 PyObject * obj1 = 0 ;
17606 PyObject * obj2 = 0 ;
17607 char *kwnames[] = {
17608 (char *) "self",(char *) "t1",(char *) "t2", NULL
17609 };
17610
17611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17613 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17614 if (arg2 == NULL) {
17615 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17616 }
17617 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17618 if (arg3 == NULL) {
17619 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17620 }
17621 {
17622 PyThreadState* __tstate = wxPyBeginAllowThreads();
17623 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17624
17625 wxPyEndAllowThreads(__tstate);
17626 if (PyErr_Occurred()) SWIG_fail;
17627 }
17628 resultobj = PyInt_FromLong((long)result);
17629 return resultobj;
17630 fail:
17631 return NULL;
17632}
17633
17634
17635static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
17636 PyObject *resultobj;
17637 wxDateTime *arg1 = (wxDateTime *) 0 ;
17638 wxDateTime *arg2 = 0 ;
17639 bool result;
17640 PyObject * obj0 = 0 ;
17641 PyObject * obj1 = 0 ;
17642 char *kwnames[] = {
17643 (char *) "self",(char *) "dt", NULL
17644 };
17645
17646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
17647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17648 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17649 if (arg2 == NULL) {
17650 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17651 }
17652 {
17653 PyThreadState* __tstate = wxPyBeginAllowThreads();
17654 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
17655
17656 wxPyEndAllowThreads(__tstate);
17657 if (PyErr_Occurred()) SWIG_fail;
17658 }
17659 resultobj = PyInt_FromLong((long)result);
17660 return resultobj;
17661 fail:
17662 return NULL;
17663}
17664
17665
17666static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17667 PyObject *resultobj;
17668 wxDateTime *arg1 = (wxDateTime *) 0 ;
17669 wxDateTime *arg2 = 0 ;
17670 bool result;
17671 PyObject * obj0 = 0 ;
17672 PyObject * obj1 = 0 ;
17673 char *kwnames[] = {
17674 (char *) "self",(char *) "dt", NULL
17675 };
17676
17677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
17678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17679 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17680 if (arg2 == NULL) {
17681 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17682 }
17683 {
17684 PyThreadState* __tstate = wxPyBeginAllowThreads();
17685 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
17686
17687 wxPyEndAllowThreads(__tstate);
17688 if (PyErr_Occurred()) SWIG_fail;
17689 }
17690 resultobj = PyInt_FromLong((long)result);
17691 return resultobj;
17692 fail:
17693 return NULL;
17694}
17695
17696
17697static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17698 PyObject *resultobj;
17699 wxDateTime *arg1 = (wxDateTime *) 0 ;
17700 wxDateTime *arg2 = 0 ;
17701 wxTimeSpan *arg3 = 0 ;
17702 bool result;
17703 PyObject * obj0 = 0 ;
17704 PyObject * obj1 = 0 ;
17705 PyObject * obj2 = 0 ;
17706 char *kwnames[] = {
17707 (char *) "self",(char *) "dt",(char *) "ts", NULL
17708 };
17709
17710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17712 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17713 if (arg2 == NULL) {
17714 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17715 }
17716 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17717 if (arg3 == NULL) {
17718 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17719 }
17720 {
17721 PyThreadState* __tstate = wxPyBeginAllowThreads();
17722 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
17723
17724 wxPyEndAllowThreads(__tstate);
17725 if (PyErr_Occurred()) SWIG_fail;
17726 }
17727 resultobj = PyInt_FromLong((long)result);
17728 return resultobj;
17729 fail:
17730 return NULL;
17731}
17732
17733
17734static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17735 PyObject *resultobj;
17736 wxDateTime *arg1 = (wxDateTime *) 0 ;
17737 wxTimeSpan *arg2 = 0 ;
17738 wxDateTime *result;
17739 PyObject * obj0 = 0 ;
17740 PyObject * obj1 = 0 ;
17741 char *kwnames[] = {
17742 (char *) "self",(char *) "diff", NULL
17743 };
17744
17745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
17746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17747 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17748 if (arg2 == NULL) {
17749 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17750 }
17751 {
17752 PyThreadState* __tstate = wxPyBeginAllowThreads();
17753 {
17754 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
17755 result = (wxDateTime *) &_result_ref;
17756 }
17757
17758 wxPyEndAllowThreads(__tstate);
17759 if (PyErr_Occurred()) SWIG_fail;
17760 }
17761 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17762 return resultobj;
17763 fail:
17764 return NULL;
17765}
17766
17767
17768static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17769 PyObject *resultobj;
17770 wxDateTime *arg1 = (wxDateTime *) 0 ;
17771 wxDateSpan *arg2 = 0 ;
17772 wxDateTime *result;
17773 PyObject * obj0 = 0 ;
17774 PyObject * obj1 = 0 ;
17775 char *kwnames[] = {
17776 (char *) "self",(char *) "diff", NULL
17777 };
17778
17779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
17780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17781 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17782 if (arg2 == NULL) {
17783 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17784 }
17785 {
17786 PyThreadState* __tstate = wxPyBeginAllowThreads();
17787 {
17788 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
17789 result = (wxDateTime *) &_result_ref;
17790 }
17791
17792 wxPyEndAllowThreads(__tstate);
17793 if (PyErr_Occurred()) SWIG_fail;
17794 }
17795 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17796 return resultobj;
17797 fail:
17798 return NULL;
17799}
17800
17801
17802static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17803 PyObject *resultobj;
17804 wxDateTime *arg1 = (wxDateTime *) 0 ;
17805 wxTimeSpan *arg2 = 0 ;
17806 wxDateTime *result;
17807 PyObject * obj0 = 0 ;
17808 PyObject * obj1 = 0 ;
17809 char *kwnames[] = {
17810 (char *) "self",(char *) "diff", NULL
17811 };
17812
17813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
17814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17815 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17816 if (arg2 == NULL) {
17817 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17818 }
17819 {
17820 PyThreadState* __tstate = wxPyBeginAllowThreads();
17821 {
17822 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
17823 result = (wxDateTime *) &_result_ref;
17824 }
17825
17826 wxPyEndAllowThreads(__tstate);
17827 if (PyErr_Occurred()) SWIG_fail;
17828 }
17829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17830 return resultobj;
17831 fail:
17832 return NULL;
17833}
17834
17835
17836static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17837 PyObject *resultobj;
17838 wxDateTime *arg1 = (wxDateTime *) 0 ;
17839 wxDateSpan *arg2 = 0 ;
17840 wxDateTime *result;
17841 PyObject * obj0 = 0 ;
17842 PyObject * obj1 = 0 ;
17843 char *kwnames[] = {
17844 (char *) "self",(char *) "diff", NULL
17845 };
17846
17847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
17848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17849 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17850 if (arg2 == NULL) {
17851 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17852 }
17853 {
17854 PyThreadState* __tstate = wxPyBeginAllowThreads();
17855 {
17856 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
17857 result = (wxDateTime *) &_result_ref;
17858 }
17859
17860 wxPyEndAllowThreads(__tstate);
17861 if (PyErr_Occurred()) SWIG_fail;
17862 }
17863 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17864 return resultobj;
17865 fail:
17866 return NULL;
17867}
17868
17869
17870static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
17871 PyObject *resultobj;
17872 wxDateTime *arg1 = (wxDateTime *) 0 ;
17873 wxDateTime *arg2 = 0 ;
17874 wxTimeSpan result;
17875 PyObject * obj0 = 0 ;
17876 PyObject * obj1 = 0 ;
17877 char *kwnames[] = {
17878 (char *) "self",(char *) "dt", NULL
17879 };
17880
17881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
17882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17883 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17884 if (arg2 == NULL) {
17885 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17886 }
17887 {
17888 PyThreadState* __tstate = wxPyBeginAllowThreads();
17889 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
17890
17891 wxPyEndAllowThreads(__tstate);
17892 if (PyErr_Occurred()) SWIG_fail;
17893 }
17894 {
17895 wxTimeSpan * resultptr;
17896 resultptr = new wxTimeSpan((wxTimeSpan &) result);
17897 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
17898 }
17899 return resultobj;
17900 fail:
17901 return NULL;
17902}
17903
17904
17905static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
17906 PyObject *resultobj;
17907 wxDateTime *arg1 = (wxDateTime *) 0 ;
17908 wxTimeSpan *arg2 = 0 ;
17909 wxDateTime *result;
17910 PyObject * obj0 = 0 ;
17911 PyObject * obj1 = 0 ;
17912
17913 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
17914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17915 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17916 if (arg2 == NULL) {
17917 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17918 }
17919 {
17920 PyThreadState* __tstate = wxPyBeginAllowThreads();
17921 {
17922 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
17923 result = (wxDateTime *) &_result_ref;
17924 }
17925
17926 wxPyEndAllowThreads(__tstate);
17927 if (PyErr_Occurred()) SWIG_fail;
17928 }
17929 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17930 return resultobj;
17931 fail:
17932 return NULL;
17933}
17934
17935
17936static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
17937 PyObject *resultobj;
17938 wxDateTime *arg1 = (wxDateTime *) 0 ;
17939 wxDateSpan *arg2 = 0 ;
17940 wxDateTime *result;
17941 PyObject * obj0 = 0 ;
17942 PyObject * obj1 = 0 ;
17943
17944 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
17945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17946 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17947 if (arg2 == NULL) {
17948 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17949 }
17950 {
17951 PyThreadState* __tstate = wxPyBeginAllowThreads();
17952 {
17953 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
17954 result = (wxDateTime *) &_result_ref;
17955 }
17956
17957 wxPyEndAllowThreads(__tstate);
17958 if (PyErr_Occurred()) SWIG_fail;
17959 }
17960 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17961 return resultobj;
17962 fail:
17963 return NULL;
17964}
17965
17966
17967static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
17968 int argc;
17969 PyObject *argv[3];
17970 int ii;
17971
17972 argc = PyObject_Length(args);
17973 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
17974 argv[ii] = PyTuple_GetItem(args,ii);
17975 }
17976 if (argc == 2) {
17977 int _v;
17978 {
17979 void *ptr;
17980 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
17981 _v = 0;
17982 PyErr_Clear();
17983 } else {
17984 _v = 1;
17985 }
17986 }
17987 if (_v) {
17988 {
17989 void *ptr;
17990 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
17991 _v = 0;
17992 PyErr_Clear();
17993 } else {
17994 _v = 1;
17995 }
17996 }
17997 if (_v) {
17998 return _wrap_DateTime___iadd____SWIG_0(self,args);
17999 }
18000 }
18001 }
18002 if (argc == 2) {
18003 int _v;
18004 {
18005 void *ptr;
18006 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18007 _v = 0;
18008 PyErr_Clear();
18009 } else {
18010 _v = 1;
18011 }
18012 }
18013 if (_v) {
18014 {
18015 void *ptr;
18016 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18017 _v = 0;
18018 PyErr_Clear();
18019 } else {
18020 _v = 1;
18021 }
18022 }
18023 if (_v) {
18024 return _wrap_DateTime___iadd____SWIG_1(self,args);
18025 }
18026 }
18027 }
18028
18029 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
18030 return NULL;
18031}
18032
18033
18034static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
18035 PyObject *resultobj;
18036 wxDateTime *arg1 = (wxDateTime *) 0 ;
18037 wxTimeSpan *arg2 = 0 ;
18038 wxDateTime *result;
18039 PyObject * obj0 = 0 ;
18040 PyObject * obj1 = 0 ;
18041
18042 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
18043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18044 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18045 if (arg2 == NULL) {
18046 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18047 }
18048 {
18049 PyThreadState* __tstate = wxPyBeginAllowThreads();
18050 {
18051 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
18052 result = (wxDateTime *) &_result_ref;
18053 }
18054
18055 wxPyEndAllowThreads(__tstate);
18056 if (PyErr_Occurred()) SWIG_fail;
18057 }
18058 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18059 return resultobj;
18060 fail:
18061 return NULL;
18062}
18063
18064
18065static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
18066 PyObject *resultobj;
18067 wxDateTime *arg1 = (wxDateTime *) 0 ;
18068 wxDateSpan *arg2 = 0 ;
18069 wxDateTime *result;
18070 PyObject * obj0 = 0 ;
18071 PyObject * obj1 = 0 ;
18072
18073 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
18074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18075 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18076 if (arg2 == NULL) {
18077 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18078 }
18079 {
18080 PyThreadState* __tstate = wxPyBeginAllowThreads();
18081 {
18082 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
18083 result = (wxDateTime *) &_result_ref;
18084 }
18085
18086 wxPyEndAllowThreads(__tstate);
18087 if (PyErr_Occurred()) SWIG_fail;
18088 }
18089 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18090 return resultobj;
18091 fail:
18092 return NULL;
18093}
18094
18095
18096static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
18097 int argc;
18098 PyObject *argv[3];
18099 int ii;
18100
18101 argc = PyObject_Length(args);
18102 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18103 argv[ii] = PyTuple_GetItem(args,ii);
18104 }
18105 if (argc == 2) {
18106 int _v;
18107 {
18108 void *ptr;
18109 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18110 _v = 0;
18111 PyErr_Clear();
18112 } else {
18113 _v = 1;
18114 }
18115 }
18116 if (_v) {
18117 {
18118 void *ptr;
18119 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18120 _v = 0;
18121 PyErr_Clear();
18122 } else {
18123 _v = 1;
18124 }
18125 }
18126 if (_v) {
18127 return _wrap_DateTime___isub____SWIG_0(self,args);
18128 }
18129 }
18130 }
18131 if (argc == 2) {
18132 int _v;
18133 {
18134 void *ptr;
18135 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18136 _v = 0;
18137 PyErr_Clear();
18138 } else {
18139 _v = 1;
18140 }
18141 }
18142 if (_v) {
18143 {
18144 void *ptr;
18145 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18146 _v = 0;
18147 PyErr_Clear();
18148 } else {
18149 _v = 1;
18150 }
18151 }
18152 if (_v) {
18153 return _wrap_DateTime___isub____SWIG_1(self,args);
18154 }
18155 }
18156 }
18157
18158 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
18159 return NULL;
18160}
18161
18162
18163static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
18164 PyObject *resultobj;
18165 wxDateTime *arg1 = (wxDateTime *) 0 ;
18166 wxTimeSpan *arg2 = 0 ;
18167 wxDateTime result;
18168 PyObject * obj0 = 0 ;
18169 PyObject * obj1 = 0 ;
18170
18171 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18173 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18174 if (arg2 == NULL) {
18175 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18176 }
18177 {
18178 PyThreadState* __tstate = wxPyBeginAllowThreads();
18179 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
18180
18181 wxPyEndAllowThreads(__tstate);
18182 if (PyErr_Occurred()) SWIG_fail;
18183 }
18184 {
18185 wxDateTime * resultptr;
18186 resultptr = new wxDateTime((wxDateTime &) result);
18187 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18188 }
18189 return resultobj;
18190 fail:
18191 return NULL;
18192}
18193
18194
18195static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
18196 PyObject *resultobj;
18197 wxDateTime *arg1 = (wxDateTime *) 0 ;
18198 wxDateSpan *arg2 = 0 ;
18199 wxDateTime result;
18200 PyObject * obj0 = 0 ;
18201 PyObject * obj1 = 0 ;
18202
18203 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18205 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18206 if (arg2 == NULL) {
18207 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18208 }
18209 {
18210 PyThreadState* __tstate = wxPyBeginAllowThreads();
18211 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
18212
18213 wxPyEndAllowThreads(__tstate);
18214 if (PyErr_Occurred()) SWIG_fail;
18215 }
18216 {
18217 wxDateTime * resultptr;
18218 resultptr = new wxDateTime((wxDateTime &) result);
18219 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18220 }
18221 return resultobj;
18222 fail:
18223 return NULL;
18224}
18225
18226
18227static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
18228 int argc;
18229 PyObject *argv[3];
18230 int ii;
18231
18232 argc = PyObject_Length(args);
18233 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18234 argv[ii] = PyTuple_GetItem(args,ii);
18235 }
18236 if (argc == 2) {
18237 int _v;
18238 {
18239 void *ptr;
18240 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18241 _v = 0;
18242 PyErr_Clear();
18243 } else {
18244 _v = 1;
18245 }
18246 }
18247 if (_v) {
18248 {
18249 void *ptr;
18250 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18251 _v = 0;
18252 PyErr_Clear();
18253 } else {
18254 _v = 1;
18255 }
18256 }
18257 if (_v) {
18258 return _wrap_DateTime___add____SWIG_0(self,args);
18259 }
18260 }
18261 }
18262 if (argc == 2) {
18263 int _v;
18264 {
18265 void *ptr;
18266 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18267 _v = 0;
18268 PyErr_Clear();
18269 } else {
18270 _v = 1;
18271 }
18272 }
18273 if (_v) {
18274 {
18275 void *ptr;
18276 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18277 _v = 0;
18278 PyErr_Clear();
18279 } else {
18280 _v = 1;
18281 }
18282 }
18283 if (_v) {
18284 return _wrap_DateTime___add____SWIG_1(self,args);
18285 }
18286 }
18287 }
18288
18289 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
18290 return NULL;
18291}
18292
18293
18294static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
18295 PyObject *resultobj;
18296 wxDateTime *arg1 = (wxDateTime *) 0 ;
18297 wxDateTime *arg2 = 0 ;
18298 wxTimeSpan result;
18299 PyObject * obj0 = 0 ;
18300 PyObject * obj1 = 0 ;
18301
18302 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18304 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18305 if (arg2 == NULL) {
18306 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18307 }
18308 {
18309 PyThreadState* __tstate = wxPyBeginAllowThreads();
18310 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
18311
18312 wxPyEndAllowThreads(__tstate);
18313 if (PyErr_Occurred()) SWIG_fail;
18314 }
18315 {
18316 wxTimeSpan * resultptr;
18317 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18318 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18319 }
18320 return resultobj;
18321 fail:
18322 return NULL;
18323}
18324
18325
18326static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
18327 PyObject *resultobj;
18328 wxDateTime *arg1 = (wxDateTime *) 0 ;
18329 wxTimeSpan *arg2 = 0 ;
18330 wxDateTime result;
18331 PyObject * obj0 = 0 ;
18332 PyObject * obj1 = 0 ;
18333
18334 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18336 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18337 if (arg2 == NULL) {
18338 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18339 }
18340 {
18341 PyThreadState* __tstate = wxPyBeginAllowThreads();
18342 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
18343
18344 wxPyEndAllowThreads(__tstate);
18345 if (PyErr_Occurred()) SWIG_fail;
18346 }
18347 {
18348 wxDateTime * resultptr;
18349 resultptr = new wxDateTime((wxDateTime &) result);
18350 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18351 }
18352 return resultobj;
18353 fail:
18354 return NULL;
18355}
18356
18357
18358static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
18359 PyObject *resultobj;
18360 wxDateTime *arg1 = (wxDateTime *) 0 ;
18361 wxDateSpan *arg2 = 0 ;
18362 wxDateTime result;
18363 PyObject * obj0 = 0 ;
18364 PyObject * obj1 = 0 ;
18365
18366 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18368 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18369 if (arg2 == NULL) {
18370 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18371 }
18372 {
18373 PyThreadState* __tstate = wxPyBeginAllowThreads();
18374 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
18375
18376 wxPyEndAllowThreads(__tstate);
18377 if (PyErr_Occurred()) SWIG_fail;
18378 }
18379 {
18380 wxDateTime * resultptr;
18381 resultptr = new wxDateTime((wxDateTime &) result);
18382 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18383 }
18384 return resultobj;
18385 fail:
18386 return NULL;
18387}
18388
18389
18390static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
18391 int argc;
18392 PyObject *argv[3];
18393 int ii;
18394
18395 argc = PyObject_Length(args);
18396 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18397 argv[ii] = PyTuple_GetItem(args,ii);
18398 }
18399 if (argc == 2) {
18400 int _v;
18401 {
18402 void *ptr;
18403 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18404 _v = 0;
18405 PyErr_Clear();
18406 } else {
18407 _v = 1;
18408 }
18409 }
18410 if (_v) {
18411 {
18412 void *ptr;
18413 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18414 _v = 0;
18415 PyErr_Clear();
18416 } else {
18417 _v = 1;
18418 }
18419 }
18420 if (_v) {
18421 return _wrap_DateTime___sub____SWIG_0(self,args);
18422 }
18423 }
18424 }
18425 if (argc == 2) {
18426 int _v;
18427 {
18428 void *ptr;
18429 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18430 _v = 0;
18431 PyErr_Clear();
18432 } else {
18433 _v = 1;
18434 }
18435 }
18436 if (_v) {
18437 {
18438 void *ptr;
18439 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18440 _v = 0;
18441 PyErr_Clear();
18442 } else {
18443 _v = 1;
18444 }
18445 }
18446 if (_v) {
18447 return _wrap_DateTime___sub____SWIG_1(self,args);
18448 }
18449 }
18450 }
18451 if (argc == 2) {
18452 int _v;
18453 {
18454 void *ptr;
18455 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18456 _v = 0;
18457 PyErr_Clear();
18458 } else {
18459 _v = 1;
18460 }
18461 }
18462 if (_v) {
18463 {
18464 void *ptr;
18465 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18466 _v = 0;
18467 PyErr_Clear();
18468 } else {
18469 _v = 1;
18470 }
18471 }
18472 if (_v) {
18473 return _wrap_DateTime___sub____SWIG_2(self,args);
18474 }
18475 }
18476 }
18477
18478 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
18479 return NULL;
18480}
18481
18482
18483static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
18484 PyObject *resultobj;
18485 wxDateTime *arg1 = (wxDateTime *) 0 ;
18486 wxDateTime *arg2 = 0 ;
18487 bool result;
18488 PyObject * obj0 = 0 ;
18489 PyObject * obj1 = 0 ;
18490
18491 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
18492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18493 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18494 if (arg2 == NULL) {
18495 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18496 }
18497 {
18498 PyThreadState* __tstate = wxPyBeginAllowThreads();
18499 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const &)*arg2);
18500
18501 wxPyEndAllowThreads(__tstate);
18502 if (PyErr_Occurred()) SWIG_fail;
18503 }
18504 resultobj = PyInt_FromLong((long)result);
18505 return resultobj;
18506 fail:
18507 return NULL;
18508}
18509
18510
18511static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
18512 PyObject *resultobj;
18513 wxDateTime *arg1 = (wxDateTime *) 0 ;
18514 wxDateTime *arg2 = 0 ;
18515 bool result;
18516 PyObject * obj0 = 0 ;
18517 PyObject * obj1 = 0 ;
18518
18519 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
18520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18521 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18522 if (arg2 == NULL) {
18523 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18524 }
18525 {
18526 PyThreadState* __tstate = wxPyBeginAllowThreads();
18527 result = (bool)wxDateTime___le__(arg1,(wxDateTime const &)*arg2);
18528
18529 wxPyEndAllowThreads(__tstate);
18530 if (PyErr_Occurred()) SWIG_fail;
18531 }
18532 resultobj = PyInt_FromLong((long)result);
18533 return resultobj;
18534 fail:
18535 return NULL;
18536}
18537
18538
18539static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
18540 PyObject *resultobj;
18541 wxDateTime *arg1 = (wxDateTime *) 0 ;
18542 wxDateTime *arg2 = 0 ;
18543 bool result;
18544 PyObject * obj0 = 0 ;
18545 PyObject * obj1 = 0 ;
18546
18547 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
18548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18549 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18550 if (arg2 == NULL) {
18551 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18552 }
18553 {
18554 PyThreadState* __tstate = wxPyBeginAllowThreads();
18555 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const &)*arg2);
18556
18557 wxPyEndAllowThreads(__tstate);
18558 if (PyErr_Occurred()) SWIG_fail;
18559 }
18560 resultobj = PyInt_FromLong((long)result);
18561 return resultobj;
18562 fail:
18563 return NULL;
18564}
18565
18566
18567static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
18568 PyObject *resultobj;
18569 wxDateTime *arg1 = (wxDateTime *) 0 ;
18570 wxDateTime *arg2 = 0 ;
18571 bool result;
18572 PyObject * obj0 = 0 ;
18573 PyObject * obj1 = 0 ;
18574
18575 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
18576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18577 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18578 if (arg2 == NULL) {
18579 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18580 }
18581 {
18582 PyThreadState* __tstate = wxPyBeginAllowThreads();
18583 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const &)*arg2);
18584
18585 wxPyEndAllowThreads(__tstate);
18586 if (PyErr_Occurred()) SWIG_fail;
18587 }
18588 resultobj = PyInt_FromLong((long)result);
18589 return resultobj;
18590 fail:
18591 return NULL;
18592}
18593
18594
18595static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
18596 PyObject *resultobj;
18597 wxDateTime *arg1 = (wxDateTime *) 0 ;
18598 wxDateTime *arg2 = 0 ;
18599 bool result;
18600 PyObject * obj0 = 0 ;
18601 PyObject * obj1 = 0 ;
18602
18603 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
18604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18605 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18606 if (arg2 == NULL) {
18607 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18608 }
18609 {
18610 PyThreadState* __tstate = wxPyBeginAllowThreads();
18611 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const &)*arg2);
18612
18613 wxPyEndAllowThreads(__tstate);
18614 if (PyErr_Occurred()) SWIG_fail;
18615 }
18616 resultobj = PyInt_FromLong((long)result);
18617 return resultobj;
18618 fail:
18619 return NULL;
18620}
18621
18622
18623static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
18624 PyObject *resultobj;
18625 wxDateTime *arg1 = (wxDateTime *) 0 ;
18626 wxDateTime *arg2 = 0 ;
18627 bool result;
18628 PyObject * obj0 = 0 ;
18629 PyObject * obj1 = 0 ;
18630
18631 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
18632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18633 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18634 if (arg2 == NULL) {
18635 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18636 }
18637 {
18638 PyThreadState* __tstate = wxPyBeginAllowThreads();
18639 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const &)*arg2);
18640
18641 wxPyEndAllowThreads(__tstate);
18642 if (PyErr_Occurred()) SWIG_fail;
18643 }
18644 resultobj = PyInt_FromLong((long)result);
18645 return resultobj;
18646 fail:
18647 return NULL;
18648}
18649
18650
18651static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
18652 PyObject *resultobj;
18653 wxDateTime *arg1 = (wxDateTime *) 0 ;
18654 wxString *arg2 = 0 ;
18655 int result;
18656 bool temp2 = false ;
18657 PyObject * obj0 = 0 ;
18658 PyObject * obj1 = 0 ;
18659 char *kwnames[] = {
18660 (char *) "self",(char *) "date", NULL
18661 };
18662
18663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
18664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18665 {
18666 arg2 = wxString_in_helper(obj1);
18667 if (arg2 == NULL) SWIG_fail;
18668 temp2 = true;
18669 }
18670 {
18671 PyThreadState* __tstate = wxPyBeginAllowThreads();
18672 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
18673
18674 wxPyEndAllowThreads(__tstate);
18675 if (PyErr_Occurred()) SWIG_fail;
18676 }
18677 resultobj = PyInt_FromLong((long)result);
18678 {
18679 if (temp2)
18680 delete arg2;
18681 }
18682 return resultobj;
18683 fail:
18684 {
18685 if (temp2)
18686 delete arg2;
18687 }
18688 return NULL;
18689}
18690
18691
18692static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
18693 PyObject *resultobj;
18694 wxDateTime *arg1 = (wxDateTime *) 0 ;
18695 wxString *arg2 = 0 ;
18696 wxString const &arg3_defvalue = wxPyDateFormatStr ;
18697 wxString *arg3 = (wxString *) &arg3_defvalue ;
18698 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
18699 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
18700 int result;
18701 bool temp2 = false ;
18702 bool temp3 = false ;
18703 PyObject * obj0 = 0 ;
18704 PyObject * obj1 = 0 ;
18705 PyObject * obj2 = 0 ;
18706 PyObject * obj3 = 0 ;
18707 char *kwnames[] = {
18708 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
18709 };
18710
18711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18713 {
18714 arg2 = wxString_in_helper(obj1);
18715 if (arg2 == NULL) SWIG_fail;
18716 temp2 = true;
18717 }
18718 if (obj2) {
18719 {
18720 arg3 = wxString_in_helper(obj2);
18721 if (arg3 == NULL) SWIG_fail;
18722 temp3 = true;
18723 }
18724 }
18725 if (obj3) {
18726 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18727 if (arg4 == NULL) {
18728 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18729 }
18730 }
18731 {
18732 PyThreadState* __tstate = wxPyBeginAllowThreads();
18733 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
18734
18735 wxPyEndAllowThreads(__tstate);
18736 if (PyErr_Occurred()) SWIG_fail;
18737 }
18738 resultobj = PyInt_FromLong((long)result);
18739 {
18740 if (temp2)
18741 delete arg2;
18742 }
18743 {
18744 if (temp3)
18745 delete arg3;
18746 }
18747 return resultobj;
18748 fail:
18749 {
18750 if (temp2)
18751 delete arg2;
18752 }
18753 {
18754 if (temp3)
18755 delete arg3;
18756 }
18757 return NULL;
18758}
18759
18760
18761static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18762 PyObject *resultobj;
18763 wxDateTime *arg1 = (wxDateTime *) 0 ;
18764 wxString *arg2 = 0 ;
18765 int result;
18766 bool temp2 = false ;
18767 PyObject * obj0 = 0 ;
18768 PyObject * obj1 = 0 ;
18769 char *kwnames[] = {
18770 (char *) "self",(char *) "datetime", NULL
18771 };
18772
18773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
18774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18775 {
18776 arg2 = wxString_in_helper(obj1);
18777 if (arg2 == NULL) SWIG_fail;
18778 temp2 = true;
18779 }
18780 {
18781 PyThreadState* __tstate = wxPyBeginAllowThreads();
18782 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
18783
18784 wxPyEndAllowThreads(__tstate);
18785 if (PyErr_Occurred()) SWIG_fail;
18786 }
18787 resultobj = PyInt_FromLong((long)result);
18788 {
18789 if (temp2)
18790 delete arg2;
18791 }
18792 return resultobj;
18793 fail:
18794 {
18795 if (temp2)
18796 delete arg2;
18797 }
18798 return NULL;
18799}
18800
18801
18802static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
18803 PyObject *resultobj;
18804 wxDateTime *arg1 = (wxDateTime *) 0 ;
18805 wxString *arg2 = 0 ;
18806 int result;
18807 bool temp2 = false ;
18808 PyObject * obj0 = 0 ;
18809 PyObject * obj1 = 0 ;
18810 char *kwnames[] = {
18811 (char *) "self",(char *) "date", NULL
18812 };
18813
18814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
18815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18816 {
18817 arg2 = wxString_in_helper(obj1);
18818 if (arg2 == NULL) SWIG_fail;
18819 temp2 = true;
18820 }
18821 {
18822 PyThreadState* __tstate = wxPyBeginAllowThreads();
18823 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
18824
18825 wxPyEndAllowThreads(__tstate);
18826 if (PyErr_Occurred()) SWIG_fail;
18827 }
18828 resultobj = PyInt_FromLong((long)result);
18829 {
18830 if (temp2)
18831 delete arg2;
18832 }
18833 return resultobj;
18834 fail:
18835 {
18836 if (temp2)
18837 delete arg2;
18838 }
18839 return NULL;
18840}
18841
18842
18843static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18844 PyObject *resultobj;
18845 wxDateTime *arg1 = (wxDateTime *) 0 ;
18846 wxString *arg2 = 0 ;
18847 int result;
18848 bool temp2 = false ;
18849 PyObject * obj0 = 0 ;
18850 PyObject * obj1 = 0 ;
18851 char *kwnames[] = {
18852 (char *) "self",(char *) "time", NULL
18853 };
18854
18855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
18856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18857 {
18858 arg2 = wxString_in_helper(obj1);
18859 if (arg2 == NULL) SWIG_fail;
18860 temp2 = true;
18861 }
18862 {
18863 PyThreadState* __tstate = wxPyBeginAllowThreads();
18864 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
18865
18866 wxPyEndAllowThreads(__tstate);
18867 if (PyErr_Occurred()) SWIG_fail;
18868 }
18869 resultobj = PyInt_FromLong((long)result);
18870 {
18871 if (temp2)
18872 delete arg2;
18873 }
18874 return resultobj;
18875 fail:
18876 {
18877 if (temp2)
18878 delete arg2;
18879 }
18880 return NULL;
18881}
18882
18883
18884static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
18885 PyObject *resultobj;
18886 wxDateTime *arg1 = (wxDateTime *) 0 ;
18887 wxString const &arg2_defvalue = wxPyDateFormatStr ;
18888 wxString *arg2 = (wxString *) &arg2_defvalue ;
18889 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
18890 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
18891 wxString result;
18892 bool temp2 = false ;
18893 PyObject * obj0 = 0 ;
18894 PyObject * obj1 = 0 ;
18895 PyObject * obj2 = 0 ;
18896 char *kwnames[] = {
18897 (char *) "self",(char *) "format",(char *) "tz", NULL
18898 };
18899
18900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
18901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18902 if (obj1) {
18903 {
18904 arg2 = wxString_in_helper(obj1);
18905 if (arg2 == NULL) SWIG_fail;
18906 temp2 = true;
18907 }
18908 }
18909 if (obj2) {
18910 {
18911 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
18912 }
18913 }
18914 {
18915 PyThreadState* __tstate = wxPyBeginAllowThreads();
18916 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
18917
18918 wxPyEndAllowThreads(__tstate);
18919 if (PyErr_Occurred()) SWIG_fail;
18920 }
18921 {
18922#if wxUSE_UNICODE
18923 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18924#else
18925 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18926#endif
18927 }
18928 {
18929 if (temp2)
18930 delete arg2;
18931 }
18932 {
18933 if (arg3) delete arg3;
18934 }
18935 return resultobj;
18936 fail:
18937 {
18938 if (temp2)
18939 delete arg2;
18940 }
18941 {
18942 if (arg3) delete arg3;
18943 }
18944 return NULL;
18945}
18946
18947
18948static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
18949 PyObject *resultobj;
18950 wxDateTime *arg1 = (wxDateTime *) 0 ;
18951 wxString result;
18952 PyObject * obj0 = 0 ;
18953 char *kwnames[] = {
18954 (char *) "self", NULL
18955 };
18956
18957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
18958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18959 {
18960 PyThreadState* __tstate = wxPyBeginAllowThreads();
18961 result = ((wxDateTime const *)arg1)->FormatDate();
18962
18963 wxPyEndAllowThreads(__tstate);
18964 if (PyErr_Occurred()) SWIG_fail;
18965 }
18966 {
18967#if wxUSE_UNICODE
18968 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18969#else
18970 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18971#endif
18972 }
18973 return resultobj;
18974 fail:
18975 return NULL;
18976}
18977
18978
18979static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18980 PyObject *resultobj;
18981 wxDateTime *arg1 = (wxDateTime *) 0 ;
18982 wxString result;
18983 PyObject * obj0 = 0 ;
18984 char *kwnames[] = {
18985 (char *) "self", NULL
18986 };
18987
18988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
18989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18990 {
18991 PyThreadState* __tstate = wxPyBeginAllowThreads();
18992 result = ((wxDateTime const *)arg1)->FormatTime();
18993
18994 wxPyEndAllowThreads(__tstate);
18995 if (PyErr_Occurred()) SWIG_fail;
18996 }
18997 {
18998#if wxUSE_UNICODE
18999 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19000#else
19001 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19002#endif
19003 }
19004 return resultobj;
19005 fail:
19006 return NULL;
19007}
19008
19009
19010static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
19011 PyObject *resultobj;
19012 wxDateTime *arg1 = (wxDateTime *) 0 ;
19013 wxString result;
19014 PyObject * obj0 = 0 ;
19015 char *kwnames[] = {
19016 (char *) "self", NULL
19017 };
19018
19019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
19020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19021 {
19022 PyThreadState* __tstate = wxPyBeginAllowThreads();
19023 result = ((wxDateTime const *)arg1)->FormatISODate();
19024
19025 wxPyEndAllowThreads(__tstate);
19026 if (PyErr_Occurred()) SWIG_fail;
19027 }
19028 {
19029#if wxUSE_UNICODE
19030 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19031#else
19032 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19033#endif
19034 }
19035 return resultobj;
19036 fail:
19037 return NULL;
19038}
19039
19040
19041static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19042 PyObject *resultobj;
19043 wxDateTime *arg1 = (wxDateTime *) 0 ;
19044 wxString result;
19045 PyObject * obj0 = 0 ;
19046 char *kwnames[] = {
19047 (char *) "self", NULL
19048 };
19049
19050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
19051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19052 {
19053 PyThreadState* __tstate = wxPyBeginAllowThreads();
19054 result = ((wxDateTime const *)arg1)->FormatISOTime();
19055
19056 wxPyEndAllowThreads(__tstate);
19057 if (PyErr_Occurred()) SWIG_fail;
19058 }
19059 {
19060#if wxUSE_UNICODE
19061 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19062#else
19063 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19064#endif
19065 }
19066 return resultobj;
19067 fail:
19068 return NULL;
19069}
19070
19071
19072static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
19073 PyObject *obj;
19074 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19075 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
19076 Py_INCREF(obj);
19077 return Py_BuildValue((char *)"");
19078}
19079static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
19080 PyObject *resultobj;
19081 long arg1 ;
19082 wxTimeSpan result;
19083 char *kwnames[] = {
19084 (char *) "sec", NULL
19085 };
19086
19087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Seconds",kwnames,&arg1)) goto fail;
19088 {
19089 PyThreadState* __tstate = wxPyBeginAllowThreads();
19090 result = wxTimeSpan::Seconds(arg1);
19091
19092 wxPyEndAllowThreads(__tstate);
19093 if (PyErr_Occurred()) SWIG_fail;
19094 }
19095 {
19096 wxTimeSpan * resultptr;
19097 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19098 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19099 }
19100 return resultobj;
19101 fail:
19102 return NULL;
19103}
19104
19105
19106static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
19107 PyObject *resultobj;
19108 wxTimeSpan result;
19109 char *kwnames[] = {
19110 NULL
19111 };
19112
19113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
19114 {
19115 PyThreadState* __tstate = wxPyBeginAllowThreads();
19116 result = wxTimeSpan::Second();
19117
19118 wxPyEndAllowThreads(__tstate);
19119 if (PyErr_Occurred()) SWIG_fail;
19120 }
19121 {
19122 wxTimeSpan * resultptr;
19123 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19124 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19125 }
19126 return resultobj;
19127 fail:
19128 return NULL;
19129}
19130
19131
19132static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
19133 PyObject *resultobj;
19134 long arg1 ;
19135 wxTimeSpan result;
19136 char *kwnames[] = {
19137 (char *) "min", NULL
19138 };
19139
19140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Minutes",kwnames,&arg1)) goto fail;
19141 {
19142 PyThreadState* __tstate = wxPyBeginAllowThreads();
19143 result = wxTimeSpan::Minutes(arg1);
19144
19145 wxPyEndAllowThreads(__tstate);
19146 if (PyErr_Occurred()) SWIG_fail;
19147 }
19148 {
19149 wxTimeSpan * resultptr;
19150 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19151 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19152 }
19153 return resultobj;
19154 fail:
19155 return NULL;
19156}
19157
19158
19159static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
19160 PyObject *resultobj;
19161 wxTimeSpan result;
19162 char *kwnames[] = {
19163 NULL
19164 };
19165
19166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
19167 {
19168 PyThreadState* __tstate = wxPyBeginAllowThreads();
19169 result = wxTimeSpan::Minute();
19170
19171 wxPyEndAllowThreads(__tstate);
19172 if (PyErr_Occurred()) SWIG_fail;
19173 }
19174 {
19175 wxTimeSpan * resultptr;
19176 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19177 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19178 }
19179 return resultobj;
19180 fail:
19181 return NULL;
19182}
19183
19184
19185static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
19186 PyObject *resultobj;
19187 long arg1 ;
19188 wxTimeSpan result;
19189 char *kwnames[] = {
19190 (char *) "hours", NULL
19191 };
19192
19193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Hours",kwnames,&arg1)) goto fail;
19194 {
19195 PyThreadState* __tstate = wxPyBeginAllowThreads();
19196 result = wxTimeSpan::Hours(arg1);
19197
19198 wxPyEndAllowThreads(__tstate);
19199 if (PyErr_Occurred()) SWIG_fail;
19200 }
19201 {
19202 wxTimeSpan * resultptr;
19203 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19204 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19205 }
19206 return resultobj;
19207 fail:
19208 return NULL;
19209}
19210
19211
19212static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
19213 PyObject *resultobj;
19214 wxTimeSpan result;
19215 char *kwnames[] = {
19216 NULL
19217 };
19218
19219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
19220 {
19221 PyThreadState* __tstate = wxPyBeginAllowThreads();
19222 result = wxTimeSpan::Hour();
19223
19224 wxPyEndAllowThreads(__tstate);
19225 if (PyErr_Occurred()) SWIG_fail;
19226 }
19227 {
19228 wxTimeSpan * resultptr;
19229 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19230 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19231 }
19232 return resultobj;
19233 fail:
19234 return NULL;
19235}
19236
19237
19238static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
19239 PyObject *resultobj;
19240 long arg1 ;
19241 wxTimeSpan result;
19242 char *kwnames[] = {
19243 (char *) "days", NULL
19244 };
19245
19246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Days",kwnames,&arg1)) goto fail;
19247 {
19248 PyThreadState* __tstate = wxPyBeginAllowThreads();
19249 result = wxTimeSpan::Days(arg1);
19250
19251 wxPyEndAllowThreads(__tstate);
19252 if (PyErr_Occurred()) SWIG_fail;
19253 }
19254 {
19255 wxTimeSpan * resultptr;
19256 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19257 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19258 }
19259 return resultobj;
19260 fail:
19261 return NULL;
19262}
19263
19264
19265static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
19266 PyObject *resultobj;
19267 wxTimeSpan result;
19268 char *kwnames[] = {
19269 NULL
19270 };
19271
19272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
19273 {
19274 PyThreadState* __tstate = wxPyBeginAllowThreads();
19275 result = wxTimeSpan::Day();
19276
19277 wxPyEndAllowThreads(__tstate);
19278 if (PyErr_Occurred()) SWIG_fail;
19279 }
19280 {
19281 wxTimeSpan * resultptr;
19282 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19283 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19284 }
19285 return resultobj;
19286 fail:
19287 return NULL;
19288}
19289
19290
19291static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
19292 PyObject *resultobj;
19293 long arg1 ;
19294 wxTimeSpan result;
19295 char *kwnames[] = {
19296 (char *) "days", NULL
19297 };
19298
19299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Weeks",kwnames,&arg1)) goto fail;
19300 {
19301 PyThreadState* __tstate = wxPyBeginAllowThreads();
19302 result = wxTimeSpan::Weeks(arg1);
19303
19304 wxPyEndAllowThreads(__tstate);
19305 if (PyErr_Occurred()) SWIG_fail;
19306 }
19307 {
19308 wxTimeSpan * resultptr;
19309 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19310 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19311 }
19312 return resultobj;
19313 fail:
19314 return NULL;
19315}
19316
19317
19318static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
19319 PyObject *resultobj;
19320 wxTimeSpan result;
19321 char *kwnames[] = {
19322 NULL
19323 };
19324
19325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
19326 {
19327 PyThreadState* __tstate = wxPyBeginAllowThreads();
19328 result = wxTimeSpan::Week();
19329
19330 wxPyEndAllowThreads(__tstate);
19331 if (PyErr_Occurred()) SWIG_fail;
19332 }
19333 {
19334 wxTimeSpan * resultptr;
19335 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19336 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19337 }
19338 return resultobj;
19339 fail:
19340 return NULL;
19341}
19342
19343
19344static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19345 PyObject *resultobj;
19346 long arg1 = (long) 0 ;
19347 long arg2 = (long) 0 ;
19348 long arg3 = (long) 0 ;
19349 long arg4 = (long) 0 ;
19350 wxTimeSpan *result;
19351 char *kwnames[] = {
19352 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
19353 };
19354
19355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|llll:new_TimeSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
19356 {
19357 PyThreadState* __tstate = wxPyBeginAllowThreads();
19358 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
19359
19360 wxPyEndAllowThreads(__tstate);
19361 if (PyErr_Occurred()) SWIG_fail;
19362 }
19363 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 1);
19364 return resultobj;
19365 fail:
19366 return NULL;
19367}
19368
19369
19370static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19371 PyObject *resultobj;
19372 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19373 PyObject * obj0 = 0 ;
19374 char *kwnames[] = {
19375 (char *) "self", NULL
19376 };
19377
19378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
19379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19380 {
19381 PyThreadState* __tstate = wxPyBeginAllowThreads();
19382 delete arg1;
19383
19384 wxPyEndAllowThreads(__tstate);
19385 if (PyErr_Occurred()) SWIG_fail;
19386 }
19387 Py_INCREF(Py_None); resultobj = Py_None;
19388 return resultobj;
19389 fail:
19390 return NULL;
19391}
19392
19393
19394static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
19395 PyObject *resultobj;
19396 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19397 wxTimeSpan *arg2 = 0 ;
19398 wxTimeSpan *result;
19399 PyObject * obj0 = 0 ;
19400 PyObject * obj1 = 0 ;
19401 char *kwnames[] = {
19402 (char *) "self",(char *) "diff", NULL
19403 };
19404
19405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
19406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19407 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19408 if (arg2 == NULL) {
19409 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19410 }
19411 {
19412 PyThreadState* __tstate = wxPyBeginAllowThreads();
19413 {
19414 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19415 result = (wxTimeSpan *) &_result_ref;
19416 }
19417
19418 wxPyEndAllowThreads(__tstate);
19419 if (PyErr_Occurred()) SWIG_fail;
19420 }
19421 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19422 return resultobj;
19423 fail:
19424 return NULL;
19425}
19426
19427
19428static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19429 PyObject *resultobj;
19430 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19431 wxTimeSpan *arg2 = 0 ;
19432 wxTimeSpan *result;
19433 PyObject * obj0 = 0 ;
19434 PyObject * obj1 = 0 ;
19435 char *kwnames[] = {
19436 (char *) "self",(char *) "diff", NULL
19437 };
19438
19439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
19440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19441 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19442 if (arg2 == NULL) {
19443 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19444 }
19445 {
19446 PyThreadState* __tstate = wxPyBeginAllowThreads();
19447 {
19448 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19449 result = (wxTimeSpan *) &_result_ref;
19450 }
19451
19452 wxPyEndAllowThreads(__tstate);
19453 if (PyErr_Occurred()) SWIG_fail;
19454 }
19455 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19456 return resultobj;
19457 fail:
19458 return NULL;
19459}
19460
19461
19462static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
19463 PyObject *resultobj;
19464 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19465 int arg2 ;
19466 wxTimeSpan *result;
19467 PyObject * obj0 = 0 ;
19468 char *kwnames[] = {
19469 (char *) "self",(char *) "n", NULL
19470 };
19471
19472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
19473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19474 {
19475 PyThreadState* __tstate = wxPyBeginAllowThreads();
19476 {
19477 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
19478 result = (wxTimeSpan *) &_result_ref;
19479 }
19480
19481 wxPyEndAllowThreads(__tstate);
19482 if (PyErr_Occurred()) SWIG_fail;
19483 }
19484 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19485 return resultobj;
19486 fail:
19487 return NULL;
19488}
19489
19490
19491static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
19492 PyObject *resultobj;
19493 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19494 wxTimeSpan *result;
19495 PyObject * obj0 = 0 ;
19496 char *kwnames[] = {
19497 (char *) "self", NULL
19498 };
19499
19500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
19501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19502 {
19503 PyThreadState* __tstate = wxPyBeginAllowThreads();
19504 {
19505 wxTimeSpan &_result_ref = (arg1)->Neg();
19506 result = (wxTimeSpan *) &_result_ref;
19507 }
19508
19509 wxPyEndAllowThreads(__tstate);
19510 if (PyErr_Occurred()) SWIG_fail;
19511 }
19512 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19513 return resultobj;
19514 fail:
19515 return NULL;
19516}
19517
19518
19519static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
19520 PyObject *resultobj;
19521 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19522 wxTimeSpan result;
19523 PyObject * obj0 = 0 ;
19524 char *kwnames[] = {
19525 (char *) "self", NULL
19526 };
19527
19528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
19529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19530 {
19531 PyThreadState* __tstate = wxPyBeginAllowThreads();
19532 result = ((wxTimeSpan const *)arg1)->Abs();
19533
19534 wxPyEndAllowThreads(__tstate);
19535 if (PyErr_Occurred()) SWIG_fail;
19536 }
19537 {
19538 wxTimeSpan * resultptr;
19539 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19540 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19541 }
19542 return resultobj;
19543 fail:
19544 return NULL;
19545}
19546
19547
19548static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
19549 PyObject *resultobj;
19550 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19551 wxTimeSpan *arg2 = 0 ;
19552 wxTimeSpan *result;
19553 PyObject * obj0 = 0 ;
19554 PyObject * obj1 = 0 ;
19555 char *kwnames[] = {
19556 (char *) "self",(char *) "diff", NULL
19557 };
19558
19559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
19560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19561 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19562 if (arg2 == NULL) {
19563 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19564 }
19565 {
19566 PyThreadState* __tstate = wxPyBeginAllowThreads();
19567 {
19568 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19569 result = (wxTimeSpan *) &_result_ref;
19570 }
19571
19572 wxPyEndAllowThreads(__tstate);
19573 if (PyErr_Occurred()) SWIG_fail;
19574 }
19575 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19576 return resultobj;
19577 fail:
19578 return NULL;
19579}
19580
19581
19582static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19583 PyObject *resultobj;
19584 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19585 wxTimeSpan *arg2 = 0 ;
19586 wxTimeSpan *result;
19587 PyObject * obj0 = 0 ;
19588 PyObject * obj1 = 0 ;
19589 char *kwnames[] = {
19590 (char *) "self",(char *) "diff", NULL
19591 };
19592
19593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
19594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19595 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19596 if (arg2 == NULL) {
19597 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19598 }
19599 {
19600 PyThreadState* __tstate = wxPyBeginAllowThreads();
19601 {
19602 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
19603 result = (wxTimeSpan *) &_result_ref;
19604 }
19605
19606 wxPyEndAllowThreads(__tstate);
19607 if (PyErr_Occurred()) SWIG_fail;
19608 }
19609 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19610 return resultobj;
19611 fail:
19612 return NULL;
19613}
19614
19615
19616static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19617 PyObject *resultobj;
19618 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19619 int arg2 ;
19620 wxTimeSpan *result;
19621 PyObject * obj0 = 0 ;
19622 char *kwnames[] = {
19623 (char *) "self",(char *) "n", NULL
19624 };
19625
19626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
19627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19628 {
19629 PyThreadState* __tstate = wxPyBeginAllowThreads();
19630 {
19631 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
19632 result = (wxTimeSpan *) &_result_ref;
19633 }
19634
19635 wxPyEndAllowThreads(__tstate);
19636 if (PyErr_Occurred()) SWIG_fail;
19637 }
19638 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19639 return resultobj;
19640 fail:
19641 return NULL;
19642}
19643
19644
19645static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
19646 PyObject *resultobj;
19647 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19648 wxTimeSpan *result;
19649 PyObject * obj0 = 0 ;
19650 char *kwnames[] = {
19651 (char *) "self", NULL
19652 };
19653
19654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
19655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19656 {
19657 PyThreadState* __tstate = wxPyBeginAllowThreads();
19658 {
19659 wxTimeSpan &_result_ref = (arg1)->operator -();
19660 result = (wxTimeSpan *) &_result_ref;
19661 }
19662
19663 wxPyEndAllowThreads(__tstate);
19664 if (PyErr_Occurred()) SWIG_fail;
19665 }
19666 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19667 return resultobj;
19668 fail:
19669 return NULL;
19670}
19671
19672
19673static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
19674 PyObject *resultobj;
19675 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19676 wxTimeSpan *arg2 = 0 ;
19677 wxTimeSpan result;
19678 PyObject * obj0 = 0 ;
19679 PyObject * obj1 = 0 ;
19680 char *kwnames[] = {
19681 (char *) "self",(char *) "other", NULL
19682 };
19683
19684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
19685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,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 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
19693
19694 wxPyEndAllowThreads(__tstate);
19695 if (PyErr_Occurred()) SWIG_fail;
19696 }
19697 {
19698 wxTimeSpan * resultptr;
19699 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19700 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19701 }
19702 return resultobj;
19703 fail:
19704 return NULL;
19705}
19706
19707
19708static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19709 PyObject *resultobj;
19710 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19711 wxTimeSpan *arg2 = 0 ;
19712 wxTimeSpan result;
19713 PyObject * obj0 = 0 ;
19714 PyObject * obj1 = 0 ;
19715 char *kwnames[] = {
19716 (char *) "self",(char *) "other", NULL
19717 };
19718
19719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
19720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19721 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19722 if (arg2 == NULL) {
19723 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19724 }
19725 {
19726 PyThreadState* __tstate = wxPyBeginAllowThreads();
19727 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
19728
19729 wxPyEndAllowThreads(__tstate);
19730 if (PyErr_Occurred()) SWIG_fail;
19731 }
19732 {
19733 wxTimeSpan * resultptr;
19734 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19735 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19736 }
19737 return resultobj;
19738 fail:
19739 return NULL;
19740}
19741
19742
19743static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19744 PyObject *resultobj;
19745 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19746 int arg2 ;
19747 wxTimeSpan result;
19748 PyObject * obj0 = 0 ;
19749 char *kwnames[] = {
19750 (char *) "self",(char *) "n", NULL
19751 };
19752
19753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
19754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19755 {
19756 PyThreadState* __tstate = wxPyBeginAllowThreads();
19757 result = wxTimeSpan___mul__(arg1,arg2);
19758
19759 wxPyEndAllowThreads(__tstate);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 {
19763 wxTimeSpan * resultptr;
19764 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19765 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19766 }
19767 return resultobj;
19768 fail:
19769 return NULL;
19770}
19771
19772
19773static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19774 PyObject *resultobj;
19775 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19776 int arg2 ;
19777 wxTimeSpan result;
19778 PyObject * obj0 = 0 ;
19779 char *kwnames[] = {
19780 (char *) "self",(char *) "n", NULL
19781 };
19782
19783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
19784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19785 {
19786 PyThreadState* __tstate = wxPyBeginAllowThreads();
19787 result = wxTimeSpan___rmul__(arg1,arg2);
19788
19789 wxPyEndAllowThreads(__tstate);
19790 if (PyErr_Occurred()) SWIG_fail;
19791 }
19792 {
19793 wxTimeSpan * resultptr;
19794 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19795 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19796 }
19797 return resultobj;
19798 fail:
19799 return NULL;
19800}
19801
19802
19803static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19804 PyObject *resultobj;
19805 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19806 wxTimeSpan *arg2 = 0 ;
19807 bool result;
19808 PyObject * obj0 = 0 ;
19809 PyObject * obj1 = 0 ;
19810 char *kwnames[] = {
19811 (char *) "self",(char *) "other", NULL
19812 };
19813
19814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
19815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19816 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19817 if (arg2 == NULL) {
19818 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19819 }
19820 {
19821 PyThreadState* __tstate = wxPyBeginAllowThreads();
19822 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const &)*arg2);
19823
19824 wxPyEndAllowThreads(__tstate);
19825 if (PyErr_Occurred()) SWIG_fail;
19826 }
19827 resultobj = PyInt_FromLong((long)result);
19828 return resultobj;
19829 fail:
19830 return NULL;
19831}
19832
19833
19834static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
19835 PyObject *resultobj;
19836 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19837 wxTimeSpan *arg2 = 0 ;
19838 bool result;
19839 PyObject * obj0 = 0 ;
19840 PyObject * obj1 = 0 ;
19841 char *kwnames[] = {
19842 (char *) "self",(char *) "other", NULL
19843 };
19844
19845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
19846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19847 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19848 if (arg2 == NULL) {
19849 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19850 }
19851 {
19852 PyThreadState* __tstate = wxPyBeginAllowThreads();
19853 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const &)*arg2);
19854
19855 wxPyEndAllowThreads(__tstate);
19856 if (PyErr_Occurred()) SWIG_fail;
19857 }
19858 resultobj = PyInt_FromLong((long)result);
19859 return resultobj;
19860 fail:
19861 return NULL;
19862}
19863
19864
19865static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19866 PyObject *resultobj;
19867 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19868 wxTimeSpan *arg2 = 0 ;
19869 bool result;
19870 PyObject * obj0 = 0 ;
19871 PyObject * obj1 = 0 ;
19872 char *kwnames[] = {
19873 (char *) "self",(char *) "other", NULL
19874 };
19875
19876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
19877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19878 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19879 if (arg2 == NULL) {
19880 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19881 }
19882 {
19883 PyThreadState* __tstate = wxPyBeginAllowThreads();
19884 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const &)*arg2);
19885
19886 wxPyEndAllowThreads(__tstate);
19887 if (PyErr_Occurred()) SWIG_fail;
19888 }
19889 resultobj = PyInt_FromLong((long)result);
19890 return resultobj;
19891 fail:
19892 return NULL;
19893}
19894
19895
19896static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
19897 PyObject *resultobj;
19898 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19899 wxTimeSpan *arg2 = 0 ;
19900 bool result;
19901 PyObject * obj0 = 0 ;
19902 PyObject * obj1 = 0 ;
19903 char *kwnames[] = {
19904 (char *) "self",(char *) "other", NULL
19905 };
19906
19907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
19908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19909 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19910 if (arg2 == NULL) {
19911 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19912 }
19913 {
19914 PyThreadState* __tstate = wxPyBeginAllowThreads();
19915 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const &)*arg2);
19916
19917 wxPyEndAllowThreads(__tstate);
19918 if (PyErr_Occurred()) SWIG_fail;
19919 }
19920 resultobj = PyInt_FromLong((long)result);
19921 return resultobj;
19922 fail:
19923 return NULL;
19924}
19925
19926
19927static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19928 PyObject *resultobj;
19929 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19930 wxTimeSpan *arg2 = 0 ;
19931 bool result;
19932 PyObject * obj0 = 0 ;
19933 PyObject * obj1 = 0 ;
19934 char *kwnames[] = {
19935 (char *) "self",(char *) "other", NULL
19936 };
19937
19938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
19939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19940 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19941 if (arg2 == NULL) {
19942 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19943 }
19944 {
19945 PyThreadState* __tstate = wxPyBeginAllowThreads();
19946 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const &)*arg2);
19947
19948 wxPyEndAllowThreads(__tstate);
19949 if (PyErr_Occurred()) SWIG_fail;
19950 }
19951 resultobj = PyInt_FromLong((long)result);
19952 return resultobj;
19953 fail:
19954 return NULL;
19955}
19956
19957
19958static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19959 PyObject *resultobj;
19960 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19961 wxTimeSpan *arg2 = 0 ;
19962 bool result;
19963 PyObject * obj0 = 0 ;
19964 PyObject * obj1 = 0 ;
19965 char *kwnames[] = {
19966 (char *) "self",(char *) "other", NULL
19967 };
19968
19969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
19970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19971 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19972 if (arg2 == NULL) {
19973 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19974 }
19975 {
19976 PyThreadState* __tstate = wxPyBeginAllowThreads();
19977 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const &)*arg2);
19978
19979 wxPyEndAllowThreads(__tstate);
19980 if (PyErr_Occurred()) SWIG_fail;
19981 }
19982 resultobj = PyInt_FromLong((long)result);
19983 return resultobj;
19984 fail:
19985 return NULL;
19986}
19987
19988
19989static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
19990 PyObject *resultobj;
19991 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19992 bool result;
19993 PyObject * obj0 = 0 ;
19994 char *kwnames[] = {
19995 (char *) "self", NULL
19996 };
19997
19998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
19999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20000 {
20001 PyThreadState* __tstate = wxPyBeginAllowThreads();
20002 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
20003
20004 wxPyEndAllowThreads(__tstate);
20005 if (PyErr_Occurred()) SWIG_fail;
20006 }
20007 resultobj = PyInt_FromLong((long)result);
20008 return resultobj;
20009 fail:
20010 return NULL;
20011}
20012
20013
20014static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
20015 PyObject *resultobj;
20016 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20017 bool result;
20018 PyObject * obj0 = 0 ;
20019 char *kwnames[] = {
20020 (char *) "self", NULL
20021 };
20022
20023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
20024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20025 {
20026 PyThreadState* __tstate = wxPyBeginAllowThreads();
20027 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
20028
20029 wxPyEndAllowThreads(__tstate);
20030 if (PyErr_Occurred()) SWIG_fail;
20031 }
20032 resultobj = PyInt_FromLong((long)result);
20033 return resultobj;
20034 fail:
20035 return NULL;
20036}
20037
20038
20039static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
20040 PyObject *resultobj;
20041 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20042 bool result;
20043 PyObject * obj0 = 0 ;
20044 char *kwnames[] = {
20045 (char *) "self", NULL
20046 };
20047
20048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
20049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20050 {
20051 PyThreadState* __tstate = wxPyBeginAllowThreads();
20052 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
20053
20054 wxPyEndAllowThreads(__tstate);
20055 if (PyErr_Occurred()) SWIG_fail;
20056 }
20057 resultobj = PyInt_FromLong((long)result);
20058 return resultobj;
20059 fail:
20060 return NULL;
20061}
20062
20063
20064static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20065 PyObject *resultobj;
20066 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20067 wxTimeSpan *arg2 = 0 ;
20068 bool result;
20069 PyObject * obj0 = 0 ;
20070 PyObject * obj1 = 0 ;
20071 char *kwnames[] = {
20072 (char *) "self",(char *) "ts", NULL
20073 };
20074
20075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
20076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20077 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20078 if (arg2 == NULL) {
20079 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20080 }
20081 {
20082 PyThreadState* __tstate = wxPyBeginAllowThreads();
20083 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
20084
20085 wxPyEndAllowThreads(__tstate);
20086 if (PyErr_Occurred()) SWIG_fail;
20087 }
20088 resultobj = PyInt_FromLong((long)result);
20089 return resultobj;
20090 fail:
20091 return NULL;
20092}
20093
20094
20095static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20096 PyObject *resultobj;
20097 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20098 wxTimeSpan *arg2 = 0 ;
20099 bool result;
20100 PyObject * obj0 = 0 ;
20101 PyObject * obj1 = 0 ;
20102 char *kwnames[] = {
20103 (char *) "self",(char *) "ts", NULL
20104 };
20105
20106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
20107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20108 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20109 if (arg2 == NULL) {
20110 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20111 }
20112 {
20113 PyThreadState* __tstate = wxPyBeginAllowThreads();
20114 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
20115
20116 wxPyEndAllowThreads(__tstate);
20117 if (PyErr_Occurred()) SWIG_fail;
20118 }
20119 resultobj = PyInt_FromLong((long)result);
20120 return resultobj;
20121 fail:
20122 return NULL;
20123}
20124
20125
20126static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20127 PyObject *resultobj;
20128 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20129 wxTimeSpan *arg2 = 0 ;
20130 bool result;
20131 PyObject * obj0 = 0 ;
20132 PyObject * obj1 = 0 ;
20133 char *kwnames[] = {
20134 (char *) "self",(char *) "t", NULL
20135 };
20136
20137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
20138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20139 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,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 = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
20146
20147 wxPyEndAllowThreads(__tstate);
20148 if (PyErr_Occurred()) SWIG_fail;
20149 }
20150 resultobj = PyInt_FromLong((long)result);
20151 return resultobj;
20152 fail:
20153 return NULL;
20154}
20155
20156
20157static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20158 PyObject *resultobj;
20159 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20160 int result;
20161 PyObject * obj0 = 0 ;
20162 char *kwnames[] = {
20163 (char *) "self", NULL
20164 };
20165
20166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
20167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20168 {
20169 PyThreadState* __tstate = wxPyBeginAllowThreads();
20170 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
20171
20172 wxPyEndAllowThreads(__tstate);
20173 if (PyErr_Occurred()) SWIG_fail;
20174 }
20175 resultobj = PyInt_FromLong((long)result);
20176 return resultobj;
20177 fail:
20178 return NULL;
20179}
20180
20181
20182static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20183 PyObject *resultobj;
20184 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20185 int result;
20186 PyObject * obj0 = 0 ;
20187 char *kwnames[] = {
20188 (char *) "self", NULL
20189 };
20190
20191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
20192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20193 {
20194 PyThreadState* __tstate = wxPyBeginAllowThreads();
20195 result = (int)((wxTimeSpan const *)arg1)->GetDays();
20196
20197 wxPyEndAllowThreads(__tstate);
20198 if (PyErr_Occurred()) SWIG_fail;
20199 }
20200 resultobj = PyInt_FromLong((long)result);
20201 return resultobj;
20202 fail:
20203 return NULL;
20204}
20205
20206
20207static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
20208 PyObject *resultobj;
20209 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20210 int result;
20211 PyObject * obj0 = 0 ;
20212 char *kwnames[] = {
20213 (char *) "self", NULL
20214 };
20215
20216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
20217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20218 {
20219 PyThreadState* __tstate = wxPyBeginAllowThreads();
20220 result = (int)((wxTimeSpan const *)arg1)->GetHours();
20221
20222 wxPyEndAllowThreads(__tstate);
20223 if (PyErr_Occurred()) SWIG_fail;
20224 }
20225 resultobj = PyInt_FromLong((long)result);
20226 return resultobj;
20227 fail:
20228 return NULL;
20229}
20230
20231
20232static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
20233 PyObject *resultobj;
20234 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20235 int result;
20236 PyObject * obj0 = 0 ;
20237 char *kwnames[] = {
20238 (char *) "self", NULL
20239 };
20240
20241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
20242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20243 {
20244 PyThreadState* __tstate = wxPyBeginAllowThreads();
20245 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
20246
20247 wxPyEndAllowThreads(__tstate);
20248 if (PyErr_Occurred()) SWIG_fail;
20249 }
20250 resultobj = PyInt_FromLong((long)result);
20251 return resultobj;
20252 fail:
20253 return NULL;
20254}
20255
20256
20257static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20258 PyObject *resultobj;
20259 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20260 wxLongLong result;
20261 PyObject * obj0 = 0 ;
20262 char *kwnames[] = {
20263 (char *) "self", NULL
20264 };
20265
20266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
20267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20268 {
20269 PyThreadState* __tstate = wxPyBeginAllowThreads();
20270 result = ((wxTimeSpan const *)arg1)->GetSeconds();
20271
20272 wxPyEndAllowThreads(__tstate);
20273 if (PyErr_Occurred()) SWIG_fail;
20274 }
20275 {
20276 PyObject *hi, *lo, *shifter, *shifted;
20277 hi = PyLong_FromLong( (&result)->GetHi() );
20278 lo = PyLong_FromLong( (&result)->GetLo() );
20279 shifter = PyLong_FromLong(32);
20280 shifted = PyNumber_Lshift(hi, shifter);
20281 resultobj = PyNumber_Or(shifted, lo);
20282 Py_DECREF(hi);
20283 Py_DECREF(lo);
20284 Py_DECREF(shifter);
20285 Py_DECREF(shifted);
20286 }
20287 return resultobj;
20288 fail:
20289 return NULL;
20290}
20291
20292
20293static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20294 PyObject *resultobj;
20295 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20296 wxLongLong result;
20297 PyObject * obj0 = 0 ;
20298 char *kwnames[] = {
20299 (char *) "self", NULL
20300 };
20301
20302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
20303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20304 {
20305 PyThreadState* __tstate = wxPyBeginAllowThreads();
20306 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
20307
20308 wxPyEndAllowThreads(__tstate);
20309 if (PyErr_Occurred()) SWIG_fail;
20310 }
20311 {
20312 PyObject *hi, *lo, *shifter, *shifted;
20313 hi = PyLong_FromLong( (&result)->GetHi() );
20314 lo = PyLong_FromLong( (&result)->GetLo() );
20315 shifter = PyLong_FromLong(32);
20316 shifted = PyNumber_Lshift(hi, shifter);
20317 resultobj = PyNumber_Or(shifted, lo);
20318 Py_DECREF(hi);
20319 Py_DECREF(lo);
20320 Py_DECREF(shifter);
20321 Py_DECREF(shifted);
20322 }
20323 return resultobj;
20324 fail:
20325 return NULL;
20326}
20327
20328
20329static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
20330 PyObject *resultobj;
20331 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20332 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
20333 wxString *arg2 = (wxString *) &arg2_defvalue ;
20334 wxString result;
20335 bool temp2 = false ;
20336 PyObject * obj0 = 0 ;
20337 PyObject * obj1 = 0 ;
20338 char *kwnames[] = {
20339 (char *) "self",(char *) "format", NULL
20340 };
20341
20342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
20343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20344 if (obj1) {
20345 {
20346 arg2 = wxString_in_helper(obj1);
20347 if (arg2 == NULL) SWIG_fail;
20348 temp2 = true;
20349 }
20350 }
20351 {
20352 PyThreadState* __tstate = wxPyBeginAllowThreads();
20353 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
20354
20355 wxPyEndAllowThreads(__tstate);
20356 if (PyErr_Occurred()) SWIG_fail;
20357 }
20358 {
20359#if wxUSE_UNICODE
20360 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20361#else
20362 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20363#endif
20364 }
20365 {
20366 if (temp2)
20367 delete arg2;
20368 }
20369 return resultobj;
20370 fail:
20371 {
20372 if (temp2)
20373 delete arg2;
20374 }
20375 return NULL;
20376}
20377
20378
20379static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
20380 PyObject *obj;
20381 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20382 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
20383 Py_INCREF(obj);
20384 return Py_BuildValue((char *)"");
20385}
20386static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20387 PyObject *resultobj;
20388 int arg1 = (int) 0 ;
20389 int arg2 = (int) 0 ;
20390 int arg3 = (int) 0 ;
20391 int arg4 = (int) 0 ;
20392 wxDateSpan *result;
20393 char *kwnames[] = {
20394 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
20395 };
20396
20397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_DateSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
20398 {
20399 PyThreadState* __tstate = wxPyBeginAllowThreads();
20400 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
20401
20402 wxPyEndAllowThreads(__tstate);
20403 if (PyErr_Occurred()) SWIG_fail;
20404 }
20405 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 1);
20406 return resultobj;
20407 fail:
20408 return NULL;
20409}
20410
20411
20412static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20413 PyObject *resultobj;
20414 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20415 PyObject * obj0 = 0 ;
20416 char *kwnames[] = {
20417 (char *) "self", NULL
20418 };
20419
20420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
20421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20422 {
20423 PyThreadState* __tstate = wxPyBeginAllowThreads();
20424 delete arg1;
20425
20426 wxPyEndAllowThreads(__tstate);
20427 if (PyErr_Occurred()) SWIG_fail;
20428 }
20429 Py_INCREF(Py_None); resultobj = Py_None;
20430 return resultobj;
20431 fail:
20432 return NULL;
20433}
20434
20435
20436static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
20437 PyObject *resultobj;
20438 int arg1 ;
20439 wxDateSpan result;
20440 char *kwnames[] = {
20441 (char *) "days", NULL
20442 };
20443
20444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Days",kwnames,&arg1)) goto fail;
20445 {
20446 PyThreadState* __tstate = wxPyBeginAllowThreads();
20447 result = wxDateSpan::Days(arg1);
20448
20449 wxPyEndAllowThreads(__tstate);
20450 if (PyErr_Occurred()) SWIG_fail;
20451 }
20452 {
20453 wxDateSpan * resultptr;
20454 resultptr = new wxDateSpan((wxDateSpan &) result);
20455 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20456 }
20457 return resultobj;
20458 fail:
20459 return NULL;
20460}
20461
20462
20463static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
20464 PyObject *resultobj;
20465 wxDateSpan result;
20466 char *kwnames[] = {
20467 NULL
20468 };
20469
20470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
20471 {
20472 PyThreadState* __tstate = wxPyBeginAllowThreads();
20473 result = wxDateSpan::Day();
20474
20475 wxPyEndAllowThreads(__tstate);
20476 if (PyErr_Occurred()) SWIG_fail;
20477 }
20478 {
20479 wxDateSpan * resultptr;
20480 resultptr = new wxDateSpan((wxDateSpan &) result);
20481 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20482 }
20483 return resultobj;
20484 fail:
20485 return NULL;
20486}
20487
20488
20489static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20490 PyObject *resultobj;
20491 int arg1 ;
20492 wxDateSpan result;
20493 char *kwnames[] = {
20494 (char *) "weeks", NULL
20495 };
20496
20497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Weeks",kwnames,&arg1)) goto fail;
20498 {
20499 PyThreadState* __tstate = wxPyBeginAllowThreads();
20500 result = wxDateSpan::Weeks(arg1);
20501
20502 wxPyEndAllowThreads(__tstate);
20503 if (PyErr_Occurred()) SWIG_fail;
20504 }
20505 {
20506 wxDateSpan * resultptr;
20507 resultptr = new wxDateSpan((wxDateSpan &) result);
20508 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20509 }
20510 return resultobj;
20511 fail:
20512 return NULL;
20513}
20514
20515
20516static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
20517 PyObject *resultobj;
20518 wxDateSpan result;
20519 char *kwnames[] = {
20520 NULL
20521 };
20522
20523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
20524 {
20525 PyThreadState* __tstate = wxPyBeginAllowThreads();
20526 result = wxDateSpan::Week();
20527
20528 wxPyEndAllowThreads(__tstate);
20529 if (PyErr_Occurred()) SWIG_fail;
20530 }
20531 {
20532 wxDateSpan * resultptr;
20533 resultptr = new wxDateSpan((wxDateSpan &) result);
20534 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20535 }
20536 return resultobj;
20537 fail:
20538 return NULL;
20539}
20540
20541
20542static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
20543 PyObject *resultobj;
20544 int arg1 ;
20545 wxDateSpan result;
20546 char *kwnames[] = {
20547 (char *) "mon", NULL
20548 };
20549
20550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Months",kwnames,&arg1)) goto fail;
20551 {
20552 PyThreadState* __tstate = wxPyBeginAllowThreads();
20553 result = wxDateSpan::Months(arg1);
20554
20555 wxPyEndAllowThreads(__tstate);
20556 if (PyErr_Occurred()) SWIG_fail;
20557 }
20558 {
20559 wxDateSpan * resultptr;
20560 resultptr = new wxDateSpan((wxDateSpan &) result);
20561 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20562 }
20563 return resultobj;
20564 fail:
20565 return NULL;
20566}
20567
20568
20569static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
20570 PyObject *resultobj;
20571 wxDateSpan result;
20572 char *kwnames[] = {
20573 NULL
20574 };
20575
20576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
20577 {
20578 PyThreadState* __tstate = wxPyBeginAllowThreads();
20579 result = wxDateSpan::Month();
20580
20581 wxPyEndAllowThreads(__tstate);
20582 if (PyErr_Occurred()) SWIG_fail;
20583 }
20584 {
20585 wxDateSpan * resultptr;
20586 resultptr = new wxDateSpan((wxDateSpan &) result);
20587 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20588 }
20589 return resultobj;
20590 fail:
20591 return NULL;
20592}
20593
20594
20595static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
20596 PyObject *resultobj;
20597 int arg1 ;
20598 wxDateSpan result;
20599 char *kwnames[] = {
20600 (char *) "years", NULL
20601 };
20602
20603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Years",kwnames,&arg1)) goto fail;
20604 {
20605 PyThreadState* __tstate = wxPyBeginAllowThreads();
20606 result = wxDateSpan::Years(arg1);
20607
20608 wxPyEndAllowThreads(__tstate);
20609 if (PyErr_Occurred()) SWIG_fail;
20610 }
20611 {
20612 wxDateSpan * resultptr;
20613 resultptr = new wxDateSpan((wxDateSpan &) result);
20614 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20615 }
20616 return resultobj;
20617 fail:
20618 return NULL;
20619}
20620
20621
20622static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
20623 PyObject *resultobj;
20624 wxDateSpan result;
20625 char *kwnames[] = {
20626 NULL
20627 };
20628
20629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
20630 {
20631 PyThreadState* __tstate = wxPyBeginAllowThreads();
20632 result = wxDateSpan::Year();
20633
20634 wxPyEndAllowThreads(__tstate);
20635 if (PyErr_Occurred()) SWIG_fail;
20636 }
20637 {
20638 wxDateSpan * resultptr;
20639 resultptr = new wxDateSpan((wxDateSpan &) result);
20640 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20641 }
20642 return resultobj;
20643 fail:
20644 return NULL;
20645}
20646
20647
20648static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20649 PyObject *resultobj;
20650 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20651 int arg2 ;
20652 wxDateSpan *result;
20653 PyObject * obj0 = 0 ;
20654 char *kwnames[] = {
20655 (char *) "self",(char *) "n", NULL
20656 };
20657
20658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetYears",kwnames,&obj0,&arg2)) goto fail;
20659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20660 {
20661 PyThreadState* __tstate = wxPyBeginAllowThreads();
20662 {
20663 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
20664 result = (wxDateSpan *) &_result_ref;
20665 }
20666
20667 wxPyEndAllowThreads(__tstate);
20668 if (PyErr_Occurred()) SWIG_fail;
20669 }
20670 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20671 return resultobj;
20672 fail:
20673 return NULL;
20674}
20675
20676
20677static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20678 PyObject *resultobj;
20679 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20680 int arg2 ;
20681 wxDateSpan *result;
20682 PyObject * obj0 = 0 ;
20683 char *kwnames[] = {
20684 (char *) "self",(char *) "n", NULL
20685 };
20686
20687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetMonths",kwnames,&obj0,&arg2)) goto fail;
20688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20689 {
20690 PyThreadState* __tstate = wxPyBeginAllowThreads();
20691 {
20692 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
20693 result = (wxDateSpan *) &_result_ref;
20694 }
20695
20696 wxPyEndAllowThreads(__tstate);
20697 if (PyErr_Occurred()) SWIG_fail;
20698 }
20699 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20700 return resultobj;
20701 fail:
20702 return NULL;
20703}
20704
20705
20706static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20707 PyObject *resultobj;
20708 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20709 int arg2 ;
20710 wxDateSpan *result;
20711 PyObject * obj0 = 0 ;
20712 char *kwnames[] = {
20713 (char *) "self",(char *) "n", NULL
20714 };
20715
20716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetWeeks",kwnames,&obj0,&arg2)) goto fail;
20717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20718 {
20719 PyThreadState* __tstate = wxPyBeginAllowThreads();
20720 {
20721 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
20722 result = (wxDateSpan *) &_result_ref;
20723 }
20724
20725 wxPyEndAllowThreads(__tstate);
20726 if (PyErr_Occurred()) SWIG_fail;
20727 }
20728 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20729 return resultobj;
20730 fail:
20731 return NULL;
20732}
20733
20734
20735static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20736 PyObject *resultobj;
20737 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20738 int arg2 ;
20739 wxDateSpan *result;
20740 PyObject * obj0 = 0 ;
20741 char *kwnames[] = {
20742 (char *) "self",(char *) "n", NULL
20743 };
20744
20745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetDays",kwnames,&obj0,&arg2)) goto fail;
20746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20747 {
20748 PyThreadState* __tstate = wxPyBeginAllowThreads();
20749 {
20750 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
20751 result = (wxDateSpan *) &_result_ref;
20752 }
20753
20754 wxPyEndAllowThreads(__tstate);
20755 if (PyErr_Occurred()) SWIG_fail;
20756 }
20757 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20758 return resultobj;
20759 fail:
20760 return NULL;
20761}
20762
20763
20764static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20765 PyObject *resultobj;
20766 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20767 int result;
20768 PyObject * obj0 = 0 ;
20769 char *kwnames[] = {
20770 (char *) "self", NULL
20771 };
20772
20773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
20774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20775 {
20776 PyThreadState* __tstate = wxPyBeginAllowThreads();
20777 result = (int)((wxDateSpan const *)arg1)->GetYears();
20778
20779 wxPyEndAllowThreads(__tstate);
20780 if (PyErr_Occurred()) SWIG_fail;
20781 }
20782 resultobj = PyInt_FromLong((long)result);
20783 return resultobj;
20784 fail:
20785 return NULL;
20786}
20787
20788
20789static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20790 PyObject *resultobj;
20791 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20792 int result;
20793 PyObject * obj0 = 0 ;
20794 char *kwnames[] = {
20795 (char *) "self", NULL
20796 };
20797
20798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
20799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20800 {
20801 PyThreadState* __tstate = wxPyBeginAllowThreads();
20802 result = (int)((wxDateSpan const *)arg1)->GetMonths();
20803
20804 wxPyEndAllowThreads(__tstate);
20805 if (PyErr_Occurred()) SWIG_fail;
20806 }
20807 resultobj = PyInt_FromLong((long)result);
20808 return resultobj;
20809 fail:
20810 return NULL;
20811}
20812
20813
20814static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20815 PyObject *resultobj;
20816 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20817 int result;
20818 PyObject * obj0 = 0 ;
20819 char *kwnames[] = {
20820 (char *) "self", NULL
20821 };
20822
20823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
20824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20825 {
20826 PyThreadState* __tstate = wxPyBeginAllowThreads();
20827 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
20828
20829 wxPyEndAllowThreads(__tstate);
20830 if (PyErr_Occurred()) SWIG_fail;
20831 }
20832 resultobj = PyInt_FromLong((long)result);
20833 return resultobj;
20834 fail:
20835 return NULL;
20836}
20837
20838
20839static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20840 PyObject *resultobj;
20841 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20842 int result;
20843 PyObject * obj0 = 0 ;
20844 char *kwnames[] = {
20845 (char *) "self", NULL
20846 };
20847
20848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
20849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20850 {
20851 PyThreadState* __tstate = wxPyBeginAllowThreads();
20852 result = (int)((wxDateSpan const *)arg1)->GetDays();
20853
20854 wxPyEndAllowThreads(__tstate);
20855 if (PyErr_Occurred()) SWIG_fail;
20856 }
20857 resultobj = PyInt_FromLong((long)result);
20858 return resultobj;
20859 fail:
20860 return NULL;
20861}
20862
20863
20864static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20865 PyObject *resultobj;
20866 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20867 int result;
20868 PyObject * obj0 = 0 ;
20869 char *kwnames[] = {
20870 (char *) "self", NULL
20871 };
20872
20873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
20874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20875 {
20876 PyThreadState* __tstate = wxPyBeginAllowThreads();
20877 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
20878
20879 wxPyEndAllowThreads(__tstate);
20880 if (PyErr_Occurred()) SWIG_fail;
20881 }
20882 resultobj = PyInt_FromLong((long)result);
20883 return resultobj;
20884 fail:
20885 return NULL;
20886}
20887
20888
20889static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
20890 PyObject *resultobj;
20891 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20892 wxDateSpan *arg2 = 0 ;
20893 wxDateSpan *result;
20894 PyObject * obj0 = 0 ;
20895 PyObject * obj1 = 0 ;
20896 char *kwnames[] = {
20897 (char *) "self",(char *) "other", NULL
20898 };
20899
20900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
20901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20902 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20903 if (arg2 == NULL) {
20904 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20905 }
20906 {
20907 PyThreadState* __tstate = wxPyBeginAllowThreads();
20908 {
20909 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
20910 result = (wxDateSpan *) &_result_ref;
20911 }
20912
20913 wxPyEndAllowThreads(__tstate);
20914 if (PyErr_Occurred()) SWIG_fail;
20915 }
20916 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20917 return resultobj;
20918 fail:
20919 return NULL;
20920}
20921
20922
20923static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
20924 PyObject *resultobj;
20925 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20926 wxDateSpan *arg2 = 0 ;
20927 wxDateSpan *result;
20928 PyObject * obj0 = 0 ;
20929 PyObject * obj1 = 0 ;
20930 char *kwnames[] = {
20931 (char *) "self",(char *) "other", NULL
20932 };
20933
20934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
20935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20936 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20937 if (arg2 == NULL) {
20938 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20939 }
20940 {
20941 PyThreadState* __tstate = wxPyBeginAllowThreads();
20942 {
20943 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
20944 result = (wxDateSpan *) &_result_ref;
20945 }
20946
20947 wxPyEndAllowThreads(__tstate);
20948 if (PyErr_Occurred()) SWIG_fail;
20949 }
20950 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20951 return resultobj;
20952 fail:
20953 return NULL;
20954}
20955
20956
20957static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
20958 PyObject *resultobj;
20959 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20960 wxDateSpan *result;
20961 PyObject * obj0 = 0 ;
20962 char *kwnames[] = {
20963 (char *) "self", NULL
20964 };
20965
20966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
20967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20968 {
20969 PyThreadState* __tstate = wxPyBeginAllowThreads();
20970 {
20971 wxDateSpan &_result_ref = (arg1)->Neg();
20972 result = (wxDateSpan *) &_result_ref;
20973 }
20974
20975 wxPyEndAllowThreads(__tstate);
20976 if (PyErr_Occurred()) SWIG_fail;
20977 }
20978 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20979 return resultobj;
20980 fail:
20981 return NULL;
20982}
20983
20984
20985static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
20986 PyObject *resultobj;
20987 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20988 int arg2 ;
20989 wxDateSpan *result;
20990 PyObject * obj0 = 0 ;
20991 char *kwnames[] = {
20992 (char *) "self",(char *) "factor", NULL
20993 };
20994
20995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
20996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20997 {
20998 PyThreadState* __tstate = wxPyBeginAllowThreads();
20999 {
21000 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
21001 result = (wxDateSpan *) &_result_ref;
21002 }
21003
21004 wxPyEndAllowThreads(__tstate);
21005 if (PyErr_Occurred()) SWIG_fail;
21006 }
21007 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21008 return resultobj;
21009 fail:
21010 return NULL;
21011}
21012
21013
21014static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21015 PyObject *resultobj;
21016 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21017 wxDateSpan *arg2 = 0 ;
21018 wxDateSpan *result;
21019 PyObject * obj0 = 0 ;
21020 PyObject * obj1 = 0 ;
21021 char *kwnames[] = {
21022 (char *) "self",(char *) "other", NULL
21023 };
21024
21025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21027 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21028 if (arg2 == NULL) {
21029 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21030 }
21031 {
21032 PyThreadState* __tstate = wxPyBeginAllowThreads();
21033 {
21034 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
21035 result = (wxDateSpan *) &_result_ref;
21036 }
21037
21038 wxPyEndAllowThreads(__tstate);
21039 if (PyErr_Occurred()) SWIG_fail;
21040 }
21041 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21042 return resultobj;
21043 fail:
21044 return NULL;
21045}
21046
21047
21048static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21049 PyObject *resultobj;
21050 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21051 wxDateSpan *arg2 = 0 ;
21052 wxDateSpan *result;
21053 PyObject * obj0 = 0 ;
21054 PyObject * obj1 = 0 ;
21055 char *kwnames[] = {
21056 (char *) "self",(char *) "other", NULL
21057 };
21058
21059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21061 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21062 if (arg2 == NULL) {
21063 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21064 }
21065 {
21066 PyThreadState* __tstate = wxPyBeginAllowThreads();
21067 {
21068 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
21069 result = (wxDateSpan *) &_result_ref;
21070 }
21071
21072 wxPyEndAllowThreads(__tstate);
21073 if (PyErr_Occurred()) SWIG_fail;
21074 }
21075 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21076 return resultobj;
21077 fail:
21078 return NULL;
21079}
21080
21081
21082static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21083 PyObject *resultobj;
21084 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21085 wxDateSpan *result;
21086 PyObject * obj0 = 0 ;
21087 char *kwnames[] = {
21088 (char *) "self", NULL
21089 };
21090
21091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
21092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21093 {
21094 PyThreadState* __tstate = wxPyBeginAllowThreads();
21095 {
21096 wxDateSpan &_result_ref = (arg1)->operator -();
21097 result = (wxDateSpan *) &_result_ref;
21098 }
21099
21100 wxPyEndAllowThreads(__tstate);
21101 if (PyErr_Occurred()) SWIG_fail;
21102 }
21103 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21104 return resultobj;
21105 fail:
21106 return NULL;
21107}
21108
21109
21110static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21111 PyObject *resultobj;
21112 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21113 int arg2 ;
21114 wxDateSpan *result;
21115 PyObject * obj0 = 0 ;
21116 char *kwnames[] = {
21117 (char *) "self",(char *) "factor", NULL
21118 };
21119
21120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
21121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21122 {
21123 PyThreadState* __tstate = wxPyBeginAllowThreads();
21124 {
21125 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
21126 result = (wxDateSpan *) &_result_ref;
21127 }
21128
21129 wxPyEndAllowThreads(__tstate);
21130 if (PyErr_Occurred()) SWIG_fail;
21131 }
21132 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21133 return resultobj;
21134 fail:
21135 return NULL;
21136}
21137
21138
21139static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21140 PyObject *resultobj;
21141 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21142 wxDateSpan *arg2 = 0 ;
21143 wxDateSpan result;
21144 PyObject * obj0 = 0 ;
21145 PyObject * obj1 = 0 ;
21146 char *kwnames[] = {
21147 (char *) "self",(char *) "other", NULL
21148 };
21149
21150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21152 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21153 if (arg2 == NULL) {
21154 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21155 }
21156 {
21157 PyThreadState* __tstate = wxPyBeginAllowThreads();
21158 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
21159
21160 wxPyEndAllowThreads(__tstate);
21161 if (PyErr_Occurred()) SWIG_fail;
21162 }
21163 {
21164 wxDateSpan * resultptr;
21165 resultptr = new wxDateSpan((wxDateSpan &) result);
21166 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21167 }
21168 return resultobj;
21169 fail:
21170 return NULL;
21171}
21172
21173
21174static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21175 PyObject *resultobj;
21176 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21177 wxDateSpan *arg2 = 0 ;
21178 wxDateSpan result;
21179 PyObject * obj0 = 0 ;
21180 PyObject * obj1 = 0 ;
21181 char *kwnames[] = {
21182 (char *) "self",(char *) "other", NULL
21183 };
21184
21185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21187 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21188 if (arg2 == NULL) {
21189 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21190 }
21191 {
21192 PyThreadState* __tstate = wxPyBeginAllowThreads();
21193 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
21194
21195 wxPyEndAllowThreads(__tstate);
21196 if (PyErr_Occurred()) SWIG_fail;
21197 }
21198 {
21199 wxDateSpan * resultptr;
21200 resultptr = new wxDateSpan((wxDateSpan &) result);
21201 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21202 }
21203 return resultobj;
21204 fail:
21205 return NULL;
21206}
21207
21208
21209static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21210 PyObject *resultobj;
21211 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21212 int arg2 ;
21213 wxDateSpan result;
21214 PyObject * obj0 = 0 ;
21215 char *kwnames[] = {
21216 (char *) "self",(char *) "n", NULL
21217 };
21218
21219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
21220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21221 {
21222 PyThreadState* __tstate = wxPyBeginAllowThreads();
21223 result = wxDateSpan___mul__(arg1,arg2);
21224
21225 wxPyEndAllowThreads(__tstate);
21226 if (PyErr_Occurred()) SWIG_fail;
21227 }
21228 {
21229 wxDateSpan * resultptr;
21230 resultptr = new wxDateSpan((wxDateSpan &) result);
21231 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21232 }
21233 return resultobj;
21234 fail:
21235 return NULL;
21236}
21237
21238
21239static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21240 PyObject *resultobj;
21241 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21242 int arg2 ;
21243 wxDateSpan result;
21244 PyObject * obj0 = 0 ;
21245 char *kwnames[] = {
21246 (char *) "self",(char *) "n", NULL
21247 };
21248
21249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
21250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21251 {
21252 PyThreadState* __tstate = wxPyBeginAllowThreads();
21253 result = wxDateSpan___rmul__(arg1,arg2);
21254
21255 wxPyEndAllowThreads(__tstate);
21256 if (PyErr_Occurred()) SWIG_fail;
21257 }
21258 {
21259 wxDateSpan * resultptr;
21260 resultptr = new wxDateSpan((wxDateSpan &) result);
21261 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21262 }
21263 return resultobj;
21264 fail:
21265 return NULL;
21266}
21267
21268
21269static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
21270 PyObject *resultobj;
21271 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21272 wxDateSpan *arg2 = 0 ;
21273 bool result;
21274 PyObject * obj0 = 0 ;
21275 PyObject * obj1 = 0 ;
21276 char *kwnames[] = {
21277 (char *) "self",(char *) "other", NULL
21278 };
21279
21280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
21281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21282 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21283 if (arg2 == NULL) {
21284 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21285 }
21286 {
21287 PyThreadState* __tstate = wxPyBeginAllowThreads();
21288 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const &)*arg2);
21289
21290 wxPyEndAllowThreads(__tstate);
21291 if (PyErr_Occurred()) SWIG_fail;
21292 }
21293 resultobj = PyInt_FromLong((long)result);
21294 return resultobj;
21295 fail:
21296 return NULL;
21297}
21298
21299
21300static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
21301 PyObject *resultobj;
21302 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21303 wxDateSpan *arg2 = 0 ;
21304 bool result;
21305 PyObject * obj0 = 0 ;
21306 PyObject * obj1 = 0 ;
21307 char *kwnames[] = {
21308 (char *) "self",(char *) "other", NULL
21309 };
21310
21311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
21312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21313 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21314 if (arg2 == NULL) {
21315 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21316 }
21317 {
21318 PyThreadState* __tstate = wxPyBeginAllowThreads();
21319 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const &)*arg2);
21320
21321 wxPyEndAllowThreads(__tstate);
21322 if (PyErr_Occurred()) SWIG_fail;
21323 }
21324 resultobj = PyInt_FromLong((long)result);
21325 return resultobj;
21326 fail:
21327 return NULL;
21328}
21329
21330
21331static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
21332 PyObject *obj;
21333 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21334 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
21335 Py_INCREF(obj);
21336 return Py_BuildValue((char *)"");
21337}
21338static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21339 PyObject *resultobj;
21340 long result;
21341 char *kwnames[] = {
21342 NULL
21343 };
21344
21345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
21346 {
21347 PyThreadState* __tstate = wxPyBeginAllowThreads();
21348 result = (long)wxGetLocalTime();
21349
21350 wxPyEndAllowThreads(__tstate);
21351 if (PyErr_Occurred()) SWIG_fail;
21352 }
21353 resultobj = PyInt_FromLong((long)result);
21354 return resultobj;
21355 fail:
21356 return NULL;
21357}
21358
21359
21360static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21361 PyObject *resultobj;
21362 long result;
21363 char *kwnames[] = {
21364 NULL
21365 };
21366
21367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
21368 {
21369 PyThreadState* __tstate = wxPyBeginAllowThreads();
21370 result = (long)wxGetUTCTime();
21371
21372 wxPyEndAllowThreads(__tstate);
21373 if (PyErr_Occurred()) SWIG_fail;
21374 }
21375 resultobj = PyInt_FromLong((long)result);
21376 return resultobj;
21377 fail:
21378 return NULL;
21379}
21380
21381
21382static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21383 PyObject *resultobj;
21384 long result;
21385 char *kwnames[] = {
21386 NULL
21387 };
21388
21389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
21390 {
21391 PyThreadState* __tstate = wxPyBeginAllowThreads();
21392 result = (long)wxGetCurrentTime();
21393
21394 wxPyEndAllowThreads(__tstate);
21395 if (PyErr_Occurred()) SWIG_fail;
21396 }
21397 resultobj = PyInt_FromLong((long)result);
21398 return resultobj;
21399 fail:
21400 return NULL;
21401}
21402
21403
21404static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
21405 PyObject *resultobj;
21406 wxLongLong result;
21407 char *kwnames[] = {
21408 NULL
21409 };
21410
21411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
21412 {
21413 PyThreadState* __tstate = wxPyBeginAllowThreads();
21414 result = wxGetLocalTimeMillis();
21415
21416 wxPyEndAllowThreads(__tstate);
21417 if (PyErr_Occurred()) SWIG_fail;
21418 }
21419 {
21420 PyObject *hi, *lo, *shifter, *shifted;
21421 hi = PyLong_FromLong( (&result)->GetHi() );
21422 lo = PyLong_FromLong( (&result)->GetLo() );
21423 shifter = PyLong_FromLong(32);
21424 shifted = PyNumber_Lshift(hi, shifter);
21425 resultobj = PyNumber_Or(shifted, lo);
21426 Py_DECREF(hi);
21427 Py_DECREF(lo);
21428 Py_DECREF(shifter);
21429 Py_DECREF(shifted);
21430 }
21431 return resultobj;
21432 fail:
21433 return NULL;
21434}
21435
21436
21437static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21438 PyObject *resultobj;
21439 int arg1 ;
21440 wxDataFormat *result;
21441 char *kwnames[] = {
21442 (char *) "type", NULL
21443 };
21444
21445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:new_DataFormat",kwnames,&arg1)) goto fail;
21446 {
21447 PyThreadState* __tstate = wxPyBeginAllowThreads();
21448 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
21449
21450 wxPyEndAllowThreads(__tstate);
21451 if (PyErr_Occurred()) SWIG_fail;
21452 }
21453 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21454 return resultobj;
21455 fail:
21456 return NULL;
21457}
21458
21459
21460static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21461 PyObject *resultobj;
21462 wxString *arg1 = 0 ;
21463 wxDataFormat *result;
21464 bool temp1 = false ;
21465 PyObject * obj0 = 0 ;
21466 char *kwnames[] = {
21467 (char *) "format", NULL
21468 };
21469
21470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
21471 {
21472 arg1 = wxString_in_helper(obj0);
21473 if (arg1 == NULL) SWIG_fail;
21474 temp1 = true;
21475 }
21476 {
21477 PyThreadState* __tstate = wxPyBeginAllowThreads();
21478 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
21479
21480 wxPyEndAllowThreads(__tstate);
21481 if (PyErr_Occurred()) SWIG_fail;
21482 }
21483 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21484 {
21485 if (temp1)
21486 delete arg1;
21487 }
21488 return resultobj;
21489 fail:
21490 {
21491 if (temp1)
21492 delete arg1;
21493 }
21494 return NULL;
21495}
21496
21497
21498static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21499 PyObject *resultobj;
21500 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21501 PyObject * obj0 = 0 ;
21502 char *kwnames[] = {
21503 (char *) "self", NULL
21504 };
21505
21506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
21507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21508 {
21509 PyThreadState* __tstate = wxPyBeginAllowThreads();
21510 delete arg1;
21511
21512 wxPyEndAllowThreads(__tstate);
21513 if (PyErr_Occurred()) SWIG_fail;
21514 }
21515 Py_INCREF(Py_None); resultobj = Py_None;
21516 return resultobj;
21517 fail:
21518 return NULL;
21519}
21520
21521
21522static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
21523 PyObject *resultobj;
21524 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21525 int arg2 ;
21526 bool result;
21527 PyObject * obj0 = 0 ;
21528
21529 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___eq__",&obj0,&arg2)) goto fail;
21530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21531 {
21532 PyThreadState* __tstate = wxPyBeginAllowThreads();
21533 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
21534
21535 wxPyEndAllowThreads(__tstate);
21536 if (PyErr_Occurred()) SWIG_fail;
21537 }
21538 resultobj = PyInt_FromLong((long)result);
21539 return resultobj;
21540 fail:
21541 return NULL;
21542}
21543
21544
21545static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
21546 PyObject *resultobj;
21547 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21548 int arg2 ;
21549 bool result;
21550 PyObject * obj0 = 0 ;
21551
21552 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___ne__",&obj0,&arg2)) goto fail;
21553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21554 {
21555 PyThreadState* __tstate = wxPyBeginAllowThreads();
21556 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
21557
21558 wxPyEndAllowThreads(__tstate);
21559 if (PyErr_Occurred()) SWIG_fail;
21560 }
21561 resultobj = PyInt_FromLong((long)result);
21562 return resultobj;
21563 fail:
21564 return NULL;
21565}
21566
21567
21568static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
21569 PyObject *resultobj;
21570 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21571 wxDataFormat *arg2 = 0 ;
21572 bool result;
21573 PyObject * obj0 = 0 ;
21574 PyObject * obj1 = 0 ;
21575
21576 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
21577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21578 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21579 if (arg2 == NULL) {
21580 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21581 }
21582 {
21583 PyThreadState* __tstate = wxPyBeginAllowThreads();
21584 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
21585
21586 wxPyEndAllowThreads(__tstate);
21587 if (PyErr_Occurred()) SWIG_fail;
21588 }
21589 resultobj = PyInt_FromLong((long)result);
21590 return resultobj;
21591 fail:
21592 return NULL;
21593}
21594
21595
21596static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
21597 int argc;
21598 PyObject *argv[3];
21599 int ii;
21600
21601 argc = PyObject_Length(args);
21602 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21603 argv[ii] = PyTuple_GetItem(args,ii);
21604 }
21605 if (argc == 2) {
21606 int _v;
21607 {
21608 void *ptr;
21609 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21610 _v = 0;
21611 PyErr_Clear();
21612 } else {
21613 _v = 1;
21614 }
21615 }
21616 if (_v) {
21617 {
21618 void *ptr;
21619 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21620 _v = 0;
21621 PyErr_Clear();
21622 } else {
21623 _v = 1;
21624 }
21625 }
21626 if (_v) {
21627 return _wrap_DataFormat___eq____SWIG_1(self,args);
21628 }
21629 }
21630 }
21631 if (argc == 2) {
21632 int _v;
21633 {
21634 void *ptr;
21635 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21636 _v = 0;
21637 PyErr_Clear();
21638 } else {
21639 _v = 1;
21640 }
21641 }
21642 if (_v) {
21643 {
21644 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21645 }
21646 if (_v) {
21647 return _wrap_DataFormat___eq____SWIG_0(self,args);
21648 }
21649 }
21650 }
21651
21652 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
21653 return NULL;
21654}
21655
21656
21657static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
21658 PyObject *resultobj;
21659 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21660 wxDataFormat *arg2 = 0 ;
21661 bool result;
21662 PyObject * obj0 = 0 ;
21663 PyObject * obj1 = 0 ;
21664
21665 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
21666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21667 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21668 if (arg2 == NULL) {
21669 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21670 }
21671 {
21672 PyThreadState* __tstate = wxPyBeginAllowThreads();
21673 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
21674
21675 wxPyEndAllowThreads(__tstate);
21676 if (PyErr_Occurred()) SWIG_fail;
21677 }
21678 resultobj = PyInt_FromLong((long)result);
21679 return resultobj;
21680 fail:
21681 return NULL;
21682}
21683
21684
21685static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
21686 int argc;
21687 PyObject *argv[3];
21688 int ii;
21689
21690 argc = PyObject_Length(args);
21691 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21692 argv[ii] = PyTuple_GetItem(args,ii);
21693 }
21694 if (argc == 2) {
21695 int _v;
21696 {
21697 void *ptr;
21698 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21699 _v = 0;
21700 PyErr_Clear();
21701 } else {
21702 _v = 1;
21703 }
21704 }
21705 if (_v) {
21706 {
21707 void *ptr;
21708 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21709 _v = 0;
21710 PyErr_Clear();
21711 } else {
21712 _v = 1;
21713 }
21714 }
21715 if (_v) {
21716 return _wrap_DataFormat___ne____SWIG_1(self,args);
21717 }
21718 }
21719 }
21720 if (argc == 2) {
21721 int _v;
21722 {
21723 void *ptr;
21724 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21725 _v = 0;
21726 PyErr_Clear();
21727 } else {
21728 _v = 1;
21729 }
21730 }
21731 if (_v) {
21732 {
21733 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21734 }
21735 if (_v) {
21736 return _wrap_DataFormat___ne____SWIG_0(self,args);
21737 }
21738 }
21739 }
21740
21741 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
21742 return NULL;
21743}
21744
21745
21746static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21747 PyObject *resultobj;
21748 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21749 int arg2 ;
21750 PyObject * obj0 = 0 ;
21751 char *kwnames[] = {
21752 (char *) "self",(char *) "format", NULL
21753 };
21754
21755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DataFormat_SetType",kwnames,&obj0,&arg2)) goto fail;
21756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21757 {
21758 PyThreadState* __tstate = wxPyBeginAllowThreads();
21759 (arg1)->SetType((wxDataFormatId )arg2);
21760
21761 wxPyEndAllowThreads(__tstate);
21762 if (PyErr_Occurred()) SWIG_fail;
21763 }
21764 Py_INCREF(Py_None); resultobj = Py_None;
21765 return resultobj;
21766 fail:
21767 return NULL;
21768}
21769
21770
21771static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21772 PyObject *resultobj;
21773 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21774 int result;
21775 PyObject * obj0 = 0 ;
21776 char *kwnames[] = {
21777 (char *) "self", NULL
21778 };
21779
21780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
21781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21782 {
21783 PyThreadState* __tstate = wxPyBeginAllowThreads();
21784 result = (int)((wxDataFormat const *)arg1)->GetType();
21785
21786 wxPyEndAllowThreads(__tstate);
21787 if (PyErr_Occurred()) SWIG_fail;
21788 }
21789 resultobj = PyInt_FromLong((long)result);
21790 return resultobj;
21791 fail:
21792 return NULL;
21793}
21794
21795
21796static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21797 PyObject *resultobj;
21798 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21799 wxString result;
21800 PyObject * obj0 = 0 ;
21801 char *kwnames[] = {
21802 (char *) "self", NULL
21803 };
21804
21805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
21806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21807 {
21808 PyThreadState* __tstate = wxPyBeginAllowThreads();
21809 result = ((wxDataFormat const *)arg1)->GetId();
21810
21811 wxPyEndAllowThreads(__tstate);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 }
21814 {
21815#if wxUSE_UNICODE
21816 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21817#else
21818 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21819#endif
21820 }
21821 return resultobj;
21822 fail:
21823 return NULL;
21824}
21825
21826
21827static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21828 PyObject *resultobj;
21829 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21830 wxString *arg2 = 0 ;
21831 bool temp2 = false ;
21832 PyObject * obj0 = 0 ;
21833 PyObject * obj1 = 0 ;
21834 char *kwnames[] = {
21835 (char *) "self",(char *) "format", NULL
21836 };
21837
21838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
21839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21840 {
21841 arg2 = wxString_in_helper(obj1);
21842 if (arg2 == NULL) SWIG_fail;
21843 temp2 = true;
21844 }
21845 {
21846 PyThreadState* __tstate = wxPyBeginAllowThreads();
21847 (arg1)->SetId((wxString const &)*arg2);
21848
21849 wxPyEndAllowThreads(__tstate);
21850 if (PyErr_Occurred()) SWIG_fail;
21851 }
21852 Py_INCREF(Py_None); resultobj = Py_None;
21853 {
21854 if (temp2)
21855 delete arg2;
21856 }
21857 return resultobj;
21858 fail:
21859 {
21860 if (temp2)
21861 delete arg2;
21862 }
21863 return NULL;
21864}
21865
21866
21867static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
21868 PyObject *obj;
21869 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21870 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
21871 Py_INCREF(obj);
21872 return Py_BuildValue((char *)"");
21873}
21874static int _wrap_FormatInvalid_set(PyObject *_val) {
21875 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
21876 return 1;
21877}
21878
21879
21880static PyObject *_wrap_FormatInvalid_get() {
21881 PyObject *pyobj;
21882
21883 pyobj = SWIG_NewPointerObj((void *) &wxFormatInvalid, SWIGTYPE_p_wxDataFormat, 0);
21884 return pyobj;
21885}
21886
21887
21888static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
21889 PyObject *resultobj;
21890 wxDataObject *arg1 = (wxDataObject *) 0 ;
21891 PyObject * obj0 = 0 ;
21892 char *kwnames[] = {
21893 (char *) "self", NULL
21894 };
21895
21896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
21897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21898 {
21899 PyThreadState* __tstate = wxPyBeginAllowThreads();
21900 delete arg1;
21901
21902 wxPyEndAllowThreads(__tstate);
21903 if (PyErr_Occurred()) SWIG_fail;
21904 }
21905 Py_INCREF(Py_None); resultobj = Py_None;
21906 return resultobj;
21907 fail:
21908 return NULL;
21909}
21910
21911
21912static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21913 PyObject *resultobj;
21914 wxDataObject *arg1 = (wxDataObject *) 0 ;
21915 int arg2 = (int) wxDataObject::Get ;
21916 SwigValueWrapper< wxDataFormat > result;
21917 PyObject * obj0 = 0 ;
21918 char *kwnames[] = {
21919 (char *) "self",(char *) "dir", NULL
21920 };
21921
21922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetPreferredFormat",kwnames,&obj0,&arg2)) goto fail;
21923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21924 {
21925 PyThreadState* __tstate = wxPyBeginAllowThreads();
21926 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
21927
21928 wxPyEndAllowThreads(__tstate);
21929 if (PyErr_Occurred()) SWIG_fail;
21930 }
21931 {
21932 wxDataFormat * resultptr;
21933 resultptr = new wxDataFormat((wxDataFormat &) result);
21934 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDataFormat, 1);
21935 }
21936 return resultobj;
21937 fail:
21938 return NULL;
21939}
21940
21941
21942static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21943 PyObject *resultobj;
21944 wxDataObject *arg1 = (wxDataObject *) 0 ;
21945 int arg2 = (int) wxDataObject::Get ;
21946 size_t result;
21947 PyObject * obj0 = 0 ;
21948 char *kwnames[] = {
21949 (char *) "self",(char *) "dir", NULL
21950 };
21951
21952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetFormatCount",kwnames,&obj0,&arg2)) goto fail;
21953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21954 {
21955 PyThreadState* __tstate = wxPyBeginAllowThreads();
21956 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
21957
21958 wxPyEndAllowThreads(__tstate);
21959 if (PyErr_Occurred()) SWIG_fail;
21960 }
21961 resultobj = PyInt_FromLong((long)result);
21962 return resultobj;
21963 fail:
21964 return NULL;
21965}
21966
21967
21968static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
21969 PyObject *resultobj;
21970 wxDataObject *arg1 = (wxDataObject *) 0 ;
21971 wxDataFormat *arg2 = 0 ;
21972 int arg3 = (int) wxDataObject::Get ;
21973 bool result;
21974 PyObject * obj0 = 0 ;
21975 PyObject * obj1 = 0 ;
21976 char *kwnames[] = {
21977 (char *) "self",(char *) "format",(char *) "dir", NULL
21978 };
21979
21980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_IsSupported",kwnames,&obj0,&obj1,&arg3)) goto fail;
21981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21982 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21983 if (arg2 == NULL) {
21984 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21985 }
21986 {
21987 PyThreadState* __tstate = wxPyBeginAllowThreads();
21988 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
21989
21990 wxPyEndAllowThreads(__tstate);
21991 if (PyErr_Occurred()) SWIG_fail;
21992 }
21993 resultobj = PyInt_FromLong((long)result);
21994 return resultobj;
21995 fail:
21996 return NULL;
21997}
21998
21999
22000static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22001 PyObject *resultobj;
22002 wxDataObject *arg1 = (wxDataObject *) 0 ;
22003 wxDataFormat *arg2 = 0 ;
22004 size_t result;
22005 PyObject * obj0 = 0 ;
22006 PyObject * obj1 = 0 ;
22007 char *kwnames[] = {
22008 (char *) "self",(char *) "format", NULL
22009 };
22010
22011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
22012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22013 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22014 if (arg2 == NULL) {
22015 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22016 }
22017 {
22018 PyThreadState* __tstate = wxPyBeginAllowThreads();
22019 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
22020
22021 wxPyEndAllowThreads(__tstate);
22022 if (PyErr_Occurred()) SWIG_fail;
22023 }
22024 resultobj = PyInt_FromLong((long)result);
22025 return resultobj;
22026 fail:
22027 return NULL;
22028}
22029
22030
22031static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
22032 PyObject *resultobj;
22033 wxDataObject *arg1 = (wxDataObject *) 0 ;
22034 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
22035 int arg3 = (int) wxDataObject::Get ;
22036 PyObject * obj0 = 0 ;
22037 PyObject * obj1 = 0 ;
22038 char *kwnames[] = {
22039 (char *) "self",(char *) "formats",(char *) "dir", NULL
22040 };
22041
22042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&arg3)) goto fail;
22043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22044 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22045 {
22046 PyThreadState* __tstate = wxPyBeginAllowThreads();
22047 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
22048
22049 wxPyEndAllowThreads(__tstate);
22050 if (PyErr_Occurred()) SWIG_fail;
22051 }
22052 Py_INCREF(Py_None); resultobj = Py_None;
22053 return resultobj;
22054 fail:
22055 return NULL;
22056}
22057
22058
22059static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
22060 PyObject *resultobj;
22061 wxDataObject *arg1 = (wxDataObject *) 0 ;
22062 wxDataFormat *arg2 = 0 ;
22063 void *arg3 = (void *) 0 ;
22064 bool result;
22065 PyObject * obj0 = 0 ;
22066 PyObject * obj1 = 0 ;
22067 PyObject * obj2 = 0 ;
22068 char *kwnames[] = {
22069 (char *) "self",(char *) "format",(char *) "buf", NULL
22070 };
22071
22072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
22073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22074 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22075 if (arg2 == NULL) {
22076 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22077 }
22078 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22079 {
22080 PyThreadState* __tstate = wxPyBeginAllowThreads();
22081 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
22082
22083 wxPyEndAllowThreads(__tstate);
22084 if (PyErr_Occurred()) SWIG_fail;
22085 }
22086 resultobj = PyInt_FromLong((long)result);
22087 return resultobj;
22088 fail:
22089 return NULL;
22090}
22091
22092
22093static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22094 PyObject *resultobj;
22095 wxDataObject *arg1 = (wxDataObject *) 0 ;
22096 wxDataFormat *arg2 = 0 ;
22097 size_t arg3 ;
22098 void *arg4 = (void *) 0 ;
22099 bool result;
22100 PyObject * obj0 = 0 ;
22101 PyObject * obj1 = 0 ;
22102 PyObject * obj2 = 0 ;
22103 PyObject * obj3 = 0 ;
22104 char *kwnames[] = {
22105 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
22106 };
22107
22108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22110 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22111 if (arg2 == NULL) {
22112 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22113 }
22114 arg3 = (size_t) PyInt_AsLong(obj2);
22115 if (PyErr_Occurred()) SWIG_fail;
22116 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22117 {
22118 PyThreadState* __tstate = wxPyBeginAllowThreads();
22119 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
22120
22121 wxPyEndAllowThreads(__tstate);
22122 if (PyErr_Occurred()) SWIG_fail;
22123 }
22124 resultobj = PyInt_FromLong((long)result);
22125 return resultobj;
22126 fail:
22127 return NULL;
22128}
22129
22130
22131static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
22132 PyObject *obj;
22133 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22134 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
22135 Py_INCREF(obj);
22136 return Py_BuildValue((char *)"");
22137}
22138static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22139 PyObject *resultobj;
22140 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22141 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22142 wxDataObjectSimple *result;
22143 PyObject * obj0 = 0 ;
22144 char *kwnames[] = {
22145 (char *) "format", NULL
22146 };
22147
22148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
22149 if (obj0) {
22150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22151 if (arg1 == NULL) {
22152 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22153 }
22154 }
22155 {
22156 PyThreadState* __tstate = wxPyBeginAllowThreads();
22157 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
22158
22159 wxPyEndAllowThreads(__tstate);
22160 if (PyErr_Occurred()) SWIG_fail;
22161 }
22162 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectSimple, 1);
22163 return resultobj;
22164 fail:
22165 return NULL;
22166}
22167
22168
22169static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22170 PyObject *resultobj;
22171 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22172 wxDataFormat *result;
22173 PyObject * obj0 = 0 ;
22174 char *kwnames[] = {
22175 (char *) "self", NULL
22176 };
22177
22178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
22179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22180 {
22181 PyThreadState* __tstate = wxPyBeginAllowThreads();
22182 {
22183 wxDataFormat const &_result_ref = (arg1)->GetFormat();
22184 result = (wxDataFormat *) &_result_ref;
22185 }
22186
22187 wxPyEndAllowThreads(__tstate);
22188 if (PyErr_Occurred()) SWIG_fail;
22189 }
22190 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 0);
22191 return resultobj;
22192 fail:
22193 return NULL;
22194}
22195
22196
22197static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22198 PyObject *resultobj;
22199 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22200 wxDataFormat *arg2 = 0 ;
22201 PyObject * obj0 = 0 ;
22202 PyObject * obj1 = 0 ;
22203 char *kwnames[] = {
22204 (char *) "self",(char *) "format", NULL
22205 };
22206
22207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
22208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22209 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22210 if (arg2 == NULL) {
22211 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22212 }
22213 {
22214 PyThreadState* __tstate = wxPyBeginAllowThreads();
22215 (arg1)->SetFormat((wxDataFormat const &)*arg2);
22216
22217 wxPyEndAllowThreads(__tstate);
22218 if (PyErr_Occurred()) SWIG_fail;
22219 }
22220 Py_INCREF(Py_None); resultobj = Py_None;
22221 return resultobj;
22222 fail:
22223 return NULL;
22224}
22225
22226
22227static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22228 PyObject *obj;
22229 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22230 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
22231 Py_INCREF(obj);
22232 return Py_BuildValue((char *)"");
22233}
22234static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22235 PyObject *resultobj;
22236 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22237 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22238 wxPyDataObjectSimple *result;
22239 PyObject * obj0 = 0 ;
22240 char *kwnames[] = {
22241 (char *) "format", NULL
22242 };
22243
22244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
22245 if (obj0) {
22246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22247 if (arg1 == NULL) {
22248 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22249 }
22250 }
22251 {
22252 PyThreadState* __tstate = wxPyBeginAllowThreads();
22253 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
22254
22255 wxPyEndAllowThreads(__tstate);
22256 if (PyErr_Occurred()) SWIG_fail;
22257 }
22258 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDataObjectSimple, 1);
22259 return resultobj;
22260 fail:
22261 return NULL;
22262}
22263
22264
22265static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22266 PyObject *resultobj;
22267 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
22268 PyObject *arg2 = (PyObject *) 0 ;
22269 PyObject *arg3 = (PyObject *) 0 ;
22270 PyObject * obj0 = 0 ;
22271 PyObject * obj1 = 0 ;
22272 PyObject * obj2 = 0 ;
22273 char *kwnames[] = {
22274 (char *) "self",(char *) "self",(char *) "_class", NULL
22275 };
22276
22277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22279 arg2 = obj1;
22280 arg3 = obj2;
22281 {
22282 PyThreadState* __tstate = wxPyBeginAllowThreads();
22283 (arg1)->_setCallbackInfo(arg2,arg3);
22284
22285 wxPyEndAllowThreads(__tstate);
22286 if (PyErr_Occurred()) SWIG_fail;
22287 }
22288 Py_INCREF(Py_None); resultobj = Py_None;
22289 return resultobj;
22290 fail:
22291 return NULL;
22292}
22293
22294
22295static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22296 PyObject *obj;
22297 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22298 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
22299 Py_INCREF(obj);
22300 return Py_BuildValue((char *)"");
22301}
22302static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
22303 PyObject *resultobj;
22304 wxDataObjectComposite *result;
22305 char *kwnames[] = {
22306 NULL
22307 };
22308
22309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
22310 {
22311 PyThreadState* __tstate = wxPyBeginAllowThreads();
22312 result = (wxDataObjectComposite *)new wxDataObjectComposite();
22313
22314 wxPyEndAllowThreads(__tstate);
22315 if (PyErr_Occurred()) SWIG_fail;
22316 }
22317 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectComposite, 1);
22318 return resultobj;
22319 fail:
22320 return NULL;
22321}
22322
22323
22324static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
22325 PyObject *resultobj;
22326 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
22327 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
22328 int arg3 = (int) FALSE ;
22329 PyObject * obj0 = 0 ;
22330 PyObject * obj1 = 0 ;
22331 char *kwnames[] = {
22332 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
22333 };
22334
22335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObjectComposite_Add",kwnames,&obj0,&obj1,&arg3)) goto fail;
22336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectComposite,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22337 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22338 {
22339 PyThreadState* __tstate = wxPyBeginAllowThreads();
22340 (arg1)->Add(arg2,arg3);
22341
22342 wxPyEndAllowThreads(__tstate);
22343 if (PyErr_Occurred()) SWIG_fail;
22344 }
22345 Py_INCREF(Py_None); resultobj = Py_None;
22346 return resultobj;
22347 fail:
22348 return NULL;
22349}
22350
22351
22352static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
22353 PyObject *obj;
22354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22355 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
22356 Py_INCREF(obj);
22357 return Py_BuildValue((char *)"");
22358}
22359static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22360 PyObject *resultobj;
22361 wxString const &arg1_defvalue = wxPyEmptyString ;
22362 wxString *arg1 = (wxString *) &arg1_defvalue ;
22363 wxTextDataObject *result;
22364 bool temp1 = false ;
22365 PyObject * obj0 = 0 ;
22366 char *kwnames[] = {
22367 (char *) "text", NULL
22368 };
22369
22370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
22371 if (obj0) {
22372 {
22373 arg1 = wxString_in_helper(obj0);
22374 if (arg1 == NULL) SWIG_fail;
22375 temp1 = true;
22376 }
22377 }
22378 {
22379 PyThreadState* __tstate = wxPyBeginAllowThreads();
22380 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
22381
22382 wxPyEndAllowThreads(__tstate);
22383 if (PyErr_Occurred()) SWIG_fail;
22384 }
22385 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextDataObject, 1);
22386 {
22387 if (temp1)
22388 delete arg1;
22389 }
22390 return resultobj;
22391 fail:
22392 {
22393 if (temp1)
22394 delete arg1;
22395 }
22396 return NULL;
22397}
22398
22399
22400static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
22401 PyObject *resultobj;
22402 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22403 size_t result;
22404 PyObject * obj0 = 0 ;
22405 char *kwnames[] = {
22406 (char *) "self", NULL
22407 };
22408
22409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
22410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22411 {
22412 PyThreadState* __tstate = wxPyBeginAllowThreads();
22413 result = (size_t)(arg1)->GetTextLength();
22414
22415 wxPyEndAllowThreads(__tstate);
22416 if (PyErr_Occurred()) SWIG_fail;
22417 }
22418 resultobj = PyInt_FromLong((long)result);
22419 return resultobj;
22420 fail:
22421 return NULL;
22422}
22423
22424
22425static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22426 PyObject *resultobj;
22427 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22428 wxString result;
22429 PyObject * obj0 = 0 ;
22430 char *kwnames[] = {
22431 (char *) "self", NULL
22432 };
22433
22434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
22435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22436 {
22437 PyThreadState* __tstate = wxPyBeginAllowThreads();
22438 result = (arg1)->GetText();
22439
22440 wxPyEndAllowThreads(__tstate);
22441 if (PyErr_Occurred()) SWIG_fail;
22442 }
22443 {
22444#if wxUSE_UNICODE
22445 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22446#else
22447 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22448#endif
22449 }
22450 return resultobj;
22451 fail:
22452 return NULL;
22453}
22454
22455
22456static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22457 PyObject *resultobj;
22458 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22459 wxString *arg2 = 0 ;
22460 bool temp2 = false ;
22461 PyObject * obj0 = 0 ;
22462 PyObject * obj1 = 0 ;
22463 char *kwnames[] = {
22464 (char *) "self",(char *) "text", NULL
22465 };
22466
22467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
22468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22469 {
22470 arg2 = wxString_in_helper(obj1);
22471 if (arg2 == NULL) SWIG_fail;
22472 temp2 = true;
22473 }
22474 {
22475 PyThreadState* __tstate = wxPyBeginAllowThreads();
22476 (arg1)->SetText((wxString const &)*arg2);
22477
22478 wxPyEndAllowThreads(__tstate);
22479 if (PyErr_Occurred()) SWIG_fail;
22480 }
22481 Py_INCREF(Py_None); resultobj = Py_None;
22482 {
22483 if (temp2)
22484 delete arg2;
22485 }
22486 return resultobj;
22487 fail:
22488 {
22489 if (temp2)
22490 delete arg2;
22491 }
22492 return NULL;
22493}
22494
22495
22496static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
22497 PyObject *obj;
22498 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22499 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
22500 Py_INCREF(obj);
22501 return Py_BuildValue((char *)"");
22502}
22503static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22504 PyObject *resultobj;
22505 wxString const &arg1_defvalue = wxPyEmptyString ;
22506 wxString *arg1 = (wxString *) &arg1_defvalue ;
22507 wxPyTextDataObject *result;
22508 bool temp1 = false ;
22509 PyObject * obj0 = 0 ;
22510 char *kwnames[] = {
22511 (char *) "text", NULL
22512 };
22513
22514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
22515 if (obj0) {
22516 {
22517 arg1 = wxString_in_helper(obj0);
22518 if (arg1 == NULL) SWIG_fail;
22519 temp1 = true;
22520 }
22521 }
22522 {
22523 PyThreadState* __tstate = wxPyBeginAllowThreads();
22524 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
22525
22526 wxPyEndAllowThreads(__tstate);
22527 if (PyErr_Occurred()) SWIG_fail;
22528 }
22529 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDataObject, 1);
22530 {
22531 if (temp1)
22532 delete arg1;
22533 }
22534 return resultobj;
22535 fail:
22536 {
22537 if (temp1)
22538 delete arg1;
22539 }
22540 return NULL;
22541}
22542
22543
22544static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22545 PyObject *resultobj;
22546 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
22547 PyObject *arg2 = (PyObject *) 0 ;
22548 PyObject *arg3 = (PyObject *) 0 ;
22549 PyObject * obj0 = 0 ;
22550 PyObject * obj1 = 0 ;
22551 PyObject * obj2 = 0 ;
22552 char *kwnames[] = {
22553 (char *) "self",(char *) "self",(char *) "_class", NULL
22554 };
22555
22556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22558 arg2 = obj1;
22559 arg3 = obj2;
22560 {
22561 PyThreadState* __tstate = wxPyBeginAllowThreads();
22562 (arg1)->_setCallbackInfo(arg2,arg3);
22563
22564 wxPyEndAllowThreads(__tstate);
22565 if (PyErr_Occurred()) SWIG_fail;
22566 }
22567 Py_INCREF(Py_None); resultobj = Py_None;
22568 return resultobj;
22569 fail:
22570 return NULL;
22571}
22572
22573
22574static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
22575 PyObject *obj;
22576 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22577 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
22578 Py_INCREF(obj);
22579 return Py_BuildValue((char *)"");
22580}
22581static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22582 PyObject *resultobj;
22583 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22584 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22585 wxBitmapDataObject *result;
22586 PyObject * obj0 = 0 ;
22587 char *kwnames[] = {
22588 (char *) "bitmap", NULL
22589 };
22590
22591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
22592 if (obj0) {
22593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22594 if (arg1 == NULL) {
22595 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22596 }
22597 }
22598 {
22599 PyThreadState* __tstate = wxPyBeginAllowThreads();
22600 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
22601
22602 wxPyEndAllowThreads(__tstate);
22603 if (PyErr_Occurred()) SWIG_fail;
22604 }
22605 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmapDataObject, 1);
22606 return resultobj;
22607 fail:
22608 return NULL;
22609}
22610
22611
22612static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22613 PyObject *resultobj;
22614 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22615 wxBitmap result;
22616 PyObject * obj0 = 0 ;
22617 char *kwnames[] = {
22618 (char *) "self", NULL
22619 };
22620
22621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
22622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22623 {
22624 PyThreadState* __tstate = wxPyBeginAllowThreads();
22625 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
22626
22627 wxPyEndAllowThreads(__tstate);
22628 if (PyErr_Occurred()) SWIG_fail;
22629 }
22630 {
22631 wxBitmap * resultptr;
22632 resultptr = new wxBitmap((wxBitmap &) result);
22633 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
22634 }
22635 return resultobj;
22636 fail:
22637 return NULL;
22638}
22639
22640
22641static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22642 PyObject *resultobj;
22643 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22644 wxBitmap *arg2 = 0 ;
22645 PyObject * obj0 = 0 ;
22646 PyObject * obj1 = 0 ;
22647 char *kwnames[] = {
22648 (char *) "self",(char *) "bitmap", NULL
22649 };
22650
22651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
22652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22653 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22654 if (arg2 == NULL) {
22655 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22656 }
22657 {
22658 PyThreadState* __tstate = wxPyBeginAllowThreads();
22659 (arg1)->SetBitmap((wxBitmap const &)*arg2);
22660
22661 wxPyEndAllowThreads(__tstate);
22662 if (PyErr_Occurred()) SWIG_fail;
22663 }
22664 Py_INCREF(Py_None); resultobj = Py_None;
22665 return resultobj;
22666 fail:
22667 return NULL;
22668}
22669
22670
22671static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22672 PyObject *obj;
22673 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22674 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
22675 Py_INCREF(obj);
22676 return Py_BuildValue((char *)"");
22677}
22678static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22679 PyObject *resultobj;
22680 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22681 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22682 wxPyBitmapDataObject *result;
22683 PyObject * obj0 = 0 ;
22684 char *kwnames[] = {
22685 (char *) "bitmap", NULL
22686 };
22687
22688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
22689 if (obj0) {
22690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22691 if (arg1 == NULL) {
22692 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22693 }
22694 }
22695 {
22696 PyThreadState* __tstate = wxPyBeginAllowThreads();
22697 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
22698
22699 wxPyEndAllowThreads(__tstate);
22700 if (PyErr_Occurred()) SWIG_fail;
22701 }
22702 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapDataObject, 1);
22703 return resultobj;
22704 fail:
22705 return NULL;
22706}
22707
22708
22709static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22710 PyObject *resultobj;
22711 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
22712 PyObject *arg2 = (PyObject *) 0 ;
22713 PyObject *arg3 = (PyObject *) 0 ;
22714 PyObject * obj0 = 0 ;
22715 PyObject * obj1 = 0 ;
22716 PyObject * obj2 = 0 ;
22717 char *kwnames[] = {
22718 (char *) "self",(char *) "self",(char *) "_class", NULL
22719 };
22720
22721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22723 arg2 = obj1;
22724 arg3 = obj2;
22725 {
22726 PyThreadState* __tstate = wxPyBeginAllowThreads();
22727 (arg1)->_setCallbackInfo(arg2,arg3);
22728
22729 wxPyEndAllowThreads(__tstate);
22730 if (PyErr_Occurred()) SWIG_fail;
22731 }
22732 Py_INCREF(Py_None); resultobj = Py_None;
22733 return resultobj;
22734 fail:
22735 return NULL;
22736}
22737
22738
22739static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22740 PyObject *obj;
22741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22742 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
22743 Py_INCREF(obj);
22744 return Py_BuildValue((char *)"");
22745}
22746static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22747 PyObject *resultobj;
22748 wxFileDataObject *result;
22749 char *kwnames[] = {
22750 NULL
22751 };
22752
22753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
22754 {
22755 PyThreadState* __tstate = wxPyBeginAllowThreads();
22756 result = (wxFileDataObject *)new wxFileDataObject();
22757
22758 wxPyEndAllowThreads(__tstate);
22759 if (PyErr_Occurred()) SWIG_fail;
22760 }
22761 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDataObject, 1);
22762 return resultobj;
22763 fail:
22764 return NULL;
22765}
22766
22767
22768static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
22769 PyObject *resultobj;
22770 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
22771 wxArrayString *result;
22772 PyObject * obj0 = 0 ;
22773 char *kwnames[] = {
22774 (char *) "self", NULL
22775 };
22776
22777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
22778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22779 {
22780 PyThreadState* __tstate = wxPyBeginAllowThreads();
22781 {
22782 wxArrayString const &_result_ref = (arg1)->GetFilenames();
22783 result = (wxArrayString *) &_result_ref;
22784 }
22785
22786 wxPyEndAllowThreads(__tstate);
22787 if (PyErr_Occurred()) SWIG_fail;
22788 }
22789 {
22790 resultobj = wxArrayString2PyList_helper(*result);
22791 }
22792 return resultobj;
22793 fail:
22794 return NULL;
22795}
22796
22797
22798static PyObject *_wrap_FileDataObject_AddFile(PyObject *self, PyObject *args, PyObject *kwargs) {
22799 PyObject *resultobj;
22800 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
22801 wxString *arg2 = 0 ;
22802 bool temp2 = false ;
22803 PyObject * obj0 = 0 ;
22804 PyObject * obj1 = 0 ;
22805 char *kwnames[] = {
22806 (char *) "self",(char *) "filename", NULL
22807 };
22808
22809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
22810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22811 {
22812 arg2 = wxString_in_helper(obj1);
22813 if (arg2 == NULL) SWIG_fail;
22814 temp2 = true;
22815 }
22816 {
22817 PyThreadState* __tstate = wxPyBeginAllowThreads();
22818 (arg1)->AddFile((wxString const &)*arg2);
22819
22820 wxPyEndAllowThreads(__tstate);
22821 if (PyErr_Occurred()) SWIG_fail;
22822 }
22823 Py_INCREF(Py_None); resultobj = Py_None;
22824 {
22825 if (temp2)
22826 delete arg2;
22827 }
22828 return resultobj;
22829 fail:
22830 {
22831 if (temp2)
22832 delete arg2;
22833 }
22834 return NULL;
22835}
22836
22837
22838static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
22839 PyObject *obj;
22840 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22841 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
22842 Py_INCREF(obj);
22843 return Py_BuildValue((char *)"");
22844}
22845static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22846 PyObject *resultobj;
22847 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22848 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22849 wxCustomDataObject *result;
22850 PyObject * obj0 = 0 ;
22851 char *kwnames[] = {
22852 (char *) "format", NULL
22853 };
22854
22855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
22856 if (obj0) {
22857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22858 if (arg1 == NULL) {
22859 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22860 }
22861 }
22862 {
22863 PyThreadState* __tstate = wxPyBeginAllowThreads();
22864 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
22865
22866 wxPyEndAllowThreads(__tstate);
22867 if (PyErr_Occurred()) SWIG_fail;
22868 }
22869 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCustomDataObject, 1);
22870 return resultobj;
22871 fail:
22872 return NULL;
22873}
22874
22875
22876static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
22877 PyObject *resultobj;
22878 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22879 PyObject *arg2 = (PyObject *) 0 ;
22880 PyObject * obj0 = 0 ;
22881 PyObject * obj1 = 0 ;
22882 char *kwnames[] = {
22883 (char *) "self",(char *) "data", NULL
22884 };
22885
22886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
22887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22888 arg2 = obj1;
22889 {
22890 PyThreadState* __tstate = wxPyBeginAllowThreads();
22891 wxCustomDataObject_TakeData(arg1,arg2);
22892
22893 wxPyEndAllowThreads(__tstate);
22894 if (PyErr_Occurred()) SWIG_fail;
22895 }
22896 Py_INCREF(Py_None); resultobj = Py_None;
22897 return resultobj;
22898 fail:
22899 return NULL;
22900}
22901
22902
22903static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22904 PyObject *resultobj;
22905 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22906 PyObject *arg2 = (PyObject *) 0 ;
22907 bool result;
22908 PyObject * obj0 = 0 ;
22909 PyObject * obj1 = 0 ;
22910 char *kwnames[] = {
22911 (char *) "self",(char *) "data", NULL
22912 };
22913
22914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
22915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22916 arg2 = obj1;
22917 {
22918 PyThreadState* __tstate = wxPyBeginAllowThreads();
22919 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
22920
22921 wxPyEndAllowThreads(__tstate);
22922 if (PyErr_Occurred()) SWIG_fail;
22923 }
22924 resultobj = PyInt_FromLong((long)result);
22925 return resultobj;
22926 fail:
22927 return NULL;
22928}
22929
22930
22931static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22932 PyObject *resultobj;
22933 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22934 size_t result;
22935 PyObject * obj0 = 0 ;
22936 char *kwnames[] = {
22937 (char *) "self", NULL
22938 };
22939
22940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
22941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22942 {
22943 PyThreadState* __tstate = wxPyBeginAllowThreads();
22944 result = (size_t)(arg1)->GetSize();
22945
22946 wxPyEndAllowThreads(__tstate);
22947 if (PyErr_Occurred()) SWIG_fail;
22948 }
22949 resultobj = PyInt_FromLong((long)result);
22950 return resultobj;
22951 fail:
22952 return NULL;
22953}
22954
22955
22956static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22957 PyObject *resultobj;
22958 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22959 PyObject *result;
22960 PyObject * obj0 = 0 ;
22961 char *kwnames[] = {
22962 (char *) "self", NULL
22963 };
22964
22965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
22966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22967 {
22968 PyThreadState* __tstate = wxPyBeginAllowThreads();
22969 result = (PyObject *)wxCustomDataObject_GetData(arg1);
22970
22971 wxPyEndAllowThreads(__tstate);
22972 if (PyErr_Occurred()) SWIG_fail;
22973 }
22974 resultobj = result;
22975 return resultobj;
22976 fail:
22977 return NULL;
22978}
22979
22980
22981static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
22982 PyObject *obj;
22983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22984 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
22985 Py_INCREF(obj);
22986 return Py_BuildValue((char *)"");
22987}
22988static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22989 PyObject *resultobj;
22990 wxURLDataObject *result;
22991 char *kwnames[] = {
22992 NULL
22993 };
22994
22995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
22996 {
22997 PyThreadState* __tstate = wxPyBeginAllowThreads();
22998 result = (wxURLDataObject *)new wxURLDataObject();
22999
23000 wxPyEndAllowThreads(__tstate);
23001 if (PyErr_Occurred()) SWIG_fail;
23002 }
23003 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxURLDataObject, 1);
23004 return resultobj;
23005 fail:
23006 return NULL;
23007}
23008
23009
23010static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
23011 PyObject *resultobj;
23012 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
23013 wxString result;
23014 PyObject * obj0 = 0 ;
23015 char *kwnames[] = {
23016 (char *) "self", NULL
23017 };
23018
23019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
23020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23021 {
23022 PyThreadState* __tstate = wxPyBeginAllowThreads();
23023 result = (arg1)->GetURL();
23024
23025 wxPyEndAllowThreads(__tstate);
23026 if (PyErr_Occurred()) SWIG_fail;
23027 }
23028 {
23029#if wxUSE_UNICODE
23030 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23031#else
23032 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23033#endif
23034 }
23035 return resultobj;
23036 fail:
23037 return NULL;
23038}
23039
23040
23041static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
23042 PyObject *resultobj;
23043 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
23044 wxString *arg2 = 0 ;
23045 bool temp2 = false ;
23046 PyObject * obj0 = 0 ;
23047 PyObject * obj1 = 0 ;
23048 char *kwnames[] = {
23049 (char *) "self",(char *) "url", NULL
23050 };
23051
23052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
23053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23054 {
23055 arg2 = wxString_in_helper(obj1);
23056 if (arg2 == NULL) SWIG_fail;
23057 temp2 = true;
23058 }
23059 {
23060 PyThreadState* __tstate = wxPyBeginAllowThreads();
23061 (arg1)->SetURL((wxString const &)*arg2);
23062
23063 wxPyEndAllowThreads(__tstate);
23064 if (PyErr_Occurred()) SWIG_fail;
23065 }
23066 Py_INCREF(Py_None); resultobj = Py_None;
23067 {
23068 if (temp2)
23069 delete arg2;
23070 }
23071 return resultobj;
23072 fail:
23073 {
23074 if (temp2)
23075 delete arg2;
23076 }
23077 return NULL;
23078}
23079
23080
23081static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
23082 PyObject *obj;
23083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23084 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
23085 Py_INCREF(obj);
23086 return Py_BuildValue((char *)"");
23087}
23088static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23089 PyObject *resultobj;
23090 wxMetafileDataObject *result;
23091 char *kwnames[] = {
23092 NULL
23093 };
23094
23095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
23096 {
23097 PyThreadState* __tstate = wxPyBeginAllowThreads();
23098 result = (wxMetafileDataObject *)new wxMetafileDataObject();
23099
23100 wxPyEndAllowThreads(__tstate);
23101 if (PyErr_Occurred()) SWIG_fail;
23102 }
23103 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMetafileDataObject, 1);
23104 return resultobj;
23105 fail:
23106 return NULL;
23107}
23108
23109
23110static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
23111 PyObject *resultobj;
23112 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
23113 wxMetafile *arg2 = 0 ;
23114 PyObject * obj0 = 0 ;
23115 PyObject * obj1 = 0 ;
23116 char *kwnames[] = {
23117 (char *) "self",(char *) "metafile", NULL
23118 };
23119
23120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
23121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMetafileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23122 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMetafile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23123 if (arg2 == NULL) {
23124 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23125 }
23126 {
23127 PyThreadState* __tstate = wxPyBeginAllowThreads();
23128 (arg1)->SetMetafile((wxMetafile const &)*arg2);
23129
23130 wxPyEndAllowThreads(__tstate);
23131 if (PyErr_Occurred()) SWIG_fail;
23132 }
23133 Py_INCREF(Py_None); resultobj = Py_None;
23134 return resultobj;
23135 fail:
23136 return NULL;
23137}
23138
23139
23140static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
23141 PyObject *resultobj;
23142 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
23143 wxMetafile result;
23144 PyObject * obj0 = 0 ;
23145 char *kwnames[] = {
23146 (char *) "self", NULL
23147 };
23148
23149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
23150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMetafileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23151 {
23152 PyThreadState* __tstate = wxPyBeginAllowThreads();
23153 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
23154
23155 wxPyEndAllowThreads(__tstate);
23156 if (PyErr_Occurred()) SWIG_fail;
23157 }
23158 {
23159 wxMetafile * resultptr;
23160 resultptr = new wxMetafile((wxMetafile &) result);
23161 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxMetafile, 1);
23162 }
23163 return resultobj;
23164 fail:
23165 return NULL;
23166}
23167
23168
23169static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
23170 PyObject *obj;
23171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23172 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
23173 Py_INCREF(obj);
23174 return Py_BuildValue((char *)"");
23175}
23176static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23177 PyObject *resultobj;
23178 int arg1 ;
23179 bool result;
23180 char *kwnames[] = {
23181 (char *) "res", NULL
23182 };
23183
23184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:IsDragResultOk",kwnames,&arg1)) goto fail;
23185 {
23186 PyThreadState* __tstate = wxPyBeginAllowThreads();
23187 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
23188
23189 wxPyEndAllowThreads(__tstate);
23190 if (PyErr_Occurred()) SWIG_fail;
23191 }
23192 resultobj = PyInt_FromLong((long)result);
23193 return resultobj;
23194 fail:
23195 return NULL;
23196}
23197
23198
23199static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23200 PyObject *resultobj;
23201 wxWindow *arg1 = (wxWindow *) NULL ;
23202 wxCursor const &arg2_defvalue = wxNullCursor ;
23203 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
23204 wxCursor const &arg3_defvalue = wxNullCursor ;
23205 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
23206 wxCursor const &arg4_defvalue = wxNullCursor ;
23207 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
23208 wxPyDropSource *result;
23209 PyObject * obj0 = 0 ;
23210 PyObject * obj1 = 0 ;
23211 PyObject * obj2 = 0 ;
23212 PyObject * obj3 = 0 ;
23213 char *kwnames[] = {
23214 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
23215 };
23216
23217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23218 if (obj0) {
23219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23220 }
23221 if (obj1) {
23222 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23223 if (arg2 == NULL) {
23224 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23225 }
23226 }
23227 if (obj2) {
23228 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23229 if (arg3 == NULL) {
23230 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23231 }
23232 }
23233 if (obj3) {
23234 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23235 if (arg4 == NULL) {
23236 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23237 }
23238 }
23239 {
23240 PyThreadState* __tstate = wxPyBeginAllowThreads();
23241 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
23242
23243 wxPyEndAllowThreads(__tstate);
23244 if (PyErr_Occurred()) SWIG_fail;
23245 }
23246 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropSource, 1);
23247 return resultobj;
23248 fail:
23249 return NULL;
23250}
23251
23252
23253static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23254 PyObject *resultobj;
23255 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23256 PyObject *arg2 = (PyObject *) 0 ;
23257 PyObject *arg3 = (PyObject *) 0 ;
23258 int arg4 ;
23259 PyObject * obj0 = 0 ;
23260 PyObject * obj1 = 0 ;
23261 PyObject * obj2 = 0 ;
23262 char *kwnames[] = {
23263 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23264 };
23265
23266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOi:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
23267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23268 arg2 = obj1;
23269 arg3 = obj2;
23270 {
23271 PyThreadState* __tstate = wxPyBeginAllowThreads();
23272 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
23273
23274 wxPyEndAllowThreads(__tstate);
23275 if (PyErr_Occurred()) SWIG_fail;
23276 }
23277 Py_INCREF(Py_None); resultobj = Py_None;
23278 return resultobj;
23279 fail:
23280 return NULL;
23281}
23282
23283
23284static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23285 PyObject *resultobj;
23286 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23287 PyObject * obj0 = 0 ;
23288 char *kwnames[] = {
23289 (char *) "self", NULL
23290 };
23291
23292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
23293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23294 {
23295 PyThreadState* __tstate = wxPyBeginAllowThreads();
23296 delete arg1;
23297
23298 wxPyEndAllowThreads(__tstate);
23299 if (PyErr_Occurred()) SWIG_fail;
23300 }
23301 Py_INCREF(Py_None); resultobj = Py_None;
23302 return resultobj;
23303 fail:
23304 return NULL;
23305}
23306
23307
23308static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23309 PyObject *resultobj;
23310 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23311 wxDataObject *arg2 = 0 ;
23312 PyObject * obj0 = 0 ;
23313 PyObject * obj1 = 0 ;
23314 char *kwnames[] = {
23315 (char *) "self",(char *) "data", NULL
23316 };
23317
23318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
23319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23320 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23321 if (arg2 == NULL) {
23322 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23323 }
23324 {
23325 PyThreadState* __tstate = wxPyBeginAllowThreads();
23326 (arg1)->SetData(*arg2);
23327
23328 wxPyEndAllowThreads(__tstate);
23329 if (PyErr_Occurred()) SWIG_fail;
23330 }
23331 Py_INCREF(Py_None); resultobj = Py_None;
23332 return resultobj;
23333 fail:
23334 return NULL;
23335}
23336
23337
23338static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23339 PyObject *resultobj;
23340 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23341 wxDataObject *result;
23342 PyObject * obj0 = 0 ;
23343 char *kwnames[] = {
23344 (char *) "self", NULL
23345 };
23346
23347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
23348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23349 {
23350 PyThreadState* __tstate = wxPyBeginAllowThreads();
23351 result = (wxDataObject *)(arg1)->GetDataObject();
23352
23353 wxPyEndAllowThreads(__tstate);
23354 if (PyErr_Occurred()) SWIG_fail;
23355 }
23356 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23357 return resultobj;
23358 fail:
23359 return NULL;
23360}
23361
23362
23363static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
23364 PyObject *resultobj;
23365 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23366 int arg2 ;
23367 wxCursor *arg3 = 0 ;
23368 PyObject * obj0 = 0 ;
23369 PyObject * obj2 = 0 ;
23370 char *kwnames[] = {
23371 (char *) "self",(char *) "res",(char *) "cursor", NULL
23372 };
23373
23374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:DropSource_SetCursor",kwnames,&obj0,&arg2,&obj2)) goto fail;
23375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23376 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23377 if (arg3 == NULL) {
23378 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23379 }
23380 {
23381 PyThreadState* __tstate = wxPyBeginAllowThreads();
23382 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
23383
23384 wxPyEndAllowThreads(__tstate);
23385 if (PyErr_Occurred()) SWIG_fail;
23386 }
23387 Py_INCREF(Py_None); resultobj = Py_None;
23388 return resultobj;
23389 fail:
23390 return NULL;
23391}
23392
23393
23394static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23395 PyObject *resultobj;
23396 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23397 int arg2 = (int) wxDrag_CopyOnly ;
23398 int result;
23399 PyObject * obj0 = 0 ;
23400 char *kwnames[] = {
23401 (char *) "self",(char *) "flags", NULL
23402 };
23403
23404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DropSource_DoDragDrop",kwnames,&obj0,&arg2)) goto fail;
23405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23406 {
23407 PyThreadState* __tstate = wxPyBeginAllowThreads();
23408 result = (int)(arg1)->DoDragDrop(arg2);
23409
23410 wxPyEndAllowThreads(__tstate);
23411 if (PyErr_Occurred()) SWIG_fail;
23412 }
23413 resultobj = PyInt_FromLong((long)result);
23414 return resultobj;
23415 fail:
23416 return NULL;
23417}
23418
23419
23420static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
23421 PyObject *resultobj;
23422 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23423 int arg2 ;
23424 bool result;
23425 PyObject * obj0 = 0 ;
23426 char *kwnames[] = {
23427 (char *) "self",(char *) "effect", NULL
23428 };
23429
23430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DropSource_base_GiveFeedback",kwnames,&obj0,&arg2)) goto fail;
23431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23432 {
23433 PyThreadState* __tstate = wxPyBeginAllowThreads();
23434 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
23435
23436 wxPyEndAllowThreads(__tstate);
23437 if (PyErr_Occurred()) SWIG_fail;
23438 }
23439 resultobj = PyInt_FromLong((long)result);
23440 return resultobj;
23441 fail:
23442 return NULL;
23443}
23444
23445
23446static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
23447 PyObject *obj;
23448 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23449 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
23450 Py_INCREF(obj);
23451 return Py_BuildValue((char *)"");
23452}
23453static PyObject *_wrap_new_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23454 PyObject *resultobj;
23455 wxDataObject *arg1 = (wxDataObject *) NULL ;
23456 wxPyDropTarget *result;
23457 PyObject * obj0 = 0 ;
23458 char *kwnames[] = {
23459 (char *) "dataObject", NULL
23460 };
23461
23462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
23463 if (obj0) {
23464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23465 }
23466 {
23467 PyThreadState* __tstate = wxPyBeginAllowThreads();
23468 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
23469
23470 wxPyEndAllowThreads(__tstate);
23471 if (PyErr_Occurred()) SWIG_fail;
23472 }
23473 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 1);
23474 return resultobj;
23475 fail:
23476 return NULL;
23477}
23478
23479
23480static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23481 PyObject *resultobj;
23482 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23483 PyObject *arg2 = (PyObject *) 0 ;
23484 PyObject *arg3 = (PyObject *) 0 ;
23485 PyObject * obj0 = 0 ;
23486 PyObject * obj1 = 0 ;
23487 PyObject * obj2 = 0 ;
23488 char *kwnames[] = {
23489 (char *) "self",(char *) "self",(char *) "_class", NULL
23490 };
23491
23492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23494 arg2 = obj1;
23495 arg3 = obj2;
23496 {
23497 PyThreadState* __tstate = wxPyBeginAllowThreads();
23498 (arg1)->_setCallbackInfo(arg2,arg3);
23499
23500 wxPyEndAllowThreads(__tstate);
23501 if (PyErr_Occurred()) SWIG_fail;
23502 }
23503 Py_INCREF(Py_None); resultobj = Py_None;
23504 return resultobj;
23505 fail:
23506 return NULL;
23507}
23508
23509
23510static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23511 PyObject *resultobj;
23512 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23513 PyObject * obj0 = 0 ;
23514 char *kwnames[] = {
23515 (char *) "self", NULL
23516 };
23517
23518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
23519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23520 {
23521 PyThreadState* __tstate = wxPyBeginAllowThreads();
23522 delete arg1;
23523
23524 wxPyEndAllowThreads(__tstate);
23525 if (PyErr_Occurred()) SWIG_fail;
23526 }
23527 Py_INCREF(Py_None); resultobj = Py_None;
23528 return resultobj;
23529 fail:
23530 return NULL;
23531}
23532
23533
23534static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23535 PyObject *resultobj;
23536 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23537 wxDataObject *result;
23538 PyObject * obj0 = 0 ;
23539 char *kwnames[] = {
23540 (char *) "self", NULL
23541 };
23542
23543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
23544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23545 {
23546 PyThreadState* __tstate = wxPyBeginAllowThreads();
23547 result = (wxDataObject *)(arg1)->GetDataObject();
23548
23549 wxPyEndAllowThreads(__tstate);
23550 if (PyErr_Occurred()) SWIG_fail;
23551 }
23552 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23553 return resultobj;
23554 fail:
23555 return NULL;
23556}
23557
23558
23559static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23560 PyObject *resultobj;
23561 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23562 wxDataObject *arg2 = (wxDataObject *) 0 ;
23563 PyObject * obj0 = 0 ;
23564 PyObject * obj1 = 0 ;
23565 char *kwnames[] = {
23566 (char *) "self",(char *) "dataObject", NULL
23567 };
23568
23569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
23570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23571 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23572 {
23573 PyThreadState* __tstate = wxPyBeginAllowThreads();
23574 (arg1)->SetDataObject(arg2);
23575
23576 wxPyEndAllowThreads(__tstate);
23577 if (PyErr_Occurred()) SWIG_fail;
23578 }
23579 Py_INCREF(Py_None); resultobj = Py_None;
23580 return resultobj;
23581 fail:
23582 return NULL;
23583}
23584
23585
23586static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23587 PyObject *resultobj;
23588 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23589 wxCoord arg2 ;
23590 wxCoord arg3 ;
23591 int arg4 ;
23592 int result;
23593 PyObject * obj0 = 0 ;
23594 char *kwnames[] = {
23595 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23596 };
23597
23598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23600 {
23601 PyThreadState* __tstate = wxPyBeginAllowThreads();
23602 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23603
23604 wxPyEndAllowThreads(__tstate);
23605 if (PyErr_Occurred()) SWIG_fail;
23606 }
23607 resultobj = PyInt_FromLong((long)result);
23608 return resultobj;
23609 fail:
23610 return NULL;
23611}
23612
23613
23614static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23615 PyObject *resultobj;
23616 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23617 wxCoord arg2 ;
23618 wxCoord arg3 ;
23619 int arg4 ;
23620 int result;
23621 PyObject * obj0 = 0 ;
23622 char *kwnames[] = {
23623 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23624 };
23625
23626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23628 {
23629 PyThreadState* __tstate = wxPyBeginAllowThreads();
23630 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23631
23632 wxPyEndAllowThreads(__tstate);
23633 if (PyErr_Occurred()) SWIG_fail;
23634 }
23635 resultobj = PyInt_FromLong((long)result);
23636 return resultobj;
23637 fail:
23638 return NULL;
23639}
23640
23641
23642static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23643 PyObject *resultobj;
23644 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23645 PyObject * obj0 = 0 ;
23646 char *kwnames[] = {
23647 (char *) "self", NULL
23648 };
23649
23650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23652 {
23653 PyThreadState* __tstate = wxPyBeginAllowThreads();
23654 (arg1)->base_OnLeave();
23655
23656 wxPyEndAllowThreads(__tstate);
23657 if (PyErr_Occurred()) SWIG_fail;
23658 }
23659 Py_INCREF(Py_None); resultobj = Py_None;
23660 return resultobj;
23661 fail:
23662 return NULL;
23663}
23664
23665
23666static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23667 PyObject *resultobj;
23668 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23669 wxCoord arg2 ;
23670 wxCoord arg3 ;
23671 bool result;
23672 PyObject * obj0 = 0 ;
23673 char *kwnames[] = {
23674 (char *) "self",(char *) "x",(char *) "y", NULL
23675 };
23676
23677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:DropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23679 {
23680 PyThreadState* __tstate = wxPyBeginAllowThreads();
23681 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23682
23683 wxPyEndAllowThreads(__tstate);
23684 if (PyErr_Occurred()) SWIG_fail;
23685 }
23686 resultobj = PyInt_FromLong((long)result);
23687 return resultobj;
23688 fail:
23689 return NULL;
23690}
23691
23692
23693static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23694 PyObject *resultobj;
23695 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23696 bool result;
23697 PyObject * obj0 = 0 ;
23698 char *kwnames[] = {
23699 (char *) "self", NULL
23700 };
23701
23702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
23703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23704 {
23705 PyThreadState* __tstate = wxPyBeginAllowThreads();
23706 result = (bool)(arg1)->GetData();
23707
23708 wxPyEndAllowThreads(__tstate);
23709 if (PyErr_Occurred()) SWIG_fail;
23710 }
23711 resultobj = PyInt_FromLong((long)result);
23712 return resultobj;
23713 fail:
23714 return NULL;
23715}
23716
23717
23718static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
23719 PyObject *obj;
23720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23721 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
23722 Py_INCREF(obj);
23723 return Py_BuildValue((char *)"");
23724}
23725static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23726 PyObject *resultobj;
23727 wxPyTextDropTarget *result;
23728 char *kwnames[] = {
23729 NULL
23730 };
23731
23732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
23733 {
23734 PyThreadState* __tstate = wxPyBeginAllowThreads();
23735 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
23736
23737 wxPyEndAllowThreads(__tstate);
23738 if (PyErr_Occurred()) SWIG_fail;
23739 }
23740 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDropTarget, 1);
23741 return resultobj;
23742 fail:
23743 return NULL;
23744}
23745
23746
23747static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23748 PyObject *resultobj;
23749 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23750 PyObject *arg2 = (PyObject *) 0 ;
23751 PyObject *arg3 = (PyObject *) 0 ;
23752 PyObject * obj0 = 0 ;
23753 PyObject * obj1 = 0 ;
23754 PyObject * obj2 = 0 ;
23755 char *kwnames[] = {
23756 (char *) "self",(char *) "self",(char *) "_class", NULL
23757 };
23758
23759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23761 arg2 = obj1;
23762 arg3 = obj2;
23763 {
23764 PyThreadState* __tstate = wxPyBeginAllowThreads();
23765 (arg1)->_setCallbackInfo(arg2,arg3);
23766
23767 wxPyEndAllowThreads(__tstate);
23768 if (PyErr_Occurred()) SWIG_fail;
23769 }
23770 Py_INCREF(Py_None); resultobj = Py_None;
23771 return resultobj;
23772 fail:
23773 return NULL;
23774}
23775
23776
23777static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23778 PyObject *resultobj;
23779 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23780 wxCoord arg2 ;
23781 wxCoord arg3 ;
23782 int arg4 ;
23783 int result;
23784 PyObject * obj0 = 0 ;
23785 char *kwnames[] = {
23786 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23787 };
23788
23789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23791 {
23792 PyThreadState* __tstate = wxPyBeginAllowThreads();
23793 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23794
23795 wxPyEndAllowThreads(__tstate);
23796 if (PyErr_Occurred()) SWIG_fail;
23797 }
23798 resultobj = PyInt_FromLong((long)result);
23799 return resultobj;
23800 fail:
23801 return NULL;
23802}
23803
23804
23805static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23806 PyObject *resultobj;
23807 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23808 wxCoord arg2 ;
23809 wxCoord arg3 ;
23810 int arg4 ;
23811 int result;
23812 PyObject * obj0 = 0 ;
23813 char *kwnames[] = {
23814 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23815 };
23816
23817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23819 {
23820 PyThreadState* __tstate = wxPyBeginAllowThreads();
23821 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23822
23823 wxPyEndAllowThreads(__tstate);
23824 if (PyErr_Occurred()) SWIG_fail;
23825 }
23826 resultobj = PyInt_FromLong((long)result);
23827 return resultobj;
23828 fail:
23829 return NULL;
23830}
23831
23832
23833static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23834 PyObject *resultobj;
23835 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23836 PyObject * obj0 = 0 ;
23837 char *kwnames[] = {
23838 (char *) "self", NULL
23839 };
23840
23841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23843 {
23844 PyThreadState* __tstate = wxPyBeginAllowThreads();
23845 (arg1)->base_OnLeave();
23846
23847 wxPyEndAllowThreads(__tstate);
23848 if (PyErr_Occurred()) SWIG_fail;
23849 }
23850 Py_INCREF(Py_None); resultobj = Py_None;
23851 return resultobj;
23852 fail:
23853 return NULL;
23854}
23855
23856
23857static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23858 PyObject *resultobj;
23859 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23860 wxCoord arg2 ;
23861 wxCoord arg3 ;
23862 bool result;
23863 PyObject * obj0 = 0 ;
23864 char *kwnames[] = {
23865 (char *) "self",(char *) "x",(char *) "y", NULL
23866 };
23867
23868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23870 {
23871 PyThreadState* __tstate = wxPyBeginAllowThreads();
23872 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23873
23874 wxPyEndAllowThreads(__tstate);
23875 if (PyErr_Occurred()) SWIG_fail;
23876 }
23877 resultobj = PyInt_FromLong((long)result);
23878 return resultobj;
23879 fail:
23880 return NULL;
23881}
23882
23883
23884static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
23885 PyObject *resultobj;
23886 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23887 wxCoord arg2 ;
23888 wxCoord arg3 ;
23889 int arg4 ;
23890 int result;
23891 PyObject * obj0 = 0 ;
23892 char *kwnames[] = {
23893 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23894 };
23895
23896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23898 {
23899 PyThreadState* __tstate = wxPyBeginAllowThreads();
23900 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
23901
23902 wxPyEndAllowThreads(__tstate);
23903 if (PyErr_Occurred()) SWIG_fail;
23904 }
23905 resultobj = PyInt_FromLong((long)result);
23906 return resultobj;
23907 fail:
23908 return NULL;
23909}
23910
23911
23912static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
23913 PyObject *obj;
23914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23915 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
23916 Py_INCREF(obj);
23917 return Py_BuildValue((char *)"");
23918}
23919static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23920 PyObject *resultobj;
23921 wxPyFileDropTarget *result;
23922 char *kwnames[] = {
23923 NULL
23924 };
23925
23926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
23927 {
23928 PyThreadState* __tstate = wxPyBeginAllowThreads();
23929 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
23930
23931 wxPyEndAllowThreads(__tstate);
23932 if (PyErr_Occurred()) SWIG_fail;
23933 }
23934 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileDropTarget, 1);
23935 return resultobj;
23936 fail:
23937 return NULL;
23938}
23939
23940
23941static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23942 PyObject *resultobj;
23943 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23944 PyObject *arg2 = (PyObject *) 0 ;
23945 PyObject *arg3 = (PyObject *) 0 ;
23946 PyObject * obj0 = 0 ;
23947 PyObject * obj1 = 0 ;
23948 PyObject * obj2 = 0 ;
23949 char *kwnames[] = {
23950 (char *) "self",(char *) "self",(char *) "_class", NULL
23951 };
23952
23953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23955 arg2 = obj1;
23956 arg3 = obj2;
23957 {
23958 PyThreadState* __tstate = wxPyBeginAllowThreads();
23959 (arg1)->_setCallbackInfo(arg2,arg3);
23960
23961 wxPyEndAllowThreads(__tstate);
23962 if (PyErr_Occurred()) SWIG_fail;
23963 }
23964 Py_INCREF(Py_None); resultobj = Py_None;
23965 return resultobj;
23966 fail:
23967 return NULL;
23968}
23969
23970
23971static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23972 PyObject *resultobj;
23973 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23974 wxCoord arg2 ;
23975 wxCoord arg3 ;
23976 int arg4 ;
23977 int result;
23978 PyObject * obj0 = 0 ;
23979 char *kwnames[] = {
23980 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23981 };
23982
23983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23985 {
23986 PyThreadState* __tstate = wxPyBeginAllowThreads();
23987 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23988
23989 wxPyEndAllowThreads(__tstate);
23990 if (PyErr_Occurred()) SWIG_fail;
23991 }
23992 resultobj = PyInt_FromLong((long)result);
23993 return resultobj;
23994 fail:
23995 return NULL;
23996}
23997
23998
23999static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
24000 PyObject *resultobj;
24001 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24002 wxCoord arg2 ;
24003 wxCoord arg3 ;
24004 int arg4 ;
24005 int result;
24006 PyObject * obj0 = 0 ;
24007 char *kwnames[] = {
24008 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24009 };
24010
24011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24013 {
24014 PyThreadState* __tstate = wxPyBeginAllowThreads();
24015 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
24016
24017 wxPyEndAllowThreads(__tstate);
24018 if (PyErr_Occurred()) SWIG_fail;
24019 }
24020 resultobj = PyInt_FromLong((long)result);
24021 return resultobj;
24022 fail:
24023 return NULL;
24024}
24025
24026
24027static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
24028 PyObject *resultobj;
24029 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24030 PyObject * obj0 = 0 ;
24031 char *kwnames[] = {
24032 (char *) "self", NULL
24033 };
24034
24035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
24036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24037 {
24038 PyThreadState* __tstate = wxPyBeginAllowThreads();
24039 (arg1)->base_OnLeave();
24040
24041 wxPyEndAllowThreads(__tstate);
24042 if (PyErr_Occurred()) SWIG_fail;
24043 }
24044 Py_INCREF(Py_None); resultobj = Py_None;
24045 return resultobj;
24046 fail:
24047 return NULL;
24048}
24049
24050
24051static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
24052 PyObject *resultobj;
24053 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24054 wxCoord arg2 ;
24055 wxCoord arg3 ;
24056 bool result;
24057 PyObject * obj0 = 0 ;
24058 char *kwnames[] = {
24059 (char *) "self",(char *) "x",(char *) "y", NULL
24060 };
24061
24062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
24063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24064 {
24065 PyThreadState* __tstate = wxPyBeginAllowThreads();
24066 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
24067
24068 wxPyEndAllowThreads(__tstate);
24069 if (PyErr_Occurred()) SWIG_fail;
24070 }
24071 resultobj = PyInt_FromLong((long)result);
24072 return resultobj;
24073 fail:
24074 return NULL;
24075}
24076
24077
24078static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
24079 PyObject *resultobj;
24080 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24081 wxCoord arg2 ;
24082 wxCoord arg3 ;
24083 int arg4 ;
24084 int result;
24085 PyObject * obj0 = 0 ;
24086 char *kwnames[] = {
24087 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24088 };
24089
24090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24092 {
24093 PyThreadState* __tstate = wxPyBeginAllowThreads();
24094 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
24095
24096 wxPyEndAllowThreads(__tstate);
24097 if (PyErr_Occurred()) SWIG_fail;
24098 }
24099 resultobj = PyInt_FromLong((long)result);
24100 return resultobj;
24101 fail:
24102 return NULL;
24103}
24104
24105
24106static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
24107 PyObject *obj;
24108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24109 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
24110 Py_INCREF(obj);
24111 return Py_BuildValue((char *)"");
24112}
24113static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24114 PyObject *resultobj;
24115 wxClipboard *result;
24116 char *kwnames[] = {
24117 NULL
24118 };
24119
24120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
24121 {
24122 PyThreadState* __tstate = wxPyBeginAllowThreads();
24123 result = (wxClipboard *)new wxClipboard();
24124
24125 wxPyEndAllowThreads(__tstate);
24126 if (PyErr_Occurred()) SWIG_fail;
24127 }
24128 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboard, 1);
24129 return resultobj;
24130 fail:
24131 return NULL;
24132}
24133
24134
24135static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24136 PyObject *resultobj;
24137 wxClipboard *arg1 = (wxClipboard *) 0 ;
24138 PyObject * obj0 = 0 ;
24139 char *kwnames[] = {
24140 (char *) "self", NULL
24141 };
24142
24143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
24144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24145 {
24146 PyThreadState* __tstate = wxPyBeginAllowThreads();
24147 delete arg1;
24148
24149 wxPyEndAllowThreads(__tstate);
24150 if (PyErr_Occurred()) SWIG_fail;
24151 }
24152 Py_INCREF(Py_None); resultobj = Py_None;
24153 return resultobj;
24154 fail:
24155 return NULL;
24156}
24157
24158
24159static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
24160 PyObject *resultobj;
24161 wxClipboard *arg1 = (wxClipboard *) 0 ;
24162 bool result;
24163 PyObject * obj0 = 0 ;
24164 char *kwnames[] = {
24165 (char *) "self", NULL
24166 };
24167
24168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
24169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24170 {
24171 PyThreadState* __tstate = wxPyBeginAllowThreads();
24172 result = (bool)(arg1)->Open();
24173
24174 wxPyEndAllowThreads(__tstate);
24175 if (PyErr_Occurred()) SWIG_fail;
24176 }
24177 resultobj = PyInt_FromLong((long)result);
24178 return resultobj;
24179 fail:
24180 return NULL;
24181}
24182
24183
24184static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
24185 PyObject *resultobj;
24186 wxClipboard *arg1 = (wxClipboard *) 0 ;
24187 PyObject * obj0 = 0 ;
24188 char *kwnames[] = {
24189 (char *) "self", NULL
24190 };
24191
24192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
24193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24194 {
24195 PyThreadState* __tstate = wxPyBeginAllowThreads();
24196 (arg1)->Close();
24197
24198 wxPyEndAllowThreads(__tstate);
24199 if (PyErr_Occurred()) SWIG_fail;
24200 }
24201 Py_INCREF(Py_None); resultobj = Py_None;
24202 return resultobj;
24203 fail:
24204 return NULL;
24205}
24206
24207
24208static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
24209 PyObject *resultobj;
24210 wxClipboard *arg1 = (wxClipboard *) 0 ;
24211 bool result;
24212 PyObject * obj0 = 0 ;
24213 char *kwnames[] = {
24214 (char *) "self", NULL
24215 };
24216
24217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
24218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24219 {
24220 PyThreadState* __tstate = wxPyBeginAllowThreads();
24221 result = (bool)((wxClipboard const *)arg1)->IsOpened();
24222
24223 wxPyEndAllowThreads(__tstate);
24224 if (PyErr_Occurred()) SWIG_fail;
24225 }
24226 resultobj = PyInt_FromLong((long)result);
24227 return resultobj;
24228 fail:
24229 return NULL;
24230}
24231
24232
24233static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
24234 PyObject *resultobj;
24235 wxClipboard *arg1 = (wxClipboard *) 0 ;
24236 wxDataObject *arg2 = (wxDataObject *) 0 ;
24237 bool result;
24238 PyObject * obj0 = 0 ;
24239 PyObject * obj1 = 0 ;
24240 char *kwnames[] = {
24241 (char *) "self",(char *) "data", NULL
24242 };
24243
24244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
24245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24246 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24247 {
24248 PyThreadState* __tstate = wxPyBeginAllowThreads();
24249 result = (bool)(arg1)->AddData(arg2);
24250
24251 wxPyEndAllowThreads(__tstate);
24252 if (PyErr_Occurred()) SWIG_fail;
24253 }
24254 resultobj = PyInt_FromLong((long)result);
24255 return resultobj;
24256 fail:
24257 return NULL;
24258}
24259
24260
24261static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24262 PyObject *resultobj;
24263 wxClipboard *arg1 = (wxClipboard *) 0 ;
24264 wxDataObject *arg2 = (wxDataObject *) 0 ;
24265 bool result;
24266 PyObject * obj0 = 0 ;
24267 PyObject * obj1 = 0 ;
24268 char *kwnames[] = {
24269 (char *) "self",(char *) "data", NULL
24270 };
24271
24272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
24273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24274 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24275 {
24276 PyThreadState* __tstate = wxPyBeginAllowThreads();
24277 result = (bool)(arg1)->SetData(arg2);
24278
24279 wxPyEndAllowThreads(__tstate);
24280 if (PyErr_Occurred()) SWIG_fail;
24281 }
24282 resultobj = PyInt_FromLong((long)result);
24283 return resultobj;
24284 fail:
24285 return NULL;
24286}
24287
24288
24289static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24290 PyObject *resultobj;
24291 wxClipboard *arg1 = (wxClipboard *) 0 ;
24292 wxDataFormat *arg2 = 0 ;
24293 bool result;
24294 PyObject * obj0 = 0 ;
24295 PyObject * obj1 = 0 ;
24296 char *kwnames[] = {
24297 (char *) "self",(char *) "format", NULL
24298 };
24299
24300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
24301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24302 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24303 if (arg2 == NULL) {
24304 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24305 }
24306 {
24307 PyThreadState* __tstate = wxPyBeginAllowThreads();
24308 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
24309
24310 wxPyEndAllowThreads(__tstate);
24311 if (PyErr_Occurred()) SWIG_fail;
24312 }
24313 resultobj = PyInt_FromLong((long)result);
24314 return resultobj;
24315 fail:
24316 return NULL;
24317}
24318
24319
24320static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24321 PyObject *resultobj;
24322 wxClipboard *arg1 = (wxClipboard *) 0 ;
24323 wxDataObject *arg2 = 0 ;
24324 bool result;
24325 PyObject * obj0 = 0 ;
24326 PyObject * obj1 = 0 ;
24327 char *kwnames[] = {
24328 (char *) "self",(char *) "data", NULL
24329 };
24330
24331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
24332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24333 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24334 if (arg2 == NULL) {
24335 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24336 }
24337 {
24338 PyThreadState* __tstate = wxPyBeginAllowThreads();
24339 result = (bool)(arg1)->GetData(*arg2);
24340
24341 wxPyEndAllowThreads(__tstate);
24342 if (PyErr_Occurred()) SWIG_fail;
24343 }
24344 resultobj = PyInt_FromLong((long)result);
24345 return resultobj;
24346 fail:
24347 return NULL;
24348}
24349
24350
24351static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
24352 PyObject *resultobj;
24353 wxClipboard *arg1 = (wxClipboard *) 0 ;
24354 PyObject * obj0 = 0 ;
24355 char *kwnames[] = {
24356 (char *) "self", NULL
24357 };
24358
24359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
24360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24361 {
24362 PyThreadState* __tstate = wxPyBeginAllowThreads();
24363 (arg1)->Clear();
24364
24365 wxPyEndAllowThreads(__tstate);
24366 if (PyErr_Occurred()) SWIG_fail;
24367 }
24368 Py_INCREF(Py_None); resultobj = Py_None;
24369 return resultobj;
24370 fail:
24371 return NULL;
24372}
24373
24374
24375static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
24376 PyObject *resultobj;
24377 wxClipboard *arg1 = (wxClipboard *) 0 ;
24378 bool result;
24379 PyObject * obj0 = 0 ;
24380 char *kwnames[] = {
24381 (char *) "self", NULL
24382 };
24383
24384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
24385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24386 {
24387 PyThreadState* __tstate = wxPyBeginAllowThreads();
24388 result = (bool)(arg1)->Flush();
24389
24390 wxPyEndAllowThreads(__tstate);
24391 if (PyErr_Occurred()) SWIG_fail;
24392 }
24393 resultobj = PyInt_FromLong((long)result);
24394 return resultobj;
24395 fail:
24396 return NULL;
24397}
24398
24399
24400static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
24401 PyObject *resultobj;
24402 wxClipboard *arg1 = (wxClipboard *) 0 ;
24403 bool arg2 = (bool) FALSE ;
24404 PyObject * obj0 = 0 ;
24405 PyObject * obj1 = 0 ;
24406 char *kwnames[] = {
24407 (char *) "self",(char *) "primary", NULL
24408 };
24409
24410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
24411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24412 if (obj1) {
24413 arg2 = PyInt_AsLong(obj1) ? true : false;
24414 if (PyErr_Occurred()) SWIG_fail;
24415 }
24416 {
24417 PyThreadState* __tstate = wxPyBeginAllowThreads();
24418 (arg1)->UsePrimarySelection(arg2);
24419
24420 wxPyEndAllowThreads(__tstate);
24421 if (PyErr_Occurred()) SWIG_fail;
24422 }
24423 Py_INCREF(Py_None); resultobj = Py_None;
24424 return resultobj;
24425 fail:
24426 return NULL;
24427}
24428
24429
24430static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
24431 PyObject *obj;
24432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24433 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
24434 Py_INCREF(obj);
24435 return Py_BuildValue((char *)"");
24436}
24437static int _wrap_TheClipboard_set(PyObject *_val) {
24438 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
24439 return 1;
24440}
24441
24442
24443static PyObject *_wrap_TheClipboard_get() {
24444 PyObject *pyobj;
24445
24446 pyobj = SWIG_NewPointerObj((void *) wxTheClipboard, SWIGTYPE_p_wxClipboard, 0);
24447 return pyobj;
24448}
24449
24450
24451static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24452 PyObject *resultobj;
24453 wxClipboard *arg1 = (wxClipboard *) NULL ;
24454 wxClipboardLocker *result;
24455 PyObject * obj0 = 0 ;
24456 char *kwnames[] = {
24457 (char *) "clipboard", NULL
24458 };
24459
24460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
24461 if (obj0) {
24462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24463 }
24464 {
24465 PyThreadState* __tstate = wxPyBeginAllowThreads();
24466 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
24467
24468 wxPyEndAllowThreads(__tstate);
24469 if (PyErr_Occurred()) SWIG_fail;
24470 }
24471 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboardLocker, 1);
24472 return resultobj;
24473 fail:
24474 return NULL;
24475}
24476
24477
24478static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24479 PyObject *resultobj;
24480 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24481 PyObject * obj0 = 0 ;
24482 char *kwnames[] = {
24483 (char *) "self", NULL
24484 };
24485
24486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
24487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24488 {
24489 PyThreadState* __tstate = wxPyBeginAllowThreads();
24490 delete arg1;
24491
24492 wxPyEndAllowThreads(__tstate);
24493 if (PyErr_Occurred()) SWIG_fail;
24494 }
24495 Py_INCREF(Py_None); resultobj = Py_None;
24496 return resultobj;
24497 fail:
24498 return NULL;
24499}
24500
24501
24502static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
24503 PyObject *resultobj;
24504 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24505 bool result;
24506 PyObject * obj0 = 0 ;
24507 char *kwnames[] = {
24508 (char *) "self", NULL
24509 };
24510
24511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
24512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24513 {
24514 PyThreadState* __tstate = wxPyBeginAllowThreads();
24515 result = (bool)wxClipboardLocker___nonzero__(arg1);
24516
24517 wxPyEndAllowThreads(__tstate);
24518 if (PyErr_Occurred()) SWIG_fail;
24519 }
24520 resultobj = PyInt_FromLong((long)result);
24521 return resultobj;
24522 fail:
24523 return NULL;
24524}
24525
24526
24527static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
24528 PyObject *obj;
24529 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24530 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
24531 Py_INCREF(obj);
24532 return Py_BuildValue((char *)"");
24533}
24534static PyMethodDef SwigMethods[] = {
24535 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
24537 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
24538 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
24539 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
24540 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
24541 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
24542 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
24543 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
24545 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
24546 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
24547 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
24548 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
24549 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
24550 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
24551 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
24552 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
24554 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
24556 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
24557 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
24558 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
24559 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
24560 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
24561 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
24563 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
24564 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
24565 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
24566 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
24567 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
24568 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
24569 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
24570 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
24571 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
24572 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
24574 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
24575 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
24576 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
24578 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
24579 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
24580 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
24581 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
24582 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
24583 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
24584 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
24586 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
24587 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
24588 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
24589 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
24591 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24593 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24594 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24595 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24596 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
24597 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
24598 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24601 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
24602 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
24604 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24606 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
24608 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
24614 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
24616 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
24632 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
24637 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
24640 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
24643 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
24649 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
24663 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
24669 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
24675 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
24678 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"Timer_Notify", (PyCFunction) _wrap_Timer_Notify, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
24690 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
24693 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
24694 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
24697 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
24724 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
24726 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
24728 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
24730 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
24737 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
24743 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"LogTrace", (PyCFunction) _wrap_LogTrace, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"LogTraceMask", (PyCFunction) _wrap_LogTraceMask, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
24762 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
24765 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
24782 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
24790 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
24836 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
24864 { (char *)"new_Wave", (PyCFunction) _wrap_new_Wave, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"new_WaveData", (PyCFunction) _wrap_new_WaveData, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"delete_Wave", (PyCFunction) _wrap_delete_Wave, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"Wave_IsOk", (PyCFunction) _wrap_Wave_IsOk, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"Wave_Play", (PyCFunction) _wrap_Wave_Play, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"Wave_swigregister", Wave_swigregister, METH_VARARGS },
24870 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
24886 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
24902 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
24916 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"delete_ArtProvider", (PyCFunction) _wrap_delete_ArtProvider, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
24925 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
24968 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
24972 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
24975 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
24978 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
25070 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
25071 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
25072 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
25073 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
25074 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
25075 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
25076 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
25077 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
25078 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
25079 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
25090 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
25099 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
25105 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
25115 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
25125 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
25126 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
25127 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
25128 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
25129 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
25130 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
25131 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
25133 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
25134 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
25135 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
25137 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
25143 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
25144 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
25147 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
25148 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
25149 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
25150 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
25151 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
25152 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
25153 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
25154 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
25155 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
25156 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
25159 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
25161 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
25163 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
25165 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
25167 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
25169 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
25170 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
25171 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
25172 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
25174 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
25175 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
25176 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
25177 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
25178 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
25180 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
25181 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
25182 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
25183 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
25184 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
25185 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
25186 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
25187 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
25188 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
25189 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
25190 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
25192 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
25193 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
25194 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
25195 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
25196 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
25197 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25198 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
25199 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
25200 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
25201 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
25202 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
25203 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
25204 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
25205 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
25206 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
25207 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
25208 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25209 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
25210 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
25211 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25212 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25213 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
25214 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
25215 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25216 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
25217 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
25218 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS },
25220 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
25221 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
25222 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
25223 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
25224 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
25225 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
25226 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
25227 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
25228 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
25229 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
25230 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
25231 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
25232 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS },
25233 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS },
25234 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
25235 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
25237 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25238 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
25239 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
25240 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25241 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
25242 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
25243 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
25244 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
25245 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS },
25246 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25247 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
25248 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25249 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
25250 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25251 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25252 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25253 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25254 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
25255 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
25256 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
25257 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25258 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25259 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25260 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25261 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25262 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25263 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
25264 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
25265 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25266 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25267 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25268 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25269 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25270 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25271 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
25272 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
25273 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
25274 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
25275 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
25276 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
25277 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
25278 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
25279 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
25280 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
25281 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
25282 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
25283 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
25284 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
25285 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25286 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25287 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
25288 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
25289 { NULL, NULL }
25290};
25291
25292
25293/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25294
25295static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25296 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25297}
25298static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25299 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25300}
25301static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25302 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25303}
25304static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25305 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25306}
25307static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25308 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25309}
25310static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25311 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25312}
25313static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
25314 return (void *)((wxEvent *) ((wxTimerEvent *) x));
25315}
25316static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25317 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25318}
25319static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25320 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25321}
25322static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25323 return (void *)((wxEvent *) ((wxPyEvent *) x));
25324}
25325static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25326 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25327}
25328static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
25329 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
25330}
25331static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25332 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25333}
25334static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25335 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25336}
25337static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25338 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25339}
25340static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25341 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25342}
25343static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25344 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25345}
25346static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25347 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25348}
25349static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25350 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25351}
25352static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25353 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25354}
25355static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25356 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25357}
25358static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25359 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25360}
25361static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25362 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25363}
25364static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25365 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25366}
25367static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25368 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25369}
25370static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25371 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25372}
25373static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25374 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25375}
25376static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25377 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25378}
25379static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25380 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25381}
25382static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25383 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25384}
25385static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
25386 return (void *)((wxEvent *) ((wxProcessEvent *) x));
25387}
25388static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25389 return (void *)((wxEvent *) ((wxShowEvent *) x));
25390}
25391static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25392 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25393}
25394static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25395 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25396}
25397static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25398 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25399}
25400static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25401 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25402}
25403static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25404 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25405}
25406static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25407 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25408}
25409static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
25410 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
25411}
25412static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
25413 return (void *)((wxConfigBase *) ((wxConfig *) x));
25414}
25415static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
25416 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25417}
25418static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
25419 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
25420}
25421static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
25422 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
25423}
25424static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
25425 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25426}
25427static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
25428 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
25429}
25430static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
25431 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
25432}
25433static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
25434 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
25435}
25436static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
25437 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25438}
25439static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
25440 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25441}
25442static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
25443 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
25444}
25445static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
25446 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
25447}
25448static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
25449 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
25450}
25451static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
25452 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25453}
25454static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
25455 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
25456}
25457static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
25458 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25459}
25460static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25461 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
25462}
25463static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25464 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
25465}
25466static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25467 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25468}
25469static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25470 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25471}
25472static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
25473 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
25474}
25475static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
25476 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
25477}
25478static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
25479 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25480}
25481static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25482 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25483}
25484static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25485 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25486}
25487static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25488 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25489}
25490static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25491 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25492}
25493static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
25494 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
25495}
25496static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25497 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25498}
25499static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25500 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25501}
25502static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25503 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25504}
25505static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25506 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25507}
25508static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
25509 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
25510}
25511static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
25512 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
25513}
25514static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25515 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25516}
25517static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25518 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25519}
25520static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25521 return (void *)((wxObject *) ((wxSizerItem *) x));
25522}
25523static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25524 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25525}
25526static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25527 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25528}
25529static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25530 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25531}
25532static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25533 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25534}
25535static void *_p_wxSizerTo_p_wxObject(void *x) {
25536 return (void *)((wxObject *) ((wxSizer *) x));
25537}
25538static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25539 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25540}
25541static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
25542 return (void *)((wxObject *) ((wxFileHistory *) x));
25543}
25544static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25545 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25546}
25547static void *_p_wxEventTo_p_wxObject(void *x) {
25548 return (void *)((wxObject *) ((wxEvent *) x));
25549}
25550static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25551 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25552}
25553static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25554 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25555}
25556static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25557 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25558}
25559static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25560 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25561}
25562static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25563 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25564}
25565static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25566 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25567}
25568static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25569 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25570}
25571static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25572 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25573}
25574static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25575 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25576}
25577static void *_p_wxControlTo_p_wxObject(void *x) {
25578 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25579}
25580static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25581 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25582}
25583static void *_p_wxTimerEventTo_p_wxObject(void *x) {
25584 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
25585}
25586static void *_p_wxFSFileTo_p_wxObject(void *x) {
25587 return (void *)((wxObject *) ((wxFSFile *) x));
25588}
25589static void *_p_wxClipboardTo_p_wxObject(void *x) {
25590 return (void *)((wxObject *) ((wxClipboard *) x));
25591}
25592static void *_p_wxPySizerTo_p_wxObject(void *x) {
25593 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25594}
25595static void *_p_wxPyEventTo_p_wxObject(void *x) {
25596 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25597}
25598static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25599 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25600}
25601static void *_p_wxShowEventTo_p_wxObject(void *x) {
25602 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25603}
25604static void *_p_wxToolTipTo_p_wxObject(void *x) {
25605 return (void *)((wxObject *) ((wxToolTip *) x));
25606}
25607static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25608 return (void *)((wxObject *) ((wxMenuItem *) x));
25609}
25610static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25611 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25612}
25613static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25614 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25615}
25616static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25617 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25618}
25619static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25620 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25621}
25622static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25623 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25624}
25625static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25626 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25627}
25628static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25629 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25630}
25631static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25632 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25633}
25634static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25635 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25636}
25637static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25638 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25639}
25640static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25641 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25642}
25643static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25644 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25645}
25646static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25647 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25648}
25649static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25650 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25651}
25652static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25653 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25654}
25655static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25656 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25657}
25658static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25659 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25660}
25661static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25662 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25663}
25664static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25665 return (void *)((wxObject *) ((wxImageHandler *) x));
25666}
25667static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25668 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25669}
25670static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25671 return (void *)((wxObject *) ((wxEvtHandler *) x));
25672}
25673static void *_p_wxImageTo_p_wxObject(void *x) {
25674 return (void *)((wxObject *) ((wxImage *) x));
25675}
25676static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25677 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25678}
25679static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
25680 return (void *)((wxObject *) ((wxSystemOptions *) x));
25681}
25682static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
25683 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
25684}
25685static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25686 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25687}
25688static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25689 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25690}
25691static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25692 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25693}
25694static void *_p_wxWindowTo_p_wxObject(void *x) {
25695 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25696}
25697static void *_p_wxMenuTo_p_wxObject(void *x) {
25698 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25699}
25700static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25701 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25702}
25703static void *_p_wxPyProcessTo_p_wxObject(void *x) {
25704 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
25705}
25706static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25707 return (void *)((wxObject *) ((wxFileSystem *) x));
25708}
25709static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25710 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25711}
25712static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25713 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25714}
25715static void *_p_wxPyAppTo_p_wxObject(void *x) {
25716 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25717}
25718static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25719 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25720}
25721static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25722 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25723}
25724static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25725 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25726}
25727static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
25728 return (void *)((wxObject *) ((wxBusyInfo *) x));
25729}
25730static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25731 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25732}
25733static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25734 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25735}
25736static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25737 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25738}
25739static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25740 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25741}
25742static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25743 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25744}
25745static void *_p_wxProcessEventTo_p_wxObject(void *x) {
25746 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
25747}
25748static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25749 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25750}
25751static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25752 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25753}
25754static void *_p_wxValidatorTo_p_wxObject(void *x) {
25755 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25756}
25757static void *_p_wxPyTimerTo_p_wxObject(void *x) {
25758 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
25759}
25760static void *_p_wxLogStderrTo_p_wxLog(void *x) {
25761 return (void *)((wxLog *) ((wxLogStderr *) x));
25762}
25763static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
25764 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
25765}
25766static void *_p_wxLogWindowTo_p_wxLog(void *x) {
25767 return (void *)((wxLog *) ((wxLogWindow *) x));
25768}
25769static void *_p_wxLogChainTo_p_wxLog(void *x) {
25770 return (void *)((wxLog *) ((wxLogChain *) x));
25771}
25772static void *_p_wxLogGuiTo_p_wxLog(void *x) {
25773 return (void *)((wxLog *) ((wxLogGui *) x));
25774}
25775static void *_p_wxPyLogTo_p_wxLog(void *x) {
25776 return (void *)((wxLog *) ((wxPyLog *) x));
25777}
25778static void *_p_wxControlTo_p_wxWindow(void *x) {
25779 return (void *)((wxWindow *) ((wxControl *) x));
25780}
25781static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25782 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25783}
25784static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25785 return (void *)((wxWindow *) ((wxMenuBar *) x));
25786}
25787static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
25788 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
25789}
25790static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
25791 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
25792}
25793static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
25794static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
25795static swig_type_info _swigt__p_wxMetafile[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0},{"_p_wxMetafile"},{0}};
25796static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
25797static 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}};
25798static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
25799static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
25800static 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}};
25801static 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}};
25802static swig_type_info _swigt__p_wxWave[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
25803static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
25804static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
25805static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
25806static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
25807static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
25808static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
25809static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
25810static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
25811static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
25812static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
25813static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
25814static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
25815static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
25816static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
25817static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
25818static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
25819static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
25820static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
25821static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
25822static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
25823static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject},{0}};
25824static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject},{0}};
25825static 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}};
25826static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
25827static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
25828static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
25829static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
25830static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
25831static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
25832static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
25833static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
25834static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
25835static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite},{0}};
25836static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
25837static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
25838static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
25839static 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}};
25840static 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}};
25841static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
25842static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
25843static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
25844static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
25845static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
25846static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
25847static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
25848static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
25849static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider},{0}};
25850static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
25851static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
25852static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
25853static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
25854static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
25855static 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_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}};
25856static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
25857static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
25858static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
25859static 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}};
25860static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
25861static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
25862static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
25863static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
25864static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
25865static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
25866static 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}};
25867static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
25868static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
25869static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
25870static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
25871static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
25872static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
25873static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
25874static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
25875static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
25876
25877static swig_type_info *swig_types_initial[] = {
25878_swigt__p_wxLogChain,
25879_swigt__p_wxMutexGuiLocker,
25880_swigt__p_wxMetafile,
25881_swigt__p_wxFileHistory,
25882_swigt__p_wxLog,
25883_swigt__p_wxDateTime__TimeZone,
25884_swigt__p_wxMenu,
25885_swigt__p_wxEvent,
25886_swigt__p_wxConfigBase,
25887_swigt__p_wxWave,
25888_swigt__p_wxFileType,
25889_swigt__p_wxLogGui,
25890_swigt__p_wxFont,
25891_swigt__p_wxDataFormat,
25892_swigt__p_wxTimerEvent,
25893_swigt__p_wxCaret,
25894_swigt__p_int,
25895_swigt__p_wxSize,
25896_swigt__p_wxClipboard,
25897_swigt__p_wxStopWatch,
25898_swigt__p_wxDC,
25899_swigt__p_wxClipboardLocker,
25900_swigt__p_wxIcon,
25901_swigt__p_wxLogStderr,
25902_swigt__p_wxLogTextCtrl,
25903_swigt__p_wxTextCtrl,
25904_swigt__p_wxBusyCursor,
25905_swigt__p_wxFileDataObject,
25906_swigt__p_wxPyBitmapDataObject,
25907_swigt__p_wxPyTextDataObject,
25908_swigt__p_wxBitmapDataObject,
25909_swigt__p_wxTextDataObject,
25910_swigt__p_wxDataObject,
25911_swigt__p_wxCustomDataObject,
25912_swigt__p_wxURLDataObject,
25913_swigt__p_wxMetafileDataObject,
25914_swigt__p_wxTimerRunner,
25915_swigt__p_wxLogWindow,
25916_swigt__p_wxTimeSpan,
25917_swigt__p_wxArrayString,
25918_swigt__p_wxWindowDisabler,
25919_swigt__p_wxToolTip,
25920_swigt__p_wxDataObjectComposite,
25921_swigt__p_wxFileConfig,
25922_swigt__p_wxSystemSettings,
25923_swigt__p_wxPyDataObjectSimple,
25924_swigt__p_wxDataObjectSimple,
25925_swigt__p_wxEvtHandler,
25926_swigt__p_wxRect,
25927_swigt__p_wxSingleInstanceChecker,
25928_swigt__p_wxFileTypeInfo,
25929_swigt__p_wxFrame,
25930_swigt__p_wxTimer,
25931_swigt__p_wxMimeTypesManager,
25932_swigt__p_wxPyArtProvider,
25933_swigt__p_wxPyTipProvider,
25934_swigt__p_wxTipProvider,
25935_swigt__p_wxJoystick,
25936_swigt__p_wxSystemOptions,
25937_swigt__p_wxPoint,
25938_swigt__p_wxJoystickEvent,
25939_swigt__p_wxCursor,
25940_swigt__p_wxObject,
25941_swigt__p_wxOutputStream,
25942_swigt__p_wxDateTime,
25943_swigt__p_wxPyDropSource,
25944_swigt__p_wxWindow,
25945_swigt__p_wxString,
25946_swigt__p_wxPyProcess,
25947_swigt__p_wxBitmap,
25948_swigt__p_wxConfig,
25949_swigt__p_wxChar,
25950_swigt__p_wxBusyInfo,
25951_swigt__p_wxPyDropTarget,
25952_swigt__p_wxPyTextDropTarget,
25953_swigt__p_wxPyFileDropTarget,
25954_swigt__p_wxProcessEvent,
25955_swigt__p_wxPyLog,
25956_swigt__p_wxLogNull,
25957_swigt__p_wxColour,
25958_swigt__p_wxConfigPathChanger,
25959_swigt__p_wxPyTimer,
25960_swigt__p_wxDateSpan,
259610
25962};
25963
25964
25965/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25966
25967static swig_const_info swig_const_table[] = {
25968{ SWIG_PY_INT, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT, 0, 0, 0},
25969{ SWIG_PY_INT, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT, 0, 0, 0},
25970{ SWIG_PY_INT, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT, 0, 0, 0},
25971{ SWIG_PY_INT, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT, 0, 0, 0},
25972{ SWIG_PY_INT, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT, 0, 0, 0},
25973{ SWIG_PY_INT, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE, 0, 0, 0},
25974{ SWIG_PY_INT, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT, 0, 0, 0},
25975{ SWIG_PY_INT, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT, 0, 0, 0},
25976{ SWIG_PY_INT, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT, 0, 0, 0},
25977{ SWIG_PY_INT, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR, 0, 0, 0},
25978{ SWIG_PY_INT, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND, 0, 0, 0},
25979{ SWIG_PY_INT, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP, 0, 0, 0},
25980{ SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION, 0, 0, 0},
25981{ SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION, 0, 0, 0},
25982{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU, 0, 0, 0},
25983{ SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW, 0, 0, 0},
25984{ SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME, 0, 0, 0},
25985{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT, 0, 0, 0},
25986{ SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT, 0, 0, 0},
25987{ SWIG_PY_INT, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT, 0, 0, 0},
25988{ SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER, 0, 0, 0},
25989{ SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER, 0, 0, 0},
25990{ SWIG_PY_INT, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE, 0, 0, 0},
25991{ SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT, 0, 0, 0},
25992{ SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT, 0, 0, 0},
25993{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE, 0, 0, 0},
25994{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE, 0, 0, 0},
25995{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW, 0, 0, 0},
25996{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW, 0, 0, 0},
25997{ SWIG_PY_INT, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT, 0, 0, 0},
25998{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT, 0, 0, 0},
25999{ SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT, 0, 0, 0},
26000{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT, 0, 0, 0},
26001{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT, 0, 0, 0},
26002{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT, 0, 0, 0},
26003{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT, 0, 0, 0},
26004{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW, 0, 0, 0},
26005{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT, 0, 0, 0},
26006{ SWIG_PY_INT, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT, 0, 0, 0},
26007{ SWIG_PY_INT, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK, 0, 0, 0},
26008{ SWIG_PY_INT, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX, 0, 0, 0},
26009{ SWIG_PY_INT, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT, 0, 0, 0},
26010{ SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION, 0, 0, 0},
26011{ SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION, 0, 0, 0},
26012{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT, 0, 0, 0},
26013{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR, 0, 0, 0},
26014{ SWIG_PY_INT, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX, 0, 0, 0},
26015{ SWIG_PY_INT, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS, 0, 0, 0},
26016{ SWIG_PY_INT, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X, 0, 0, 0},
26017{ SWIG_PY_INT, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y, 0, 0, 0},
26018{ SWIG_PY_INT, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X, 0, 0, 0},
26019{ SWIG_PY_INT, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y, 0, 0, 0},
26020{ SWIG_PY_INT, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X, 0, 0, 0},
26021{ SWIG_PY_INT, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y, 0, 0, 0},
26022{ SWIG_PY_INT, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X, 0, 0, 0},
26023{ SWIG_PY_INT, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y, 0, 0, 0},
26024{ SWIG_PY_INT, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X, 0, 0, 0},
26025{ SWIG_PY_INT, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y, 0, 0, 0},
26026{ SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X, 0, 0, 0},
26027{ SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y, 0, 0, 0},
26028{ SWIG_PY_INT, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X, 0, 0, 0},
26029{ SWIG_PY_INT, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X, 0, 0, 0},
26030{ SWIG_PY_INT, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y, 0, 0, 0},
26031{ SWIG_PY_INT, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X, 0, 0, 0},
26032{ SWIG_PY_INT, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y, 0, 0, 0},
26033{ SWIG_PY_INT, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X, 0, 0, 0},
26034{ SWIG_PY_INT, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y, 0, 0, 0},
26035{ SWIG_PY_INT, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X, 0, 0, 0},
26036{ SWIG_PY_INT, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y, 0, 0, 0},
26037{ SWIG_PY_INT, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X, 0, 0, 0},
26038{ SWIG_PY_INT, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y, 0, 0, 0},
26039{ SWIG_PY_INT, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X, 0, 0, 0},
26040{ SWIG_PY_INT, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y, 0, 0, 0},
26041{ SWIG_PY_INT, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y, 0, 0, 0},
26042{ SWIG_PY_INT, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X, 0, 0, 0},
26043{ SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X, 0, 0, 0},
26044{ SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y, 0, 0, 0},
26045{ SWIG_PY_INT, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y, 0, 0, 0},
26046{ SWIG_PY_INT, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y, 0, 0, 0},
26047{ SWIG_PY_INT, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y, 0, 0, 0},
26048{ SWIG_PY_INT, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT, 0, 0, 0},
26049{ SWIG_PY_INT, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT, 0, 0, 0},
26050{ SWIG_PY_INT, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS, 0, 0, 0},
26051{ SWIG_PY_INT, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS, 0, 0, 0},
26052{ SWIG_PY_INT, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS, 0, 0, 0},
26053{ SWIG_PY_INT, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME, 0, 0, 0},
26054{ SWIG_PY_INT, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE, 0, 0, 0},
26055{ SWIG_PY_INT, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY, 0, 0, 0},
26056{ SWIG_PY_INT, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA, 0, 0, 0},
26057{ SWIG_PY_INT, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL, 0, 0, 0},
26058{ SWIG_PY_INT, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP, 0, 0, 0},
26059{ SWIG_PY_INT, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF, 0, 0, 0},
26060{ SWIG_PY_INT, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT, 0, 0, 0},
26061{ SWIG_PY_INT, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS, 0, 0, 0},
26062{ SWIG_PY_INT, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT, 0, 0, 0},
26063{ SWIG_PY_INT, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER, 0, 0, 0},
26064{ SWIG_PY_INT, (char *)"LOG_FatalError", (long) wxLOG_FatalError, 0, 0, 0},
26065{ SWIG_PY_INT, (char *)"LOG_Error", (long) wxLOG_Error, 0, 0, 0},
26066{ SWIG_PY_INT, (char *)"LOG_Warning", (long) wxLOG_Warning, 0, 0, 0},
26067{ SWIG_PY_INT, (char *)"LOG_Message", (long) wxLOG_Message, 0, 0, 0},
26068{ SWIG_PY_INT, (char *)"LOG_Status", (long) wxLOG_Status, 0, 0, 0},
26069{ SWIG_PY_INT, (char *)"LOG_Info", (long) wxLOG_Info, 0, 0, 0},
26070{ SWIG_PY_INT, (char *)"LOG_Debug", (long) wxLOG_Debug, 0, 0, 0},
26071{ SWIG_PY_INT, (char *)"LOG_Trace", (long) wxLOG_Trace, 0, 0, 0},
26072{ SWIG_PY_INT, (char *)"LOG_Progress", (long) wxLOG_Progress, 0, 0, 0},
26073{ SWIG_PY_INT, (char *)"LOG_User", (long) wxLOG_User, 0, 0, 0},
26074{ SWIG_PY_INT, (char *)"LOG_Max", (long) wxLOG_Max, 0, 0, 0},
26075{ SWIG_PY_STRING, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
26076{ SWIG_PY_STRING, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
26077{ SWIG_PY_STRING, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
26078{ SWIG_PY_STRING, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
26079{ SWIG_PY_STRING, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
26080{ SWIG_PY_INT, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
26081{ SWIG_PY_INT, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
26082{ SWIG_PY_INT, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
26083{ SWIG_PY_INT, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
26084{ SWIG_PY_INT, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
26085{ SWIG_PY_INT, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT, 0, 0, 0},
26086{ SWIG_PY_INT, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT, 0, 0, 0},
26087{ SWIG_PY_INT, (char *)"KILL_OK", (long) wxKILL_OK, 0, 0, 0},
26088{ SWIG_PY_INT, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL, 0, 0, 0},
26089{ SWIG_PY_INT, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED, 0, 0, 0},
26090{ SWIG_PY_INT, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS, 0, 0, 0},
26091{ SWIG_PY_INT, (char *)"KILL_ERROR", (long) wxKILL_ERROR, 0, 0, 0},
26092{ SWIG_PY_INT, (char *)"SIGNONE", (long) wxSIGNONE, 0, 0, 0},
26093{ SWIG_PY_INT, (char *)"SIGHUP", (long) wxSIGHUP, 0, 0, 0},
26094{ SWIG_PY_INT, (char *)"SIGINT", (long) wxSIGINT, 0, 0, 0},
26095{ SWIG_PY_INT, (char *)"SIGQUIT", (long) wxSIGQUIT, 0, 0, 0},
26096{ SWIG_PY_INT, (char *)"SIGILL", (long) wxSIGILL, 0, 0, 0},
26097{ SWIG_PY_INT, (char *)"SIGTRAP", (long) wxSIGTRAP, 0, 0, 0},
26098{ SWIG_PY_INT, (char *)"SIGABRT", (long) wxSIGABRT, 0, 0, 0},
26099{ SWIG_PY_INT, (char *)"SIGIOT", (long) wxSIGIOT, 0, 0, 0},
26100{ SWIG_PY_INT, (char *)"SIGEMT", (long) wxSIGEMT, 0, 0, 0},
26101{ SWIG_PY_INT, (char *)"SIGFPE", (long) wxSIGFPE, 0, 0, 0},
26102{ SWIG_PY_INT, (char *)"SIGKILL", (long) wxSIGKILL, 0, 0, 0},
26103{ SWIG_PY_INT, (char *)"SIGBUS", (long) wxSIGBUS, 0, 0, 0},
26104{ SWIG_PY_INT, (char *)"SIGSEGV", (long) wxSIGSEGV, 0, 0, 0},
26105{ SWIG_PY_INT, (char *)"SIGSYS", (long) wxSIGSYS, 0, 0, 0},
26106{ SWIG_PY_INT, (char *)"SIGPIPE", (long) wxSIGPIPE, 0, 0, 0},
26107{ SWIG_PY_INT, (char *)"SIGALRM", (long) wxSIGALRM, 0, 0, 0},
26108{ SWIG_PY_INT, (char *)"SIGTERM", (long) wxSIGTERM, 0, 0, 0},
26109{ SWIG_PY_INT, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS, 0, 0, 0},
26110{ SWIG_PY_INT, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC, 0, 0, 0},
26111{ SWIG_PY_INT, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC, 0, 0, 0},
26112{ SWIG_PY_INT, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE, 0, 0, 0},
26113{ SWIG_PY_INT, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER, 0, 0, 0},
26114{ SWIG_PY_INT, (char *)"JOYSTICK1", (long) wxJOYSTICK1, 0, 0, 0},
26115{ SWIG_PY_INT, (char *)"JOYSTICK2", (long) wxJOYSTICK2, 0, 0, 0},
26116{ SWIG_PY_INT, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY, 0, 0, 0},
26117{ SWIG_PY_INT, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1, 0, 0, 0},
26118{ SWIG_PY_INT, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2, 0, 0, 0},
26119{ SWIG_PY_INT, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3, 0, 0, 0},
26120{ SWIG_PY_INT, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4, 0, 0, 0},
26121{ SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN, 0, 0, 0},
26122{ SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP, 0, 0, 0},
26123{ SWIG_PY_INT, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE, 0, 0, 0},
26124{ SWIG_PY_INT, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE, 0, 0, 0},
26125{ SWIG_PY_INT, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD, 0, 0, 0},
26126{ SWIG_PY_INT, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE, 0, 0, 0},
26127{ SWIG_PY_INT, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE, 0, 0, 0},
26128{ SWIG_PY_INT, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME, 0, 0, 0},
26129{ SWIG_PY_INT, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL, 0, 0, 0},
26130{ SWIG_PY_INT, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE, 0, 0, 0},
26131{ SWIG_PY_INT, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE, 0, 0, 0},
26132{ SWIG_PY_INT, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH, 0, 0, 0},
26133{ SWIG_PY_INT, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS, 0, 0, 0},
26134{ SWIG_PY_INT, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown, 0, 0, 0},
26135{ SWIG_PY_INT, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String, 0, 0, 0},
26136{ SWIG_PY_INT, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean, 0, 0, 0},
26137{ SWIG_PY_INT, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer, 0, 0, 0},
26138{ SWIG_PY_INT, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float, 0, 0, 0},
26139{ SWIG_PY_INT, (char *)"DateTime_Local", (long) wxDateTime::Local, 0, 0, 0},
26140{ SWIG_PY_INT, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12, 0, 0, 0},
26141{ SWIG_PY_INT, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11, 0, 0, 0},
26142{ SWIG_PY_INT, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10, 0, 0, 0},
26143{ SWIG_PY_INT, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9, 0, 0, 0},
26144{ SWIG_PY_INT, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8, 0, 0, 0},
26145{ SWIG_PY_INT, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7, 0, 0, 0},
26146{ SWIG_PY_INT, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6, 0, 0, 0},
26147{ SWIG_PY_INT, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5, 0, 0, 0},
26148{ SWIG_PY_INT, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4, 0, 0, 0},
26149{ SWIG_PY_INT, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3, 0, 0, 0},
26150{ SWIG_PY_INT, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2, 0, 0, 0},
26151{ SWIG_PY_INT, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1, 0, 0, 0},
26152{ SWIG_PY_INT, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0, 0, 0, 0},
26153{ SWIG_PY_INT, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1, 0, 0, 0},
26154{ SWIG_PY_INT, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2, 0, 0, 0},
26155{ SWIG_PY_INT, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3, 0, 0, 0},
26156{ SWIG_PY_INT, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4, 0, 0, 0},
26157{ SWIG_PY_INT, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5, 0, 0, 0},
26158{ SWIG_PY_INT, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6, 0, 0, 0},
26159{ SWIG_PY_INT, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7, 0, 0, 0},
26160{ SWIG_PY_INT, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8, 0, 0, 0},
26161{ SWIG_PY_INT, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9, 0, 0, 0},
26162{ SWIG_PY_INT, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10, 0, 0, 0},
26163{ SWIG_PY_INT, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11, 0, 0, 0},
26164{ SWIG_PY_INT, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12, 0, 0, 0},
26165{ SWIG_PY_INT, (char *)"DateTime_WET", (long) wxDateTime::WET, 0, 0, 0},
26166{ SWIG_PY_INT, (char *)"DateTime_WEST", (long) wxDateTime::WEST, 0, 0, 0},
26167{ SWIG_PY_INT, (char *)"DateTime_CET", (long) wxDateTime::CET, 0, 0, 0},
26168{ SWIG_PY_INT, (char *)"DateTime_CEST", (long) wxDateTime::CEST, 0, 0, 0},
26169{ SWIG_PY_INT, (char *)"DateTime_EET", (long) wxDateTime::EET, 0, 0, 0},
26170{ SWIG_PY_INT, (char *)"DateTime_EEST", (long) wxDateTime::EEST, 0, 0, 0},
26171{ SWIG_PY_INT, (char *)"DateTime_MSK", (long) wxDateTime::MSK, 0, 0, 0},
26172{ SWIG_PY_INT, (char *)"DateTime_MSD", (long) wxDateTime::MSD, 0, 0, 0},
26173{ SWIG_PY_INT, (char *)"DateTime_AST", (long) wxDateTime::AST, 0, 0, 0},
26174{ SWIG_PY_INT, (char *)"DateTime_ADT", (long) wxDateTime::ADT, 0, 0, 0},
26175{ SWIG_PY_INT, (char *)"DateTime_EST", (long) wxDateTime::EST, 0, 0, 0},
26176{ SWIG_PY_INT, (char *)"DateTime_EDT", (long) wxDateTime::EDT, 0, 0, 0},
26177{ SWIG_PY_INT, (char *)"DateTime_CST", (long) wxDateTime::CST, 0, 0, 0},
26178{ SWIG_PY_INT, (char *)"DateTime_CDT", (long) wxDateTime::CDT, 0, 0, 0},
26179{ SWIG_PY_INT, (char *)"DateTime_MST", (long) wxDateTime::MST, 0, 0, 0},
26180{ SWIG_PY_INT, (char *)"DateTime_MDT", (long) wxDateTime::MDT, 0, 0, 0},
26181{ SWIG_PY_INT, (char *)"DateTime_PST", (long) wxDateTime::PST, 0, 0, 0},
26182{ SWIG_PY_INT, (char *)"DateTime_PDT", (long) wxDateTime::PDT, 0, 0, 0},
26183{ SWIG_PY_INT, (char *)"DateTime_HST", (long) wxDateTime::HST, 0, 0, 0},
26184{ SWIG_PY_INT, (char *)"DateTime_AKST", (long) wxDateTime::AKST, 0, 0, 0},
26185{ SWIG_PY_INT, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT, 0, 0, 0},
26186{ SWIG_PY_INT, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST, 0, 0, 0},
26187{ SWIG_PY_INT, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST, 0, 0, 0},
26188{ SWIG_PY_INT, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST, 0, 0, 0},
26189{ SWIG_PY_INT, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST, 0, 0, 0},
26190{ SWIG_PY_INT, (char *)"DateTime_UTC", (long) wxDateTime::UTC, 0, 0, 0},
26191{ SWIG_PY_INT, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian, 0, 0, 0},
26192{ SWIG_PY_INT, (char *)"DateTime_Julian", (long) wxDateTime::Julian, 0, 0, 0},
26193{ SWIG_PY_INT, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown, 0, 0, 0},
26194{ SWIG_PY_INT, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard, 0, 0, 0},
26195{ SWIG_PY_INT, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska, 0, 0, 0},
26196{ SWIG_PY_INT, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania, 0, 0, 0},
26197{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria, 0, 0, 0},
26198{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen, 0, 0, 0},
26199{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg, 0, 0, 0},
26200{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol, 0, 0, 0},
26201{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia, 0, 0, 0},
26202{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria, 0, 0, 0},
26203{ SWIG_PY_INT, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium, 0, 0, 0},
26204{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria, 0, 0, 0},
26205{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1, 0, 0, 0},
26206{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2, 0, 0, 0},
26207{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3, 0, 0, 0},
26208{ SWIG_PY_INT, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada, 0, 0, 0},
26209{ SWIG_PY_INT, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China, 0, 0, 0},
26210{ SWIG_PY_INT, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1, 0, 0, 0},
26211{ SWIG_PY_INT, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2, 0, 0, 0},
26212{ SWIG_PY_INT, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia, 0, 0, 0},
26213{ SWIG_PY_INT, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark, 0, 0, 0},
26214{ SWIG_PY_INT, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt, 0, 0, 0},
26215{ SWIG_PY_INT, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia, 0, 0, 0},
26216{ SWIG_PY_INT, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland, 0, 0, 0},
26217{ SWIG_PY_INT, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France, 0, 0, 0},
26218{ SWIG_PY_INT, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace, 0, 0, 0},
26219{ SWIG_PY_INT, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine, 0, 0, 0},
26220{ SWIG_PY_INT, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg, 0, 0, 0},
26221{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany, 0, 0, 0},
26222{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic, 0, 0, 0},
26223{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia, 0, 0, 0},
26224{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant, 0, 0, 0},
26225{ SWIG_PY_INT, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain, 0, 0, 0},
26226{ SWIG_PY_INT, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece, 0, 0, 0},
26227{ SWIG_PY_INT, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary, 0, 0, 0},
26228{ SWIG_PY_INT, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland, 0, 0, 0},
26229{ SWIG_PY_INT, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy, 0, 0, 0},
26230{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan, 0, 0, 0},
26231{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1, 0, 0, 0},
26232{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2, 0, 0, 0},
26233{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3, 0, 0, 0},
26234{ SWIG_PY_INT, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia, 0, 0, 0},
26235{ SWIG_PY_INT, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania, 0, 0, 0},
26236{ SWIG_PY_INT, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg, 0, 0, 0},
26237{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands, 0, 0, 0},
26238{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen, 0, 0, 0},
26239{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland, 0, 0, 0},
26240{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht, 0, 0, 0},
26241{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland, 0, 0, 0},
26242{ SWIG_PY_INT, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway, 0, 0, 0},
26243{ SWIG_PY_INT, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland, 0, 0, 0},
26244{ SWIG_PY_INT, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal, 0, 0, 0},
26245{ SWIG_PY_INT, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania, 0, 0, 0},
26246{ SWIG_PY_INT, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia, 0, 0, 0},
26247{ SWIG_PY_INT, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland, 0, 0, 0},
26248{ SWIG_PY_INT, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain, 0, 0, 0},
26249{ SWIG_PY_INT, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden, 0, 0, 0},
26250{ SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland, 0, 0, 0},
26251{ SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic, 0, 0, 0},
26252{ SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant, 0, 0, 0},
26253{ SWIG_PY_INT, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey, 0, 0, 0},
26254{ SWIG_PY_INT, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA, 0, 0, 0},
26255{ SWIG_PY_INT, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales, 0, 0, 0},
26256{ SWIG_PY_INT, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia, 0, 0, 0},
26257{ SWIG_PY_INT, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown, 0, 0, 0},
26258{ SWIG_PY_INT, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default, 0, 0, 0},
26259{ SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start, 0, 0, 0},
26260{ SWIG_PY_INT, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC, 0, 0, 0},
26261{ SWIG_PY_INT, (char *)"DateTime_France", (long) wxDateTime::France, 0, 0, 0},
26262{ SWIG_PY_INT, (char *)"DateTime_Germany", (long) wxDateTime::Germany, 0, 0, 0},
26263{ SWIG_PY_INT, (char *)"DateTime_UK", (long) wxDateTime::UK, 0, 0, 0},
26264{ SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End, 0, 0, 0},
26265{ SWIG_PY_INT, (char *)"DateTime_Russia", (long) wxDateTime::Russia, 0, 0, 0},
26266{ SWIG_PY_INT, (char *)"DateTime_USA", (long) wxDateTime::USA, 0, 0, 0},
26267{ SWIG_PY_INT, (char *)"DateTime_Jan", (long) wxDateTime::Jan, 0, 0, 0},
26268{ SWIG_PY_INT, (char *)"DateTime_Feb", (long) wxDateTime::Feb, 0, 0, 0},
26269{ SWIG_PY_INT, (char *)"DateTime_Mar", (long) wxDateTime::Mar, 0, 0, 0},
26270{ SWIG_PY_INT, (char *)"DateTime_Apr", (long) wxDateTime::Apr, 0, 0, 0},
26271{ SWIG_PY_INT, (char *)"DateTime_May", (long) wxDateTime::May, 0, 0, 0},
26272{ SWIG_PY_INT, (char *)"DateTime_Jun", (long) wxDateTime::Jun, 0, 0, 0},
26273{ SWIG_PY_INT, (char *)"DateTime_Jul", (long) wxDateTime::Jul, 0, 0, 0},
26274{ SWIG_PY_INT, (char *)"DateTime_Aug", (long) wxDateTime::Aug, 0, 0, 0},
26275{ SWIG_PY_INT, (char *)"DateTime_Sep", (long) wxDateTime::Sep, 0, 0, 0},
26276{ SWIG_PY_INT, (char *)"DateTime_Oct", (long) wxDateTime::Oct, 0, 0, 0},
26277{ SWIG_PY_INT, (char *)"DateTime_Nov", (long) wxDateTime::Nov, 0, 0, 0},
26278{ SWIG_PY_INT, (char *)"DateTime_Dec", (long) wxDateTime::Dec, 0, 0, 0},
26279{ SWIG_PY_INT, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month, 0, 0, 0},
26280{ SWIG_PY_INT, (char *)"DateTime_Sun", (long) wxDateTime::Sun, 0, 0, 0},
26281{ SWIG_PY_INT, (char *)"DateTime_Mon", (long) wxDateTime::Mon, 0, 0, 0},
26282{ SWIG_PY_INT, (char *)"DateTime_Tue", (long) wxDateTime::Tue, 0, 0, 0},
26283{ SWIG_PY_INT, (char *)"DateTime_Wed", (long) wxDateTime::Wed, 0, 0, 0},
26284{ SWIG_PY_INT, (char *)"DateTime_Thu", (long) wxDateTime::Thu, 0, 0, 0},
26285{ SWIG_PY_INT, (char *)"DateTime_Fri", (long) wxDateTime::Fri, 0, 0, 0},
26286{ SWIG_PY_INT, (char *)"DateTime_Sat", (long) wxDateTime::Sat, 0, 0, 0},
26287{ SWIG_PY_INT, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay, 0, 0, 0},
26288{ SWIG_PY_INT, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year, 0, 0, 0},
26289{ SWIG_PY_INT, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full, 0, 0, 0},
26290{ SWIG_PY_INT, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr, 0, 0, 0},
26291{ SWIG_PY_INT, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First, 0, 0, 0},
26292{ SWIG_PY_INT, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First, 0, 0, 0},
26293{ SWIG_PY_INT, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First, 0, 0, 0},
26294{ SWIG_PY_INT, (char *)"DF_INVALID", (long) wxDF_INVALID, 0, 0, 0},
26295{ SWIG_PY_INT, (char *)"DF_TEXT", (long) wxDF_TEXT, 0, 0, 0},
26296{ SWIG_PY_INT, (char *)"DF_BITMAP", (long) wxDF_BITMAP, 0, 0, 0},
26297{ SWIG_PY_INT, (char *)"DF_METAFILE", (long) wxDF_METAFILE, 0, 0, 0},
26298{ SWIG_PY_INT, (char *)"DF_SYLK", (long) wxDF_SYLK, 0, 0, 0},
26299{ SWIG_PY_INT, (char *)"DF_DIF", (long) wxDF_DIF, 0, 0, 0},
26300{ SWIG_PY_INT, (char *)"DF_TIFF", (long) wxDF_TIFF, 0, 0, 0},
26301{ SWIG_PY_INT, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT, 0, 0, 0},
26302{ SWIG_PY_INT, (char *)"DF_DIB", (long) wxDF_DIB, 0, 0, 0},
26303{ SWIG_PY_INT, (char *)"DF_PALETTE", (long) wxDF_PALETTE, 0, 0, 0},
26304{ SWIG_PY_INT, (char *)"DF_PENDATA", (long) wxDF_PENDATA, 0, 0, 0},
26305{ SWIG_PY_INT, (char *)"DF_RIFF", (long) wxDF_RIFF, 0, 0, 0},
26306{ SWIG_PY_INT, (char *)"DF_WAVE", (long) wxDF_WAVE, 0, 0, 0},
26307{ SWIG_PY_INT, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT, 0, 0, 0},
26308{ SWIG_PY_INT, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE, 0, 0, 0},
26309{ SWIG_PY_INT, (char *)"DF_FILENAME", (long) wxDF_FILENAME, 0, 0, 0},
26310{ SWIG_PY_INT, (char *)"DF_LOCALE", (long) wxDF_LOCALE, 0, 0, 0},
26311{ SWIG_PY_INT, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE, 0, 0, 0},
26312{ SWIG_PY_INT, (char *)"DF_HTML", (long) wxDF_HTML, 0, 0, 0},
26313{ SWIG_PY_INT, (char *)"DF_MAX", (long) wxDF_MAX, 0, 0, 0},
26314{ SWIG_PY_INT, (char *)"DataObject_Get", (long) wxDataObject::Get, 0, 0, 0},
26315{ SWIG_PY_INT, (char *)"DataObject_Set", (long) wxDataObject::Set, 0, 0, 0},
26316{ SWIG_PY_INT, (char *)"DataObject_Both", (long) wxDataObject::Both, 0, 0, 0},
26317{ SWIG_PY_INT, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly, 0, 0, 0},
26318{ SWIG_PY_INT, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove, 0, 0, 0},
26319{ SWIG_PY_INT, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove, 0, 0, 0},
26320{ SWIG_PY_INT, (char *)"DragError", (long) wxDragError, 0, 0, 0},
26321{ SWIG_PY_INT, (char *)"DragNone", (long) wxDragNone, 0, 0, 0},
26322{ SWIG_PY_INT, (char *)"DragCopy", (long) wxDragCopy, 0, 0, 0},
26323{ SWIG_PY_INT, (char *)"DragMove", (long) wxDragMove, 0, 0, 0},
26324{ SWIG_PY_INT, (char *)"DragLink", (long) wxDragLink, 0, 0, 0},
26325{ SWIG_PY_INT, (char *)"DragCancel", (long) wxDragCancel, 0, 0, 0},
26326{0}};
26327
26328#ifdef __cplusplus
26329}
26330#endif
26331
26332#ifdef __cplusplus
26333extern "C"
26334#endif
26335SWIGEXPORT(void) SWIG_init(void) {
26336 static PyObject *SWIG_globals = 0;
26337 static int typeinit = 0;
26338 PyObject *m, *d;
26339 int i;
26340 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26341 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26342 d = PyModule_GetDict(m);
26343
26344 if (!typeinit) {
26345 for (i = 0; swig_types_initial[i]; i++) {
26346 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26347 }
26348 typeinit = 1;
26349 }
26350 SWIG_InstallConstants(d,swig_const_table);
26351
26352 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
26353 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
26354
26355 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26356
26357 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
26358 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
26359 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
26360 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
26361 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26362 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
26363 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
26364 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
26365 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
26366 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
26367 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
26368 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
26369 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
26370 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
26371 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
26372 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
26373 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
26374 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
26375 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
26376 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
26377 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
26378 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
26379 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
26380 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
26381 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
26382 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
26383 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
26384 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
26385 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
26386 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
26387 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
26388 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
26389 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
26390 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
26391 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
26392 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
26393 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
26394 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
26395 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
26396 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
26397 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
26398 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
26399 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
26400 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
26401
26402 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26403
26404 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
26405
26406 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26407 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26408 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26409 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26410
26411 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
26412}
26413