]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/src/msw/misc_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / msw / misc_wrap.cpp
... / ...
CommitLineData
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#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
82#else
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
85#endif
86
87#ifdef SWIG_GLOBAL
88# define SWIGRUNTIME(a) SWIGEXPORT(a)
89#else
90# define SWIGRUNTIME(a) static a
91#endif
92
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122#ifdef __cplusplus
123}
124
125#endif
126
127
128/***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138#include "Python.h"
139
140#ifdef __cplusplus
141extern "C" {
142#endif
143
144#define SWIG_PY_INT 1
145#define SWIG_PY_FLOAT 2
146#define SWIG_PY_STRING 3
147#define SWIG_PY_POINTER 4
148#define SWIG_PY_BINARY 5
149
150/* Flags for pointer conversion */
151
152#define SWIG_POINTER_EXCEPTION 0x1
153#define SWIG_POINTER_DISOWN 0x2
154
155/* Exception handling in wrappers */
156#define SWIG_fail goto fail
157
158/* Constant information structure */
159typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166} swig_const_info;
167
168/* Common SWIG API */
169#define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171#define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173#define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176/* Python-specific SWIG API */
177#define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179#define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183#define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185#define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
188
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199
200/* Contract support */
201
202#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
203
204#ifdef __cplusplus
205}
206#endif
207
208
209
210/* -------- TYPES TABLE (BEGIN) -------- */
211
212#define SWIGTYPE_p_wxLogChain swig_types[0]
213#define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
214#define SWIGTYPE_p_wxMetafile swig_types[2]
215#define SWIGTYPE_p_wxFileHistory swig_types[3]
216#define SWIGTYPE_p_wxLog swig_types[4]
217#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
218#define SWIGTYPE_p_wxMenu swig_types[6]
219#define SWIGTYPE_p_wxEvent swig_types[7]
220#define SWIGTYPE_p_wxConfigBase swig_types[8]
221#define SWIGTYPE_p_wxWave swig_types[9]
222#define SWIGTYPE_p_wxFileType swig_types[10]
223#define SWIGTYPE_p_wxLogGui swig_types[11]
224#define SWIGTYPE_p_wxFont swig_types[12]
225#define SWIGTYPE_p_wxDataFormat swig_types[13]
226#define SWIGTYPE_p_wxTimerEvent swig_types[14]
227#define SWIGTYPE_p_wxCaret swig_types[15]
228#define SWIGTYPE_p_int swig_types[16]
229#define SWIGTYPE_p_wxSize swig_types[17]
230#define SWIGTYPE_p_wxClipboard swig_types[18]
231#define SWIGTYPE_p_wxStopWatch swig_types[19]
232#define SWIGTYPE_p_wxDC swig_types[20]
233#define SWIGTYPE_p_wxClipboardLocker swig_types[21]
234#define SWIGTYPE_p_wxIcon swig_types[22]
235#define SWIGTYPE_p_wxLogStderr swig_types[23]
236#define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
237#define SWIGTYPE_p_wxTextCtrl swig_types[25]
238#define SWIGTYPE_p_wxBusyCursor swig_types[26]
239#define SWIGTYPE_p_wxFileDataObject swig_types[27]
240#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[28]
241#define SWIGTYPE_p_wxPyTextDataObject swig_types[29]
242#define SWIGTYPE_p_wxBitmapDataObject swig_types[30]
243#define SWIGTYPE_p_wxTextDataObject swig_types[31]
244#define SWIGTYPE_p_wxDataObject swig_types[32]
245#define SWIGTYPE_p_wxCustomDataObject swig_types[33]
246#define SWIGTYPE_p_wxURLDataObject swig_types[34]
247#define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
248#define SWIGTYPE_p_wxTimerRunner swig_types[36]
249#define SWIGTYPE_p_wxLogWindow swig_types[37]
250#define SWIGTYPE_p_wxTimeSpan swig_types[38]
251#define SWIGTYPE_p_wxArrayString swig_types[39]
252#define SWIGTYPE_p_wxWindowDisabler swig_types[40]
253#define SWIGTYPE_p_wxToolTip swig_types[41]
254#define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
255#define SWIGTYPE_p_wxFileConfig swig_types[43]
256#define SWIGTYPE_p_wxSystemSettings swig_types[44]
257#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[45]
258#define SWIGTYPE_p_wxDataObjectSimple swig_types[46]
259#define SWIGTYPE_p_wxEvtHandler swig_types[47]
260#define SWIGTYPE_p_wxRect swig_types[48]
261#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[49]
262#define SWIGTYPE_p_wxFileTypeInfo swig_types[50]
263#define SWIGTYPE_p_wxFrame swig_types[51]
264#define SWIGTYPE_p_wxTimer swig_types[52]
265#define SWIGTYPE_p_wxMimeTypesManager swig_types[53]
266#define SWIGTYPE_p_wxPyArtProvider swig_types[54]
267#define SWIGTYPE_p_wxPyTipProvider swig_types[55]
268#define SWIGTYPE_p_wxTipProvider swig_types[56]
269#define SWIGTYPE_p_wxJoystick swig_types[57]
270#define SWIGTYPE_p_wxSystemOptions swig_types[58]
271#define SWIGTYPE_p_wxPoint swig_types[59]
272#define SWIGTYPE_p_wxJoystickEvent swig_types[60]
273#define SWIGTYPE_p_wxCursor swig_types[61]
274#define SWIGTYPE_p_wxObject swig_types[62]
275#define SWIGTYPE_p_wxOutputStream swig_types[63]
276#define SWIGTYPE_p_wxDateTime swig_types[64]
277#define SWIGTYPE_p_wxPyDropSource swig_types[65]
278#define SWIGTYPE_p_wxWindow swig_types[66]
279#define SWIGTYPE_p_wxString swig_types[67]
280#define SWIGTYPE_p_wxPyProcess swig_types[68]
281#define SWIGTYPE_p_wxBitmap swig_types[69]
282#define SWIGTYPE_p_wxConfig swig_types[70]
283#define SWIGTYPE_p_wxChar swig_types[71]
284#define SWIGTYPE_p_wxBusyInfo swig_types[72]
285#define SWIGTYPE_p_wxPyDropTarget swig_types[73]
286#define SWIGTYPE_p_wxPyTextDropTarget swig_types[74]
287#define SWIGTYPE_p_wxPyFileDropTarget swig_types[75]
288#define SWIGTYPE_p_wxProcessEvent swig_types[76]
289#define SWIGTYPE_p_wxPyLog swig_types[77]
290#define SWIGTYPE_p_wxLogNull swig_types[78]
291#define SWIGTYPE_p_wxColour swig_types[79]
292#define SWIGTYPE_p_wxConfigPathChanger swig_types[80]
293#define SWIGTYPE_p_wxPyTimer swig_types[81]
294#define SWIGTYPE_p_wxDateSpan swig_types[82]
295static swig_type_info *swig_types[84];
296
297/* -------- TYPES TABLE (END) -------- */
298
299
300/*-----------------------------------------------
301 @(target):= _misc.so
302 ------------------------------------------------*/
303#define SWIG_init init_misc
304
305#define SWIG_name "_misc"
306
307#include "wx/wxPython/wxPython.h"
308#include "wx/wxPython/pyclasses.h"
309#include "wx/wxPython/pyistream.h"
310
311
312 static const wxString wxPyEmptyString(wxEmptyString);
313
314
315 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
316 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
317 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
318
319static PyObject* t_output_helper(PyObject* target, PyObject* o) {
320 PyObject* o2;
321 PyObject* o3;
322
323 if (!target) {
324 target = o;
325 } else if (target == Py_None) {
326 Py_DECREF(Py_None);
327 target = o;
328 } else {
329 if (!PyTuple_Check(target)) {
330 o2 = target;
331 target = PyTuple_New(1);
332 PyTuple_SetItem(target, 0, o2);
333 }
334 o3 = PyTuple_New(1);
335 PyTuple_SetItem(o3, 0, o);
336
337 o2 = target;
338 target = PySequence_Concat(o2, o3);
339 Py_DECREF(o2);
340 Py_DECREF(o3);
341 }
342 return target;
343}
344
345
346 bool wxThread_IsMain() {
347#ifdef WXP_WITH_THREAD
348 return wxThread::IsMain();
349#else
350 return True;
351#endif
352 }
353
354
355 int wxCaret_GetBlinkTime() {
356 return wxCaret::GetBlinkTime();
357 }
358
359 void wxCaret_SetBlinkTime(int milliseconds) {
360 wxCaret::SetBlinkTime(milliseconds);
361 }
362
363
364#include <wx/snglinst.h>
365
366
367#ifdef __WXMSW__
368#include <wx/msw/private.h>
369#include <wx/dynload.h>
370#endif
371
372
373
374void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
375{
376#ifdef __WXMSW__
377
378 switch (method)
379 {
380 case 1:
381 // This one only partially works. Appears to be an undocumented
382 // "standard" convention that not all widgets adhear to. For
383 // example, for some widgets backgrounds or non-client areas may
384 // not be painted.
385 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
386 break;
387
388 case 2:
389 // This one works much better, except for on XP. On Win2k nearly
390 // all widgets and their children are captured correctly[**]. On
391 // XP with Themes activated most native widgets draw only
392 // partially, if at all. Without themes it works just like on
393 // Win2k.
394 //
395 // ** For example the radio buttons in a wxRadioBox are not its
396 // children by default, but you can capture it via the panel
397 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
398 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
399 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
400 PRF_ERASEBKGND | PRF_OWNED );
401 break;
402
403 case 3:
404 // This one is only defined in the latest SDK and is only
405 // available on XP. MSDN says it is similar to sending WM_PRINT
406 // so I expect that it will work similar to the above. Since it
407 // is avaialble only on XP, it can't be compiled like this and
408 // will have to be loaded dynamically.
409 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
410
411 // fall through
412
413 case 4:
414 // Use PrintWindow if available, or fallback to WM_PRINT
415 // otherwise. Unfortunately using PrintWindow is even worse than
416 // WM_PRINT. For most native widgets nothing is drawn to the dc
417 // at all, with or without Themes.
418 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
419 static bool s_triedToLoad = False;
420 static PrintWindow_t pfnPrintWindow = NULL;
421 if ( !s_triedToLoad )
422 {
423
424 s_triedToLoad = True;
425 wxDynamicLibrary dllUser32(_T("user32.dll"));
426 if ( dllUser32.IsLoaded() )
427 {
428 wxLogNull nolog; // Don't report errors here
429 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
430 }
431 }
432 if (pfnPrintWindow)
433 {
434 printf("Using PrintWindow\n");
435 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
436 }
437 else
438 {
439 printf("Using WM_PRINT\n");
440 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
441 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
442 }
443 }
444#endif
445}
446
447
448
449#include <wx/tipdlg.h>
450
451
452class wxPyTipProvider : public wxTipProvider {
453public:
454 wxPyTipProvider(size_t currentTip)
455 : wxTipProvider(currentTip) {}
456
457 DEC_PYCALLBACK_STRING__pure(GetTip);
458 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
459 PYPRIVATE;
460};
461
462IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
463IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
464
465
466IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
467
468wxString Log_TimeStamp(){
469 wxString msg;
470 wxLog::TimeStamp(&msg);
471 return msg;
472 }
473void wxLog_Destroy(wxLog *self){ delete self; }
474
475// A wxLog class that can be derived from in wxPython
476class wxPyLog : public wxLog {
477public:
478 wxPyLog() : wxLog() {}
479
480 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
481 bool found;
482 wxPyBeginBlockThreads();
483 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
484 PyObject* s = wx2PyString(szString);
485 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
486 Py_DECREF(s);
487 }
488 wxPyEndBlockThreads();
489 if (! found)
490 wxLog::DoLog(level, szString, t);
491 }
492
493 virtual void DoLogString(const wxChar *szString, time_t t) {
494 bool found;
495 wxPyBeginBlockThreads();
496 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
497 PyObject* s = wx2PyString(szString);
498 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
499 Py_DECREF(s);
500 }
501 wxPyEndBlockThreads();
502 if (! found)
503 wxLog::DoLogString(szString, t);
504 }
505
506 PYPRIVATE;
507};
508
509
510
511
512IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
513
514
515#include <wx/joystick.h>
516
517
518#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
519// A C++ stub class for wxJoystick for platforms that don't have it.
520class wxJoystick : public wxObject {
521public:
522 wxJoystick(int joystick = wxJOYSTICK1) {
523 wxPyBeginBlockThreads();
524 PyErr_SetString(PyExc_NotImplementedError, "wxJoystick is not available on this platform.");
525 wxPyEndBlockThreads();
526 }
527 wxPoint GetPosition() { return wxPoint(-1,-1); }
528 int GetZPosition() { return -1; }
529 int GetButtonState() { return -1; }
530 int GetPOVPosition() { return -1; }
531 int GetPOVCTSPosition() { return -1; }
532 int GetRudderPosition() { return -1; }
533 int GetUPosition() { return -1; }
534 int GetVPosition() { return -1; }
535 int GetMovementThreshold() { return -1; }
536 void SetMovementThreshold(int threshold) {}
537
538 bool IsOk(void) { return False; }
539 int GetNumberJoysticks() { return -1; }
540 int GetManufacturerId() { return -1; }
541 int GetProductId() { return -1; }
542 wxString GetProductName() { return ""; }
543 int GetXMin() { return -1; }
544 int GetYMin() { return -1; }
545 int GetZMin() { return -1; }
546 int GetXMax() { return -1; }
547 int GetYMax() { return -1; }
548 int GetZMax() { return -1; }
549 int GetNumberButtons() { return -1; }
550 int GetNumberAxes() { return -1; }
551 int GetMaxButtons() { return -1; }
552 int GetMaxAxes() { return -1; }
553 int GetPollingMin() { return -1; }
554 int GetPollingMax() { return -1; }
555 int GetRudderMin() { return -1; }
556 int GetRudderMax() { return -1; }
557 int GetUMin() { return -1; }
558 int GetUMax() { return -1; }
559 int GetVMin() { return -1; }
560 int GetVMax() { return -1; }
561
562 bool HasRudder() { return False; }
563 bool HasZ() { return False; }
564 bool HasU() { return False; }
565 bool HasV() { return False; }
566 bool HasPOV() { return False; }
567 bool HasPOV4Dir() { return False; }
568 bool HasPOVCTS() { return False; }
569
570 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
571 bool ReleaseCapture() { return False; }
572};
573#endif
574
575
576#include <wx/wave.h>
577
578
579#if !wxUSE_WAVE
580// A C++ stub class for wxWave for platforms that don't have it.
581class wxWave : public wxObject
582{
583public:
584 wxWave(const wxString& fileName, bool isResource = False) {
585 wxPyBeginBlockThreads();
586 PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
587 wxPyEndBlockThreads();
588 }
589 wxWave(int size, const wxByte* data) {
590 wxPyBeginBlockThreads();
591 PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
592 wxPyEndBlockThreads();
593 }
594
595 ~wxWave() {}
596
597 bool IsOk() const { return False; }
598 bool Play(bool async = True, bool looped = False) const { return False; }
599};
600
601#endif
602
603wxWave *new_wxWave(wxString const &data){
604 return new wxWave(data.Len(), (wxByte*)data.c_str());
605 }
606
607#include <wx/mimetype.h>
608
609PyObject *wxFileType_GetMimeType(wxFileType *self){
610 wxString str;
611 if (self->GetMimeType(&str))
612 return wx2PyString(str);
613 else
614 RETURN_NONE();
615 }
616PyObject *wxFileType_GetMimeTypes(wxFileType *self){
617 wxArrayString arr;
618 if (self->GetMimeTypes(arr))
619 return wxArrayString2PyList_helper(arr);
620 else
621 RETURN_NONE();
622 }
623PyObject *wxFileType_GetExtensions(wxFileType *self){
624 wxArrayString arr;
625 if (self->GetExtensions(arr))
626 return wxArrayString2PyList_helper(arr);
627 else
628 RETURN_NONE();
629 }
630wxIcon *wxFileType_GetIcon(wxFileType *self){
631 wxIconLocation loc;
632 if (self->GetIcon(&loc))
633 return new wxIcon(loc);
634 else
635 return NULL;
636 }
637PyObject *wxFileType_GetIconInfo(wxFileType *self){
638 wxIconLocation loc;
639 if (self->GetIcon(&loc)) {
640 wxString iconFile = loc.GetFileName();
641 int iconIndex = -1;
642
643 iconIndex = loc.GetIndex();
644
645 // Make a tuple and put the values in it
646 wxPyBeginBlockThreads();
647 PyObject* tuple = PyTuple_New(3);
648 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
649 wxT("wxIcon"), True));
650 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
651 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
652 wxPyEndBlockThreads();
653 return tuple;
654 }
655 else
656 RETURN_NONE();
657 }
658PyObject *wxFileType_GetDescription(wxFileType *self){
659 wxString str;
660 if (self->GetDescription(&str))
661 return wx2PyString(str);
662 else
663 RETURN_NONE();
664 }
665PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
666 wxString str;
667 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
668 return wx2PyString(str);
669 else
670 RETURN_NONE();
671 }
672PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
673 wxString str;
674 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
675 return wx2PyString(str);
676 else
677 RETURN_NONE();
678 }
679PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
680 wxArrayString verbs;
681 wxArrayString commands;
682 if (self->GetAllCommands(&verbs, &commands,
683 wxFileType::MessageParameters(filename, mimetype))) {
684 wxPyBeginBlockThreads();
685 PyObject* tuple = PyTuple_New(2);
686 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
687 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
688 wxPyEndBlockThreads();
689 return tuple;
690 }
691 else
692 RETURN_NONE();
693 }
694wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
695 return wxFileType::ExpandCommand(command,
696 wxFileType::MessageParameters(filename, mimetype));
697 }
698PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
699 wxArrayString arr;
700 self->EnumAllFileTypes(arr);
701 return wxArrayString2PyList_helper(arr);
702 }
703
704#include <wx/artprov.h>
705
706 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
707 static const wxString wxPyART_MENU(wxART_MENU);
708 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
709 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
710 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
711 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
712 static const wxString wxPyART_OTHER(wxART_OTHER);
713 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
714 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
715 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
716 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
717 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
718 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
719 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
720 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
721 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
722 static const wxString wxPyART_GO_UP(wxART_GO_UP);
723 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
724 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
725 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
726 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
727 static const wxString wxPyART_PRINT(wxART_PRINT);
728 static const wxString wxPyART_HELP(wxART_HELP);
729 static const wxString wxPyART_TIP(wxART_TIP);
730 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
731 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
732 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
733 static const wxString wxPyART_FOLDER(wxART_FOLDER);
734 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
735 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
736 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
737 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
738 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
739 static const wxString wxPyART_ERROR(wxART_ERROR);
740 static const wxString wxPyART_QUESTION(wxART_QUESTION);
741 static const wxString wxPyART_WARNING(wxART_WARNING);
742 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
743 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
744 // Python aware wxArtProvider
745class wxPyArtProvider : public wxArtProvider {
746public:
747
748 virtual wxBitmap CreateBitmap(const wxArtID& id,
749 const wxArtClient& client,
750 const wxSize& size) {
751 wxBitmap rval = wxNullBitmap;
752 wxPyBeginBlockThreads();
753 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
754 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
755 PyObject* ro;
756 wxBitmap* ptr;
757 PyObject* s1, *s2;
758 s1 = wx2PyString(id);
759 s2 = wx2PyString(client);
760 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
761 Py_DECREF(so);
762 Py_DECREF(s1);
763 Py_DECREF(s2);
764 if (ro) {
765 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
766 rval = *ptr;
767 Py_DECREF(ro);
768 }
769 }
770 wxPyEndBlockThreads();
771 return rval;
772 }
773
774 PYPRIVATE;
775};
776
777void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
778
779
780
781 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
782 PyObject* ret = PyTuple_New(3);
783 if (ret) {
784 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
785 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
786 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
787 }
788 return ret;
789 }
790
791PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
792 bool cont;
793 long index = 0;
794 wxString value;
795
796 cont = self->GetFirstGroup(value, index);
797 return __EnumerationHelper(cont, value, index);
798 }
799PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
800 bool cont;
801 wxString value;
802
803 cont = self->GetNextGroup(value, index);
804 return __EnumerationHelper(cont, value, index);
805 }
806PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
807 bool cont;
808 long index = 0;
809 wxString value;
810
811 cont = self->GetFirstEntry(value, index);
812 return __EnumerationHelper(cont, value, index);
813 }
814PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
815 bool cont;
816 wxString value;
817
818 cont = self->GetNextEntry(value, index);
819 return __EnumerationHelper(cont, value, index);
820 }
821long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
822 long rv;
823 self->Read(key, &rv, defaultVal);
824 return rv;
825 }
826double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
827 double rv;
828 self->Read(key, &rv, defaultVal);
829 return rv;
830 }
831bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
832 bool rv;
833 self->Read(key, &rv, defaultVal);
834 return rv;
835 }
836
837#include <wx/datetime.h>
838
839
840 static const wxString wxPyDateFormatStr(wxT(wxT("%c")));
841 static const wxString wxPyTimeSpanFormatStr(wxT(wxT("%H:%M:%S")));
842
843#define LOCAL_TZ wxDateTime::Local
844
845wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
846wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
847wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
848wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
849wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
850bool wxDateTime___lt__(wxDateTime *self,wxDateTime const &other){ return *self < other; }
851bool wxDateTime___le__(wxDateTime *self,wxDateTime const &other){ return *self <= other; }
852bool wxDateTime___gt__(wxDateTime *self,wxDateTime const &other){ return *self > other; }
853bool wxDateTime___ge__(wxDateTime *self,wxDateTime const &other){ return *self >= other; }
854bool wxDateTime___eq__(wxDateTime *self,wxDateTime const &other){ return *self == other; }
855bool wxDateTime___ne__(wxDateTime *self,wxDateTime const &other){ return *self != other; }
856int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
857 const wxChar* rv;
858 const wxChar* _date = date;
859 rv = self->ParseRfc822Date(_date);
860 if (rv == NULL) return -1;
861 return rv - _date;
862 }
863int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
864 const wxChar* rv;
865 const wxChar* _date = date;
866 rv = self->ParseFormat(_date, format, dateDef);
867 if (rv == NULL) return -1;
868 return rv - _date;
869 }
870int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
871 const wxChar* rv;
872 const wxChar* _datetime = datetime;
873 rv = self->ParseDateTime(_datetime);
874 if (rv == NULL) return -1;
875 return rv - _datetime;
876 }
877int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
878 const wxChar* rv;
879 const wxChar* _date = date;
880 rv = self->ParseDate(_date);
881 if (rv == NULL) return -1;
882 return rv - _date;
883 }
884int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
885 const wxChar* rv;
886 const wxChar* _time = time;
887 rv = self->ParseTime(_time);
888 if (rv == NULL) return -1;
889 return rv - _time;
890 }
891wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
892wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
893wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
894wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
895bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self < other; }
896bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const &other){ return *self <= other; }
897bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self > other; }
898bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const &other){ return *self >= other; }
899bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const &other){ return *self == other; }
900bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const &other){ return *self != other; }
901wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
902wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
903wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
904wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
905bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const &other){ return *self == other; }
906bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const &other){ return *self != other; }
907
908#include <wx/dataobj.h>
909
910 // Create a new class for wxPython to use
911class wxPyDataObjectSimple : public wxDataObjectSimple {
912public:
913 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
914 : wxDataObjectSimple(format) {}
915
916 DEC_PYCALLBACK_SIZET__const(GetDataSize);
917 bool GetDataHere(void *buf) const;
918 bool SetData(size_t len, const void *buf) const;
919 PYPRIVATE;
920};
921
922IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
923
924bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
925 // We need to get the data for this object and write it to buf. I think
926 // the best way to do this for wxPython is to have the Python method
927 // return either a string or None and then act appropriately with the
928 // C++ version.
929
930 bool rval = False;
931 wxPyBeginBlockThreads();
932 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
933 PyObject* ro;
934 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
935 if (ro) {
936 rval = (ro != Py_None && PyString_Check(ro));
937 if (rval)
938 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
939 Py_DECREF(ro);
940 }
941 }
942 wxPyEndBlockThreads();
943 return rval;
944}
945
946bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
947 // For this one we simply need to make a string from buf and len
948 // and send it to the Python method.
949 bool rval = False;
950 wxPyBeginBlockThreads();
951 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
952 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
953 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
954 Py_DECREF(data);
955 }
956 wxPyEndBlockThreads();
957 return rval;
958}
959
960 // Create a new class for wxPython to use
961class wxPyTextDataObject : public wxTextDataObject {
962public:
963 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
964 : wxTextDataObject(text) {}
965
966 DEC_PYCALLBACK_SIZET__const(GetTextLength);
967 DEC_PYCALLBACK_STRING__const(GetText);
968 DEC_PYCALLBACK__STRING(SetText);
969 PYPRIVATE;
970};
971
972IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
973IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
974IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
975
976
977 // Create a new class for wxPython to use
978class wxPyBitmapDataObject : public wxBitmapDataObject {
979public:
980 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
981 : wxBitmapDataObject(bitmap) {}
982
983 wxBitmap GetBitmap() const;
984 void SetBitmap(const wxBitmap& bitmap);
985 PYPRIVATE;
986};
987
988wxBitmap wxPyBitmapDataObject::GetBitmap() const {
989 wxBitmap* rval = &wxNullBitmap;
990 wxPyBeginBlockThreads();
991 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
992 PyObject* ro;
993 wxBitmap* ptr;
994 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
995 if (ro) {
996 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
997 rval = ptr;
998 Py_DECREF(ro);
999 }
1000 }
1001 wxPyEndBlockThreads();
1002 return *rval;
1003}
1004
1005void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1006 wxPyBeginBlockThreads();
1007 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1008 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
1009 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1010 Py_DECREF(bo);
1011 }
1012 wxPyEndBlockThreads();
1013}
1014
1015void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1016 if (PyString_Check(data)) {
1017 // for Python we just call SetData here since we always need it to make a copy.
1018 self->SetData(PyString_Size(data), PyString_AsString(data));
1019 }
1020 else {
1021 // raise a TypeError if not a string
1022 PyErr_SetString(PyExc_TypeError, "String expected.");
1023 }
1024 }
1025bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1026 if (PyString_Check(data)) {
1027 return self->SetData(PyString_Size(data), PyString_AsString(data));
1028 }
1029 else {
1030 // raise a TypeError if not a string
1031 PyErr_SetString(PyExc_TypeError, "String expected.");
1032 return False;
1033 }
1034 }
1035PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1036 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1037 }
1038
1039#include <wx/metafile.h>
1040
1041
1042
1043
1044IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1045
1046
1047IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1048IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1049IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1050IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1051IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1052
1053
1054class wxPyTextDropTarget : public wxTextDropTarget {
1055public:
1056 wxPyTextDropTarget() {}
1057
1058 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1059
1060 DEC_PYCALLBACK__(OnLeave);
1061 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1062 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1063 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1064 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1065
1066 PYPRIVATE;
1067};
1068
1069IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1070IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1071IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1072IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1073IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1074IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1075
1076
1077
1078class wxPyFileDropTarget : public wxFileDropTarget {
1079public:
1080 wxPyFileDropTarget() {}
1081
1082 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1083
1084 DEC_PYCALLBACK__(OnLeave);
1085 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1086 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1087 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1088 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1089
1090 PYPRIVATE;
1091};
1092
1093bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1094 const wxArrayString& filenames) {
1095 bool rval = False;
1096 wxPyBeginBlockThreads();
1097 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1098 PyObject* list = wxArrayString2PyList_helper(filenames);
1099 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1100 Py_DECREF(list);
1101 }
1102 wxPyEndBlockThreads();
1103 return rval;
1104}
1105
1106
1107
1108IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1109IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1110IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1111IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1112IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1113
1114
1115
1116
1117bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1118#ifdef __cplusplus
1119extern "C" {
1120#endif
1121static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1122 PyObject *resultobj;
1123 int arg1 ;
1124 wxColour result;
1125 char *kwnames[] = {
1126 (char *) "index", NULL
1127 };
1128
1129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetColour",kwnames,&arg1)) goto fail;
1130 {
1131 PyThreadState* __tstate = wxPyBeginAllowThreads();
1132 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1133
1134 wxPyEndAllowThreads(__tstate);
1135 if (PyErr_Occurred()) SWIG_fail;
1136 }
1137 {
1138 wxColour * resultptr;
1139 resultptr = new wxColour((wxColour &) result);
1140 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
1141 }
1142 return resultobj;
1143 fail:
1144 return NULL;
1145}
1146
1147
1148static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1149 PyObject *resultobj;
1150 int arg1 ;
1151 wxFont result;
1152 char *kwnames[] = {
1153 (char *) "index", NULL
1154 };
1155
1156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetFont",kwnames,&arg1)) goto fail;
1157 {
1158 PyThreadState* __tstate = wxPyBeginAllowThreads();
1159 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1160
1161 wxPyEndAllowThreads(__tstate);
1162 if (PyErr_Occurred()) SWIG_fail;
1163 }
1164 {
1165 wxFont * resultptr;
1166 resultptr = new wxFont((wxFont &) result);
1167 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
1168 }
1169 return resultobj;
1170 fail:
1171 return NULL;
1172}
1173
1174
1175static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1176 PyObject *resultobj;
1177 int arg1 ;
1178 int result;
1179 char *kwnames[] = {
1180 (char *) "index", NULL
1181 };
1182
1183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetMetric",kwnames,&arg1)) goto fail;
1184 {
1185 PyThreadState* __tstate = wxPyBeginAllowThreads();
1186 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1187
1188 wxPyEndAllowThreads(__tstate);
1189 if (PyErr_Occurred()) SWIG_fail;
1190 }
1191 resultobj = PyInt_FromLong((long)result);
1192 return resultobj;
1193 fail:
1194 return NULL;
1195}
1196
1197
1198static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1199 PyObject *resultobj;
1200 int arg1 ;
1201 bool result;
1202 char *kwnames[] = {
1203 (char *) "index", NULL
1204 };
1205
1206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_HasFeature",kwnames,&arg1)) goto fail;
1207 {
1208 PyThreadState* __tstate = wxPyBeginAllowThreads();
1209 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1210
1211 wxPyEndAllowThreads(__tstate);
1212 if (PyErr_Occurred()) SWIG_fail;
1213 }
1214 resultobj = PyInt_FromLong((long)result);
1215 return resultobj;
1216 fail:
1217 return NULL;
1218}
1219
1220
1221static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1222 PyObject *resultobj;
1223 int result;
1224 char *kwnames[] = {
1225 NULL
1226 };
1227
1228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1229 {
1230 PyThreadState* __tstate = wxPyBeginAllowThreads();
1231 result = (int)wxSystemSettings::GetScreenType();
1232
1233 wxPyEndAllowThreads(__tstate);
1234 if (PyErr_Occurred()) SWIG_fail;
1235 }
1236 resultobj = PyInt_FromLong((long)result);
1237 return resultobj;
1238 fail:
1239 return NULL;
1240}
1241
1242
1243static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1244 PyObject *resultobj;
1245 int arg1 ;
1246 char *kwnames[] = {
1247 (char *) "screen", NULL
1248 };
1249
1250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_SetScreenType",kwnames,&arg1)) goto fail;
1251 {
1252 PyThreadState* __tstate = wxPyBeginAllowThreads();
1253 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1254
1255 wxPyEndAllowThreads(__tstate);
1256 if (PyErr_Occurred()) SWIG_fail;
1257 }
1258 Py_INCREF(Py_None); resultobj = Py_None;
1259 return resultobj;
1260 fail:
1261 return NULL;
1262}
1263
1264
1265static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1266 PyObject *obj;
1267 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1268 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1269 Py_INCREF(obj);
1270 return Py_BuildValue((char *)"");
1271}
1272static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1273 PyObject *resultobj;
1274 wxSystemOptions *result;
1275 char *kwnames[] = {
1276 NULL
1277 };
1278
1279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1280 {
1281 PyThreadState* __tstate = wxPyBeginAllowThreads();
1282 result = (wxSystemOptions *)new wxSystemOptions();
1283
1284 wxPyEndAllowThreads(__tstate);
1285 if (PyErr_Occurred()) SWIG_fail;
1286 }
1287 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSystemOptions, 1);
1288 return resultobj;
1289 fail:
1290 return NULL;
1291}
1292
1293
1294static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1295 PyObject *resultobj;
1296 wxString *arg1 = 0 ;
1297 wxString *arg2 = 0 ;
1298 bool temp1 = False ;
1299 bool temp2 = False ;
1300 PyObject * obj0 = 0 ;
1301 PyObject * obj1 = 0 ;
1302 char *kwnames[] = {
1303 (char *) "name",(char *) "value", NULL
1304 };
1305
1306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1307 {
1308 arg1 = wxString_in_helper(obj0);
1309 if (arg1 == NULL) SWIG_fail;
1310 temp1 = True;
1311 }
1312 {
1313 arg2 = wxString_in_helper(obj1);
1314 if (arg2 == NULL) SWIG_fail;
1315 temp2 = True;
1316 }
1317 {
1318 PyThreadState* __tstate = wxPyBeginAllowThreads();
1319 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1320
1321 wxPyEndAllowThreads(__tstate);
1322 if (PyErr_Occurred()) SWIG_fail;
1323 }
1324 Py_INCREF(Py_None); resultobj = Py_None;
1325 {
1326 if (temp1)
1327 delete arg1;
1328 }
1329 {
1330 if (temp2)
1331 delete arg2;
1332 }
1333 return resultobj;
1334 fail:
1335 {
1336 if (temp1)
1337 delete arg1;
1338 }
1339 {
1340 if (temp2)
1341 delete arg2;
1342 }
1343 return NULL;
1344}
1345
1346
1347static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1348 PyObject *resultobj;
1349 wxString *arg1 = 0 ;
1350 int arg2 ;
1351 bool temp1 = False ;
1352 PyObject * obj0 = 0 ;
1353 char *kwnames[] = {
1354 (char *) "name",(char *) "value", NULL
1355 };
1356
1357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SystemOptions_SetOptionInt",kwnames,&obj0,&arg2)) goto fail;
1358 {
1359 arg1 = wxString_in_helper(obj0);
1360 if (arg1 == NULL) SWIG_fail;
1361 temp1 = True;
1362 }
1363 {
1364 PyThreadState* __tstate = wxPyBeginAllowThreads();
1365 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1366
1367 wxPyEndAllowThreads(__tstate);
1368 if (PyErr_Occurred()) SWIG_fail;
1369 }
1370 Py_INCREF(Py_None); resultobj = Py_None;
1371 {
1372 if (temp1)
1373 delete arg1;
1374 }
1375 return resultobj;
1376 fail:
1377 {
1378 if (temp1)
1379 delete arg1;
1380 }
1381 return NULL;
1382}
1383
1384
1385static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1386 PyObject *resultobj;
1387 wxString *arg1 = 0 ;
1388 wxString result;
1389 bool temp1 = False ;
1390 PyObject * obj0 = 0 ;
1391 char *kwnames[] = {
1392 (char *) "name", NULL
1393 };
1394
1395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1396 {
1397 arg1 = wxString_in_helper(obj0);
1398 if (arg1 == NULL) SWIG_fail;
1399 temp1 = True;
1400 }
1401 {
1402 PyThreadState* __tstate = wxPyBeginAllowThreads();
1403 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1404
1405 wxPyEndAllowThreads(__tstate);
1406 if (PyErr_Occurred()) SWIG_fail;
1407 }
1408 {
1409#if wxUSE_UNICODE
1410 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1411#else
1412 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1413#endif
1414 }
1415 {
1416 if (temp1)
1417 delete arg1;
1418 }
1419 return resultobj;
1420 fail:
1421 {
1422 if (temp1)
1423 delete arg1;
1424 }
1425 return NULL;
1426}
1427
1428
1429static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1430 PyObject *resultobj;
1431 wxString *arg1 = 0 ;
1432 int result;
1433 bool temp1 = False ;
1434 PyObject * obj0 = 0 ;
1435 char *kwnames[] = {
1436 (char *) "name", NULL
1437 };
1438
1439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1440 {
1441 arg1 = wxString_in_helper(obj0);
1442 if (arg1 == NULL) SWIG_fail;
1443 temp1 = True;
1444 }
1445 {
1446 PyThreadState* __tstate = wxPyBeginAllowThreads();
1447 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1448
1449 wxPyEndAllowThreads(__tstate);
1450 if (PyErr_Occurred()) SWIG_fail;
1451 }
1452 resultobj = PyInt_FromLong((long)result);
1453 {
1454 if (temp1)
1455 delete arg1;
1456 }
1457 return resultobj;
1458 fail:
1459 {
1460 if (temp1)
1461 delete arg1;
1462 }
1463 return NULL;
1464}
1465
1466
1467static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1468 PyObject *resultobj;
1469 wxString *arg1 = 0 ;
1470 bool result;
1471 bool temp1 = False ;
1472 PyObject * obj0 = 0 ;
1473 char *kwnames[] = {
1474 (char *) "name", NULL
1475 };
1476
1477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1478 {
1479 arg1 = wxString_in_helper(obj0);
1480 if (arg1 == NULL) SWIG_fail;
1481 temp1 = True;
1482 }
1483 {
1484 PyThreadState* __tstate = wxPyBeginAllowThreads();
1485 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1486
1487 wxPyEndAllowThreads(__tstate);
1488 if (PyErr_Occurred()) SWIG_fail;
1489 }
1490 resultobj = PyInt_FromLong((long)result);
1491 {
1492 if (temp1)
1493 delete arg1;
1494 }
1495 return resultobj;
1496 fail:
1497 {
1498 if (temp1)
1499 delete arg1;
1500 }
1501 return NULL;
1502}
1503
1504
1505static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1506 PyObject *obj;
1507 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1508 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1509 Py_INCREF(obj);
1510 return Py_BuildValue((char *)"");
1511}
1512static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
1513 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
1514 return 1;
1515}
1516
1517
1518static PyObject *_wrap_FileSelectorPromptStr_get() {
1519 PyObject *pyobj;
1520
1521 {
1522#if wxUSE_UNICODE
1523 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1524#else
1525 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1526#endif
1527 }
1528 return pyobj;
1529}
1530
1531
1532static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
1533 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
1534 return 1;
1535}
1536
1537
1538static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
1539 PyObject *pyobj;
1540
1541 {
1542#if wxUSE_UNICODE
1543 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1544#else
1545 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1546#endif
1547 }
1548 return pyobj;
1549}
1550
1551
1552static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
1553 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
1554 return 1;
1555}
1556
1557
1558static PyObject *_wrap_DirSelectorPromptStr_get() {
1559 PyObject *pyobj;
1560
1561 {
1562#if wxUSE_UNICODE
1563 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1564#else
1565 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1566#endif
1567 }
1568 return pyobj;
1569}
1570
1571
1572static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1573 PyObject *resultobj;
1574 long result;
1575 char *kwnames[] = {
1576 NULL
1577 };
1578
1579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1580 {
1581 PyThreadState* __tstate = wxPyBeginAllowThreads();
1582 result = (long)wxNewId();
1583
1584 wxPyEndAllowThreads(__tstate);
1585 if (PyErr_Occurred()) SWIG_fail;
1586 }
1587 resultobj = PyInt_FromLong((long)result);
1588 return resultobj;
1589 fail:
1590 return NULL;
1591}
1592
1593
1594static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1595 PyObject *resultobj;
1596 long arg1 ;
1597 char *kwnames[] = {
1598 (char *) "id", NULL
1599 };
1600
1601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:RegisterId",kwnames,&arg1)) goto fail;
1602 {
1603 PyThreadState* __tstate = wxPyBeginAllowThreads();
1604 wxRegisterId(arg1);
1605
1606 wxPyEndAllowThreads(__tstate);
1607 if (PyErr_Occurred()) SWIG_fail;
1608 }
1609 Py_INCREF(Py_None); resultobj = Py_None;
1610 return resultobj;
1611 fail:
1612 return NULL;
1613}
1614
1615
1616static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1617 PyObject *resultobj;
1618 long result;
1619 char *kwnames[] = {
1620 NULL
1621 };
1622
1623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1624 {
1625 PyThreadState* __tstate = wxPyBeginAllowThreads();
1626 result = (long)wxGetCurrentId();
1627
1628 wxPyEndAllowThreads(__tstate);
1629 if (PyErr_Occurred()) SWIG_fail;
1630 }
1631 resultobj = PyInt_FromLong((long)result);
1632 return resultobj;
1633 fail:
1634 return NULL;
1635}
1636
1637
1638static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
1639 PyObject *resultobj;
1640 char *kwnames[] = {
1641 NULL
1642 };
1643
1644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1645 {
1646 PyThreadState* __tstate = wxPyBeginAllowThreads();
1647 wxBell();
1648
1649 wxPyEndAllowThreads(__tstate);
1650 if (PyErr_Occurred()) SWIG_fail;
1651 }
1652 Py_INCREF(Py_None); resultobj = Py_None;
1653 return resultobj;
1654 fail:
1655 return NULL;
1656}
1657
1658
1659static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1660 PyObject *resultobj;
1661 char *kwnames[] = {
1662 NULL
1663 };
1664
1665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
1666 {
1667 PyThreadState* __tstate = wxPyBeginAllowThreads();
1668 wxEndBusyCursor();
1669
1670 wxPyEndAllowThreads(__tstate);
1671 if (PyErr_Occurred()) SWIG_fail;
1672 }
1673 Py_INCREF(Py_None); resultobj = Py_None;
1674 return resultobj;
1675 fail:
1676 return NULL;
1677}
1678
1679
1680static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1681 PyObject *resultobj;
1682 bool arg1 = (bool) True ;
1683 long result;
1684 PyObject * obj0 = 0 ;
1685 char *kwnames[] = {
1686 (char *) "resetTimer", NULL
1687 };
1688
1689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
1690 if (obj0) {
1691 arg1 = PyInt_AsLong(obj0) ? true : false;
1692 if (PyErr_Occurred()) SWIG_fail;
1693 }
1694 {
1695 PyThreadState* __tstate = wxPyBeginAllowThreads();
1696 result = (long)wxGetElapsedTime(arg1);
1697
1698 wxPyEndAllowThreads(__tstate);
1699 if (PyErr_Occurred()) SWIG_fail;
1700 }
1701 resultobj = PyInt_FromLong((long)result);
1702 return resultobj;
1703 fail:
1704 return NULL;
1705}
1706
1707
1708static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1709 PyObject *resultobj;
1710 int *arg1 = (int *) 0 ;
1711 int *arg2 = (int *) 0 ;
1712 int temp1 ;
1713 int temp2 ;
1714 char *kwnames[] = {
1715 NULL
1716 };
1717
1718 arg1 = &temp1;
1719 arg2 = &temp2;
1720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
1721 {
1722 PyThreadState* __tstate = wxPyBeginAllowThreads();
1723 wxGetMousePosition(arg1,arg2);
1724
1725 wxPyEndAllowThreads(__tstate);
1726 if (PyErr_Occurred()) SWIG_fail;
1727 }
1728 Py_INCREF(Py_None); resultobj = Py_None;
1729 {
1730 PyObject *o = PyInt_FromLong((long) (*arg1));
1731 resultobj = t_output_helper(resultobj,o);
1732 }
1733 {
1734 PyObject *o = PyInt_FromLong((long) (*arg2));
1735 resultobj = t_output_helper(resultobj,o);
1736 }
1737 return resultobj;
1738 fail:
1739 return NULL;
1740}
1741
1742
1743static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
1744 PyObject *resultobj;
1745 bool result;
1746 char *kwnames[] = {
1747 NULL
1748 };
1749
1750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
1751 {
1752 PyThreadState* __tstate = wxPyBeginAllowThreads();
1753 result = (bool)wxIsBusy();
1754
1755 wxPyEndAllowThreads(__tstate);
1756 if (PyErr_Occurred()) SWIG_fail;
1757 }
1758 resultobj = PyInt_FromLong((long)result);
1759 return resultobj;
1760 fail:
1761 return NULL;
1762}
1763
1764
1765static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
1766 PyObject *resultobj;
1767 wxString result;
1768 char *kwnames[] = {
1769 NULL
1770 };
1771
1772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
1773 {
1774 PyThreadState* __tstate = wxPyBeginAllowThreads();
1775 result = wxNow();
1776
1777 wxPyEndAllowThreads(__tstate);
1778 if (PyErr_Occurred()) SWIG_fail;
1779 }
1780 {
1781#if wxUSE_UNICODE
1782 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1783#else
1784 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1785#endif
1786 }
1787 return resultobj;
1788 fail:
1789 return NULL;
1790}
1791
1792
1793static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
1794 PyObject *resultobj;
1795 wxString const &arg1_defvalue = wxPyEmptyString ;
1796 wxString *arg1 = (wxString *) &arg1_defvalue ;
1797 bool result;
1798 bool temp1 = False ;
1799 PyObject * obj0 = 0 ;
1800 char *kwnames[] = {
1801 (char *) "command", NULL
1802 };
1803
1804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
1805 if (obj0) {
1806 {
1807 arg1 = wxString_in_helper(obj0);
1808 if (arg1 == NULL) SWIG_fail;
1809 temp1 = True;
1810 }
1811 }
1812 {
1813 PyThreadState* __tstate = wxPyBeginAllowThreads();
1814 result = (bool)wxShell((wxString const &)*arg1);
1815
1816 wxPyEndAllowThreads(__tstate);
1817 if (PyErr_Occurred()) SWIG_fail;
1818 }
1819 resultobj = PyInt_FromLong((long)result);
1820 {
1821 if (temp1)
1822 delete arg1;
1823 }
1824 return resultobj;
1825 fail:
1826 {
1827 if (temp1)
1828 delete arg1;
1829 }
1830 return NULL;
1831}
1832
1833
1834static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
1835 PyObject *resultobj;
1836 char *kwnames[] = {
1837 NULL
1838 };
1839
1840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
1841 {
1842 PyThreadState* __tstate = wxPyBeginAllowThreads();
1843 wxStartTimer();
1844
1845 wxPyEndAllowThreads(__tstate);
1846 if (PyErr_Occurred()) SWIG_fail;
1847 }
1848 Py_INCREF(Py_None); resultobj = Py_None;
1849 return resultobj;
1850 fail:
1851 return NULL;
1852}
1853
1854
1855static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
1856 PyObject *resultobj;
1857 int *arg1 = (int *) 0 ;
1858 int *arg2 = (int *) 0 ;
1859 int result;
1860 int temp1 ;
1861 int temp2 ;
1862 char *kwnames[] = {
1863 NULL
1864 };
1865
1866 arg1 = &temp1;
1867 arg2 = &temp2;
1868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
1869 {
1870 PyThreadState* __tstate = wxPyBeginAllowThreads();
1871 result = (int)wxGetOsVersion(arg1,arg2);
1872
1873 wxPyEndAllowThreads(__tstate);
1874 if (PyErr_Occurred()) SWIG_fail;
1875 }
1876 resultobj = PyInt_FromLong((long)result);
1877 {
1878 PyObject *o = PyInt_FromLong((long) (*arg1));
1879 resultobj = t_output_helper(resultobj,o);
1880 }
1881 {
1882 PyObject *o = PyInt_FromLong((long) (*arg2));
1883 resultobj = t_output_helper(resultobj,o);
1884 }
1885 return resultobj;
1886 fail:
1887 return NULL;
1888}
1889
1890
1891static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
1892 PyObject *resultobj;
1893 wxString result;
1894 char *kwnames[] = {
1895 NULL
1896 };
1897
1898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
1899 {
1900 PyThreadState* __tstate = wxPyBeginAllowThreads();
1901 result = wxGetOsDescription();
1902
1903 wxPyEndAllowThreads(__tstate);
1904 if (PyErr_Occurred()) SWIG_fail;
1905 }
1906 {
1907#if wxUSE_UNICODE
1908 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1909#else
1910 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1911#endif
1912 }
1913 return resultobj;
1914 fail:
1915 return NULL;
1916}
1917
1918
1919static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
1920 PyObject *resultobj;
1921 long result;
1922 char *kwnames[] = {
1923 NULL
1924 };
1925
1926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
1927 {
1928 PyThreadState* __tstate = wxPyBeginAllowThreads();
1929 result = (long)wxGetFreeMemory();
1930
1931 wxPyEndAllowThreads(__tstate);
1932 if (PyErr_Occurred()) SWIG_fail;
1933 }
1934 resultobj = PyInt_FromLong((long)result);
1935 return resultobj;
1936 fail:
1937 return NULL;
1938}
1939
1940
1941static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
1942 PyObject *resultobj;
1943 int arg1 ;
1944 bool result;
1945 char *kwnames[] = {
1946 (char *) "wFlags", NULL
1947 };
1948
1949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Shutdown",kwnames,&arg1)) goto fail;
1950 {
1951 PyThreadState* __tstate = wxPyBeginAllowThreads();
1952 result = (bool)wxShutdown((wxShutdownFlags )arg1);
1953
1954 wxPyEndAllowThreads(__tstate);
1955 if (PyErr_Occurred()) SWIG_fail;
1956 }
1957 resultobj = PyInt_FromLong((long)result);
1958 return resultobj;
1959 fail:
1960 return NULL;
1961}
1962
1963
1964static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1965 PyObject *resultobj;
1966 int arg1 ;
1967 char *kwnames[] = {
1968 (char *) "secs", NULL
1969 };
1970
1971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Sleep",kwnames,&arg1)) goto fail;
1972 {
1973 PyThreadState* __tstate = wxPyBeginAllowThreads();
1974 wxSleep(arg1);
1975
1976 wxPyEndAllowThreads(__tstate);
1977 if (PyErr_Occurred()) SWIG_fail;
1978 }
1979 Py_INCREF(Py_None); resultobj = Py_None;
1980 return resultobj;
1981 fail:
1982 return NULL;
1983}
1984
1985
1986static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1987 PyObject *resultobj;
1988 unsigned long arg1 ;
1989 PyObject * obj0 = 0 ;
1990 char *kwnames[] = {
1991 (char *) "milliseconds", NULL
1992 };
1993
1994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
1995 arg1 = (unsigned long) PyInt_AsLong(obj0);
1996 if (PyErr_Occurred()) SWIG_fail;
1997 {
1998 PyThreadState* __tstate = wxPyBeginAllowThreads();
1999 wxUsleep(arg1);
2000
2001 wxPyEndAllowThreads(__tstate);
2002 if (PyErr_Occurred()) SWIG_fail;
2003 }
2004 Py_INCREF(Py_None); resultobj = Py_None;
2005 return resultobj;
2006 fail:
2007 return NULL;
2008}
2009
2010
2011static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2012 PyObject *resultobj;
2013 bool arg1 ;
2014 PyObject * obj0 = 0 ;
2015 char *kwnames[] = {
2016 (char *) "enable", NULL
2017 };
2018
2019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2020 arg1 = PyInt_AsLong(obj0) ? true : false;
2021 if (PyErr_Occurred()) SWIG_fail;
2022 {
2023 PyThreadState* __tstate = wxPyBeginAllowThreads();
2024 wxEnableTopLevelWindows(arg1);
2025
2026 wxPyEndAllowThreads(__tstate);
2027 if (PyErr_Occurred()) SWIG_fail;
2028 }
2029 Py_INCREF(Py_None); resultobj = Py_None;
2030 return resultobj;
2031 fail:
2032 return NULL;
2033}
2034
2035
2036static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2037 PyObject *resultobj;
2038 wxString *arg1 = 0 ;
2039 wxString result;
2040 bool temp1 = False ;
2041 PyObject * obj0 = 0 ;
2042 char *kwnames[] = {
2043 (char *) "in", NULL
2044 };
2045
2046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2047 {
2048 arg1 = wxString_in_helper(obj0);
2049 if (arg1 == NULL) SWIG_fail;
2050 temp1 = True;
2051 }
2052 {
2053 PyThreadState* __tstate = wxPyBeginAllowThreads();
2054 result = wxStripMenuCodes((wxString const &)*arg1);
2055
2056 wxPyEndAllowThreads(__tstate);
2057 if (PyErr_Occurred()) SWIG_fail;
2058 }
2059 {
2060#if wxUSE_UNICODE
2061 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2062#else
2063 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2064#endif
2065 }
2066 {
2067 if (temp1)
2068 delete arg1;
2069 }
2070 return resultobj;
2071 fail:
2072 {
2073 if (temp1)
2074 delete arg1;
2075 }
2076 return NULL;
2077}
2078
2079
2080static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2081 PyObject *resultobj;
2082 wxString result;
2083 char *kwnames[] = {
2084 NULL
2085 };
2086
2087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2088 {
2089 PyThreadState* __tstate = wxPyBeginAllowThreads();
2090 result = wxGetEmailAddress();
2091
2092 wxPyEndAllowThreads(__tstate);
2093 if (PyErr_Occurred()) SWIG_fail;
2094 }
2095 {
2096#if wxUSE_UNICODE
2097 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2098#else
2099 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2100#endif
2101 }
2102 return resultobj;
2103 fail:
2104 return NULL;
2105}
2106
2107
2108static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2109 PyObject *resultobj;
2110 wxString result;
2111 char *kwnames[] = {
2112 NULL
2113 };
2114
2115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2116 {
2117 PyThreadState* __tstate = wxPyBeginAllowThreads();
2118 result = wxGetHostName();
2119
2120 wxPyEndAllowThreads(__tstate);
2121 if (PyErr_Occurred()) SWIG_fail;
2122 }
2123 {
2124#if wxUSE_UNICODE
2125 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2126#else
2127 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2128#endif
2129 }
2130 return resultobj;
2131 fail:
2132 return NULL;
2133}
2134
2135
2136static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2137 PyObject *resultobj;
2138 wxString result;
2139 char *kwnames[] = {
2140 NULL
2141 };
2142
2143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2144 {
2145 PyThreadState* __tstate = wxPyBeginAllowThreads();
2146 result = wxGetFullHostName();
2147
2148 wxPyEndAllowThreads(__tstate);
2149 if (PyErr_Occurred()) SWIG_fail;
2150 }
2151 {
2152#if wxUSE_UNICODE
2153 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2154#else
2155 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2156#endif
2157 }
2158 return resultobj;
2159 fail:
2160 return NULL;
2161}
2162
2163
2164static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2165 PyObject *resultobj;
2166 wxString result;
2167 char *kwnames[] = {
2168 NULL
2169 };
2170
2171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2172 {
2173 PyThreadState* __tstate = wxPyBeginAllowThreads();
2174 result = wxGetUserId();
2175
2176 wxPyEndAllowThreads(__tstate);
2177 if (PyErr_Occurred()) SWIG_fail;
2178 }
2179 {
2180#if wxUSE_UNICODE
2181 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2182#else
2183 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2184#endif
2185 }
2186 return resultobj;
2187 fail:
2188 return NULL;
2189}
2190
2191
2192static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2193 PyObject *resultobj;
2194 wxString result;
2195 char *kwnames[] = {
2196 NULL
2197 };
2198
2199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2200 {
2201 PyThreadState* __tstate = wxPyBeginAllowThreads();
2202 result = wxGetUserName();
2203
2204 wxPyEndAllowThreads(__tstate);
2205 if (PyErr_Occurred()) SWIG_fail;
2206 }
2207 {
2208#if wxUSE_UNICODE
2209 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2210#else
2211 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2212#endif
2213 }
2214 return resultobj;
2215 fail:
2216 return NULL;
2217}
2218
2219
2220static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2221 PyObject *resultobj;
2222 wxString result;
2223 char *kwnames[] = {
2224 NULL
2225 };
2226
2227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2228 {
2229 PyThreadState* __tstate = wxPyBeginAllowThreads();
2230 result = wxGetHomeDir();
2231
2232 wxPyEndAllowThreads(__tstate);
2233 if (PyErr_Occurred()) SWIG_fail;
2234 }
2235 {
2236#if wxUSE_UNICODE
2237 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2238#else
2239 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2240#endif
2241 }
2242 return resultobj;
2243 fail:
2244 return NULL;
2245}
2246
2247
2248static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2249 PyObject *resultobj;
2250 wxString const &arg1_defvalue = wxPyEmptyString ;
2251 wxString *arg1 = (wxString *) &arg1_defvalue ;
2252 wxString result;
2253 bool temp1 = False ;
2254 PyObject * obj0 = 0 ;
2255 char *kwnames[] = {
2256 (char *) "user", NULL
2257 };
2258
2259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2260 if (obj0) {
2261 {
2262 arg1 = wxString_in_helper(obj0);
2263 if (arg1 == NULL) SWIG_fail;
2264 temp1 = True;
2265 }
2266 }
2267 {
2268 PyThreadState* __tstate = wxPyBeginAllowThreads();
2269 result = wxGetUserHome((wxString const &)*arg1);
2270
2271 wxPyEndAllowThreads(__tstate);
2272 if (PyErr_Occurred()) SWIG_fail;
2273 }
2274 {
2275#if wxUSE_UNICODE
2276 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2277#else
2278 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2279#endif
2280 }
2281 {
2282 if (temp1)
2283 delete arg1;
2284 }
2285 return resultobj;
2286 fail:
2287 {
2288 if (temp1)
2289 delete arg1;
2290 }
2291 return NULL;
2292}
2293
2294
2295static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2296 PyObject *resultobj;
2297 unsigned long result;
2298 char *kwnames[] = {
2299 NULL
2300 };
2301
2302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2303 {
2304 PyThreadState* __tstate = wxPyBeginAllowThreads();
2305 result = (unsigned long)wxGetProcessId();
2306
2307 wxPyEndAllowThreads(__tstate);
2308 if (PyErr_Occurred()) SWIG_fail;
2309 }
2310 resultobj = PyInt_FromLong((long)result);
2311 return resultobj;
2312 fail:
2313 return NULL;
2314}
2315
2316
2317static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2318 PyObject *resultobj;
2319 char *kwnames[] = {
2320 NULL
2321 };
2322
2323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2324 {
2325 PyThreadState* __tstate = wxPyBeginAllowThreads();
2326 wxTrap();
2327
2328 wxPyEndAllowThreads(__tstate);
2329 if (PyErr_Occurred()) SWIG_fail;
2330 }
2331 Py_INCREF(Py_None); resultobj = Py_None;
2332 return resultobj;
2333 fail:
2334 return NULL;
2335}
2336
2337
2338static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2339 PyObject *resultobj;
2340 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2341 wxString *arg1 = (wxString *) &arg1_defvalue ;
2342 wxString const &arg2_defvalue = wxPyEmptyString ;
2343 wxString *arg2 = (wxString *) &arg2_defvalue ;
2344 wxString const &arg3_defvalue = wxPyEmptyString ;
2345 wxString *arg3 = (wxString *) &arg3_defvalue ;
2346 wxString const &arg4_defvalue = wxPyEmptyString ;
2347 wxString *arg4 = (wxString *) &arg4_defvalue ;
2348 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2349 wxString *arg5 = (wxString *) &arg5_defvalue ;
2350 int arg6 = (int) 0 ;
2351 wxWindow *arg7 = (wxWindow *) NULL ;
2352 int arg8 = (int) -1 ;
2353 int arg9 = (int) -1 ;
2354 wxString result;
2355 bool temp1 = False ;
2356 bool temp2 = False ;
2357 bool temp3 = False ;
2358 bool temp4 = False ;
2359 bool temp5 = False ;
2360 PyObject * obj0 = 0 ;
2361 PyObject * obj1 = 0 ;
2362 PyObject * obj2 = 0 ;
2363 PyObject * obj3 = 0 ;
2364 PyObject * obj4 = 0 ;
2365 PyObject * obj6 = 0 ;
2366 char *kwnames[] = {
2367 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2368 };
2369
2370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOiOii:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&arg9)) goto fail;
2371 if (obj0) {
2372 {
2373 arg1 = wxString_in_helper(obj0);
2374 if (arg1 == NULL) SWIG_fail;
2375 temp1 = True;
2376 }
2377 }
2378 if (obj1) {
2379 {
2380 arg2 = wxString_in_helper(obj1);
2381 if (arg2 == NULL) SWIG_fail;
2382 temp2 = True;
2383 }
2384 }
2385 if (obj2) {
2386 {
2387 arg3 = wxString_in_helper(obj2);
2388 if (arg3 == NULL) SWIG_fail;
2389 temp3 = True;
2390 }
2391 }
2392 if (obj3) {
2393 {
2394 arg4 = wxString_in_helper(obj3);
2395 if (arg4 == NULL) SWIG_fail;
2396 temp4 = True;
2397 }
2398 }
2399 if (obj4) {
2400 {
2401 arg5 = wxString_in_helper(obj4);
2402 if (arg5 == NULL) SWIG_fail;
2403 temp5 = True;
2404 }
2405 }
2406 if (obj6) {
2407 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2408 }
2409 {
2410 PyThreadState* __tstate = wxPyBeginAllowThreads();
2411 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2412
2413 wxPyEndAllowThreads(__tstate);
2414 if (PyErr_Occurred()) SWIG_fail;
2415 }
2416 {
2417#if wxUSE_UNICODE
2418 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2419#else
2420 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2421#endif
2422 }
2423 {
2424 if (temp1)
2425 delete arg1;
2426 }
2427 {
2428 if (temp2)
2429 delete arg2;
2430 }
2431 {
2432 if (temp3)
2433 delete arg3;
2434 }
2435 {
2436 if (temp4)
2437 delete arg4;
2438 }
2439 {
2440 if (temp5)
2441 delete arg5;
2442 }
2443 return resultobj;
2444 fail:
2445 {
2446 if (temp1)
2447 delete arg1;
2448 }
2449 {
2450 if (temp2)
2451 delete arg2;
2452 }
2453 {
2454 if (temp3)
2455 delete arg3;
2456 }
2457 {
2458 if (temp4)
2459 delete arg4;
2460 }
2461 {
2462 if (temp5)
2463 delete arg5;
2464 }
2465 return NULL;
2466}
2467
2468
2469static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2470 PyObject *resultobj;
2471 wxString *arg1 = 0 ;
2472 wxString *arg2 = 0 ;
2473 wxString const &arg3_defvalue = wxPyEmptyString ;
2474 wxString *arg3 = (wxString *) &arg3_defvalue ;
2475 wxWindow *arg4 = (wxWindow *) NULL ;
2476 wxString result;
2477 bool temp1 = False ;
2478 bool temp2 = False ;
2479 bool temp3 = False ;
2480 PyObject * obj0 = 0 ;
2481 PyObject * obj1 = 0 ;
2482 PyObject * obj2 = 0 ;
2483 PyObject * obj3 = 0 ;
2484 char *kwnames[] = {
2485 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2486 };
2487
2488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2489 {
2490 arg1 = wxString_in_helper(obj0);
2491 if (arg1 == NULL) SWIG_fail;
2492 temp1 = True;
2493 }
2494 {
2495 arg2 = wxString_in_helper(obj1);
2496 if (arg2 == NULL) SWIG_fail;
2497 temp2 = True;
2498 }
2499 if (obj2) {
2500 {
2501 arg3 = wxString_in_helper(obj2);
2502 if (arg3 == NULL) SWIG_fail;
2503 temp3 = True;
2504 }
2505 }
2506 if (obj3) {
2507 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2508 }
2509 {
2510 PyThreadState* __tstate = wxPyBeginAllowThreads();
2511 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2512
2513 wxPyEndAllowThreads(__tstate);
2514 if (PyErr_Occurred()) SWIG_fail;
2515 }
2516 {
2517#if wxUSE_UNICODE
2518 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2519#else
2520 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2521#endif
2522 }
2523 {
2524 if (temp1)
2525 delete arg1;
2526 }
2527 {
2528 if (temp2)
2529 delete arg2;
2530 }
2531 {
2532 if (temp3)
2533 delete arg3;
2534 }
2535 return resultobj;
2536 fail:
2537 {
2538 if (temp1)
2539 delete arg1;
2540 }
2541 {
2542 if (temp2)
2543 delete arg2;
2544 }
2545 {
2546 if (temp3)
2547 delete arg3;
2548 }
2549 return NULL;
2550}
2551
2552
2553static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2554 PyObject *resultobj;
2555 wxString *arg1 = 0 ;
2556 wxString *arg2 = 0 ;
2557 wxString const &arg3_defvalue = wxPyEmptyString ;
2558 wxString *arg3 = (wxString *) &arg3_defvalue ;
2559 wxWindow *arg4 = (wxWindow *) NULL ;
2560 wxString result;
2561 bool temp1 = False ;
2562 bool temp2 = False ;
2563 bool temp3 = False ;
2564 PyObject * obj0 = 0 ;
2565 PyObject * obj1 = 0 ;
2566 PyObject * obj2 = 0 ;
2567 PyObject * obj3 = 0 ;
2568 char *kwnames[] = {
2569 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2570 };
2571
2572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2573 {
2574 arg1 = wxString_in_helper(obj0);
2575 if (arg1 == NULL) SWIG_fail;
2576 temp1 = True;
2577 }
2578 {
2579 arg2 = wxString_in_helper(obj1);
2580 if (arg2 == NULL) SWIG_fail;
2581 temp2 = True;
2582 }
2583 if (obj2) {
2584 {
2585 arg3 = wxString_in_helper(obj2);
2586 if (arg3 == NULL) SWIG_fail;
2587 temp3 = True;
2588 }
2589 }
2590 if (obj3) {
2591 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2592 }
2593 {
2594 PyThreadState* __tstate = wxPyBeginAllowThreads();
2595 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2596
2597 wxPyEndAllowThreads(__tstate);
2598 if (PyErr_Occurred()) SWIG_fail;
2599 }
2600 {
2601#if wxUSE_UNICODE
2602 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2603#else
2604 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2605#endif
2606 }
2607 {
2608 if (temp1)
2609 delete arg1;
2610 }
2611 {
2612 if (temp2)
2613 delete arg2;
2614 }
2615 {
2616 if (temp3)
2617 delete arg3;
2618 }
2619 return resultobj;
2620 fail:
2621 {
2622 if (temp1)
2623 delete arg1;
2624 }
2625 {
2626 if (temp2)
2627 delete arg2;
2628 }
2629 {
2630 if (temp3)
2631 delete arg3;
2632 }
2633 return NULL;
2634}
2635
2636
2637static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2638 PyObject *resultobj;
2639 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
2640 wxString *arg1 = (wxString *) &arg1_defvalue ;
2641 wxString const &arg2_defvalue = wxPyEmptyString ;
2642 wxString *arg2 = (wxString *) &arg2_defvalue ;
2643 long arg3 = (long) wxDD_DEFAULT_STYLE ;
2644 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2645 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2646 wxWindow *arg5 = (wxWindow *) NULL ;
2647 wxString result;
2648 bool temp1 = False ;
2649 bool temp2 = False ;
2650 wxPoint temp4 ;
2651 PyObject * obj0 = 0 ;
2652 PyObject * obj1 = 0 ;
2653 PyObject * obj3 = 0 ;
2654 PyObject * obj4 = 0 ;
2655 char *kwnames[] = {
2656 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2657 };
2658
2659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOlOO:DirSelector",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
2660 if (obj0) {
2661 {
2662 arg1 = wxString_in_helper(obj0);
2663 if (arg1 == NULL) SWIG_fail;
2664 temp1 = True;
2665 }
2666 }
2667 if (obj1) {
2668 {
2669 arg2 = wxString_in_helper(obj1);
2670 if (arg2 == NULL) SWIG_fail;
2671 temp2 = True;
2672 }
2673 }
2674 if (obj3) {
2675 {
2676 arg4 = &temp4;
2677 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2678 }
2679 }
2680 if (obj4) {
2681 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2682 }
2683 {
2684 PyThreadState* __tstate = wxPyBeginAllowThreads();
2685 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
2686
2687 wxPyEndAllowThreads(__tstate);
2688 if (PyErr_Occurred()) SWIG_fail;
2689 }
2690 {
2691#if wxUSE_UNICODE
2692 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2693#else
2694 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2695#endif
2696 }
2697 {
2698 if (temp1)
2699 delete arg1;
2700 }
2701 {
2702 if (temp2)
2703 delete arg2;
2704 }
2705 return resultobj;
2706 fail:
2707 {
2708 if (temp1)
2709 delete arg1;
2710 }
2711 {
2712 if (temp2)
2713 delete arg2;
2714 }
2715 return NULL;
2716}
2717
2718
2719static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2720 PyObject *resultobj;
2721 wxString *arg1 = 0 ;
2722 wxString const &arg2_defvalue = wxPyEmptyString ;
2723 wxString *arg2 = (wxString *) &arg2_defvalue ;
2724 wxString const &arg3_defvalue = wxPyEmptyString ;
2725 wxString *arg3 = (wxString *) &arg3_defvalue ;
2726 wxWindow *arg4 = (wxWindow *) NULL ;
2727 int arg5 = (int) -1 ;
2728 int arg6 = (int) -1 ;
2729 bool arg7 = (bool) True ;
2730 wxString result;
2731 bool temp1 = False ;
2732 bool temp2 = False ;
2733 bool temp3 = False ;
2734 PyObject * obj0 = 0 ;
2735 PyObject * obj1 = 0 ;
2736 PyObject * obj2 = 0 ;
2737 PyObject * obj3 = 0 ;
2738 PyObject * obj6 = 0 ;
2739 char *kwnames[] = {
2740 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2741 };
2742
2743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOiiO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
2744 {
2745 arg1 = wxString_in_helper(obj0);
2746 if (arg1 == NULL) SWIG_fail;
2747 temp1 = True;
2748 }
2749 if (obj1) {
2750 {
2751 arg2 = wxString_in_helper(obj1);
2752 if (arg2 == NULL) SWIG_fail;
2753 temp2 = True;
2754 }
2755 }
2756 if (obj2) {
2757 {
2758 arg3 = wxString_in_helper(obj2);
2759 if (arg3 == NULL) SWIG_fail;
2760 temp3 = True;
2761 }
2762 }
2763 if (obj3) {
2764 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2765 }
2766 if (obj6) {
2767 arg7 = PyInt_AsLong(obj6) ? true : false;
2768 if (PyErr_Occurred()) SWIG_fail;
2769 }
2770 {
2771 PyThreadState* __tstate = wxPyBeginAllowThreads();
2772 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
2773
2774 wxPyEndAllowThreads(__tstate);
2775 if (PyErr_Occurred()) SWIG_fail;
2776 }
2777 {
2778#if wxUSE_UNICODE
2779 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2780#else
2781 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2782#endif
2783 }
2784 {
2785 if (temp1)
2786 delete arg1;
2787 }
2788 {
2789 if (temp2)
2790 delete arg2;
2791 }
2792 {
2793 if (temp3)
2794 delete arg3;
2795 }
2796 return resultobj;
2797 fail:
2798 {
2799 if (temp1)
2800 delete arg1;
2801 }
2802 {
2803 if (temp2)
2804 delete arg2;
2805 }
2806 {
2807 if (temp3)
2808 delete arg3;
2809 }
2810 return NULL;
2811}
2812
2813
2814static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2815 PyObject *resultobj;
2816 wxString *arg1 = 0 ;
2817 wxString const &arg2_defvalue = wxPyEmptyString ;
2818 wxString *arg2 = (wxString *) &arg2_defvalue ;
2819 wxString const &arg3_defvalue = wxPyEmptyString ;
2820 wxString *arg3 = (wxString *) &arg3_defvalue ;
2821 wxWindow *arg4 = (wxWindow *) NULL ;
2822 wxString result;
2823 bool temp1 = False ;
2824 bool temp2 = False ;
2825 bool temp3 = False ;
2826 PyObject * obj0 = 0 ;
2827 PyObject * obj1 = 0 ;
2828 PyObject * obj2 = 0 ;
2829 PyObject * obj3 = 0 ;
2830 char *kwnames[] = {
2831 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
2832 };
2833
2834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2835 {
2836 arg1 = wxString_in_helper(obj0);
2837 if (arg1 == NULL) SWIG_fail;
2838 temp1 = True;
2839 }
2840 if (obj1) {
2841 {
2842 arg2 = wxString_in_helper(obj1);
2843 if (arg2 == NULL) SWIG_fail;
2844 temp2 = True;
2845 }
2846 }
2847 if (obj2) {
2848 {
2849 arg3 = wxString_in_helper(obj2);
2850 if (arg3 == NULL) SWIG_fail;
2851 temp3 = True;
2852 }
2853 }
2854 if (obj3) {
2855 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2856 }
2857 {
2858 PyThreadState* __tstate = wxPyBeginAllowThreads();
2859 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2860
2861 wxPyEndAllowThreads(__tstate);
2862 if (PyErr_Occurred()) SWIG_fail;
2863 }
2864 {
2865#if wxUSE_UNICODE
2866 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2867#else
2868 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2869#endif
2870 }
2871 {
2872 if (temp1)
2873 delete arg1;
2874 }
2875 {
2876 if (temp2)
2877 delete arg2;
2878 }
2879 {
2880 if (temp3)
2881 delete arg3;
2882 }
2883 return resultobj;
2884 fail:
2885 {
2886 if (temp1)
2887 delete arg1;
2888 }
2889 {
2890 if (temp2)
2891 delete arg2;
2892 }
2893 {
2894 if (temp3)
2895 delete arg3;
2896 }
2897 return NULL;
2898}
2899
2900
2901static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2902 PyObject *resultobj;
2903 wxString *arg1 = 0 ;
2904 wxString *arg2 = 0 ;
2905 int arg3 ;
2906 wxString *arg4 = (wxString *) 0 ;
2907 wxWindow *arg5 = (wxWindow *) NULL ;
2908 int arg6 = (int) -1 ;
2909 int arg7 = (int) -1 ;
2910 bool arg8 = (bool) True ;
2911 int arg9 = (int) 150 ;
2912 int arg10 = (int) 200 ;
2913 wxString result;
2914 bool temp1 = False ;
2915 bool temp2 = False ;
2916 PyObject * obj0 = 0 ;
2917 PyObject * obj1 = 0 ;
2918 PyObject * obj2 = 0 ;
2919 PyObject * obj3 = 0 ;
2920 PyObject * obj6 = 0 ;
2921 char *kwnames[] = {
2922 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2923 };
2924
2925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
2926 {
2927 arg1 = wxString_in_helper(obj0);
2928 if (arg1 == NULL) SWIG_fail;
2929 temp1 = True;
2930 }
2931 {
2932 arg2 = wxString_in_helper(obj1);
2933 if (arg2 == NULL) SWIG_fail;
2934 temp2 = True;
2935 }
2936 {
2937 arg3 = PyList_Size(obj2);
2938 arg4 = wxString_LIST_helper(obj2);
2939 if (arg4 == NULL) SWIG_fail;
2940 }
2941 if (obj3) {
2942 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2943 }
2944 if (obj6) {
2945 arg8 = PyInt_AsLong(obj6) ? true : false;
2946 if (PyErr_Occurred()) SWIG_fail;
2947 }
2948 {
2949 PyThreadState* __tstate = wxPyBeginAllowThreads();
2950 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
2951
2952 wxPyEndAllowThreads(__tstate);
2953 if (PyErr_Occurred()) SWIG_fail;
2954 }
2955 {
2956#if wxUSE_UNICODE
2957 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2958#else
2959 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2960#endif
2961 }
2962 {
2963 if (temp1)
2964 delete arg1;
2965 }
2966 {
2967 if (temp2)
2968 delete arg2;
2969 }
2970 {
2971 if (arg4) delete [] arg4;
2972 }
2973 return resultobj;
2974 fail:
2975 {
2976 if (temp1)
2977 delete arg1;
2978 }
2979 {
2980 if (temp2)
2981 delete arg2;
2982 }
2983 {
2984 if (arg4) delete [] arg4;
2985 }
2986 return NULL;
2987}
2988
2989
2990static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
2991 PyObject *resultobj;
2992 wxString *arg1 = 0 ;
2993 wxString *arg2 = 0 ;
2994 int arg3 ;
2995 wxString *arg4 = (wxString *) 0 ;
2996 wxWindow *arg5 = (wxWindow *) NULL ;
2997 int arg6 = (int) -1 ;
2998 int arg7 = (int) -1 ;
2999 bool arg8 = (bool) True ;
3000 int arg9 = (int) 150 ;
3001 int arg10 = (int) 200 ;
3002 int result;
3003 bool temp1 = False ;
3004 bool temp2 = False ;
3005 PyObject * obj0 = 0 ;
3006 PyObject * obj1 = 0 ;
3007 PyObject * obj2 = 0 ;
3008 PyObject * obj3 = 0 ;
3009 PyObject * obj6 = 0 ;
3010 char *kwnames[] = {
3011 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3012 };
3013
3014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
3015 {
3016 arg1 = wxString_in_helper(obj0);
3017 if (arg1 == NULL) SWIG_fail;
3018 temp1 = True;
3019 }
3020 {
3021 arg2 = wxString_in_helper(obj1);
3022 if (arg2 == NULL) SWIG_fail;
3023 temp2 = True;
3024 }
3025 {
3026 arg3 = PyList_Size(obj2);
3027 arg4 = wxString_LIST_helper(obj2);
3028 if (arg4 == NULL) SWIG_fail;
3029 }
3030 if (obj3) {
3031 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3032 }
3033 if (obj6) {
3034 arg8 = PyInt_AsLong(obj6) ? true : false;
3035 if (PyErr_Occurred()) SWIG_fail;
3036 }
3037 {
3038 PyThreadState* __tstate = wxPyBeginAllowThreads();
3039 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3040
3041 wxPyEndAllowThreads(__tstate);
3042 if (PyErr_Occurred()) SWIG_fail;
3043 }
3044 resultobj = PyInt_FromLong((long)result);
3045 {
3046 if (temp1)
3047 delete arg1;
3048 }
3049 {
3050 if (temp2)
3051 delete arg2;
3052 }
3053 {
3054 if (arg4) delete [] arg4;
3055 }
3056 return resultobj;
3057 fail:
3058 {
3059 if (temp1)
3060 delete arg1;
3061 }
3062 {
3063 if (temp2)
3064 delete arg2;
3065 }
3066 {
3067 if (arg4) delete [] arg4;
3068 }
3069 return NULL;
3070}
3071
3072
3073static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3074 PyObject *resultobj;
3075 wxString *arg1 = 0 ;
3076 wxString const &arg2_defvalue = wxPyEmptyString ;
3077 wxString *arg2 = (wxString *) &arg2_defvalue ;
3078 int arg3 = (int) wxOK|wxCENTRE ;
3079 wxWindow *arg4 = (wxWindow *) NULL ;
3080 int arg5 = (int) -1 ;
3081 int arg6 = (int) -1 ;
3082 int result;
3083 bool temp1 = False ;
3084 bool temp2 = False ;
3085 PyObject * obj0 = 0 ;
3086 PyObject * obj1 = 0 ;
3087 PyObject * obj3 = 0 ;
3088 char *kwnames[] = {
3089 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3090 };
3091
3092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OiOii:MessageBox",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5,&arg6)) goto fail;
3093 {
3094 arg1 = wxString_in_helper(obj0);
3095 if (arg1 == NULL) SWIG_fail;
3096 temp1 = True;
3097 }
3098 if (obj1) {
3099 {
3100 arg2 = wxString_in_helper(obj1);
3101 if (arg2 == NULL) SWIG_fail;
3102 temp2 = True;
3103 }
3104 }
3105 if (obj3) {
3106 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3107 }
3108 {
3109 PyThreadState* __tstate = wxPyBeginAllowThreads();
3110 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3111
3112 wxPyEndAllowThreads(__tstate);
3113 if (PyErr_Occurred()) SWIG_fail;
3114 }
3115 resultobj = PyInt_FromLong((long)result);
3116 {
3117 if (temp1)
3118 delete arg1;
3119 }
3120 {
3121 if (temp2)
3122 delete arg2;
3123 }
3124 return resultobj;
3125 fail:
3126 {
3127 if (temp1)
3128 delete arg1;
3129 }
3130 {
3131 if (temp2)
3132 delete arg2;
3133 }
3134 return NULL;
3135}
3136
3137
3138static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3139 PyObject *resultobj;
3140 wxString *arg1 = 0 ;
3141 wxString *arg2 = 0 ;
3142 wxString *arg3 = 0 ;
3143 long arg4 ;
3144 long arg5 = (long) 0 ;
3145 long arg6 = (long) 100 ;
3146 wxWindow *arg7 = (wxWindow *) NULL ;
3147 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3148 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3149 long result;
3150 bool temp1 = False ;
3151 bool temp2 = False ;
3152 bool temp3 = False ;
3153 wxPoint temp8 ;
3154 PyObject * obj0 = 0 ;
3155 PyObject * obj1 = 0 ;
3156 PyObject * obj2 = 0 ;
3157 PyObject * obj6 = 0 ;
3158 PyObject * obj7 = 0 ;
3159 char *kwnames[] = {
3160 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3161 };
3162
3163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOl|llOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&obj6,&obj7)) goto fail;
3164 {
3165 arg1 = wxString_in_helper(obj0);
3166 if (arg1 == NULL) SWIG_fail;
3167 temp1 = True;
3168 }
3169 {
3170 arg2 = wxString_in_helper(obj1);
3171 if (arg2 == NULL) SWIG_fail;
3172 temp2 = True;
3173 }
3174 {
3175 arg3 = wxString_in_helper(obj2);
3176 if (arg3 == NULL) SWIG_fail;
3177 temp3 = True;
3178 }
3179 if (obj6) {
3180 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3181 }
3182 if (obj7) {
3183 {
3184 arg8 = &temp8;
3185 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3186 }
3187 }
3188 {
3189 PyThreadState* __tstate = wxPyBeginAllowThreads();
3190 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3191
3192 wxPyEndAllowThreads(__tstate);
3193 if (PyErr_Occurred()) SWIG_fail;
3194 }
3195 resultobj = PyInt_FromLong((long)result);
3196 {
3197 if (temp1)
3198 delete arg1;
3199 }
3200 {
3201 if (temp2)
3202 delete arg2;
3203 }
3204 {
3205 if (temp3)
3206 delete arg3;
3207 }
3208 return resultobj;
3209 fail:
3210 {
3211 if (temp1)
3212 delete arg1;
3213 }
3214 {
3215 if (temp2)
3216 delete arg2;
3217 }
3218 {
3219 if (temp3)
3220 delete arg3;
3221 }
3222 return NULL;
3223}
3224
3225
3226static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3227 PyObject *resultobj;
3228 bool result;
3229 char *kwnames[] = {
3230 NULL
3231 };
3232
3233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3234 {
3235 PyThreadState* __tstate = wxPyBeginAllowThreads();
3236 result = (bool)wxColourDisplay();
3237
3238 wxPyEndAllowThreads(__tstate);
3239 if (PyErr_Occurred()) SWIG_fail;
3240 }
3241 resultobj = PyInt_FromLong((long)result);
3242 return resultobj;
3243 fail:
3244 return NULL;
3245}
3246
3247
3248static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3249 PyObject *resultobj;
3250 int result;
3251 char *kwnames[] = {
3252 NULL
3253 };
3254
3255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3256 {
3257 PyThreadState* __tstate = wxPyBeginAllowThreads();
3258 result = (int)wxDisplayDepth();
3259
3260 wxPyEndAllowThreads(__tstate);
3261 if (PyErr_Occurred()) SWIG_fail;
3262 }
3263 resultobj = PyInt_FromLong((long)result);
3264 return resultobj;
3265 fail:
3266 return NULL;
3267}
3268
3269
3270static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3271 PyObject *resultobj;
3272 int result;
3273 char *kwnames[] = {
3274 NULL
3275 };
3276
3277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3278 {
3279 PyThreadState* __tstate = wxPyBeginAllowThreads();
3280 result = (int)wxGetDisplayDepth();
3281
3282 wxPyEndAllowThreads(__tstate);
3283 if (PyErr_Occurred()) SWIG_fail;
3284 }
3285 resultobj = PyInt_FromLong((long)result);
3286 return resultobj;
3287 fail:
3288 return NULL;
3289}
3290
3291
3292static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3293 PyObject *resultobj;
3294 int *arg1 = (int *) 0 ;
3295 int *arg2 = (int *) 0 ;
3296 int temp1 ;
3297 int temp2 ;
3298 char *kwnames[] = {
3299 NULL
3300 };
3301
3302 arg1 = &temp1;
3303 arg2 = &temp2;
3304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3305 {
3306 PyThreadState* __tstate = wxPyBeginAllowThreads();
3307 wxDisplaySize(arg1,arg2);
3308
3309 wxPyEndAllowThreads(__tstate);
3310 if (PyErr_Occurred()) SWIG_fail;
3311 }
3312 Py_INCREF(Py_None); resultobj = Py_None;
3313 {
3314 PyObject *o = PyInt_FromLong((long) (*arg1));
3315 resultobj = t_output_helper(resultobj,o);
3316 }
3317 {
3318 PyObject *o = PyInt_FromLong((long) (*arg2));
3319 resultobj = t_output_helper(resultobj,o);
3320 }
3321 return resultobj;
3322 fail:
3323 return NULL;
3324}
3325
3326
3327static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3328 PyObject *resultobj;
3329 wxSize result;
3330 char *kwnames[] = {
3331 NULL
3332 };
3333
3334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3335 {
3336 PyThreadState* __tstate = wxPyBeginAllowThreads();
3337 result = wxGetDisplaySize();
3338
3339 wxPyEndAllowThreads(__tstate);
3340 if (PyErr_Occurred()) SWIG_fail;
3341 }
3342 {
3343 wxSize * resultptr;
3344 resultptr = new wxSize((wxSize &) result);
3345 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3346 }
3347 return resultobj;
3348 fail:
3349 return NULL;
3350}
3351
3352
3353static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3354 PyObject *resultobj;
3355 int *arg1 = (int *) 0 ;
3356 int *arg2 = (int *) 0 ;
3357 int temp1 ;
3358 int temp2 ;
3359 char *kwnames[] = {
3360 NULL
3361 };
3362
3363 arg1 = &temp1;
3364 arg2 = &temp2;
3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3366 {
3367 PyThreadState* __tstate = wxPyBeginAllowThreads();
3368 wxDisplaySizeMM(arg1,arg2);
3369
3370 wxPyEndAllowThreads(__tstate);
3371 if (PyErr_Occurred()) SWIG_fail;
3372 }
3373 Py_INCREF(Py_None); resultobj = Py_None;
3374 {
3375 PyObject *o = PyInt_FromLong((long) (*arg1));
3376 resultobj = t_output_helper(resultobj,o);
3377 }
3378 {
3379 PyObject *o = PyInt_FromLong((long) (*arg2));
3380 resultobj = t_output_helper(resultobj,o);
3381 }
3382 return resultobj;
3383 fail:
3384 return NULL;
3385}
3386
3387
3388static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3389 PyObject *resultobj;
3390 wxSize result;
3391 char *kwnames[] = {
3392 NULL
3393 };
3394
3395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3396 {
3397 PyThreadState* __tstate = wxPyBeginAllowThreads();
3398 result = wxGetDisplaySizeMM();
3399
3400 wxPyEndAllowThreads(__tstate);
3401 if (PyErr_Occurred()) SWIG_fail;
3402 }
3403 {
3404 wxSize * resultptr;
3405 resultptr = new wxSize((wxSize &) result);
3406 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3407 }
3408 return resultobj;
3409 fail:
3410 return NULL;
3411}
3412
3413
3414static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3415 PyObject *resultobj;
3416 int *arg1 = (int *) 0 ;
3417 int *arg2 = (int *) 0 ;
3418 int *arg3 = (int *) 0 ;
3419 int *arg4 = (int *) 0 ;
3420 int temp1 ;
3421 int temp2 ;
3422 int temp3 ;
3423 int temp4 ;
3424 char *kwnames[] = {
3425 NULL
3426 };
3427
3428 arg1 = &temp1;
3429 arg2 = &temp2;
3430 arg3 = &temp3;
3431 arg4 = &temp4;
3432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3433 {
3434 PyThreadState* __tstate = wxPyBeginAllowThreads();
3435 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3436
3437 wxPyEndAllowThreads(__tstate);
3438 if (PyErr_Occurred()) SWIG_fail;
3439 }
3440 Py_INCREF(Py_None); resultobj = Py_None;
3441 {
3442 PyObject *o = PyInt_FromLong((long) (*arg1));
3443 resultobj = t_output_helper(resultobj,o);
3444 }
3445 {
3446 PyObject *o = PyInt_FromLong((long) (*arg2));
3447 resultobj = t_output_helper(resultobj,o);
3448 }
3449 {
3450 PyObject *o = PyInt_FromLong((long) (*arg3));
3451 resultobj = t_output_helper(resultobj,o);
3452 }
3453 {
3454 PyObject *o = PyInt_FromLong((long) (*arg4));
3455 resultobj = t_output_helper(resultobj,o);
3456 }
3457 return resultobj;
3458 fail:
3459 return NULL;
3460}
3461
3462
3463static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3464 PyObject *resultobj;
3465 wxRect result;
3466 char *kwnames[] = {
3467 NULL
3468 };
3469
3470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3471 {
3472 PyThreadState* __tstate = wxPyBeginAllowThreads();
3473 result = wxGetClientDisplayRect();
3474
3475 wxPyEndAllowThreads(__tstate);
3476 if (PyErr_Occurred()) SWIG_fail;
3477 }
3478 {
3479 wxRect * resultptr;
3480 resultptr = new wxRect((wxRect &) result);
3481 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3482 }
3483 return resultobj;
3484 fail:
3485 return NULL;
3486}
3487
3488
3489static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3490 PyObject *resultobj;
3491 wxCursor *arg1 = 0 ;
3492 PyObject * obj0 = 0 ;
3493 char *kwnames[] = {
3494 (char *) "cursor", NULL
3495 };
3496
3497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3499 if (arg1 == NULL) {
3500 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3501 }
3502 {
3503 PyThreadState* __tstate = wxPyBeginAllowThreads();
3504 wxSetCursor(*arg1);
3505
3506 wxPyEndAllowThreads(__tstate);
3507 if (PyErr_Occurred()) SWIG_fail;
3508 }
3509 Py_INCREF(Py_None); resultobj = Py_None;
3510 return resultobj;
3511 fail:
3512 return NULL;
3513}
3514
3515
3516static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3517 PyObject *resultobj;
3518 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3519 PyObject * obj0 = 0 ;
3520 char *kwnames[] = {
3521 (char *) "cursor", NULL
3522 };
3523
3524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3525 if (obj0) {
3526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3527 }
3528 {
3529 PyThreadState* __tstate = wxPyBeginAllowThreads();
3530 wxBeginBusyCursor(arg1);
3531
3532 wxPyEndAllowThreads(__tstate);
3533 if (PyErr_Occurred()) SWIG_fail;
3534 }
3535 Py_INCREF(Py_None); resultobj = Py_None;
3536 return resultobj;
3537 fail:
3538 return NULL;
3539}
3540
3541
3542static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3543 PyObject *resultobj;
3544 wxWindow *result;
3545 char *kwnames[] = {
3546 NULL
3547 };
3548
3549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
3550 {
3551 PyThreadState* __tstate = wxPyBeginAllowThreads();
3552 result = (wxWindow *)wxGetActiveWindow();
3553
3554 wxPyEndAllowThreads(__tstate);
3555 if (PyErr_Occurred()) SWIG_fail;
3556 }
3557 {
3558 resultobj = wxPyMake_wxObject(result);
3559 }
3560 return resultobj;
3561 fail:
3562 return NULL;
3563}
3564
3565
3566static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3567 PyObject *resultobj;
3568 wxPoint *arg1 = 0 ;
3569 wxWindow *result;
3570 wxPoint temp1 ;
3571 PyObject * obj0 = 0 ;
3572 char *kwnames[] = {
3573 (char *) "pt", NULL
3574 };
3575
3576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
3577 {
3578 arg1 = &temp1;
3579 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3580 }
3581 {
3582 PyThreadState* __tstate = wxPyBeginAllowThreads();
3583 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
3584
3585 wxPyEndAllowThreads(__tstate);
3586 if (PyErr_Occurred()) SWIG_fail;
3587 }
3588 {
3589 resultobj = wxPyMake_wxObject(result);
3590 }
3591 return resultobj;
3592 fail:
3593 return NULL;
3594}
3595
3596
3597static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3598 PyObject *resultobj;
3599 wxPoint *arg1 = 0 ;
3600 wxWindow *result;
3601 wxPoint temp1 ;
3602 PyObject * obj0 = 0 ;
3603 char *kwnames[] = {
3604 (char *) "pt", NULL
3605 };
3606
3607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
3608 {
3609 arg1 = &temp1;
3610 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3611 }
3612 {
3613 PyThreadState* __tstate = wxPyBeginAllowThreads();
3614 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
3615
3616 wxPyEndAllowThreads(__tstate);
3617 if (PyErr_Occurred()) SWIG_fail;
3618 }
3619 {
3620 resultobj = wxPyMake_wxObject(result);
3621 }
3622 return resultobj;
3623 fail:
3624 return NULL;
3625}
3626
3627
3628static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3629 PyObject *resultobj;
3630 wxWindow *arg1 = (wxWindow *) 0 ;
3631 wxWindow *result;
3632 PyObject * obj0 = 0 ;
3633 char *kwnames[] = {
3634 (char *) "win", NULL
3635 };
3636
3637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
3638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3639 {
3640 PyThreadState* __tstate = wxPyBeginAllowThreads();
3641 result = (wxWindow *)wxGetTopLevelParent(arg1);
3642
3643 wxPyEndAllowThreads(__tstate);
3644 if (PyErr_Occurred()) SWIG_fail;
3645 }
3646 {
3647 resultobj = wxPyMake_wxObject(result);
3648 }
3649 return resultobj;
3650 fail:
3651 return NULL;
3652}
3653
3654
3655static PyObject *_wrap_GetKeyState(PyObject *self, PyObject *args, PyObject *kwargs) {
3656 PyObject *resultobj;
3657 int arg1 ;
3658 bool result;
3659 char *kwnames[] = {
3660 (char *) "key", NULL
3661 };
3662
3663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:GetKeyState",kwnames,&arg1)) goto fail;
3664 {
3665 PyThreadState* __tstate = wxPyBeginAllowThreads();
3666 result = (bool)wxGetKeyState((wxKeyCode )arg1);
3667
3668 wxPyEndAllowThreads(__tstate);
3669 if (PyErr_Occurred()) SWIG_fail;
3670 }
3671 resultobj = PyInt_FromLong((long)result);
3672 return resultobj;
3673 fail:
3674 return NULL;
3675}
3676
3677
3678static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
3679 PyObject *resultobj;
3680 char *kwnames[] = {
3681 NULL
3682 };
3683
3684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
3685 {
3686 PyThreadState* __tstate = wxPyBeginAllowThreads();
3687 wxWakeUpMainThread();
3688
3689 wxPyEndAllowThreads(__tstate);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 }
3692 Py_INCREF(Py_None); resultobj = Py_None;
3693 return resultobj;
3694 fail:
3695 return NULL;
3696}
3697
3698
3699static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
3700 PyObject *resultobj;
3701 char *kwnames[] = {
3702 NULL
3703 };
3704
3705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
3706 {
3707 PyThreadState* __tstate = wxPyBeginAllowThreads();
3708 wxMutexGuiEnter();
3709
3710 wxPyEndAllowThreads(__tstate);
3711 if (PyErr_Occurred()) SWIG_fail;
3712 }
3713 Py_INCREF(Py_None); resultobj = Py_None;
3714 return resultobj;
3715 fail:
3716 return NULL;
3717}
3718
3719
3720static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
3721 PyObject *resultobj;
3722 char *kwnames[] = {
3723 NULL
3724 };
3725
3726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
3727 {
3728 PyThreadState* __tstate = wxPyBeginAllowThreads();
3729 wxMutexGuiLeave();
3730
3731 wxPyEndAllowThreads(__tstate);
3732 if (PyErr_Occurred()) SWIG_fail;
3733 }
3734 Py_INCREF(Py_None); resultobj = Py_None;
3735 return resultobj;
3736 fail:
3737 return NULL;
3738}
3739
3740
3741static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3742 PyObject *resultobj;
3743 wxMutexGuiLocker *result;
3744 char *kwnames[] = {
3745 NULL
3746 };
3747
3748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
3749 {
3750 PyThreadState* __tstate = wxPyBeginAllowThreads();
3751 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
3752
3753 wxPyEndAllowThreads(__tstate);
3754 if (PyErr_Occurred()) SWIG_fail;
3755 }
3756 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMutexGuiLocker, 1);
3757 return resultobj;
3758 fail:
3759 return NULL;
3760}
3761
3762
3763static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3764 PyObject *resultobj;
3765 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
3766 PyObject * obj0 = 0 ;
3767 char *kwnames[] = {
3768 (char *) "self", NULL
3769 };
3770
3771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
3772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMutexGuiLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3773 {
3774 PyThreadState* __tstate = wxPyBeginAllowThreads();
3775 delete arg1;
3776
3777 wxPyEndAllowThreads(__tstate);
3778 if (PyErr_Occurred()) SWIG_fail;
3779 }
3780 Py_INCREF(Py_None); resultobj = Py_None;
3781 return resultobj;
3782 fail:
3783 return NULL;
3784}
3785
3786
3787static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
3788 PyObject *obj;
3789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3790 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
3791 Py_INCREF(obj);
3792 return Py_BuildValue((char *)"");
3793}
3794static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
3795 PyObject *resultobj;
3796 bool result;
3797 char *kwnames[] = {
3798 NULL
3799 };
3800
3801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
3802 {
3803 PyThreadState* __tstate = wxPyBeginAllowThreads();
3804 result = (bool)wxThread_IsMain();
3805
3806 wxPyEndAllowThreads(__tstate);
3807 if (PyErr_Occurred()) SWIG_fail;
3808 }
3809 resultobj = PyInt_FromLong((long)result);
3810 return resultobj;
3811 fail:
3812 return NULL;
3813}
3814
3815
3816static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3817 PyObject *resultobj;
3818 wxString *arg1 = 0 ;
3819 wxToolTip *result;
3820 bool temp1 = False ;
3821 PyObject * obj0 = 0 ;
3822 char *kwnames[] = {
3823 (char *) "tip", NULL
3824 };
3825
3826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
3827 {
3828 arg1 = wxString_in_helper(obj0);
3829 if (arg1 == NULL) SWIG_fail;
3830 temp1 = True;
3831 }
3832 {
3833 PyThreadState* __tstate = wxPyBeginAllowThreads();
3834 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
3835
3836 wxPyEndAllowThreads(__tstate);
3837 if (PyErr_Occurred()) SWIG_fail;
3838 }
3839 {
3840 resultobj = wxPyMake_wxObject(result);
3841 }
3842 {
3843 if (temp1)
3844 delete arg1;
3845 }
3846 return resultobj;
3847 fail:
3848 {
3849 if (temp1)
3850 delete arg1;
3851 }
3852 return NULL;
3853}
3854
3855
3856static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3857 PyObject *resultobj;
3858 wxToolTip *arg1 = (wxToolTip *) 0 ;
3859 wxString *arg2 = 0 ;
3860 bool temp2 = False ;
3861 PyObject * obj0 = 0 ;
3862 PyObject * obj1 = 0 ;
3863 char *kwnames[] = {
3864 (char *) "self",(char *) "tip", NULL
3865 };
3866
3867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
3868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3869 {
3870 arg2 = wxString_in_helper(obj1);
3871 if (arg2 == NULL) SWIG_fail;
3872 temp2 = True;
3873 }
3874 {
3875 PyThreadState* __tstate = wxPyBeginAllowThreads();
3876 (arg1)->SetTip((wxString const &)*arg2);
3877
3878 wxPyEndAllowThreads(__tstate);
3879 if (PyErr_Occurred()) SWIG_fail;
3880 }
3881 Py_INCREF(Py_None); resultobj = Py_None;
3882 {
3883 if (temp2)
3884 delete arg2;
3885 }
3886 return resultobj;
3887 fail:
3888 {
3889 if (temp2)
3890 delete arg2;
3891 }
3892 return NULL;
3893}
3894
3895
3896static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3897 PyObject *resultobj;
3898 wxToolTip *arg1 = (wxToolTip *) 0 ;
3899 wxString result;
3900 PyObject * obj0 = 0 ;
3901 char *kwnames[] = {
3902 (char *) "self", NULL
3903 };
3904
3905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
3906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3907 {
3908 PyThreadState* __tstate = wxPyBeginAllowThreads();
3909 result = (arg1)->GetTip();
3910
3911 wxPyEndAllowThreads(__tstate);
3912 if (PyErr_Occurred()) SWIG_fail;
3913 }
3914 {
3915#if wxUSE_UNICODE
3916 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3917#else
3918 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3919#endif
3920 }
3921 return resultobj;
3922 fail:
3923 return NULL;
3924}
3925
3926
3927static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3928 PyObject *resultobj;
3929 wxToolTip *arg1 = (wxToolTip *) 0 ;
3930 wxWindow *result;
3931 PyObject * obj0 = 0 ;
3932 char *kwnames[] = {
3933 (char *) "self", NULL
3934 };
3935
3936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
3937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3938 {
3939 PyThreadState* __tstate = wxPyBeginAllowThreads();
3940 result = (wxWindow *)(arg1)->GetWindow();
3941
3942 wxPyEndAllowThreads(__tstate);
3943 if (PyErr_Occurred()) SWIG_fail;
3944 }
3945 {
3946 resultobj = wxPyMake_wxObject(result);
3947 }
3948 return resultobj;
3949 fail:
3950 return NULL;
3951}
3952
3953
3954static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
3955 PyObject *resultobj;
3956 bool arg1 ;
3957 PyObject * obj0 = 0 ;
3958 char *kwnames[] = {
3959 (char *) "flag", NULL
3960 };
3961
3962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
3963 arg1 = PyInt_AsLong(obj0) ? true : false;
3964 if (PyErr_Occurred()) SWIG_fail;
3965 {
3966 PyThreadState* __tstate = wxPyBeginAllowThreads();
3967 wxToolTip::Enable(arg1);
3968
3969 wxPyEndAllowThreads(__tstate);
3970 if (PyErr_Occurred()) SWIG_fail;
3971 }
3972 Py_INCREF(Py_None); resultobj = Py_None;
3973 return resultobj;
3974 fail:
3975 return NULL;
3976}
3977
3978
3979static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
3980 PyObject *resultobj;
3981 long arg1 ;
3982 char *kwnames[] = {
3983 (char *) "milliseconds", NULL
3984 };
3985
3986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:ToolTip_SetDelay",kwnames,&arg1)) goto fail;
3987 {
3988 PyThreadState* __tstate = wxPyBeginAllowThreads();
3989 wxToolTip::SetDelay(arg1);
3990
3991 wxPyEndAllowThreads(__tstate);
3992 if (PyErr_Occurred()) SWIG_fail;
3993 }
3994 Py_INCREF(Py_None); resultobj = Py_None;
3995 return resultobj;
3996 fail:
3997 return NULL;
3998}
3999
4000
4001static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
4002 PyObject *obj;
4003 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4004 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4005 Py_INCREF(obj);
4006 return Py_BuildValue((char *)"");
4007}
4008static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4009 PyObject *resultobj;
4010 wxWindow *arg1 = (wxWindow *) 0 ;
4011 wxSize *arg2 = 0 ;
4012 wxCaret *result;
4013 wxSize temp2 ;
4014 PyObject * obj0 = 0 ;
4015 PyObject * obj1 = 0 ;
4016 char *kwnames[] = {
4017 (char *) "window",(char *) "size", NULL
4018 };
4019
4020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4022 {
4023 arg2 = &temp2;
4024 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4025 }
4026 {
4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
4028 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4029
4030 wxPyEndAllowThreads(__tstate);
4031 if (PyErr_Occurred()) SWIG_fail;
4032 }
4033 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 1);
4034 return resultobj;
4035 fail:
4036 return NULL;
4037}
4038
4039
4040static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4041 PyObject *resultobj;
4042 wxCaret *arg1 = (wxCaret *) 0 ;
4043 PyObject * obj0 = 0 ;
4044 char *kwnames[] = {
4045 (char *) "self", NULL
4046 };
4047
4048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4050 {
4051 PyThreadState* __tstate = wxPyBeginAllowThreads();
4052 delete arg1;
4053
4054 wxPyEndAllowThreads(__tstate);
4055 if (PyErr_Occurred()) SWIG_fail;
4056 }
4057 Py_INCREF(Py_None); resultobj = Py_None;
4058 return resultobj;
4059 fail:
4060 return NULL;
4061}
4062
4063
4064static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4065 PyObject *resultobj;
4066 wxCaret *arg1 = (wxCaret *) 0 ;
4067 bool result;
4068 PyObject * obj0 = 0 ;
4069 char *kwnames[] = {
4070 (char *) "self", NULL
4071 };
4072
4073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4075 {
4076 PyThreadState* __tstate = wxPyBeginAllowThreads();
4077 result = (bool)(arg1)->IsOk();
4078
4079 wxPyEndAllowThreads(__tstate);
4080 if (PyErr_Occurred()) SWIG_fail;
4081 }
4082 resultobj = PyInt_FromLong((long)result);
4083 return resultobj;
4084 fail:
4085 return NULL;
4086}
4087
4088
4089static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4090 PyObject *resultobj;
4091 wxCaret *arg1 = (wxCaret *) 0 ;
4092 bool result;
4093 PyObject * obj0 = 0 ;
4094 char *kwnames[] = {
4095 (char *) "self", NULL
4096 };
4097
4098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4100 {
4101 PyThreadState* __tstate = wxPyBeginAllowThreads();
4102 result = (bool)(arg1)->IsVisible();
4103
4104 wxPyEndAllowThreads(__tstate);
4105 if (PyErr_Occurred()) SWIG_fail;
4106 }
4107 resultobj = PyInt_FromLong((long)result);
4108 return resultobj;
4109 fail:
4110 return NULL;
4111}
4112
4113
4114static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4115 PyObject *resultobj;
4116 wxCaret *arg1 = (wxCaret *) 0 ;
4117 wxPoint result;
4118 PyObject * obj0 = 0 ;
4119 char *kwnames[] = {
4120 (char *) "self", NULL
4121 };
4122
4123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4125 {
4126 PyThreadState* __tstate = wxPyBeginAllowThreads();
4127 result = (arg1)->GetPosition();
4128
4129 wxPyEndAllowThreads(__tstate);
4130 if (PyErr_Occurred()) SWIG_fail;
4131 }
4132 {
4133 wxPoint * resultptr;
4134 resultptr = new wxPoint((wxPoint &) result);
4135 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4136 }
4137 return resultobj;
4138 fail:
4139 return NULL;
4140}
4141
4142
4143static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4144 PyObject *resultobj;
4145 wxCaret *arg1 = (wxCaret *) 0 ;
4146 int *arg2 = (int *) 0 ;
4147 int *arg3 = (int *) 0 ;
4148 int temp2 ;
4149 int temp3 ;
4150 PyObject * obj0 = 0 ;
4151 char *kwnames[] = {
4152 (char *) "self", NULL
4153 };
4154
4155 arg2 = &temp2;
4156 arg3 = &temp3;
4157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4159 {
4160 PyThreadState* __tstate = wxPyBeginAllowThreads();
4161 (arg1)->GetPosition(arg2,arg3);
4162
4163 wxPyEndAllowThreads(__tstate);
4164 if (PyErr_Occurred()) SWIG_fail;
4165 }
4166 Py_INCREF(Py_None); resultobj = Py_None;
4167 {
4168 PyObject *o = PyInt_FromLong((long) (*arg2));
4169 resultobj = t_output_helper(resultobj,o);
4170 }
4171 {
4172 PyObject *o = PyInt_FromLong((long) (*arg3));
4173 resultobj = t_output_helper(resultobj,o);
4174 }
4175 return resultobj;
4176 fail:
4177 return NULL;
4178}
4179
4180
4181static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4182 PyObject *resultobj;
4183 wxCaret *arg1 = (wxCaret *) 0 ;
4184 wxSize result;
4185 PyObject * obj0 = 0 ;
4186 char *kwnames[] = {
4187 (char *) "self", NULL
4188 };
4189
4190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4192 {
4193 PyThreadState* __tstate = wxPyBeginAllowThreads();
4194 result = (arg1)->GetSize();
4195
4196 wxPyEndAllowThreads(__tstate);
4197 if (PyErr_Occurred()) SWIG_fail;
4198 }
4199 {
4200 wxSize * resultptr;
4201 resultptr = new wxSize((wxSize &) result);
4202 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
4203 }
4204 return resultobj;
4205 fail:
4206 return NULL;
4207}
4208
4209
4210static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4211 PyObject *resultobj;
4212 wxCaret *arg1 = (wxCaret *) 0 ;
4213 int *arg2 = (int *) 0 ;
4214 int *arg3 = (int *) 0 ;
4215 int temp2 ;
4216 int temp3 ;
4217 PyObject * obj0 = 0 ;
4218 char *kwnames[] = {
4219 (char *) "self", NULL
4220 };
4221
4222 arg2 = &temp2;
4223 arg3 = &temp3;
4224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4226 {
4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4228 (arg1)->GetSize(arg2,arg3);
4229
4230 wxPyEndAllowThreads(__tstate);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 }
4233 Py_INCREF(Py_None); resultobj = Py_None;
4234 {
4235 PyObject *o = PyInt_FromLong((long) (*arg2));
4236 resultobj = t_output_helper(resultobj,o);
4237 }
4238 {
4239 PyObject *o = PyInt_FromLong((long) (*arg3));
4240 resultobj = t_output_helper(resultobj,o);
4241 }
4242 return resultobj;
4243 fail:
4244 return NULL;
4245}
4246
4247
4248static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4249 PyObject *resultobj;
4250 wxCaret *arg1 = (wxCaret *) 0 ;
4251 wxWindow *result;
4252 PyObject * obj0 = 0 ;
4253 char *kwnames[] = {
4254 (char *) "self", NULL
4255 };
4256
4257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4259 {
4260 PyThreadState* __tstate = wxPyBeginAllowThreads();
4261 result = (wxWindow *)(arg1)->GetWindow();
4262
4263 wxPyEndAllowThreads(__tstate);
4264 if (PyErr_Occurred()) SWIG_fail;
4265 }
4266 {
4267 resultobj = wxPyMake_wxObject(result);
4268 }
4269 return resultobj;
4270 fail:
4271 return NULL;
4272}
4273
4274
4275static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4276 PyObject *resultobj;
4277 wxCaret *arg1 = (wxCaret *) 0 ;
4278 int arg2 ;
4279 int arg3 ;
4280 PyObject * obj0 = 0 ;
4281 char *kwnames[] = {
4282 (char *) "self",(char *) "x",(char *) "y", NULL
4283 };
4284
4285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_MoveXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
4286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4287 {
4288 PyThreadState* __tstate = wxPyBeginAllowThreads();
4289 (arg1)->Move(arg2,arg3);
4290
4291 wxPyEndAllowThreads(__tstate);
4292 if (PyErr_Occurred()) SWIG_fail;
4293 }
4294 Py_INCREF(Py_None); resultobj = Py_None;
4295 return resultobj;
4296 fail:
4297 return NULL;
4298}
4299
4300
4301static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4302 PyObject *resultobj;
4303 wxCaret *arg1 = (wxCaret *) 0 ;
4304 wxPoint *arg2 = 0 ;
4305 wxPoint temp2 ;
4306 PyObject * obj0 = 0 ;
4307 PyObject * obj1 = 0 ;
4308 char *kwnames[] = {
4309 (char *) "self",(char *) "pt", NULL
4310 };
4311
4312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4314 {
4315 arg2 = &temp2;
4316 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4317 }
4318 {
4319 PyThreadState* __tstate = wxPyBeginAllowThreads();
4320 (arg1)->Move((wxPoint const &)*arg2);
4321
4322 wxPyEndAllowThreads(__tstate);
4323 if (PyErr_Occurred()) SWIG_fail;
4324 }
4325 Py_INCREF(Py_None); resultobj = Py_None;
4326 return resultobj;
4327 fail:
4328 return NULL;
4329}
4330
4331
4332static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4333 PyObject *resultobj;
4334 wxCaret *arg1 = (wxCaret *) 0 ;
4335 int arg2 ;
4336 int arg3 ;
4337 PyObject * obj0 = 0 ;
4338 char *kwnames[] = {
4339 (char *) "self",(char *) "width",(char *) "height", NULL
4340 };
4341
4342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
4343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4344 {
4345 PyThreadState* __tstate = wxPyBeginAllowThreads();
4346 (arg1)->SetSize(arg2,arg3);
4347
4348 wxPyEndAllowThreads(__tstate);
4349 if (PyErr_Occurred()) SWIG_fail;
4350 }
4351 Py_INCREF(Py_None); resultobj = Py_None;
4352 return resultobj;
4353 fail:
4354 return NULL;
4355}
4356
4357
4358static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4359 PyObject *resultobj;
4360 wxCaret *arg1 = (wxCaret *) 0 ;
4361 wxSize *arg2 = 0 ;
4362 wxSize temp2 ;
4363 PyObject * obj0 = 0 ;
4364 PyObject * obj1 = 0 ;
4365 char *kwnames[] = {
4366 (char *) "self",(char *) "size", NULL
4367 };
4368
4369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4371 {
4372 arg2 = &temp2;
4373 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4374 }
4375 {
4376 PyThreadState* __tstate = wxPyBeginAllowThreads();
4377 (arg1)->SetSize((wxSize const &)*arg2);
4378
4379 wxPyEndAllowThreads(__tstate);
4380 if (PyErr_Occurred()) SWIG_fail;
4381 }
4382 Py_INCREF(Py_None); resultobj = Py_None;
4383 return resultobj;
4384 fail:
4385 return NULL;
4386}
4387
4388
4389static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4390 PyObject *resultobj;
4391 wxCaret *arg1 = (wxCaret *) 0 ;
4392 int arg2 = (int) True ;
4393 PyObject * obj0 = 0 ;
4394 char *kwnames[] = {
4395 (char *) "self",(char *) "show", NULL
4396 };
4397
4398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Caret_Show",kwnames,&obj0,&arg2)) goto fail;
4399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4400 {
4401 PyThreadState* __tstate = wxPyBeginAllowThreads();
4402 (arg1)->Show(arg2);
4403
4404 wxPyEndAllowThreads(__tstate);
4405 if (PyErr_Occurred()) SWIG_fail;
4406 }
4407 Py_INCREF(Py_None); resultobj = Py_None;
4408 return resultobj;
4409 fail:
4410 return NULL;
4411}
4412
4413
4414static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4415 PyObject *resultobj;
4416 wxCaret *arg1 = (wxCaret *) 0 ;
4417 PyObject * obj0 = 0 ;
4418 char *kwnames[] = {
4419 (char *) "self", NULL
4420 };
4421
4422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4424 {
4425 PyThreadState* __tstate = wxPyBeginAllowThreads();
4426 (arg1)->Hide();
4427
4428 wxPyEndAllowThreads(__tstate);
4429 if (PyErr_Occurred()) SWIG_fail;
4430 }
4431 Py_INCREF(Py_None); resultobj = Py_None;
4432 return resultobj;
4433 fail:
4434 return NULL;
4435}
4436
4437
4438static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4439 PyObject *obj;
4440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4441 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4442 Py_INCREF(obj);
4443 return Py_BuildValue((char *)"");
4444}
4445static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4446 PyObject *resultobj;
4447 int result;
4448 char *kwnames[] = {
4449 NULL
4450 };
4451
4452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4453 {
4454 PyThreadState* __tstate = wxPyBeginAllowThreads();
4455 result = (int)wxCaret_GetBlinkTime();
4456
4457 wxPyEndAllowThreads(__tstate);
4458 if (PyErr_Occurred()) SWIG_fail;
4459 }
4460 resultobj = PyInt_FromLong((long)result);
4461 return resultobj;
4462 fail:
4463 return NULL;
4464}
4465
4466
4467static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4468 PyObject *resultobj;
4469 int arg1 ;
4470 char *kwnames[] = {
4471 (char *) "milliseconds", NULL
4472 };
4473
4474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Caret_SetBlinkTime",kwnames,&arg1)) goto fail;
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 wxCaret_SetBlinkTime(arg1);
4478
4479 wxPyEndAllowThreads(__tstate);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 Py_INCREF(Py_None); resultobj = Py_None;
4483 return resultobj;
4484 fail:
4485 return NULL;
4486}
4487
4488
4489static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4490 PyObject *resultobj;
4491 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4492 wxBusyCursor *result;
4493 PyObject * obj0 = 0 ;
4494 char *kwnames[] = {
4495 (char *) "cursor", NULL
4496 };
4497
4498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
4499 if (obj0) {
4500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4501 }
4502 {
4503 PyThreadState* __tstate = wxPyBeginAllowThreads();
4504 result = (wxBusyCursor *)new wxBusyCursor(arg1);
4505
4506 wxPyEndAllowThreads(__tstate);
4507 if (PyErr_Occurred()) SWIG_fail;
4508 }
4509 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyCursor, 1);
4510 return resultobj;
4511 fail:
4512 return NULL;
4513}
4514
4515
4516static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4517 PyObject *resultobj;
4518 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
4519 PyObject * obj0 = 0 ;
4520 char *kwnames[] = {
4521 (char *) "self", NULL
4522 };
4523
4524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
4525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4526 {
4527 PyThreadState* __tstate = wxPyBeginAllowThreads();
4528 delete arg1;
4529
4530 wxPyEndAllowThreads(__tstate);
4531 if (PyErr_Occurred()) SWIG_fail;
4532 }
4533 Py_INCREF(Py_None); resultobj = Py_None;
4534 return resultobj;
4535 fail:
4536 return NULL;
4537}
4538
4539
4540static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
4541 PyObject *obj;
4542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4543 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
4544 Py_INCREF(obj);
4545 return Py_BuildValue((char *)"");
4546}
4547static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4548 PyObject *resultobj;
4549 wxWindow *arg1 = (wxWindow *) NULL ;
4550 wxWindowDisabler *result;
4551 PyObject * obj0 = 0 ;
4552 char *kwnames[] = {
4553 (char *) "winToSkip", NULL
4554 };
4555
4556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
4557 if (obj0) {
4558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4559 }
4560 {
4561 PyThreadState* __tstate = wxPyBeginAllowThreads();
4562 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
4563
4564 wxPyEndAllowThreads(__tstate);
4565 if (PyErr_Occurred()) SWIG_fail;
4566 }
4567 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDisabler, 1);
4568 return resultobj;
4569 fail:
4570 return NULL;
4571}
4572
4573
4574static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4575 PyObject *resultobj;
4576 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
4577 PyObject * obj0 = 0 ;
4578 char *kwnames[] = {
4579 (char *) "self", NULL
4580 };
4581
4582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
4583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4584 {
4585 PyThreadState* __tstate = wxPyBeginAllowThreads();
4586 delete arg1;
4587
4588 wxPyEndAllowThreads(__tstate);
4589 if (PyErr_Occurred()) SWIG_fail;
4590 }
4591 Py_INCREF(Py_None); resultobj = Py_None;
4592 return resultobj;
4593 fail:
4594 return NULL;
4595}
4596
4597
4598static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
4599 PyObject *obj;
4600 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4601 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
4602 Py_INCREF(obj);
4603 return Py_BuildValue((char *)"");
4604}
4605static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4606 PyObject *resultobj;
4607 wxString *arg1 = 0 ;
4608 wxBusyInfo *result;
4609 bool temp1 = False ;
4610 PyObject * obj0 = 0 ;
4611 char *kwnames[] = {
4612 (char *) "message", NULL
4613 };
4614
4615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
4616 {
4617 arg1 = wxString_in_helper(obj0);
4618 if (arg1 == NULL) SWIG_fail;
4619 temp1 = True;
4620 }
4621 {
4622 PyThreadState* __tstate = wxPyBeginAllowThreads();
4623 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
4624
4625 wxPyEndAllowThreads(__tstate);
4626 if (PyErr_Occurred()) SWIG_fail;
4627 }
4628 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyInfo, 1);
4629 {
4630 if (temp1)
4631 delete arg1;
4632 }
4633 return resultobj;
4634 fail:
4635 {
4636 if (temp1)
4637 delete arg1;
4638 }
4639 return NULL;
4640}
4641
4642
4643static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4644 PyObject *resultobj;
4645 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
4646 PyObject * obj0 = 0 ;
4647 char *kwnames[] = {
4648 (char *) "self", NULL
4649 };
4650
4651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
4652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4653 {
4654 PyThreadState* __tstate = wxPyBeginAllowThreads();
4655 delete arg1;
4656
4657 wxPyEndAllowThreads(__tstate);
4658 if (PyErr_Occurred()) SWIG_fail;
4659 }
4660 Py_INCREF(Py_None); resultobj = Py_None;
4661 return resultobj;
4662 fail:
4663 return NULL;
4664}
4665
4666
4667static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
4668 PyObject *obj;
4669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4670 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
4671 Py_INCREF(obj);
4672 return Py_BuildValue((char *)"");
4673}
4674static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
4675 PyObject *resultobj;
4676 wxStopWatch *result;
4677 char *kwnames[] = {
4678 NULL
4679 };
4680
4681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
4682 {
4683 PyThreadState* __tstate = wxPyBeginAllowThreads();
4684 result = (wxStopWatch *)new wxStopWatch();
4685
4686 wxPyEndAllowThreads(__tstate);
4687 if (PyErr_Occurred()) SWIG_fail;
4688 }
4689 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStopWatch, 1);
4690 return resultobj;
4691 fail:
4692 return NULL;
4693}
4694
4695
4696static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
4697 PyObject *resultobj;
4698 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4699 long arg2 = (long) 0 ;
4700 PyObject * obj0 = 0 ;
4701 char *kwnames[] = {
4702 (char *) "self",(char *) "t0", NULL
4703 };
4704
4705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:StopWatch_Start",kwnames,&obj0,&arg2)) goto fail;
4706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4707 {
4708 PyThreadState* __tstate = wxPyBeginAllowThreads();
4709 (arg1)->Start(arg2);
4710
4711 wxPyEndAllowThreads(__tstate);
4712 if (PyErr_Occurred()) SWIG_fail;
4713 }
4714 Py_INCREF(Py_None); resultobj = Py_None;
4715 return resultobj;
4716 fail:
4717 return NULL;
4718}
4719
4720
4721static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
4722 PyObject *resultobj;
4723 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4724 PyObject * obj0 = 0 ;
4725 char *kwnames[] = {
4726 (char *) "self", NULL
4727 };
4728
4729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
4730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4731 {
4732 PyThreadState* __tstate = wxPyBeginAllowThreads();
4733 (arg1)->Pause();
4734
4735 wxPyEndAllowThreads(__tstate);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 }
4738 Py_INCREF(Py_None); resultobj = Py_None;
4739 return resultobj;
4740 fail:
4741 return NULL;
4742}
4743
4744
4745static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
4746 PyObject *resultobj;
4747 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4748 PyObject * obj0 = 0 ;
4749 char *kwnames[] = {
4750 (char *) "self", NULL
4751 };
4752
4753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
4754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4755 {
4756 PyThreadState* __tstate = wxPyBeginAllowThreads();
4757 (arg1)->Resume();
4758
4759 wxPyEndAllowThreads(__tstate);
4760 if (PyErr_Occurred()) SWIG_fail;
4761 }
4762 Py_INCREF(Py_None); resultobj = Py_None;
4763 return resultobj;
4764 fail:
4765 return NULL;
4766}
4767
4768
4769static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
4770 PyObject *resultobj;
4771 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4772 long result;
4773 PyObject * obj0 = 0 ;
4774 char *kwnames[] = {
4775 (char *) "self", NULL
4776 };
4777
4778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
4779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4780 {
4781 PyThreadState* __tstate = wxPyBeginAllowThreads();
4782 result = (long)((wxStopWatch const *)arg1)->Time();
4783
4784 wxPyEndAllowThreads(__tstate);
4785 if (PyErr_Occurred()) SWIG_fail;
4786 }
4787 resultobj = PyInt_FromLong((long)result);
4788 return resultobj;
4789 fail:
4790 return NULL;
4791}
4792
4793
4794static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
4795 PyObject *obj;
4796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4797 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
4798 Py_INCREF(obj);
4799 return Py_BuildValue((char *)"");
4800}
4801static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4802 PyObject *resultobj;
4803 int arg1 = (int) 9 ;
4804 wxFileHistory *result;
4805 char *kwnames[] = {
4806 (char *) "maxFiles", NULL
4807 };
4808
4809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FileHistory",kwnames,&arg1)) goto fail;
4810 {
4811 PyThreadState* __tstate = wxPyBeginAllowThreads();
4812 result = (wxFileHistory *)new wxFileHistory(arg1);
4813
4814 wxPyEndAllowThreads(__tstate);
4815 if (PyErr_Occurred()) SWIG_fail;
4816 }
4817 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileHistory, 1);
4818 return resultobj;
4819 fail:
4820 return NULL;
4821}
4822
4823
4824static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4825 PyObject *resultobj;
4826 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4827 PyObject * obj0 = 0 ;
4828 char *kwnames[] = {
4829 (char *) "self", NULL
4830 };
4831
4832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
4833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4834 {
4835 PyThreadState* __tstate = wxPyBeginAllowThreads();
4836 delete arg1;
4837
4838 wxPyEndAllowThreads(__tstate);
4839 if (PyErr_Occurred()) SWIG_fail;
4840 }
4841 Py_INCREF(Py_None); resultobj = Py_None;
4842 return resultobj;
4843 fail:
4844 return NULL;
4845}
4846
4847
4848static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4849 PyObject *resultobj;
4850 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4851 wxString *arg2 = 0 ;
4852 bool temp2 = False ;
4853 PyObject * obj0 = 0 ;
4854 PyObject * obj1 = 0 ;
4855 char *kwnames[] = {
4856 (char *) "self",(char *) "file", NULL
4857 };
4858
4859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
4860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4861 {
4862 arg2 = wxString_in_helper(obj1);
4863 if (arg2 == NULL) SWIG_fail;
4864 temp2 = True;
4865 }
4866 {
4867 PyThreadState* __tstate = wxPyBeginAllowThreads();
4868 (arg1)->AddFileToHistory((wxString const &)*arg2);
4869
4870 wxPyEndAllowThreads(__tstate);
4871 if (PyErr_Occurred()) SWIG_fail;
4872 }
4873 Py_INCREF(Py_None); resultobj = Py_None;
4874 {
4875 if (temp2)
4876 delete arg2;
4877 }
4878 return resultobj;
4879 fail:
4880 {
4881 if (temp2)
4882 delete arg2;
4883 }
4884 return NULL;
4885}
4886
4887
4888static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4889 PyObject *resultobj;
4890 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4891 int arg2 ;
4892 PyObject * obj0 = 0 ;
4893 char *kwnames[] = {
4894 (char *) "self",(char *) "i", NULL
4895 };
4896
4897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&arg2)) goto fail;
4898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4899 {
4900 PyThreadState* __tstate = wxPyBeginAllowThreads();
4901 (arg1)->RemoveFileFromHistory(arg2);
4902
4903 wxPyEndAllowThreads(__tstate);
4904 if (PyErr_Occurred()) SWIG_fail;
4905 }
4906 Py_INCREF(Py_None); resultobj = Py_None;
4907 return resultobj;
4908 fail:
4909 return NULL;
4910}
4911
4912
4913static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
4914 PyObject *resultobj;
4915 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4916 int result;
4917 PyObject * obj0 = 0 ;
4918 char *kwnames[] = {
4919 (char *) "self", NULL
4920 };
4921
4922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
4923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4924 {
4925 PyThreadState* __tstate = wxPyBeginAllowThreads();
4926 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
4927
4928 wxPyEndAllowThreads(__tstate);
4929 if (PyErr_Occurred()) SWIG_fail;
4930 }
4931 resultobj = PyInt_FromLong((long)result);
4932 return resultobj;
4933 fail:
4934 return NULL;
4935}
4936
4937
4938static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4939 PyObject *resultobj;
4940 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4941 wxMenu *arg2 = (wxMenu *) 0 ;
4942 PyObject * obj0 = 0 ;
4943 PyObject * obj1 = 0 ;
4944 char *kwnames[] = {
4945 (char *) "self",(char *) "menu", NULL
4946 };
4947
4948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
4949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4950 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4951 {
4952 PyThreadState* __tstate = wxPyBeginAllowThreads();
4953 (arg1)->UseMenu(arg2);
4954
4955 wxPyEndAllowThreads(__tstate);
4956 if (PyErr_Occurred()) SWIG_fail;
4957 }
4958 Py_INCREF(Py_None); resultobj = Py_None;
4959 return resultobj;
4960 fail:
4961 return NULL;
4962}
4963
4964
4965static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4966 PyObject *resultobj;
4967 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4968 wxMenu *arg2 = (wxMenu *) 0 ;
4969 PyObject * obj0 = 0 ;
4970 PyObject * obj1 = 0 ;
4971 char *kwnames[] = {
4972 (char *) "self",(char *) "menu", NULL
4973 };
4974
4975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
4976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4977 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4978 {
4979 PyThreadState* __tstate = wxPyBeginAllowThreads();
4980 (arg1)->RemoveMenu(arg2);
4981
4982 wxPyEndAllowThreads(__tstate);
4983 if (PyErr_Occurred()) SWIG_fail;
4984 }
4985 Py_INCREF(Py_None); resultobj = Py_None;
4986 return resultobj;
4987 fail:
4988 return NULL;
4989}
4990
4991
4992static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
4993 PyObject *resultobj;
4994 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4995 wxConfigBase *arg2 = 0 ;
4996 PyObject * obj0 = 0 ;
4997 PyObject * obj1 = 0 ;
4998 char *kwnames[] = {
4999 (char *) "self",(char *) "config", NULL
5000 };
5001
5002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
5003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5004 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5005 if (arg2 == NULL) {
5006 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5007 }
5008 {
5009 PyThreadState* __tstate = wxPyBeginAllowThreads();
5010 (arg1)->Load(*arg2);
5011
5012 wxPyEndAllowThreads(__tstate);
5013 if (PyErr_Occurred()) SWIG_fail;
5014 }
5015 Py_INCREF(Py_None); resultobj = Py_None;
5016 return resultobj;
5017 fail:
5018 return NULL;
5019}
5020
5021
5022static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5023 PyObject *resultobj;
5024 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5025 wxConfigBase *arg2 = 0 ;
5026 PyObject * obj0 = 0 ;
5027 PyObject * obj1 = 0 ;
5028 char *kwnames[] = {
5029 (char *) "self",(char *) "config", NULL
5030 };
5031
5032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5034 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5035 if (arg2 == NULL) {
5036 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5037 }
5038 {
5039 PyThreadState* __tstate = wxPyBeginAllowThreads();
5040 (arg1)->Save(*arg2);
5041
5042 wxPyEndAllowThreads(__tstate);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 }
5045 Py_INCREF(Py_None); resultobj = Py_None;
5046 return resultobj;
5047 fail:
5048 return NULL;
5049}
5050
5051
5052static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5053 PyObject *resultobj;
5054 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5055 PyObject * obj0 = 0 ;
5056 char *kwnames[] = {
5057 (char *) "self", NULL
5058 };
5059
5060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5062 {
5063 PyThreadState* __tstate = wxPyBeginAllowThreads();
5064 (arg1)->AddFilesToMenu();
5065
5066 wxPyEndAllowThreads(__tstate);
5067 if (PyErr_Occurred()) SWIG_fail;
5068 }
5069 Py_INCREF(Py_None); resultobj = Py_None;
5070 return resultobj;
5071 fail:
5072 return NULL;
5073}
5074
5075
5076static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5077 PyObject *resultobj;
5078 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5079 wxMenu *arg2 = (wxMenu *) 0 ;
5080 PyObject * obj0 = 0 ;
5081 PyObject * obj1 = 0 ;
5082 char *kwnames[] = {
5083 (char *) "self",(char *) "menu", NULL
5084 };
5085
5086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5088 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5089 {
5090 PyThreadState* __tstate = wxPyBeginAllowThreads();
5091 (arg1)->AddFilesToMenu(arg2);
5092
5093 wxPyEndAllowThreads(__tstate);
5094 if (PyErr_Occurred()) SWIG_fail;
5095 }
5096 Py_INCREF(Py_None); resultobj = Py_None;
5097 return resultobj;
5098 fail:
5099 return NULL;
5100}
5101
5102
5103static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5104 PyObject *resultobj;
5105 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5106 int arg2 ;
5107 wxString result;
5108 PyObject * obj0 = 0 ;
5109 char *kwnames[] = {
5110 (char *) "self",(char *) "i", NULL
5111 };
5112
5113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_GetHistoryFile",kwnames,&obj0,&arg2)) goto fail;
5114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5115 {
5116 PyThreadState* __tstate = wxPyBeginAllowThreads();
5117 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5118
5119 wxPyEndAllowThreads(__tstate);
5120 if (PyErr_Occurred()) SWIG_fail;
5121 }
5122 {
5123#if wxUSE_UNICODE
5124 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5125#else
5126 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5127#endif
5128 }
5129 return resultobj;
5130 fail:
5131 return NULL;
5132}
5133
5134
5135static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5136 PyObject *resultobj;
5137 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5138 int result;
5139 PyObject * obj0 = 0 ;
5140 char *kwnames[] = {
5141 (char *) "self", NULL
5142 };
5143
5144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5146 {
5147 PyThreadState* __tstate = wxPyBeginAllowThreads();
5148 result = (int)((wxFileHistory const *)arg1)->GetCount();
5149
5150 wxPyEndAllowThreads(__tstate);
5151 if (PyErr_Occurred()) SWIG_fail;
5152 }
5153 resultobj = PyInt_FromLong((long)result);
5154 return resultobj;
5155 fail:
5156 return NULL;
5157}
5158
5159
5160static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5161 PyObject *obj;
5162 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5163 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5164 Py_INCREF(obj);
5165 return Py_BuildValue((char *)"");
5166}
5167static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5168 PyObject *resultobj;
5169 wxString *arg1 = 0 ;
5170 wxString const &arg2_defvalue = wxPyEmptyString ;
5171 wxString *arg2 = (wxString *) &arg2_defvalue ;
5172 wxSingleInstanceChecker *result;
5173 bool temp1 = False ;
5174 bool temp2 = False ;
5175 PyObject * obj0 = 0 ;
5176 PyObject * obj1 = 0 ;
5177 char *kwnames[] = {
5178 (char *) "name",(char *) "path", NULL
5179 };
5180
5181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5182 {
5183 arg1 = wxString_in_helper(obj0);
5184 if (arg1 == NULL) SWIG_fail;
5185 temp1 = True;
5186 }
5187 if (obj1) {
5188 {
5189 arg2 = wxString_in_helper(obj1);
5190 if (arg2 == NULL) SWIG_fail;
5191 temp2 = True;
5192 }
5193 }
5194 {
5195 PyThreadState* __tstate = wxPyBeginAllowThreads();
5196 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5197
5198 wxPyEndAllowThreads(__tstate);
5199 if (PyErr_Occurred()) SWIG_fail;
5200 }
5201 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5202 {
5203 if (temp1)
5204 delete arg1;
5205 }
5206 {
5207 if (temp2)
5208 delete arg2;
5209 }
5210 return resultobj;
5211 fail:
5212 {
5213 if (temp1)
5214 delete arg1;
5215 }
5216 {
5217 if (temp2)
5218 delete arg2;
5219 }
5220 return NULL;
5221}
5222
5223
5224static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5225 PyObject *resultobj;
5226 wxSingleInstanceChecker *result;
5227 char *kwnames[] = {
5228 NULL
5229 };
5230
5231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5232 {
5233 PyThreadState* __tstate = wxPyBeginAllowThreads();
5234 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5235
5236 wxPyEndAllowThreads(__tstate);
5237 if (PyErr_Occurred()) SWIG_fail;
5238 }
5239 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5240 return resultobj;
5241 fail:
5242 return NULL;
5243}
5244
5245
5246static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5247 PyObject *resultobj;
5248 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5249 PyObject * obj0 = 0 ;
5250 char *kwnames[] = {
5251 (char *) "self", NULL
5252 };
5253
5254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5256 {
5257 PyThreadState* __tstate = wxPyBeginAllowThreads();
5258 delete arg1;
5259
5260 wxPyEndAllowThreads(__tstate);
5261 if (PyErr_Occurred()) SWIG_fail;
5262 }
5263 Py_INCREF(Py_None); resultobj = Py_None;
5264 return resultobj;
5265 fail:
5266 return NULL;
5267}
5268
5269
5270static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5271 PyObject *resultobj;
5272 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5273 wxString *arg2 = 0 ;
5274 wxString const &arg3_defvalue = wxPyEmptyString ;
5275 wxString *arg3 = (wxString *) &arg3_defvalue ;
5276 bool result;
5277 bool temp2 = False ;
5278 bool temp3 = False ;
5279 PyObject * obj0 = 0 ;
5280 PyObject * obj1 = 0 ;
5281 PyObject * obj2 = 0 ;
5282 char *kwnames[] = {
5283 (char *) "self",(char *) "name",(char *) "path", NULL
5284 };
5285
5286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5288 {
5289 arg2 = wxString_in_helper(obj1);
5290 if (arg2 == NULL) SWIG_fail;
5291 temp2 = True;
5292 }
5293 if (obj2) {
5294 {
5295 arg3 = wxString_in_helper(obj2);
5296 if (arg3 == NULL) SWIG_fail;
5297 temp3 = True;
5298 }
5299 }
5300 {
5301 PyThreadState* __tstate = wxPyBeginAllowThreads();
5302 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5303
5304 wxPyEndAllowThreads(__tstate);
5305 if (PyErr_Occurred()) SWIG_fail;
5306 }
5307 resultobj = PyInt_FromLong((long)result);
5308 {
5309 if (temp2)
5310 delete arg2;
5311 }
5312 {
5313 if (temp3)
5314 delete arg3;
5315 }
5316 return resultobj;
5317 fail:
5318 {
5319 if (temp2)
5320 delete arg2;
5321 }
5322 {
5323 if (temp3)
5324 delete arg3;
5325 }
5326 return NULL;
5327}
5328
5329
5330static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5331 PyObject *resultobj;
5332 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5333 bool result;
5334 PyObject * obj0 = 0 ;
5335 char *kwnames[] = {
5336 (char *) "self", NULL
5337 };
5338
5339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5341 {
5342 PyThreadState* __tstate = wxPyBeginAllowThreads();
5343 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5344
5345 wxPyEndAllowThreads(__tstate);
5346 if (PyErr_Occurred()) SWIG_fail;
5347 }
5348 resultobj = PyInt_FromLong((long)result);
5349 return resultobj;
5350 fail:
5351 return NULL;
5352}
5353
5354
5355static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5356 PyObject *obj;
5357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5358 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5359 Py_INCREF(obj);
5360 return Py_BuildValue((char *)"");
5361}
5362static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5363 PyObject *resultobj;
5364 wxWindow *arg1 = (wxWindow *) 0 ;
5365 wxDC *arg2 = 0 ;
5366 int arg3 ;
5367 PyObject * obj0 = 0 ;
5368 PyObject * obj1 = 0 ;
5369 char *kwnames[] = {
5370 (char *) "window",(char *) "dc",(char *) "method", NULL
5371 };
5372
5373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DrawWindowOnDC",kwnames,&obj0,&obj1,&arg3)) goto fail;
5374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5375 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5376 if (arg2 == NULL) {
5377 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5378 }
5379 {
5380 PyThreadState* __tstate = wxPyBeginAllowThreads();
5381 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5382
5383 wxPyEndAllowThreads(__tstate);
5384 if (PyErr_Occurred()) SWIG_fail;
5385 }
5386 Py_INCREF(Py_None); resultobj = Py_None;
5387 return resultobj;
5388 fail:
5389 return NULL;
5390}
5391
5392
5393static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5394 PyObject *resultobj;
5395 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5396 PyObject * obj0 = 0 ;
5397 char *kwnames[] = {
5398 (char *) "self", NULL
5399 };
5400
5401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
5402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5403 {
5404 PyThreadState* __tstate = wxPyBeginAllowThreads();
5405 delete arg1;
5406
5407 wxPyEndAllowThreads(__tstate);
5408 if (PyErr_Occurred()) SWIG_fail;
5409 }
5410 Py_INCREF(Py_None); resultobj = Py_None;
5411 return resultobj;
5412 fail:
5413 return NULL;
5414}
5415
5416
5417static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5418 PyObject *resultobj;
5419 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5420 wxString result;
5421 PyObject * obj0 = 0 ;
5422 char *kwnames[] = {
5423 (char *) "self", NULL
5424 };
5425
5426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
5427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5428 {
5429 PyThreadState* __tstate = wxPyBeginAllowThreads();
5430 result = (arg1)->GetTip();
5431
5432 wxPyEndAllowThreads(__tstate);
5433 if (PyErr_Occurred()) SWIG_fail;
5434 }
5435 {
5436#if wxUSE_UNICODE
5437 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5438#else
5439 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5440#endif
5441 }
5442 return resultobj;
5443 fail:
5444 return NULL;
5445}
5446
5447
5448static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5449 PyObject *resultobj;
5450 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5451 size_t result;
5452 PyObject * obj0 = 0 ;
5453 char *kwnames[] = {
5454 (char *) "self", NULL
5455 };
5456
5457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
5458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5459 {
5460 PyThreadState* __tstate = wxPyBeginAllowThreads();
5461 result = (size_t)(arg1)->GetCurrentTip();
5462
5463 wxPyEndAllowThreads(__tstate);
5464 if (PyErr_Occurred()) SWIG_fail;
5465 }
5466 resultobj = PyInt_FromLong((long)result);
5467 return resultobj;
5468 fail:
5469 return NULL;
5470}
5471
5472
5473static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5474 PyObject *resultobj;
5475 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5476 wxString *arg2 = 0 ;
5477 wxString result;
5478 bool temp2 = False ;
5479 PyObject * obj0 = 0 ;
5480 PyObject * obj1 = 0 ;
5481 char *kwnames[] = {
5482 (char *) "self",(char *) "tip", NULL
5483 };
5484
5485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
5486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5487 {
5488 arg2 = wxString_in_helper(obj1);
5489 if (arg2 == NULL) SWIG_fail;
5490 temp2 = True;
5491 }
5492 {
5493 PyThreadState* __tstate = wxPyBeginAllowThreads();
5494 result = (arg1)->PreprocessTip((wxString const &)*arg2);
5495
5496 wxPyEndAllowThreads(__tstate);
5497 if (PyErr_Occurred()) SWIG_fail;
5498 }
5499 {
5500#if wxUSE_UNICODE
5501 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5502#else
5503 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5504#endif
5505 }
5506 {
5507 if (temp2)
5508 delete arg2;
5509 }
5510 return resultobj;
5511 fail:
5512 {
5513 if (temp2)
5514 delete arg2;
5515 }
5516 return NULL;
5517}
5518
5519
5520static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
5521 PyObject *obj;
5522 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5523 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
5524 Py_INCREF(obj);
5525 return Py_BuildValue((char *)"");
5526}
5527static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5528 PyObject *resultobj;
5529 size_t arg1 ;
5530 wxPyTipProvider *result;
5531 PyObject * obj0 = 0 ;
5532 char *kwnames[] = {
5533 (char *) "currentTip", NULL
5534 };
5535
5536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
5537 arg1 = (size_t) PyInt_AsLong(obj0);
5538 if (PyErr_Occurred()) SWIG_fail;
5539 {
5540 PyThreadState* __tstate = wxPyBeginAllowThreads();
5541 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
5542
5543 wxPyEndAllowThreads(__tstate);
5544 if (PyErr_Occurred()) SWIG_fail;
5545 }
5546 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTipProvider, 1);
5547 return resultobj;
5548 fail:
5549 return NULL;
5550}
5551
5552
5553static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5554 PyObject *resultobj;
5555 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
5556 PyObject *arg2 = (PyObject *) 0 ;
5557 PyObject *arg3 = (PyObject *) 0 ;
5558 PyObject * obj0 = 0 ;
5559 PyObject * obj1 = 0 ;
5560 PyObject * obj2 = 0 ;
5561 char *kwnames[] = {
5562 (char *) "self",(char *) "self",(char *) "_class", NULL
5563 };
5564
5565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5567 arg2 = obj1;
5568 arg3 = obj2;
5569 {
5570 PyThreadState* __tstate = wxPyBeginAllowThreads();
5571 (arg1)->_setCallbackInfo(arg2,arg3);
5572
5573 wxPyEndAllowThreads(__tstate);
5574 if (PyErr_Occurred()) SWIG_fail;
5575 }
5576 Py_INCREF(Py_None); resultobj = Py_None;
5577 return resultobj;
5578 fail:
5579 return NULL;
5580}
5581
5582
5583static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
5584 PyObject *obj;
5585 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5586 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
5587 Py_INCREF(obj);
5588 return Py_BuildValue((char *)"");
5589}
5590static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5591 PyObject *resultobj;
5592 wxWindow *arg1 = (wxWindow *) 0 ;
5593 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
5594 bool arg3 = (bool) True ;
5595 bool result;
5596 PyObject * obj0 = 0 ;
5597 PyObject * obj1 = 0 ;
5598 PyObject * obj2 = 0 ;
5599 char *kwnames[] = {
5600 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5601 };
5602
5603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
5604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5605 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5606 if (obj2) {
5607 arg3 = PyInt_AsLong(obj2) ? true : false;
5608 if (PyErr_Occurred()) SWIG_fail;
5609 }
5610 {
5611 PyThreadState* __tstate = wxPyBeginAllowThreads();
5612 result = (bool)wxShowTip(arg1,arg2,arg3);
5613
5614 wxPyEndAllowThreads(__tstate);
5615 if (PyErr_Occurred()) SWIG_fail;
5616 }
5617 resultobj = PyInt_FromLong((long)result);
5618 return resultobj;
5619 fail:
5620 return NULL;
5621}
5622
5623
5624static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5625 PyObject *resultobj;
5626 wxString *arg1 = 0 ;
5627 size_t arg2 ;
5628 wxTipProvider *result;
5629 bool temp1 = False ;
5630 PyObject * obj0 = 0 ;
5631 PyObject * obj1 = 0 ;
5632 char *kwnames[] = {
5633 (char *) "filename",(char *) "currentTip", NULL
5634 };
5635
5636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
5637 {
5638 arg1 = wxString_in_helper(obj0);
5639 if (arg1 == NULL) SWIG_fail;
5640 temp1 = True;
5641 }
5642 arg2 = (size_t) PyInt_AsLong(obj1);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 {
5645 PyThreadState* __tstate = wxPyBeginAllowThreads();
5646 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
5647
5648 wxPyEndAllowThreads(__tstate);
5649 if (PyErr_Occurred()) SWIG_fail;
5650 }
5651 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipProvider, 1);
5652 {
5653 if (temp1)
5654 delete arg1;
5655 }
5656 return resultobj;
5657 fail:
5658 {
5659 if (temp1)
5660 delete arg1;
5661 }
5662 return NULL;
5663}
5664
5665
5666static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5667 PyObject *resultobj;
5668 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
5669 int arg2 = (int) -1 ;
5670 wxPyTimer *result;
5671 PyObject * obj0 = 0 ;
5672 char *kwnames[] = {
5673 (char *) "owner",(char *) "id", NULL
5674 };
5675
5676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Timer",kwnames,&obj0,&arg2)) goto fail;
5677 if (obj0) {
5678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5679 }
5680 {
5681 PyThreadState* __tstate = wxPyBeginAllowThreads();
5682 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
5683
5684 wxPyEndAllowThreads(__tstate);
5685 if (PyErr_Occurred()) SWIG_fail;
5686 }
5687 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTimer, 1);
5688 return resultobj;
5689 fail:
5690 return NULL;
5691}
5692
5693
5694static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5695 PyObject *resultobj;
5696 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5697 PyObject * obj0 = 0 ;
5698 char *kwnames[] = {
5699 (char *) "self", NULL
5700 };
5701
5702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
5703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5704 {
5705 PyThreadState* __tstate = wxPyBeginAllowThreads();
5706 delete arg1;
5707
5708 wxPyEndAllowThreads(__tstate);
5709 if (PyErr_Occurred()) SWIG_fail;
5710 }
5711 Py_INCREF(Py_None); resultobj = Py_None;
5712 return resultobj;
5713 fail:
5714 return NULL;
5715}
5716
5717
5718static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5719 PyObject *resultobj;
5720 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5721 PyObject *arg2 = (PyObject *) 0 ;
5722 PyObject *arg3 = (PyObject *) 0 ;
5723 PyObject * obj0 = 0 ;
5724 PyObject * obj1 = 0 ;
5725 PyObject * obj2 = 0 ;
5726 char *kwnames[] = {
5727 (char *) "self",(char *) "self",(char *) "_class", NULL
5728 };
5729
5730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5732 arg2 = obj1;
5733 arg3 = obj2;
5734 {
5735 PyThreadState* __tstate = wxPyBeginAllowThreads();
5736 (arg1)->_setCallbackInfo(arg2,arg3);
5737
5738 wxPyEndAllowThreads(__tstate);
5739 if (PyErr_Occurred()) SWIG_fail;
5740 }
5741 Py_INCREF(Py_None); resultobj = Py_None;
5742 return resultobj;
5743 fail:
5744 return NULL;
5745}
5746
5747
5748static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
5749 PyObject *resultobj;
5750 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5751 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
5752 int arg3 = (int) -1 ;
5753 PyObject * obj0 = 0 ;
5754 PyObject * obj1 = 0 ;
5755 char *kwnames[] = {
5756 (char *) "self",(char *) "owner",(char *) "id", NULL
5757 };
5758
5759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Timer_SetOwner",kwnames,&obj0,&obj1,&arg3)) goto fail;
5760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5761 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5762 {
5763 PyThreadState* __tstate = wxPyBeginAllowThreads();
5764 (arg1)->SetOwner(arg2,arg3);
5765
5766 wxPyEndAllowThreads(__tstate);
5767 if (PyErr_Occurred()) SWIG_fail;
5768 }
5769 Py_INCREF(Py_None); resultobj = Py_None;
5770 return resultobj;
5771 fail:
5772 return NULL;
5773}
5774
5775
5776static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5777 PyObject *resultobj;
5778 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5779 int arg2 = (int) -1 ;
5780 bool arg3 = (bool) False ;
5781 bool result;
5782 PyObject * obj0 = 0 ;
5783 PyObject * obj2 = 0 ;
5784 char *kwnames[] = {
5785 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5786 };
5787
5788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Timer_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
5789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5790 if (obj2) {
5791 arg3 = PyInt_AsLong(obj2) ? true : false;
5792 if (PyErr_Occurred()) SWIG_fail;
5793 }
5794 {
5795 PyThreadState* __tstate = wxPyBeginAllowThreads();
5796 result = (bool)(arg1)->Start(arg2,arg3);
5797
5798 wxPyEndAllowThreads(__tstate);
5799 if (PyErr_Occurred()) SWIG_fail;
5800 }
5801 resultobj = PyInt_FromLong((long)result);
5802 return resultobj;
5803 fail:
5804 return NULL;
5805}
5806
5807
5808static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
5809 PyObject *resultobj;
5810 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5811 PyObject * obj0 = 0 ;
5812 char *kwnames[] = {
5813 (char *) "self", NULL
5814 };
5815
5816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
5817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5818 {
5819 PyThreadState* __tstate = wxPyBeginAllowThreads();
5820 (arg1)->Stop();
5821
5822 wxPyEndAllowThreads(__tstate);
5823 if (PyErr_Occurred()) SWIG_fail;
5824 }
5825 Py_INCREF(Py_None); resultobj = Py_None;
5826 return resultobj;
5827 fail:
5828 return NULL;
5829}
5830
5831
5832static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5833 PyObject *resultobj;
5834 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5835 bool result;
5836 PyObject * obj0 = 0 ;
5837 char *kwnames[] = {
5838 (char *) "self", NULL
5839 };
5840
5841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
5842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5843 {
5844 PyThreadState* __tstate = wxPyBeginAllowThreads();
5845 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
5846
5847 wxPyEndAllowThreads(__tstate);
5848 if (PyErr_Occurred()) SWIG_fail;
5849 }
5850 resultobj = PyInt_FromLong((long)result);
5851 return resultobj;
5852 fail:
5853 return NULL;
5854}
5855
5856
5857static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5858 PyObject *resultobj;
5859 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5860 int result;
5861 PyObject * obj0 = 0 ;
5862 char *kwnames[] = {
5863 (char *) "self", NULL
5864 };
5865
5866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
5867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5868 {
5869 PyThreadState* __tstate = wxPyBeginAllowThreads();
5870 result = (int)((wxPyTimer const *)arg1)->GetInterval();
5871
5872 wxPyEndAllowThreads(__tstate);
5873 if (PyErr_Occurred()) SWIG_fail;
5874 }
5875 resultobj = PyInt_FromLong((long)result);
5876 return resultobj;
5877 fail:
5878 return NULL;
5879}
5880
5881
5882static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
5883 PyObject *resultobj;
5884 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5885 bool result;
5886 PyObject * obj0 = 0 ;
5887 char *kwnames[] = {
5888 (char *) "self", NULL
5889 };
5890
5891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
5892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5893 {
5894 PyThreadState* __tstate = wxPyBeginAllowThreads();
5895 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
5896
5897 wxPyEndAllowThreads(__tstate);
5898 if (PyErr_Occurred()) SWIG_fail;
5899 }
5900 resultobj = PyInt_FromLong((long)result);
5901 return resultobj;
5902 fail:
5903 return NULL;
5904}
5905
5906
5907static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5908 PyObject *resultobj;
5909 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5910 int result;
5911 PyObject * obj0 = 0 ;
5912 char *kwnames[] = {
5913 (char *) "self", NULL
5914 };
5915
5916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
5917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5918 {
5919 PyThreadState* __tstate = wxPyBeginAllowThreads();
5920 result = (int)((wxPyTimer const *)arg1)->GetId();
5921
5922 wxPyEndAllowThreads(__tstate);
5923 if (PyErr_Occurred()) SWIG_fail;
5924 }
5925 resultobj = PyInt_FromLong((long)result);
5926 return resultobj;
5927 fail:
5928 return NULL;
5929}
5930
5931
5932static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
5933 PyObject *obj;
5934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5935 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
5936 Py_INCREF(obj);
5937 return Py_BuildValue((char *)"");
5938}
5939static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5940 PyObject *resultobj;
5941 int arg1 = (int) 0 ;
5942 int arg2 = (int) 0 ;
5943 wxTimerEvent *result;
5944 char *kwnames[] = {
5945 (char *) "timerid",(char *) "interval", NULL
5946 };
5947
5948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TimerEvent",kwnames,&arg1,&arg2)) goto fail;
5949 {
5950 PyThreadState* __tstate = wxPyBeginAllowThreads();
5951 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
5952
5953 wxPyEndAllowThreads(__tstate);
5954 if (PyErr_Occurred()) SWIG_fail;
5955 }
5956 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerEvent, 1);
5957 return resultobj;
5958 fail:
5959 return NULL;
5960}
5961
5962
5963static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5964 PyObject *resultobj;
5965 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
5966 int result;
5967 PyObject * obj0 = 0 ;
5968 char *kwnames[] = {
5969 (char *) "self", NULL
5970 };
5971
5972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
5973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5974 {
5975 PyThreadState* __tstate = wxPyBeginAllowThreads();
5976 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
5977
5978 wxPyEndAllowThreads(__tstate);
5979 if (PyErr_Occurred()) SWIG_fail;
5980 }
5981 resultobj = PyInt_FromLong((long)result);
5982 return resultobj;
5983 fail:
5984 return NULL;
5985}
5986
5987
5988static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
5989 PyObject *obj;
5990 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5991 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
5992 Py_INCREF(obj);
5993 return Py_BuildValue((char *)"");
5994}
5995static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
5996 PyObject *resultobj;
5997 wxTimer *arg1 = 0 ;
5998 wxTimerRunner *result;
5999 PyObject * obj0 = 0 ;
6000
6001 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
6002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6003 if (arg1 == NULL) {
6004 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6005 }
6006 {
6007 PyThreadState* __tstate = wxPyBeginAllowThreads();
6008 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6009
6010 wxPyEndAllowThreads(__tstate);
6011 if (PyErr_Occurred()) SWIG_fail;
6012 }
6013 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6014 return resultobj;
6015 fail:
6016 return NULL;
6017}
6018
6019
6020static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
6021 PyObject *resultobj;
6022 wxTimer *arg1 = 0 ;
6023 int arg2 ;
6024 bool arg3 = (bool) False ;
6025 wxTimerRunner *result;
6026 PyObject * obj0 = 0 ;
6027 PyObject * obj2 = 0 ;
6028
6029 if(!PyArg_ParseTuple(args,(char *)"Oi|O:new_TimerRunner",&obj0,&arg2,&obj2)) goto fail;
6030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6031 if (arg1 == NULL) {
6032 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6033 }
6034 if (obj2) {
6035 arg3 = PyInt_AsLong(obj2) ? true : false;
6036 if (PyErr_Occurred()) SWIG_fail;
6037 }
6038 {
6039 PyThreadState* __tstate = wxPyBeginAllowThreads();
6040 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6041
6042 wxPyEndAllowThreads(__tstate);
6043 if (PyErr_Occurred()) SWIG_fail;
6044 }
6045 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6046 return resultobj;
6047 fail:
6048 return NULL;
6049}
6050
6051
6052static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6053 int argc;
6054 PyObject *argv[4];
6055 int ii;
6056
6057 argc = PyObject_Length(args);
6058 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6059 argv[ii] = PyTuple_GetItem(args,ii);
6060 }
6061 if (argc == 1) {
6062 int _v;
6063 {
6064 void *ptr;
6065 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6066 _v = 0;
6067 PyErr_Clear();
6068 } else {
6069 _v = 1;
6070 }
6071 }
6072 if (_v) {
6073 return _wrap_new_TimerRunner__SWIG_0(self,args);
6074 }
6075 }
6076 if ((argc >= 2) && (argc <= 3)) {
6077 int _v;
6078 {
6079 void *ptr;
6080 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6081 _v = 0;
6082 PyErr_Clear();
6083 } else {
6084 _v = 1;
6085 }
6086 }
6087 if (_v) {
6088 {
6089 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6090 }
6091 if (_v) {
6092 if (argc <= 2) {
6093 return _wrap_new_TimerRunner__SWIG_1(self,args);
6094 }
6095 {
6096 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
6097 }
6098 if (_v) {
6099 return _wrap_new_TimerRunner__SWIG_1(self,args);
6100 }
6101 }
6102 }
6103 }
6104
6105 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6106 return NULL;
6107}
6108
6109
6110static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6111 PyObject *resultobj;
6112 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6113 PyObject * obj0 = 0 ;
6114 char *kwnames[] = {
6115 (char *) "self", NULL
6116 };
6117
6118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6120 {
6121 PyThreadState* __tstate = wxPyBeginAllowThreads();
6122 delete arg1;
6123
6124 wxPyEndAllowThreads(__tstate);
6125 if (PyErr_Occurred()) SWIG_fail;
6126 }
6127 Py_INCREF(Py_None); resultobj = Py_None;
6128 return resultobj;
6129 fail:
6130 return NULL;
6131}
6132
6133
6134static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6135 PyObject *resultobj;
6136 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6137 int arg2 ;
6138 bool arg3 = (bool) False ;
6139 PyObject * obj0 = 0 ;
6140 PyObject * obj2 = 0 ;
6141 char *kwnames[] = {
6142 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6143 };
6144
6145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:TimerRunner_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
6146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6147 if (obj2) {
6148 arg3 = PyInt_AsLong(obj2) ? true : false;
6149 if (PyErr_Occurred()) SWIG_fail;
6150 }
6151 {
6152 PyThreadState* __tstate = wxPyBeginAllowThreads();
6153 (arg1)->Start(arg2,arg3);
6154
6155 wxPyEndAllowThreads(__tstate);
6156 if (PyErr_Occurred()) SWIG_fail;
6157 }
6158 Py_INCREF(Py_None); resultobj = Py_None;
6159 return resultobj;
6160 fail:
6161 return NULL;
6162}
6163
6164
6165static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6166 PyObject *obj;
6167 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6168 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6169 Py_INCREF(obj);
6170 return Py_BuildValue((char *)"");
6171}
6172static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6173 PyObject *resultobj;
6174 wxLog *result;
6175 char *kwnames[] = {
6176 NULL
6177 };
6178
6179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6180 {
6181 PyThreadState* __tstate = wxPyBeginAllowThreads();
6182 result = (wxLog *)new wxLog();
6183
6184 wxPyEndAllowThreads(__tstate);
6185 if (PyErr_Occurred()) SWIG_fail;
6186 }
6187 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 1);
6188 return resultobj;
6189 fail:
6190 return NULL;
6191}
6192
6193
6194static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6195 PyObject *resultobj;
6196 bool result;
6197 char *kwnames[] = {
6198 NULL
6199 };
6200
6201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6202 {
6203 PyThreadState* __tstate = wxPyBeginAllowThreads();
6204 result = (bool)wxLog::IsEnabled();
6205
6206 wxPyEndAllowThreads(__tstate);
6207 if (PyErr_Occurred()) SWIG_fail;
6208 }
6209 resultobj = PyInt_FromLong((long)result);
6210 return resultobj;
6211 fail:
6212 return NULL;
6213}
6214
6215
6216static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6217 PyObject *resultobj;
6218 bool arg1 = (bool) True ;
6219 bool result;
6220 PyObject * obj0 = 0 ;
6221 char *kwnames[] = {
6222 (char *) "doIt", NULL
6223 };
6224
6225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6226 if (obj0) {
6227 arg1 = PyInt_AsLong(obj0) ? true : false;
6228 if (PyErr_Occurred()) SWIG_fail;
6229 }
6230 {
6231 PyThreadState* __tstate = wxPyBeginAllowThreads();
6232 result = (bool)wxLog::EnableLogging(arg1);
6233
6234 wxPyEndAllowThreads(__tstate);
6235 if (PyErr_Occurred()) SWIG_fail;
6236 }
6237 resultobj = PyInt_FromLong((long)result);
6238 return resultobj;
6239 fail:
6240 return NULL;
6241}
6242
6243
6244static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6245 PyObject *resultobj;
6246 wxLogLevel arg1 ;
6247 wxChar *arg2 = (wxChar *) 0 ;
6248 time_t arg3 ;
6249 PyObject * obj0 = 0 ;
6250 PyObject * obj1 = 0 ;
6251 PyObject * obj2 = 0 ;
6252 char *kwnames[] = {
6253 (char *) "level",(char *) "szString",(char *) "t", NULL
6254 };
6255
6256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
6257 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6258 if (PyErr_Occurred()) SWIG_fail;
6259 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6260 arg3 = (time_t) PyInt_AsLong(obj2);
6261 if (PyErr_Occurred()) SWIG_fail;
6262 {
6263 PyThreadState* __tstate = wxPyBeginAllowThreads();
6264 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6265
6266 wxPyEndAllowThreads(__tstate);
6267 if (PyErr_Occurred()) SWIG_fail;
6268 }
6269 Py_INCREF(Py_None); resultobj = Py_None;
6270 return resultobj;
6271 fail:
6272 return NULL;
6273}
6274
6275
6276static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6277 PyObject *resultobj;
6278 wxLog *arg1 = (wxLog *) 0 ;
6279 PyObject * obj0 = 0 ;
6280 char *kwnames[] = {
6281 (char *) "self", NULL
6282 };
6283
6284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6286 {
6287 PyThreadState* __tstate = wxPyBeginAllowThreads();
6288 (arg1)->Flush();
6289
6290 wxPyEndAllowThreads(__tstate);
6291 if (PyErr_Occurred()) SWIG_fail;
6292 }
6293 Py_INCREF(Py_None); resultobj = Py_None;
6294 return resultobj;
6295 fail:
6296 return NULL;
6297}
6298
6299
6300static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6301 PyObject *resultobj;
6302 char *kwnames[] = {
6303 NULL
6304 };
6305
6306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6307 {
6308 PyThreadState* __tstate = wxPyBeginAllowThreads();
6309 wxLog::FlushActive();
6310
6311 wxPyEndAllowThreads(__tstate);
6312 if (PyErr_Occurred()) SWIG_fail;
6313 }
6314 Py_INCREF(Py_None); resultobj = Py_None;
6315 return resultobj;
6316 fail:
6317 return NULL;
6318}
6319
6320
6321static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6322 PyObject *resultobj;
6323 wxLog *result;
6324 char *kwnames[] = {
6325 NULL
6326 };
6327
6328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6329 {
6330 PyThreadState* __tstate = wxPyBeginAllowThreads();
6331 result = (wxLog *)wxLog::GetActiveTarget();
6332
6333 wxPyEndAllowThreads(__tstate);
6334 if (PyErr_Occurred()) SWIG_fail;
6335 }
6336 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6337 return resultobj;
6338 fail:
6339 return NULL;
6340}
6341
6342
6343static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6344 PyObject *resultobj;
6345 wxLog *arg1 = (wxLog *) 0 ;
6346 wxLog *result;
6347 PyObject * obj0 = 0 ;
6348 char *kwnames[] = {
6349 (char *) "pLogger", NULL
6350 };
6351
6352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
6353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6354 {
6355 PyThreadState* __tstate = wxPyBeginAllowThreads();
6356 result = (wxLog *)wxLog::SetActiveTarget(arg1);
6357
6358 wxPyEndAllowThreads(__tstate);
6359 if (PyErr_Occurred()) SWIG_fail;
6360 }
6361 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6362 return resultobj;
6363 fail:
6364 return NULL;
6365}
6366
6367
6368static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
6369 PyObject *resultobj;
6370 char *kwnames[] = {
6371 NULL
6372 };
6373
6374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
6375 {
6376 PyThreadState* __tstate = wxPyBeginAllowThreads();
6377 wxLog::Suspend();
6378
6379 wxPyEndAllowThreads(__tstate);
6380 if (PyErr_Occurred()) SWIG_fail;
6381 }
6382 Py_INCREF(Py_None); resultobj = Py_None;
6383 return resultobj;
6384 fail:
6385 return NULL;
6386}
6387
6388
6389static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
6390 PyObject *resultobj;
6391 char *kwnames[] = {
6392 NULL
6393 };
6394
6395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
6396 {
6397 PyThreadState* __tstate = wxPyBeginAllowThreads();
6398 wxLog::Resume();
6399
6400 wxPyEndAllowThreads(__tstate);
6401 if (PyErr_Occurred()) SWIG_fail;
6402 }
6403 Py_INCREF(Py_None); resultobj = Py_None;
6404 return resultobj;
6405 fail:
6406 return NULL;
6407}
6408
6409
6410static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6411 PyObject *resultobj;
6412 bool arg1 = (bool) True ;
6413 PyObject * obj0 = 0 ;
6414 char *kwnames[] = {
6415 (char *) "bVerbose", NULL
6416 };
6417
6418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
6419 if (obj0) {
6420 arg1 = PyInt_AsLong(obj0) ? true : false;
6421 if (PyErr_Occurred()) SWIG_fail;
6422 }
6423 {
6424 PyThreadState* __tstate = wxPyBeginAllowThreads();
6425 wxLog::SetVerbose(arg1);
6426
6427 wxPyEndAllowThreads(__tstate);
6428 if (PyErr_Occurred()) SWIG_fail;
6429 }
6430 Py_INCREF(Py_None); resultobj = Py_None;
6431 return resultobj;
6432 fail:
6433 return NULL;
6434}
6435
6436
6437static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6438 PyObject *resultobj;
6439 wxLogLevel arg1 ;
6440 PyObject * obj0 = 0 ;
6441 char *kwnames[] = {
6442 (char *) "logLevel", NULL
6443 };
6444
6445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
6446 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6447 if (PyErr_Occurred()) SWIG_fail;
6448 {
6449 PyThreadState* __tstate = wxPyBeginAllowThreads();
6450 wxLog::SetLogLevel(arg1);
6451
6452 wxPyEndAllowThreads(__tstate);
6453 if (PyErr_Occurred()) SWIG_fail;
6454 }
6455 Py_INCREF(Py_None); resultobj = Py_None;
6456 return resultobj;
6457 fail:
6458 return NULL;
6459}
6460
6461
6462static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
6463 PyObject *resultobj;
6464 char *kwnames[] = {
6465 NULL
6466 };
6467
6468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
6469 {
6470 PyThreadState* __tstate = wxPyBeginAllowThreads();
6471 wxLog::DontCreateOnDemand();
6472
6473 wxPyEndAllowThreads(__tstate);
6474 if (PyErr_Occurred()) SWIG_fail;
6475 }
6476 Py_INCREF(Py_None); resultobj = Py_None;
6477 return resultobj;
6478 fail:
6479 return NULL;
6480}
6481
6482
6483static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6484 PyObject *resultobj;
6485 wxTraceMask arg1 ;
6486 PyObject * obj0 = 0 ;
6487 char *kwnames[] = {
6488 (char *) "ulMask", NULL
6489 };
6490
6491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
6492 arg1 = (wxTraceMask) PyInt_AsLong(obj0);
6493 if (PyErr_Occurred()) SWIG_fail;
6494 {
6495 PyThreadState* __tstate = wxPyBeginAllowThreads();
6496 wxLog::SetTraceMask(arg1);
6497
6498 wxPyEndAllowThreads(__tstate);
6499 if (PyErr_Occurred()) SWIG_fail;
6500 }
6501 Py_INCREF(Py_None); resultobj = Py_None;
6502 return resultobj;
6503 fail:
6504 return NULL;
6505}
6506
6507
6508static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6509 PyObject *resultobj;
6510 wxString *arg1 = 0 ;
6511 bool temp1 = False ;
6512 PyObject * obj0 = 0 ;
6513 char *kwnames[] = {
6514 (char *) "str", NULL
6515 };
6516
6517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
6518 {
6519 arg1 = wxString_in_helper(obj0);
6520 if (arg1 == NULL) SWIG_fail;
6521 temp1 = True;
6522 }
6523 {
6524 PyThreadState* __tstate = wxPyBeginAllowThreads();
6525 wxLog::AddTraceMask((wxString const &)*arg1);
6526
6527 wxPyEndAllowThreads(__tstate);
6528 if (PyErr_Occurred()) SWIG_fail;
6529 }
6530 Py_INCREF(Py_None); resultobj = Py_None;
6531 {
6532 if (temp1)
6533 delete arg1;
6534 }
6535 return resultobj;
6536 fail:
6537 {
6538 if (temp1)
6539 delete arg1;
6540 }
6541 return NULL;
6542}
6543
6544
6545static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6546 PyObject *resultobj;
6547 wxString *arg1 = 0 ;
6548 bool temp1 = False ;
6549 PyObject * obj0 = 0 ;
6550 char *kwnames[] = {
6551 (char *) "str", NULL
6552 };
6553
6554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
6555 {
6556 arg1 = wxString_in_helper(obj0);
6557 if (arg1 == NULL) SWIG_fail;
6558 temp1 = True;
6559 }
6560 {
6561 PyThreadState* __tstate = wxPyBeginAllowThreads();
6562 wxLog::RemoveTraceMask((wxString const &)*arg1);
6563
6564 wxPyEndAllowThreads(__tstate);
6565 if (PyErr_Occurred()) SWIG_fail;
6566 }
6567 Py_INCREF(Py_None); resultobj = Py_None;
6568 {
6569 if (temp1)
6570 delete arg1;
6571 }
6572 return resultobj;
6573 fail:
6574 {
6575 if (temp1)
6576 delete arg1;
6577 }
6578 return NULL;
6579}
6580
6581
6582static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6583 PyObject *resultobj;
6584 char *kwnames[] = {
6585 NULL
6586 };
6587
6588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
6589 {
6590 PyThreadState* __tstate = wxPyBeginAllowThreads();
6591 wxLog::ClearTraceMasks();
6592
6593 wxPyEndAllowThreads(__tstate);
6594 if (PyErr_Occurred()) SWIG_fail;
6595 }
6596 Py_INCREF(Py_None); resultobj = Py_None;
6597 return resultobj;
6598 fail:
6599 return NULL;
6600}
6601
6602
6603static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6604 PyObject *resultobj;
6605 wxArrayString *result;
6606 char *kwnames[] = {
6607 NULL
6608 };
6609
6610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
6611 {
6612 PyThreadState* __tstate = wxPyBeginAllowThreads();
6613 {
6614 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
6615 result = (wxArrayString *) &_result_ref;
6616 }
6617
6618 wxPyEndAllowThreads(__tstate);
6619 if (PyErr_Occurred()) SWIG_fail;
6620 }
6621 {
6622 resultobj = wxArrayString2PyList_helper(*result);
6623 }
6624 return resultobj;
6625 fail:
6626 return NULL;
6627}
6628
6629
6630static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6631 PyObject *resultobj;
6632 wxChar *arg1 = (wxChar *) 0 ;
6633 PyObject * obj0 = 0 ;
6634 char *kwnames[] = {
6635 (char *) "ts", NULL
6636 };
6637
6638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
6639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6640 {
6641 PyThreadState* __tstate = wxPyBeginAllowThreads();
6642 wxLog::SetTimestamp((wxChar const *)arg1);
6643
6644 wxPyEndAllowThreads(__tstate);
6645 if (PyErr_Occurred()) SWIG_fail;
6646 }
6647 Py_INCREF(Py_None); resultobj = Py_None;
6648 return resultobj;
6649 fail:
6650 return NULL;
6651}
6652
6653
6654static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6655 PyObject *resultobj;
6656 bool result;
6657 char *kwnames[] = {
6658 NULL
6659 };
6660
6661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
6662 {
6663 PyThreadState* __tstate = wxPyBeginAllowThreads();
6664 result = (bool)wxLog::GetVerbose();
6665
6666 wxPyEndAllowThreads(__tstate);
6667 if (PyErr_Occurred()) SWIG_fail;
6668 }
6669 resultobj = PyInt_FromLong((long)result);
6670 return resultobj;
6671 fail:
6672 return NULL;
6673}
6674
6675
6676static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6677 PyObject *resultobj;
6678 wxTraceMask result;
6679 char *kwnames[] = {
6680 NULL
6681 };
6682
6683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
6684 {
6685 PyThreadState* __tstate = wxPyBeginAllowThreads();
6686 result = (wxTraceMask)wxLog::GetTraceMask();
6687
6688 wxPyEndAllowThreads(__tstate);
6689 if (PyErr_Occurred()) SWIG_fail;
6690 }
6691 resultobj = PyInt_FromLong((long)result);
6692 return resultobj;
6693 fail:
6694 return NULL;
6695}
6696
6697
6698static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6699 PyObject *resultobj;
6700 wxChar *arg1 = (wxChar *) 0 ;
6701 bool result;
6702 PyObject * obj0 = 0 ;
6703 char *kwnames[] = {
6704 (char *) "mask", NULL
6705 };
6706
6707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
6708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6709 {
6710 PyThreadState* __tstate = wxPyBeginAllowThreads();
6711 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
6712
6713 wxPyEndAllowThreads(__tstate);
6714 if (PyErr_Occurred()) SWIG_fail;
6715 }
6716 resultobj = PyInt_FromLong((long)result);
6717 return resultobj;
6718 fail:
6719 return NULL;
6720}
6721
6722
6723static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6724 PyObject *resultobj;
6725 wxLogLevel result;
6726 char *kwnames[] = {
6727 NULL
6728 };
6729
6730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
6731 {
6732 PyThreadState* __tstate = wxPyBeginAllowThreads();
6733 result = (wxLogLevel)wxLog::GetLogLevel();
6734
6735 wxPyEndAllowThreads(__tstate);
6736 if (PyErr_Occurred()) SWIG_fail;
6737 }
6738 resultobj = PyInt_FromLong((long)result);
6739 return resultobj;
6740 fail:
6741 return NULL;
6742}
6743
6744
6745static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6746 PyObject *resultobj;
6747 wxChar *result;
6748 char *kwnames[] = {
6749 NULL
6750 };
6751
6752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
6753 {
6754 PyThreadState* __tstate = wxPyBeginAllowThreads();
6755 result = (wxChar *)wxLog::GetTimestamp();
6756
6757 wxPyEndAllowThreads(__tstate);
6758 if (PyErr_Occurred()) SWIG_fail;
6759 }
6760 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChar, 0);
6761 return resultobj;
6762 fail:
6763 return NULL;
6764}
6765
6766
6767static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6768 PyObject *resultobj;
6769 wxString result;
6770 char *kwnames[] = {
6771 NULL
6772 };
6773
6774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
6775 {
6776 PyThreadState* __tstate = wxPyBeginAllowThreads();
6777 result = Log_TimeStamp();
6778
6779 wxPyEndAllowThreads(__tstate);
6780 if (PyErr_Occurred()) SWIG_fail;
6781 }
6782 {
6783#if wxUSE_UNICODE
6784 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6785#else
6786 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6787#endif
6788 }
6789 return resultobj;
6790 fail:
6791 return NULL;
6792}
6793
6794
6795static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6796 PyObject *resultobj;
6797 wxLog *arg1 = (wxLog *) 0 ;
6798 PyObject * obj0 = 0 ;
6799 char *kwnames[] = {
6800 (char *) "self", NULL
6801 };
6802
6803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
6804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6805 {
6806 PyThreadState* __tstate = wxPyBeginAllowThreads();
6807 wxLog_Destroy(arg1);
6808
6809 wxPyEndAllowThreads(__tstate);
6810 if (PyErr_Occurred()) SWIG_fail;
6811 }
6812 Py_INCREF(Py_None); resultobj = Py_None;
6813 return resultobj;
6814 fail:
6815 return NULL;
6816}
6817
6818
6819static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
6820 PyObject *obj;
6821 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6822 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
6823 Py_INCREF(obj);
6824 return Py_BuildValue((char *)"");
6825}
6826static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
6827 PyObject *resultobj;
6828 wxLogStderr *result;
6829 char *kwnames[] = {
6830 NULL
6831 };
6832
6833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
6834 {
6835 PyThreadState* __tstate = wxPyBeginAllowThreads();
6836 result = (wxLogStderr *)new wxLogStderr();
6837
6838 wxPyEndAllowThreads(__tstate);
6839 if (PyErr_Occurred()) SWIG_fail;
6840 }
6841 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogStderr, 1);
6842 return resultobj;
6843 fail:
6844 return NULL;
6845}
6846
6847
6848static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
6849 PyObject *obj;
6850 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6851 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
6852 Py_INCREF(obj);
6853 return Py_BuildValue((char *)"");
6854}
6855static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6856 PyObject *resultobj;
6857 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6858 wxLogTextCtrl *result;
6859 PyObject * obj0 = 0 ;
6860 char *kwnames[] = {
6861 (char *) "pTextCtrl", NULL
6862 };
6863
6864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
6865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6866 {
6867 PyThreadState* __tstate = wxPyBeginAllowThreads();
6868 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
6869
6870 wxPyEndAllowThreads(__tstate);
6871 if (PyErr_Occurred()) SWIG_fail;
6872 }
6873 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogTextCtrl, 1);
6874 return resultobj;
6875 fail:
6876 return NULL;
6877}
6878
6879
6880static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
6881 PyObject *obj;
6882 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6883 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
6884 Py_INCREF(obj);
6885 return Py_BuildValue((char *)"");
6886}
6887static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
6888 PyObject *resultobj;
6889 wxLogGui *result;
6890 char *kwnames[] = {
6891 NULL
6892 };
6893
6894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
6895 {
6896 PyThreadState* __tstate = wxPyBeginAllowThreads();
6897 result = (wxLogGui *)new wxLogGui();
6898
6899 wxPyEndAllowThreads(__tstate);
6900 if (PyErr_Occurred()) SWIG_fail;
6901 }
6902 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogGui, 1);
6903 return resultobj;
6904 fail:
6905 return NULL;
6906}
6907
6908
6909static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
6910 PyObject *obj;
6911 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6912 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
6913 Py_INCREF(obj);
6914 return Py_BuildValue((char *)"");
6915}
6916static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6917 PyObject *resultobj;
6918 wxFrame *arg1 = (wxFrame *) 0 ;
6919 wxString *arg2 = 0 ;
6920 bool arg3 = (bool) True ;
6921 bool arg4 = (bool) True ;
6922 wxLogWindow *result;
6923 bool temp2 = False ;
6924 PyObject * obj0 = 0 ;
6925 PyObject * obj1 = 0 ;
6926 PyObject * obj2 = 0 ;
6927 PyObject * obj3 = 0 ;
6928 char *kwnames[] = {
6929 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
6930 };
6931
6932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6934 {
6935 arg2 = wxString_in_helper(obj1);
6936 if (arg2 == NULL) SWIG_fail;
6937 temp2 = True;
6938 }
6939 if (obj2) {
6940 arg3 = PyInt_AsLong(obj2) ? true : false;
6941 if (PyErr_Occurred()) SWIG_fail;
6942 }
6943 if (obj3) {
6944 arg4 = PyInt_AsLong(obj3) ? true : false;
6945 if (PyErr_Occurred()) SWIG_fail;
6946 }
6947 {
6948 PyThreadState* __tstate = wxPyBeginAllowThreads();
6949 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
6950
6951 wxPyEndAllowThreads(__tstate);
6952 if (PyErr_Occurred()) SWIG_fail;
6953 }
6954 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogWindow, 1);
6955 {
6956 if (temp2)
6957 delete arg2;
6958 }
6959 return resultobj;
6960 fail:
6961 {
6962 if (temp2)
6963 delete arg2;
6964 }
6965 return NULL;
6966}
6967
6968
6969static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
6970 PyObject *resultobj;
6971 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6972 bool arg2 = (bool) True ;
6973 PyObject * obj0 = 0 ;
6974 PyObject * obj1 = 0 ;
6975 char *kwnames[] = {
6976 (char *) "self",(char *) "bShow", NULL
6977 };
6978
6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
6980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6981 if (obj1) {
6982 arg2 = PyInt_AsLong(obj1) ? true : false;
6983 if (PyErr_Occurred()) SWIG_fail;
6984 }
6985 {
6986 PyThreadState* __tstate = wxPyBeginAllowThreads();
6987 (arg1)->Show(arg2);
6988
6989 wxPyEndAllowThreads(__tstate);
6990 if (PyErr_Occurred()) SWIG_fail;
6991 }
6992 Py_INCREF(Py_None); resultobj = Py_None;
6993 return resultobj;
6994 fail:
6995 return NULL;
6996}
6997
6998
6999static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7000 PyObject *resultobj;
7001 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7002 wxFrame *result;
7003 PyObject * obj0 = 0 ;
7004 char *kwnames[] = {
7005 (char *) "self", NULL
7006 };
7007
7008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
7009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7010 {
7011 PyThreadState* __tstate = wxPyBeginAllowThreads();
7012 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7013
7014 wxPyEndAllowThreads(__tstate);
7015 if (PyErr_Occurred()) SWIG_fail;
7016 }
7017 {
7018 resultobj = wxPyMake_wxObject(result);
7019 }
7020 return resultobj;
7021 fail:
7022 return NULL;
7023}
7024
7025
7026static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7027 PyObject *resultobj;
7028 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7029 wxLog *result;
7030 PyObject * obj0 = 0 ;
7031 char *kwnames[] = {
7032 (char *) "self", NULL
7033 };
7034
7035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7037 {
7038 PyThreadState* __tstate = wxPyBeginAllowThreads();
7039 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7040
7041 wxPyEndAllowThreads(__tstate);
7042 if (PyErr_Occurred()) SWIG_fail;
7043 }
7044 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7045 return resultobj;
7046 fail:
7047 return NULL;
7048}
7049
7050
7051static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7052 PyObject *resultobj;
7053 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7054 bool result;
7055 PyObject * obj0 = 0 ;
7056 char *kwnames[] = {
7057 (char *) "self", NULL
7058 };
7059
7060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
7061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7062 {
7063 PyThreadState* __tstate = wxPyBeginAllowThreads();
7064 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7065
7066 wxPyEndAllowThreads(__tstate);
7067 if (PyErr_Occurred()) SWIG_fail;
7068 }
7069 resultobj = PyInt_FromLong((long)result);
7070 return resultobj;
7071 fail:
7072 return NULL;
7073}
7074
7075
7076static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7077 PyObject *resultobj;
7078 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7079 bool arg2 ;
7080 PyObject * obj0 = 0 ;
7081 PyObject * obj1 = 0 ;
7082 char *kwnames[] = {
7083 (char *) "self",(char *) "bDoPass", NULL
7084 };
7085
7086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7088 arg2 = PyInt_AsLong(obj1) ? true : false;
7089 if (PyErr_Occurred()) SWIG_fail;
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
7092 (arg1)->PassMessages(arg2);
7093
7094 wxPyEndAllowThreads(__tstate);
7095 if (PyErr_Occurred()) SWIG_fail;
7096 }
7097 Py_INCREF(Py_None); resultobj = Py_None;
7098 return resultobj;
7099 fail:
7100 return NULL;
7101}
7102
7103
7104static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7105 PyObject *obj;
7106 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7107 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7108 Py_INCREF(obj);
7109 return Py_BuildValue((char *)"");
7110}
7111static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7112 PyObject *resultobj;
7113 wxLog *arg1 = (wxLog *) 0 ;
7114 wxLogChain *result;
7115 PyObject * obj0 = 0 ;
7116 char *kwnames[] = {
7117 (char *) "logger", NULL
7118 };
7119
7120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7122 {
7123 PyThreadState* __tstate = wxPyBeginAllowThreads();
7124 result = (wxLogChain *)new wxLogChain(arg1);
7125
7126 wxPyEndAllowThreads(__tstate);
7127 if (PyErr_Occurred()) SWIG_fail;
7128 }
7129 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogChain, 1);
7130 return resultobj;
7131 fail:
7132 return NULL;
7133}
7134
7135
7136static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7137 PyObject *resultobj;
7138 wxLogChain *arg1 = (wxLogChain *) 0 ;
7139 wxLog *arg2 = (wxLog *) 0 ;
7140 PyObject * obj0 = 0 ;
7141 PyObject * obj1 = 0 ;
7142 char *kwnames[] = {
7143 (char *) "self",(char *) "logger", NULL
7144 };
7145
7146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7148 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7149 {
7150 PyThreadState* __tstate = wxPyBeginAllowThreads();
7151 (arg1)->SetLog(arg2);
7152
7153 wxPyEndAllowThreads(__tstate);
7154 if (PyErr_Occurred()) SWIG_fail;
7155 }
7156 Py_INCREF(Py_None); resultobj = Py_None;
7157 return resultobj;
7158 fail:
7159 return NULL;
7160}
7161
7162
7163static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7164 PyObject *resultobj;
7165 wxLogChain *arg1 = (wxLogChain *) 0 ;
7166 bool arg2 ;
7167 PyObject * obj0 = 0 ;
7168 PyObject * obj1 = 0 ;
7169 char *kwnames[] = {
7170 (char *) "self",(char *) "bDoPass", NULL
7171 };
7172
7173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7175 arg2 = PyInt_AsLong(obj1) ? true : false;
7176 if (PyErr_Occurred()) SWIG_fail;
7177 {
7178 PyThreadState* __tstate = wxPyBeginAllowThreads();
7179 (arg1)->PassMessages(arg2);
7180
7181 wxPyEndAllowThreads(__tstate);
7182 if (PyErr_Occurred()) SWIG_fail;
7183 }
7184 Py_INCREF(Py_None); resultobj = Py_None;
7185 return resultobj;
7186 fail:
7187 return NULL;
7188}
7189
7190
7191static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7192 PyObject *resultobj;
7193 wxLogChain *arg1 = (wxLogChain *) 0 ;
7194 bool result;
7195 PyObject * obj0 = 0 ;
7196 char *kwnames[] = {
7197 (char *) "self", NULL
7198 };
7199
7200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7202 {
7203 PyThreadState* __tstate = wxPyBeginAllowThreads();
7204 result = (bool)(arg1)->IsPassingMessages();
7205
7206 wxPyEndAllowThreads(__tstate);
7207 if (PyErr_Occurred()) SWIG_fail;
7208 }
7209 resultobj = PyInt_FromLong((long)result);
7210 return resultobj;
7211 fail:
7212 return NULL;
7213}
7214
7215
7216static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7217 PyObject *resultobj;
7218 wxLogChain *arg1 = (wxLogChain *) 0 ;
7219 wxLog *result;
7220 PyObject * obj0 = 0 ;
7221 char *kwnames[] = {
7222 (char *) "self", NULL
7223 };
7224
7225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7227 {
7228 PyThreadState* __tstate = wxPyBeginAllowThreads();
7229 result = (wxLog *)(arg1)->GetOldLog();
7230
7231 wxPyEndAllowThreads(__tstate);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 }
7234 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7235 return resultobj;
7236 fail:
7237 return NULL;
7238}
7239
7240
7241static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7242 PyObject *obj;
7243 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7244 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7245 Py_INCREF(obj);
7246 return Py_BuildValue((char *)"");
7247}
7248static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7249 PyObject *resultobj;
7250 unsigned long result;
7251 char *kwnames[] = {
7252 NULL
7253 };
7254
7255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7256 {
7257 PyThreadState* __tstate = wxPyBeginAllowThreads();
7258 result = (unsigned long)wxSysErrorCode();
7259
7260 wxPyEndAllowThreads(__tstate);
7261 if (PyErr_Occurred()) SWIG_fail;
7262 }
7263 resultobj = PyInt_FromLong((long)result);
7264 return resultobj;
7265 fail:
7266 return NULL;
7267}
7268
7269
7270static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7271 PyObject *resultobj;
7272 unsigned long arg1 = (unsigned long) 0 ;
7273 wxString result;
7274 PyObject * obj0 = 0 ;
7275 char *kwnames[] = {
7276 (char *) "nErrCode", NULL
7277 };
7278
7279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7280 if (obj0) {
7281 arg1 = (unsigned long) PyInt_AsLong(obj0);
7282 if (PyErr_Occurred()) SWIG_fail;
7283 }
7284 {
7285 PyThreadState* __tstate = wxPyBeginAllowThreads();
7286 result = wxSysErrorMsg(arg1);
7287
7288 wxPyEndAllowThreads(__tstate);
7289 if (PyErr_Occurred()) SWIG_fail;
7290 }
7291 {
7292#if wxUSE_UNICODE
7293 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7294#else
7295 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7296#endif
7297 }
7298 return resultobj;
7299 fail:
7300 return NULL;
7301}
7302
7303
7304static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
7305 PyObject *resultobj;
7306 wxString *arg1 = 0 ;
7307 bool temp1 = False ;
7308 PyObject * obj0 = 0 ;
7309 char *kwnames[] = {
7310 (char *) "msg", NULL
7311 };
7312
7313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7314 {
7315 arg1 = wxString_in_helper(obj0);
7316 if (arg1 == NULL) SWIG_fail;
7317 temp1 = True;
7318 }
7319 {
7320 PyThreadState* __tstate = wxPyBeginAllowThreads();
7321 wxLogFatalError((wxString const &)*arg1);
7322
7323 wxPyEndAllowThreads(__tstate);
7324 if (PyErr_Occurred()) SWIG_fail;
7325 }
7326 Py_INCREF(Py_None); resultobj = Py_None;
7327 {
7328 if (temp1)
7329 delete arg1;
7330 }
7331 return resultobj;
7332 fail:
7333 {
7334 if (temp1)
7335 delete arg1;
7336 }
7337 return NULL;
7338}
7339
7340
7341static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
7342 PyObject *resultobj;
7343 wxString *arg1 = 0 ;
7344 bool temp1 = False ;
7345 PyObject * obj0 = 0 ;
7346 char *kwnames[] = {
7347 (char *) "msg", NULL
7348 };
7349
7350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
7351 {
7352 arg1 = wxString_in_helper(obj0);
7353 if (arg1 == NULL) SWIG_fail;
7354 temp1 = True;
7355 }
7356 {
7357 PyThreadState* __tstate = wxPyBeginAllowThreads();
7358 wxLogError((wxString const &)*arg1);
7359
7360 wxPyEndAllowThreads(__tstate);
7361 if (PyErr_Occurred()) SWIG_fail;
7362 }
7363 Py_INCREF(Py_None); resultobj = Py_None;
7364 {
7365 if (temp1)
7366 delete arg1;
7367 }
7368 return resultobj;
7369 fail:
7370 {
7371 if (temp1)
7372 delete arg1;
7373 }
7374 return NULL;
7375}
7376
7377
7378static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
7379 PyObject *resultobj;
7380 wxString *arg1 = 0 ;
7381 bool temp1 = False ;
7382 PyObject * obj0 = 0 ;
7383 char *kwnames[] = {
7384 (char *) "msg", NULL
7385 };
7386
7387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
7388 {
7389 arg1 = wxString_in_helper(obj0);
7390 if (arg1 == NULL) SWIG_fail;
7391 temp1 = True;
7392 }
7393 {
7394 PyThreadState* __tstate = wxPyBeginAllowThreads();
7395 wxLogWarning((wxString const &)*arg1);
7396
7397 wxPyEndAllowThreads(__tstate);
7398 if (PyErr_Occurred()) SWIG_fail;
7399 }
7400 Py_INCREF(Py_None); resultobj = Py_None;
7401 {
7402 if (temp1)
7403 delete arg1;
7404 }
7405 return resultobj;
7406 fail:
7407 {
7408 if (temp1)
7409 delete arg1;
7410 }
7411 return NULL;
7412}
7413
7414
7415static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7416 PyObject *resultobj;
7417 wxString *arg1 = 0 ;
7418 bool temp1 = False ;
7419 PyObject * obj0 = 0 ;
7420 char *kwnames[] = {
7421 (char *) "msg", NULL
7422 };
7423
7424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
7425 {
7426 arg1 = wxString_in_helper(obj0);
7427 if (arg1 == NULL) SWIG_fail;
7428 temp1 = True;
7429 }
7430 {
7431 PyThreadState* __tstate = wxPyBeginAllowThreads();
7432 wxLogMessage((wxString const &)*arg1);
7433
7434 wxPyEndAllowThreads(__tstate);
7435 if (PyErr_Occurred()) SWIG_fail;
7436 }
7437 Py_INCREF(Py_None); resultobj = Py_None;
7438 {
7439 if (temp1)
7440 delete arg1;
7441 }
7442 return resultobj;
7443 fail:
7444 {
7445 if (temp1)
7446 delete arg1;
7447 }
7448 return NULL;
7449}
7450
7451
7452static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7453 PyObject *resultobj;
7454 wxString *arg1 = 0 ;
7455 bool temp1 = False ;
7456 PyObject * obj0 = 0 ;
7457 char *kwnames[] = {
7458 (char *) "msg", NULL
7459 };
7460
7461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
7462 {
7463 arg1 = wxString_in_helper(obj0);
7464 if (arg1 == NULL) SWIG_fail;
7465 temp1 = True;
7466 }
7467 {
7468 PyThreadState* __tstate = wxPyBeginAllowThreads();
7469 wxLogInfo((wxString const &)*arg1);
7470
7471 wxPyEndAllowThreads(__tstate);
7472 if (PyErr_Occurred()) SWIG_fail;
7473 }
7474 Py_INCREF(Py_None); resultobj = Py_None;
7475 {
7476 if (temp1)
7477 delete arg1;
7478 }
7479 return resultobj;
7480 fail:
7481 {
7482 if (temp1)
7483 delete arg1;
7484 }
7485 return NULL;
7486}
7487
7488
7489static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
7490 PyObject *resultobj;
7491 wxString *arg1 = 0 ;
7492 bool temp1 = False ;
7493 PyObject * obj0 = 0 ;
7494 char *kwnames[] = {
7495 (char *) "msg", NULL
7496 };
7497
7498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
7499 {
7500 arg1 = wxString_in_helper(obj0);
7501 if (arg1 == NULL) SWIG_fail;
7502 temp1 = True;
7503 }
7504 {
7505 PyThreadState* __tstate = wxPyBeginAllowThreads();
7506 wxLogDebug((wxString const &)*arg1);
7507
7508 wxPyEndAllowThreads(__tstate);
7509 if (PyErr_Occurred()) SWIG_fail;
7510 }
7511 Py_INCREF(Py_None); resultobj = Py_None;
7512 {
7513 if (temp1)
7514 delete arg1;
7515 }
7516 return resultobj;
7517 fail:
7518 {
7519 if (temp1)
7520 delete arg1;
7521 }
7522 return NULL;
7523}
7524
7525
7526static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7527 PyObject *resultobj;
7528 wxString *arg1 = 0 ;
7529 bool temp1 = False ;
7530 PyObject * obj0 = 0 ;
7531 char *kwnames[] = {
7532 (char *) "msg", NULL
7533 };
7534
7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
7536 {
7537 arg1 = wxString_in_helper(obj0);
7538 if (arg1 == NULL) SWIG_fail;
7539 temp1 = True;
7540 }
7541 {
7542 PyThreadState* __tstate = wxPyBeginAllowThreads();
7543 wxLogVerbose((wxString const &)*arg1);
7544
7545 wxPyEndAllowThreads(__tstate);
7546 if (PyErr_Occurred()) SWIG_fail;
7547 }
7548 Py_INCREF(Py_None); resultobj = Py_None;
7549 {
7550 if (temp1)
7551 delete arg1;
7552 }
7553 return resultobj;
7554 fail:
7555 {
7556 if (temp1)
7557 delete arg1;
7558 }
7559 return NULL;
7560}
7561
7562
7563static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7564 PyObject *resultobj;
7565 wxString *arg1 = 0 ;
7566 bool temp1 = False ;
7567 PyObject * obj0 = 0 ;
7568 char *kwnames[] = {
7569 (char *) "msg", NULL
7570 };
7571
7572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
7573 {
7574 arg1 = wxString_in_helper(obj0);
7575 if (arg1 == NULL) SWIG_fail;
7576 temp1 = True;
7577 }
7578 {
7579 PyThreadState* __tstate = wxPyBeginAllowThreads();
7580 wxLogStatus((wxString const &)*arg1);
7581
7582 wxPyEndAllowThreads(__tstate);
7583 if (PyErr_Occurred()) SWIG_fail;
7584 }
7585 Py_INCREF(Py_None); resultobj = Py_None;
7586 {
7587 if (temp1)
7588 delete arg1;
7589 }
7590 return resultobj;
7591 fail:
7592 {
7593 if (temp1)
7594 delete arg1;
7595 }
7596 return NULL;
7597}
7598
7599
7600static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7601 PyObject *resultobj;
7602 wxFrame *arg1 = (wxFrame *) 0 ;
7603 wxString *arg2 = 0 ;
7604 bool temp2 = False ;
7605 PyObject * obj0 = 0 ;
7606 PyObject * obj1 = 0 ;
7607 char *kwnames[] = {
7608 (char *) "pFrame",(char *) "msg", NULL
7609 };
7610
7611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
7612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7613 {
7614 arg2 = wxString_in_helper(obj1);
7615 if (arg2 == NULL) SWIG_fail;
7616 temp2 = True;
7617 }
7618 {
7619 PyThreadState* __tstate = wxPyBeginAllowThreads();
7620 wxLogStatus(arg1,(wxString const &)*arg2);
7621
7622 wxPyEndAllowThreads(__tstate);
7623 if (PyErr_Occurred()) SWIG_fail;
7624 }
7625 Py_INCREF(Py_None); resultobj = Py_None;
7626 {
7627 if (temp2)
7628 delete arg2;
7629 }
7630 return resultobj;
7631 fail:
7632 {
7633 if (temp2)
7634 delete arg2;
7635 }
7636 return NULL;
7637}
7638
7639
7640static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
7641 PyObject *resultobj;
7642 wxString *arg1 = 0 ;
7643 bool temp1 = False ;
7644 PyObject * obj0 = 0 ;
7645 char *kwnames[] = {
7646 (char *) "msg", NULL
7647 };
7648
7649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
7650 {
7651 arg1 = wxString_in_helper(obj0);
7652 if (arg1 == NULL) SWIG_fail;
7653 temp1 = True;
7654 }
7655 {
7656 PyThreadState* __tstate = wxPyBeginAllowThreads();
7657 wxLogSysError((wxString const &)*arg1);
7658
7659 wxPyEndAllowThreads(__tstate);
7660 if (PyErr_Occurred()) SWIG_fail;
7661 }
7662 Py_INCREF(Py_None); resultobj = Py_None;
7663 {
7664 if (temp1)
7665 delete arg1;
7666 }
7667 return resultobj;
7668 fail:
7669 {
7670 if (temp1)
7671 delete arg1;
7672 }
7673 return NULL;
7674}
7675
7676
7677static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
7678 PyObject *resultobj;
7679 unsigned long arg1 ;
7680 wxString *arg2 = 0 ;
7681 bool temp2 = False ;
7682 PyObject * obj0 = 0 ;
7683 PyObject * obj1 = 0 ;
7684
7685 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
7686 arg1 = (unsigned long) PyInt_AsLong(obj0);
7687 if (PyErr_Occurred()) SWIG_fail;
7688 {
7689 arg2 = wxString_in_helper(obj1);
7690 if (arg2 == NULL) SWIG_fail;
7691 temp2 = True;
7692 }
7693 {
7694 PyThreadState* __tstate = wxPyBeginAllowThreads();
7695 wxLogTrace(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 (temp2)
7703 delete arg2;
7704 }
7705 return resultobj;
7706 fail:
7707 {
7708 if (temp2)
7709 delete arg2;
7710 }
7711 return NULL;
7712}
7713
7714
7715static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
7716 PyObject *resultobj;
7717 wxString *arg1 = 0 ;
7718 wxString *arg2 = 0 ;
7719 bool temp1 = False ;
7720 bool temp2 = False ;
7721 PyObject * obj0 = 0 ;
7722 PyObject * obj1 = 0 ;
7723
7724 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
7725 {
7726 arg1 = wxString_in_helper(obj0);
7727 if (arg1 == NULL) SWIG_fail;
7728 temp1 = True;
7729 }
7730 {
7731 arg2 = wxString_in_helper(obj1);
7732 if (arg2 == NULL) SWIG_fail;
7733 temp2 = True;
7734 }
7735 {
7736 PyThreadState* __tstate = wxPyBeginAllowThreads();
7737 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
7738
7739 wxPyEndAllowThreads(__tstate);
7740 if (PyErr_Occurred()) SWIG_fail;
7741 }
7742 Py_INCREF(Py_None); resultobj = Py_None;
7743 {
7744 if (temp1)
7745 delete arg1;
7746 }
7747 {
7748 if (temp2)
7749 delete arg2;
7750 }
7751 return resultobj;
7752 fail:
7753 {
7754 if (temp1)
7755 delete arg1;
7756 }
7757 {
7758 if (temp2)
7759 delete arg2;
7760 }
7761 return NULL;
7762}
7763
7764
7765static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
7766 int argc;
7767 PyObject *argv[3];
7768 int ii;
7769
7770 argc = PyObject_Length(args);
7771 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
7772 argv[ii] = PyTuple_GetItem(args,ii);
7773 }
7774 if (argc == 2) {
7775 int _v;
7776 {
7777 void *ptr;
7778 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
7779 _v = 0;
7780 PyErr_Clear();
7781 } else {
7782 _v = 1;
7783 }
7784 }
7785 if (_v) {
7786 {
7787 void *ptr;
7788 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
7789 _v = 0;
7790 PyErr_Clear();
7791 } else {
7792 _v = 1;
7793 }
7794 }
7795 if (_v) {
7796 return _wrap_LogTrace__SWIG_1(self,args);
7797 }
7798 }
7799 }
7800 if (argc == 2) {
7801 int _v;
7802 {
7803 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
7804 }
7805 if (_v) {
7806 {
7807 void *ptr;
7808 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
7809 _v = 0;
7810 PyErr_Clear();
7811 } else {
7812 _v = 1;
7813 }
7814 }
7815 if (_v) {
7816 return _wrap_LogTrace__SWIG_0(self,args);
7817 }
7818 }
7819 }
7820
7821 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
7822 return NULL;
7823}
7824
7825
7826static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
7827 PyObject *resultobj;
7828 unsigned long arg1 ;
7829 wxString *arg2 = 0 ;
7830 bool temp2 = False ;
7831 PyObject * obj0 = 0 ;
7832 PyObject * obj1 = 0 ;
7833 char *kwnames[] = {
7834 (char *) "level",(char *) "msg", NULL
7835 };
7836
7837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
7838 arg1 = (unsigned long) PyInt_AsLong(obj0);
7839 if (PyErr_Occurred()) SWIG_fail;
7840 {
7841 arg2 = wxString_in_helper(obj1);
7842 if (arg2 == NULL) SWIG_fail;
7843 temp2 = True;
7844 }
7845 {
7846 PyThreadState* __tstate = wxPyBeginAllowThreads();
7847 wxLogGeneric(arg1,(wxString const &)*arg2);
7848
7849 wxPyEndAllowThreads(__tstate);
7850 if (PyErr_Occurred()) SWIG_fail;
7851 }
7852 Py_INCREF(Py_None); resultobj = Py_None;
7853 {
7854 if (temp2)
7855 delete arg2;
7856 }
7857 return resultobj;
7858 fail:
7859 {
7860 if (temp2)
7861 delete arg2;
7862 }
7863 return NULL;
7864}
7865
7866
7867static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7868 PyObject *resultobj;
7869 wxString *arg1 = 0 ;
7870 wxString *arg2 = 0 ;
7871 bool temp1 = False ;
7872 bool temp2 = False ;
7873 PyObject * obj0 = 0 ;
7874 PyObject * obj1 = 0 ;
7875 char *kwnames[] = {
7876 (char *) "title",(char *) "text", NULL
7877 };
7878
7879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
7880 {
7881 arg1 = wxString_in_helper(obj0);
7882 if (arg1 == NULL) SWIG_fail;
7883 temp1 = True;
7884 }
7885 {
7886 arg2 = wxString_in_helper(obj1);
7887 if (arg2 == NULL) SWIG_fail;
7888 temp2 = True;
7889 }
7890 {
7891 PyThreadState* __tstate = wxPyBeginAllowThreads();
7892 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
7893
7894 wxPyEndAllowThreads(__tstate);
7895 if (PyErr_Occurred()) SWIG_fail;
7896 }
7897 Py_INCREF(Py_None); resultobj = Py_None;
7898 {
7899 if (temp1)
7900 delete arg1;
7901 }
7902 {
7903 if (temp2)
7904 delete arg2;
7905 }
7906 return resultobj;
7907 fail:
7908 {
7909 if (temp1)
7910 delete arg1;
7911 }
7912 {
7913 if (temp2)
7914 delete arg2;
7915 }
7916 return NULL;
7917}
7918
7919
7920static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7921 PyObject *resultobj;
7922 wxLogNull *result;
7923 char *kwnames[] = {
7924 NULL
7925 };
7926
7927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
7928 {
7929 PyThreadState* __tstate = wxPyBeginAllowThreads();
7930 result = (wxLogNull *)new wxLogNull();
7931
7932 wxPyEndAllowThreads(__tstate);
7933 if (PyErr_Occurred()) SWIG_fail;
7934 }
7935 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogNull, 1);
7936 return resultobj;
7937 fail:
7938 return NULL;
7939}
7940
7941
7942static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7943 PyObject *resultobj;
7944 wxLogNull *arg1 = (wxLogNull *) 0 ;
7945 PyObject * obj0 = 0 ;
7946 char *kwnames[] = {
7947 (char *) "self", NULL
7948 };
7949
7950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
7951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogNull,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7952 {
7953 PyThreadState* __tstate = wxPyBeginAllowThreads();
7954 delete arg1;
7955
7956 wxPyEndAllowThreads(__tstate);
7957 if (PyErr_Occurred()) SWIG_fail;
7958 }
7959 Py_INCREF(Py_None); resultobj = Py_None;
7960 return resultobj;
7961 fail:
7962 return NULL;
7963}
7964
7965
7966static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
7967 PyObject *obj;
7968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7969 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
7970 Py_INCREF(obj);
7971 return Py_BuildValue((char *)"");
7972}
7973static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7974 PyObject *resultobj;
7975 wxPyLog *result;
7976 char *kwnames[] = {
7977 NULL
7978 };
7979
7980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
7981 {
7982 PyThreadState* __tstate = wxPyBeginAllowThreads();
7983 result = (wxPyLog *)new wxPyLog();
7984
7985 wxPyEndAllowThreads(__tstate);
7986 if (PyErr_Occurred()) SWIG_fail;
7987 }
7988 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLog, 1);
7989 return resultobj;
7990 fail:
7991 return NULL;
7992}
7993
7994
7995static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7996 PyObject *resultobj;
7997 wxPyLog *arg1 = (wxPyLog *) 0 ;
7998 PyObject *arg2 = (PyObject *) 0 ;
7999 PyObject *arg3 = (PyObject *) 0 ;
8000 PyObject * obj0 = 0 ;
8001 PyObject * obj1 = 0 ;
8002 PyObject * obj2 = 0 ;
8003 char *kwnames[] = {
8004 (char *) "self",(char *) "self",(char *) "_class", NULL
8005 };
8006
8007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8009 arg2 = obj1;
8010 arg3 = obj2;
8011 {
8012 PyThreadState* __tstate = wxPyBeginAllowThreads();
8013 (arg1)->_setCallbackInfo(arg2,arg3);
8014
8015 wxPyEndAllowThreads(__tstate);
8016 if (PyErr_Occurred()) SWIG_fail;
8017 }
8018 Py_INCREF(Py_None); resultobj = Py_None;
8019 return resultobj;
8020 fail:
8021 return NULL;
8022}
8023
8024
8025static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
8026 PyObject *obj;
8027 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8028 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8029 Py_INCREF(obj);
8030 return Py_BuildValue((char *)"");
8031}
8032static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
8033 PyObject *resultobj;
8034 int arg1 ;
8035 int arg2 = (int) wxSIGTERM ;
8036 int result;
8037 char *kwnames[] = {
8038 (char *) "pid",(char *) "sig", NULL
8039 };
8040
8041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:Process_Kill",kwnames,&arg1,&arg2)) goto fail;
8042 {
8043 PyThreadState* __tstate = wxPyBeginAllowThreads();
8044 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
8045
8046 wxPyEndAllowThreads(__tstate);
8047 if (PyErr_Occurred()) SWIG_fail;
8048 }
8049 resultobj = PyInt_FromLong((long)result);
8050 return resultobj;
8051 fail:
8052 return NULL;
8053}
8054
8055
8056static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
8057 PyObject *resultobj;
8058 int arg1 ;
8059 bool result;
8060 char *kwnames[] = {
8061 (char *) "pid", NULL
8062 };
8063
8064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Process_Exists",kwnames,&arg1)) goto fail;
8065 {
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 result = (bool)wxPyProcess::Exists(arg1);
8068
8069 wxPyEndAllowThreads(__tstate);
8070 if (PyErr_Occurred()) SWIG_fail;
8071 }
8072 resultobj = PyInt_FromLong((long)result);
8073 return resultobj;
8074 fail:
8075 return NULL;
8076}
8077
8078
8079static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
8080 PyObject *resultobj;
8081 wxString *arg1 = 0 ;
8082 int arg2 = (int) wxEXEC_ASYNC ;
8083 wxPyProcess *result;
8084 bool temp1 = False ;
8085 PyObject * obj0 = 0 ;
8086 char *kwnames[] = {
8087 (char *) "cmd",(char *) "flags", NULL
8088 };
8089
8090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Process_Open",kwnames,&obj0,&arg2)) goto fail;
8091 {
8092 arg1 = wxString_in_helper(obj0);
8093 if (arg1 == NULL) SWIG_fail;
8094 temp1 = True;
8095 }
8096 {
8097 PyThreadState* __tstate = wxPyBeginAllowThreads();
8098 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8099
8100 wxPyEndAllowThreads(__tstate);
8101 if (PyErr_Occurred()) SWIG_fail;
8102 }
8103 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 0);
8104 {
8105 if (temp1)
8106 delete arg1;
8107 }
8108 return resultobj;
8109 fail:
8110 {
8111 if (temp1)
8112 delete arg1;
8113 }
8114 return NULL;
8115}
8116
8117
8118static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
8119 PyObject *resultobj;
8120 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8121 int arg2 = (int) -1 ;
8122 wxPyProcess *result;
8123 PyObject * obj0 = 0 ;
8124 char *kwnames[] = {
8125 (char *) "parent",(char *) "id", NULL
8126 };
8127
8128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Process",kwnames,&obj0,&arg2)) goto fail;
8129 if (obj0) {
8130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8131 }
8132 {
8133 PyThreadState* __tstate = wxPyBeginAllowThreads();
8134 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8135
8136 wxPyEndAllowThreads(__tstate);
8137 if (PyErr_Occurred()) SWIG_fail;
8138 }
8139 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 1);
8140 return resultobj;
8141 fail:
8142 return NULL;
8143}
8144
8145
8146static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8147 PyObject *resultobj;
8148 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8149 PyObject *arg2 = (PyObject *) 0 ;
8150 PyObject *arg3 = (PyObject *) 0 ;
8151 PyObject * obj0 = 0 ;
8152 PyObject * obj1 = 0 ;
8153 PyObject * obj2 = 0 ;
8154 char *kwnames[] = {
8155 (char *) "self",(char *) "self",(char *) "_class", NULL
8156 };
8157
8158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8160 arg2 = obj1;
8161 arg3 = obj2;
8162 {
8163 PyThreadState* __tstate = wxPyBeginAllowThreads();
8164 (arg1)->_setCallbackInfo(arg2,arg3);
8165
8166 wxPyEndAllowThreads(__tstate);
8167 if (PyErr_Occurred()) SWIG_fail;
8168 }
8169 Py_INCREF(Py_None); resultobj = Py_None;
8170 return resultobj;
8171 fail:
8172 return NULL;
8173}
8174
8175
8176static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8177 PyObject *resultobj;
8178 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8179 int arg2 ;
8180 int arg3 ;
8181 PyObject * obj0 = 0 ;
8182 char *kwnames[] = {
8183 (char *) "self",(char *) "pid",(char *) "status", NULL
8184 };
8185
8186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Process_base_OnTerminate",kwnames,&obj0,&arg2,&arg3)) goto fail;
8187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8188 {
8189 PyThreadState* __tstate = wxPyBeginAllowThreads();
8190 (arg1)->base_OnTerminate(arg2,arg3);
8191
8192 wxPyEndAllowThreads(__tstate);
8193 if (PyErr_Occurred()) SWIG_fail;
8194 }
8195 Py_INCREF(Py_None); resultobj = Py_None;
8196 return resultobj;
8197 fail:
8198 return NULL;
8199}
8200
8201
8202static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8203 PyObject *resultobj;
8204 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8205 PyObject * obj0 = 0 ;
8206 char *kwnames[] = {
8207 (char *) "self", NULL
8208 };
8209
8210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8212 {
8213 PyThreadState* __tstate = wxPyBeginAllowThreads();
8214 (arg1)->Redirect();
8215
8216 wxPyEndAllowThreads(__tstate);
8217 if (PyErr_Occurred()) SWIG_fail;
8218 }
8219 Py_INCREF(Py_None); resultobj = Py_None;
8220 return resultobj;
8221 fail:
8222 return NULL;
8223}
8224
8225
8226static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8227 PyObject *resultobj;
8228 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8229 bool result;
8230 PyObject * obj0 = 0 ;
8231 char *kwnames[] = {
8232 (char *) "self", NULL
8233 };
8234
8235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8237 {
8238 PyThreadState* __tstate = wxPyBeginAllowThreads();
8239 result = (bool)(arg1)->IsRedirected();
8240
8241 wxPyEndAllowThreads(__tstate);
8242 if (PyErr_Occurred()) SWIG_fail;
8243 }
8244 resultobj = PyInt_FromLong((long)result);
8245 return resultobj;
8246 fail:
8247 return NULL;
8248}
8249
8250
8251static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8252 PyObject *resultobj;
8253 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8254 PyObject * obj0 = 0 ;
8255 char *kwnames[] = {
8256 (char *) "self", NULL
8257 };
8258
8259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8261 {
8262 PyThreadState* __tstate = wxPyBeginAllowThreads();
8263 (arg1)->Detach();
8264
8265 wxPyEndAllowThreads(__tstate);
8266 if (PyErr_Occurred()) SWIG_fail;
8267 }
8268 Py_INCREF(Py_None); resultobj = Py_None;
8269 return resultobj;
8270 fail:
8271 return NULL;
8272}
8273
8274
8275static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8276 PyObject *resultobj;
8277 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8278 wxInputStream *result;
8279 PyObject * obj0 = 0 ;
8280 char *kwnames[] = {
8281 (char *) "self", NULL
8282 };
8283
8284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
8285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8286 {
8287 PyThreadState* __tstate = wxPyBeginAllowThreads();
8288 result = (wxInputStream *)(arg1)->GetInputStream();
8289
8290 wxPyEndAllowThreads(__tstate);
8291 if (PyErr_Occurred()) SWIG_fail;
8292 }
8293 {
8294 wxPyInputStream * _ptr = NULL;
8295
8296 if (result) {
8297 _ptr = new wxPyInputStream(result);
8298 }
8299 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8300 }
8301 return resultobj;
8302 fail:
8303 return NULL;
8304}
8305
8306
8307static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8308 PyObject *resultobj;
8309 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8310 wxInputStream *result;
8311 PyObject * obj0 = 0 ;
8312 char *kwnames[] = {
8313 (char *) "self", NULL
8314 };
8315
8316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
8317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8318 {
8319 PyThreadState* __tstate = wxPyBeginAllowThreads();
8320 result = (wxInputStream *)(arg1)->GetErrorStream();
8321
8322 wxPyEndAllowThreads(__tstate);
8323 if (PyErr_Occurred()) SWIG_fail;
8324 }
8325 {
8326 wxPyInputStream * _ptr = NULL;
8327
8328 if (result) {
8329 _ptr = new wxPyInputStream(result);
8330 }
8331 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8332 }
8333 return resultobj;
8334 fail:
8335 return NULL;
8336}
8337
8338
8339static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8340 PyObject *resultobj;
8341 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8342 wxOutputStream *result;
8343 PyObject * obj0 = 0 ;
8344 char *kwnames[] = {
8345 (char *) "self", NULL
8346 };
8347
8348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
8349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8350 {
8351 PyThreadState* __tstate = wxPyBeginAllowThreads();
8352 result = (wxOutputStream *)(arg1)->GetOutputStream();
8353
8354 wxPyEndAllowThreads(__tstate);
8355 if (PyErr_Occurred()) SWIG_fail;
8356 }
8357 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxOutputStream, 0);
8358 return resultobj;
8359 fail:
8360 return NULL;
8361}
8362
8363
8364static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
8365 PyObject *resultobj;
8366 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8367 PyObject * obj0 = 0 ;
8368 char *kwnames[] = {
8369 (char *) "self", NULL
8370 };
8371
8372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
8373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8374 {
8375 PyThreadState* __tstate = wxPyBeginAllowThreads();
8376 (arg1)->CloseOutput();
8377
8378 wxPyEndAllowThreads(__tstate);
8379 if (PyErr_Occurred()) SWIG_fail;
8380 }
8381 Py_INCREF(Py_None); resultobj = Py_None;
8382 return resultobj;
8383 fail:
8384 return NULL;
8385}
8386
8387
8388static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
8389 PyObject *resultobj;
8390 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8391 bool result;
8392 PyObject * obj0 = 0 ;
8393 char *kwnames[] = {
8394 (char *) "self", NULL
8395 };
8396
8397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
8398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8399 {
8400 PyThreadState* __tstate = wxPyBeginAllowThreads();
8401 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
8402
8403 wxPyEndAllowThreads(__tstate);
8404 if (PyErr_Occurred()) SWIG_fail;
8405 }
8406 resultobj = PyInt_FromLong((long)result);
8407 return resultobj;
8408 fail:
8409 return NULL;
8410}
8411
8412
8413static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8414 PyObject *resultobj;
8415 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8416 bool result;
8417 PyObject * obj0 = 0 ;
8418 char *kwnames[] = {
8419 (char *) "self", NULL
8420 };
8421
8422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
8423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8424 {
8425 PyThreadState* __tstate = wxPyBeginAllowThreads();
8426 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
8427
8428 wxPyEndAllowThreads(__tstate);
8429 if (PyErr_Occurred()) SWIG_fail;
8430 }
8431 resultobj = PyInt_FromLong((long)result);
8432 return resultobj;
8433 fail:
8434 return NULL;
8435}
8436
8437
8438static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8439 PyObject *resultobj;
8440 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8441 bool result;
8442 PyObject * obj0 = 0 ;
8443 char *kwnames[] = {
8444 (char *) "self", NULL
8445 };
8446
8447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
8448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8449 {
8450 PyThreadState* __tstate = wxPyBeginAllowThreads();
8451 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
8452
8453 wxPyEndAllowThreads(__tstate);
8454 if (PyErr_Occurred()) SWIG_fail;
8455 }
8456 resultobj = PyInt_FromLong((long)result);
8457 return resultobj;
8458 fail:
8459 return NULL;
8460}
8461
8462
8463static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
8464 PyObject *obj;
8465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8466 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
8467 Py_INCREF(obj);
8468 return Py_BuildValue((char *)"");
8469}
8470static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8471 PyObject *resultobj;
8472 int arg1 = (int) 0 ;
8473 int arg2 = (int) 0 ;
8474 int arg3 = (int) 0 ;
8475 wxProcessEvent *result;
8476 char *kwnames[] = {
8477 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8478 };
8479
8480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iii:new_ProcessEvent",kwnames,&arg1,&arg2,&arg3)) goto fail;
8481 {
8482 PyThreadState* __tstate = wxPyBeginAllowThreads();
8483 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
8484
8485 wxPyEndAllowThreads(__tstate);
8486 if (PyErr_Occurred()) SWIG_fail;
8487 }
8488 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProcessEvent, 1);
8489 return resultobj;
8490 fail:
8491 return NULL;
8492}
8493
8494
8495static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
8496 PyObject *resultobj;
8497 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8498 int result;
8499 PyObject * obj0 = 0 ;
8500 char *kwnames[] = {
8501 (char *) "self", NULL
8502 };
8503
8504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
8505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8506 {
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
8508 result = (int)(arg1)->GetPid();
8509
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
8513 resultobj = PyInt_FromLong((long)result);
8514 return resultobj;
8515 fail:
8516 return NULL;
8517}
8518
8519
8520static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8521 PyObject *resultobj;
8522 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8523 int result;
8524 PyObject * obj0 = 0 ;
8525 char *kwnames[] = {
8526 (char *) "self", NULL
8527 };
8528
8529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
8530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8531 {
8532 PyThreadState* __tstate = wxPyBeginAllowThreads();
8533 result = (int)(arg1)->GetExitCode();
8534
8535 wxPyEndAllowThreads(__tstate);
8536 if (PyErr_Occurred()) SWIG_fail;
8537 }
8538 resultobj = PyInt_FromLong((long)result);
8539 return resultobj;
8540 fail:
8541 return NULL;
8542}
8543
8544
8545static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8546 PyObject *resultobj;
8547 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8548 int arg2 ;
8549 PyObject * obj0 = 0 ;
8550 char *kwnames[] = {
8551 (char *) "self",(char *) "m_pid", NULL
8552 };
8553
8554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_pid_set",kwnames,&obj0,&arg2)) goto fail;
8555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8556 if (arg1) (arg1)->m_pid = arg2;
8557
8558 Py_INCREF(Py_None); resultobj = Py_None;
8559 return resultobj;
8560 fail:
8561 return NULL;
8562}
8563
8564
8565static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8566 PyObject *resultobj;
8567 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8568 int result;
8569 PyObject * obj0 = 0 ;
8570 char *kwnames[] = {
8571 (char *) "self", NULL
8572 };
8573
8574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
8575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8576 result = (int) ((arg1)->m_pid);
8577
8578 resultobj = PyInt_FromLong((long)result);
8579 return resultobj;
8580 fail:
8581 return NULL;
8582}
8583
8584
8585static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8586 PyObject *resultobj;
8587 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8588 int arg2 ;
8589 PyObject * obj0 = 0 ;
8590 char *kwnames[] = {
8591 (char *) "self",(char *) "m_exitcode", NULL
8592 };
8593
8594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames,&obj0,&arg2)) goto fail;
8595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8596 if (arg1) (arg1)->m_exitcode = arg2;
8597
8598 Py_INCREF(Py_None); resultobj = Py_None;
8599 return resultobj;
8600 fail:
8601 return NULL;
8602}
8603
8604
8605static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8606 PyObject *resultobj;
8607 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8608 int result;
8609 PyObject * obj0 = 0 ;
8610 char *kwnames[] = {
8611 (char *) "self", NULL
8612 };
8613
8614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
8615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8616 result = (int) ((arg1)->m_exitcode);
8617
8618 resultobj = PyInt_FromLong((long)result);
8619 return resultobj;
8620 fail:
8621 return NULL;
8622}
8623
8624
8625static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
8626 PyObject *obj;
8627 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8628 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
8629 Py_INCREF(obj);
8630 return Py_BuildValue((char *)"");
8631}
8632static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
8633 PyObject *resultobj;
8634 wxString *arg1 = 0 ;
8635 int arg2 = (int) wxEXEC_ASYNC ;
8636 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
8637 long result;
8638 bool temp1 = False ;
8639 PyObject * obj0 = 0 ;
8640 PyObject * obj2 = 0 ;
8641 char *kwnames[] = {
8642 (char *) "command",(char *) "flags",(char *) "process", NULL
8643 };
8644
8645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Execute",kwnames,&obj0,&arg2,&obj2)) goto fail;
8646 {
8647 arg1 = wxString_in_helper(obj0);
8648 if (arg1 == NULL) SWIG_fail;
8649 temp1 = True;
8650 }
8651 if (obj2) {
8652 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8653 }
8654 {
8655 PyThreadState* __tstate = wxPyBeginAllowThreads();
8656 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
8657
8658 wxPyEndAllowThreads(__tstate);
8659 if (PyErr_Occurred()) SWIG_fail;
8660 }
8661 resultobj = PyInt_FromLong((long)result);
8662 {
8663 if (temp1)
8664 delete arg1;
8665 }
8666 return resultobj;
8667 fail:
8668 {
8669 if (temp1)
8670 delete arg1;
8671 }
8672 return NULL;
8673}
8674
8675
8676static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8677 PyObject *resultobj;
8678 int arg1 = (int) wxJOYSTICK1 ;
8679 wxJoystick *result;
8680 char *kwnames[] = {
8681 (char *) "joystick", NULL
8682 };
8683
8684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_Joystick",kwnames,&arg1)) goto fail;
8685 {
8686 PyThreadState* __tstate = wxPyBeginAllowThreads();
8687 result = (wxJoystick *)new wxJoystick(arg1);
8688
8689 wxPyEndAllowThreads(__tstate);
8690 if (PyErr_Occurred()) SWIG_fail;
8691 }
8692 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystick, 1);
8693 return resultobj;
8694 fail:
8695 return NULL;
8696}
8697
8698
8699static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8700 PyObject *resultobj;
8701 wxJoystick *arg1 = (wxJoystick *) 0 ;
8702 PyObject * obj0 = 0 ;
8703 char *kwnames[] = {
8704 (char *) "self", NULL
8705 };
8706
8707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
8708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8709 {
8710 PyThreadState* __tstate = wxPyBeginAllowThreads();
8711 delete arg1;
8712
8713 wxPyEndAllowThreads(__tstate);
8714 if (PyErr_Occurred()) SWIG_fail;
8715 }
8716 Py_INCREF(Py_None); resultobj = Py_None;
8717 return resultobj;
8718 fail:
8719 return NULL;
8720}
8721
8722
8723static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8724 PyObject *resultobj;
8725 wxJoystick *arg1 = (wxJoystick *) 0 ;
8726 wxPoint result;
8727 PyObject * obj0 = 0 ;
8728 char *kwnames[] = {
8729 (char *) "self", NULL
8730 };
8731
8732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
8733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8734 {
8735 PyThreadState* __tstate = wxPyBeginAllowThreads();
8736 result = (arg1)->GetPosition();
8737
8738 wxPyEndAllowThreads(__tstate);
8739 if (PyErr_Occurred()) SWIG_fail;
8740 }
8741 {
8742 wxPoint * resultptr;
8743 resultptr = new wxPoint((wxPoint &) result);
8744 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8745 }
8746 return resultobj;
8747 fail:
8748 return NULL;
8749}
8750
8751
8752static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8753 PyObject *resultobj;
8754 wxJoystick *arg1 = (wxJoystick *) 0 ;
8755 int result;
8756 PyObject * obj0 = 0 ;
8757 char *kwnames[] = {
8758 (char *) "self", NULL
8759 };
8760
8761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
8762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8763 {
8764 PyThreadState* __tstate = wxPyBeginAllowThreads();
8765 result = (int)(arg1)->GetZPosition();
8766
8767 wxPyEndAllowThreads(__tstate);
8768 if (PyErr_Occurred()) SWIG_fail;
8769 }
8770 resultobj = PyInt_FromLong((long)result);
8771 return resultobj;
8772 fail:
8773 return NULL;
8774}
8775
8776
8777static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
8778 PyObject *resultobj;
8779 wxJoystick *arg1 = (wxJoystick *) 0 ;
8780 int result;
8781 PyObject * obj0 = 0 ;
8782 char *kwnames[] = {
8783 (char *) "self", NULL
8784 };
8785
8786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
8787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8788 {
8789 PyThreadState* __tstate = wxPyBeginAllowThreads();
8790 result = (int)(arg1)->GetButtonState();
8791
8792 wxPyEndAllowThreads(__tstate);
8793 if (PyErr_Occurred()) SWIG_fail;
8794 }
8795 resultobj = PyInt_FromLong((long)result);
8796 return resultobj;
8797 fail:
8798 return NULL;
8799}
8800
8801
8802static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8803 PyObject *resultobj;
8804 wxJoystick *arg1 = (wxJoystick *) 0 ;
8805 int result;
8806 PyObject * obj0 = 0 ;
8807 char *kwnames[] = {
8808 (char *) "self", NULL
8809 };
8810
8811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
8812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8813 {
8814 PyThreadState* __tstate = wxPyBeginAllowThreads();
8815 result = (int)(arg1)->GetPOVPosition();
8816
8817 wxPyEndAllowThreads(__tstate);
8818 if (PyErr_Occurred()) SWIG_fail;
8819 }
8820 resultobj = PyInt_FromLong((long)result);
8821 return resultobj;
8822 fail:
8823 return NULL;
8824}
8825
8826
8827static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8828 PyObject *resultobj;
8829 wxJoystick *arg1 = (wxJoystick *) 0 ;
8830 int result;
8831 PyObject * obj0 = 0 ;
8832 char *kwnames[] = {
8833 (char *) "self", NULL
8834 };
8835
8836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
8837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8838 {
8839 PyThreadState* __tstate = wxPyBeginAllowThreads();
8840 result = (int)(arg1)->GetPOVCTSPosition();
8841
8842 wxPyEndAllowThreads(__tstate);
8843 if (PyErr_Occurred()) SWIG_fail;
8844 }
8845 resultobj = PyInt_FromLong((long)result);
8846 return resultobj;
8847 fail:
8848 return NULL;
8849}
8850
8851
8852static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8853 PyObject *resultobj;
8854 wxJoystick *arg1 = (wxJoystick *) 0 ;
8855 int result;
8856 PyObject * obj0 = 0 ;
8857 char *kwnames[] = {
8858 (char *) "self", NULL
8859 };
8860
8861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
8862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8863 {
8864 PyThreadState* __tstate = wxPyBeginAllowThreads();
8865 result = (int)(arg1)->GetRudderPosition();
8866
8867 wxPyEndAllowThreads(__tstate);
8868 if (PyErr_Occurred()) SWIG_fail;
8869 }
8870 resultobj = PyInt_FromLong((long)result);
8871 return resultobj;
8872 fail:
8873 return NULL;
8874}
8875
8876
8877static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8878 PyObject *resultobj;
8879 wxJoystick *arg1 = (wxJoystick *) 0 ;
8880 int result;
8881 PyObject * obj0 = 0 ;
8882 char *kwnames[] = {
8883 (char *) "self", NULL
8884 };
8885
8886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
8887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8888 {
8889 PyThreadState* __tstate = wxPyBeginAllowThreads();
8890 result = (int)(arg1)->GetUPosition();
8891
8892 wxPyEndAllowThreads(__tstate);
8893 if (PyErr_Occurred()) SWIG_fail;
8894 }
8895 resultobj = PyInt_FromLong((long)result);
8896 return resultobj;
8897 fail:
8898 return NULL;
8899}
8900
8901
8902static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8903 PyObject *resultobj;
8904 wxJoystick *arg1 = (wxJoystick *) 0 ;
8905 int result;
8906 PyObject * obj0 = 0 ;
8907 char *kwnames[] = {
8908 (char *) "self", NULL
8909 };
8910
8911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
8912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8913 {
8914 PyThreadState* __tstate = wxPyBeginAllowThreads();
8915 result = (int)(arg1)->GetVPosition();
8916
8917 wxPyEndAllowThreads(__tstate);
8918 if (PyErr_Occurred()) SWIG_fail;
8919 }
8920 resultobj = PyInt_FromLong((long)result);
8921 return resultobj;
8922 fail:
8923 return NULL;
8924}
8925
8926
8927static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8928 PyObject *resultobj;
8929 wxJoystick *arg1 = (wxJoystick *) 0 ;
8930 int result;
8931 PyObject * obj0 = 0 ;
8932 char *kwnames[] = {
8933 (char *) "self", NULL
8934 };
8935
8936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
8937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8938 {
8939 PyThreadState* __tstate = wxPyBeginAllowThreads();
8940 result = (int)(arg1)->GetMovementThreshold();
8941
8942 wxPyEndAllowThreads(__tstate);
8943 if (PyErr_Occurred()) SWIG_fail;
8944 }
8945 resultobj = PyInt_FromLong((long)result);
8946 return resultobj;
8947 fail:
8948 return NULL;
8949}
8950
8951
8952static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8953 PyObject *resultobj;
8954 wxJoystick *arg1 = (wxJoystick *) 0 ;
8955 int arg2 ;
8956 PyObject * obj0 = 0 ;
8957 char *kwnames[] = {
8958 (char *) "self",(char *) "threshold", NULL
8959 };
8960
8961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Joystick_SetMovementThreshold",kwnames,&obj0,&arg2)) goto fail;
8962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8963 {
8964 PyThreadState* __tstate = wxPyBeginAllowThreads();
8965 (arg1)->SetMovementThreshold(arg2);
8966
8967 wxPyEndAllowThreads(__tstate);
8968 if (PyErr_Occurred()) SWIG_fail;
8969 }
8970 Py_INCREF(Py_None); resultobj = Py_None;
8971 return resultobj;
8972 fail:
8973 return NULL;
8974}
8975
8976
8977static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
8978 PyObject *resultobj;
8979 wxJoystick *arg1 = (wxJoystick *) 0 ;
8980 bool result;
8981 PyObject * obj0 = 0 ;
8982 char *kwnames[] = {
8983 (char *) "self", NULL
8984 };
8985
8986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
8987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8988 {
8989 PyThreadState* __tstate = wxPyBeginAllowThreads();
8990 result = (bool)(arg1)->IsOk();
8991
8992 wxPyEndAllowThreads(__tstate);
8993 if (PyErr_Occurred()) SWIG_fail;
8994 }
8995 resultobj = PyInt_FromLong((long)result);
8996 return resultobj;
8997 fail:
8998 return NULL;
8999}
9000
9001
9002static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
9003 PyObject *resultobj;
9004 wxJoystick *arg1 = (wxJoystick *) 0 ;
9005 int result;
9006 PyObject * obj0 = 0 ;
9007 char *kwnames[] = {
9008 (char *) "self", NULL
9009 };
9010
9011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
9012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9013 {
9014 PyThreadState* __tstate = wxPyBeginAllowThreads();
9015 result = (int)(arg1)->GetNumberJoysticks();
9016
9017 wxPyEndAllowThreads(__tstate);
9018 if (PyErr_Occurred()) SWIG_fail;
9019 }
9020 resultobj = PyInt_FromLong((long)result);
9021 return resultobj;
9022 fail:
9023 return NULL;
9024}
9025
9026
9027static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
9028 PyObject *resultobj;
9029 wxJoystick *arg1 = (wxJoystick *) 0 ;
9030 int result;
9031 PyObject * obj0 = 0 ;
9032 char *kwnames[] = {
9033 (char *) "self", NULL
9034 };
9035
9036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
9037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9038 {
9039 PyThreadState* __tstate = wxPyBeginAllowThreads();
9040 result = (int)(arg1)->GetManufacturerId();
9041
9042 wxPyEndAllowThreads(__tstate);
9043 if (PyErr_Occurred()) SWIG_fail;
9044 }
9045 resultobj = PyInt_FromLong((long)result);
9046 return resultobj;
9047 fail:
9048 return NULL;
9049}
9050
9051
9052static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
9053 PyObject *resultobj;
9054 wxJoystick *arg1 = (wxJoystick *) 0 ;
9055 int result;
9056 PyObject * obj0 = 0 ;
9057 char *kwnames[] = {
9058 (char *) "self", NULL
9059 };
9060
9061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
9062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9063 {
9064 PyThreadState* __tstate = wxPyBeginAllowThreads();
9065 result = (int)(arg1)->GetProductId();
9066
9067 wxPyEndAllowThreads(__tstate);
9068 if (PyErr_Occurred()) SWIG_fail;
9069 }
9070 resultobj = PyInt_FromLong((long)result);
9071 return resultobj;
9072 fail:
9073 return NULL;
9074}
9075
9076
9077static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
9078 PyObject *resultobj;
9079 wxJoystick *arg1 = (wxJoystick *) 0 ;
9080 wxString result;
9081 PyObject * obj0 = 0 ;
9082 char *kwnames[] = {
9083 (char *) "self", NULL
9084 };
9085
9086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
9087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9088 {
9089 PyThreadState* __tstate = wxPyBeginAllowThreads();
9090 result = (arg1)->GetProductName();
9091
9092 wxPyEndAllowThreads(__tstate);
9093 if (PyErr_Occurred()) SWIG_fail;
9094 }
9095 {
9096#if wxUSE_UNICODE
9097 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9098#else
9099 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9100#endif
9101 }
9102 return resultobj;
9103 fail:
9104 return NULL;
9105}
9106
9107
9108static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9109 PyObject *resultobj;
9110 wxJoystick *arg1 = (wxJoystick *) 0 ;
9111 int result;
9112 PyObject * obj0 = 0 ;
9113 char *kwnames[] = {
9114 (char *) "self", NULL
9115 };
9116
9117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
9118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9119 {
9120 PyThreadState* __tstate = wxPyBeginAllowThreads();
9121 result = (int)(arg1)->GetXMin();
9122
9123 wxPyEndAllowThreads(__tstate);
9124 if (PyErr_Occurred()) SWIG_fail;
9125 }
9126 resultobj = PyInt_FromLong((long)result);
9127 return resultobj;
9128 fail:
9129 return NULL;
9130}
9131
9132
9133static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9134 PyObject *resultobj;
9135 wxJoystick *arg1 = (wxJoystick *) 0 ;
9136 int result;
9137 PyObject * obj0 = 0 ;
9138 char *kwnames[] = {
9139 (char *) "self", NULL
9140 };
9141
9142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
9143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9144 {
9145 PyThreadState* __tstate = wxPyBeginAllowThreads();
9146 result = (int)(arg1)->GetYMin();
9147
9148 wxPyEndAllowThreads(__tstate);
9149 if (PyErr_Occurred()) SWIG_fail;
9150 }
9151 resultobj = PyInt_FromLong((long)result);
9152 return resultobj;
9153 fail:
9154 return NULL;
9155}
9156
9157
9158static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9159 PyObject *resultobj;
9160 wxJoystick *arg1 = (wxJoystick *) 0 ;
9161 int result;
9162 PyObject * obj0 = 0 ;
9163 char *kwnames[] = {
9164 (char *) "self", NULL
9165 };
9166
9167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9169 {
9170 PyThreadState* __tstate = wxPyBeginAllowThreads();
9171 result = (int)(arg1)->GetZMin();
9172
9173 wxPyEndAllowThreads(__tstate);
9174 if (PyErr_Occurred()) SWIG_fail;
9175 }
9176 resultobj = PyInt_FromLong((long)result);
9177 return resultobj;
9178 fail:
9179 return NULL;
9180}
9181
9182
9183static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9184 PyObject *resultobj;
9185 wxJoystick *arg1 = (wxJoystick *) 0 ;
9186 int result;
9187 PyObject * obj0 = 0 ;
9188 char *kwnames[] = {
9189 (char *) "self", NULL
9190 };
9191
9192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9194 {
9195 PyThreadState* __tstate = wxPyBeginAllowThreads();
9196 result = (int)(arg1)->GetXMax();
9197
9198 wxPyEndAllowThreads(__tstate);
9199 if (PyErr_Occurred()) SWIG_fail;
9200 }
9201 resultobj = PyInt_FromLong((long)result);
9202 return resultobj;
9203 fail:
9204 return NULL;
9205}
9206
9207
9208static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9209 PyObject *resultobj;
9210 wxJoystick *arg1 = (wxJoystick *) 0 ;
9211 int result;
9212 PyObject * obj0 = 0 ;
9213 char *kwnames[] = {
9214 (char *) "self", NULL
9215 };
9216
9217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
9218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9219 {
9220 PyThreadState* __tstate = wxPyBeginAllowThreads();
9221 result = (int)(arg1)->GetYMax();
9222
9223 wxPyEndAllowThreads(__tstate);
9224 if (PyErr_Occurred()) SWIG_fail;
9225 }
9226 resultobj = PyInt_FromLong((long)result);
9227 return resultobj;
9228 fail:
9229 return NULL;
9230}
9231
9232
9233static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9234 PyObject *resultobj;
9235 wxJoystick *arg1 = (wxJoystick *) 0 ;
9236 int result;
9237 PyObject * obj0 = 0 ;
9238 char *kwnames[] = {
9239 (char *) "self", NULL
9240 };
9241
9242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
9243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9244 {
9245 PyThreadState* __tstate = wxPyBeginAllowThreads();
9246 result = (int)(arg1)->GetZMax();
9247
9248 wxPyEndAllowThreads(__tstate);
9249 if (PyErr_Occurred()) SWIG_fail;
9250 }
9251 resultobj = PyInt_FromLong((long)result);
9252 return resultobj;
9253 fail:
9254 return NULL;
9255}
9256
9257
9258static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9259 PyObject *resultobj;
9260 wxJoystick *arg1 = (wxJoystick *) 0 ;
9261 int result;
9262 PyObject * obj0 = 0 ;
9263 char *kwnames[] = {
9264 (char *) "self", NULL
9265 };
9266
9267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
9268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9269 {
9270 PyThreadState* __tstate = wxPyBeginAllowThreads();
9271 result = (int)(arg1)->GetNumberButtons();
9272
9273 wxPyEndAllowThreads(__tstate);
9274 if (PyErr_Occurred()) SWIG_fail;
9275 }
9276 resultobj = PyInt_FromLong((long)result);
9277 return resultobj;
9278 fail:
9279 return NULL;
9280}
9281
9282
9283static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9284 PyObject *resultobj;
9285 wxJoystick *arg1 = (wxJoystick *) 0 ;
9286 int result;
9287 PyObject * obj0 = 0 ;
9288 char *kwnames[] = {
9289 (char *) "self", NULL
9290 };
9291
9292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
9293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9294 {
9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
9296 result = (int)(arg1)->GetNumberAxes();
9297
9298 wxPyEndAllowThreads(__tstate);
9299 if (PyErr_Occurred()) SWIG_fail;
9300 }
9301 resultobj = PyInt_FromLong((long)result);
9302 return resultobj;
9303 fail:
9304 return NULL;
9305}
9306
9307
9308static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9309 PyObject *resultobj;
9310 wxJoystick *arg1 = (wxJoystick *) 0 ;
9311 int result;
9312 PyObject * obj0 = 0 ;
9313 char *kwnames[] = {
9314 (char *) "self", NULL
9315 };
9316
9317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
9318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9319 {
9320 PyThreadState* __tstate = wxPyBeginAllowThreads();
9321 result = (int)(arg1)->GetMaxButtons();
9322
9323 wxPyEndAllowThreads(__tstate);
9324 if (PyErr_Occurred()) SWIG_fail;
9325 }
9326 resultobj = PyInt_FromLong((long)result);
9327 return resultobj;
9328 fail:
9329 return NULL;
9330}
9331
9332
9333static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9334 PyObject *resultobj;
9335 wxJoystick *arg1 = (wxJoystick *) 0 ;
9336 int result;
9337 PyObject * obj0 = 0 ;
9338 char *kwnames[] = {
9339 (char *) "self", NULL
9340 };
9341
9342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
9343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9344 {
9345 PyThreadState* __tstate = wxPyBeginAllowThreads();
9346 result = (int)(arg1)->GetMaxAxes();
9347
9348 wxPyEndAllowThreads(__tstate);
9349 if (PyErr_Occurred()) SWIG_fail;
9350 }
9351 resultobj = PyInt_FromLong((long)result);
9352 return resultobj;
9353 fail:
9354 return NULL;
9355}
9356
9357
9358static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9359 PyObject *resultobj;
9360 wxJoystick *arg1 = (wxJoystick *) 0 ;
9361 int result;
9362 PyObject * obj0 = 0 ;
9363 char *kwnames[] = {
9364 (char *) "self", NULL
9365 };
9366
9367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
9368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9369 {
9370 PyThreadState* __tstate = wxPyBeginAllowThreads();
9371 result = (int)(arg1)->GetPollingMin();
9372
9373 wxPyEndAllowThreads(__tstate);
9374 if (PyErr_Occurred()) SWIG_fail;
9375 }
9376 resultobj = PyInt_FromLong((long)result);
9377 return resultobj;
9378 fail:
9379 return NULL;
9380}
9381
9382
9383static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9384 PyObject *resultobj;
9385 wxJoystick *arg1 = (wxJoystick *) 0 ;
9386 int result;
9387 PyObject * obj0 = 0 ;
9388 char *kwnames[] = {
9389 (char *) "self", NULL
9390 };
9391
9392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
9393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9394 {
9395 PyThreadState* __tstate = wxPyBeginAllowThreads();
9396 result = (int)(arg1)->GetPollingMax();
9397
9398 wxPyEndAllowThreads(__tstate);
9399 if (PyErr_Occurred()) SWIG_fail;
9400 }
9401 resultobj = PyInt_FromLong((long)result);
9402 return resultobj;
9403 fail:
9404 return NULL;
9405}
9406
9407
9408static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9409 PyObject *resultobj;
9410 wxJoystick *arg1 = (wxJoystick *) 0 ;
9411 int result;
9412 PyObject * obj0 = 0 ;
9413 char *kwnames[] = {
9414 (char *) "self", NULL
9415 };
9416
9417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
9418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9419 {
9420 PyThreadState* __tstate = wxPyBeginAllowThreads();
9421 result = (int)(arg1)->GetRudderMin();
9422
9423 wxPyEndAllowThreads(__tstate);
9424 if (PyErr_Occurred()) SWIG_fail;
9425 }
9426 resultobj = PyInt_FromLong((long)result);
9427 return resultobj;
9428 fail:
9429 return NULL;
9430}
9431
9432
9433static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9434 PyObject *resultobj;
9435 wxJoystick *arg1 = (wxJoystick *) 0 ;
9436 int result;
9437 PyObject * obj0 = 0 ;
9438 char *kwnames[] = {
9439 (char *) "self", NULL
9440 };
9441
9442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
9443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9444 {
9445 PyThreadState* __tstate = wxPyBeginAllowThreads();
9446 result = (int)(arg1)->GetRudderMax();
9447
9448 wxPyEndAllowThreads(__tstate);
9449 if (PyErr_Occurred()) SWIG_fail;
9450 }
9451 resultobj = PyInt_FromLong((long)result);
9452 return resultobj;
9453 fail:
9454 return NULL;
9455}
9456
9457
9458static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9459 PyObject *resultobj;
9460 wxJoystick *arg1 = (wxJoystick *) 0 ;
9461 int result;
9462 PyObject * obj0 = 0 ;
9463 char *kwnames[] = {
9464 (char *) "self", NULL
9465 };
9466
9467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
9468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9469 {
9470 PyThreadState* __tstate = wxPyBeginAllowThreads();
9471 result = (int)(arg1)->GetUMin();
9472
9473 wxPyEndAllowThreads(__tstate);
9474 if (PyErr_Occurred()) SWIG_fail;
9475 }
9476 resultobj = PyInt_FromLong((long)result);
9477 return resultobj;
9478 fail:
9479 return NULL;
9480}
9481
9482
9483static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9484 PyObject *resultobj;
9485 wxJoystick *arg1 = (wxJoystick *) 0 ;
9486 int result;
9487 PyObject * obj0 = 0 ;
9488 char *kwnames[] = {
9489 (char *) "self", NULL
9490 };
9491
9492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
9493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9494 {
9495 PyThreadState* __tstate = wxPyBeginAllowThreads();
9496 result = (int)(arg1)->GetUMax();
9497
9498 wxPyEndAllowThreads(__tstate);
9499 if (PyErr_Occurred()) SWIG_fail;
9500 }
9501 resultobj = PyInt_FromLong((long)result);
9502 return resultobj;
9503 fail:
9504 return NULL;
9505}
9506
9507
9508static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9509 PyObject *resultobj;
9510 wxJoystick *arg1 = (wxJoystick *) 0 ;
9511 int result;
9512 PyObject * obj0 = 0 ;
9513 char *kwnames[] = {
9514 (char *) "self", NULL
9515 };
9516
9517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
9518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9519 {
9520 PyThreadState* __tstate = wxPyBeginAllowThreads();
9521 result = (int)(arg1)->GetVMin();
9522
9523 wxPyEndAllowThreads(__tstate);
9524 if (PyErr_Occurred()) SWIG_fail;
9525 }
9526 resultobj = PyInt_FromLong((long)result);
9527 return resultobj;
9528 fail:
9529 return NULL;
9530}
9531
9532
9533static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9534 PyObject *resultobj;
9535 wxJoystick *arg1 = (wxJoystick *) 0 ;
9536 int result;
9537 PyObject * obj0 = 0 ;
9538 char *kwnames[] = {
9539 (char *) "self", NULL
9540 };
9541
9542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
9543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9544 {
9545 PyThreadState* __tstate = wxPyBeginAllowThreads();
9546 result = (int)(arg1)->GetVMax();
9547
9548 wxPyEndAllowThreads(__tstate);
9549 if (PyErr_Occurred()) SWIG_fail;
9550 }
9551 resultobj = PyInt_FromLong((long)result);
9552 return resultobj;
9553 fail:
9554 return NULL;
9555}
9556
9557
9558static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
9559 PyObject *resultobj;
9560 wxJoystick *arg1 = (wxJoystick *) 0 ;
9561 bool result;
9562 PyObject * obj0 = 0 ;
9563 char *kwnames[] = {
9564 (char *) "self", NULL
9565 };
9566
9567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
9568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9569 {
9570 PyThreadState* __tstate = wxPyBeginAllowThreads();
9571 result = (bool)(arg1)->HasRudder();
9572
9573 wxPyEndAllowThreads(__tstate);
9574 if (PyErr_Occurred()) SWIG_fail;
9575 }
9576 resultobj = PyInt_FromLong((long)result);
9577 return resultobj;
9578 fail:
9579 return NULL;
9580}
9581
9582
9583static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
9584 PyObject *resultobj;
9585 wxJoystick *arg1 = (wxJoystick *) 0 ;
9586 bool result;
9587 PyObject * obj0 = 0 ;
9588 char *kwnames[] = {
9589 (char *) "self", NULL
9590 };
9591
9592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
9593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9594 {
9595 PyThreadState* __tstate = wxPyBeginAllowThreads();
9596 result = (bool)(arg1)->HasZ();
9597
9598 wxPyEndAllowThreads(__tstate);
9599 if (PyErr_Occurred()) SWIG_fail;
9600 }
9601 resultobj = PyInt_FromLong((long)result);
9602 return resultobj;
9603 fail:
9604 return NULL;
9605}
9606
9607
9608static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
9609 PyObject *resultobj;
9610 wxJoystick *arg1 = (wxJoystick *) 0 ;
9611 bool result;
9612 PyObject * obj0 = 0 ;
9613 char *kwnames[] = {
9614 (char *) "self", NULL
9615 };
9616
9617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
9618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9619 {
9620 PyThreadState* __tstate = wxPyBeginAllowThreads();
9621 result = (bool)(arg1)->HasU();
9622
9623 wxPyEndAllowThreads(__tstate);
9624 if (PyErr_Occurred()) SWIG_fail;
9625 }
9626 resultobj = PyInt_FromLong((long)result);
9627 return resultobj;
9628 fail:
9629 return NULL;
9630}
9631
9632
9633static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
9634 PyObject *resultobj;
9635 wxJoystick *arg1 = (wxJoystick *) 0 ;
9636 bool result;
9637 PyObject * obj0 = 0 ;
9638 char *kwnames[] = {
9639 (char *) "self", NULL
9640 };
9641
9642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
9643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9644 {
9645 PyThreadState* __tstate = wxPyBeginAllowThreads();
9646 result = (bool)(arg1)->HasV();
9647
9648 wxPyEndAllowThreads(__tstate);
9649 if (PyErr_Occurred()) SWIG_fail;
9650 }
9651 resultobj = PyInt_FromLong((long)result);
9652 return resultobj;
9653 fail:
9654 return NULL;
9655}
9656
9657
9658static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
9659 PyObject *resultobj;
9660 wxJoystick *arg1 = (wxJoystick *) 0 ;
9661 bool result;
9662 PyObject * obj0 = 0 ;
9663 char *kwnames[] = {
9664 (char *) "self", NULL
9665 };
9666
9667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
9668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9669 {
9670 PyThreadState* __tstate = wxPyBeginAllowThreads();
9671 result = (bool)(arg1)->HasPOV();
9672
9673 wxPyEndAllowThreads(__tstate);
9674 if (PyErr_Occurred()) SWIG_fail;
9675 }
9676 resultobj = PyInt_FromLong((long)result);
9677 return resultobj;
9678 fail:
9679 return NULL;
9680}
9681
9682
9683static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
9684 PyObject *resultobj;
9685 wxJoystick *arg1 = (wxJoystick *) 0 ;
9686 bool result;
9687 PyObject * obj0 = 0 ;
9688 char *kwnames[] = {
9689 (char *) "self", NULL
9690 };
9691
9692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
9693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9694 {
9695 PyThreadState* __tstate = wxPyBeginAllowThreads();
9696 result = (bool)(arg1)->HasPOV4Dir();
9697
9698 wxPyEndAllowThreads(__tstate);
9699 if (PyErr_Occurred()) SWIG_fail;
9700 }
9701 resultobj = PyInt_FromLong((long)result);
9702 return resultobj;
9703 fail:
9704 return NULL;
9705}
9706
9707
9708static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
9709 PyObject *resultobj;
9710 wxJoystick *arg1 = (wxJoystick *) 0 ;
9711 bool result;
9712 PyObject * obj0 = 0 ;
9713 char *kwnames[] = {
9714 (char *) "self", NULL
9715 };
9716
9717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
9718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9719 {
9720 PyThreadState* __tstate = wxPyBeginAllowThreads();
9721 result = (bool)(arg1)->HasPOVCTS();
9722
9723 wxPyEndAllowThreads(__tstate);
9724 if (PyErr_Occurred()) SWIG_fail;
9725 }
9726 resultobj = PyInt_FromLong((long)result);
9727 return resultobj;
9728 fail:
9729 return NULL;
9730}
9731
9732
9733static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9734 PyObject *resultobj;
9735 wxJoystick *arg1 = (wxJoystick *) 0 ;
9736 wxWindow *arg2 = (wxWindow *) 0 ;
9737 int arg3 = (int) 0 ;
9738 bool result;
9739 PyObject * obj0 = 0 ;
9740 PyObject * obj1 = 0 ;
9741 char *kwnames[] = {
9742 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9743 };
9744
9745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Joystick_SetCapture",kwnames,&obj0,&obj1,&arg3)) goto fail;
9746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9747 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9748 {
9749 PyThreadState* __tstate = wxPyBeginAllowThreads();
9750 result = (bool)(arg1)->SetCapture(arg2,arg3);
9751
9752 wxPyEndAllowThreads(__tstate);
9753 if (PyErr_Occurred()) SWIG_fail;
9754 }
9755 resultobj = PyInt_FromLong((long)result);
9756 return resultobj;
9757 fail:
9758 return NULL;
9759}
9760
9761
9762static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9763 PyObject *resultobj;
9764 wxJoystick *arg1 = (wxJoystick *) 0 ;
9765 bool result;
9766 PyObject * obj0 = 0 ;
9767 char *kwnames[] = {
9768 (char *) "self", NULL
9769 };
9770
9771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
9772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9773 {
9774 PyThreadState* __tstate = wxPyBeginAllowThreads();
9775 result = (bool)(arg1)->ReleaseCapture();
9776
9777 wxPyEndAllowThreads(__tstate);
9778 if (PyErr_Occurred()) SWIG_fail;
9779 }
9780 resultobj = PyInt_FromLong((long)result);
9781 return resultobj;
9782 fail:
9783 return NULL;
9784}
9785
9786
9787static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
9788 PyObject *obj;
9789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9790 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
9791 Py_INCREF(obj);
9792 return Py_BuildValue((char *)"");
9793}
9794static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9795 PyObject *resultobj;
9796 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9797 wxPoint *arg2 = (wxPoint *) 0 ;
9798 PyObject * obj0 = 0 ;
9799 PyObject * obj1 = 0 ;
9800 char *kwnames[] = {
9801 (char *) "self",(char *) "m_pos", NULL
9802 };
9803
9804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
9805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9806 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9807 if (arg1) (arg1)->m_pos = *arg2;
9808
9809 Py_INCREF(Py_None); resultobj = Py_None;
9810 return resultobj;
9811 fail:
9812 return NULL;
9813}
9814
9815
9816static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9817 PyObject *resultobj;
9818 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9819 wxPoint *result;
9820 PyObject * obj0 = 0 ;
9821 char *kwnames[] = {
9822 (char *) "self", NULL
9823 };
9824
9825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
9826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9827 result = (wxPoint *)& ((arg1)->m_pos);
9828
9829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
9830 return resultobj;
9831 fail:
9832 return NULL;
9833}
9834
9835
9836static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9837 PyObject *resultobj;
9838 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9839 int arg2 ;
9840 PyObject * obj0 = 0 ;
9841 char *kwnames[] = {
9842 (char *) "self",(char *) "m_zPosition", NULL
9843 };
9844
9845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames,&obj0,&arg2)) goto fail;
9846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9847 if (arg1) (arg1)->m_zPosition = arg2;
9848
9849 Py_INCREF(Py_None); resultobj = Py_None;
9850 return resultobj;
9851 fail:
9852 return NULL;
9853}
9854
9855
9856static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9857 PyObject *resultobj;
9858 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9859 int result;
9860 PyObject * obj0 = 0 ;
9861 char *kwnames[] = {
9862 (char *) "self", NULL
9863 };
9864
9865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
9866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9867 result = (int) ((arg1)->m_zPosition);
9868
9869 resultobj = PyInt_FromLong((long)result);
9870 return resultobj;
9871 fail:
9872 return NULL;
9873}
9874
9875
9876static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9877 PyObject *resultobj;
9878 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9879 int arg2 ;
9880 PyObject * obj0 = 0 ;
9881 char *kwnames[] = {
9882 (char *) "self",(char *) "m_buttonChange", NULL
9883 };
9884
9885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&arg2)) goto fail;
9886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9887 if (arg1) (arg1)->m_buttonChange = arg2;
9888
9889 Py_INCREF(Py_None); resultobj = Py_None;
9890 return resultobj;
9891 fail:
9892 return NULL;
9893}
9894
9895
9896static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9897 PyObject *resultobj;
9898 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9899 int result;
9900 PyObject * obj0 = 0 ;
9901 char *kwnames[] = {
9902 (char *) "self", NULL
9903 };
9904
9905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
9906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9907 result = (int) ((arg1)->m_buttonChange);
9908
9909 resultobj = PyInt_FromLong((long)result);
9910 return resultobj;
9911 fail:
9912 return NULL;
9913}
9914
9915
9916static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9917 PyObject *resultobj;
9918 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9919 int arg2 ;
9920 PyObject * obj0 = 0 ;
9921 char *kwnames[] = {
9922 (char *) "self",(char *) "m_buttonState", NULL
9923 };
9924
9925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames,&obj0,&arg2)) goto fail;
9926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9927 if (arg1) (arg1)->m_buttonState = arg2;
9928
9929 Py_INCREF(Py_None); resultobj = Py_None;
9930 return resultobj;
9931 fail:
9932 return NULL;
9933}
9934
9935
9936static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9937 PyObject *resultobj;
9938 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9939 int result;
9940 PyObject * obj0 = 0 ;
9941 char *kwnames[] = {
9942 (char *) "self", NULL
9943 };
9944
9945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
9946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9947 result = (int) ((arg1)->m_buttonState);
9948
9949 resultobj = PyInt_FromLong((long)result);
9950 return resultobj;
9951 fail:
9952 return NULL;
9953}
9954
9955
9956static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9957 PyObject *resultobj;
9958 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9959 int arg2 ;
9960 PyObject * obj0 = 0 ;
9961 char *kwnames[] = {
9962 (char *) "self",(char *) "m_joyStick", NULL
9963 };
9964
9965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames,&obj0,&arg2)) goto fail;
9966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9967 if (arg1) (arg1)->m_joyStick = arg2;
9968
9969 Py_INCREF(Py_None); resultobj = Py_None;
9970 return resultobj;
9971 fail:
9972 return NULL;
9973}
9974
9975
9976static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9977 PyObject *resultobj;
9978 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9979 int result;
9980 PyObject * obj0 = 0 ;
9981 char *kwnames[] = {
9982 (char *) "self", NULL
9983 };
9984
9985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
9986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9987 result = (int) ((arg1)->m_joyStick);
9988
9989 resultobj = PyInt_FromLong((long)result);
9990 return resultobj;
9991 fail:
9992 return NULL;
9993}
9994
9995
9996static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9997 PyObject *resultobj;
9998 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
9999 int arg2 = (int) 0 ;
10000 int arg3 = (int) wxJOYSTICK1 ;
10001 int arg4 = (int) 0 ;
10002 wxJoystickEvent *result;
10003 char *kwnames[] = {
10004 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10005 };
10006
10007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_JoystickEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
10008 {
10009 PyThreadState* __tstate = wxPyBeginAllowThreads();
10010 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
10011
10012 wxPyEndAllowThreads(__tstate);
10013 if (PyErr_Occurred()) SWIG_fail;
10014 }
10015 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystickEvent, 1);
10016 return resultobj;
10017 fail:
10018 return NULL;
10019}
10020
10021
10022static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10023 PyObject *resultobj;
10024 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10025 wxPoint result;
10026 PyObject * obj0 = 0 ;
10027 char *kwnames[] = {
10028 (char *) "self", NULL
10029 };
10030
10031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
10032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10033 {
10034 PyThreadState* __tstate = wxPyBeginAllowThreads();
10035 result = ((wxJoystickEvent const *)arg1)->GetPosition();
10036
10037 wxPyEndAllowThreads(__tstate);
10038 if (PyErr_Occurred()) SWIG_fail;
10039 }
10040 {
10041 wxPoint * resultptr;
10042 resultptr = new wxPoint((wxPoint &) result);
10043 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
10044 }
10045 return resultobj;
10046 fail:
10047 return NULL;
10048}
10049
10050
10051static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10052 PyObject *resultobj;
10053 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10054 int result;
10055 PyObject * obj0 = 0 ;
10056 char *kwnames[] = {
10057 (char *) "self", NULL
10058 };
10059
10060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
10061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10062 {
10063 PyThreadState* __tstate = wxPyBeginAllowThreads();
10064 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
10065
10066 wxPyEndAllowThreads(__tstate);
10067 if (PyErr_Occurred()) SWIG_fail;
10068 }
10069 resultobj = PyInt_FromLong((long)result);
10070 return resultobj;
10071 fail:
10072 return NULL;
10073}
10074
10075
10076static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10077 PyObject *resultobj;
10078 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10079 int result;
10080 PyObject * obj0 = 0 ;
10081 char *kwnames[] = {
10082 (char *) "self", NULL
10083 };
10084
10085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
10086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10087 {
10088 PyThreadState* __tstate = wxPyBeginAllowThreads();
10089 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
10090
10091 wxPyEndAllowThreads(__tstate);
10092 if (PyErr_Occurred()) SWIG_fail;
10093 }
10094 resultobj = PyInt_FromLong((long)result);
10095 return resultobj;
10096 fail:
10097 return NULL;
10098}
10099
10100
10101static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10102 PyObject *resultobj;
10103 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10104 int result;
10105 PyObject * obj0 = 0 ;
10106 char *kwnames[] = {
10107 (char *) "self", NULL
10108 };
10109
10110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
10111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10112 {
10113 PyThreadState* __tstate = wxPyBeginAllowThreads();
10114 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10115
10116 wxPyEndAllowThreads(__tstate);
10117 if (PyErr_Occurred()) SWIG_fail;
10118 }
10119 resultobj = PyInt_FromLong((long)result);
10120 return resultobj;
10121 fail:
10122 return NULL;
10123}
10124
10125
10126static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10127 PyObject *resultobj;
10128 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10129 int result;
10130 PyObject * obj0 = 0 ;
10131 char *kwnames[] = {
10132 (char *) "self", NULL
10133 };
10134
10135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
10136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10137 {
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
10140
10141 wxPyEndAllowThreads(__tstate);
10142 if (PyErr_Occurred()) SWIG_fail;
10143 }
10144 resultobj = PyInt_FromLong((long)result);
10145 return resultobj;
10146 fail:
10147 return NULL;
10148}
10149
10150
10151static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10152 PyObject *resultobj;
10153 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10154 int arg2 ;
10155 PyObject * obj0 = 0 ;
10156 char *kwnames[] = {
10157 (char *) "self",(char *) "stick", NULL
10158 };
10159
10160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetJoystick",kwnames,&obj0,&arg2)) goto fail;
10161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10162 {
10163 PyThreadState* __tstate = wxPyBeginAllowThreads();
10164 (arg1)->SetJoystick(arg2);
10165
10166 wxPyEndAllowThreads(__tstate);
10167 if (PyErr_Occurred()) SWIG_fail;
10168 }
10169 Py_INCREF(Py_None); resultobj = Py_None;
10170 return resultobj;
10171 fail:
10172 return NULL;
10173}
10174
10175
10176static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10177 PyObject *resultobj;
10178 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10179 int arg2 ;
10180 PyObject * obj0 = 0 ;
10181 char *kwnames[] = {
10182 (char *) "self",(char *) "state", NULL
10183 };
10184
10185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonState",kwnames,&obj0,&arg2)) goto fail;
10186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10187 {
10188 PyThreadState* __tstate = wxPyBeginAllowThreads();
10189 (arg1)->SetButtonState(arg2);
10190
10191 wxPyEndAllowThreads(__tstate);
10192 if (PyErr_Occurred()) SWIG_fail;
10193 }
10194 Py_INCREF(Py_None); resultobj = Py_None;
10195 return resultobj;
10196 fail:
10197 return NULL;
10198}
10199
10200
10201static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10202 PyObject *resultobj;
10203 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10204 int arg2 ;
10205 PyObject * obj0 = 0 ;
10206 char *kwnames[] = {
10207 (char *) "self",(char *) "change", NULL
10208 };
10209
10210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames,&obj0,&arg2)) goto fail;
10211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10212 {
10213 PyThreadState* __tstate = wxPyBeginAllowThreads();
10214 (arg1)->SetButtonChange(arg2);
10215
10216 wxPyEndAllowThreads(__tstate);
10217 if (PyErr_Occurred()) SWIG_fail;
10218 }
10219 Py_INCREF(Py_None); resultobj = Py_None;
10220 return resultobj;
10221 fail:
10222 return NULL;
10223}
10224
10225
10226static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10227 PyObject *resultobj;
10228 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10229 wxPoint *arg2 = 0 ;
10230 wxPoint temp2 ;
10231 PyObject * obj0 = 0 ;
10232 PyObject * obj1 = 0 ;
10233 char *kwnames[] = {
10234 (char *) "self",(char *) "pos", NULL
10235 };
10236
10237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10239 {
10240 arg2 = &temp2;
10241 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10242 }
10243 {
10244 PyThreadState* __tstate = wxPyBeginAllowThreads();
10245 (arg1)->SetPosition((wxPoint const &)*arg2);
10246
10247 wxPyEndAllowThreads(__tstate);
10248 if (PyErr_Occurred()) SWIG_fail;
10249 }
10250 Py_INCREF(Py_None); resultobj = Py_None;
10251 return resultobj;
10252 fail:
10253 return NULL;
10254}
10255
10256
10257static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10258 PyObject *resultobj;
10259 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10260 int arg2 ;
10261 PyObject * obj0 = 0 ;
10262 char *kwnames[] = {
10263 (char *) "self",(char *) "zPos", NULL
10264 };
10265
10266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetZPosition",kwnames,&obj0,&arg2)) goto fail;
10267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10268 {
10269 PyThreadState* __tstate = wxPyBeginAllowThreads();
10270 (arg1)->SetZPosition(arg2);
10271
10272 wxPyEndAllowThreads(__tstate);
10273 if (PyErr_Occurred()) SWIG_fail;
10274 }
10275 Py_INCREF(Py_None); resultobj = Py_None;
10276 return resultobj;
10277 fail:
10278 return NULL;
10279}
10280
10281
10282static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10283 PyObject *resultobj;
10284 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10285 bool result;
10286 PyObject * obj0 = 0 ;
10287 char *kwnames[] = {
10288 (char *) "self", NULL
10289 };
10290
10291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
10292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10293 {
10294 PyThreadState* __tstate = wxPyBeginAllowThreads();
10295 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
10296
10297 wxPyEndAllowThreads(__tstate);
10298 if (PyErr_Occurred()) SWIG_fail;
10299 }
10300 resultobj = PyInt_FromLong((long)result);
10301 return resultobj;
10302 fail:
10303 return NULL;
10304}
10305
10306
10307static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10308 PyObject *resultobj;
10309 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10310 bool result;
10311 PyObject * obj0 = 0 ;
10312 char *kwnames[] = {
10313 (char *) "self", NULL
10314 };
10315
10316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) 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)->IsMove();
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 *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10333 PyObject *resultobj;
10334 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10335 bool result;
10336 PyObject * obj0 = 0 ;
10337 char *kwnames[] = {
10338 (char *) "self", NULL
10339 };
10340
10341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
10342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10343 {
10344 PyThreadState* __tstate = wxPyBeginAllowThreads();
10345 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
10346
10347 wxPyEndAllowThreads(__tstate);
10348 if (PyErr_Occurred()) SWIG_fail;
10349 }
10350 resultobj = PyInt_FromLong((long)result);
10351 return resultobj;
10352 fail:
10353 return NULL;
10354}
10355
10356
10357static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10358 PyObject *resultobj;
10359 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10360 int arg2 = (int) wxJOY_BUTTON_ANY ;
10361 bool result;
10362 PyObject * obj0 = 0 ;
10363 char *kwnames[] = {
10364 (char *) "self",(char *) "but", NULL
10365 };
10366
10367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonDown",kwnames,&obj0,&arg2)) goto fail;
10368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10369 {
10370 PyThreadState* __tstate = wxPyBeginAllowThreads();
10371 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
10372
10373 wxPyEndAllowThreads(__tstate);
10374 if (PyErr_Occurred()) SWIG_fail;
10375 }
10376 resultobj = PyInt_FromLong((long)result);
10377 return resultobj;
10378 fail:
10379 return NULL;
10380}
10381
10382
10383static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
10384 PyObject *resultobj;
10385 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10386 int arg2 = (int) wxJOY_BUTTON_ANY ;
10387 bool result;
10388 PyObject * obj0 = 0 ;
10389 char *kwnames[] = {
10390 (char *) "self",(char *) "but", NULL
10391 };
10392
10393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonUp",kwnames,&obj0,&arg2)) goto fail;
10394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10395 {
10396 PyThreadState* __tstate = wxPyBeginAllowThreads();
10397 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
10398
10399 wxPyEndAllowThreads(__tstate);
10400 if (PyErr_Occurred()) SWIG_fail;
10401 }
10402 resultobj = PyInt_FromLong((long)result);
10403 return resultobj;
10404 fail:
10405 return NULL;
10406}
10407
10408
10409static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10410 PyObject *resultobj;
10411 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10412 int arg2 = (int) wxJOY_BUTTON_ANY ;
10413 bool result;
10414 PyObject * obj0 = 0 ;
10415 char *kwnames[] = {
10416 (char *) "self",(char *) "but", NULL
10417 };
10418
10419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames,&obj0,&arg2)) goto fail;
10420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10421 {
10422 PyThreadState* __tstate = wxPyBeginAllowThreads();
10423 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
10424
10425 wxPyEndAllowThreads(__tstate);
10426 if (PyErr_Occurred()) SWIG_fail;
10427 }
10428 resultobj = PyInt_FromLong((long)result);
10429 return resultobj;
10430 fail:
10431 return NULL;
10432}
10433
10434
10435static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
10436 PyObject *obj;
10437 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10438 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
10439 Py_INCREF(obj);
10440 return Py_BuildValue((char *)"");
10441}
10442static PyObject *_wrap_new_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10443 PyObject *resultobj;
10444 wxString *arg1 = 0 ;
10445 bool arg2 = (bool) False ;
10446 wxWave *result;
10447 bool temp1 = False ;
10448 PyObject * obj0 = 0 ;
10449 PyObject * obj1 = 0 ;
10450 char *kwnames[] = {
10451 (char *) "fileName",(char *) "isResource", NULL
10452 };
10453
10454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Wave",kwnames,&obj0,&obj1)) goto fail;
10455 {
10456 arg1 = wxString_in_helper(obj0);
10457 if (arg1 == NULL) SWIG_fail;
10458 temp1 = True;
10459 }
10460 if (obj1) {
10461 arg2 = PyInt_AsLong(obj1) ? true : false;
10462 if (PyErr_Occurred()) SWIG_fail;
10463 }
10464 {
10465 PyThreadState* __tstate = wxPyBeginAllowThreads();
10466 result = (wxWave *)new wxWave((wxString const &)*arg1,arg2);
10467
10468 wxPyEndAllowThreads(__tstate);
10469 if (PyErr_Occurred()) SWIG_fail;
10470 }
10471 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10472 {
10473 if (temp1)
10474 delete arg1;
10475 }
10476 return resultobj;
10477 fail:
10478 {
10479 if (temp1)
10480 delete arg1;
10481 }
10482 return NULL;
10483}
10484
10485
10486static PyObject *_wrap_new_WaveData(PyObject *self, PyObject *args, PyObject *kwargs) {
10487 PyObject *resultobj;
10488 wxString *arg1 = 0 ;
10489 wxWave *result;
10490 bool temp1 = False ;
10491 PyObject * obj0 = 0 ;
10492 char *kwnames[] = {
10493 (char *) "data", NULL
10494 };
10495
10496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_WaveData",kwnames,&obj0)) goto fail;
10497 {
10498 arg1 = wxString_in_helper(obj0);
10499 if (arg1 == NULL) SWIG_fail;
10500 temp1 = True;
10501 }
10502 {
10503 PyThreadState* __tstate = wxPyBeginAllowThreads();
10504 result = (wxWave *)new_wxWave((wxString const &)*arg1);
10505
10506 wxPyEndAllowThreads(__tstate);
10507 if (PyErr_Occurred()) SWIG_fail;
10508 }
10509 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10510 {
10511 if (temp1)
10512 delete arg1;
10513 }
10514 return resultobj;
10515 fail:
10516 {
10517 if (temp1)
10518 delete arg1;
10519 }
10520 return NULL;
10521}
10522
10523
10524static PyObject *_wrap_delete_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10525 PyObject *resultobj;
10526 wxWave *arg1 = (wxWave *) 0 ;
10527 PyObject * obj0 = 0 ;
10528 char *kwnames[] = {
10529 (char *) "self", NULL
10530 };
10531
10532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Wave",kwnames,&obj0)) goto fail;
10533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10534 {
10535 PyThreadState* __tstate = wxPyBeginAllowThreads();
10536 delete arg1;
10537
10538 wxPyEndAllowThreads(__tstate);
10539 if (PyErr_Occurred()) SWIG_fail;
10540 }
10541 Py_INCREF(Py_None); resultobj = Py_None;
10542 return resultobj;
10543 fail:
10544 return NULL;
10545}
10546
10547
10548static PyObject *_wrap_Wave_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10549 PyObject *resultobj;
10550 wxWave *arg1 = (wxWave *) 0 ;
10551 bool result;
10552 PyObject * obj0 = 0 ;
10553 char *kwnames[] = {
10554 (char *) "self", NULL
10555 };
10556
10557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wave_IsOk",kwnames,&obj0)) goto fail;
10558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10559 {
10560 PyThreadState* __tstate = wxPyBeginAllowThreads();
10561 result = (bool)((wxWave const *)arg1)->IsOk();
10562
10563 wxPyEndAllowThreads(__tstate);
10564 if (PyErr_Occurred()) SWIG_fail;
10565 }
10566 resultobj = PyInt_FromLong((long)result);
10567 return resultobj;
10568 fail:
10569 return NULL;
10570}
10571
10572
10573static PyObject *_wrap_Wave_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
10574 PyObject *resultobj;
10575 wxWave *arg1 = (wxWave *) 0 ;
10576 bool arg2 = (bool) True ;
10577 bool arg3 = (bool) False ;
10578 bool result;
10579 PyObject * obj0 = 0 ;
10580 PyObject * obj1 = 0 ;
10581 PyObject * obj2 = 0 ;
10582 char *kwnames[] = {
10583 (char *) "self",(char *) "async",(char *) "looped", NULL
10584 };
10585
10586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Wave_Play",kwnames,&obj0,&obj1,&obj2)) goto fail;
10587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10588 if (obj1) {
10589 arg2 = PyInt_AsLong(obj1) ? true : false;
10590 if (PyErr_Occurred()) SWIG_fail;
10591 }
10592 if (obj2) {
10593 arg3 = PyInt_AsLong(obj2) ? true : false;
10594 if (PyErr_Occurred()) SWIG_fail;
10595 }
10596 {
10597 PyThreadState* __tstate = wxPyBeginAllowThreads();
10598 result = (bool)(arg1)->Play(arg2,arg3);
10599
10600 wxPyEndAllowThreads(__tstate);
10601 if (PyErr_Occurred()) SWIG_fail;
10602 }
10603 resultobj = PyInt_FromLong((long)result);
10604 return resultobj;
10605 fail:
10606 return NULL;
10607}
10608
10609
10610static PyObject * Wave_swigregister(PyObject *self, PyObject *args) {
10611 PyObject *obj;
10612 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10613 SWIG_TypeClientData(SWIGTYPE_p_wxWave, obj);
10614 Py_INCREF(obj);
10615 return Py_BuildValue((char *)"");
10616}
10617static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10618 PyObject *resultobj;
10619 wxString *arg1 = 0 ;
10620 wxString *arg2 = 0 ;
10621 wxString *arg3 = 0 ;
10622 wxString *arg4 = 0 ;
10623 wxFileTypeInfo *result;
10624 bool temp1 = False ;
10625 bool temp2 = False ;
10626 bool temp3 = False ;
10627 bool temp4 = False ;
10628 PyObject * obj0 = 0 ;
10629 PyObject * obj1 = 0 ;
10630 PyObject * obj2 = 0 ;
10631 PyObject * obj3 = 0 ;
10632 char *kwnames[] = {
10633 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10634 };
10635
10636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10637 {
10638 arg1 = wxString_in_helper(obj0);
10639 if (arg1 == NULL) SWIG_fail;
10640 temp1 = True;
10641 }
10642 {
10643 arg2 = wxString_in_helper(obj1);
10644 if (arg2 == NULL) SWIG_fail;
10645 temp2 = True;
10646 }
10647 {
10648 arg3 = wxString_in_helper(obj2);
10649 if (arg3 == NULL) SWIG_fail;
10650 temp3 = True;
10651 }
10652 {
10653 arg4 = wxString_in_helper(obj3);
10654 if (arg4 == NULL) SWIG_fail;
10655 temp4 = True;
10656 }
10657 {
10658 PyThreadState* __tstate = wxPyBeginAllowThreads();
10659 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10660
10661 wxPyEndAllowThreads(__tstate);
10662 if (PyErr_Occurred()) SWIG_fail;
10663 }
10664 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10665 {
10666 if (temp1)
10667 delete arg1;
10668 }
10669 {
10670 if (temp2)
10671 delete arg2;
10672 }
10673 {
10674 if (temp3)
10675 delete arg3;
10676 }
10677 {
10678 if (temp4)
10679 delete arg4;
10680 }
10681 return resultobj;
10682 fail:
10683 {
10684 if (temp1)
10685 delete arg1;
10686 }
10687 {
10688 if (temp2)
10689 delete arg2;
10690 }
10691 {
10692 if (temp3)
10693 delete arg3;
10694 }
10695 {
10696 if (temp4)
10697 delete arg4;
10698 }
10699 return NULL;
10700}
10701
10702
10703static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
10704 PyObject *resultobj;
10705 wxArrayString *arg1 = 0 ;
10706 wxFileTypeInfo *result;
10707 PyObject * obj0 = 0 ;
10708 char *kwnames[] = {
10709 (char *) "sArray", NULL
10710 };
10711
10712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
10713 {
10714 if (! PySequence_Check(obj0)) {
10715 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10716 SWIG_fail;
10717 }
10718 arg1 = new wxArrayString;
10719 int i, len=PySequence_Length(obj0);
10720 for (i=0; i<len; i++) {
10721 PyObject* item = PySequence_GetItem(obj0, i);
10722#if wxUSE_UNICODE
10723 PyObject* str = PyObject_Unicode(item);
10724#else
10725 PyObject* str = PyObject_Str(item);
10726#endif
10727 arg1->Add(Py2wxString(str));
10728 Py_DECREF(item);
10729 Py_DECREF(str);
10730 }
10731 }
10732 {
10733 PyThreadState* __tstate = wxPyBeginAllowThreads();
10734 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
10735
10736 wxPyEndAllowThreads(__tstate);
10737 if (PyErr_Occurred()) SWIG_fail;
10738 }
10739 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10740 {
10741 if (arg1) delete arg1;
10742 }
10743 return resultobj;
10744 fail:
10745 {
10746 if (arg1) delete arg1;
10747 }
10748 return NULL;
10749}
10750
10751
10752static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10753 PyObject *resultobj;
10754 wxFileTypeInfo *result;
10755 char *kwnames[] = {
10756 NULL
10757 };
10758
10759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
10760 {
10761 PyThreadState* __tstate = wxPyBeginAllowThreads();
10762 result = (wxFileTypeInfo *)new wxFileTypeInfo();
10763
10764 wxPyEndAllowThreads(__tstate);
10765 if (PyErr_Occurred()) SWIG_fail;
10766 }
10767 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10768 return resultobj;
10769 fail:
10770 return NULL;
10771}
10772
10773
10774static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
10775 PyObject *resultobj;
10776 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10777 bool result;
10778 PyObject * obj0 = 0 ;
10779 char *kwnames[] = {
10780 (char *) "self", NULL
10781 };
10782
10783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
10784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10785 {
10786 PyThreadState* __tstate = wxPyBeginAllowThreads();
10787 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
10788
10789 wxPyEndAllowThreads(__tstate);
10790 if (PyErr_Occurred()) SWIG_fail;
10791 }
10792 resultobj = PyInt_FromLong((long)result);
10793 return resultobj;
10794 fail:
10795 return NULL;
10796}
10797
10798
10799static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10800 PyObject *resultobj;
10801 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10802 wxString *arg2 = 0 ;
10803 int arg3 = (int) 0 ;
10804 bool temp2 = False ;
10805 PyObject * obj0 = 0 ;
10806 PyObject * obj1 = 0 ;
10807 char *kwnames[] = {
10808 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
10809 };
10810
10811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
10812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10813 {
10814 arg2 = wxString_in_helper(obj1);
10815 if (arg2 == NULL) SWIG_fail;
10816 temp2 = True;
10817 }
10818 {
10819 PyThreadState* __tstate = wxPyBeginAllowThreads();
10820 (arg1)->SetIcon((wxString const &)*arg2,arg3);
10821
10822 wxPyEndAllowThreads(__tstate);
10823 if (PyErr_Occurred()) SWIG_fail;
10824 }
10825 Py_INCREF(Py_None); resultobj = Py_None;
10826 {
10827 if (temp2)
10828 delete arg2;
10829 }
10830 return resultobj;
10831 fail:
10832 {
10833 if (temp2)
10834 delete arg2;
10835 }
10836 return NULL;
10837}
10838
10839
10840static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10841 PyObject *resultobj;
10842 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10843 wxString *arg2 = 0 ;
10844 bool temp2 = False ;
10845 PyObject * obj0 = 0 ;
10846 PyObject * obj1 = 0 ;
10847 char *kwnames[] = {
10848 (char *) "self",(char *) "shortDesc", NULL
10849 };
10850
10851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
10852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10853 {
10854 arg2 = wxString_in_helper(obj1);
10855 if (arg2 == NULL) SWIG_fail;
10856 temp2 = True;
10857 }
10858 {
10859 PyThreadState* __tstate = wxPyBeginAllowThreads();
10860 (arg1)->SetShortDesc((wxString const &)*arg2);
10861
10862 wxPyEndAllowThreads(__tstate);
10863 if (PyErr_Occurred()) SWIG_fail;
10864 }
10865 Py_INCREF(Py_None); resultobj = Py_None;
10866 {
10867 if (temp2)
10868 delete arg2;
10869 }
10870 return resultobj;
10871 fail:
10872 {
10873 if (temp2)
10874 delete arg2;
10875 }
10876 return NULL;
10877}
10878
10879
10880static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
10881 PyObject *resultobj;
10882 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10883 wxString *result;
10884 PyObject * obj0 = 0 ;
10885 char *kwnames[] = {
10886 (char *) "self", NULL
10887 };
10888
10889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
10890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10891 {
10892 PyThreadState* __tstate = wxPyBeginAllowThreads();
10893 {
10894 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
10895 result = (wxString *) &_result_ref;
10896 }
10897
10898 wxPyEndAllowThreads(__tstate);
10899 if (PyErr_Occurred()) SWIG_fail;
10900 }
10901 {
10902#if wxUSE_UNICODE
10903 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10904#else
10905 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10906#endif
10907 }
10908 return resultobj;
10909 fail:
10910 return NULL;
10911}
10912
10913
10914static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10915 PyObject *resultobj;
10916 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10917 wxString *result;
10918 PyObject * obj0 = 0 ;
10919 char *kwnames[] = {
10920 (char *) "self", NULL
10921 };
10922
10923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
10924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10925 {
10926 PyThreadState* __tstate = wxPyBeginAllowThreads();
10927 {
10928 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
10929 result = (wxString *) &_result_ref;
10930 }
10931
10932 wxPyEndAllowThreads(__tstate);
10933 if (PyErr_Occurred()) SWIG_fail;
10934 }
10935 {
10936#if wxUSE_UNICODE
10937 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10938#else
10939 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10940#endif
10941 }
10942 return resultobj;
10943 fail:
10944 return NULL;
10945}
10946
10947
10948static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10949 PyObject *resultobj;
10950 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10951 wxString *result;
10952 PyObject * obj0 = 0 ;
10953 char *kwnames[] = {
10954 (char *) "self", NULL
10955 };
10956
10957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
10958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10959 {
10960 PyThreadState* __tstate = wxPyBeginAllowThreads();
10961 {
10962 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
10963 result = (wxString *) &_result_ref;
10964 }
10965
10966 wxPyEndAllowThreads(__tstate);
10967 if (PyErr_Occurred()) SWIG_fail;
10968 }
10969 {
10970#if wxUSE_UNICODE
10971 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10972#else
10973 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10974#endif
10975 }
10976 return resultobj;
10977 fail:
10978 return NULL;
10979}
10980
10981
10982static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10983 PyObject *resultobj;
10984 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10985 wxString *result;
10986 PyObject * obj0 = 0 ;
10987 char *kwnames[] = {
10988 (char *) "self", NULL
10989 };
10990
10991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
10992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10993 {
10994 PyThreadState* __tstate = wxPyBeginAllowThreads();
10995 {
10996 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
10997 result = (wxString *) &_result_ref;
10998 }
10999
11000 wxPyEndAllowThreads(__tstate);
11001 if (PyErr_Occurred()) SWIG_fail;
11002 }
11003 {
11004#if wxUSE_UNICODE
11005 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11006#else
11007 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11008#endif
11009 }
11010 return resultobj;
11011 fail:
11012 return NULL;
11013}
11014
11015
11016static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11017 PyObject *resultobj;
11018 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11019 wxString *result;
11020 PyObject * obj0 = 0 ;
11021 char *kwnames[] = {
11022 (char *) "self", NULL
11023 };
11024
11025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
11026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11027 {
11028 PyThreadState* __tstate = wxPyBeginAllowThreads();
11029 {
11030 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
11031 result = (wxString *) &_result_ref;
11032 }
11033
11034 wxPyEndAllowThreads(__tstate);
11035 if (PyErr_Occurred()) SWIG_fail;
11036 }
11037 {
11038#if wxUSE_UNICODE
11039 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11040#else
11041 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11042#endif
11043 }
11044 return resultobj;
11045 fail:
11046 return NULL;
11047}
11048
11049
11050static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11051 PyObject *resultobj;
11052 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11053 wxArrayString *result;
11054 PyObject * obj0 = 0 ;
11055 char *kwnames[] = {
11056 (char *) "self", NULL
11057 };
11058
11059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
11060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11061 {
11062 PyThreadState* __tstate = wxPyBeginAllowThreads();
11063 {
11064 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
11065 result = (wxArrayString *) &_result_ref;
11066 }
11067
11068 wxPyEndAllowThreads(__tstate);
11069 if (PyErr_Occurred()) SWIG_fail;
11070 }
11071 {
11072 resultobj = wxArrayString2PyList_helper(*result);
11073 }
11074 return resultobj;
11075 fail:
11076 return NULL;
11077}
11078
11079
11080static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11081 PyObject *resultobj;
11082 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11083 int result;
11084 PyObject * obj0 = 0 ;
11085 char *kwnames[] = {
11086 (char *) "self", NULL
11087 };
11088
11089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
11090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11091 {
11092 PyThreadState* __tstate = wxPyBeginAllowThreads();
11093 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
11094
11095 wxPyEndAllowThreads(__tstate);
11096 if (PyErr_Occurred()) SWIG_fail;
11097 }
11098 resultobj = PyInt_FromLong((long)result);
11099 return resultobj;
11100 fail:
11101 return NULL;
11102}
11103
11104
11105static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
11106 PyObject *resultobj;
11107 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11108 wxString *result;
11109 PyObject * obj0 = 0 ;
11110 char *kwnames[] = {
11111 (char *) "self", NULL
11112 };
11113
11114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
11115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11116 {
11117 PyThreadState* __tstate = wxPyBeginAllowThreads();
11118 {
11119 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
11120 result = (wxString *) &_result_ref;
11121 }
11122
11123 wxPyEndAllowThreads(__tstate);
11124 if (PyErr_Occurred()) SWIG_fail;
11125 }
11126 {
11127#if wxUSE_UNICODE
11128 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11129#else
11130 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11131#endif
11132 }
11133 return resultobj;
11134 fail:
11135 return NULL;
11136}
11137
11138
11139static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11140 PyObject *resultobj;
11141 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11142 int result;
11143 PyObject * obj0 = 0 ;
11144 char *kwnames[] = {
11145 (char *) "self", NULL
11146 };
11147
11148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
11149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11150 {
11151 PyThreadState* __tstate = wxPyBeginAllowThreads();
11152 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
11153
11154 wxPyEndAllowThreads(__tstate);
11155 if (PyErr_Occurred()) SWIG_fail;
11156 }
11157 resultobj = PyInt_FromLong((long)result);
11158 return resultobj;
11159 fail:
11160 return NULL;
11161}
11162
11163
11164static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
11165 PyObject *obj;
11166 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11167 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
11168 Py_INCREF(obj);
11169 return Py_BuildValue((char *)"");
11170}
11171static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11172 PyObject *resultobj;
11173 wxFileTypeInfo *arg1 = 0 ;
11174 wxFileType *result;
11175 PyObject * obj0 = 0 ;
11176 char *kwnames[] = {
11177 (char *) "ftInfo", NULL
11178 };
11179
11180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
11181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11182 if (arg1 == NULL) {
11183 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11184 }
11185 {
11186 PyThreadState* __tstate = wxPyBeginAllowThreads();
11187 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
11188
11189 wxPyEndAllowThreads(__tstate);
11190 if (PyErr_Occurred()) SWIG_fail;
11191 }
11192 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11193 return resultobj;
11194 fail:
11195 return NULL;
11196}
11197
11198
11199static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11200 PyObject *resultobj;
11201 wxFileType *arg1 = (wxFileType *) 0 ;
11202 PyObject * obj0 = 0 ;
11203 char *kwnames[] = {
11204 (char *) "self", NULL
11205 };
11206
11207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
11208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11209 {
11210 PyThreadState* __tstate = wxPyBeginAllowThreads();
11211 delete arg1;
11212
11213 wxPyEndAllowThreads(__tstate);
11214 if (PyErr_Occurred()) SWIG_fail;
11215 }
11216 Py_INCREF(Py_None); resultobj = Py_None;
11217 return resultobj;
11218 fail:
11219 return NULL;
11220}
11221
11222
11223static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11224 PyObject *resultobj;
11225 wxFileType *arg1 = (wxFileType *) 0 ;
11226 PyObject *result;
11227 PyObject * obj0 = 0 ;
11228 char *kwnames[] = {
11229 (char *) "self", NULL
11230 };
11231
11232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
11233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11234 {
11235 PyThreadState* __tstate = wxPyBeginAllowThreads();
11236 result = (PyObject *)wxFileType_GetMimeType(arg1);
11237
11238 wxPyEndAllowThreads(__tstate);
11239 if (PyErr_Occurred()) SWIG_fail;
11240 }
11241 resultobj = result;
11242 return resultobj;
11243 fail:
11244 return NULL;
11245}
11246
11247
11248static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11249 PyObject *resultobj;
11250 wxFileType *arg1 = (wxFileType *) 0 ;
11251 PyObject *result;
11252 PyObject * obj0 = 0 ;
11253 char *kwnames[] = {
11254 (char *) "self", NULL
11255 };
11256
11257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
11258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11259 {
11260 PyThreadState* __tstate = wxPyBeginAllowThreads();
11261 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
11262
11263 wxPyEndAllowThreads(__tstate);
11264 if (PyErr_Occurred()) SWIG_fail;
11265 }
11266 resultobj = result;
11267 return resultobj;
11268 fail:
11269 return NULL;
11270}
11271
11272
11273static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11274 PyObject *resultobj;
11275 wxFileType *arg1 = (wxFileType *) 0 ;
11276 PyObject *result;
11277 PyObject * obj0 = 0 ;
11278 char *kwnames[] = {
11279 (char *) "self", NULL
11280 };
11281
11282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
11283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11284 {
11285 PyThreadState* __tstate = wxPyBeginAllowThreads();
11286 result = (PyObject *)wxFileType_GetExtensions(arg1);
11287
11288 wxPyEndAllowThreads(__tstate);
11289 if (PyErr_Occurred()) SWIG_fail;
11290 }
11291 resultobj = result;
11292 return resultobj;
11293 fail:
11294 return NULL;
11295}
11296
11297
11298static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11299 PyObject *resultobj;
11300 wxFileType *arg1 = (wxFileType *) 0 ;
11301 wxIcon *result;
11302 PyObject * obj0 = 0 ;
11303 char *kwnames[] = {
11304 (char *) "self", NULL
11305 };
11306
11307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
11308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11309 {
11310 PyThreadState* __tstate = wxPyBeginAllowThreads();
11311 result = (wxIcon *)wxFileType_GetIcon(arg1);
11312
11313 wxPyEndAllowThreads(__tstate);
11314 if (PyErr_Occurred()) SWIG_fail;
11315 }
11316 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIcon, 1);
11317 return resultobj;
11318 fail:
11319 return NULL;
11320}
11321
11322
11323static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11324 PyObject *resultobj;
11325 wxFileType *arg1 = (wxFileType *) 0 ;
11326 PyObject *result;
11327 PyObject * obj0 = 0 ;
11328 char *kwnames[] = {
11329 (char *) "self", NULL
11330 };
11331
11332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
11333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11334 {
11335 PyThreadState* __tstate = wxPyBeginAllowThreads();
11336 result = (PyObject *)wxFileType_GetIconInfo(arg1);
11337
11338 wxPyEndAllowThreads(__tstate);
11339 if (PyErr_Occurred()) SWIG_fail;
11340 }
11341 resultobj = result;
11342 return resultobj;
11343 fail:
11344 return NULL;
11345}
11346
11347
11348static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11349 PyObject *resultobj;
11350 wxFileType *arg1 = (wxFileType *) 0 ;
11351 PyObject *result;
11352 PyObject * obj0 = 0 ;
11353 char *kwnames[] = {
11354 (char *) "self", NULL
11355 };
11356
11357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
11358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11359 {
11360 PyThreadState* __tstate = wxPyBeginAllowThreads();
11361 result = (PyObject *)wxFileType_GetDescription(arg1);
11362
11363 wxPyEndAllowThreads(__tstate);
11364 if (PyErr_Occurred()) SWIG_fail;
11365 }
11366 resultobj = result;
11367 return resultobj;
11368 fail:
11369 return NULL;
11370}
11371
11372
11373static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11374 PyObject *resultobj;
11375 wxFileType *arg1 = (wxFileType *) 0 ;
11376 wxString *arg2 = 0 ;
11377 wxString const &arg3_defvalue = wxPyEmptyString ;
11378 wxString *arg3 = (wxString *) &arg3_defvalue ;
11379 PyObject *result;
11380 bool temp2 = False ;
11381 bool temp3 = False ;
11382 PyObject * obj0 = 0 ;
11383 PyObject * obj1 = 0 ;
11384 PyObject * obj2 = 0 ;
11385 char *kwnames[] = {
11386 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11387 };
11388
11389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11391 {
11392 arg2 = wxString_in_helper(obj1);
11393 if (arg2 == NULL) SWIG_fail;
11394 temp2 = True;
11395 }
11396 if (obj2) {
11397 {
11398 arg3 = wxString_in_helper(obj2);
11399 if (arg3 == NULL) SWIG_fail;
11400 temp3 = True;
11401 }
11402 }
11403 {
11404 PyThreadState* __tstate = wxPyBeginAllowThreads();
11405 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11406
11407 wxPyEndAllowThreads(__tstate);
11408 if (PyErr_Occurred()) SWIG_fail;
11409 }
11410 resultobj = result;
11411 {
11412 if (temp2)
11413 delete arg2;
11414 }
11415 {
11416 if (temp3)
11417 delete arg3;
11418 }
11419 return resultobj;
11420 fail:
11421 {
11422 if (temp2)
11423 delete arg2;
11424 }
11425 {
11426 if (temp3)
11427 delete arg3;
11428 }
11429 return NULL;
11430}
11431
11432
11433static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11434 PyObject *resultobj;
11435 wxFileType *arg1 = (wxFileType *) 0 ;
11436 wxString *arg2 = 0 ;
11437 wxString const &arg3_defvalue = wxPyEmptyString ;
11438 wxString *arg3 = (wxString *) &arg3_defvalue ;
11439 PyObject *result;
11440 bool temp2 = False ;
11441 bool temp3 = False ;
11442 PyObject * obj0 = 0 ;
11443 PyObject * obj1 = 0 ;
11444 PyObject * obj2 = 0 ;
11445 char *kwnames[] = {
11446 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11447 };
11448
11449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11451 {
11452 arg2 = wxString_in_helper(obj1);
11453 if (arg2 == NULL) SWIG_fail;
11454 temp2 = True;
11455 }
11456 if (obj2) {
11457 {
11458 arg3 = wxString_in_helper(obj2);
11459 if (arg3 == NULL) SWIG_fail;
11460 temp3 = True;
11461 }
11462 }
11463 {
11464 PyThreadState* __tstate = wxPyBeginAllowThreads();
11465 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11466
11467 wxPyEndAllowThreads(__tstate);
11468 if (PyErr_Occurred()) SWIG_fail;
11469 }
11470 resultobj = result;
11471 {
11472 if (temp2)
11473 delete arg2;
11474 }
11475 {
11476 if (temp3)
11477 delete arg3;
11478 }
11479 return resultobj;
11480 fail:
11481 {
11482 if (temp2)
11483 delete arg2;
11484 }
11485 {
11486 if (temp3)
11487 delete arg3;
11488 }
11489 return NULL;
11490}
11491
11492
11493static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
11494 PyObject *resultobj;
11495 wxFileType *arg1 = (wxFileType *) 0 ;
11496 wxString *arg2 = 0 ;
11497 wxString const &arg3_defvalue = wxPyEmptyString ;
11498 wxString *arg3 = (wxString *) &arg3_defvalue ;
11499 PyObject *result;
11500 bool temp2 = False ;
11501 bool temp3 = False ;
11502 PyObject * obj0 = 0 ;
11503 PyObject * obj1 = 0 ;
11504 PyObject * obj2 = 0 ;
11505 char *kwnames[] = {
11506 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11507 };
11508
11509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
11510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11511 {
11512 arg2 = wxString_in_helper(obj1);
11513 if (arg2 == NULL) SWIG_fail;
11514 temp2 = True;
11515 }
11516 if (obj2) {
11517 {
11518 arg3 = wxString_in_helper(obj2);
11519 if (arg3 == NULL) SWIG_fail;
11520 temp3 = True;
11521 }
11522 }
11523 {
11524 PyThreadState* __tstate = wxPyBeginAllowThreads();
11525 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11526
11527 wxPyEndAllowThreads(__tstate);
11528 if (PyErr_Occurred()) SWIG_fail;
11529 }
11530 resultobj = result;
11531 {
11532 if (temp2)
11533 delete arg2;
11534 }
11535 {
11536 if (temp3)
11537 delete arg3;
11538 }
11539 return resultobj;
11540 fail:
11541 {
11542 if (temp2)
11543 delete arg2;
11544 }
11545 {
11546 if (temp3)
11547 delete arg3;
11548 }
11549 return NULL;
11550}
11551
11552
11553static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11554 PyObject *resultobj;
11555 wxFileType *arg1 = (wxFileType *) 0 ;
11556 wxString *arg2 = 0 ;
11557 wxString *arg3 = 0 ;
11558 bool arg4 = (bool) True ;
11559 bool result;
11560 bool temp2 = False ;
11561 bool temp3 = False ;
11562 PyObject * obj0 = 0 ;
11563 PyObject * obj1 = 0 ;
11564 PyObject * obj2 = 0 ;
11565 PyObject * obj3 = 0 ;
11566 char *kwnames[] = {
11567 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11568 };
11569
11570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11572 {
11573 arg2 = wxString_in_helper(obj1);
11574 if (arg2 == NULL) SWIG_fail;
11575 temp2 = True;
11576 }
11577 {
11578 arg3 = wxString_in_helper(obj2);
11579 if (arg3 == NULL) SWIG_fail;
11580 temp3 = True;
11581 }
11582 if (obj3) {
11583 arg4 = PyInt_AsLong(obj3) ? true : false;
11584 if (PyErr_Occurred()) SWIG_fail;
11585 }
11586 {
11587 PyThreadState* __tstate = wxPyBeginAllowThreads();
11588 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11589
11590 wxPyEndAllowThreads(__tstate);
11591 if (PyErr_Occurred()) SWIG_fail;
11592 }
11593 resultobj = PyInt_FromLong((long)result);
11594 {
11595 if (temp2)
11596 delete arg2;
11597 }
11598 {
11599 if (temp3)
11600 delete arg3;
11601 }
11602 return resultobj;
11603 fail:
11604 {
11605 if (temp2)
11606 delete arg2;
11607 }
11608 {
11609 if (temp3)
11610 delete arg3;
11611 }
11612 return NULL;
11613}
11614
11615
11616static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11617 PyObject *resultobj;
11618 wxFileType *arg1 = (wxFileType *) 0 ;
11619 wxString const &arg2_defvalue = wxPyEmptyString ;
11620 wxString *arg2 = (wxString *) &arg2_defvalue ;
11621 int arg3 = (int) 0 ;
11622 bool result;
11623 bool temp2 = False ;
11624 PyObject * obj0 = 0 ;
11625 PyObject * obj1 = 0 ;
11626 char *kwnames[] = {
11627 (char *) "self",(char *) "cmd",(char *) "index", NULL
11628 };
11629
11630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
11631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11632 if (obj1) {
11633 {
11634 arg2 = wxString_in_helper(obj1);
11635 if (arg2 == NULL) SWIG_fail;
11636 temp2 = True;
11637 }
11638 }
11639 {
11640 PyThreadState* __tstate = wxPyBeginAllowThreads();
11641 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
11642
11643 wxPyEndAllowThreads(__tstate);
11644 if (PyErr_Occurred()) SWIG_fail;
11645 }
11646 resultobj = PyInt_FromLong((long)result);
11647 {
11648 if (temp2)
11649 delete arg2;
11650 }
11651 return resultobj;
11652 fail:
11653 {
11654 if (temp2)
11655 delete arg2;
11656 }
11657 return NULL;
11658}
11659
11660
11661static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
11662 PyObject *resultobj;
11663 wxFileType *arg1 = (wxFileType *) 0 ;
11664 bool result;
11665 PyObject * obj0 = 0 ;
11666 char *kwnames[] = {
11667 (char *) "self", NULL
11668 };
11669
11670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
11671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11672 {
11673 PyThreadState* __tstate = wxPyBeginAllowThreads();
11674 result = (bool)(arg1)->Unassociate();
11675
11676 wxPyEndAllowThreads(__tstate);
11677 if (PyErr_Occurred()) SWIG_fail;
11678 }
11679 resultobj = PyInt_FromLong((long)result);
11680 return resultobj;
11681 fail:
11682 return NULL;
11683}
11684
11685
11686static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11687 PyObject *resultobj;
11688 wxString *arg1 = 0 ;
11689 wxString *arg2 = 0 ;
11690 wxString const &arg3_defvalue = wxPyEmptyString ;
11691 wxString *arg3 = (wxString *) &arg3_defvalue ;
11692 wxString result;
11693 bool temp1 = False ;
11694 bool temp2 = False ;
11695 bool temp3 = False ;
11696 PyObject * obj0 = 0 ;
11697 PyObject * obj1 = 0 ;
11698 PyObject * obj2 = 0 ;
11699 char *kwnames[] = {
11700 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11701 };
11702
11703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11704 {
11705 arg1 = wxString_in_helper(obj0);
11706 if (arg1 == NULL) SWIG_fail;
11707 temp1 = True;
11708 }
11709 {
11710 arg2 = wxString_in_helper(obj1);
11711 if (arg2 == NULL) SWIG_fail;
11712 temp2 = True;
11713 }
11714 if (obj2) {
11715 {
11716 arg3 = wxString_in_helper(obj2);
11717 if (arg3 == NULL) SWIG_fail;
11718 temp3 = True;
11719 }
11720 }
11721 {
11722 PyThreadState* __tstate = wxPyBeginAllowThreads();
11723 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11724
11725 wxPyEndAllowThreads(__tstate);
11726 if (PyErr_Occurred()) SWIG_fail;
11727 }
11728 {
11729#if wxUSE_UNICODE
11730 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11731#else
11732 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11733#endif
11734 }
11735 {
11736 if (temp1)
11737 delete arg1;
11738 }
11739 {
11740 if (temp2)
11741 delete arg2;
11742 }
11743 {
11744 if (temp3)
11745 delete arg3;
11746 }
11747 return resultobj;
11748 fail:
11749 {
11750 if (temp1)
11751 delete arg1;
11752 }
11753 {
11754 if (temp2)
11755 delete arg2;
11756 }
11757 {
11758 if (temp3)
11759 delete arg3;
11760 }
11761 return NULL;
11762}
11763
11764
11765static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
11766 PyObject *obj;
11767 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11768 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
11769 Py_INCREF(obj);
11770 return Py_BuildValue((char *)"");
11771}
11772static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
11773 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
11774 return 1;
11775}
11776
11777
11778static PyObject *_wrap_TheMimeTypesManager_get() {
11779 PyObject *pyobj;
11780
11781 pyobj = SWIG_NewPointerObj((void *) wxTheMimeTypesManager, SWIGTYPE_p_wxMimeTypesManager, 0);
11782 return pyobj;
11783}
11784
11785
11786static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
11787 PyObject *resultobj;
11788 wxString *arg1 = 0 ;
11789 wxString *arg2 = 0 ;
11790 bool result;
11791 bool temp1 = False ;
11792 bool temp2 = False ;
11793 PyObject * obj0 = 0 ;
11794 PyObject * obj1 = 0 ;
11795 char *kwnames[] = {
11796 (char *) "mimeType",(char *) "wildcard", NULL
11797 };
11798
11799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
11800 {
11801 arg1 = wxString_in_helper(obj0);
11802 if (arg1 == NULL) SWIG_fail;
11803 temp1 = True;
11804 }
11805 {
11806 arg2 = wxString_in_helper(obj1);
11807 if (arg2 == NULL) SWIG_fail;
11808 temp2 = True;
11809 }
11810 {
11811 PyThreadState* __tstate = wxPyBeginAllowThreads();
11812 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
11813
11814 wxPyEndAllowThreads(__tstate);
11815 if (PyErr_Occurred()) SWIG_fail;
11816 }
11817 resultobj = PyInt_FromLong((long)result);
11818 {
11819 if (temp1)
11820 delete arg1;
11821 }
11822 {
11823 if (temp2)
11824 delete arg2;
11825 }
11826 return resultobj;
11827 fail:
11828 {
11829 if (temp1)
11830 delete arg1;
11831 }
11832 {
11833 if (temp2)
11834 delete arg2;
11835 }
11836 return NULL;
11837}
11838
11839
11840static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
11841 PyObject *resultobj;
11842 wxMimeTypesManager *result;
11843 char *kwnames[] = {
11844 NULL
11845 };
11846
11847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
11848 {
11849 PyThreadState* __tstate = wxPyBeginAllowThreads();
11850 result = (wxMimeTypesManager *)new wxMimeTypesManager();
11851
11852 wxPyEndAllowThreads(__tstate);
11853 if (PyErr_Occurred()) SWIG_fail;
11854 }
11855 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMimeTypesManager, 1);
11856 return resultobj;
11857 fail:
11858 return NULL;
11859}
11860
11861
11862static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
11863 PyObject *resultobj;
11864 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11865 int arg2 = (int) wxMAILCAP_ALL ;
11866 wxString const &arg3_defvalue = wxPyEmptyString ;
11867 wxString *arg3 = (wxString *) &arg3_defvalue ;
11868 bool temp3 = False ;
11869 PyObject * obj0 = 0 ;
11870 PyObject * obj2 = 0 ;
11871 char *kwnames[] = {
11872 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
11873 };
11874
11875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:MimeTypesManager_Initialize",kwnames,&obj0,&arg2,&obj2)) goto fail;
11876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11877 if (obj2) {
11878 {
11879 arg3 = wxString_in_helper(obj2);
11880 if (arg3 == NULL) SWIG_fail;
11881 temp3 = True;
11882 }
11883 }
11884 {
11885 PyThreadState* __tstate = wxPyBeginAllowThreads();
11886 (arg1)->Initialize(arg2,(wxString const &)*arg3);
11887
11888 wxPyEndAllowThreads(__tstate);
11889 if (PyErr_Occurred()) SWIG_fail;
11890 }
11891 Py_INCREF(Py_None); resultobj = Py_None;
11892 {
11893 if (temp3)
11894 delete arg3;
11895 }
11896 return resultobj;
11897 fail:
11898 {
11899 if (temp3)
11900 delete arg3;
11901 }
11902 return NULL;
11903}
11904
11905
11906static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
11907 PyObject *resultobj;
11908 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11909 PyObject * obj0 = 0 ;
11910 char *kwnames[] = {
11911 (char *) "self", NULL
11912 };
11913
11914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
11915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11916 {
11917 PyThreadState* __tstate = wxPyBeginAllowThreads();
11918 (arg1)->ClearData();
11919
11920 wxPyEndAllowThreads(__tstate);
11921 if (PyErr_Occurred()) SWIG_fail;
11922 }
11923 Py_INCREF(Py_None); resultobj = Py_None;
11924 return resultobj;
11925 fail:
11926 return NULL;
11927}
11928
11929
11930static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
11931 PyObject *resultobj;
11932 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11933 wxString *arg2 = 0 ;
11934 wxFileType *result;
11935 bool temp2 = False ;
11936 PyObject * obj0 = 0 ;
11937 PyObject * obj1 = 0 ;
11938 char *kwnames[] = {
11939 (char *) "self",(char *) "ext", NULL
11940 };
11941
11942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
11943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11944 {
11945 arg2 = wxString_in_helper(obj1);
11946 if (arg2 == NULL) SWIG_fail;
11947 temp2 = True;
11948 }
11949 {
11950 PyThreadState* __tstate = wxPyBeginAllowThreads();
11951 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
11952
11953 wxPyEndAllowThreads(__tstate);
11954 if (PyErr_Occurred()) SWIG_fail;
11955 }
11956 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11957 {
11958 if (temp2)
11959 delete arg2;
11960 }
11961 return resultobj;
11962 fail:
11963 {
11964 if (temp2)
11965 delete arg2;
11966 }
11967 return NULL;
11968}
11969
11970
11971static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11972 PyObject *resultobj;
11973 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11974 wxString *arg2 = 0 ;
11975 wxFileType *result;
11976 bool temp2 = False ;
11977 PyObject * obj0 = 0 ;
11978 PyObject * obj1 = 0 ;
11979 char *kwnames[] = {
11980 (char *) "self",(char *) "mimeType", NULL
11981 };
11982
11983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
11984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11985 {
11986 arg2 = wxString_in_helper(obj1);
11987 if (arg2 == NULL) SWIG_fail;
11988 temp2 = True;
11989 }
11990 {
11991 PyThreadState* __tstate = wxPyBeginAllowThreads();
11992 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
11993
11994 wxPyEndAllowThreads(__tstate);
11995 if (PyErr_Occurred()) SWIG_fail;
11996 }
11997 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11998 {
11999 if (temp2)
12000 delete arg2;
12001 }
12002 return resultobj;
12003 fail:
12004 {
12005 if (temp2)
12006 delete arg2;
12007 }
12008 return NULL;
12009}
12010
12011
12012static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
12013 PyObject *resultobj;
12014 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12015 wxString *arg2 = 0 ;
12016 bool arg3 = (bool) False ;
12017 bool result;
12018 bool temp2 = False ;
12019 PyObject * obj0 = 0 ;
12020 PyObject * obj1 = 0 ;
12021 PyObject * obj2 = 0 ;
12022 char *kwnames[] = {
12023 (char *) "self",(char *) "filename",(char *) "fallback", NULL
12024 };
12025
12026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
12027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12028 {
12029 arg2 = wxString_in_helper(obj1);
12030 if (arg2 == NULL) SWIG_fail;
12031 temp2 = True;
12032 }
12033 if (obj2) {
12034 arg3 = PyInt_AsLong(obj2) ? true : false;
12035 if (PyErr_Occurred()) SWIG_fail;
12036 }
12037 {
12038 PyThreadState* __tstate = wxPyBeginAllowThreads();
12039 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
12040
12041 wxPyEndAllowThreads(__tstate);
12042 if (PyErr_Occurred()) SWIG_fail;
12043 }
12044 resultobj = PyInt_FromLong((long)result);
12045 {
12046 if (temp2)
12047 delete arg2;
12048 }
12049 return resultobj;
12050 fail:
12051 {
12052 if (temp2)
12053 delete arg2;
12054 }
12055 return NULL;
12056}
12057
12058
12059static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12060 PyObject *resultobj;
12061 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12062 wxString *arg2 = 0 ;
12063 bool result;
12064 bool temp2 = False ;
12065 PyObject * obj0 = 0 ;
12066 PyObject * obj1 = 0 ;
12067 char *kwnames[] = {
12068 (char *) "self",(char *) "filename", NULL
12069 };
12070
12071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
12072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12073 {
12074 arg2 = wxString_in_helper(obj1);
12075 if (arg2 == NULL) SWIG_fail;
12076 temp2 = True;
12077 }
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
12081
12082 wxPyEndAllowThreads(__tstate);
12083 if (PyErr_Occurred()) SWIG_fail;
12084 }
12085 resultobj = PyInt_FromLong((long)result);
12086 {
12087 if (temp2)
12088 delete arg2;
12089 }
12090 return resultobj;
12091 fail:
12092 {
12093 if (temp2)
12094 delete arg2;
12095 }
12096 return NULL;
12097}
12098
12099
12100static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12101 PyObject *resultobj;
12102 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12103 PyObject *result;
12104 PyObject * obj0 = 0 ;
12105 char *kwnames[] = {
12106 (char *) "self", NULL
12107 };
12108
12109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
12110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12111 {
12112 PyThreadState* __tstate = wxPyBeginAllowThreads();
12113 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
12114
12115 wxPyEndAllowThreads(__tstate);
12116 if (PyErr_Occurred()) SWIG_fail;
12117 }
12118 resultobj = result;
12119 return resultobj;
12120 fail:
12121 return NULL;
12122}
12123
12124
12125static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
12126 PyObject *resultobj;
12127 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12128 wxFileTypeInfo *arg2 = 0 ;
12129 PyObject * obj0 = 0 ;
12130 PyObject * obj1 = 0 ;
12131 char *kwnames[] = {
12132 (char *) "self",(char *) "ft", NULL
12133 };
12134
12135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
12136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12137 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12138 if (arg2 == NULL) {
12139 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12140 }
12141 {
12142 PyThreadState* __tstate = wxPyBeginAllowThreads();
12143 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
12144
12145 wxPyEndAllowThreads(__tstate);
12146 if (PyErr_Occurred()) SWIG_fail;
12147 }
12148 Py_INCREF(Py_None); resultobj = Py_None;
12149 return resultobj;
12150 fail:
12151 return NULL;
12152}
12153
12154
12155static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
12156 PyObject *resultobj;
12157 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12158 wxFileTypeInfo *arg2 = 0 ;
12159 wxFileType *result;
12160 PyObject * obj0 = 0 ;
12161 PyObject * obj1 = 0 ;
12162 char *kwnames[] = {
12163 (char *) "self",(char *) "ftInfo", NULL
12164 };
12165
12166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
12167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12168 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12169 if (arg2 == NULL) {
12170 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12171 }
12172 {
12173 PyThreadState* __tstate = wxPyBeginAllowThreads();
12174 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
12175
12176 wxPyEndAllowThreads(__tstate);
12177 if (PyErr_Occurred()) SWIG_fail;
12178 }
12179 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12180 return resultobj;
12181 fail:
12182 return NULL;
12183}
12184
12185
12186static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12187 PyObject *resultobj;
12188 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12189 wxFileType *arg2 = (wxFileType *) 0 ;
12190 bool result;
12191 PyObject * obj0 = 0 ;
12192 PyObject * obj1 = 0 ;
12193 char *kwnames[] = {
12194 (char *) "self",(char *) "ft", NULL
12195 };
12196
12197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
12198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12199 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12200 {
12201 PyThreadState* __tstate = wxPyBeginAllowThreads();
12202 result = (bool)(arg1)->Unassociate(arg2);
12203
12204 wxPyEndAllowThreads(__tstate);
12205 if (PyErr_Occurred()) SWIG_fail;
12206 }
12207 resultobj = PyInt_FromLong((long)result);
12208 return resultobj;
12209 fail:
12210 return NULL;
12211}
12212
12213
12214static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
12215 PyObject *resultobj;
12216 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12217 PyObject * obj0 = 0 ;
12218 char *kwnames[] = {
12219 (char *) "self", NULL
12220 };
12221
12222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
12223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12224 {
12225 PyThreadState* __tstate = wxPyBeginAllowThreads();
12226 delete arg1;
12227
12228 wxPyEndAllowThreads(__tstate);
12229 if (PyErr_Occurred()) SWIG_fail;
12230 }
12231 Py_INCREF(Py_None); resultobj = Py_None;
12232 return resultobj;
12233 fail:
12234 return NULL;
12235}
12236
12237
12238static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
12239 PyObject *obj;
12240 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12241 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
12242 Py_INCREF(obj);
12243 return Py_BuildValue((char *)"");
12244}
12245static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
12246 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
12247 return 1;
12248}
12249
12250
12251static PyObject *_wrap_ART_TOOLBAR_get() {
12252 PyObject *pyobj;
12253
12254 {
12255#if wxUSE_UNICODE
12256 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12257#else
12258 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12259#endif
12260 }
12261 return pyobj;
12262}
12263
12264
12265static int _wrap_ART_MENU_set(PyObject *_val) {
12266 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
12267 return 1;
12268}
12269
12270
12271static PyObject *_wrap_ART_MENU_get() {
12272 PyObject *pyobj;
12273
12274 {
12275#if wxUSE_UNICODE
12276 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12277#else
12278 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12279#endif
12280 }
12281 return pyobj;
12282}
12283
12284
12285static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
12286 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
12287 return 1;
12288}
12289
12290
12291static PyObject *_wrap_ART_FRAME_ICON_get() {
12292 PyObject *pyobj;
12293
12294 {
12295#if wxUSE_UNICODE
12296 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12297#else
12298 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12299#endif
12300 }
12301 return pyobj;
12302}
12303
12304
12305static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
12306 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
12307 return 1;
12308}
12309
12310
12311static PyObject *_wrap_ART_CMN_DIALOG_get() {
12312 PyObject *pyobj;
12313
12314 {
12315#if wxUSE_UNICODE
12316 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12317#else
12318 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12319#endif
12320 }
12321 return pyobj;
12322}
12323
12324
12325static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
12326 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
12327 return 1;
12328}
12329
12330
12331static PyObject *_wrap_ART_HELP_BROWSER_get() {
12332 PyObject *pyobj;
12333
12334 {
12335#if wxUSE_UNICODE
12336 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12337#else
12338 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12339#endif
12340 }
12341 return pyobj;
12342}
12343
12344
12345static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
12346 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
12347 return 1;
12348}
12349
12350
12351static PyObject *_wrap_ART_MESSAGE_BOX_get() {
12352 PyObject *pyobj;
12353
12354 {
12355#if wxUSE_UNICODE
12356 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12357#else
12358 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12359#endif
12360 }
12361 return pyobj;
12362}
12363
12364
12365static int _wrap_ART_OTHER_set(PyObject *_val) {
12366 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
12367 return 1;
12368}
12369
12370
12371static PyObject *_wrap_ART_OTHER_get() {
12372 PyObject *pyobj;
12373
12374 {
12375#if wxUSE_UNICODE
12376 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12377#else
12378 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12379#endif
12380 }
12381 return pyobj;
12382}
12383
12384
12385static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
12386 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
12387 return 1;
12388}
12389
12390
12391static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
12392 PyObject *pyobj;
12393
12394 {
12395#if wxUSE_UNICODE
12396 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12397#else
12398 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12399#endif
12400 }
12401 return pyobj;
12402}
12403
12404
12405static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
12406 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
12407 return 1;
12408}
12409
12410
12411static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
12412 PyObject *pyobj;
12413
12414 {
12415#if wxUSE_UNICODE
12416 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12417#else
12418 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12419#endif
12420 }
12421 return pyobj;
12422}
12423
12424
12425static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
12426 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
12427 return 1;
12428}
12429
12430
12431static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
12432 PyObject *pyobj;
12433
12434 {
12435#if wxUSE_UNICODE
12436 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12437#else
12438 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12439#endif
12440 }
12441 return pyobj;
12442}
12443
12444
12445static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
12446 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
12447 return 1;
12448}
12449
12450
12451static PyObject *_wrap_ART_HELP_SETTINGS_get() {
12452 PyObject *pyobj;
12453
12454 {
12455#if wxUSE_UNICODE
12456 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12457#else
12458 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12459#endif
12460 }
12461 return pyobj;
12462}
12463
12464
12465static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
12466 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
12467 return 1;
12468}
12469
12470
12471static PyObject *_wrap_ART_HELP_BOOK_get() {
12472 PyObject *pyobj;
12473
12474 {
12475#if wxUSE_UNICODE
12476 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12477#else
12478 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12479#endif
12480 }
12481 return pyobj;
12482}
12483
12484
12485static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
12486 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
12487 return 1;
12488}
12489
12490
12491static PyObject *_wrap_ART_HELP_FOLDER_get() {
12492 PyObject *pyobj;
12493
12494 {
12495#if wxUSE_UNICODE
12496 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12497#else
12498 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12499#endif
12500 }
12501 return pyobj;
12502}
12503
12504
12505static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
12506 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
12507 return 1;
12508}
12509
12510
12511static PyObject *_wrap_ART_HELP_PAGE_get() {
12512 PyObject *pyobj;
12513
12514 {
12515#if wxUSE_UNICODE
12516 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12517#else
12518 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12519#endif
12520 }
12521 return pyobj;
12522}
12523
12524
12525static int _wrap_ART_GO_BACK_set(PyObject *_val) {
12526 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
12527 return 1;
12528}
12529
12530
12531static PyObject *_wrap_ART_GO_BACK_get() {
12532 PyObject *pyobj;
12533
12534 {
12535#if wxUSE_UNICODE
12536 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12537#else
12538 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12539#endif
12540 }
12541 return pyobj;
12542}
12543
12544
12545static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
12546 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
12547 return 1;
12548}
12549
12550
12551static PyObject *_wrap_ART_GO_FORWARD_get() {
12552 PyObject *pyobj;
12553
12554 {
12555#if wxUSE_UNICODE
12556 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12557#else
12558 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12559#endif
12560 }
12561 return pyobj;
12562}
12563
12564
12565static int _wrap_ART_GO_UP_set(PyObject *_val) {
12566 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
12567 return 1;
12568}
12569
12570
12571static PyObject *_wrap_ART_GO_UP_get() {
12572 PyObject *pyobj;
12573
12574 {
12575#if wxUSE_UNICODE
12576 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12577#else
12578 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12579#endif
12580 }
12581 return pyobj;
12582}
12583
12584
12585static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
12586 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
12587 return 1;
12588}
12589
12590
12591static PyObject *_wrap_ART_GO_DOWN_get() {
12592 PyObject *pyobj;
12593
12594 {
12595#if wxUSE_UNICODE
12596 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12597#else
12598 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12599#endif
12600 }
12601 return pyobj;
12602}
12603
12604
12605static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
12606 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
12607 return 1;
12608}
12609
12610
12611static PyObject *_wrap_ART_GO_TO_PARENT_get() {
12612 PyObject *pyobj;
12613
12614 {
12615#if wxUSE_UNICODE
12616 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12617#else
12618 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12619#endif
12620 }
12621 return pyobj;
12622}
12623
12624
12625static int _wrap_ART_GO_HOME_set(PyObject *_val) {
12626 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
12627 return 1;
12628}
12629
12630
12631static PyObject *_wrap_ART_GO_HOME_get() {
12632 PyObject *pyobj;
12633
12634 {
12635#if wxUSE_UNICODE
12636 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12637#else
12638 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12639#endif
12640 }
12641 return pyobj;
12642}
12643
12644
12645static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
12646 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
12647 return 1;
12648}
12649
12650
12651static PyObject *_wrap_ART_FILE_OPEN_get() {
12652 PyObject *pyobj;
12653
12654 {
12655#if wxUSE_UNICODE
12656 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12657#else
12658 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12659#endif
12660 }
12661 return pyobj;
12662}
12663
12664
12665static int _wrap_ART_PRINT_set(PyObject *_val) {
12666 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
12667 return 1;
12668}
12669
12670
12671static PyObject *_wrap_ART_PRINT_get() {
12672 PyObject *pyobj;
12673
12674 {
12675#if wxUSE_UNICODE
12676 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12677#else
12678 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12679#endif
12680 }
12681 return pyobj;
12682}
12683
12684
12685static int _wrap_ART_HELP_set(PyObject *_val) {
12686 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
12687 return 1;
12688}
12689
12690
12691static PyObject *_wrap_ART_HELP_get() {
12692 PyObject *pyobj;
12693
12694 {
12695#if wxUSE_UNICODE
12696 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12697#else
12698 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12699#endif
12700 }
12701 return pyobj;
12702}
12703
12704
12705static int _wrap_ART_TIP_set(PyObject *_val) {
12706 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
12707 return 1;
12708}
12709
12710
12711static PyObject *_wrap_ART_TIP_get() {
12712 PyObject *pyobj;
12713
12714 {
12715#if wxUSE_UNICODE
12716 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12717#else
12718 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12719#endif
12720 }
12721 return pyobj;
12722}
12723
12724
12725static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
12726 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
12727 return 1;
12728}
12729
12730
12731static PyObject *_wrap_ART_REPORT_VIEW_get() {
12732 PyObject *pyobj;
12733
12734 {
12735#if wxUSE_UNICODE
12736 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12737#else
12738 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12739#endif
12740 }
12741 return pyobj;
12742}
12743
12744
12745static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
12746 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
12747 return 1;
12748}
12749
12750
12751static PyObject *_wrap_ART_LIST_VIEW_get() {
12752 PyObject *pyobj;
12753
12754 {
12755#if wxUSE_UNICODE
12756 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12757#else
12758 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12759#endif
12760 }
12761 return pyobj;
12762}
12763
12764
12765static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
12766 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
12767 return 1;
12768}
12769
12770
12771static PyObject *_wrap_ART_NEW_DIR_get() {
12772 PyObject *pyobj;
12773
12774 {
12775#if wxUSE_UNICODE
12776 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12777#else
12778 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12779#endif
12780 }
12781 return pyobj;
12782}
12783
12784
12785static int _wrap_ART_FOLDER_set(PyObject *_val) {
12786 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
12787 return 1;
12788}
12789
12790
12791static PyObject *_wrap_ART_FOLDER_get() {
12792 PyObject *pyobj;
12793
12794 {
12795#if wxUSE_UNICODE
12796 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12797#else
12798 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12799#endif
12800 }
12801 return pyobj;
12802}
12803
12804
12805static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
12806 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
12807 return 1;
12808}
12809
12810
12811static PyObject *_wrap_ART_GO_DIR_UP_get() {
12812 PyObject *pyobj;
12813
12814 {
12815#if wxUSE_UNICODE
12816 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12817#else
12818 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12819#endif
12820 }
12821 return pyobj;
12822}
12823
12824
12825static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
12826 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
12827 return 1;
12828}
12829
12830
12831static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
12832 PyObject *pyobj;
12833
12834 {
12835#if wxUSE_UNICODE
12836 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12837#else
12838 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12839#endif
12840 }
12841 return pyobj;
12842}
12843
12844
12845static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
12846 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
12847 return 1;
12848}
12849
12850
12851static PyObject *_wrap_ART_NORMAL_FILE_get() {
12852 PyObject *pyobj;
12853
12854 {
12855#if wxUSE_UNICODE
12856 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12857#else
12858 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12859#endif
12860 }
12861 return pyobj;
12862}
12863
12864
12865static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
12866 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
12867 return 1;
12868}
12869
12870
12871static PyObject *_wrap_ART_TICK_MARK_get() {
12872 PyObject *pyobj;
12873
12874 {
12875#if wxUSE_UNICODE
12876 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12877#else
12878 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12879#endif
12880 }
12881 return pyobj;
12882}
12883
12884
12885static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
12886 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
12887 return 1;
12888}
12889
12890
12891static PyObject *_wrap_ART_CROSS_MARK_get() {
12892 PyObject *pyobj;
12893
12894 {
12895#if wxUSE_UNICODE
12896 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12897#else
12898 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12899#endif
12900 }
12901 return pyobj;
12902}
12903
12904
12905static int _wrap_ART_ERROR_set(PyObject *_val) {
12906 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
12907 return 1;
12908}
12909
12910
12911static PyObject *_wrap_ART_ERROR_get() {
12912 PyObject *pyobj;
12913
12914 {
12915#if wxUSE_UNICODE
12916 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12917#else
12918 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12919#endif
12920 }
12921 return pyobj;
12922}
12923
12924
12925static int _wrap_ART_QUESTION_set(PyObject *_val) {
12926 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
12927 return 1;
12928}
12929
12930
12931static PyObject *_wrap_ART_QUESTION_get() {
12932 PyObject *pyobj;
12933
12934 {
12935#if wxUSE_UNICODE
12936 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12937#else
12938 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12939#endif
12940 }
12941 return pyobj;
12942}
12943
12944
12945static int _wrap_ART_WARNING_set(PyObject *_val) {
12946 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
12947 return 1;
12948}
12949
12950
12951static PyObject *_wrap_ART_WARNING_get() {
12952 PyObject *pyobj;
12953
12954 {
12955#if wxUSE_UNICODE
12956 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12957#else
12958 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12959#endif
12960 }
12961 return pyobj;
12962}
12963
12964
12965static int _wrap_ART_INFORMATION_set(PyObject *_val) {
12966 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
12967 return 1;
12968}
12969
12970
12971static PyObject *_wrap_ART_INFORMATION_get() {
12972 PyObject *pyobj;
12973
12974 {
12975#if wxUSE_UNICODE
12976 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12977#else
12978 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12979#endif
12980 }
12981 return pyobj;
12982}
12983
12984
12985static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
12986 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
12987 return 1;
12988}
12989
12990
12991static PyObject *_wrap_ART_MISSING_IMAGE_get() {
12992 PyObject *pyobj;
12993
12994 {
12995#if wxUSE_UNICODE
12996 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
12997#else
12998 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
12999#endif
13000 }
13001 return pyobj;
13002}
13003
13004
13005static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13006 PyObject *resultobj;
13007 wxPyArtProvider *result;
13008 char *kwnames[] = {
13009 NULL
13010 };
13011
13012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
13013 {
13014 PyThreadState* __tstate = wxPyBeginAllowThreads();
13015 result = (wxPyArtProvider *)new wxPyArtProvider();
13016
13017 wxPyEndAllowThreads(__tstate);
13018 if (PyErr_Occurred()) SWIG_fail;
13019 }
13020 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyArtProvider, 1);
13021 return resultobj;
13022 fail:
13023 return NULL;
13024}
13025
13026
13027static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13028 PyObject *resultobj;
13029 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13030 PyObject *arg2 = (PyObject *) 0 ;
13031 PyObject *arg3 = (PyObject *) 0 ;
13032 PyObject * obj0 = 0 ;
13033 PyObject * obj1 = 0 ;
13034 PyObject * obj2 = 0 ;
13035 char *kwnames[] = {
13036 (char *) "self",(char *) "self",(char *) "_class", NULL
13037 };
13038
13039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13041 arg2 = obj1;
13042 arg3 = obj2;
13043 {
13044 PyThreadState* __tstate = wxPyBeginAllowThreads();
13045 (arg1)->_setCallbackInfo(arg2,arg3);
13046
13047 wxPyEndAllowThreads(__tstate);
13048 if (PyErr_Occurred()) SWIG_fail;
13049 }
13050 Py_INCREF(Py_None); resultobj = Py_None;
13051 return resultobj;
13052 fail:
13053 return NULL;
13054}
13055
13056
13057static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13058 PyObject *resultobj;
13059 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13060 PyObject * obj0 = 0 ;
13061 char *kwnames[] = {
13062 (char *) "provider", NULL
13063 };
13064
13065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
13066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13067 {
13068 PyThreadState* __tstate = wxPyBeginAllowThreads();
13069 wxPyArtProvider::PushProvider(arg1);
13070
13071 wxPyEndAllowThreads(__tstate);
13072 if (PyErr_Occurred()) SWIG_fail;
13073 }
13074 Py_INCREF(Py_None); resultobj = Py_None;
13075 return resultobj;
13076 fail:
13077 return NULL;
13078}
13079
13080
13081static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13082 PyObject *resultobj;
13083 bool result;
13084 char *kwnames[] = {
13085 NULL
13086 };
13087
13088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
13089 {
13090 PyThreadState* __tstate = wxPyBeginAllowThreads();
13091 result = (bool)wxPyArtProvider::PopProvider();
13092
13093 wxPyEndAllowThreads(__tstate);
13094 if (PyErr_Occurred()) SWIG_fail;
13095 }
13096 resultobj = PyInt_FromLong((long)result);
13097 return resultobj;
13098 fail:
13099 return NULL;
13100}
13101
13102
13103static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13104 PyObject *resultobj;
13105 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13106 bool result;
13107 PyObject * obj0 = 0 ;
13108 char *kwnames[] = {
13109 (char *) "provider", NULL
13110 };
13111
13112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
13113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13114 {
13115 PyThreadState* __tstate = wxPyBeginAllowThreads();
13116 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
13117
13118 wxPyEndAllowThreads(__tstate);
13119 if (PyErr_Occurred()) SWIG_fail;
13120 }
13121 resultobj = PyInt_FromLong((long)result);
13122 return resultobj;
13123 fail:
13124 return NULL;
13125}
13126
13127
13128static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13129 PyObject *resultobj;
13130 wxString *arg1 = 0 ;
13131 wxString const &arg2_defvalue = wxPyART_OTHER ;
13132 wxString *arg2 = (wxString *) &arg2_defvalue ;
13133 wxSize const &arg3_defvalue = wxDefaultSize ;
13134 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13135 wxBitmap result;
13136 bool temp1 = False ;
13137 bool temp2 = False ;
13138 wxSize temp3 ;
13139 PyObject * obj0 = 0 ;
13140 PyObject * obj1 = 0 ;
13141 PyObject * obj2 = 0 ;
13142 char *kwnames[] = {
13143 (char *) "id",(char *) "client",(char *) "size", NULL
13144 };
13145
13146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13147 {
13148 arg1 = wxString_in_helper(obj0);
13149 if (arg1 == NULL) SWIG_fail;
13150 temp1 = True;
13151 }
13152 if (obj1) {
13153 {
13154 arg2 = wxString_in_helper(obj1);
13155 if (arg2 == NULL) SWIG_fail;
13156 temp2 = True;
13157 }
13158 }
13159 if (obj2) {
13160 {
13161 arg3 = &temp3;
13162 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13163 }
13164 }
13165 {
13166 PyThreadState* __tstate = wxPyBeginAllowThreads();
13167 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13168
13169 wxPyEndAllowThreads(__tstate);
13170 if (PyErr_Occurred()) SWIG_fail;
13171 }
13172 {
13173 wxBitmap * resultptr;
13174 resultptr = new wxBitmap((wxBitmap &) result);
13175 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13176 }
13177 {
13178 if (temp1)
13179 delete arg1;
13180 }
13181 {
13182 if (temp2)
13183 delete arg2;
13184 }
13185 return resultobj;
13186 fail:
13187 {
13188 if (temp1)
13189 delete arg1;
13190 }
13191 {
13192 if (temp2)
13193 delete arg2;
13194 }
13195 return NULL;
13196}
13197
13198
13199static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
13200 PyObject *resultobj;
13201 wxString *arg1 = 0 ;
13202 wxString const &arg2_defvalue = wxPyART_OTHER ;
13203 wxString *arg2 = (wxString *) &arg2_defvalue ;
13204 wxSize const &arg3_defvalue = wxDefaultSize ;
13205 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13206 wxIcon result;
13207 bool temp1 = False ;
13208 bool temp2 = False ;
13209 wxSize temp3 ;
13210 PyObject * obj0 = 0 ;
13211 PyObject * obj1 = 0 ;
13212 PyObject * obj2 = 0 ;
13213 char *kwnames[] = {
13214 (char *) "id",(char *) "client",(char *) "size", NULL
13215 };
13216
13217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13218 {
13219 arg1 = wxString_in_helper(obj0);
13220 if (arg1 == NULL) SWIG_fail;
13221 temp1 = True;
13222 }
13223 if (obj1) {
13224 {
13225 arg2 = wxString_in_helper(obj1);
13226 if (arg2 == NULL) SWIG_fail;
13227 temp2 = True;
13228 }
13229 }
13230 if (obj2) {
13231 {
13232 arg3 = &temp3;
13233 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13234 }
13235 }
13236 {
13237 PyThreadState* __tstate = wxPyBeginAllowThreads();
13238 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13239
13240 wxPyEndAllowThreads(__tstate);
13241 if (PyErr_Occurred()) SWIG_fail;
13242 }
13243 {
13244 wxIcon * resultptr;
13245 resultptr = new wxIcon((wxIcon &) result);
13246 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
13247 }
13248 {
13249 if (temp1)
13250 delete arg1;
13251 }
13252 {
13253 if (temp2)
13254 delete arg2;
13255 }
13256 return resultobj;
13257 fail:
13258 {
13259 if (temp1)
13260 delete arg1;
13261 }
13262 {
13263 if (temp2)
13264 delete arg2;
13265 }
13266 return NULL;
13267}
13268
13269
13270static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
13271 PyObject *resultobj;
13272 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13273 PyObject * obj0 = 0 ;
13274 char *kwnames[] = {
13275 (char *) "self", NULL
13276 };
13277
13278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
13279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13280 {
13281 PyThreadState* __tstate = wxPyBeginAllowThreads();
13282 wxPyArtProvider_Destroy(arg1);
13283
13284 wxPyEndAllowThreads(__tstate);
13285 if (PyErr_Occurred()) SWIG_fail;
13286 }
13287 Py_INCREF(Py_None); resultobj = Py_None;
13288 return resultobj;
13289 fail:
13290 return NULL;
13291}
13292
13293
13294static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
13295 PyObject *obj;
13296 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13297 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
13298 Py_INCREF(obj);
13299 return Py_BuildValue((char *)"");
13300}
13301static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
13302 PyObject *resultobj;
13303 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13304 PyObject * obj0 = 0 ;
13305 char *kwnames[] = {
13306 (char *) "self", NULL
13307 };
13308
13309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
13310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13311 {
13312 PyThreadState* __tstate = wxPyBeginAllowThreads();
13313 delete arg1;
13314
13315 wxPyEndAllowThreads(__tstate);
13316 if (PyErr_Occurred()) SWIG_fail;
13317 }
13318 Py_INCREF(Py_None); resultobj = Py_None;
13319 return resultobj;
13320 fail:
13321 return NULL;
13322}
13323
13324
13325static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
13326 PyObject *resultobj;
13327 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13328 wxConfigBase *result;
13329 PyObject * obj0 = 0 ;
13330 char *kwnames[] = {
13331 (char *) "pConfig", NULL
13332 };
13333
13334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
13335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13336 {
13337 PyThreadState* __tstate = wxPyBeginAllowThreads();
13338 result = (wxConfigBase *)wxConfigBase::Set(arg1);
13339
13340 wxPyEndAllowThreads(__tstate);
13341 if (PyErr_Occurred()) SWIG_fail;
13342 }
13343 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13344 return resultobj;
13345 fail:
13346 return NULL;
13347}
13348
13349
13350static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
13351 PyObject *resultobj;
13352 bool arg1 = (bool) True ;
13353 wxConfigBase *result;
13354 PyObject * obj0 = 0 ;
13355 char *kwnames[] = {
13356 (char *) "createOnDemand", NULL
13357 };
13358
13359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
13360 if (obj0) {
13361 arg1 = PyInt_AsLong(obj0) ? true : false;
13362 if (PyErr_Occurred()) SWIG_fail;
13363 }
13364 {
13365 PyThreadState* __tstate = wxPyBeginAllowThreads();
13366 result = (wxConfigBase *)wxConfigBase::Get(arg1);
13367
13368 wxPyEndAllowThreads(__tstate);
13369 if (PyErr_Occurred()) SWIG_fail;
13370 }
13371 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13372 return resultobj;
13373 fail:
13374 return NULL;
13375}
13376
13377
13378static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13379 PyObject *resultobj;
13380 wxConfigBase *result;
13381 char *kwnames[] = {
13382 NULL
13383 };
13384
13385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
13386 {
13387 PyThreadState* __tstate = wxPyBeginAllowThreads();
13388 result = (wxConfigBase *)wxConfigBase::Create();
13389
13390 wxPyEndAllowThreads(__tstate);
13391 if (PyErr_Occurred()) SWIG_fail;
13392 }
13393 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13394 return resultobj;
13395 fail:
13396 return NULL;
13397}
13398
13399
13400static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
13401 PyObject *resultobj;
13402 char *kwnames[] = {
13403 NULL
13404 };
13405
13406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
13407 {
13408 PyThreadState* __tstate = wxPyBeginAllowThreads();
13409 wxConfigBase::DontCreateOnDemand();
13410
13411 wxPyEndAllowThreads(__tstate);
13412 if (PyErr_Occurred()) SWIG_fail;
13413 }
13414 Py_INCREF(Py_None); resultobj = Py_None;
13415 return resultobj;
13416 fail:
13417 return NULL;
13418}
13419
13420
13421static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13422 PyObject *resultobj;
13423 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13424 wxString *arg2 = 0 ;
13425 bool temp2 = False ;
13426 PyObject * obj0 = 0 ;
13427 PyObject * obj1 = 0 ;
13428 char *kwnames[] = {
13429 (char *) "self",(char *) "strPath", NULL
13430 };
13431
13432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
13433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13434 {
13435 arg2 = wxString_in_helper(obj1);
13436 if (arg2 == NULL) SWIG_fail;
13437 temp2 = True;
13438 }
13439 {
13440 PyThreadState* __tstate = wxPyBeginAllowThreads();
13441 (arg1)->SetPath((wxString const &)*arg2);
13442
13443 wxPyEndAllowThreads(__tstate);
13444 if (PyErr_Occurred()) SWIG_fail;
13445 }
13446 Py_INCREF(Py_None); resultobj = Py_None;
13447 {
13448 if (temp2)
13449 delete arg2;
13450 }
13451 return resultobj;
13452 fail:
13453 {
13454 if (temp2)
13455 delete arg2;
13456 }
13457 return NULL;
13458}
13459
13460
13461static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13462 PyObject *resultobj;
13463 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13464 wxString *result;
13465 PyObject * obj0 = 0 ;
13466 char *kwnames[] = {
13467 (char *) "self", NULL
13468 };
13469
13470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
13471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13472 {
13473 PyThreadState* __tstate = wxPyBeginAllowThreads();
13474 {
13475 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
13476 result = (wxString *) &_result_ref;
13477 }
13478
13479 wxPyEndAllowThreads(__tstate);
13480 if (PyErr_Occurred()) SWIG_fail;
13481 }
13482 {
13483#if wxUSE_UNICODE
13484 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13485#else
13486 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13487#endif
13488 }
13489 return resultobj;
13490 fail:
13491 return NULL;
13492}
13493
13494
13495static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13496 PyObject *resultobj;
13497 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13498 PyObject *result;
13499 PyObject * obj0 = 0 ;
13500 char *kwnames[] = {
13501 (char *) "self", NULL
13502 };
13503
13504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
13505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13506 {
13507 PyThreadState* __tstate = wxPyBeginAllowThreads();
13508 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
13509
13510 wxPyEndAllowThreads(__tstate);
13511 if (PyErr_Occurred()) SWIG_fail;
13512 }
13513 resultobj = result;
13514 return resultobj;
13515 fail:
13516 return NULL;
13517}
13518
13519
13520static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13521 PyObject *resultobj;
13522 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13523 long arg2 ;
13524 PyObject *result;
13525 PyObject * obj0 = 0 ;
13526 char *kwnames[] = {
13527 (char *) "self",(char *) "index", NULL
13528 };
13529
13530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextGroup",kwnames,&obj0,&arg2)) goto fail;
13531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13532 {
13533 PyThreadState* __tstate = wxPyBeginAllowThreads();
13534 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
13535
13536 wxPyEndAllowThreads(__tstate);
13537 if (PyErr_Occurred()) SWIG_fail;
13538 }
13539 resultobj = result;
13540 return resultobj;
13541 fail:
13542 return NULL;
13543}
13544
13545
13546static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13547 PyObject *resultobj;
13548 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13549 PyObject *result;
13550 PyObject * obj0 = 0 ;
13551 char *kwnames[] = {
13552 (char *) "self", NULL
13553 };
13554
13555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
13556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13557 {
13558 PyThreadState* __tstate = wxPyBeginAllowThreads();
13559 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
13560
13561 wxPyEndAllowThreads(__tstate);
13562 if (PyErr_Occurred()) SWIG_fail;
13563 }
13564 resultobj = result;
13565 return resultobj;
13566 fail:
13567 return NULL;
13568}
13569
13570
13571static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13572 PyObject *resultobj;
13573 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13574 long arg2 ;
13575 PyObject *result;
13576 PyObject * obj0 = 0 ;
13577 char *kwnames[] = {
13578 (char *) "self",(char *) "index", NULL
13579 };
13580
13581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextEntry",kwnames,&obj0,&arg2)) goto fail;
13582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13583 {
13584 PyThreadState* __tstate = wxPyBeginAllowThreads();
13585 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
13586
13587 wxPyEndAllowThreads(__tstate);
13588 if (PyErr_Occurred()) SWIG_fail;
13589 }
13590 resultobj = result;
13591 return resultobj;
13592 fail:
13593 return NULL;
13594}
13595
13596
13597static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
13598 PyObject *resultobj;
13599 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13600 bool arg2 = (bool) False ;
13601 size_t result;
13602 PyObject * obj0 = 0 ;
13603 PyObject * obj1 = 0 ;
13604 char *kwnames[] = {
13605 (char *) "self",(char *) "bRecursive", NULL
13606 };
13607
13608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
13609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13610 if (obj1) {
13611 arg2 = PyInt_AsLong(obj1) ? true : false;
13612 if (PyErr_Occurred()) SWIG_fail;
13613 }
13614 {
13615 PyThreadState* __tstate = wxPyBeginAllowThreads();
13616 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
13617
13618 wxPyEndAllowThreads(__tstate);
13619 if (PyErr_Occurred()) SWIG_fail;
13620 }
13621 resultobj = PyInt_FromLong((long)result);
13622 return resultobj;
13623 fail:
13624 return NULL;
13625}
13626
13627
13628static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
13629 PyObject *resultobj;
13630 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13631 bool arg2 = (bool) False ;
13632 size_t result;
13633 PyObject * obj0 = 0 ;
13634 PyObject * obj1 = 0 ;
13635 char *kwnames[] = {
13636 (char *) "self",(char *) "bRecursive", NULL
13637 };
13638
13639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
13640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13641 if (obj1) {
13642 arg2 = PyInt_AsLong(obj1) ? true : false;
13643 if (PyErr_Occurred()) SWIG_fail;
13644 }
13645 {
13646 PyThreadState* __tstate = wxPyBeginAllowThreads();
13647 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
13648
13649 wxPyEndAllowThreads(__tstate);
13650 if (PyErr_Occurred()) SWIG_fail;
13651 }
13652 resultobj = PyInt_FromLong((long)result);
13653 return resultobj;
13654 fail:
13655 return NULL;
13656}
13657
13658
13659static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13660 PyObject *resultobj;
13661 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13662 wxString *arg2 = 0 ;
13663 bool result;
13664 bool temp2 = False ;
13665 PyObject * obj0 = 0 ;
13666 PyObject * obj1 = 0 ;
13667 char *kwnames[] = {
13668 (char *) "self",(char *) "strName", NULL
13669 };
13670
13671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
13672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13673 {
13674 arg2 = wxString_in_helper(obj1);
13675 if (arg2 == NULL) SWIG_fail;
13676 temp2 = True;
13677 }
13678 {
13679 PyThreadState* __tstate = wxPyBeginAllowThreads();
13680 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
13681
13682 wxPyEndAllowThreads(__tstate);
13683 if (PyErr_Occurred()) SWIG_fail;
13684 }
13685 resultobj = PyInt_FromLong((long)result);
13686 {
13687 if (temp2)
13688 delete arg2;
13689 }
13690 return resultobj;
13691 fail:
13692 {
13693 if (temp2)
13694 delete arg2;
13695 }
13696 return NULL;
13697}
13698
13699
13700static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13701 PyObject *resultobj;
13702 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13703 wxString *arg2 = 0 ;
13704 bool result;
13705 bool temp2 = False ;
13706 PyObject * obj0 = 0 ;
13707 PyObject * obj1 = 0 ;
13708 char *kwnames[] = {
13709 (char *) "self",(char *) "strName", NULL
13710 };
13711
13712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
13713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13714 {
13715 arg2 = wxString_in_helper(obj1);
13716 if (arg2 == NULL) SWIG_fail;
13717 temp2 = True;
13718 }
13719 {
13720 PyThreadState* __tstate = wxPyBeginAllowThreads();
13721 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
13722
13723 wxPyEndAllowThreads(__tstate);
13724 if (PyErr_Occurred()) SWIG_fail;
13725 }
13726 resultobj = PyInt_FromLong((long)result);
13727 {
13728 if (temp2)
13729 delete arg2;
13730 }
13731 return resultobj;
13732 fail:
13733 {
13734 if (temp2)
13735 delete arg2;
13736 }
13737 return NULL;
13738}
13739
13740
13741static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
13742 PyObject *resultobj;
13743 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13744 wxString *arg2 = 0 ;
13745 bool result;
13746 bool temp2 = False ;
13747 PyObject * obj0 = 0 ;
13748 PyObject * obj1 = 0 ;
13749 char *kwnames[] = {
13750 (char *) "self",(char *) "strName", NULL
13751 };
13752
13753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
13754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13755 {
13756 arg2 = wxString_in_helper(obj1);
13757 if (arg2 == NULL) SWIG_fail;
13758 temp2 = True;
13759 }
13760 {
13761 PyThreadState* __tstate = wxPyBeginAllowThreads();
13762 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
13763
13764 wxPyEndAllowThreads(__tstate);
13765 if (PyErr_Occurred()) SWIG_fail;
13766 }
13767 resultobj = PyInt_FromLong((long)result);
13768 {
13769 if (temp2)
13770 delete arg2;
13771 }
13772 return resultobj;
13773 fail:
13774 {
13775 if (temp2)
13776 delete arg2;
13777 }
13778 return NULL;
13779}
13780
13781
13782static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
13783 PyObject *resultobj;
13784 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13785 wxString *arg2 = 0 ;
13786 int result;
13787 bool temp2 = False ;
13788 PyObject * obj0 = 0 ;
13789 PyObject * obj1 = 0 ;
13790 char *kwnames[] = {
13791 (char *) "self",(char *) "name", NULL
13792 };
13793
13794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
13795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13796 {
13797 arg2 = wxString_in_helper(obj1);
13798 if (arg2 == NULL) SWIG_fail;
13799 temp2 = True;
13800 }
13801 {
13802 PyThreadState* __tstate = wxPyBeginAllowThreads();
13803 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
13804
13805 wxPyEndAllowThreads(__tstate);
13806 if (PyErr_Occurred()) SWIG_fail;
13807 }
13808 resultobj = PyInt_FromLong((long)result);
13809 {
13810 if (temp2)
13811 delete arg2;
13812 }
13813 return resultobj;
13814 fail:
13815 {
13816 if (temp2)
13817 delete arg2;
13818 }
13819 return NULL;
13820}
13821
13822
13823static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
13824 PyObject *resultobj;
13825 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13826 wxString *arg2 = 0 ;
13827 wxString const &arg3_defvalue = wxPyEmptyString ;
13828 wxString *arg3 = (wxString *) &arg3_defvalue ;
13829 wxString result;
13830 bool temp2 = False ;
13831 bool temp3 = False ;
13832 PyObject * obj0 = 0 ;
13833 PyObject * obj1 = 0 ;
13834 PyObject * obj2 = 0 ;
13835 char *kwnames[] = {
13836 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13837 };
13838
13839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
13840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13841 {
13842 arg2 = wxString_in_helper(obj1);
13843 if (arg2 == NULL) SWIG_fail;
13844 temp2 = True;
13845 }
13846 if (obj2) {
13847 {
13848 arg3 = wxString_in_helper(obj2);
13849 if (arg3 == NULL) SWIG_fail;
13850 temp3 = True;
13851 }
13852 }
13853 {
13854 PyThreadState* __tstate = wxPyBeginAllowThreads();
13855 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
13856
13857 wxPyEndAllowThreads(__tstate);
13858 if (PyErr_Occurred()) SWIG_fail;
13859 }
13860 {
13861#if wxUSE_UNICODE
13862 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13863#else
13864 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13865#endif
13866 }
13867 {
13868 if (temp2)
13869 delete arg2;
13870 }
13871 {
13872 if (temp3)
13873 delete arg3;
13874 }
13875 return resultobj;
13876 fail:
13877 {
13878 if (temp2)
13879 delete arg2;
13880 }
13881 {
13882 if (temp3)
13883 delete arg3;
13884 }
13885 return NULL;
13886}
13887
13888
13889static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13890 PyObject *resultobj;
13891 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13892 wxString *arg2 = 0 ;
13893 long arg3 = (long) 0 ;
13894 long result;
13895 bool temp2 = False ;
13896 PyObject * obj0 = 0 ;
13897 PyObject * obj1 = 0 ;
13898 char *kwnames[] = {
13899 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13900 };
13901
13902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
13903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13904 {
13905 arg2 = wxString_in_helper(obj1);
13906 if (arg2 == NULL) SWIG_fail;
13907 temp2 = True;
13908 }
13909 {
13910 PyThreadState* __tstate = wxPyBeginAllowThreads();
13911 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
13912
13913 wxPyEndAllowThreads(__tstate);
13914 if (PyErr_Occurred()) SWIG_fail;
13915 }
13916 resultobj = PyInt_FromLong((long)result);
13917 {
13918 if (temp2)
13919 delete arg2;
13920 }
13921 return resultobj;
13922 fail:
13923 {
13924 if (temp2)
13925 delete arg2;
13926 }
13927 return NULL;
13928}
13929
13930
13931static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
13932 PyObject *resultobj;
13933 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13934 wxString *arg2 = 0 ;
13935 double arg3 = (double) 0.0 ;
13936 double result;
13937 bool temp2 = False ;
13938 PyObject * obj0 = 0 ;
13939 PyObject * obj1 = 0 ;
13940 char *kwnames[] = {
13941 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13942 };
13943
13944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|d:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
13945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13946 {
13947 arg2 = wxString_in_helper(obj1);
13948 if (arg2 == NULL) SWIG_fail;
13949 temp2 = True;
13950 }
13951 {
13952 PyThreadState* __tstate = wxPyBeginAllowThreads();
13953 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
13954
13955 wxPyEndAllowThreads(__tstate);
13956 if (PyErr_Occurred()) SWIG_fail;
13957 }
13958 resultobj = PyFloat_FromDouble(result);
13959 {
13960 if (temp2)
13961 delete arg2;
13962 }
13963 return resultobj;
13964 fail:
13965 {
13966 if (temp2)
13967 delete arg2;
13968 }
13969 return NULL;
13970}
13971
13972
13973static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
13974 PyObject *resultobj;
13975 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13976 wxString *arg2 = 0 ;
13977 bool arg3 = (bool) False ;
13978 bool result;
13979 bool temp2 = False ;
13980 PyObject * obj0 = 0 ;
13981 PyObject * obj1 = 0 ;
13982 PyObject * obj2 = 0 ;
13983 char *kwnames[] = {
13984 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13985 };
13986
13987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) 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 if (obj2) {
13995 arg3 = PyInt_AsLong(obj2) ? true : false;
13996 if (PyErr_Occurred()) SWIG_fail;
13997 }
13998 {
13999 PyThreadState* __tstate = wxPyBeginAllowThreads();
14000 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
14001
14002 wxPyEndAllowThreads(__tstate);
14003 if (PyErr_Occurred()) SWIG_fail;
14004 }
14005 resultobj = PyInt_FromLong((long)result);
14006 {
14007 if (temp2)
14008 delete arg2;
14009 }
14010 return resultobj;
14011 fail:
14012 {
14013 if (temp2)
14014 delete arg2;
14015 }
14016 return NULL;
14017}
14018
14019
14020static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
14021 PyObject *resultobj;
14022 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14023 wxString *arg2 = 0 ;
14024 wxString *arg3 = 0 ;
14025 bool result;
14026 bool temp2 = False ;
14027 bool temp3 = False ;
14028 PyObject * obj0 = 0 ;
14029 PyObject * obj1 = 0 ;
14030 PyObject * obj2 = 0 ;
14031 char *kwnames[] = {
14032 (char *) "self",(char *) "key",(char *) "value", NULL
14033 };
14034
14035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
14036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14037 {
14038 arg2 = wxString_in_helper(obj1);
14039 if (arg2 == NULL) SWIG_fail;
14040 temp2 = True;
14041 }
14042 {
14043 arg3 = wxString_in_helper(obj2);
14044 if (arg3 == NULL) SWIG_fail;
14045 temp3 = True;
14046 }
14047 {
14048 PyThreadState* __tstate = wxPyBeginAllowThreads();
14049 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
14050
14051 wxPyEndAllowThreads(__tstate);
14052 if (PyErr_Occurred()) SWIG_fail;
14053 }
14054 resultobj = PyInt_FromLong((long)result);
14055 {
14056 if (temp2)
14057 delete arg2;
14058 }
14059 {
14060 if (temp3)
14061 delete arg3;
14062 }
14063 return resultobj;
14064 fail:
14065 {
14066 if (temp2)
14067 delete arg2;
14068 }
14069 {
14070 if (temp3)
14071 delete arg3;
14072 }
14073 return NULL;
14074}
14075
14076
14077static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
14078 PyObject *resultobj;
14079 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14080 wxString *arg2 = 0 ;
14081 long arg3 ;
14082 bool result;
14083 bool temp2 = False ;
14084 PyObject * obj0 = 0 ;
14085 PyObject * obj1 = 0 ;
14086 char *kwnames[] = {
14087 (char *) "self",(char *) "key",(char *) "value", NULL
14088 };
14089
14090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
14091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14092 {
14093 arg2 = wxString_in_helper(obj1);
14094 if (arg2 == NULL) SWIG_fail;
14095 temp2 = True;
14096 }
14097 {
14098 PyThreadState* __tstate = wxPyBeginAllowThreads();
14099 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14100
14101 wxPyEndAllowThreads(__tstate);
14102 if (PyErr_Occurred()) SWIG_fail;
14103 }
14104 resultobj = PyInt_FromLong((long)result);
14105 {
14106 if (temp2)
14107 delete arg2;
14108 }
14109 return resultobj;
14110 fail:
14111 {
14112 if (temp2)
14113 delete arg2;
14114 }
14115 return NULL;
14116}
14117
14118
14119static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
14120 PyObject *resultobj;
14121 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14122 wxString *arg2 = 0 ;
14123 double arg3 ;
14124 bool result;
14125 bool temp2 = False ;
14126 PyObject * obj0 = 0 ;
14127 PyObject * obj1 = 0 ;
14128 char *kwnames[] = {
14129 (char *) "self",(char *) "key",(char *) "value", NULL
14130 };
14131
14132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
14133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14134 {
14135 arg2 = wxString_in_helper(obj1);
14136 if (arg2 == NULL) SWIG_fail;
14137 temp2 = True;
14138 }
14139 {
14140 PyThreadState* __tstate = wxPyBeginAllowThreads();
14141 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14142
14143 wxPyEndAllowThreads(__tstate);
14144 if (PyErr_Occurred()) SWIG_fail;
14145 }
14146 resultobj = PyInt_FromLong((long)result);
14147 {
14148 if (temp2)
14149 delete arg2;
14150 }
14151 return resultobj;
14152 fail:
14153 {
14154 if (temp2)
14155 delete arg2;
14156 }
14157 return NULL;
14158}
14159
14160
14161static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
14162 PyObject *resultobj;
14163 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14164 wxString *arg2 = 0 ;
14165 bool arg3 ;
14166 bool result;
14167 bool temp2 = False ;
14168 PyObject * obj0 = 0 ;
14169 PyObject * obj1 = 0 ;
14170 PyObject * obj2 = 0 ;
14171 char *kwnames[] = {
14172 (char *) "self",(char *) "key",(char *) "value", NULL
14173 };
14174
14175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
14176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14177 {
14178 arg2 = wxString_in_helper(obj1);
14179 if (arg2 == NULL) SWIG_fail;
14180 temp2 = True;
14181 }
14182 arg3 = PyInt_AsLong(obj2) ? true : false;
14183 if (PyErr_Occurred()) SWIG_fail;
14184 {
14185 PyThreadState* __tstate = wxPyBeginAllowThreads();
14186 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14187
14188 wxPyEndAllowThreads(__tstate);
14189 if (PyErr_Occurred()) SWIG_fail;
14190 }
14191 resultobj = PyInt_FromLong((long)result);
14192 {
14193 if (temp2)
14194 delete arg2;
14195 }
14196 return resultobj;
14197 fail:
14198 {
14199 if (temp2)
14200 delete arg2;
14201 }
14202 return NULL;
14203}
14204
14205
14206static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
14207 PyObject *resultobj;
14208 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14209 bool arg2 = (bool) False ;
14210 bool result;
14211 PyObject * obj0 = 0 ;
14212 PyObject * obj1 = 0 ;
14213 char *kwnames[] = {
14214 (char *) "self",(char *) "bCurrentOnly", NULL
14215 };
14216
14217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
14218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14219 if (obj1) {
14220 arg2 = PyInt_AsLong(obj1) ? true : false;
14221 if (PyErr_Occurred()) SWIG_fail;
14222 }
14223 {
14224 PyThreadState* __tstate = wxPyBeginAllowThreads();
14225 result = (bool)(arg1)->Flush(arg2);
14226
14227 wxPyEndAllowThreads(__tstate);
14228 if (PyErr_Occurred()) SWIG_fail;
14229 }
14230 resultobj = PyInt_FromLong((long)result);
14231 return resultobj;
14232 fail:
14233 return NULL;
14234}
14235
14236
14237static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14238 PyObject *resultobj;
14239 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14240 wxString *arg2 = 0 ;
14241 wxString *arg3 = 0 ;
14242 bool result;
14243 bool temp2 = False ;
14244 bool temp3 = False ;
14245 PyObject * obj0 = 0 ;
14246 PyObject * obj1 = 0 ;
14247 PyObject * obj2 = 0 ;
14248 char *kwnames[] = {
14249 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14250 };
14251
14252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14254 {
14255 arg2 = wxString_in_helper(obj1);
14256 if (arg2 == NULL) SWIG_fail;
14257 temp2 = True;
14258 }
14259 {
14260 arg3 = wxString_in_helper(obj2);
14261 if (arg3 == NULL) SWIG_fail;
14262 temp3 = True;
14263 }
14264 {
14265 PyThreadState* __tstate = wxPyBeginAllowThreads();
14266 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
14267
14268 wxPyEndAllowThreads(__tstate);
14269 if (PyErr_Occurred()) SWIG_fail;
14270 }
14271 resultobj = PyInt_FromLong((long)result);
14272 {
14273 if (temp2)
14274 delete arg2;
14275 }
14276 {
14277 if (temp3)
14278 delete arg3;
14279 }
14280 return resultobj;
14281 fail:
14282 {
14283 if (temp2)
14284 delete arg2;
14285 }
14286 {
14287 if (temp3)
14288 delete arg3;
14289 }
14290 return NULL;
14291}
14292
14293
14294static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14295 PyObject *resultobj;
14296 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14297 wxString *arg2 = 0 ;
14298 wxString *arg3 = 0 ;
14299 bool result;
14300 bool temp2 = False ;
14301 bool temp3 = False ;
14302 PyObject * obj0 = 0 ;
14303 PyObject * obj1 = 0 ;
14304 PyObject * obj2 = 0 ;
14305 char *kwnames[] = {
14306 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14307 };
14308
14309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
14310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14311 {
14312 arg2 = wxString_in_helper(obj1);
14313 if (arg2 == NULL) SWIG_fail;
14314 temp2 = True;
14315 }
14316 {
14317 arg3 = wxString_in_helper(obj2);
14318 if (arg3 == NULL) SWIG_fail;
14319 temp3 = True;
14320 }
14321 {
14322 PyThreadState* __tstate = wxPyBeginAllowThreads();
14323 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
14324
14325 wxPyEndAllowThreads(__tstate);
14326 if (PyErr_Occurred()) SWIG_fail;
14327 }
14328 resultobj = PyInt_FromLong((long)result);
14329 {
14330 if (temp2)
14331 delete arg2;
14332 }
14333 {
14334 if (temp3)
14335 delete arg3;
14336 }
14337 return resultobj;
14338 fail:
14339 {
14340 if (temp2)
14341 delete arg2;
14342 }
14343 {
14344 if (temp3)
14345 delete arg3;
14346 }
14347 return NULL;
14348}
14349
14350
14351static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14352 PyObject *resultobj;
14353 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14354 wxString *arg2 = 0 ;
14355 bool arg3 = (bool) True ;
14356 bool result;
14357 bool temp2 = False ;
14358 PyObject * obj0 = 0 ;
14359 PyObject * obj1 = 0 ;
14360 PyObject * obj2 = 0 ;
14361 char *kwnames[] = {
14362 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14363 };
14364
14365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14367 {
14368 arg2 = wxString_in_helper(obj1);
14369 if (arg2 == NULL) SWIG_fail;
14370 temp2 = True;
14371 }
14372 if (obj2) {
14373 arg3 = PyInt_AsLong(obj2) ? true : false;
14374 if (PyErr_Occurred()) SWIG_fail;
14375 }
14376 {
14377 PyThreadState* __tstate = wxPyBeginAllowThreads();
14378 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
14379
14380 wxPyEndAllowThreads(__tstate);
14381 if (PyErr_Occurred()) SWIG_fail;
14382 }
14383 resultobj = PyInt_FromLong((long)result);
14384 {
14385 if (temp2)
14386 delete arg2;
14387 }
14388 return resultobj;
14389 fail:
14390 {
14391 if (temp2)
14392 delete arg2;
14393 }
14394 return NULL;
14395}
14396
14397
14398static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14399 PyObject *resultobj;
14400 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14401 wxString *arg2 = 0 ;
14402 bool result;
14403 bool temp2 = False ;
14404 PyObject * obj0 = 0 ;
14405 PyObject * obj1 = 0 ;
14406 char *kwnames[] = {
14407 (char *) "self",(char *) "key", NULL
14408 };
14409
14410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
14411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14412 {
14413 arg2 = wxString_in_helper(obj1);
14414 if (arg2 == NULL) SWIG_fail;
14415 temp2 = True;
14416 }
14417 {
14418 PyThreadState* __tstate = wxPyBeginAllowThreads();
14419 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
14420
14421 wxPyEndAllowThreads(__tstate);
14422 if (PyErr_Occurred()) SWIG_fail;
14423 }
14424 resultobj = PyInt_FromLong((long)result);
14425 {
14426 if (temp2)
14427 delete arg2;
14428 }
14429 return resultobj;
14430 fail:
14431 {
14432 if (temp2)
14433 delete arg2;
14434 }
14435 return NULL;
14436}
14437
14438
14439static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
14440 PyObject *resultobj;
14441 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14442 bool result;
14443 PyObject * obj0 = 0 ;
14444 char *kwnames[] = {
14445 (char *) "self", NULL
14446 };
14447
14448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
14449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14450 {
14451 PyThreadState* __tstate = wxPyBeginAllowThreads();
14452 result = (bool)(arg1)->DeleteAll();
14453
14454 wxPyEndAllowThreads(__tstate);
14455 if (PyErr_Occurred()) SWIG_fail;
14456 }
14457 resultobj = PyInt_FromLong((long)result);
14458 return resultobj;
14459 fail:
14460 return NULL;
14461}
14462
14463
14464static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14465 PyObject *resultobj;
14466 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14467 bool result;
14468 PyObject * obj0 = 0 ;
14469 char *kwnames[] = {
14470 (char *) "self", NULL
14471 };
14472
14473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
14474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14475 {
14476 PyThreadState* __tstate = wxPyBeginAllowThreads();
14477 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
14478
14479 wxPyEndAllowThreads(__tstate);
14480 if (PyErr_Occurred()) SWIG_fail;
14481 }
14482 resultobj = PyInt_FromLong((long)result);
14483 return resultobj;
14484 fail:
14485 return NULL;
14486}
14487
14488
14489static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14490 PyObject *resultobj;
14491 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14492 bool arg2 = (bool) True ;
14493 PyObject * obj0 = 0 ;
14494 PyObject * obj1 = 0 ;
14495 char *kwnames[] = {
14496 (char *) "self",(char *) "bDoIt", NULL
14497 };
14498
14499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14501 if (obj1) {
14502 arg2 = PyInt_AsLong(obj1) ? true : false;
14503 if (PyErr_Occurred()) SWIG_fail;
14504 }
14505 {
14506 PyThreadState* __tstate = wxPyBeginAllowThreads();
14507 (arg1)->SetExpandEnvVars(arg2);
14508
14509 wxPyEndAllowThreads(__tstate);
14510 if (PyErr_Occurred()) SWIG_fail;
14511 }
14512 Py_INCREF(Py_None); resultobj = Py_None;
14513 return resultobj;
14514 fail:
14515 return NULL;
14516}
14517
14518
14519static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14520 PyObject *resultobj;
14521 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14522 bool arg2 = (bool) True ;
14523 PyObject * obj0 = 0 ;
14524 PyObject * obj1 = 0 ;
14525 char *kwnames[] = {
14526 (char *) "self",(char *) "bDoIt", NULL
14527 };
14528
14529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
14530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14531 if (obj1) {
14532 arg2 = PyInt_AsLong(obj1) ? true : false;
14533 if (PyErr_Occurred()) SWIG_fail;
14534 }
14535 {
14536 PyThreadState* __tstate = wxPyBeginAllowThreads();
14537 (arg1)->SetRecordDefaults(arg2);
14538
14539 wxPyEndAllowThreads(__tstate);
14540 if (PyErr_Occurred()) SWIG_fail;
14541 }
14542 Py_INCREF(Py_None); resultobj = Py_None;
14543 return resultobj;
14544 fail:
14545 return NULL;
14546}
14547
14548
14549static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14550 PyObject *resultobj;
14551 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14552 bool result;
14553 PyObject * obj0 = 0 ;
14554 char *kwnames[] = {
14555 (char *) "self", NULL
14556 };
14557
14558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
14559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14560 {
14561 PyThreadState* __tstate = wxPyBeginAllowThreads();
14562 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
14563
14564 wxPyEndAllowThreads(__tstate);
14565 if (PyErr_Occurred()) SWIG_fail;
14566 }
14567 resultobj = PyInt_FromLong((long)result);
14568 return resultobj;
14569 fail:
14570 return NULL;
14571}
14572
14573
14574static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14575 PyObject *resultobj;
14576 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14577 wxString *arg2 = 0 ;
14578 wxString result;
14579 bool temp2 = False ;
14580 PyObject * obj0 = 0 ;
14581 PyObject * obj1 = 0 ;
14582 char *kwnames[] = {
14583 (char *) "self",(char *) "str", NULL
14584 };
14585
14586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14588 {
14589 arg2 = wxString_in_helper(obj1);
14590 if (arg2 == NULL) SWIG_fail;
14591 temp2 = True;
14592 }
14593 {
14594 PyThreadState* __tstate = wxPyBeginAllowThreads();
14595 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
14596
14597 wxPyEndAllowThreads(__tstate);
14598 if (PyErr_Occurred()) SWIG_fail;
14599 }
14600 {
14601#if wxUSE_UNICODE
14602 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14603#else
14604 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14605#endif
14606 }
14607 {
14608 if (temp2)
14609 delete arg2;
14610 }
14611 return resultobj;
14612 fail:
14613 {
14614 if (temp2)
14615 delete arg2;
14616 }
14617 return NULL;
14618}
14619
14620
14621static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14622 PyObject *resultobj;
14623 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14624 wxString result;
14625 PyObject * obj0 = 0 ;
14626 char *kwnames[] = {
14627 (char *) "self", NULL
14628 };
14629
14630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
14631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14632 {
14633 PyThreadState* __tstate = wxPyBeginAllowThreads();
14634 result = ((wxConfigBase const *)arg1)->GetAppName();
14635
14636 wxPyEndAllowThreads(__tstate);
14637 if (PyErr_Occurred()) SWIG_fail;
14638 }
14639 {
14640#if wxUSE_UNICODE
14641 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14642#else
14643 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14644#endif
14645 }
14646 return resultobj;
14647 fail:
14648 return NULL;
14649}
14650
14651
14652static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14653 PyObject *resultobj;
14654 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14655 wxString result;
14656 PyObject * obj0 = 0 ;
14657 char *kwnames[] = {
14658 (char *) "self", NULL
14659 };
14660
14661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
14662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14663 {
14664 PyThreadState* __tstate = wxPyBeginAllowThreads();
14665 result = ((wxConfigBase const *)arg1)->GetVendorName();
14666
14667 wxPyEndAllowThreads(__tstate);
14668 if (PyErr_Occurred()) SWIG_fail;
14669 }
14670 {
14671#if wxUSE_UNICODE
14672 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14673#else
14674 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14675#endif
14676 }
14677 return resultobj;
14678 fail:
14679 return NULL;
14680}
14681
14682
14683static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14684 PyObject *resultobj;
14685 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14686 wxString *arg2 = 0 ;
14687 bool temp2 = False ;
14688 PyObject * obj0 = 0 ;
14689 PyObject * obj1 = 0 ;
14690 char *kwnames[] = {
14691 (char *) "self",(char *) "appName", NULL
14692 };
14693
14694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
14695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14696 {
14697 arg2 = wxString_in_helper(obj1);
14698 if (arg2 == NULL) SWIG_fail;
14699 temp2 = True;
14700 }
14701 {
14702 PyThreadState* __tstate = wxPyBeginAllowThreads();
14703 (arg1)->SetAppName((wxString const &)*arg2);
14704
14705 wxPyEndAllowThreads(__tstate);
14706 if (PyErr_Occurred()) SWIG_fail;
14707 }
14708 Py_INCREF(Py_None); resultobj = Py_None;
14709 {
14710 if (temp2)
14711 delete arg2;
14712 }
14713 return resultobj;
14714 fail:
14715 {
14716 if (temp2)
14717 delete arg2;
14718 }
14719 return NULL;
14720}
14721
14722
14723static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14724 PyObject *resultobj;
14725 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14726 wxString *arg2 = 0 ;
14727 bool temp2 = False ;
14728 PyObject * obj0 = 0 ;
14729 PyObject * obj1 = 0 ;
14730 char *kwnames[] = {
14731 (char *) "self",(char *) "vendorName", NULL
14732 };
14733
14734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
14735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14736 {
14737 arg2 = wxString_in_helper(obj1);
14738 if (arg2 == NULL) SWIG_fail;
14739 temp2 = True;
14740 }
14741 {
14742 PyThreadState* __tstate = wxPyBeginAllowThreads();
14743 (arg1)->SetVendorName((wxString const &)*arg2);
14744
14745 wxPyEndAllowThreads(__tstate);
14746 if (PyErr_Occurred()) SWIG_fail;
14747 }
14748 Py_INCREF(Py_None); resultobj = Py_None;
14749 {
14750 if (temp2)
14751 delete arg2;
14752 }
14753 return resultobj;
14754 fail:
14755 {
14756 if (temp2)
14757 delete arg2;
14758 }
14759 return NULL;
14760}
14761
14762
14763static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14764 PyObject *resultobj;
14765 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14766 long arg2 ;
14767 PyObject * obj0 = 0 ;
14768 char *kwnames[] = {
14769 (char *) "self",(char *) "style", NULL
14770 };
14771
14772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_SetStyle",kwnames,&obj0,&arg2)) goto fail;
14773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14774 {
14775 PyThreadState* __tstate = wxPyBeginAllowThreads();
14776 (arg1)->SetStyle(arg2);
14777
14778 wxPyEndAllowThreads(__tstate);
14779 if (PyErr_Occurred()) SWIG_fail;
14780 }
14781 Py_INCREF(Py_None); resultobj = Py_None;
14782 return resultobj;
14783 fail:
14784 return NULL;
14785}
14786
14787
14788static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14789 PyObject *resultobj;
14790 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14791 long result;
14792 PyObject * obj0 = 0 ;
14793 char *kwnames[] = {
14794 (char *) "self", NULL
14795 };
14796
14797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
14798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14799 {
14800 PyThreadState* __tstate = wxPyBeginAllowThreads();
14801 result = (long)((wxConfigBase const *)arg1)->GetStyle();
14802
14803 wxPyEndAllowThreads(__tstate);
14804 if (PyErr_Occurred()) SWIG_fail;
14805 }
14806 resultobj = PyInt_FromLong((long)result);
14807 return resultobj;
14808 fail:
14809 return NULL;
14810}
14811
14812
14813static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
14814 PyObject *obj;
14815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14816 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
14817 Py_INCREF(obj);
14818 return Py_BuildValue((char *)"");
14819}
14820static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14821 PyObject *resultobj;
14822 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14823 wxString *arg2 = 0 ;
14824 wxConfigPathChanger *result;
14825 bool temp2 = False ;
14826 PyObject * obj0 = 0 ;
14827 PyObject * obj1 = 0 ;
14828 char *kwnames[] = {
14829 (char *) "pContainer",(char *) "strEntry", NULL
14830 };
14831
14832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
14833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14834 {
14835 arg2 = wxString_in_helper(obj1);
14836 if (arg2 == NULL) SWIG_fail;
14837 temp2 = True;
14838 }
14839 {
14840 PyThreadState* __tstate = wxPyBeginAllowThreads();
14841 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
14842
14843 wxPyEndAllowThreads(__tstate);
14844 if (PyErr_Occurred()) SWIG_fail;
14845 }
14846 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigPathChanger, 1);
14847 {
14848 if (temp2)
14849 delete arg2;
14850 }
14851 return resultobj;
14852 fail:
14853 {
14854 if (temp2)
14855 delete arg2;
14856 }
14857 return NULL;
14858}
14859
14860
14861static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14862 PyObject *resultobj;
14863 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14864 PyObject * obj0 = 0 ;
14865 char *kwnames[] = {
14866 (char *) "self", NULL
14867 };
14868
14869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
14870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14871 {
14872 PyThreadState* __tstate = wxPyBeginAllowThreads();
14873 delete arg1;
14874
14875 wxPyEndAllowThreads(__tstate);
14876 if (PyErr_Occurred()) SWIG_fail;
14877 }
14878 Py_INCREF(Py_None); resultobj = Py_None;
14879 return resultobj;
14880 fail:
14881 return NULL;
14882}
14883
14884
14885static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
14886 PyObject *resultobj;
14887 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14888 wxString *result;
14889 PyObject * obj0 = 0 ;
14890 char *kwnames[] = {
14891 (char *) "self", NULL
14892 };
14893
14894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
14895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14896 {
14897 PyThreadState* __tstate = wxPyBeginAllowThreads();
14898 {
14899 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
14900 result = (wxString *) &_result_ref;
14901 }
14902
14903 wxPyEndAllowThreads(__tstate);
14904 if (PyErr_Occurred()) SWIG_fail;
14905 }
14906 {
14907#if wxUSE_UNICODE
14908 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14909#else
14910 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14911#endif
14912 }
14913 return resultobj;
14914 fail:
14915 return NULL;
14916}
14917
14918
14919static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
14920 PyObject *obj;
14921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14922 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
14923 Py_INCREF(obj);
14924 return Py_BuildValue((char *)"");
14925}
14926static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
14927 PyObject *resultobj;
14928 wxString const &arg1_defvalue = wxPyEmptyString ;
14929 wxString *arg1 = (wxString *) &arg1_defvalue ;
14930 wxString const &arg2_defvalue = wxPyEmptyString ;
14931 wxString *arg2 = (wxString *) &arg2_defvalue ;
14932 wxString const &arg3_defvalue = wxPyEmptyString ;
14933 wxString *arg3 = (wxString *) &arg3_defvalue ;
14934 wxString const &arg4_defvalue = wxPyEmptyString ;
14935 wxString *arg4 = (wxString *) &arg4_defvalue ;
14936 long arg5 = (long) 0 ;
14937 wxConfig *result;
14938 bool temp1 = False ;
14939 bool temp2 = False ;
14940 bool temp3 = False ;
14941 bool temp4 = False ;
14942 PyObject * obj0 = 0 ;
14943 PyObject * obj1 = 0 ;
14944 PyObject * obj2 = 0 ;
14945 PyObject * obj3 = 0 ;
14946 char *kwnames[] = {
14947 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14948 };
14949
14950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
14951 if (obj0) {
14952 {
14953 arg1 = wxString_in_helper(obj0);
14954 if (arg1 == NULL) SWIG_fail;
14955 temp1 = True;
14956 }
14957 }
14958 if (obj1) {
14959 {
14960 arg2 = wxString_in_helper(obj1);
14961 if (arg2 == NULL) SWIG_fail;
14962 temp2 = True;
14963 }
14964 }
14965 if (obj2) {
14966 {
14967 arg3 = wxString_in_helper(obj2);
14968 if (arg3 == NULL) SWIG_fail;
14969 temp3 = True;
14970 }
14971 }
14972 if (obj3) {
14973 {
14974 arg4 = wxString_in_helper(obj3);
14975 if (arg4 == NULL) SWIG_fail;
14976 temp4 = True;
14977 }
14978 }
14979 {
14980 PyThreadState* __tstate = wxPyBeginAllowThreads();
14981 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
14982
14983 wxPyEndAllowThreads(__tstate);
14984 if (PyErr_Occurred()) SWIG_fail;
14985 }
14986 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfig, 1);
14987 {
14988 if (temp1)
14989 delete arg1;
14990 }
14991 {
14992 if (temp2)
14993 delete arg2;
14994 }
14995 {
14996 if (temp3)
14997 delete arg3;
14998 }
14999 {
15000 if (temp4)
15001 delete arg4;
15002 }
15003 return resultobj;
15004 fail:
15005 {
15006 if (temp1)
15007 delete arg1;
15008 }
15009 {
15010 if (temp2)
15011 delete arg2;
15012 }
15013 {
15014 if (temp3)
15015 delete arg3;
15016 }
15017 {
15018 if (temp4)
15019 delete arg4;
15020 }
15021 return NULL;
15022}
15023
15024
15025static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
15026 PyObject *resultobj;
15027 wxConfig *arg1 = (wxConfig *) 0 ;
15028 PyObject * obj0 = 0 ;
15029 char *kwnames[] = {
15030 (char *) "self", NULL
15031 };
15032
15033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
15034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15035 {
15036 PyThreadState* __tstate = wxPyBeginAllowThreads();
15037 delete arg1;
15038
15039 wxPyEndAllowThreads(__tstate);
15040 if (PyErr_Occurred()) SWIG_fail;
15041 }
15042 Py_INCREF(Py_None); resultobj = Py_None;
15043 return resultobj;
15044 fail:
15045 return NULL;
15046}
15047
15048
15049static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
15050 PyObject *obj;
15051 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15052 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
15053 Py_INCREF(obj);
15054 return Py_BuildValue((char *)"");
15055}
15056static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
15057 PyObject *resultobj;
15058 wxString const &arg1_defvalue = wxPyEmptyString ;
15059 wxString *arg1 = (wxString *) &arg1_defvalue ;
15060 wxString const &arg2_defvalue = wxPyEmptyString ;
15061 wxString *arg2 = (wxString *) &arg2_defvalue ;
15062 wxString const &arg3_defvalue = wxPyEmptyString ;
15063 wxString *arg3 = (wxString *) &arg3_defvalue ;
15064 wxString const &arg4_defvalue = wxPyEmptyString ;
15065 wxString *arg4 = (wxString *) &arg4_defvalue ;
15066 long arg5 = (long) 0 ;
15067 wxFileConfig *result;
15068 bool temp1 = False ;
15069 bool temp2 = False ;
15070 bool temp3 = False ;
15071 bool temp4 = False ;
15072 PyObject * obj0 = 0 ;
15073 PyObject * obj1 = 0 ;
15074 PyObject * obj2 = 0 ;
15075 PyObject * obj3 = 0 ;
15076 char *kwnames[] = {
15077 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15078 };
15079
15080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
15081 if (obj0) {
15082 {
15083 arg1 = wxString_in_helper(obj0);
15084 if (arg1 == NULL) SWIG_fail;
15085 temp1 = True;
15086 }
15087 }
15088 if (obj1) {
15089 {
15090 arg2 = wxString_in_helper(obj1);
15091 if (arg2 == NULL) SWIG_fail;
15092 temp2 = True;
15093 }
15094 }
15095 if (obj2) {
15096 {
15097 arg3 = wxString_in_helper(obj2);
15098 if (arg3 == NULL) SWIG_fail;
15099 temp3 = True;
15100 }
15101 }
15102 if (obj3) {
15103 {
15104 arg4 = wxString_in_helper(obj3);
15105 if (arg4 == NULL) SWIG_fail;
15106 temp4 = True;
15107 }
15108 }
15109 {
15110 PyThreadState* __tstate = wxPyBeginAllowThreads();
15111 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
15112
15113 wxPyEndAllowThreads(__tstate);
15114 if (PyErr_Occurred()) SWIG_fail;
15115 }
15116 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileConfig, 1);
15117 {
15118 if (temp1)
15119 delete arg1;
15120 }
15121 {
15122 if (temp2)
15123 delete arg2;
15124 }
15125 {
15126 if (temp3)
15127 delete arg3;
15128 }
15129 {
15130 if (temp4)
15131 delete arg4;
15132 }
15133 return resultobj;
15134 fail:
15135 {
15136 if (temp1)
15137 delete arg1;
15138 }
15139 {
15140 if (temp2)
15141 delete arg2;
15142 }
15143 {
15144 if (temp3)
15145 delete arg3;
15146 }
15147 {
15148 if (temp4)
15149 delete arg4;
15150 }
15151 return NULL;
15152}
15153
15154
15155static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
15156 PyObject *resultobj;
15157 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
15158 PyObject * obj0 = 0 ;
15159 char *kwnames[] = {
15160 (char *) "self", NULL
15161 };
15162
15163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
15164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15165 {
15166 PyThreadState* __tstate = wxPyBeginAllowThreads();
15167 delete arg1;
15168
15169 wxPyEndAllowThreads(__tstate);
15170 if (PyErr_Occurred()) SWIG_fail;
15171 }
15172 Py_INCREF(Py_None); resultobj = Py_None;
15173 return resultobj;
15174 fail:
15175 return NULL;
15176}
15177
15178
15179static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
15180 PyObject *obj;
15181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15182 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
15183 Py_INCREF(obj);
15184 return Py_BuildValue((char *)"");
15185}
15186static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15187 PyObject *resultobj;
15188 wxString *arg1 = 0 ;
15189 wxString result;
15190 bool temp1 = False ;
15191 PyObject * obj0 = 0 ;
15192 char *kwnames[] = {
15193 (char *) "sz", NULL
15194 };
15195
15196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
15197 {
15198 arg1 = wxString_in_helper(obj0);
15199 if (arg1 == NULL) SWIG_fail;
15200 temp1 = True;
15201 }
15202 {
15203 PyThreadState* __tstate = wxPyBeginAllowThreads();
15204 result = wxExpandEnvVars((wxString const &)*arg1);
15205
15206 wxPyEndAllowThreads(__tstate);
15207 if (PyErr_Occurred()) SWIG_fail;
15208 }
15209 {
15210#if wxUSE_UNICODE
15211 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15212#else
15213 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15214#endif
15215 }
15216 {
15217 if (temp1)
15218 delete arg1;
15219 }
15220 return resultobj;
15221 fail:
15222 {
15223 if (temp1)
15224 delete arg1;
15225 }
15226 return NULL;
15227}
15228
15229
15230static int _wrap_DateFormatStr_set(PyObject *_val) {
15231 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
15232 return 1;
15233}
15234
15235
15236static PyObject *_wrap_DateFormatStr_get() {
15237 PyObject *pyobj;
15238
15239 {
15240#if wxUSE_UNICODE
15241 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
15242#else
15243 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
15244#endif
15245 }
15246 return pyobj;
15247}
15248
15249
15250static int _wrap_TimeSpanFormatStr_set(PyObject *_val) {
15251 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
15252 return 1;
15253}
15254
15255
15256static PyObject *_wrap_TimeSpanFormatStr_get() {
15257 PyObject *pyobj;
15258
15259 {
15260#if wxUSE_UNICODE
15261 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
15262#else
15263 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
15264#endif
15265 }
15266 return pyobj;
15267}
15268
15269
15270static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15271 PyObject *resultobj;
15272 int arg1 ;
15273 char *kwnames[] = {
15274 (char *) "country", NULL
15275 };
15276
15277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_SetCountry",kwnames,&arg1)) goto fail;
15278 {
15279 PyThreadState* __tstate = wxPyBeginAllowThreads();
15280 wxDateTime::SetCountry((wxDateTime::Country )arg1);
15281
15282 wxPyEndAllowThreads(__tstate);
15283 if (PyErr_Occurred()) SWIG_fail;
15284 }
15285 Py_INCREF(Py_None); resultobj = Py_None;
15286 return resultobj;
15287 fail:
15288 return NULL;
15289}
15290
15291
15292static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15293 PyObject *resultobj;
15294 int result;
15295 char *kwnames[] = {
15296 NULL
15297 };
15298
15299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
15300 {
15301 PyThreadState* __tstate = wxPyBeginAllowThreads();
15302 result = (int)wxDateTime::GetCountry();
15303
15304 wxPyEndAllowThreads(__tstate);
15305 if (PyErr_Occurred()) SWIG_fail;
15306 }
15307 resultobj = PyInt_FromLong((long)result);
15308 return resultobj;
15309 fail:
15310 return NULL;
15311}
15312
15313
15314static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15315 PyObject *resultobj;
15316 int arg1 = (int) wxDateTime::Country_Default ;
15317 bool result;
15318 char *kwnames[] = {
15319 (char *) "country", NULL
15320 };
15321
15322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames,&arg1)) goto fail;
15323 {
15324 PyThreadState* __tstate = wxPyBeginAllowThreads();
15325 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
15326
15327 wxPyEndAllowThreads(__tstate);
15328 if (PyErr_Occurred()) SWIG_fail;
15329 }
15330 resultobj = PyInt_FromLong((long)result);
15331 return resultobj;
15332 fail:
15333 return NULL;
15334}
15335
15336
15337static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15338 PyObject *resultobj;
15339 int arg1 = (int) wxDateTime::Gregorian ;
15340 int result;
15341 char *kwnames[] = {
15342 (char *) "cal", NULL
15343 };
15344
15345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentYear",kwnames,&arg1)) goto fail;
15346 {
15347 PyThreadState* __tstate = wxPyBeginAllowThreads();
15348 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
15349
15350 wxPyEndAllowThreads(__tstate);
15351 if (PyErr_Occurred()) SWIG_fail;
15352 }
15353 resultobj = PyInt_FromLong((long)result);
15354 return resultobj;
15355 fail:
15356 return NULL;
15357}
15358
15359
15360static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
15361 PyObject *resultobj;
15362 int arg1 ;
15363 int result;
15364 char *kwnames[] = {
15365 (char *) "year", NULL
15366 };
15367
15368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_ConvertYearToBC",kwnames,&arg1)) goto fail;
15369 {
15370 PyThreadState* __tstate = wxPyBeginAllowThreads();
15371 result = (int)wxDateTime::ConvertYearToBC(arg1);
15372
15373 wxPyEndAllowThreads(__tstate);
15374 if (PyErr_Occurred()) SWIG_fail;
15375 }
15376 resultobj = PyInt_FromLong((long)result);
15377 return resultobj;
15378 fail:
15379 return NULL;
15380}
15381
15382
15383static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15384 PyObject *resultobj;
15385 int arg1 = (int) wxDateTime::Gregorian ;
15386 int result;
15387 char *kwnames[] = {
15388 (char *) "cal", NULL
15389 };
15390
15391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentMonth",kwnames,&arg1)) goto fail;
15392 {
15393 PyThreadState* __tstate = wxPyBeginAllowThreads();
15394 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
15395
15396 wxPyEndAllowThreads(__tstate);
15397 if (PyErr_Occurred()) SWIG_fail;
15398 }
15399 resultobj = PyInt_FromLong((long)result);
15400 return resultobj;
15401 fail:
15402 return NULL;
15403}
15404
15405
15406static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15407 PyObject *resultobj;
15408 int arg1 = (int) wxDateTime::Inv_Year ;
15409 int arg2 = (int) wxDateTime::Gregorian ;
15410 bool result;
15411 char *kwnames[] = {
15412 (char *) "year",(char *) "cal", NULL
15413 };
15414
15415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsLeapYear",kwnames,&arg1,&arg2)) goto fail;
15416 {
15417 PyThreadState* __tstate = wxPyBeginAllowThreads();
15418 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
15419
15420 wxPyEndAllowThreads(__tstate);
15421 if (PyErr_Occurred()) SWIG_fail;
15422 }
15423 resultobj = PyInt_FromLong((long)result);
15424 return resultobj;
15425 fail:
15426 return NULL;
15427}
15428
15429
15430static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
15431 PyObject *resultobj;
15432 int arg1 = (int) wxDateTime::Inv_Year ;
15433 int result;
15434 char *kwnames[] = {
15435 (char *) "year", NULL
15436 };
15437
15438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCentury",kwnames,&arg1)) goto fail;
15439 {
15440 PyThreadState* __tstate = wxPyBeginAllowThreads();
15441 result = (int)wxDateTime::GetCentury(arg1);
15442
15443 wxPyEndAllowThreads(__tstate);
15444 if (PyErr_Occurred()) SWIG_fail;
15445 }
15446 resultobj = PyInt_FromLong((long)result);
15447 return resultobj;
15448 fail:
15449 return NULL;
15450}
15451
15452
15453static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15454 PyObject *resultobj;
15455 int arg1 ;
15456 int arg2 = (int) wxDateTime::Gregorian ;
15457 int result;
15458 char *kwnames[] = {
15459 (char *) "year",(char *) "cal", NULL
15460 };
15461
15462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames,&arg1,&arg2)) goto fail;
15463 {
15464 PyThreadState* __tstate = wxPyBeginAllowThreads();
15465 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
15466
15467 wxPyEndAllowThreads(__tstate);
15468 if (PyErr_Occurred()) SWIG_fail;
15469 }
15470 resultobj = PyInt_FromLong((long)result);
15471 return resultobj;
15472 fail:
15473 return NULL;
15474}
15475
15476
15477static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15478 PyObject *resultobj;
15479 int arg1 ;
15480 int arg2 = (int) wxDateTime::Inv_Year ;
15481 int arg3 = (int) wxDateTime::Gregorian ;
15482 int result;
15483 char *kwnames[] = {
15484 (char *) "month",(char *) "year",(char *) "cal", NULL
15485 };
15486
15487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames,&arg1,&arg2,&arg3)) goto fail;
15488 {
15489 PyThreadState* __tstate = wxPyBeginAllowThreads();
15490 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
15491
15492 wxPyEndAllowThreads(__tstate);
15493 if (PyErr_Occurred()) SWIG_fail;
15494 }
15495 resultobj = PyInt_FromLong((long)result);
15496 return resultobj;
15497 fail:
15498 return NULL;
15499}
15500
15501
15502static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
15503 PyObject *resultobj;
15504 int arg1 ;
15505 int arg2 = (int) wxDateTime::Name_Full ;
15506 wxString result;
15507 char *kwnames[] = {
15508 (char *) "month",(char *) "flags", NULL
15509 };
15510
15511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetMonthName",kwnames,&arg1,&arg2)) goto fail;
15512 {
15513 PyThreadState* __tstate = wxPyBeginAllowThreads();
15514 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
15515
15516 wxPyEndAllowThreads(__tstate);
15517 if (PyErr_Occurred()) SWIG_fail;
15518 }
15519 {
15520#if wxUSE_UNICODE
15521 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15522#else
15523 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15524#endif
15525 }
15526 return resultobj;
15527 fail:
15528 return NULL;
15529}
15530
15531
15532static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
15533 PyObject *resultobj;
15534 int arg1 ;
15535 int arg2 = (int) wxDateTime::Name_Full ;
15536 wxString result;
15537 char *kwnames[] = {
15538 (char *) "weekday",(char *) "flags", NULL
15539 };
15540
15541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetWeekDayName",kwnames,&arg1,&arg2)) goto fail;
15542 {
15543 PyThreadState* __tstate = wxPyBeginAllowThreads();
15544 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
15545
15546 wxPyEndAllowThreads(__tstate);
15547 if (PyErr_Occurred()) SWIG_fail;
15548 }
15549 {
15550#if wxUSE_UNICODE
15551 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15552#else
15553 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15554#endif
15555 }
15556 return resultobj;
15557 fail:
15558 return NULL;
15559}
15560
15561
15562static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
15563 PyObject *resultobj;
15564 wxString *arg1 = (wxString *) 0 ;
15565 wxString *arg2 = (wxString *) 0 ;
15566 PyObject * obj0 = 0 ;
15567 PyObject * obj1 = 0 ;
15568 char *kwnames[] = {
15569 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15570 };
15571
15572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
15573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15574 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15575 {
15576 PyThreadState* __tstate = wxPyBeginAllowThreads();
15577 wxDateTime::GetAmPmStrings(arg1,arg2);
15578
15579 wxPyEndAllowThreads(__tstate);
15580 if (PyErr_Occurred()) SWIG_fail;
15581 }
15582 Py_INCREF(Py_None); resultobj = Py_None;
15583 return resultobj;
15584 fail:
15585 return NULL;
15586}
15587
15588
15589static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
15590 PyObject *resultobj;
15591 int arg1 = (int) wxDateTime::Inv_Year ;
15592 int arg2 = (int) wxDateTime::Country_Default ;
15593 bool result;
15594 char *kwnames[] = {
15595 (char *) "year",(char *) "country", NULL
15596 };
15597
15598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsDSTApplicable",kwnames,&arg1,&arg2)) goto fail;
15599 {
15600 PyThreadState* __tstate = wxPyBeginAllowThreads();
15601 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
15602
15603 wxPyEndAllowThreads(__tstate);
15604 if (PyErr_Occurred()) SWIG_fail;
15605 }
15606 resultobj = PyInt_FromLong((long)result);
15607 return resultobj;
15608 fail:
15609 return NULL;
15610}
15611
15612
15613static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15614 PyObject *resultobj;
15615 int arg1 = (int) wxDateTime::Inv_Year ;
15616 int arg2 = (int) wxDateTime::Country_Default ;
15617 wxDateTime result;
15618 char *kwnames[] = {
15619 (char *) "year",(char *) "country", NULL
15620 };
15621
15622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetBeginDST",kwnames,&arg1,&arg2)) goto fail;
15623 {
15624 PyThreadState* __tstate = wxPyBeginAllowThreads();
15625 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
15626
15627 wxPyEndAllowThreads(__tstate);
15628 if (PyErr_Occurred()) SWIG_fail;
15629 }
15630 {
15631 wxDateTime * resultptr;
15632 resultptr = new wxDateTime((wxDateTime &) result);
15633 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15634 }
15635 return resultobj;
15636 fail:
15637 return NULL;
15638}
15639
15640
15641static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15642 PyObject *resultobj;
15643 int arg1 = (int) wxDateTime::Inv_Year ;
15644 int arg2 = (int) wxDateTime::Country_Default ;
15645 wxDateTime result;
15646 char *kwnames[] = {
15647 (char *) "year",(char *) "country", NULL
15648 };
15649
15650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetEndDST",kwnames,&arg1,&arg2)) goto fail;
15651 {
15652 PyThreadState* __tstate = wxPyBeginAllowThreads();
15653 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
15654
15655 wxPyEndAllowThreads(__tstate);
15656 if (PyErr_Occurred()) SWIG_fail;
15657 }
15658 {
15659 wxDateTime * resultptr;
15660 resultptr = new wxDateTime((wxDateTime &) result);
15661 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15662 }
15663 return resultobj;
15664 fail:
15665 return NULL;
15666}
15667
15668
15669static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
15670 PyObject *resultobj;
15671 wxDateTime result;
15672 char *kwnames[] = {
15673 NULL
15674 };
15675
15676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
15677 {
15678 PyThreadState* __tstate = wxPyBeginAllowThreads();
15679 result = wxDateTime::Now();
15680
15681 wxPyEndAllowThreads(__tstate);
15682 if (PyErr_Occurred()) SWIG_fail;
15683 }
15684 {
15685 wxDateTime * resultptr;
15686 resultptr = new wxDateTime((wxDateTime &) result);
15687 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15688 }
15689 return resultobj;
15690 fail:
15691 return NULL;
15692}
15693
15694
15695static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
15696 PyObject *resultobj;
15697 wxDateTime result;
15698 char *kwnames[] = {
15699 NULL
15700 };
15701
15702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
15703 {
15704 PyThreadState* __tstate = wxPyBeginAllowThreads();
15705 result = wxDateTime::UNow();
15706
15707 wxPyEndAllowThreads(__tstate);
15708 if (PyErr_Occurred()) SWIG_fail;
15709 }
15710 {
15711 wxDateTime * resultptr;
15712 resultptr = new wxDateTime((wxDateTime &) result);
15713 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15714 }
15715 return resultobj;
15716 fail:
15717 return NULL;
15718}
15719
15720
15721static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
15722 PyObject *resultobj;
15723 wxDateTime result;
15724 char *kwnames[] = {
15725 NULL
15726 };
15727
15728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
15729 {
15730 PyThreadState* __tstate = wxPyBeginAllowThreads();
15731 result = wxDateTime::Today();
15732
15733 wxPyEndAllowThreads(__tstate);
15734 if (PyErr_Occurred()) SWIG_fail;
15735 }
15736 {
15737 wxDateTime * resultptr;
15738 resultptr = new wxDateTime((wxDateTime &) result);
15739 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15740 }
15741 return resultobj;
15742 fail:
15743 return NULL;
15744}
15745
15746
15747static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15748 PyObject *resultobj;
15749 wxDateTime *result;
15750 char *kwnames[] = {
15751 NULL
15752 };
15753
15754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
15755 {
15756 PyThreadState* __tstate = wxPyBeginAllowThreads();
15757 result = (wxDateTime *)new wxDateTime();
15758
15759 wxPyEndAllowThreads(__tstate);
15760 if (PyErr_Occurred()) SWIG_fail;
15761 }
15762 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15763 return resultobj;
15764 fail:
15765 return NULL;
15766}
15767
15768
15769static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15770 PyObject *resultobj;
15771 time_t arg1 ;
15772 wxDateTime *result;
15773 PyObject * obj0 = 0 ;
15774 char *kwnames[] = {
15775 (char *) "timet", NULL
15776 };
15777
15778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
15779 arg1 = (time_t) PyInt_AsLong(obj0);
15780 if (PyErr_Occurred()) SWIG_fail;
15781 {
15782 PyThreadState* __tstate = wxPyBeginAllowThreads();
15783 result = (wxDateTime *)new wxDateTime(arg1);
15784
15785 wxPyEndAllowThreads(__tstate);
15786 if (PyErr_Occurred()) SWIG_fail;
15787 }
15788 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15789 return resultobj;
15790 fail:
15791 return NULL;
15792}
15793
15794
15795static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15796 PyObject *resultobj;
15797 double arg1 ;
15798 wxDateTime *result;
15799 char *kwnames[] = {
15800 (char *) "jdn", NULL
15801 };
15802
15803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"d:new_DateTimeFromJDN",kwnames,&arg1)) goto fail;
15804 {
15805 PyThreadState* __tstate = wxPyBeginAllowThreads();
15806 result = (wxDateTime *)new wxDateTime(arg1);
15807
15808 wxPyEndAllowThreads(__tstate);
15809 if (PyErr_Occurred()) SWIG_fail;
15810 }
15811 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15812 return resultobj;
15813 fail:
15814 return NULL;
15815}
15816
15817
15818static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15819 PyObject *resultobj;
15820 int arg1 ;
15821 int arg2 = (int) 0 ;
15822 int arg3 = (int) 0 ;
15823 int arg4 = (int) 0 ;
15824 wxDateTime *result;
15825 char *kwnames[] = {
15826 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15827 };
15828
15829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iii:new_DateTimeFromHMS",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
15830 {
15831 PyThreadState* __tstate = wxPyBeginAllowThreads();
15832 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
15833
15834 wxPyEndAllowThreads(__tstate);
15835 if (PyErr_Occurred()) SWIG_fail;
15836 }
15837 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15838 return resultobj;
15839 fail:
15840 return NULL;
15841}
15842
15843
15844static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
15845 PyObject *resultobj;
15846 int arg1 ;
15847 int arg2 = (int) wxDateTime::Inv_Month ;
15848 int arg3 = (int) wxDateTime::Inv_Year ;
15849 int arg4 = (int) 0 ;
15850 int arg5 = (int) 0 ;
15851 int arg6 = (int) 0 ;
15852 int arg7 = (int) 0 ;
15853 wxDateTime *result;
15854 char *kwnames[] = {
15855 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15856 };
15857
15858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iiiiii:new_DateTimeFromDMY",kwnames,&arg1,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7)) goto fail;
15859 {
15860 PyThreadState* __tstate = wxPyBeginAllowThreads();
15861 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
15862
15863 wxPyEndAllowThreads(__tstate);
15864 if (PyErr_Occurred()) SWIG_fail;
15865 }
15866 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15867 return resultobj;
15868 fail:
15869 return NULL;
15870}
15871
15872
15873static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15874 PyObject *resultobj;
15875 wxDateTime *arg1 = (wxDateTime *) 0 ;
15876 PyObject * obj0 = 0 ;
15877 char *kwnames[] = {
15878 (char *) "self", NULL
15879 };
15880
15881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
15882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15883 {
15884 PyThreadState* __tstate = wxPyBeginAllowThreads();
15885 delete arg1;
15886
15887 wxPyEndAllowThreads(__tstate);
15888 if (PyErr_Occurred()) SWIG_fail;
15889 }
15890 Py_INCREF(Py_None); resultobj = Py_None;
15891 return resultobj;
15892 fail:
15893 return NULL;
15894}
15895
15896
15897static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
15898 PyObject *resultobj;
15899 wxDateTime *arg1 = (wxDateTime *) 0 ;
15900 wxDateTime *result;
15901 PyObject * obj0 = 0 ;
15902 char *kwnames[] = {
15903 (char *) "self", NULL
15904 };
15905
15906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
15907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15908 {
15909 PyThreadState* __tstate = wxPyBeginAllowThreads();
15910 {
15911 wxDateTime &_result_ref = (arg1)->SetToCurrent();
15912 result = (wxDateTime *) &_result_ref;
15913 }
15914
15915 wxPyEndAllowThreads(__tstate);
15916 if (PyErr_Occurred()) SWIG_fail;
15917 }
15918 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15919 return resultobj;
15920 fail:
15921 return NULL;
15922}
15923
15924
15925static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15926 PyObject *resultobj;
15927 wxDateTime *arg1 = (wxDateTime *) 0 ;
15928 time_t arg2 ;
15929 wxDateTime *result;
15930 PyObject * obj0 = 0 ;
15931 PyObject * obj1 = 0 ;
15932 char *kwnames[] = {
15933 (char *) "self",(char *) "timet", NULL
15934 };
15935
15936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
15937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15938 arg2 = (time_t) PyInt_AsLong(obj1);
15939 if (PyErr_Occurred()) SWIG_fail;
15940 {
15941 PyThreadState* __tstate = wxPyBeginAllowThreads();
15942 {
15943 wxDateTime &_result_ref = (arg1)->Set(arg2);
15944 result = (wxDateTime *) &_result_ref;
15945 }
15946
15947 wxPyEndAllowThreads(__tstate);
15948 if (PyErr_Occurred()) SWIG_fail;
15949 }
15950 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15951 return resultobj;
15952 fail:
15953 return NULL;
15954}
15955
15956
15957static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15958 PyObject *resultobj;
15959 wxDateTime *arg1 = (wxDateTime *) 0 ;
15960 double arg2 ;
15961 wxDateTime *result;
15962 PyObject * obj0 = 0 ;
15963 char *kwnames[] = {
15964 (char *) "self",(char *) "jdn", NULL
15965 };
15966
15967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:DateTime_SetJDN",kwnames,&obj0,&arg2)) goto fail;
15968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15969 {
15970 PyThreadState* __tstate = wxPyBeginAllowThreads();
15971 {
15972 wxDateTime &_result_ref = (arg1)->Set(arg2);
15973 result = (wxDateTime *) &_result_ref;
15974 }
15975
15976 wxPyEndAllowThreads(__tstate);
15977 if (PyErr_Occurred()) SWIG_fail;
15978 }
15979 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15980 return resultobj;
15981 fail:
15982 return NULL;
15983}
15984
15985
15986static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15987 PyObject *resultobj;
15988 wxDateTime *arg1 = (wxDateTime *) 0 ;
15989 int arg2 ;
15990 int arg3 = (int) 0 ;
15991 int arg4 = (int) 0 ;
15992 int arg5 = (int) 0 ;
15993 wxDateTime *result;
15994 PyObject * obj0 = 0 ;
15995 char *kwnames[] = {
15996 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15997 };
15998
15999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetHMS",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16001 {
16002 PyThreadState* __tstate = wxPyBeginAllowThreads();
16003 {
16004 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
16005 result = (wxDateTime *) &_result_ref;
16006 }
16007
16008 wxPyEndAllowThreads(__tstate);
16009 if (PyErr_Occurred()) SWIG_fail;
16010 }
16011 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16012 return resultobj;
16013 fail:
16014 return NULL;
16015}
16016
16017
16018static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
16019 PyObject *resultobj;
16020 wxDateTime *arg1 = (wxDateTime *) 0 ;
16021 int arg2 ;
16022 int arg3 = (int) wxDateTime::Inv_Month ;
16023 int arg4 = (int) wxDateTime::Inv_Year ;
16024 int arg5 = (int) 0 ;
16025 int arg6 = (int) 0 ;
16026 int arg7 = (int) 0 ;
16027 int arg8 = (int) 0 ;
16028 wxDateTime *result;
16029 PyObject * obj0 = 0 ;
16030 char *kwnames[] = {
16031 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16032 };
16033
16034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiiiii:DateTime_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
16035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16036 {
16037 PyThreadState* __tstate = wxPyBeginAllowThreads();
16038 {
16039 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
16040 result = (wxDateTime *) &_result_ref;
16041 }
16042
16043 wxPyEndAllowThreads(__tstate);
16044 if (PyErr_Occurred()) SWIG_fail;
16045 }
16046 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16047 return resultobj;
16048 fail:
16049 return NULL;
16050}
16051
16052
16053static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
16054 PyObject *resultobj;
16055 wxDateTime *arg1 = (wxDateTime *) 0 ;
16056 wxDateTime *result;
16057 PyObject * obj0 = 0 ;
16058 char *kwnames[] = {
16059 (char *) "self", NULL
16060 };
16061
16062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
16063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16064 {
16065 PyThreadState* __tstate = wxPyBeginAllowThreads();
16066 {
16067 wxDateTime &_result_ref = (arg1)->ResetTime();
16068 result = (wxDateTime *) &_result_ref;
16069 }
16070
16071 wxPyEndAllowThreads(__tstate);
16072 if (PyErr_Occurred()) SWIG_fail;
16073 }
16074 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16075 return resultobj;
16076 fail:
16077 return NULL;
16078}
16079
16080
16081static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16082 PyObject *resultobj;
16083 wxDateTime *arg1 = (wxDateTime *) 0 ;
16084 int arg2 ;
16085 wxDateTime *result;
16086 PyObject * obj0 = 0 ;
16087 char *kwnames[] = {
16088 (char *) "self",(char *) "year", NULL
16089 };
16090
16091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetYear",kwnames,&obj0,&arg2)) goto fail;
16092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16093 {
16094 PyThreadState* __tstate = wxPyBeginAllowThreads();
16095 {
16096 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
16097 result = (wxDateTime *) &_result_ref;
16098 }
16099
16100 wxPyEndAllowThreads(__tstate);
16101 if (PyErr_Occurred()) SWIG_fail;
16102 }
16103 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16104 return resultobj;
16105 fail:
16106 return NULL;
16107}
16108
16109
16110static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16111 PyObject *resultobj;
16112 wxDateTime *arg1 = (wxDateTime *) 0 ;
16113 int arg2 ;
16114 wxDateTime *result;
16115 PyObject * obj0 = 0 ;
16116 char *kwnames[] = {
16117 (char *) "self",(char *) "month", NULL
16118 };
16119
16120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMonth",kwnames,&obj0,&arg2)) goto fail;
16121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16122 {
16123 PyThreadState* __tstate = wxPyBeginAllowThreads();
16124 {
16125 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
16126 result = (wxDateTime *) &_result_ref;
16127 }
16128
16129 wxPyEndAllowThreads(__tstate);
16130 if (PyErr_Occurred()) SWIG_fail;
16131 }
16132 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16133 return resultobj;
16134 fail:
16135 return NULL;
16136}
16137
16138
16139static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16140 PyObject *resultobj;
16141 wxDateTime *arg1 = (wxDateTime *) 0 ;
16142 int arg2 ;
16143 wxDateTime *result;
16144 PyObject * obj0 = 0 ;
16145 char *kwnames[] = {
16146 (char *) "self",(char *) "day", NULL
16147 };
16148
16149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetDay",kwnames,&obj0,&arg2)) goto fail;
16150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16151 {
16152 PyThreadState* __tstate = wxPyBeginAllowThreads();
16153 {
16154 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
16155 result = (wxDateTime *) &_result_ref;
16156 }
16157
16158 wxPyEndAllowThreads(__tstate);
16159 if (PyErr_Occurred()) SWIG_fail;
16160 }
16161 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16162 return resultobj;
16163 fail:
16164 return NULL;
16165}
16166
16167
16168static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
16169 PyObject *resultobj;
16170 wxDateTime *arg1 = (wxDateTime *) 0 ;
16171 int arg2 ;
16172 wxDateTime *result;
16173 PyObject * obj0 = 0 ;
16174 char *kwnames[] = {
16175 (char *) "self",(char *) "hour", NULL
16176 };
16177
16178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetHour",kwnames,&obj0,&arg2)) goto fail;
16179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16180 {
16181 PyThreadState* __tstate = wxPyBeginAllowThreads();
16182 {
16183 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
16184 result = (wxDateTime *) &_result_ref;
16185 }
16186
16187 wxPyEndAllowThreads(__tstate);
16188 if (PyErr_Occurred()) SWIG_fail;
16189 }
16190 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16191 return resultobj;
16192 fail:
16193 return NULL;
16194}
16195
16196
16197static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
16198 PyObject *resultobj;
16199 wxDateTime *arg1 = (wxDateTime *) 0 ;
16200 int arg2 ;
16201 wxDateTime *result;
16202 PyObject * obj0 = 0 ;
16203 char *kwnames[] = {
16204 (char *) "self",(char *) "minute", NULL
16205 };
16206
16207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMinute",kwnames,&obj0,&arg2)) goto fail;
16208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16209 {
16210 PyThreadState* __tstate = wxPyBeginAllowThreads();
16211 {
16212 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
16213 result = (wxDateTime *) &_result_ref;
16214 }
16215
16216 wxPyEndAllowThreads(__tstate);
16217 if (PyErr_Occurred()) SWIG_fail;
16218 }
16219 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16220 return resultobj;
16221 fail:
16222 return NULL;
16223}
16224
16225
16226static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16227 PyObject *resultobj;
16228 wxDateTime *arg1 = (wxDateTime *) 0 ;
16229 int arg2 ;
16230 wxDateTime *result;
16231 PyObject * obj0 = 0 ;
16232 char *kwnames[] = {
16233 (char *) "self",(char *) "second", NULL
16234 };
16235
16236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetSecond",kwnames,&obj0,&arg2)) goto fail;
16237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16238 {
16239 PyThreadState* __tstate = wxPyBeginAllowThreads();
16240 {
16241 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
16242 result = (wxDateTime *) &_result_ref;
16243 }
16244
16245 wxPyEndAllowThreads(__tstate);
16246 if (PyErr_Occurred()) SWIG_fail;
16247 }
16248 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16249 return resultobj;
16250 fail:
16251 return NULL;
16252}
16253
16254
16255static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16256 PyObject *resultobj;
16257 wxDateTime *arg1 = (wxDateTime *) 0 ;
16258 int arg2 ;
16259 wxDateTime *result;
16260 PyObject * obj0 = 0 ;
16261 char *kwnames[] = {
16262 (char *) "self",(char *) "millisecond", NULL
16263 };
16264
16265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMillisecond",kwnames,&obj0,&arg2)) goto fail;
16266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16267 {
16268 PyThreadState* __tstate = wxPyBeginAllowThreads();
16269 {
16270 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
16271 result = (wxDateTime *) &_result_ref;
16272 }
16273
16274 wxPyEndAllowThreads(__tstate);
16275 if (PyErr_Occurred()) SWIG_fail;
16276 }
16277 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16278 return resultobj;
16279 fail:
16280 return NULL;
16281}
16282
16283
16284static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16285 PyObject *resultobj;
16286 wxDateTime *arg1 = (wxDateTime *) 0 ;
16287 int arg2 ;
16288 int arg3 = (int) wxDateTime::Monday_First ;
16289 wxDateTime *result;
16290 PyObject * obj0 = 0 ;
16291 char *kwnames[] = {
16292 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16293 };
16294
16295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16297 {
16298 PyThreadState* __tstate = wxPyBeginAllowThreads();
16299 {
16300 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16301 result = (wxDateTime *) &_result_ref;
16302 }
16303
16304 wxPyEndAllowThreads(__tstate);
16305 if (PyErr_Occurred()) SWIG_fail;
16306 }
16307 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16308 return resultobj;
16309 fail:
16310 return NULL;
16311}
16312
16313
16314static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16315 PyObject *resultobj;
16316 wxDateTime *arg1 = (wxDateTime *) 0 ;
16317 int arg2 ;
16318 int arg3 = (int) wxDateTime::Monday_First ;
16319 wxDateTime result;
16320 PyObject * obj0 = 0 ;
16321 char *kwnames[] = {
16322 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16323 };
16324
16325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16327 {
16328 PyThreadState* __tstate = wxPyBeginAllowThreads();
16329 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16330
16331 wxPyEndAllowThreads(__tstate);
16332 if (PyErr_Occurred()) SWIG_fail;
16333 }
16334 {
16335 wxDateTime * resultptr;
16336 resultptr = new wxDateTime((wxDateTime &) result);
16337 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16338 }
16339 return resultobj;
16340 fail:
16341 return NULL;
16342}
16343
16344
16345static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16346 PyObject *resultobj;
16347 wxDateTime *arg1 = (wxDateTime *) 0 ;
16348 int arg2 ;
16349 wxDateTime *result;
16350 PyObject * obj0 = 0 ;
16351 char *kwnames[] = {
16352 (char *) "self",(char *) "weekday", NULL
16353 };
16354
16355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16357 {
16358 PyThreadState* __tstate = wxPyBeginAllowThreads();
16359 {
16360 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
16361 result = (wxDateTime *) &_result_ref;
16362 }
16363
16364 wxPyEndAllowThreads(__tstate);
16365 if (PyErr_Occurred()) SWIG_fail;
16366 }
16367 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16368 return resultobj;
16369 fail:
16370 return NULL;
16371}
16372
16373
16374static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16375 PyObject *resultobj;
16376 wxDateTime *arg1 = (wxDateTime *) 0 ;
16377 int arg2 ;
16378 wxDateTime result;
16379 PyObject * obj0 = 0 ;
16380 char *kwnames[] = {
16381 (char *) "self",(char *) "weekday", NULL
16382 };
16383
16384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16386 {
16387 PyThreadState* __tstate = wxPyBeginAllowThreads();
16388 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
16389
16390 wxPyEndAllowThreads(__tstate);
16391 if (PyErr_Occurred()) SWIG_fail;
16392 }
16393 {
16394 wxDateTime * resultptr;
16395 resultptr = new wxDateTime((wxDateTime &) result);
16396 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16397 }
16398 return resultobj;
16399 fail:
16400 return NULL;
16401}
16402
16403
16404static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16405 PyObject *resultobj;
16406 wxDateTime *arg1 = (wxDateTime *) 0 ;
16407 int arg2 ;
16408 wxDateTime *result;
16409 PyObject * obj0 = 0 ;
16410 char *kwnames[] = {
16411 (char *) "self",(char *) "weekday", NULL
16412 };
16413
16414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16416 {
16417 PyThreadState* __tstate = wxPyBeginAllowThreads();
16418 {
16419 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
16420 result = (wxDateTime *) &_result_ref;
16421 }
16422
16423 wxPyEndAllowThreads(__tstate);
16424 if (PyErr_Occurred()) SWIG_fail;
16425 }
16426 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16427 return resultobj;
16428 fail:
16429 return NULL;
16430}
16431
16432
16433static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16434 PyObject *resultobj;
16435 wxDateTime *arg1 = (wxDateTime *) 0 ;
16436 int arg2 ;
16437 wxDateTime result;
16438 PyObject * obj0 = 0 ;
16439 char *kwnames[] = {
16440 (char *) "self",(char *) "weekday", NULL
16441 };
16442
16443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16445 {
16446 PyThreadState* __tstate = wxPyBeginAllowThreads();
16447 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
16448
16449 wxPyEndAllowThreads(__tstate);
16450 if (PyErr_Occurred()) SWIG_fail;
16451 }
16452 {
16453 wxDateTime * resultptr;
16454 resultptr = new wxDateTime((wxDateTime &) result);
16455 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16456 }
16457 return resultobj;
16458 fail:
16459 return NULL;
16460}
16461
16462
16463static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16464 PyObject *resultobj;
16465 wxDateTime *arg1 = (wxDateTime *) 0 ;
16466 int arg2 ;
16467 int arg3 = (int) 1 ;
16468 int arg4 = (int) wxDateTime::Inv_Month ;
16469 int arg5 = (int) wxDateTime::Inv_Year ;
16470 bool result;
16471 PyObject * obj0 = 0 ;
16472 char *kwnames[] = {
16473 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16474 };
16475
16476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16478 {
16479 PyThreadState* __tstate = wxPyBeginAllowThreads();
16480 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
16481
16482 wxPyEndAllowThreads(__tstate);
16483 if (PyErr_Occurred()) SWIG_fail;
16484 }
16485 resultobj = PyInt_FromLong((long)result);
16486 return resultobj;
16487 fail:
16488 return NULL;
16489}
16490
16491
16492static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16493 PyObject *resultobj;
16494 wxDateTime *arg1 = (wxDateTime *) 0 ;
16495 int arg2 ;
16496 int arg3 = (int) wxDateTime::Inv_Month ;
16497 int arg4 = (int) wxDateTime::Inv_Year ;
16498 bool result;
16499 PyObject * obj0 = 0 ;
16500 char *kwnames[] = {
16501 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16502 };
16503
16504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16506 {
16507 PyThreadState* __tstate = wxPyBeginAllowThreads();
16508 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16509
16510 wxPyEndAllowThreads(__tstate);
16511 if (PyErr_Occurred()) SWIG_fail;
16512 }
16513 resultobj = PyInt_FromLong((long)result);
16514 return resultobj;
16515 fail:
16516 return NULL;
16517}
16518
16519
16520static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16521 PyObject *resultobj;
16522 wxDateTime *arg1 = (wxDateTime *) 0 ;
16523 int arg2 ;
16524 int arg3 = (int) wxDateTime::Inv_Month ;
16525 int arg4 = (int) wxDateTime::Inv_Year ;
16526 wxDateTime result;
16527 PyObject * obj0 = 0 ;
16528 char *kwnames[] = {
16529 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16530 };
16531
16532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16534 {
16535 PyThreadState* __tstate = wxPyBeginAllowThreads();
16536 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16537
16538 wxPyEndAllowThreads(__tstate);
16539 if (PyErr_Occurred()) SWIG_fail;
16540 }
16541 {
16542 wxDateTime * resultptr;
16543 resultptr = new wxDateTime((wxDateTime &) result);
16544 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16545 }
16546 return resultobj;
16547 fail:
16548 return NULL;
16549}
16550
16551
16552static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16553 PyObject *resultobj;
16554 wxDateTime *arg1 = (wxDateTime *) 0 ;
16555 int arg2 ;
16556 int arg3 = (int) wxDateTime::Mon ;
16557 int arg4 = (int) wxDateTime::Monday_First ;
16558 bool result;
16559 PyObject * obj0 = 0 ;
16560 char *kwnames[] = {
16561 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16562 };
16563
16564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToTheWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16566 {
16567 PyThreadState* __tstate = wxPyBeginAllowThreads();
16568 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16569
16570 wxPyEndAllowThreads(__tstate);
16571 if (PyErr_Occurred()) SWIG_fail;
16572 }
16573 resultobj = PyInt_FromLong((long)result);
16574 return resultobj;
16575 fail:
16576 return NULL;
16577}
16578
16579
16580static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16581 PyObject *resultobj;
16582 wxDateTime *arg1 = (wxDateTime *) 0 ;
16583 int arg2 ;
16584 int arg3 = (int) wxDateTime::Mon ;
16585 int arg4 = (int) wxDateTime::Monday_First ;
16586 wxDateTime result;
16587 PyObject * obj0 = 0 ;
16588 char *kwnames[] = {
16589 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16590 };
16591
16592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16594 {
16595 PyThreadState* __tstate = wxPyBeginAllowThreads();
16596 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16597
16598 wxPyEndAllowThreads(__tstate);
16599 if (PyErr_Occurred()) SWIG_fail;
16600 }
16601 {
16602 wxDateTime * resultptr;
16603 resultptr = new wxDateTime((wxDateTime &) result);
16604 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16605 }
16606 return resultobj;
16607 fail:
16608 return NULL;
16609}
16610
16611
16612static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16613 PyObject *resultobj;
16614 wxDateTime *arg1 = (wxDateTime *) 0 ;
16615 int arg2 = (int) wxDateTime::Inv_Month ;
16616 int arg3 = (int) wxDateTime::Inv_Year ;
16617 wxDateTime *result;
16618 PyObject * obj0 = 0 ;
16619 char *kwnames[] = {
16620 (char *) "self",(char *) "month",(char *) "year", NULL
16621 };
16622
16623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16625 {
16626 PyThreadState* __tstate = wxPyBeginAllowThreads();
16627 {
16628 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
16629 result = (wxDateTime *) &_result_ref;
16630 }
16631
16632 wxPyEndAllowThreads(__tstate);
16633 if (PyErr_Occurred()) SWIG_fail;
16634 }
16635 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16636 return resultobj;
16637 fail:
16638 return NULL;
16639}
16640
16641
16642static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16643 PyObject *resultobj;
16644 wxDateTime *arg1 = (wxDateTime *) 0 ;
16645 int arg2 = (int) wxDateTime::Inv_Month ;
16646 int arg3 = (int) wxDateTime::Inv_Year ;
16647 wxDateTime result;
16648 PyObject * obj0 = 0 ;
16649 char *kwnames[] = {
16650 (char *) "self",(char *) "month",(char *) "year", NULL
16651 };
16652
16653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16655 {
16656 PyThreadState* __tstate = wxPyBeginAllowThreads();
16657 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
16658
16659 wxPyEndAllowThreads(__tstate);
16660 if (PyErr_Occurred()) SWIG_fail;
16661 }
16662 {
16663 wxDateTime * resultptr;
16664 resultptr = new wxDateTime((wxDateTime &) result);
16665 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16666 }
16667 return resultobj;
16668 fail:
16669 return NULL;
16670}
16671
16672
16673static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16674 PyObject *resultobj;
16675 wxDateTime *arg1 = (wxDateTime *) 0 ;
16676 int arg2 ;
16677 wxDateTime *result;
16678 PyObject * obj0 = 0 ;
16679 char *kwnames[] = {
16680 (char *) "self",(char *) "yday", NULL
16681 };
16682
16683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToYearDay",kwnames,&obj0,&arg2)) goto fail;
16684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16685 {
16686 PyThreadState* __tstate = wxPyBeginAllowThreads();
16687 {
16688 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
16689 result = (wxDateTime *) &_result_ref;
16690 }
16691
16692 wxPyEndAllowThreads(__tstate);
16693 if (PyErr_Occurred()) SWIG_fail;
16694 }
16695 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16696 return resultobj;
16697 fail:
16698 return NULL;
16699}
16700
16701
16702static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16703 PyObject *resultobj;
16704 wxDateTime *arg1 = (wxDateTime *) 0 ;
16705 int arg2 ;
16706 wxDateTime result;
16707 PyObject * obj0 = 0 ;
16708 char *kwnames[] = {
16709 (char *) "self",(char *) "yday", NULL
16710 };
16711
16712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetYearDay",kwnames,&obj0,&arg2)) goto fail;
16713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16714 {
16715 PyThreadState* __tstate = wxPyBeginAllowThreads();
16716 result = (arg1)->GetYearDay(arg2);
16717
16718 wxPyEndAllowThreads(__tstate);
16719 if (PyErr_Occurred()) SWIG_fail;
16720 }
16721 {
16722 wxDateTime * resultptr;
16723 resultptr = new wxDateTime((wxDateTime &) result);
16724 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16725 }
16726 return resultobj;
16727 fail:
16728 return NULL;
16729}
16730
16731
16732static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16733 PyObject *resultobj;
16734 wxDateTime *arg1 = (wxDateTime *) 0 ;
16735 double result;
16736 PyObject * obj0 = 0 ;
16737 char *kwnames[] = {
16738 (char *) "self", NULL
16739 };
16740
16741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
16742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16743 {
16744 PyThreadState* __tstate = wxPyBeginAllowThreads();
16745 result = (double)(arg1)->GetJulianDayNumber();
16746
16747 wxPyEndAllowThreads(__tstate);
16748 if (PyErr_Occurred()) SWIG_fail;
16749 }
16750 resultobj = PyFloat_FromDouble(result);
16751 return resultobj;
16752 fail:
16753 return NULL;
16754}
16755
16756
16757static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
16758 PyObject *resultobj;
16759 wxDateTime *arg1 = (wxDateTime *) 0 ;
16760 double result;
16761 PyObject * obj0 = 0 ;
16762 char *kwnames[] = {
16763 (char *) "self", NULL
16764 };
16765
16766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
16767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16768 {
16769 PyThreadState* __tstate = wxPyBeginAllowThreads();
16770 result = (double)(arg1)->GetJDN();
16771
16772 wxPyEndAllowThreads(__tstate);
16773 if (PyErr_Occurred()) SWIG_fail;
16774 }
16775 resultobj = PyFloat_FromDouble(result);
16776 return resultobj;
16777 fail:
16778 return NULL;
16779}
16780
16781
16782static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16783 PyObject *resultobj;
16784 wxDateTime *arg1 = (wxDateTime *) 0 ;
16785 double result;
16786 PyObject * obj0 = 0 ;
16787 char *kwnames[] = {
16788 (char *) "self", NULL
16789 };
16790
16791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
16792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16793 {
16794 PyThreadState* __tstate = wxPyBeginAllowThreads();
16795 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
16796
16797 wxPyEndAllowThreads(__tstate);
16798 if (PyErr_Occurred()) SWIG_fail;
16799 }
16800 resultobj = PyFloat_FromDouble(result);
16801 return resultobj;
16802 fail:
16803 return NULL;
16804}
16805
16806
16807static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
16808 PyObject *resultobj;
16809 wxDateTime *arg1 = (wxDateTime *) 0 ;
16810 double result;
16811 PyObject * obj0 = 0 ;
16812 char *kwnames[] = {
16813 (char *) "self", NULL
16814 };
16815
16816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
16817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16818 {
16819 PyThreadState* __tstate = wxPyBeginAllowThreads();
16820 result = (double)(arg1)->GetMJD();
16821
16822 wxPyEndAllowThreads(__tstate);
16823 if (PyErr_Occurred()) SWIG_fail;
16824 }
16825 resultobj = PyFloat_FromDouble(result);
16826 return resultobj;
16827 fail:
16828 return NULL;
16829}
16830
16831
16832static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
16833 PyObject *resultobj;
16834 wxDateTime *arg1 = (wxDateTime *) 0 ;
16835 double result;
16836 PyObject * obj0 = 0 ;
16837 char *kwnames[] = {
16838 (char *) "self", NULL
16839 };
16840
16841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
16842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16843 {
16844 PyThreadState* __tstate = wxPyBeginAllowThreads();
16845 result = (double)(arg1)->GetRataDie();
16846
16847 wxPyEndAllowThreads(__tstate);
16848 if (PyErr_Occurred()) SWIG_fail;
16849 }
16850 resultobj = PyFloat_FromDouble(result);
16851 return resultobj;
16852 fail:
16853 return NULL;
16854}
16855
16856
16857static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16858 PyObject *resultobj;
16859 wxDateTime *arg1 = (wxDateTime *) 0 ;
16860 wxDateTime::TimeZone *arg2 = 0 ;
16861 bool arg3 = (bool) False ;
16862 wxDateTime result;
16863 bool temp2 = False ;
16864 PyObject * obj0 = 0 ;
16865 PyObject * obj1 = 0 ;
16866 PyObject * obj2 = 0 ;
16867 char *kwnames[] = {
16868 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16869 };
16870
16871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16873 {
16874 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16875 temp2 = True;
16876 }
16877 if (obj2) {
16878 arg3 = PyInt_AsLong(obj2) ? true : false;
16879 if (PyErr_Occurred()) SWIG_fail;
16880 }
16881 {
16882 PyThreadState* __tstate = wxPyBeginAllowThreads();
16883 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16884
16885 wxPyEndAllowThreads(__tstate);
16886 if (PyErr_Occurred()) SWIG_fail;
16887 }
16888 {
16889 wxDateTime * resultptr;
16890 resultptr = new wxDateTime((wxDateTime &) result);
16891 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16892 }
16893 {
16894 if (temp2) delete arg2;
16895 }
16896 return resultobj;
16897 fail:
16898 {
16899 if (temp2) delete arg2;
16900 }
16901 return NULL;
16902}
16903
16904
16905static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16906 PyObject *resultobj;
16907 wxDateTime *arg1 = (wxDateTime *) 0 ;
16908 wxDateTime::TimeZone *arg2 = 0 ;
16909 bool arg3 = (bool) False ;
16910 wxDateTime *result;
16911 bool temp2 = False ;
16912 PyObject * obj0 = 0 ;
16913 PyObject * obj1 = 0 ;
16914 PyObject * obj2 = 0 ;
16915 char *kwnames[] = {
16916 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16917 };
16918
16919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16921 {
16922 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
16923 temp2 = True;
16924 }
16925 if (obj2) {
16926 arg3 = PyInt_AsLong(obj2) ? true : false;
16927 if (PyErr_Occurred()) SWIG_fail;
16928 }
16929 {
16930 PyThreadState* __tstate = wxPyBeginAllowThreads();
16931 {
16932 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16933 result = (wxDateTime *) &_result_ref;
16934 }
16935
16936 wxPyEndAllowThreads(__tstate);
16937 if (PyErr_Occurred()) SWIG_fail;
16938 }
16939 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16940 {
16941 if (temp2) delete arg2;
16942 }
16943 return resultobj;
16944 fail:
16945 {
16946 if (temp2) delete arg2;
16947 }
16948 return NULL;
16949}
16950
16951
16952static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16953 PyObject *resultobj;
16954 wxDateTime *arg1 = (wxDateTime *) 0 ;
16955 bool arg2 = (bool) False ;
16956 wxDateTime result;
16957 PyObject * obj0 = 0 ;
16958 PyObject * obj1 = 0 ;
16959 char *kwnames[] = {
16960 (char *) "self",(char *) "noDST", NULL
16961 };
16962
16963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
16964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16965 if (obj1) {
16966 arg2 = PyInt_AsLong(obj1) ? true : false;
16967 if (PyErr_Occurred()) SWIG_fail;
16968 }
16969 {
16970 PyThreadState* __tstate = wxPyBeginAllowThreads();
16971 result = (arg1)->ToGMT(arg2);
16972
16973 wxPyEndAllowThreads(__tstate);
16974 if (PyErr_Occurred()) SWIG_fail;
16975 }
16976 {
16977 wxDateTime * resultptr;
16978 resultptr = new wxDateTime((wxDateTime &) result);
16979 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16980 }
16981 return resultobj;
16982 fail:
16983 return NULL;
16984}
16985
16986
16987static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16988 PyObject *resultobj;
16989 wxDateTime *arg1 = (wxDateTime *) 0 ;
16990 bool arg2 = (bool) False ;
16991 wxDateTime *result;
16992 PyObject * obj0 = 0 ;
16993 PyObject * obj1 = 0 ;
16994 char *kwnames[] = {
16995 (char *) "self",(char *) "noDST", NULL
16996 };
16997
16998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
16999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17000 if (obj1) {
17001 arg2 = PyInt_AsLong(obj1) ? true : false;
17002 if (PyErr_Occurred()) SWIG_fail;
17003 }
17004 {
17005 PyThreadState* __tstate = wxPyBeginAllowThreads();
17006 {
17007 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
17008 result = (wxDateTime *) &_result_ref;
17009 }
17010
17011 wxPyEndAllowThreads(__tstate);
17012 if (PyErr_Occurred()) SWIG_fail;
17013 }
17014 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17015 return resultobj;
17016 fail:
17017 return NULL;
17018}
17019
17020
17021static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17022 PyObject *resultobj;
17023 wxDateTime *arg1 = (wxDateTime *) 0 ;
17024 int arg2 = (int) wxDateTime::Country_Default ;
17025 int result;
17026 PyObject * obj0 = 0 ;
17027 char *kwnames[] = {
17028 (char *) "self",(char *) "country", NULL
17029 };
17030
17031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsDST",kwnames,&obj0,&arg2)) goto fail;
17032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17033 {
17034 PyThreadState* __tstate = wxPyBeginAllowThreads();
17035 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
17036
17037 wxPyEndAllowThreads(__tstate);
17038 if (PyErr_Occurred()) SWIG_fail;
17039 }
17040 resultobj = PyInt_FromLong((long)result);
17041 return resultobj;
17042 fail:
17043 return NULL;
17044}
17045
17046
17047static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
17048 PyObject *resultobj;
17049 wxDateTime *arg1 = (wxDateTime *) 0 ;
17050 bool result;
17051 PyObject * obj0 = 0 ;
17052 char *kwnames[] = {
17053 (char *) "self", NULL
17054 };
17055
17056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
17057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17058 {
17059 PyThreadState* __tstate = wxPyBeginAllowThreads();
17060 result = (bool)((wxDateTime const *)arg1)->IsValid();
17061
17062 wxPyEndAllowThreads(__tstate);
17063 if (PyErr_Occurred()) SWIG_fail;
17064 }
17065 resultobj = PyInt_FromLong((long)result);
17066 return resultobj;
17067 fail:
17068 return NULL;
17069}
17070
17071
17072static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
17073 PyObject *resultobj;
17074 wxDateTime *arg1 = (wxDateTime *) 0 ;
17075 time_t result;
17076 PyObject * obj0 = 0 ;
17077 char *kwnames[] = {
17078 (char *) "self", NULL
17079 };
17080
17081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
17082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17083 {
17084 PyThreadState* __tstate = wxPyBeginAllowThreads();
17085 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
17086
17087 wxPyEndAllowThreads(__tstate);
17088 if (PyErr_Occurred()) SWIG_fail;
17089 }
17090 resultobj = PyInt_FromLong((long)result);
17091 return resultobj;
17092 fail:
17093 return NULL;
17094}
17095
17096
17097static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17098 PyObject *resultobj;
17099 wxDateTime *arg1 = (wxDateTime *) 0 ;
17100 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17101 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17102 int result;
17103 bool temp2 = False ;
17104 PyObject * obj0 = 0 ;
17105 PyObject * obj1 = 0 ;
17106 char *kwnames[] = {
17107 (char *) "self",(char *) "tz", NULL
17108 };
17109
17110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
17111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17112 if (obj1) {
17113 {
17114 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17115 temp2 = True;
17116 }
17117 }
17118 {
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
17120 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
17121
17122 wxPyEndAllowThreads(__tstate);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 }
17125 resultobj = PyInt_FromLong((long)result);
17126 {
17127 if (temp2) delete arg2;
17128 }
17129 return resultobj;
17130 fail:
17131 {
17132 if (temp2) delete arg2;
17133 }
17134 return NULL;
17135}
17136
17137
17138static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17139 PyObject *resultobj;
17140 wxDateTime *arg1 = (wxDateTime *) 0 ;
17141 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17142 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17143 int result;
17144 bool temp2 = False ;
17145 PyObject * obj0 = 0 ;
17146 PyObject * obj1 = 0 ;
17147 char *kwnames[] = {
17148 (char *) "self",(char *) "tz", NULL
17149 };
17150
17151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
17152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17153 if (obj1) {
17154 {
17155 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17156 temp2 = True;
17157 }
17158 }
17159 {
17160 PyThreadState* __tstate = wxPyBeginAllowThreads();
17161 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
17162
17163 wxPyEndAllowThreads(__tstate);
17164 if (PyErr_Occurred()) SWIG_fail;
17165 }
17166 resultobj = PyInt_FromLong((long)result);
17167 {
17168 if (temp2) delete arg2;
17169 }
17170 return resultobj;
17171 fail:
17172 {
17173 if (temp2) delete arg2;
17174 }
17175 return NULL;
17176}
17177
17178
17179static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17180 PyObject *resultobj;
17181 wxDateTime *arg1 = (wxDateTime *) 0 ;
17182 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17183 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17184 int result;
17185 bool temp2 = False ;
17186 PyObject * obj0 = 0 ;
17187 PyObject * obj1 = 0 ;
17188 char *kwnames[] = {
17189 (char *) "self",(char *) "tz", NULL
17190 };
17191
17192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
17193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17194 if (obj1) {
17195 {
17196 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17197 temp2 = True;
17198 }
17199 }
17200 {
17201 PyThreadState* __tstate = wxPyBeginAllowThreads();
17202 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
17203
17204 wxPyEndAllowThreads(__tstate);
17205 if (PyErr_Occurred()) SWIG_fail;
17206 }
17207 resultobj = PyInt_FromLong((long)result);
17208 {
17209 if (temp2) delete arg2;
17210 }
17211 return resultobj;
17212 fail:
17213 {
17214 if (temp2) delete arg2;
17215 }
17216 return NULL;
17217}
17218
17219
17220static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17221 PyObject *resultobj;
17222 wxDateTime *arg1 = (wxDateTime *) 0 ;
17223 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17224 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17225 int result;
17226 bool temp2 = False ;
17227 PyObject * obj0 = 0 ;
17228 PyObject * obj1 = 0 ;
17229 char *kwnames[] = {
17230 (char *) "self",(char *) "tz", NULL
17231 };
17232
17233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
17234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17235 if (obj1) {
17236 {
17237 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17238 temp2 = True;
17239 }
17240 }
17241 {
17242 PyThreadState* __tstate = wxPyBeginAllowThreads();
17243 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
17244
17245 wxPyEndAllowThreads(__tstate);
17246 if (PyErr_Occurred()) SWIG_fail;
17247 }
17248 resultobj = PyInt_FromLong((long)result);
17249 {
17250 if (temp2) delete arg2;
17251 }
17252 return resultobj;
17253 fail:
17254 {
17255 if (temp2) delete arg2;
17256 }
17257 return NULL;
17258}
17259
17260
17261static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17262 PyObject *resultobj;
17263 wxDateTime *arg1 = (wxDateTime *) 0 ;
17264 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17265 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17266 int result;
17267 bool temp2 = False ;
17268 PyObject * obj0 = 0 ;
17269 PyObject * obj1 = 0 ;
17270 char *kwnames[] = {
17271 (char *) "self",(char *) "tz", NULL
17272 };
17273
17274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
17275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17276 if (obj1) {
17277 {
17278 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17279 temp2 = True;
17280 }
17281 }
17282 {
17283 PyThreadState* __tstate = wxPyBeginAllowThreads();
17284 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
17285
17286 wxPyEndAllowThreads(__tstate);
17287 if (PyErr_Occurred()) SWIG_fail;
17288 }
17289 resultobj = PyInt_FromLong((long)result);
17290 {
17291 if (temp2) delete arg2;
17292 }
17293 return resultobj;
17294 fail:
17295 {
17296 if (temp2) delete arg2;
17297 }
17298 return NULL;
17299}
17300
17301
17302static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17303 PyObject *resultobj;
17304 wxDateTime *arg1 = (wxDateTime *) 0 ;
17305 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17306 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17307 int result;
17308 bool temp2 = False ;
17309 PyObject * obj0 = 0 ;
17310 PyObject * obj1 = 0 ;
17311 char *kwnames[] = {
17312 (char *) "self",(char *) "tz", NULL
17313 };
17314
17315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
17316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17317 if (obj1) {
17318 {
17319 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17320 temp2 = True;
17321 }
17322 }
17323 {
17324 PyThreadState* __tstate = wxPyBeginAllowThreads();
17325 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
17326
17327 wxPyEndAllowThreads(__tstate);
17328 if (PyErr_Occurred()) SWIG_fail;
17329 }
17330 resultobj = PyInt_FromLong((long)result);
17331 {
17332 if (temp2) delete arg2;
17333 }
17334 return resultobj;
17335 fail:
17336 {
17337 if (temp2) delete arg2;
17338 }
17339 return NULL;
17340}
17341
17342
17343static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17344 PyObject *resultobj;
17345 wxDateTime *arg1 = (wxDateTime *) 0 ;
17346 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17347 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17348 int result;
17349 bool temp2 = False ;
17350 PyObject * obj0 = 0 ;
17351 PyObject * obj1 = 0 ;
17352 char *kwnames[] = {
17353 (char *) "self",(char *) "tz", NULL
17354 };
17355
17356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
17357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17358 if (obj1) {
17359 {
17360 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17361 temp2 = True;
17362 }
17363 }
17364 {
17365 PyThreadState* __tstate = wxPyBeginAllowThreads();
17366 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
17367
17368 wxPyEndAllowThreads(__tstate);
17369 if (PyErr_Occurred()) SWIG_fail;
17370 }
17371 resultobj = PyInt_FromLong((long)result);
17372 {
17373 if (temp2) delete arg2;
17374 }
17375 return resultobj;
17376 fail:
17377 {
17378 if (temp2) delete arg2;
17379 }
17380 return NULL;
17381}
17382
17383
17384static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17385 PyObject *resultobj;
17386 wxDateTime *arg1 = (wxDateTime *) 0 ;
17387 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17388 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17389 int result;
17390 bool temp2 = False ;
17391 PyObject * obj0 = 0 ;
17392 PyObject * obj1 = 0 ;
17393 char *kwnames[] = {
17394 (char *) "self",(char *) "tz", NULL
17395 };
17396
17397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
17398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17399 if (obj1) {
17400 {
17401 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17402 temp2 = True;
17403 }
17404 }
17405 {
17406 PyThreadState* __tstate = wxPyBeginAllowThreads();
17407 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
17408
17409 wxPyEndAllowThreads(__tstate);
17410 if (PyErr_Occurred()) SWIG_fail;
17411 }
17412 resultobj = PyInt_FromLong((long)result);
17413 {
17414 if (temp2) delete arg2;
17415 }
17416 return resultobj;
17417 fail:
17418 {
17419 if (temp2) delete arg2;
17420 }
17421 return NULL;
17422}
17423
17424
17425static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17426 PyObject *resultobj;
17427 wxDateTime *arg1 = (wxDateTime *) 0 ;
17428 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17429 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17430 int result;
17431 bool temp2 = False ;
17432 PyObject * obj0 = 0 ;
17433 PyObject * obj1 = 0 ;
17434 char *kwnames[] = {
17435 (char *) "self",(char *) "tz", NULL
17436 };
17437
17438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
17439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17440 if (obj1) {
17441 {
17442 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
17443 temp2 = True;
17444 }
17445 }
17446 {
17447 PyThreadState* __tstate = wxPyBeginAllowThreads();
17448 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
17449
17450 wxPyEndAllowThreads(__tstate);
17451 if (PyErr_Occurred()) SWIG_fail;
17452 }
17453 resultobj = PyInt_FromLong((long)result);
17454 {
17455 if (temp2) delete arg2;
17456 }
17457 return resultobj;
17458 fail:
17459 {
17460 if (temp2) delete arg2;
17461 }
17462 return NULL;
17463}
17464
17465
17466static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17467 PyObject *resultobj;
17468 wxDateTime *arg1 = (wxDateTime *) 0 ;
17469 int arg2 = (int) wxDateTime::Monday_First ;
17470 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17471 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
17472 int result;
17473 bool temp3 = False ;
17474 PyObject * obj0 = 0 ;
17475 PyObject * obj2 = 0 ;
17476 char *kwnames[] = {
17477 (char *) "self",(char *) "flags",(char *) "tz", NULL
17478 };
17479
17480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames,&obj0,&arg2,&obj2)) goto fail;
17481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17482 if (obj2) {
17483 {
17484 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
17485 temp3 = True;
17486 }
17487 }
17488 {
17489 PyThreadState* __tstate = wxPyBeginAllowThreads();
17490 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
17491
17492 wxPyEndAllowThreads(__tstate);
17493 if (PyErr_Occurred()) SWIG_fail;
17494 }
17495 resultobj = PyInt_FromLong((long)result);
17496 {
17497 if (temp3) delete arg3;
17498 }
17499 return resultobj;
17500 fail:
17501 {
17502 if (temp3) delete arg3;
17503 }
17504 return NULL;
17505}
17506
17507
17508static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17509 PyObject *resultobj;
17510 wxDateTime *arg1 = (wxDateTime *) 0 ;
17511 int arg2 = (int) wxDateTime::Monday_First ;
17512 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17513 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
17514 int result;
17515 bool temp3 = False ;
17516 PyObject * obj0 = 0 ;
17517 PyObject * obj2 = 0 ;
17518 char *kwnames[] = {
17519 (char *) "self",(char *) "flags",(char *) "tz", NULL
17520 };
17521
17522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames,&obj0,&arg2,&obj2)) goto fail;
17523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17524 if (obj2) {
17525 {
17526 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
17527 temp3 = True;
17528 }
17529 }
17530 {
17531 PyThreadState* __tstate = wxPyBeginAllowThreads();
17532 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
17533
17534 wxPyEndAllowThreads(__tstate);
17535 if (PyErr_Occurred()) SWIG_fail;
17536 }
17537 resultobj = PyInt_FromLong((long)result);
17538 {
17539 if (temp3) delete arg3;
17540 }
17541 return resultobj;
17542 fail:
17543 {
17544 if (temp3) delete arg3;
17545 }
17546 return NULL;
17547}
17548
17549
17550static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17551 PyObject *resultobj;
17552 wxDateTime *arg1 = (wxDateTime *) 0 ;
17553 int arg2 = (int) wxDateTime::Country_Default ;
17554 bool result;
17555 PyObject * obj0 = 0 ;
17556 char *kwnames[] = {
17557 (char *) "self",(char *) "country", NULL
17558 };
17559
17560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsWorkDay",kwnames,&obj0,&arg2)) goto fail;
17561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17562 {
17563 PyThreadState* __tstate = wxPyBeginAllowThreads();
17564 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
17565
17566 wxPyEndAllowThreads(__tstate);
17567 if (PyErr_Occurred()) SWIG_fail;
17568 }
17569 resultobj = PyInt_FromLong((long)result);
17570 return resultobj;
17571 fail:
17572 return NULL;
17573}
17574
17575
17576static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17577 PyObject *resultobj;
17578 wxDateTime *arg1 = (wxDateTime *) 0 ;
17579 wxDateTime *arg2 = 0 ;
17580 bool result;
17581 PyObject * obj0 = 0 ;
17582 PyObject * obj1 = 0 ;
17583 char *kwnames[] = {
17584 (char *) "self",(char *) "datetime", NULL
17585 };
17586
17587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
17588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17589 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17590 if (arg2 == NULL) {
17591 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17592 }
17593 {
17594 PyThreadState* __tstate = wxPyBeginAllowThreads();
17595 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
17596
17597 wxPyEndAllowThreads(__tstate);
17598 if (PyErr_Occurred()) SWIG_fail;
17599 }
17600 resultobj = PyInt_FromLong((long)result);
17601 return resultobj;
17602 fail:
17603 return NULL;
17604}
17605
17606
17607static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17608 PyObject *resultobj;
17609 wxDateTime *arg1 = (wxDateTime *) 0 ;
17610 wxDateTime *arg2 = 0 ;
17611 bool result;
17612 PyObject * obj0 = 0 ;
17613 PyObject * obj1 = 0 ;
17614 char *kwnames[] = {
17615 (char *) "self",(char *) "datetime", NULL
17616 };
17617
17618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
17619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17621 if (arg2 == NULL) {
17622 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17623 }
17624 {
17625 PyThreadState* __tstate = wxPyBeginAllowThreads();
17626 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
17627
17628 wxPyEndAllowThreads(__tstate);
17629 if (PyErr_Occurred()) SWIG_fail;
17630 }
17631 resultobj = PyInt_FromLong((long)result);
17632 return resultobj;
17633 fail:
17634 return NULL;
17635}
17636
17637
17638static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17639 PyObject *resultobj;
17640 wxDateTime *arg1 = (wxDateTime *) 0 ;
17641 wxDateTime *arg2 = 0 ;
17642 bool result;
17643 PyObject * obj0 = 0 ;
17644 PyObject * obj1 = 0 ;
17645 char *kwnames[] = {
17646 (char *) "self",(char *) "datetime", NULL
17647 };
17648
17649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
17650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17651 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17652 if (arg2 == NULL) {
17653 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17654 }
17655 {
17656 PyThreadState* __tstate = wxPyBeginAllowThreads();
17657 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
17658
17659 wxPyEndAllowThreads(__tstate);
17660 if (PyErr_Occurred()) SWIG_fail;
17661 }
17662 resultobj = PyInt_FromLong((long)result);
17663 return resultobj;
17664 fail:
17665 return NULL;
17666}
17667
17668
17669static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17670 PyObject *resultobj;
17671 wxDateTime *arg1 = (wxDateTime *) 0 ;
17672 wxDateTime *arg2 = 0 ;
17673 wxDateTime *arg3 = 0 ;
17674 bool result;
17675 PyObject * obj0 = 0 ;
17676 PyObject * obj1 = 0 ;
17677 PyObject * obj2 = 0 ;
17678 char *kwnames[] = {
17679 (char *) "self",(char *) "t1",(char *) "t2", NULL
17680 };
17681
17682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17684 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17685 if (arg2 == NULL) {
17686 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17687 }
17688 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17689 if (arg3 == NULL) {
17690 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17691 }
17692 {
17693 PyThreadState* __tstate = wxPyBeginAllowThreads();
17694 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17695
17696 wxPyEndAllowThreads(__tstate);
17697 if (PyErr_Occurred()) SWIG_fail;
17698 }
17699 resultobj = PyInt_FromLong((long)result);
17700 return resultobj;
17701 fail:
17702 return NULL;
17703}
17704
17705
17706static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17707 PyObject *resultobj;
17708 wxDateTime *arg1 = (wxDateTime *) 0 ;
17709 wxDateTime *arg2 = 0 ;
17710 wxDateTime *arg3 = 0 ;
17711 bool result;
17712 PyObject * obj0 = 0 ;
17713 PyObject * obj1 = 0 ;
17714 PyObject * obj2 = 0 ;
17715 char *kwnames[] = {
17716 (char *) "self",(char *) "t1",(char *) "t2", NULL
17717 };
17718
17719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17721 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17722 if (arg2 == NULL) {
17723 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17724 }
17725 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17726 if (arg3 == NULL) {
17727 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17728 }
17729 {
17730 PyThreadState* __tstate = wxPyBeginAllowThreads();
17731 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17732
17733 wxPyEndAllowThreads(__tstate);
17734 if (PyErr_Occurred()) SWIG_fail;
17735 }
17736 resultobj = PyInt_FromLong((long)result);
17737 return resultobj;
17738 fail:
17739 return NULL;
17740}
17741
17742
17743static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
17744 PyObject *resultobj;
17745 wxDateTime *arg1 = (wxDateTime *) 0 ;
17746 wxDateTime *arg2 = 0 ;
17747 bool result;
17748 PyObject * obj0 = 0 ;
17749 PyObject * obj1 = 0 ;
17750 char *kwnames[] = {
17751 (char *) "self",(char *) "dt", NULL
17752 };
17753
17754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
17755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17756 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17757 if (arg2 == NULL) {
17758 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17759 }
17760 {
17761 PyThreadState* __tstate = wxPyBeginAllowThreads();
17762 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
17763
17764 wxPyEndAllowThreads(__tstate);
17765 if (PyErr_Occurred()) SWIG_fail;
17766 }
17767 resultobj = PyInt_FromLong((long)result);
17768 return resultobj;
17769 fail:
17770 return NULL;
17771}
17772
17773
17774static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17775 PyObject *resultobj;
17776 wxDateTime *arg1 = (wxDateTime *) 0 ;
17777 wxDateTime *arg2 = 0 ;
17778 bool result;
17779 PyObject * obj0 = 0 ;
17780 PyObject * obj1 = 0 ;
17781 char *kwnames[] = {
17782 (char *) "self",(char *) "dt", NULL
17783 };
17784
17785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
17786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17787 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17788 if (arg2 == NULL) {
17789 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17790 }
17791 {
17792 PyThreadState* __tstate = wxPyBeginAllowThreads();
17793 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
17794
17795 wxPyEndAllowThreads(__tstate);
17796 if (PyErr_Occurred()) SWIG_fail;
17797 }
17798 resultobj = PyInt_FromLong((long)result);
17799 return resultobj;
17800 fail:
17801 return NULL;
17802}
17803
17804
17805static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17806 PyObject *resultobj;
17807 wxDateTime *arg1 = (wxDateTime *) 0 ;
17808 wxDateTime *arg2 = 0 ;
17809 wxTimeSpan *arg3 = 0 ;
17810 bool result;
17811 PyObject * obj0 = 0 ;
17812 PyObject * obj1 = 0 ;
17813 PyObject * obj2 = 0 ;
17814 char *kwnames[] = {
17815 (char *) "self",(char *) "dt",(char *) "ts", NULL
17816 };
17817
17818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17820 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17821 if (arg2 == NULL) {
17822 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17823 }
17824 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17825 if (arg3 == NULL) {
17826 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17827 }
17828 {
17829 PyThreadState* __tstate = wxPyBeginAllowThreads();
17830 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
17831
17832 wxPyEndAllowThreads(__tstate);
17833 if (PyErr_Occurred()) SWIG_fail;
17834 }
17835 resultobj = PyInt_FromLong((long)result);
17836 return resultobj;
17837 fail:
17838 return NULL;
17839}
17840
17841
17842static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17843 PyObject *resultobj;
17844 wxDateTime *arg1 = (wxDateTime *) 0 ;
17845 wxTimeSpan *arg2 = 0 ;
17846 wxDateTime *result;
17847 PyObject * obj0 = 0 ;
17848 PyObject * obj1 = 0 ;
17849 char *kwnames[] = {
17850 (char *) "self",(char *) "diff", NULL
17851 };
17852
17853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
17854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17855 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17856 if (arg2 == NULL) {
17857 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17858 }
17859 {
17860 PyThreadState* __tstate = wxPyBeginAllowThreads();
17861 {
17862 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
17863 result = (wxDateTime *) &_result_ref;
17864 }
17865
17866 wxPyEndAllowThreads(__tstate);
17867 if (PyErr_Occurred()) SWIG_fail;
17868 }
17869 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17870 return resultobj;
17871 fail:
17872 return NULL;
17873}
17874
17875
17876static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17877 PyObject *resultobj;
17878 wxDateTime *arg1 = (wxDateTime *) 0 ;
17879 wxDateSpan *arg2 = 0 ;
17880 wxDateTime *result;
17881 PyObject * obj0 = 0 ;
17882 PyObject * obj1 = 0 ;
17883 char *kwnames[] = {
17884 (char *) "self",(char *) "diff", NULL
17885 };
17886
17887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
17888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17889 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17890 if (arg2 == NULL) {
17891 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17892 }
17893 {
17894 PyThreadState* __tstate = wxPyBeginAllowThreads();
17895 {
17896 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
17897 result = (wxDateTime *) &_result_ref;
17898 }
17899
17900 wxPyEndAllowThreads(__tstate);
17901 if (PyErr_Occurred()) SWIG_fail;
17902 }
17903 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17904 return resultobj;
17905 fail:
17906 return NULL;
17907}
17908
17909
17910static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17911 PyObject *resultobj;
17912 wxDateTime *arg1 = (wxDateTime *) 0 ;
17913 wxTimeSpan *arg2 = 0 ;
17914 wxDateTime *result;
17915 PyObject * obj0 = 0 ;
17916 PyObject * obj1 = 0 ;
17917 char *kwnames[] = {
17918 (char *) "self",(char *) "diff", NULL
17919 };
17920
17921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
17922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17923 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17924 if (arg2 == NULL) {
17925 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17926 }
17927 {
17928 PyThreadState* __tstate = wxPyBeginAllowThreads();
17929 {
17930 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
17931 result = (wxDateTime *) &_result_ref;
17932 }
17933
17934 wxPyEndAllowThreads(__tstate);
17935 if (PyErr_Occurred()) SWIG_fail;
17936 }
17937 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17938 return resultobj;
17939 fail:
17940 return NULL;
17941}
17942
17943
17944static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17945 PyObject *resultobj;
17946 wxDateTime *arg1 = (wxDateTime *) 0 ;
17947 wxDateSpan *arg2 = 0 ;
17948 wxDateTime *result;
17949 PyObject * obj0 = 0 ;
17950 PyObject * obj1 = 0 ;
17951 char *kwnames[] = {
17952 (char *) "self",(char *) "diff", NULL
17953 };
17954
17955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
17956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17957 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17958 if (arg2 == NULL) {
17959 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17960 }
17961 {
17962 PyThreadState* __tstate = wxPyBeginAllowThreads();
17963 {
17964 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
17965 result = (wxDateTime *) &_result_ref;
17966 }
17967
17968 wxPyEndAllowThreads(__tstate);
17969 if (PyErr_Occurred()) SWIG_fail;
17970 }
17971 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17972 return resultobj;
17973 fail:
17974 return NULL;
17975}
17976
17977
17978static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
17979 PyObject *resultobj;
17980 wxDateTime *arg1 = (wxDateTime *) 0 ;
17981 wxDateTime *arg2 = 0 ;
17982 wxTimeSpan result;
17983 PyObject * obj0 = 0 ;
17984 PyObject * obj1 = 0 ;
17985 char *kwnames[] = {
17986 (char *) "self",(char *) "dt", NULL
17987 };
17988
17989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
17990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17991 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17992 if (arg2 == NULL) {
17993 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17994 }
17995 {
17996 PyThreadState* __tstate = wxPyBeginAllowThreads();
17997 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
17998
17999 wxPyEndAllowThreads(__tstate);
18000 if (PyErr_Occurred()) SWIG_fail;
18001 }
18002 {
18003 wxTimeSpan * resultptr;
18004 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18005 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18006 }
18007 return resultobj;
18008 fail:
18009 return NULL;
18010}
18011
18012
18013static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
18014 PyObject *resultobj;
18015 wxDateTime *arg1 = (wxDateTime *) 0 ;
18016 wxTimeSpan *arg2 = 0 ;
18017 wxDateTime *result;
18018 PyObject * obj0 = 0 ;
18019 PyObject * obj1 = 0 ;
18020
18021 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
18022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18023 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18024 if (arg2 == NULL) {
18025 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18026 }
18027 {
18028 PyThreadState* __tstate = wxPyBeginAllowThreads();
18029 {
18030 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
18031 result = (wxDateTime *) &_result_ref;
18032 }
18033
18034 wxPyEndAllowThreads(__tstate);
18035 if (PyErr_Occurred()) SWIG_fail;
18036 }
18037 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18038 return resultobj;
18039 fail:
18040 return NULL;
18041}
18042
18043
18044static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
18045 PyObject *resultobj;
18046 wxDateTime *arg1 = (wxDateTime *) 0 ;
18047 wxDateSpan *arg2 = 0 ;
18048 wxDateTime *result;
18049 PyObject * obj0 = 0 ;
18050 PyObject * obj1 = 0 ;
18051
18052 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
18053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18054 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18055 if (arg2 == NULL) {
18056 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18057 }
18058 {
18059 PyThreadState* __tstate = wxPyBeginAllowThreads();
18060 {
18061 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
18062 result = (wxDateTime *) &_result_ref;
18063 }
18064
18065 wxPyEndAllowThreads(__tstate);
18066 if (PyErr_Occurred()) SWIG_fail;
18067 }
18068 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18069 return resultobj;
18070 fail:
18071 return NULL;
18072}
18073
18074
18075static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
18076 int argc;
18077 PyObject *argv[3];
18078 int ii;
18079
18080 argc = PyObject_Length(args);
18081 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18082 argv[ii] = PyTuple_GetItem(args,ii);
18083 }
18084 if (argc == 2) {
18085 int _v;
18086 {
18087 void *ptr;
18088 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18089 _v = 0;
18090 PyErr_Clear();
18091 } else {
18092 _v = 1;
18093 }
18094 }
18095 if (_v) {
18096 {
18097 void *ptr;
18098 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18099 _v = 0;
18100 PyErr_Clear();
18101 } else {
18102 _v = 1;
18103 }
18104 }
18105 if (_v) {
18106 return _wrap_DateTime___iadd____SWIG_0(self,args);
18107 }
18108 }
18109 }
18110 if (argc == 2) {
18111 int _v;
18112 {
18113 void *ptr;
18114 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18115 _v = 0;
18116 PyErr_Clear();
18117 } else {
18118 _v = 1;
18119 }
18120 }
18121 if (_v) {
18122 {
18123 void *ptr;
18124 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18125 _v = 0;
18126 PyErr_Clear();
18127 } else {
18128 _v = 1;
18129 }
18130 }
18131 if (_v) {
18132 return _wrap_DateTime___iadd____SWIG_1(self,args);
18133 }
18134 }
18135 }
18136
18137 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
18138 return NULL;
18139}
18140
18141
18142static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
18143 PyObject *resultobj;
18144 wxDateTime *arg1 = (wxDateTime *) 0 ;
18145 wxTimeSpan *arg2 = 0 ;
18146 wxDateTime *result;
18147 PyObject * obj0 = 0 ;
18148 PyObject * obj1 = 0 ;
18149
18150 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
18151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18152 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18153 if (arg2 == NULL) {
18154 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18155 }
18156 {
18157 PyThreadState* __tstate = wxPyBeginAllowThreads();
18158 {
18159 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
18160 result = (wxDateTime *) &_result_ref;
18161 }
18162
18163 wxPyEndAllowThreads(__tstate);
18164 if (PyErr_Occurred()) SWIG_fail;
18165 }
18166 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18167 return resultobj;
18168 fail:
18169 return NULL;
18170}
18171
18172
18173static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
18174 PyObject *resultobj;
18175 wxDateTime *arg1 = (wxDateTime *) 0 ;
18176 wxDateSpan *arg2 = 0 ;
18177 wxDateTime *result;
18178 PyObject * obj0 = 0 ;
18179 PyObject * obj1 = 0 ;
18180
18181 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
18182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18183 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18184 if (arg2 == NULL) {
18185 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18186 }
18187 {
18188 PyThreadState* __tstate = wxPyBeginAllowThreads();
18189 {
18190 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
18191 result = (wxDateTime *) &_result_ref;
18192 }
18193
18194 wxPyEndAllowThreads(__tstate);
18195 if (PyErr_Occurred()) SWIG_fail;
18196 }
18197 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18198 return resultobj;
18199 fail:
18200 return NULL;
18201}
18202
18203
18204static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
18205 int argc;
18206 PyObject *argv[3];
18207 int ii;
18208
18209 argc = PyObject_Length(args);
18210 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18211 argv[ii] = PyTuple_GetItem(args,ii);
18212 }
18213 if (argc == 2) {
18214 int _v;
18215 {
18216 void *ptr;
18217 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18218 _v = 0;
18219 PyErr_Clear();
18220 } else {
18221 _v = 1;
18222 }
18223 }
18224 if (_v) {
18225 {
18226 void *ptr;
18227 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18228 _v = 0;
18229 PyErr_Clear();
18230 } else {
18231 _v = 1;
18232 }
18233 }
18234 if (_v) {
18235 return _wrap_DateTime___isub____SWIG_0(self,args);
18236 }
18237 }
18238 }
18239 if (argc == 2) {
18240 int _v;
18241 {
18242 void *ptr;
18243 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18244 _v = 0;
18245 PyErr_Clear();
18246 } else {
18247 _v = 1;
18248 }
18249 }
18250 if (_v) {
18251 {
18252 void *ptr;
18253 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18254 _v = 0;
18255 PyErr_Clear();
18256 } else {
18257 _v = 1;
18258 }
18259 }
18260 if (_v) {
18261 return _wrap_DateTime___isub____SWIG_1(self,args);
18262 }
18263 }
18264 }
18265
18266 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
18267 return NULL;
18268}
18269
18270
18271static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
18272 PyObject *resultobj;
18273 wxDateTime *arg1 = (wxDateTime *) 0 ;
18274 wxTimeSpan *arg2 = 0 ;
18275 wxDateTime result;
18276 PyObject * obj0 = 0 ;
18277 PyObject * obj1 = 0 ;
18278
18279 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18281 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18282 if (arg2 == NULL) {
18283 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18284 }
18285 {
18286 PyThreadState* __tstate = wxPyBeginAllowThreads();
18287 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
18288
18289 wxPyEndAllowThreads(__tstate);
18290 if (PyErr_Occurred()) SWIG_fail;
18291 }
18292 {
18293 wxDateTime * resultptr;
18294 resultptr = new wxDateTime((wxDateTime &) result);
18295 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18296 }
18297 return resultobj;
18298 fail:
18299 return NULL;
18300}
18301
18302
18303static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
18304 PyObject *resultobj;
18305 wxDateTime *arg1 = (wxDateTime *) 0 ;
18306 wxDateSpan *arg2 = 0 ;
18307 wxDateTime result;
18308 PyObject * obj0 = 0 ;
18309 PyObject * obj1 = 0 ;
18310
18311 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18313 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18314 if (arg2 == NULL) {
18315 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18316 }
18317 {
18318 PyThreadState* __tstate = wxPyBeginAllowThreads();
18319 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
18320
18321 wxPyEndAllowThreads(__tstate);
18322 if (PyErr_Occurred()) SWIG_fail;
18323 }
18324 {
18325 wxDateTime * resultptr;
18326 resultptr = new wxDateTime((wxDateTime &) result);
18327 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18328 }
18329 return resultobj;
18330 fail:
18331 return NULL;
18332}
18333
18334
18335static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
18336 int argc;
18337 PyObject *argv[3];
18338 int ii;
18339
18340 argc = PyObject_Length(args);
18341 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18342 argv[ii] = PyTuple_GetItem(args,ii);
18343 }
18344 if (argc == 2) {
18345 int _v;
18346 {
18347 void *ptr;
18348 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18349 _v = 0;
18350 PyErr_Clear();
18351 } else {
18352 _v = 1;
18353 }
18354 }
18355 if (_v) {
18356 {
18357 void *ptr;
18358 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18359 _v = 0;
18360 PyErr_Clear();
18361 } else {
18362 _v = 1;
18363 }
18364 }
18365 if (_v) {
18366 return _wrap_DateTime___add____SWIG_0(self,args);
18367 }
18368 }
18369 }
18370 if (argc == 2) {
18371 int _v;
18372 {
18373 void *ptr;
18374 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18375 _v = 0;
18376 PyErr_Clear();
18377 } else {
18378 _v = 1;
18379 }
18380 }
18381 if (_v) {
18382 {
18383 void *ptr;
18384 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18385 _v = 0;
18386 PyErr_Clear();
18387 } else {
18388 _v = 1;
18389 }
18390 }
18391 if (_v) {
18392 return _wrap_DateTime___add____SWIG_1(self,args);
18393 }
18394 }
18395 }
18396
18397 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
18398 return NULL;
18399}
18400
18401
18402static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
18403 PyObject *resultobj;
18404 wxDateTime *arg1 = (wxDateTime *) 0 ;
18405 wxDateTime *arg2 = 0 ;
18406 wxTimeSpan result;
18407 PyObject * obj0 = 0 ;
18408 PyObject * obj1 = 0 ;
18409
18410 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18412 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18413 if (arg2 == NULL) {
18414 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18415 }
18416 {
18417 PyThreadState* __tstate = wxPyBeginAllowThreads();
18418 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
18419
18420 wxPyEndAllowThreads(__tstate);
18421 if (PyErr_Occurred()) SWIG_fail;
18422 }
18423 {
18424 wxTimeSpan * resultptr;
18425 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18426 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18427 }
18428 return resultobj;
18429 fail:
18430 return NULL;
18431}
18432
18433
18434static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
18435 PyObject *resultobj;
18436 wxDateTime *arg1 = (wxDateTime *) 0 ;
18437 wxTimeSpan *arg2 = 0 ;
18438 wxDateTime result;
18439 PyObject * obj0 = 0 ;
18440 PyObject * obj1 = 0 ;
18441
18442 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18444 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18445 if (arg2 == NULL) {
18446 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18447 }
18448 {
18449 PyThreadState* __tstate = wxPyBeginAllowThreads();
18450 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
18451
18452 wxPyEndAllowThreads(__tstate);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
18455 {
18456 wxDateTime * resultptr;
18457 resultptr = new wxDateTime((wxDateTime &) result);
18458 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18459 }
18460 return resultobj;
18461 fail:
18462 return NULL;
18463}
18464
18465
18466static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
18467 PyObject *resultobj;
18468 wxDateTime *arg1 = (wxDateTime *) 0 ;
18469 wxDateSpan *arg2 = 0 ;
18470 wxDateTime result;
18471 PyObject * obj0 = 0 ;
18472 PyObject * obj1 = 0 ;
18473
18474 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18476 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18477 if (arg2 == NULL) {
18478 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18479 }
18480 {
18481 PyThreadState* __tstate = wxPyBeginAllowThreads();
18482 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
18483
18484 wxPyEndAllowThreads(__tstate);
18485 if (PyErr_Occurred()) SWIG_fail;
18486 }
18487 {
18488 wxDateTime * resultptr;
18489 resultptr = new wxDateTime((wxDateTime &) result);
18490 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18491 }
18492 return resultobj;
18493 fail:
18494 return NULL;
18495}
18496
18497
18498static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
18499 int argc;
18500 PyObject *argv[3];
18501 int ii;
18502
18503 argc = PyObject_Length(args);
18504 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18505 argv[ii] = PyTuple_GetItem(args,ii);
18506 }
18507 if (argc == 2) {
18508 int _v;
18509 {
18510 void *ptr;
18511 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18512 _v = 0;
18513 PyErr_Clear();
18514 } else {
18515 _v = 1;
18516 }
18517 }
18518 if (_v) {
18519 {
18520 void *ptr;
18521 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18522 _v = 0;
18523 PyErr_Clear();
18524 } else {
18525 _v = 1;
18526 }
18527 }
18528 if (_v) {
18529 return _wrap_DateTime___sub____SWIG_0(self,args);
18530 }
18531 }
18532 }
18533 if (argc == 2) {
18534 int _v;
18535 {
18536 void *ptr;
18537 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18538 _v = 0;
18539 PyErr_Clear();
18540 } else {
18541 _v = 1;
18542 }
18543 }
18544 if (_v) {
18545 {
18546 void *ptr;
18547 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18548 _v = 0;
18549 PyErr_Clear();
18550 } else {
18551 _v = 1;
18552 }
18553 }
18554 if (_v) {
18555 return _wrap_DateTime___sub____SWIG_1(self,args);
18556 }
18557 }
18558 }
18559 if (argc == 2) {
18560 int _v;
18561 {
18562 void *ptr;
18563 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18564 _v = 0;
18565 PyErr_Clear();
18566 } else {
18567 _v = 1;
18568 }
18569 }
18570 if (_v) {
18571 {
18572 void *ptr;
18573 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18574 _v = 0;
18575 PyErr_Clear();
18576 } else {
18577 _v = 1;
18578 }
18579 }
18580 if (_v) {
18581 return _wrap_DateTime___sub____SWIG_2(self,args);
18582 }
18583 }
18584 }
18585
18586 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
18587 return NULL;
18588}
18589
18590
18591static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
18592 PyObject *resultobj;
18593 wxDateTime *arg1 = (wxDateTime *) 0 ;
18594 wxDateTime *arg2 = 0 ;
18595 bool result;
18596 PyObject * obj0 = 0 ;
18597 PyObject * obj1 = 0 ;
18598
18599 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
18600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18601 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18602 if (arg2 == NULL) {
18603 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18604 }
18605 {
18606 PyThreadState* __tstate = wxPyBeginAllowThreads();
18607 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const &)*arg2);
18608
18609 wxPyEndAllowThreads(__tstate);
18610 if (PyErr_Occurred()) SWIG_fail;
18611 }
18612 resultobj = PyInt_FromLong((long)result);
18613 return resultobj;
18614 fail:
18615 return NULL;
18616}
18617
18618
18619static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
18620 PyObject *resultobj;
18621 wxDateTime *arg1 = (wxDateTime *) 0 ;
18622 wxDateTime *arg2 = 0 ;
18623 bool result;
18624 PyObject * obj0 = 0 ;
18625 PyObject * obj1 = 0 ;
18626
18627 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
18628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18629 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18630 if (arg2 == NULL) {
18631 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18632 }
18633 {
18634 PyThreadState* __tstate = wxPyBeginAllowThreads();
18635 result = (bool)wxDateTime___le__(arg1,(wxDateTime const &)*arg2);
18636
18637 wxPyEndAllowThreads(__tstate);
18638 if (PyErr_Occurred()) SWIG_fail;
18639 }
18640 resultobj = PyInt_FromLong((long)result);
18641 return resultobj;
18642 fail:
18643 return NULL;
18644}
18645
18646
18647static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
18648 PyObject *resultobj;
18649 wxDateTime *arg1 = (wxDateTime *) 0 ;
18650 wxDateTime *arg2 = 0 ;
18651 bool result;
18652 PyObject * obj0 = 0 ;
18653 PyObject * obj1 = 0 ;
18654
18655 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
18656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18657 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18658 if (arg2 == NULL) {
18659 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18660 }
18661 {
18662 PyThreadState* __tstate = wxPyBeginAllowThreads();
18663 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const &)*arg2);
18664
18665 wxPyEndAllowThreads(__tstate);
18666 if (PyErr_Occurred()) SWIG_fail;
18667 }
18668 resultobj = PyInt_FromLong((long)result);
18669 return resultobj;
18670 fail:
18671 return NULL;
18672}
18673
18674
18675static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
18676 PyObject *resultobj;
18677 wxDateTime *arg1 = (wxDateTime *) 0 ;
18678 wxDateTime *arg2 = 0 ;
18679 bool result;
18680 PyObject * obj0 = 0 ;
18681 PyObject * obj1 = 0 ;
18682
18683 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
18684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18685 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18686 if (arg2 == NULL) {
18687 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18688 }
18689 {
18690 PyThreadState* __tstate = wxPyBeginAllowThreads();
18691 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const &)*arg2);
18692
18693 wxPyEndAllowThreads(__tstate);
18694 if (PyErr_Occurred()) SWIG_fail;
18695 }
18696 resultobj = PyInt_FromLong((long)result);
18697 return resultobj;
18698 fail:
18699 return NULL;
18700}
18701
18702
18703static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
18704 PyObject *resultobj;
18705 wxDateTime *arg1 = (wxDateTime *) 0 ;
18706 wxDateTime *arg2 = 0 ;
18707 bool result;
18708 PyObject * obj0 = 0 ;
18709 PyObject * obj1 = 0 ;
18710
18711 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
18712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18713 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18714 if (arg2 == NULL) {
18715 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18716 }
18717 {
18718 PyThreadState* __tstate = wxPyBeginAllowThreads();
18719 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const &)*arg2);
18720
18721 wxPyEndAllowThreads(__tstate);
18722 if (PyErr_Occurred()) SWIG_fail;
18723 }
18724 resultobj = PyInt_FromLong((long)result);
18725 return resultobj;
18726 fail:
18727 return NULL;
18728}
18729
18730
18731static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
18732 PyObject *resultobj;
18733 wxDateTime *arg1 = (wxDateTime *) 0 ;
18734 wxDateTime *arg2 = 0 ;
18735 bool result;
18736 PyObject * obj0 = 0 ;
18737 PyObject * obj1 = 0 ;
18738
18739 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
18740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18741 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18742 if (arg2 == NULL) {
18743 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18744 }
18745 {
18746 PyThreadState* __tstate = wxPyBeginAllowThreads();
18747 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const &)*arg2);
18748
18749 wxPyEndAllowThreads(__tstate);
18750 if (PyErr_Occurred()) SWIG_fail;
18751 }
18752 resultobj = PyInt_FromLong((long)result);
18753 return resultobj;
18754 fail:
18755 return NULL;
18756}
18757
18758
18759static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
18760 PyObject *resultobj;
18761 wxDateTime *arg1 = (wxDateTime *) 0 ;
18762 wxString *arg2 = 0 ;
18763 int result;
18764 bool temp2 = False ;
18765 PyObject * obj0 = 0 ;
18766 PyObject * obj1 = 0 ;
18767 char *kwnames[] = {
18768 (char *) "self",(char *) "date", NULL
18769 };
18770
18771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
18772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18773 {
18774 arg2 = wxString_in_helper(obj1);
18775 if (arg2 == NULL) SWIG_fail;
18776 temp2 = True;
18777 }
18778 {
18779 PyThreadState* __tstate = wxPyBeginAllowThreads();
18780 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
18781
18782 wxPyEndAllowThreads(__tstate);
18783 if (PyErr_Occurred()) SWIG_fail;
18784 }
18785 resultobj = PyInt_FromLong((long)result);
18786 {
18787 if (temp2)
18788 delete arg2;
18789 }
18790 return resultobj;
18791 fail:
18792 {
18793 if (temp2)
18794 delete arg2;
18795 }
18796 return NULL;
18797}
18798
18799
18800static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
18801 PyObject *resultobj;
18802 wxDateTime *arg1 = (wxDateTime *) 0 ;
18803 wxString *arg2 = 0 ;
18804 wxString const &arg3_defvalue = wxPyDateFormatStr ;
18805 wxString *arg3 = (wxString *) &arg3_defvalue ;
18806 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
18807 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
18808 int result;
18809 bool temp2 = False ;
18810 bool temp3 = False ;
18811 PyObject * obj0 = 0 ;
18812 PyObject * obj1 = 0 ;
18813 PyObject * obj2 = 0 ;
18814 PyObject * obj3 = 0 ;
18815 char *kwnames[] = {
18816 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
18817 };
18818
18819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18821 {
18822 arg2 = wxString_in_helper(obj1);
18823 if (arg2 == NULL) SWIG_fail;
18824 temp2 = True;
18825 }
18826 if (obj2) {
18827 {
18828 arg3 = wxString_in_helper(obj2);
18829 if (arg3 == NULL) SWIG_fail;
18830 temp3 = True;
18831 }
18832 }
18833 if (obj3) {
18834 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18835 if (arg4 == NULL) {
18836 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18837 }
18838 }
18839 {
18840 PyThreadState* __tstate = wxPyBeginAllowThreads();
18841 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
18842
18843 wxPyEndAllowThreads(__tstate);
18844 if (PyErr_Occurred()) SWIG_fail;
18845 }
18846 resultobj = PyInt_FromLong((long)result);
18847 {
18848 if (temp2)
18849 delete arg2;
18850 }
18851 {
18852 if (temp3)
18853 delete arg3;
18854 }
18855 return resultobj;
18856 fail:
18857 {
18858 if (temp2)
18859 delete arg2;
18860 }
18861 {
18862 if (temp3)
18863 delete arg3;
18864 }
18865 return NULL;
18866}
18867
18868
18869static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18870 PyObject *resultobj;
18871 wxDateTime *arg1 = (wxDateTime *) 0 ;
18872 wxString *arg2 = 0 ;
18873 int result;
18874 bool temp2 = False ;
18875 PyObject * obj0 = 0 ;
18876 PyObject * obj1 = 0 ;
18877 char *kwnames[] = {
18878 (char *) "self",(char *) "datetime", NULL
18879 };
18880
18881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
18882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18883 {
18884 arg2 = wxString_in_helper(obj1);
18885 if (arg2 == NULL) SWIG_fail;
18886 temp2 = True;
18887 }
18888 {
18889 PyThreadState* __tstate = wxPyBeginAllowThreads();
18890 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
18891
18892 wxPyEndAllowThreads(__tstate);
18893 if (PyErr_Occurred()) SWIG_fail;
18894 }
18895 resultobj = PyInt_FromLong((long)result);
18896 {
18897 if (temp2)
18898 delete arg2;
18899 }
18900 return resultobj;
18901 fail:
18902 {
18903 if (temp2)
18904 delete arg2;
18905 }
18906 return NULL;
18907}
18908
18909
18910static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
18911 PyObject *resultobj;
18912 wxDateTime *arg1 = (wxDateTime *) 0 ;
18913 wxString *arg2 = 0 ;
18914 int result;
18915 bool temp2 = False ;
18916 PyObject * obj0 = 0 ;
18917 PyObject * obj1 = 0 ;
18918 char *kwnames[] = {
18919 (char *) "self",(char *) "date", NULL
18920 };
18921
18922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
18923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18924 {
18925 arg2 = wxString_in_helper(obj1);
18926 if (arg2 == NULL) SWIG_fail;
18927 temp2 = True;
18928 }
18929 {
18930 PyThreadState* __tstate = wxPyBeginAllowThreads();
18931 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
18932
18933 wxPyEndAllowThreads(__tstate);
18934 if (PyErr_Occurred()) SWIG_fail;
18935 }
18936 resultobj = PyInt_FromLong((long)result);
18937 {
18938 if (temp2)
18939 delete arg2;
18940 }
18941 return resultobj;
18942 fail:
18943 {
18944 if (temp2)
18945 delete arg2;
18946 }
18947 return NULL;
18948}
18949
18950
18951static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18952 PyObject *resultobj;
18953 wxDateTime *arg1 = (wxDateTime *) 0 ;
18954 wxString *arg2 = 0 ;
18955 int result;
18956 bool temp2 = False ;
18957 PyObject * obj0 = 0 ;
18958 PyObject * obj1 = 0 ;
18959 char *kwnames[] = {
18960 (char *) "self",(char *) "time", NULL
18961 };
18962
18963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
18964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18965 {
18966 arg2 = wxString_in_helper(obj1);
18967 if (arg2 == NULL) SWIG_fail;
18968 temp2 = True;
18969 }
18970 {
18971 PyThreadState* __tstate = wxPyBeginAllowThreads();
18972 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
18973
18974 wxPyEndAllowThreads(__tstate);
18975 if (PyErr_Occurred()) SWIG_fail;
18976 }
18977 resultobj = PyInt_FromLong((long)result);
18978 {
18979 if (temp2)
18980 delete arg2;
18981 }
18982 return resultobj;
18983 fail:
18984 {
18985 if (temp2)
18986 delete arg2;
18987 }
18988 return NULL;
18989}
18990
18991
18992static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
18993 PyObject *resultobj;
18994 wxDateTime *arg1 = (wxDateTime *) 0 ;
18995 wxString const &arg2_defvalue = wxPyDateFormatStr ;
18996 wxString *arg2 = (wxString *) &arg2_defvalue ;
18997 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
18998 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
18999 wxString result;
19000 bool temp2 = False ;
19001 bool temp3 = False ;
19002 PyObject * obj0 = 0 ;
19003 PyObject * obj1 = 0 ;
19004 PyObject * obj2 = 0 ;
19005 char *kwnames[] = {
19006 (char *) "self",(char *) "format",(char *) "tz", NULL
19007 };
19008
19009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
19010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19011 if (obj1) {
19012 {
19013 arg2 = wxString_in_helper(obj1);
19014 if (arg2 == NULL) SWIG_fail;
19015 temp2 = True;
19016 }
19017 }
19018 if (obj2) {
19019 {
19020 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19021 temp3 = True;
19022 }
19023 }
19024 {
19025 PyThreadState* __tstate = wxPyBeginAllowThreads();
19026 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
19027
19028 wxPyEndAllowThreads(__tstate);
19029 if (PyErr_Occurred()) SWIG_fail;
19030 }
19031 {
19032#if wxUSE_UNICODE
19033 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19034#else
19035 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19036#endif
19037 }
19038 {
19039 if (temp2)
19040 delete arg2;
19041 }
19042 {
19043 if (temp3) delete arg3;
19044 }
19045 return resultobj;
19046 fail:
19047 {
19048 if (temp2)
19049 delete arg2;
19050 }
19051 {
19052 if (temp3) delete arg3;
19053 }
19054 return NULL;
19055}
19056
19057
19058static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19059 PyObject *resultobj;
19060 wxDateTime *arg1 = (wxDateTime *) 0 ;
19061 wxString result;
19062 PyObject * obj0 = 0 ;
19063 char *kwnames[] = {
19064 (char *) "self", NULL
19065 };
19066
19067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
19068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19069 {
19070 PyThreadState* __tstate = wxPyBeginAllowThreads();
19071 result = ((wxDateTime const *)arg1)->FormatDate();
19072
19073 wxPyEndAllowThreads(__tstate);
19074 if (PyErr_Occurred()) SWIG_fail;
19075 }
19076 {
19077#if wxUSE_UNICODE
19078 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19079#else
19080 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19081#endif
19082 }
19083 return resultobj;
19084 fail:
19085 return NULL;
19086}
19087
19088
19089static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19090 PyObject *resultobj;
19091 wxDateTime *arg1 = (wxDateTime *) 0 ;
19092 wxString result;
19093 PyObject * obj0 = 0 ;
19094 char *kwnames[] = {
19095 (char *) "self", NULL
19096 };
19097
19098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
19099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19100 {
19101 PyThreadState* __tstate = wxPyBeginAllowThreads();
19102 result = ((wxDateTime const *)arg1)->FormatTime();
19103
19104 wxPyEndAllowThreads(__tstate);
19105 if (PyErr_Occurred()) SWIG_fail;
19106 }
19107 {
19108#if wxUSE_UNICODE
19109 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19110#else
19111 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19112#endif
19113 }
19114 return resultobj;
19115 fail:
19116 return NULL;
19117}
19118
19119
19120static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
19121 PyObject *resultobj;
19122 wxDateTime *arg1 = (wxDateTime *) 0 ;
19123 wxString result;
19124 PyObject * obj0 = 0 ;
19125 char *kwnames[] = {
19126 (char *) "self", NULL
19127 };
19128
19129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
19130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19131 {
19132 PyThreadState* __tstate = wxPyBeginAllowThreads();
19133 result = ((wxDateTime const *)arg1)->FormatISODate();
19134
19135 wxPyEndAllowThreads(__tstate);
19136 if (PyErr_Occurred()) SWIG_fail;
19137 }
19138 {
19139#if wxUSE_UNICODE
19140 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19141#else
19142 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19143#endif
19144 }
19145 return resultobj;
19146 fail:
19147 return NULL;
19148}
19149
19150
19151static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19152 PyObject *resultobj;
19153 wxDateTime *arg1 = (wxDateTime *) 0 ;
19154 wxString result;
19155 PyObject * obj0 = 0 ;
19156 char *kwnames[] = {
19157 (char *) "self", NULL
19158 };
19159
19160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
19161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19162 {
19163 PyThreadState* __tstate = wxPyBeginAllowThreads();
19164 result = ((wxDateTime const *)arg1)->FormatISOTime();
19165
19166 wxPyEndAllowThreads(__tstate);
19167 if (PyErr_Occurred()) SWIG_fail;
19168 }
19169 {
19170#if wxUSE_UNICODE
19171 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19172#else
19173 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19174#endif
19175 }
19176 return resultobj;
19177 fail:
19178 return NULL;
19179}
19180
19181
19182static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
19183 PyObject *obj;
19184 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19185 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
19186 Py_INCREF(obj);
19187 return Py_BuildValue((char *)"");
19188}
19189static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
19190 PyObject *resultobj;
19191 long arg1 ;
19192 wxTimeSpan result;
19193 char *kwnames[] = {
19194 (char *) "sec", NULL
19195 };
19196
19197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Seconds",kwnames,&arg1)) goto fail;
19198 {
19199 PyThreadState* __tstate = wxPyBeginAllowThreads();
19200 result = wxTimeSpan::Seconds(arg1);
19201
19202 wxPyEndAllowThreads(__tstate);
19203 if (PyErr_Occurred()) SWIG_fail;
19204 }
19205 {
19206 wxTimeSpan * resultptr;
19207 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19208 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19209 }
19210 return resultobj;
19211 fail:
19212 return NULL;
19213}
19214
19215
19216static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
19217 PyObject *resultobj;
19218 wxTimeSpan result;
19219 char *kwnames[] = {
19220 NULL
19221 };
19222
19223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
19224 {
19225 PyThreadState* __tstate = wxPyBeginAllowThreads();
19226 result = wxTimeSpan::Second();
19227
19228 wxPyEndAllowThreads(__tstate);
19229 if (PyErr_Occurred()) SWIG_fail;
19230 }
19231 {
19232 wxTimeSpan * resultptr;
19233 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19234 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19235 }
19236 return resultobj;
19237 fail:
19238 return NULL;
19239}
19240
19241
19242static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
19243 PyObject *resultobj;
19244 long arg1 ;
19245 wxTimeSpan result;
19246 char *kwnames[] = {
19247 (char *) "min", NULL
19248 };
19249
19250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Minutes",kwnames,&arg1)) goto fail;
19251 {
19252 PyThreadState* __tstate = wxPyBeginAllowThreads();
19253 result = wxTimeSpan::Minutes(arg1);
19254
19255 wxPyEndAllowThreads(__tstate);
19256 if (PyErr_Occurred()) SWIG_fail;
19257 }
19258 {
19259 wxTimeSpan * resultptr;
19260 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19261 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19262 }
19263 return resultobj;
19264 fail:
19265 return NULL;
19266}
19267
19268
19269static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
19270 PyObject *resultobj;
19271 wxTimeSpan result;
19272 char *kwnames[] = {
19273 NULL
19274 };
19275
19276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
19277 {
19278 PyThreadState* __tstate = wxPyBeginAllowThreads();
19279 result = wxTimeSpan::Minute();
19280
19281 wxPyEndAllowThreads(__tstate);
19282 if (PyErr_Occurred()) SWIG_fail;
19283 }
19284 {
19285 wxTimeSpan * resultptr;
19286 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19287 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19288 }
19289 return resultobj;
19290 fail:
19291 return NULL;
19292}
19293
19294
19295static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
19296 PyObject *resultobj;
19297 long arg1 ;
19298 wxTimeSpan result;
19299 char *kwnames[] = {
19300 (char *) "hours", NULL
19301 };
19302
19303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Hours",kwnames,&arg1)) goto fail;
19304 {
19305 PyThreadState* __tstate = wxPyBeginAllowThreads();
19306 result = wxTimeSpan::Hours(arg1);
19307
19308 wxPyEndAllowThreads(__tstate);
19309 if (PyErr_Occurred()) SWIG_fail;
19310 }
19311 {
19312 wxTimeSpan * resultptr;
19313 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19314 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19315 }
19316 return resultobj;
19317 fail:
19318 return NULL;
19319}
19320
19321
19322static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
19323 PyObject *resultobj;
19324 wxTimeSpan result;
19325 char *kwnames[] = {
19326 NULL
19327 };
19328
19329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
19330 {
19331 PyThreadState* __tstate = wxPyBeginAllowThreads();
19332 result = wxTimeSpan::Hour();
19333
19334 wxPyEndAllowThreads(__tstate);
19335 if (PyErr_Occurred()) SWIG_fail;
19336 }
19337 {
19338 wxTimeSpan * resultptr;
19339 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19340 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19341 }
19342 return resultobj;
19343 fail:
19344 return NULL;
19345}
19346
19347
19348static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
19349 PyObject *resultobj;
19350 long arg1 ;
19351 wxTimeSpan result;
19352 char *kwnames[] = {
19353 (char *) "days", NULL
19354 };
19355
19356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Days",kwnames,&arg1)) goto fail;
19357 {
19358 PyThreadState* __tstate = wxPyBeginAllowThreads();
19359 result = wxTimeSpan::Days(arg1);
19360
19361 wxPyEndAllowThreads(__tstate);
19362 if (PyErr_Occurred()) SWIG_fail;
19363 }
19364 {
19365 wxTimeSpan * resultptr;
19366 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19367 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19368 }
19369 return resultobj;
19370 fail:
19371 return NULL;
19372}
19373
19374
19375static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
19376 PyObject *resultobj;
19377 wxTimeSpan result;
19378 char *kwnames[] = {
19379 NULL
19380 };
19381
19382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
19383 {
19384 PyThreadState* __tstate = wxPyBeginAllowThreads();
19385 result = wxTimeSpan::Day();
19386
19387 wxPyEndAllowThreads(__tstate);
19388 if (PyErr_Occurred()) SWIG_fail;
19389 }
19390 {
19391 wxTimeSpan * resultptr;
19392 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19393 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19394 }
19395 return resultobj;
19396 fail:
19397 return NULL;
19398}
19399
19400
19401static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
19402 PyObject *resultobj;
19403 long arg1 ;
19404 wxTimeSpan result;
19405 char *kwnames[] = {
19406 (char *) "days", NULL
19407 };
19408
19409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Weeks",kwnames,&arg1)) goto fail;
19410 {
19411 PyThreadState* __tstate = wxPyBeginAllowThreads();
19412 result = wxTimeSpan::Weeks(arg1);
19413
19414 wxPyEndAllowThreads(__tstate);
19415 if (PyErr_Occurred()) SWIG_fail;
19416 }
19417 {
19418 wxTimeSpan * resultptr;
19419 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19420 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19421 }
19422 return resultobj;
19423 fail:
19424 return NULL;
19425}
19426
19427
19428static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
19429 PyObject *resultobj;
19430 wxTimeSpan result;
19431 char *kwnames[] = {
19432 NULL
19433 };
19434
19435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
19436 {
19437 PyThreadState* __tstate = wxPyBeginAllowThreads();
19438 result = wxTimeSpan::Week();
19439
19440 wxPyEndAllowThreads(__tstate);
19441 if (PyErr_Occurred()) SWIG_fail;
19442 }
19443 {
19444 wxTimeSpan * resultptr;
19445 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19446 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19447 }
19448 return resultobj;
19449 fail:
19450 return NULL;
19451}
19452
19453
19454static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19455 PyObject *resultobj;
19456 long arg1 = (long) 0 ;
19457 long arg2 = (long) 0 ;
19458 long arg3 = (long) 0 ;
19459 long arg4 = (long) 0 ;
19460 wxTimeSpan *result;
19461 char *kwnames[] = {
19462 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
19463 };
19464
19465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|llll:new_TimeSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
19466 {
19467 PyThreadState* __tstate = wxPyBeginAllowThreads();
19468 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
19469
19470 wxPyEndAllowThreads(__tstate);
19471 if (PyErr_Occurred()) SWIG_fail;
19472 }
19473 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 1);
19474 return resultobj;
19475 fail:
19476 return NULL;
19477}
19478
19479
19480static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19481 PyObject *resultobj;
19482 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19483 PyObject * obj0 = 0 ;
19484 char *kwnames[] = {
19485 (char *) "self", NULL
19486 };
19487
19488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
19489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19490 {
19491 PyThreadState* __tstate = wxPyBeginAllowThreads();
19492 delete arg1;
19493
19494 wxPyEndAllowThreads(__tstate);
19495 if (PyErr_Occurred()) SWIG_fail;
19496 }
19497 Py_INCREF(Py_None); resultobj = Py_None;
19498 return resultobj;
19499 fail:
19500 return NULL;
19501}
19502
19503
19504static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
19505 PyObject *resultobj;
19506 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19507 wxTimeSpan *arg2 = 0 ;
19508 wxTimeSpan *result;
19509 PyObject * obj0 = 0 ;
19510 PyObject * obj1 = 0 ;
19511 char *kwnames[] = {
19512 (char *) "self",(char *) "diff", NULL
19513 };
19514
19515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
19516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19517 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19518 if (arg2 == NULL) {
19519 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19520 }
19521 {
19522 PyThreadState* __tstate = wxPyBeginAllowThreads();
19523 {
19524 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19525 result = (wxTimeSpan *) &_result_ref;
19526 }
19527
19528 wxPyEndAllowThreads(__tstate);
19529 if (PyErr_Occurred()) SWIG_fail;
19530 }
19531 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19532 return resultobj;
19533 fail:
19534 return NULL;
19535}
19536
19537
19538static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19539 PyObject *resultobj;
19540 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19541 wxTimeSpan *arg2 = 0 ;
19542 wxTimeSpan *result;
19543 PyObject * obj0 = 0 ;
19544 PyObject * obj1 = 0 ;
19545 char *kwnames[] = {
19546 (char *) "self",(char *) "diff", NULL
19547 };
19548
19549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
19550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19551 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19552 if (arg2 == NULL) {
19553 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19554 }
19555 {
19556 PyThreadState* __tstate = wxPyBeginAllowThreads();
19557 {
19558 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19559 result = (wxTimeSpan *) &_result_ref;
19560 }
19561
19562 wxPyEndAllowThreads(__tstate);
19563 if (PyErr_Occurred()) SWIG_fail;
19564 }
19565 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19566 return resultobj;
19567 fail:
19568 return NULL;
19569}
19570
19571
19572static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
19573 PyObject *resultobj;
19574 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19575 int arg2 ;
19576 wxTimeSpan *result;
19577 PyObject * obj0 = 0 ;
19578 char *kwnames[] = {
19579 (char *) "self",(char *) "n", NULL
19580 };
19581
19582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
19583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19584 {
19585 PyThreadState* __tstate = wxPyBeginAllowThreads();
19586 {
19587 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
19588 result = (wxTimeSpan *) &_result_ref;
19589 }
19590
19591 wxPyEndAllowThreads(__tstate);
19592 if (PyErr_Occurred()) SWIG_fail;
19593 }
19594 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19595 return resultobj;
19596 fail:
19597 return NULL;
19598}
19599
19600
19601static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
19602 PyObject *resultobj;
19603 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19604 wxTimeSpan *result;
19605 PyObject * obj0 = 0 ;
19606 char *kwnames[] = {
19607 (char *) "self", NULL
19608 };
19609
19610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
19611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19612 {
19613 PyThreadState* __tstate = wxPyBeginAllowThreads();
19614 {
19615 wxTimeSpan &_result_ref = (arg1)->Neg();
19616 result = (wxTimeSpan *) &_result_ref;
19617 }
19618
19619 wxPyEndAllowThreads(__tstate);
19620 if (PyErr_Occurred()) SWIG_fail;
19621 }
19622 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19623 return resultobj;
19624 fail:
19625 return NULL;
19626}
19627
19628
19629static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
19630 PyObject *resultobj;
19631 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19632 wxTimeSpan result;
19633 PyObject * obj0 = 0 ;
19634 char *kwnames[] = {
19635 (char *) "self", NULL
19636 };
19637
19638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
19639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19640 {
19641 PyThreadState* __tstate = wxPyBeginAllowThreads();
19642 result = ((wxTimeSpan const *)arg1)->Abs();
19643
19644 wxPyEndAllowThreads(__tstate);
19645 if (PyErr_Occurred()) SWIG_fail;
19646 }
19647 {
19648 wxTimeSpan * resultptr;
19649 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19650 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19651 }
19652 return resultobj;
19653 fail:
19654 return NULL;
19655}
19656
19657
19658static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
19659 PyObject *resultobj;
19660 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19661 wxTimeSpan *arg2 = 0 ;
19662 wxTimeSpan *result;
19663 PyObject * obj0 = 0 ;
19664 PyObject * obj1 = 0 ;
19665 char *kwnames[] = {
19666 (char *) "self",(char *) "diff", NULL
19667 };
19668
19669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
19670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19671 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19672 if (arg2 == NULL) {
19673 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19674 }
19675 {
19676 PyThreadState* __tstate = wxPyBeginAllowThreads();
19677 {
19678 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19679 result = (wxTimeSpan *) &_result_ref;
19680 }
19681
19682 wxPyEndAllowThreads(__tstate);
19683 if (PyErr_Occurred()) SWIG_fail;
19684 }
19685 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19686 return resultobj;
19687 fail:
19688 return NULL;
19689}
19690
19691
19692static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19693 PyObject *resultobj;
19694 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19695 wxTimeSpan *arg2 = 0 ;
19696 wxTimeSpan *result;
19697 PyObject * obj0 = 0 ;
19698 PyObject * obj1 = 0 ;
19699 char *kwnames[] = {
19700 (char *) "self",(char *) "diff", NULL
19701 };
19702
19703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
19704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19705 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19706 if (arg2 == NULL) {
19707 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19708 }
19709 {
19710 PyThreadState* __tstate = wxPyBeginAllowThreads();
19711 {
19712 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
19713 result = (wxTimeSpan *) &_result_ref;
19714 }
19715
19716 wxPyEndAllowThreads(__tstate);
19717 if (PyErr_Occurred()) SWIG_fail;
19718 }
19719 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19720 return resultobj;
19721 fail:
19722 return NULL;
19723}
19724
19725
19726static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19727 PyObject *resultobj;
19728 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19729 int arg2 ;
19730 wxTimeSpan *result;
19731 PyObject * obj0 = 0 ;
19732 char *kwnames[] = {
19733 (char *) "self",(char *) "n", NULL
19734 };
19735
19736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
19737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19738 {
19739 PyThreadState* __tstate = wxPyBeginAllowThreads();
19740 {
19741 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
19742 result = (wxTimeSpan *) &_result_ref;
19743 }
19744
19745 wxPyEndAllowThreads(__tstate);
19746 if (PyErr_Occurred()) SWIG_fail;
19747 }
19748 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19749 return resultobj;
19750 fail:
19751 return NULL;
19752}
19753
19754
19755static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
19756 PyObject *resultobj;
19757 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19758 wxTimeSpan *result;
19759 PyObject * obj0 = 0 ;
19760 char *kwnames[] = {
19761 (char *) "self", NULL
19762 };
19763
19764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
19765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19766 {
19767 PyThreadState* __tstate = wxPyBeginAllowThreads();
19768 {
19769 wxTimeSpan &_result_ref = (arg1)->operator -();
19770 result = (wxTimeSpan *) &_result_ref;
19771 }
19772
19773 wxPyEndAllowThreads(__tstate);
19774 if (PyErr_Occurred()) SWIG_fail;
19775 }
19776 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19777 return resultobj;
19778 fail:
19779 return NULL;
19780}
19781
19782
19783static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
19784 PyObject *resultobj;
19785 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19786 wxTimeSpan *arg2 = 0 ;
19787 wxTimeSpan result;
19788 PyObject * obj0 = 0 ;
19789 PyObject * obj1 = 0 ;
19790 char *kwnames[] = {
19791 (char *) "self",(char *) "other", NULL
19792 };
19793
19794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
19795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19796 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19797 if (arg2 == NULL) {
19798 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19799 }
19800 {
19801 PyThreadState* __tstate = wxPyBeginAllowThreads();
19802 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
19803
19804 wxPyEndAllowThreads(__tstate);
19805 if (PyErr_Occurred()) SWIG_fail;
19806 }
19807 {
19808 wxTimeSpan * resultptr;
19809 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19810 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19811 }
19812 return resultobj;
19813 fail:
19814 return NULL;
19815}
19816
19817
19818static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19819 PyObject *resultobj;
19820 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19821 wxTimeSpan *arg2 = 0 ;
19822 wxTimeSpan result;
19823 PyObject * obj0 = 0 ;
19824 PyObject * obj1 = 0 ;
19825 char *kwnames[] = {
19826 (char *) "self",(char *) "other", NULL
19827 };
19828
19829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
19830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19831 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19832 if (arg2 == NULL) {
19833 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19834 }
19835 {
19836 PyThreadState* __tstate = wxPyBeginAllowThreads();
19837 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
19838
19839 wxPyEndAllowThreads(__tstate);
19840 if (PyErr_Occurred()) SWIG_fail;
19841 }
19842 {
19843 wxTimeSpan * resultptr;
19844 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19845 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19846 }
19847 return resultobj;
19848 fail:
19849 return NULL;
19850}
19851
19852
19853static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19854 PyObject *resultobj;
19855 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19856 int arg2 ;
19857 wxTimeSpan result;
19858 PyObject * obj0 = 0 ;
19859 char *kwnames[] = {
19860 (char *) "self",(char *) "n", NULL
19861 };
19862
19863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
19864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19865 {
19866 PyThreadState* __tstate = wxPyBeginAllowThreads();
19867 result = wxTimeSpan___mul__(arg1,arg2);
19868
19869 wxPyEndAllowThreads(__tstate);
19870 if (PyErr_Occurred()) SWIG_fail;
19871 }
19872 {
19873 wxTimeSpan * resultptr;
19874 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19875 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19876 }
19877 return resultobj;
19878 fail:
19879 return NULL;
19880}
19881
19882
19883static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19884 PyObject *resultobj;
19885 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19886 int arg2 ;
19887 wxTimeSpan result;
19888 PyObject * obj0 = 0 ;
19889 char *kwnames[] = {
19890 (char *) "self",(char *) "n", NULL
19891 };
19892
19893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
19894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19895 {
19896 PyThreadState* __tstate = wxPyBeginAllowThreads();
19897 result = wxTimeSpan___rmul__(arg1,arg2);
19898
19899 wxPyEndAllowThreads(__tstate);
19900 if (PyErr_Occurred()) SWIG_fail;
19901 }
19902 {
19903 wxTimeSpan * resultptr;
19904 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19905 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19906 }
19907 return resultobj;
19908 fail:
19909 return NULL;
19910}
19911
19912
19913static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19914 PyObject *resultobj;
19915 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19916 wxTimeSpan *arg2 = 0 ;
19917 bool result;
19918 PyObject * obj0 = 0 ;
19919 PyObject * obj1 = 0 ;
19920 char *kwnames[] = {
19921 (char *) "self",(char *) "other", NULL
19922 };
19923
19924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
19925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19926 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19927 if (arg2 == NULL) {
19928 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19929 }
19930 {
19931 PyThreadState* __tstate = wxPyBeginAllowThreads();
19932 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const &)*arg2);
19933
19934 wxPyEndAllowThreads(__tstate);
19935 if (PyErr_Occurred()) SWIG_fail;
19936 }
19937 resultobj = PyInt_FromLong((long)result);
19938 return resultobj;
19939 fail:
19940 return NULL;
19941}
19942
19943
19944static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
19945 PyObject *resultobj;
19946 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19947 wxTimeSpan *arg2 = 0 ;
19948 bool result;
19949 PyObject * obj0 = 0 ;
19950 PyObject * obj1 = 0 ;
19951 char *kwnames[] = {
19952 (char *) "self",(char *) "other", NULL
19953 };
19954
19955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
19956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19957 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19958 if (arg2 == NULL) {
19959 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19960 }
19961 {
19962 PyThreadState* __tstate = wxPyBeginAllowThreads();
19963 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const &)*arg2);
19964
19965 wxPyEndAllowThreads(__tstate);
19966 if (PyErr_Occurred()) SWIG_fail;
19967 }
19968 resultobj = PyInt_FromLong((long)result);
19969 return resultobj;
19970 fail:
19971 return NULL;
19972}
19973
19974
19975static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19976 PyObject *resultobj;
19977 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19978 wxTimeSpan *arg2 = 0 ;
19979 bool result;
19980 PyObject * obj0 = 0 ;
19981 PyObject * obj1 = 0 ;
19982 char *kwnames[] = {
19983 (char *) "self",(char *) "other", NULL
19984 };
19985
19986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
19987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19988 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19989 if (arg2 == NULL) {
19990 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19991 }
19992 {
19993 PyThreadState* __tstate = wxPyBeginAllowThreads();
19994 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const &)*arg2);
19995
19996 wxPyEndAllowThreads(__tstate);
19997 if (PyErr_Occurred()) SWIG_fail;
19998 }
19999 resultobj = PyInt_FromLong((long)result);
20000 return resultobj;
20001 fail:
20002 return NULL;
20003}
20004
20005
20006static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
20007 PyObject *resultobj;
20008 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20009 wxTimeSpan *arg2 = 0 ;
20010 bool result;
20011 PyObject * obj0 = 0 ;
20012 PyObject * obj1 = 0 ;
20013 char *kwnames[] = {
20014 (char *) "self",(char *) "other", NULL
20015 };
20016
20017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
20018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20019 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20020 if (arg2 == NULL) {
20021 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20022 }
20023 {
20024 PyThreadState* __tstate = wxPyBeginAllowThreads();
20025 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const &)*arg2);
20026
20027 wxPyEndAllowThreads(__tstate);
20028 if (PyErr_Occurred()) SWIG_fail;
20029 }
20030 resultobj = PyInt_FromLong((long)result);
20031 return resultobj;
20032 fail:
20033 return NULL;
20034}
20035
20036
20037static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
20038 PyObject *resultobj;
20039 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20040 wxTimeSpan *arg2 = 0 ;
20041 bool result;
20042 PyObject * obj0 = 0 ;
20043 PyObject * obj1 = 0 ;
20044 char *kwnames[] = {
20045 (char *) "self",(char *) "other", NULL
20046 };
20047
20048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
20049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20050 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20051 if (arg2 == NULL) {
20052 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20053 }
20054 {
20055 PyThreadState* __tstate = wxPyBeginAllowThreads();
20056 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const &)*arg2);
20057
20058 wxPyEndAllowThreads(__tstate);
20059 if (PyErr_Occurred()) SWIG_fail;
20060 }
20061 resultobj = PyInt_FromLong((long)result);
20062 return resultobj;
20063 fail:
20064 return NULL;
20065}
20066
20067
20068static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
20069 PyObject *resultobj;
20070 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20071 wxTimeSpan *arg2 = 0 ;
20072 bool result;
20073 PyObject * obj0 = 0 ;
20074 PyObject * obj1 = 0 ;
20075 char *kwnames[] = {
20076 (char *) "self",(char *) "other", NULL
20077 };
20078
20079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
20080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20081 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20082 if (arg2 == NULL) {
20083 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20084 }
20085 {
20086 PyThreadState* __tstate = wxPyBeginAllowThreads();
20087 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const &)*arg2);
20088
20089 wxPyEndAllowThreads(__tstate);
20090 if (PyErr_Occurred()) SWIG_fail;
20091 }
20092 resultobj = PyInt_FromLong((long)result);
20093 return resultobj;
20094 fail:
20095 return NULL;
20096}
20097
20098
20099static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
20100 PyObject *resultobj;
20101 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20102 bool result;
20103 PyObject * obj0 = 0 ;
20104 char *kwnames[] = {
20105 (char *) "self", NULL
20106 };
20107
20108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
20109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20110 {
20111 PyThreadState* __tstate = wxPyBeginAllowThreads();
20112 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
20113
20114 wxPyEndAllowThreads(__tstate);
20115 if (PyErr_Occurred()) SWIG_fail;
20116 }
20117 resultobj = PyInt_FromLong((long)result);
20118 return resultobj;
20119 fail:
20120 return NULL;
20121}
20122
20123
20124static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
20125 PyObject *resultobj;
20126 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20127 bool result;
20128 PyObject * obj0 = 0 ;
20129 char *kwnames[] = {
20130 (char *) "self", NULL
20131 };
20132
20133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
20134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20135 {
20136 PyThreadState* __tstate = wxPyBeginAllowThreads();
20137 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
20138
20139 wxPyEndAllowThreads(__tstate);
20140 if (PyErr_Occurred()) SWIG_fail;
20141 }
20142 resultobj = PyInt_FromLong((long)result);
20143 return resultobj;
20144 fail:
20145 return NULL;
20146}
20147
20148
20149static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
20150 PyObject *resultobj;
20151 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20152 bool result;
20153 PyObject * obj0 = 0 ;
20154 char *kwnames[] = {
20155 (char *) "self", NULL
20156 };
20157
20158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
20159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20160 {
20161 PyThreadState* __tstate = wxPyBeginAllowThreads();
20162 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
20163
20164 wxPyEndAllowThreads(__tstate);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
20167 resultobj = PyInt_FromLong((long)result);
20168 return resultobj;
20169 fail:
20170 return NULL;
20171}
20172
20173
20174static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20175 PyObject *resultobj;
20176 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20177 wxTimeSpan *arg2 = 0 ;
20178 bool result;
20179 PyObject * obj0 = 0 ;
20180 PyObject * obj1 = 0 ;
20181 char *kwnames[] = {
20182 (char *) "self",(char *) "ts", NULL
20183 };
20184
20185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
20186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20187 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20188 if (arg2 == NULL) {
20189 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20190 }
20191 {
20192 PyThreadState* __tstate = wxPyBeginAllowThreads();
20193 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
20194
20195 wxPyEndAllowThreads(__tstate);
20196 if (PyErr_Occurred()) SWIG_fail;
20197 }
20198 resultobj = PyInt_FromLong((long)result);
20199 return resultobj;
20200 fail:
20201 return NULL;
20202}
20203
20204
20205static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20206 PyObject *resultobj;
20207 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20208 wxTimeSpan *arg2 = 0 ;
20209 bool result;
20210 PyObject * obj0 = 0 ;
20211 PyObject * obj1 = 0 ;
20212 char *kwnames[] = {
20213 (char *) "self",(char *) "ts", NULL
20214 };
20215
20216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
20217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20218 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20219 if (arg2 == NULL) {
20220 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20221 }
20222 {
20223 PyThreadState* __tstate = wxPyBeginAllowThreads();
20224 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
20225
20226 wxPyEndAllowThreads(__tstate);
20227 if (PyErr_Occurred()) SWIG_fail;
20228 }
20229 resultobj = PyInt_FromLong((long)result);
20230 return resultobj;
20231 fail:
20232 return NULL;
20233}
20234
20235
20236static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20237 PyObject *resultobj;
20238 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20239 wxTimeSpan *arg2 = 0 ;
20240 bool result;
20241 PyObject * obj0 = 0 ;
20242 PyObject * obj1 = 0 ;
20243 char *kwnames[] = {
20244 (char *) "self",(char *) "t", NULL
20245 };
20246
20247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
20248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20249 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20250 if (arg2 == NULL) {
20251 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20252 }
20253 {
20254 PyThreadState* __tstate = wxPyBeginAllowThreads();
20255 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
20256
20257 wxPyEndAllowThreads(__tstate);
20258 if (PyErr_Occurred()) SWIG_fail;
20259 }
20260 resultobj = PyInt_FromLong((long)result);
20261 return resultobj;
20262 fail:
20263 return NULL;
20264}
20265
20266
20267static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20268 PyObject *resultobj;
20269 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20270 int result;
20271 PyObject * obj0 = 0 ;
20272 char *kwnames[] = {
20273 (char *) "self", NULL
20274 };
20275
20276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
20277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20278 {
20279 PyThreadState* __tstate = wxPyBeginAllowThreads();
20280 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
20281
20282 wxPyEndAllowThreads(__tstate);
20283 if (PyErr_Occurred()) SWIG_fail;
20284 }
20285 resultobj = PyInt_FromLong((long)result);
20286 return resultobj;
20287 fail:
20288 return NULL;
20289}
20290
20291
20292static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20293 PyObject *resultobj;
20294 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20295 int result;
20296 PyObject * obj0 = 0 ;
20297 char *kwnames[] = {
20298 (char *) "self", NULL
20299 };
20300
20301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
20302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20303 {
20304 PyThreadState* __tstate = wxPyBeginAllowThreads();
20305 result = (int)((wxTimeSpan const *)arg1)->GetDays();
20306
20307 wxPyEndAllowThreads(__tstate);
20308 if (PyErr_Occurred()) SWIG_fail;
20309 }
20310 resultobj = PyInt_FromLong((long)result);
20311 return resultobj;
20312 fail:
20313 return NULL;
20314}
20315
20316
20317static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
20318 PyObject *resultobj;
20319 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20320 int result;
20321 PyObject * obj0 = 0 ;
20322 char *kwnames[] = {
20323 (char *) "self", NULL
20324 };
20325
20326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
20327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20328 {
20329 PyThreadState* __tstate = wxPyBeginAllowThreads();
20330 result = (int)((wxTimeSpan const *)arg1)->GetHours();
20331
20332 wxPyEndAllowThreads(__tstate);
20333 if (PyErr_Occurred()) SWIG_fail;
20334 }
20335 resultobj = PyInt_FromLong((long)result);
20336 return resultobj;
20337 fail:
20338 return NULL;
20339}
20340
20341
20342static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
20343 PyObject *resultobj;
20344 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20345 int result;
20346 PyObject * obj0 = 0 ;
20347 char *kwnames[] = {
20348 (char *) "self", NULL
20349 };
20350
20351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
20352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20353 {
20354 PyThreadState* __tstate = wxPyBeginAllowThreads();
20355 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
20356
20357 wxPyEndAllowThreads(__tstate);
20358 if (PyErr_Occurred()) SWIG_fail;
20359 }
20360 resultobj = PyInt_FromLong((long)result);
20361 return resultobj;
20362 fail:
20363 return NULL;
20364}
20365
20366
20367static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20368 PyObject *resultobj;
20369 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20370 wxLongLong result;
20371 PyObject * obj0 = 0 ;
20372 char *kwnames[] = {
20373 (char *) "self", NULL
20374 };
20375
20376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
20377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20378 {
20379 PyThreadState* __tstate = wxPyBeginAllowThreads();
20380 result = ((wxTimeSpan const *)arg1)->GetSeconds();
20381
20382 wxPyEndAllowThreads(__tstate);
20383 if (PyErr_Occurred()) SWIG_fail;
20384 }
20385 {
20386 PyObject *hi, *lo, *shifter, *shifted;
20387 hi = PyLong_FromLong( (&result)->GetHi() );
20388 lo = PyLong_FromLong( (&result)->GetLo() );
20389 shifter = PyLong_FromLong(32);
20390 shifted = PyNumber_Lshift(hi, shifter);
20391 resultobj = PyNumber_Or(shifted, lo);
20392 Py_DECREF(hi);
20393 Py_DECREF(lo);
20394 Py_DECREF(shifter);
20395 Py_DECREF(shifted);
20396 }
20397 return resultobj;
20398 fail:
20399 return NULL;
20400}
20401
20402
20403static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20404 PyObject *resultobj;
20405 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20406 wxLongLong result;
20407 PyObject * obj0 = 0 ;
20408 char *kwnames[] = {
20409 (char *) "self", NULL
20410 };
20411
20412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
20413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20414 {
20415 PyThreadState* __tstate = wxPyBeginAllowThreads();
20416 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
20417
20418 wxPyEndAllowThreads(__tstate);
20419 if (PyErr_Occurred()) SWIG_fail;
20420 }
20421 {
20422 PyObject *hi, *lo, *shifter, *shifted;
20423 hi = PyLong_FromLong( (&result)->GetHi() );
20424 lo = PyLong_FromLong( (&result)->GetLo() );
20425 shifter = PyLong_FromLong(32);
20426 shifted = PyNumber_Lshift(hi, shifter);
20427 resultobj = PyNumber_Or(shifted, lo);
20428 Py_DECREF(hi);
20429 Py_DECREF(lo);
20430 Py_DECREF(shifter);
20431 Py_DECREF(shifted);
20432 }
20433 return resultobj;
20434 fail:
20435 return NULL;
20436}
20437
20438
20439static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
20440 PyObject *resultobj;
20441 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20442 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
20443 wxString *arg2 = (wxString *) &arg2_defvalue ;
20444 wxString result;
20445 bool temp2 = False ;
20446 PyObject * obj0 = 0 ;
20447 PyObject * obj1 = 0 ;
20448 char *kwnames[] = {
20449 (char *) "self",(char *) "format", NULL
20450 };
20451
20452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
20453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20454 if (obj1) {
20455 {
20456 arg2 = wxString_in_helper(obj1);
20457 if (arg2 == NULL) SWIG_fail;
20458 temp2 = True;
20459 }
20460 }
20461 {
20462 PyThreadState* __tstate = wxPyBeginAllowThreads();
20463 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
20464
20465 wxPyEndAllowThreads(__tstate);
20466 if (PyErr_Occurred()) SWIG_fail;
20467 }
20468 {
20469#if wxUSE_UNICODE
20470 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20471#else
20472 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20473#endif
20474 }
20475 {
20476 if (temp2)
20477 delete arg2;
20478 }
20479 return resultobj;
20480 fail:
20481 {
20482 if (temp2)
20483 delete arg2;
20484 }
20485 return NULL;
20486}
20487
20488
20489static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
20490 PyObject *obj;
20491 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20492 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
20493 Py_INCREF(obj);
20494 return Py_BuildValue((char *)"");
20495}
20496static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20497 PyObject *resultobj;
20498 int arg1 = (int) 0 ;
20499 int arg2 = (int) 0 ;
20500 int arg3 = (int) 0 ;
20501 int arg4 = (int) 0 ;
20502 wxDateSpan *result;
20503 char *kwnames[] = {
20504 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
20505 };
20506
20507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_DateSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
20508 {
20509 PyThreadState* __tstate = wxPyBeginAllowThreads();
20510 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
20511
20512 wxPyEndAllowThreads(__tstate);
20513 if (PyErr_Occurred()) SWIG_fail;
20514 }
20515 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 1);
20516 return resultobj;
20517 fail:
20518 return NULL;
20519}
20520
20521
20522static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20523 PyObject *resultobj;
20524 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20525 PyObject * obj0 = 0 ;
20526 char *kwnames[] = {
20527 (char *) "self", NULL
20528 };
20529
20530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
20531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20532 {
20533 PyThreadState* __tstate = wxPyBeginAllowThreads();
20534 delete arg1;
20535
20536 wxPyEndAllowThreads(__tstate);
20537 if (PyErr_Occurred()) SWIG_fail;
20538 }
20539 Py_INCREF(Py_None); resultobj = Py_None;
20540 return resultobj;
20541 fail:
20542 return NULL;
20543}
20544
20545
20546static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
20547 PyObject *resultobj;
20548 int arg1 ;
20549 wxDateSpan result;
20550 char *kwnames[] = {
20551 (char *) "days", NULL
20552 };
20553
20554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Days",kwnames,&arg1)) goto fail;
20555 {
20556 PyThreadState* __tstate = wxPyBeginAllowThreads();
20557 result = wxDateSpan::Days(arg1);
20558
20559 wxPyEndAllowThreads(__tstate);
20560 if (PyErr_Occurred()) SWIG_fail;
20561 }
20562 {
20563 wxDateSpan * resultptr;
20564 resultptr = new wxDateSpan((wxDateSpan &) result);
20565 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20566 }
20567 return resultobj;
20568 fail:
20569 return NULL;
20570}
20571
20572
20573static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
20574 PyObject *resultobj;
20575 wxDateSpan result;
20576 char *kwnames[] = {
20577 NULL
20578 };
20579
20580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
20581 {
20582 PyThreadState* __tstate = wxPyBeginAllowThreads();
20583 result = wxDateSpan::Day();
20584
20585 wxPyEndAllowThreads(__tstate);
20586 if (PyErr_Occurred()) SWIG_fail;
20587 }
20588 {
20589 wxDateSpan * resultptr;
20590 resultptr = new wxDateSpan((wxDateSpan &) result);
20591 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20592 }
20593 return resultobj;
20594 fail:
20595 return NULL;
20596}
20597
20598
20599static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20600 PyObject *resultobj;
20601 int arg1 ;
20602 wxDateSpan result;
20603 char *kwnames[] = {
20604 (char *) "weeks", NULL
20605 };
20606
20607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Weeks",kwnames,&arg1)) goto fail;
20608 {
20609 PyThreadState* __tstate = wxPyBeginAllowThreads();
20610 result = wxDateSpan::Weeks(arg1);
20611
20612 wxPyEndAllowThreads(__tstate);
20613 if (PyErr_Occurred()) SWIG_fail;
20614 }
20615 {
20616 wxDateSpan * resultptr;
20617 resultptr = new wxDateSpan((wxDateSpan &) result);
20618 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20619 }
20620 return resultobj;
20621 fail:
20622 return NULL;
20623}
20624
20625
20626static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
20627 PyObject *resultobj;
20628 wxDateSpan result;
20629 char *kwnames[] = {
20630 NULL
20631 };
20632
20633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
20634 {
20635 PyThreadState* __tstate = wxPyBeginAllowThreads();
20636 result = wxDateSpan::Week();
20637
20638 wxPyEndAllowThreads(__tstate);
20639 if (PyErr_Occurred()) SWIG_fail;
20640 }
20641 {
20642 wxDateSpan * resultptr;
20643 resultptr = new wxDateSpan((wxDateSpan &) result);
20644 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20645 }
20646 return resultobj;
20647 fail:
20648 return NULL;
20649}
20650
20651
20652static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
20653 PyObject *resultobj;
20654 int arg1 ;
20655 wxDateSpan result;
20656 char *kwnames[] = {
20657 (char *) "mon", NULL
20658 };
20659
20660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Months",kwnames,&arg1)) goto fail;
20661 {
20662 PyThreadState* __tstate = wxPyBeginAllowThreads();
20663 result = wxDateSpan::Months(arg1);
20664
20665 wxPyEndAllowThreads(__tstate);
20666 if (PyErr_Occurred()) SWIG_fail;
20667 }
20668 {
20669 wxDateSpan * resultptr;
20670 resultptr = new wxDateSpan((wxDateSpan &) result);
20671 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20672 }
20673 return resultobj;
20674 fail:
20675 return NULL;
20676}
20677
20678
20679static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
20680 PyObject *resultobj;
20681 wxDateSpan result;
20682 char *kwnames[] = {
20683 NULL
20684 };
20685
20686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
20687 {
20688 PyThreadState* __tstate = wxPyBeginAllowThreads();
20689 result = wxDateSpan::Month();
20690
20691 wxPyEndAllowThreads(__tstate);
20692 if (PyErr_Occurred()) SWIG_fail;
20693 }
20694 {
20695 wxDateSpan * resultptr;
20696 resultptr = new wxDateSpan((wxDateSpan &) result);
20697 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20698 }
20699 return resultobj;
20700 fail:
20701 return NULL;
20702}
20703
20704
20705static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
20706 PyObject *resultobj;
20707 int arg1 ;
20708 wxDateSpan result;
20709 char *kwnames[] = {
20710 (char *) "years", NULL
20711 };
20712
20713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Years",kwnames,&arg1)) goto fail;
20714 {
20715 PyThreadState* __tstate = wxPyBeginAllowThreads();
20716 result = wxDateSpan::Years(arg1);
20717
20718 wxPyEndAllowThreads(__tstate);
20719 if (PyErr_Occurred()) SWIG_fail;
20720 }
20721 {
20722 wxDateSpan * resultptr;
20723 resultptr = new wxDateSpan((wxDateSpan &) result);
20724 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20725 }
20726 return resultobj;
20727 fail:
20728 return NULL;
20729}
20730
20731
20732static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
20733 PyObject *resultobj;
20734 wxDateSpan result;
20735 char *kwnames[] = {
20736 NULL
20737 };
20738
20739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
20740 {
20741 PyThreadState* __tstate = wxPyBeginAllowThreads();
20742 result = wxDateSpan::Year();
20743
20744 wxPyEndAllowThreads(__tstate);
20745 if (PyErr_Occurred()) SWIG_fail;
20746 }
20747 {
20748 wxDateSpan * resultptr;
20749 resultptr = new wxDateSpan((wxDateSpan &) result);
20750 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20751 }
20752 return resultobj;
20753 fail:
20754 return NULL;
20755}
20756
20757
20758static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20759 PyObject *resultobj;
20760 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20761 int arg2 ;
20762 wxDateSpan *result;
20763 PyObject * obj0 = 0 ;
20764 char *kwnames[] = {
20765 (char *) "self",(char *) "n", NULL
20766 };
20767
20768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetYears",kwnames,&obj0,&arg2)) goto fail;
20769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20770 {
20771 PyThreadState* __tstate = wxPyBeginAllowThreads();
20772 {
20773 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
20774 result = (wxDateSpan *) &_result_ref;
20775 }
20776
20777 wxPyEndAllowThreads(__tstate);
20778 if (PyErr_Occurred()) SWIG_fail;
20779 }
20780 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20781 return resultobj;
20782 fail:
20783 return NULL;
20784}
20785
20786
20787static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20788 PyObject *resultobj;
20789 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20790 int arg2 ;
20791 wxDateSpan *result;
20792 PyObject * obj0 = 0 ;
20793 char *kwnames[] = {
20794 (char *) "self",(char *) "n", NULL
20795 };
20796
20797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetMonths",kwnames,&obj0,&arg2)) goto fail;
20798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20799 {
20800 PyThreadState* __tstate = wxPyBeginAllowThreads();
20801 {
20802 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
20803 result = (wxDateSpan *) &_result_ref;
20804 }
20805
20806 wxPyEndAllowThreads(__tstate);
20807 if (PyErr_Occurred()) SWIG_fail;
20808 }
20809 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20810 return resultobj;
20811 fail:
20812 return NULL;
20813}
20814
20815
20816static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20817 PyObject *resultobj;
20818 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20819 int arg2 ;
20820 wxDateSpan *result;
20821 PyObject * obj0 = 0 ;
20822 char *kwnames[] = {
20823 (char *) "self",(char *) "n", NULL
20824 };
20825
20826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetWeeks",kwnames,&obj0,&arg2)) goto fail;
20827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20828 {
20829 PyThreadState* __tstate = wxPyBeginAllowThreads();
20830 {
20831 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
20832 result = (wxDateSpan *) &_result_ref;
20833 }
20834
20835 wxPyEndAllowThreads(__tstate);
20836 if (PyErr_Occurred()) SWIG_fail;
20837 }
20838 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20839 return resultobj;
20840 fail:
20841 return NULL;
20842}
20843
20844
20845static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20846 PyObject *resultobj;
20847 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20848 int arg2 ;
20849 wxDateSpan *result;
20850 PyObject * obj0 = 0 ;
20851 char *kwnames[] = {
20852 (char *) "self",(char *) "n", NULL
20853 };
20854
20855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetDays",kwnames,&obj0,&arg2)) goto fail;
20856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20857 {
20858 PyThreadState* __tstate = wxPyBeginAllowThreads();
20859 {
20860 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
20861 result = (wxDateSpan *) &_result_ref;
20862 }
20863
20864 wxPyEndAllowThreads(__tstate);
20865 if (PyErr_Occurred()) SWIG_fail;
20866 }
20867 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20868 return resultobj;
20869 fail:
20870 return NULL;
20871}
20872
20873
20874static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20875 PyObject *resultobj;
20876 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20877 int result;
20878 PyObject * obj0 = 0 ;
20879 char *kwnames[] = {
20880 (char *) "self", NULL
20881 };
20882
20883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
20884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20885 {
20886 PyThreadState* __tstate = wxPyBeginAllowThreads();
20887 result = (int)((wxDateSpan const *)arg1)->GetYears();
20888
20889 wxPyEndAllowThreads(__tstate);
20890 if (PyErr_Occurred()) SWIG_fail;
20891 }
20892 resultobj = PyInt_FromLong((long)result);
20893 return resultobj;
20894 fail:
20895 return NULL;
20896}
20897
20898
20899static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20900 PyObject *resultobj;
20901 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20902 int result;
20903 PyObject * obj0 = 0 ;
20904 char *kwnames[] = {
20905 (char *) "self", NULL
20906 };
20907
20908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
20909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20910 {
20911 PyThreadState* __tstate = wxPyBeginAllowThreads();
20912 result = (int)((wxDateSpan const *)arg1)->GetMonths();
20913
20914 wxPyEndAllowThreads(__tstate);
20915 if (PyErr_Occurred()) SWIG_fail;
20916 }
20917 resultobj = PyInt_FromLong((long)result);
20918 return resultobj;
20919 fail:
20920 return NULL;
20921}
20922
20923
20924static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20925 PyObject *resultobj;
20926 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20927 int result;
20928 PyObject * obj0 = 0 ;
20929 char *kwnames[] = {
20930 (char *) "self", NULL
20931 };
20932
20933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
20934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20935 {
20936 PyThreadState* __tstate = wxPyBeginAllowThreads();
20937 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
20938
20939 wxPyEndAllowThreads(__tstate);
20940 if (PyErr_Occurred()) SWIG_fail;
20941 }
20942 resultobj = PyInt_FromLong((long)result);
20943 return resultobj;
20944 fail:
20945 return NULL;
20946}
20947
20948
20949static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20950 PyObject *resultobj;
20951 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20952 int result;
20953 PyObject * obj0 = 0 ;
20954 char *kwnames[] = {
20955 (char *) "self", NULL
20956 };
20957
20958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
20959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20960 {
20961 PyThreadState* __tstate = wxPyBeginAllowThreads();
20962 result = (int)((wxDateSpan const *)arg1)->GetDays();
20963
20964 wxPyEndAllowThreads(__tstate);
20965 if (PyErr_Occurred()) SWIG_fail;
20966 }
20967 resultobj = PyInt_FromLong((long)result);
20968 return resultobj;
20969 fail:
20970 return NULL;
20971}
20972
20973
20974static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20975 PyObject *resultobj;
20976 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20977 int result;
20978 PyObject * obj0 = 0 ;
20979 char *kwnames[] = {
20980 (char *) "self", NULL
20981 };
20982
20983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
20984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20985 {
20986 PyThreadState* __tstate = wxPyBeginAllowThreads();
20987 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
20988
20989 wxPyEndAllowThreads(__tstate);
20990 if (PyErr_Occurred()) SWIG_fail;
20991 }
20992 resultobj = PyInt_FromLong((long)result);
20993 return resultobj;
20994 fail:
20995 return NULL;
20996}
20997
20998
20999static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
21000 PyObject *resultobj;
21001 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21002 wxDateSpan *arg2 = 0 ;
21003 wxDateSpan *result;
21004 PyObject * obj0 = 0 ;
21005 PyObject * obj1 = 0 ;
21006 char *kwnames[] = {
21007 (char *) "self",(char *) "other", NULL
21008 };
21009
21010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
21011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21012 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21013 if (arg2 == NULL) {
21014 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21015 }
21016 {
21017 PyThreadState* __tstate = wxPyBeginAllowThreads();
21018 {
21019 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
21020 result = (wxDateSpan *) &_result_ref;
21021 }
21022
21023 wxPyEndAllowThreads(__tstate);
21024 if (PyErr_Occurred()) SWIG_fail;
21025 }
21026 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21027 return resultobj;
21028 fail:
21029 return NULL;
21030}
21031
21032
21033static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
21034 PyObject *resultobj;
21035 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21036 wxDateSpan *arg2 = 0 ;
21037 wxDateSpan *result;
21038 PyObject * obj0 = 0 ;
21039 PyObject * obj1 = 0 ;
21040 char *kwnames[] = {
21041 (char *) "self",(char *) "other", NULL
21042 };
21043
21044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
21045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21046 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21047 if (arg2 == NULL) {
21048 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21049 }
21050 {
21051 PyThreadState* __tstate = wxPyBeginAllowThreads();
21052 {
21053 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
21054 result = (wxDateSpan *) &_result_ref;
21055 }
21056
21057 wxPyEndAllowThreads(__tstate);
21058 if (PyErr_Occurred()) SWIG_fail;
21059 }
21060 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21061 return resultobj;
21062 fail:
21063 return NULL;
21064}
21065
21066
21067static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
21068 PyObject *resultobj;
21069 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21070 wxDateSpan *result;
21071 PyObject * obj0 = 0 ;
21072 char *kwnames[] = {
21073 (char *) "self", NULL
21074 };
21075
21076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
21077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21078 {
21079 PyThreadState* __tstate = wxPyBeginAllowThreads();
21080 {
21081 wxDateSpan &_result_ref = (arg1)->Neg();
21082 result = (wxDateSpan *) &_result_ref;
21083 }
21084
21085 wxPyEndAllowThreads(__tstate);
21086 if (PyErr_Occurred()) SWIG_fail;
21087 }
21088 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21089 return resultobj;
21090 fail:
21091 return NULL;
21092}
21093
21094
21095static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
21096 PyObject *resultobj;
21097 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21098 int arg2 ;
21099 wxDateSpan *result;
21100 PyObject * obj0 = 0 ;
21101 char *kwnames[] = {
21102 (char *) "self",(char *) "factor", NULL
21103 };
21104
21105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
21106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21107 {
21108 PyThreadState* __tstate = wxPyBeginAllowThreads();
21109 {
21110 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
21111 result = (wxDateSpan *) &_result_ref;
21112 }
21113
21114 wxPyEndAllowThreads(__tstate);
21115 if (PyErr_Occurred()) SWIG_fail;
21116 }
21117 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21118 return resultobj;
21119 fail:
21120 return NULL;
21121}
21122
21123
21124static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21125 PyObject *resultobj;
21126 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21127 wxDateSpan *arg2 = 0 ;
21128 wxDateSpan *result;
21129 PyObject * obj0 = 0 ;
21130 PyObject * obj1 = 0 ;
21131 char *kwnames[] = {
21132 (char *) "self",(char *) "other", NULL
21133 };
21134
21135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21137 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21138 if (arg2 == NULL) {
21139 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21140 }
21141 {
21142 PyThreadState* __tstate = wxPyBeginAllowThreads();
21143 {
21144 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
21145 result = (wxDateSpan *) &_result_ref;
21146 }
21147
21148 wxPyEndAllowThreads(__tstate);
21149 if (PyErr_Occurred()) SWIG_fail;
21150 }
21151 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21152 return resultobj;
21153 fail:
21154 return NULL;
21155}
21156
21157
21158static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21159 PyObject *resultobj;
21160 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21161 wxDateSpan *arg2 = 0 ;
21162 wxDateSpan *result;
21163 PyObject * obj0 = 0 ;
21164 PyObject * obj1 = 0 ;
21165 char *kwnames[] = {
21166 (char *) "self",(char *) "other", NULL
21167 };
21168
21169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21171 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21172 if (arg2 == NULL) {
21173 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21174 }
21175 {
21176 PyThreadState* __tstate = wxPyBeginAllowThreads();
21177 {
21178 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
21179 result = (wxDateSpan *) &_result_ref;
21180 }
21181
21182 wxPyEndAllowThreads(__tstate);
21183 if (PyErr_Occurred()) SWIG_fail;
21184 }
21185 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21186 return resultobj;
21187 fail:
21188 return NULL;
21189}
21190
21191
21192static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21193 PyObject *resultobj;
21194 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21195 wxDateSpan *result;
21196 PyObject * obj0 = 0 ;
21197 char *kwnames[] = {
21198 (char *) "self", NULL
21199 };
21200
21201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
21202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21203 {
21204 PyThreadState* __tstate = wxPyBeginAllowThreads();
21205 {
21206 wxDateSpan &_result_ref = (arg1)->operator -();
21207 result = (wxDateSpan *) &_result_ref;
21208 }
21209
21210 wxPyEndAllowThreads(__tstate);
21211 if (PyErr_Occurred()) SWIG_fail;
21212 }
21213 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21214 return resultobj;
21215 fail:
21216 return NULL;
21217}
21218
21219
21220static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21221 PyObject *resultobj;
21222 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21223 int arg2 ;
21224 wxDateSpan *result;
21225 PyObject * obj0 = 0 ;
21226 char *kwnames[] = {
21227 (char *) "self",(char *) "factor", NULL
21228 };
21229
21230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
21231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21232 {
21233 PyThreadState* __tstate = wxPyBeginAllowThreads();
21234 {
21235 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
21236 result = (wxDateSpan *) &_result_ref;
21237 }
21238
21239 wxPyEndAllowThreads(__tstate);
21240 if (PyErr_Occurred()) SWIG_fail;
21241 }
21242 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21243 return resultobj;
21244 fail:
21245 return NULL;
21246}
21247
21248
21249static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21250 PyObject *resultobj;
21251 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21252 wxDateSpan *arg2 = 0 ;
21253 wxDateSpan result;
21254 PyObject * obj0 = 0 ;
21255 PyObject * obj1 = 0 ;
21256 char *kwnames[] = {
21257 (char *) "self",(char *) "other", NULL
21258 };
21259
21260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21262 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21263 if (arg2 == NULL) {
21264 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21265 }
21266 {
21267 PyThreadState* __tstate = wxPyBeginAllowThreads();
21268 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
21269
21270 wxPyEndAllowThreads(__tstate);
21271 if (PyErr_Occurred()) SWIG_fail;
21272 }
21273 {
21274 wxDateSpan * resultptr;
21275 resultptr = new wxDateSpan((wxDateSpan &) result);
21276 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21277 }
21278 return resultobj;
21279 fail:
21280 return NULL;
21281}
21282
21283
21284static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21285 PyObject *resultobj;
21286 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21287 wxDateSpan *arg2 = 0 ;
21288 wxDateSpan result;
21289 PyObject * obj0 = 0 ;
21290 PyObject * obj1 = 0 ;
21291 char *kwnames[] = {
21292 (char *) "self",(char *) "other", NULL
21293 };
21294
21295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21297 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21298 if (arg2 == NULL) {
21299 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21300 }
21301 {
21302 PyThreadState* __tstate = wxPyBeginAllowThreads();
21303 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
21304
21305 wxPyEndAllowThreads(__tstate);
21306 if (PyErr_Occurred()) SWIG_fail;
21307 }
21308 {
21309 wxDateSpan * resultptr;
21310 resultptr = new wxDateSpan((wxDateSpan &) result);
21311 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21312 }
21313 return resultobj;
21314 fail:
21315 return NULL;
21316}
21317
21318
21319static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21320 PyObject *resultobj;
21321 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21322 int arg2 ;
21323 wxDateSpan result;
21324 PyObject * obj0 = 0 ;
21325 char *kwnames[] = {
21326 (char *) "self",(char *) "n", NULL
21327 };
21328
21329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
21330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21331 {
21332 PyThreadState* __tstate = wxPyBeginAllowThreads();
21333 result = wxDateSpan___mul__(arg1,arg2);
21334
21335 wxPyEndAllowThreads(__tstate);
21336 if (PyErr_Occurred()) SWIG_fail;
21337 }
21338 {
21339 wxDateSpan * resultptr;
21340 resultptr = new wxDateSpan((wxDateSpan &) result);
21341 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21342 }
21343 return resultobj;
21344 fail:
21345 return NULL;
21346}
21347
21348
21349static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21350 PyObject *resultobj;
21351 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21352 int arg2 ;
21353 wxDateSpan result;
21354 PyObject * obj0 = 0 ;
21355 char *kwnames[] = {
21356 (char *) "self",(char *) "n", NULL
21357 };
21358
21359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
21360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21361 {
21362 PyThreadState* __tstate = wxPyBeginAllowThreads();
21363 result = wxDateSpan___rmul__(arg1,arg2);
21364
21365 wxPyEndAllowThreads(__tstate);
21366 if (PyErr_Occurred()) SWIG_fail;
21367 }
21368 {
21369 wxDateSpan * resultptr;
21370 resultptr = new wxDateSpan((wxDateSpan &) result);
21371 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21372 }
21373 return resultobj;
21374 fail:
21375 return NULL;
21376}
21377
21378
21379static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
21380 PyObject *resultobj;
21381 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21382 wxDateSpan *arg2 = 0 ;
21383 bool result;
21384 PyObject * obj0 = 0 ;
21385 PyObject * obj1 = 0 ;
21386 char *kwnames[] = {
21387 (char *) "self",(char *) "other", NULL
21388 };
21389
21390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
21391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21392 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21393 if (arg2 == NULL) {
21394 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21395 }
21396 {
21397 PyThreadState* __tstate = wxPyBeginAllowThreads();
21398 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const &)*arg2);
21399
21400 wxPyEndAllowThreads(__tstate);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 }
21403 resultobj = PyInt_FromLong((long)result);
21404 return resultobj;
21405 fail:
21406 return NULL;
21407}
21408
21409
21410static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
21411 PyObject *resultobj;
21412 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21413 wxDateSpan *arg2 = 0 ;
21414 bool result;
21415 PyObject * obj0 = 0 ;
21416 PyObject * obj1 = 0 ;
21417 char *kwnames[] = {
21418 (char *) "self",(char *) "other", NULL
21419 };
21420
21421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
21422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21423 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21424 if (arg2 == NULL) {
21425 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21426 }
21427 {
21428 PyThreadState* __tstate = wxPyBeginAllowThreads();
21429 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const &)*arg2);
21430
21431 wxPyEndAllowThreads(__tstate);
21432 if (PyErr_Occurred()) SWIG_fail;
21433 }
21434 resultobj = PyInt_FromLong((long)result);
21435 return resultobj;
21436 fail:
21437 return NULL;
21438}
21439
21440
21441static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
21442 PyObject *obj;
21443 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21444 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
21445 Py_INCREF(obj);
21446 return Py_BuildValue((char *)"");
21447}
21448static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21449 PyObject *resultobj;
21450 long result;
21451 char *kwnames[] = {
21452 NULL
21453 };
21454
21455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
21456 {
21457 PyThreadState* __tstate = wxPyBeginAllowThreads();
21458 result = (long)wxGetLocalTime();
21459
21460 wxPyEndAllowThreads(__tstate);
21461 if (PyErr_Occurred()) SWIG_fail;
21462 }
21463 resultobj = PyInt_FromLong((long)result);
21464 return resultobj;
21465 fail:
21466 return NULL;
21467}
21468
21469
21470static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21471 PyObject *resultobj;
21472 long result;
21473 char *kwnames[] = {
21474 NULL
21475 };
21476
21477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
21478 {
21479 PyThreadState* __tstate = wxPyBeginAllowThreads();
21480 result = (long)wxGetUTCTime();
21481
21482 wxPyEndAllowThreads(__tstate);
21483 if (PyErr_Occurred()) SWIG_fail;
21484 }
21485 resultobj = PyInt_FromLong((long)result);
21486 return resultobj;
21487 fail:
21488 return NULL;
21489}
21490
21491
21492static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21493 PyObject *resultobj;
21494 long result;
21495 char *kwnames[] = {
21496 NULL
21497 };
21498
21499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
21500 {
21501 PyThreadState* __tstate = wxPyBeginAllowThreads();
21502 result = (long)wxGetCurrentTime();
21503
21504 wxPyEndAllowThreads(__tstate);
21505 if (PyErr_Occurred()) SWIG_fail;
21506 }
21507 resultobj = PyInt_FromLong((long)result);
21508 return resultobj;
21509 fail:
21510 return NULL;
21511}
21512
21513
21514static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
21515 PyObject *resultobj;
21516 wxLongLong result;
21517 char *kwnames[] = {
21518 NULL
21519 };
21520
21521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
21522 {
21523 PyThreadState* __tstate = wxPyBeginAllowThreads();
21524 result = wxGetLocalTimeMillis();
21525
21526 wxPyEndAllowThreads(__tstate);
21527 if (PyErr_Occurred()) SWIG_fail;
21528 }
21529 {
21530 PyObject *hi, *lo, *shifter, *shifted;
21531 hi = PyLong_FromLong( (&result)->GetHi() );
21532 lo = PyLong_FromLong( (&result)->GetLo() );
21533 shifter = PyLong_FromLong(32);
21534 shifted = PyNumber_Lshift(hi, shifter);
21535 resultobj = PyNumber_Or(shifted, lo);
21536 Py_DECREF(hi);
21537 Py_DECREF(lo);
21538 Py_DECREF(shifter);
21539 Py_DECREF(shifted);
21540 }
21541 return resultobj;
21542 fail:
21543 return NULL;
21544}
21545
21546
21547static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21548 PyObject *resultobj;
21549 int arg1 ;
21550 wxDataFormat *result;
21551 char *kwnames[] = {
21552 (char *) "type", NULL
21553 };
21554
21555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:new_DataFormat",kwnames,&arg1)) goto fail;
21556 {
21557 PyThreadState* __tstate = wxPyBeginAllowThreads();
21558 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
21559
21560 wxPyEndAllowThreads(__tstate);
21561 if (PyErr_Occurred()) SWIG_fail;
21562 }
21563 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21564 return resultobj;
21565 fail:
21566 return NULL;
21567}
21568
21569
21570static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21571 PyObject *resultobj;
21572 wxString *arg1 = 0 ;
21573 wxDataFormat *result;
21574 bool temp1 = False ;
21575 PyObject * obj0 = 0 ;
21576 char *kwnames[] = {
21577 (char *) "format", NULL
21578 };
21579
21580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
21581 {
21582 arg1 = wxString_in_helper(obj0);
21583 if (arg1 == NULL) SWIG_fail;
21584 temp1 = True;
21585 }
21586 {
21587 PyThreadState* __tstate = wxPyBeginAllowThreads();
21588 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
21589
21590 wxPyEndAllowThreads(__tstate);
21591 if (PyErr_Occurred()) SWIG_fail;
21592 }
21593 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21594 {
21595 if (temp1)
21596 delete arg1;
21597 }
21598 return resultobj;
21599 fail:
21600 {
21601 if (temp1)
21602 delete arg1;
21603 }
21604 return NULL;
21605}
21606
21607
21608static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21609 PyObject *resultobj;
21610 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21611 PyObject * obj0 = 0 ;
21612 char *kwnames[] = {
21613 (char *) "self", NULL
21614 };
21615
21616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
21617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21618 {
21619 PyThreadState* __tstate = wxPyBeginAllowThreads();
21620 delete arg1;
21621
21622 wxPyEndAllowThreads(__tstate);
21623 if (PyErr_Occurred()) SWIG_fail;
21624 }
21625 Py_INCREF(Py_None); resultobj = Py_None;
21626 return resultobj;
21627 fail:
21628 return NULL;
21629}
21630
21631
21632static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
21633 PyObject *resultobj;
21634 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21635 int arg2 ;
21636 bool result;
21637 PyObject * obj0 = 0 ;
21638
21639 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___eq__",&obj0,&arg2)) goto fail;
21640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21641 {
21642 PyThreadState* __tstate = wxPyBeginAllowThreads();
21643 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
21644
21645 wxPyEndAllowThreads(__tstate);
21646 if (PyErr_Occurred()) SWIG_fail;
21647 }
21648 resultobj = PyInt_FromLong((long)result);
21649 return resultobj;
21650 fail:
21651 return NULL;
21652}
21653
21654
21655static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
21656 PyObject *resultobj;
21657 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21658 int arg2 ;
21659 bool result;
21660 PyObject * obj0 = 0 ;
21661
21662 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___ne__",&obj0,&arg2)) goto fail;
21663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21664 {
21665 PyThreadState* __tstate = wxPyBeginAllowThreads();
21666 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
21667
21668 wxPyEndAllowThreads(__tstate);
21669 if (PyErr_Occurred()) SWIG_fail;
21670 }
21671 resultobj = PyInt_FromLong((long)result);
21672 return resultobj;
21673 fail:
21674 return NULL;
21675}
21676
21677
21678static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
21679 PyObject *resultobj;
21680 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21681 wxDataFormat *arg2 = 0 ;
21682 bool result;
21683 PyObject * obj0 = 0 ;
21684 PyObject * obj1 = 0 ;
21685
21686 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
21687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21688 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21689 if (arg2 == NULL) {
21690 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21691 }
21692 {
21693 PyThreadState* __tstate = wxPyBeginAllowThreads();
21694 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
21695
21696 wxPyEndAllowThreads(__tstate);
21697 if (PyErr_Occurred()) SWIG_fail;
21698 }
21699 resultobj = PyInt_FromLong((long)result);
21700 return resultobj;
21701 fail:
21702 return NULL;
21703}
21704
21705
21706static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
21707 int argc;
21708 PyObject *argv[3];
21709 int ii;
21710
21711 argc = PyObject_Length(args);
21712 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21713 argv[ii] = PyTuple_GetItem(args,ii);
21714 }
21715 if (argc == 2) {
21716 int _v;
21717 {
21718 void *ptr;
21719 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21720 _v = 0;
21721 PyErr_Clear();
21722 } else {
21723 _v = 1;
21724 }
21725 }
21726 if (_v) {
21727 {
21728 void *ptr;
21729 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21730 _v = 0;
21731 PyErr_Clear();
21732 } else {
21733 _v = 1;
21734 }
21735 }
21736 if (_v) {
21737 return _wrap_DataFormat___eq____SWIG_1(self,args);
21738 }
21739 }
21740 }
21741 if (argc == 2) {
21742 int _v;
21743 {
21744 void *ptr;
21745 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21746 _v = 0;
21747 PyErr_Clear();
21748 } else {
21749 _v = 1;
21750 }
21751 }
21752 if (_v) {
21753 {
21754 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21755 }
21756 if (_v) {
21757 return _wrap_DataFormat___eq____SWIG_0(self,args);
21758 }
21759 }
21760 }
21761
21762 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
21763 return NULL;
21764}
21765
21766
21767static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
21768 PyObject *resultobj;
21769 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21770 wxDataFormat *arg2 = 0 ;
21771 bool result;
21772 PyObject * obj0 = 0 ;
21773 PyObject * obj1 = 0 ;
21774
21775 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
21776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21777 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21778 if (arg2 == NULL) {
21779 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21780 }
21781 {
21782 PyThreadState* __tstate = wxPyBeginAllowThreads();
21783 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
21784
21785 wxPyEndAllowThreads(__tstate);
21786 if (PyErr_Occurred()) SWIG_fail;
21787 }
21788 resultobj = PyInt_FromLong((long)result);
21789 return resultobj;
21790 fail:
21791 return NULL;
21792}
21793
21794
21795static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
21796 int argc;
21797 PyObject *argv[3];
21798 int ii;
21799
21800 argc = PyObject_Length(args);
21801 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21802 argv[ii] = PyTuple_GetItem(args,ii);
21803 }
21804 if (argc == 2) {
21805 int _v;
21806 {
21807 void *ptr;
21808 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21809 _v = 0;
21810 PyErr_Clear();
21811 } else {
21812 _v = 1;
21813 }
21814 }
21815 if (_v) {
21816 {
21817 void *ptr;
21818 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21819 _v = 0;
21820 PyErr_Clear();
21821 } else {
21822 _v = 1;
21823 }
21824 }
21825 if (_v) {
21826 return _wrap_DataFormat___ne____SWIG_1(self,args);
21827 }
21828 }
21829 }
21830 if (argc == 2) {
21831 int _v;
21832 {
21833 void *ptr;
21834 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21835 _v = 0;
21836 PyErr_Clear();
21837 } else {
21838 _v = 1;
21839 }
21840 }
21841 if (_v) {
21842 {
21843 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21844 }
21845 if (_v) {
21846 return _wrap_DataFormat___ne____SWIG_0(self,args);
21847 }
21848 }
21849 }
21850
21851 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
21852 return NULL;
21853}
21854
21855
21856static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21857 PyObject *resultobj;
21858 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21859 int arg2 ;
21860 PyObject * obj0 = 0 ;
21861 char *kwnames[] = {
21862 (char *) "self",(char *) "format", NULL
21863 };
21864
21865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DataFormat_SetType",kwnames,&obj0,&arg2)) goto fail;
21866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21867 {
21868 PyThreadState* __tstate = wxPyBeginAllowThreads();
21869 (arg1)->SetType((wxDataFormatId )arg2);
21870
21871 wxPyEndAllowThreads(__tstate);
21872 if (PyErr_Occurred()) SWIG_fail;
21873 }
21874 Py_INCREF(Py_None); resultobj = Py_None;
21875 return resultobj;
21876 fail:
21877 return NULL;
21878}
21879
21880
21881static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21882 PyObject *resultobj;
21883 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21884 int result;
21885 PyObject * obj0 = 0 ;
21886 char *kwnames[] = {
21887 (char *) "self", NULL
21888 };
21889
21890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
21891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21892 {
21893 PyThreadState* __tstate = wxPyBeginAllowThreads();
21894 result = (int)((wxDataFormat const *)arg1)->GetType();
21895
21896 wxPyEndAllowThreads(__tstate);
21897 if (PyErr_Occurred()) SWIG_fail;
21898 }
21899 resultobj = PyInt_FromLong((long)result);
21900 return resultobj;
21901 fail:
21902 return NULL;
21903}
21904
21905
21906static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21907 PyObject *resultobj;
21908 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21909 wxString result;
21910 PyObject * obj0 = 0 ;
21911 char *kwnames[] = {
21912 (char *) "self", NULL
21913 };
21914
21915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
21916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21917 {
21918 PyThreadState* __tstate = wxPyBeginAllowThreads();
21919 result = ((wxDataFormat const *)arg1)->GetId();
21920
21921 wxPyEndAllowThreads(__tstate);
21922 if (PyErr_Occurred()) SWIG_fail;
21923 }
21924 {
21925#if wxUSE_UNICODE
21926 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21927#else
21928 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21929#endif
21930 }
21931 return resultobj;
21932 fail:
21933 return NULL;
21934}
21935
21936
21937static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21938 PyObject *resultobj;
21939 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21940 wxString *arg2 = 0 ;
21941 bool temp2 = False ;
21942 PyObject * obj0 = 0 ;
21943 PyObject * obj1 = 0 ;
21944 char *kwnames[] = {
21945 (char *) "self",(char *) "format", NULL
21946 };
21947
21948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
21949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21950 {
21951 arg2 = wxString_in_helper(obj1);
21952 if (arg2 == NULL) SWIG_fail;
21953 temp2 = True;
21954 }
21955 {
21956 PyThreadState* __tstate = wxPyBeginAllowThreads();
21957 (arg1)->SetId((wxString const &)*arg2);
21958
21959 wxPyEndAllowThreads(__tstate);
21960 if (PyErr_Occurred()) SWIG_fail;
21961 }
21962 Py_INCREF(Py_None); resultobj = Py_None;
21963 {
21964 if (temp2)
21965 delete arg2;
21966 }
21967 return resultobj;
21968 fail:
21969 {
21970 if (temp2)
21971 delete arg2;
21972 }
21973 return NULL;
21974}
21975
21976
21977static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
21978 PyObject *obj;
21979 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21980 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
21981 Py_INCREF(obj);
21982 return Py_BuildValue((char *)"");
21983}
21984static int _wrap_FormatInvalid_set(PyObject *_val) {
21985 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
21986 return 1;
21987}
21988
21989
21990static PyObject *_wrap_FormatInvalid_get() {
21991 PyObject *pyobj;
21992
21993 pyobj = SWIG_NewPointerObj((void *) &wxFormatInvalid, SWIGTYPE_p_wxDataFormat, 0);
21994 return pyobj;
21995}
21996
21997
21998static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
21999 PyObject *resultobj;
22000 wxDataObject *arg1 = (wxDataObject *) 0 ;
22001 PyObject * obj0 = 0 ;
22002 char *kwnames[] = {
22003 (char *) "self", NULL
22004 };
22005
22006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
22007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22008 {
22009 PyThreadState* __tstate = wxPyBeginAllowThreads();
22010 delete arg1;
22011
22012 wxPyEndAllowThreads(__tstate);
22013 if (PyErr_Occurred()) SWIG_fail;
22014 }
22015 Py_INCREF(Py_None); resultobj = Py_None;
22016 return resultobj;
22017 fail:
22018 return NULL;
22019}
22020
22021
22022static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22023 PyObject *resultobj;
22024 wxDataObject *arg1 = (wxDataObject *) 0 ;
22025 int arg2 = (int) wxDataObject::Get ;
22026 SwigValueWrapper< wxDataFormat > result;
22027 PyObject * obj0 = 0 ;
22028 char *kwnames[] = {
22029 (char *) "self",(char *) "dir", NULL
22030 };
22031
22032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetPreferredFormat",kwnames,&obj0,&arg2)) goto fail;
22033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22034 {
22035 PyThreadState* __tstate = wxPyBeginAllowThreads();
22036 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
22037
22038 wxPyEndAllowThreads(__tstate);
22039 if (PyErr_Occurred()) SWIG_fail;
22040 }
22041 {
22042 wxDataFormat * resultptr;
22043 resultptr = new wxDataFormat((wxDataFormat &) result);
22044 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDataFormat, 1);
22045 }
22046 return resultobj;
22047 fail:
22048 return NULL;
22049}
22050
22051
22052static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22053 PyObject *resultobj;
22054 wxDataObject *arg1 = (wxDataObject *) 0 ;
22055 int arg2 = (int) wxDataObject::Get ;
22056 size_t result;
22057 PyObject * obj0 = 0 ;
22058 char *kwnames[] = {
22059 (char *) "self",(char *) "dir", NULL
22060 };
22061
22062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetFormatCount",kwnames,&obj0,&arg2)) goto fail;
22063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22064 {
22065 PyThreadState* __tstate = wxPyBeginAllowThreads();
22066 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
22067
22068 wxPyEndAllowThreads(__tstate);
22069 if (PyErr_Occurred()) SWIG_fail;
22070 }
22071 resultobj = PyInt_FromLong((long)result);
22072 return resultobj;
22073 fail:
22074 return NULL;
22075}
22076
22077
22078static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
22079 PyObject *resultobj;
22080 wxDataObject *arg1 = (wxDataObject *) 0 ;
22081 wxDataFormat *arg2 = 0 ;
22082 int arg3 = (int) wxDataObject::Get ;
22083 bool result;
22084 PyObject * obj0 = 0 ;
22085 PyObject * obj1 = 0 ;
22086 char *kwnames[] = {
22087 (char *) "self",(char *) "format",(char *) "dir", NULL
22088 };
22089
22090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_IsSupported",kwnames,&obj0,&obj1,&arg3)) goto fail;
22091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22092 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22093 if (arg2 == NULL) {
22094 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22095 }
22096 {
22097 PyThreadState* __tstate = wxPyBeginAllowThreads();
22098 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
22099
22100 wxPyEndAllowThreads(__tstate);
22101 if (PyErr_Occurred()) SWIG_fail;
22102 }
22103 resultobj = PyInt_FromLong((long)result);
22104 return resultobj;
22105 fail:
22106 return NULL;
22107}
22108
22109
22110static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22111 PyObject *resultobj;
22112 wxDataObject *arg1 = (wxDataObject *) 0 ;
22113 wxDataFormat *arg2 = 0 ;
22114 size_t result;
22115 PyObject * obj0 = 0 ;
22116 PyObject * obj1 = 0 ;
22117 char *kwnames[] = {
22118 (char *) "self",(char *) "format", NULL
22119 };
22120
22121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
22122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22123 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22124 if (arg2 == NULL) {
22125 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22126 }
22127 {
22128 PyThreadState* __tstate = wxPyBeginAllowThreads();
22129 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
22130
22131 wxPyEndAllowThreads(__tstate);
22132 if (PyErr_Occurred()) SWIG_fail;
22133 }
22134 resultobj = PyInt_FromLong((long)result);
22135 return resultobj;
22136 fail:
22137 return NULL;
22138}
22139
22140
22141static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
22142 PyObject *resultobj;
22143 wxDataObject *arg1 = (wxDataObject *) 0 ;
22144 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
22145 int arg3 = (int) wxDataObject::Get ;
22146 PyObject * obj0 = 0 ;
22147 PyObject * obj1 = 0 ;
22148 char *kwnames[] = {
22149 (char *) "self",(char *) "formats",(char *) "dir", NULL
22150 };
22151
22152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&arg3)) goto fail;
22153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22154 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22155 {
22156 PyThreadState* __tstate = wxPyBeginAllowThreads();
22157 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
22158
22159 wxPyEndAllowThreads(__tstate);
22160 if (PyErr_Occurred()) SWIG_fail;
22161 }
22162 Py_INCREF(Py_None); resultobj = Py_None;
22163 return resultobj;
22164 fail:
22165 return NULL;
22166}
22167
22168
22169static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
22170 PyObject *resultobj;
22171 wxDataObject *arg1 = (wxDataObject *) 0 ;
22172 wxDataFormat *arg2 = 0 ;
22173 void *arg3 = (void *) 0 ;
22174 bool result;
22175 PyObject * obj0 = 0 ;
22176 PyObject * obj1 = 0 ;
22177 PyObject * obj2 = 0 ;
22178 char *kwnames[] = {
22179 (char *) "self",(char *) "format",(char *) "buf", NULL
22180 };
22181
22182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
22183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22184 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22185 if (arg2 == NULL) {
22186 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22187 }
22188 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22189 {
22190 PyThreadState* __tstate = wxPyBeginAllowThreads();
22191 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
22192
22193 wxPyEndAllowThreads(__tstate);
22194 if (PyErr_Occurred()) SWIG_fail;
22195 }
22196 resultobj = PyInt_FromLong((long)result);
22197 return resultobj;
22198 fail:
22199 return NULL;
22200}
22201
22202
22203static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22204 PyObject *resultobj;
22205 wxDataObject *arg1 = (wxDataObject *) 0 ;
22206 wxDataFormat *arg2 = 0 ;
22207 size_t arg3 ;
22208 void *arg4 = (void *) 0 ;
22209 bool result;
22210 PyObject * obj0 = 0 ;
22211 PyObject * obj1 = 0 ;
22212 PyObject * obj2 = 0 ;
22213 PyObject * obj3 = 0 ;
22214 char *kwnames[] = {
22215 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
22216 };
22217
22218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22220 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22221 if (arg2 == NULL) {
22222 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22223 }
22224 arg3 = (size_t) PyInt_AsLong(obj2);
22225 if (PyErr_Occurred()) SWIG_fail;
22226 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22227 {
22228 PyThreadState* __tstate = wxPyBeginAllowThreads();
22229 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
22230
22231 wxPyEndAllowThreads(__tstate);
22232 if (PyErr_Occurred()) SWIG_fail;
22233 }
22234 resultobj = PyInt_FromLong((long)result);
22235 return resultobj;
22236 fail:
22237 return NULL;
22238}
22239
22240
22241static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
22242 PyObject *obj;
22243 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22244 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
22245 Py_INCREF(obj);
22246 return Py_BuildValue((char *)"");
22247}
22248static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22249 PyObject *resultobj;
22250 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22251 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22252 wxDataObjectSimple *result;
22253 PyObject * obj0 = 0 ;
22254 char *kwnames[] = {
22255 (char *) "format", NULL
22256 };
22257
22258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
22259 if (obj0) {
22260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22261 if (arg1 == NULL) {
22262 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22263 }
22264 }
22265 {
22266 PyThreadState* __tstate = wxPyBeginAllowThreads();
22267 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
22268
22269 wxPyEndAllowThreads(__tstate);
22270 if (PyErr_Occurred()) SWIG_fail;
22271 }
22272 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectSimple, 1);
22273 return resultobj;
22274 fail:
22275 return NULL;
22276}
22277
22278
22279static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22280 PyObject *resultobj;
22281 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22282 wxDataFormat *result;
22283 PyObject * obj0 = 0 ;
22284 char *kwnames[] = {
22285 (char *) "self", NULL
22286 };
22287
22288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
22289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22290 {
22291 PyThreadState* __tstate = wxPyBeginAllowThreads();
22292 {
22293 wxDataFormat const &_result_ref = (arg1)->GetFormat();
22294 result = (wxDataFormat *) &_result_ref;
22295 }
22296
22297 wxPyEndAllowThreads(__tstate);
22298 if (PyErr_Occurred()) SWIG_fail;
22299 }
22300 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 0);
22301 return resultobj;
22302 fail:
22303 return NULL;
22304}
22305
22306
22307static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22308 PyObject *resultobj;
22309 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22310 wxDataFormat *arg2 = 0 ;
22311 PyObject * obj0 = 0 ;
22312 PyObject * obj1 = 0 ;
22313 char *kwnames[] = {
22314 (char *) "self",(char *) "format", NULL
22315 };
22316
22317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
22318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22319 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22320 if (arg2 == NULL) {
22321 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22322 }
22323 {
22324 PyThreadState* __tstate = wxPyBeginAllowThreads();
22325 (arg1)->SetFormat((wxDataFormat const &)*arg2);
22326
22327 wxPyEndAllowThreads(__tstate);
22328 if (PyErr_Occurred()) SWIG_fail;
22329 }
22330 Py_INCREF(Py_None); resultobj = Py_None;
22331 return resultobj;
22332 fail:
22333 return NULL;
22334}
22335
22336
22337static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22338 PyObject *obj;
22339 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22340 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
22341 Py_INCREF(obj);
22342 return Py_BuildValue((char *)"");
22343}
22344static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22345 PyObject *resultobj;
22346 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22347 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22348 wxPyDataObjectSimple *result;
22349 PyObject * obj0 = 0 ;
22350 char *kwnames[] = {
22351 (char *) "format", NULL
22352 };
22353
22354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
22355 if (obj0) {
22356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22357 if (arg1 == NULL) {
22358 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22359 }
22360 }
22361 {
22362 PyThreadState* __tstate = wxPyBeginAllowThreads();
22363 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
22364
22365 wxPyEndAllowThreads(__tstate);
22366 if (PyErr_Occurred()) SWIG_fail;
22367 }
22368 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDataObjectSimple, 1);
22369 return resultobj;
22370 fail:
22371 return NULL;
22372}
22373
22374
22375static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22376 PyObject *resultobj;
22377 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
22378 PyObject *arg2 = (PyObject *) 0 ;
22379 PyObject *arg3 = (PyObject *) 0 ;
22380 PyObject * obj0 = 0 ;
22381 PyObject * obj1 = 0 ;
22382 PyObject * obj2 = 0 ;
22383 char *kwnames[] = {
22384 (char *) "self",(char *) "self",(char *) "_class", NULL
22385 };
22386
22387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22389 arg2 = obj1;
22390 arg3 = obj2;
22391 {
22392 PyThreadState* __tstate = wxPyBeginAllowThreads();
22393 (arg1)->_setCallbackInfo(arg2,arg3);
22394
22395 wxPyEndAllowThreads(__tstate);
22396 if (PyErr_Occurred()) SWIG_fail;
22397 }
22398 Py_INCREF(Py_None); resultobj = Py_None;
22399 return resultobj;
22400 fail:
22401 return NULL;
22402}
22403
22404
22405static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22406 PyObject *obj;
22407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22408 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
22409 Py_INCREF(obj);
22410 return Py_BuildValue((char *)"");
22411}
22412static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
22413 PyObject *resultobj;
22414 wxDataObjectComposite *result;
22415 char *kwnames[] = {
22416 NULL
22417 };
22418
22419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
22420 {
22421 PyThreadState* __tstate = wxPyBeginAllowThreads();
22422 result = (wxDataObjectComposite *)new wxDataObjectComposite();
22423
22424 wxPyEndAllowThreads(__tstate);
22425 if (PyErr_Occurred()) SWIG_fail;
22426 }
22427 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectComposite, 1);
22428 return resultobj;
22429 fail:
22430 return NULL;
22431}
22432
22433
22434static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
22435 PyObject *resultobj;
22436 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
22437 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
22438 int arg3 = (int) False ;
22439 PyObject * obj0 = 0 ;
22440 PyObject * obj1 = 0 ;
22441 char *kwnames[] = {
22442 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
22443 };
22444
22445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObjectComposite_Add",kwnames,&obj0,&obj1,&arg3)) goto fail;
22446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectComposite,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22447 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22448 {
22449 PyThreadState* __tstate = wxPyBeginAllowThreads();
22450 (arg1)->Add(arg2,arg3);
22451
22452 wxPyEndAllowThreads(__tstate);
22453 if (PyErr_Occurred()) SWIG_fail;
22454 }
22455 Py_INCREF(Py_None); resultobj = Py_None;
22456 return resultobj;
22457 fail:
22458 return NULL;
22459}
22460
22461
22462static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
22463 PyObject *obj;
22464 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22465 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
22466 Py_INCREF(obj);
22467 return Py_BuildValue((char *)"");
22468}
22469static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22470 PyObject *resultobj;
22471 wxString const &arg1_defvalue = wxPyEmptyString ;
22472 wxString *arg1 = (wxString *) &arg1_defvalue ;
22473 wxTextDataObject *result;
22474 bool temp1 = False ;
22475 PyObject * obj0 = 0 ;
22476 char *kwnames[] = {
22477 (char *) "text", NULL
22478 };
22479
22480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
22481 if (obj0) {
22482 {
22483 arg1 = wxString_in_helper(obj0);
22484 if (arg1 == NULL) SWIG_fail;
22485 temp1 = True;
22486 }
22487 }
22488 {
22489 PyThreadState* __tstate = wxPyBeginAllowThreads();
22490 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
22491
22492 wxPyEndAllowThreads(__tstate);
22493 if (PyErr_Occurred()) SWIG_fail;
22494 }
22495 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextDataObject, 1);
22496 {
22497 if (temp1)
22498 delete arg1;
22499 }
22500 return resultobj;
22501 fail:
22502 {
22503 if (temp1)
22504 delete arg1;
22505 }
22506 return NULL;
22507}
22508
22509
22510static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
22511 PyObject *resultobj;
22512 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22513 size_t result;
22514 PyObject * obj0 = 0 ;
22515 char *kwnames[] = {
22516 (char *) "self", NULL
22517 };
22518
22519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
22520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22521 {
22522 PyThreadState* __tstate = wxPyBeginAllowThreads();
22523 result = (size_t)(arg1)->GetTextLength();
22524
22525 wxPyEndAllowThreads(__tstate);
22526 if (PyErr_Occurred()) SWIG_fail;
22527 }
22528 resultobj = PyInt_FromLong((long)result);
22529 return resultobj;
22530 fail:
22531 return NULL;
22532}
22533
22534
22535static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22536 PyObject *resultobj;
22537 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22538 wxString result;
22539 PyObject * obj0 = 0 ;
22540 char *kwnames[] = {
22541 (char *) "self", NULL
22542 };
22543
22544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
22545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22546 {
22547 PyThreadState* __tstate = wxPyBeginAllowThreads();
22548 result = (arg1)->GetText();
22549
22550 wxPyEndAllowThreads(__tstate);
22551 if (PyErr_Occurred()) SWIG_fail;
22552 }
22553 {
22554#if wxUSE_UNICODE
22555 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22556#else
22557 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22558#endif
22559 }
22560 return resultobj;
22561 fail:
22562 return NULL;
22563}
22564
22565
22566static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22567 PyObject *resultobj;
22568 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22569 wxString *arg2 = 0 ;
22570 bool temp2 = False ;
22571 PyObject * obj0 = 0 ;
22572 PyObject * obj1 = 0 ;
22573 char *kwnames[] = {
22574 (char *) "self",(char *) "text", NULL
22575 };
22576
22577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
22578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22579 {
22580 arg2 = wxString_in_helper(obj1);
22581 if (arg2 == NULL) SWIG_fail;
22582 temp2 = True;
22583 }
22584 {
22585 PyThreadState* __tstate = wxPyBeginAllowThreads();
22586 (arg1)->SetText((wxString const &)*arg2);
22587
22588 wxPyEndAllowThreads(__tstate);
22589 if (PyErr_Occurred()) SWIG_fail;
22590 }
22591 Py_INCREF(Py_None); resultobj = Py_None;
22592 {
22593 if (temp2)
22594 delete arg2;
22595 }
22596 return resultobj;
22597 fail:
22598 {
22599 if (temp2)
22600 delete arg2;
22601 }
22602 return NULL;
22603}
22604
22605
22606static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
22607 PyObject *obj;
22608 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22609 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
22610 Py_INCREF(obj);
22611 return Py_BuildValue((char *)"");
22612}
22613static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22614 PyObject *resultobj;
22615 wxString const &arg1_defvalue = wxPyEmptyString ;
22616 wxString *arg1 = (wxString *) &arg1_defvalue ;
22617 wxPyTextDataObject *result;
22618 bool temp1 = False ;
22619 PyObject * obj0 = 0 ;
22620 char *kwnames[] = {
22621 (char *) "text", NULL
22622 };
22623
22624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
22625 if (obj0) {
22626 {
22627 arg1 = wxString_in_helper(obj0);
22628 if (arg1 == NULL) SWIG_fail;
22629 temp1 = True;
22630 }
22631 }
22632 {
22633 PyThreadState* __tstate = wxPyBeginAllowThreads();
22634 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
22635
22636 wxPyEndAllowThreads(__tstate);
22637 if (PyErr_Occurred()) SWIG_fail;
22638 }
22639 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDataObject, 1);
22640 {
22641 if (temp1)
22642 delete arg1;
22643 }
22644 return resultobj;
22645 fail:
22646 {
22647 if (temp1)
22648 delete arg1;
22649 }
22650 return NULL;
22651}
22652
22653
22654static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22655 PyObject *resultobj;
22656 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
22657 PyObject *arg2 = (PyObject *) 0 ;
22658 PyObject *arg3 = (PyObject *) 0 ;
22659 PyObject * obj0 = 0 ;
22660 PyObject * obj1 = 0 ;
22661 PyObject * obj2 = 0 ;
22662 char *kwnames[] = {
22663 (char *) "self",(char *) "self",(char *) "_class", NULL
22664 };
22665
22666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22668 arg2 = obj1;
22669 arg3 = obj2;
22670 {
22671 PyThreadState* __tstate = wxPyBeginAllowThreads();
22672 (arg1)->_setCallbackInfo(arg2,arg3);
22673
22674 wxPyEndAllowThreads(__tstate);
22675 if (PyErr_Occurred()) SWIG_fail;
22676 }
22677 Py_INCREF(Py_None); resultobj = Py_None;
22678 return resultobj;
22679 fail:
22680 return NULL;
22681}
22682
22683
22684static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
22685 PyObject *obj;
22686 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22687 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
22688 Py_INCREF(obj);
22689 return Py_BuildValue((char *)"");
22690}
22691static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22692 PyObject *resultobj;
22693 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22694 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22695 wxBitmapDataObject *result;
22696 PyObject * obj0 = 0 ;
22697 char *kwnames[] = {
22698 (char *) "bitmap", NULL
22699 };
22700
22701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
22702 if (obj0) {
22703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22704 if (arg1 == NULL) {
22705 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22706 }
22707 }
22708 {
22709 PyThreadState* __tstate = wxPyBeginAllowThreads();
22710 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
22711
22712 wxPyEndAllowThreads(__tstate);
22713 if (PyErr_Occurred()) SWIG_fail;
22714 }
22715 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmapDataObject, 1);
22716 return resultobj;
22717 fail:
22718 return NULL;
22719}
22720
22721
22722static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22723 PyObject *resultobj;
22724 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22725 wxBitmap result;
22726 PyObject * obj0 = 0 ;
22727 char *kwnames[] = {
22728 (char *) "self", NULL
22729 };
22730
22731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
22732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22733 {
22734 PyThreadState* __tstate = wxPyBeginAllowThreads();
22735 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
22736
22737 wxPyEndAllowThreads(__tstate);
22738 if (PyErr_Occurred()) SWIG_fail;
22739 }
22740 {
22741 wxBitmap * resultptr;
22742 resultptr = new wxBitmap((wxBitmap &) result);
22743 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
22744 }
22745 return resultobj;
22746 fail:
22747 return NULL;
22748}
22749
22750
22751static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22752 PyObject *resultobj;
22753 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22754 wxBitmap *arg2 = 0 ;
22755 PyObject * obj0 = 0 ;
22756 PyObject * obj1 = 0 ;
22757 char *kwnames[] = {
22758 (char *) "self",(char *) "bitmap", NULL
22759 };
22760
22761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
22762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22763 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22764 if (arg2 == NULL) {
22765 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22766 }
22767 {
22768 PyThreadState* __tstate = wxPyBeginAllowThreads();
22769 (arg1)->SetBitmap((wxBitmap const &)*arg2);
22770
22771 wxPyEndAllowThreads(__tstate);
22772 if (PyErr_Occurred()) SWIG_fail;
22773 }
22774 Py_INCREF(Py_None); resultobj = Py_None;
22775 return resultobj;
22776 fail:
22777 return NULL;
22778}
22779
22780
22781static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22782 PyObject *obj;
22783 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22784 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
22785 Py_INCREF(obj);
22786 return Py_BuildValue((char *)"");
22787}
22788static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22789 PyObject *resultobj;
22790 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22791 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22792 wxPyBitmapDataObject *result;
22793 PyObject * obj0 = 0 ;
22794 char *kwnames[] = {
22795 (char *) "bitmap", NULL
22796 };
22797
22798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
22799 if (obj0) {
22800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22801 if (arg1 == NULL) {
22802 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22803 }
22804 }
22805 {
22806 PyThreadState* __tstate = wxPyBeginAllowThreads();
22807 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
22808
22809 wxPyEndAllowThreads(__tstate);
22810 if (PyErr_Occurred()) SWIG_fail;
22811 }
22812 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapDataObject, 1);
22813 return resultobj;
22814 fail:
22815 return NULL;
22816}
22817
22818
22819static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22820 PyObject *resultobj;
22821 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
22822 PyObject *arg2 = (PyObject *) 0 ;
22823 PyObject *arg3 = (PyObject *) 0 ;
22824 PyObject * obj0 = 0 ;
22825 PyObject * obj1 = 0 ;
22826 PyObject * obj2 = 0 ;
22827 char *kwnames[] = {
22828 (char *) "self",(char *) "self",(char *) "_class", NULL
22829 };
22830
22831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22833 arg2 = obj1;
22834 arg3 = obj2;
22835 {
22836 PyThreadState* __tstate = wxPyBeginAllowThreads();
22837 (arg1)->_setCallbackInfo(arg2,arg3);
22838
22839 wxPyEndAllowThreads(__tstate);
22840 if (PyErr_Occurred()) SWIG_fail;
22841 }
22842 Py_INCREF(Py_None); resultobj = Py_None;
22843 return resultobj;
22844 fail:
22845 return NULL;
22846}
22847
22848
22849static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22850 PyObject *obj;
22851 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22852 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
22853 Py_INCREF(obj);
22854 return Py_BuildValue((char *)"");
22855}
22856static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22857 PyObject *resultobj;
22858 wxFileDataObject *result;
22859 char *kwnames[] = {
22860 NULL
22861 };
22862
22863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
22864 {
22865 PyThreadState* __tstate = wxPyBeginAllowThreads();
22866 result = (wxFileDataObject *)new wxFileDataObject();
22867
22868 wxPyEndAllowThreads(__tstate);
22869 if (PyErr_Occurred()) SWIG_fail;
22870 }
22871 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDataObject, 1);
22872 return resultobj;
22873 fail:
22874 return NULL;
22875}
22876
22877
22878static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
22879 PyObject *resultobj;
22880 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
22881 wxArrayString *result;
22882 PyObject * obj0 = 0 ;
22883 char *kwnames[] = {
22884 (char *) "self", NULL
22885 };
22886
22887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
22888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22889 {
22890 PyThreadState* __tstate = wxPyBeginAllowThreads();
22891 {
22892 wxArrayString const &_result_ref = (arg1)->GetFilenames();
22893 result = (wxArrayString *) &_result_ref;
22894 }
22895
22896 wxPyEndAllowThreads(__tstate);
22897 if (PyErr_Occurred()) SWIG_fail;
22898 }
22899 {
22900 resultobj = wxArrayString2PyList_helper(*result);
22901 }
22902 return resultobj;
22903 fail:
22904 return NULL;
22905}
22906
22907
22908static PyObject *_wrap_FileDataObject_AddFile(PyObject *self, PyObject *args, PyObject *kwargs) {
22909 PyObject *resultobj;
22910 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
22911 wxString *arg2 = 0 ;
22912 bool temp2 = False ;
22913 PyObject * obj0 = 0 ;
22914 PyObject * obj1 = 0 ;
22915 char *kwnames[] = {
22916 (char *) "self",(char *) "filename", NULL
22917 };
22918
22919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
22920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22921 {
22922 arg2 = wxString_in_helper(obj1);
22923 if (arg2 == NULL) SWIG_fail;
22924 temp2 = True;
22925 }
22926 {
22927 PyThreadState* __tstate = wxPyBeginAllowThreads();
22928 (arg1)->AddFile((wxString const &)*arg2);
22929
22930 wxPyEndAllowThreads(__tstate);
22931 if (PyErr_Occurred()) SWIG_fail;
22932 }
22933 Py_INCREF(Py_None); resultobj = Py_None;
22934 {
22935 if (temp2)
22936 delete arg2;
22937 }
22938 return resultobj;
22939 fail:
22940 {
22941 if (temp2)
22942 delete arg2;
22943 }
22944 return NULL;
22945}
22946
22947
22948static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
22949 PyObject *obj;
22950 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22951 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
22952 Py_INCREF(obj);
22953 return Py_BuildValue((char *)"");
22954}
22955static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22956 PyObject *resultobj;
22957 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22958 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22959 wxCustomDataObject *result;
22960 PyObject * obj0 = 0 ;
22961 char *kwnames[] = {
22962 (char *) "format", NULL
22963 };
22964
22965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
22966 if (obj0) {
22967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22968 if (arg1 == NULL) {
22969 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22970 }
22971 }
22972 {
22973 PyThreadState* __tstate = wxPyBeginAllowThreads();
22974 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
22975
22976 wxPyEndAllowThreads(__tstate);
22977 if (PyErr_Occurred()) SWIG_fail;
22978 }
22979 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCustomDataObject, 1);
22980 return resultobj;
22981 fail:
22982 return NULL;
22983}
22984
22985
22986static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
22987 PyObject *resultobj;
22988 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22989 PyObject *arg2 = (PyObject *) 0 ;
22990 PyObject * obj0 = 0 ;
22991 PyObject * obj1 = 0 ;
22992 char *kwnames[] = {
22993 (char *) "self",(char *) "data", NULL
22994 };
22995
22996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
22997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22998 arg2 = obj1;
22999 {
23000 PyThreadState* __tstate = wxPyBeginAllowThreads();
23001 wxCustomDataObject_TakeData(arg1,arg2);
23002
23003 wxPyEndAllowThreads(__tstate);
23004 if (PyErr_Occurred()) SWIG_fail;
23005 }
23006 Py_INCREF(Py_None); resultobj = Py_None;
23007 return resultobj;
23008 fail:
23009 return NULL;
23010}
23011
23012
23013static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23014 PyObject *resultobj;
23015 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
23016 PyObject *arg2 = (PyObject *) 0 ;
23017 bool result;
23018 PyObject * obj0 = 0 ;
23019 PyObject * obj1 = 0 ;
23020 char *kwnames[] = {
23021 (char *) "self",(char *) "data", NULL
23022 };
23023
23024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
23025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23026 arg2 = obj1;
23027 {
23028 PyThreadState* __tstate = wxPyBeginAllowThreads();
23029 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
23030
23031 wxPyEndAllowThreads(__tstate);
23032 if (PyErr_Occurred()) SWIG_fail;
23033 }
23034 resultobj = PyInt_FromLong((long)result);
23035 return resultobj;
23036 fail:
23037 return NULL;
23038}
23039
23040
23041static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23042 PyObject *resultobj;
23043 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
23044 size_t result;
23045 PyObject * obj0 = 0 ;
23046 char *kwnames[] = {
23047 (char *) "self", NULL
23048 };
23049
23050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
23051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23052 {
23053 PyThreadState* __tstate = wxPyBeginAllowThreads();
23054 result = (size_t)(arg1)->GetSize();
23055
23056 wxPyEndAllowThreads(__tstate);
23057 if (PyErr_Occurred()) SWIG_fail;
23058 }
23059 resultobj = PyInt_FromLong((long)result);
23060 return resultobj;
23061 fail:
23062 return NULL;
23063}
23064
23065
23066static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23067 PyObject *resultobj;
23068 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
23069 PyObject *result;
23070 PyObject * obj0 = 0 ;
23071 char *kwnames[] = {
23072 (char *) "self", NULL
23073 };
23074
23075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
23076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23077 {
23078 PyThreadState* __tstate = wxPyBeginAllowThreads();
23079 result = (PyObject *)wxCustomDataObject_GetData(arg1);
23080
23081 wxPyEndAllowThreads(__tstate);
23082 if (PyErr_Occurred()) SWIG_fail;
23083 }
23084 resultobj = result;
23085 return resultobj;
23086 fail:
23087 return NULL;
23088}
23089
23090
23091static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
23092 PyObject *obj;
23093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23094 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
23095 Py_INCREF(obj);
23096 return Py_BuildValue((char *)"");
23097}
23098static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23099 PyObject *resultobj;
23100 wxURLDataObject *result;
23101 char *kwnames[] = {
23102 NULL
23103 };
23104
23105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
23106 {
23107 PyThreadState* __tstate = wxPyBeginAllowThreads();
23108 result = (wxURLDataObject *)new wxURLDataObject();
23109
23110 wxPyEndAllowThreads(__tstate);
23111 if (PyErr_Occurred()) SWIG_fail;
23112 }
23113 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxURLDataObject, 1);
23114 return resultobj;
23115 fail:
23116 return NULL;
23117}
23118
23119
23120static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
23121 PyObject *resultobj;
23122 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
23123 wxString result;
23124 PyObject * obj0 = 0 ;
23125 char *kwnames[] = {
23126 (char *) "self", NULL
23127 };
23128
23129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
23130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23131 {
23132 PyThreadState* __tstate = wxPyBeginAllowThreads();
23133 result = (arg1)->GetURL();
23134
23135 wxPyEndAllowThreads(__tstate);
23136 if (PyErr_Occurred()) SWIG_fail;
23137 }
23138 {
23139#if wxUSE_UNICODE
23140 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23141#else
23142 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23143#endif
23144 }
23145 return resultobj;
23146 fail:
23147 return NULL;
23148}
23149
23150
23151static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
23152 PyObject *resultobj;
23153 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
23154 wxString *arg2 = 0 ;
23155 bool temp2 = False ;
23156 PyObject * obj0 = 0 ;
23157 PyObject * obj1 = 0 ;
23158 char *kwnames[] = {
23159 (char *) "self",(char *) "url", NULL
23160 };
23161
23162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
23163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23164 {
23165 arg2 = wxString_in_helper(obj1);
23166 if (arg2 == NULL) SWIG_fail;
23167 temp2 = True;
23168 }
23169 {
23170 PyThreadState* __tstate = wxPyBeginAllowThreads();
23171 (arg1)->SetURL((wxString const &)*arg2);
23172
23173 wxPyEndAllowThreads(__tstate);
23174 if (PyErr_Occurred()) SWIG_fail;
23175 }
23176 Py_INCREF(Py_None); resultobj = Py_None;
23177 {
23178 if (temp2)
23179 delete arg2;
23180 }
23181 return resultobj;
23182 fail:
23183 {
23184 if (temp2)
23185 delete arg2;
23186 }
23187 return NULL;
23188}
23189
23190
23191static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
23192 PyObject *obj;
23193 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23194 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
23195 Py_INCREF(obj);
23196 return Py_BuildValue((char *)"");
23197}
23198static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23199 PyObject *resultobj;
23200 wxMetafileDataObject *result;
23201 char *kwnames[] = {
23202 NULL
23203 };
23204
23205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
23206 {
23207 PyThreadState* __tstate = wxPyBeginAllowThreads();
23208 result = (wxMetafileDataObject *)new wxMetafileDataObject();
23209
23210 wxPyEndAllowThreads(__tstate);
23211 if (PyErr_Occurred()) SWIG_fail;
23212 }
23213 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMetafileDataObject, 1);
23214 return resultobj;
23215 fail:
23216 return NULL;
23217}
23218
23219
23220static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
23221 PyObject *resultobj;
23222 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
23223 wxMetafile *arg2 = 0 ;
23224 PyObject * obj0 = 0 ;
23225 PyObject * obj1 = 0 ;
23226 char *kwnames[] = {
23227 (char *) "self",(char *) "metafile", NULL
23228 };
23229
23230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
23231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMetafileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23232 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMetafile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23233 if (arg2 == NULL) {
23234 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23235 }
23236 {
23237 PyThreadState* __tstate = wxPyBeginAllowThreads();
23238 (arg1)->SetMetafile((wxMetafile const &)*arg2);
23239
23240 wxPyEndAllowThreads(__tstate);
23241 if (PyErr_Occurred()) SWIG_fail;
23242 }
23243 Py_INCREF(Py_None); resultobj = Py_None;
23244 return resultobj;
23245 fail:
23246 return NULL;
23247}
23248
23249
23250static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
23251 PyObject *resultobj;
23252 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
23253 wxMetafile result;
23254 PyObject * obj0 = 0 ;
23255 char *kwnames[] = {
23256 (char *) "self", NULL
23257 };
23258
23259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
23260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMetafileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23261 {
23262 PyThreadState* __tstate = wxPyBeginAllowThreads();
23263 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
23264
23265 wxPyEndAllowThreads(__tstate);
23266 if (PyErr_Occurred()) SWIG_fail;
23267 }
23268 {
23269 wxMetafile * resultptr;
23270 resultptr = new wxMetafile((wxMetafile &) result);
23271 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxMetafile, 1);
23272 }
23273 return resultobj;
23274 fail:
23275 return NULL;
23276}
23277
23278
23279static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
23280 PyObject *obj;
23281 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23282 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
23283 Py_INCREF(obj);
23284 return Py_BuildValue((char *)"");
23285}
23286static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23287 PyObject *resultobj;
23288 int arg1 ;
23289 bool result;
23290 char *kwnames[] = {
23291 (char *) "res", NULL
23292 };
23293
23294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:IsDragResultOk",kwnames,&arg1)) goto fail;
23295 {
23296 PyThreadState* __tstate = wxPyBeginAllowThreads();
23297 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
23298
23299 wxPyEndAllowThreads(__tstate);
23300 if (PyErr_Occurred()) SWIG_fail;
23301 }
23302 resultobj = PyInt_FromLong((long)result);
23303 return resultobj;
23304 fail:
23305 return NULL;
23306}
23307
23308
23309static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23310 PyObject *resultobj;
23311 wxWindow *arg1 = (wxWindow *) NULL ;
23312 wxCursor const &arg2_defvalue = wxNullCursor ;
23313 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
23314 wxCursor const &arg3_defvalue = wxNullCursor ;
23315 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
23316 wxCursor const &arg4_defvalue = wxNullCursor ;
23317 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
23318 wxPyDropSource *result;
23319 PyObject * obj0 = 0 ;
23320 PyObject * obj1 = 0 ;
23321 PyObject * obj2 = 0 ;
23322 PyObject * obj3 = 0 ;
23323 char *kwnames[] = {
23324 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
23325 };
23326
23327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23328 if (obj0) {
23329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23330 }
23331 if (obj1) {
23332 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23333 if (arg2 == NULL) {
23334 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23335 }
23336 }
23337 if (obj2) {
23338 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23339 if (arg3 == NULL) {
23340 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23341 }
23342 }
23343 if (obj3) {
23344 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23345 if (arg4 == NULL) {
23346 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23347 }
23348 }
23349 {
23350 PyThreadState* __tstate = wxPyBeginAllowThreads();
23351 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
23352
23353 wxPyEndAllowThreads(__tstate);
23354 if (PyErr_Occurred()) SWIG_fail;
23355 }
23356 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropSource, 1);
23357 return resultobj;
23358 fail:
23359 return NULL;
23360}
23361
23362
23363static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23364 PyObject *resultobj;
23365 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23366 PyObject *arg2 = (PyObject *) 0 ;
23367 PyObject *arg3 = (PyObject *) 0 ;
23368 int arg4 ;
23369 PyObject * obj0 = 0 ;
23370 PyObject * obj1 = 0 ;
23371 PyObject * obj2 = 0 ;
23372 char *kwnames[] = {
23373 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23374 };
23375
23376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOi:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
23377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23378 arg2 = obj1;
23379 arg3 = obj2;
23380 {
23381 PyThreadState* __tstate = wxPyBeginAllowThreads();
23382 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
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_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23395 PyObject *resultobj;
23396 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23397 PyObject * obj0 = 0 ;
23398 char *kwnames[] = {
23399 (char *) "self", NULL
23400 };
23401
23402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
23403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23404 {
23405 PyThreadState* __tstate = wxPyBeginAllowThreads();
23406 delete arg1;
23407
23408 wxPyEndAllowThreads(__tstate);
23409 if (PyErr_Occurred()) SWIG_fail;
23410 }
23411 Py_INCREF(Py_None); resultobj = Py_None;
23412 return resultobj;
23413 fail:
23414 return NULL;
23415}
23416
23417
23418static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23419 PyObject *resultobj;
23420 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23421 wxDataObject *arg2 = 0 ;
23422 PyObject * obj0 = 0 ;
23423 PyObject * obj1 = 0 ;
23424 char *kwnames[] = {
23425 (char *) "self",(char *) "data", NULL
23426 };
23427
23428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
23429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23430 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23431 if (arg2 == NULL) {
23432 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23433 }
23434 {
23435 PyThreadState* __tstate = wxPyBeginAllowThreads();
23436 (arg1)->SetData(*arg2);
23437
23438 wxPyEndAllowThreads(__tstate);
23439 if (PyErr_Occurred()) SWIG_fail;
23440 }
23441 Py_INCREF(Py_None); resultobj = Py_None;
23442 return resultobj;
23443 fail:
23444 return NULL;
23445}
23446
23447
23448static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23449 PyObject *resultobj;
23450 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23451 wxDataObject *result;
23452 PyObject * obj0 = 0 ;
23453 char *kwnames[] = {
23454 (char *) "self", NULL
23455 };
23456
23457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
23458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23459 {
23460 PyThreadState* __tstate = wxPyBeginAllowThreads();
23461 result = (wxDataObject *)(arg1)->GetDataObject();
23462
23463 wxPyEndAllowThreads(__tstate);
23464 if (PyErr_Occurred()) SWIG_fail;
23465 }
23466 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23467 return resultobj;
23468 fail:
23469 return NULL;
23470}
23471
23472
23473static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
23474 PyObject *resultobj;
23475 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23476 int arg2 ;
23477 wxCursor *arg3 = 0 ;
23478 PyObject * obj0 = 0 ;
23479 PyObject * obj2 = 0 ;
23480 char *kwnames[] = {
23481 (char *) "self",(char *) "res",(char *) "cursor", NULL
23482 };
23483
23484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:DropSource_SetCursor",kwnames,&obj0,&arg2,&obj2)) goto fail;
23485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23486 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23487 if (arg3 == NULL) {
23488 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23489 }
23490 {
23491 PyThreadState* __tstate = wxPyBeginAllowThreads();
23492 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
23493
23494 wxPyEndAllowThreads(__tstate);
23495 if (PyErr_Occurred()) SWIG_fail;
23496 }
23497 Py_INCREF(Py_None); resultobj = Py_None;
23498 return resultobj;
23499 fail:
23500 return NULL;
23501}
23502
23503
23504static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23505 PyObject *resultobj;
23506 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23507 int arg2 = (int) wxDrag_CopyOnly ;
23508 int result;
23509 PyObject * obj0 = 0 ;
23510 char *kwnames[] = {
23511 (char *) "self",(char *) "flags", NULL
23512 };
23513
23514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DropSource_DoDragDrop",kwnames,&obj0,&arg2)) goto fail;
23515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23516 {
23517 PyThreadState* __tstate = wxPyBeginAllowThreads();
23518 result = (int)(arg1)->DoDragDrop(arg2);
23519
23520 wxPyEndAllowThreads(__tstate);
23521 if (PyErr_Occurred()) SWIG_fail;
23522 }
23523 resultobj = PyInt_FromLong((long)result);
23524 return resultobj;
23525 fail:
23526 return NULL;
23527}
23528
23529
23530static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
23531 PyObject *resultobj;
23532 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23533 int arg2 ;
23534 bool result;
23535 PyObject * obj0 = 0 ;
23536 char *kwnames[] = {
23537 (char *) "self",(char *) "effect", NULL
23538 };
23539
23540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DropSource_base_GiveFeedback",kwnames,&obj0,&arg2)) goto fail;
23541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23542 {
23543 PyThreadState* __tstate = wxPyBeginAllowThreads();
23544 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
23545
23546 wxPyEndAllowThreads(__tstate);
23547 if (PyErr_Occurred()) SWIG_fail;
23548 }
23549 resultobj = PyInt_FromLong((long)result);
23550 return resultobj;
23551 fail:
23552 return NULL;
23553}
23554
23555
23556static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
23557 PyObject *obj;
23558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23559 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
23560 Py_INCREF(obj);
23561 return Py_BuildValue((char *)"");
23562}
23563static PyObject *_wrap_new_PyDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23564 PyObject *resultobj;
23565 wxDataObject *arg1 = (wxDataObject *) NULL ;
23566 wxPyDropTarget *result;
23567 PyObject * obj0 = 0 ;
23568 char *kwnames[] = {
23569 (char *) "dataObject", NULL
23570 };
23571
23572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDropTarget",kwnames,&obj0)) goto fail;
23573 if (obj0) {
23574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23575 }
23576 {
23577 PyThreadState* __tstate = wxPyBeginAllowThreads();
23578 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
23579
23580 wxPyEndAllowThreads(__tstate);
23581 if (PyErr_Occurred()) SWIG_fail;
23582 }
23583 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 1);
23584 return resultobj;
23585 fail:
23586 return NULL;
23587}
23588
23589
23590static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23591 PyObject *resultobj;
23592 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23593 PyObject *arg2 = (PyObject *) 0 ;
23594 PyObject *arg3 = (PyObject *) 0 ;
23595 PyObject * obj0 = 0 ;
23596 PyObject * obj1 = 0 ;
23597 PyObject * obj2 = 0 ;
23598 char *kwnames[] = {
23599 (char *) "self",(char *) "self",(char *) "_class", NULL
23600 };
23601
23602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23604 arg2 = obj1;
23605 arg3 = obj2;
23606 {
23607 PyThreadState* __tstate = wxPyBeginAllowThreads();
23608 (arg1)->_setCallbackInfo(arg2,arg3);
23609
23610 wxPyEndAllowThreads(__tstate);
23611 if (PyErr_Occurred()) SWIG_fail;
23612 }
23613 Py_INCREF(Py_None); resultobj = Py_None;
23614 return resultobj;
23615 fail:
23616 return NULL;
23617}
23618
23619
23620static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23621 PyObject *resultobj;
23622 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23623 PyObject * obj0 = 0 ;
23624 char *kwnames[] = {
23625 (char *) "self", NULL
23626 };
23627
23628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
23629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23630 {
23631 PyThreadState* __tstate = wxPyBeginAllowThreads();
23632 delete arg1;
23633
23634 wxPyEndAllowThreads(__tstate);
23635 if (PyErr_Occurred()) SWIG_fail;
23636 }
23637 Py_INCREF(Py_None); resultobj = Py_None;
23638 return resultobj;
23639 fail:
23640 return NULL;
23641}
23642
23643
23644static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23645 PyObject *resultobj;
23646 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23647 wxDataObject *result;
23648 PyObject * obj0 = 0 ;
23649 char *kwnames[] = {
23650 (char *) "self", NULL
23651 };
23652
23653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
23654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23655 {
23656 PyThreadState* __tstate = wxPyBeginAllowThreads();
23657 result = (wxDataObject *)(arg1)->GetDataObject();
23658
23659 wxPyEndAllowThreads(__tstate);
23660 if (PyErr_Occurred()) SWIG_fail;
23661 }
23662 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23663 return resultobj;
23664 fail:
23665 return NULL;
23666}
23667
23668
23669static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23670 PyObject *resultobj;
23671 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23672 wxDataObject *arg2 = (wxDataObject *) 0 ;
23673 PyObject * obj0 = 0 ;
23674 PyObject * obj1 = 0 ;
23675 char *kwnames[] = {
23676 (char *) "self",(char *) "dataObject", NULL
23677 };
23678
23679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
23680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23681 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23682 {
23683 PyThreadState* __tstate = wxPyBeginAllowThreads();
23684 (arg1)->SetDataObject(arg2);
23685
23686 wxPyEndAllowThreads(__tstate);
23687 if (PyErr_Occurred()) SWIG_fail;
23688 }
23689 Py_INCREF(Py_None); resultobj = Py_None;
23690 return resultobj;
23691 fail:
23692 return NULL;
23693}
23694
23695
23696static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23697 PyObject *resultobj;
23698 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23699 int arg2 ;
23700 int arg3 ;
23701 int arg4 ;
23702 int result;
23703 PyObject * obj0 = 0 ;
23704 char *kwnames[] = {
23705 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23706 };
23707
23708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23710 {
23711 PyThreadState* __tstate = wxPyBeginAllowThreads();
23712 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23713
23714 wxPyEndAllowThreads(__tstate);
23715 if (PyErr_Occurred()) SWIG_fail;
23716 }
23717 resultobj = PyInt_FromLong((long)result);
23718 return resultobj;
23719 fail:
23720 return NULL;
23721}
23722
23723
23724static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23725 PyObject *resultobj;
23726 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23727 int arg2 ;
23728 int arg3 ;
23729 int arg4 ;
23730 int result;
23731 PyObject * obj0 = 0 ;
23732 char *kwnames[] = {
23733 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23734 };
23735
23736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23738 {
23739 PyThreadState* __tstate = wxPyBeginAllowThreads();
23740 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23741
23742 wxPyEndAllowThreads(__tstate);
23743 if (PyErr_Occurred()) SWIG_fail;
23744 }
23745 resultobj = PyInt_FromLong((long)result);
23746 return resultobj;
23747 fail:
23748 return NULL;
23749}
23750
23751
23752static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23753 PyObject *resultobj;
23754 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23755 PyObject * obj0 = 0 ;
23756 char *kwnames[] = {
23757 (char *) "self", NULL
23758 };
23759
23760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23762 {
23763 PyThreadState* __tstate = wxPyBeginAllowThreads();
23764 (arg1)->base_OnLeave();
23765
23766 wxPyEndAllowThreads(__tstate);
23767 if (PyErr_Occurred()) SWIG_fail;
23768 }
23769 Py_INCREF(Py_None); resultobj = Py_None;
23770 return resultobj;
23771 fail:
23772 return NULL;
23773}
23774
23775
23776static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23777 PyObject *resultobj;
23778 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23779 int arg2 ;
23780 int arg3 ;
23781 bool result;
23782 PyObject * obj0 = 0 ;
23783 char *kwnames[] = {
23784 (char *) "self",(char *) "x",(char *) "y", NULL
23785 };
23786
23787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:DropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23789 {
23790 PyThreadState* __tstate = wxPyBeginAllowThreads();
23791 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23792
23793 wxPyEndAllowThreads(__tstate);
23794 if (PyErr_Occurred()) SWIG_fail;
23795 }
23796 resultobj = PyInt_FromLong((long)result);
23797 return resultobj;
23798 fail:
23799 return NULL;
23800}
23801
23802
23803static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23804 PyObject *resultobj;
23805 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23806 bool result;
23807 PyObject * obj0 = 0 ;
23808 char *kwnames[] = {
23809 (char *) "self", NULL
23810 };
23811
23812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
23813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23814 {
23815 PyThreadState* __tstate = wxPyBeginAllowThreads();
23816 result = (bool)(arg1)->GetData();
23817
23818 wxPyEndAllowThreads(__tstate);
23819 if (PyErr_Occurred()) SWIG_fail;
23820 }
23821 resultobj = PyInt_FromLong((long)result);
23822 return resultobj;
23823 fail:
23824 return NULL;
23825}
23826
23827
23828static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
23829 PyObject *obj;
23830 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23831 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
23832 Py_INCREF(obj);
23833 return Py_BuildValue((char *)"");
23834}
23835static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23836 PyObject *resultobj;
23837 wxPyTextDropTarget *result;
23838 char *kwnames[] = {
23839 NULL
23840 };
23841
23842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
23843 {
23844 PyThreadState* __tstate = wxPyBeginAllowThreads();
23845 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
23846
23847 wxPyEndAllowThreads(__tstate);
23848 if (PyErr_Occurred()) SWIG_fail;
23849 }
23850 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDropTarget, 1);
23851 return resultobj;
23852 fail:
23853 return NULL;
23854}
23855
23856
23857static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23858 PyObject *resultobj;
23859 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23860 PyObject *arg2 = (PyObject *) 0 ;
23861 PyObject *arg3 = (PyObject *) 0 ;
23862 PyObject * obj0 = 0 ;
23863 PyObject * obj1 = 0 ;
23864 PyObject * obj2 = 0 ;
23865 char *kwnames[] = {
23866 (char *) "self",(char *) "self",(char *) "_class", NULL
23867 };
23868
23869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23871 arg2 = obj1;
23872 arg3 = obj2;
23873 {
23874 PyThreadState* __tstate = wxPyBeginAllowThreads();
23875 (arg1)->_setCallbackInfo(arg2,arg3);
23876
23877 wxPyEndAllowThreads(__tstate);
23878 if (PyErr_Occurred()) SWIG_fail;
23879 }
23880 Py_INCREF(Py_None); resultobj = Py_None;
23881 return resultobj;
23882 fail:
23883 return NULL;
23884}
23885
23886
23887static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23888 PyObject *resultobj;
23889 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23890 int arg2 ;
23891 int arg3 ;
23892 int arg4 ;
23893 int result;
23894 PyObject * obj0 = 0 ;
23895 char *kwnames[] = {
23896 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23897 };
23898
23899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23901 {
23902 PyThreadState* __tstate = wxPyBeginAllowThreads();
23903 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23904
23905 wxPyEndAllowThreads(__tstate);
23906 if (PyErr_Occurred()) SWIG_fail;
23907 }
23908 resultobj = PyInt_FromLong((long)result);
23909 return resultobj;
23910 fail:
23911 return NULL;
23912}
23913
23914
23915static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23916 PyObject *resultobj;
23917 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23918 int arg2 ;
23919 int arg3 ;
23920 int arg4 ;
23921 int result;
23922 PyObject * obj0 = 0 ;
23923 char *kwnames[] = {
23924 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23925 };
23926
23927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23929 {
23930 PyThreadState* __tstate = wxPyBeginAllowThreads();
23931 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23932
23933 wxPyEndAllowThreads(__tstate);
23934 if (PyErr_Occurred()) SWIG_fail;
23935 }
23936 resultobj = PyInt_FromLong((long)result);
23937 return resultobj;
23938 fail:
23939 return NULL;
23940}
23941
23942
23943static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23944 PyObject *resultobj;
23945 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23946 PyObject * obj0 = 0 ;
23947 char *kwnames[] = {
23948 (char *) "self", NULL
23949 };
23950
23951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23953 {
23954 PyThreadState* __tstate = wxPyBeginAllowThreads();
23955 (arg1)->base_OnLeave();
23956
23957 wxPyEndAllowThreads(__tstate);
23958 if (PyErr_Occurred()) SWIG_fail;
23959 }
23960 Py_INCREF(Py_None); resultobj = Py_None;
23961 return resultobj;
23962 fail:
23963 return NULL;
23964}
23965
23966
23967static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23968 PyObject *resultobj;
23969 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23970 int arg2 ;
23971 int arg3 ;
23972 bool result;
23973 PyObject * obj0 = 0 ;
23974 char *kwnames[] = {
23975 (char *) "self",(char *) "x",(char *) "y", NULL
23976 };
23977
23978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23980 {
23981 PyThreadState* __tstate = wxPyBeginAllowThreads();
23982 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23983
23984 wxPyEndAllowThreads(__tstate);
23985 if (PyErr_Occurred()) SWIG_fail;
23986 }
23987 resultobj = PyInt_FromLong((long)result);
23988 return resultobj;
23989 fail:
23990 return NULL;
23991}
23992
23993
23994static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
23995 PyObject *resultobj;
23996 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23997 int arg2 ;
23998 int arg3 ;
23999 int arg4 ;
24000 int result;
24001 PyObject * obj0 = 0 ;
24002 char *kwnames[] = {
24003 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24004 };
24005
24006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24008 {
24009 PyThreadState* __tstate = wxPyBeginAllowThreads();
24010 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
24011
24012 wxPyEndAllowThreads(__tstate);
24013 if (PyErr_Occurred()) SWIG_fail;
24014 }
24015 resultobj = PyInt_FromLong((long)result);
24016 return resultobj;
24017 fail:
24018 return NULL;
24019}
24020
24021
24022static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
24023 PyObject *obj;
24024 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24025 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
24026 Py_INCREF(obj);
24027 return Py_BuildValue((char *)"");
24028}
24029static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24030 PyObject *resultobj;
24031 wxPyFileDropTarget *result;
24032 char *kwnames[] = {
24033 NULL
24034 };
24035
24036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
24037 {
24038 PyThreadState* __tstate = wxPyBeginAllowThreads();
24039 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
24040
24041 wxPyEndAllowThreads(__tstate);
24042 if (PyErr_Occurred()) SWIG_fail;
24043 }
24044 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileDropTarget, 1);
24045 return resultobj;
24046 fail:
24047 return NULL;
24048}
24049
24050
24051static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24052 PyObject *resultobj;
24053 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24054 PyObject *arg2 = (PyObject *) 0 ;
24055 PyObject *arg3 = (PyObject *) 0 ;
24056 PyObject * obj0 = 0 ;
24057 PyObject * obj1 = 0 ;
24058 PyObject * obj2 = 0 ;
24059 char *kwnames[] = {
24060 (char *) "self",(char *) "self",(char *) "_class", NULL
24061 };
24062
24063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24065 arg2 = obj1;
24066 arg3 = obj2;
24067 {
24068 PyThreadState* __tstate = wxPyBeginAllowThreads();
24069 (arg1)->_setCallbackInfo(arg2,arg3);
24070
24071 wxPyEndAllowThreads(__tstate);
24072 if (PyErr_Occurred()) SWIG_fail;
24073 }
24074 Py_INCREF(Py_None); resultobj = Py_None;
24075 return resultobj;
24076 fail:
24077 return NULL;
24078}
24079
24080
24081static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
24082 PyObject *resultobj;
24083 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24084 int arg2 ;
24085 int arg3 ;
24086 int arg4 ;
24087 int result;
24088 PyObject * obj0 = 0 ;
24089 char *kwnames[] = {
24090 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24091 };
24092
24093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24095 {
24096 PyThreadState* __tstate = wxPyBeginAllowThreads();
24097 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
24098
24099 wxPyEndAllowThreads(__tstate);
24100 if (PyErr_Occurred()) SWIG_fail;
24101 }
24102 resultobj = PyInt_FromLong((long)result);
24103 return resultobj;
24104 fail:
24105 return NULL;
24106}
24107
24108
24109static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
24110 PyObject *resultobj;
24111 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24112 int arg2 ;
24113 int arg3 ;
24114 int arg4 ;
24115 int result;
24116 PyObject * obj0 = 0 ;
24117 char *kwnames[] = {
24118 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24119 };
24120
24121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24123 {
24124 PyThreadState* __tstate = wxPyBeginAllowThreads();
24125 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
24126
24127 wxPyEndAllowThreads(__tstate);
24128 if (PyErr_Occurred()) SWIG_fail;
24129 }
24130 resultobj = PyInt_FromLong((long)result);
24131 return resultobj;
24132 fail:
24133 return NULL;
24134}
24135
24136
24137static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
24138 PyObject *resultobj;
24139 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24140 PyObject * obj0 = 0 ;
24141 char *kwnames[] = {
24142 (char *) "self", NULL
24143 };
24144
24145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
24146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24147 {
24148 PyThreadState* __tstate = wxPyBeginAllowThreads();
24149 (arg1)->base_OnLeave();
24150
24151 wxPyEndAllowThreads(__tstate);
24152 if (PyErr_Occurred()) SWIG_fail;
24153 }
24154 Py_INCREF(Py_None); resultobj = Py_None;
24155 return resultobj;
24156 fail:
24157 return NULL;
24158}
24159
24160
24161static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
24162 PyObject *resultobj;
24163 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24164 int arg2 ;
24165 int arg3 ;
24166 bool result;
24167 PyObject * obj0 = 0 ;
24168 char *kwnames[] = {
24169 (char *) "self",(char *) "x",(char *) "y", NULL
24170 };
24171
24172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
24173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24174 {
24175 PyThreadState* __tstate = wxPyBeginAllowThreads();
24176 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
24177
24178 wxPyEndAllowThreads(__tstate);
24179 if (PyErr_Occurred()) SWIG_fail;
24180 }
24181 resultobj = PyInt_FromLong((long)result);
24182 return resultobj;
24183 fail:
24184 return NULL;
24185}
24186
24187
24188static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
24189 PyObject *resultobj;
24190 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24191 int arg2 ;
24192 int arg3 ;
24193 int arg4 ;
24194 int result;
24195 PyObject * obj0 = 0 ;
24196 char *kwnames[] = {
24197 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24198 };
24199
24200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24202 {
24203 PyThreadState* __tstate = wxPyBeginAllowThreads();
24204 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
24205
24206 wxPyEndAllowThreads(__tstate);
24207 if (PyErr_Occurred()) SWIG_fail;
24208 }
24209 resultobj = PyInt_FromLong((long)result);
24210 return resultobj;
24211 fail:
24212 return NULL;
24213}
24214
24215
24216static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
24217 PyObject *obj;
24218 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24219 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
24220 Py_INCREF(obj);
24221 return Py_BuildValue((char *)"");
24222}
24223static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24224 PyObject *resultobj;
24225 wxClipboard *result;
24226 char *kwnames[] = {
24227 NULL
24228 };
24229
24230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
24231 {
24232 PyThreadState* __tstate = wxPyBeginAllowThreads();
24233 result = (wxClipboard *)new wxClipboard();
24234
24235 wxPyEndAllowThreads(__tstate);
24236 if (PyErr_Occurred()) SWIG_fail;
24237 }
24238 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboard, 1);
24239 return resultobj;
24240 fail:
24241 return NULL;
24242}
24243
24244
24245static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24246 PyObject *resultobj;
24247 wxClipboard *arg1 = (wxClipboard *) 0 ;
24248 PyObject * obj0 = 0 ;
24249 char *kwnames[] = {
24250 (char *) "self", NULL
24251 };
24252
24253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
24254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24255 {
24256 PyThreadState* __tstate = wxPyBeginAllowThreads();
24257 delete arg1;
24258
24259 wxPyEndAllowThreads(__tstate);
24260 if (PyErr_Occurred()) SWIG_fail;
24261 }
24262 Py_INCREF(Py_None); resultobj = Py_None;
24263 return resultobj;
24264 fail:
24265 return NULL;
24266}
24267
24268
24269static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
24270 PyObject *resultobj;
24271 wxClipboard *arg1 = (wxClipboard *) 0 ;
24272 bool result;
24273 PyObject * obj0 = 0 ;
24274 char *kwnames[] = {
24275 (char *) "self", NULL
24276 };
24277
24278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
24279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24280 {
24281 PyThreadState* __tstate = wxPyBeginAllowThreads();
24282 result = (bool)(arg1)->Open();
24283
24284 wxPyEndAllowThreads(__tstate);
24285 if (PyErr_Occurred()) SWIG_fail;
24286 }
24287 resultobj = PyInt_FromLong((long)result);
24288 return resultobj;
24289 fail:
24290 return NULL;
24291}
24292
24293
24294static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
24295 PyObject *resultobj;
24296 wxClipboard *arg1 = (wxClipboard *) 0 ;
24297 PyObject * obj0 = 0 ;
24298 char *kwnames[] = {
24299 (char *) "self", NULL
24300 };
24301
24302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
24303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24304 {
24305 PyThreadState* __tstate = wxPyBeginAllowThreads();
24306 (arg1)->Close();
24307
24308 wxPyEndAllowThreads(__tstate);
24309 if (PyErr_Occurred()) SWIG_fail;
24310 }
24311 Py_INCREF(Py_None); resultobj = Py_None;
24312 return resultobj;
24313 fail:
24314 return NULL;
24315}
24316
24317
24318static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
24319 PyObject *resultobj;
24320 wxClipboard *arg1 = (wxClipboard *) 0 ;
24321 bool result;
24322 PyObject * obj0 = 0 ;
24323 char *kwnames[] = {
24324 (char *) "self", NULL
24325 };
24326
24327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
24328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24329 {
24330 PyThreadState* __tstate = wxPyBeginAllowThreads();
24331 result = (bool)((wxClipboard const *)arg1)->IsOpened();
24332
24333 wxPyEndAllowThreads(__tstate);
24334 if (PyErr_Occurred()) SWIG_fail;
24335 }
24336 resultobj = PyInt_FromLong((long)result);
24337 return resultobj;
24338 fail:
24339 return NULL;
24340}
24341
24342
24343static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
24344 PyObject *resultobj;
24345 wxClipboard *arg1 = (wxClipboard *) 0 ;
24346 wxDataObject *arg2 = (wxDataObject *) 0 ;
24347 bool result;
24348 PyObject * obj0 = 0 ;
24349 PyObject * obj1 = 0 ;
24350 char *kwnames[] = {
24351 (char *) "self",(char *) "data", NULL
24352 };
24353
24354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
24355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24356 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24357 {
24358 PyThreadState* __tstate = wxPyBeginAllowThreads();
24359 result = (bool)(arg1)->AddData(arg2);
24360
24361 wxPyEndAllowThreads(__tstate);
24362 if (PyErr_Occurred()) SWIG_fail;
24363 }
24364 resultobj = PyInt_FromLong((long)result);
24365 return resultobj;
24366 fail:
24367 return NULL;
24368}
24369
24370
24371static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24372 PyObject *resultobj;
24373 wxClipboard *arg1 = (wxClipboard *) 0 ;
24374 wxDataObject *arg2 = (wxDataObject *) 0 ;
24375 bool result;
24376 PyObject * obj0 = 0 ;
24377 PyObject * obj1 = 0 ;
24378 char *kwnames[] = {
24379 (char *) "self",(char *) "data", NULL
24380 };
24381
24382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
24383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24384 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24385 {
24386 PyThreadState* __tstate = wxPyBeginAllowThreads();
24387 result = (bool)(arg1)->SetData(arg2);
24388
24389 wxPyEndAllowThreads(__tstate);
24390 if (PyErr_Occurred()) SWIG_fail;
24391 }
24392 resultobj = PyInt_FromLong((long)result);
24393 return resultobj;
24394 fail:
24395 return NULL;
24396}
24397
24398
24399static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24400 PyObject *resultobj;
24401 wxClipboard *arg1 = (wxClipboard *) 0 ;
24402 wxDataFormat *arg2 = 0 ;
24403 bool result;
24404 PyObject * obj0 = 0 ;
24405 PyObject * obj1 = 0 ;
24406 char *kwnames[] = {
24407 (char *) "self",(char *) "format", NULL
24408 };
24409
24410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
24411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24412 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24413 if (arg2 == NULL) {
24414 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24415 }
24416 {
24417 PyThreadState* __tstate = wxPyBeginAllowThreads();
24418 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
24419
24420 wxPyEndAllowThreads(__tstate);
24421 if (PyErr_Occurred()) SWIG_fail;
24422 }
24423 resultobj = PyInt_FromLong((long)result);
24424 return resultobj;
24425 fail:
24426 return NULL;
24427}
24428
24429
24430static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24431 PyObject *resultobj;
24432 wxClipboard *arg1 = (wxClipboard *) 0 ;
24433 wxDataObject *arg2 = 0 ;
24434 bool result;
24435 PyObject * obj0 = 0 ;
24436 PyObject * obj1 = 0 ;
24437 char *kwnames[] = {
24438 (char *) "self",(char *) "data", NULL
24439 };
24440
24441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
24442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24443 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24444 if (arg2 == NULL) {
24445 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24446 }
24447 {
24448 PyThreadState* __tstate = wxPyBeginAllowThreads();
24449 result = (bool)(arg1)->GetData(*arg2);
24450
24451 wxPyEndAllowThreads(__tstate);
24452 if (PyErr_Occurred()) SWIG_fail;
24453 }
24454 resultobj = PyInt_FromLong((long)result);
24455 return resultobj;
24456 fail:
24457 return NULL;
24458}
24459
24460
24461static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
24462 PyObject *resultobj;
24463 wxClipboard *arg1 = (wxClipboard *) 0 ;
24464 PyObject * obj0 = 0 ;
24465 char *kwnames[] = {
24466 (char *) "self", NULL
24467 };
24468
24469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
24470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24471 {
24472 PyThreadState* __tstate = wxPyBeginAllowThreads();
24473 (arg1)->Clear();
24474
24475 wxPyEndAllowThreads(__tstate);
24476 if (PyErr_Occurred()) SWIG_fail;
24477 }
24478 Py_INCREF(Py_None); resultobj = Py_None;
24479 return resultobj;
24480 fail:
24481 return NULL;
24482}
24483
24484
24485static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
24486 PyObject *resultobj;
24487 wxClipboard *arg1 = (wxClipboard *) 0 ;
24488 bool result;
24489 PyObject * obj0 = 0 ;
24490 char *kwnames[] = {
24491 (char *) "self", NULL
24492 };
24493
24494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
24495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24496 {
24497 PyThreadState* __tstate = wxPyBeginAllowThreads();
24498 result = (bool)(arg1)->Flush();
24499
24500 wxPyEndAllowThreads(__tstate);
24501 if (PyErr_Occurred()) SWIG_fail;
24502 }
24503 resultobj = PyInt_FromLong((long)result);
24504 return resultobj;
24505 fail:
24506 return NULL;
24507}
24508
24509
24510static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
24511 PyObject *resultobj;
24512 wxClipboard *arg1 = (wxClipboard *) 0 ;
24513 bool arg2 = (bool) False ;
24514 PyObject * obj0 = 0 ;
24515 PyObject * obj1 = 0 ;
24516 char *kwnames[] = {
24517 (char *) "self",(char *) "primary", NULL
24518 };
24519
24520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
24521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24522 if (obj1) {
24523 arg2 = PyInt_AsLong(obj1) ? true : false;
24524 if (PyErr_Occurred()) SWIG_fail;
24525 }
24526 {
24527 PyThreadState* __tstate = wxPyBeginAllowThreads();
24528 (arg1)->UsePrimarySelection(arg2);
24529
24530 wxPyEndAllowThreads(__tstate);
24531 if (PyErr_Occurred()) SWIG_fail;
24532 }
24533 Py_INCREF(Py_None); resultobj = Py_None;
24534 return resultobj;
24535 fail:
24536 return NULL;
24537}
24538
24539
24540static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
24541 PyObject *obj;
24542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24543 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
24544 Py_INCREF(obj);
24545 return Py_BuildValue((char *)"");
24546}
24547static int _wrap_TheClipboard_set(PyObject *_val) {
24548 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
24549 return 1;
24550}
24551
24552
24553static PyObject *_wrap_TheClipboard_get() {
24554 PyObject *pyobj;
24555
24556 pyobj = SWIG_NewPointerObj((void *) wxTheClipboard, SWIGTYPE_p_wxClipboard, 0);
24557 return pyobj;
24558}
24559
24560
24561static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24562 PyObject *resultobj;
24563 wxClipboard *arg1 = (wxClipboard *) NULL ;
24564 wxClipboardLocker *result;
24565 PyObject * obj0 = 0 ;
24566 char *kwnames[] = {
24567 (char *) "clipboard", NULL
24568 };
24569
24570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
24571 if (obj0) {
24572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24573 }
24574 {
24575 PyThreadState* __tstate = wxPyBeginAllowThreads();
24576 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
24577
24578 wxPyEndAllowThreads(__tstate);
24579 if (PyErr_Occurred()) SWIG_fail;
24580 }
24581 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboardLocker, 1);
24582 return resultobj;
24583 fail:
24584 return NULL;
24585}
24586
24587
24588static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24589 PyObject *resultobj;
24590 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24591 PyObject * obj0 = 0 ;
24592 char *kwnames[] = {
24593 (char *) "self", NULL
24594 };
24595
24596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
24597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24598 {
24599 PyThreadState* __tstate = wxPyBeginAllowThreads();
24600 delete arg1;
24601
24602 wxPyEndAllowThreads(__tstate);
24603 if (PyErr_Occurred()) SWIG_fail;
24604 }
24605 Py_INCREF(Py_None); resultobj = Py_None;
24606 return resultobj;
24607 fail:
24608 return NULL;
24609}
24610
24611
24612static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
24613 PyObject *resultobj;
24614 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24615 bool result;
24616 PyObject * obj0 = 0 ;
24617 char *kwnames[] = {
24618 (char *) "self", NULL
24619 };
24620
24621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
24622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24623 {
24624 PyThreadState* __tstate = wxPyBeginAllowThreads();
24625 result = (bool)wxClipboardLocker___nonzero__(arg1);
24626
24627 wxPyEndAllowThreads(__tstate);
24628 if (PyErr_Occurred()) SWIG_fail;
24629 }
24630 resultobj = PyInt_FromLong((long)result);
24631 return resultobj;
24632 fail:
24633 return NULL;
24634}
24635
24636
24637static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
24638 PyObject *obj;
24639 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24640 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
24641 Py_INCREF(obj);
24642 return Py_BuildValue((char *)"");
24643}
24644static PyMethodDef SwigMethods[] = {
24645 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
24652 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
24659 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
24719 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
24727 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
24743 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
24748 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
24751 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
24754 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
24760 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
24774 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
24780 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
24786 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
24789 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
24802 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
24805 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
24806 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
24809 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
24836 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
24838 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
24840 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
24842 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
24849 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
24855 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
24868 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
24873 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
24876 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
24893 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
24901 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
24947 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
24975 { (char *)"new_Wave", (PyCFunction) _wrap_new_Wave, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"new_WaveData", (PyCFunction) _wrap_new_WaveData, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"delete_Wave", (PyCFunction) _wrap_delete_Wave, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"Wave_IsOk", (PyCFunction) _wrap_Wave_IsOk, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"Wave_Play", (PyCFunction) _wrap_Wave_Play, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"Wave_swigregister", Wave_swigregister, METH_VARARGS },
24981 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
24997 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
25013 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
25027 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
25036 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
25079 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
25083 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
25086 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
25089 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
25099 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
25105 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
25115 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
25125 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
25126 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
25127 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
25128 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
25129 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
25130 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
25131 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
25133 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
25134 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
25137 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
25143 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
25144 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
25147 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
25148 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
25149 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
25150 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
25151 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
25152 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
25153 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
25154 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
25155 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
25156 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
25159 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
25161 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
25163 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
25165 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
25167 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
25169 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
25170 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
25171 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
25172 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
25174 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
25175 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
25176 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
25177 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
25178 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
25180 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
25181 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
25182 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
25183 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
25184 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
25185 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
25186 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
25187 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
25188 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
25189 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
25190 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
25192 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
25193 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
25194 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
25195 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
25196 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
25197 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
25198 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
25199 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
25200 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
25201 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
25202 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
25203 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
25204 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
25205 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
25206 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
25207 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
25208 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
25209 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
25210 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
25211 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
25212 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
25213 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
25214 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
25215 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
25216 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
25217 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
25218 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
25220 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
25221 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
25222 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
25223 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
25224 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
25225 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
25226 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
25227 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
25228 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
25229 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
25230 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
25231 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
25232 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
25233 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
25234 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
25235 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
25237 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
25238 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
25239 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
25240 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
25241 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
25242 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
25243 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
25244 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
25245 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
25246 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
25247 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
25248 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
25249 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
25250 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
25251 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
25252 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
25253 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
25254 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
25255 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
25256 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
25257 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
25258 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
25259 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
25260 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
25261 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
25262 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
25263 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
25264 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
25265 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
25266 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
25267 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
25268 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
25269 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
25270 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
25271 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
25272 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
25273 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
25274 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
25275 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
25276 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
25277 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
25278 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
25279 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
25280 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
25281 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
25282 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
25283 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
25284 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
25285 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
25286 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
25287 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
25288 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
25289 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
25290 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
25291 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
25292 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
25293 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
25294 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
25295 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
25296 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
25297 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
25298 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
25299 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
25300 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
25301 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
25302 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
25303 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
25304 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
25305 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
25306 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
25307 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
25308 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25309 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
25310 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
25311 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
25312 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
25313 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
25314 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
25315 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
25316 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
25317 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
25318 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
25319 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25320 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
25321 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
25322 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25323 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25324 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
25325 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
25326 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25327 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
25328 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
25329 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
25330 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS },
25331 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
25332 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
25333 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
25334 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
25335 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
25336 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
25337 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
25338 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
25339 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
25340 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
25341 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
25342 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
25343 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS },
25344 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS },
25345 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
25346 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
25347 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
25348 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25349 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
25350 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
25351 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25352 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
25353 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
25354 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
25355 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
25356 { (char *)"new_PyDropTarget", (PyCFunction) _wrap_new_PyDropTarget, METH_VARARGS | METH_KEYWORDS },
25357 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25358 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
25359 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25360 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
25361 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25362 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25363 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25364 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25365 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
25366 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
25367 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
25368 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25369 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25370 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25371 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25372 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25373 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25374 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
25375 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
25376 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25377 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25378 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25379 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25380 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25381 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25382 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
25383 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
25384 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
25385 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
25386 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
25387 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
25388 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
25389 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
25390 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
25391 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
25392 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
25393 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
25394 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
25395 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
25396 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25397 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25398 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
25399 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
25400 { NULL, NULL }
25401};
25402
25403
25404/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25405
25406static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25407 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25408}
25409static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25410 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25411}
25412static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25413 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25414}
25415static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25416 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25417}
25418static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25419 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25420}
25421static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25422 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25423}
25424static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
25425 return (void *)((wxEvent *) ((wxTimerEvent *) x));
25426}
25427static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25428 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25429}
25430static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25431 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25432}
25433static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25434 return (void *)((wxEvent *) ((wxPyEvent *) x));
25435}
25436static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25437 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25438}
25439static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
25440 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
25441}
25442static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25443 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25444}
25445static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25446 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25447}
25448static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25449 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25450}
25451static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25452 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25453}
25454static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25455 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25456}
25457static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25458 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25459}
25460static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25461 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25462}
25463static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25464 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25465}
25466static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25467 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25468}
25469static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25470 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25471}
25472static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25473 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25474}
25475static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25476 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25477}
25478static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25479 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25480}
25481static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25482 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25483}
25484static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25485 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25486}
25487static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25488 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25489}
25490static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25491 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25492}
25493static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25494 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25495}
25496static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
25497 return (void *)((wxEvent *) ((wxProcessEvent *) x));
25498}
25499static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25500 return (void *)((wxEvent *) ((wxShowEvent *) x));
25501}
25502static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25503 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25504}
25505static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25506 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25507}
25508static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25509 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25510}
25511static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25512 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25513}
25514static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25515 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25516}
25517static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25518 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25519}
25520static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
25521 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
25522}
25523static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
25524 return (void *)((wxConfigBase *) ((wxConfig *) x));
25525}
25526static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
25527 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25528}
25529static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
25530 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
25531}
25532static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
25533 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
25534}
25535static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
25536 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25537}
25538static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
25539 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
25540}
25541static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
25542 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
25543}
25544static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
25545 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
25546}
25547static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
25548 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25549}
25550static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
25551 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25552}
25553static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
25554 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
25555}
25556static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
25557 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
25558}
25559static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
25560 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
25561}
25562static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
25563 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25564}
25565static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
25566 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
25567}
25568static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
25569 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25570}
25571static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25572 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
25573}
25574static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25575 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
25576}
25577static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25578 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25579}
25580static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25581 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25582}
25583static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
25584 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
25585}
25586static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
25587 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
25588}
25589static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
25590 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25591}
25592static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25593 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25594}
25595static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25596 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25597}
25598static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25599 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25600}
25601static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25602 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25603}
25604static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
25605 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
25606}
25607static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25608 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25609}
25610static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25611 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25612}
25613static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25614 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25615}
25616static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25617 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25618}
25619static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
25620 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
25621}
25622static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
25623 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
25624}
25625static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25626 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25627}
25628static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25629 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25630}
25631static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25632 return (void *)((wxObject *) ((wxSizerItem *) x));
25633}
25634static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25635 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25636}
25637static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25638 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25639}
25640static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25641 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25642}
25643static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25644 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25645}
25646static void *_p_wxSizerTo_p_wxObject(void *x) {
25647 return (void *)((wxObject *) ((wxSizer *) x));
25648}
25649static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25650 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25651}
25652static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
25653 return (void *)((wxObject *) ((wxFileHistory *) x));
25654}
25655static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25656 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25657}
25658static void *_p_wxEventTo_p_wxObject(void *x) {
25659 return (void *)((wxObject *) ((wxEvent *) x));
25660}
25661static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25662 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25663}
25664static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25665 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25666}
25667static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25668 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25669}
25670static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25671 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25672}
25673static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25674 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25675}
25676static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25677 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25678}
25679static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25680 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25681}
25682static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25683 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25684}
25685static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25686 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25687}
25688static void *_p_wxControlTo_p_wxObject(void *x) {
25689 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25690}
25691static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25692 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25693}
25694static void *_p_wxTimerEventTo_p_wxObject(void *x) {
25695 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
25696}
25697static void *_p_wxFSFileTo_p_wxObject(void *x) {
25698 return (void *)((wxObject *) ((wxFSFile *) x));
25699}
25700static void *_p_wxClipboardTo_p_wxObject(void *x) {
25701 return (void *)((wxObject *) ((wxClipboard *) x));
25702}
25703static void *_p_wxPySizerTo_p_wxObject(void *x) {
25704 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25705}
25706static void *_p_wxPyEventTo_p_wxObject(void *x) {
25707 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25708}
25709static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25710 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25711}
25712static void *_p_wxShowEventTo_p_wxObject(void *x) {
25713 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25714}
25715static void *_p_wxToolTipTo_p_wxObject(void *x) {
25716 return (void *)((wxObject *) ((wxToolTip *) x));
25717}
25718static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25719 return (void *)((wxObject *) ((wxMenuItem *) x));
25720}
25721static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25722 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25723}
25724static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25725 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25726}
25727static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25728 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25729}
25730static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25731 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25732}
25733static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25734 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25735}
25736static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25737 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25738}
25739static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25740 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25741}
25742static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25743 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25744}
25745static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25746 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25747}
25748static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25749 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25750}
25751static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25752 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25753}
25754static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25755 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25756}
25757static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25758 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25759}
25760static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25761 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25762}
25763static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25764 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25765}
25766static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25767 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25768}
25769static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25770 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25771}
25772static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25773 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25774}
25775static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25776 return (void *)((wxObject *) ((wxImageHandler *) x));
25777}
25778static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25779 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25780}
25781static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25782 return (void *)((wxObject *) ((wxEvtHandler *) x));
25783}
25784static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25785 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25786}
25787static void *_p_wxImageTo_p_wxObject(void *x) {
25788 return (void *)((wxObject *) ((wxImage *) x));
25789}
25790static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25791 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25792}
25793static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
25794 return (void *)((wxObject *) ((wxSystemOptions *) x));
25795}
25796static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
25797 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
25798}
25799static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25800 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25801}
25802static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25803 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25804}
25805static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25806 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25807}
25808static void *_p_wxWindowTo_p_wxObject(void *x) {
25809 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25810}
25811static void *_p_wxMenuTo_p_wxObject(void *x) {
25812 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25813}
25814static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25815 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25816}
25817static void *_p_wxPyProcessTo_p_wxObject(void *x) {
25818 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
25819}
25820static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25821 return (void *)((wxObject *) ((wxFileSystem *) x));
25822}
25823static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25824 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25825}
25826static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25827 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25828}
25829static void *_p_wxPyAppTo_p_wxObject(void *x) {
25830 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25831}
25832static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25833 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25834}
25835static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25836 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25837}
25838static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25839 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25840}
25841static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
25842 return (void *)((wxObject *) ((wxBusyInfo *) x));
25843}
25844static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25845 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25846}
25847static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25848 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25849}
25850static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25851 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25852}
25853static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25854 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25855}
25856static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25857 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25858}
25859static void *_p_wxProcessEventTo_p_wxObject(void *x) {
25860 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
25861}
25862static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25863 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25864}
25865static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25866 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25867}
25868static void *_p_wxValidatorTo_p_wxObject(void *x) {
25869 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25870}
25871static void *_p_wxPyTimerTo_p_wxObject(void *x) {
25872 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
25873}
25874static void *_p_wxLogStderrTo_p_wxLog(void *x) {
25875 return (void *)((wxLog *) ((wxLogStderr *) x));
25876}
25877static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
25878 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
25879}
25880static void *_p_wxLogWindowTo_p_wxLog(void *x) {
25881 return (void *)((wxLog *) ((wxLogWindow *) x));
25882}
25883static void *_p_wxLogChainTo_p_wxLog(void *x) {
25884 return (void *)((wxLog *) ((wxLogChain *) x));
25885}
25886static void *_p_wxLogGuiTo_p_wxLog(void *x) {
25887 return (void *)((wxLog *) ((wxLogGui *) x));
25888}
25889static void *_p_wxPyLogTo_p_wxLog(void *x) {
25890 return (void *)((wxLog *) ((wxPyLog *) x));
25891}
25892static void *_p_wxControlTo_p_wxWindow(void *x) {
25893 return (void *)((wxWindow *) ((wxControl *) x));
25894}
25895static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25896 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25897}
25898static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25899 return (void *)((wxWindow *) ((wxMenuBar *) x));
25900}
25901static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
25902 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
25903}
25904static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
25905 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
25906}
25907static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
25908static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
25909static swig_type_info _swigt__p_wxMetafile[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0},{"_p_wxMetafile"},{0}};
25910static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
25911static 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}};
25912static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
25913static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
25914static 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}};
25915static 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}};
25916static swig_type_info _swigt__p_wxWave[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
25917static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
25918static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
25919static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
25920static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
25921static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
25922static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
25923static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
25924static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
25925static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
25926static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
25927static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
25928static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
25929static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
25930static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
25931static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
25932static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
25933static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
25934static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
25935static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
25936static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
25937static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject},{0}};
25938static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject},{0}};
25939static 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}};
25940static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
25941static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
25942static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
25943static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
25944static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
25945static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
25946static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
25947static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
25948static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
25949static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite},{0}};
25950static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
25951static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
25952static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
25953static 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}};
25954static 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}};
25955static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
25956static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
25957static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
25958static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
25959static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
25960static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
25961static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
25962static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
25963static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider},{0}};
25964static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
25965static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
25966static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
25967static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
25968static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
25969static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject},{0}};
25970static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
25971static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
25972static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
25973static 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}};
25974static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
25975static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
25976static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
25977static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
25978static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
25979static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
25980static 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}};
25981static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
25982static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
25983static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
25984static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
25985static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
25986static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
25987static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
25988static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
25989static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
25990
25991static swig_type_info *swig_types_initial[] = {
25992_swigt__p_wxLogChain,
25993_swigt__p_wxMutexGuiLocker,
25994_swigt__p_wxMetafile,
25995_swigt__p_wxFileHistory,
25996_swigt__p_wxLog,
25997_swigt__p_wxDateTime__TimeZone,
25998_swigt__p_wxMenu,
25999_swigt__p_wxEvent,
26000_swigt__p_wxConfigBase,
26001_swigt__p_wxWave,
26002_swigt__p_wxFileType,
26003_swigt__p_wxLogGui,
26004_swigt__p_wxFont,
26005_swigt__p_wxDataFormat,
26006_swigt__p_wxTimerEvent,
26007_swigt__p_wxCaret,
26008_swigt__p_int,
26009_swigt__p_wxSize,
26010_swigt__p_wxClipboard,
26011_swigt__p_wxStopWatch,
26012_swigt__p_wxDC,
26013_swigt__p_wxClipboardLocker,
26014_swigt__p_wxIcon,
26015_swigt__p_wxLogStderr,
26016_swigt__p_wxLogTextCtrl,
26017_swigt__p_wxTextCtrl,
26018_swigt__p_wxBusyCursor,
26019_swigt__p_wxFileDataObject,
26020_swigt__p_wxPyBitmapDataObject,
26021_swigt__p_wxPyTextDataObject,
26022_swigt__p_wxBitmapDataObject,
26023_swigt__p_wxTextDataObject,
26024_swigt__p_wxDataObject,
26025_swigt__p_wxCustomDataObject,
26026_swigt__p_wxURLDataObject,
26027_swigt__p_wxMetafileDataObject,
26028_swigt__p_wxTimerRunner,
26029_swigt__p_wxLogWindow,
26030_swigt__p_wxTimeSpan,
26031_swigt__p_wxArrayString,
26032_swigt__p_wxWindowDisabler,
26033_swigt__p_wxToolTip,
26034_swigt__p_wxDataObjectComposite,
26035_swigt__p_wxFileConfig,
26036_swigt__p_wxSystemSettings,
26037_swigt__p_wxPyDataObjectSimple,
26038_swigt__p_wxDataObjectSimple,
26039_swigt__p_wxEvtHandler,
26040_swigt__p_wxRect,
26041_swigt__p_wxSingleInstanceChecker,
26042_swigt__p_wxFileTypeInfo,
26043_swigt__p_wxFrame,
26044_swigt__p_wxTimer,
26045_swigt__p_wxMimeTypesManager,
26046_swigt__p_wxPyArtProvider,
26047_swigt__p_wxPyTipProvider,
26048_swigt__p_wxTipProvider,
26049_swigt__p_wxJoystick,
26050_swigt__p_wxSystemOptions,
26051_swigt__p_wxPoint,
26052_swigt__p_wxJoystickEvent,
26053_swigt__p_wxCursor,
26054_swigt__p_wxObject,
26055_swigt__p_wxOutputStream,
26056_swigt__p_wxDateTime,
26057_swigt__p_wxPyDropSource,
26058_swigt__p_wxWindow,
26059_swigt__p_wxString,
26060_swigt__p_wxPyProcess,
26061_swigt__p_wxBitmap,
26062_swigt__p_wxConfig,
26063_swigt__p_wxChar,
26064_swigt__p_wxBusyInfo,
26065_swigt__p_wxPyDropTarget,
26066_swigt__p_wxPyTextDropTarget,
26067_swigt__p_wxPyFileDropTarget,
26068_swigt__p_wxProcessEvent,
26069_swigt__p_wxPyLog,
26070_swigt__p_wxLogNull,
26071_swigt__p_wxColour,
26072_swigt__p_wxConfigPathChanger,
26073_swigt__p_wxPyTimer,
26074_swigt__p_wxDateSpan,
260750
26076};
26077
26078
26079/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26080
26081static swig_const_info swig_const_table[] = {
26082{ SWIG_PY_INT, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT, 0, 0, 0},
26083{ SWIG_PY_INT, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT, 0, 0, 0},
26084{ SWIG_PY_INT, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT, 0, 0, 0},
26085{ SWIG_PY_INT, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT, 0, 0, 0},
26086{ SWIG_PY_INT, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT, 0, 0, 0},
26087{ SWIG_PY_INT, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE, 0, 0, 0},
26088{ SWIG_PY_INT, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT, 0, 0, 0},
26089{ SWIG_PY_INT, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT, 0, 0, 0},
26090{ SWIG_PY_INT, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT, 0, 0, 0},
26091{ SWIG_PY_INT, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR, 0, 0, 0},
26092{ SWIG_PY_INT, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND, 0, 0, 0},
26093{ SWIG_PY_INT, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP, 0, 0, 0},
26094{ SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION, 0, 0, 0},
26095{ SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION, 0, 0, 0},
26096{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU, 0, 0, 0},
26097{ SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW, 0, 0, 0},
26098{ SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME, 0, 0, 0},
26099{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT, 0, 0, 0},
26100{ SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT, 0, 0, 0},
26101{ SWIG_PY_INT, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT, 0, 0, 0},
26102{ SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER, 0, 0, 0},
26103{ SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER, 0, 0, 0},
26104{ SWIG_PY_INT, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE, 0, 0, 0},
26105{ SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT, 0, 0, 0},
26106{ SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT, 0, 0, 0},
26107{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE, 0, 0, 0},
26108{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE, 0, 0, 0},
26109{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW, 0, 0, 0},
26110{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW, 0, 0, 0},
26111{ SWIG_PY_INT, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT, 0, 0, 0},
26112{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT, 0, 0, 0},
26113{ SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT, 0, 0, 0},
26114{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT, 0, 0, 0},
26115{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT, 0, 0, 0},
26116{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT, 0, 0, 0},
26117{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT, 0, 0, 0},
26118{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW, 0, 0, 0},
26119{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT, 0, 0, 0},
26120{ SWIG_PY_INT, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT, 0, 0, 0},
26121{ SWIG_PY_INT, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK, 0, 0, 0},
26122{ SWIG_PY_INT, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX, 0, 0, 0},
26123{ SWIG_PY_INT, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT, 0, 0, 0},
26124{ SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION, 0, 0, 0},
26125{ SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION, 0, 0, 0},
26126{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT, 0, 0, 0},
26127{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR, 0, 0, 0},
26128{ SWIG_PY_INT, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX, 0, 0, 0},
26129{ SWIG_PY_INT, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS, 0, 0, 0},
26130{ SWIG_PY_INT, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X, 0, 0, 0},
26131{ SWIG_PY_INT, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y, 0, 0, 0},
26132{ SWIG_PY_INT, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X, 0, 0, 0},
26133{ SWIG_PY_INT, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y, 0, 0, 0},
26134{ SWIG_PY_INT, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X, 0, 0, 0},
26135{ SWIG_PY_INT, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y, 0, 0, 0},
26136{ SWIG_PY_INT, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X, 0, 0, 0},
26137{ SWIG_PY_INT, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y, 0, 0, 0},
26138{ SWIG_PY_INT, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X, 0, 0, 0},
26139{ SWIG_PY_INT, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y, 0, 0, 0},
26140{ SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X, 0, 0, 0},
26141{ SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y, 0, 0, 0},
26142{ SWIG_PY_INT, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X, 0, 0, 0},
26143{ SWIG_PY_INT, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X, 0, 0, 0},
26144{ SWIG_PY_INT, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y, 0, 0, 0},
26145{ SWIG_PY_INT, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X, 0, 0, 0},
26146{ SWIG_PY_INT, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y, 0, 0, 0},
26147{ SWIG_PY_INT, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X, 0, 0, 0},
26148{ SWIG_PY_INT, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y, 0, 0, 0},
26149{ SWIG_PY_INT, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X, 0, 0, 0},
26150{ SWIG_PY_INT, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y, 0, 0, 0},
26151{ SWIG_PY_INT, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X, 0, 0, 0},
26152{ SWIG_PY_INT, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y, 0, 0, 0},
26153{ SWIG_PY_INT, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X, 0, 0, 0},
26154{ SWIG_PY_INT, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y, 0, 0, 0},
26155{ SWIG_PY_INT, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y, 0, 0, 0},
26156{ SWIG_PY_INT, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X, 0, 0, 0},
26157{ SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X, 0, 0, 0},
26158{ SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y, 0, 0, 0},
26159{ SWIG_PY_INT, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y, 0, 0, 0},
26160{ SWIG_PY_INT, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y, 0, 0, 0},
26161{ SWIG_PY_INT, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y, 0, 0, 0},
26162{ SWIG_PY_INT, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT, 0, 0, 0},
26163{ SWIG_PY_INT, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT, 0, 0, 0},
26164{ SWIG_PY_INT, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS, 0, 0, 0},
26165{ SWIG_PY_INT, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS, 0, 0, 0},
26166{ SWIG_PY_INT, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS, 0, 0, 0},
26167{ SWIG_PY_INT, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME, 0, 0, 0},
26168{ SWIG_PY_INT, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE, 0, 0, 0},
26169{ SWIG_PY_INT, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY, 0, 0, 0},
26170{ SWIG_PY_INT, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA, 0, 0, 0},
26171{ SWIG_PY_INT, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL, 0, 0, 0},
26172{ SWIG_PY_INT, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP, 0, 0, 0},
26173{ SWIG_PY_INT, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF, 0, 0, 0},
26174{ SWIG_PY_INT, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT, 0, 0, 0},
26175{ SWIG_PY_INT, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS, 0, 0, 0},
26176{ SWIG_PY_INT, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT, 0, 0, 0},
26177{ SWIG_PY_INT, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER, 0, 0, 0},
26178{ SWIG_PY_INT, (char *)"LOG_FatalError", (long) wxLOG_FatalError, 0, 0, 0},
26179{ SWIG_PY_INT, (char *)"LOG_Error", (long) wxLOG_Error, 0, 0, 0},
26180{ SWIG_PY_INT, (char *)"LOG_Warning", (long) wxLOG_Warning, 0, 0, 0},
26181{ SWIG_PY_INT, (char *)"LOG_Message", (long) wxLOG_Message, 0, 0, 0},
26182{ SWIG_PY_INT, (char *)"LOG_Status", (long) wxLOG_Status, 0, 0, 0},
26183{ SWIG_PY_INT, (char *)"LOG_Info", (long) wxLOG_Info, 0, 0, 0},
26184{ SWIG_PY_INT, (char *)"LOG_Debug", (long) wxLOG_Debug, 0, 0, 0},
26185{ SWIG_PY_INT, (char *)"LOG_Trace", (long) wxLOG_Trace, 0, 0, 0},
26186{ SWIG_PY_INT, (char *)"LOG_Progress", (long) wxLOG_Progress, 0, 0, 0},
26187{ SWIG_PY_INT, (char *)"LOG_User", (long) wxLOG_User, 0, 0, 0},
26188{ SWIG_PY_INT, (char *)"LOG_Max", (long) wxLOG_Max, 0, 0, 0},
26189{ SWIG_PY_STRING, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
26190{ SWIG_PY_STRING, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
26191{ SWIG_PY_STRING, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
26192{ SWIG_PY_STRING, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
26193{ SWIG_PY_STRING, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
26194{ SWIG_PY_INT, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
26195{ SWIG_PY_INT, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
26196{ SWIG_PY_INT, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
26197{ SWIG_PY_INT, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
26198{ SWIG_PY_INT, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
26199{ SWIG_PY_INT, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT, 0, 0, 0},
26200{ SWIG_PY_INT, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT, 0, 0, 0},
26201{ SWIG_PY_INT, (char *)"KILL_OK", (long) wxKILL_OK, 0, 0, 0},
26202{ SWIG_PY_INT, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL, 0, 0, 0},
26203{ SWIG_PY_INT, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED, 0, 0, 0},
26204{ SWIG_PY_INT, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS, 0, 0, 0},
26205{ SWIG_PY_INT, (char *)"KILL_ERROR", (long) wxKILL_ERROR, 0, 0, 0},
26206{ SWIG_PY_INT, (char *)"SIGNONE", (long) wxSIGNONE, 0, 0, 0},
26207{ SWIG_PY_INT, (char *)"SIGHUP", (long) wxSIGHUP, 0, 0, 0},
26208{ SWIG_PY_INT, (char *)"SIGINT", (long) wxSIGINT, 0, 0, 0},
26209{ SWIG_PY_INT, (char *)"SIGQUIT", (long) wxSIGQUIT, 0, 0, 0},
26210{ SWIG_PY_INT, (char *)"SIGILL", (long) wxSIGILL, 0, 0, 0},
26211{ SWIG_PY_INT, (char *)"SIGTRAP", (long) wxSIGTRAP, 0, 0, 0},
26212{ SWIG_PY_INT, (char *)"SIGABRT", (long) wxSIGABRT, 0, 0, 0},
26213{ SWIG_PY_INT, (char *)"SIGIOT", (long) wxSIGIOT, 0, 0, 0},
26214{ SWIG_PY_INT, (char *)"SIGEMT", (long) wxSIGEMT, 0, 0, 0},
26215{ SWIG_PY_INT, (char *)"SIGFPE", (long) wxSIGFPE, 0, 0, 0},
26216{ SWIG_PY_INT, (char *)"SIGKILL", (long) wxSIGKILL, 0, 0, 0},
26217{ SWIG_PY_INT, (char *)"SIGBUS", (long) wxSIGBUS, 0, 0, 0},
26218{ SWIG_PY_INT, (char *)"SIGSEGV", (long) wxSIGSEGV, 0, 0, 0},
26219{ SWIG_PY_INT, (char *)"SIGSYS", (long) wxSIGSYS, 0, 0, 0},
26220{ SWIG_PY_INT, (char *)"SIGPIPE", (long) wxSIGPIPE, 0, 0, 0},
26221{ SWIG_PY_INT, (char *)"SIGALRM", (long) wxSIGALRM, 0, 0, 0},
26222{ SWIG_PY_INT, (char *)"SIGTERM", (long) wxSIGTERM, 0, 0, 0},
26223{ SWIG_PY_INT, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS, 0, 0, 0},
26224{ SWIG_PY_INT, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC, 0, 0, 0},
26225{ SWIG_PY_INT, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC, 0, 0, 0},
26226{ SWIG_PY_INT, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE, 0, 0, 0},
26227{ SWIG_PY_INT, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER, 0, 0, 0},
26228{ SWIG_PY_INT, (char *)"JOYSTICK1", (long) wxJOYSTICK1, 0, 0, 0},
26229{ SWIG_PY_INT, (char *)"JOYSTICK2", (long) wxJOYSTICK2, 0, 0, 0},
26230{ SWIG_PY_INT, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY, 0, 0, 0},
26231{ SWIG_PY_INT, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1, 0, 0, 0},
26232{ SWIG_PY_INT, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2, 0, 0, 0},
26233{ SWIG_PY_INT, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3, 0, 0, 0},
26234{ SWIG_PY_INT, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4, 0, 0, 0},
26235{ SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN, 0, 0, 0},
26236{ SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP, 0, 0, 0},
26237{ SWIG_PY_INT, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE, 0, 0, 0},
26238{ SWIG_PY_INT, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE, 0, 0, 0},
26239{ SWIG_PY_INT, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD, 0, 0, 0},
26240{ SWIG_PY_INT, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE, 0, 0, 0},
26241{ SWIG_PY_INT, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE, 0, 0, 0},
26242{ SWIG_PY_INT, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME, 0, 0, 0},
26243{ SWIG_PY_INT, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL, 0, 0, 0},
26244{ SWIG_PY_INT, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE, 0, 0, 0},
26245{ SWIG_PY_INT, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE, 0, 0, 0},
26246{ SWIG_PY_INT, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH, 0, 0, 0},
26247{ SWIG_PY_INT, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS, 0, 0, 0},
26248{ SWIG_PY_INT, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown, 0, 0, 0},
26249{ SWIG_PY_INT, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String, 0, 0, 0},
26250{ SWIG_PY_INT, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean, 0, 0, 0},
26251{ SWIG_PY_INT, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer, 0, 0, 0},
26252{ SWIG_PY_INT, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float, 0, 0, 0},
26253{ SWIG_PY_INT, (char *)"DateTime_Local", (long) wxDateTime::Local, 0, 0, 0},
26254{ SWIG_PY_INT, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12, 0, 0, 0},
26255{ SWIG_PY_INT, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11, 0, 0, 0},
26256{ SWIG_PY_INT, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10, 0, 0, 0},
26257{ SWIG_PY_INT, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9, 0, 0, 0},
26258{ SWIG_PY_INT, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8, 0, 0, 0},
26259{ SWIG_PY_INT, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7, 0, 0, 0},
26260{ SWIG_PY_INT, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6, 0, 0, 0},
26261{ SWIG_PY_INT, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5, 0, 0, 0},
26262{ SWIG_PY_INT, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4, 0, 0, 0},
26263{ SWIG_PY_INT, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3, 0, 0, 0},
26264{ SWIG_PY_INT, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2, 0, 0, 0},
26265{ SWIG_PY_INT, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1, 0, 0, 0},
26266{ SWIG_PY_INT, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0, 0, 0, 0},
26267{ SWIG_PY_INT, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1, 0, 0, 0},
26268{ SWIG_PY_INT, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2, 0, 0, 0},
26269{ SWIG_PY_INT, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3, 0, 0, 0},
26270{ SWIG_PY_INT, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4, 0, 0, 0},
26271{ SWIG_PY_INT, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5, 0, 0, 0},
26272{ SWIG_PY_INT, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6, 0, 0, 0},
26273{ SWIG_PY_INT, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7, 0, 0, 0},
26274{ SWIG_PY_INT, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8, 0, 0, 0},
26275{ SWIG_PY_INT, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9, 0, 0, 0},
26276{ SWIG_PY_INT, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10, 0, 0, 0},
26277{ SWIG_PY_INT, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11, 0, 0, 0},
26278{ SWIG_PY_INT, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12, 0, 0, 0},
26279{ SWIG_PY_INT, (char *)"DateTime_WET", (long) wxDateTime::WET, 0, 0, 0},
26280{ SWIG_PY_INT, (char *)"DateTime_WEST", (long) wxDateTime::WEST, 0, 0, 0},
26281{ SWIG_PY_INT, (char *)"DateTime_CET", (long) wxDateTime::CET, 0, 0, 0},
26282{ SWIG_PY_INT, (char *)"DateTime_CEST", (long) wxDateTime::CEST, 0, 0, 0},
26283{ SWIG_PY_INT, (char *)"DateTime_EET", (long) wxDateTime::EET, 0, 0, 0},
26284{ SWIG_PY_INT, (char *)"DateTime_EEST", (long) wxDateTime::EEST, 0, 0, 0},
26285{ SWIG_PY_INT, (char *)"DateTime_MSK", (long) wxDateTime::MSK, 0, 0, 0},
26286{ SWIG_PY_INT, (char *)"DateTime_MSD", (long) wxDateTime::MSD, 0, 0, 0},
26287{ SWIG_PY_INT, (char *)"DateTime_AST", (long) wxDateTime::AST, 0, 0, 0},
26288{ SWIG_PY_INT, (char *)"DateTime_ADT", (long) wxDateTime::ADT, 0, 0, 0},
26289{ SWIG_PY_INT, (char *)"DateTime_EST", (long) wxDateTime::EST, 0, 0, 0},
26290{ SWIG_PY_INT, (char *)"DateTime_EDT", (long) wxDateTime::EDT, 0, 0, 0},
26291{ SWIG_PY_INT, (char *)"DateTime_CST", (long) wxDateTime::CST, 0, 0, 0},
26292{ SWIG_PY_INT, (char *)"DateTime_CDT", (long) wxDateTime::CDT, 0, 0, 0},
26293{ SWIG_PY_INT, (char *)"DateTime_MST", (long) wxDateTime::MST, 0, 0, 0},
26294{ SWIG_PY_INT, (char *)"DateTime_MDT", (long) wxDateTime::MDT, 0, 0, 0},
26295{ SWIG_PY_INT, (char *)"DateTime_PST", (long) wxDateTime::PST, 0, 0, 0},
26296{ SWIG_PY_INT, (char *)"DateTime_PDT", (long) wxDateTime::PDT, 0, 0, 0},
26297{ SWIG_PY_INT, (char *)"DateTime_HST", (long) wxDateTime::HST, 0, 0, 0},
26298{ SWIG_PY_INT, (char *)"DateTime_AKST", (long) wxDateTime::AKST, 0, 0, 0},
26299{ SWIG_PY_INT, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT, 0, 0, 0},
26300{ SWIG_PY_INT, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST, 0, 0, 0},
26301{ SWIG_PY_INT, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST, 0, 0, 0},
26302{ SWIG_PY_INT, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST, 0, 0, 0},
26303{ SWIG_PY_INT, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST, 0, 0, 0},
26304{ SWIG_PY_INT, (char *)"DateTime_UTC", (long) wxDateTime::UTC, 0, 0, 0},
26305{ SWIG_PY_INT, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian, 0, 0, 0},
26306{ SWIG_PY_INT, (char *)"DateTime_Julian", (long) wxDateTime::Julian, 0, 0, 0},
26307{ SWIG_PY_INT, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown, 0, 0, 0},
26308{ SWIG_PY_INT, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard, 0, 0, 0},
26309{ SWIG_PY_INT, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska, 0, 0, 0},
26310{ SWIG_PY_INT, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania, 0, 0, 0},
26311{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria, 0, 0, 0},
26312{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen, 0, 0, 0},
26313{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg, 0, 0, 0},
26314{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol, 0, 0, 0},
26315{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia, 0, 0, 0},
26316{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria, 0, 0, 0},
26317{ SWIG_PY_INT, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium, 0, 0, 0},
26318{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria, 0, 0, 0},
26319{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1, 0, 0, 0},
26320{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2, 0, 0, 0},
26321{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3, 0, 0, 0},
26322{ SWIG_PY_INT, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada, 0, 0, 0},
26323{ SWIG_PY_INT, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China, 0, 0, 0},
26324{ SWIG_PY_INT, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1, 0, 0, 0},
26325{ SWIG_PY_INT, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2, 0, 0, 0},
26326{ SWIG_PY_INT, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia, 0, 0, 0},
26327{ SWIG_PY_INT, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark, 0, 0, 0},
26328{ SWIG_PY_INT, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt, 0, 0, 0},
26329{ SWIG_PY_INT, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia, 0, 0, 0},
26330{ SWIG_PY_INT, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland, 0, 0, 0},
26331{ SWIG_PY_INT, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France, 0, 0, 0},
26332{ SWIG_PY_INT, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace, 0, 0, 0},
26333{ SWIG_PY_INT, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine, 0, 0, 0},
26334{ SWIG_PY_INT, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg, 0, 0, 0},
26335{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany, 0, 0, 0},
26336{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic, 0, 0, 0},
26337{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia, 0, 0, 0},
26338{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant, 0, 0, 0},
26339{ SWIG_PY_INT, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain, 0, 0, 0},
26340{ SWIG_PY_INT, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece, 0, 0, 0},
26341{ SWIG_PY_INT, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary, 0, 0, 0},
26342{ SWIG_PY_INT, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland, 0, 0, 0},
26343{ SWIG_PY_INT, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy, 0, 0, 0},
26344{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan, 0, 0, 0},
26345{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1, 0, 0, 0},
26346{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2, 0, 0, 0},
26347{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3, 0, 0, 0},
26348{ SWIG_PY_INT, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia, 0, 0, 0},
26349{ SWIG_PY_INT, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania, 0, 0, 0},
26350{ SWIG_PY_INT, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg, 0, 0, 0},
26351{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands, 0, 0, 0},
26352{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen, 0, 0, 0},
26353{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland, 0, 0, 0},
26354{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht, 0, 0, 0},
26355{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland, 0, 0, 0},
26356{ SWIG_PY_INT, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway, 0, 0, 0},
26357{ SWIG_PY_INT, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland, 0, 0, 0},
26358{ SWIG_PY_INT, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal, 0, 0, 0},
26359{ SWIG_PY_INT, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania, 0, 0, 0},
26360{ SWIG_PY_INT, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia, 0, 0, 0},
26361{ SWIG_PY_INT, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland, 0, 0, 0},
26362{ SWIG_PY_INT, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain, 0, 0, 0},
26363{ SWIG_PY_INT, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden, 0, 0, 0},
26364{ SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland, 0, 0, 0},
26365{ SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic, 0, 0, 0},
26366{ SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant, 0, 0, 0},
26367{ SWIG_PY_INT, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey, 0, 0, 0},
26368{ SWIG_PY_INT, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA, 0, 0, 0},
26369{ SWIG_PY_INT, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales, 0, 0, 0},
26370{ SWIG_PY_INT, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia, 0, 0, 0},
26371{ SWIG_PY_INT, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown, 0, 0, 0},
26372{ SWIG_PY_INT, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default, 0, 0, 0},
26373{ SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start, 0, 0, 0},
26374{ SWIG_PY_INT, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC, 0, 0, 0},
26375{ SWIG_PY_INT, (char *)"DateTime_France", (long) wxDateTime::France, 0, 0, 0},
26376{ SWIG_PY_INT, (char *)"DateTime_Germany", (long) wxDateTime::Germany, 0, 0, 0},
26377{ SWIG_PY_INT, (char *)"DateTime_UK", (long) wxDateTime::UK, 0, 0, 0},
26378{ SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End, 0, 0, 0},
26379{ SWIG_PY_INT, (char *)"DateTime_Russia", (long) wxDateTime::Russia, 0, 0, 0},
26380{ SWIG_PY_INT, (char *)"DateTime_USA", (long) wxDateTime::USA, 0, 0, 0},
26381{ SWIG_PY_INT, (char *)"DateTime_Jan", (long) wxDateTime::Jan, 0, 0, 0},
26382{ SWIG_PY_INT, (char *)"DateTime_Feb", (long) wxDateTime::Feb, 0, 0, 0},
26383{ SWIG_PY_INT, (char *)"DateTime_Mar", (long) wxDateTime::Mar, 0, 0, 0},
26384{ SWIG_PY_INT, (char *)"DateTime_Apr", (long) wxDateTime::Apr, 0, 0, 0},
26385{ SWIG_PY_INT, (char *)"DateTime_May", (long) wxDateTime::May, 0, 0, 0},
26386{ SWIG_PY_INT, (char *)"DateTime_Jun", (long) wxDateTime::Jun, 0, 0, 0},
26387{ SWIG_PY_INT, (char *)"DateTime_Jul", (long) wxDateTime::Jul, 0, 0, 0},
26388{ SWIG_PY_INT, (char *)"DateTime_Aug", (long) wxDateTime::Aug, 0, 0, 0},
26389{ SWIG_PY_INT, (char *)"DateTime_Sep", (long) wxDateTime::Sep, 0, 0, 0},
26390{ SWIG_PY_INT, (char *)"DateTime_Oct", (long) wxDateTime::Oct, 0, 0, 0},
26391{ SWIG_PY_INT, (char *)"DateTime_Nov", (long) wxDateTime::Nov, 0, 0, 0},
26392{ SWIG_PY_INT, (char *)"DateTime_Dec", (long) wxDateTime::Dec, 0, 0, 0},
26393{ SWIG_PY_INT, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month, 0, 0, 0},
26394{ SWIG_PY_INT, (char *)"DateTime_Sun", (long) wxDateTime::Sun, 0, 0, 0},
26395{ SWIG_PY_INT, (char *)"DateTime_Mon", (long) wxDateTime::Mon, 0, 0, 0},
26396{ SWIG_PY_INT, (char *)"DateTime_Tue", (long) wxDateTime::Tue, 0, 0, 0},
26397{ SWIG_PY_INT, (char *)"DateTime_Wed", (long) wxDateTime::Wed, 0, 0, 0},
26398{ SWIG_PY_INT, (char *)"DateTime_Thu", (long) wxDateTime::Thu, 0, 0, 0},
26399{ SWIG_PY_INT, (char *)"DateTime_Fri", (long) wxDateTime::Fri, 0, 0, 0},
26400{ SWIG_PY_INT, (char *)"DateTime_Sat", (long) wxDateTime::Sat, 0, 0, 0},
26401{ SWIG_PY_INT, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay, 0, 0, 0},
26402{ SWIG_PY_INT, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year, 0, 0, 0},
26403{ SWIG_PY_INT, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full, 0, 0, 0},
26404{ SWIG_PY_INT, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr, 0, 0, 0},
26405{ SWIG_PY_INT, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First, 0, 0, 0},
26406{ SWIG_PY_INT, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First, 0, 0, 0},
26407{ SWIG_PY_INT, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First, 0, 0, 0},
26408{ SWIG_PY_INT, (char *)"DF_INVALID", (long) wxDF_INVALID, 0, 0, 0},
26409{ SWIG_PY_INT, (char *)"DF_TEXT", (long) wxDF_TEXT, 0, 0, 0},
26410{ SWIG_PY_INT, (char *)"DF_BITMAP", (long) wxDF_BITMAP, 0, 0, 0},
26411{ SWIG_PY_INT, (char *)"DF_METAFILE", (long) wxDF_METAFILE, 0, 0, 0},
26412{ SWIG_PY_INT, (char *)"DF_SYLK", (long) wxDF_SYLK, 0, 0, 0},
26413{ SWIG_PY_INT, (char *)"DF_DIF", (long) wxDF_DIF, 0, 0, 0},
26414{ SWIG_PY_INT, (char *)"DF_TIFF", (long) wxDF_TIFF, 0, 0, 0},
26415{ SWIG_PY_INT, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT, 0, 0, 0},
26416{ SWIG_PY_INT, (char *)"DF_DIB", (long) wxDF_DIB, 0, 0, 0},
26417{ SWIG_PY_INT, (char *)"DF_PALETTE", (long) wxDF_PALETTE, 0, 0, 0},
26418{ SWIG_PY_INT, (char *)"DF_PENDATA", (long) wxDF_PENDATA, 0, 0, 0},
26419{ SWIG_PY_INT, (char *)"DF_RIFF", (long) wxDF_RIFF, 0, 0, 0},
26420{ SWIG_PY_INT, (char *)"DF_WAVE", (long) wxDF_WAVE, 0, 0, 0},
26421{ SWIG_PY_INT, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT, 0, 0, 0},
26422{ SWIG_PY_INT, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE, 0, 0, 0},
26423{ SWIG_PY_INT, (char *)"DF_FILENAME", (long) wxDF_FILENAME, 0, 0, 0},
26424{ SWIG_PY_INT, (char *)"DF_LOCALE", (long) wxDF_LOCALE, 0, 0, 0},
26425{ SWIG_PY_INT, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE, 0, 0, 0},
26426{ SWIG_PY_INT, (char *)"DF_HTML", (long) wxDF_HTML, 0, 0, 0},
26427{ SWIG_PY_INT, (char *)"DF_MAX", (long) wxDF_MAX, 0, 0, 0},
26428{ SWIG_PY_INT, (char *)"DataObject_Get", (long) wxDataObject::Get, 0, 0, 0},
26429{ SWIG_PY_INT, (char *)"DataObject_Set", (long) wxDataObject::Set, 0, 0, 0},
26430{ SWIG_PY_INT, (char *)"DataObject_Both", (long) wxDataObject::Both, 0, 0, 0},
26431{ SWIG_PY_INT, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly, 0, 0, 0},
26432{ SWIG_PY_INT, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove, 0, 0, 0},
26433{ SWIG_PY_INT, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove, 0, 0, 0},
26434{ SWIG_PY_INT, (char *)"DragError", (long) wxDragError, 0, 0, 0},
26435{ SWIG_PY_INT, (char *)"DragNone", (long) wxDragNone, 0, 0, 0},
26436{ SWIG_PY_INT, (char *)"DragCopy", (long) wxDragCopy, 0, 0, 0},
26437{ SWIG_PY_INT, (char *)"DragMove", (long) wxDragMove, 0, 0, 0},
26438{ SWIG_PY_INT, (char *)"DragLink", (long) wxDragLink, 0, 0, 0},
26439{ SWIG_PY_INT, (char *)"DragCancel", (long) wxDragCancel, 0, 0, 0},
26440{0}};
26441
26442#ifdef __cplusplus
26443}
26444#endif
26445
26446#ifdef __cplusplus
26447extern "C"
26448#endif
26449SWIGEXPORT(void) SWIG_init(void) {
26450 static PyObject *SWIG_globals = 0;
26451 static int typeinit = 0;
26452 PyObject *m, *d;
26453 int i;
26454 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26455 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26456 d = PyModule_GetDict(m);
26457
26458 if (!typeinit) {
26459 for (i = 0; swig_types_initial[i]; i++) {
26460 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26461 }
26462 typeinit = 1;
26463 }
26464 SWIG_InstallConstants(d,swig_const_table);
26465
26466 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26467 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26468 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26469 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26470 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
26471 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
26472
26473 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26474
26475 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
26476 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
26477 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
26478 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
26479 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
26480 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
26481 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
26482 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
26483 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
26484 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
26485 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
26486 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
26487 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
26488 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
26489 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
26490 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
26491 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
26492 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
26493 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
26494 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
26495 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
26496 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
26497 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
26498 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
26499 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
26500 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
26501 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
26502 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
26503 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
26504 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
26505 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
26506 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
26507 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
26508 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
26509 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
26510 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
26511 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
26512 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
26513 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
26514 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
26515 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
26516 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
26517 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
26518
26519 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26520
26521 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
26522 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
26523 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
26524
26525 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26526 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26527 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26528 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26529
26530 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
26531}
26532