]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/misc_wrap.cpp
Applied patch #809019 (Adds embedded/plugin capabilities to wxMac).
[wxWidgets.git] / wxPython / src / gtk / misc_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
48
49
50/***********************************************************************
51 * common.swg for wxPython
52 *
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
56 * anyway.
57 *
58 ************************************************************************/
59
60#include <string.h>
61
62#if defined(_WIN32) || defined(__WIN32__)
63# if defined(_MSC_VER)
64# if defined(STATIC_LINKED)
65# define SWIGEXPORT(a) a
66# define SWIGIMPORT(a) extern a
67# else
68# define SWIGEXPORT(a) __declspec(dllexport) a
69# define SWIGIMPORT(a) extern a
70# endif
71# else
72# if defined(__BORLANDC__)
73# define SWIGEXPORT(a) a _export
74# define SWIGIMPORT(a) a _export
75# else
76# define SWIGEXPORT(a) a
77# define SWIGIMPORT(a) a
78# endif
79# endif
80#else
81# define SWIGEXPORT(a) a
82# define SWIGIMPORT(a) a
83#endif
84
85#ifdef SWIG_GLOBAL
86#define SWIGRUNTIME(a) SWIGEXPORT(a)
87#else
88#define SWIGRUNTIME(a) static a
89#endif
90
91
92#ifdef __cplusplus
93extern "C" {
94#endif
95
96typedef void *(*swig_converter_func)(void *);
97typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99typedef struct swig_type_info {
9d1d5697 100 const char *name;
d14a1e28
RD
101 swig_converter_func converter;
102 const char *str;
9d1d5697 103 void *clientdata;
d14a1e28
RD
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107} swig_type_info;
108
109
110SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117
118
119#ifdef __cplusplus
120}
9d1d5697 121
d14a1e28
RD
122#endif
123
124/***********************************************************************
125 * pyrun.swg for wxPython
126 *
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
130 * anyway.
131 *
132 ************************************************************************/
133
134
135#include "Python.h"
136
137#ifdef __cplusplus
138extern "C" {
139#endif
140
141#define SWIG_PY_INT 1
142#define SWIG_PY_FLOAT 2
143#define SWIG_PY_STRING 3
144#define SWIG_PY_POINTER 4
145#define SWIG_PY_BINARY 5
146
147/* Flags for pointer conversion */
148
149#define SWIG_POINTER_EXCEPTION 0x1
150#define SWIG_POINTER_DISOWN 0x2
151
152/* Exception handling in wrappers */
153#define SWIG_fail goto fail
154
155/* Constant information structure */
156typedef struct swig_const_info {
157 int type;
158 char *name;
159 long lvalue;
160 double dvalue;
161 void *pvalue;
162 swig_type_info **ptype;
163} swig_const_info;
164
165
166
167/* Common SWIG API */
168#define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170#define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172#define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175/* Python-specific SWIG API */
176#define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178#define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182#define SWIG_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184#define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186#define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188#define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
190
191
192SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
193SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
194SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
195
196SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
197SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
198SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
199SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
200SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
201SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
202SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
203
204
205/* Contract support */
206
9d1d5697 207#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 208
d14a1e28
RD
209
210#ifdef __cplusplus
211}
212#endif
213
214
215
216/* -------- TYPES TABLE (BEGIN) -------- */
217
218#define SWIGTYPE_p_wxLogChain swig_types[0]
219#define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
220#define SWIGTYPE_p_wxFileHistory swig_types[2]
221#define SWIGTYPE_p_wxLog swig_types[3]
222#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
223#define SWIGTYPE_p_wxMenu swig_types[5]
224#define SWIGTYPE_p_wxEvent swig_types[6]
225#define SWIGTYPE_p_wxConfigBase swig_types[7]
226#define SWIGTYPE_p_wxWave swig_types[8]
227#define SWIGTYPE_p_wxFileType swig_types[9]
228#define SWIGTYPE_p_wxLogGui swig_types[10]
229#define SWIGTYPE_p_wxFont swig_types[11]
230#define SWIGTYPE_p_wxDataFormat swig_types[12]
231#define SWIGTYPE_p_wxTimerEvent swig_types[13]
232#define SWIGTYPE_p_wxCaret swig_types[14]
233#define SWIGTYPE_p_int swig_types[15]
234#define SWIGTYPE_p_wxSize swig_types[16]
235#define SWIGTYPE_p_wxClipboard swig_types[17]
236#define SWIGTYPE_p_wxStopWatch swig_types[18]
237#define SWIGTYPE_p_wxDC swig_types[19]
238#define SWIGTYPE_p_wxClipboardLocker swig_types[20]
239#define SWIGTYPE_p_wxIcon swig_types[21]
240#define SWIGTYPE_p_wxLogStderr swig_types[22]
241#define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
242#define SWIGTYPE_p_wxTextCtrl swig_types[24]
243#define SWIGTYPE_p_wxBusyCursor swig_types[25]
244#define SWIGTYPE_p_wxFileDataObject swig_types[26]
245#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
246#define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
247#define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
248#define SWIGTYPE_p_wxTextDataObject swig_types[30]
249#define SWIGTYPE_p_wxDataObject swig_types[31]
250#define SWIGTYPE_p_wxCustomDataObject swig_types[32]
251#define SWIGTYPE_p_wxURLDataObject swig_types[33]
252#define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
253#define SWIGTYPE_p_wxTimerRunner swig_types[35]
254#define SWIGTYPE_p_wxLogWindow swig_types[36]
255#define SWIGTYPE_p_wxTimeSpan swig_types[37]
256#define SWIGTYPE_p_wxArrayString swig_types[38]
257#define SWIGTYPE_p_wxWindowDisabler swig_types[39]
258#define SWIGTYPE_p_wxToolTip swig_types[40]
259#define SWIGTYPE_p_wxDataObjectComposite swig_types[41]
260#define SWIGTYPE_p_wxFileConfig swig_types[42]
261#define SWIGTYPE_p_wxSystemSettings swig_types[43]
262#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[44]
263#define SWIGTYPE_p_wxDataObjectSimple swig_types[45]
264#define SWIGTYPE_p_wxEvtHandler swig_types[46]
265#define SWIGTYPE_p_wxRect swig_types[47]
266#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[48]
267#define SWIGTYPE_p_wxFileTypeInfo swig_types[49]
268#define SWIGTYPE_p_wxFrame swig_types[50]
269#define SWIGTYPE_p_wxTimer swig_types[51]
270#define SWIGTYPE_p_wxMimeTypesManager swig_types[52]
271#define SWIGTYPE_p_wxPyArtProvider swig_types[53]
272#define SWIGTYPE_p_wxPyTipProvider swig_types[54]
273#define SWIGTYPE_p_wxTipProvider swig_types[55]
274#define SWIGTYPE_p_wxJoystick swig_types[56]
275#define SWIGTYPE_p_wxSystemOptions swig_types[57]
276#define SWIGTYPE_p_wxPoint swig_types[58]
277#define SWIGTYPE_p_wxJoystickEvent swig_types[59]
278#define SWIGTYPE_p_wxCursor swig_types[60]
279#define SWIGTYPE_p_wxObject swig_types[61]
280#define SWIGTYPE_p_wxOutputStream swig_types[62]
281#define SWIGTYPE_p_wxDateTime swig_types[63]
282#define SWIGTYPE_p_wxPyDropSource swig_types[64]
283#define SWIGTYPE_p_wxWindow swig_types[65]
284#define SWIGTYPE_p_wxString swig_types[66]
285#define SWIGTYPE_p_wxPyProcess swig_types[67]
286#define SWIGTYPE_p_wxBitmap swig_types[68]
287#define SWIGTYPE_p_wxConfig swig_types[69]
288#define SWIGTYPE_p_wxChar swig_types[70]
289#define SWIGTYPE_p_wxBusyInfo swig_types[71]
290#define SWIGTYPE_p_wxPyDropTarget swig_types[72]
291#define SWIGTYPE_p_wxPyTextDropTarget swig_types[73]
292#define SWIGTYPE_p_wxPyFileDropTarget swig_types[74]
293#define SWIGTYPE_p_wxProcessEvent swig_types[75]
294#define SWIGTYPE_p_wxPyLog swig_types[76]
295#define SWIGTYPE_p_wxLogNull swig_types[77]
296#define SWIGTYPE_p_wxColour swig_types[78]
297#define SWIGTYPE_p_wxConfigPathChanger swig_types[79]
298#define SWIGTYPE_p_wxPyTimer swig_types[80]
299#define SWIGTYPE_p_wxDateSpan swig_types[81]
300static swig_type_info *swig_types[83];
301
302/* -------- TYPES TABLE (END) -------- */
303
304
305/*-----------------------------------------------
306 @(target):= _misc.so
307 ------------------------------------------------*/
308#define SWIG_init init_misc
309
310#define SWIG_name "_misc"
311
312#include "wx/wxPython/wxPython.h"
313#include "wx/wxPython/pyclasses.h"
314#include "wx/wxPython/pyistream.h"
315
316 DECLARE_DEF_STRING(EmptyString);
317
318
319
320
321
322 DECLARE_DEF_STRING(FileSelectorPromptStr);
323 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr);
324 DECLARE_DEF_STRING(DirSelectorPromptStr);
325
326
327static PyObject* t_output_helper(PyObject* target, PyObject* o) {
328 PyObject* o2;
329 PyObject* o3;
330
331 if (!target) {
332 target = o;
333 } else if (target == Py_None) {
334 Py_DECREF(Py_None);
335 target = o;
336 } else {
337 if (!PyTuple_Check(target)) {
338 o2 = target;
339 target = PyTuple_New(1);
340 PyTuple_SetItem(target, 0, o2);
341 }
342 o3 = PyTuple_New(1);
343 PyTuple_SetItem(o3, 0, o);
344
345 o2 = target;
346 target = PySequence_Concat(o2, o3);
347 Py_DECREF(o2);
348 Py_DECREF(o3);
349 }
350 return target;
351}
352
353
354 long wxGetFreeMemory()
355 { PyErr_SetNone(PyExc_NotImplementedError); return 0; }
356
357
358 void wxWakeUpMainThread() {}
359
360
361 bool wxThread_IsMain() {
362#ifdef WXP_WITH_THREAD
363 return wxThread::IsMain();
364#else
e811c8ce 365 return True;
d14a1e28
RD
366#endif
367 }
368
369
370 int wxCaret_GetBlinkTime() {
371 return wxCaret::GetBlinkTime();
372 }
373
374 void wxCaret_SetBlinkTime(int milliseconds) {
375 wxCaret::SetBlinkTime(milliseconds);
376 }
377
378
379#include <wx/snglinst.h>
380
381
382#ifdef __WXMSW__
383#include <wx/msw/private.h>
384#include <wx/dynload.h>
385#endif
386
387
388
389void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
390{
391#ifdef __WXMSW__
392
393 switch (method)
394 {
395 case 1:
396 // This one only partially works. Appears to be an undocumented
397 // "standard" convention that not all widgets adhear to. For
398 // example, for some widgets backgrounds or non-client areas may
399 // not be painted.
400 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
401 break;
402
403 case 2:
404 // This one works much better, except for on XP. On Win2k nearly
405 // all widgets and their children are captured correctly[**]. On
406 // XP with Themes activated most native widgets draw only
407 // partially, if at all. Without themes it works just like on
408 // Win2k.
409 //
410 // ** For example the radio buttons in a wxRadioBox are not its
411 // children by default, but you can capture it via the panel
412 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
413 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
414 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
415 PRF_ERASEBKGND | PRF_OWNED );
416 break;
417
418 case 3:
419 // This one is only defined in the latest SDK and is only
420 // available on XP. MSDN says it is similar to sending WM_PRINT
421 // so I expect that it will work similar to the above. Since it
422 // is avaialble only on XP, it can't be compiled like this and
423 // will have to be loaded dynamically.
424 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
425
426 // fall through
427
428 case 4:
429 // Use PrintWindow if available, or fallback to WM_PRINT
430 // otherwise. Unfortunately using PrintWindow is even worse than
431 // WM_PRINT. For most native widgets nothing is drawn to the dc
432 // at all, with or without Themes.
433 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
e811c8ce 434 static bool s_triedToLoad = False;
d14a1e28
RD
435 static PrintWindow_t pfnPrintWindow = NULL;
436 if ( !s_triedToLoad )
437 {
438
e811c8ce 439 s_triedToLoad = True;
d14a1e28
RD
440 wxDynamicLibrary dllUser32(_T("user32.dll"));
441 if ( dllUser32.IsLoaded() )
442 {
443 wxLogNull nolog; // Don't report errors here
444 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
445 }
446 }
447 if (pfnPrintWindow)
448 {
449 printf("Using PrintWindow\n");
450 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
451 }
452 else
453 {
454 printf("Using WM_PRINT\n");
455 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
456 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
457 }
458 }
459#endif
460}
461
462
463
464#include <wx/tipdlg.h>
465
466
467class wxPyTipProvider : public wxTipProvider {
468public:
469 wxPyTipProvider(size_t currentTip)
470 : wxTipProvider(currentTip) {}
471
472 DEC_PYCALLBACK_STRING__pure(GetTip);
473 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
474 PYPRIVATE;
475};
476
477IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
478IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
479
480
481IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
482
483wxString Log_TimeStamp(){
484 wxString msg;
485 wxLog::TimeStamp(&msg);
486 return msg;
487 }
488void wxLog_Destroy(wxLog *self){ delete self; }
489
490// A wxLog class that can be derived from in wxPython
491class wxPyLog : public wxLog {
492public:
493 wxPyLog() : wxLog() {}
494
495 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
496 bool found;
497 wxPyBeginBlockThreads();
498 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
499 PyObject* s = wx2PyString(szString);
500 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
501 Py_DECREF(s);
502 }
503 wxPyEndBlockThreads();
504 if (! found)
505 wxLog::DoLog(level, szString, t);
506 }
507
508 virtual void DoLogString(const wxChar *szString, time_t t) {
509 bool found;
510 wxPyBeginBlockThreads();
511 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
512 PyObject* s = wx2PyString(szString);
513 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
514 Py_DECREF(s);
515 }
516 wxPyEndBlockThreads();
517 if (! found)
518 wxLog::DoLogString(szString, t);
519 }
520
521 PYPRIVATE;
522};
523
524
525
526
527IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
528
529
530#include <wx/joystick.h>
531
532
533#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
534// A C++ stub class for wxJoystick for platforms that don't have it.
535class wxJoystick : public wxObject {
536public:
537 wxJoystick(int joystick = wxJOYSTICK1) {
538 wxPyBeginBlockThreads();
539 PyErr_SetString(PyExc_NotImplementedError, "wxJoystick is not available on this platform.");
540 wxPyEndBlockThreads();
541 }
542 wxPoint GetPosition() { return wxPoint(-1,-1); }
543 int GetZPosition() { return -1; }
544 int GetButtonState() { return -1; }
545 int GetPOVPosition() { return -1; }
546 int GetPOVCTSPosition() { return -1; }
547 int GetRudderPosition() { return -1; }
548 int GetUPosition() { return -1; }
549 int GetVPosition() { return -1; }
550 int GetMovementThreshold() { return -1; }
551 void SetMovementThreshold(int threshold) {}
552
e811c8ce 553 bool IsOk(void) { return False; }
d14a1e28
RD
554 int GetNumberJoysticks() { return -1; }
555 int GetManufacturerId() { return -1; }
556 int GetProductId() { return -1; }
557 wxString GetProductName() { return ""; }
558 int GetXMin() { return -1; }
559 int GetYMin() { return -1; }
560 int GetZMin() { return -1; }
561 int GetXMax() { return -1; }
562 int GetYMax() { return -1; }
563 int GetZMax() { return -1; }
564 int GetNumberButtons() { return -1; }
565 int GetNumberAxes() { return -1; }
566 int GetMaxButtons() { return -1; }
567 int GetMaxAxes() { return -1; }
568 int GetPollingMin() { return -1; }
569 int GetPollingMax() { return -1; }
570 int GetRudderMin() { return -1; }
571 int GetRudderMax() { return -1; }
572 int GetUMin() { return -1; }
573 int GetUMax() { return -1; }
574 int GetVMin() { return -1; }
575 int GetVMax() { return -1; }
576
e811c8ce
RD
577 bool HasRudder() { return False; }
578 bool HasZ() { return False; }
579 bool HasU() { return False; }
580 bool HasV() { return False; }
581 bool HasPOV() { return False; }
582 bool HasPOV4Dir() { return False; }
583 bool HasPOVCTS() { return False; }
d14a1e28 584
e811c8ce
RD
585 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
586 bool ReleaseCapture() { return False; }
d14a1e28
RD
587};
588#endif
589
590
591#include <wx/wave.h>
592
593
594#if !wxUSE_WAVE
595// A C++ stub class for wxWave for platforms that don't have it.
596class wxWave : public wxObject
597{
598public:
e811c8ce 599 wxWave(const wxString& fileName, bool isResource = False) {
d14a1e28
RD
600 wxPyBeginBlockThreads();
601 PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
602 wxPyEndBlockThreads();
603 }
604 wxWave(int size, const wxByte* data) {
605 wxPyBeginBlockThreads();
606 PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
607 wxPyEndBlockThreads();
608 }
609
610 ~wxWave() {}
611
e811c8ce
RD
612 bool IsOk() const { return False; }
613 bool Play(bool async = True, bool looped = False) const { return False; }
d14a1e28
RD
614};
615
616#endif
617
618wxWave *new_wxWave(wxString const &data){
619 return new wxWave(data.Len(), (wxByte*)data.c_str());
620 }
621
622#include <wx/mimetype.h>
623
624PyObject *wxFileType_GetMimeType(wxFileType *self){
625 wxString str;
626 if (self->GetMimeType(&str))
627 return wx2PyString(str);
628 else
629 RETURN_NONE();
630 }
631PyObject *wxFileType_GetMimeTypes(wxFileType *self){
632 wxArrayString arr;
633 if (self->GetMimeTypes(arr))
634 return wxArrayString2PyList_helper(arr);
635 else
636 RETURN_NONE();
637 }
638PyObject *wxFileType_GetExtensions(wxFileType *self){
639 wxArrayString arr;
640 if (self->GetExtensions(arr))
641 return wxArrayString2PyList_helper(arr);
642 else
643 RETURN_NONE();
644 }
645wxIcon *wxFileType_GetIcon(wxFileType *self){
646 wxIconLocation loc;
647 if (self->GetIcon(&loc))
648 return new wxIcon(loc);
649 else
650 return NULL;
651 }
652PyObject *wxFileType_GetIconInfo(wxFileType *self){
653 wxIconLocation loc;
654 if (self->GetIcon(&loc)) {
655 wxString iconFile = loc.GetFileName();
656 int iconIndex = -1;
657
658
659
660 // Make a tuple and put the values in it
661 wxPyBeginBlockThreads();
662 PyObject* tuple = PyTuple_New(3);
663 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
e811c8ce 664 wxT("wxIcon"), True));
d14a1e28
RD
665 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
666 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
667 wxPyEndBlockThreads();
668 return tuple;
669 }
670 else
671 RETURN_NONE();
672 }
673PyObject *wxFileType_GetDescription(wxFileType *self){
674 wxString str;
675 if (self->GetDescription(&str))
676 return wx2PyString(str);
677 else
678 RETURN_NONE();
679 }
680PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
681 wxString str;
682 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
683 return wx2PyString(str);
684 else
685 RETURN_NONE();
686 }
687PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
688 wxString str;
689 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
690 return wx2PyString(str);
691 else
692 RETURN_NONE();
693 }
694PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
695 wxArrayString verbs;
696 wxArrayString commands;
697 if (self->GetAllCommands(&verbs, &commands,
698 wxFileType::MessageParameters(filename, mimetype))) {
699 wxPyBeginBlockThreads();
700 PyObject* tuple = PyTuple_New(2);
701 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
702 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
703 wxPyEndBlockThreads();
704 return tuple;
705 }
706 else
707 RETURN_NONE();
708 }
709wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
710 return wxFileType::ExpandCommand(command,
711 wxFileType::MessageParameters(filename, mimetype));
712 }
713PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
714 wxArrayString arr;
715 self->EnumAllFileTypes(arr);
716 return wxArrayString2PyList_helper(arr);
717 }
718
719#include <wx/artprov.h>
720
721 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
722 static const wxString wxPyART_MENU(wxART_MENU);
723 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
724 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
725 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
726 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
727 static const wxString wxPyART_OTHER(wxART_OTHER);
728 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
729 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
730 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
731 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
732 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
733 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
734 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
735 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
736 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
737 static const wxString wxPyART_GO_UP(wxART_GO_UP);
738 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
739 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
740 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
741 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
742 static const wxString wxPyART_PRINT(wxART_PRINT);
743 static const wxString wxPyART_HELP(wxART_HELP);
744 static const wxString wxPyART_TIP(wxART_TIP);
745 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
746 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
747 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
748 static const wxString wxPyART_FOLDER(wxART_FOLDER);
749 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
750 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
751 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
752 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
753 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
754 static const wxString wxPyART_ERROR(wxART_ERROR);
755 static const wxString wxPyART_QUESTION(wxART_QUESTION);
756 static const wxString wxPyART_WARNING(wxART_WARNING);
757 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
758 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
759 // Python aware wxArtProvider
760class wxPyArtProvider : public wxArtProvider {
761public:
762
763 virtual wxBitmap CreateBitmap(const wxArtID& id,
764 const wxArtClient& client,
765 const wxSize& size) {
766 wxBitmap rval = wxNullBitmap;
767 wxPyBeginBlockThreads();
768 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
769 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
770 PyObject* ro;
771 wxBitmap* ptr;
772 PyObject* s1, *s2;
773 s1 = wx2PyString(id);
774 s2 = wx2PyString(client);
775 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
776 Py_DECREF(so);
777 Py_DECREF(s1);
778 Py_DECREF(s2);
779 if (ro) {
780 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
781 rval = *ptr;
782 Py_DECREF(ro);
783 }
784 }
785 wxPyEndBlockThreads();
786 return rval;
787 }
788
789 PYPRIVATE;
790};
791
792
793
794
795 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
796 PyObject* ret = PyTuple_New(3);
797 if (ret) {
798 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
799 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
800 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
801 }
802 return ret;
803 }
804
805PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
806 bool cont;
807 long index = 0;
808 wxString value;
809
810 cont = self->GetFirstGroup(value, index);
811 return __EnumerationHelper(cont, value, index);
812 }
813PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
814 bool cont;
815 wxString value;
816
817 cont = self->GetNextGroup(value, index);
818 return __EnumerationHelper(cont, value, index);
819 }
820PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
821 bool cont;
822 long index = 0;
823 wxString value;
824
825 cont = self->GetFirstEntry(value, index);
826 return __EnumerationHelper(cont, value, index);
827 }
828PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
829 bool cont;
830 wxString value;
831
832 cont = self->GetNextEntry(value, index);
833 return __EnumerationHelper(cont, value, index);
834 }
835long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
836 long rv;
837 self->Read(key, &rv, defaultVal);
838 return rv;
839 }
840double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
841 double rv;
842 self->Read(key, &rv, defaultVal);
843 return rv;
844 }
845bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
846 bool rv;
847 self->Read(key, &rv, defaultVal);
848 return rv;
849 }
850
851#include <wx/datetime.h>
852
853 DECLARE_DEF_STRING2(DateFormatStr, wxT("%c"));
854 DECLARE_DEF_STRING2(TimeSpanFormatStr, wxT("%H:%M:%S"));
855
856
857
858#define LOCAL_TZ wxDateTime::Local
859
860wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
861wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
862wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
863wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
864wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
865bool wxDateTime___lt__(wxDateTime *self,wxDateTime const &other){ return *self < other; }
866bool wxDateTime___le__(wxDateTime *self,wxDateTime const &other){ return *self <= other; }
867bool wxDateTime___gt__(wxDateTime *self,wxDateTime const &other){ return *self > other; }
868bool wxDateTime___ge__(wxDateTime *self,wxDateTime const &other){ return *self >= other; }
869bool wxDateTime___eq__(wxDateTime *self,wxDateTime const &other){ return *self == other; }
870bool wxDateTime___ne__(wxDateTime *self,wxDateTime const &other){ return *self != other; }
871int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
872 const wxChar* rv;
873 const wxChar* _date = date;
874 rv = self->ParseRfc822Date(_date);
875 if (rv == NULL) return -1;
876 return rv - _date;
877 }
878int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
879 const wxChar* rv;
880 const wxChar* _date = date;
881 rv = self->ParseFormat(_date, format, dateDef);
882 if (rv == NULL) return -1;
883 return rv - _date;
884 }
885int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
886 const wxChar* rv;
887 const wxChar* _datetime = datetime;
888 rv = self->ParseDateTime(_datetime);
889 if (rv == NULL) return -1;
890 return rv - _datetime;
891 }
892int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
893 const wxChar* rv;
894 const wxChar* _date = date;
895 rv = self->ParseDate(_date);
896 if (rv == NULL) return -1;
897 return rv - _date;
898 }
899int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
900 const wxChar* rv;
901 const wxChar* _time = time;
902 rv = self->ParseTime(_time);
903 if (rv == NULL) return -1;
904 return rv - _time;
905 }
906wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
907wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
908wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
909wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
910bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self < other; }
911bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const &other){ return *self <= other; }
912bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self > other; }
913bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const &other){ return *self >= other; }
914bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const &other){ return *self == other; }
915bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const &other){ return *self != other; }
916wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
917wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
918wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
919wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
920bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const &other){ return *self == other; }
921bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const &other){ return *self != other; }
922
923#include <wx/dataobj.h>
924
925 // Create a new class for wxPython to use
926class wxPyDataObjectSimple : public wxDataObjectSimple {
927public:
928 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
929 : wxDataObjectSimple(format) {}
930
931 DEC_PYCALLBACK_SIZET__const(GetDataSize);
932 bool GetDataHere(void *buf) const;
933 bool SetData(size_t len, const void *buf) const;
934 PYPRIVATE;
935};
936
937IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
938
939bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
940 // We need to get the data for this object and write it to buf. I think
941 // the best way to do this for wxPython is to have the Python method
942 // return either a string or None and then act appropriately with the
943 // C++ version.
944
e811c8ce 945 bool rval = False;
d14a1e28
RD
946 wxPyBeginBlockThreads();
947 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
948 PyObject* ro;
949 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
950 if (ro) {
951 rval = (ro != Py_None && PyString_Check(ro));
952 if (rval)
953 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
954 Py_DECREF(ro);
955 }
956 }
957 wxPyEndBlockThreads();
958 return rval;
959}
960
961bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
962 // For this one we simply need to make a string from buf and len
963 // and send it to the Python method.
e811c8ce 964 bool rval = False;
d14a1e28
RD
965 wxPyBeginBlockThreads();
966 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
967 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
968 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
969 Py_DECREF(data);
970 }
971 wxPyEndBlockThreads();
972 return rval;
973}
974
975 // Create a new class for wxPython to use
976class wxPyTextDataObject : public wxTextDataObject {
977public:
978 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
979 : wxTextDataObject(text) {}
980
981 DEC_PYCALLBACK_SIZET__const(GetTextLength);
982 DEC_PYCALLBACK_STRING__const(GetText);
983 DEC_PYCALLBACK__STRING(SetText);
984 PYPRIVATE;
985};
986
987IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
988IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
989IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
990
991
992 // Create a new class for wxPython to use
993class wxPyBitmapDataObject : public wxBitmapDataObject {
994public:
995 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
996 : wxBitmapDataObject(bitmap) {}
997
998 wxBitmap GetBitmap() const;
999 void SetBitmap(const wxBitmap& bitmap);
1000 PYPRIVATE;
1001};
1002
1003wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1004 wxBitmap* rval = &wxNullBitmap;
1005 wxPyBeginBlockThreads();
1006 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1007 PyObject* ro;
1008 wxBitmap* ptr;
1009 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1010 if (ro) {
1011 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1012 rval = ptr;
1013 Py_DECREF(ro);
1014 }
1015 }
1016 wxPyEndBlockThreads();
1017 return *rval;
1018}
1019
1020void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1021 wxPyBeginBlockThreads();
1022 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
e811c8ce 1023 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
d14a1e28
RD
1024 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1025 Py_DECREF(bo);
1026 }
1027 wxPyEndBlockThreads();
1028}
1029
1030void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1031 if (PyString_Check(data)) {
1032 // for Python we just call SetData here since we always need it to make a copy.
1033 self->SetData(PyString_Size(data), PyString_AsString(data));
1034 }
1035 else {
1036 // raise a TypeError if not a string
1037 PyErr_SetString(PyExc_TypeError, "String expected.");
1038 }
1039 }
1040bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1041 if (PyString_Check(data)) {
1042 return self->SetData(PyString_Size(data), PyString_AsString(data));
1043 }
1044 else {
1045 // raise a TypeError if not a string
1046 PyErr_SetString(PyExc_TypeError, "String expected.");
e811c8ce 1047 return False;
d14a1e28
RD
1048 }
1049 }
1050PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1051 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1052 }
1053
1054class wxMetafileDataObject : public wxDataObjectSimple
1055{
1056public:
1057 wxMetafileDataObject() { PyErr_SetNone(PyExc_NotImplementedError); }
1058};
1059
1060
d14a1e28
RD
1061
1062
d14a1e28
RD
1063IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1064
1065
d14a1e28
RD
1066IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1067IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1068IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1069IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1070IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1071
1072
d14a1e28
RD
1073class wxPyTextDropTarget : public wxTextDropTarget {
1074public:
1075 wxPyTextDropTarget() {}
1076
1077 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1078
1079 DEC_PYCALLBACK__(OnLeave);
1080 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1081 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1082 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1083 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1084
1085 PYPRIVATE;
1086};
1087
1088IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1089IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1090IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1091IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1092IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1093IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1094
1095
1096
1097class wxPyFileDropTarget : public wxFileDropTarget {
1098public:
1099 wxPyFileDropTarget() {}
1100
1101 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1102
1103 DEC_PYCALLBACK__(OnLeave);
1104 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1105 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1106 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1107 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1108
1109 PYPRIVATE;
1110};
1111
1112bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1113 const wxArrayString& filenames) {
e811c8ce 1114 bool rval = False;
d14a1e28
RD
1115 wxPyBeginBlockThreads();
1116 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1117 PyObject* list = wxArrayString2PyList_helper(filenames);
1118 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1119 Py_DECREF(list);
1120 }
1121 wxPyEndBlockThreads();
1122 return rval;
1123}
1124
1125
1126
1127IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1128IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1129IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1130IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1131IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1132
1133
1134
1135
1136bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1137#ifdef __cplusplus
1138extern "C" {
1139#endif
1140static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1141 PyObject *resultobj;
1142 int arg1 ;
1143 wxColour result;
1144 char *kwnames[] = {
1145 (char *) "index", NULL
1146 };
1147
1148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetColour",kwnames,&arg1)) goto fail;
1149 {
1150 PyThreadState* __tstate = wxPyBeginAllowThreads();
1151 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1152
1153 wxPyEndAllowThreads(__tstate);
1154 if (PyErr_Occurred()) SWIG_fail;
1155 }
1156 {
1157 wxColour * resultptr;
1158 resultptr = new wxColour((wxColour &) result);
1159 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
1160 }
1161 return resultobj;
1162 fail:
1163 return NULL;
1164}
1165
1166
1167static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1168 PyObject *resultobj;
1169 int arg1 ;
1170 wxFont result;
1171 char *kwnames[] = {
1172 (char *) "index", NULL
1173 };
1174
1175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetFont",kwnames,&arg1)) goto fail;
1176 {
1177 PyThreadState* __tstate = wxPyBeginAllowThreads();
1178 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1179
1180 wxPyEndAllowThreads(__tstate);
1181 if (PyErr_Occurred()) SWIG_fail;
1182 }
1183 {
1184 wxFont * resultptr;
1185 resultptr = new wxFont((wxFont &) result);
1186 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
1187 }
1188 return resultobj;
1189 fail:
1190 return NULL;
1191}
1192
1193
1194static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1195 PyObject *resultobj;
1196 int arg1 ;
1197 int result;
1198 char *kwnames[] = {
1199 (char *) "index", NULL
1200 };
1201
1202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetMetric",kwnames,&arg1)) goto fail;
1203 {
1204 PyThreadState* __tstate = wxPyBeginAllowThreads();
1205 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1206
1207 wxPyEndAllowThreads(__tstate);
1208 if (PyErr_Occurred()) SWIG_fail;
1209 }
1210 resultobj = PyInt_FromLong((long)result);
1211 return resultobj;
1212 fail:
1213 return NULL;
1214}
1215
1216
1217static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1218 PyObject *resultobj;
1219 int arg1 ;
1220 bool result;
1221 char *kwnames[] = {
1222 (char *) "index", NULL
1223 };
1224
1225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_HasFeature",kwnames,&arg1)) goto fail;
1226 {
1227 PyThreadState* __tstate = wxPyBeginAllowThreads();
1228 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1229
1230 wxPyEndAllowThreads(__tstate);
1231 if (PyErr_Occurred()) SWIG_fail;
1232 }
1233 resultobj = PyInt_FromLong((long)result);
1234 return resultobj;
1235 fail:
1236 return NULL;
1237}
1238
1239
1240static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1241 PyObject *resultobj;
1242 int result;
1243 char *kwnames[] = {
1244 NULL
1245 };
1246
1247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1248 {
1249 PyThreadState* __tstate = wxPyBeginAllowThreads();
1250 result = (int)wxSystemSettings::GetScreenType();
1251
1252 wxPyEndAllowThreads(__tstate);
1253 if (PyErr_Occurred()) SWIG_fail;
1254 }
1255 resultobj = PyInt_FromLong((long)result);
1256 return resultobj;
1257 fail:
1258 return NULL;
1259}
1260
1261
1262static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1263 PyObject *resultobj;
1264 int arg1 ;
1265 char *kwnames[] = {
1266 (char *) "screen", NULL
1267 };
1268
1269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_SetScreenType",kwnames,&arg1)) goto fail;
1270 {
1271 PyThreadState* __tstate = wxPyBeginAllowThreads();
1272 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1273
1274 wxPyEndAllowThreads(__tstate);
1275 if (PyErr_Occurred()) SWIG_fail;
1276 }
1277 Py_INCREF(Py_None); resultobj = Py_None;
1278 return resultobj;
1279 fail:
1280 return NULL;
1281}
1282
1283
1284static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1285 PyObject *obj;
1286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1287 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1288 Py_INCREF(obj);
1289 return Py_BuildValue((char *)"");
1290}
1291static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1292 PyObject *resultobj;
1293 wxSystemOptions *result;
1294 char *kwnames[] = {
1295 NULL
1296 };
1297
1298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1299 {
1300 PyThreadState* __tstate = wxPyBeginAllowThreads();
1301 result = (wxSystemOptions *)new wxSystemOptions();
1302
1303 wxPyEndAllowThreads(__tstate);
1304 if (PyErr_Occurred()) SWIG_fail;
1305 }
1306 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSystemOptions, 1);
1307 return resultobj;
1308 fail:
1309 return NULL;
1310}
1311
1312
1313static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1314 PyObject *resultobj;
1315 wxString *arg1 = 0 ;
1316 wxString *arg2 = 0 ;
e811c8ce
RD
1317 bool temp1 = False ;
1318 bool temp2 = False ;
d14a1e28
RD
1319 PyObject * obj0 = 0 ;
1320 PyObject * obj1 = 0 ;
1321 char *kwnames[] = {
1322 (char *) "name",(char *) "value", NULL
1323 };
1324
1325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1326 {
1327 arg1 = wxString_in_helper(obj0);
1328 if (arg1 == NULL) SWIG_fail;
e811c8ce 1329 temp1 = True;
d14a1e28
RD
1330 }
1331 {
1332 arg2 = wxString_in_helper(obj1);
1333 if (arg2 == NULL) SWIG_fail;
e811c8ce 1334 temp2 = True;
d14a1e28
RD
1335 }
1336 {
1337 PyThreadState* __tstate = wxPyBeginAllowThreads();
1338 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1339
1340 wxPyEndAllowThreads(__tstate);
1341 if (PyErr_Occurred()) SWIG_fail;
1342 }
1343 Py_INCREF(Py_None); resultobj = Py_None;
1344 {
1345 if (temp1)
1346 delete arg1;
1347 }
1348 {
1349 if (temp2)
1350 delete arg2;
1351 }
1352 return resultobj;
1353 fail:
1354 {
1355 if (temp1)
1356 delete arg1;
1357 }
1358 {
1359 if (temp2)
1360 delete arg2;
1361 }
1362 return NULL;
1363}
1364
1365
1366static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1367 PyObject *resultobj;
1368 wxString *arg1 = 0 ;
1369 int arg2 ;
e811c8ce 1370 bool temp1 = False ;
d14a1e28
RD
1371 PyObject * obj0 = 0 ;
1372 char *kwnames[] = {
1373 (char *) "name",(char *) "value", NULL
1374 };
1375
1376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SystemOptions_SetOptionInt",kwnames,&obj0,&arg2)) goto fail;
1377 {
1378 arg1 = wxString_in_helper(obj0);
1379 if (arg1 == NULL) SWIG_fail;
e811c8ce 1380 temp1 = True;
d14a1e28
RD
1381 }
1382 {
1383 PyThreadState* __tstate = wxPyBeginAllowThreads();
1384 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1385
1386 wxPyEndAllowThreads(__tstate);
1387 if (PyErr_Occurred()) SWIG_fail;
1388 }
1389 Py_INCREF(Py_None); resultobj = Py_None;
1390 {
1391 if (temp1)
1392 delete arg1;
1393 }
1394 return resultobj;
1395 fail:
1396 {
1397 if (temp1)
1398 delete arg1;
1399 }
1400 return NULL;
1401}
1402
1403
1404static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1405 PyObject *resultobj;
1406 wxString *arg1 = 0 ;
1407 wxString result;
e811c8ce 1408 bool temp1 = False ;
d14a1e28
RD
1409 PyObject * obj0 = 0 ;
1410 char *kwnames[] = {
1411 (char *) "name", NULL
1412 };
1413
1414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1415 {
1416 arg1 = wxString_in_helper(obj0);
1417 if (arg1 == NULL) SWIG_fail;
e811c8ce 1418 temp1 = True;
d14a1e28
RD
1419 }
1420 {
1421 PyThreadState* __tstate = wxPyBeginAllowThreads();
1422 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1423
1424 wxPyEndAllowThreads(__tstate);
1425 if (PyErr_Occurred()) SWIG_fail;
1426 }
1427 {
1428#if wxUSE_UNICODE
1429 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1430#else
1431 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1432#endif
1433 }
1434 {
1435 if (temp1)
1436 delete arg1;
1437 }
1438 return resultobj;
1439 fail:
1440 {
1441 if (temp1)
1442 delete arg1;
1443 }
1444 return NULL;
1445}
1446
1447
1448static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1449 PyObject *resultobj;
1450 wxString *arg1 = 0 ;
1451 int result;
e811c8ce 1452 bool temp1 = False ;
d14a1e28
RD
1453 PyObject * obj0 = 0 ;
1454 char *kwnames[] = {
1455 (char *) "name", NULL
1456 };
1457
1458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1459 {
1460 arg1 = wxString_in_helper(obj0);
1461 if (arg1 == NULL) SWIG_fail;
e811c8ce 1462 temp1 = True;
d14a1e28
RD
1463 }
1464 {
1465 PyThreadState* __tstate = wxPyBeginAllowThreads();
1466 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1467
1468 wxPyEndAllowThreads(__tstate);
1469 if (PyErr_Occurred()) SWIG_fail;
1470 }
1471 resultobj = PyInt_FromLong((long)result);
1472 {
1473 if (temp1)
1474 delete arg1;
1475 }
1476 return resultobj;
1477 fail:
1478 {
1479 if (temp1)
1480 delete arg1;
1481 }
1482 return NULL;
1483}
1484
1485
1486static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1487 PyObject *resultobj;
1488 wxString *arg1 = 0 ;
1489 bool result;
e811c8ce 1490 bool temp1 = False ;
d14a1e28
RD
1491 PyObject * obj0 = 0 ;
1492 char *kwnames[] = {
1493 (char *) "name", NULL
1494 };
1495
1496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1497 {
1498 arg1 = wxString_in_helper(obj0);
1499 if (arg1 == NULL) SWIG_fail;
e811c8ce 1500 temp1 = True;
d14a1e28
RD
1501 }
1502 {
1503 PyThreadState* __tstate = wxPyBeginAllowThreads();
1504 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1505
1506 wxPyEndAllowThreads(__tstate);
1507 if (PyErr_Occurred()) SWIG_fail;
1508 }
1509 resultobj = PyInt_FromLong((long)result);
1510 {
1511 if (temp1)
1512 delete arg1;
1513 }
1514 return resultobj;
1515 fail:
1516 {
1517 if (temp1)
1518 delete arg1;
1519 }
1520 return NULL;
1521}
1522
1523
1524static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1525 PyObject *obj;
1526 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1527 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1528 Py_INCREF(obj);
1529 return Py_BuildValue((char *)"");
1530}
1531static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1532 PyObject *resultobj;
1533 long result;
1534 char *kwnames[] = {
1535 NULL
1536 };
1537
1538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1539 {
1540 PyThreadState* __tstate = wxPyBeginAllowThreads();
1541 result = (long)wxNewId();
1542
1543 wxPyEndAllowThreads(__tstate);
1544 if (PyErr_Occurred()) SWIG_fail;
1545 }
1546 resultobj = PyInt_FromLong((long)result);
1547 return resultobj;
1548 fail:
1549 return NULL;
1550}
1551
1552
1553static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1554 PyObject *resultobj;
1555 long arg1 ;
1556 char *kwnames[] = {
1557 (char *) "id", NULL
1558 };
1559
1560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:RegisterId",kwnames,&arg1)) goto fail;
1561 {
1562 PyThreadState* __tstate = wxPyBeginAllowThreads();
1563 wxRegisterId(arg1);
1564
1565 wxPyEndAllowThreads(__tstate);
1566 if (PyErr_Occurred()) SWIG_fail;
1567 }
1568 Py_INCREF(Py_None); resultobj = Py_None;
1569 return resultobj;
1570 fail:
1571 return NULL;
1572}
1573
1574
1575static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1576 PyObject *resultobj;
1577 long result;
1578 char *kwnames[] = {
1579 NULL
1580 };
1581
1582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1583 {
1584 PyThreadState* __tstate = wxPyBeginAllowThreads();
1585 result = (long)wxGetCurrentId();
1586
1587 wxPyEndAllowThreads(__tstate);
1588 if (PyErr_Occurred()) SWIG_fail;
1589 }
1590 resultobj = PyInt_FromLong((long)result);
1591 return resultobj;
1592 fail:
1593 return NULL;
1594}
1595
1596
1597static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
1598 PyObject *resultobj;
1599 char *kwnames[] = {
1600 NULL
1601 };
1602
1603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1604 {
1605 PyThreadState* __tstate = wxPyBeginAllowThreads();
1606 wxBell();
1607
1608 wxPyEndAllowThreads(__tstate);
1609 if (PyErr_Occurred()) SWIG_fail;
1610 }
1611 Py_INCREF(Py_None); resultobj = Py_None;
1612 return resultobj;
1613 fail:
1614 return NULL;
1615}
1616
1617
1618static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1619 PyObject *resultobj;
1620 char *kwnames[] = {
1621 NULL
1622 };
1623
1624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
1625 {
1626 PyThreadState* __tstate = wxPyBeginAllowThreads();
1627 wxEndBusyCursor();
1628
1629 wxPyEndAllowThreads(__tstate);
1630 if (PyErr_Occurred()) SWIG_fail;
1631 }
1632 Py_INCREF(Py_None); resultobj = Py_None;
1633 return resultobj;
1634 fail:
1635 return NULL;
1636}
1637
1638
1639static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1640 PyObject *resultobj;
e811c8ce 1641 bool arg1 = (bool) True ;
d14a1e28
RD
1642 long result;
1643 PyObject * obj0 = 0 ;
1644 char *kwnames[] = {
1645 (char *) "resetTimer", NULL
1646 };
1647
1648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
1649 if (obj0) {
1650 arg1 = PyInt_AsLong(obj0) ? true : false;
1651 if (PyErr_Occurred()) SWIG_fail;
1652 }
1653 {
1654 PyThreadState* __tstate = wxPyBeginAllowThreads();
1655 result = (long)wxGetElapsedTime(arg1);
1656
1657 wxPyEndAllowThreads(__tstate);
1658 if (PyErr_Occurred()) SWIG_fail;
1659 }
1660 resultobj = PyInt_FromLong((long)result);
1661 return resultobj;
1662 fail:
1663 return NULL;
1664}
1665
1666
1667static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1668 PyObject *resultobj;
1669 int *arg1 = (int *) 0 ;
1670 int *arg2 = (int *) 0 ;
1671 int temp1 ;
1672 int temp2 ;
1673 char *kwnames[] = {
1674 NULL
1675 };
1676
1677 arg1 = &temp1;
1678 arg2 = &temp2;
1679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
1680 {
1681 PyThreadState* __tstate = wxPyBeginAllowThreads();
1682 wxGetMousePosition(arg1,arg2);
1683
1684 wxPyEndAllowThreads(__tstate);
1685 if (PyErr_Occurred()) SWIG_fail;
1686 }
1687 Py_INCREF(Py_None); resultobj = Py_None;
1688 {
1689 PyObject *o = PyInt_FromLong((long) (*arg1));
1690 resultobj = t_output_helper(resultobj,o);
1691 }
1692 {
1693 PyObject *o = PyInt_FromLong((long) (*arg2));
1694 resultobj = t_output_helper(resultobj,o);
1695 }
1696 return resultobj;
1697 fail:
1698 return NULL;
1699}
1700
1701
1702static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
1703 PyObject *resultobj;
1704 bool result;
1705 char *kwnames[] = {
1706 NULL
1707 };
1708
1709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
1710 {
1711 PyThreadState* __tstate = wxPyBeginAllowThreads();
1712 result = (bool)wxIsBusy();
1713
1714 wxPyEndAllowThreads(__tstate);
1715 if (PyErr_Occurred()) SWIG_fail;
1716 }
1717 resultobj = PyInt_FromLong((long)result);
1718 return resultobj;
1719 fail:
1720 return NULL;
1721}
1722
1723
1724static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
1725 PyObject *resultobj;
1726 wxString result;
1727 char *kwnames[] = {
1728 NULL
1729 };
1730
1731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
1732 {
1733 PyThreadState* __tstate = wxPyBeginAllowThreads();
1734 result = wxNow();
1735
1736 wxPyEndAllowThreads(__tstate);
1737 if (PyErr_Occurred()) SWIG_fail;
1738 }
1739 {
1740#if wxUSE_UNICODE
1741 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1742#else
1743 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1744#endif
1745 }
1746 return resultobj;
1747 fail:
1748 return NULL;
1749}
1750
1751
1752static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
1753 PyObject *resultobj;
1754 wxString const &arg1_defvalue = wxPyEmptyString ;
1755 wxString *arg1 = (wxString *) &arg1_defvalue ;
1756 bool result;
e811c8ce 1757 bool temp1 = False ;
d14a1e28
RD
1758 PyObject * obj0 = 0 ;
1759 char *kwnames[] = {
1760 (char *) "command", NULL
1761 };
1762
1763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
1764 if (obj0) {
1765 {
1766 arg1 = wxString_in_helper(obj0);
1767 if (arg1 == NULL) SWIG_fail;
e811c8ce 1768 temp1 = True;
d14a1e28
RD
1769 }
1770 }
1771 {
1772 PyThreadState* __tstate = wxPyBeginAllowThreads();
1773 result = (bool)wxShell((wxString const &)*arg1);
1774
1775 wxPyEndAllowThreads(__tstate);
1776 if (PyErr_Occurred()) SWIG_fail;
1777 }
1778 resultobj = PyInt_FromLong((long)result);
1779 {
1780 if (temp1)
1781 delete arg1;
1782 }
1783 return resultobj;
1784 fail:
1785 {
1786 if (temp1)
1787 delete arg1;
1788 }
1789 return NULL;
1790}
1791
1792
1793static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
1794 PyObject *resultobj;
1795 char *kwnames[] = {
1796 NULL
1797 };
1798
1799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
1800 {
1801 PyThreadState* __tstate = wxPyBeginAllowThreads();
1802 wxStartTimer();
1803
1804 wxPyEndAllowThreads(__tstate);
1805 if (PyErr_Occurred()) SWIG_fail;
1806 }
1807 Py_INCREF(Py_None); resultobj = Py_None;
1808 return resultobj;
1809 fail:
1810 return NULL;
1811}
1812
1813
1814static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
1815 PyObject *resultobj;
1816 int *arg1 = (int *) 0 ;
1817 int *arg2 = (int *) 0 ;
1818 int result;
1819 int temp1 ;
1820 int temp2 ;
1821 char *kwnames[] = {
1822 NULL
1823 };
1824
1825 arg1 = &temp1;
1826 arg2 = &temp2;
1827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
1828 {
1829 PyThreadState* __tstate = wxPyBeginAllowThreads();
1830 result = (int)wxGetOsVersion(arg1,arg2);
1831
1832 wxPyEndAllowThreads(__tstate);
1833 if (PyErr_Occurred()) SWIG_fail;
1834 }
1835 resultobj = PyInt_FromLong((long)result);
1836 {
1837 PyObject *o = PyInt_FromLong((long) (*arg1));
1838 resultobj = t_output_helper(resultobj,o);
1839 }
1840 {
1841 PyObject *o = PyInt_FromLong((long) (*arg2));
1842 resultobj = t_output_helper(resultobj,o);
1843 }
1844 return resultobj;
1845 fail:
1846 return NULL;
1847}
1848
1849
1850static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
1851 PyObject *resultobj;
1852 wxString result;
1853 char *kwnames[] = {
1854 NULL
1855 };
1856
1857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
1858 {
1859 PyThreadState* __tstate = wxPyBeginAllowThreads();
1860 result = wxGetOsDescription();
1861
1862 wxPyEndAllowThreads(__tstate);
1863 if (PyErr_Occurred()) SWIG_fail;
1864 }
1865 {
1866#if wxUSE_UNICODE
1867 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1868#else
1869 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1870#endif
1871 }
1872 return resultobj;
1873 fail:
1874 return NULL;
1875}
1876
1877
1878static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
1879 PyObject *resultobj;
1880 long result;
1881 char *kwnames[] = {
1882 NULL
1883 };
1884
1885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
1886 {
1887 PyThreadState* __tstate = wxPyBeginAllowThreads();
1888 result = (long)wxGetFreeMemory();
1889
1890 wxPyEndAllowThreads(__tstate);
1891 if (PyErr_Occurred()) SWIG_fail;
1892 }
1893 resultobj = PyInt_FromLong((long)result);
1894 return resultobj;
1895 fail:
1896 return NULL;
1897}
1898
1899
1900static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
1901 PyObject *resultobj;
1902 int arg1 ;
1903 bool result;
1904 char *kwnames[] = {
1905 (char *) "wFlags", NULL
1906 };
1907
1908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Shutdown",kwnames,&arg1)) goto fail;
1909 {
1910 PyThreadState* __tstate = wxPyBeginAllowThreads();
1911 result = (bool)wxShutdown((wxShutdownFlags )arg1);
1912
1913 wxPyEndAllowThreads(__tstate);
1914 if (PyErr_Occurred()) SWIG_fail;
1915 }
1916 resultobj = PyInt_FromLong((long)result);
1917 return resultobj;
1918 fail:
1919 return NULL;
1920}
1921
1922
1923static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1924 PyObject *resultobj;
1925 int arg1 ;
1926 char *kwnames[] = {
1927 (char *) "secs", NULL
1928 };
1929
1930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Sleep",kwnames,&arg1)) goto fail;
1931 {
1932 PyThreadState* __tstate = wxPyBeginAllowThreads();
1933 wxSleep(arg1);
1934
1935 wxPyEndAllowThreads(__tstate);
1936 if (PyErr_Occurred()) SWIG_fail;
1937 }
1938 Py_INCREF(Py_None); resultobj = Py_None;
1939 return resultobj;
1940 fail:
1941 return NULL;
1942}
1943
1944
1945static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1946 PyObject *resultobj;
1947 unsigned long arg1 ;
1948 PyObject * obj0 = 0 ;
1949 char *kwnames[] = {
1950 (char *) "milliseconds", NULL
1951 };
1952
1953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
1954 arg1 = (unsigned long) PyInt_AsLong(obj0);
1955 if (PyErr_Occurred()) SWIG_fail;
1956 {
1957 PyThreadState* __tstate = wxPyBeginAllowThreads();
1958 wxUsleep(arg1);
1959
1960 wxPyEndAllowThreads(__tstate);
1961 if (PyErr_Occurred()) SWIG_fail;
1962 }
1963 Py_INCREF(Py_None); resultobj = Py_None;
1964 return resultobj;
1965 fail:
1966 return NULL;
1967}
1968
1969
1970static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
1971 PyObject *resultobj;
1972 bool arg1 ;
1973 PyObject * obj0 = 0 ;
1974 char *kwnames[] = {
1975 (char *) "enable", NULL
1976 };
1977
1978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
1979 arg1 = PyInt_AsLong(obj0) ? true : false;
1980 if (PyErr_Occurred()) SWIG_fail;
1981 {
1982 PyThreadState* __tstate = wxPyBeginAllowThreads();
1983 wxEnableTopLevelWindows(arg1);
1984
1985 wxPyEndAllowThreads(__tstate);
1986 if (PyErr_Occurred()) SWIG_fail;
1987 }
1988 Py_INCREF(Py_None); resultobj = Py_None;
1989 return resultobj;
1990 fail:
1991 return NULL;
1992}
1993
1994
1995static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
1996 PyObject *resultobj;
1997 wxString *arg1 = 0 ;
1998 wxString result;
e811c8ce 1999 bool temp1 = False ;
d14a1e28
RD
2000 PyObject * obj0 = 0 ;
2001 char *kwnames[] = {
2002 (char *) "in", NULL
2003 };
2004
2005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2006 {
2007 arg1 = wxString_in_helper(obj0);
2008 if (arg1 == NULL) SWIG_fail;
e811c8ce 2009 temp1 = True;
d14a1e28
RD
2010 }
2011 {
2012 PyThreadState* __tstate = wxPyBeginAllowThreads();
2013 result = wxStripMenuCodes((wxString const &)*arg1);
2014
2015 wxPyEndAllowThreads(__tstate);
2016 if (PyErr_Occurred()) SWIG_fail;
2017 }
2018 {
2019#if wxUSE_UNICODE
2020 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2021#else
2022 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2023#endif
2024 }
2025 {
2026 if (temp1)
2027 delete arg1;
2028 }
2029 return resultobj;
2030 fail:
2031 {
2032 if (temp1)
2033 delete arg1;
2034 }
2035 return NULL;
2036}
2037
2038
2039static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2040 PyObject *resultobj;
2041 wxString result;
2042 char *kwnames[] = {
2043 NULL
2044 };
2045
2046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2047 {
2048 PyThreadState* __tstate = wxPyBeginAllowThreads();
2049 result = wxGetEmailAddress();
2050
2051 wxPyEndAllowThreads(__tstate);
2052 if (PyErr_Occurred()) SWIG_fail;
2053 }
2054 {
2055#if wxUSE_UNICODE
2056 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2057#else
2058 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2059#endif
2060 }
2061 return resultobj;
2062 fail:
2063 return NULL;
2064}
2065
2066
2067static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2068 PyObject *resultobj;
2069 wxString result;
2070 char *kwnames[] = {
2071 NULL
2072 };
2073
2074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2075 {
2076 PyThreadState* __tstate = wxPyBeginAllowThreads();
2077 result = wxGetHostName();
2078
2079 wxPyEndAllowThreads(__tstate);
2080 if (PyErr_Occurred()) SWIG_fail;
2081 }
2082 {
2083#if wxUSE_UNICODE
2084 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2085#else
2086 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2087#endif
2088 }
2089 return resultobj;
2090 fail:
2091 return NULL;
2092}
2093
2094
2095static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2096 PyObject *resultobj;
2097 wxString result;
2098 char *kwnames[] = {
2099 NULL
2100 };
2101
2102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2103 {
2104 PyThreadState* __tstate = wxPyBeginAllowThreads();
2105 result = wxGetFullHostName();
2106
2107 wxPyEndAllowThreads(__tstate);
2108 if (PyErr_Occurred()) SWIG_fail;
2109 }
2110 {
2111#if wxUSE_UNICODE
2112 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2113#else
2114 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2115#endif
2116 }
2117 return resultobj;
2118 fail:
2119 return NULL;
2120}
2121
2122
2123static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2124 PyObject *resultobj;
2125 wxString result;
2126 char *kwnames[] = {
2127 NULL
2128 };
2129
2130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2131 {
2132 PyThreadState* __tstate = wxPyBeginAllowThreads();
2133 result = wxGetUserId();
2134
2135 wxPyEndAllowThreads(__tstate);
2136 if (PyErr_Occurred()) SWIG_fail;
2137 }
2138 {
2139#if wxUSE_UNICODE
2140 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2141#else
2142 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2143#endif
2144 }
2145 return resultobj;
2146 fail:
2147 return NULL;
2148}
2149
2150
2151static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2152 PyObject *resultobj;
2153 wxString result;
2154 char *kwnames[] = {
2155 NULL
2156 };
2157
2158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2159 {
2160 PyThreadState* __tstate = wxPyBeginAllowThreads();
2161 result = wxGetUserName();
2162
2163 wxPyEndAllowThreads(__tstate);
2164 if (PyErr_Occurred()) SWIG_fail;
2165 }
2166 {
2167#if wxUSE_UNICODE
2168 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2169#else
2170 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2171#endif
2172 }
2173 return resultobj;
2174 fail:
2175 return NULL;
2176}
2177
2178
2179static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2180 PyObject *resultobj;
2181 wxString result;
2182 char *kwnames[] = {
2183 NULL
2184 };
2185
2186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2187 {
2188 PyThreadState* __tstate = wxPyBeginAllowThreads();
2189 result = wxGetHomeDir();
2190
2191 wxPyEndAllowThreads(__tstate);
2192 if (PyErr_Occurred()) SWIG_fail;
2193 }
2194 {
2195#if wxUSE_UNICODE
2196 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2197#else
2198 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2199#endif
2200 }
2201 return resultobj;
2202 fail:
2203 return NULL;
2204}
2205
2206
2207static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2208 PyObject *resultobj;
2209 wxString const &arg1_defvalue = wxPyEmptyString ;
2210 wxString *arg1 = (wxString *) &arg1_defvalue ;
2211 wxString result;
e811c8ce 2212 bool temp1 = False ;
d14a1e28
RD
2213 PyObject * obj0 = 0 ;
2214 char *kwnames[] = {
2215 (char *) "user", NULL
2216 };
2217
2218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2219 if (obj0) {
2220 {
2221 arg1 = wxString_in_helper(obj0);
2222 if (arg1 == NULL) SWIG_fail;
e811c8ce 2223 temp1 = True;
d14a1e28
RD
2224 }
2225 }
2226 {
2227 PyThreadState* __tstate = wxPyBeginAllowThreads();
2228 result = wxGetUserHome((wxString const &)*arg1);
2229
2230 wxPyEndAllowThreads(__tstate);
2231 if (PyErr_Occurred()) SWIG_fail;
2232 }
2233 {
2234#if wxUSE_UNICODE
2235 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2236#else
2237 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2238#endif
2239 }
2240 {
2241 if (temp1)
2242 delete arg1;
2243 }
2244 return resultobj;
2245 fail:
2246 {
2247 if (temp1)
2248 delete arg1;
2249 }
2250 return NULL;
2251}
2252
2253
2254static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2255 PyObject *resultobj;
2256 unsigned long result;
2257 char *kwnames[] = {
2258 NULL
2259 };
2260
2261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2262 {
2263 PyThreadState* __tstate = wxPyBeginAllowThreads();
2264 result = (unsigned long)wxGetProcessId();
2265
2266 wxPyEndAllowThreads(__tstate);
2267 if (PyErr_Occurred()) SWIG_fail;
2268 }
2269 resultobj = PyInt_FromLong((long)result);
2270 return resultobj;
2271 fail:
2272 return NULL;
2273}
2274
2275
2276static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2277 PyObject *resultobj;
2278 char *kwnames[] = {
2279 NULL
2280 };
2281
2282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2283 {
2284 PyThreadState* __tstate = wxPyBeginAllowThreads();
2285 wxTrap();
2286
2287 wxPyEndAllowThreads(__tstate);
2288 if (PyErr_Occurred()) SWIG_fail;
2289 }
2290 Py_INCREF(Py_None); resultobj = Py_None;
2291 return resultobj;
2292 fail:
2293 return NULL;
2294}
2295
2296
2297static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2298 PyObject *resultobj;
2299 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2300 wxString *arg1 = (wxString *) &arg1_defvalue ;
2301 wxString const &arg2_defvalue = wxPyEmptyString ;
2302 wxString *arg2 = (wxString *) &arg2_defvalue ;
2303 wxString const &arg3_defvalue = wxPyEmptyString ;
2304 wxString *arg3 = (wxString *) &arg3_defvalue ;
2305 wxString const &arg4_defvalue = wxPyEmptyString ;
2306 wxString *arg4 = (wxString *) &arg4_defvalue ;
2307 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2308 wxString *arg5 = (wxString *) &arg5_defvalue ;
2309 int arg6 = (int) 0 ;
2310 wxWindow *arg7 = (wxWindow *) NULL ;
2311 int arg8 = (int) -1 ;
2312 int arg9 = (int) -1 ;
2313 wxString result;
e811c8ce
RD
2314 bool temp1 = False ;
2315 bool temp2 = False ;
2316 bool temp3 = False ;
2317 bool temp4 = False ;
2318 bool temp5 = False ;
d14a1e28
RD
2319 PyObject * obj0 = 0 ;
2320 PyObject * obj1 = 0 ;
2321 PyObject * obj2 = 0 ;
2322 PyObject * obj3 = 0 ;
2323 PyObject * obj4 = 0 ;
2324 PyObject * obj6 = 0 ;
2325 char *kwnames[] = {
2326 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2327 };
2328
2329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOiOii:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&arg9)) goto fail;
2330 if (obj0) {
2331 {
2332 arg1 = wxString_in_helper(obj0);
2333 if (arg1 == NULL) SWIG_fail;
e811c8ce 2334 temp1 = True;
d14a1e28
RD
2335 }
2336 }
2337 if (obj1) {
2338 {
2339 arg2 = wxString_in_helper(obj1);
2340 if (arg2 == NULL) SWIG_fail;
e811c8ce 2341 temp2 = True;
d14a1e28
RD
2342 }
2343 }
2344 if (obj2) {
2345 {
2346 arg3 = wxString_in_helper(obj2);
2347 if (arg3 == NULL) SWIG_fail;
e811c8ce 2348 temp3 = True;
d14a1e28
RD
2349 }
2350 }
2351 if (obj3) {
2352 {
2353 arg4 = wxString_in_helper(obj3);
2354 if (arg4 == NULL) SWIG_fail;
e811c8ce 2355 temp4 = True;
d14a1e28
RD
2356 }
2357 }
2358 if (obj4) {
2359 {
2360 arg5 = wxString_in_helper(obj4);
2361 if (arg5 == NULL) SWIG_fail;
e811c8ce 2362 temp5 = True;
d14a1e28
RD
2363 }
2364 }
2365 if (obj6) {
2366 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2367 }
2368 {
2369 PyThreadState* __tstate = wxPyBeginAllowThreads();
2370 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2371
2372 wxPyEndAllowThreads(__tstate);
2373 if (PyErr_Occurred()) SWIG_fail;
2374 }
2375 {
2376#if wxUSE_UNICODE
2377 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2378#else
2379 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2380#endif
2381 }
2382 {
2383 if (temp1)
2384 delete arg1;
2385 }
2386 {
2387 if (temp2)
2388 delete arg2;
2389 }
2390 {
2391 if (temp3)
2392 delete arg3;
2393 }
2394 {
2395 if (temp4)
2396 delete arg4;
2397 }
2398 {
2399 if (temp5)
2400 delete arg5;
2401 }
2402 return resultobj;
2403 fail:
2404 {
2405 if (temp1)
2406 delete arg1;
2407 }
2408 {
2409 if (temp2)
2410 delete arg2;
2411 }
2412 {
2413 if (temp3)
2414 delete arg3;
2415 }
2416 {
2417 if (temp4)
2418 delete arg4;
2419 }
2420 {
2421 if (temp5)
2422 delete arg5;
2423 }
2424 return NULL;
2425}
2426
2427
2428static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2429 PyObject *resultobj;
2430 wxString *arg1 = 0 ;
2431 wxString *arg2 = 0 ;
2432 wxString const &arg3_defvalue = wxPyEmptyString ;
2433 wxString *arg3 = (wxString *) &arg3_defvalue ;
2434 wxWindow *arg4 = (wxWindow *) NULL ;
2435 wxString result;
e811c8ce
RD
2436 bool temp1 = False ;
2437 bool temp2 = False ;
2438 bool temp3 = False ;
d14a1e28
RD
2439 PyObject * obj0 = 0 ;
2440 PyObject * obj1 = 0 ;
2441 PyObject * obj2 = 0 ;
2442 PyObject * obj3 = 0 ;
2443 char *kwnames[] = {
2444 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2445 };
2446
2447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2448 {
2449 arg1 = wxString_in_helper(obj0);
2450 if (arg1 == NULL) SWIG_fail;
e811c8ce 2451 temp1 = True;
d14a1e28
RD
2452 }
2453 {
2454 arg2 = wxString_in_helper(obj1);
2455 if (arg2 == NULL) SWIG_fail;
e811c8ce 2456 temp2 = True;
d14a1e28
RD
2457 }
2458 if (obj2) {
2459 {
2460 arg3 = wxString_in_helper(obj2);
2461 if (arg3 == NULL) SWIG_fail;
e811c8ce 2462 temp3 = True;
d14a1e28
RD
2463 }
2464 }
2465 if (obj3) {
2466 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2467 }
2468 {
2469 PyThreadState* __tstate = wxPyBeginAllowThreads();
2470 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2471
2472 wxPyEndAllowThreads(__tstate);
2473 if (PyErr_Occurred()) SWIG_fail;
2474 }
2475 {
2476#if wxUSE_UNICODE
2477 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2478#else
2479 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2480#endif
2481 }
2482 {
2483 if (temp1)
2484 delete arg1;
2485 }
2486 {
2487 if (temp2)
2488 delete arg2;
2489 }
2490 {
2491 if (temp3)
2492 delete arg3;
2493 }
2494 return resultobj;
2495 fail:
2496 {
2497 if (temp1)
2498 delete arg1;
2499 }
2500 {
2501 if (temp2)
2502 delete arg2;
2503 }
2504 {
2505 if (temp3)
2506 delete arg3;
2507 }
2508 return NULL;
2509}
2510
2511
2512static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2513 PyObject *resultobj;
2514 wxString *arg1 = 0 ;
2515 wxString *arg2 = 0 ;
2516 wxString const &arg3_defvalue = wxPyEmptyString ;
2517 wxString *arg3 = (wxString *) &arg3_defvalue ;
2518 wxWindow *arg4 = (wxWindow *) NULL ;
2519 wxString result;
e811c8ce
RD
2520 bool temp1 = False ;
2521 bool temp2 = False ;
2522 bool temp3 = False ;
d14a1e28
RD
2523 PyObject * obj0 = 0 ;
2524 PyObject * obj1 = 0 ;
2525 PyObject * obj2 = 0 ;
2526 PyObject * obj3 = 0 ;
2527 char *kwnames[] = {
2528 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2529 };
2530
2531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2532 {
2533 arg1 = wxString_in_helper(obj0);
2534 if (arg1 == NULL) SWIG_fail;
e811c8ce 2535 temp1 = True;
d14a1e28
RD
2536 }
2537 {
2538 arg2 = wxString_in_helper(obj1);
2539 if (arg2 == NULL) SWIG_fail;
e811c8ce 2540 temp2 = True;
d14a1e28
RD
2541 }
2542 if (obj2) {
2543 {
2544 arg3 = wxString_in_helper(obj2);
2545 if (arg3 == NULL) SWIG_fail;
e811c8ce 2546 temp3 = True;
d14a1e28
RD
2547 }
2548 }
2549 if (obj3) {
2550 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2551 }
2552 {
2553 PyThreadState* __tstate = wxPyBeginAllowThreads();
2554 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2555
2556 wxPyEndAllowThreads(__tstate);
2557 if (PyErr_Occurred()) SWIG_fail;
2558 }
2559 {
2560#if wxUSE_UNICODE
2561 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2562#else
2563 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2564#endif
2565 }
2566 {
2567 if (temp1)
2568 delete arg1;
2569 }
2570 {
2571 if (temp2)
2572 delete arg2;
2573 }
2574 {
2575 if (temp3)
2576 delete arg3;
2577 }
2578 return resultobj;
2579 fail:
2580 {
2581 if (temp1)
2582 delete arg1;
2583 }
2584 {
2585 if (temp2)
2586 delete arg2;
2587 }
2588 {
2589 if (temp3)
2590 delete arg3;
2591 }
2592 return NULL;
2593}
2594
2595
2596static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2597 PyObject *resultobj;
2598 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
2599 wxString *arg1 = (wxString *) &arg1_defvalue ;
2600 wxString const &arg2_defvalue = wxPyEmptyString ;
2601 wxString *arg2 = (wxString *) &arg2_defvalue ;
2602 long arg3 = (long) wxDD_DEFAULT_STYLE ;
2603 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2604 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2605 wxWindow *arg5 = (wxWindow *) NULL ;
2606 wxString result;
e811c8ce
RD
2607 bool temp1 = False ;
2608 bool temp2 = False ;
d14a1e28
RD
2609 wxPoint temp4 ;
2610 PyObject * obj0 = 0 ;
2611 PyObject * obj1 = 0 ;
2612 PyObject * obj3 = 0 ;
2613 PyObject * obj4 = 0 ;
2614 char *kwnames[] = {
2615 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2616 };
2617
2618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOlOO:DirSelector",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
2619 if (obj0) {
2620 {
2621 arg1 = wxString_in_helper(obj0);
2622 if (arg1 == NULL) SWIG_fail;
e811c8ce 2623 temp1 = True;
d14a1e28
RD
2624 }
2625 }
2626 if (obj1) {
2627 {
2628 arg2 = wxString_in_helper(obj1);
2629 if (arg2 == NULL) SWIG_fail;
e811c8ce 2630 temp2 = True;
d14a1e28
RD
2631 }
2632 }
2633 if (obj3) {
2634 {
2635 arg4 = &temp4;
2636 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2637 }
2638 }
2639 if (obj4) {
2640 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2641 }
2642 {
2643 PyThreadState* __tstate = wxPyBeginAllowThreads();
2644 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
2645
2646 wxPyEndAllowThreads(__tstate);
2647 if (PyErr_Occurred()) SWIG_fail;
2648 }
2649 {
2650#if wxUSE_UNICODE
2651 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2652#else
2653 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2654#endif
2655 }
2656 {
2657 if (temp1)
2658 delete arg1;
2659 }
2660 {
2661 if (temp2)
2662 delete arg2;
2663 }
2664 return resultobj;
2665 fail:
2666 {
2667 if (temp1)
2668 delete arg1;
2669 }
2670 {
2671 if (temp2)
2672 delete arg2;
2673 }
2674 return NULL;
2675}
2676
2677
2678static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2679 PyObject *resultobj;
2680 wxString *arg1 = 0 ;
2681 wxString const &arg2_defvalue = wxPyEmptyString ;
2682 wxString *arg2 = (wxString *) &arg2_defvalue ;
2683 wxString const &arg3_defvalue = wxPyEmptyString ;
2684 wxString *arg3 = (wxString *) &arg3_defvalue ;
2685 wxWindow *arg4 = (wxWindow *) NULL ;
2686 int arg5 = (int) -1 ;
2687 int arg6 = (int) -1 ;
e811c8ce 2688 bool arg7 = (bool) True ;
d14a1e28 2689 wxString result;
e811c8ce
RD
2690 bool temp1 = False ;
2691 bool temp2 = False ;
2692 bool temp3 = False ;
d14a1e28
RD
2693 PyObject * obj0 = 0 ;
2694 PyObject * obj1 = 0 ;
2695 PyObject * obj2 = 0 ;
2696 PyObject * obj3 = 0 ;
2697 PyObject * obj6 = 0 ;
2698 char *kwnames[] = {
2699 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2700 };
2701
2702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOiiO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
2703 {
2704 arg1 = wxString_in_helper(obj0);
2705 if (arg1 == NULL) SWIG_fail;
e811c8ce 2706 temp1 = True;
d14a1e28
RD
2707 }
2708 if (obj1) {
2709 {
2710 arg2 = wxString_in_helper(obj1);
2711 if (arg2 == NULL) SWIG_fail;
e811c8ce 2712 temp2 = True;
d14a1e28
RD
2713 }
2714 }
2715 if (obj2) {
2716 {
2717 arg3 = wxString_in_helper(obj2);
2718 if (arg3 == NULL) SWIG_fail;
e811c8ce 2719 temp3 = True;
d14a1e28
RD
2720 }
2721 }
2722 if (obj3) {
2723 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2724 }
2725 if (obj6) {
2726 arg7 = PyInt_AsLong(obj6) ? true : false;
2727 if (PyErr_Occurred()) SWIG_fail;
2728 }
2729 {
2730 PyThreadState* __tstate = wxPyBeginAllowThreads();
2731 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
2732
2733 wxPyEndAllowThreads(__tstate);
2734 if (PyErr_Occurred()) SWIG_fail;
2735 }
2736 {
2737#if wxUSE_UNICODE
2738 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2739#else
2740 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2741#endif
2742 }
2743 {
2744 if (temp1)
2745 delete arg1;
2746 }
2747 {
2748 if (temp2)
2749 delete arg2;
2750 }
2751 {
2752 if (temp3)
2753 delete arg3;
2754 }
2755 return resultobj;
2756 fail:
2757 {
2758 if (temp1)
2759 delete arg1;
2760 }
2761 {
2762 if (temp2)
2763 delete arg2;
2764 }
2765 {
2766 if (temp3)
2767 delete arg3;
2768 }
2769 return NULL;
2770}
2771
2772
2773static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2774 PyObject *resultobj;
2775 wxString *arg1 = 0 ;
2776 wxString const &arg2_defvalue = wxPyEmptyString ;
2777 wxString *arg2 = (wxString *) &arg2_defvalue ;
2778 wxString const &arg3_defvalue = wxPyEmptyString ;
2779 wxString *arg3 = (wxString *) &arg3_defvalue ;
2780 wxWindow *arg4 = (wxWindow *) NULL ;
2781 wxString result;
e811c8ce
RD
2782 bool temp1 = False ;
2783 bool temp2 = False ;
2784 bool temp3 = False ;
d14a1e28
RD
2785 PyObject * obj0 = 0 ;
2786 PyObject * obj1 = 0 ;
2787 PyObject * obj2 = 0 ;
2788 PyObject * obj3 = 0 ;
2789 char *kwnames[] = {
2790 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
2791 };
2792
2793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2794 {
2795 arg1 = wxString_in_helper(obj0);
2796 if (arg1 == NULL) SWIG_fail;
e811c8ce 2797 temp1 = True;
d14a1e28
RD
2798 }
2799 if (obj1) {
2800 {
2801 arg2 = wxString_in_helper(obj1);
2802 if (arg2 == NULL) SWIG_fail;
e811c8ce 2803 temp2 = True;
d14a1e28
RD
2804 }
2805 }
2806 if (obj2) {
2807 {
2808 arg3 = wxString_in_helper(obj2);
2809 if (arg3 == NULL) SWIG_fail;
e811c8ce 2810 temp3 = True;
d14a1e28
RD
2811 }
2812 }
2813 if (obj3) {
2814 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2815 }
2816 {
2817 PyThreadState* __tstate = wxPyBeginAllowThreads();
2818 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2819
2820 wxPyEndAllowThreads(__tstate);
2821 if (PyErr_Occurred()) SWIG_fail;
2822 }
2823 {
2824#if wxUSE_UNICODE
2825 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2826#else
2827 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2828#endif
2829 }
2830 {
2831 if (temp1)
2832 delete arg1;
2833 }
2834 {
2835 if (temp2)
2836 delete arg2;
2837 }
2838 {
2839 if (temp3)
2840 delete arg3;
2841 }
2842 return resultobj;
2843 fail:
2844 {
2845 if (temp1)
2846 delete arg1;
2847 }
2848 {
2849 if (temp2)
2850 delete arg2;
2851 }
2852 {
2853 if (temp3)
2854 delete arg3;
2855 }
2856 return NULL;
2857}
2858
2859
2860static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2861 PyObject *resultobj;
2862 wxString *arg1 = 0 ;
2863 wxString *arg2 = 0 ;
2864 int arg3 ;
2865 wxString *arg4 = (wxString *) 0 ;
2866 wxWindow *arg5 = (wxWindow *) NULL ;
2867 int arg6 = (int) -1 ;
2868 int arg7 = (int) -1 ;
e811c8ce 2869 bool arg8 = (bool) True ;
d14a1e28
RD
2870 int arg9 = (int) 150 ;
2871 int arg10 = (int) 200 ;
2872 wxString result;
e811c8ce
RD
2873 bool temp1 = False ;
2874 bool temp2 = False ;
d14a1e28
RD
2875 PyObject * obj0 = 0 ;
2876 PyObject * obj1 = 0 ;
2877 PyObject * obj2 = 0 ;
2878 PyObject * obj3 = 0 ;
2879 PyObject * obj6 = 0 ;
2880 char *kwnames[] = {
2881 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2882 };
2883
2884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
2885 {
2886 arg1 = wxString_in_helper(obj0);
2887 if (arg1 == NULL) SWIG_fail;
e811c8ce 2888 temp1 = True;
d14a1e28
RD
2889 }
2890 {
2891 arg2 = wxString_in_helper(obj1);
2892 if (arg2 == NULL) SWIG_fail;
e811c8ce 2893 temp2 = True;
d14a1e28
RD
2894 }
2895 {
2896 arg3 = PyList_Size(obj2);
2897 arg4 = wxString_LIST_helper(obj2);
2898 if (arg4 == NULL) SWIG_fail;
2899 }
2900 if (obj3) {
2901 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2902 }
2903 if (obj6) {
2904 arg8 = PyInt_AsLong(obj6) ? true : false;
2905 if (PyErr_Occurred()) SWIG_fail;
2906 }
2907 {
2908 PyThreadState* __tstate = wxPyBeginAllowThreads();
2909 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
2910
2911 wxPyEndAllowThreads(__tstate);
2912 if (PyErr_Occurred()) SWIG_fail;
2913 }
2914 {
2915#if wxUSE_UNICODE
2916 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2917#else
2918 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2919#endif
2920 }
2921 {
2922 if (temp1)
2923 delete arg1;
2924 }
2925 {
2926 if (temp2)
2927 delete arg2;
2928 }
2929 {
2930 if (arg4) delete [] arg4;
2931 }
2932 return resultobj;
2933 fail:
2934 {
2935 if (temp1)
2936 delete arg1;
2937 }
2938 {
2939 if (temp2)
2940 delete arg2;
2941 }
2942 {
2943 if (arg4) delete [] arg4;
2944 }
2945 return NULL;
2946}
2947
2948
2949static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
2950 PyObject *resultobj;
2951 wxString *arg1 = 0 ;
2952 wxString *arg2 = 0 ;
2953 int arg3 ;
2954 wxString *arg4 = (wxString *) 0 ;
2955 wxWindow *arg5 = (wxWindow *) NULL ;
2956 int arg6 = (int) -1 ;
2957 int arg7 = (int) -1 ;
e811c8ce 2958 bool arg8 = (bool) True ;
d14a1e28
RD
2959 int arg9 = (int) 150 ;
2960 int arg10 = (int) 200 ;
2961 int result;
e811c8ce
RD
2962 bool temp1 = False ;
2963 bool temp2 = False ;
d14a1e28
RD
2964 PyObject * obj0 = 0 ;
2965 PyObject * obj1 = 0 ;
2966 PyObject * obj2 = 0 ;
2967 PyObject * obj3 = 0 ;
2968 PyObject * obj6 = 0 ;
2969 char *kwnames[] = {
2970 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2971 };
2972
2973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
2974 {
2975 arg1 = wxString_in_helper(obj0);
2976 if (arg1 == NULL) SWIG_fail;
e811c8ce 2977 temp1 = True;
d14a1e28
RD
2978 }
2979 {
2980 arg2 = wxString_in_helper(obj1);
2981 if (arg2 == NULL) SWIG_fail;
e811c8ce 2982 temp2 = True;
d14a1e28
RD
2983 }
2984 {
2985 arg3 = PyList_Size(obj2);
2986 arg4 = wxString_LIST_helper(obj2);
2987 if (arg4 == NULL) SWIG_fail;
2988 }
2989 if (obj3) {
2990 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2991 }
2992 if (obj6) {
2993 arg8 = PyInt_AsLong(obj6) ? true : false;
2994 if (PyErr_Occurred()) SWIG_fail;
2995 }
2996 {
2997 PyThreadState* __tstate = wxPyBeginAllowThreads();
2998 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
2999
3000 wxPyEndAllowThreads(__tstate);
3001 if (PyErr_Occurred()) SWIG_fail;
3002 }
3003 resultobj = PyInt_FromLong((long)result);
3004 {
3005 if (temp1)
3006 delete arg1;
3007 }
3008 {
3009 if (temp2)
3010 delete arg2;
3011 }
3012 {
3013 if (arg4) delete [] arg4;
3014 }
3015 return resultobj;
3016 fail:
3017 {
3018 if (temp1)
3019 delete arg1;
3020 }
3021 {
3022 if (temp2)
3023 delete arg2;
3024 }
3025 {
3026 if (arg4) delete [] arg4;
3027 }
3028 return NULL;
3029}
3030
3031
3032static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3033 PyObject *resultobj;
3034 wxString *arg1 = 0 ;
3035 wxString const &arg2_defvalue = wxPyEmptyString ;
3036 wxString *arg2 = (wxString *) &arg2_defvalue ;
3037 int arg3 = (int) wxOK|wxCENTRE ;
3038 wxWindow *arg4 = (wxWindow *) NULL ;
3039 int arg5 = (int) -1 ;
3040 int arg6 = (int) -1 ;
3041 int result;
e811c8ce
RD
3042 bool temp1 = False ;
3043 bool temp2 = False ;
d14a1e28
RD
3044 PyObject * obj0 = 0 ;
3045 PyObject * obj1 = 0 ;
3046 PyObject * obj3 = 0 ;
3047 char *kwnames[] = {
3048 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3049 };
3050
3051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OiOii:MessageBox",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5,&arg6)) goto fail;
3052 {
3053 arg1 = wxString_in_helper(obj0);
3054 if (arg1 == NULL) SWIG_fail;
e811c8ce 3055 temp1 = True;
d14a1e28
RD
3056 }
3057 if (obj1) {
3058 {
3059 arg2 = wxString_in_helper(obj1);
3060 if (arg2 == NULL) SWIG_fail;
e811c8ce 3061 temp2 = True;
d14a1e28
RD
3062 }
3063 }
3064 if (obj3) {
3065 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3066 }
3067 {
3068 PyThreadState* __tstate = wxPyBeginAllowThreads();
3069 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3070
3071 wxPyEndAllowThreads(__tstate);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 }
3074 resultobj = PyInt_FromLong((long)result);
3075 {
3076 if (temp1)
3077 delete arg1;
3078 }
3079 {
3080 if (temp2)
3081 delete arg2;
3082 }
3083 return resultobj;
3084 fail:
3085 {
3086 if (temp1)
3087 delete arg1;
3088 }
3089 {
3090 if (temp2)
3091 delete arg2;
3092 }
3093 return NULL;
3094}
3095
3096
3097static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3098 PyObject *resultobj;
3099 wxString *arg1 = 0 ;
3100 wxString *arg2 = 0 ;
3101 wxString *arg3 = 0 ;
3102 long arg4 ;
3103 long arg5 = (long) 0 ;
3104 long arg6 = (long) 100 ;
3105 wxWindow *arg7 = (wxWindow *) NULL ;
3106 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3107 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3108 long result;
e811c8ce
RD
3109 bool temp1 = False ;
3110 bool temp2 = False ;
3111 bool temp3 = False ;
d14a1e28
RD
3112 wxPoint temp8 ;
3113 PyObject * obj0 = 0 ;
3114 PyObject * obj1 = 0 ;
3115 PyObject * obj2 = 0 ;
3116 PyObject * obj6 = 0 ;
3117 PyObject * obj7 = 0 ;
3118 char *kwnames[] = {
3119 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3120 };
3121
3122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOl|llOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&obj6,&obj7)) goto fail;
3123 {
3124 arg1 = wxString_in_helper(obj0);
3125 if (arg1 == NULL) SWIG_fail;
e811c8ce 3126 temp1 = True;
d14a1e28
RD
3127 }
3128 {
3129 arg2 = wxString_in_helper(obj1);
3130 if (arg2 == NULL) SWIG_fail;
e811c8ce 3131 temp2 = True;
d14a1e28
RD
3132 }
3133 {
3134 arg3 = wxString_in_helper(obj2);
3135 if (arg3 == NULL) SWIG_fail;
e811c8ce 3136 temp3 = True;
d14a1e28
RD
3137 }
3138 if (obj6) {
3139 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3140 }
3141 if (obj7) {
3142 {
3143 arg8 = &temp8;
3144 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3145 }
3146 }
3147 {
3148 PyThreadState* __tstate = wxPyBeginAllowThreads();
3149 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3150
3151 wxPyEndAllowThreads(__tstate);
3152 if (PyErr_Occurred()) SWIG_fail;
3153 }
3154 resultobj = PyInt_FromLong((long)result);
3155 {
3156 if (temp1)
3157 delete arg1;
3158 }
3159 {
3160 if (temp2)
3161 delete arg2;
3162 }
3163 {
3164 if (temp3)
3165 delete arg3;
3166 }
3167 return resultobj;
3168 fail:
3169 {
3170 if (temp1)
3171 delete arg1;
3172 }
3173 {
3174 if (temp2)
3175 delete arg2;
3176 }
3177 {
3178 if (temp3)
3179 delete arg3;
3180 }
3181 return NULL;
3182}
3183
3184
3185static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3186 PyObject *resultobj;
3187 bool result;
3188 char *kwnames[] = {
3189 NULL
3190 };
3191
3192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3193 {
3194 PyThreadState* __tstate = wxPyBeginAllowThreads();
3195 result = (bool)wxColourDisplay();
3196
3197 wxPyEndAllowThreads(__tstate);
3198 if (PyErr_Occurred()) SWIG_fail;
3199 }
3200 resultobj = PyInt_FromLong((long)result);
3201 return resultobj;
3202 fail:
3203 return NULL;
3204}
3205
3206
3207static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3208 PyObject *resultobj;
3209 int result;
3210 char *kwnames[] = {
3211 NULL
3212 };
3213
3214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3215 {
3216 PyThreadState* __tstate = wxPyBeginAllowThreads();
3217 result = (int)wxDisplayDepth();
3218
3219 wxPyEndAllowThreads(__tstate);
3220 if (PyErr_Occurred()) SWIG_fail;
3221 }
3222 resultobj = PyInt_FromLong((long)result);
3223 return resultobj;
3224 fail:
3225 return NULL;
3226}
3227
3228
3229static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3230 PyObject *resultobj;
3231 int result;
3232 char *kwnames[] = {
3233 NULL
3234 };
3235
3236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3237 {
3238 PyThreadState* __tstate = wxPyBeginAllowThreads();
3239 result = (int)wxGetDisplayDepth();
3240
3241 wxPyEndAllowThreads(__tstate);
3242 if (PyErr_Occurred()) SWIG_fail;
3243 }
3244 resultobj = PyInt_FromLong((long)result);
3245 return resultobj;
3246 fail:
3247 return NULL;
3248}
3249
3250
3251static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3252 PyObject *resultobj;
3253 int *arg1 = (int *) 0 ;
3254 int *arg2 = (int *) 0 ;
3255 int temp1 ;
3256 int temp2 ;
3257 char *kwnames[] = {
3258 NULL
3259 };
3260
3261 arg1 = &temp1;
3262 arg2 = &temp2;
3263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3264 {
3265 PyThreadState* __tstate = wxPyBeginAllowThreads();
3266 wxDisplaySize(arg1,arg2);
3267
3268 wxPyEndAllowThreads(__tstate);
3269 if (PyErr_Occurred()) SWIG_fail;
3270 }
3271 Py_INCREF(Py_None); resultobj = Py_None;
3272 {
3273 PyObject *o = PyInt_FromLong((long) (*arg1));
3274 resultobj = t_output_helper(resultobj,o);
3275 }
3276 {
3277 PyObject *o = PyInt_FromLong((long) (*arg2));
3278 resultobj = t_output_helper(resultobj,o);
3279 }
3280 return resultobj;
3281 fail:
3282 return NULL;
3283}
3284
3285
3286static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3287 PyObject *resultobj;
3288 wxSize result;
3289 char *kwnames[] = {
3290 NULL
3291 };
3292
3293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3294 {
3295 PyThreadState* __tstate = wxPyBeginAllowThreads();
3296 result = wxGetDisplaySize();
3297
3298 wxPyEndAllowThreads(__tstate);
3299 if (PyErr_Occurred()) SWIG_fail;
3300 }
3301 {
3302 wxSize * resultptr;
3303 resultptr = new wxSize((wxSize &) result);
3304 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3305 }
3306 return resultobj;
3307 fail:
3308 return NULL;
3309}
3310
3311
3312static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3313 PyObject *resultobj;
3314 int *arg1 = (int *) 0 ;
3315 int *arg2 = (int *) 0 ;
3316 int temp1 ;
3317 int temp2 ;
3318 char *kwnames[] = {
3319 NULL
3320 };
3321
3322 arg1 = &temp1;
3323 arg2 = &temp2;
3324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3325 {
3326 PyThreadState* __tstate = wxPyBeginAllowThreads();
3327 wxDisplaySizeMM(arg1,arg2);
3328
3329 wxPyEndAllowThreads(__tstate);
3330 if (PyErr_Occurred()) SWIG_fail;
3331 }
3332 Py_INCREF(Py_None); resultobj = Py_None;
3333 {
3334 PyObject *o = PyInt_FromLong((long) (*arg1));
3335 resultobj = t_output_helper(resultobj,o);
3336 }
3337 {
3338 PyObject *o = PyInt_FromLong((long) (*arg2));
3339 resultobj = t_output_helper(resultobj,o);
3340 }
3341 return resultobj;
3342 fail:
3343 return NULL;
3344}
3345
3346
3347static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3348 PyObject *resultobj;
3349 wxSize result;
3350 char *kwnames[] = {
3351 NULL
3352 };
3353
3354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3355 {
3356 PyThreadState* __tstate = wxPyBeginAllowThreads();
3357 result = wxGetDisplaySizeMM();
3358
3359 wxPyEndAllowThreads(__tstate);
3360 if (PyErr_Occurred()) SWIG_fail;
3361 }
3362 {
3363 wxSize * resultptr;
3364 resultptr = new wxSize((wxSize &) result);
3365 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3366 }
3367 return resultobj;
3368 fail:
3369 return NULL;
3370}
3371
3372
3373static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3374 PyObject *resultobj;
3375 int *arg1 = (int *) 0 ;
3376 int *arg2 = (int *) 0 ;
3377 int *arg3 = (int *) 0 ;
3378 int *arg4 = (int *) 0 ;
3379 int temp1 ;
3380 int temp2 ;
3381 int temp3 ;
3382 int temp4 ;
3383 char *kwnames[] = {
3384 NULL
3385 };
3386
3387 arg1 = &temp1;
3388 arg2 = &temp2;
3389 arg3 = &temp3;
3390 arg4 = &temp4;
3391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3392 {
3393 PyThreadState* __tstate = wxPyBeginAllowThreads();
3394 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3395
3396 wxPyEndAllowThreads(__tstate);
3397 if (PyErr_Occurred()) SWIG_fail;
3398 }
3399 Py_INCREF(Py_None); resultobj = Py_None;
3400 {
3401 PyObject *o = PyInt_FromLong((long) (*arg1));
3402 resultobj = t_output_helper(resultobj,o);
3403 }
3404 {
3405 PyObject *o = PyInt_FromLong((long) (*arg2));
3406 resultobj = t_output_helper(resultobj,o);
3407 }
3408 {
3409 PyObject *o = PyInt_FromLong((long) (*arg3));
3410 resultobj = t_output_helper(resultobj,o);
3411 }
3412 {
3413 PyObject *o = PyInt_FromLong((long) (*arg4));
3414 resultobj = t_output_helper(resultobj,o);
3415 }
3416 return resultobj;
3417 fail:
3418 return NULL;
3419}
3420
3421
3422static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3423 PyObject *resultobj;
3424 wxRect result;
3425 char *kwnames[] = {
3426 NULL
3427 };
3428
3429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3430 {
3431 PyThreadState* __tstate = wxPyBeginAllowThreads();
3432 result = wxGetClientDisplayRect();
3433
3434 wxPyEndAllowThreads(__tstate);
3435 if (PyErr_Occurred()) SWIG_fail;
3436 }
3437 {
3438 wxRect * resultptr;
3439 resultptr = new wxRect((wxRect &) result);
3440 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3441 }
3442 return resultobj;
3443 fail:
3444 return NULL;
3445}
3446
3447
3448static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3449 PyObject *resultobj;
3450 wxCursor *arg1 = 0 ;
3451 PyObject * obj0 = 0 ;
3452 char *kwnames[] = {
3453 (char *) "cursor", NULL
3454 };
3455
3456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3458 if (arg1 == NULL) {
3459 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3460 }
3461 {
3462 PyThreadState* __tstate = wxPyBeginAllowThreads();
3463 wxSetCursor(*arg1);
3464
3465 wxPyEndAllowThreads(__tstate);
3466 if (PyErr_Occurred()) SWIG_fail;
3467 }
3468 Py_INCREF(Py_None); resultobj = Py_None;
3469 return resultobj;
3470 fail:
3471 return NULL;
3472}
3473
3474
3475static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3476 PyObject *resultobj;
3477 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3478 PyObject * obj0 = 0 ;
3479 char *kwnames[] = {
3480 (char *) "cursor", NULL
3481 };
3482
3483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3484 if (obj0) {
3485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3486 }
3487 {
3488 PyThreadState* __tstate = wxPyBeginAllowThreads();
3489 wxBeginBusyCursor(arg1);
3490
3491 wxPyEndAllowThreads(__tstate);
3492 if (PyErr_Occurred()) SWIG_fail;
3493 }
3494 Py_INCREF(Py_None); resultobj = Py_None;
3495 return resultobj;
3496 fail:
3497 return NULL;
3498}
3499
3500
3501static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3502 PyObject *resultobj;
3503 wxWindow *result;
3504 char *kwnames[] = {
3505 NULL
3506 };
3507
3508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
3509 {
3510 PyThreadState* __tstate = wxPyBeginAllowThreads();
3511 result = (wxWindow *)wxGetActiveWindow();
3512
3513 wxPyEndAllowThreads(__tstate);
3514 if (PyErr_Occurred()) SWIG_fail;
3515 }
3516 {
3517 resultobj = wxPyMake_wxObject(result);
3518 }
3519 return resultobj;
3520 fail:
3521 return NULL;
3522}
3523
3524
3525static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3526 PyObject *resultobj;
3527 wxPoint *arg1 = 0 ;
3528 wxWindow *result;
3529 wxPoint temp1 ;
3530 PyObject * obj0 = 0 ;
3531 char *kwnames[] = {
3532 (char *) "pt", NULL
3533 };
3534
3535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
3536 {
3537 arg1 = &temp1;
3538 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3539 }
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
3543
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 {
3548 resultobj = wxPyMake_wxObject(result);
3549 }
3550 return resultobj;
3551 fail:
3552 return NULL;
3553}
3554
3555
3556static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3557 PyObject *resultobj;
3558 wxPoint *arg1 = 0 ;
3559 wxWindow *result;
3560 wxPoint temp1 ;
3561 PyObject * obj0 = 0 ;
3562 char *kwnames[] = {
3563 (char *) "pt", NULL
3564 };
3565
3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
3567 {
3568 arg1 = &temp1;
3569 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3570 }
3571 {
3572 PyThreadState* __tstate = wxPyBeginAllowThreads();
3573 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
3574
3575 wxPyEndAllowThreads(__tstate);
3576 if (PyErr_Occurred()) SWIG_fail;
3577 }
3578 {
3579 resultobj = wxPyMake_wxObject(result);
3580 }
3581 return resultobj;
3582 fail:
3583 return NULL;
3584}
3585
3586
3587static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3588 PyObject *resultobj;
3589 wxWindow *arg1 = (wxWindow *) 0 ;
3590 wxWindow *result;
3591 PyObject * obj0 = 0 ;
3592 char *kwnames[] = {
3593 (char *) "win", NULL
3594 };
3595
3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
3597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3598 {
3599 PyThreadState* __tstate = wxPyBeginAllowThreads();
3600 result = (wxWindow *)wxGetTopLevelParent(arg1);
3601
3602 wxPyEndAllowThreads(__tstate);
3603 if (PyErr_Occurred()) SWIG_fail;
3604 }
3605 {
3606 resultobj = wxPyMake_wxObject(result);
3607 }
3608 return resultobj;
3609 fail:
3610 return NULL;
3611}
3612
3613
3614static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
3615 PyObject *resultobj;
3616 char *kwnames[] = {
3617 NULL
3618 };
3619
3620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
3621 {
3622 PyThreadState* __tstate = wxPyBeginAllowThreads();
3623 wxWakeUpMainThread();
3624
3625 wxPyEndAllowThreads(__tstate);
3626 if (PyErr_Occurred()) SWIG_fail;
3627 }
3628 Py_INCREF(Py_None); resultobj = Py_None;
3629 return resultobj;
3630 fail:
3631 return NULL;
3632}
3633
3634
3635static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
3636 PyObject *resultobj;
3637 char *kwnames[] = {
3638 NULL
3639 };
3640
3641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
3642 {
3643 PyThreadState* __tstate = wxPyBeginAllowThreads();
3644 wxMutexGuiEnter();
3645
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) SWIG_fail;
3648 }
3649 Py_INCREF(Py_None); resultobj = Py_None;
3650 return resultobj;
3651 fail:
3652 return NULL;
3653}
3654
3655
3656static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
3657 PyObject *resultobj;
3658 char *kwnames[] = {
3659 NULL
3660 };
3661
3662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
3663 {
3664 PyThreadState* __tstate = wxPyBeginAllowThreads();
3665 wxMutexGuiLeave();
3666
3667 wxPyEndAllowThreads(__tstate);
3668 if (PyErr_Occurred()) SWIG_fail;
3669 }
3670 Py_INCREF(Py_None); resultobj = Py_None;
3671 return resultobj;
3672 fail:
3673 return NULL;
3674}
3675
3676
3677static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3678 PyObject *resultobj;
3679 wxMutexGuiLocker *result;
3680 char *kwnames[] = {
3681 NULL
3682 };
3683
3684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
3685 {
3686 PyThreadState* __tstate = wxPyBeginAllowThreads();
3687 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
3688
3689 wxPyEndAllowThreads(__tstate);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 }
3692 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMutexGuiLocker, 1);
3693 return resultobj;
3694 fail:
3695 return NULL;
3696}
3697
3698
3699static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3700 PyObject *resultobj;
3701 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
3702 PyObject * obj0 = 0 ;
3703 char *kwnames[] = {
3704 (char *) "self", NULL
3705 };
3706
3707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
3708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMutexGuiLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3709 {
3710 PyThreadState* __tstate = wxPyBeginAllowThreads();
3711 delete arg1;
3712
3713 wxPyEndAllowThreads(__tstate);
3714 if (PyErr_Occurred()) SWIG_fail;
3715 }
3716 Py_INCREF(Py_None); resultobj = Py_None;
3717 return resultobj;
3718 fail:
3719 return NULL;
3720}
3721
3722
3723static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
3724 PyObject *obj;
3725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3726 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
3727 Py_INCREF(obj);
3728 return Py_BuildValue((char *)"");
3729}
3730static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
3731 PyObject *resultobj;
3732 bool result;
3733 char *kwnames[] = {
3734 NULL
3735 };
3736
3737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
3738 {
3739 PyThreadState* __tstate = wxPyBeginAllowThreads();
3740 result = (bool)wxThread_IsMain();
3741
3742 wxPyEndAllowThreads(__tstate);
3743 if (PyErr_Occurred()) SWIG_fail;
3744 }
3745 resultobj = PyInt_FromLong((long)result);
3746 return resultobj;
3747 fail:
3748 return NULL;
3749}
3750
3751
3752static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3753 PyObject *resultobj;
3754 wxString *arg1 = 0 ;
3755 wxToolTip *result;
e811c8ce 3756 bool temp1 = False ;
d14a1e28
RD
3757 PyObject * obj0 = 0 ;
3758 char *kwnames[] = {
3759 (char *) "tip", NULL
3760 };
3761
3762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
3763 {
3764 arg1 = wxString_in_helper(obj0);
3765 if (arg1 == NULL) SWIG_fail;
e811c8ce 3766 temp1 = True;
d14a1e28
RD
3767 }
3768 {
3769 PyThreadState* __tstate = wxPyBeginAllowThreads();
3770 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
3771
3772 wxPyEndAllowThreads(__tstate);
3773 if (PyErr_Occurred()) SWIG_fail;
3774 }
3775 {
3776 resultobj = wxPyMake_wxObject(result);
3777 }
3778 {
3779 if (temp1)
3780 delete arg1;
3781 }
3782 return resultobj;
3783 fail:
3784 {
3785 if (temp1)
3786 delete arg1;
3787 }
3788 return NULL;
3789}
3790
3791
3792static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3793 PyObject *resultobj;
3794 wxToolTip *arg1 = (wxToolTip *) 0 ;
3795 wxString *arg2 = 0 ;
e811c8ce 3796 bool temp2 = False ;
d14a1e28
RD
3797 PyObject * obj0 = 0 ;
3798 PyObject * obj1 = 0 ;
3799 char *kwnames[] = {
3800 (char *) "self",(char *) "tip", NULL
3801 };
3802
3803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
3804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3805 {
3806 arg2 = wxString_in_helper(obj1);
3807 if (arg2 == NULL) SWIG_fail;
e811c8ce 3808 temp2 = True;
d14a1e28
RD
3809 }
3810 {
3811 PyThreadState* __tstate = wxPyBeginAllowThreads();
3812 (arg1)->SetTip((wxString const &)*arg2);
3813
3814 wxPyEndAllowThreads(__tstate);
3815 if (PyErr_Occurred()) SWIG_fail;
3816 }
3817 Py_INCREF(Py_None); resultobj = Py_None;
3818 {
3819 if (temp2)
3820 delete arg2;
3821 }
3822 return resultobj;
3823 fail:
3824 {
3825 if (temp2)
3826 delete arg2;
3827 }
3828 return NULL;
3829}
3830
3831
3832static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3833 PyObject *resultobj;
3834 wxToolTip *arg1 = (wxToolTip *) 0 ;
3835 wxString result;
3836 PyObject * obj0 = 0 ;
3837 char *kwnames[] = {
3838 (char *) "self", NULL
3839 };
3840
3841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
3842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3843 {
3844 PyThreadState* __tstate = wxPyBeginAllowThreads();
3845 result = (arg1)->GetTip();
3846
3847 wxPyEndAllowThreads(__tstate);
3848 if (PyErr_Occurred()) SWIG_fail;
3849 }
3850 {
3851#if wxUSE_UNICODE
3852 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3853#else
3854 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3855#endif
3856 }
3857 return resultobj;
3858 fail:
3859 return NULL;
3860}
3861
3862
3863static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3864 PyObject *resultobj;
3865 wxToolTip *arg1 = (wxToolTip *) 0 ;
3866 wxWindow *result;
3867 PyObject * obj0 = 0 ;
3868 char *kwnames[] = {
3869 (char *) "self", NULL
3870 };
3871
3872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
3873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3874 {
3875 PyThreadState* __tstate = wxPyBeginAllowThreads();
3876 result = (wxWindow *)(arg1)->GetWindow();
3877
3878 wxPyEndAllowThreads(__tstate);
3879 if (PyErr_Occurred()) SWIG_fail;
3880 }
3881 {
3882 resultobj = wxPyMake_wxObject(result);
3883 }
3884 return resultobj;
3885 fail:
3886 return NULL;
3887}
3888
3889
3890static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
3891 PyObject *resultobj;
3892 bool arg1 ;
3893 PyObject * obj0 = 0 ;
3894 char *kwnames[] = {
3895 (char *) "flag", NULL
3896 };
3897
3898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
3899 arg1 = PyInt_AsLong(obj0) ? true : false;
3900 if (PyErr_Occurred()) SWIG_fail;
3901 {
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 wxToolTip::Enable(arg1);
3904
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) SWIG_fail;
3907 }
3908 Py_INCREF(Py_None); resultobj = Py_None;
3909 return resultobj;
3910 fail:
3911 return NULL;
3912}
3913
3914
3915static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
3916 PyObject *resultobj;
3917 long arg1 ;
3918 char *kwnames[] = {
3919 (char *) "milliseconds", NULL
3920 };
3921
3922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:ToolTip_SetDelay",kwnames,&arg1)) goto fail;
3923 {
3924 PyThreadState* __tstate = wxPyBeginAllowThreads();
3925 wxToolTip::SetDelay(arg1);
3926
3927 wxPyEndAllowThreads(__tstate);
3928 if (PyErr_Occurred()) SWIG_fail;
3929 }
3930 Py_INCREF(Py_None); resultobj = Py_None;
3931 return resultobj;
3932 fail:
3933 return NULL;
3934}
3935
3936
3937static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
3938 PyObject *obj;
3939 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3940 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
3941 Py_INCREF(obj);
3942 return Py_BuildValue((char *)"");
3943}
3944static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
3945 PyObject *resultobj;
3946 wxWindow *arg1 = (wxWindow *) 0 ;
3947 wxSize *arg2 = 0 ;
3948 wxCaret *result;
3949 wxSize temp2 ;
3950 PyObject * obj0 = 0 ;
3951 PyObject * obj1 = 0 ;
3952 char *kwnames[] = {
3953 (char *) "window",(char *) "size", NULL
3954 };
3955
3956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
3957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3958 {
3959 arg2 = &temp2;
3960 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3961 }
3962 {
3963 PyThreadState* __tstate = wxPyBeginAllowThreads();
3964 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
3965
3966 wxPyEndAllowThreads(__tstate);
3967 if (PyErr_Occurred()) SWIG_fail;
3968 }
3969 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 1);
3970 return resultobj;
3971 fail:
3972 return NULL;
3973}
3974
3975
3976static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
3977 PyObject *resultobj;
3978 wxCaret *arg1 = (wxCaret *) 0 ;
3979 PyObject * obj0 = 0 ;
3980 char *kwnames[] = {
3981 (char *) "self", NULL
3982 };
3983
3984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
3985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3986 {
3987 PyThreadState* __tstate = wxPyBeginAllowThreads();
3988 delete arg1;
3989
3990 wxPyEndAllowThreads(__tstate);
3991 if (PyErr_Occurred()) SWIG_fail;
3992 }
3993 Py_INCREF(Py_None); resultobj = Py_None;
3994 return resultobj;
3995 fail:
3996 return NULL;
3997}
3998
3999
4000static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4001 PyObject *resultobj;
4002 wxCaret *arg1 = (wxCaret *) 0 ;
4003 bool result;
4004 PyObject * obj0 = 0 ;
4005 char *kwnames[] = {
4006 (char *) "self", NULL
4007 };
4008
4009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4011 {
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 result = (bool)(arg1)->IsOk();
4014
4015 wxPyEndAllowThreads(__tstate);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 }
4018 resultobj = PyInt_FromLong((long)result);
4019 return resultobj;
4020 fail:
4021 return NULL;
4022}
4023
4024
4025static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4026 PyObject *resultobj;
4027 wxCaret *arg1 = (wxCaret *) 0 ;
4028 bool result;
4029 PyObject * obj0 = 0 ;
4030 char *kwnames[] = {
4031 (char *) "self", NULL
4032 };
4033
4034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4036 {
4037 PyThreadState* __tstate = wxPyBeginAllowThreads();
4038 result = (bool)(arg1)->IsVisible();
4039
4040 wxPyEndAllowThreads(__tstate);
4041 if (PyErr_Occurred()) SWIG_fail;
4042 }
4043 resultobj = PyInt_FromLong((long)result);
4044 return resultobj;
4045 fail:
4046 return NULL;
4047}
4048
4049
322913ce
RD
4050static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4051 PyObject *resultobj;
4052 wxCaret *arg1 = (wxCaret *) 0 ;
4053 wxPoint result;
4054 PyObject * obj0 = 0 ;
4055 char *kwnames[] = {
4056 (char *) "self", NULL
4057 };
4058
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4061 {
4062 PyThreadState* __tstate = wxPyBeginAllowThreads();
4063 result = (arg1)->GetPosition();
4064
4065 wxPyEndAllowThreads(__tstate);
4066 if (PyErr_Occurred()) SWIG_fail;
4067 }
4068 {
4069 wxPoint * resultptr;
4070 resultptr = new wxPoint((wxPoint &) result);
4071 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4072 }
4073 return resultobj;
4074 fail:
4075 return NULL;
4076}
4077
4078
d14a1e28
RD
4079static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4080 PyObject *resultobj;
4081 wxCaret *arg1 = (wxCaret *) 0 ;
4082 int *arg2 = (int *) 0 ;
4083 int *arg3 = (int *) 0 ;
4084 int temp2 ;
4085 int temp3 ;
4086 PyObject * obj0 = 0 ;
4087 char *kwnames[] = {
4088 (char *) "self", NULL
4089 };
4090
4091 arg2 = &temp2;
4092 arg3 = &temp3;
4093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4095 {
4096 PyThreadState* __tstate = wxPyBeginAllowThreads();
4097 (arg1)->GetPosition(arg2,arg3);
4098
4099 wxPyEndAllowThreads(__tstate);
4100 if (PyErr_Occurred()) SWIG_fail;
4101 }
4102 Py_INCREF(Py_None); resultobj = Py_None;
4103 {
4104 PyObject *o = PyInt_FromLong((long) (*arg2));
4105 resultobj = t_output_helper(resultobj,o);
4106 }
4107 {
4108 PyObject *o = PyInt_FromLong((long) (*arg3));
4109 resultobj = t_output_helper(resultobj,o);
4110 }
4111 return resultobj;
4112 fail:
4113 return NULL;
4114}
4115
4116
322913ce 4117static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4118 PyObject *resultobj;
4119 wxCaret *arg1 = (wxCaret *) 0 ;
322913ce 4120 wxSize result;
d14a1e28
RD
4121 PyObject * obj0 = 0 ;
4122 char *kwnames[] = {
4123 (char *) "self", NULL
4124 };
4125
322913ce 4126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
d14a1e28
RD
4127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4128 {
4129 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 4130 result = (arg1)->GetSize();
d14a1e28
RD
4131
4132 wxPyEndAllowThreads(__tstate);
4133 if (PyErr_Occurred()) SWIG_fail;
4134 }
4135 {
322913ce
RD
4136 wxSize * resultptr;
4137 resultptr = new wxSize((wxSize &) result);
4138 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
4139 }
4140 return resultobj;
4141 fail:
4142 return NULL;
4143}
4144
4145
4146static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4147 PyObject *resultobj;
4148 wxCaret *arg1 = (wxCaret *) 0 ;
4149 int *arg2 = (int *) 0 ;
4150 int *arg3 = (int *) 0 ;
4151 int temp2 ;
4152 int temp3 ;
4153 PyObject * obj0 = 0 ;
4154 char *kwnames[] = {
4155 (char *) "self", NULL
4156 };
4157
4158 arg2 = &temp2;
4159 arg3 = &temp3;
4160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4162 {
4163 PyThreadState* __tstate = wxPyBeginAllowThreads();
4164 (arg1)->GetSize(arg2,arg3);
4165
4166 wxPyEndAllowThreads(__tstate);
4167 if (PyErr_Occurred()) SWIG_fail;
4168 }
4169 Py_INCREF(Py_None); resultobj = Py_None;
4170 {
4171 PyObject *o = PyInt_FromLong((long) (*arg2));
4172 resultobj = t_output_helper(resultobj,o);
4173 }
4174 {
4175 PyObject *o = PyInt_FromLong((long) (*arg3));
4176 resultobj = t_output_helper(resultobj,o);
4177 }
4178 return resultobj;
4179 fail:
4180 return NULL;
4181}
4182
4183
d14a1e28
RD
4184static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4185 PyObject *resultobj;
4186 wxCaret *arg1 = (wxCaret *) 0 ;
4187 wxWindow *result;
4188 PyObject * obj0 = 0 ;
4189 char *kwnames[] = {
4190 (char *) "self", NULL
4191 };
4192
4193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4195 {
4196 PyThreadState* __tstate = wxPyBeginAllowThreads();
4197 result = (wxWindow *)(arg1)->GetWindow();
4198
4199 wxPyEndAllowThreads(__tstate);
4200 if (PyErr_Occurred()) SWIG_fail;
4201 }
4202 {
4203 resultobj = wxPyMake_wxObject(result);
4204 }
4205 return resultobj;
4206 fail:
4207 return NULL;
4208}
4209
4210
4211static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4212 PyObject *resultobj;
4213 wxCaret *arg1 = (wxCaret *) 0 ;
4214 int arg2 ;
4215 int arg3 ;
4216 PyObject * obj0 = 0 ;
4217 char *kwnames[] = {
4218 (char *) "self",(char *) "x",(char *) "y", NULL
4219 };
4220
4221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_MoveXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
4222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4223 {
4224 PyThreadState* __tstate = wxPyBeginAllowThreads();
4225 (arg1)->Move(arg2,arg3);
4226
4227 wxPyEndAllowThreads(__tstate);
4228 if (PyErr_Occurred()) SWIG_fail;
4229 }
4230 Py_INCREF(Py_None); resultobj = Py_None;
4231 return resultobj;
4232 fail:
4233 return NULL;
4234}
4235
4236
4237static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4238 PyObject *resultobj;
4239 wxCaret *arg1 = (wxCaret *) 0 ;
4240 wxPoint *arg2 = 0 ;
4241 wxPoint temp2 ;
4242 PyObject * obj0 = 0 ;
4243 PyObject * obj1 = 0 ;
4244 char *kwnames[] = {
4245 (char *) "self",(char *) "pt", NULL
4246 };
4247
4248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4250 {
4251 arg2 = &temp2;
4252 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4253 }
4254 {
4255 PyThreadState* __tstate = wxPyBeginAllowThreads();
4256 (arg1)->Move((wxPoint const &)*arg2);
4257
4258 wxPyEndAllowThreads(__tstate);
4259 if (PyErr_Occurred()) SWIG_fail;
4260 }
4261 Py_INCREF(Py_None); resultobj = Py_None;
4262 return resultobj;
4263 fail:
4264 return NULL;
4265}
4266
4267
4268static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4269 PyObject *resultobj;
4270 wxCaret *arg1 = (wxCaret *) 0 ;
4271 int arg2 ;
4272 int arg3 ;
4273 PyObject * obj0 = 0 ;
4274 char *kwnames[] = {
4275 (char *) "self",(char *) "width",(char *) "height", NULL
4276 };
4277
4278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
4279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4280 {
4281 PyThreadState* __tstate = wxPyBeginAllowThreads();
4282 (arg1)->SetSize(arg2,arg3);
4283
4284 wxPyEndAllowThreads(__tstate);
4285 if (PyErr_Occurred()) SWIG_fail;
4286 }
4287 Py_INCREF(Py_None); resultobj = Py_None;
4288 return resultobj;
4289 fail:
4290 return NULL;
4291}
4292
4293
4294static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4295 PyObject *resultobj;
4296 wxCaret *arg1 = (wxCaret *) 0 ;
4297 wxSize *arg2 = 0 ;
4298 wxSize temp2 ;
4299 PyObject * obj0 = 0 ;
4300 PyObject * obj1 = 0 ;
4301 char *kwnames[] = {
4302 (char *) "self",(char *) "size", NULL
4303 };
4304
4305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4307 {
4308 arg2 = &temp2;
4309 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4310 }
4311 {
4312 PyThreadState* __tstate = wxPyBeginAllowThreads();
4313 (arg1)->SetSize((wxSize const &)*arg2);
4314
4315 wxPyEndAllowThreads(__tstate);
4316 if (PyErr_Occurred()) SWIG_fail;
4317 }
4318 Py_INCREF(Py_None); resultobj = Py_None;
4319 return resultobj;
4320 fail:
4321 return NULL;
4322}
4323
4324
4325static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4326 PyObject *resultobj;
4327 wxCaret *arg1 = (wxCaret *) 0 ;
e811c8ce 4328 int arg2 = (int) True ;
d14a1e28
RD
4329 PyObject * obj0 = 0 ;
4330 char *kwnames[] = {
4331 (char *) "self",(char *) "show", NULL
4332 };
4333
4334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Caret_Show",kwnames,&obj0,&arg2)) goto fail;
4335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4336 {
4337 PyThreadState* __tstate = wxPyBeginAllowThreads();
4338 (arg1)->Show(arg2);
4339
4340 wxPyEndAllowThreads(__tstate);
4341 if (PyErr_Occurred()) SWIG_fail;
4342 }
4343 Py_INCREF(Py_None); resultobj = Py_None;
4344 return resultobj;
4345 fail:
4346 return NULL;
4347}
4348
4349
4350static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4351 PyObject *resultobj;
4352 wxCaret *arg1 = (wxCaret *) 0 ;
4353 PyObject * obj0 = 0 ;
4354 char *kwnames[] = {
4355 (char *) "self", NULL
4356 };
4357
4358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4360 {
4361 PyThreadState* __tstate = wxPyBeginAllowThreads();
4362 (arg1)->Hide();
4363
4364 wxPyEndAllowThreads(__tstate);
4365 if (PyErr_Occurred()) SWIG_fail;
4366 }
4367 Py_INCREF(Py_None); resultobj = Py_None;
4368 return resultobj;
4369 fail:
4370 return NULL;
4371}
4372
4373
4374static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4375 PyObject *obj;
4376 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4377 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4378 Py_INCREF(obj);
4379 return Py_BuildValue((char *)"");
4380}
4381static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4382 PyObject *resultobj;
4383 int result;
4384 char *kwnames[] = {
4385 NULL
4386 };
4387
4388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4389 {
4390 PyThreadState* __tstate = wxPyBeginAllowThreads();
4391 result = (int)wxCaret_GetBlinkTime();
4392
4393 wxPyEndAllowThreads(__tstate);
4394 if (PyErr_Occurred()) SWIG_fail;
4395 }
4396 resultobj = PyInt_FromLong((long)result);
4397 return resultobj;
4398 fail:
4399 return NULL;
4400}
4401
4402
4403static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4404 PyObject *resultobj;
4405 int arg1 ;
4406 char *kwnames[] = {
4407 (char *) "milliseconds", NULL
4408 };
4409
4410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Caret_SetBlinkTime",kwnames,&arg1)) goto fail;
4411 {
4412 PyThreadState* __tstate = wxPyBeginAllowThreads();
4413 wxCaret_SetBlinkTime(arg1);
4414
4415 wxPyEndAllowThreads(__tstate);
4416 if (PyErr_Occurred()) SWIG_fail;
4417 }
4418 Py_INCREF(Py_None); resultobj = Py_None;
4419 return resultobj;
4420 fail:
4421 return NULL;
4422}
4423
4424
4425static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4426 PyObject *resultobj;
4427 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4428 wxBusyCursor *result;
4429 PyObject * obj0 = 0 ;
4430 char *kwnames[] = {
4431 (char *) "cursor", NULL
4432 };
4433
4434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
4435 if (obj0) {
4436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4437 }
4438 {
4439 PyThreadState* __tstate = wxPyBeginAllowThreads();
4440 result = (wxBusyCursor *)new wxBusyCursor(arg1);
4441
4442 wxPyEndAllowThreads(__tstate);
4443 if (PyErr_Occurred()) SWIG_fail;
4444 }
4445 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyCursor, 1);
4446 return resultobj;
4447 fail:
4448 return NULL;
4449}
4450
4451
4452static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4453 PyObject *resultobj;
4454 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
4455 PyObject * obj0 = 0 ;
4456 char *kwnames[] = {
4457 (char *) "self", NULL
4458 };
4459
4460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
4461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4462 {
4463 PyThreadState* __tstate = wxPyBeginAllowThreads();
4464 delete arg1;
4465
4466 wxPyEndAllowThreads(__tstate);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
4469 Py_INCREF(Py_None); resultobj = Py_None;
4470 return resultobj;
4471 fail:
4472 return NULL;
4473}
4474
4475
4476static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
4477 PyObject *obj;
4478 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4479 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
4480 Py_INCREF(obj);
4481 return Py_BuildValue((char *)"");
4482}
4483static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4484 PyObject *resultobj;
4485 wxWindow *arg1 = (wxWindow *) NULL ;
4486 wxWindowDisabler *result;
4487 PyObject * obj0 = 0 ;
4488 char *kwnames[] = {
4489 (char *) "winToSkip", NULL
4490 };
4491
4492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
4493 if (obj0) {
4494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4495 }
4496 {
4497 PyThreadState* __tstate = wxPyBeginAllowThreads();
4498 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
4499
4500 wxPyEndAllowThreads(__tstate);
4501 if (PyErr_Occurred()) SWIG_fail;
4502 }
4503 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDisabler, 1);
4504 return resultobj;
4505 fail:
4506 return NULL;
4507}
4508
4509
4510static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4511 PyObject *resultobj;
4512 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
4513 PyObject * obj0 = 0 ;
4514 char *kwnames[] = {
4515 (char *) "self", NULL
4516 };
4517
4518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
4519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4520 {
4521 PyThreadState* __tstate = wxPyBeginAllowThreads();
4522 delete arg1;
4523
4524 wxPyEndAllowThreads(__tstate);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 }
4527 Py_INCREF(Py_None); resultobj = Py_None;
4528 return resultobj;
4529 fail:
4530 return NULL;
4531}
4532
4533
4534static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
4535 PyObject *obj;
4536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4537 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
4538 Py_INCREF(obj);
4539 return Py_BuildValue((char *)"");
4540}
4541static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4542 PyObject *resultobj;
4543 wxString *arg1 = 0 ;
4544 wxBusyInfo *result;
e811c8ce 4545 bool temp1 = False ;
d14a1e28
RD
4546 PyObject * obj0 = 0 ;
4547 char *kwnames[] = {
4548 (char *) "message", NULL
4549 };
4550
4551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
4552 {
4553 arg1 = wxString_in_helper(obj0);
4554 if (arg1 == NULL) SWIG_fail;
e811c8ce 4555 temp1 = True;
d14a1e28
RD
4556 }
4557 {
4558 PyThreadState* __tstate = wxPyBeginAllowThreads();
4559 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
4560
4561 wxPyEndAllowThreads(__tstate);
4562 if (PyErr_Occurred()) SWIG_fail;
4563 }
4564 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyInfo, 1);
4565 {
4566 if (temp1)
4567 delete arg1;
4568 }
4569 return resultobj;
4570 fail:
4571 {
4572 if (temp1)
4573 delete arg1;
4574 }
4575 return NULL;
4576}
4577
4578
4579static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4580 PyObject *resultobj;
4581 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
4582 PyObject * obj0 = 0 ;
4583 char *kwnames[] = {
4584 (char *) "self", NULL
4585 };
4586
4587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
4588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4589 {
4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
4591 delete arg1;
4592
4593 wxPyEndAllowThreads(__tstate);
4594 if (PyErr_Occurred()) SWIG_fail;
4595 }
4596 Py_INCREF(Py_None); resultobj = Py_None;
4597 return resultobj;
4598 fail:
4599 return NULL;
4600}
4601
4602
4603static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
4604 PyObject *obj;
4605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4606 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
4607 Py_INCREF(obj);
4608 return Py_BuildValue((char *)"");
4609}
4610static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
4611 PyObject *resultobj;
4612 wxStopWatch *result;
4613 char *kwnames[] = {
4614 NULL
4615 };
4616
4617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
4618 {
4619 PyThreadState* __tstate = wxPyBeginAllowThreads();
4620 result = (wxStopWatch *)new wxStopWatch();
4621
4622 wxPyEndAllowThreads(__tstate);
4623 if (PyErr_Occurred()) SWIG_fail;
4624 }
4625 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStopWatch, 1);
4626 return resultobj;
4627 fail:
4628 return NULL;
4629}
4630
4631
4632static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
4633 PyObject *resultobj;
4634 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4635 long arg2 = (long) 0 ;
4636 PyObject * obj0 = 0 ;
4637 char *kwnames[] = {
4638 (char *) "self",(char *) "t0", NULL
4639 };
4640
4641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:StopWatch_Start",kwnames,&obj0,&arg2)) goto fail;
4642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4643 {
4644 PyThreadState* __tstate = wxPyBeginAllowThreads();
4645 (arg1)->Start(arg2);
4646
4647 wxPyEndAllowThreads(__tstate);
4648 if (PyErr_Occurred()) SWIG_fail;
4649 }
4650 Py_INCREF(Py_None); resultobj = Py_None;
4651 return resultobj;
4652 fail:
4653 return NULL;
4654}
4655
4656
4657static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
4658 PyObject *resultobj;
4659 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4660 PyObject * obj0 = 0 ;
4661 char *kwnames[] = {
4662 (char *) "self", NULL
4663 };
4664
4665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
4666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4667 {
4668 PyThreadState* __tstate = wxPyBeginAllowThreads();
4669 (arg1)->Pause();
4670
4671 wxPyEndAllowThreads(__tstate);
4672 if (PyErr_Occurred()) SWIG_fail;
4673 }
4674 Py_INCREF(Py_None); resultobj = Py_None;
4675 return resultobj;
4676 fail:
4677 return NULL;
4678}
4679
4680
4681static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
4682 PyObject *resultobj;
4683 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4684 PyObject * obj0 = 0 ;
4685 char *kwnames[] = {
4686 (char *) "self", NULL
4687 };
4688
4689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
4690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4691 {
4692 PyThreadState* __tstate = wxPyBeginAllowThreads();
4693 (arg1)->Resume();
4694
4695 wxPyEndAllowThreads(__tstate);
4696 if (PyErr_Occurred()) SWIG_fail;
4697 }
4698 Py_INCREF(Py_None); resultobj = Py_None;
4699 return resultobj;
4700 fail:
4701 return NULL;
4702}
4703
4704
4705static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
4706 PyObject *resultobj;
4707 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4708 long result;
4709 PyObject * obj0 = 0 ;
4710 char *kwnames[] = {
4711 (char *) "self", NULL
4712 };
4713
4714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
4715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4716 {
4717 PyThreadState* __tstate = wxPyBeginAllowThreads();
4718 result = (long)((wxStopWatch const *)arg1)->Time();
4719
4720 wxPyEndAllowThreads(__tstate);
4721 if (PyErr_Occurred()) SWIG_fail;
4722 }
4723 resultobj = PyInt_FromLong((long)result);
4724 return resultobj;
4725 fail:
4726 return NULL;
4727}
4728
4729
4730static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
4731 PyObject *obj;
4732 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4733 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
4734 Py_INCREF(obj);
4735 return Py_BuildValue((char *)"");
4736}
4737static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4738 PyObject *resultobj;
4739 int arg1 = (int) 9 ;
4740 wxFileHistory *result;
4741 char *kwnames[] = {
4742 (char *) "maxFiles", NULL
4743 };
4744
4745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FileHistory",kwnames,&arg1)) goto fail;
4746 {
4747 PyThreadState* __tstate = wxPyBeginAllowThreads();
4748 result = (wxFileHistory *)new wxFileHistory(arg1);
4749
4750 wxPyEndAllowThreads(__tstate);
4751 if (PyErr_Occurred()) SWIG_fail;
4752 }
4753 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileHistory, 1);
4754 return resultobj;
4755 fail:
4756 return NULL;
4757}
4758
4759
4760static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4761 PyObject *resultobj;
4762 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4763 PyObject * obj0 = 0 ;
4764 char *kwnames[] = {
4765 (char *) "self", NULL
4766 };
4767
4768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
4769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4770 {
4771 PyThreadState* __tstate = wxPyBeginAllowThreads();
4772 delete arg1;
4773
4774 wxPyEndAllowThreads(__tstate);
4775 if (PyErr_Occurred()) SWIG_fail;
4776 }
4777 Py_INCREF(Py_None); resultobj = Py_None;
4778 return resultobj;
4779 fail:
4780 return NULL;
4781}
4782
4783
4784static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4785 PyObject *resultobj;
4786 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4787 wxString *arg2 = 0 ;
e811c8ce 4788 bool temp2 = False ;
d14a1e28
RD
4789 PyObject * obj0 = 0 ;
4790 PyObject * obj1 = 0 ;
4791 char *kwnames[] = {
4792 (char *) "self",(char *) "file", NULL
4793 };
4794
4795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
4796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4797 {
4798 arg2 = wxString_in_helper(obj1);
4799 if (arg2 == NULL) SWIG_fail;
e811c8ce 4800 temp2 = True;
d14a1e28
RD
4801 }
4802 {
4803 PyThreadState* __tstate = wxPyBeginAllowThreads();
4804 (arg1)->AddFileToHistory((wxString const &)*arg2);
4805
4806 wxPyEndAllowThreads(__tstate);
4807 if (PyErr_Occurred()) SWIG_fail;
4808 }
4809 Py_INCREF(Py_None); resultobj = Py_None;
4810 {
4811 if (temp2)
4812 delete arg2;
4813 }
4814 return resultobj;
4815 fail:
4816 {
4817 if (temp2)
4818 delete arg2;
4819 }
4820 return NULL;
4821}
4822
4823
4824static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4825 PyObject *resultobj;
4826 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4827 int arg2 ;
4828 PyObject * obj0 = 0 ;
4829 char *kwnames[] = {
4830 (char *) "self",(char *) "i", NULL
4831 };
4832
4833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&arg2)) goto fail;
4834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4835 {
4836 PyThreadState* __tstate = wxPyBeginAllowThreads();
4837 (arg1)->RemoveFileFromHistory(arg2);
4838
4839 wxPyEndAllowThreads(__tstate);
4840 if (PyErr_Occurred()) SWIG_fail;
4841 }
4842 Py_INCREF(Py_None); resultobj = Py_None;
4843 return resultobj;
4844 fail:
4845 return NULL;
4846}
4847
4848
4849static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
4850 PyObject *resultobj;
4851 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4852 int result;
4853 PyObject * obj0 = 0 ;
4854 char *kwnames[] = {
4855 (char *) "self", NULL
4856 };
4857
4858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
4859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4860 {
4861 PyThreadState* __tstate = wxPyBeginAllowThreads();
4862 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
4863
4864 wxPyEndAllowThreads(__tstate);
4865 if (PyErr_Occurred()) SWIG_fail;
4866 }
4867 resultobj = PyInt_FromLong((long)result);
4868 return resultobj;
4869 fail:
4870 return NULL;
4871}
4872
4873
4874static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4875 PyObject *resultobj;
4876 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4877 wxMenu *arg2 = (wxMenu *) 0 ;
4878 PyObject * obj0 = 0 ;
4879 PyObject * obj1 = 0 ;
4880 char *kwnames[] = {
4881 (char *) "self",(char *) "menu", NULL
4882 };
4883
4884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
4885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4886 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4887 {
4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
4889 (arg1)->UseMenu(arg2);
4890
4891 wxPyEndAllowThreads(__tstate);
4892 if (PyErr_Occurred()) SWIG_fail;
4893 }
4894 Py_INCREF(Py_None); resultobj = Py_None;
4895 return resultobj;
4896 fail:
4897 return NULL;
4898}
4899
4900
4901static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4902 PyObject *resultobj;
4903 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4904 wxMenu *arg2 = (wxMenu *) 0 ;
4905 PyObject * obj0 = 0 ;
4906 PyObject * obj1 = 0 ;
4907 char *kwnames[] = {
4908 (char *) "self",(char *) "menu", NULL
4909 };
4910
4911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
4912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4913 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4914 {
4915 PyThreadState* __tstate = wxPyBeginAllowThreads();
4916 (arg1)->RemoveMenu(arg2);
4917
4918 wxPyEndAllowThreads(__tstate);
4919 if (PyErr_Occurred()) SWIG_fail;
4920 }
4921 Py_INCREF(Py_None); resultobj = Py_None;
4922 return resultobj;
4923 fail:
4924 return NULL;
4925}
4926
4927
4928static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
4929 PyObject *resultobj;
4930 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4931 wxConfigBase *arg2 = 0 ;
4932 PyObject * obj0 = 0 ;
4933 PyObject * obj1 = 0 ;
4934 char *kwnames[] = {
4935 (char *) "self",(char *) "config", NULL
4936 };
4937
4938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
4939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4940 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4941 if (arg2 == NULL) {
4942 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4943 }
4944 {
4945 PyThreadState* __tstate = wxPyBeginAllowThreads();
4946 (arg1)->Load(*arg2);
4947
4948 wxPyEndAllowThreads(__tstate);
4949 if (PyErr_Occurred()) SWIG_fail;
4950 }
4951 Py_INCREF(Py_None); resultobj = Py_None;
4952 return resultobj;
4953 fail:
4954 return NULL;
4955}
4956
4957
4958static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
4959 PyObject *resultobj;
4960 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4961 wxConfigBase *arg2 = 0 ;
4962 PyObject * obj0 = 0 ;
4963 PyObject * obj1 = 0 ;
4964 char *kwnames[] = {
4965 (char *) "self",(char *) "config", NULL
4966 };
4967
4968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
4969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4970 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4971 if (arg2 == NULL) {
4972 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4973 }
4974 {
4975 PyThreadState* __tstate = wxPyBeginAllowThreads();
4976 (arg1)->Save(*arg2);
4977
4978 wxPyEndAllowThreads(__tstate);
4979 if (PyErr_Occurred()) SWIG_fail;
4980 }
4981 Py_INCREF(Py_None); resultobj = Py_None;
4982 return resultobj;
4983 fail:
4984 return NULL;
4985}
4986
4987
4988static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4989 PyObject *resultobj;
4990 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4991 PyObject * obj0 = 0 ;
4992 char *kwnames[] = {
4993 (char *) "self", NULL
4994 };
4995
4996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
4997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4998 {
4999 PyThreadState* __tstate = wxPyBeginAllowThreads();
5000 (arg1)->AddFilesToMenu();
5001
5002 wxPyEndAllowThreads(__tstate);
5003 if (PyErr_Occurred()) SWIG_fail;
5004 }
5005 Py_INCREF(Py_None); resultobj = Py_None;
5006 return resultobj;
5007 fail:
5008 return NULL;
5009}
5010
5011
5012static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5013 PyObject *resultobj;
5014 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5015 wxMenu *arg2 = (wxMenu *) 0 ;
5016 PyObject * obj0 = 0 ;
5017 PyObject * obj1 = 0 ;
5018 char *kwnames[] = {
5019 (char *) "self",(char *) "menu", NULL
5020 };
5021
5022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5024 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5025 {
5026 PyThreadState* __tstate = wxPyBeginAllowThreads();
5027 (arg1)->AddFilesToMenu(arg2);
5028
5029 wxPyEndAllowThreads(__tstate);
5030 if (PyErr_Occurred()) SWIG_fail;
5031 }
5032 Py_INCREF(Py_None); resultobj = Py_None;
5033 return resultobj;
5034 fail:
5035 return NULL;
5036}
5037
5038
5039static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5040 PyObject *resultobj;
5041 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5042 int arg2 ;
5043 wxString result;
5044 PyObject * obj0 = 0 ;
5045 char *kwnames[] = {
5046 (char *) "self",(char *) "i", NULL
5047 };
5048
5049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_GetHistoryFile",kwnames,&obj0,&arg2)) goto fail;
5050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5051 {
5052 PyThreadState* __tstate = wxPyBeginAllowThreads();
5053 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5054
5055 wxPyEndAllowThreads(__tstate);
5056 if (PyErr_Occurred()) SWIG_fail;
5057 }
5058 {
5059#if wxUSE_UNICODE
5060 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5061#else
5062 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5063#endif
5064 }
5065 return resultobj;
5066 fail:
5067 return NULL;
5068}
5069
5070
5071static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5072 PyObject *resultobj;
5073 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5074 int result;
5075 PyObject * obj0 = 0 ;
5076 char *kwnames[] = {
5077 (char *) "self", NULL
5078 };
5079
5080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5082 {
5083 PyThreadState* __tstate = wxPyBeginAllowThreads();
5084 result = (int)((wxFileHistory const *)arg1)->GetCount();
5085
5086 wxPyEndAllowThreads(__tstate);
5087 if (PyErr_Occurred()) SWIG_fail;
5088 }
5089 resultobj = PyInt_FromLong((long)result);
5090 return resultobj;
5091 fail:
5092 return NULL;
5093}
5094
5095
5096static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5097 PyObject *obj;
5098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5099 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5100 Py_INCREF(obj);
5101 return Py_BuildValue((char *)"");
5102}
5103static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5104 PyObject *resultobj;
5105 wxString *arg1 = 0 ;
5106 wxString const &arg2_defvalue = wxPyEmptyString ;
5107 wxString *arg2 = (wxString *) &arg2_defvalue ;
5108 wxSingleInstanceChecker *result;
e811c8ce
RD
5109 bool temp1 = False ;
5110 bool temp2 = False ;
d14a1e28
RD
5111 PyObject * obj0 = 0 ;
5112 PyObject * obj1 = 0 ;
5113 char *kwnames[] = {
5114 (char *) "name",(char *) "path", NULL
5115 };
5116
5117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5118 {
5119 arg1 = wxString_in_helper(obj0);
5120 if (arg1 == NULL) SWIG_fail;
e811c8ce 5121 temp1 = True;
d14a1e28
RD
5122 }
5123 if (obj1) {
5124 {
5125 arg2 = wxString_in_helper(obj1);
5126 if (arg2 == NULL) SWIG_fail;
e811c8ce 5127 temp2 = True;
d14a1e28
RD
5128 }
5129 }
5130 {
5131 PyThreadState* __tstate = wxPyBeginAllowThreads();
5132 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5133
5134 wxPyEndAllowThreads(__tstate);
5135 if (PyErr_Occurred()) SWIG_fail;
5136 }
5137 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5138 {
5139 if (temp1)
5140 delete arg1;
5141 }
5142 {
5143 if (temp2)
5144 delete arg2;
5145 }
5146 return resultobj;
5147 fail:
5148 {
5149 if (temp1)
5150 delete arg1;
5151 }
5152 {
5153 if (temp2)
5154 delete arg2;
5155 }
5156 return NULL;
5157}
5158
5159
5160static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5161 PyObject *resultobj;
5162 wxSingleInstanceChecker *result;
5163 char *kwnames[] = {
5164 NULL
5165 };
5166
5167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5168 {
5169 PyThreadState* __tstate = wxPyBeginAllowThreads();
5170 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5171
5172 wxPyEndAllowThreads(__tstate);
5173 if (PyErr_Occurred()) SWIG_fail;
5174 }
5175 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5176 return resultobj;
5177 fail:
5178 return NULL;
5179}
5180
5181
5182static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5183 PyObject *resultobj;
5184 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5185 PyObject * obj0 = 0 ;
5186 char *kwnames[] = {
5187 (char *) "self", NULL
5188 };
5189
5190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5192 {
5193 PyThreadState* __tstate = wxPyBeginAllowThreads();
5194 delete arg1;
5195
5196 wxPyEndAllowThreads(__tstate);
5197 if (PyErr_Occurred()) SWIG_fail;
5198 }
5199 Py_INCREF(Py_None); resultobj = Py_None;
5200 return resultobj;
5201 fail:
5202 return NULL;
5203}
5204
5205
5206static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5207 PyObject *resultobj;
5208 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5209 wxString *arg2 = 0 ;
5210 wxString const &arg3_defvalue = wxPyEmptyString ;
5211 wxString *arg3 = (wxString *) &arg3_defvalue ;
5212 bool result;
e811c8ce
RD
5213 bool temp2 = False ;
5214 bool temp3 = False ;
d14a1e28
RD
5215 PyObject * obj0 = 0 ;
5216 PyObject * obj1 = 0 ;
5217 PyObject * obj2 = 0 ;
5218 char *kwnames[] = {
5219 (char *) "self",(char *) "name",(char *) "path", NULL
5220 };
5221
5222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5224 {
5225 arg2 = wxString_in_helper(obj1);
5226 if (arg2 == NULL) SWIG_fail;
e811c8ce 5227 temp2 = True;
d14a1e28
RD
5228 }
5229 if (obj2) {
5230 {
5231 arg3 = wxString_in_helper(obj2);
5232 if (arg3 == NULL) SWIG_fail;
e811c8ce 5233 temp3 = True;
d14a1e28
RD
5234 }
5235 }
5236 {
5237 PyThreadState* __tstate = wxPyBeginAllowThreads();
5238 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5239
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 resultobj = PyInt_FromLong((long)result);
5244 {
5245 if (temp2)
5246 delete arg2;
5247 }
5248 {
5249 if (temp3)
5250 delete arg3;
5251 }
5252 return resultobj;
5253 fail:
5254 {
5255 if (temp2)
5256 delete arg2;
5257 }
5258 {
5259 if (temp3)
5260 delete arg3;
5261 }
5262 return NULL;
5263}
5264
5265
5266static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5267 PyObject *resultobj;
5268 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5269 bool result;
5270 PyObject * obj0 = 0 ;
5271 char *kwnames[] = {
5272 (char *) "self", NULL
5273 };
5274
5275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5277 {
5278 PyThreadState* __tstate = wxPyBeginAllowThreads();
5279 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5280
5281 wxPyEndAllowThreads(__tstate);
5282 if (PyErr_Occurred()) SWIG_fail;
5283 }
5284 resultobj = PyInt_FromLong((long)result);
5285 return resultobj;
5286 fail:
5287 return NULL;
5288}
5289
5290
5291static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5292 PyObject *obj;
5293 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5294 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5295 Py_INCREF(obj);
5296 return Py_BuildValue((char *)"");
5297}
5298static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5299 PyObject *resultobj;
5300 wxWindow *arg1 = (wxWindow *) 0 ;
5301 wxDC *arg2 = 0 ;
5302 int arg3 ;
5303 PyObject * obj0 = 0 ;
5304 PyObject * obj1 = 0 ;
5305 char *kwnames[] = {
5306 (char *) "window",(char *) "dc",(char *) "method", NULL
5307 };
5308
5309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DrawWindowOnDC",kwnames,&obj0,&obj1,&arg3)) goto fail;
5310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5311 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5312 if (arg2 == NULL) {
5313 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5314 }
5315 {
5316 PyThreadState* __tstate = wxPyBeginAllowThreads();
5317 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5318
5319 wxPyEndAllowThreads(__tstate);
5320 if (PyErr_Occurred()) SWIG_fail;
5321 }
5322 Py_INCREF(Py_None); resultobj = Py_None;
5323 return resultobj;
5324 fail:
5325 return NULL;
5326}
5327
5328
5329static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5330 PyObject *resultobj;
5331 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5332 PyObject * obj0 = 0 ;
5333 char *kwnames[] = {
5334 (char *) "self", NULL
5335 };
5336
5337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
5338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5339 {
5340 PyThreadState* __tstate = wxPyBeginAllowThreads();
5341 delete arg1;
5342
5343 wxPyEndAllowThreads(__tstate);
5344 if (PyErr_Occurred()) SWIG_fail;
5345 }
5346 Py_INCREF(Py_None); resultobj = Py_None;
5347 return resultobj;
5348 fail:
5349 return NULL;
5350}
5351
5352
5353static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5354 PyObject *resultobj;
5355 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5356 wxString result;
5357 PyObject * obj0 = 0 ;
5358 char *kwnames[] = {
5359 (char *) "self", NULL
5360 };
5361
5362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
5363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5364 {
5365 PyThreadState* __tstate = wxPyBeginAllowThreads();
5366 result = (arg1)->GetTip();
5367
5368 wxPyEndAllowThreads(__tstate);
5369 if (PyErr_Occurred()) SWIG_fail;
5370 }
5371 {
5372#if wxUSE_UNICODE
5373 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5374#else
5375 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5376#endif
5377 }
5378 return resultobj;
5379 fail:
5380 return NULL;
5381}
5382
5383
5384static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5385 PyObject *resultobj;
5386 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5387 size_t result;
5388 PyObject * obj0 = 0 ;
5389 char *kwnames[] = {
5390 (char *) "self", NULL
5391 };
5392
5393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
5394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5395 {
5396 PyThreadState* __tstate = wxPyBeginAllowThreads();
5397 result = (size_t)(arg1)->GetCurrentTip();
5398
5399 wxPyEndAllowThreads(__tstate);
5400 if (PyErr_Occurred()) SWIG_fail;
5401 }
5402 resultobj = PyInt_FromLong((long)result);
5403 return resultobj;
5404 fail:
5405 return NULL;
5406}
5407
5408
5409static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5410 PyObject *resultobj;
5411 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5412 wxString *arg2 = 0 ;
5413 wxString result;
e811c8ce 5414 bool temp2 = False ;
d14a1e28
RD
5415 PyObject * obj0 = 0 ;
5416 PyObject * obj1 = 0 ;
5417 char *kwnames[] = {
5418 (char *) "self",(char *) "tip", NULL
5419 };
5420
5421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
5422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5423 {
5424 arg2 = wxString_in_helper(obj1);
5425 if (arg2 == NULL) SWIG_fail;
e811c8ce 5426 temp2 = True;
d14a1e28
RD
5427 }
5428 {
5429 PyThreadState* __tstate = wxPyBeginAllowThreads();
5430 result = (arg1)->PreprocessTip((wxString const &)*arg2);
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 {
5443 if (temp2)
5444 delete arg2;
5445 }
5446 return resultobj;
5447 fail:
5448 {
5449 if (temp2)
5450 delete arg2;
5451 }
5452 return NULL;
5453}
5454
5455
5456static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
5457 PyObject *obj;
5458 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5459 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
5460 Py_INCREF(obj);
5461 return Py_BuildValue((char *)"");
5462}
5463static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5464 PyObject *resultobj;
5465 size_t arg1 ;
5466 wxPyTipProvider *result;
5467 PyObject * obj0 = 0 ;
5468 char *kwnames[] = {
5469 (char *) "currentTip", NULL
5470 };
5471
5472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
5473 arg1 = (size_t) PyInt_AsLong(obj0);
5474 if (PyErr_Occurred()) SWIG_fail;
5475 {
5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
5477 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
5478
5479 wxPyEndAllowThreads(__tstate);
5480 if (PyErr_Occurred()) SWIG_fail;
5481 }
5482 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTipProvider, 1);
5483 return resultobj;
5484 fail:
5485 return NULL;
5486}
5487
5488
5489static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5490 PyObject *resultobj;
5491 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
5492 PyObject *arg2 = (PyObject *) 0 ;
5493 PyObject *arg3 = (PyObject *) 0 ;
5494 PyObject * obj0 = 0 ;
5495 PyObject * obj1 = 0 ;
5496 PyObject * obj2 = 0 ;
5497 char *kwnames[] = {
5498 (char *) "self",(char *) "self",(char *) "_class", NULL
5499 };
5500
5501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5503 arg2 = obj1;
5504 arg3 = obj2;
5505 {
5506 PyThreadState* __tstate = wxPyBeginAllowThreads();
5507 (arg1)->_setCallbackInfo(arg2,arg3);
5508
5509 wxPyEndAllowThreads(__tstate);
5510 if (PyErr_Occurred()) SWIG_fail;
5511 }
5512 Py_INCREF(Py_None); resultobj = Py_None;
5513 return resultobj;
5514 fail:
5515 return NULL;
5516}
5517
5518
5519static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
5520 PyObject *obj;
5521 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5522 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
5523 Py_INCREF(obj);
5524 return Py_BuildValue((char *)"");
5525}
5526static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5527 PyObject *resultobj;
5528 wxWindow *arg1 = (wxWindow *) 0 ;
5529 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
e811c8ce 5530 bool arg3 = (bool) True ;
d14a1e28
RD
5531 bool result;
5532 PyObject * obj0 = 0 ;
5533 PyObject * obj1 = 0 ;
5534 PyObject * obj2 = 0 ;
5535 char *kwnames[] = {
5536 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5537 };
5538
5539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
5540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5541 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5542 if (obj2) {
5543 arg3 = PyInt_AsLong(obj2) ? true : false;
5544 if (PyErr_Occurred()) SWIG_fail;
5545 }
5546 {
5547 PyThreadState* __tstate = wxPyBeginAllowThreads();
5548 result = (bool)wxShowTip(arg1,arg2,arg3);
5549
5550 wxPyEndAllowThreads(__tstate);
5551 if (PyErr_Occurred()) SWIG_fail;
5552 }
5553 resultobj = PyInt_FromLong((long)result);
5554 return resultobj;
5555 fail:
5556 return NULL;
5557}
5558
5559
5560static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5561 PyObject *resultobj;
5562 wxString *arg1 = 0 ;
5563 size_t arg2 ;
5564 wxTipProvider *result;
e811c8ce 5565 bool temp1 = False ;
d14a1e28
RD
5566 PyObject * obj0 = 0 ;
5567 PyObject * obj1 = 0 ;
5568 char *kwnames[] = {
5569 (char *) "filename",(char *) "currentTip", NULL
5570 };
5571
5572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
5573 {
5574 arg1 = wxString_in_helper(obj0);
5575 if (arg1 == NULL) SWIG_fail;
e811c8ce 5576 temp1 = True;
d14a1e28
RD
5577 }
5578 arg2 = (size_t) PyInt_AsLong(obj1);
5579 if (PyErr_Occurred()) SWIG_fail;
5580 {
5581 PyThreadState* __tstate = wxPyBeginAllowThreads();
5582 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
5583
5584 wxPyEndAllowThreads(__tstate);
5585 if (PyErr_Occurred()) SWIG_fail;
5586 }
5587 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipProvider, 1);
5588 {
5589 if (temp1)
5590 delete arg1;
5591 }
5592 return resultobj;
5593 fail:
5594 {
5595 if (temp1)
5596 delete arg1;
5597 }
5598 return NULL;
5599}
5600
5601
5602static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5603 PyObject *resultobj;
5604 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
5605 int arg2 = (int) -1 ;
5606 wxPyTimer *result;
5607 PyObject * obj0 = 0 ;
5608 char *kwnames[] = {
5609 (char *) "owner",(char *) "id", NULL
5610 };
5611
5612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Timer",kwnames,&obj0,&arg2)) goto fail;
5613 if (obj0) {
5614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5615 }
5616 {
5617 PyThreadState* __tstate = wxPyBeginAllowThreads();
5618 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
5619
5620 wxPyEndAllowThreads(__tstate);
5621 if (PyErr_Occurred()) SWIG_fail;
5622 }
5623 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTimer, 1);
5624 return resultobj;
5625 fail:
5626 return NULL;
5627}
5628
5629
5630static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5631 PyObject *resultobj;
5632 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5633 PyObject * obj0 = 0 ;
5634 char *kwnames[] = {
5635 (char *) "self", NULL
5636 };
5637
5638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
5639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5640 {
5641 PyThreadState* __tstate = wxPyBeginAllowThreads();
5642 delete arg1;
5643
5644 wxPyEndAllowThreads(__tstate);
5645 if (PyErr_Occurred()) SWIG_fail;
5646 }
5647 Py_INCREF(Py_None); resultobj = Py_None;
5648 return resultobj;
5649 fail:
5650 return NULL;
5651}
5652
5653
7722248d
RD
5654static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5655 PyObject *resultobj;
5656 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5657 PyObject *arg2 = (PyObject *) 0 ;
5658 PyObject *arg3 = (PyObject *) 0 ;
5659 PyObject * obj0 = 0 ;
5660 PyObject * obj1 = 0 ;
5661 PyObject * obj2 = 0 ;
5662 char *kwnames[] = {
5663 (char *) "self",(char *) "self",(char *) "_class", NULL
5664 };
5665
5666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5668 arg2 = obj1;
5669 arg3 = obj2;
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 (arg1)->_setCallbackInfo(arg2,arg3);
5673
5674 wxPyEndAllowThreads(__tstate);
5675 if (PyErr_Occurred()) SWIG_fail;
5676 }
5677 Py_INCREF(Py_None); resultobj = Py_None;
5678 return resultobj;
5679 fail:
5680 return NULL;
5681}
5682
5683
d14a1e28
RD
5684static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
5685 PyObject *resultobj;
5686 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5687 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
5688 int arg3 = (int) -1 ;
5689 PyObject * obj0 = 0 ;
5690 PyObject * obj1 = 0 ;
5691 char *kwnames[] = {
5692 (char *) "self",(char *) "owner",(char *) "id", NULL
5693 };
5694
5695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Timer_SetOwner",kwnames,&obj0,&obj1,&arg3)) goto fail;
5696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5697 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5698 {
5699 PyThreadState* __tstate = wxPyBeginAllowThreads();
5700 (arg1)->SetOwner(arg2,arg3);
5701
5702 wxPyEndAllowThreads(__tstate);
5703 if (PyErr_Occurred()) SWIG_fail;
5704 }
5705 Py_INCREF(Py_None); resultobj = Py_None;
5706 return resultobj;
5707 fail:
5708 return NULL;
5709}
5710
5711
5712static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5713 PyObject *resultobj;
5714 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5715 int arg2 = (int) -1 ;
e811c8ce 5716 bool arg3 = (bool) False ;
d14a1e28
RD
5717 bool result;
5718 PyObject * obj0 = 0 ;
5719 PyObject * obj2 = 0 ;
5720 char *kwnames[] = {
5721 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5722 };
5723
5724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Timer_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
5725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5726 if (obj2) {
5727 arg3 = PyInt_AsLong(obj2) ? true : false;
5728 if (PyErr_Occurred()) SWIG_fail;
5729 }
5730 {
5731 PyThreadState* __tstate = wxPyBeginAllowThreads();
5732 result = (bool)(arg1)->Start(arg2,arg3);
5733
5734 wxPyEndAllowThreads(__tstate);
5735 if (PyErr_Occurred()) SWIG_fail;
5736 }
5737 resultobj = PyInt_FromLong((long)result);
5738 return resultobj;
5739 fail:
5740 return NULL;
5741}
5742
5743
5744static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
5745 PyObject *resultobj;
5746 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5747 PyObject * obj0 = 0 ;
5748 char *kwnames[] = {
5749 (char *) "self", NULL
5750 };
5751
5752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
5753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5754 {
5755 PyThreadState* __tstate = wxPyBeginAllowThreads();
5756 (arg1)->Stop();
5757
5758 wxPyEndAllowThreads(__tstate);
5759 if (PyErr_Occurred()) SWIG_fail;
5760 }
5761 Py_INCREF(Py_None); resultobj = Py_None;
5762 return resultobj;
5763 fail:
5764 return NULL;
5765}
5766
5767
d14a1e28
RD
5768static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5769 PyObject *resultobj;
5770 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5771 bool result;
5772 PyObject * obj0 = 0 ;
5773 char *kwnames[] = {
5774 (char *) "self", NULL
5775 };
5776
5777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
5778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5779 {
5780 PyThreadState* __tstate = wxPyBeginAllowThreads();
5781 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
5782
5783 wxPyEndAllowThreads(__tstate);
5784 if (PyErr_Occurred()) SWIG_fail;
5785 }
5786 resultobj = PyInt_FromLong((long)result);
5787 return resultobj;
5788 fail:
5789 return NULL;
5790}
5791
5792
5793static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5794 PyObject *resultobj;
5795 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5796 int result;
5797 PyObject * obj0 = 0 ;
5798 char *kwnames[] = {
5799 (char *) "self", NULL
5800 };
5801
5802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
5803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5804 {
5805 PyThreadState* __tstate = wxPyBeginAllowThreads();
5806 result = (int)((wxPyTimer const *)arg1)->GetInterval();
5807
5808 wxPyEndAllowThreads(__tstate);
5809 if (PyErr_Occurred()) SWIG_fail;
5810 }
5811 resultobj = PyInt_FromLong((long)result);
5812 return resultobj;
5813 fail:
5814 return NULL;
5815}
5816
5817
5818static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
5819 PyObject *resultobj;
5820 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5821 bool result;
5822 PyObject * obj0 = 0 ;
5823 char *kwnames[] = {
5824 (char *) "self", NULL
5825 };
5826
5827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
5828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5829 {
5830 PyThreadState* __tstate = wxPyBeginAllowThreads();
5831 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
5832
5833 wxPyEndAllowThreads(__tstate);
5834 if (PyErr_Occurred()) SWIG_fail;
5835 }
5836 resultobj = PyInt_FromLong((long)result);
5837 return resultobj;
5838 fail:
5839 return NULL;
5840}
5841
5842
5843static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
5844 PyObject *obj;
5845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5846 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
5847 Py_INCREF(obj);
5848 return Py_BuildValue((char *)"");
5849}
5850static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5851 PyObject *resultobj;
5852 int arg1 = (int) 0 ;
5853 int arg2 = (int) 0 ;
5854 wxTimerEvent *result;
5855 char *kwnames[] = {
5856 (char *) "timerid",(char *) "interval", NULL
5857 };
5858
5859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TimerEvent",kwnames,&arg1,&arg2)) goto fail;
5860 {
5861 PyThreadState* __tstate = wxPyBeginAllowThreads();
5862 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
5863
5864 wxPyEndAllowThreads(__tstate);
5865 if (PyErr_Occurred()) SWIG_fail;
5866 }
5867 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerEvent, 1);
5868 return resultobj;
5869 fail:
5870 return NULL;
5871}
5872
5873
5874static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5875 PyObject *resultobj;
5876 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
5877 int result;
5878 PyObject * obj0 = 0 ;
5879 char *kwnames[] = {
5880 (char *) "self", NULL
5881 };
5882
5883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
5884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
5888
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
5892 resultobj = PyInt_FromLong((long)result);
5893 return resultobj;
5894 fail:
5895 return NULL;
5896}
5897
5898
5899static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
5900 PyObject *obj;
5901 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5902 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
5903 Py_INCREF(obj);
5904 return Py_BuildValue((char *)"");
5905}
5906static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
5907 PyObject *resultobj;
5908 wxTimer *arg1 = 0 ;
5909 wxTimerRunner *result;
5910 PyObject * obj0 = 0 ;
5911
5912 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
5913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5914 if (arg1 == NULL) {
5915 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5916 }
5917 {
5918 PyThreadState* __tstate = wxPyBeginAllowThreads();
5919 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
5920
5921 wxPyEndAllowThreads(__tstate);
5922 if (PyErr_Occurred()) SWIG_fail;
5923 }
5924 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
5925 return resultobj;
5926 fail:
5927 return NULL;
5928}
5929
5930
5931static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
5932 PyObject *resultobj;
5933 wxTimer *arg1 = 0 ;
5934 int arg2 ;
e811c8ce 5935 bool arg3 = (bool) False ;
d14a1e28
RD
5936 wxTimerRunner *result;
5937 PyObject * obj0 = 0 ;
5938 PyObject * obj2 = 0 ;
5939
5940 if(!PyArg_ParseTuple(args,(char *)"Oi|O:new_TimerRunner",&obj0,&arg2,&obj2)) goto fail;
5941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5942 if (arg1 == NULL) {
5943 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5944 }
5945 if (obj2) {
5946 arg3 = PyInt_AsLong(obj2) ? true : false;
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
5949 {
5950 PyThreadState* __tstate = wxPyBeginAllowThreads();
5951 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
5952
5953 wxPyEndAllowThreads(__tstate);
5954 if (PyErr_Occurred()) SWIG_fail;
5955 }
5956 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
5957 return resultobj;
5958 fail:
5959 return NULL;
5960}
5961
5962
5963static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
5964 int argc;
5965 PyObject *argv[4];
5966 int ii;
5967
5968 argc = PyObject_Length(args);
5969 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
5970 argv[ii] = PyTuple_GetItem(args,ii);
5971 }
5972 if (argc == 1) {
5973 int _v;
5974 {
5975 void *ptr;
5976 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
5977 _v = 0;
5978 PyErr_Clear();
5979 } else {
5980 _v = 1;
5981 }
5982 }
5983 if (_v) {
5984 return _wrap_new_TimerRunner__SWIG_0(self,args);
5985 }
5986 }
5987 if ((argc >= 2) && (argc <= 3)) {
5988 int _v;
5989 {
5990 void *ptr;
5991 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
5992 _v = 0;
5993 PyErr_Clear();
5994 } else {
5995 _v = 1;
5996 }
5997 }
5998 if (_v) {
5999 {
6000 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6001 }
6002 if (_v) {
6003 if (argc <= 2) {
6004 return _wrap_new_TimerRunner__SWIG_1(self,args);
6005 }
6006 {
6007 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
6008 }
6009 if (_v) {
6010 return _wrap_new_TimerRunner__SWIG_1(self,args);
6011 }
6012 }
6013 }
6014 }
6015
6016 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6017 return NULL;
6018}
6019
6020
6021static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6022 PyObject *resultobj;
6023 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6024 PyObject * obj0 = 0 ;
6025 char *kwnames[] = {
6026 (char *) "self", NULL
6027 };
6028
6029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6031 {
6032 PyThreadState* __tstate = wxPyBeginAllowThreads();
6033 delete arg1;
6034
6035 wxPyEndAllowThreads(__tstate);
6036 if (PyErr_Occurred()) SWIG_fail;
6037 }
6038 Py_INCREF(Py_None); resultobj = Py_None;
6039 return resultobj;
6040 fail:
6041 return NULL;
6042}
6043
6044
6045static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6046 PyObject *resultobj;
6047 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6048 int arg2 ;
e811c8ce 6049 bool arg3 = (bool) False ;
d14a1e28
RD
6050 PyObject * obj0 = 0 ;
6051 PyObject * obj2 = 0 ;
6052 char *kwnames[] = {
6053 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6054 };
6055
6056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:TimerRunner_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
6057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6058 if (obj2) {
6059 arg3 = PyInt_AsLong(obj2) ? true : false;
6060 if (PyErr_Occurred()) SWIG_fail;
6061 }
6062 {
6063 PyThreadState* __tstate = wxPyBeginAllowThreads();
6064 (arg1)->Start(arg2,arg3);
6065
6066 wxPyEndAllowThreads(__tstate);
6067 if (PyErr_Occurred()) SWIG_fail;
6068 }
6069 Py_INCREF(Py_None); resultobj = Py_None;
6070 return resultobj;
6071 fail:
6072 return NULL;
6073}
6074
6075
6076static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6077 PyObject *obj;
6078 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6079 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6080 Py_INCREF(obj);
6081 return Py_BuildValue((char *)"");
6082}
6083static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6084 PyObject *resultobj;
6085 wxLog *result;
6086 char *kwnames[] = {
6087 NULL
6088 };
6089
6090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6091 {
6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
6093 result = (wxLog *)new wxLog();
6094
6095 wxPyEndAllowThreads(__tstate);
6096 if (PyErr_Occurred()) SWIG_fail;
6097 }
6098 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 1);
6099 return resultobj;
6100 fail:
6101 return NULL;
6102}
6103
6104
6105static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6106 PyObject *resultobj;
6107 bool result;
6108 char *kwnames[] = {
6109 NULL
6110 };
6111
6112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6113 {
6114 PyThreadState* __tstate = wxPyBeginAllowThreads();
6115 result = (bool)wxLog::IsEnabled();
6116
6117 wxPyEndAllowThreads(__tstate);
6118 if (PyErr_Occurred()) SWIG_fail;
6119 }
6120 resultobj = PyInt_FromLong((long)result);
6121 return resultobj;
6122 fail:
6123 return NULL;
6124}
6125
6126
6127static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6128 PyObject *resultobj;
e811c8ce 6129 bool arg1 = (bool) True ;
d14a1e28
RD
6130 bool result;
6131 PyObject * obj0 = 0 ;
6132 char *kwnames[] = {
6133 (char *) "doIt", NULL
6134 };
6135
6136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6137 if (obj0) {
6138 arg1 = PyInt_AsLong(obj0) ? true : false;
6139 if (PyErr_Occurred()) SWIG_fail;
6140 }
6141 {
6142 PyThreadState* __tstate = wxPyBeginAllowThreads();
6143 result = (bool)wxLog::EnableLogging(arg1);
6144
6145 wxPyEndAllowThreads(__tstate);
6146 if (PyErr_Occurred()) SWIG_fail;
6147 }
6148 resultobj = PyInt_FromLong((long)result);
6149 return resultobj;
6150 fail:
6151 return NULL;
6152}
6153
6154
6155static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6156 PyObject *resultobj;
6157 wxLogLevel arg1 ;
6158 wxChar *arg2 = (wxChar *) 0 ;
6159 time_t arg3 ;
6160 PyObject * obj0 = 0 ;
6161 PyObject * obj1 = 0 ;
6162 PyObject * obj2 = 0 ;
6163 char *kwnames[] = {
6164 (char *) "level",(char *) "szString",(char *) "t", NULL
6165 };
6166
6167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
6168 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6171 arg3 = (time_t) PyInt_AsLong(obj2);
6172 if (PyErr_Occurred()) SWIG_fail;
6173 {
6174 PyThreadState* __tstate = wxPyBeginAllowThreads();
6175 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6176
6177 wxPyEndAllowThreads(__tstate);
6178 if (PyErr_Occurred()) SWIG_fail;
6179 }
6180 Py_INCREF(Py_None); resultobj = Py_None;
6181 return resultobj;
6182 fail:
6183 return NULL;
6184}
6185
6186
6187static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6188 PyObject *resultobj;
6189 wxLog *arg1 = (wxLog *) 0 ;
6190 PyObject * obj0 = 0 ;
6191 char *kwnames[] = {
6192 (char *) "self", NULL
6193 };
6194
6195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6197 {
6198 PyThreadState* __tstate = wxPyBeginAllowThreads();
6199 (arg1)->Flush();
6200
6201 wxPyEndAllowThreads(__tstate);
6202 if (PyErr_Occurred()) SWIG_fail;
6203 }
6204 Py_INCREF(Py_None); resultobj = Py_None;
6205 return resultobj;
6206 fail:
6207 return NULL;
6208}
6209
6210
6211static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6212 PyObject *resultobj;
6213 char *kwnames[] = {
6214 NULL
6215 };
6216
6217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6218 {
6219 PyThreadState* __tstate = wxPyBeginAllowThreads();
6220 wxLog::FlushActive();
6221
6222 wxPyEndAllowThreads(__tstate);
6223 if (PyErr_Occurred()) SWIG_fail;
6224 }
6225 Py_INCREF(Py_None); resultobj = Py_None;
6226 return resultobj;
6227 fail:
6228 return NULL;
6229}
6230
6231
6232static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6233 PyObject *resultobj;
6234 wxLog *result;
6235 char *kwnames[] = {
6236 NULL
6237 };
6238
6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6240 {
6241 PyThreadState* __tstate = wxPyBeginAllowThreads();
6242 result = (wxLog *)wxLog::GetActiveTarget();
6243
6244 wxPyEndAllowThreads(__tstate);
6245 if (PyErr_Occurred()) SWIG_fail;
6246 }
6247 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6248 return resultobj;
6249 fail:
6250 return NULL;
6251}
6252
6253
6254static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6255 PyObject *resultobj;
6256 wxLog *arg1 = (wxLog *) 0 ;
6257 wxLog *result;
6258 PyObject * obj0 = 0 ;
6259 char *kwnames[] = {
6260 (char *) "pLogger", NULL
6261 };
6262
6263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
6264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6265 {
6266 PyThreadState* __tstate = wxPyBeginAllowThreads();
6267 result = (wxLog *)wxLog::SetActiveTarget(arg1);
6268
6269 wxPyEndAllowThreads(__tstate);
6270 if (PyErr_Occurred()) SWIG_fail;
6271 }
6272 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6273 return resultobj;
6274 fail:
6275 return NULL;
6276}
6277
6278
6279static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
6280 PyObject *resultobj;
6281 char *kwnames[] = {
6282 NULL
6283 };
6284
6285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
6286 {
6287 PyThreadState* __tstate = wxPyBeginAllowThreads();
6288 wxLog::Suspend();
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_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
6301 PyObject *resultobj;
6302 char *kwnames[] = {
6303 NULL
6304 };
6305
6306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
6307 {
6308 PyThreadState* __tstate = wxPyBeginAllowThreads();
6309 wxLog::Resume();
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_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6322 PyObject *resultobj;
e811c8ce 6323 bool arg1 = (bool) True ;
d14a1e28
RD
6324 PyObject * obj0 = 0 ;
6325 char *kwnames[] = {
6326 (char *) "bVerbose", NULL
6327 };
6328
6329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
6330 if (obj0) {
6331 arg1 = PyInt_AsLong(obj0) ? true : false;
6332 if (PyErr_Occurred()) SWIG_fail;
6333 }
6334 {
6335 PyThreadState* __tstate = wxPyBeginAllowThreads();
6336 wxLog::SetVerbose(arg1);
6337
6338 wxPyEndAllowThreads(__tstate);
6339 if (PyErr_Occurred()) SWIG_fail;
6340 }
6341 Py_INCREF(Py_None); resultobj = Py_None;
6342 return resultobj;
6343 fail:
6344 return NULL;
6345}
6346
6347
6348static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6349 PyObject *resultobj;
6350 wxLogLevel arg1 ;
6351 PyObject * obj0 = 0 ;
6352 char *kwnames[] = {
6353 (char *) "logLevel", NULL
6354 };
6355
6356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
6357 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6358 if (PyErr_Occurred()) SWIG_fail;
6359 {
6360 PyThreadState* __tstate = wxPyBeginAllowThreads();
6361 wxLog::SetLogLevel(arg1);
6362
6363 wxPyEndAllowThreads(__tstate);
6364 if (PyErr_Occurred()) SWIG_fail;
6365 }
6366 Py_INCREF(Py_None); resultobj = Py_None;
6367 return resultobj;
6368 fail:
6369 return NULL;
6370}
6371
6372
6373static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
6374 PyObject *resultobj;
6375 char *kwnames[] = {
6376 NULL
6377 };
6378
6379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
6380 {
6381 PyThreadState* __tstate = wxPyBeginAllowThreads();
6382 wxLog::DontCreateOnDemand();
6383
6384 wxPyEndAllowThreads(__tstate);
6385 if (PyErr_Occurred()) SWIG_fail;
6386 }
6387 Py_INCREF(Py_None); resultobj = Py_None;
6388 return resultobj;
6389 fail:
6390 return NULL;
6391}
6392
6393
6394static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6395 PyObject *resultobj;
6396 wxTraceMask arg1 ;
6397 PyObject * obj0 = 0 ;
6398 char *kwnames[] = {
6399 (char *) "ulMask", NULL
6400 };
6401
6402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
6403 arg1 = (wxTraceMask) PyInt_AsLong(obj0);
6404 if (PyErr_Occurred()) SWIG_fail;
6405 {
6406 PyThreadState* __tstate = wxPyBeginAllowThreads();
6407 wxLog::SetTraceMask(arg1);
6408
6409 wxPyEndAllowThreads(__tstate);
6410 if (PyErr_Occurred()) SWIG_fail;
6411 }
6412 Py_INCREF(Py_None); resultobj = Py_None;
6413 return resultobj;
6414 fail:
6415 return NULL;
6416}
6417
6418
6419static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6420 PyObject *resultobj;
6421 wxString *arg1 = 0 ;
e811c8ce 6422 bool temp1 = False ;
d14a1e28
RD
6423 PyObject * obj0 = 0 ;
6424 char *kwnames[] = {
6425 (char *) "str", NULL
6426 };
6427
6428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
6429 {
6430 arg1 = wxString_in_helper(obj0);
6431 if (arg1 == NULL) SWIG_fail;
e811c8ce 6432 temp1 = True;
d14a1e28
RD
6433 }
6434 {
6435 PyThreadState* __tstate = wxPyBeginAllowThreads();
6436 wxLog::AddTraceMask((wxString const &)*arg1);
6437
6438 wxPyEndAllowThreads(__tstate);
6439 if (PyErr_Occurred()) SWIG_fail;
6440 }
6441 Py_INCREF(Py_None); resultobj = Py_None;
6442 {
6443 if (temp1)
6444 delete arg1;
6445 }
6446 return resultobj;
6447 fail:
6448 {
6449 if (temp1)
6450 delete arg1;
6451 }
6452 return NULL;
6453}
6454
6455
6456static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6457 PyObject *resultobj;
6458 wxString *arg1 = 0 ;
e811c8ce 6459 bool temp1 = False ;
d14a1e28
RD
6460 PyObject * obj0 = 0 ;
6461 char *kwnames[] = {
6462 (char *) "str", NULL
6463 };
6464
6465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
6466 {
6467 arg1 = wxString_in_helper(obj0);
6468 if (arg1 == NULL) SWIG_fail;
e811c8ce 6469 temp1 = True;
d14a1e28
RD
6470 }
6471 {
6472 PyThreadState* __tstate = wxPyBeginAllowThreads();
6473 wxLog::RemoveTraceMask((wxString const &)*arg1);
6474
6475 wxPyEndAllowThreads(__tstate);
6476 if (PyErr_Occurred()) SWIG_fail;
6477 }
6478 Py_INCREF(Py_None); resultobj = Py_None;
6479 {
6480 if (temp1)
6481 delete arg1;
6482 }
6483 return resultobj;
6484 fail:
6485 {
6486 if (temp1)
6487 delete arg1;
6488 }
6489 return NULL;
6490}
6491
6492
6493static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6494 PyObject *resultobj;
6495 char *kwnames[] = {
6496 NULL
6497 };
6498
6499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
6500 {
6501 PyThreadState* __tstate = wxPyBeginAllowThreads();
6502 wxLog::ClearTraceMasks();
6503
6504 wxPyEndAllowThreads(__tstate);
6505 if (PyErr_Occurred()) SWIG_fail;
6506 }
6507 Py_INCREF(Py_None); resultobj = Py_None;
6508 return resultobj;
6509 fail:
6510 return NULL;
6511}
6512
6513
6514static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6515 PyObject *resultobj;
6516 wxArrayString *result;
6517 char *kwnames[] = {
6518 NULL
6519 };
6520
6521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
6522 {
6523 PyThreadState* __tstate = wxPyBeginAllowThreads();
6524 {
6525 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
6526 result = (wxArrayString *) &_result_ref;
6527 }
6528
6529 wxPyEndAllowThreads(__tstate);
6530 if (PyErr_Occurred()) SWIG_fail;
6531 }
6532 {
6533 resultobj = wxArrayString2PyList_helper(*result);
6534 }
6535 return resultobj;
6536 fail:
6537 return NULL;
6538}
6539
6540
6541static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6542 PyObject *resultobj;
6543 wxChar *arg1 = (wxChar *) 0 ;
6544 PyObject * obj0 = 0 ;
6545 char *kwnames[] = {
6546 (char *) "ts", NULL
6547 };
6548
6549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
6550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6551 {
6552 PyThreadState* __tstate = wxPyBeginAllowThreads();
6553 wxLog::SetTimestamp((wxChar const *)arg1);
6554
6555 wxPyEndAllowThreads(__tstate);
6556 if (PyErr_Occurred()) SWIG_fail;
6557 }
6558 Py_INCREF(Py_None); resultobj = Py_None;
6559 return resultobj;
6560 fail:
6561 return NULL;
6562}
6563
6564
6565static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6566 PyObject *resultobj;
6567 bool result;
6568 char *kwnames[] = {
6569 NULL
6570 };
6571
6572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
6573 {
6574 PyThreadState* __tstate = wxPyBeginAllowThreads();
6575 result = (bool)wxLog::GetVerbose();
6576
6577 wxPyEndAllowThreads(__tstate);
6578 if (PyErr_Occurred()) SWIG_fail;
6579 }
6580 resultobj = PyInt_FromLong((long)result);
6581 return resultobj;
6582 fail:
6583 return NULL;
6584}
6585
6586
6587static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6588 PyObject *resultobj;
6589 wxTraceMask result;
6590 char *kwnames[] = {
6591 NULL
6592 };
6593
6594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
6595 {
6596 PyThreadState* __tstate = wxPyBeginAllowThreads();
6597 result = (wxTraceMask)wxLog::GetTraceMask();
6598
6599 wxPyEndAllowThreads(__tstate);
6600 if (PyErr_Occurred()) SWIG_fail;
6601 }
6602 resultobj = PyInt_FromLong((long)result);
6603 return resultobj;
6604 fail:
6605 return NULL;
6606}
6607
6608
6609static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6610 PyObject *resultobj;
6611 wxChar *arg1 = (wxChar *) 0 ;
6612 bool result;
6613 PyObject * obj0 = 0 ;
6614 char *kwnames[] = {
6615 (char *) "mask", NULL
6616 };
6617
6618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
6619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6620 {
6621 PyThreadState* __tstate = wxPyBeginAllowThreads();
6622 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
6623
6624 wxPyEndAllowThreads(__tstate);
6625 if (PyErr_Occurred()) SWIG_fail;
6626 }
6627 resultobj = PyInt_FromLong((long)result);
6628 return resultobj;
6629 fail:
6630 return NULL;
6631}
6632
6633
6634static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6635 PyObject *resultobj;
6636 wxLogLevel result;
6637 char *kwnames[] = {
6638 NULL
6639 };
6640
6641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
6642 {
6643 PyThreadState* __tstate = wxPyBeginAllowThreads();
6644 result = (wxLogLevel)wxLog::GetLogLevel();
6645
6646 wxPyEndAllowThreads(__tstate);
6647 if (PyErr_Occurred()) SWIG_fail;
6648 }
6649 resultobj = PyInt_FromLong((long)result);
6650 return resultobj;
6651 fail:
6652 return NULL;
6653}
6654
6655
6656static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6657 PyObject *resultobj;
6658 wxChar *result;
6659 char *kwnames[] = {
6660 NULL
6661 };
6662
6663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
6664 {
6665 PyThreadState* __tstate = wxPyBeginAllowThreads();
6666 result = (wxChar *)wxLog::GetTimestamp();
6667
6668 wxPyEndAllowThreads(__tstate);
6669 if (PyErr_Occurred()) SWIG_fail;
6670 }
6671 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChar, 0);
6672 return resultobj;
6673 fail:
6674 return NULL;
6675}
6676
6677
6678static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6679 PyObject *resultobj;
6680 wxString result;
6681 char *kwnames[] = {
6682 NULL
6683 };
6684
6685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
6686 {
6687 PyThreadState* __tstate = wxPyBeginAllowThreads();
6688 result = Log_TimeStamp();
6689
6690 wxPyEndAllowThreads(__tstate);
6691 if (PyErr_Occurred()) SWIG_fail;
6692 }
6693 {
6694#if wxUSE_UNICODE
6695 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6696#else
6697 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6698#endif
6699 }
6700 return resultobj;
6701 fail:
6702 return NULL;
6703}
6704
6705
6706static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6707 PyObject *resultobj;
6708 wxLog *arg1 = (wxLog *) 0 ;
6709 PyObject * obj0 = 0 ;
6710 char *kwnames[] = {
6711 (char *) "self", NULL
6712 };
6713
6714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
6715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6716 {
6717 PyThreadState* __tstate = wxPyBeginAllowThreads();
6718 wxLog_Destroy(arg1);
6719
6720 wxPyEndAllowThreads(__tstate);
6721 if (PyErr_Occurred()) SWIG_fail;
6722 }
6723 Py_INCREF(Py_None); resultobj = Py_None;
6724 return resultobj;
6725 fail:
6726 return NULL;
6727}
6728
6729
6730static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
6731 PyObject *obj;
6732 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6733 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
6734 Py_INCREF(obj);
6735 return Py_BuildValue((char *)"");
6736}
6737static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
6738 PyObject *resultobj;
6739 wxLogStderr *result;
6740 char *kwnames[] = {
6741 NULL
6742 };
6743
6744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
6745 {
6746 PyThreadState* __tstate = wxPyBeginAllowThreads();
6747 result = (wxLogStderr *)new wxLogStderr();
6748
6749 wxPyEndAllowThreads(__tstate);
6750 if (PyErr_Occurred()) SWIG_fail;
6751 }
6752 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogStderr, 1);
6753 return resultobj;
6754 fail:
6755 return NULL;
6756}
6757
6758
6759static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
6760 PyObject *obj;
6761 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6762 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
6763 Py_INCREF(obj);
6764 return Py_BuildValue((char *)"");
6765}
6766static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6767 PyObject *resultobj;
6768 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6769 wxLogTextCtrl *result;
6770 PyObject * obj0 = 0 ;
6771 char *kwnames[] = {
6772 (char *) "pTextCtrl", NULL
6773 };
6774
6775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
6776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6777 {
6778 PyThreadState* __tstate = wxPyBeginAllowThreads();
6779 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
6780
6781 wxPyEndAllowThreads(__tstate);
6782 if (PyErr_Occurred()) SWIG_fail;
6783 }
6784 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogTextCtrl, 1);
6785 return resultobj;
6786 fail:
6787 return NULL;
6788}
6789
6790
6791static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
6792 PyObject *obj;
6793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6794 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
6795 Py_INCREF(obj);
6796 return Py_BuildValue((char *)"");
6797}
6798static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
6799 PyObject *resultobj;
6800 wxLogGui *result;
6801 char *kwnames[] = {
6802 NULL
6803 };
6804
6805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
6806 {
6807 PyThreadState* __tstate = wxPyBeginAllowThreads();
6808 result = (wxLogGui *)new wxLogGui();
6809
6810 wxPyEndAllowThreads(__tstate);
6811 if (PyErr_Occurred()) SWIG_fail;
6812 }
6813 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogGui, 1);
6814 return resultobj;
6815 fail:
6816 return NULL;
6817}
6818
6819
6820static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
6821 PyObject *obj;
6822 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6823 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
6824 Py_INCREF(obj);
6825 return Py_BuildValue((char *)"");
6826}
6827static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6828 PyObject *resultobj;
6829 wxFrame *arg1 = (wxFrame *) 0 ;
6830 wxString *arg2 = 0 ;
e811c8ce
RD
6831 bool arg3 = (bool) True ;
6832 bool arg4 = (bool) True ;
d14a1e28 6833 wxLogWindow *result;
e811c8ce 6834 bool temp2 = False ;
d14a1e28
RD
6835 PyObject * obj0 = 0 ;
6836 PyObject * obj1 = 0 ;
6837 PyObject * obj2 = 0 ;
6838 PyObject * obj3 = 0 ;
6839 char *kwnames[] = {
6840 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
6841 };
6842
6843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6845 {
6846 arg2 = wxString_in_helper(obj1);
6847 if (arg2 == NULL) SWIG_fail;
e811c8ce 6848 temp2 = True;
d14a1e28
RD
6849 }
6850 if (obj2) {
6851 arg3 = PyInt_AsLong(obj2) ? true : false;
6852 if (PyErr_Occurred()) SWIG_fail;
6853 }
6854 if (obj3) {
6855 arg4 = PyInt_AsLong(obj3) ? true : false;
6856 if (PyErr_Occurred()) SWIG_fail;
6857 }
6858 {
6859 PyThreadState* __tstate = wxPyBeginAllowThreads();
6860 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
6861
6862 wxPyEndAllowThreads(__tstate);
6863 if (PyErr_Occurred()) SWIG_fail;
6864 }
6865 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogWindow, 1);
6866 {
6867 if (temp2)
6868 delete arg2;
6869 }
6870 return resultobj;
6871 fail:
6872 {
6873 if (temp2)
6874 delete arg2;
6875 }
6876 return NULL;
6877}
6878
6879
6880static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
6881 PyObject *resultobj;
6882 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
e811c8ce 6883 bool arg2 = (bool) True ;
d14a1e28
RD
6884 PyObject * obj0 = 0 ;
6885 PyObject * obj1 = 0 ;
6886 char *kwnames[] = {
6887 (char *) "self",(char *) "bShow", NULL
6888 };
6889
6890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
6891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6892 if (obj1) {
6893 arg2 = PyInt_AsLong(obj1) ? true : false;
6894 if (PyErr_Occurred()) SWIG_fail;
6895 }
6896 {
6897 PyThreadState* __tstate = wxPyBeginAllowThreads();
6898 (arg1)->Show(arg2);
6899
6900 wxPyEndAllowThreads(__tstate);
6901 if (PyErr_Occurred()) SWIG_fail;
6902 }
6903 Py_INCREF(Py_None); resultobj = Py_None;
6904 return resultobj;
6905 fail:
6906 return NULL;
6907}
6908
6909
6910static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
6911 PyObject *resultobj;
6912 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6913 wxFrame *result;
6914 PyObject * obj0 = 0 ;
6915 char *kwnames[] = {
6916 (char *) "self", NULL
6917 };
6918
6919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
6920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6921 {
6922 PyThreadState* __tstate = wxPyBeginAllowThreads();
6923 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
6924
6925 wxPyEndAllowThreads(__tstate);
6926 if (PyErr_Occurred()) SWIG_fail;
6927 }
6928 {
6929 resultobj = wxPyMake_wxObject(result);
6930 }
6931 return resultobj;
6932 fail:
6933 return NULL;
6934}
6935
6936
6937static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6938 PyObject *resultobj;
6939 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6940 wxLog *result;
6941 PyObject * obj0 = 0 ;
6942 char *kwnames[] = {
6943 (char *) "self", NULL
6944 };
6945
6946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
6947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6948 {
6949 PyThreadState* __tstate = wxPyBeginAllowThreads();
6950 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
6951
6952 wxPyEndAllowThreads(__tstate);
6953 if (PyErr_Occurred()) SWIG_fail;
6954 }
6955 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6956 return resultobj;
6957 fail:
6958 return NULL;
6959}
6960
6961
6962static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
6963 PyObject *resultobj;
6964 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6965 bool result;
6966 PyObject * obj0 = 0 ;
6967 char *kwnames[] = {
6968 (char *) "self", NULL
6969 };
6970
6971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
6972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6973 {
6974 PyThreadState* __tstate = wxPyBeginAllowThreads();
6975 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
6976
6977 wxPyEndAllowThreads(__tstate);
6978 if (PyErr_Occurred()) SWIG_fail;
6979 }
6980 resultobj = PyInt_FromLong((long)result);
6981 return resultobj;
6982 fail:
6983 return NULL;
6984}
6985
6986
6987static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
6988 PyObject *resultobj;
6989 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6990 bool arg2 ;
6991 PyObject * obj0 = 0 ;
6992 PyObject * obj1 = 0 ;
6993 char *kwnames[] = {
6994 (char *) "self",(char *) "bDoPass", NULL
6995 };
6996
6997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
6998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6999 arg2 = PyInt_AsLong(obj1) ? true : false;
7000 if (PyErr_Occurred()) SWIG_fail;
7001 {
7002 PyThreadState* __tstate = wxPyBeginAllowThreads();
7003 (arg1)->PassMessages(arg2);
7004
7005 wxPyEndAllowThreads(__tstate);
7006 if (PyErr_Occurred()) SWIG_fail;
7007 }
7008 Py_INCREF(Py_None); resultobj = Py_None;
7009 return resultobj;
7010 fail:
7011 return NULL;
7012}
7013
7014
7015static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7016 PyObject *obj;
7017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7018 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7019 Py_INCREF(obj);
7020 return Py_BuildValue((char *)"");
7021}
7022static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7023 PyObject *resultobj;
7024 wxLog *arg1 = (wxLog *) 0 ;
7025 wxLogChain *result;
7026 PyObject * obj0 = 0 ;
7027 char *kwnames[] = {
7028 (char *) "logger", NULL
7029 };
7030
7031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7033 {
7034 PyThreadState* __tstate = wxPyBeginAllowThreads();
7035 result = (wxLogChain *)new wxLogChain(arg1);
7036
7037 wxPyEndAllowThreads(__tstate);
7038 if (PyErr_Occurred()) SWIG_fail;
7039 }
7040 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogChain, 1);
7041 return resultobj;
7042 fail:
7043 return NULL;
7044}
7045
7046
7047static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7048 PyObject *resultobj;
7049 wxLogChain *arg1 = (wxLogChain *) 0 ;
7050 wxLog *arg2 = (wxLog *) 0 ;
7051 PyObject * obj0 = 0 ;
7052 PyObject * obj1 = 0 ;
7053 char *kwnames[] = {
7054 (char *) "self",(char *) "logger", NULL
7055 };
7056
7057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7059 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7060 {
7061 PyThreadState* __tstate = wxPyBeginAllowThreads();
7062 (arg1)->SetLog(arg2);
7063
7064 wxPyEndAllowThreads(__tstate);
7065 if (PyErr_Occurred()) SWIG_fail;
7066 }
7067 Py_INCREF(Py_None); resultobj = Py_None;
7068 return resultobj;
7069 fail:
7070 return NULL;
7071}
7072
7073
7074static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7075 PyObject *resultobj;
7076 wxLogChain *arg1 = (wxLogChain *) 0 ;
7077 bool arg2 ;
7078 PyObject * obj0 = 0 ;
7079 PyObject * obj1 = 0 ;
7080 char *kwnames[] = {
7081 (char *) "self",(char *) "bDoPass", NULL
7082 };
7083
7084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7086 arg2 = PyInt_AsLong(obj1) ? true : false;
7087 if (PyErr_Occurred()) SWIG_fail;
7088 {
7089 PyThreadState* __tstate = wxPyBeginAllowThreads();
7090 (arg1)->PassMessages(arg2);
7091
7092 wxPyEndAllowThreads(__tstate);
7093 if (PyErr_Occurred()) SWIG_fail;
7094 }
7095 Py_INCREF(Py_None); resultobj = Py_None;
7096 return resultobj;
7097 fail:
7098 return NULL;
7099}
7100
7101
7102static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7103 PyObject *resultobj;
7104 wxLogChain *arg1 = (wxLogChain *) 0 ;
7105 bool result;
7106 PyObject * obj0 = 0 ;
7107 char *kwnames[] = {
7108 (char *) "self", NULL
7109 };
7110
7111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7113 {
7114 PyThreadState* __tstate = wxPyBeginAllowThreads();
7115 result = (bool)(arg1)->IsPassingMessages();
7116
7117 wxPyEndAllowThreads(__tstate);
7118 if (PyErr_Occurred()) SWIG_fail;
7119 }
7120 resultobj = PyInt_FromLong((long)result);
7121 return resultobj;
7122 fail:
7123 return NULL;
7124}
7125
7126
7127static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7128 PyObject *resultobj;
7129 wxLogChain *arg1 = (wxLogChain *) 0 ;
7130 wxLog *result;
7131 PyObject * obj0 = 0 ;
7132 char *kwnames[] = {
7133 (char *) "self", NULL
7134 };
7135
7136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7138 {
7139 PyThreadState* __tstate = wxPyBeginAllowThreads();
7140 result = (wxLog *)(arg1)->GetOldLog();
7141
7142 wxPyEndAllowThreads(__tstate);
7143 if (PyErr_Occurred()) SWIG_fail;
7144 }
7145 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7146 return resultobj;
7147 fail:
7148 return NULL;
7149}
7150
7151
7152static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7153 PyObject *obj;
7154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7155 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7156 Py_INCREF(obj);
7157 return Py_BuildValue((char *)"");
7158}
7159static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7160 PyObject *resultobj;
7161 unsigned long result;
7162 char *kwnames[] = {
7163 NULL
7164 };
7165
7166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7167 {
7168 PyThreadState* __tstate = wxPyBeginAllowThreads();
7169 result = (unsigned long)wxSysErrorCode();
7170
7171 wxPyEndAllowThreads(__tstate);
7172 if (PyErr_Occurred()) SWIG_fail;
7173 }
7174 resultobj = PyInt_FromLong((long)result);
7175 return resultobj;
7176 fail:
7177 return NULL;
7178}
7179
7180
7181static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7182 PyObject *resultobj;
7183 unsigned long arg1 = (unsigned long) 0 ;
7184 wxString result;
7185 PyObject * obj0 = 0 ;
7186 char *kwnames[] = {
7187 (char *) "nErrCode", NULL
7188 };
7189
7190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7191 if (obj0) {
7192 arg1 = (unsigned long) PyInt_AsLong(obj0);
7193 if (PyErr_Occurred()) SWIG_fail;
7194 }
7195 {
7196 PyThreadState* __tstate = wxPyBeginAllowThreads();
7197 result = wxSysErrorMsg(arg1);
7198
7199 wxPyEndAllowThreads(__tstate);
7200 if (PyErr_Occurred()) SWIG_fail;
7201 }
7202 {
7203#if wxUSE_UNICODE
7204 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7205#else
7206 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7207#endif
7208 }
7209 return resultobj;
7210 fail:
7211 return NULL;
7212}
7213
7214
7215static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
7216 PyObject *resultobj;
7217 wxString *arg1 = 0 ;
e811c8ce 7218 bool temp1 = False ;
d14a1e28
RD
7219 PyObject * obj0 = 0 ;
7220 char *kwnames[] = {
7221 (char *) "msg", NULL
7222 };
7223
7224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7225 {
7226 arg1 = wxString_in_helper(obj0);
7227 if (arg1 == NULL) SWIG_fail;
e811c8ce 7228 temp1 = True;
d14a1e28
RD
7229 }
7230 {
7231 PyThreadState* __tstate = wxPyBeginAllowThreads();
7232 wxLogFatalError((wxString const &)*arg1);
7233
7234 wxPyEndAllowThreads(__tstate);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 }
7237 Py_INCREF(Py_None); resultobj = Py_None;
7238 {
7239 if (temp1)
7240 delete arg1;
7241 }
7242 return resultobj;
7243 fail:
7244 {
7245 if (temp1)
7246 delete arg1;
7247 }
7248 return NULL;
7249}
7250
7251
7252static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
7253 PyObject *resultobj;
7254 wxString *arg1 = 0 ;
e811c8ce 7255 bool temp1 = False ;
d14a1e28
RD
7256 PyObject * obj0 = 0 ;
7257 char *kwnames[] = {
7258 (char *) "msg", NULL
7259 };
7260
7261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
7262 {
7263 arg1 = wxString_in_helper(obj0);
7264 if (arg1 == NULL) SWIG_fail;
e811c8ce 7265 temp1 = True;
d14a1e28
RD
7266 }
7267 {
7268 PyThreadState* __tstate = wxPyBeginAllowThreads();
7269 wxLogError((wxString const &)*arg1);
7270
7271 wxPyEndAllowThreads(__tstate);
7272 if (PyErr_Occurred()) SWIG_fail;
7273 }
7274 Py_INCREF(Py_None); resultobj = Py_None;
7275 {
7276 if (temp1)
7277 delete arg1;
7278 }
7279 return resultobj;
7280 fail:
7281 {
7282 if (temp1)
7283 delete arg1;
7284 }
7285 return NULL;
7286}
7287
7288
7289static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
7290 PyObject *resultobj;
7291 wxString *arg1 = 0 ;
e811c8ce 7292 bool temp1 = False ;
d14a1e28
RD
7293 PyObject * obj0 = 0 ;
7294 char *kwnames[] = {
7295 (char *) "msg", NULL
7296 };
7297
7298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
7299 {
7300 arg1 = wxString_in_helper(obj0);
7301 if (arg1 == NULL) SWIG_fail;
e811c8ce 7302 temp1 = True;
d14a1e28
RD
7303 }
7304 {
7305 PyThreadState* __tstate = wxPyBeginAllowThreads();
7306 wxLogWarning((wxString const &)*arg1);
7307
7308 wxPyEndAllowThreads(__tstate);
7309 if (PyErr_Occurred()) SWIG_fail;
7310 }
7311 Py_INCREF(Py_None); resultobj = Py_None;
7312 {
7313 if (temp1)
7314 delete arg1;
7315 }
7316 return resultobj;
7317 fail:
7318 {
7319 if (temp1)
7320 delete arg1;
7321 }
7322 return NULL;
7323}
7324
7325
7326static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7327 PyObject *resultobj;
7328 wxString *arg1 = 0 ;
e811c8ce 7329 bool temp1 = False ;
d14a1e28
RD
7330 PyObject * obj0 = 0 ;
7331 char *kwnames[] = {
7332 (char *) "msg", NULL
7333 };
7334
7335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
7336 {
7337 arg1 = wxString_in_helper(obj0);
7338 if (arg1 == NULL) SWIG_fail;
e811c8ce 7339 temp1 = True;
d14a1e28
RD
7340 }
7341 {
7342 PyThreadState* __tstate = wxPyBeginAllowThreads();
7343 wxLogMessage((wxString const &)*arg1);
7344
7345 wxPyEndAllowThreads(__tstate);
7346 if (PyErr_Occurred()) SWIG_fail;
7347 }
7348 Py_INCREF(Py_None); resultobj = Py_None;
7349 {
7350 if (temp1)
7351 delete arg1;
7352 }
7353 return resultobj;
7354 fail:
7355 {
7356 if (temp1)
7357 delete arg1;
7358 }
7359 return NULL;
7360}
7361
7362
7363static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7364 PyObject *resultobj;
7365 wxString *arg1 = 0 ;
e811c8ce 7366 bool temp1 = False ;
d14a1e28
RD
7367 PyObject * obj0 = 0 ;
7368 char *kwnames[] = {
7369 (char *) "msg", NULL
7370 };
7371
7372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
7373 {
7374 arg1 = wxString_in_helper(obj0);
7375 if (arg1 == NULL) SWIG_fail;
e811c8ce 7376 temp1 = True;
d14a1e28
RD
7377 }
7378 {
7379 PyThreadState* __tstate = wxPyBeginAllowThreads();
7380 wxLogInfo((wxString const &)*arg1);
7381
7382 wxPyEndAllowThreads(__tstate);
7383 if (PyErr_Occurred()) SWIG_fail;
7384 }
7385 Py_INCREF(Py_None); resultobj = Py_None;
7386 {
7387 if (temp1)
7388 delete arg1;
7389 }
7390 return resultobj;
7391 fail:
7392 {
7393 if (temp1)
7394 delete arg1;
7395 }
7396 return NULL;
7397}
7398
7399
7400static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
7401 PyObject *resultobj;
7402 wxString *arg1 = 0 ;
e811c8ce 7403 bool temp1 = False ;
d14a1e28
RD
7404 PyObject * obj0 = 0 ;
7405 char *kwnames[] = {
7406 (char *) "msg", NULL
7407 };
7408
7409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
7410 {
7411 arg1 = wxString_in_helper(obj0);
7412 if (arg1 == NULL) SWIG_fail;
e811c8ce 7413 temp1 = True;
d14a1e28
RD
7414 }
7415 {
7416 PyThreadState* __tstate = wxPyBeginAllowThreads();
7417 wxLogDebug((wxString const &)*arg1);
7418
7419 wxPyEndAllowThreads(__tstate);
7420 if (PyErr_Occurred()) SWIG_fail;
7421 }
7422 Py_INCREF(Py_None); resultobj = Py_None;
7423 {
7424 if (temp1)
7425 delete arg1;
7426 }
7427 return resultobj;
7428 fail:
7429 {
7430 if (temp1)
7431 delete arg1;
7432 }
7433 return NULL;
7434}
7435
7436
7437static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7438 PyObject *resultobj;
7439 wxString *arg1 = 0 ;
e811c8ce 7440 bool temp1 = False ;
d14a1e28
RD
7441 PyObject * obj0 = 0 ;
7442 char *kwnames[] = {
7443 (char *) "msg", NULL
7444 };
7445
7446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
7447 {
7448 arg1 = wxString_in_helper(obj0);
7449 if (arg1 == NULL) SWIG_fail;
e811c8ce 7450 temp1 = True;
d14a1e28
RD
7451 }
7452 {
7453 PyThreadState* __tstate = wxPyBeginAllowThreads();
7454 wxLogVerbose((wxString const &)*arg1);
7455
7456 wxPyEndAllowThreads(__tstate);
7457 if (PyErr_Occurred()) SWIG_fail;
7458 }
7459 Py_INCREF(Py_None); resultobj = Py_None;
7460 {
7461 if (temp1)
7462 delete arg1;
7463 }
7464 return resultobj;
7465 fail:
7466 {
7467 if (temp1)
7468 delete arg1;
7469 }
7470 return NULL;
7471}
7472
7473
7474static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7475 PyObject *resultobj;
7476 wxString *arg1 = 0 ;
e811c8ce 7477 bool temp1 = False ;
d14a1e28
RD
7478 PyObject * obj0 = 0 ;
7479 char *kwnames[] = {
7480 (char *) "msg", NULL
7481 };
7482
7483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
7484 {
7485 arg1 = wxString_in_helper(obj0);
7486 if (arg1 == NULL) SWIG_fail;
e811c8ce 7487 temp1 = True;
d14a1e28
RD
7488 }
7489 {
7490 PyThreadState* __tstate = wxPyBeginAllowThreads();
7491 wxLogStatus((wxString const &)*arg1);
7492
7493 wxPyEndAllowThreads(__tstate);
7494 if (PyErr_Occurred()) SWIG_fail;
7495 }
7496 Py_INCREF(Py_None); resultobj = Py_None;
7497 {
7498 if (temp1)
7499 delete arg1;
7500 }
7501 return resultobj;
7502 fail:
7503 {
7504 if (temp1)
7505 delete arg1;
7506 }
7507 return NULL;
7508}
7509
7510
7511static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7512 PyObject *resultobj;
7513 wxFrame *arg1 = (wxFrame *) 0 ;
7514 wxString *arg2 = 0 ;
e811c8ce 7515 bool temp2 = False ;
d14a1e28
RD
7516 PyObject * obj0 = 0 ;
7517 PyObject * obj1 = 0 ;
7518 char *kwnames[] = {
7519 (char *) "pFrame",(char *) "msg", NULL
7520 };
7521
7522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
7523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7524 {
7525 arg2 = wxString_in_helper(obj1);
7526 if (arg2 == NULL) SWIG_fail;
e811c8ce 7527 temp2 = True;
d14a1e28
RD
7528 }
7529 {
7530 PyThreadState* __tstate = wxPyBeginAllowThreads();
7531 wxLogStatus(arg1,(wxString const &)*arg2);
7532
7533 wxPyEndAllowThreads(__tstate);
7534 if (PyErr_Occurred()) SWIG_fail;
7535 }
7536 Py_INCREF(Py_None); resultobj = Py_None;
7537 {
7538 if (temp2)
7539 delete arg2;
7540 }
7541 return resultobj;
7542 fail:
7543 {
7544 if (temp2)
7545 delete arg2;
7546 }
7547 return NULL;
7548}
7549
7550
7551static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
7552 PyObject *resultobj;
7553 wxString *arg1 = 0 ;
e811c8ce 7554 bool temp1 = False ;
d14a1e28
RD
7555 PyObject * obj0 = 0 ;
7556 char *kwnames[] = {
7557 (char *) "msg", NULL
7558 };
7559
7560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
7561 {
7562 arg1 = wxString_in_helper(obj0);
7563 if (arg1 == NULL) SWIG_fail;
e811c8ce 7564 temp1 = True;
d14a1e28
RD
7565 }
7566 {
7567 PyThreadState* __tstate = wxPyBeginAllowThreads();
7568 wxLogSysError((wxString const &)*arg1);
7569
7570 wxPyEndAllowThreads(__tstate);
7571 if (PyErr_Occurred()) SWIG_fail;
7572 }
7573 Py_INCREF(Py_None); resultobj = Py_None;
7574 {
7575 if (temp1)
7576 delete arg1;
7577 }
7578 return resultobj;
7579 fail:
7580 {
7581 if (temp1)
7582 delete arg1;
7583 }
7584 return NULL;
7585}
7586
7587
7588static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args, PyObject *kwargs) {
7589 PyObject *resultobj;
7590 wxString *arg1 = 0 ;
e811c8ce 7591 bool temp1 = False ;
d14a1e28
RD
7592 PyObject * obj0 = 0 ;
7593 char *kwnames[] = {
7594 (char *) "msg", NULL
7595 };
7596
7597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogTrace",kwnames,&obj0)) goto fail;
7598 {
7599 arg1 = wxString_in_helper(obj0);
7600 if (arg1 == NULL) SWIG_fail;
e811c8ce 7601 temp1 = True;
d14a1e28
RD
7602 }
7603 {
7604 PyThreadState* __tstate = wxPyBeginAllowThreads();
7605 wxLogTrace((wxString const &)*arg1);
7606
7607 wxPyEndAllowThreads(__tstate);
7608 if (PyErr_Occurred()) SWIG_fail;
7609 }
7610 Py_INCREF(Py_None); resultobj = Py_None;
7611 {
7612 if (temp1)
7613 delete arg1;
7614 }
7615 return resultobj;
7616 fail:
7617 {
7618 if (temp1)
7619 delete arg1;
7620 }
7621 return NULL;
7622}
7623
7624
7625static PyObject *_wrap_LogTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7626 PyObject *resultobj;
7627 wxString *arg1 = 0 ;
7628 wxString *arg2 = 0 ;
e811c8ce
RD
7629 bool temp1 = False ;
7630 bool temp2 = False ;
d14a1e28
RD
7631 PyObject * obj0 = 0 ;
7632 PyObject * obj1 = 0 ;
7633 char *kwnames[] = {
7634 (char *) "mask",(char *) "msg", NULL
7635 };
7636
7637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogTraceMask",kwnames,&obj0,&obj1)) goto fail;
7638 {
7639 arg1 = wxString_in_helper(obj0);
7640 if (arg1 == NULL) SWIG_fail;
e811c8ce 7641 temp1 = True;
d14a1e28
RD
7642 }
7643 {
7644 arg2 = wxString_in_helper(obj1);
7645 if (arg2 == NULL) SWIG_fail;
e811c8ce 7646 temp2 = True;
d14a1e28
RD
7647 }
7648 {
7649 PyThreadState* __tstate = wxPyBeginAllowThreads();
7650 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
7651
7652 wxPyEndAllowThreads(__tstate);
7653 if (PyErr_Occurred()) SWIG_fail;
7654 }
7655 Py_INCREF(Py_None); resultobj = Py_None;
7656 {
7657 if (temp1)
7658 delete arg1;
7659 }
7660 {
7661 if (temp2)
7662 delete arg2;
7663 }
7664 return resultobj;
7665 fail:
7666 {
7667 if (temp1)
7668 delete arg1;
7669 }
7670 {
7671 if (temp2)
7672 delete arg2;
7673 }
7674 return NULL;
7675}
7676
7677
7678static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
7679 PyObject *resultobj;
7680 unsigned long arg1 ;
7681 wxString *arg2 = 0 ;
e811c8ce 7682 bool temp2 = False ;
d14a1e28
RD
7683 PyObject * obj0 = 0 ;
7684 PyObject * obj1 = 0 ;
7685 char *kwnames[] = {
7686 (char *) "level",(char *) "msg", NULL
7687 };
7688
7689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
7690 arg1 = (unsigned long) PyInt_AsLong(obj0);
7691 if (PyErr_Occurred()) SWIG_fail;
7692 {
7693 arg2 = wxString_in_helper(obj1);
7694 if (arg2 == NULL) SWIG_fail;
e811c8ce 7695 temp2 = True;
d14a1e28
RD
7696 }
7697 {
7698 PyThreadState* __tstate = wxPyBeginAllowThreads();
7699 wxLogGeneric(arg1,(wxString const &)*arg2);
7700
7701 wxPyEndAllowThreads(__tstate);
7702 if (PyErr_Occurred()) SWIG_fail;
7703 }
7704 Py_INCREF(Py_None); resultobj = Py_None;
7705 {
7706 if (temp2)
7707 delete arg2;
7708 }
7709 return resultobj;
7710 fail:
7711 {
7712 if (temp2)
7713 delete arg2;
7714 }
7715 return NULL;
7716}
7717
7718
7719static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7720 PyObject *resultobj;
7721 wxString *arg1 = 0 ;
7722 wxString *arg2 = 0 ;
e811c8ce
RD
7723 bool temp1 = False ;
7724 bool temp2 = False ;
d14a1e28
RD
7725 PyObject * obj0 = 0 ;
7726 PyObject * obj1 = 0 ;
7727 char *kwnames[] = {
7728 (char *) "title",(char *) "text", NULL
7729 };
7730
7731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
7732 {
7733 arg1 = wxString_in_helper(obj0);
7734 if (arg1 == NULL) SWIG_fail;
e811c8ce 7735 temp1 = True;
d14a1e28
RD
7736 }
7737 {
7738 arg2 = wxString_in_helper(obj1);
7739 if (arg2 == NULL) SWIG_fail;
e811c8ce 7740 temp2 = True;
d14a1e28
RD
7741 }
7742 {
7743 PyThreadState* __tstate = wxPyBeginAllowThreads();
7744 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
7745
7746 wxPyEndAllowThreads(__tstate);
7747 if (PyErr_Occurred()) SWIG_fail;
7748 }
7749 Py_INCREF(Py_None); resultobj = Py_None;
7750 {
7751 if (temp1)
7752 delete arg1;
7753 }
7754 {
7755 if (temp2)
7756 delete arg2;
7757 }
7758 return resultobj;
7759 fail:
7760 {
7761 if (temp1)
7762 delete arg1;
7763 }
7764 {
7765 if (temp2)
7766 delete arg2;
7767 }
7768 return NULL;
7769}
7770
7771
7772static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7773 PyObject *resultobj;
7774 wxLogNull *result;
7775 char *kwnames[] = {
7776 NULL
7777 };
7778
7779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
7780 {
7781 PyThreadState* __tstate = wxPyBeginAllowThreads();
7782 result = (wxLogNull *)new wxLogNull();
7783
7784 wxPyEndAllowThreads(__tstate);
7785 if (PyErr_Occurred()) SWIG_fail;
7786 }
7787 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogNull, 1);
7788 return resultobj;
7789 fail:
7790 return NULL;
7791}
7792
7793
7794static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7795 PyObject *resultobj;
7796 wxLogNull *arg1 = (wxLogNull *) 0 ;
7797 PyObject * obj0 = 0 ;
7798 char *kwnames[] = {
7799 (char *) "self", NULL
7800 };
7801
7802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
7803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogNull,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7804 {
7805 PyThreadState* __tstate = wxPyBeginAllowThreads();
7806 delete arg1;
7807
7808 wxPyEndAllowThreads(__tstate);
7809 if (PyErr_Occurred()) SWIG_fail;
7810 }
7811 Py_INCREF(Py_None); resultobj = Py_None;
7812 return resultobj;
7813 fail:
7814 return NULL;
7815}
7816
7817
7818static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
7819 PyObject *obj;
7820 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7821 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
7822 Py_INCREF(obj);
7823 return Py_BuildValue((char *)"");
7824}
7825static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7826 PyObject *resultobj;
7827 wxPyLog *result;
7828 char *kwnames[] = {
7829 NULL
7830 };
7831
7832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
7833 {
7834 PyThreadState* __tstate = wxPyBeginAllowThreads();
7835 result = (wxPyLog *)new wxPyLog();
7836
7837 wxPyEndAllowThreads(__tstate);
7838 if (PyErr_Occurred()) SWIG_fail;
7839 }
7840 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLog, 1);
7841 return resultobj;
7842 fail:
7843 return NULL;
7844}
7845
7846
7847static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7848 PyObject *resultobj;
7849 wxPyLog *arg1 = (wxPyLog *) 0 ;
7850 PyObject *arg2 = (PyObject *) 0 ;
7851 PyObject *arg3 = (PyObject *) 0 ;
7852 PyObject * obj0 = 0 ;
7853 PyObject * obj1 = 0 ;
7854 PyObject * obj2 = 0 ;
7855 char *kwnames[] = {
7856 (char *) "self",(char *) "self",(char *) "_class", NULL
7857 };
7858
7859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7861 arg2 = obj1;
7862 arg3 = obj2;
7863 {
7864 PyThreadState* __tstate = wxPyBeginAllowThreads();
7865 (arg1)->_setCallbackInfo(arg2,arg3);
7866
7867 wxPyEndAllowThreads(__tstate);
7868 if (PyErr_Occurred()) SWIG_fail;
7869 }
7870 Py_INCREF(Py_None); resultobj = Py_None;
7871 return resultobj;
7872 fail:
7873 return NULL;
7874}
7875
7876
7877static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
7878 PyObject *obj;
7879 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7880 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
7881 Py_INCREF(obj);
7882 return Py_BuildValue((char *)"");
7883}
7884static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
7885 PyObject *resultobj;
7886 int arg1 ;
7887 int arg2 = (int) wxSIGTERM ;
7888 int result;
7889 char *kwnames[] = {
7890 (char *) "pid",(char *) "sig", NULL
7891 };
7892
7893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:Process_Kill",kwnames,&arg1,&arg2)) goto fail;
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 resultobj = PyInt_FromLong((long)result);
7902 return resultobj;
7903 fail:
7904 return NULL;
7905}
7906
7907
7908static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj;
7910 int arg1 ;
7911 bool result;
7912 char *kwnames[] = {
7913 (char *) "pid", NULL
7914 };
7915
7916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Process_Exists",kwnames,&arg1)) goto fail;
7917 {
7918 PyThreadState* __tstate = wxPyBeginAllowThreads();
7919 result = (bool)wxPyProcess::Exists(arg1);
7920
7921 wxPyEndAllowThreads(__tstate);
7922 if (PyErr_Occurred()) SWIG_fail;
7923 }
7924 resultobj = PyInt_FromLong((long)result);
7925 return resultobj;
7926 fail:
7927 return NULL;
7928}
7929
7930
7931static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
7932 PyObject *resultobj;
7933 wxString *arg1 = 0 ;
7934 int arg2 = (int) wxEXEC_ASYNC ;
7935 wxPyProcess *result;
e811c8ce 7936 bool temp1 = False ;
d14a1e28
RD
7937 PyObject * obj0 = 0 ;
7938 char *kwnames[] = {
7939 (char *) "cmd",(char *) "flags", NULL
7940 };
7941
7942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Process_Open",kwnames,&obj0,&arg2)) goto fail;
7943 {
7944 arg1 = wxString_in_helper(obj0);
7945 if (arg1 == NULL) SWIG_fail;
e811c8ce 7946 temp1 = True;
d14a1e28
RD
7947 }
7948 {
7949 PyThreadState* __tstate = wxPyBeginAllowThreads();
7950 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
7951
7952 wxPyEndAllowThreads(__tstate);
7953 if (PyErr_Occurred()) SWIG_fail;
7954 }
7955 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 0);
7956 {
7957 if (temp1)
7958 delete arg1;
7959 }
7960 return resultobj;
7961 fail:
7962 {
7963 if (temp1)
7964 delete arg1;
7965 }
7966 return NULL;
7967}
7968
7969
7970static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
7971 PyObject *resultobj;
7972 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
7973 int arg2 = (int) -1 ;
7974 wxPyProcess *result;
7975 PyObject * obj0 = 0 ;
7976 char *kwnames[] = {
7977 (char *) "parent",(char *) "id", NULL
7978 };
7979
7980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Process",kwnames,&obj0,&arg2)) goto fail;
7981 if (obj0) {
7982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7983 }
7984 {
7985 PyThreadState* __tstate = wxPyBeginAllowThreads();
7986 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
7987
7988 wxPyEndAllowThreads(__tstate);
7989 if (PyErr_Occurred()) SWIG_fail;
7990 }
7991 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 1);
7992 return resultobj;
7993 fail:
7994 return NULL;
7995}
7996
7997
7998static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7999 PyObject *resultobj;
8000 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8001 PyObject *arg2 = (PyObject *) 0 ;
8002 PyObject *arg3 = (PyObject *) 0 ;
8003 PyObject * obj0 = 0 ;
8004 PyObject * obj1 = 0 ;
8005 PyObject * obj2 = 0 ;
8006 char *kwnames[] = {
8007 (char *) "self",(char *) "self",(char *) "_class", NULL
8008 };
8009
8010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8012 arg2 = obj1;
8013 arg3 = obj2;
8014 {
8015 PyThreadState* __tstate = wxPyBeginAllowThreads();
8016 (arg1)->_setCallbackInfo(arg2,arg3);
8017
8018 wxPyEndAllowThreads(__tstate);
8019 if (PyErr_Occurred()) SWIG_fail;
8020 }
8021 Py_INCREF(Py_None); resultobj = Py_None;
8022 return resultobj;
8023 fail:
8024 return NULL;
8025}
8026
8027
8028static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8029 PyObject *resultobj;
8030 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8031 int arg2 ;
8032 int arg3 ;
8033 PyObject * obj0 = 0 ;
8034 char *kwnames[] = {
8035 (char *) "self",(char *) "pid",(char *) "status", NULL
8036 };
8037
8038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Process_base_OnTerminate",kwnames,&obj0,&arg2,&arg3)) goto fail;
8039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8040 {
8041 PyThreadState* __tstate = wxPyBeginAllowThreads();
8042 (arg1)->base_OnTerminate(arg2,arg3);
8043
8044 wxPyEndAllowThreads(__tstate);
8045 if (PyErr_Occurred()) SWIG_fail;
8046 }
8047 Py_INCREF(Py_None); resultobj = Py_None;
8048 return resultobj;
8049 fail:
8050 return NULL;
8051}
8052
8053
8054static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8055 PyObject *resultobj;
8056 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8057 PyObject * obj0 = 0 ;
8058 char *kwnames[] = {
8059 (char *) "self", NULL
8060 };
8061
8062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8064 {
8065 PyThreadState* __tstate = wxPyBeginAllowThreads();
8066 (arg1)->Redirect();
8067
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 }
8071 Py_INCREF(Py_None); resultobj = Py_None;
8072 return resultobj;
8073 fail:
8074 return NULL;
8075}
8076
8077
8078static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8079 PyObject *resultobj;
8080 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8081 bool result;
8082 PyObject * obj0 = 0 ;
8083 char *kwnames[] = {
8084 (char *) "self", NULL
8085 };
8086
8087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8089 {
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 result = (bool)(arg1)->IsRedirected();
8092
8093 wxPyEndAllowThreads(__tstate);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
8096 resultobj = PyInt_FromLong((long)result);
8097 return resultobj;
8098 fail:
8099 return NULL;
8100}
8101
8102
8103static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8104 PyObject *resultobj;
8105 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8106 PyObject * obj0 = 0 ;
8107 char *kwnames[] = {
8108 (char *) "self", NULL
8109 };
8110
8111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8113 {
8114 PyThreadState* __tstate = wxPyBeginAllowThreads();
8115 (arg1)->Detach();
8116
8117 wxPyEndAllowThreads(__tstate);
8118 if (PyErr_Occurred()) SWIG_fail;
8119 }
8120 Py_INCREF(Py_None); resultobj = Py_None;
8121 return resultobj;
8122 fail:
8123 return NULL;
8124}
8125
8126
8127static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8128 PyObject *resultobj;
8129 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8130 wxInputStream *result;
8131 PyObject * obj0 = 0 ;
8132 char *kwnames[] = {
8133 (char *) "self", NULL
8134 };
8135
8136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
8137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8138 {
8139 PyThreadState* __tstate = wxPyBeginAllowThreads();
8140 result = (wxInputStream *)(arg1)->GetInputStream();
8141
8142 wxPyEndAllowThreads(__tstate);
8143 if (PyErr_Occurred()) SWIG_fail;
8144 }
8145 {
8146 wxPyInputStream * _ptr = NULL;
8147
8148 if (result) {
8149 _ptr = new wxPyInputStream(result);
8150 }
e811c8ce 8151 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
8152 }
8153 return resultobj;
8154 fail:
8155 return NULL;
8156}
8157
8158
8159static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8160 PyObject *resultobj;
8161 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8162 wxInputStream *result;
8163 PyObject * obj0 = 0 ;
8164 char *kwnames[] = {
8165 (char *) "self", NULL
8166 };
8167
8168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
8169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8170 {
8171 PyThreadState* __tstate = wxPyBeginAllowThreads();
8172 result = (wxInputStream *)(arg1)->GetErrorStream();
8173
8174 wxPyEndAllowThreads(__tstate);
8175 if (PyErr_Occurred()) SWIG_fail;
8176 }
8177 {
8178 wxPyInputStream * _ptr = NULL;
8179
8180 if (result) {
8181 _ptr = new wxPyInputStream(result);
8182 }
e811c8ce 8183 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
8184 }
8185 return resultobj;
8186 fail:
8187 return NULL;
8188}
8189
8190
8191static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8192 PyObject *resultobj;
8193 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8194 wxOutputStream *result;
8195 PyObject * obj0 = 0 ;
8196 char *kwnames[] = {
8197 (char *) "self", NULL
8198 };
8199
8200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
8201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8202 {
8203 PyThreadState* __tstate = wxPyBeginAllowThreads();
8204 result = (wxOutputStream *)(arg1)->GetOutputStream();
8205
8206 wxPyEndAllowThreads(__tstate);
8207 if (PyErr_Occurred()) SWIG_fail;
8208 }
8209 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxOutputStream, 0);
8210 return resultobj;
8211 fail:
8212 return NULL;
8213}
8214
8215
8216static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
8217 PyObject *resultobj;
8218 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8219 PyObject * obj0 = 0 ;
8220 char *kwnames[] = {
8221 (char *) "self", NULL
8222 };
8223
8224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
8225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8226 {
8227 PyThreadState* __tstate = wxPyBeginAllowThreads();
8228 (arg1)->CloseOutput();
8229
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) SWIG_fail;
8232 }
8233 Py_INCREF(Py_None); resultobj = Py_None;
8234 return resultobj;
8235 fail:
8236 return NULL;
8237}
8238
8239
8240static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
8241 PyObject *resultobj;
8242 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8243 bool result;
8244 PyObject * obj0 = 0 ;
8245 char *kwnames[] = {
8246 (char *) "self", NULL
8247 };
8248
8249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
8250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8251 {
8252 PyThreadState* __tstate = wxPyBeginAllowThreads();
8253 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
8254
8255 wxPyEndAllowThreads(__tstate);
8256 if (PyErr_Occurred()) SWIG_fail;
8257 }
8258 resultobj = PyInt_FromLong((long)result);
8259 return resultobj;
8260 fail:
8261 return NULL;
8262}
8263
8264
8265static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8266 PyObject *resultobj;
8267 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8268 bool result;
8269 PyObject * obj0 = 0 ;
8270 char *kwnames[] = {
8271 (char *) "self", NULL
8272 };
8273
8274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
8275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8276 {
8277 PyThreadState* __tstate = wxPyBeginAllowThreads();
8278 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
8279
8280 wxPyEndAllowThreads(__tstate);
8281 if (PyErr_Occurred()) SWIG_fail;
8282 }
8283 resultobj = PyInt_FromLong((long)result);
8284 return resultobj;
8285 fail:
8286 return NULL;
8287}
8288
8289
8290static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8291 PyObject *resultobj;
8292 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8293 bool result;
8294 PyObject * obj0 = 0 ;
8295 char *kwnames[] = {
8296 (char *) "self", NULL
8297 };
8298
8299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
8300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8301 {
8302 PyThreadState* __tstate = wxPyBeginAllowThreads();
8303 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
8304
8305 wxPyEndAllowThreads(__tstate);
8306 if (PyErr_Occurred()) SWIG_fail;
8307 }
8308 resultobj = PyInt_FromLong((long)result);
8309 return resultobj;
8310 fail:
8311 return NULL;
8312}
8313
8314
8315static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
8316 PyObject *obj;
8317 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8318 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
8319 Py_INCREF(obj);
8320 return Py_BuildValue((char *)"");
8321}
8322static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8323 PyObject *resultobj;
8324 int arg1 = (int) 0 ;
8325 int arg2 = (int) 0 ;
8326 int arg3 = (int) 0 ;
8327 wxProcessEvent *result;
8328 char *kwnames[] = {
8329 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8330 };
8331
8332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iii:new_ProcessEvent",kwnames,&arg1,&arg2,&arg3)) goto fail;
8333 {
8334 PyThreadState* __tstate = wxPyBeginAllowThreads();
8335 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
8336
8337 wxPyEndAllowThreads(__tstate);
8338 if (PyErr_Occurred()) SWIG_fail;
8339 }
8340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProcessEvent, 1);
8341 return resultobj;
8342 fail:
8343 return NULL;
8344}
8345
8346
8347static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
8348 PyObject *resultobj;
8349 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8350 int result;
8351 PyObject * obj0 = 0 ;
8352 char *kwnames[] = {
8353 (char *) "self", NULL
8354 };
8355
8356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
8357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8358 {
8359 PyThreadState* __tstate = wxPyBeginAllowThreads();
8360 result = (int)(arg1)->GetPid();
8361
8362 wxPyEndAllowThreads(__tstate);
8363 if (PyErr_Occurred()) SWIG_fail;
8364 }
8365 resultobj = PyInt_FromLong((long)result);
8366 return resultobj;
8367 fail:
8368 return NULL;
8369}
8370
8371
8372static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8373 PyObject *resultobj;
8374 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8375 int result;
8376 PyObject * obj0 = 0 ;
8377 char *kwnames[] = {
8378 (char *) "self", NULL
8379 };
8380
8381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
8382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8383 {
8384 PyThreadState* __tstate = wxPyBeginAllowThreads();
8385 result = (int)(arg1)->GetExitCode();
8386
8387 wxPyEndAllowThreads(__tstate);
8388 if (PyErr_Occurred()) SWIG_fail;
8389 }
8390 resultobj = PyInt_FromLong((long)result);
8391 return resultobj;
8392 fail:
8393 return NULL;
8394}
8395
8396
8397static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8398 PyObject *resultobj;
8399 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8400 int arg2 ;
8401 PyObject * obj0 = 0 ;
8402 char *kwnames[] = {
8403 (char *) "self",(char *) "m_pid", NULL
8404 };
8405
8406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_pid_set",kwnames,&obj0,&arg2)) goto fail;
8407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8408 if (arg1) (arg1)->m_pid = arg2;
8409
8410 Py_INCREF(Py_None); resultobj = Py_None;
8411 return resultobj;
8412 fail:
8413 return NULL;
8414}
8415
8416
8417static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8418 PyObject *resultobj;
8419 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8420 int result;
8421 PyObject * obj0 = 0 ;
8422 char *kwnames[] = {
8423 (char *) "self", NULL
8424 };
8425
8426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
8427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8428 result = (int) ((arg1)->m_pid);
8429
8430 resultobj = PyInt_FromLong((long)result);
8431 return resultobj;
8432 fail:
8433 return NULL;
8434}
8435
8436
8437static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8438 PyObject *resultobj;
8439 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8440 int arg2 ;
8441 PyObject * obj0 = 0 ;
8442 char *kwnames[] = {
8443 (char *) "self",(char *) "m_exitcode", NULL
8444 };
8445
8446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames,&obj0,&arg2)) goto fail;
8447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8448 if (arg1) (arg1)->m_exitcode = arg2;
8449
8450 Py_INCREF(Py_None); resultobj = Py_None;
8451 return resultobj;
8452 fail:
8453 return NULL;
8454}
8455
8456
8457static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8458 PyObject *resultobj;
8459 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8460 int result;
8461 PyObject * obj0 = 0 ;
8462 char *kwnames[] = {
8463 (char *) "self", NULL
8464 };
8465
8466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
8467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8468 result = (int) ((arg1)->m_exitcode);
8469
8470 resultobj = PyInt_FromLong((long)result);
8471 return resultobj;
8472 fail:
8473 return NULL;
8474}
8475
8476
8477static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
8478 PyObject *obj;
8479 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8480 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
8481 Py_INCREF(obj);
8482 return Py_BuildValue((char *)"");
8483}
8484static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
8485 PyObject *resultobj;
8486 wxString *arg1 = 0 ;
8487 int arg2 = (int) wxEXEC_ASYNC ;
8488 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
8489 long result;
e811c8ce 8490 bool temp1 = False ;
d14a1e28
RD
8491 PyObject * obj0 = 0 ;
8492 PyObject * obj2 = 0 ;
8493 char *kwnames[] = {
8494 (char *) "command",(char *) "flags",(char *) "process", NULL
8495 };
8496
8497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Execute",kwnames,&obj0,&arg2,&obj2)) goto fail;
8498 {
8499 arg1 = wxString_in_helper(obj0);
8500 if (arg1 == NULL) SWIG_fail;
e811c8ce 8501 temp1 = True;
d14a1e28
RD
8502 }
8503 if (obj2) {
8504 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8505 }
8506 {
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
8508 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
8509
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
8513 resultobj = PyInt_FromLong((long)result);
8514 {
8515 if (temp1)
8516 delete arg1;
8517 }
8518 return resultobj;
8519 fail:
8520 {
8521 if (temp1)
8522 delete arg1;
8523 }
8524 return NULL;
8525}
8526
8527
8528static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8529 PyObject *resultobj;
8530 int arg1 = (int) wxJOYSTICK1 ;
8531 wxJoystick *result;
8532 char *kwnames[] = {
8533 (char *) "joystick", NULL
8534 };
8535
8536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_Joystick",kwnames,&arg1)) goto fail;
8537 {
8538 PyThreadState* __tstate = wxPyBeginAllowThreads();
8539 result = (wxJoystick *)new wxJoystick(arg1);
8540
8541 wxPyEndAllowThreads(__tstate);
8542 if (PyErr_Occurred()) SWIG_fail;
8543 }
8544 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystick, 1);
8545 return resultobj;
8546 fail:
8547 return NULL;
8548}
8549
8550
8551static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8552 PyObject *resultobj;
8553 wxJoystick *arg1 = (wxJoystick *) 0 ;
8554 PyObject * obj0 = 0 ;
8555 char *kwnames[] = {
8556 (char *) "self", NULL
8557 };
8558
8559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
8560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8561 {
8562 PyThreadState* __tstate = wxPyBeginAllowThreads();
8563 delete arg1;
8564
8565 wxPyEndAllowThreads(__tstate);
8566 if (PyErr_Occurred()) SWIG_fail;
8567 }
8568 Py_INCREF(Py_None); resultobj = Py_None;
8569 return resultobj;
8570 fail:
8571 return NULL;
8572}
8573
8574
8575static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8576 PyObject *resultobj;
8577 wxJoystick *arg1 = (wxJoystick *) 0 ;
8578 wxPoint result;
8579 PyObject * obj0 = 0 ;
8580 char *kwnames[] = {
8581 (char *) "self", NULL
8582 };
8583
8584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
8585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8586 {
8587 PyThreadState* __tstate = wxPyBeginAllowThreads();
8588 result = (arg1)->GetPosition();
8589
8590 wxPyEndAllowThreads(__tstate);
8591 if (PyErr_Occurred()) SWIG_fail;
8592 }
8593 {
8594 wxPoint * resultptr;
8595 resultptr = new wxPoint((wxPoint &) result);
8596 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8597 }
8598 return resultobj;
8599 fail:
8600 return NULL;
8601}
8602
8603
8604static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8605 PyObject *resultobj;
8606 wxJoystick *arg1 = (wxJoystick *) 0 ;
8607 int result;
8608 PyObject * obj0 = 0 ;
8609 char *kwnames[] = {
8610 (char *) "self", NULL
8611 };
8612
8613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
8614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8615 {
8616 PyThreadState* __tstate = wxPyBeginAllowThreads();
8617 result = (int)(arg1)->GetZPosition();
8618
8619 wxPyEndAllowThreads(__tstate);
8620 if (PyErr_Occurred()) SWIG_fail;
8621 }
8622 resultobj = PyInt_FromLong((long)result);
8623 return resultobj;
8624 fail:
8625 return NULL;
8626}
8627
8628
8629static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
8630 PyObject *resultobj;
8631 wxJoystick *arg1 = (wxJoystick *) 0 ;
8632 int result;
8633 PyObject * obj0 = 0 ;
8634 char *kwnames[] = {
8635 (char *) "self", NULL
8636 };
8637
8638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
8639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8640 {
8641 PyThreadState* __tstate = wxPyBeginAllowThreads();
8642 result = (int)(arg1)->GetButtonState();
8643
8644 wxPyEndAllowThreads(__tstate);
8645 if (PyErr_Occurred()) SWIG_fail;
8646 }
8647 resultobj = PyInt_FromLong((long)result);
8648 return resultobj;
8649 fail:
8650 return NULL;
8651}
8652
8653
8654static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8655 PyObject *resultobj;
8656 wxJoystick *arg1 = (wxJoystick *) 0 ;
8657 int result;
8658 PyObject * obj0 = 0 ;
8659 char *kwnames[] = {
8660 (char *) "self", NULL
8661 };
8662
8663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
8664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8665 {
8666 PyThreadState* __tstate = wxPyBeginAllowThreads();
8667 result = (int)(arg1)->GetPOVPosition();
8668
8669 wxPyEndAllowThreads(__tstate);
8670 if (PyErr_Occurred()) SWIG_fail;
8671 }
8672 resultobj = PyInt_FromLong((long)result);
8673 return resultobj;
8674 fail:
8675 return NULL;
8676}
8677
8678
8679static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8680 PyObject *resultobj;
8681 wxJoystick *arg1 = (wxJoystick *) 0 ;
8682 int result;
8683 PyObject * obj0 = 0 ;
8684 char *kwnames[] = {
8685 (char *) "self", NULL
8686 };
8687
8688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
8689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8690 {
8691 PyThreadState* __tstate = wxPyBeginAllowThreads();
8692 result = (int)(arg1)->GetPOVCTSPosition();
8693
8694 wxPyEndAllowThreads(__tstate);
8695 if (PyErr_Occurred()) SWIG_fail;
8696 }
8697 resultobj = PyInt_FromLong((long)result);
8698 return resultobj;
8699 fail:
8700 return NULL;
8701}
8702
8703
8704static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8705 PyObject *resultobj;
8706 wxJoystick *arg1 = (wxJoystick *) 0 ;
8707 int result;
8708 PyObject * obj0 = 0 ;
8709 char *kwnames[] = {
8710 (char *) "self", NULL
8711 };
8712
8713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
8714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8715 {
8716 PyThreadState* __tstate = wxPyBeginAllowThreads();
8717 result = (int)(arg1)->GetRudderPosition();
8718
8719 wxPyEndAllowThreads(__tstate);
8720 if (PyErr_Occurred()) SWIG_fail;
8721 }
8722 resultobj = PyInt_FromLong((long)result);
8723 return resultobj;
8724 fail:
8725 return NULL;
8726}
8727
8728
8729static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8730 PyObject *resultobj;
8731 wxJoystick *arg1 = (wxJoystick *) 0 ;
8732 int result;
8733 PyObject * obj0 = 0 ;
8734 char *kwnames[] = {
8735 (char *) "self", NULL
8736 };
8737
8738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
8739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8740 {
8741 PyThreadState* __tstate = wxPyBeginAllowThreads();
8742 result = (int)(arg1)->GetUPosition();
8743
8744 wxPyEndAllowThreads(__tstate);
8745 if (PyErr_Occurred()) SWIG_fail;
8746 }
8747 resultobj = PyInt_FromLong((long)result);
8748 return resultobj;
8749 fail:
8750 return NULL;
8751}
8752
8753
8754static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8755 PyObject *resultobj;
8756 wxJoystick *arg1 = (wxJoystick *) 0 ;
8757 int result;
8758 PyObject * obj0 = 0 ;
8759 char *kwnames[] = {
8760 (char *) "self", NULL
8761 };
8762
8763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
8764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8765 {
8766 PyThreadState* __tstate = wxPyBeginAllowThreads();
8767 result = (int)(arg1)->GetVPosition();
8768
8769 wxPyEndAllowThreads(__tstate);
8770 if (PyErr_Occurred()) SWIG_fail;
8771 }
8772 resultobj = PyInt_FromLong((long)result);
8773 return resultobj;
8774 fail:
8775 return NULL;
8776}
8777
8778
8779static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8780 PyObject *resultobj;
8781 wxJoystick *arg1 = (wxJoystick *) 0 ;
8782 int result;
8783 PyObject * obj0 = 0 ;
8784 char *kwnames[] = {
8785 (char *) "self", NULL
8786 };
8787
8788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
8789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8790 {
8791 PyThreadState* __tstate = wxPyBeginAllowThreads();
8792 result = (int)(arg1)->GetMovementThreshold();
8793
8794 wxPyEndAllowThreads(__tstate);
8795 if (PyErr_Occurred()) SWIG_fail;
8796 }
8797 resultobj = PyInt_FromLong((long)result);
8798 return resultobj;
8799 fail:
8800 return NULL;
8801}
8802
8803
8804static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8805 PyObject *resultobj;
8806 wxJoystick *arg1 = (wxJoystick *) 0 ;
8807 int arg2 ;
8808 PyObject * obj0 = 0 ;
8809 char *kwnames[] = {
8810 (char *) "self",(char *) "threshold", NULL
8811 };
8812
8813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Joystick_SetMovementThreshold",kwnames,&obj0,&arg2)) goto fail;
8814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8815 {
8816 PyThreadState* __tstate = wxPyBeginAllowThreads();
8817 (arg1)->SetMovementThreshold(arg2);
8818
8819 wxPyEndAllowThreads(__tstate);
8820 if (PyErr_Occurred()) SWIG_fail;
8821 }
8822 Py_INCREF(Py_None); resultobj = Py_None;
8823 return resultobj;
8824 fail:
8825 return NULL;
8826}
8827
8828
8829static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
8830 PyObject *resultobj;
8831 wxJoystick *arg1 = (wxJoystick *) 0 ;
8832 bool result;
8833 PyObject * obj0 = 0 ;
8834 char *kwnames[] = {
8835 (char *) "self", NULL
8836 };
8837
8838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
8839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8840 {
8841 PyThreadState* __tstate = wxPyBeginAllowThreads();
8842 result = (bool)(arg1)->IsOk();
8843
8844 wxPyEndAllowThreads(__tstate);
8845 if (PyErr_Occurred()) SWIG_fail;
8846 }
8847 resultobj = PyInt_FromLong((long)result);
8848 return resultobj;
8849 fail:
8850 return NULL;
8851}
8852
8853
8854static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
8855 PyObject *resultobj;
8856 wxJoystick *arg1 = (wxJoystick *) 0 ;
8857 int result;
8858 PyObject * obj0 = 0 ;
8859 char *kwnames[] = {
8860 (char *) "self", NULL
8861 };
8862
8863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
8864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8865 {
8866 PyThreadState* __tstate = wxPyBeginAllowThreads();
8867 result = (int)(arg1)->GetNumberJoysticks();
8868
8869 wxPyEndAllowThreads(__tstate);
8870 if (PyErr_Occurred()) SWIG_fail;
8871 }
8872 resultobj = PyInt_FromLong((long)result);
8873 return resultobj;
8874 fail:
8875 return NULL;
8876}
8877
8878
8879static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
8880 PyObject *resultobj;
8881 wxJoystick *arg1 = (wxJoystick *) 0 ;
8882 int result;
8883 PyObject * obj0 = 0 ;
8884 char *kwnames[] = {
8885 (char *) "self", NULL
8886 };
8887
8888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
8889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8890 {
8891 PyThreadState* __tstate = wxPyBeginAllowThreads();
8892 result = (int)(arg1)->GetManufacturerId();
8893
8894 wxPyEndAllowThreads(__tstate);
8895 if (PyErr_Occurred()) SWIG_fail;
8896 }
8897 resultobj = PyInt_FromLong((long)result);
8898 return resultobj;
8899 fail:
8900 return NULL;
8901}
8902
8903
8904static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
8905 PyObject *resultobj;
8906 wxJoystick *arg1 = (wxJoystick *) 0 ;
8907 int result;
8908 PyObject * obj0 = 0 ;
8909 char *kwnames[] = {
8910 (char *) "self", NULL
8911 };
8912
8913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
8914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8915 {
8916 PyThreadState* __tstate = wxPyBeginAllowThreads();
8917 result = (int)(arg1)->GetProductId();
8918
8919 wxPyEndAllowThreads(__tstate);
8920 if (PyErr_Occurred()) SWIG_fail;
8921 }
8922 resultobj = PyInt_FromLong((long)result);
8923 return resultobj;
8924 fail:
8925 return NULL;
8926}
8927
8928
8929static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
8930 PyObject *resultobj;
8931 wxJoystick *arg1 = (wxJoystick *) 0 ;
8932 wxString result;
8933 PyObject * obj0 = 0 ;
8934 char *kwnames[] = {
8935 (char *) "self", NULL
8936 };
8937
8938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
8939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8940 {
8941 PyThreadState* __tstate = wxPyBeginAllowThreads();
8942 result = (arg1)->GetProductName();
8943
8944 wxPyEndAllowThreads(__tstate);
8945 if (PyErr_Occurred()) SWIG_fail;
8946 }
8947 {
8948#if wxUSE_UNICODE
8949 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8950#else
8951 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8952#endif
8953 }
8954 return resultobj;
8955 fail:
8956 return NULL;
8957}
8958
8959
8960static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8961 PyObject *resultobj;
8962 wxJoystick *arg1 = (wxJoystick *) 0 ;
8963 int result;
8964 PyObject * obj0 = 0 ;
8965 char *kwnames[] = {
8966 (char *) "self", NULL
8967 };
8968
8969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
8970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8971 {
8972 PyThreadState* __tstate = wxPyBeginAllowThreads();
8973 result = (int)(arg1)->GetXMin();
8974
8975 wxPyEndAllowThreads(__tstate);
8976 if (PyErr_Occurred()) SWIG_fail;
8977 }
8978 resultobj = PyInt_FromLong((long)result);
8979 return resultobj;
8980 fail:
8981 return NULL;
8982}
8983
8984
8985static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8986 PyObject *resultobj;
8987 wxJoystick *arg1 = (wxJoystick *) 0 ;
8988 int result;
8989 PyObject * obj0 = 0 ;
8990 char *kwnames[] = {
8991 (char *) "self", NULL
8992 };
8993
8994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
8995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8996 {
8997 PyThreadState* __tstate = wxPyBeginAllowThreads();
8998 result = (int)(arg1)->GetYMin();
8999
9000 wxPyEndAllowThreads(__tstate);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 }
9003 resultobj = PyInt_FromLong((long)result);
9004 return resultobj;
9005 fail:
9006 return NULL;
9007}
9008
9009
9010static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9011 PyObject *resultobj;
9012 wxJoystick *arg1 = (wxJoystick *) 0 ;
9013 int result;
9014 PyObject * obj0 = 0 ;
9015 char *kwnames[] = {
9016 (char *) "self", NULL
9017 };
9018
9019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9021 {
9022 PyThreadState* __tstate = wxPyBeginAllowThreads();
9023 result = (int)(arg1)->GetZMin();
9024
9025 wxPyEndAllowThreads(__tstate);
9026 if (PyErr_Occurred()) SWIG_fail;
9027 }
9028 resultobj = PyInt_FromLong((long)result);
9029 return resultobj;
9030 fail:
9031 return NULL;
9032}
9033
9034
9035static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9036 PyObject *resultobj;
9037 wxJoystick *arg1 = (wxJoystick *) 0 ;
9038 int result;
9039 PyObject * obj0 = 0 ;
9040 char *kwnames[] = {
9041 (char *) "self", NULL
9042 };
9043
9044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9046 {
9047 PyThreadState* __tstate = wxPyBeginAllowThreads();
9048 result = (int)(arg1)->GetXMax();
9049
9050 wxPyEndAllowThreads(__tstate);
9051 if (PyErr_Occurred()) SWIG_fail;
9052 }
9053 resultobj = PyInt_FromLong((long)result);
9054 return resultobj;
9055 fail:
9056 return NULL;
9057}
9058
9059
9060static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9061 PyObject *resultobj;
9062 wxJoystick *arg1 = (wxJoystick *) 0 ;
9063 int result;
9064 PyObject * obj0 = 0 ;
9065 char *kwnames[] = {
9066 (char *) "self", NULL
9067 };
9068
9069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
9070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9071 {
9072 PyThreadState* __tstate = wxPyBeginAllowThreads();
9073 result = (int)(arg1)->GetYMax();
9074
9075 wxPyEndAllowThreads(__tstate);
9076 if (PyErr_Occurred()) SWIG_fail;
9077 }
9078 resultobj = PyInt_FromLong((long)result);
9079 return resultobj;
9080 fail:
9081 return NULL;
9082}
9083
9084
9085static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9086 PyObject *resultobj;
9087 wxJoystick *arg1 = (wxJoystick *) 0 ;
9088 int result;
9089 PyObject * obj0 = 0 ;
9090 char *kwnames[] = {
9091 (char *) "self", NULL
9092 };
9093
9094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
9095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9096 {
9097 PyThreadState* __tstate = wxPyBeginAllowThreads();
9098 result = (int)(arg1)->GetZMax();
9099
9100 wxPyEndAllowThreads(__tstate);
9101 if (PyErr_Occurred()) SWIG_fail;
9102 }
9103 resultobj = PyInt_FromLong((long)result);
9104 return resultobj;
9105 fail:
9106 return NULL;
9107}
9108
9109
9110static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9111 PyObject *resultobj;
9112 wxJoystick *arg1 = (wxJoystick *) 0 ;
9113 int result;
9114 PyObject * obj0 = 0 ;
9115 char *kwnames[] = {
9116 (char *) "self", NULL
9117 };
9118
9119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
9120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9121 {
9122 PyThreadState* __tstate = wxPyBeginAllowThreads();
9123 result = (int)(arg1)->GetNumberButtons();
9124
9125 wxPyEndAllowThreads(__tstate);
9126 if (PyErr_Occurred()) SWIG_fail;
9127 }
9128 resultobj = PyInt_FromLong((long)result);
9129 return resultobj;
9130 fail:
9131 return NULL;
9132}
9133
9134
9135static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9136 PyObject *resultobj;
9137 wxJoystick *arg1 = (wxJoystick *) 0 ;
9138 int result;
9139 PyObject * obj0 = 0 ;
9140 char *kwnames[] = {
9141 (char *) "self", NULL
9142 };
9143
9144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
9145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9146 {
9147 PyThreadState* __tstate = wxPyBeginAllowThreads();
9148 result = (int)(arg1)->GetNumberAxes();
9149
9150 wxPyEndAllowThreads(__tstate);
9151 if (PyErr_Occurred()) SWIG_fail;
9152 }
9153 resultobj = PyInt_FromLong((long)result);
9154 return resultobj;
9155 fail:
9156 return NULL;
9157}
9158
9159
9160static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9161 PyObject *resultobj;
9162 wxJoystick *arg1 = (wxJoystick *) 0 ;
9163 int result;
9164 PyObject * obj0 = 0 ;
9165 char *kwnames[] = {
9166 (char *) "self", NULL
9167 };
9168
9169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
9170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9171 {
9172 PyThreadState* __tstate = wxPyBeginAllowThreads();
9173 result = (int)(arg1)->GetMaxButtons();
9174
9175 wxPyEndAllowThreads(__tstate);
9176 if (PyErr_Occurred()) SWIG_fail;
9177 }
9178 resultobj = PyInt_FromLong((long)result);
9179 return resultobj;
9180 fail:
9181 return NULL;
9182}
9183
9184
9185static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9186 PyObject *resultobj;
9187 wxJoystick *arg1 = (wxJoystick *) 0 ;
9188 int result;
9189 PyObject * obj0 = 0 ;
9190 char *kwnames[] = {
9191 (char *) "self", NULL
9192 };
9193
9194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
9195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9196 {
9197 PyThreadState* __tstate = wxPyBeginAllowThreads();
9198 result = (int)(arg1)->GetMaxAxes();
9199
9200 wxPyEndAllowThreads(__tstate);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 }
9203 resultobj = PyInt_FromLong((long)result);
9204 return resultobj;
9205 fail:
9206 return NULL;
9207}
9208
9209
9210static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9211 PyObject *resultobj;
9212 wxJoystick *arg1 = (wxJoystick *) 0 ;
9213 int result;
9214 PyObject * obj0 = 0 ;
9215 char *kwnames[] = {
9216 (char *) "self", NULL
9217 };
9218
9219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
9220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9221 {
9222 PyThreadState* __tstate = wxPyBeginAllowThreads();
9223 result = (int)(arg1)->GetPollingMin();
9224
9225 wxPyEndAllowThreads(__tstate);
9226 if (PyErr_Occurred()) SWIG_fail;
9227 }
9228 resultobj = PyInt_FromLong((long)result);
9229 return resultobj;
9230 fail:
9231 return NULL;
9232}
9233
9234
9235static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9236 PyObject *resultobj;
9237 wxJoystick *arg1 = (wxJoystick *) 0 ;
9238 int result;
9239 PyObject * obj0 = 0 ;
9240 char *kwnames[] = {
9241 (char *) "self", NULL
9242 };
9243
9244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
9245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9246 {
9247 PyThreadState* __tstate = wxPyBeginAllowThreads();
9248 result = (int)(arg1)->GetPollingMax();
9249
9250 wxPyEndAllowThreads(__tstate);
9251 if (PyErr_Occurred()) SWIG_fail;
9252 }
9253 resultobj = PyInt_FromLong((long)result);
9254 return resultobj;
9255 fail:
9256 return NULL;
9257}
9258
9259
9260static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9261 PyObject *resultobj;
9262 wxJoystick *arg1 = (wxJoystick *) 0 ;
9263 int result;
9264 PyObject * obj0 = 0 ;
9265 char *kwnames[] = {
9266 (char *) "self", NULL
9267 };
9268
9269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
9270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9271 {
9272 PyThreadState* __tstate = wxPyBeginAllowThreads();
9273 result = (int)(arg1)->GetRudderMin();
9274
9275 wxPyEndAllowThreads(__tstate);
9276 if (PyErr_Occurred()) SWIG_fail;
9277 }
9278 resultobj = PyInt_FromLong((long)result);
9279 return resultobj;
9280 fail:
9281 return NULL;
9282}
9283
9284
9285static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9286 PyObject *resultobj;
9287 wxJoystick *arg1 = (wxJoystick *) 0 ;
9288 int result;
9289 PyObject * obj0 = 0 ;
9290 char *kwnames[] = {
9291 (char *) "self", NULL
9292 };
9293
9294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
9295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9296 {
9297 PyThreadState* __tstate = wxPyBeginAllowThreads();
9298 result = (int)(arg1)->GetRudderMax();
9299
9300 wxPyEndAllowThreads(__tstate);
9301 if (PyErr_Occurred()) SWIG_fail;
9302 }
9303 resultobj = PyInt_FromLong((long)result);
9304 return resultobj;
9305 fail:
9306 return NULL;
9307}
9308
9309
9310static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9311 PyObject *resultobj;
9312 wxJoystick *arg1 = (wxJoystick *) 0 ;
9313 int result;
9314 PyObject * obj0 = 0 ;
9315 char *kwnames[] = {
9316 (char *) "self", NULL
9317 };
9318
9319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
9320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9321 {
9322 PyThreadState* __tstate = wxPyBeginAllowThreads();
9323 result = (int)(arg1)->GetUMin();
9324
9325 wxPyEndAllowThreads(__tstate);
9326 if (PyErr_Occurred()) SWIG_fail;
9327 }
9328 resultobj = PyInt_FromLong((long)result);
9329 return resultobj;
9330 fail:
9331 return NULL;
9332}
9333
9334
9335static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9336 PyObject *resultobj;
9337 wxJoystick *arg1 = (wxJoystick *) 0 ;
9338 int result;
9339 PyObject * obj0 = 0 ;
9340 char *kwnames[] = {
9341 (char *) "self", NULL
9342 };
9343
9344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
9345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9346 {
9347 PyThreadState* __tstate = wxPyBeginAllowThreads();
9348 result = (int)(arg1)->GetUMax();
9349
9350 wxPyEndAllowThreads(__tstate);
9351 if (PyErr_Occurred()) SWIG_fail;
9352 }
9353 resultobj = PyInt_FromLong((long)result);
9354 return resultobj;
9355 fail:
9356 return NULL;
9357}
9358
9359
9360static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9361 PyObject *resultobj;
9362 wxJoystick *arg1 = (wxJoystick *) 0 ;
9363 int result;
9364 PyObject * obj0 = 0 ;
9365 char *kwnames[] = {
9366 (char *) "self", NULL
9367 };
9368
9369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
9370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9371 {
9372 PyThreadState* __tstate = wxPyBeginAllowThreads();
9373 result = (int)(arg1)->GetVMin();
9374
9375 wxPyEndAllowThreads(__tstate);
9376 if (PyErr_Occurred()) SWIG_fail;
9377 }
9378 resultobj = PyInt_FromLong((long)result);
9379 return resultobj;
9380 fail:
9381 return NULL;
9382}
9383
9384
9385static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9386 PyObject *resultobj;
9387 wxJoystick *arg1 = (wxJoystick *) 0 ;
9388 int result;
9389 PyObject * obj0 = 0 ;
9390 char *kwnames[] = {
9391 (char *) "self", NULL
9392 };
9393
9394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
9395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9396 {
9397 PyThreadState* __tstate = wxPyBeginAllowThreads();
9398 result = (int)(arg1)->GetVMax();
9399
9400 wxPyEndAllowThreads(__tstate);
9401 if (PyErr_Occurred()) SWIG_fail;
9402 }
9403 resultobj = PyInt_FromLong((long)result);
9404 return resultobj;
9405 fail:
9406 return NULL;
9407}
9408
9409
9410static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
9411 PyObject *resultobj;
9412 wxJoystick *arg1 = (wxJoystick *) 0 ;
9413 bool result;
9414 PyObject * obj0 = 0 ;
9415 char *kwnames[] = {
9416 (char *) "self", NULL
9417 };
9418
9419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
9420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9421 {
9422 PyThreadState* __tstate = wxPyBeginAllowThreads();
9423 result = (bool)(arg1)->HasRudder();
9424
9425 wxPyEndAllowThreads(__tstate);
9426 if (PyErr_Occurred()) SWIG_fail;
9427 }
9428 resultobj = PyInt_FromLong((long)result);
9429 return resultobj;
9430 fail:
9431 return NULL;
9432}
9433
9434
9435static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
9436 PyObject *resultobj;
9437 wxJoystick *arg1 = (wxJoystick *) 0 ;
9438 bool result;
9439 PyObject * obj0 = 0 ;
9440 char *kwnames[] = {
9441 (char *) "self", NULL
9442 };
9443
9444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
9445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9446 {
9447 PyThreadState* __tstate = wxPyBeginAllowThreads();
9448 result = (bool)(arg1)->HasZ();
9449
9450 wxPyEndAllowThreads(__tstate);
9451 if (PyErr_Occurred()) SWIG_fail;
9452 }
9453 resultobj = PyInt_FromLong((long)result);
9454 return resultobj;
9455 fail:
9456 return NULL;
9457}
9458
9459
9460static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
9461 PyObject *resultobj;
9462 wxJoystick *arg1 = (wxJoystick *) 0 ;
9463 bool result;
9464 PyObject * obj0 = 0 ;
9465 char *kwnames[] = {
9466 (char *) "self", NULL
9467 };
9468
9469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
9470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9471 {
9472 PyThreadState* __tstate = wxPyBeginAllowThreads();
9473 result = (bool)(arg1)->HasU();
9474
9475 wxPyEndAllowThreads(__tstate);
9476 if (PyErr_Occurred()) SWIG_fail;
9477 }
9478 resultobj = PyInt_FromLong((long)result);
9479 return resultobj;
9480 fail:
9481 return NULL;
9482}
9483
9484
9485static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
9486 PyObject *resultobj;
9487 wxJoystick *arg1 = (wxJoystick *) 0 ;
9488 bool result;
9489 PyObject * obj0 = 0 ;
9490 char *kwnames[] = {
9491 (char *) "self", NULL
9492 };
9493
9494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
9495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9496 {
9497 PyThreadState* __tstate = wxPyBeginAllowThreads();
9498 result = (bool)(arg1)->HasV();
9499
9500 wxPyEndAllowThreads(__tstate);
9501 if (PyErr_Occurred()) SWIG_fail;
9502 }
9503 resultobj = PyInt_FromLong((long)result);
9504 return resultobj;
9505 fail:
9506 return NULL;
9507}
9508
9509
9510static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
9511 PyObject *resultobj;
9512 wxJoystick *arg1 = (wxJoystick *) 0 ;
9513 bool result;
9514 PyObject * obj0 = 0 ;
9515 char *kwnames[] = {
9516 (char *) "self", NULL
9517 };
9518
9519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
9520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9521 {
9522 PyThreadState* __tstate = wxPyBeginAllowThreads();
9523 result = (bool)(arg1)->HasPOV();
9524
9525 wxPyEndAllowThreads(__tstate);
9526 if (PyErr_Occurred()) SWIG_fail;
9527 }
9528 resultobj = PyInt_FromLong((long)result);
9529 return resultobj;
9530 fail:
9531 return NULL;
9532}
9533
9534
9535static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
9536 PyObject *resultobj;
9537 wxJoystick *arg1 = (wxJoystick *) 0 ;
9538 bool result;
9539 PyObject * obj0 = 0 ;
9540 char *kwnames[] = {
9541 (char *) "self", NULL
9542 };
9543
9544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
9545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9546 {
9547 PyThreadState* __tstate = wxPyBeginAllowThreads();
9548 result = (bool)(arg1)->HasPOV4Dir();
9549
9550 wxPyEndAllowThreads(__tstate);
9551 if (PyErr_Occurred()) SWIG_fail;
9552 }
9553 resultobj = PyInt_FromLong((long)result);
9554 return resultobj;
9555 fail:
9556 return NULL;
9557}
9558
9559
9560static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
9561 PyObject *resultobj;
9562 wxJoystick *arg1 = (wxJoystick *) 0 ;
9563 bool result;
9564 PyObject * obj0 = 0 ;
9565 char *kwnames[] = {
9566 (char *) "self", NULL
9567 };
9568
9569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
9570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9571 {
9572 PyThreadState* __tstate = wxPyBeginAllowThreads();
9573 result = (bool)(arg1)->HasPOVCTS();
9574
9575 wxPyEndAllowThreads(__tstate);
9576 if (PyErr_Occurred()) SWIG_fail;
9577 }
9578 resultobj = PyInt_FromLong((long)result);
9579 return resultobj;
9580 fail:
9581 return NULL;
9582}
9583
9584
9585static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9586 PyObject *resultobj;
9587 wxJoystick *arg1 = (wxJoystick *) 0 ;
9588 wxWindow *arg2 = (wxWindow *) 0 ;
9589 int arg3 = (int) 0 ;
9590 bool result;
9591 PyObject * obj0 = 0 ;
9592 PyObject * obj1 = 0 ;
9593 char *kwnames[] = {
9594 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9595 };
9596
9597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Joystick_SetCapture",kwnames,&obj0,&obj1,&arg3)) goto fail;
9598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9599 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9600 {
9601 PyThreadState* __tstate = wxPyBeginAllowThreads();
9602 result = (bool)(arg1)->SetCapture(arg2,arg3);
9603
9604 wxPyEndAllowThreads(__tstate);
9605 if (PyErr_Occurred()) SWIG_fail;
9606 }
9607 resultobj = PyInt_FromLong((long)result);
9608 return resultobj;
9609 fail:
9610 return NULL;
9611}
9612
9613
9614static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9615 PyObject *resultobj;
9616 wxJoystick *arg1 = (wxJoystick *) 0 ;
9617 bool result;
9618 PyObject * obj0 = 0 ;
9619 char *kwnames[] = {
9620 (char *) "self", NULL
9621 };
9622
9623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
9624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9625 {
9626 PyThreadState* __tstate = wxPyBeginAllowThreads();
9627 result = (bool)(arg1)->ReleaseCapture();
9628
9629 wxPyEndAllowThreads(__tstate);
9630 if (PyErr_Occurred()) SWIG_fail;
9631 }
9632 resultobj = PyInt_FromLong((long)result);
9633 return resultobj;
9634 fail:
9635 return NULL;
9636}
9637
9638
9639static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
9640 PyObject *obj;
9641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9642 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
9643 Py_INCREF(obj);
9644 return Py_BuildValue((char *)"");
9645}
9646static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9647 PyObject *resultobj;
9648 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9649 wxPoint *arg2 = (wxPoint *) 0 ;
9650 PyObject * obj0 = 0 ;
9651 PyObject * obj1 = 0 ;
9652 char *kwnames[] = {
9653 (char *) "self",(char *) "m_pos", NULL
9654 };
9655
9656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
9657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9658 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9659 if (arg1) (arg1)->m_pos = *arg2;
9660
9661 Py_INCREF(Py_None); resultobj = Py_None;
9662 return resultobj;
9663 fail:
9664 return NULL;
9665}
9666
9667
9668static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9669 PyObject *resultobj;
9670 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9671 wxPoint *result;
9672 PyObject * obj0 = 0 ;
9673 char *kwnames[] = {
9674 (char *) "self", NULL
9675 };
9676
9677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
9678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9679 result = (wxPoint *)& ((arg1)->m_pos);
9680
9681 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
9682 return resultobj;
9683 fail:
9684 return NULL;
9685}
9686
9687
9688static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9689 PyObject *resultobj;
9690 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9691 int arg2 ;
9692 PyObject * obj0 = 0 ;
9693 char *kwnames[] = {
9694 (char *) "self",(char *) "m_zPosition", NULL
9695 };
9696
9697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames,&obj0,&arg2)) goto fail;
9698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9699 if (arg1) (arg1)->m_zPosition = arg2;
9700
9701 Py_INCREF(Py_None); resultobj = Py_None;
9702 return resultobj;
9703 fail:
9704 return NULL;
9705}
9706
9707
9708static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9709 PyObject *resultobj;
9710 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9711 int result;
9712 PyObject * obj0 = 0 ;
9713 char *kwnames[] = {
9714 (char *) "self", NULL
9715 };
9716
9717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
9718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9719 result = (int) ((arg1)->m_zPosition);
9720
9721 resultobj = PyInt_FromLong((long)result);
9722 return resultobj;
9723 fail:
9724 return NULL;
9725}
9726
9727
9728static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9729 PyObject *resultobj;
9730 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9731 int arg2 ;
9732 PyObject * obj0 = 0 ;
9733 char *kwnames[] = {
9734 (char *) "self",(char *) "m_buttonChange", NULL
9735 };
9736
9737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&arg2)) goto fail;
9738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9739 if (arg1) (arg1)->m_buttonChange = arg2;
9740
9741 Py_INCREF(Py_None); resultobj = Py_None;
9742 return resultobj;
9743 fail:
9744 return NULL;
9745}
9746
9747
9748static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9749 PyObject *resultobj;
9750 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9751 int result;
9752 PyObject * obj0 = 0 ;
9753 char *kwnames[] = {
9754 (char *) "self", NULL
9755 };
9756
9757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
9758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9759 result = (int) ((arg1)->m_buttonChange);
9760
9761 resultobj = PyInt_FromLong((long)result);
9762 return resultobj;
9763 fail:
9764 return NULL;
9765}
9766
9767
9768static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9769 PyObject *resultobj;
9770 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9771 int arg2 ;
9772 PyObject * obj0 = 0 ;
9773 char *kwnames[] = {
9774 (char *) "self",(char *) "m_buttonState", NULL
9775 };
9776
9777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames,&obj0,&arg2)) goto fail;
9778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9779 if (arg1) (arg1)->m_buttonState = arg2;
9780
9781 Py_INCREF(Py_None); resultobj = Py_None;
9782 return resultobj;
9783 fail:
9784 return NULL;
9785}
9786
9787
9788static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9789 PyObject *resultobj;
9790 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9791 int result;
9792 PyObject * obj0 = 0 ;
9793 char *kwnames[] = {
9794 (char *) "self", NULL
9795 };
9796
9797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
9798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9799 result = (int) ((arg1)->m_buttonState);
9800
9801 resultobj = PyInt_FromLong((long)result);
9802 return resultobj;
9803 fail:
9804 return NULL;
9805}
9806
9807
9808static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9809 PyObject *resultobj;
9810 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9811 int arg2 ;
9812 PyObject * obj0 = 0 ;
9813 char *kwnames[] = {
9814 (char *) "self",(char *) "m_joyStick", NULL
9815 };
9816
9817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames,&obj0,&arg2)) goto fail;
9818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9819 if (arg1) (arg1)->m_joyStick = arg2;
9820
9821 Py_INCREF(Py_None); resultobj = Py_None;
9822 return resultobj;
9823 fail:
9824 return NULL;
9825}
9826
9827
9828static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9829 PyObject *resultobj;
9830 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9831 int result;
9832 PyObject * obj0 = 0 ;
9833 char *kwnames[] = {
9834 (char *) "self", NULL
9835 };
9836
9837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
9838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9839 result = (int) ((arg1)->m_joyStick);
9840
9841 resultobj = PyInt_FromLong((long)result);
9842 return resultobj;
9843 fail:
9844 return NULL;
9845}
9846
9847
9848static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9849 PyObject *resultobj;
9850 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
9851 int arg2 = (int) 0 ;
9852 int arg3 = (int) wxJOYSTICK1 ;
9853 int arg4 = (int) 0 ;
9854 wxJoystickEvent *result;
9855 char *kwnames[] = {
9856 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
9857 };
9858
9859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_JoystickEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
9860 {
9861 PyThreadState* __tstate = wxPyBeginAllowThreads();
9862 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
9863
9864 wxPyEndAllowThreads(__tstate);
9865 if (PyErr_Occurred()) SWIG_fail;
9866 }
9867 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystickEvent, 1);
9868 return resultobj;
9869 fail:
9870 return NULL;
9871}
9872
9873
9874static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9875 PyObject *resultobj;
9876 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9877 wxPoint result;
9878 PyObject * obj0 = 0 ;
9879 char *kwnames[] = {
9880 (char *) "self", NULL
9881 };
9882
9883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
9884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9885 {
9886 PyThreadState* __tstate = wxPyBeginAllowThreads();
9887 result = ((wxJoystickEvent const *)arg1)->GetPosition();
9888
9889 wxPyEndAllowThreads(__tstate);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 }
9892 {
9893 wxPoint * resultptr;
9894 resultptr = new wxPoint((wxPoint &) result);
9895 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9896 }
9897 return resultobj;
9898 fail:
9899 return NULL;
9900}
9901
9902
9903static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9904 PyObject *resultobj;
9905 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9906 int result;
9907 PyObject * obj0 = 0 ;
9908 char *kwnames[] = {
9909 (char *) "self", NULL
9910 };
9911
9912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
9913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9914 {
9915 PyThreadState* __tstate = wxPyBeginAllowThreads();
9916 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
9917
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
9921 resultobj = PyInt_FromLong((long)result);
9922 return resultobj;
9923 fail:
9924 return NULL;
9925}
9926
9927
9928static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9929 PyObject *resultobj;
9930 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9931 int result;
9932 PyObject * obj0 = 0 ;
9933 char *kwnames[] = {
9934 (char *) "self", NULL
9935 };
9936
9937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
9938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9939 {
9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
9941 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
9942
9943 wxPyEndAllowThreads(__tstate);
9944 if (PyErr_Occurred()) SWIG_fail;
9945 }
9946 resultobj = PyInt_FromLong((long)result);
9947 return resultobj;
9948 fail:
9949 return NULL;
9950}
9951
9952
9953static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9956 int result;
9957 PyObject * obj0 = 0 ;
9958 char *kwnames[] = {
9959 (char *) "self", NULL
9960 };
9961
9962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
9963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9964 {
9965 PyThreadState* __tstate = wxPyBeginAllowThreads();
9966 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
9967
9968 wxPyEndAllowThreads(__tstate);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 }
9971 resultobj = PyInt_FromLong((long)result);
9972 return resultobj;
9973 fail:
9974 return NULL;
9975}
9976
9977
9978static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9979 PyObject *resultobj;
9980 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9981 int result;
9982 PyObject * obj0 = 0 ;
9983 char *kwnames[] = {
9984 (char *) "self", NULL
9985 };
9986
9987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
9988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9989 {
9990 PyThreadState* __tstate = wxPyBeginAllowThreads();
9991 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
9992
9993 wxPyEndAllowThreads(__tstate);
9994 if (PyErr_Occurred()) SWIG_fail;
9995 }
9996 resultobj = PyInt_FromLong((long)result);
9997 return resultobj;
9998 fail:
9999 return NULL;
10000}
10001
10002
10003static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10004 PyObject *resultobj;
10005 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10006 int arg2 ;
10007 PyObject * obj0 = 0 ;
10008 char *kwnames[] = {
10009 (char *) "self",(char *) "stick", NULL
10010 };
10011
10012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetJoystick",kwnames,&obj0,&arg2)) goto fail;
10013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10014 {
10015 PyThreadState* __tstate = wxPyBeginAllowThreads();
10016 (arg1)->SetJoystick(arg2);
10017
10018 wxPyEndAllowThreads(__tstate);
10019 if (PyErr_Occurred()) SWIG_fail;
10020 }
10021 Py_INCREF(Py_None); resultobj = Py_None;
10022 return resultobj;
10023 fail:
10024 return NULL;
10025}
10026
10027
10028static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10029 PyObject *resultobj;
10030 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10031 int arg2 ;
10032 PyObject * obj0 = 0 ;
10033 char *kwnames[] = {
10034 (char *) "self",(char *) "state", NULL
10035 };
10036
10037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonState",kwnames,&obj0,&arg2)) goto fail;
10038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10039 {
10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
10041 (arg1)->SetButtonState(arg2);
10042
10043 wxPyEndAllowThreads(__tstate);
10044 if (PyErr_Occurred()) SWIG_fail;
10045 }
10046 Py_INCREF(Py_None); resultobj = Py_None;
10047 return resultobj;
10048 fail:
10049 return NULL;
10050}
10051
10052
10053static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10054 PyObject *resultobj;
10055 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10056 int arg2 ;
10057 PyObject * obj0 = 0 ;
10058 char *kwnames[] = {
10059 (char *) "self",(char *) "change", NULL
10060 };
10061
10062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames,&obj0,&arg2)) goto fail;
10063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10064 {
10065 PyThreadState* __tstate = wxPyBeginAllowThreads();
10066 (arg1)->SetButtonChange(arg2);
10067
10068 wxPyEndAllowThreads(__tstate);
10069 if (PyErr_Occurred()) SWIG_fail;
10070 }
10071 Py_INCREF(Py_None); resultobj = Py_None;
10072 return resultobj;
10073 fail:
10074 return NULL;
10075}
10076
10077
10078static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10079 PyObject *resultobj;
10080 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10081 wxPoint *arg2 = 0 ;
10082 wxPoint temp2 ;
10083 PyObject * obj0 = 0 ;
10084 PyObject * obj1 = 0 ;
10085 char *kwnames[] = {
10086 (char *) "self",(char *) "pos", NULL
10087 };
10088
10089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10091 {
10092 arg2 = &temp2;
10093 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10094 }
10095 {
10096 PyThreadState* __tstate = wxPyBeginAllowThreads();
10097 (arg1)->SetPosition((wxPoint const &)*arg2);
10098
10099 wxPyEndAllowThreads(__tstate);
10100 if (PyErr_Occurred()) SWIG_fail;
10101 }
10102 Py_INCREF(Py_None); resultobj = Py_None;
10103 return resultobj;
10104 fail:
10105 return NULL;
10106}
10107
10108
10109static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10110 PyObject *resultobj;
10111 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10112 int arg2 ;
10113 PyObject * obj0 = 0 ;
10114 char *kwnames[] = {
10115 (char *) "self",(char *) "zPos", NULL
10116 };
10117
10118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetZPosition",kwnames,&obj0,&arg2)) goto fail;
10119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10120 {
10121 PyThreadState* __tstate = wxPyBeginAllowThreads();
10122 (arg1)->SetZPosition(arg2);
10123
10124 wxPyEndAllowThreads(__tstate);
10125 if (PyErr_Occurred()) SWIG_fail;
10126 }
10127 Py_INCREF(Py_None); resultobj = Py_None;
10128 return resultobj;
10129 fail:
10130 return NULL;
10131}
10132
10133
10134static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10135 PyObject *resultobj;
10136 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10137 bool result;
10138 PyObject * obj0 = 0 ;
10139 char *kwnames[] = {
10140 (char *) "self", NULL
10141 };
10142
10143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
10144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10145 {
10146 PyThreadState* __tstate = wxPyBeginAllowThreads();
10147 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
10148
10149 wxPyEndAllowThreads(__tstate);
10150 if (PyErr_Occurred()) SWIG_fail;
10151 }
10152 resultobj = PyInt_FromLong((long)result);
10153 return resultobj;
10154 fail:
10155 return NULL;
10156}
10157
10158
10159static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10160 PyObject *resultobj;
10161 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10162 bool result;
10163 PyObject * obj0 = 0 ;
10164 char *kwnames[] = {
10165 (char *) "self", NULL
10166 };
10167
10168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
10169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10170 {
10171 PyThreadState* __tstate = wxPyBeginAllowThreads();
10172 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
10173
10174 wxPyEndAllowThreads(__tstate);
10175 if (PyErr_Occurred()) SWIG_fail;
10176 }
10177 resultobj = PyInt_FromLong((long)result);
10178 return resultobj;
10179 fail:
10180 return NULL;
10181}
10182
10183
10184static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10185 PyObject *resultobj;
10186 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10187 bool result;
10188 PyObject * obj0 = 0 ;
10189 char *kwnames[] = {
10190 (char *) "self", NULL
10191 };
10192
10193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
10194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10195 {
10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
10197 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
10198
10199 wxPyEndAllowThreads(__tstate);
10200 if (PyErr_Occurred()) SWIG_fail;
10201 }
10202 resultobj = PyInt_FromLong((long)result);
10203 return resultobj;
10204 fail:
10205 return NULL;
10206}
10207
10208
10209static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10210 PyObject *resultobj;
10211 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10212 int arg2 = (int) wxJOY_BUTTON_ANY ;
10213 bool result;
10214 PyObject * obj0 = 0 ;
10215 char *kwnames[] = {
10216 (char *) "self",(char *) "but", NULL
10217 };
10218
10219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonDown",kwnames,&obj0,&arg2)) goto fail;
10220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10221 {
10222 PyThreadState* __tstate = wxPyBeginAllowThreads();
10223 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
10224
10225 wxPyEndAllowThreads(__tstate);
10226 if (PyErr_Occurred()) SWIG_fail;
10227 }
10228 resultobj = PyInt_FromLong((long)result);
10229 return resultobj;
10230 fail:
10231 return NULL;
10232}
10233
10234
10235static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
10236 PyObject *resultobj;
10237 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10238 int arg2 = (int) wxJOY_BUTTON_ANY ;
10239 bool result;
10240 PyObject * obj0 = 0 ;
10241 char *kwnames[] = {
10242 (char *) "self",(char *) "but", NULL
10243 };
10244
10245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonUp",kwnames,&obj0,&arg2)) goto fail;
10246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10247 {
10248 PyThreadState* __tstate = wxPyBeginAllowThreads();
10249 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
10250
10251 wxPyEndAllowThreads(__tstate);
10252 if (PyErr_Occurred()) SWIG_fail;
10253 }
10254 resultobj = PyInt_FromLong((long)result);
10255 return resultobj;
10256 fail:
10257 return NULL;
10258}
10259
10260
10261static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10262 PyObject *resultobj;
10263 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10264 int arg2 = (int) wxJOY_BUTTON_ANY ;
10265 bool result;
10266 PyObject * obj0 = 0 ;
10267 char *kwnames[] = {
10268 (char *) "self",(char *) "but", NULL
10269 };
10270
10271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames,&obj0,&arg2)) goto fail;
10272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10273 {
10274 PyThreadState* __tstate = wxPyBeginAllowThreads();
10275 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
10276
10277 wxPyEndAllowThreads(__tstate);
10278 if (PyErr_Occurred()) SWIG_fail;
10279 }
10280 resultobj = PyInt_FromLong((long)result);
10281 return resultobj;
10282 fail:
10283 return NULL;
10284}
10285
10286
10287static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
10288 PyObject *obj;
10289 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10290 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
10291 Py_INCREF(obj);
10292 return Py_BuildValue((char *)"");
10293}
10294static PyObject *_wrap_new_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10295 PyObject *resultobj;
10296 wxString *arg1 = 0 ;
e811c8ce 10297 bool arg2 = (bool) False ;
d14a1e28 10298 wxWave *result;
e811c8ce 10299 bool temp1 = False ;
d14a1e28
RD
10300 PyObject * obj0 = 0 ;
10301 PyObject * obj1 = 0 ;
10302 char *kwnames[] = {
10303 (char *) "fileName",(char *) "isResource", NULL
10304 };
10305
10306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Wave",kwnames,&obj0,&obj1)) goto fail;
10307 {
10308 arg1 = wxString_in_helper(obj0);
10309 if (arg1 == NULL) SWIG_fail;
e811c8ce 10310 temp1 = True;
d14a1e28
RD
10311 }
10312 if (obj1) {
10313 arg2 = PyInt_AsLong(obj1) ? true : false;
10314 if (PyErr_Occurred()) SWIG_fail;
10315 }
10316 {
10317 PyThreadState* __tstate = wxPyBeginAllowThreads();
10318 result = (wxWave *)new wxWave((wxString const &)*arg1,arg2);
10319
10320 wxPyEndAllowThreads(__tstate);
10321 if (PyErr_Occurred()) SWIG_fail;
10322 }
10323 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10324 {
10325 if (temp1)
10326 delete arg1;
10327 }
10328 return resultobj;
10329 fail:
10330 {
10331 if (temp1)
10332 delete arg1;
10333 }
10334 return NULL;
10335}
10336
10337
10338static PyObject *_wrap_new_WaveData(PyObject *self, PyObject *args, PyObject *kwargs) {
10339 PyObject *resultobj;
10340 wxString *arg1 = 0 ;
10341 wxWave *result;
e811c8ce 10342 bool temp1 = False ;
d14a1e28
RD
10343 PyObject * obj0 = 0 ;
10344 char *kwnames[] = {
10345 (char *) "data", NULL
10346 };
10347
10348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_WaveData",kwnames,&obj0)) goto fail;
10349 {
10350 arg1 = wxString_in_helper(obj0);
10351 if (arg1 == NULL) SWIG_fail;
e811c8ce 10352 temp1 = True;
d14a1e28
RD
10353 }
10354 {
10355 PyThreadState* __tstate = wxPyBeginAllowThreads();
10356 result = (wxWave *)new_wxWave((wxString const &)*arg1);
10357
10358 wxPyEndAllowThreads(__tstate);
10359 if (PyErr_Occurred()) SWIG_fail;
10360 }
10361 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10362 {
10363 if (temp1)
10364 delete arg1;
10365 }
10366 return resultobj;
10367 fail:
10368 {
10369 if (temp1)
10370 delete arg1;
10371 }
10372 return NULL;
10373}
10374
10375
10376static PyObject *_wrap_delete_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10377 PyObject *resultobj;
10378 wxWave *arg1 = (wxWave *) 0 ;
10379 PyObject * obj0 = 0 ;
10380 char *kwnames[] = {
10381 (char *) "self", NULL
10382 };
10383
10384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Wave",kwnames,&obj0)) goto fail;
10385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10386 {
10387 PyThreadState* __tstate = wxPyBeginAllowThreads();
10388 delete arg1;
10389
10390 wxPyEndAllowThreads(__tstate);
10391 if (PyErr_Occurred()) SWIG_fail;
10392 }
10393 Py_INCREF(Py_None); resultobj = Py_None;
10394 return resultobj;
10395 fail:
10396 return NULL;
10397}
10398
10399
10400static PyObject *_wrap_Wave_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10401 PyObject *resultobj;
10402 wxWave *arg1 = (wxWave *) 0 ;
10403 bool result;
10404 PyObject * obj0 = 0 ;
10405 char *kwnames[] = {
10406 (char *) "self", NULL
10407 };
10408
10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wave_IsOk",kwnames,&obj0)) goto fail;
10410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10411 {
10412 PyThreadState* __tstate = wxPyBeginAllowThreads();
10413 result = (bool)((wxWave const *)arg1)->IsOk();
10414
10415 wxPyEndAllowThreads(__tstate);
10416 if (PyErr_Occurred()) SWIG_fail;
10417 }
10418 resultobj = PyInt_FromLong((long)result);
10419 return resultobj;
10420 fail:
10421 return NULL;
10422}
10423
10424
10425static PyObject *_wrap_Wave_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
10426 PyObject *resultobj;
10427 wxWave *arg1 = (wxWave *) 0 ;
e811c8ce
RD
10428 bool arg2 = (bool) True ;
10429 bool arg3 = (bool) False ;
d14a1e28
RD
10430 bool result;
10431 PyObject * obj0 = 0 ;
10432 PyObject * obj1 = 0 ;
10433 PyObject * obj2 = 0 ;
10434 char *kwnames[] = {
10435 (char *) "self",(char *) "async",(char *) "looped", NULL
10436 };
10437
10438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Wave_Play",kwnames,&obj0,&obj1,&obj2)) goto fail;
10439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10440 if (obj1) {
10441 arg2 = PyInt_AsLong(obj1) ? true : false;
10442 if (PyErr_Occurred()) SWIG_fail;
10443 }
10444 if (obj2) {
10445 arg3 = PyInt_AsLong(obj2) ? true : false;
10446 if (PyErr_Occurred()) SWIG_fail;
10447 }
10448 {
10449 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c3b4aae 10450 result = (bool)(arg1)->Play(arg2,arg3);
d14a1e28
RD
10451
10452 wxPyEndAllowThreads(__tstate);
10453 if (PyErr_Occurred()) SWIG_fail;
10454 }
10455 resultobj = PyInt_FromLong((long)result);
10456 return resultobj;
10457 fail:
10458 return NULL;
10459}
10460
10461
10462static PyObject * Wave_swigregister(PyObject *self, PyObject *args) {
10463 PyObject *obj;
10464 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10465 SWIG_TypeClientData(SWIGTYPE_p_wxWave, obj);
10466 Py_INCREF(obj);
10467 return Py_BuildValue((char *)"");
10468}
10469static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10470 PyObject *resultobj;
10471 wxString *arg1 = 0 ;
10472 wxString *arg2 = 0 ;
10473 wxString *arg3 = 0 ;
10474 wxString *arg4 = 0 ;
10475 wxFileTypeInfo *result;
e811c8ce
RD
10476 bool temp1 = False ;
10477 bool temp2 = False ;
10478 bool temp3 = False ;
10479 bool temp4 = False ;
d14a1e28
RD
10480 PyObject * obj0 = 0 ;
10481 PyObject * obj1 = 0 ;
10482 PyObject * obj2 = 0 ;
10483 PyObject * obj3 = 0 ;
10484 char *kwnames[] = {
10485 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10486 };
10487
10488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10489 {
10490 arg1 = wxString_in_helper(obj0);
10491 if (arg1 == NULL) SWIG_fail;
e811c8ce 10492 temp1 = True;
d14a1e28
RD
10493 }
10494 {
10495 arg2 = wxString_in_helper(obj1);
10496 if (arg2 == NULL) SWIG_fail;
e811c8ce 10497 temp2 = True;
d14a1e28
RD
10498 }
10499 {
10500 arg3 = wxString_in_helper(obj2);
10501 if (arg3 == NULL) SWIG_fail;
e811c8ce 10502 temp3 = True;
d14a1e28
RD
10503 }
10504 {
10505 arg4 = wxString_in_helper(obj3);
10506 if (arg4 == NULL) SWIG_fail;
e811c8ce 10507 temp4 = True;
d14a1e28
RD
10508 }
10509 {
10510 PyThreadState* __tstate = wxPyBeginAllowThreads();
10511 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10512
10513 wxPyEndAllowThreads(__tstate);
10514 if (PyErr_Occurred()) SWIG_fail;
10515 }
10516 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10517 {
10518 if (temp1)
10519 delete arg1;
10520 }
10521 {
10522 if (temp2)
10523 delete arg2;
10524 }
10525 {
10526 if (temp3)
10527 delete arg3;
10528 }
10529 {
10530 if (temp4)
10531 delete arg4;
10532 }
10533 return resultobj;
10534 fail:
10535 {
10536 if (temp1)
10537 delete arg1;
10538 }
10539 {
10540 if (temp2)
10541 delete arg2;
10542 }
10543 {
10544 if (temp3)
10545 delete arg3;
10546 }
10547 {
10548 if (temp4)
10549 delete arg4;
10550 }
10551 return NULL;
10552}
10553
10554
10555static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
10556 PyObject *resultobj;
10557 wxArrayString *arg1 = 0 ;
10558 wxFileTypeInfo *result;
10559 PyObject * obj0 = 0 ;
10560 char *kwnames[] = {
10561 (char *) "sArray", NULL
10562 };
10563
10564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
10565 {
10566 if (! PySequence_Check(obj0)) {
10567 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10568 SWIG_fail;
10569 }
10570 arg1 = new wxArrayString;
10571 int i, len=PySequence_Length(obj0);
10572 for (i=0; i<len; i++) {
10573 PyObject* item = PySequence_GetItem(obj0, i);
10574#if wxUSE_UNICODE
10575 PyObject* str = PyObject_Unicode(item);
10576#else
10577 PyObject* str = PyObject_Str(item);
10578#endif
10579 arg1->Add(Py2wxString(str));
10580 Py_DECREF(item);
10581 Py_DECREF(str);
10582 }
10583 }
10584 {
10585 PyThreadState* __tstate = wxPyBeginAllowThreads();
10586 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
10587
10588 wxPyEndAllowThreads(__tstate);
10589 if (PyErr_Occurred()) SWIG_fail;
10590 }
10591 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10592 {
10593 if (arg1) delete arg1;
10594 }
10595 return resultobj;
10596 fail:
10597 {
10598 if (arg1) delete arg1;
10599 }
10600 return NULL;
10601}
10602
10603
10604static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10605 PyObject *resultobj;
10606 wxFileTypeInfo *result;
10607 char *kwnames[] = {
10608 NULL
10609 };
10610
10611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
10612 {
10613 PyThreadState* __tstate = wxPyBeginAllowThreads();
10614 result = (wxFileTypeInfo *)new wxFileTypeInfo();
10615
10616 wxPyEndAllowThreads(__tstate);
10617 if (PyErr_Occurred()) SWIG_fail;
10618 }
10619 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10620 return resultobj;
10621 fail:
10622 return NULL;
10623}
10624
10625
10626static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
10627 PyObject *resultobj;
10628 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10629 bool result;
10630 PyObject * obj0 = 0 ;
10631 char *kwnames[] = {
10632 (char *) "self", NULL
10633 };
10634
10635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
10636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10637 {
10638 PyThreadState* __tstate = wxPyBeginAllowThreads();
10639 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
10640
10641 wxPyEndAllowThreads(__tstate);
10642 if (PyErr_Occurred()) SWIG_fail;
10643 }
10644 resultobj = PyInt_FromLong((long)result);
10645 return resultobj;
10646 fail:
10647 return NULL;
10648}
10649
10650
10651static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10652 PyObject *resultobj;
10653 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10654 wxString *arg2 = 0 ;
10655 int arg3 = (int) 0 ;
e811c8ce 10656 bool temp2 = False ;
d14a1e28
RD
10657 PyObject * obj0 = 0 ;
10658 PyObject * obj1 = 0 ;
10659 char *kwnames[] = {
10660 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
10661 };
10662
10663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
10664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10665 {
10666 arg2 = wxString_in_helper(obj1);
10667 if (arg2 == NULL) SWIG_fail;
e811c8ce 10668 temp2 = True;
d14a1e28
RD
10669 }
10670 {
10671 PyThreadState* __tstate = wxPyBeginAllowThreads();
10672 (arg1)->SetIcon((wxString const &)*arg2,arg3);
10673
10674 wxPyEndAllowThreads(__tstate);
10675 if (PyErr_Occurred()) SWIG_fail;
10676 }
10677 Py_INCREF(Py_None); resultobj = Py_None;
10678 {
10679 if (temp2)
10680 delete arg2;
10681 }
10682 return resultobj;
10683 fail:
10684 {
10685 if (temp2)
10686 delete arg2;
10687 }
10688 return NULL;
10689}
10690
10691
10692static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10693 PyObject *resultobj;
10694 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10695 wxString *arg2 = 0 ;
e811c8ce 10696 bool temp2 = False ;
d14a1e28
RD
10697 PyObject * obj0 = 0 ;
10698 PyObject * obj1 = 0 ;
10699 char *kwnames[] = {
10700 (char *) "self",(char *) "shortDesc", NULL
10701 };
10702
10703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
10704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10705 {
10706 arg2 = wxString_in_helper(obj1);
10707 if (arg2 == NULL) SWIG_fail;
e811c8ce 10708 temp2 = True;
d14a1e28
RD
10709 }
10710 {
10711 PyThreadState* __tstate = wxPyBeginAllowThreads();
10712 (arg1)->SetShortDesc((wxString const &)*arg2);
10713
10714 wxPyEndAllowThreads(__tstate);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 }
10717 Py_INCREF(Py_None); resultobj = Py_None;
10718 {
10719 if (temp2)
10720 delete arg2;
10721 }
10722 return resultobj;
10723 fail:
10724 {
10725 if (temp2)
10726 delete arg2;
10727 }
10728 return NULL;
10729}
10730
10731
10732static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
10733 PyObject *resultobj;
10734 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10735 wxString *result;
10736 PyObject * obj0 = 0 ;
10737 char *kwnames[] = {
10738 (char *) "self", NULL
10739 };
10740
10741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
10742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10743 {
10744 PyThreadState* __tstate = wxPyBeginAllowThreads();
10745 {
10746 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
10747 result = (wxString *) &_result_ref;
10748 }
10749
10750 wxPyEndAllowThreads(__tstate);
10751 if (PyErr_Occurred()) SWIG_fail;
10752 }
10753 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10754 return resultobj;
10755 fail:
10756 return NULL;
10757}
10758
10759
10760static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10761 PyObject *resultobj;
10762 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10763 wxString *result;
10764 PyObject * obj0 = 0 ;
10765 char *kwnames[] = {
10766 (char *) "self", NULL
10767 };
10768
10769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
10770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10771 {
10772 PyThreadState* __tstate = wxPyBeginAllowThreads();
10773 {
10774 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
10775 result = (wxString *) &_result_ref;
10776 }
10777
10778 wxPyEndAllowThreads(__tstate);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 }
10781 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10782 return resultobj;
10783 fail:
10784 return NULL;
10785}
10786
10787
10788static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10789 PyObject *resultobj;
10790 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10791 wxString *result;
10792 PyObject * obj0 = 0 ;
10793 char *kwnames[] = {
10794 (char *) "self", NULL
10795 };
10796
10797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
10798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10799 {
10800 PyThreadState* __tstate = wxPyBeginAllowThreads();
10801 {
10802 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
10803 result = (wxString *) &_result_ref;
10804 }
10805
10806 wxPyEndAllowThreads(__tstate);
10807 if (PyErr_Occurred()) SWIG_fail;
10808 }
10809 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10810 return resultobj;
10811 fail:
10812 return NULL;
10813}
10814
10815
10816static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10817 PyObject *resultobj;
10818 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10819 wxString *result;
10820 PyObject * obj0 = 0 ;
10821 char *kwnames[] = {
10822 (char *) "self", NULL
10823 };
10824
10825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
10826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10827 {
10828 PyThreadState* __tstate = wxPyBeginAllowThreads();
10829 {
10830 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
10831 result = (wxString *) &_result_ref;
10832 }
10833
10834 wxPyEndAllowThreads(__tstate);
10835 if (PyErr_Occurred()) SWIG_fail;
10836 }
10837 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10838 return resultobj;
10839 fail:
10840 return NULL;
10841}
10842
10843
10844static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
10845 PyObject *resultobj;
10846 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10847 wxString *result;
10848 PyObject * obj0 = 0 ;
10849 char *kwnames[] = {
10850 (char *) "self", NULL
10851 };
10852
10853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
10854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10855 {
10856 PyThreadState* __tstate = wxPyBeginAllowThreads();
10857 {
10858 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
10859 result = (wxString *) &_result_ref;
10860 }
10861
10862 wxPyEndAllowThreads(__tstate);
10863 if (PyErr_Occurred()) SWIG_fail;
10864 }
10865 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10866 return resultobj;
10867 fail:
10868 return NULL;
10869}
10870
10871
10872static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
10873 PyObject *resultobj;
10874 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10875 wxArrayString *result;
10876 PyObject * obj0 = 0 ;
10877 char *kwnames[] = {
10878 (char *) "self", NULL
10879 };
10880
10881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
10882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10883 {
10884 PyThreadState* __tstate = wxPyBeginAllowThreads();
10885 {
10886 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
10887 result = (wxArrayString *) &_result_ref;
10888 }
10889
10890 wxPyEndAllowThreads(__tstate);
10891 if (PyErr_Occurred()) SWIG_fail;
10892 }
10893 {
10894 resultobj = wxArrayString2PyList_helper(*result);
10895 }
10896 return resultobj;
10897 fail:
10898 return NULL;
10899}
10900
10901
10902static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10903 PyObject *resultobj;
10904 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10905 int result;
10906 PyObject * obj0 = 0 ;
10907 char *kwnames[] = {
10908 (char *) "self", NULL
10909 };
10910
10911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
10912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10913 {
10914 PyThreadState* __tstate = wxPyBeginAllowThreads();
10915 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
10916
10917 wxPyEndAllowThreads(__tstate);
10918 if (PyErr_Occurred()) SWIG_fail;
10919 }
10920 resultobj = PyInt_FromLong((long)result);
10921 return resultobj;
10922 fail:
10923 return NULL;
10924}
10925
10926
10927static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
10928 PyObject *resultobj;
10929 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10930 wxString *result;
10931 PyObject * obj0 = 0 ;
10932 char *kwnames[] = {
10933 (char *) "self", NULL
10934 };
10935
10936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
10937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10938 {
10939 PyThreadState* __tstate = wxPyBeginAllowThreads();
10940 {
10941 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
10942 result = (wxString *) &_result_ref;
10943 }
10944
10945 wxPyEndAllowThreads(__tstate);
10946 if (PyErr_Occurred()) SWIG_fail;
10947 }
10948 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
10949 return resultobj;
10950 fail:
10951 return NULL;
10952}
10953
10954
10955static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10956 PyObject *resultobj;
10957 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10958 int result;
10959 PyObject * obj0 = 0 ;
10960 char *kwnames[] = {
10961 (char *) "self", NULL
10962 };
10963
10964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
10965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10966 {
10967 PyThreadState* __tstate = wxPyBeginAllowThreads();
10968 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
10969
10970 wxPyEndAllowThreads(__tstate);
10971 if (PyErr_Occurred()) SWIG_fail;
10972 }
10973 resultobj = PyInt_FromLong((long)result);
10974 return resultobj;
10975 fail:
10976 return NULL;
10977}
10978
10979
10980static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
10981 PyObject *obj;
10982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10983 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
10984 Py_INCREF(obj);
10985 return Py_BuildValue((char *)"");
10986}
10987static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
10988 PyObject *resultobj;
10989 wxFileTypeInfo *arg1 = 0 ;
10990 wxFileType *result;
10991 PyObject * obj0 = 0 ;
10992 char *kwnames[] = {
10993 (char *) "ftInfo", NULL
10994 };
10995
10996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
10997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10998 if (arg1 == NULL) {
10999 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11000 }
11001 {
11002 PyThreadState* __tstate = wxPyBeginAllowThreads();
11003 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
11004
11005 wxPyEndAllowThreads(__tstate);
11006 if (PyErr_Occurred()) SWIG_fail;
11007 }
11008 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11009 return resultobj;
11010 fail:
11011 return NULL;
11012}
11013
11014
11015static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11016 PyObject *resultobj;
11017 wxFileType *arg1 = (wxFileType *) 0 ;
11018 PyObject * obj0 = 0 ;
11019 char *kwnames[] = {
11020 (char *) "self", NULL
11021 };
11022
11023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
11024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11025 {
11026 PyThreadState* __tstate = wxPyBeginAllowThreads();
11027 delete arg1;
11028
11029 wxPyEndAllowThreads(__tstate);
11030 if (PyErr_Occurred()) SWIG_fail;
11031 }
11032 Py_INCREF(Py_None); resultobj = Py_None;
11033 return resultobj;
11034 fail:
11035 return NULL;
11036}
11037
11038
11039static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11040 PyObject *resultobj;
11041 wxFileType *arg1 = (wxFileType *) 0 ;
11042 PyObject *result;
11043 PyObject * obj0 = 0 ;
11044 char *kwnames[] = {
11045 (char *) "self", NULL
11046 };
11047
11048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
11049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11050 {
11051 PyThreadState* __tstate = wxPyBeginAllowThreads();
11052 result = (PyObject *)wxFileType_GetMimeType(arg1);
11053
11054 wxPyEndAllowThreads(__tstate);
11055 if (PyErr_Occurred()) SWIG_fail;
11056 }
11057 resultobj = result;
11058 return resultobj;
11059 fail:
11060 return NULL;
11061}
11062
11063
11064static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11065 PyObject *resultobj;
11066 wxFileType *arg1 = (wxFileType *) 0 ;
11067 PyObject *result;
11068 PyObject * obj0 = 0 ;
11069 char *kwnames[] = {
11070 (char *) "self", NULL
11071 };
11072
11073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
11074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11075 {
11076 PyThreadState* __tstate = wxPyBeginAllowThreads();
11077 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
11078
11079 wxPyEndAllowThreads(__tstate);
11080 if (PyErr_Occurred()) SWIG_fail;
11081 }
11082 resultobj = result;
11083 return resultobj;
11084 fail:
11085 return NULL;
11086}
11087
11088
11089static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11090 PyObject *resultobj;
11091 wxFileType *arg1 = (wxFileType *) 0 ;
11092 PyObject *result;
11093 PyObject * obj0 = 0 ;
11094 char *kwnames[] = {
11095 (char *) "self", NULL
11096 };
11097
11098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
11099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11100 {
11101 PyThreadState* __tstate = wxPyBeginAllowThreads();
11102 result = (PyObject *)wxFileType_GetExtensions(arg1);
11103
11104 wxPyEndAllowThreads(__tstate);
11105 if (PyErr_Occurred()) SWIG_fail;
11106 }
11107 resultobj = result;
11108 return resultobj;
11109 fail:
11110 return NULL;
11111}
11112
11113
11114static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11115 PyObject *resultobj;
11116 wxFileType *arg1 = (wxFileType *) 0 ;
11117 wxIcon *result;
11118 PyObject * obj0 = 0 ;
11119 char *kwnames[] = {
11120 (char *) "self", NULL
11121 };
11122
11123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
11124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11125 {
11126 PyThreadState* __tstate = wxPyBeginAllowThreads();
11127 result = (wxIcon *)wxFileType_GetIcon(arg1);
11128
11129 wxPyEndAllowThreads(__tstate);
11130 if (PyErr_Occurred()) SWIG_fail;
11131 }
11132 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIcon, 1);
11133 return resultobj;
11134 fail:
11135 return NULL;
11136}
11137
11138
11139static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11140 PyObject *resultobj;
11141 wxFileType *arg1 = (wxFileType *) 0 ;
11142 PyObject *result;
11143 PyObject * obj0 = 0 ;
11144 char *kwnames[] = {
11145 (char *) "self", NULL
11146 };
11147
11148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
11149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11150 {
11151 PyThreadState* __tstate = wxPyBeginAllowThreads();
11152 result = (PyObject *)wxFileType_GetIconInfo(arg1);
11153
11154 wxPyEndAllowThreads(__tstate);
11155 if (PyErr_Occurred()) SWIG_fail;
11156 }
11157 resultobj = result;
11158 return resultobj;
11159 fail:
11160 return NULL;
11161}
11162
11163
11164static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11165 PyObject *resultobj;
11166 wxFileType *arg1 = (wxFileType *) 0 ;
11167 PyObject *result;
11168 PyObject * obj0 = 0 ;
11169 char *kwnames[] = {
11170 (char *) "self", NULL
11171 };
11172
11173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
11174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11175 {
11176 PyThreadState* __tstate = wxPyBeginAllowThreads();
11177 result = (PyObject *)wxFileType_GetDescription(arg1);
11178
11179 wxPyEndAllowThreads(__tstate);
11180 if (PyErr_Occurred()) SWIG_fail;
11181 }
11182 resultobj = result;
11183 return resultobj;
11184 fail:
11185 return NULL;
11186}
11187
11188
11189static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11190 PyObject *resultobj;
11191 wxFileType *arg1 = (wxFileType *) 0 ;
11192 wxString *arg2 = 0 ;
11193 wxString const &arg3_defvalue = wxPyEmptyString ;
11194 wxString *arg3 = (wxString *) &arg3_defvalue ;
11195 PyObject *result;
e811c8ce
RD
11196 bool temp2 = False ;
11197 bool temp3 = False ;
d14a1e28
RD
11198 PyObject * obj0 = 0 ;
11199 PyObject * obj1 = 0 ;
11200 PyObject * obj2 = 0 ;
11201 char *kwnames[] = {
11202 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11203 };
11204
11205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11207 {
11208 arg2 = wxString_in_helper(obj1);
11209 if (arg2 == NULL) SWIG_fail;
e811c8ce 11210 temp2 = True;
d14a1e28
RD
11211 }
11212 if (obj2) {
11213 {
11214 arg3 = wxString_in_helper(obj2);
11215 if (arg3 == NULL) SWIG_fail;
e811c8ce 11216 temp3 = True;
d14a1e28
RD
11217 }
11218 }
11219 {
11220 PyThreadState* __tstate = wxPyBeginAllowThreads();
11221 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11222
11223 wxPyEndAllowThreads(__tstate);
11224 if (PyErr_Occurred()) SWIG_fail;
11225 }
11226 resultobj = result;
11227 {
11228 if (temp2)
11229 delete arg2;
11230 }
11231 {
11232 if (temp3)
11233 delete arg3;
11234 }
11235 return resultobj;
11236 fail:
11237 {
11238 if (temp2)
11239 delete arg2;
11240 }
11241 {
11242 if (temp3)
11243 delete arg3;
11244 }
11245 return NULL;
11246}
11247
11248
11249static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11250 PyObject *resultobj;
11251 wxFileType *arg1 = (wxFileType *) 0 ;
11252 wxString *arg2 = 0 ;
11253 wxString const &arg3_defvalue = wxPyEmptyString ;
11254 wxString *arg3 = (wxString *) &arg3_defvalue ;
11255 PyObject *result;
e811c8ce
RD
11256 bool temp2 = False ;
11257 bool temp3 = False ;
d14a1e28
RD
11258 PyObject * obj0 = 0 ;
11259 PyObject * obj1 = 0 ;
11260 PyObject * obj2 = 0 ;
11261 char *kwnames[] = {
11262 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11263 };
11264
11265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11267 {
11268 arg2 = wxString_in_helper(obj1);
11269 if (arg2 == NULL) SWIG_fail;
e811c8ce 11270 temp2 = True;
d14a1e28
RD
11271 }
11272 if (obj2) {
11273 {
11274 arg3 = wxString_in_helper(obj2);
11275 if (arg3 == NULL) SWIG_fail;
e811c8ce 11276 temp3 = True;
d14a1e28
RD
11277 }
11278 }
11279 {
11280 PyThreadState* __tstate = wxPyBeginAllowThreads();
11281 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11282
11283 wxPyEndAllowThreads(__tstate);
11284 if (PyErr_Occurred()) SWIG_fail;
11285 }
11286 resultobj = result;
11287 {
11288 if (temp2)
11289 delete arg2;
11290 }
11291 {
11292 if (temp3)
11293 delete arg3;
11294 }
11295 return resultobj;
11296 fail:
11297 {
11298 if (temp2)
11299 delete arg2;
11300 }
11301 {
11302 if (temp3)
11303 delete arg3;
11304 }
11305 return NULL;
11306}
11307
11308
11309static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
11310 PyObject *resultobj;
11311 wxFileType *arg1 = (wxFileType *) 0 ;
11312 wxString *arg2 = 0 ;
11313 wxString const &arg3_defvalue = wxPyEmptyString ;
11314 wxString *arg3 = (wxString *) &arg3_defvalue ;
11315 PyObject *result;
e811c8ce
RD
11316 bool temp2 = False ;
11317 bool temp3 = False ;
d14a1e28
RD
11318 PyObject * obj0 = 0 ;
11319 PyObject * obj1 = 0 ;
11320 PyObject * obj2 = 0 ;
11321 char *kwnames[] = {
11322 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11323 };
11324
11325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
11326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11327 {
11328 arg2 = wxString_in_helper(obj1);
11329 if (arg2 == NULL) SWIG_fail;
e811c8ce 11330 temp2 = True;
d14a1e28
RD
11331 }
11332 if (obj2) {
11333 {
11334 arg3 = wxString_in_helper(obj2);
11335 if (arg3 == NULL) SWIG_fail;
e811c8ce 11336 temp3 = True;
d14a1e28
RD
11337 }
11338 }
11339 {
11340 PyThreadState* __tstate = wxPyBeginAllowThreads();
11341 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11342
11343 wxPyEndAllowThreads(__tstate);
11344 if (PyErr_Occurred()) SWIG_fail;
11345 }
11346 resultobj = result;
11347 {
11348 if (temp2)
11349 delete arg2;
11350 }
11351 {
11352 if (temp3)
11353 delete arg3;
11354 }
11355 return resultobj;
11356 fail:
11357 {
11358 if (temp2)
11359 delete arg2;
11360 }
11361 {
11362 if (temp3)
11363 delete arg3;
11364 }
11365 return NULL;
11366}
11367
11368
11369static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11370 PyObject *resultobj;
11371 wxFileType *arg1 = (wxFileType *) 0 ;
11372 wxString *arg2 = 0 ;
11373 wxString *arg3 = 0 ;
e811c8ce 11374 bool arg4 = (bool) True ;
d14a1e28 11375 bool result;
e811c8ce
RD
11376 bool temp2 = False ;
11377 bool temp3 = False ;
d14a1e28
RD
11378 PyObject * obj0 = 0 ;
11379 PyObject * obj1 = 0 ;
11380 PyObject * obj2 = 0 ;
11381 PyObject * obj3 = 0 ;
11382 char *kwnames[] = {
11383 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11384 };
11385
11386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11388 {
11389 arg2 = wxString_in_helper(obj1);
11390 if (arg2 == NULL) SWIG_fail;
e811c8ce 11391 temp2 = True;
d14a1e28
RD
11392 }
11393 {
11394 arg3 = wxString_in_helper(obj2);
11395 if (arg3 == NULL) SWIG_fail;
e811c8ce 11396 temp3 = True;
d14a1e28
RD
11397 }
11398 if (obj3) {
11399 arg4 = PyInt_AsLong(obj3) ? true : false;
11400 if (PyErr_Occurred()) SWIG_fail;
11401 }
11402 {
11403 PyThreadState* __tstate = wxPyBeginAllowThreads();
11404 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11405
11406 wxPyEndAllowThreads(__tstate);
11407 if (PyErr_Occurred()) SWIG_fail;
11408 }
11409 resultobj = PyInt_FromLong((long)result);
11410 {
11411 if (temp2)
11412 delete arg2;
11413 }
11414 {
11415 if (temp3)
11416 delete arg3;
11417 }
11418 return resultobj;
11419 fail:
11420 {
11421 if (temp2)
11422 delete arg2;
11423 }
11424 {
11425 if (temp3)
11426 delete arg3;
11427 }
11428 return NULL;
11429}
11430
11431
11432static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11433 PyObject *resultobj;
11434 wxFileType *arg1 = (wxFileType *) 0 ;
11435 wxString const &arg2_defvalue = wxPyEmptyString ;
11436 wxString *arg2 = (wxString *) &arg2_defvalue ;
11437 int arg3 = (int) 0 ;
11438 bool result;
e811c8ce 11439 bool temp2 = False ;
d14a1e28
RD
11440 PyObject * obj0 = 0 ;
11441 PyObject * obj1 = 0 ;
11442 char *kwnames[] = {
11443 (char *) "self",(char *) "cmd",(char *) "index", NULL
11444 };
11445
11446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
11447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11448 if (obj1) {
11449 {
11450 arg2 = wxString_in_helper(obj1);
11451 if (arg2 == NULL) SWIG_fail;
e811c8ce 11452 temp2 = True;
d14a1e28
RD
11453 }
11454 }
11455 {
11456 PyThreadState* __tstate = wxPyBeginAllowThreads();
11457 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
11458
11459 wxPyEndAllowThreads(__tstate);
11460 if (PyErr_Occurred()) SWIG_fail;
11461 }
11462 resultobj = PyInt_FromLong((long)result);
11463 {
11464 if (temp2)
11465 delete arg2;
11466 }
11467 return resultobj;
11468 fail:
11469 {
11470 if (temp2)
11471 delete arg2;
11472 }
11473 return NULL;
11474}
11475
11476
11477static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
11478 PyObject *resultobj;
11479 wxFileType *arg1 = (wxFileType *) 0 ;
11480 bool result;
11481 PyObject * obj0 = 0 ;
11482 char *kwnames[] = {
11483 (char *) "self", NULL
11484 };
11485
11486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
11487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11488 {
11489 PyThreadState* __tstate = wxPyBeginAllowThreads();
11490 result = (bool)(arg1)->Unassociate();
11491
11492 wxPyEndAllowThreads(__tstate);
11493 if (PyErr_Occurred()) SWIG_fail;
11494 }
11495 resultobj = PyInt_FromLong((long)result);
11496 return resultobj;
11497 fail:
11498 return NULL;
11499}
11500
11501
11502static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11503 PyObject *resultobj;
11504 wxString *arg1 = 0 ;
11505 wxString *arg2 = 0 ;
11506 wxString const &arg3_defvalue = wxPyEmptyString ;
11507 wxString *arg3 = (wxString *) &arg3_defvalue ;
11508 wxString result;
e811c8ce
RD
11509 bool temp1 = False ;
11510 bool temp2 = False ;
11511 bool temp3 = False ;
d14a1e28
RD
11512 PyObject * obj0 = 0 ;
11513 PyObject * obj1 = 0 ;
11514 PyObject * obj2 = 0 ;
11515 char *kwnames[] = {
11516 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11517 };
11518
11519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11520 {
11521 arg1 = wxString_in_helper(obj0);
11522 if (arg1 == NULL) SWIG_fail;
e811c8ce 11523 temp1 = True;
d14a1e28
RD
11524 }
11525 {
11526 arg2 = wxString_in_helper(obj1);
11527 if (arg2 == NULL) SWIG_fail;
e811c8ce 11528 temp2 = True;
d14a1e28
RD
11529 }
11530 if (obj2) {
11531 {
11532 arg3 = wxString_in_helper(obj2);
11533 if (arg3 == NULL) SWIG_fail;
e811c8ce 11534 temp3 = True;
d14a1e28
RD
11535 }
11536 }
11537 {
11538 PyThreadState* __tstate = wxPyBeginAllowThreads();
11539 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11540
11541 wxPyEndAllowThreads(__tstate);
11542 if (PyErr_Occurred()) SWIG_fail;
11543 }
11544 {
11545#if wxUSE_UNICODE
11546 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11547#else
11548 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11549#endif
11550 }
11551 {
11552 if (temp1)
11553 delete arg1;
11554 }
11555 {
11556 if (temp2)
11557 delete arg2;
11558 }
11559 {
11560 if (temp3)
11561 delete arg3;
11562 }
11563 return resultobj;
11564 fail:
11565 {
11566 if (temp1)
11567 delete arg1;
11568 }
11569 {
11570 if (temp2)
11571 delete arg2;
11572 }
11573 {
11574 if (temp3)
11575 delete arg3;
11576 }
11577 return NULL;
11578}
11579
11580
11581static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
11582 PyObject *obj;
11583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11584 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
11585 Py_INCREF(obj);
11586 return Py_BuildValue((char *)"");
11587}
11588static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
11589 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
11590 return 1;
11591}
11592
11593
11594static PyObject *_wrap_TheMimeTypesManager_get() {
11595 PyObject *pyobj;
11596
11597 pyobj = SWIG_NewPointerObj((void *) wxTheMimeTypesManager, SWIGTYPE_p_wxMimeTypesManager, 0);
11598 return pyobj;
11599}
11600
11601
11602static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
11603 PyObject *resultobj;
11604 wxString *arg1 = 0 ;
11605 wxString *arg2 = 0 ;
11606 bool result;
e811c8ce
RD
11607 bool temp1 = False ;
11608 bool temp2 = False ;
d14a1e28
RD
11609 PyObject * obj0 = 0 ;
11610 PyObject * obj1 = 0 ;
11611 char *kwnames[] = {
11612 (char *) "mimeType",(char *) "wildcard", NULL
11613 };
11614
11615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
11616 {
11617 arg1 = wxString_in_helper(obj0);
11618 if (arg1 == NULL) SWIG_fail;
e811c8ce 11619 temp1 = True;
d14a1e28
RD
11620 }
11621 {
11622 arg2 = wxString_in_helper(obj1);
11623 if (arg2 == NULL) SWIG_fail;
e811c8ce 11624 temp2 = True;
d14a1e28
RD
11625 }
11626 {
11627 PyThreadState* __tstate = wxPyBeginAllowThreads();
11628 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
11629
11630 wxPyEndAllowThreads(__tstate);
11631 if (PyErr_Occurred()) SWIG_fail;
11632 }
11633 resultobj = PyInt_FromLong((long)result);
11634 {
11635 if (temp1)
11636 delete arg1;
11637 }
11638 {
11639 if (temp2)
11640 delete arg2;
11641 }
11642 return resultobj;
11643 fail:
11644 {
11645 if (temp1)
11646 delete arg1;
11647 }
11648 {
11649 if (temp2)
11650 delete arg2;
11651 }
11652 return NULL;
11653}
11654
11655
11656static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
11657 PyObject *resultobj;
11658 wxMimeTypesManager *result;
11659 char *kwnames[] = {
11660 NULL
11661 };
11662
11663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
11664 {
11665 PyThreadState* __tstate = wxPyBeginAllowThreads();
11666 result = (wxMimeTypesManager *)new wxMimeTypesManager();
11667
11668 wxPyEndAllowThreads(__tstate);
11669 if (PyErr_Occurred()) SWIG_fail;
11670 }
11671 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMimeTypesManager, 1);
11672 return resultobj;
11673 fail:
11674 return NULL;
11675}
11676
11677
11678static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
11679 PyObject *resultobj;
11680 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11681 int arg2 = (int) wxMAILCAP_ALL ;
11682 wxString const &arg3_defvalue = wxPyEmptyString ;
11683 wxString *arg3 = (wxString *) &arg3_defvalue ;
e811c8ce 11684 bool temp3 = False ;
d14a1e28
RD
11685 PyObject * obj0 = 0 ;
11686 PyObject * obj2 = 0 ;
11687 char *kwnames[] = {
11688 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
11689 };
11690
11691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:MimeTypesManager_Initialize",kwnames,&obj0,&arg2,&obj2)) goto fail;
11692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11693 if (obj2) {
11694 {
11695 arg3 = wxString_in_helper(obj2);
11696 if (arg3 == NULL) SWIG_fail;
e811c8ce 11697 temp3 = True;
d14a1e28
RD
11698 }
11699 }
11700 {
11701 PyThreadState* __tstate = wxPyBeginAllowThreads();
11702 (arg1)->Initialize(arg2,(wxString const &)*arg3);
11703
11704 wxPyEndAllowThreads(__tstate);
11705 if (PyErr_Occurred()) SWIG_fail;
11706 }
11707 Py_INCREF(Py_None); resultobj = Py_None;
11708 {
11709 if (temp3)
11710 delete arg3;
11711 }
11712 return resultobj;
11713 fail:
11714 {
11715 if (temp3)
11716 delete arg3;
11717 }
11718 return NULL;
11719}
11720
11721
11722static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
11723 PyObject *resultobj;
11724 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11725 PyObject * obj0 = 0 ;
11726 char *kwnames[] = {
11727 (char *) "self", NULL
11728 };
11729
11730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
11731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11732 {
11733 PyThreadState* __tstate = wxPyBeginAllowThreads();
11734 (arg1)->ClearData();
11735
11736 wxPyEndAllowThreads(__tstate);
11737 if (PyErr_Occurred()) SWIG_fail;
11738 }
11739 Py_INCREF(Py_None); resultobj = Py_None;
11740 return resultobj;
11741 fail:
11742 return NULL;
11743}
11744
11745
11746static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
11747 PyObject *resultobj;
11748 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11749 wxString *arg2 = 0 ;
11750 wxFileType *result;
e811c8ce 11751 bool temp2 = False ;
d14a1e28
RD
11752 PyObject * obj0 = 0 ;
11753 PyObject * obj1 = 0 ;
11754 char *kwnames[] = {
11755 (char *) "self",(char *) "ext", NULL
11756 };
11757
11758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
11759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11760 {
11761 arg2 = wxString_in_helper(obj1);
11762 if (arg2 == NULL) SWIG_fail;
e811c8ce 11763 temp2 = True;
d14a1e28
RD
11764 }
11765 {
11766 PyThreadState* __tstate = wxPyBeginAllowThreads();
11767 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
11768
11769 wxPyEndAllowThreads(__tstate);
11770 if (PyErr_Occurred()) SWIG_fail;
11771 }
11772 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11773 {
11774 if (temp2)
11775 delete arg2;
11776 }
11777 return resultobj;
11778 fail:
11779 {
11780 if (temp2)
11781 delete arg2;
11782 }
11783 return NULL;
11784}
11785
11786
11787static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11788 PyObject *resultobj;
11789 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11790 wxString *arg2 = 0 ;
11791 wxFileType *result;
e811c8ce 11792 bool temp2 = False ;
d14a1e28
RD
11793 PyObject * obj0 = 0 ;
11794 PyObject * obj1 = 0 ;
11795 char *kwnames[] = {
11796 (char *) "self",(char *) "mimeType", NULL
11797 };
11798
11799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
11800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11801 {
11802 arg2 = wxString_in_helper(obj1);
11803 if (arg2 == NULL) SWIG_fail;
e811c8ce 11804 temp2 = True;
d14a1e28
RD
11805 }
11806 {
11807 PyThreadState* __tstate = wxPyBeginAllowThreads();
11808 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
11809
11810 wxPyEndAllowThreads(__tstate);
11811 if (PyErr_Occurred()) SWIG_fail;
11812 }
11813 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11814 {
11815 if (temp2)
11816 delete arg2;
11817 }
11818 return resultobj;
11819 fail:
11820 {
11821 if (temp2)
11822 delete arg2;
11823 }
11824 return NULL;
11825}
11826
11827
11828static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
11829 PyObject *resultobj;
11830 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11831 wxString *arg2 = 0 ;
e811c8ce 11832 bool arg3 = (bool) False ;
d14a1e28 11833 bool result;
e811c8ce 11834 bool temp2 = False ;
d14a1e28
RD
11835 PyObject * obj0 = 0 ;
11836 PyObject * obj1 = 0 ;
11837 PyObject * obj2 = 0 ;
11838 char *kwnames[] = {
11839 (char *) "self",(char *) "filename",(char *) "fallback", NULL
11840 };
11841
11842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
11843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11844 {
11845 arg2 = wxString_in_helper(obj1);
11846 if (arg2 == NULL) SWIG_fail;
e811c8ce 11847 temp2 = True;
d14a1e28
RD
11848 }
11849 if (obj2) {
11850 arg3 = PyInt_AsLong(obj2) ? true : false;
11851 if (PyErr_Occurred()) SWIG_fail;
11852 }
11853 {
11854 PyThreadState* __tstate = wxPyBeginAllowThreads();
11855 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
11856
11857 wxPyEndAllowThreads(__tstate);
11858 if (PyErr_Occurred()) SWIG_fail;
11859 }
11860 resultobj = PyInt_FromLong((long)result);
11861 {
11862 if (temp2)
11863 delete arg2;
11864 }
11865 return resultobj;
11866 fail:
11867 {
11868 if (temp2)
11869 delete arg2;
11870 }
11871 return NULL;
11872}
11873
11874
11875static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11876 PyObject *resultobj;
11877 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11878 wxString *arg2 = 0 ;
11879 bool result;
e811c8ce 11880 bool temp2 = False ;
d14a1e28
RD
11881 PyObject * obj0 = 0 ;
11882 PyObject * obj1 = 0 ;
11883 char *kwnames[] = {
11884 (char *) "self",(char *) "filename", NULL
11885 };
11886
11887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
11888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11889 {
11890 arg2 = wxString_in_helper(obj1);
11891 if (arg2 == NULL) SWIG_fail;
e811c8ce 11892 temp2 = True;
d14a1e28
RD
11893 }
11894 {
11895 PyThreadState* __tstate = wxPyBeginAllowThreads();
11896 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
11897
11898 wxPyEndAllowThreads(__tstate);
11899 if (PyErr_Occurred()) SWIG_fail;
11900 }
11901 resultobj = PyInt_FromLong((long)result);
11902 {
11903 if (temp2)
11904 delete arg2;
11905 }
11906 return resultobj;
11907 fail:
11908 {
11909 if (temp2)
11910 delete arg2;
11911 }
11912 return NULL;
11913}
11914
11915
11916static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11917 PyObject *resultobj;
11918 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11919 PyObject *result;
11920 PyObject * obj0 = 0 ;
11921 char *kwnames[] = {
11922 (char *) "self", NULL
11923 };
11924
11925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
11926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11927 {
11928 PyThreadState* __tstate = wxPyBeginAllowThreads();
11929 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
11930
11931 wxPyEndAllowThreads(__tstate);
11932 if (PyErr_Occurred()) SWIG_fail;
11933 }
11934 resultobj = result;
11935 return resultobj;
11936 fail:
11937 return NULL;
11938}
11939
11940
11941static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
11942 PyObject *resultobj;
11943 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11944 wxFileTypeInfo *arg2 = 0 ;
11945 PyObject * obj0 = 0 ;
11946 PyObject * obj1 = 0 ;
11947 char *kwnames[] = {
11948 (char *) "self",(char *) "ft", NULL
11949 };
11950
11951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
11952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11953 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11954 if (arg2 == NULL) {
11955 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11956 }
11957 {
11958 PyThreadState* __tstate = wxPyBeginAllowThreads();
11959 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
11960
11961 wxPyEndAllowThreads(__tstate);
11962 if (PyErr_Occurred()) SWIG_fail;
11963 }
11964 Py_INCREF(Py_None); resultobj = Py_None;
11965 return resultobj;
11966 fail:
11967 return NULL;
11968}
11969
11970
11971static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
11972 PyObject *resultobj;
11973 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11974 wxFileTypeInfo *arg2 = 0 ;
11975 wxFileType *result;
11976 PyObject * obj0 = 0 ;
11977 PyObject * obj1 = 0 ;
11978 char *kwnames[] = {
11979 (char *) "self",(char *) "ftInfo", NULL
11980 };
11981
11982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
11983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11984 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11985 if (arg2 == NULL) {
11986 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11987 }
11988 {
11989 PyThreadState* __tstate = wxPyBeginAllowThreads();
11990 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
11991
11992 wxPyEndAllowThreads(__tstate);
11993 if (PyErr_Occurred()) SWIG_fail;
11994 }
11995 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11996 return resultobj;
11997 fail:
11998 return NULL;
11999}
12000
12001
12002static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12003 PyObject *resultobj;
12004 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12005 wxFileType *arg2 = (wxFileType *) 0 ;
12006 bool result;
12007 PyObject * obj0 = 0 ;
12008 PyObject * obj1 = 0 ;
12009 char *kwnames[] = {
12010 (char *) "self",(char *) "ft", NULL
12011 };
12012
12013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
12014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12015 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12016 {
12017 PyThreadState* __tstate = wxPyBeginAllowThreads();
12018 result = (bool)(arg1)->Unassociate(arg2);
12019
12020 wxPyEndAllowThreads(__tstate);
12021 if (PyErr_Occurred()) SWIG_fail;
12022 }
12023 resultobj = PyInt_FromLong((long)result);
12024 return resultobj;
12025 fail:
12026 return NULL;
12027}
12028
12029
12030static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
12031 PyObject *resultobj;
12032 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12033 PyObject * obj0 = 0 ;
12034 char *kwnames[] = {
12035 (char *) "self", NULL
12036 };
12037
12038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
12039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12040 {
12041 PyThreadState* __tstate = wxPyBeginAllowThreads();
12042 delete arg1;
12043
12044 wxPyEndAllowThreads(__tstate);
12045 if (PyErr_Occurred()) SWIG_fail;
12046 }
12047 Py_INCREF(Py_None); resultobj = Py_None;
12048 return resultobj;
12049 fail:
12050 return NULL;
12051}
12052
12053
12054static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
12055 PyObject *obj;
12056 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12057 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
12058 Py_INCREF(obj);
12059 return Py_BuildValue((char *)"");
12060}
12061static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
12062 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
12063 return 1;
12064}
12065
12066
12067static PyObject *_wrap_ART_TOOLBAR_get() {
12068 PyObject *pyobj;
12069
12070 {
12071#if wxUSE_UNICODE
12072 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12073#else
12074 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12075#endif
12076 }
12077 return pyobj;
12078}
12079
12080
12081static int _wrap_ART_MENU_set(PyObject *_val) {
12082 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
12083 return 1;
12084}
12085
12086
12087static PyObject *_wrap_ART_MENU_get() {
12088 PyObject *pyobj;
12089
12090 {
12091#if wxUSE_UNICODE
12092 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12093#else
12094 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12095#endif
12096 }
12097 return pyobj;
12098}
12099
12100
12101static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
12102 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
12103 return 1;
12104}
12105
12106
12107static PyObject *_wrap_ART_FRAME_ICON_get() {
12108 PyObject *pyobj;
12109
12110 {
12111#if wxUSE_UNICODE
12112 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12113#else
12114 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12115#endif
12116 }
12117 return pyobj;
12118}
12119
12120
12121static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
12122 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
12123 return 1;
12124}
12125
12126
12127static PyObject *_wrap_ART_CMN_DIALOG_get() {
12128 PyObject *pyobj;
12129
12130 {
12131#if wxUSE_UNICODE
12132 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12133#else
12134 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12135#endif
12136 }
12137 return pyobj;
12138}
12139
12140
12141static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
12142 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
12143 return 1;
12144}
12145
12146
12147static PyObject *_wrap_ART_HELP_BROWSER_get() {
12148 PyObject *pyobj;
12149
12150 {
12151#if wxUSE_UNICODE
12152 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12153#else
12154 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12155#endif
12156 }
12157 return pyobj;
12158}
12159
12160
12161static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
12162 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
12163 return 1;
12164}
12165
12166
12167static PyObject *_wrap_ART_MESSAGE_BOX_get() {
12168 PyObject *pyobj;
12169
12170 {
12171#if wxUSE_UNICODE
12172 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12173#else
12174 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12175#endif
12176 }
12177 return pyobj;
12178}
12179
12180
12181static int _wrap_ART_OTHER_set(PyObject *_val) {
12182 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
12183 return 1;
12184}
12185
12186
12187static PyObject *_wrap_ART_OTHER_get() {
12188 PyObject *pyobj;
12189
12190 {
12191#if wxUSE_UNICODE
12192 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12193#else
12194 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12195#endif
12196 }
12197 return pyobj;
12198}
12199
12200
12201static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
12202 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
12203 return 1;
12204}
12205
12206
12207static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
12208 PyObject *pyobj;
12209
12210 {
12211#if wxUSE_UNICODE
12212 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12213#else
12214 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12215#endif
12216 }
12217 return pyobj;
12218}
12219
12220
12221static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
12222 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
12223 return 1;
12224}
12225
12226
12227static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
12228 PyObject *pyobj;
12229
12230 {
12231#if wxUSE_UNICODE
12232 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12233#else
12234 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12235#endif
12236 }
12237 return pyobj;
12238}
12239
12240
12241static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
12242 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
12243 return 1;
12244}
12245
12246
12247static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
12248 PyObject *pyobj;
12249
12250 {
12251#if wxUSE_UNICODE
12252 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12253#else
12254 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12255#endif
12256 }
12257 return pyobj;
12258}
12259
12260
12261static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
12262 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
12263 return 1;
12264}
12265
12266
12267static PyObject *_wrap_ART_HELP_SETTINGS_get() {
12268 PyObject *pyobj;
12269
12270 {
12271#if wxUSE_UNICODE
12272 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12273#else
12274 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12275#endif
12276 }
12277 return pyobj;
12278}
12279
12280
12281static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
12282 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
12283 return 1;
12284}
12285
12286
12287static PyObject *_wrap_ART_HELP_BOOK_get() {
12288 PyObject *pyobj;
12289
12290 {
12291#if wxUSE_UNICODE
12292 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12293#else
12294 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12295#endif
12296 }
12297 return pyobj;
12298}
12299
12300
12301static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
12302 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
12303 return 1;
12304}
12305
12306
12307static PyObject *_wrap_ART_HELP_FOLDER_get() {
12308 PyObject *pyobj;
12309
12310 {
12311#if wxUSE_UNICODE
12312 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12313#else
12314 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12315#endif
12316 }
12317 return pyobj;
12318}
12319
12320
12321static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
12322 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
12323 return 1;
12324}
12325
12326
12327static PyObject *_wrap_ART_HELP_PAGE_get() {
12328 PyObject *pyobj;
12329
12330 {
12331#if wxUSE_UNICODE
12332 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12333#else
12334 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12335#endif
12336 }
12337 return pyobj;
12338}
12339
12340
12341static int _wrap_ART_GO_BACK_set(PyObject *_val) {
12342 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
12343 return 1;
12344}
12345
12346
12347static PyObject *_wrap_ART_GO_BACK_get() {
12348 PyObject *pyobj;
12349
12350 {
12351#if wxUSE_UNICODE
12352 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12353#else
12354 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12355#endif
12356 }
12357 return pyobj;
12358}
12359
12360
12361static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
12362 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
12363 return 1;
12364}
12365
12366
12367static PyObject *_wrap_ART_GO_FORWARD_get() {
12368 PyObject *pyobj;
12369
12370 {
12371#if wxUSE_UNICODE
12372 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12373#else
12374 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12375#endif
12376 }
12377 return pyobj;
12378}
12379
12380
12381static int _wrap_ART_GO_UP_set(PyObject *_val) {
12382 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
12383 return 1;
12384}
12385
12386
12387static PyObject *_wrap_ART_GO_UP_get() {
12388 PyObject *pyobj;
12389
12390 {
12391#if wxUSE_UNICODE
12392 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12393#else
12394 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12395#endif
12396 }
12397 return pyobj;
12398}
12399
12400
12401static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
12402 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
12403 return 1;
12404}
12405
12406
12407static PyObject *_wrap_ART_GO_DOWN_get() {
12408 PyObject *pyobj;
12409
12410 {
12411#if wxUSE_UNICODE
12412 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12413#else
12414 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12415#endif
12416 }
12417 return pyobj;
12418}
12419
12420
12421static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
12422 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
12423 return 1;
12424}
12425
12426
12427static PyObject *_wrap_ART_GO_TO_PARENT_get() {
12428 PyObject *pyobj;
12429
12430 {
12431#if wxUSE_UNICODE
12432 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12433#else
12434 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12435#endif
12436 }
12437 return pyobj;
12438}
12439
12440
12441static int _wrap_ART_GO_HOME_set(PyObject *_val) {
12442 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
12443 return 1;
12444}
12445
12446
12447static PyObject *_wrap_ART_GO_HOME_get() {
12448 PyObject *pyobj;
12449
12450 {
12451#if wxUSE_UNICODE
12452 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12453#else
12454 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12455#endif
12456 }
12457 return pyobj;
12458}
12459
12460
12461static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
12462 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
12463 return 1;
12464}
12465
12466
12467static PyObject *_wrap_ART_FILE_OPEN_get() {
12468 PyObject *pyobj;
12469
12470 {
12471#if wxUSE_UNICODE
12472 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12473#else
12474 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12475#endif
12476 }
12477 return pyobj;
12478}
12479
12480
12481static int _wrap_ART_PRINT_set(PyObject *_val) {
12482 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
12483 return 1;
12484}
12485
12486
12487static PyObject *_wrap_ART_PRINT_get() {
12488 PyObject *pyobj;
12489
12490 {
12491#if wxUSE_UNICODE
12492 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12493#else
12494 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12495#endif
12496 }
12497 return pyobj;
12498}
12499
12500
12501static int _wrap_ART_HELP_set(PyObject *_val) {
12502 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
12503 return 1;
12504}
12505
12506
12507static PyObject *_wrap_ART_HELP_get() {
12508 PyObject *pyobj;
12509
12510 {
12511#if wxUSE_UNICODE
12512 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12513#else
12514 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12515#endif
12516 }
12517 return pyobj;
12518}
12519
12520
12521static int _wrap_ART_TIP_set(PyObject *_val) {
12522 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
12523 return 1;
12524}
12525
12526
12527static PyObject *_wrap_ART_TIP_get() {
12528 PyObject *pyobj;
12529
12530 {
12531#if wxUSE_UNICODE
12532 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12533#else
12534 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12535#endif
12536 }
12537 return pyobj;
12538}
12539
12540
12541static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
12542 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
12543 return 1;
12544}
12545
12546
12547static PyObject *_wrap_ART_REPORT_VIEW_get() {
12548 PyObject *pyobj;
12549
12550 {
12551#if wxUSE_UNICODE
12552 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12553#else
12554 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12555#endif
12556 }
12557 return pyobj;
12558}
12559
12560
12561static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
12562 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
12563 return 1;
12564}
12565
12566
12567static PyObject *_wrap_ART_LIST_VIEW_get() {
12568 PyObject *pyobj;
12569
12570 {
12571#if wxUSE_UNICODE
12572 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12573#else
12574 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12575#endif
12576 }
12577 return pyobj;
12578}
12579
12580
12581static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
12582 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
12583 return 1;
12584}
12585
12586
12587static PyObject *_wrap_ART_NEW_DIR_get() {
12588 PyObject *pyobj;
12589
12590 {
12591#if wxUSE_UNICODE
12592 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12593#else
12594 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12595#endif
12596 }
12597 return pyobj;
12598}
12599
12600
12601static int _wrap_ART_FOLDER_set(PyObject *_val) {
12602 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
12603 return 1;
12604}
12605
12606
12607static PyObject *_wrap_ART_FOLDER_get() {
12608 PyObject *pyobj;
12609
12610 {
12611#if wxUSE_UNICODE
12612 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12613#else
12614 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12615#endif
12616 }
12617 return pyobj;
12618}
12619
12620
12621static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
12622 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
12623 return 1;
12624}
12625
12626
12627static PyObject *_wrap_ART_GO_DIR_UP_get() {
12628 PyObject *pyobj;
12629
12630 {
12631#if wxUSE_UNICODE
12632 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12633#else
12634 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12635#endif
12636 }
12637 return pyobj;
12638}
12639
12640
12641static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
12642 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
12643 return 1;
12644}
12645
12646
12647static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
12648 PyObject *pyobj;
12649
12650 {
12651#if wxUSE_UNICODE
12652 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12653#else
12654 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12655#endif
12656 }
12657 return pyobj;
12658}
12659
12660
12661static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
12662 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
12663 return 1;
12664}
12665
12666
12667static PyObject *_wrap_ART_NORMAL_FILE_get() {
12668 PyObject *pyobj;
12669
12670 {
12671#if wxUSE_UNICODE
12672 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12673#else
12674 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12675#endif
12676 }
12677 return pyobj;
12678}
12679
12680
12681static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
12682 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
12683 return 1;
12684}
12685
12686
12687static PyObject *_wrap_ART_TICK_MARK_get() {
12688 PyObject *pyobj;
12689
12690 {
12691#if wxUSE_UNICODE
12692 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12693#else
12694 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12695#endif
12696 }
12697 return pyobj;
12698}
12699
12700
12701static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
12702 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
12703 return 1;
12704}
12705
12706
12707static PyObject *_wrap_ART_CROSS_MARK_get() {
12708 PyObject *pyobj;
12709
12710 {
12711#if wxUSE_UNICODE
12712 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12713#else
12714 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12715#endif
12716 }
12717 return pyobj;
12718}
12719
12720
12721static int _wrap_ART_ERROR_set(PyObject *_val) {
12722 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
12723 return 1;
12724}
12725
12726
12727static PyObject *_wrap_ART_ERROR_get() {
12728 PyObject *pyobj;
12729
12730 {
12731#if wxUSE_UNICODE
12732 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12733#else
12734 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12735#endif
12736 }
12737 return pyobj;
12738}
12739
12740
12741static int _wrap_ART_QUESTION_set(PyObject *_val) {
12742 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
12743 return 1;
12744}
12745
12746
12747static PyObject *_wrap_ART_QUESTION_get() {
12748 PyObject *pyobj;
12749
12750 {
12751#if wxUSE_UNICODE
12752 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12753#else
12754 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12755#endif
12756 }
12757 return pyobj;
12758}
12759
12760
12761static int _wrap_ART_WARNING_set(PyObject *_val) {
12762 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
12763 return 1;
12764}
12765
12766
12767static PyObject *_wrap_ART_WARNING_get() {
12768 PyObject *pyobj;
12769
12770 {
12771#if wxUSE_UNICODE
12772 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12773#else
12774 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12775#endif
12776 }
12777 return pyobj;
12778}
12779
12780
12781static int _wrap_ART_INFORMATION_set(PyObject *_val) {
12782 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
12783 return 1;
12784}
12785
12786
12787static PyObject *_wrap_ART_INFORMATION_get() {
12788 PyObject *pyobj;
12789
12790 {
12791#if wxUSE_UNICODE
12792 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12793#else
12794 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12795#endif
12796 }
12797 return pyobj;
12798}
12799
12800
12801static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
12802 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
12803 return 1;
12804}
12805
12806
12807static PyObject *_wrap_ART_MISSING_IMAGE_get() {
12808 PyObject *pyobj;
12809
12810 {
12811#if wxUSE_UNICODE
12812 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
12813#else
12814 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
12815#endif
12816 }
12817 return pyobj;
12818}
12819
12820
12821static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12822 PyObject *resultobj;
12823 wxPyArtProvider *result;
12824 char *kwnames[] = {
12825 NULL
12826 };
12827
12828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
12829 {
12830 PyThreadState* __tstate = wxPyBeginAllowThreads();
12831 result = (wxPyArtProvider *)new wxPyArtProvider();
12832
12833 wxPyEndAllowThreads(__tstate);
12834 if (PyErr_Occurred()) SWIG_fail;
12835 }
12836 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyArtProvider, 1);
12837 return resultobj;
12838 fail:
12839 return NULL;
12840}
12841
12842
d14a1e28
RD
12843static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12844 PyObject *resultobj;
12845 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12846 PyObject *arg2 = (PyObject *) 0 ;
12847 PyObject *arg3 = (PyObject *) 0 ;
12848 PyObject * obj0 = 0 ;
12849 PyObject * obj1 = 0 ;
12850 PyObject * obj2 = 0 ;
12851 char *kwnames[] = {
12852 (char *) "self",(char *) "self",(char *) "_class", NULL
12853 };
12854
12855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12857 arg2 = obj1;
12858 arg3 = obj2;
12859 {
12860 PyThreadState* __tstate = wxPyBeginAllowThreads();
12861 (arg1)->_setCallbackInfo(arg2,arg3);
12862
12863 wxPyEndAllowThreads(__tstate);
12864 if (PyErr_Occurred()) SWIG_fail;
12865 }
12866 Py_INCREF(Py_None); resultobj = Py_None;
12867 return resultobj;
12868 fail:
12869 return NULL;
12870}
12871
12872
12873static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12874 PyObject *resultobj;
12875 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12876 PyObject * obj0 = 0 ;
12877 char *kwnames[] = {
12878 (char *) "provider", NULL
12879 };
12880
12881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
12882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12883 {
12884 PyThreadState* __tstate = wxPyBeginAllowThreads();
12885 wxPyArtProvider::PushProvider(arg1);
12886
12887 wxPyEndAllowThreads(__tstate);
12888 if (PyErr_Occurred()) SWIG_fail;
12889 }
12890 Py_INCREF(Py_None); resultobj = Py_None;
12891 return resultobj;
12892 fail:
12893 return NULL;
12894}
12895
12896
12897static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12898 PyObject *resultobj;
12899 bool result;
12900 char *kwnames[] = {
12901 NULL
12902 };
12903
12904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
12905 {
12906 PyThreadState* __tstate = wxPyBeginAllowThreads();
12907 result = (bool)wxPyArtProvider::PopProvider();
12908
12909 wxPyEndAllowThreads(__tstate);
12910 if (PyErr_Occurred()) SWIG_fail;
12911 }
12912 resultobj = PyInt_FromLong((long)result);
12913 return resultobj;
12914 fail:
12915 return NULL;
12916}
12917
12918
12919static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12920 PyObject *resultobj;
12921 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
12922 bool result;
12923 PyObject * obj0 = 0 ;
12924 char *kwnames[] = {
12925 (char *) "provider", NULL
12926 };
12927
12928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
12929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12930 {
12931 PyThreadState* __tstate = wxPyBeginAllowThreads();
12932 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
12933
12934 wxPyEndAllowThreads(__tstate);
12935 if (PyErr_Occurred()) SWIG_fail;
12936 }
12937 resultobj = PyInt_FromLong((long)result);
12938 return resultobj;
12939 fail:
12940 return NULL;
12941}
12942
12943
12944static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12945 PyObject *resultobj;
12946 wxString *arg1 = 0 ;
12947 wxString const &arg2_defvalue = wxPyART_OTHER ;
12948 wxString *arg2 = (wxString *) &arg2_defvalue ;
12949 wxSize const &arg3_defvalue = wxDefaultSize ;
12950 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
12951 wxBitmap result;
e811c8ce
RD
12952 bool temp1 = False ;
12953 bool temp2 = False ;
d14a1e28
RD
12954 wxSize temp3 ;
12955 PyObject * obj0 = 0 ;
12956 PyObject * obj1 = 0 ;
12957 PyObject * obj2 = 0 ;
12958 char *kwnames[] = {
12959 (char *) "id",(char *) "client",(char *) "size", NULL
12960 };
12961
12962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
12963 {
12964 arg1 = wxString_in_helper(obj0);
12965 if (arg1 == NULL) SWIG_fail;
e811c8ce 12966 temp1 = True;
d14a1e28
RD
12967 }
12968 if (obj1) {
12969 {
12970 arg2 = wxString_in_helper(obj1);
12971 if (arg2 == NULL) SWIG_fail;
e811c8ce 12972 temp2 = True;
d14a1e28
RD
12973 }
12974 }
12975 if (obj2) {
12976 {
12977 arg3 = &temp3;
12978 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
12979 }
12980 }
12981 {
12982 PyThreadState* __tstate = wxPyBeginAllowThreads();
12983 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
12984
12985 wxPyEndAllowThreads(__tstate);
12986 if (PyErr_Occurred()) SWIG_fail;
12987 }
12988 {
12989 wxBitmap * resultptr;
12990 resultptr = new wxBitmap((wxBitmap &) result);
12991 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
12992 }
12993 {
12994 if (temp1)
12995 delete arg1;
12996 }
12997 {
12998 if (temp2)
12999 delete arg2;
13000 }
13001 return resultobj;
13002 fail:
13003 {
13004 if (temp1)
13005 delete arg1;
13006 }
13007 {
13008 if (temp2)
13009 delete arg2;
13010 }
13011 return NULL;
13012}
13013
13014
13015static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
13016 PyObject *resultobj;
13017 wxString *arg1 = 0 ;
13018 wxString const &arg2_defvalue = wxPyART_OTHER ;
13019 wxString *arg2 = (wxString *) &arg2_defvalue ;
13020 wxSize const &arg3_defvalue = wxDefaultSize ;
13021 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13022 wxIcon result;
e811c8ce
RD
13023 bool temp1 = False ;
13024 bool temp2 = False ;
d14a1e28
RD
13025 wxSize temp3 ;
13026 PyObject * obj0 = 0 ;
13027 PyObject * obj1 = 0 ;
13028 PyObject * obj2 = 0 ;
13029 char *kwnames[] = {
13030 (char *) "id",(char *) "client",(char *) "size", NULL
13031 };
13032
13033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13034 {
13035 arg1 = wxString_in_helper(obj0);
13036 if (arg1 == NULL) SWIG_fail;
e811c8ce 13037 temp1 = True;
d14a1e28
RD
13038 }
13039 if (obj1) {
13040 {
13041 arg2 = wxString_in_helper(obj1);
13042 if (arg2 == NULL) SWIG_fail;
e811c8ce 13043 temp2 = True;
d14a1e28
RD
13044 }
13045 }
13046 if (obj2) {
13047 {
13048 arg3 = &temp3;
13049 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13050 }
13051 }
13052 {
13053 PyThreadState* __tstate = wxPyBeginAllowThreads();
13054 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13055
13056 wxPyEndAllowThreads(__tstate);
13057 if (PyErr_Occurred()) SWIG_fail;
13058 }
13059 {
13060 wxIcon * resultptr;
13061 resultptr = new wxIcon((wxIcon &) result);
13062 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
13063 }
13064 {
13065 if (temp1)
13066 delete arg1;
13067 }
13068 {
13069 if (temp2)
13070 delete arg2;
13071 }
13072 return resultobj;
13073 fail:
13074 {
13075 if (temp1)
13076 delete arg1;
13077 }
13078 {
13079 if (temp2)
13080 delete arg2;
13081 }
13082 return NULL;
13083}
13084
13085
13086static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
13087 PyObject *obj;
13088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13089 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
13090 Py_INCREF(obj);
13091 return Py_BuildValue((char *)"");
13092}
13093static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
13094 PyObject *resultobj;
13095 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13096 PyObject * obj0 = 0 ;
13097 char *kwnames[] = {
13098 (char *) "self", NULL
13099 };
13100
13101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
13102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13103 {
13104 PyThreadState* __tstate = wxPyBeginAllowThreads();
13105 delete arg1;
13106
13107 wxPyEndAllowThreads(__tstate);
13108 if (PyErr_Occurred()) SWIG_fail;
13109 }
13110 Py_INCREF(Py_None); resultobj = Py_None;
13111 return resultobj;
13112 fail:
13113 return NULL;
13114}
13115
13116
13117static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
13118 PyObject *resultobj;
13119 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13120 wxConfigBase *result;
13121 PyObject * obj0 = 0 ;
13122 char *kwnames[] = {
13123 (char *) "pConfig", NULL
13124 };
13125
13126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
13127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13128 {
13129 PyThreadState* __tstate = wxPyBeginAllowThreads();
13130 result = (wxConfigBase *)wxConfigBase::Set(arg1);
13131
13132 wxPyEndAllowThreads(__tstate);
13133 if (PyErr_Occurred()) SWIG_fail;
13134 }
13135 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13136 return resultobj;
13137 fail:
13138 return NULL;
13139}
13140
13141
13142static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
13143 PyObject *resultobj;
e811c8ce 13144 bool arg1 = (bool) True ;
d14a1e28
RD
13145 wxConfigBase *result;
13146 PyObject * obj0 = 0 ;
13147 char *kwnames[] = {
13148 (char *) "createOnDemand", NULL
13149 };
13150
13151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
13152 if (obj0) {
13153 arg1 = PyInt_AsLong(obj0) ? true : false;
13154 if (PyErr_Occurred()) SWIG_fail;
13155 }
13156 {
13157 PyThreadState* __tstate = wxPyBeginAllowThreads();
13158 result = (wxConfigBase *)wxConfigBase::Get(arg1);
13159
13160 wxPyEndAllowThreads(__tstate);
13161 if (PyErr_Occurred()) SWIG_fail;
13162 }
13163 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13164 return resultobj;
13165 fail:
13166 return NULL;
13167}
13168
13169
13170static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13171 PyObject *resultobj;
13172 wxConfigBase *result;
13173 char *kwnames[] = {
13174 NULL
13175 };
13176
13177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
13178 {
13179 PyThreadState* __tstate = wxPyBeginAllowThreads();
13180 result = (wxConfigBase *)wxConfigBase::Create();
13181
13182 wxPyEndAllowThreads(__tstate);
13183 if (PyErr_Occurred()) SWIG_fail;
13184 }
13185 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13186 return resultobj;
13187 fail:
13188 return NULL;
13189}
13190
13191
13192static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
13193 PyObject *resultobj;
13194 char *kwnames[] = {
13195 NULL
13196 };
13197
13198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
13199 {
13200 PyThreadState* __tstate = wxPyBeginAllowThreads();
13201 wxConfigBase::DontCreateOnDemand();
13202
13203 wxPyEndAllowThreads(__tstate);
13204 if (PyErr_Occurred()) SWIG_fail;
13205 }
13206 Py_INCREF(Py_None); resultobj = Py_None;
13207 return resultobj;
13208 fail:
13209 return NULL;
13210}
13211
13212
13213static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13214 PyObject *resultobj;
13215 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13216 wxString *arg2 = 0 ;
e811c8ce 13217 bool temp2 = False ;
d14a1e28
RD
13218 PyObject * obj0 = 0 ;
13219 PyObject * obj1 = 0 ;
13220 char *kwnames[] = {
13221 (char *) "self",(char *) "strPath", NULL
13222 };
13223
13224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
13225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13226 {
13227 arg2 = wxString_in_helper(obj1);
13228 if (arg2 == NULL) SWIG_fail;
e811c8ce 13229 temp2 = True;
d14a1e28
RD
13230 }
13231 {
13232 PyThreadState* __tstate = wxPyBeginAllowThreads();
13233 (arg1)->SetPath((wxString const &)*arg2);
13234
13235 wxPyEndAllowThreads(__tstate);
13236 if (PyErr_Occurred()) SWIG_fail;
13237 }
13238 Py_INCREF(Py_None); resultobj = Py_None;
13239 {
13240 if (temp2)
13241 delete arg2;
13242 }
13243 return resultobj;
13244 fail:
13245 {
13246 if (temp2)
13247 delete arg2;
13248 }
13249 return NULL;
13250}
13251
13252
13253static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13254 PyObject *resultobj;
13255 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13256 wxString *result;
13257 PyObject * obj0 = 0 ;
13258 char *kwnames[] = {
13259 (char *) "self", NULL
13260 };
13261
13262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
13263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13264 {
13265 PyThreadState* __tstate = wxPyBeginAllowThreads();
13266 {
13267 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
13268 result = (wxString *) &_result_ref;
13269 }
13270
13271 wxPyEndAllowThreads(__tstate);
13272 if (PyErr_Occurred()) SWIG_fail;
13273 }
13274 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
13275 return resultobj;
13276 fail:
13277 return NULL;
13278}
13279
13280
13281static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13282 PyObject *resultobj;
13283 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13284 PyObject *result;
13285 PyObject * obj0 = 0 ;
13286 char *kwnames[] = {
13287 (char *) "self", NULL
13288 };
13289
13290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
13291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13292 {
13293 PyThreadState* __tstate = wxPyBeginAllowThreads();
13294 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
13295
13296 wxPyEndAllowThreads(__tstate);
13297 if (PyErr_Occurred()) SWIG_fail;
13298 }
13299 resultobj = result;
13300 return resultobj;
13301 fail:
13302 return NULL;
13303}
13304
13305
13306static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13307 PyObject *resultobj;
13308 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13309 long arg2 ;
13310 PyObject *result;
13311 PyObject * obj0 = 0 ;
13312 char *kwnames[] = {
13313 (char *) "self",(char *) "index", NULL
13314 };
13315
13316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextGroup",kwnames,&obj0,&arg2)) goto fail;
13317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13318 {
13319 PyThreadState* __tstate = wxPyBeginAllowThreads();
13320 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
13321
13322 wxPyEndAllowThreads(__tstate);
13323 if (PyErr_Occurred()) SWIG_fail;
13324 }
13325 resultobj = result;
13326 return resultobj;
13327 fail:
13328 return NULL;
13329}
13330
13331
13332static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13333 PyObject *resultobj;
13334 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13335 PyObject *result;
13336 PyObject * obj0 = 0 ;
13337 char *kwnames[] = {
13338 (char *) "self", NULL
13339 };
13340
13341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
13342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13343 {
13344 PyThreadState* __tstate = wxPyBeginAllowThreads();
13345 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
13346
13347 wxPyEndAllowThreads(__tstate);
13348 if (PyErr_Occurred()) SWIG_fail;
13349 }
13350 resultobj = result;
13351 return resultobj;
13352 fail:
13353 return NULL;
13354}
13355
13356
13357static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13358 PyObject *resultobj;
13359 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13360 long arg2 ;
13361 PyObject *result;
13362 PyObject * obj0 = 0 ;
13363 char *kwnames[] = {
13364 (char *) "self",(char *) "index", NULL
13365 };
13366
13367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextEntry",kwnames,&obj0,&arg2)) goto fail;
13368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13369 {
13370 PyThreadState* __tstate = wxPyBeginAllowThreads();
13371 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
13372
13373 wxPyEndAllowThreads(__tstate);
13374 if (PyErr_Occurred()) SWIG_fail;
13375 }
13376 resultobj = result;
13377 return resultobj;
13378 fail:
13379 return NULL;
13380}
13381
13382
13383static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
13384 PyObject *resultobj;
13385 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
e811c8ce 13386 bool arg2 = (bool) False ;
d14a1e28
RD
13387 size_t result;
13388 PyObject * obj0 = 0 ;
13389 PyObject * obj1 = 0 ;
13390 char *kwnames[] = {
13391 (char *) "self",(char *) "bRecursive", NULL
13392 };
13393
13394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
13395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13396 if (obj1) {
13397 arg2 = PyInt_AsLong(obj1) ? true : false;
13398 if (PyErr_Occurred()) SWIG_fail;
13399 }
13400 {
13401 PyThreadState* __tstate = wxPyBeginAllowThreads();
13402 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
13403
13404 wxPyEndAllowThreads(__tstate);
13405 if (PyErr_Occurred()) SWIG_fail;
13406 }
13407 resultobj = PyInt_FromLong((long)result);
13408 return resultobj;
13409 fail:
13410 return NULL;
13411}
13412
13413
13414static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
13415 PyObject *resultobj;
13416 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
e811c8ce 13417 bool arg2 = (bool) False ;
d14a1e28
RD
13418 size_t result;
13419 PyObject * obj0 = 0 ;
13420 PyObject * obj1 = 0 ;
13421 char *kwnames[] = {
13422 (char *) "self",(char *) "bRecursive", NULL
13423 };
13424
13425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
13426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13427 if (obj1) {
13428 arg2 = PyInt_AsLong(obj1) ? true : false;
13429 if (PyErr_Occurred()) SWIG_fail;
13430 }
13431 {
13432 PyThreadState* __tstate = wxPyBeginAllowThreads();
13433 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
13434
13435 wxPyEndAllowThreads(__tstate);
13436 if (PyErr_Occurred()) SWIG_fail;
13437 }
13438 resultobj = PyInt_FromLong((long)result);
13439 return resultobj;
13440 fail:
13441 return NULL;
13442}
13443
13444
13445static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13446 PyObject *resultobj;
13447 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13448 wxString *arg2 = 0 ;
13449 bool result;
e811c8ce 13450 bool temp2 = False ;
d14a1e28
RD
13451 PyObject * obj0 = 0 ;
13452 PyObject * obj1 = 0 ;
13453 char *kwnames[] = {
13454 (char *) "self",(char *) "strName", NULL
13455 };
13456
13457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
13458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13459 {
13460 arg2 = wxString_in_helper(obj1);
13461 if (arg2 == NULL) SWIG_fail;
e811c8ce 13462 temp2 = True;
d14a1e28
RD
13463 }
13464 {
13465 PyThreadState* __tstate = wxPyBeginAllowThreads();
13466 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
13467
13468 wxPyEndAllowThreads(__tstate);
13469 if (PyErr_Occurred()) SWIG_fail;
13470 }
13471 resultobj = PyInt_FromLong((long)result);
13472 {
13473 if (temp2)
13474 delete arg2;
13475 }
13476 return resultobj;
13477 fail:
13478 {
13479 if (temp2)
13480 delete arg2;
13481 }
13482 return NULL;
13483}
13484
13485
13486static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13487 PyObject *resultobj;
13488 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13489 wxString *arg2 = 0 ;
13490 bool result;
e811c8ce 13491 bool temp2 = False ;
d14a1e28
RD
13492 PyObject * obj0 = 0 ;
13493 PyObject * obj1 = 0 ;
13494 char *kwnames[] = {
13495 (char *) "self",(char *) "strName", NULL
13496 };
13497
13498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
13499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13500 {
13501 arg2 = wxString_in_helper(obj1);
13502 if (arg2 == NULL) SWIG_fail;
e811c8ce 13503 temp2 = True;
d14a1e28
RD
13504 }
13505 {
13506 PyThreadState* __tstate = wxPyBeginAllowThreads();
13507 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
13508
13509 wxPyEndAllowThreads(__tstate);
13510 if (PyErr_Occurred()) SWIG_fail;
13511 }
13512 resultobj = PyInt_FromLong((long)result);
13513 {
13514 if (temp2)
13515 delete arg2;
13516 }
13517 return resultobj;
13518 fail:
13519 {
13520 if (temp2)
13521 delete arg2;
13522 }
13523 return NULL;
13524}
13525
13526
13527static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
13528 PyObject *resultobj;
13529 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13530 wxString *arg2 = 0 ;
13531 bool result;
e811c8ce 13532 bool temp2 = False ;
d14a1e28
RD
13533 PyObject * obj0 = 0 ;
13534 PyObject * obj1 = 0 ;
13535 char *kwnames[] = {
13536 (char *) "self",(char *) "strName", NULL
13537 };
13538
13539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
13540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13541 {
13542 arg2 = wxString_in_helper(obj1);
13543 if (arg2 == NULL) SWIG_fail;
e811c8ce 13544 temp2 = True;
d14a1e28
RD
13545 }
13546 {
13547 PyThreadState* __tstate = wxPyBeginAllowThreads();
13548 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
13549
13550 wxPyEndAllowThreads(__tstate);
13551 if (PyErr_Occurred()) SWIG_fail;
13552 }
13553 resultobj = PyInt_FromLong((long)result);
13554 {
13555 if (temp2)
13556 delete arg2;
13557 }
13558 return resultobj;
13559 fail:
13560 {
13561 if (temp2)
13562 delete arg2;
13563 }
13564 return NULL;
13565}
13566
13567
13568static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
13569 PyObject *resultobj;
13570 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13571 wxString *arg2 = 0 ;
13572 int result;
e811c8ce 13573 bool temp2 = False ;
d14a1e28
RD
13574 PyObject * obj0 = 0 ;
13575 PyObject * obj1 = 0 ;
13576 char *kwnames[] = {
13577 (char *) "self",(char *) "name", NULL
13578 };
13579
13580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
13581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13582 {
13583 arg2 = wxString_in_helper(obj1);
13584 if (arg2 == NULL) SWIG_fail;
e811c8ce 13585 temp2 = True;
d14a1e28
RD
13586 }
13587 {
13588 PyThreadState* __tstate = wxPyBeginAllowThreads();
13589 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
13590
13591 wxPyEndAllowThreads(__tstate);
13592 if (PyErr_Occurred()) SWIG_fail;
13593 }
13594 resultobj = PyInt_FromLong((long)result);
13595 {
13596 if (temp2)
13597 delete arg2;
13598 }
13599 return resultobj;
13600 fail:
13601 {
13602 if (temp2)
13603 delete arg2;
13604 }
13605 return NULL;
13606}
13607
13608
13609static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
13610 PyObject *resultobj;
13611 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13612 wxString *arg2 = 0 ;
13613 wxString const &arg3_defvalue = wxPyEmptyString ;
13614 wxString *arg3 = (wxString *) &arg3_defvalue ;
13615 wxString result;
e811c8ce
RD
13616 bool temp2 = False ;
13617 bool temp3 = False ;
d14a1e28
RD
13618 PyObject * obj0 = 0 ;
13619 PyObject * obj1 = 0 ;
13620 PyObject * obj2 = 0 ;
13621 char *kwnames[] = {
13622 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13623 };
13624
13625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
13626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13627 {
13628 arg2 = wxString_in_helper(obj1);
13629 if (arg2 == NULL) SWIG_fail;
e811c8ce 13630 temp2 = True;
d14a1e28
RD
13631 }
13632 if (obj2) {
13633 {
13634 arg3 = wxString_in_helper(obj2);
13635 if (arg3 == NULL) SWIG_fail;
e811c8ce 13636 temp3 = True;
d14a1e28
RD
13637 }
13638 }
13639 {
13640 PyThreadState* __tstate = wxPyBeginAllowThreads();
13641 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
13642
13643 wxPyEndAllowThreads(__tstate);
13644 if (PyErr_Occurred()) SWIG_fail;
13645 }
13646 {
13647#if wxUSE_UNICODE
13648 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13649#else
13650 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13651#endif
13652 }
13653 {
13654 if (temp2)
13655 delete arg2;
13656 }
13657 {
13658 if (temp3)
13659 delete arg3;
13660 }
13661 return resultobj;
13662 fail:
13663 {
13664 if (temp2)
13665 delete arg2;
13666 }
13667 {
13668 if (temp3)
13669 delete arg3;
13670 }
13671 return NULL;
13672}
13673
13674
13675static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13676 PyObject *resultobj;
13677 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13678 wxString *arg2 = 0 ;
13679 long arg3 = (long) 0 ;
13680 long result;
e811c8ce 13681 bool temp2 = False ;
d14a1e28
RD
13682 PyObject * obj0 = 0 ;
13683 PyObject * obj1 = 0 ;
13684 char *kwnames[] = {
13685 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13686 };
13687
13688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
13689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13690 {
13691 arg2 = wxString_in_helper(obj1);
13692 if (arg2 == NULL) SWIG_fail;
e811c8ce 13693 temp2 = True;
d14a1e28
RD
13694 }
13695 {
13696 PyThreadState* __tstate = wxPyBeginAllowThreads();
13697 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
13698
13699 wxPyEndAllowThreads(__tstate);
13700 if (PyErr_Occurred()) SWIG_fail;
13701 }
13702 resultobj = PyInt_FromLong((long)result);
13703 {
13704 if (temp2)
13705 delete arg2;
13706 }
13707 return resultobj;
13708 fail:
13709 {
13710 if (temp2)
13711 delete arg2;
13712 }
13713 return NULL;
13714}
13715
13716
13717static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
13718 PyObject *resultobj;
13719 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13720 wxString *arg2 = 0 ;
13721 double arg3 = (double) 0.0 ;
13722 double result;
e811c8ce 13723 bool temp2 = False ;
d14a1e28
RD
13724 PyObject * obj0 = 0 ;
13725 PyObject * obj1 = 0 ;
13726 char *kwnames[] = {
13727 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13728 };
13729
13730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|d:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
13731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13732 {
13733 arg2 = wxString_in_helper(obj1);
13734 if (arg2 == NULL) SWIG_fail;
e811c8ce 13735 temp2 = True;
d14a1e28
RD
13736 }
13737 {
13738 PyThreadState* __tstate = wxPyBeginAllowThreads();
13739 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
13740
13741 wxPyEndAllowThreads(__tstate);
13742 if (PyErr_Occurred()) SWIG_fail;
13743 }
13744 resultobj = PyFloat_FromDouble(result);
13745 {
13746 if (temp2)
13747 delete arg2;
13748 }
13749 return resultobj;
13750 fail:
13751 {
13752 if (temp2)
13753 delete arg2;
13754 }
13755 return NULL;
13756}
13757
13758
13759static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
13760 PyObject *resultobj;
13761 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13762 wxString *arg2 = 0 ;
e811c8ce 13763 bool arg3 = (bool) False ;
d14a1e28 13764 bool result;
e811c8ce 13765 bool temp2 = False ;
d14a1e28
RD
13766 PyObject * obj0 = 0 ;
13767 PyObject * obj1 = 0 ;
13768 PyObject * obj2 = 0 ;
13769 char *kwnames[] = {
13770 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13771 };
13772
13773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
13774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13775 {
13776 arg2 = wxString_in_helper(obj1);
13777 if (arg2 == NULL) SWIG_fail;
e811c8ce 13778 temp2 = True;
d14a1e28
RD
13779 }
13780 if (obj2) {
13781 arg3 = PyInt_AsLong(obj2) ? true : false;
13782 if (PyErr_Occurred()) SWIG_fail;
13783 }
13784 {
13785 PyThreadState* __tstate = wxPyBeginAllowThreads();
13786 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
13787
13788 wxPyEndAllowThreads(__tstate);
13789 if (PyErr_Occurred()) SWIG_fail;
13790 }
13791 resultobj = PyInt_FromLong((long)result);
13792 {
13793 if (temp2)
13794 delete arg2;
13795 }
13796 return resultobj;
13797 fail:
13798 {
13799 if (temp2)
13800 delete arg2;
13801 }
13802 return NULL;
13803}
13804
13805
13806static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
13807 PyObject *resultobj;
13808 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13809 wxString *arg2 = 0 ;
13810 wxString *arg3 = 0 ;
13811 bool result;
e811c8ce
RD
13812 bool temp2 = False ;
13813 bool temp3 = False ;
d14a1e28
RD
13814 PyObject * obj0 = 0 ;
13815 PyObject * obj1 = 0 ;
13816 PyObject * obj2 = 0 ;
13817 char *kwnames[] = {
13818 (char *) "self",(char *) "key",(char *) "value", NULL
13819 };
13820
13821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
13822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13823 {
13824 arg2 = wxString_in_helper(obj1);
13825 if (arg2 == NULL) SWIG_fail;
e811c8ce 13826 temp2 = True;
d14a1e28
RD
13827 }
13828 {
13829 arg3 = wxString_in_helper(obj2);
13830 if (arg3 == NULL) SWIG_fail;
e811c8ce 13831 temp3 = True;
d14a1e28
RD
13832 }
13833 {
13834 PyThreadState* __tstate = wxPyBeginAllowThreads();
13835 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
13836
13837 wxPyEndAllowThreads(__tstate);
13838 if (PyErr_Occurred()) SWIG_fail;
13839 }
13840 resultobj = PyInt_FromLong((long)result);
13841 {
13842 if (temp2)
13843 delete arg2;
13844 }
13845 {
13846 if (temp3)
13847 delete arg3;
13848 }
13849 return resultobj;
13850 fail:
13851 {
13852 if (temp2)
13853 delete arg2;
13854 }
13855 {
13856 if (temp3)
13857 delete arg3;
13858 }
13859 return NULL;
13860}
13861
13862
13863static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13864 PyObject *resultobj;
13865 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13866 wxString *arg2 = 0 ;
13867 long arg3 ;
13868 bool result;
e811c8ce 13869 bool temp2 = False ;
d14a1e28
RD
13870 PyObject * obj0 = 0 ;
13871 PyObject * obj1 = 0 ;
13872 char *kwnames[] = {
13873 (char *) "self",(char *) "key",(char *) "value", NULL
13874 };
13875
13876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
13877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13878 {
13879 arg2 = wxString_in_helper(obj1);
13880 if (arg2 == NULL) SWIG_fail;
e811c8ce 13881 temp2 = True;
d14a1e28
RD
13882 }
13883 {
13884 PyThreadState* __tstate = wxPyBeginAllowThreads();
13885 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
13886
13887 wxPyEndAllowThreads(__tstate);
13888 if (PyErr_Occurred()) SWIG_fail;
13889 }
13890 resultobj = PyInt_FromLong((long)result);
13891 {
13892 if (temp2)
13893 delete arg2;
13894 }
13895 return resultobj;
13896 fail:
13897 {
13898 if (temp2)
13899 delete arg2;
13900 }
13901 return NULL;
13902}
13903
13904
13905static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
13906 PyObject *resultobj;
13907 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13908 wxString *arg2 = 0 ;
13909 double arg3 ;
13910 bool result;
e811c8ce 13911 bool temp2 = False ;
d14a1e28
RD
13912 PyObject * obj0 = 0 ;
13913 PyObject * obj1 = 0 ;
13914 char *kwnames[] = {
13915 (char *) "self",(char *) "key",(char *) "value", NULL
13916 };
13917
13918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
13919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13920 {
13921 arg2 = wxString_in_helper(obj1);
13922 if (arg2 == NULL) SWIG_fail;
e811c8ce 13923 temp2 = True;
d14a1e28
RD
13924 }
13925 {
13926 PyThreadState* __tstate = wxPyBeginAllowThreads();
13927 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
13928
13929 wxPyEndAllowThreads(__tstate);
13930 if (PyErr_Occurred()) SWIG_fail;
13931 }
13932 resultobj = PyInt_FromLong((long)result);
13933 {
13934 if (temp2)
13935 delete arg2;
13936 }
13937 return resultobj;
13938 fail:
13939 {
13940 if (temp2)
13941 delete arg2;
13942 }
13943 return NULL;
13944}
13945
13946
13947static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
13948 PyObject *resultobj;
13949 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13950 wxString *arg2 = 0 ;
13951 bool arg3 ;
13952 bool result;
e811c8ce 13953 bool temp2 = False ;
d14a1e28
RD
13954 PyObject * obj0 = 0 ;
13955 PyObject * obj1 = 0 ;
13956 PyObject * obj2 = 0 ;
13957 char *kwnames[] = {
13958 (char *) "self",(char *) "key",(char *) "value", NULL
13959 };
13960
13961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
13962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13963 {
13964 arg2 = wxString_in_helper(obj1);
13965 if (arg2 == NULL) SWIG_fail;
e811c8ce 13966 temp2 = True;
d14a1e28
RD
13967 }
13968 arg3 = PyInt_AsLong(obj2) ? true : false;
13969 if (PyErr_Occurred()) SWIG_fail;
13970 {
13971 PyThreadState* __tstate = wxPyBeginAllowThreads();
13972 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
13973
13974 wxPyEndAllowThreads(__tstate);
13975 if (PyErr_Occurred()) SWIG_fail;
13976 }
13977 resultobj = PyInt_FromLong((long)result);
13978 {
13979 if (temp2)
13980 delete arg2;
13981 }
13982 return resultobj;
13983 fail:
13984 {
13985 if (temp2)
13986 delete arg2;
13987 }
13988 return NULL;
13989}
13990
13991
13992static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
13993 PyObject *resultobj;
13994 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
e811c8ce 13995 bool arg2 = (bool) False ;
d14a1e28
RD
13996 bool result;
13997 PyObject * obj0 = 0 ;
13998 PyObject * obj1 = 0 ;
13999 char *kwnames[] = {
14000 (char *) "self",(char *) "bCurrentOnly", NULL
14001 };
14002
14003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
14004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14005 if (obj1) {
14006 arg2 = PyInt_AsLong(obj1) ? true : false;
14007 if (PyErr_Occurred()) SWIG_fail;
14008 }
14009 {
14010 PyThreadState* __tstate = wxPyBeginAllowThreads();
14011 result = (bool)(arg1)->Flush(arg2);
14012
14013 wxPyEndAllowThreads(__tstate);
14014 if (PyErr_Occurred()) SWIG_fail;
14015 }
14016 resultobj = PyInt_FromLong((long)result);
14017 return resultobj;
14018 fail:
14019 return NULL;
14020}
14021
14022
14023static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14024 PyObject *resultobj;
14025 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14026 wxString *arg2 = 0 ;
14027 wxString *arg3 = 0 ;
14028 bool result;
e811c8ce
RD
14029 bool temp2 = False ;
14030 bool temp3 = False ;
d14a1e28
RD
14031 PyObject * obj0 = 0 ;
14032 PyObject * obj1 = 0 ;
14033 PyObject * obj2 = 0 ;
14034 char *kwnames[] = {
14035 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14036 };
14037
14038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14040 {
14041 arg2 = wxString_in_helper(obj1);
14042 if (arg2 == NULL) SWIG_fail;
e811c8ce 14043 temp2 = True;
d14a1e28
RD
14044 }
14045 {
14046 arg3 = wxString_in_helper(obj2);
14047 if (arg3 == NULL) SWIG_fail;
e811c8ce 14048 temp3 = True;
d14a1e28
RD
14049 }
14050 {
14051 PyThreadState* __tstate = wxPyBeginAllowThreads();
14052 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
14053
14054 wxPyEndAllowThreads(__tstate);
14055 if (PyErr_Occurred()) SWIG_fail;
14056 }
14057 resultobj = PyInt_FromLong((long)result);
14058 {
14059 if (temp2)
14060 delete arg2;
14061 }
14062 {
14063 if (temp3)
14064 delete arg3;
14065 }
14066 return resultobj;
14067 fail:
14068 {
14069 if (temp2)
14070 delete arg2;
14071 }
14072 {
14073 if (temp3)
14074 delete arg3;
14075 }
14076 return NULL;
14077}
14078
14079
14080static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14081 PyObject *resultobj;
14082 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14083 wxString *arg2 = 0 ;
14084 wxString *arg3 = 0 ;
14085 bool result;
e811c8ce
RD
14086 bool temp2 = False ;
14087 bool temp3 = False ;
d14a1e28
RD
14088 PyObject * obj0 = 0 ;
14089 PyObject * obj1 = 0 ;
14090 PyObject * obj2 = 0 ;
14091 char *kwnames[] = {
14092 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14093 };
14094
14095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
14096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14097 {
14098 arg2 = wxString_in_helper(obj1);
14099 if (arg2 == NULL) SWIG_fail;
e811c8ce 14100 temp2 = True;
d14a1e28
RD
14101 }
14102 {
14103 arg3 = wxString_in_helper(obj2);
14104 if (arg3 == NULL) SWIG_fail;
e811c8ce 14105 temp3 = True;
d14a1e28
RD
14106 }
14107 {
14108 PyThreadState* __tstate = wxPyBeginAllowThreads();
14109 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
14110
14111 wxPyEndAllowThreads(__tstate);
14112 if (PyErr_Occurred()) SWIG_fail;
14113 }
14114 resultobj = PyInt_FromLong((long)result);
14115 {
14116 if (temp2)
14117 delete arg2;
14118 }
14119 {
14120 if (temp3)
14121 delete arg3;
14122 }
14123 return resultobj;
14124 fail:
14125 {
14126 if (temp2)
14127 delete arg2;
14128 }
14129 {
14130 if (temp3)
14131 delete arg3;
14132 }
14133 return NULL;
14134}
14135
14136
14137static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14138 PyObject *resultobj;
14139 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14140 wxString *arg2 = 0 ;
e811c8ce 14141 bool arg3 = (bool) True ;
d14a1e28 14142 bool result;
e811c8ce 14143 bool temp2 = False ;
d14a1e28
RD
14144 PyObject * obj0 = 0 ;
14145 PyObject * obj1 = 0 ;
14146 PyObject * obj2 = 0 ;
14147 char *kwnames[] = {
14148 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14149 };
14150
14151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14153 {
14154 arg2 = wxString_in_helper(obj1);
14155 if (arg2 == NULL) SWIG_fail;
e811c8ce 14156 temp2 = True;
d14a1e28
RD
14157 }
14158 if (obj2) {
14159 arg3 = PyInt_AsLong(obj2) ? true : false;
14160 if (PyErr_Occurred()) SWIG_fail;
14161 }
14162 {
14163 PyThreadState* __tstate = wxPyBeginAllowThreads();
14164 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
14165
14166 wxPyEndAllowThreads(__tstate);
14167 if (PyErr_Occurred()) SWIG_fail;
14168 }
14169 resultobj = PyInt_FromLong((long)result);
14170 {
14171 if (temp2)
14172 delete arg2;
14173 }
14174 return resultobj;
14175 fail:
14176 {
14177 if (temp2)
14178 delete arg2;
14179 }
14180 return NULL;
14181}
14182
14183
14184static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14185 PyObject *resultobj;
14186 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14187 wxString *arg2 = 0 ;
14188 bool result;
e811c8ce 14189 bool temp2 = False ;
d14a1e28
RD
14190 PyObject * obj0 = 0 ;
14191 PyObject * obj1 = 0 ;
14192 char *kwnames[] = {
14193 (char *) "self",(char *) "key", NULL
14194 };
14195
14196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
14197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14198 {
14199 arg2 = wxString_in_helper(obj1);
14200 if (arg2 == NULL) SWIG_fail;
e811c8ce 14201 temp2 = True;
d14a1e28
RD
14202 }
14203 {
14204 PyThreadState* __tstate = wxPyBeginAllowThreads();
14205 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
14206
14207 wxPyEndAllowThreads(__tstate);
14208 if (PyErr_Occurred()) SWIG_fail;
14209 }
14210 resultobj = PyInt_FromLong((long)result);
14211 {
14212 if (temp2)
14213 delete arg2;
14214 }
14215 return resultobj;
14216 fail:
14217 {
14218 if (temp2)
14219 delete arg2;
14220 }
14221 return NULL;
14222}
14223
14224
14225static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
14226 PyObject *resultobj;
14227 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14228 bool result;
14229 PyObject * obj0 = 0 ;
14230 char *kwnames[] = {
14231 (char *) "self", NULL
14232 };
14233
14234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
14235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14236 {
14237 PyThreadState* __tstate = wxPyBeginAllowThreads();
14238 result = (bool)(arg1)->DeleteAll();
14239
14240 wxPyEndAllowThreads(__tstate);
14241 if (PyErr_Occurred()) SWIG_fail;
14242 }
14243 resultobj = PyInt_FromLong((long)result);
14244 return resultobj;
14245 fail:
14246 return NULL;
14247}
14248
14249
14250static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14251 PyObject *resultobj;
14252 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14253 bool result;
14254 PyObject * obj0 = 0 ;
14255 char *kwnames[] = {
14256 (char *) "self", NULL
14257 };
14258
14259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
14260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14261 {
14262 PyThreadState* __tstate = wxPyBeginAllowThreads();
14263 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
14264
14265 wxPyEndAllowThreads(__tstate);
14266 if (PyErr_Occurred()) SWIG_fail;
14267 }
14268 resultobj = PyInt_FromLong((long)result);
14269 return resultobj;
14270 fail:
14271 return NULL;
14272}
14273
14274
14275static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14276 PyObject *resultobj;
14277 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
e811c8ce 14278 bool arg2 = (bool) True ;
d14a1e28
RD
14279 PyObject * obj0 = 0 ;
14280 PyObject * obj1 = 0 ;
14281 char *kwnames[] = {
14282 (char *) "self",(char *) "bDoIt", NULL
14283 };
14284
14285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14287 if (obj1) {
14288 arg2 = PyInt_AsLong(obj1) ? true : false;
14289 if (PyErr_Occurred()) SWIG_fail;
14290 }
14291 {
14292 PyThreadState* __tstate = wxPyBeginAllowThreads();
14293 (arg1)->SetExpandEnvVars(arg2);
14294
14295 wxPyEndAllowThreads(__tstate);
14296 if (PyErr_Occurred()) SWIG_fail;
14297 }
14298 Py_INCREF(Py_None); resultobj = Py_None;
14299 return resultobj;
14300 fail:
14301 return NULL;
14302}
14303
14304
14305static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14306 PyObject *resultobj;
14307 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
e811c8ce 14308 bool arg2 = (bool) True ;
d14a1e28
RD
14309 PyObject * obj0 = 0 ;
14310 PyObject * obj1 = 0 ;
14311 char *kwnames[] = {
14312 (char *) "self",(char *) "bDoIt", NULL
14313 };
14314
14315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
14316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14317 if (obj1) {
14318 arg2 = PyInt_AsLong(obj1) ? true : false;
14319 if (PyErr_Occurred()) SWIG_fail;
14320 }
14321 {
14322 PyThreadState* __tstate = wxPyBeginAllowThreads();
14323 (arg1)->SetRecordDefaults(arg2);
14324
14325 wxPyEndAllowThreads(__tstate);
14326 if (PyErr_Occurred()) SWIG_fail;
14327 }
14328 Py_INCREF(Py_None); resultobj = Py_None;
14329 return resultobj;
14330 fail:
14331 return NULL;
14332}
14333
14334
14335static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14336 PyObject *resultobj;
14337 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14338 bool result;
14339 PyObject * obj0 = 0 ;
14340 char *kwnames[] = {
14341 (char *) "self", NULL
14342 };
14343
14344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
14345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14346 {
14347 PyThreadState* __tstate = wxPyBeginAllowThreads();
14348 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
14349
14350 wxPyEndAllowThreads(__tstate);
14351 if (PyErr_Occurred()) SWIG_fail;
14352 }
14353 resultobj = PyInt_FromLong((long)result);
14354 return resultobj;
14355 fail:
14356 return NULL;
14357}
14358
14359
14360static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14361 PyObject *resultobj;
14362 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14363 wxString *arg2 = 0 ;
14364 wxString result;
e811c8ce 14365 bool temp2 = False ;
d14a1e28
RD
14366 PyObject * obj0 = 0 ;
14367 PyObject * obj1 = 0 ;
14368 char *kwnames[] = {
14369 (char *) "self",(char *) "str", NULL
14370 };
14371
14372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14374 {
14375 arg2 = wxString_in_helper(obj1);
14376 if (arg2 == NULL) SWIG_fail;
e811c8ce 14377 temp2 = True;
d14a1e28
RD
14378 }
14379 {
14380 PyThreadState* __tstate = wxPyBeginAllowThreads();
14381 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
14382
14383 wxPyEndAllowThreads(__tstate);
14384 if (PyErr_Occurred()) SWIG_fail;
14385 }
14386 {
14387#if wxUSE_UNICODE
14388 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14389#else
14390 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14391#endif
14392 }
14393 {
14394 if (temp2)
14395 delete arg2;
14396 }
14397 return resultobj;
14398 fail:
14399 {
14400 if (temp2)
14401 delete arg2;
14402 }
14403 return NULL;
14404}
14405
14406
14407static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14408 PyObject *resultobj;
14409 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14410 wxString result;
14411 PyObject * obj0 = 0 ;
14412 char *kwnames[] = {
14413 (char *) "self", NULL
14414 };
14415
14416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
14417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14418 {
14419 PyThreadState* __tstate = wxPyBeginAllowThreads();
14420 result = ((wxConfigBase const *)arg1)->GetAppName();
14421
14422 wxPyEndAllowThreads(__tstate);
14423 if (PyErr_Occurred()) SWIG_fail;
14424 }
14425 {
14426#if wxUSE_UNICODE
14427 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14428#else
14429 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14430#endif
14431 }
14432 return resultobj;
14433 fail:
14434 return NULL;
14435}
14436
14437
14438static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14439 PyObject *resultobj;
14440 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14441 wxString result;
14442 PyObject * obj0 = 0 ;
14443 char *kwnames[] = {
14444 (char *) "self", NULL
14445 };
14446
14447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
14448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14449 {
14450 PyThreadState* __tstate = wxPyBeginAllowThreads();
14451 result = ((wxConfigBase const *)arg1)->GetVendorName();
14452
14453 wxPyEndAllowThreads(__tstate);
14454 if (PyErr_Occurred()) SWIG_fail;
14455 }
14456 {
14457#if wxUSE_UNICODE
14458 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14459#else
14460 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14461#endif
14462 }
14463 return resultobj;
14464 fail:
14465 return NULL;
14466}
14467
14468
14469static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14470 PyObject *resultobj;
14471 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14472 wxString *arg2 = 0 ;
e811c8ce 14473 bool temp2 = False ;
d14a1e28
RD
14474 PyObject * obj0 = 0 ;
14475 PyObject * obj1 = 0 ;
14476 char *kwnames[] = {
14477 (char *) "self",(char *) "appName", NULL
14478 };
14479
14480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
14481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14482 {
14483 arg2 = wxString_in_helper(obj1);
14484 if (arg2 == NULL) SWIG_fail;
e811c8ce 14485 temp2 = True;
d14a1e28
RD
14486 }
14487 {
14488 PyThreadState* __tstate = wxPyBeginAllowThreads();
14489 (arg1)->SetAppName((wxString const &)*arg2);
14490
14491 wxPyEndAllowThreads(__tstate);
14492 if (PyErr_Occurred()) SWIG_fail;
14493 }
14494 Py_INCREF(Py_None); resultobj = Py_None;
14495 {
14496 if (temp2)
14497 delete arg2;
14498 }
14499 return resultobj;
14500 fail:
14501 {
14502 if (temp2)
14503 delete arg2;
14504 }
14505 return NULL;
14506}
14507
14508
14509static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14510 PyObject *resultobj;
14511 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14512 wxString *arg2 = 0 ;
e811c8ce 14513 bool temp2 = False ;
d14a1e28
RD
14514 PyObject * obj0 = 0 ;
14515 PyObject * obj1 = 0 ;
14516 char *kwnames[] = {
14517 (char *) "self",(char *) "vendorName", NULL
14518 };
14519
14520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
14521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14522 {
14523 arg2 = wxString_in_helper(obj1);
14524 if (arg2 == NULL) SWIG_fail;
e811c8ce 14525 temp2 = True;
d14a1e28
RD
14526 }
14527 {
14528 PyThreadState* __tstate = wxPyBeginAllowThreads();
14529 (arg1)->SetVendorName((wxString const &)*arg2);
14530
14531 wxPyEndAllowThreads(__tstate);
14532 if (PyErr_Occurred()) SWIG_fail;
14533 }
14534 Py_INCREF(Py_None); resultobj = Py_None;
14535 {
14536 if (temp2)
14537 delete arg2;
14538 }
14539 return resultobj;
14540 fail:
14541 {
14542 if (temp2)
14543 delete arg2;
14544 }
14545 return NULL;
14546}
14547
14548
14549static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14550 PyObject *resultobj;
14551 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14552 long arg2 ;
14553 PyObject * obj0 = 0 ;
14554 char *kwnames[] = {
14555 (char *) "self",(char *) "style", NULL
14556 };
14557
14558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_SetStyle",kwnames,&obj0,&arg2)) 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 (arg1)->SetStyle(arg2);
14563
14564 wxPyEndAllowThreads(__tstate);
14565 if (PyErr_Occurred()) SWIG_fail;
14566 }
14567 Py_INCREF(Py_None); resultobj = Py_None;
14568 return resultobj;
14569 fail:
14570 return NULL;
14571}
14572
14573
14574static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14575 PyObject *resultobj;
14576 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14577 long result;
14578 PyObject * obj0 = 0 ;
14579 char *kwnames[] = {
14580 (char *) "self", NULL
14581 };
14582
14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
14584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14585 {
14586 PyThreadState* __tstate = wxPyBeginAllowThreads();
14587 result = (long)((wxConfigBase const *)arg1)->GetStyle();
14588
14589 wxPyEndAllowThreads(__tstate);
14590 if (PyErr_Occurred()) SWIG_fail;
14591 }
14592 resultobj = PyInt_FromLong((long)result);
14593 return resultobj;
14594 fail:
14595 return NULL;
14596}
14597
14598
14599static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
14600 PyObject *obj;
14601 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14602 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
14603 Py_INCREF(obj);
14604 return Py_BuildValue((char *)"");
14605}
14606static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14607 PyObject *resultobj;
14608 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14609 wxString *arg2 = 0 ;
14610 wxConfigPathChanger *result;
e811c8ce 14611 bool temp2 = False ;
d14a1e28
RD
14612 PyObject * obj0 = 0 ;
14613 PyObject * obj1 = 0 ;
14614 char *kwnames[] = {
14615 (char *) "pContainer",(char *) "strEntry", NULL
14616 };
14617
14618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
14619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14620 {
14621 arg2 = wxString_in_helper(obj1);
14622 if (arg2 == NULL) SWIG_fail;
e811c8ce 14623 temp2 = True;
d14a1e28
RD
14624 }
14625 {
14626 PyThreadState* __tstate = wxPyBeginAllowThreads();
14627 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
14628
14629 wxPyEndAllowThreads(__tstate);
14630 if (PyErr_Occurred()) SWIG_fail;
14631 }
14632 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigPathChanger, 1);
14633 {
14634 if (temp2)
14635 delete arg2;
14636 }
14637 return resultobj;
14638 fail:
14639 {
14640 if (temp2)
14641 delete arg2;
14642 }
14643 return NULL;
14644}
14645
14646
14647static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14648 PyObject *resultobj;
14649 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14650 PyObject * obj0 = 0 ;
14651 char *kwnames[] = {
14652 (char *) "self", NULL
14653 };
14654
14655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
14656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14657 {
14658 PyThreadState* __tstate = wxPyBeginAllowThreads();
14659 delete arg1;
14660
14661 wxPyEndAllowThreads(__tstate);
14662 if (PyErr_Occurred()) SWIG_fail;
14663 }
14664 Py_INCREF(Py_None); resultobj = Py_None;
14665 return resultobj;
14666 fail:
14667 return NULL;
14668}
14669
14670
14671static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
14672 PyObject *resultobj;
14673 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14674 wxString *result;
14675 PyObject * obj0 = 0 ;
14676 char *kwnames[] = {
14677 (char *) "self", NULL
14678 };
14679
14680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
14681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14682 {
14683 PyThreadState* __tstate = wxPyBeginAllowThreads();
14684 {
14685 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
14686 result = (wxString *) &_result_ref;
14687 }
14688
14689 wxPyEndAllowThreads(__tstate);
14690 if (PyErr_Occurred()) SWIG_fail;
14691 }
14692 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
14693 return resultobj;
14694 fail:
14695 return NULL;
14696}
14697
14698
14699static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
14700 PyObject *obj;
14701 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14702 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
14703 Py_INCREF(obj);
14704 return Py_BuildValue((char *)"");
14705}
14706static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
14707 PyObject *resultobj;
14708 wxString const &arg1_defvalue = wxPyEmptyString ;
14709 wxString *arg1 = (wxString *) &arg1_defvalue ;
14710 wxString const &arg2_defvalue = wxPyEmptyString ;
14711 wxString *arg2 = (wxString *) &arg2_defvalue ;
14712 wxString const &arg3_defvalue = wxPyEmptyString ;
14713 wxString *arg3 = (wxString *) &arg3_defvalue ;
14714 wxString const &arg4_defvalue = wxPyEmptyString ;
14715 wxString *arg4 = (wxString *) &arg4_defvalue ;
14716 long arg5 = (long) 0 ;
14717 wxConfig *result;
e811c8ce
RD
14718 bool temp1 = False ;
14719 bool temp2 = False ;
14720 bool temp3 = False ;
14721 bool temp4 = False ;
d14a1e28
RD
14722 PyObject * obj0 = 0 ;
14723 PyObject * obj1 = 0 ;
14724 PyObject * obj2 = 0 ;
14725 PyObject * obj3 = 0 ;
14726 char *kwnames[] = {
14727 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14728 };
14729
14730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
14731 if (obj0) {
14732 {
14733 arg1 = wxString_in_helper(obj0);
14734 if (arg1 == NULL) SWIG_fail;
e811c8ce 14735 temp1 = True;
d14a1e28
RD
14736 }
14737 }
14738 if (obj1) {
14739 {
14740 arg2 = wxString_in_helper(obj1);
14741 if (arg2 == NULL) SWIG_fail;
e811c8ce 14742 temp2 = True;
d14a1e28
RD
14743 }
14744 }
14745 if (obj2) {
14746 {
14747 arg3 = wxString_in_helper(obj2);
14748 if (arg3 == NULL) SWIG_fail;
e811c8ce 14749 temp3 = True;
d14a1e28
RD
14750 }
14751 }
14752 if (obj3) {
14753 {
14754 arg4 = wxString_in_helper(obj3);
14755 if (arg4 == NULL) SWIG_fail;
e811c8ce 14756 temp4 = True;
d14a1e28
RD
14757 }
14758 }
14759 {
14760 PyThreadState* __tstate = wxPyBeginAllowThreads();
14761 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
14762
14763 wxPyEndAllowThreads(__tstate);
14764 if (PyErr_Occurred()) SWIG_fail;
14765 }
14766 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfig, 1);
14767 {
14768 if (temp1)
14769 delete arg1;
14770 }
14771 {
14772 if (temp2)
14773 delete arg2;
14774 }
14775 {
14776 if (temp3)
14777 delete arg3;
14778 }
14779 {
14780 if (temp4)
14781 delete arg4;
14782 }
14783 return resultobj;
14784 fail:
14785 {
14786 if (temp1)
14787 delete arg1;
14788 }
14789 {
14790 if (temp2)
14791 delete arg2;
14792 }
14793 {
14794 if (temp3)
14795 delete arg3;
14796 }
14797 {
14798 if (temp4)
14799 delete arg4;
14800 }
14801 return NULL;
14802}
14803
14804
14805static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
14806 PyObject *resultobj;
14807 wxConfig *arg1 = (wxConfig *) 0 ;
14808 PyObject * obj0 = 0 ;
14809 char *kwnames[] = {
14810 (char *) "self", NULL
14811 };
14812
14813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
14814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14815 {
14816 PyThreadState* __tstate = wxPyBeginAllowThreads();
14817 delete arg1;
14818
14819 wxPyEndAllowThreads(__tstate);
14820 if (PyErr_Occurred()) SWIG_fail;
14821 }
14822 Py_INCREF(Py_None); resultobj = Py_None;
14823 return resultobj;
14824 fail:
14825 return NULL;
14826}
14827
14828
14829static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
14830 PyObject *obj;
14831 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14832 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
14833 Py_INCREF(obj);
14834 return Py_BuildValue((char *)"");
14835}
14836static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
14837 PyObject *resultobj;
14838 wxString const &arg1_defvalue = wxPyEmptyString ;
14839 wxString *arg1 = (wxString *) &arg1_defvalue ;
14840 wxString const &arg2_defvalue = wxPyEmptyString ;
14841 wxString *arg2 = (wxString *) &arg2_defvalue ;
14842 wxString const &arg3_defvalue = wxPyEmptyString ;
14843 wxString *arg3 = (wxString *) &arg3_defvalue ;
14844 wxString const &arg4_defvalue = wxPyEmptyString ;
14845 wxString *arg4 = (wxString *) &arg4_defvalue ;
14846 long arg5 = (long) 0 ;
14847 wxFileConfig *result;
e811c8ce
RD
14848 bool temp1 = False ;
14849 bool temp2 = False ;
14850 bool temp3 = False ;
14851 bool temp4 = False ;
d14a1e28
RD
14852 PyObject * obj0 = 0 ;
14853 PyObject * obj1 = 0 ;
14854 PyObject * obj2 = 0 ;
14855 PyObject * obj3 = 0 ;
14856 char *kwnames[] = {
14857 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14858 };
14859
14860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
14861 if (obj0) {
14862 {
14863 arg1 = wxString_in_helper(obj0);
14864 if (arg1 == NULL) SWIG_fail;
e811c8ce 14865 temp1 = True;
d14a1e28
RD
14866 }
14867 }
14868 if (obj1) {
14869 {
14870 arg2 = wxString_in_helper(obj1);
14871 if (arg2 == NULL) SWIG_fail;
e811c8ce 14872 temp2 = True;
d14a1e28
RD
14873 }
14874 }
14875 if (obj2) {
14876 {
14877 arg3 = wxString_in_helper(obj2);
14878 if (arg3 == NULL) SWIG_fail;
e811c8ce 14879 temp3 = True;
d14a1e28
RD
14880 }
14881 }
14882 if (obj3) {
14883 {
14884 arg4 = wxString_in_helper(obj3);
14885 if (arg4 == NULL) SWIG_fail;
e811c8ce 14886 temp4 = True;
d14a1e28
RD
14887 }
14888 }
14889 {
14890 PyThreadState* __tstate = wxPyBeginAllowThreads();
14891 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
14892
14893 wxPyEndAllowThreads(__tstate);
14894 if (PyErr_Occurred()) SWIG_fail;
14895 }
14896 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileConfig, 1);
14897 {
14898 if (temp1)
14899 delete arg1;
14900 }
14901 {
14902 if (temp2)
14903 delete arg2;
14904 }
14905 {
14906 if (temp3)
14907 delete arg3;
14908 }
14909 {
14910 if (temp4)
14911 delete arg4;
14912 }
14913 return resultobj;
14914 fail:
14915 {
14916 if (temp1)
14917 delete arg1;
14918 }
14919 {
14920 if (temp2)
14921 delete arg2;
14922 }
14923 {
14924 if (temp3)
14925 delete arg3;
14926 }
14927 {
14928 if (temp4)
14929 delete arg4;
14930 }
14931 return NULL;
14932}
14933
14934
14935static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
14936 PyObject *resultobj;
14937 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
14938 PyObject * obj0 = 0 ;
14939 char *kwnames[] = {
14940 (char *) "self", NULL
14941 };
14942
14943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
14944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14945 {
14946 PyThreadState* __tstate = wxPyBeginAllowThreads();
14947 delete arg1;
14948
14949 wxPyEndAllowThreads(__tstate);
14950 if (PyErr_Occurred()) SWIG_fail;
14951 }
14952 Py_INCREF(Py_None); resultobj = Py_None;
14953 return resultobj;
14954 fail:
14955 return NULL;
14956}
14957
14958
14959static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
14960 PyObject *obj;
14961 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14962 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
14963 Py_INCREF(obj);
14964 return Py_BuildValue((char *)"");
14965}
14966static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14967 PyObject *resultobj;
14968 wxString *arg1 = 0 ;
14969 wxString result;
e811c8ce 14970 bool temp1 = False ;
d14a1e28
RD
14971 PyObject * obj0 = 0 ;
14972 char *kwnames[] = {
14973 (char *) "sz", NULL
14974 };
14975
14976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
14977 {
14978 arg1 = wxString_in_helper(obj0);
14979 if (arg1 == NULL) SWIG_fail;
e811c8ce 14980 temp1 = True;
d14a1e28
RD
14981 }
14982 {
14983 PyThreadState* __tstate = wxPyBeginAllowThreads();
14984 result = wxExpandEnvVars((wxString const &)*arg1);
14985
14986 wxPyEndAllowThreads(__tstate);
14987 if (PyErr_Occurred()) SWIG_fail;
14988 }
14989 {
14990#if wxUSE_UNICODE
14991 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14992#else
14993 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14994#endif
14995 }
14996 {
14997 if (temp1)
14998 delete arg1;
14999 }
15000 return resultobj;
15001 fail:
15002 {
15003 if (temp1)
15004 delete arg1;
15005 }
15006 return NULL;
15007}
15008
15009
15010static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15011 PyObject *resultobj;
15012 int arg1 ;
15013 char *kwnames[] = {
15014 (char *) "country", NULL
15015 };
15016
15017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_SetCountry",kwnames,&arg1)) goto fail;
15018 {
15019 PyThreadState* __tstate = wxPyBeginAllowThreads();
15020 wxDateTime::SetCountry((wxDateTime::Country )arg1);
15021
15022 wxPyEndAllowThreads(__tstate);
15023 if (PyErr_Occurred()) SWIG_fail;
15024 }
15025 Py_INCREF(Py_None); resultobj = Py_None;
15026 return resultobj;
15027 fail:
15028 return NULL;
15029}
15030
15031
15032static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15033 PyObject *resultobj;
15034 int result;
15035 char *kwnames[] = {
15036 NULL
15037 };
15038
15039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
15040 {
15041 PyThreadState* __tstate = wxPyBeginAllowThreads();
15042 result = (int)wxDateTime::GetCountry();
15043
15044 wxPyEndAllowThreads(__tstate);
15045 if (PyErr_Occurred()) SWIG_fail;
15046 }
15047 resultobj = PyInt_FromLong((long)result);
15048 return resultobj;
15049 fail:
15050 return NULL;
15051}
15052
15053
15054static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15055 PyObject *resultobj;
15056 int arg1 = (int) wxDateTime::Country_Default ;
15057 bool result;
15058 char *kwnames[] = {
15059 (char *) "country", NULL
15060 };
15061
15062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames,&arg1)) goto fail;
15063 {
15064 PyThreadState* __tstate = wxPyBeginAllowThreads();
15065 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
15066
15067 wxPyEndAllowThreads(__tstate);
15068 if (PyErr_Occurred()) SWIG_fail;
15069 }
15070 resultobj = PyInt_FromLong((long)result);
15071 return resultobj;
15072 fail:
15073 return NULL;
15074}
15075
15076
15077static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15078 PyObject *resultobj;
15079 int arg1 = (int) wxDateTime::Gregorian ;
15080 int result;
15081 char *kwnames[] = {
15082 (char *) "cal", NULL
15083 };
15084
15085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentYear",kwnames,&arg1)) goto fail;
15086 {
15087 PyThreadState* __tstate = wxPyBeginAllowThreads();
15088 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
15089
15090 wxPyEndAllowThreads(__tstate);
15091 if (PyErr_Occurred()) SWIG_fail;
15092 }
15093 resultobj = PyInt_FromLong((long)result);
15094 return resultobj;
15095 fail:
15096 return NULL;
15097}
15098
15099
15100static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
15101 PyObject *resultobj;
15102 int arg1 ;
15103 int result;
15104 char *kwnames[] = {
15105 (char *) "year", NULL
15106 };
15107
15108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_ConvertYearToBC",kwnames,&arg1)) goto fail;
15109 {
15110 PyThreadState* __tstate = wxPyBeginAllowThreads();
15111 result = (int)wxDateTime::ConvertYearToBC(arg1);
15112
15113 wxPyEndAllowThreads(__tstate);
15114 if (PyErr_Occurred()) SWIG_fail;
15115 }
15116 resultobj = PyInt_FromLong((long)result);
15117 return resultobj;
15118 fail:
15119 return NULL;
15120}
15121
15122
15123static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15124 PyObject *resultobj;
15125 int arg1 = (int) wxDateTime::Gregorian ;
15126 int result;
15127 char *kwnames[] = {
15128 (char *) "cal", NULL
15129 };
15130
15131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentMonth",kwnames,&arg1)) goto fail;
15132 {
15133 PyThreadState* __tstate = wxPyBeginAllowThreads();
15134 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
15135
15136 wxPyEndAllowThreads(__tstate);
15137 if (PyErr_Occurred()) SWIG_fail;
15138 }
15139 resultobj = PyInt_FromLong((long)result);
15140 return resultobj;
15141 fail:
15142 return NULL;
15143}
15144
15145
15146static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15147 PyObject *resultobj;
15148 int arg1 = (int) wxDateTime::Inv_Year ;
15149 int arg2 = (int) wxDateTime::Gregorian ;
15150 bool result;
15151 char *kwnames[] = {
15152 (char *) "year",(char *) "cal", NULL
15153 };
15154
15155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsLeapYear",kwnames,&arg1,&arg2)) goto fail;
15156 {
15157 PyThreadState* __tstate = wxPyBeginAllowThreads();
15158 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
15159
15160 wxPyEndAllowThreads(__tstate);
15161 if (PyErr_Occurred()) SWIG_fail;
15162 }
15163 resultobj = PyInt_FromLong((long)result);
15164 return resultobj;
15165 fail:
15166 return NULL;
15167}
15168
15169
15170static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
15171 PyObject *resultobj;
15172 int arg1 = (int) wxDateTime::Inv_Year ;
15173 int result;
15174 char *kwnames[] = {
15175 (char *) "year", NULL
15176 };
15177
15178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCentury",kwnames,&arg1)) goto fail;
15179 {
15180 PyThreadState* __tstate = wxPyBeginAllowThreads();
15181 result = (int)wxDateTime::GetCentury(arg1);
15182
15183 wxPyEndAllowThreads(__tstate);
15184 if (PyErr_Occurred()) SWIG_fail;
15185 }
15186 resultobj = PyInt_FromLong((long)result);
15187 return resultobj;
15188 fail:
15189 return NULL;
15190}
15191
15192
15193static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15194 PyObject *resultobj;
15195 int arg1 ;
15196 int arg2 = (int) wxDateTime::Gregorian ;
322913ce 15197 int result;
d14a1e28
RD
15198 char *kwnames[] = {
15199 (char *) "year",(char *) "cal", NULL
15200 };
15201
15202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames,&arg1,&arg2)) goto fail;
15203 {
15204 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 15205 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
d14a1e28
RD
15206
15207 wxPyEndAllowThreads(__tstate);
15208 if (PyErr_Occurred()) SWIG_fail;
15209 }
15210 resultobj = PyInt_FromLong((long)result);
15211 return resultobj;
15212 fail:
15213 return NULL;
15214}
15215
15216
15217static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15218 PyObject *resultobj;
15219 int arg1 ;
15220 int arg2 = (int) wxDateTime::Inv_Year ;
15221 int arg3 = (int) wxDateTime::Gregorian ;
322913ce 15222 int result;
d14a1e28
RD
15223 char *kwnames[] = {
15224 (char *) "month",(char *) "year",(char *) "cal", NULL
15225 };
15226
15227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames,&arg1,&arg2,&arg3)) goto fail;
15228 {
15229 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 15230 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
d14a1e28
RD
15231
15232 wxPyEndAllowThreads(__tstate);
15233 if (PyErr_Occurred()) SWIG_fail;
15234 }
15235 resultobj = PyInt_FromLong((long)result);
15236 return resultobj;
15237 fail:
15238 return NULL;
15239}
15240
15241
15242static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
15243 PyObject *resultobj;
15244 int arg1 ;
15245 int arg2 = (int) wxDateTime::Name_Full ;
15246 wxString result;
15247 char *kwnames[] = {
15248 (char *) "month",(char *) "flags", NULL
15249 };
15250
15251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetMonthName",kwnames,&arg1,&arg2)) goto fail;
15252 {
15253 PyThreadState* __tstate = wxPyBeginAllowThreads();
15254 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
15255
15256 wxPyEndAllowThreads(__tstate);
15257 if (PyErr_Occurred()) SWIG_fail;
15258 }
15259 {
15260#if wxUSE_UNICODE
15261 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15262#else
15263 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15264#endif
15265 }
15266 return resultobj;
15267 fail:
15268 return NULL;
15269}
15270
15271
15272static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
15273 PyObject *resultobj;
15274 int arg1 ;
15275 int arg2 = (int) wxDateTime::Name_Full ;
15276 wxString result;
15277 char *kwnames[] = {
15278 (char *) "weekday",(char *) "flags", NULL
15279 };
15280
15281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetWeekDayName",kwnames,&arg1,&arg2)) goto fail;
15282 {
15283 PyThreadState* __tstate = wxPyBeginAllowThreads();
15284 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
15285
15286 wxPyEndAllowThreads(__tstate);
15287 if (PyErr_Occurred()) SWIG_fail;
15288 }
15289 {
15290#if wxUSE_UNICODE
15291 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15292#else
15293 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15294#endif
15295 }
15296 return resultobj;
15297 fail:
15298 return NULL;
15299}
15300
15301
15302static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
15303 PyObject *resultobj;
15304 wxString *arg1 = (wxString *) 0 ;
15305 wxString *arg2 = (wxString *) 0 ;
15306 PyObject * obj0 = 0 ;
15307 PyObject * obj1 = 0 ;
15308 char *kwnames[] = {
15309 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15310 };
15311
15312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
15313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15314 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15315 {
15316 PyThreadState* __tstate = wxPyBeginAllowThreads();
15317 wxDateTime::GetAmPmStrings(arg1,arg2);
15318
15319 wxPyEndAllowThreads(__tstate);
15320 if (PyErr_Occurred()) SWIG_fail;
15321 }
15322 Py_INCREF(Py_None); resultobj = Py_None;
15323 return resultobj;
15324 fail:
15325 return NULL;
15326}
15327
15328
15329static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
15330 PyObject *resultobj;
15331 int arg1 = (int) wxDateTime::Inv_Year ;
15332 int arg2 = (int) wxDateTime::Country_Default ;
15333 bool result;
15334 char *kwnames[] = {
15335 (char *) "year",(char *) "country", NULL
15336 };
15337
15338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsDSTApplicable",kwnames,&arg1,&arg2)) goto fail;
15339 {
15340 PyThreadState* __tstate = wxPyBeginAllowThreads();
15341 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
15342
15343 wxPyEndAllowThreads(__tstate);
15344 if (PyErr_Occurred()) SWIG_fail;
15345 }
15346 resultobj = PyInt_FromLong((long)result);
15347 return resultobj;
15348 fail:
15349 return NULL;
15350}
15351
15352
15353static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15354 PyObject *resultobj;
15355 int arg1 = (int) wxDateTime::Inv_Year ;
15356 int arg2 = (int) wxDateTime::Country_Default ;
15357 wxDateTime result;
15358 char *kwnames[] = {
15359 (char *) "year",(char *) "country", NULL
15360 };
15361
15362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetBeginDST",kwnames,&arg1,&arg2)) goto fail;
15363 {
15364 PyThreadState* __tstate = wxPyBeginAllowThreads();
15365 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
15366
15367 wxPyEndAllowThreads(__tstate);
15368 if (PyErr_Occurred()) SWIG_fail;
15369 }
15370 {
15371 wxDateTime * resultptr;
15372 resultptr = new wxDateTime((wxDateTime &) result);
15373 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15374 }
15375 return resultobj;
15376 fail:
15377 return NULL;
15378}
15379
15380
15381static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15382 PyObject *resultobj;
15383 int arg1 = (int) wxDateTime::Inv_Year ;
15384 int arg2 = (int) wxDateTime::Country_Default ;
15385 wxDateTime result;
15386 char *kwnames[] = {
15387 (char *) "year",(char *) "country", NULL
15388 };
15389
15390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetEndDST",kwnames,&arg1,&arg2)) goto fail;
15391 {
15392 PyThreadState* __tstate = wxPyBeginAllowThreads();
15393 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
15394
15395 wxPyEndAllowThreads(__tstate);
15396 if (PyErr_Occurred()) SWIG_fail;
15397 }
15398 {
15399 wxDateTime * resultptr;
15400 resultptr = new wxDateTime((wxDateTime &) result);
15401 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15402 }
15403 return resultobj;
15404 fail:
15405 return NULL;
15406}
15407
15408
15409static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
15410 PyObject *resultobj;
15411 wxDateTime result;
15412 char *kwnames[] = {
15413 NULL
15414 };
15415
15416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
15417 {
15418 PyThreadState* __tstate = wxPyBeginAllowThreads();
15419 result = wxDateTime::Now();
15420
15421 wxPyEndAllowThreads(__tstate);
15422 if (PyErr_Occurred()) SWIG_fail;
15423 }
15424 {
15425 wxDateTime * resultptr;
15426 resultptr = new wxDateTime((wxDateTime &) result);
15427 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15428 }
15429 return resultobj;
15430 fail:
15431 return NULL;
15432}
15433
15434
15435static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
15436 PyObject *resultobj;
15437 wxDateTime result;
15438 char *kwnames[] = {
15439 NULL
15440 };
15441
15442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
15443 {
15444 PyThreadState* __tstate = wxPyBeginAllowThreads();
15445 result = wxDateTime::UNow();
15446
15447 wxPyEndAllowThreads(__tstate);
15448 if (PyErr_Occurred()) SWIG_fail;
15449 }
15450 {
15451 wxDateTime * resultptr;
15452 resultptr = new wxDateTime((wxDateTime &) result);
15453 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15454 }
15455 return resultobj;
15456 fail:
15457 return NULL;
15458}
15459
15460
15461static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
15462 PyObject *resultobj;
15463 wxDateTime result;
15464 char *kwnames[] = {
15465 NULL
15466 };
15467
15468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
15469 {
15470 PyThreadState* __tstate = wxPyBeginAllowThreads();
15471 result = wxDateTime::Today();
15472
15473 wxPyEndAllowThreads(__tstate);
15474 if (PyErr_Occurred()) SWIG_fail;
15475 }
15476 {
15477 wxDateTime * resultptr;
15478 resultptr = new wxDateTime((wxDateTime &) result);
15479 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15480 }
15481 return resultobj;
15482 fail:
15483 return NULL;
15484}
15485
15486
15487static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15488 PyObject *resultobj;
15489 wxDateTime *result;
15490 char *kwnames[] = {
15491 NULL
15492 };
15493
15494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
15495 {
15496 PyThreadState* __tstate = wxPyBeginAllowThreads();
15497 result = (wxDateTime *)new wxDateTime();
15498
15499 wxPyEndAllowThreads(__tstate);
15500 if (PyErr_Occurred()) SWIG_fail;
15501 }
15502 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15503 return resultobj;
15504 fail:
15505 return NULL;
15506}
15507
15508
15509static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15510 PyObject *resultobj;
15511 time_t arg1 ;
15512 wxDateTime *result;
15513 PyObject * obj0 = 0 ;
15514 char *kwnames[] = {
15515 (char *) "timet", NULL
15516 };
15517
15518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
15519 arg1 = (time_t) PyInt_AsLong(obj0);
15520 if (PyErr_Occurred()) SWIG_fail;
15521 {
15522 PyThreadState* __tstate = wxPyBeginAllowThreads();
15523 result = (wxDateTime *)new wxDateTime(arg1);
15524
15525 wxPyEndAllowThreads(__tstate);
15526 if (PyErr_Occurred()) SWIG_fail;
15527 }
15528 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15529 return resultobj;
15530 fail:
15531 return NULL;
15532}
15533
15534
15535static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15536 PyObject *resultobj;
15537 double arg1 ;
15538 wxDateTime *result;
15539 char *kwnames[] = {
15540 (char *) "jdn", NULL
15541 };
15542
15543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"d:new_DateTimeFromJDN",kwnames,&arg1)) goto fail;
15544 {
15545 PyThreadState* __tstate = wxPyBeginAllowThreads();
15546 result = (wxDateTime *)new wxDateTime(arg1);
15547
15548 wxPyEndAllowThreads(__tstate);
15549 if (PyErr_Occurred()) SWIG_fail;
15550 }
15551 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15552 return resultobj;
15553 fail:
15554 return NULL;
15555}
15556
15557
15558static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15559 PyObject *resultobj;
322913ce
RD
15560 int arg1 ;
15561 int arg2 = (int) 0 ;
15562 int arg3 = (int) 0 ;
15563 int arg4 = (int) 0 ;
d14a1e28 15564 wxDateTime *result;
d14a1e28
RD
15565 char *kwnames[] = {
15566 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15567 };
15568
322913ce 15569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iii:new_DateTimeFromHMS",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
d14a1e28
RD
15570 {
15571 PyThreadState* __tstate = wxPyBeginAllowThreads();
15572 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
15573
15574 wxPyEndAllowThreads(__tstate);
15575 if (PyErr_Occurred()) SWIG_fail;
15576 }
15577 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15578 return resultobj;
15579 fail:
15580 return NULL;
15581}
15582
15583
15584static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
15585 PyObject *resultobj;
322913ce 15586 int arg1 ;
d14a1e28
RD
15587 int arg2 = (int) wxDateTime::Inv_Month ;
15588 int arg3 = (int) wxDateTime::Inv_Year ;
322913ce
RD
15589 int arg4 = (int) 0 ;
15590 int arg5 = (int) 0 ;
15591 int arg6 = (int) 0 ;
15592 int arg7 = (int) 0 ;
d14a1e28 15593 wxDateTime *result;
d14a1e28
RD
15594 char *kwnames[] = {
15595 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15596 };
15597
322913ce 15598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iiiiii:new_DateTimeFromDMY",kwnames,&arg1,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7)) goto fail;
d14a1e28
RD
15599 {
15600 PyThreadState* __tstate = wxPyBeginAllowThreads();
15601 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
15602
15603 wxPyEndAllowThreads(__tstate);
15604 if (PyErr_Occurred()) SWIG_fail;
15605 }
15606 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15607 return resultobj;
15608 fail:
15609 return NULL;
15610}
15611
15612
15613static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15614 PyObject *resultobj;
15615 wxDateTime *arg1 = (wxDateTime *) 0 ;
15616 PyObject * obj0 = 0 ;
15617 char *kwnames[] = {
15618 (char *) "self", NULL
15619 };
15620
15621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
15622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15623 {
15624 PyThreadState* __tstate = wxPyBeginAllowThreads();
15625 delete arg1;
15626
15627 wxPyEndAllowThreads(__tstate);
15628 if (PyErr_Occurred()) SWIG_fail;
15629 }
15630 Py_INCREF(Py_None); resultobj = Py_None;
15631 return resultobj;
15632 fail:
15633 return NULL;
15634}
15635
15636
15637static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
15638 PyObject *resultobj;
15639 wxDateTime *arg1 = (wxDateTime *) 0 ;
15640 wxDateTime *result;
15641 PyObject * obj0 = 0 ;
15642 char *kwnames[] = {
15643 (char *) "self", NULL
15644 };
15645
15646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
15647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15648 {
15649 PyThreadState* __tstate = wxPyBeginAllowThreads();
15650 {
15651 wxDateTime &_result_ref = (arg1)->SetToCurrent();
15652 result = (wxDateTime *) &_result_ref;
15653 }
15654
15655 wxPyEndAllowThreads(__tstate);
15656 if (PyErr_Occurred()) SWIG_fail;
15657 }
15658 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15659 return resultobj;
15660 fail:
15661 return NULL;
15662}
15663
15664
15665static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15666 PyObject *resultobj;
15667 wxDateTime *arg1 = (wxDateTime *) 0 ;
15668 time_t arg2 ;
15669 wxDateTime *result;
15670 PyObject * obj0 = 0 ;
15671 PyObject * obj1 = 0 ;
15672 char *kwnames[] = {
15673 (char *) "self",(char *) "timet", NULL
15674 };
15675
15676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
15677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15678 arg2 = (time_t) PyInt_AsLong(obj1);
15679 if (PyErr_Occurred()) SWIG_fail;
15680 {
15681 PyThreadState* __tstate = wxPyBeginAllowThreads();
15682 {
15683 wxDateTime &_result_ref = (arg1)->Set(arg2);
15684 result = (wxDateTime *) &_result_ref;
15685 }
15686
15687 wxPyEndAllowThreads(__tstate);
15688 if (PyErr_Occurred()) SWIG_fail;
15689 }
15690 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15691 return resultobj;
15692 fail:
15693 return NULL;
15694}
15695
15696
15697static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15698 PyObject *resultobj;
15699 wxDateTime *arg1 = (wxDateTime *) 0 ;
15700 double arg2 ;
15701 wxDateTime *result;
15702 PyObject * obj0 = 0 ;
15703 char *kwnames[] = {
15704 (char *) "self",(char *) "jdn", NULL
15705 };
15706
15707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:DateTime_SetJDN",kwnames,&obj0,&arg2)) goto fail;
15708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15709 {
15710 PyThreadState* __tstate = wxPyBeginAllowThreads();
15711 {
15712 wxDateTime &_result_ref = (arg1)->Set(arg2);
15713 result = (wxDateTime *) &_result_ref;
15714 }
15715
15716 wxPyEndAllowThreads(__tstate);
15717 if (PyErr_Occurred()) SWIG_fail;
15718 }
15719 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15720 return resultobj;
15721 fail:
15722 return NULL;
15723}
15724
15725
15726static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15727 PyObject *resultobj;
15728 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce
RD
15729 int arg2 ;
15730 int arg3 = (int) 0 ;
15731 int arg4 = (int) 0 ;
15732 int arg5 = (int) 0 ;
d14a1e28
RD
15733 wxDateTime *result;
15734 PyObject * obj0 = 0 ;
d14a1e28
RD
15735 char *kwnames[] = {
15736 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15737 };
15738
322913ce 15739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetHMS",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
d14a1e28 15740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
15741 {
15742 PyThreadState* __tstate = wxPyBeginAllowThreads();
15743 {
15744 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
15745 result = (wxDateTime *) &_result_ref;
15746 }
15747
15748 wxPyEndAllowThreads(__tstate);
15749 if (PyErr_Occurred()) SWIG_fail;
15750 }
15751 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15752 return resultobj;
15753 fail:
15754 return NULL;
15755}
15756
15757
15758static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
15759 PyObject *resultobj;
15760 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 15761 int arg2 ;
d14a1e28
RD
15762 int arg3 = (int) wxDateTime::Inv_Month ;
15763 int arg4 = (int) wxDateTime::Inv_Year ;
322913ce
RD
15764 int arg5 = (int) 0 ;
15765 int arg6 = (int) 0 ;
15766 int arg7 = (int) 0 ;
15767 int arg8 = (int) 0 ;
d14a1e28
RD
15768 wxDateTime *result;
15769 PyObject * obj0 = 0 ;
d14a1e28
RD
15770 char *kwnames[] = {
15771 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15772 };
15773
322913ce 15774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiiiii:DateTime_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
d14a1e28 15775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
15776 {
15777 PyThreadState* __tstate = wxPyBeginAllowThreads();
15778 {
15779 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
15780 result = (wxDateTime *) &_result_ref;
15781 }
15782
15783 wxPyEndAllowThreads(__tstate);
15784 if (PyErr_Occurred()) SWIG_fail;
15785 }
15786 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15787 return resultobj;
15788 fail:
15789 return NULL;
15790}
15791
15792
15793static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15794 PyObject *resultobj;
15795 wxDateTime *arg1 = (wxDateTime *) 0 ;
15796 wxDateTime *result;
15797 PyObject * obj0 = 0 ;
15798 char *kwnames[] = {
15799 (char *) "self", NULL
15800 };
15801
15802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
15803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15804 {
15805 PyThreadState* __tstate = wxPyBeginAllowThreads();
15806 {
15807 wxDateTime &_result_ref = (arg1)->ResetTime();
15808 result = (wxDateTime *) &_result_ref;
15809 }
15810
15811 wxPyEndAllowThreads(__tstate);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 }
15814 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15815 return resultobj;
15816 fail:
15817 return NULL;
15818}
15819
15820
15821static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15822 PyObject *resultobj;
15823 wxDateTime *arg1 = (wxDateTime *) 0 ;
15824 int arg2 ;
15825 wxDateTime *result;
15826 PyObject * obj0 = 0 ;
15827 char *kwnames[] = {
15828 (char *) "self",(char *) "year", NULL
15829 };
15830
15831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetYear",kwnames,&obj0,&arg2)) goto fail;
15832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15833 {
15834 PyThreadState* __tstate = wxPyBeginAllowThreads();
15835 {
15836 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
15837 result = (wxDateTime *) &_result_ref;
15838 }
15839
15840 wxPyEndAllowThreads(__tstate);
15841 if (PyErr_Occurred()) SWIG_fail;
15842 }
15843 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15844 return resultobj;
15845 fail:
15846 return NULL;
15847}
15848
15849
15850static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15851 PyObject *resultobj;
15852 wxDateTime *arg1 = (wxDateTime *) 0 ;
15853 int arg2 ;
15854 wxDateTime *result;
15855 PyObject * obj0 = 0 ;
15856 char *kwnames[] = {
15857 (char *) "self",(char *) "month", NULL
15858 };
15859
15860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMonth",kwnames,&obj0,&arg2)) goto fail;
15861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15862 {
15863 PyThreadState* __tstate = wxPyBeginAllowThreads();
15864 {
15865 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
15866 result = (wxDateTime *) &_result_ref;
15867 }
15868
15869 wxPyEndAllowThreads(__tstate);
15870 if (PyErr_Occurred()) SWIG_fail;
15871 }
15872 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15873 return resultobj;
15874 fail:
15875 return NULL;
15876}
15877
15878
15879static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
15880 PyObject *resultobj;
15881 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 15882 int arg2 ;
d14a1e28
RD
15883 wxDateTime *result;
15884 PyObject * obj0 = 0 ;
d14a1e28
RD
15885 char *kwnames[] = {
15886 (char *) "self",(char *) "day", NULL
15887 };
15888
322913ce 15889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetDay",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 15890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
15891 {
15892 PyThreadState* __tstate = wxPyBeginAllowThreads();
15893 {
15894 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
15895 result = (wxDateTime *) &_result_ref;
15896 }
15897
15898 wxPyEndAllowThreads(__tstate);
15899 if (PyErr_Occurred()) SWIG_fail;
15900 }
15901 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15902 return resultobj;
15903 fail:
15904 return NULL;
15905}
15906
15907
15908static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
15909 PyObject *resultobj;
15910 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 15911 int arg2 ;
d14a1e28
RD
15912 wxDateTime *result;
15913 PyObject * obj0 = 0 ;
d14a1e28
RD
15914 char *kwnames[] = {
15915 (char *) "self",(char *) "hour", NULL
15916 };
15917
322913ce 15918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetHour",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 15919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
15920 {
15921 PyThreadState* __tstate = wxPyBeginAllowThreads();
15922 {
15923 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
15924 result = (wxDateTime *) &_result_ref;
15925 }
15926
15927 wxPyEndAllowThreads(__tstate);
15928 if (PyErr_Occurred()) SWIG_fail;
15929 }
15930 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15931 return resultobj;
15932 fail:
15933 return NULL;
15934}
15935
15936
15937static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
15938 PyObject *resultobj;
15939 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 15940 int arg2 ;
d14a1e28
RD
15941 wxDateTime *result;
15942 PyObject * obj0 = 0 ;
d14a1e28
RD
15943 char *kwnames[] = {
15944 (char *) "self",(char *) "minute", NULL
15945 };
15946
322913ce 15947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMinute",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 15948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
15949 {
15950 PyThreadState* __tstate = wxPyBeginAllowThreads();
15951 {
15952 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
15953 result = (wxDateTime *) &_result_ref;
15954 }
15955
15956 wxPyEndAllowThreads(__tstate);
15957 if (PyErr_Occurred()) SWIG_fail;
15958 }
15959 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15960 return resultobj;
15961 fail:
15962 return NULL;
15963}
15964
15965
15966static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
15967 PyObject *resultobj;
15968 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 15969 int arg2 ;
d14a1e28
RD
15970 wxDateTime *result;
15971 PyObject * obj0 = 0 ;
d14a1e28
RD
15972 char *kwnames[] = {
15973 (char *) "self",(char *) "second", NULL
15974 };
15975
322913ce 15976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetSecond",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 15977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
15978 {
15979 PyThreadState* __tstate = wxPyBeginAllowThreads();
15980 {
15981 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
15982 result = (wxDateTime *) &_result_ref;
15983 }
15984
15985 wxPyEndAllowThreads(__tstate);
15986 if (PyErr_Occurred()) SWIG_fail;
15987 }
15988 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15989 return resultobj;
15990 fail:
15991 return NULL;
15992}
15993
15994
15995static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
15996 PyObject *resultobj;
15997 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 15998 int arg2 ;
d14a1e28
RD
15999 wxDateTime *result;
16000 PyObject * obj0 = 0 ;
d14a1e28
RD
16001 char *kwnames[] = {
16002 (char *) "self",(char *) "millisecond", NULL
16003 };
16004
322913ce 16005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMillisecond",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16007 {
16008 PyThreadState* __tstate = wxPyBeginAllowThreads();
16009 {
16010 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
16011 result = (wxDateTime *) &_result_ref;
16012 }
16013
16014 wxPyEndAllowThreads(__tstate);
16015 if (PyErr_Occurred()) SWIG_fail;
16016 }
16017 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16018 return resultobj;
16019 fail:
16020 return NULL;
16021}
16022
16023
16024static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16025 PyObject *resultobj;
16026 wxDateTime *arg1 = (wxDateTime *) 0 ;
16027 int arg2 ;
16028 int arg3 = (int) wxDateTime::Monday_First ;
16029 wxDateTime *result;
16030 PyObject * obj0 = 0 ;
16031 char *kwnames[] = {
16032 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16033 };
16034
16035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16037 {
16038 PyThreadState* __tstate = wxPyBeginAllowThreads();
16039 {
16040 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16041 result = (wxDateTime *) &_result_ref;
16042 }
16043
16044 wxPyEndAllowThreads(__tstate);
16045 if (PyErr_Occurred()) SWIG_fail;
16046 }
16047 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16048 return resultobj;
16049 fail:
16050 return NULL;
16051}
16052
16053
16054static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16055 PyObject *resultobj;
16056 wxDateTime *arg1 = (wxDateTime *) 0 ;
16057 int arg2 ;
16058 int arg3 = (int) wxDateTime::Monday_First ;
16059 wxDateTime result;
16060 PyObject * obj0 = 0 ;
16061 char *kwnames[] = {
16062 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16063 };
16064
16065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16067 {
16068 PyThreadState* __tstate = wxPyBeginAllowThreads();
16069 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16070
16071 wxPyEndAllowThreads(__tstate);
16072 if (PyErr_Occurred()) SWIG_fail;
16073 }
16074 {
16075 wxDateTime * resultptr;
16076 resultptr = new wxDateTime((wxDateTime &) result);
16077 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16078 }
16079 return resultobj;
16080 fail:
16081 return NULL;
16082}
16083
16084
16085static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16086 PyObject *resultobj;
16087 wxDateTime *arg1 = (wxDateTime *) 0 ;
16088 int arg2 ;
16089 wxDateTime *result;
16090 PyObject * obj0 = 0 ;
16091 char *kwnames[] = {
16092 (char *) "self",(char *) "weekday", NULL
16093 };
16094
16095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16097 {
16098 PyThreadState* __tstate = wxPyBeginAllowThreads();
16099 {
16100 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
16101 result = (wxDateTime *) &_result_ref;
16102 }
16103
16104 wxPyEndAllowThreads(__tstate);
16105 if (PyErr_Occurred()) SWIG_fail;
16106 }
16107 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16108 return resultobj;
16109 fail:
16110 return NULL;
16111}
16112
16113
16114static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16115 PyObject *resultobj;
16116 wxDateTime *arg1 = (wxDateTime *) 0 ;
16117 int arg2 ;
16118 wxDateTime result;
16119 PyObject * obj0 = 0 ;
16120 char *kwnames[] = {
16121 (char *) "self",(char *) "weekday", NULL
16122 };
16123
16124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16126 {
16127 PyThreadState* __tstate = wxPyBeginAllowThreads();
16128 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
16129
16130 wxPyEndAllowThreads(__tstate);
16131 if (PyErr_Occurred()) SWIG_fail;
16132 }
16133 {
16134 wxDateTime * resultptr;
16135 resultptr = new wxDateTime((wxDateTime &) result);
16136 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16137 }
16138 return resultobj;
16139 fail:
16140 return NULL;
16141}
16142
16143
16144static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16145 PyObject *resultobj;
16146 wxDateTime *arg1 = (wxDateTime *) 0 ;
16147 int arg2 ;
16148 wxDateTime *result;
16149 PyObject * obj0 = 0 ;
16150 char *kwnames[] = {
16151 (char *) "self",(char *) "weekday", NULL
16152 };
16153
16154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16156 {
16157 PyThreadState* __tstate = wxPyBeginAllowThreads();
16158 {
16159 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
16160 result = (wxDateTime *) &_result_ref;
16161 }
16162
16163 wxPyEndAllowThreads(__tstate);
16164 if (PyErr_Occurred()) SWIG_fail;
16165 }
16166 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16167 return resultobj;
16168 fail:
16169 return NULL;
16170}
16171
16172
16173static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16174 PyObject *resultobj;
16175 wxDateTime *arg1 = (wxDateTime *) 0 ;
16176 int arg2 ;
16177 wxDateTime result;
16178 PyObject * obj0 = 0 ;
16179 char *kwnames[] = {
16180 (char *) "self",(char *) "weekday", NULL
16181 };
16182
16183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16185 {
16186 PyThreadState* __tstate = wxPyBeginAllowThreads();
16187 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
16188
16189 wxPyEndAllowThreads(__tstate);
16190 if (PyErr_Occurred()) SWIG_fail;
16191 }
16192 {
16193 wxDateTime * resultptr;
16194 resultptr = new wxDateTime((wxDateTime &) result);
16195 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16196 }
16197 return resultobj;
16198 fail:
16199 return NULL;
16200}
16201
16202
16203static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16204 PyObject *resultobj;
16205 wxDateTime *arg1 = (wxDateTime *) 0 ;
16206 int arg2 ;
16207 int arg3 = (int) 1 ;
16208 int arg4 = (int) wxDateTime::Inv_Month ;
16209 int arg5 = (int) wxDateTime::Inv_Year ;
16210 bool result;
16211 PyObject * obj0 = 0 ;
16212 char *kwnames[] = {
16213 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16214 };
16215
16216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16218 {
16219 PyThreadState* __tstate = wxPyBeginAllowThreads();
16220 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
16221
16222 wxPyEndAllowThreads(__tstate);
16223 if (PyErr_Occurred()) SWIG_fail;
16224 }
16225 resultobj = PyInt_FromLong((long)result);
16226 return resultobj;
16227 fail:
16228 return NULL;
16229}
16230
16231
16232static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16233 PyObject *resultobj;
16234 wxDateTime *arg1 = (wxDateTime *) 0 ;
16235 int arg2 ;
16236 int arg3 = (int) wxDateTime::Inv_Month ;
16237 int arg4 = (int) wxDateTime::Inv_Year ;
16238 bool result;
16239 PyObject * obj0 = 0 ;
16240 char *kwnames[] = {
16241 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16242 };
16243
16244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16246 {
16247 PyThreadState* __tstate = wxPyBeginAllowThreads();
16248 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16249
16250 wxPyEndAllowThreads(__tstate);
16251 if (PyErr_Occurred()) SWIG_fail;
16252 }
16253 resultobj = PyInt_FromLong((long)result);
16254 return resultobj;
16255 fail:
16256 return NULL;
16257}
16258
16259
16260static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16261 PyObject *resultobj;
16262 wxDateTime *arg1 = (wxDateTime *) 0 ;
16263 int arg2 ;
16264 int arg3 = (int) wxDateTime::Inv_Month ;
16265 int arg4 = (int) wxDateTime::Inv_Year ;
16266 wxDateTime result;
16267 PyObject * obj0 = 0 ;
16268 char *kwnames[] = {
16269 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16270 };
16271
16272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16274 {
16275 PyThreadState* __tstate = wxPyBeginAllowThreads();
16276 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16277
16278 wxPyEndAllowThreads(__tstate);
16279 if (PyErr_Occurred()) SWIG_fail;
16280 }
16281 {
16282 wxDateTime * resultptr;
16283 resultptr = new wxDateTime((wxDateTime &) result);
16284 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16285 }
16286 return resultobj;
16287 fail:
16288 return NULL;
16289}
16290
16291
16292static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16293 PyObject *resultobj;
16294 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 16295 int arg2 ;
d14a1e28
RD
16296 int arg3 = (int) wxDateTime::Mon ;
16297 int arg4 = (int) wxDateTime::Monday_First ;
16298 bool result;
16299 PyObject * obj0 = 0 ;
d14a1e28
RD
16300 char *kwnames[] = {
16301 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16302 };
16303
322913ce 16304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToTheWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
d14a1e28 16305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16306 {
16307 PyThreadState* __tstate = wxPyBeginAllowThreads();
16308 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16309
16310 wxPyEndAllowThreads(__tstate);
16311 if (PyErr_Occurred()) SWIG_fail;
16312 }
16313 resultobj = PyInt_FromLong((long)result);
16314 return resultobj;
16315 fail:
16316 return NULL;
16317}
16318
16319
16320static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16321 PyObject *resultobj;
16322 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 16323 int arg2 ;
d14a1e28
RD
16324 int arg3 = (int) wxDateTime::Mon ;
16325 int arg4 = (int) wxDateTime::Monday_First ;
16326 wxDateTime result;
16327 PyObject * obj0 = 0 ;
d14a1e28
RD
16328 char *kwnames[] = {
16329 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16330 };
16331
322913ce 16332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
d14a1e28 16333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16334 {
16335 PyThreadState* __tstate = wxPyBeginAllowThreads();
16336 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16337
16338 wxPyEndAllowThreads(__tstate);
16339 if (PyErr_Occurred()) SWIG_fail;
16340 }
16341 {
16342 wxDateTime * resultptr;
16343 resultptr = new wxDateTime((wxDateTime &) result);
16344 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16345 }
16346 return resultobj;
16347 fail:
16348 return NULL;
16349}
16350
16351
16352static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16353 PyObject *resultobj;
16354 wxDateTime *arg1 = (wxDateTime *) 0 ;
16355 int arg2 = (int) wxDateTime::Inv_Month ;
16356 int arg3 = (int) wxDateTime::Inv_Year ;
16357 wxDateTime *result;
16358 PyObject * obj0 = 0 ;
16359 char *kwnames[] = {
16360 (char *) "self",(char *) "month",(char *) "year", NULL
16361 };
16362
16363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16365 {
16366 PyThreadState* __tstate = wxPyBeginAllowThreads();
16367 {
16368 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
16369 result = (wxDateTime *) &_result_ref;
16370 }
16371
16372 wxPyEndAllowThreads(__tstate);
16373 if (PyErr_Occurred()) SWIG_fail;
16374 }
16375 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16376 return resultobj;
16377 fail:
16378 return NULL;
16379}
16380
16381
16382static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16383 PyObject *resultobj;
16384 wxDateTime *arg1 = (wxDateTime *) 0 ;
16385 int arg2 = (int) wxDateTime::Inv_Month ;
16386 int arg3 = (int) wxDateTime::Inv_Year ;
16387 wxDateTime result;
16388 PyObject * obj0 = 0 ;
16389 char *kwnames[] = {
16390 (char *) "self",(char *) "month",(char *) "year", NULL
16391 };
16392
16393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16395 {
16396 PyThreadState* __tstate = wxPyBeginAllowThreads();
16397 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
16398
16399 wxPyEndAllowThreads(__tstate);
16400 if (PyErr_Occurred()) SWIG_fail;
16401 }
16402 {
16403 wxDateTime * resultptr;
16404 resultptr = new wxDateTime((wxDateTime &) result);
16405 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16406 }
16407 return resultobj;
16408 fail:
16409 return NULL;
16410}
16411
16412
16413static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16414 PyObject *resultobj;
16415 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 16416 int arg2 ;
d14a1e28
RD
16417 wxDateTime *result;
16418 PyObject * obj0 = 0 ;
d14a1e28
RD
16419 char *kwnames[] = {
16420 (char *) "self",(char *) "yday", NULL
16421 };
16422
322913ce 16423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToYearDay",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16425 {
16426 PyThreadState* __tstate = wxPyBeginAllowThreads();
16427 {
16428 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
16429 result = (wxDateTime *) &_result_ref;
16430 }
16431
16432 wxPyEndAllowThreads(__tstate);
16433 if (PyErr_Occurred()) SWIG_fail;
16434 }
16435 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16436 return resultobj;
16437 fail:
16438 return NULL;
16439}
16440
16441
16442static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16443 PyObject *resultobj;
16444 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 16445 int arg2 ;
d14a1e28
RD
16446 wxDateTime result;
16447 PyObject * obj0 = 0 ;
d14a1e28
RD
16448 char *kwnames[] = {
16449 (char *) "self",(char *) "yday", NULL
16450 };
16451
322913ce 16452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetYearDay",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16454 {
16455 PyThreadState* __tstate = wxPyBeginAllowThreads();
16456 result = (arg1)->GetYearDay(arg2);
16457
16458 wxPyEndAllowThreads(__tstate);
16459 if (PyErr_Occurred()) SWIG_fail;
16460 }
16461 {
16462 wxDateTime * resultptr;
16463 resultptr = new wxDateTime((wxDateTime &) result);
16464 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16465 }
16466 return resultobj;
16467 fail:
16468 return NULL;
16469}
16470
16471
16472static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16473 PyObject *resultobj;
16474 wxDateTime *arg1 = (wxDateTime *) 0 ;
16475 double result;
16476 PyObject * obj0 = 0 ;
16477 char *kwnames[] = {
16478 (char *) "self", NULL
16479 };
16480
16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
16482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16483 {
16484 PyThreadState* __tstate = wxPyBeginAllowThreads();
16485 result = (double)(arg1)->GetJulianDayNumber();
16486
16487 wxPyEndAllowThreads(__tstate);
16488 if (PyErr_Occurred()) SWIG_fail;
16489 }
16490 resultobj = PyFloat_FromDouble(result);
16491 return resultobj;
16492 fail:
16493 return NULL;
16494}
16495
16496
16497static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
16498 PyObject *resultobj;
16499 wxDateTime *arg1 = (wxDateTime *) 0 ;
16500 double result;
16501 PyObject * obj0 = 0 ;
16502 char *kwnames[] = {
16503 (char *) "self", NULL
16504 };
16505
16506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
16507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16508 {
16509 PyThreadState* __tstate = wxPyBeginAllowThreads();
16510 result = (double)(arg1)->GetJDN();
16511
16512 wxPyEndAllowThreads(__tstate);
16513 if (PyErr_Occurred()) SWIG_fail;
16514 }
16515 resultobj = PyFloat_FromDouble(result);
16516 return resultobj;
16517 fail:
16518 return NULL;
16519}
16520
16521
16522static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16523 PyObject *resultobj;
16524 wxDateTime *arg1 = (wxDateTime *) 0 ;
16525 double result;
16526 PyObject * obj0 = 0 ;
16527 char *kwnames[] = {
16528 (char *) "self", NULL
16529 };
16530
16531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
16532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16533 {
16534 PyThreadState* __tstate = wxPyBeginAllowThreads();
16535 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
16536
16537 wxPyEndAllowThreads(__tstate);
16538 if (PyErr_Occurred()) SWIG_fail;
16539 }
16540 resultobj = PyFloat_FromDouble(result);
16541 return resultobj;
16542 fail:
16543 return NULL;
16544}
16545
16546
16547static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
16548 PyObject *resultobj;
16549 wxDateTime *arg1 = (wxDateTime *) 0 ;
16550 double result;
16551 PyObject * obj0 = 0 ;
16552 char *kwnames[] = {
16553 (char *) "self", NULL
16554 };
16555
16556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
16557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16558 {
16559 PyThreadState* __tstate = wxPyBeginAllowThreads();
16560 result = (double)(arg1)->GetMJD();
16561
16562 wxPyEndAllowThreads(__tstate);
16563 if (PyErr_Occurred()) SWIG_fail;
16564 }
16565 resultobj = PyFloat_FromDouble(result);
16566 return resultobj;
16567 fail:
16568 return NULL;
16569}
16570
16571
16572static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
16573 PyObject *resultobj;
16574 wxDateTime *arg1 = (wxDateTime *) 0 ;
16575 double result;
16576 PyObject * obj0 = 0 ;
16577 char *kwnames[] = {
16578 (char *) "self", NULL
16579 };
16580
16581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
16582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16583 {
16584 PyThreadState* __tstate = wxPyBeginAllowThreads();
16585 result = (double)(arg1)->GetRataDie();
16586
16587 wxPyEndAllowThreads(__tstate);
16588 if (PyErr_Occurred()) SWIG_fail;
16589 }
16590 resultobj = PyFloat_FromDouble(result);
16591 return resultobj;
16592 fail:
16593 return NULL;
16594}
16595
16596
16597static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16598 PyObject *resultobj;
16599 wxDateTime *arg1 = (wxDateTime *) 0 ;
16600 wxDateTime::TimeZone *arg2 = 0 ;
e811c8ce 16601 bool arg3 = (bool) False ;
d14a1e28 16602 wxDateTime result;
7722248d 16603 bool temp2 = False ;
d14a1e28
RD
16604 PyObject * obj0 = 0 ;
16605 PyObject * obj1 = 0 ;
16606 PyObject * obj2 = 0 ;
16607 char *kwnames[] = {
16608 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16609 };
16610
16611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16613 {
16614 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 16615 temp2 = True;
d14a1e28
RD
16616 }
16617 if (obj2) {
16618 arg3 = PyInt_AsLong(obj2) ? true : false;
16619 if (PyErr_Occurred()) SWIG_fail;
16620 }
16621 {
16622 PyThreadState* __tstate = wxPyBeginAllowThreads();
16623 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16624
16625 wxPyEndAllowThreads(__tstate);
16626 if (PyErr_Occurred()) SWIG_fail;
16627 }
16628 {
16629 wxDateTime * resultptr;
16630 resultptr = new wxDateTime((wxDateTime &) result);
16631 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16632 }
16633 {
7722248d 16634 if (temp2) delete arg2;
d14a1e28
RD
16635 }
16636 return resultobj;
16637 fail:
16638 {
7722248d 16639 if (temp2) delete arg2;
d14a1e28
RD
16640 }
16641 return NULL;
16642}
16643
16644
16645static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16646 PyObject *resultobj;
16647 wxDateTime *arg1 = (wxDateTime *) 0 ;
16648 wxDateTime::TimeZone *arg2 = 0 ;
e811c8ce 16649 bool arg3 = (bool) False ;
d14a1e28 16650 wxDateTime *result;
7722248d 16651 bool temp2 = False ;
d14a1e28
RD
16652 PyObject * obj0 = 0 ;
16653 PyObject * obj1 = 0 ;
16654 PyObject * obj2 = 0 ;
16655 char *kwnames[] = {
16656 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16657 };
16658
16659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16661 {
16662 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 16663 temp2 = True;
d14a1e28
RD
16664 }
16665 if (obj2) {
16666 arg3 = PyInt_AsLong(obj2) ? true : false;
16667 if (PyErr_Occurred()) SWIG_fail;
16668 }
16669 {
16670 PyThreadState* __tstate = wxPyBeginAllowThreads();
16671 {
16672 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16673 result = (wxDateTime *) &_result_ref;
16674 }
16675
16676 wxPyEndAllowThreads(__tstate);
16677 if (PyErr_Occurred()) SWIG_fail;
16678 }
16679 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16680 {
7722248d 16681 if (temp2) delete arg2;
d14a1e28
RD
16682 }
16683 return resultobj;
16684 fail:
16685 {
7722248d 16686 if (temp2) delete arg2;
d14a1e28
RD
16687 }
16688 return NULL;
16689}
16690
16691
16692static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16693 PyObject *resultobj;
16694 wxDateTime *arg1 = (wxDateTime *) 0 ;
e811c8ce 16695 bool arg2 = (bool) False ;
d14a1e28
RD
16696 wxDateTime result;
16697 PyObject * obj0 = 0 ;
16698 PyObject * obj1 = 0 ;
16699 char *kwnames[] = {
16700 (char *) "self",(char *) "noDST", NULL
16701 };
16702
16703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
16704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16705 if (obj1) {
16706 arg2 = PyInt_AsLong(obj1) ? true : false;
16707 if (PyErr_Occurred()) SWIG_fail;
16708 }
16709 {
16710 PyThreadState* __tstate = wxPyBeginAllowThreads();
16711 result = (arg1)->ToGMT(arg2);
16712
16713 wxPyEndAllowThreads(__tstate);
16714 if (PyErr_Occurred()) SWIG_fail;
16715 }
16716 {
16717 wxDateTime * resultptr;
16718 resultptr = new wxDateTime((wxDateTime &) result);
16719 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16720 }
16721 return resultobj;
16722 fail:
16723 return NULL;
16724}
16725
16726
16727static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16728 PyObject *resultobj;
16729 wxDateTime *arg1 = (wxDateTime *) 0 ;
e811c8ce 16730 bool arg2 = (bool) False ;
d14a1e28
RD
16731 wxDateTime *result;
16732 PyObject * obj0 = 0 ;
16733 PyObject * obj1 = 0 ;
16734 char *kwnames[] = {
16735 (char *) "self",(char *) "noDST", NULL
16736 };
16737
16738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
16739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16740 if (obj1) {
16741 arg2 = PyInt_AsLong(obj1) ? true : false;
16742 if (PyErr_Occurred()) SWIG_fail;
16743 }
16744 {
16745 PyThreadState* __tstate = wxPyBeginAllowThreads();
16746 {
16747 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
16748 result = (wxDateTime *) &_result_ref;
16749 }
16750
16751 wxPyEndAllowThreads(__tstate);
16752 if (PyErr_Occurred()) SWIG_fail;
16753 }
16754 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16755 return resultobj;
16756 fail:
16757 return NULL;
16758}
16759
16760
16761static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
16762 PyObject *resultobj;
16763 wxDateTime *arg1 = (wxDateTime *) 0 ;
16764 int arg2 = (int) wxDateTime::Country_Default ;
16765 int result;
16766 PyObject * obj0 = 0 ;
16767 char *kwnames[] = {
16768 (char *) "self",(char *) "country", NULL
16769 };
16770
16771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsDST",kwnames,&obj0,&arg2)) goto fail;
16772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16773 {
16774 PyThreadState* __tstate = wxPyBeginAllowThreads();
16775 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
16776
16777 wxPyEndAllowThreads(__tstate);
16778 if (PyErr_Occurred()) SWIG_fail;
16779 }
16780 resultobj = PyInt_FromLong((long)result);
16781 return resultobj;
16782 fail:
16783 return NULL;
16784}
16785
16786
16787static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
16788 PyObject *resultobj;
16789 wxDateTime *arg1 = (wxDateTime *) 0 ;
16790 bool result;
16791 PyObject * obj0 = 0 ;
16792 char *kwnames[] = {
16793 (char *) "self", NULL
16794 };
16795
16796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
16797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16798 {
16799 PyThreadState* __tstate = wxPyBeginAllowThreads();
16800 result = (bool)((wxDateTime const *)arg1)->IsValid();
16801
16802 wxPyEndAllowThreads(__tstate);
16803 if (PyErr_Occurred()) SWIG_fail;
16804 }
16805 resultobj = PyInt_FromLong((long)result);
16806 return resultobj;
16807 fail:
16808 return NULL;
16809}
16810
16811
16812static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
16813 PyObject *resultobj;
16814 wxDateTime *arg1 = (wxDateTime *) 0 ;
16815 time_t result;
16816 PyObject * obj0 = 0 ;
16817 char *kwnames[] = {
16818 (char *) "self", NULL
16819 };
16820
16821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
16822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16823 {
16824 PyThreadState* __tstate = wxPyBeginAllowThreads();
16825 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
16826
16827 wxPyEndAllowThreads(__tstate);
16828 if (PyErr_Occurred()) SWIG_fail;
16829 }
16830 resultobj = PyInt_FromLong((long)result);
16831 return resultobj;
16832 fail:
16833 return NULL;
16834}
16835
16836
16837static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16838 PyObject *resultobj;
16839 wxDateTime *arg1 = (wxDateTime *) 0 ;
16840 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
16841 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
16842 int result;
7722248d 16843 bool temp2 = False ;
d14a1e28
RD
16844 PyObject * obj0 = 0 ;
16845 PyObject * obj1 = 0 ;
16846 char *kwnames[] = {
16847 (char *) "self",(char *) "tz", NULL
16848 };
16849
16850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
16851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16852 if (obj1) {
16853 {
16854 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 16855 temp2 = True;
d14a1e28
RD
16856 }
16857 }
16858 {
16859 PyThreadState* __tstate = wxPyBeginAllowThreads();
16860 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
16861
16862 wxPyEndAllowThreads(__tstate);
16863 if (PyErr_Occurred()) SWIG_fail;
16864 }
16865 resultobj = PyInt_FromLong((long)result);
16866 {
7722248d 16867 if (temp2) delete arg2;
d14a1e28
RD
16868 }
16869 return resultobj;
16870 fail:
16871 {
7722248d 16872 if (temp2) delete arg2;
d14a1e28
RD
16873 }
16874 return NULL;
16875}
16876
16877
16878static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16879 PyObject *resultobj;
16880 wxDateTime *arg1 = (wxDateTime *) 0 ;
16881 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
16882 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
16883 int result;
7722248d 16884 bool temp2 = False ;
d14a1e28
RD
16885 PyObject * obj0 = 0 ;
16886 PyObject * obj1 = 0 ;
16887 char *kwnames[] = {
16888 (char *) "self",(char *) "tz", NULL
16889 };
16890
16891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
16892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16893 if (obj1) {
16894 {
16895 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 16896 temp2 = True;
d14a1e28
RD
16897 }
16898 }
16899 {
16900 PyThreadState* __tstate = wxPyBeginAllowThreads();
16901 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
16902
16903 wxPyEndAllowThreads(__tstate);
16904 if (PyErr_Occurred()) SWIG_fail;
16905 }
16906 resultobj = PyInt_FromLong((long)result);
16907 {
7722248d 16908 if (temp2) delete arg2;
d14a1e28
RD
16909 }
16910 return resultobj;
16911 fail:
16912 {
7722248d 16913 if (temp2) delete arg2;
d14a1e28
RD
16914 }
16915 return NULL;
16916}
16917
16918
16919static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16920 PyObject *resultobj;
16921 wxDateTime *arg1 = (wxDateTime *) 0 ;
16922 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
16923 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 16924 int result;
7722248d 16925 bool temp2 = False ;
d14a1e28
RD
16926 PyObject * obj0 = 0 ;
16927 PyObject * obj1 = 0 ;
16928 char *kwnames[] = {
16929 (char *) "self",(char *) "tz", NULL
16930 };
16931
16932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
16933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16934 if (obj1) {
16935 {
16936 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 16937 temp2 = True;
d14a1e28
RD
16938 }
16939 }
16940 {
16941 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 16942 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
16943
16944 wxPyEndAllowThreads(__tstate);
16945 if (PyErr_Occurred()) SWIG_fail;
16946 }
16947 resultobj = PyInt_FromLong((long)result);
16948 {
7722248d 16949 if (temp2) delete arg2;
d14a1e28
RD
16950 }
16951 return resultobj;
16952 fail:
16953 {
7722248d 16954 if (temp2) delete arg2;
d14a1e28
RD
16955 }
16956 return NULL;
16957}
16958
16959
16960static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16961 PyObject *resultobj;
16962 wxDateTime *arg1 = (wxDateTime *) 0 ;
16963 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
16964 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
16965 int result;
7722248d 16966 bool temp2 = False ;
d14a1e28
RD
16967 PyObject * obj0 = 0 ;
16968 PyObject * obj1 = 0 ;
16969 char *kwnames[] = {
16970 (char *) "self",(char *) "tz", NULL
16971 };
16972
16973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
16974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16975 if (obj1) {
16976 {
16977 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 16978 temp2 = True;
d14a1e28
RD
16979 }
16980 }
16981 {
16982 PyThreadState* __tstate = wxPyBeginAllowThreads();
16983 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
16984
16985 wxPyEndAllowThreads(__tstate);
16986 if (PyErr_Occurred()) SWIG_fail;
16987 }
16988 resultobj = PyInt_FromLong((long)result);
16989 {
7722248d 16990 if (temp2) delete arg2;
d14a1e28
RD
16991 }
16992 return resultobj;
16993 fail:
16994 {
7722248d 16995 if (temp2) delete arg2;
d14a1e28
RD
16996 }
16997 return NULL;
16998}
16999
17000
17001static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17002 PyObject *resultobj;
17003 wxDateTime *arg1 = (wxDateTime *) 0 ;
17004 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17005 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 17006 int result;
7722248d 17007 bool temp2 = False ;
d14a1e28
RD
17008 PyObject * obj0 = 0 ;
17009 PyObject * obj1 = 0 ;
17010 char *kwnames[] = {
17011 (char *) "self",(char *) "tz", NULL
17012 };
17013
17014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
17015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17016 if (obj1) {
17017 {
17018 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 17019 temp2 = True;
d14a1e28
RD
17020 }
17021 }
17022 {
17023 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 17024 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17025
17026 wxPyEndAllowThreads(__tstate);
17027 if (PyErr_Occurred()) SWIG_fail;
17028 }
17029 resultobj = PyInt_FromLong((long)result);
17030 {
7722248d 17031 if (temp2) delete arg2;
d14a1e28
RD
17032 }
17033 return resultobj;
17034 fail:
17035 {
7722248d 17036 if (temp2) delete arg2;
d14a1e28
RD
17037 }
17038 return NULL;
17039}
17040
17041
17042static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17043 PyObject *resultobj;
17044 wxDateTime *arg1 = (wxDateTime *) 0 ;
17045 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17046 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 17047 int result;
7722248d 17048 bool temp2 = False ;
d14a1e28
RD
17049 PyObject * obj0 = 0 ;
17050 PyObject * obj1 = 0 ;
17051 char *kwnames[] = {
17052 (char *) "self",(char *) "tz", NULL
17053 };
17054
17055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
17056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17057 if (obj1) {
17058 {
17059 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 17060 temp2 = True;
d14a1e28
RD
17061 }
17062 }
17063 {
17064 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 17065 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17066
17067 wxPyEndAllowThreads(__tstate);
17068 if (PyErr_Occurred()) SWIG_fail;
17069 }
17070 resultobj = PyInt_FromLong((long)result);
17071 {
7722248d 17072 if (temp2) delete arg2;
d14a1e28
RD
17073 }
17074 return resultobj;
17075 fail:
17076 {
7722248d 17077 if (temp2) delete arg2;
d14a1e28
RD
17078 }
17079 return NULL;
17080}
17081
17082
17083static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17084 PyObject *resultobj;
17085 wxDateTime *arg1 = (wxDateTime *) 0 ;
17086 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17087 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 17088 int result;
7722248d 17089 bool temp2 = False ;
d14a1e28
RD
17090 PyObject * obj0 = 0 ;
17091 PyObject * obj1 = 0 ;
17092 char *kwnames[] = {
17093 (char *) "self",(char *) "tz", NULL
17094 };
17095
17096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
17097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17098 if (obj1) {
17099 {
17100 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 17101 temp2 = True;
d14a1e28
RD
17102 }
17103 }
17104 {
17105 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 17106 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17107
17108 wxPyEndAllowThreads(__tstate);
17109 if (PyErr_Occurred()) SWIG_fail;
17110 }
17111 resultobj = PyInt_FromLong((long)result);
17112 {
7722248d 17113 if (temp2) delete arg2;
d14a1e28
RD
17114 }
17115 return resultobj;
17116 fail:
17117 {
7722248d 17118 if (temp2) delete arg2;
d14a1e28
RD
17119 }
17120 return NULL;
17121}
17122
17123
17124static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17125 PyObject *resultobj;
17126 wxDateTime *arg1 = (wxDateTime *) 0 ;
17127 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17128 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 17129 int result;
7722248d 17130 bool temp2 = False ;
d14a1e28
RD
17131 PyObject * obj0 = 0 ;
17132 PyObject * obj1 = 0 ;
17133 char *kwnames[] = {
17134 (char *) "self",(char *) "tz", NULL
17135 };
17136
17137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
17138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17139 if (obj1) {
17140 {
17141 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 17142 temp2 = True;
d14a1e28
RD
17143 }
17144 }
17145 {
17146 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 17147 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17148
17149 wxPyEndAllowThreads(__tstate);
17150 if (PyErr_Occurred()) SWIG_fail;
17151 }
17152 resultobj = PyInt_FromLong((long)result);
17153 {
7722248d 17154 if (temp2) delete arg2;
d14a1e28
RD
17155 }
17156 return resultobj;
17157 fail:
17158 {
7722248d 17159 if (temp2) delete arg2;
d14a1e28
RD
17160 }
17161 return NULL;
17162}
17163
17164
17165static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17166 PyObject *resultobj;
17167 wxDateTime *arg1 = (wxDateTime *) 0 ;
17168 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17169 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 17170 int result;
7722248d 17171 bool temp2 = False ;
d14a1e28
RD
17172 PyObject * obj0 = 0 ;
17173 PyObject * obj1 = 0 ;
17174 char *kwnames[] = {
17175 (char *) "self",(char *) "tz", NULL
17176 };
17177
17178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
17179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17180 if (obj1) {
17181 {
17182 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 17183 temp2 = True;
d14a1e28
RD
17184 }
17185 }
17186 {
17187 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 17188 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17189
17190 wxPyEndAllowThreads(__tstate);
17191 if (PyErr_Occurred()) SWIG_fail;
17192 }
17193 resultobj = PyInt_FromLong((long)result);
17194 {
7722248d 17195 if (temp2) delete arg2;
d14a1e28
RD
17196 }
17197 return resultobj;
17198 fail:
17199 {
7722248d 17200 if (temp2) delete arg2;
d14a1e28
RD
17201 }
17202 return NULL;
17203}
17204
17205
17206static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17207 PyObject *resultobj;
17208 wxDateTime *arg1 = (wxDateTime *) 0 ;
17209 int arg2 = (int) wxDateTime::Monday_First ;
17210 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17211 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
322913ce 17212 int result;
7722248d 17213 bool temp3 = False ;
d14a1e28
RD
17214 PyObject * obj0 = 0 ;
17215 PyObject * obj2 = 0 ;
17216 char *kwnames[] = {
17217 (char *) "self",(char *) "flags",(char *) "tz", NULL
17218 };
17219
17220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames,&obj0,&arg2,&obj2)) goto fail;
17221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17222 if (obj2) {
17223 {
17224 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
7722248d 17225 temp3 = True;
d14a1e28
RD
17226 }
17227 }
17228 {
17229 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 17230 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
17231
17232 wxPyEndAllowThreads(__tstate);
17233 if (PyErr_Occurred()) SWIG_fail;
17234 }
17235 resultobj = PyInt_FromLong((long)result);
17236 {
7722248d 17237 if (temp3) delete arg3;
d14a1e28
RD
17238 }
17239 return resultobj;
17240 fail:
17241 {
7722248d 17242 if (temp3) delete arg3;
d14a1e28
RD
17243 }
17244 return NULL;
17245}
17246
17247
17248static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17249 PyObject *resultobj;
17250 wxDateTime *arg1 = (wxDateTime *) 0 ;
17251 int arg2 = (int) wxDateTime::Monday_First ;
17252 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17253 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
322913ce 17254 int result;
7722248d 17255 bool temp3 = False ;
d14a1e28
RD
17256 PyObject * obj0 = 0 ;
17257 PyObject * obj2 = 0 ;
17258 char *kwnames[] = {
17259 (char *) "self",(char *) "flags",(char *) "tz", NULL
17260 };
17261
17262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames,&obj0,&arg2,&obj2)) goto fail;
17263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17264 if (obj2) {
17265 {
17266 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
7722248d 17267 temp3 = True;
d14a1e28
RD
17268 }
17269 }
17270 {
17271 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 17272 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
17273
17274 wxPyEndAllowThreads(__tstate);
17275 if (PyErr_Occurred()) SWIG_fail;
17276 }
17277 resultobj = PyInt_FromLong((long)result);
17278 {
7722248d 17279 if (temp3) delete arg3;
d14a1e28
RD
17280 }
17281 return resultobj;
17282 fail:
17283 {
7722248d 17284 if (temp3) delete arg3;
d14a1e28
RD
17285 }
17286 return NULL;
17287}
17288
17289
17290static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17291 PyObject *resultobj;
17292 wxDateTime *arg1 = (wxDateTime *) 0 ;
17293 int arg2 = (int) wxDateTime::Country_Default ;
17294 bool result;
17295 PyObject * obj0 = 0 ;
17296 char *kwnames[] = {
17297 (char *) "self",(char *) "country", NULL
17298 };
17299
17300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsWorkDay",kwnames,&obj0,&arg2)) goto fail;
17301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17302 {
17303 PyThreadState* __tstate = wxPyBeginAllowThreads();
17304 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
17305
17306 wxPyEndAllowThreads(__tstate);
17307 if (PyErr_Occurred()) SWIG_fail;
17308 }
17309 resultobj = PyInt_FromLong((long)result);
17310 return resultobj;
17311 fail:
17312 return NULL;
17313}
17314
17315
17316static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17317 PyObject *resultobj;
17318 wxDateTime *arg1 = (wxDateTime *) 0 ;
17319 wxDateTime *arg2 = 0 ;
17320 bool result;
17321 PyObject * obj0 = 0 ;
17322 PyObject * obj1 = 0 ;
17323 char *kwnames[] = {
17324 (char *) "self",(char *) "datetime", NULL
17325 };
17326
17327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
17328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17329 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17330 if (arg2 == NULL) {
17331 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17332 }
17333 {
17334 PyThreadState* __tstate = wxPyBeginAllowThreads();
17335 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
17336
17337 wxPyEndAllowThreads(__tstate);
17338 if (PyErr_Occurred()) SWIG_fail;
17339 }
17340 resultobj = PyInt_FromLong((long)result);
17341 return resultobj;
17342 fail:
17343 return NULL;
17344}
17345
17346
17347static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17348 PyObject *resultobj;
17349 wxDateTime *arg1 = (wxDateTime *) 0 ;
17350 wxDateTime *arg2 = 0 ;
17351 bool result;
17352 PyObject * obj0 = 0 ;
17353 PyObject * obj1 = 0 ;
17354 char *kwnames[] = {
17355 (char *) "self",(char *) "datetime", NULL
17356 };
17357
17358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
17359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17360 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17361 if (arg2 == NULL) {
17362 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17363 }
17364 {
17365 PyThreadState* __tstate = wxPyBeginAllowThreads();
17366 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
17367
17368 wxPyEndAllowThreads(__tstate);
17369 if (PyErr_Occurred()) SWIG_fail;
17370 }
17371 resultobj = PyInt_FromLong((long)result);
17372 return resultobj;
17373 fail:
17374 return NULL;
17375}
17376
17377
17378static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17379 PyObject *resultobj;
17380 wxDateTime *arg1 = (wxDateTime *) 0 ;
17381 wxDateTime *arg2 = 0 ;
17382 bool result;
17383 PyObject * obj0 = 0 ;
17384 PyObject * obj1 = 0 ;
17385 char *kwnames[] = {
17386 (char *) "self",(char *) "datetime", NULL
17387 };
17388
17389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
17390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17391 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17392 if (arg2 == NULL) {
17393 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17394 }
17395 {
17396 PyThreadState* __tstate = wxPyBeginAllowThreads();
17397 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
17398
17399 wxPyEndAllowThreads(__tstate);
17400 if (PyErr_Occurred()) SWIG_fail;
17401 }
17402 resultobj = PyInt_FromLong((long)result);
17403 return resultobj;
17404 fail:
17405 return NULL;
17406}
17407
17408
17409static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17410 PyObject *resultobj;
17411 wxDateTime *arg1 = (wxDateTime *) 0 ;
17412 wxDateTime *arg2 = 0 ;
17413 wxDateTime *arg3 = 0 ;
17414 bool result;
17415 PyObject * obj0 = 0 ;
17416 PyObject * obj1 = 0 ;
17417 PyObject * obj2 = 0 ;
17418 char *kwnames[] = {
17419 (char *) "self",(char *) "t1",(char *) "t2", NULL
17420 };
17421
17422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17424 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17425 if (arg2 == NULL) {
17426 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17427 }
17428 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17429 if (arg3 == NULL) {
17430 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17431 }
17432 {
17433 PyThreadState* __tstate = wxPyBeginAllowThreads();
17434 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17435
17436 wxPyEndAllowThreads(__tstate);
17437 if (PyErr_Occurred()) SWIG_fail;
17438 }
17439 resultobj = PyInt_FromLong((long)result);
17440 return resultobj;
17441 fail:
17442 return NULL;
17443}
17444
17445
17446static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17447 PyObject *resultobj;
17448 wxDateTime *arg1 = (wxDateTime *) 0 ;
17449 wxDateTime *arg2 = 0 ;
17450 wxDateTime *arg3 = 0 ;
17451 bool result;
17452 PyObject * obj0 = 0 ;
17453 PyObject * obj1 = 0 ;
17454 PyObject * obj2 = 0 ;
17455 char *kwnames[] = {
17456 (char *) "self",(char *) "t1",(char *) "t2", NULL
17457 };
17458
17459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17461 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17462 if (arg2 == NULL) {
17463 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17464 }
17465 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17466 if (arg3 == NULL) {
17467 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17468 }
17469 {
17470 PyThreadState* __tstate = wxPyBeginAllowThreads();
17471 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17472
17473 wxPyEndAllowThreads(__tstate);
17474 if (PyErr_Occurred()) SWIG_fail;
17475 }
17476 resultobj = PyInt_FromLong((long)result);
17477 return resultobj;
17478 fail:
17479 return NULL;
17480}
17481
17482
17483static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
17484 PyObject *resultobj;
17485 wxDateTime *arg1 = (wxDateTime *) 0 ;
17486 wxDateTime *arg2 = 0 ;
17487 bool result;
17488 PyObject * obj0 = 0 ;
17489 PyObject * obj1 = 0 ;
17490 char *kwnames[] = {
17491 (char *) "self",(char *) "dt", NULL
17492 };
17493
17494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
17495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17496 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17497 if (arg2 == NULL) {
17498 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17499 }
17500 {
17501 PyThreadState* __tstate = wxPyBeginAllowThreads();
17502 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
17503
17504 wxPyEndAllowThreads(__tstate);
17505 if (PyErr_Occurred()) SWIG_fail;
17506 }
17507 resultobj = PyInt_FromLong((long)result);
17508 return resultobj;
17509 fail:
17510 return NULL;
17511}
17512
17513
17514static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17515 PyObject *resultobj;
17516 wxDateTime *arg1 = (wxDateTime *) 0 ;
17517 wxDateTime *arg2 = 0 ;
17518 bool result;
17519 PyObject * obj0 = 0 ;
17520 PyObject * obj1 = 0 ;
17521 char *kwnames[] = {
17522 (char *) "self",(char *) "dt", NULL
17523 };
17524
17525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
17526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17527 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17528 if (arg2 == NULL) {
17529 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17530 }
17531 {
17532 PyThreadState* __tstate = wxPyBeginAllowThreads();
17533 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
17534
17535 wxPyEndAllowThreads(__tstate);
17536 if (PyErr_Occurred()) SWIG_fail;
17537 }
17538 resultobj = PyInt_FromLong((long)result);
17539 return resultobj;
17540 fail:
17541 return NULL;
17542}
17543
17544
17545static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17546 PyObject *resultobj;
17547 wxDateTime *arg1 = (wxDateTime *) 0 ;
17548 wxDateTime *arg2 = 0 ;
17549 wxTimeSpan *arg3 = 0 ;
17550 bool result;
17551 PyObject * obj0 = 0 ;
17552 PyObject * obj1 = 0 ;
17553 PyObject * obj2 = 0 ;
17554 char *kwnames[] = {
17555 (char *) "self",(char *) "dt",(char *) "ts", NULL
17556 };
17557
17558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17560 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17561 if (arg2 == NULL) {
17562 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17563 }
17564 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17565 if (arg3 == NULL) {
17566 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17567 }
17568 {
17569 PyThreadState* __tstate = wxPyBeginAllowThreads();
17570 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
17571
17572 wxPyEndAllowThreads(__tstate);
17573 if (PyErr_Occurred()) SWIG_fail;
17574 }
17575 resultobj = PyInt_FromLong((long)result);
17576 return resultobj;
17577 fail:
17578 return NULL;
17579}
17580
17581
17582static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17583 PyObject *resultobj;
17584 wxDateTime *arg1 = (wxDateTime *) 0 ;
17585 wxTimeSpan *arg2 = 0 ;
17586 wxDateTime *result;
17587 PyObject * obj0 = 0 ;
17588 PyObject * obj1 = 0 ;
17589 char *kwnames[] = {
17590 (char *) "self",(char *) "diff", NULL
17591 };
17592
17593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
17594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17595 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17596 if (arg2 == NULL) {
17597 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17598 }
17599 {
17600 PyThreadState* __tstate = wxPyBeginAllowThreads();
17601 {
17602 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
17603 result = (wxDateTime *) &_result_ref;
17604 }
17605
17606 wxPyEndAllowThreads(__tstate);
17607 if (PyErr_Occurred()) SWIG_fail;
17608 }
17609 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17610 return resultobj;
17611 fail:
17612 return NULL;
17613}
17614
17615
17616static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17617 PyObject *resultobj;
17618 wxDateTime *arg1 = (wxDateTime *) 0 ;
17619 wxDateSpan *arg2 = 0 ;
17620 wxDateTime *result;
17621 PyObject * obj0 = 0 ;
17622 PyObject * obj1 = 0 ;
17623 char *kwnames[] = {
17624 (char *) "self",(char *) "diff", NULL
17625 };
17626
17627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
17628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17629 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17630 if (arg2 == NULL) {
17631 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17632 }
17633 {
17634 PyThreadState* __tstate = wxPyBeginAllowThreads();
17635 {
17636 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
17637 result = (wxDateTime *) &_result_ref;
17638 }
17639
17640 wxPyEndAllowThreads(__tstate);
17641 if (PyErr_Occurred()) SWIG_fail;
17642 }
17643 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17644 return resultobj;
17645 fail:
17646 return NULL;
17647}
17648
17649
17650static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17651 PyObject *resultobj;
17652 wxDateTime *arg1 = (wxDateTime *) 0 ;
17653 wxTimeSpan *arg2 = 0 ;
17654 wxDateTime *result;
17655 PyObject * obj0 = 0 ;
17656 PyObject * obj1 = 0 ;
17657 char *kwnames[] = {
17658 (char *) "self",(char *) "diff", NULL
17659 };
17660
17661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
17662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17663 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17664 if (arg2 == NULL) {
17665 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17666 }
17667 {
17668 PyThreadState* __tstate = wxPyBeginAllowThreads();
17669 {
17670 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
17671 result = (wxDateTime *) &_result_ref;
17672 }
17673
17674 wxPyEndAllowThreads(__tstate);
17675 if (PyErr_Occurred()) SWIG_fail;
17676 }
17677 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17678 return resultobj;
17679 fail:
17680 return NULL;
17681}
17682
17683
17684static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17685 PyObject *resultobj;
17686 wxDateTime *arg1 = (wxDateTime *) 0 ;
17687 wxDateSpan *arg2 = 0 ;
17688 wxDateTime *result;
17689 PyObject * obj0 = 0 ;
17690 PyObject * obj1 = 0 ;
17691 char *kwnames[] = {
17692 (char *) "self",(char *) "diff", NULL
17693 };
17694
17695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
17696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17697 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17698 if (arg2 == NULL) {
17699 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17700 }
17701 {
17702 PyThreadState* __tstate = wxPyBeginAllowThreads();
17703 {
17704 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
17705 result = (wxDateTime *) &_result_ref;
17706 }
17707
17708 wxPyEndAllowThreads(__tstate);
17709 if (PyErr_Occurred()) SWIG_fail;
17710 }
17711 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17712 return resultobj;
17713 fail:
17714 return NULL;
17715}
17716
17717
17718static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
17719 PyObject *resultobj;
17720 wxDateTime *arg1 = (wxDateTime *) 0 ;
17721 wxDateTime *arg2 = 0 ;
17722 wxTimeSpan result;
17723 PyObject * obj0 = 0 ;
17724 PyObject * obj1 = 0 ;
17725 char *kwnames[] = {
17726 (char *) "self",(char *) "dt", NULL
17727 };
17728
17729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
17730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17731 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17732 if (arg2 == NULL) {
17733 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17734 }
17735 {
17736 PyThreadState* __tstate = wxPyBeginAllowThreads();
17737 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
17738
17739 wxPyEndAllowThreads(__tstate);
17740 if (PyErr_Occurred()) SWIG_fail;
17741 }
17742 {
17743 wxTimeSpan * resultptr;
17744 resultptr = new wxTimeSpan((wxTimeSpan &) result);
17745 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
17746 }
17747 return resultobj;
17748 fail:
17749 return NULL;
17750}
17751
17752
17753static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
17754 PyObject *resultobj;
17755 wxDateTime *arg1 = (wxDateTime *) 0 ;
17756 wxTimeSpan *arg2 = 0 ;
17757 wxDateTime *result;
17758 PyObject * obj0 = 0 ;
17759 PyObject * obj1 = 0 ;
17760
17761 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
17762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17763 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17764 if (arg2 == NULL) {
17765 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17766 }
17767 {
17768 PyThreadState* __tstate = wxPyBeginAllowThreads();
17769 {
17770 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
17771 result = (wxDateTime *) &_result_ref;
17772 }
17773
17774 wxPyEndAllowThreads(__tstate);
17775 if (PyErr_Occurred()) SWIG_fail;
17776 }
17777 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17778 return resultobj;
17779 fail:
17780 return NULL;
17781}
17782
17783
17784static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
17785 PyObject *resultobj;
17786 wxDateTime *arg1 = (wxDateTime *) 0 ;
17787 wxDateSpan *arg2 = 0 ;
17788 wxDateTime *result;
17789 PyObject * obj0 = 0 ;
17790 PyObject * obj1 = 0 ;
17791
17792 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
17793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17794 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17795 if (arg2 == NULL) {
17796 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17797 }
17798 {
17799 PyThreadState* __tstate = wxPyBeginAllowThreads();
17800 {
17801 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
17802 result = (wxDateTime *) &_result_ref;
17803 }
17804
17805 wxPyEndAllowThreads(__tstate);
17806 if (PyErr_Occurred()) SWIG_fail;
17807 }
17808 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17809 return resultobj;
17810 fail:
17811 return NULL;
17812}
17813
17814
17815static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
17816 int argc;
17817 PyObject *argv[3];
17818 int ii;
17819
17820 argc = PyObject_Length(args);
17821 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
17822 argv[ii] = PyTuple_GetItem(args,ii);
17823 }
17824 if (argc == 2) {
17825 int _v;
17826 {
17827 void *ptr;
17828 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
17829 _v = 0;
17830 PyErr_Clear();
17831 } else {
17832 _v = 1;
17833 }
17834 }
17835 if (_v) {
17836 {
17837 void *ptr;
17838 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
17839 _v = 0;
17840 PyErr_Clear();
17841 } else {
17842 _v = 1;
17843 }
17844 }
17845 if (_v) {
17846 return _wrap_DateTime___iadd____SWIG_0(self,args);
17847 }
17848 }
17849 }
17850 if (argc == 2) {
17851 int _v;
17852 {
17853 void *ptr;
17854 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
17855 _v = 0;
17856 PyErr_Clear();
17857 } else {
17858 _v = 1;
17859 }
17860 }
17861 if (_v) {
17862 {
17863 void *ptr;
17864 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
17865 _v = 0;
17866 PyErr_Clear();
17867 } else {
17868 _v = 1;
17869 }
17870 }
17871 if (_v) {
17872 return _wrap_DateTime___iadd____SWIG_1(self,args);
17873 }
17874 }
17875 }
17876
17877 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
17878 return NULL;
17879}
17880
17881
17882static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
17883 PyObject *resultobj;
17884 wxDateTime *arg1 = (wxDateTime *) 0 ;
17885 wxTimeSpan *arg2 = 0 ;
17886 wxDateTime *result;
17887 PyObject * obj0 = 0 ;
17888 PyObject * obj1 = 0 ;
17889
17890 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
17891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17892 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17893 if (arg2 == NULL) {
17894 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17895 }
17896 {
17897 PyThreadState* __tstate = wxPyBeginAllowThreads();
17898 {
17899 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
17900 result = (wxDateTime *) &_result_ref;
17901 }
17902
17903 wxPyEndAllowThreads(__tstate);
17904 if (PyErr_Occurred()) SWIG_fail;
17905 }
17906 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17907 return resultobj;
17908 fail:
17909 return NULL;
17910}
17911
17912
17913static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
17914 PyObject *resultobj;
17915 wxDateTime *arg1 = (wxDateTime *) 0 ;
17916 wxDateSpan *arg2 = 0 ;
17917 wxDateTime *result;
17918 PyObject * obj0 = 0 ;
17919 PyObject * obj1 = 0 ;
17920
17921 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&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_wxDateSpan,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)->operator -=((wxDateSpan 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___isub__(PyObject *self, PyObject *args) {
17945 int argc;
17946 PyObject *argv[3];
17947 int ii;
17948
17949 argc = PyObject_Length(args);
17950 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
17951 argv[ii] = PyTuple_GetItem(args,ii);
17952 }
17953 if (argc == 2) {
17954 int _v;
17955 {
17956 void *ptr;
17957 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
17958 _v = 0;
17959 PyErr_Clear();
17960 } else {
17961 _v = 1;
17962 }
17963 }
17964 if (_v) {
17965 {
17966 void *ptr;
17967 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
17968 _v = 0;
17969 PyErr_Clear();
17970 } else {
17971 _v = 1;
17972 }
17973 }
17974 if (_v) {
17975 return _wrap_DateTime___isub____SWIG_0(self,args);
17976 }
17977 }
17978 }
17979 if (argc == 2) {
17980 int _v;
17981 {
17982 void *ptr;
17983 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
17984 _v = 0;
17985 PyErr_Clear();
17986 } else {
17987 _v = 1;
17988 }
17989 }
17990 if (_v) {
17991 {
17992 void *ptr;
17993 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
17994 _v = 0;
17995 PyErr_Clear();
17996 } else {
17997 _v = 1;
17998 }
17999 }
18000 if (_v) {
18001 return _wrap_DateTime___isub____SWIG_1(self,args);
18002 }
18003 }
18004 }
18005
18006 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
18007 return NULL;
18008}
18009
18010
18011static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
18012 PyObject *resultobj;
18013 wxDateTime *arg1 = (wxDateTime *) 0 ;
18014 wxTimeSpan *arg2 = 0 ;
18015 wxDateTime result;
18016 PyObject * obj0 = 0 ;
18017 PyObject * obj1 = 0 ;
18018
18019 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18021 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18022 if (arg2 == NULL) {
18023 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18024 }
18025 {
18026 PyThreadState* __tstate = wxPyBeginAllowThreads();
18027 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
18028
18029 wxPyEndAllowThreads(__tstate);
18030 if (PyErr_Occurred()) SWIG_fail;
18031 }
18032 {
18033 wxDateTime * resultptr;
18034 resultptr = new wxDateTime((wxDateTime &) result);
18035 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18036 }
18037 return resultobj;
18038 fail:
18039 return NULL;
18040}
18041
18042
18043static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
18044 PyObject *resultobj;
18045 wxDateTime *arg1 = (wxDateTime *) 0 ;
18046 wxDateSpan *arg2 = 0 ;
18047 wxDateTime result;
18048 PyObject * obj0 = 0 ;
18049 PyObject * obj1 = 0 ;
18050
18051 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18053 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18054 if (arg2 == NULL) {
18055 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18056 }
18057 {
18058 PyThreadState* __tstate = wxPyBeginAllowThreads();
18059 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
18060
18061 wxPyEndAllowThreads(__tstate);
18062 if (PyErr_Occurred()) SWIG_fail;
18063 }
18064 {
18065 wxDateTime * resultptr;
18066 resultptr = new wxDateTime((wxDateTime &) result);
18067 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18068 }
18069 return resultobj;
18070 fail:
18071 return NULL;
18072}
18073
18074
18075static PyObject *_wrap_DateTime___add__(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___add____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___add____SWIG_1(self,args);
18133 }
18134 }
18135 }
18136
18137 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
18138 return NULL;
18139}
18140
18141
18142static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
18143 PyObject *resultobj;
18144 wxDateTime *arg1 = (wxDateTime *) 0 ;
18145 wxDateTime *arg2 = 0 ;
18146 wxTimeSpan result;
18147 PyObject * obj0 = 0 ;
18148 PyObject * obj1 = 0 ;
18149
18150 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&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_wxDateTime,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 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
18159
18160 wxPyEndAllowThreads(__tstate);
18161 if (PyErr_Occurred()) SWIG_fail;
18162 }
18163 {
18164 wxTimeSpan * resultptr;
18165 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18166 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18167 }
18168 return resultobj;
18169 fail:
18170 return NULL;
18171}
18172
18173
18174static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
18175 PyObject *resultobj;
18176 wxDateTime *arg1 = (wxDateTime *) 0 ;
18177 wxTimeSpan *arg2 = 0 ;
18178 wxDateTime result;
18179 PyObject * obj0 = 0 ;
18180 PyObject * obj1 = 0 ;
18181
18182 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18184 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18185 if (arg2 == NULL) {
18186 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18187 }
18188 {
18189 PyThreadState* __tstate = wxPyBeginAllowThreads();
18190 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
18191
18192 wxPyEndAllowThreads(__tstate);
18193 if (PyErr_Occurred()) SWIG_fail;
18194 }
18195 {
18196 wxDateTime * resultptr;
18197 resultptr = new wxDateTime((wxDateTime &) result);
18198 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18199 }
18200 return resultobj;
18201 fail:
18202 return NULL;
18203}
18204
18205
18206static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
18207 PyObject *resultobj;
18208 wxDateTime *arg1 = (wxDateTime *) 0 ;
18209 wxDateSpan *arg2 = 0 ;
18210 wxDateTime result;
18211 PyObject * obj0 = 0 ;
18212 PyObject * obj1 = 0 ;
18213
18214 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18216 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18217 if (arg2 == NULL) {
18218 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18219 }
18220 {
18221 PyThreadState* __tstate = wxPyBeginAllowThreads();
18222 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
18223
18224 wxPyEndAllowThreads(__tstate);
18225 if (PyErr_Occurred()) SWIG_fail;
18226 }
18227 {
18228 wxDateTime * resultptr;
18229 resultptr = new wxDateTime((wxDateTime &) result);
18230 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18231 }
18232 return resultobj;
18233 fail:
18234 return NULL;
18235}
18236
18237
18238static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
18239 int argc;
18240 PyObject *argv[3];
18241 int ii;
18242
18243 argc = PyObject_Length(args);
18244 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18245 argv[ii] = PyTuple_GetItem(args,ii);
18246 }
18247 if (argc == 2) {
18248 int _v;
18249 {
18250 void *ptr;
18251 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18252 _v = 0;
18253 PyErr_Clear();
18254 } else {
18255 _v = 1;
18256 }
18257 }
18258 if (_v) {
18259 {
18260 void *ptr;
18261 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18262 _v = 0;
18263 PyErr_Clear();
18264 } else {
18265 _v = 1;
18266 }
18267 }
18268 if (_v) {
18269 return _wrap_DateTime___sub____SWIG_0(self,args);
18270 }
18271 }
18272 }
18273 if (argc == 2) {
18274 int _v;
18275 {
18276 void *ptr;
18277 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18278 _v = 0;
18279 PyErr_Clear();
18280 } else {
18281 _v = 1;
18282 }
18283 }
18284 if (_v) {
18285 {
18286 void *ptr;
18287 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18288 _v = 0;
18289 PyErr_Clear();
18290 } else {
18291 _v = 1;
18292 }
18293 }
18294 if (_v) {
18295 return _wrap_DateTime___sub____SWIG_1(self,args);
18296 }
18297 }
18298 }
18299 if (argc == 2) {
18300 int _v;
18301 {
18302 void *ptr;
18303 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18304 _v = 0;
18305 PyErr_Clear();
18306 } else {
18307 _v = 1;
18308 }
18309 }
18310 if (_v) {
18311 {
18312 void *ptr;
18313 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18314 _v = 0;
18315 PyErr_Clear();
18316 } else {
18317 _v = 1;
18318 }
18319 }
18320 if (_v) {
18321 return _wrap_DateTime___sub____SWIG_2(self,args);
18322 }
18323 }
18324 }
18325
18326 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
18327 return NULL;
18328}
18329
18330
18331static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
18332 PyObject *resultobj;
18333 wxDateTime *arg1 = (wxDateTime *) 0 ;
18334 wxDateTime *arg2 = 0 ;
18335 bool result;
18336 PyObject * obj0 = 0 ;
18337 PyObject * obj1 = 0 ;
18338
18339 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
18340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18341 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18342 if (arg2 == NULL) {
18343 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18344 }
18345 {
18346 PyThreadState* __tstate = wxPyBeginAllowThreads();
18347 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const &)*arg2);
18348
18349 wxPyEndAllowThreads(__tstate);
18350 if (PyErr_Occurred()) SWIG_fail;
18351 }
18352 resultobj = PyInt_FromLong((long)result);
18353 return resultobj;
18354 fail:
18355 return NULL;
18356}
18357
18358
18359static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
18360 PyObject *resultobj;
18361 wxDateTime *arg1 = (wxDateTime *) 0 ;
18362 wxDateTime *arg2 = 0 ;
18363 bool result;
18364 PyObject * obj0 = 0 ;
18365 PyObject * obj1 = 0 ;
18366
18367 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
18368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18369 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18370 if (arg2 == NULL) {
18371 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18372 }
18373 {
18374 PyThreadState* __tstate = wxPyBeginAllowThreads();
18375 result = (bool)wxDateTime___le__(arg1,(wxDateTime const &)*arg2);
18376
18377 wxPyEndAllowThreads(__tstate);
18378 if (PyErr_Occurred()) SWIG_fail;
18379 }
18380 resultobj = PyInt_FromLong((long)result);
18381 return resultobj;
18382 fail:
18383 return NULL;
18384}
18385
18386
18387static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
18388 PyObject *resultobj;
18389 wxDateTime *arg1 = (wxDateTime *) 0 ;
18390 wxDateTime *arg2 = 0 ;
18391 bool result;
18392 PyObject * obj0 = 0 ;
18393 PyObject * obj1 = 0 ;
18394
18395 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
18396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18397 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18398 if (arg2 == NULL) {
18399 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18400 }
18401 {
18402 PyThreadState* __tstate = wxPyBeginAllowThreads();
18403 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const &)*arg2);
18404
18405 wxPyEndAllowThreads(__tstate);
18406 if (PyErr_Occurred()) SWIG_fail;
18407 }
18408 resultobj = PyInt_FromLong((long)result);
18409 return resultobj;
18410 fail:
18411 return NULL;
18412}
18413
18414
18415static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
18416 PyObject *resultobj;
18417 wxDateTime *arg1 = (wxDateTime *) 0 ;
18418 wxDateTime *arg2 = 0 ;
18419 bool result;
18420 PyObject * obj0 = 0 ;
18421 PyObject * obj1 = 0 ;
18422
18423 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
18424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18425 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18426 if (arg2 == NULL) {
18427 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18428 }
18429 {
18430 PyThreadState* __tstate = wxPyBeginAllowThreads();
18431 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const &)*arg2);
18432
18433 wxPyEndAllowThreads(__tstate);
18434 if (PyErr_Occurred()) SWIG_fail;
18435 }
18436 resultobj = PyInt_FromLong((long)result);
18437 return resultobj;
18438 fail:
18439 return NULL;
18440}
18441
18442
18443static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
18444 PyObject *resultobj;
18445 wxDateTime *arg1 = (wxDateTime *) 0 ;
18446 wxDateTime *arg2 = 0 ;
18447 bool result;
18448 PyObject * obj0 = 0 ;
18449 PyObject * obj1 = 0 ;
18450
18451 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
18452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18453 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18454 if (arg2 == NULL) {
18455 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18456 }
18457 {
18458 PyThreadState* __tstate = wxPyBeginAllowThreads();
18459 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const &)*arg2);
18460
18461 wxPyEndAllowThreads(__tstate);
18462 if (PyErr_Occurred()) SWIG_fail;
18463 }
18464 resultobj = PyInt_FromLong((long)result);
18465 return resultobj;
18466 fail:
18467 return NULL;
18468}
18469
18470
18471static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
18472 PyObject *resultobj;
18473 wxDateTime *arg1 = (wxDateTime *) 0 ;
18474 wxDateTime *arg2 = 0 ;
18475 bool result;
18476 PyObject * obj0 = 0 ;
18477 PyObject * obj1 = 0 ;
18478
18479 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
18480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18482 if (arg2 == NULL) {
18483 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18484 }
18485 {
18486 PyThreadState* __tstate = wxPyBeginAllowThreads();
18487 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const &)*arg2);
18488
18489 wxPyEndAllowThreads(__tstate);
18490 if (PyErr_Occurred()) SWIG_fail;
18491 }
18492 resultobj = PyInt_FromLong((long)result);
18493 return resultobj;
18494 fail:
18495 return NULL;
18496}
18497
18498
18499static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
18500 PyObject *resultobj;
18501 wxDateTime *arg1 = (wxDateTime *) 0 ;
18502 wxString *arg2 = 0 ;
18503 int result;
e811c8ce 18504 bool temp2 = False ;
d14a1e28
RD
18505 PyObject * obj0 = 0 ;
18506 PyObject * obj1 = 0 ;
18507 char *kwnames[] = {
18508 (char *) "self",(char *) "date", NULL
18509 };
18510
18511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
18512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18513 {
18514 arg2 = wxString_in_helper(obj1);
18515 if (arg2 == NULL) SWIG_fail;
e811c8ce 18516 temp2 = True;
d14a1e28
RD
18517 }
18518 {
18519 PyThreadState* __tstate = wxPyBeginAllowThreads();
18520 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
18521
18522 wxPyEndAllowThreads(__tstate);
18523 if (PyErr_Occurred()) SWIG_fail;
18524 }
18525 resultobj = PyInt_FromLong((long)result);
18526 {
18527 if (temp2)
18528 delete arg2;
18529 }
18530 return resultobj;
18531 fail:
18532 {
18533 if (temp2)
18534 delete arg2;
18535 }
18536 return NULL;
18537}
18538
18539
18540static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
18541 PyObject *resultobj;
18542 wxDateTime *arg1 = (wxDateTime *) 0 ;
18543 wxString *arg2 = 0 ;
18544 wxString const &arg3_defvalue = wxPyDateFormatStr ;
18545 wxString *arg3 = (wxString *) &arg3_defvalue ;
18546 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
18547 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
18548 int result;
e811c8ce
RD
18549 bool temp2 = False ;
18550 bool temp3 = False ;
d14a1e28
RD
18551 PyObject * obj0 = 0 ;
18552 PyObject * obj1 = 0 ;
18553 PyObject * obj2 = 0 ;
18554 PyObject * obj3 = 0 ;
18555 char *kwnames[] = {
18556 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
18557 };
18558
18559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18561 {
18562 arg2 = wxString_in_helper(obj1);
18563 if (arg2 == NULL) SWIG_fail;
e811c8ce 18564 temp2 = True;
d14a1e28
RD
18565 }
18566 if (obj2) {
18567 {
18568 arg3 = wxString_in_helper(obj2);
18569 if (arg3 == NULL) SWIG_fail;
e811c8ce 18570 temp3 = True;
d14a1e28
RD
18571 }
18572 }
18573 if (obj3) {
18574 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18575 if (arg4 == NULL) {
18576 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18577 }
18578 }
18579 {
18580 PyThreadState* __tstate = wxPyBeginAllowThreads();
18581 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
18582
18583 wxPyEndAllowThreads(__tstate);
18584 if (PyErr_Occurred()) SWIG_fail;
18585 }
18586 resultobj = PyInt_FromLong((long)result);
18587 {
18588 if (temp2)
18589 delete arg2;
18590 }
18591 {
18592 if (temp3)
18593 delete arg3;
18594 }
18595 return resultobj;
18596 fail:
18597 {
18598 if (temp2)
18599 delete arg2;
18600 }
18601 {
18602 if (temp3)
18603 delete arg3;
18604 }
18605 return NULL;
18606}
18607
18608
18609static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18610 PyObject *resultobj;
18611 wxDateTime *arg1 = (wxDateTime *) 0 ;
18612 wxString *arg2 = 0 ;
18613 int result;
e811c8ce 18614 bool temp2 = False ;
d14a1e28
RD
18615 PyObject * obj0 = 0 ;
18616 PyObject * obj1 = 0 ;
18617 char *kwnames[] = {
18618 (char *) "self",(char *) "datetime", NULL
18619 };
18620
18621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
18622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18623 {
18624 arg2 = wxString_in_helper(obj1);
18625 if (arg2 == NULL) SWIG_fail;
e811c8ce 18626 temp2 = True;
d14a1e28
RD
18627 }
18628 {
18629 PyThreadState* __tstate = wxPyBeginAllowThreads();
18630 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
18631
18632 wxPyEndAllowThreads(__tstate);
18633 if (PyErr_Occurred()) SWIG_fail;
18634 }
18635 resultobj = PyInt_FromLong((long)result);
18636 {
18637 if (temp2)
18638 delete arg2;
18639 }
18640 return resultobj;
18641 fail:
18642 {
18643 if (temp2)
18644 delete arg2;
18645 }
18646 return NULL;
18647}
18648
18649
18650static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
18651 PyObject *resultobj;
18652 wxDateTime *arg1 = (wxDateTime *) 0 ;
18653 wxString *arg2 = 0 ;
18654 int result;
e811c8ce 18655 bool temp2 = False ;
d14a1e28
RD
18656 PyObject * obj0 = 0 ;
18657 PyObject * obj1 = 0 ;
18658 char *kwnames[] = {
18659 (char *) "self",(char *) "date", NULL
18660 };
18661
18662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
18663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18664 {
18665 arg2 = wxString_in_helper(obj1);
18666 if (arg2 == NULL) SWIG_fail;
e811c8ce 18667 temp2 = True;
d14a1e28
RD
18668 }
18669 {
18670 PyThreadState* __tstate = wxPyBeginAllowThreads();
18671 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
18672
18673 wxPyEndAllowThreads(__tstate);
18674 if (PyErr_Occurred()) SWIG_fail;
18675 }
18676 resultobj = PyInt_FromLong((long)result);
18677 {
18678 if (temp2)
18679 delete arg2;
18680 }
18681 return resultobj;
18682 fail:
18683 {
18684 if (temp2)
18685 delete arg2;
18686 }
18687 return NULL;
18688}
18689
18690
18691static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18692 PyObject *resultobj;
18693 wxDateTime *arg1 = (wxDateTime *) 0 ;
18694 wxString *arg2 = 0 ;
18695 int result;
e811c8ce 18696 bool temp2 = False ;
d14a1e28
RD
18697 PyObject * obj0 = 0 ;
18698 PyObject * obj1 = 0 ;
18699 char *kwnames[] = {
18700 (char *) "self",(char *) "time", NULL
18701 };
18702
18703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
18704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18705 {
18706 arg2 = wxString_in_helper(obj1);
18707 if (arg2 == NULL) SWIG_fail;
e811c8ce 18708 temp2 = True;
d14a1e28
RD
18709 }
18710 {
18711 PyThreadState* __tstate = wxPyBeginAllowThreads();
18712 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
18713
18714 wxPyEndAllowThreads(__tstate);
18715 if (PyErr_Occurred()) SWIG_fail;
18716 }
18717 resultobj = PyInt_FromLong((long)result);
18718 {
18719 if (temp2)
18720 delete arg2;
18721 }
18722 return resultobj;
18723 fail:
18724 {
18725 if (temp2)
18726 delete arg2;
18727 }
18728 return NULL;
18729}
18730
18731
18732static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
18733 PyObject *resultobj;
18734 wxDateTime *arg1 = (wxDateTime *) 0 ;
18735 wxString const &arg2_defvalue = wxPyDateFormatStr ;
18736 wxString *arg2 = (wxString *) &arg2_defvalue ;
18737 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
18738 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
18739 wxString result;
e811c8ce 18740 bool temp2 = False ;
7722248d 18741 bool temp3 = False ;
d14a1e28
RD
18742 PyObject * obj0 = 0 ;
18743 PyObject * obj1 = 0 ;
18744 PyObject * obj2 = 0 ;
18745 char *kwnames[] = {
18746 (char *) "self",(char *) "format",(char *) "tz", NULL
18747 };
18748
18749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
18750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18751 if (obj1) {
18752 {
18753 arg2 = wxString_in_helper(obj1);
18754 if (arg2 == NULL) SWIG_fail;
e811c8ce 18755 temp2 = True;
d14a1e28
RD
18756 }
18757 }
18758 if (obj2) {
18759 {
18760 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
7722248d 18761 temp3 = True;
d14a1e28
RD
18762 }
18763 }
18764 {
18765 PyThreadState* __tstate = wxPyBeginAllowThreads();
18766 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
18767
18768 wxPyEndAllowThreads(__tstate);
18769 if (PyErr_Occurred()) SWIG_fail;
18770 }
18771 {
18772#if wxUSE_UNICODE
18773 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18774#else
18775 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18776#endif
18777 }
18778 {
18779 if (temp2)
18780 delete arg2;
18781 }
18782 {
7722248d 18783 if (temp3) delete arg3;
d14a1e28
RD
18784 }
18785 return resultobj;
18786 fail:
18787 {
18788 if (temp2)
18789 delete arg2;
18790 }
18791 {
7722248d 18792 if (temp3) delete arg3;
d14a1e28
RD
18793 }
18794 return NULL;
18795}
18796
18797
18798static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
18799 PyObject *resultobj;
18800 wxDateTime *arg1 = (wxDateTime *) 0 ;
18801 wxString result;
18802 PyObject * obj0 = 0 ;
18803 char *kwnames[] = {
18804 (char *) "self", NULL
18805 };
18806
18807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
18808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18809 {
18810 PyThreadState* __tstate = wxPyBeginAllowThreads();
18811 result = ((wxDateTime const *)arg1)->FormatDate();
18812
18813 wxPyEndAllowThreads(__tstate);
18814 if (PyErr_Occurred()) SWIG_fail;
18815 }
18816 {
18817#if wxUSE_UNICODE
18818 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18819#else
18820 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18821#endif
18822 }
18823 return resultobj;
18824 fail:
18825 return NULL;
18826}
18827
18828
18829static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18830 PyObject *resultobj;
18831 wxDateTime *arg1 = (wxDateTime *) 0 ;
18832 wxString result;
18833 PyObject * obj0 = 0 ;
18834 char *kwnames[] = {
18835 (char *) "self", NULL
18836 };
18837
18838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
18839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18840 {
18841 PyThreadState* __tstate = wxPyBeginAllowThreads();
18842 result = ((wxDateTime const *)arg1)->FormatTime();
18843
18844 wxPyEndAllowThreads(__tstate);
18845 if (PyErr_Occurred()) SWIG_fail;
18846 }
18847 {
18848#if wxUSE_UNICODE
18849 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18850#else
18851 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18852#endif
18853 }
18854 return resultobj;
18855 fail:
18856 return NULL;
18857}
18858
18859
18860static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
18861 PyObject *resultobj;
18862 wxDateTime *arg1 = (wxDateTime *) 0 ;
18863 wxString result;
18864 PyObject * obj0 = 0 ;
18865 char *kwnames[] = {
18866 (char *) "self", NULL
18867 };
18868
18869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
18870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18871 {
18872 PyThreadState* __tstate = wxPyBeginAllowThreads();
18873 result = ((wxDateTime const *)arg1)->FormatISODate();
18874
18875 wxPyEndAllowThreads(__tstate);
18876 if (PyErr_Occurred()) SWIG_fail;
18877 }
18878 {
18879#if wxUSE_UNICODE
18880 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18881#else
18882 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18883#endif
18884 }
18885 return resultobj;
18886 fail:
18887 return NULL;
18888}
18889
18890
18891static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18892 PyObject *resultobj;
18893 wxDateTime *arg1 = (wxDateTime *) 0 ;
18894 wxString result;
18895 PyObject * obj0 = 0 ;
18896 char *kwnames[] = {
18897 (char *) "self", NULL
18898 };
18899
18900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
18901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18902 {
18903 PyThreadState* __tstate = wxPyBeginAllowThreads();
18904 result = ((wxDateTime const *)arg1)->FormatISOTime();
18905
18906 wxPyEndAllowThreads(__tstate);
18907 if (PyErr_Occurred()) SWIG_fail;
18908 }
18909 {
18910#if wxUSE_UNICODE
18911 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18912#else
18913 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18914#endif
18915 }
18916 return resultobj;
18917 fail:
18918 return NULL;
18919}
18920
18921
18922static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
18923 PyObject *obj;
18924 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18925 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
18926 Py_INCREF(obj);
18927 return Py_BuildValue((char *)"");
18928}
18929static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
18930 PyObject *resultobj;
18931 long arg1 ;
18932 wxTimeSpan result;
18933 char *kwnames[] = {
18934 (char *) "sec", NULL
18935 };
18936
18937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Seconds",kwnames,&arg1)) goto fail;
18938 {
18939 PyThreadState* __tstate = wxPyBeginAllowThreads();
18940 result = wxTimeSpan::Seconds(arg1);
18941
18942 wxPyEndAllowThreads(__tstate);
18943 if (PyErr_Occurred()) SWIG_fail;
18944 }
18945 {
18946 wxTimeSpan * resultptr;
18947 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18948 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18949 }
18950 return resultobj;
18951 fail:
18952 return NULL;
18953}
18954
18955
18956static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
18957 PyObject *resultobj;
18958 wxTimeSpan result;
18959 char *kwnames[] = {
18960 NULL
18961 };
18962
18963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
18964 {
18965 PyThreadState* __tstate = wxPyBeginAllowThreads();
18966 result = wxTimeSpan::Second();
18967
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
18971 {
18972 wxTimeSpan * resultptr;
18973 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18974 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18975 }
18976 return resultobj;
18977 fail:
18978 return NULL;
18979}
18980
18981
18982static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
18983 PyObject *resultobj;
18984 long arg1 ;
18985 wxTimeSpan result;
18986 char *kwnames[] = {
18987 (char *) "min", NULL
18988 };
18989
18990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Minutes",kwnames,&arg1)) goto fail;
18991 {
18992 PyThreadState* __tstate = wxPyBeginAllowThreads();
18993 result = wxTimeSpan::Minutes(arg1);
18994
18995 wxPyEndAllowThreads(__tstate);
18996 if (PyErr_Occurred()) SWIG_fail;
18997 }
18998 {
18999 wxTimeSpan * resultptr;
19000 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19001 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19002 }
19003 return resultobj;
19004 fail:
19005 return NULL;
19006}
19007
19008
19009static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
19010 PyObject *resultobj;
19011 wxTimeSpan result;
19012 char *kwnames[] = {
19013 NULL
19014 };
19015
19016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
19017 {
19018 PyThreadState* __tstate = wxPyBeginAllowThreads();
19019 result = wxTimeSpan::Minute();
19020
19021 wxPyEndAllowThreads(__tstate);
19022 if (PyErr_Occurred()) SWIG_fail;
19023 }
19024 {
19025 wxTimeSpan * resultptr;
19026 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19027 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19028 }
19029 return resultobj;
19030 fail:
19031 return NULL;
19032}
19033
19034
19035static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
19036 PyObject *resultobj;
19037 long arg1 ;
19038 wxTimeSpan result;
19039 char *kwnames[] = {
19040 (char *) "hours", NULL
19041 };
19042
19043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Hours",kwnames,&arg1)) goto fail;
19044 {
19045 PyThreadState* __tstate = wxPyBeginAllowThreads();
19046 result = wxTimeSpan::Hours(arg1);
19047
19048 wxPyEndAllowThreads(__tstate);
19049 if (PyErr_Occurred()) SWIG_fail;
19050 }
19051 {
19052 wxTimeSpan * resultptr;
19053 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19054 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19055 }
19056 return resultobj;
19057 fail:
19058 return NULL;
19059}
19060
19061
19062static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
19063 PyObject *resultobj;
19064 wxTimeSpan result;
19065 char *kwnames[] = {
19066 NULL
19067 };
19068
19069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
19070 {
19071 PyThreadState* __tstate = wxPyBeginAllowThreads();
19072 result = wxTimeSpan::Hour();
19073
19074 wxPyEndAllowThreads(__tstate);
19075 if (PyErr_Occurred()) SWIG_fail;
19076 }
19077 {
19078 wxTimeSpan * resultptr;
19079 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19080 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19081 }
19082 return resultobj;
19083 fail:
19084 return NULL;
19085}
19086
19087
19088static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
19089 PyObject *resultobj;
19090 long arg1 ;
19091 wxTimeSpan result;
19092 char *kwnames[] = {
19093 (char *) "days", NULL
19094 };
19095
19096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Days",kwnames,&arg1)) goto fail;
19097 {
19098 PyThreadState* __tstate = wxPyBeginAllowThreads();
19099 result = wxTimeSpan::Days(arg1);
19100
19101 wxPyEndAllowThreads(__tstate);
19102 if (PyErr_Occurred()) SWIG_fail;
19103 }
19104 {
19105 wxTimeSpan * resultptr;
19106 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19107 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19108 }
19109 return resultobj;
19110 fail:
19111 return NULL;
19112}
19113
19114
19115static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
19116 PyObject *resultobj;
19117 wxTimeSpan result;
19118 char *kwnames[] = {
19119 NULL
19120 };
19121
19122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
19123 {
19124 PyThreadState* __tstate = wxPyBeginAllowThreads();
19125 result = wxTimeSpan::Day();
19126
19127 wxPyEndAllowThreads(__tstate);
19128 if (PyErr_Occurred()) SWIG_fail;
19129 }
19130 {
19131 wxTimeSpan * resultptr;
19132 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19133 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19134 }
19135 return resultobj;
19136 fail:
19137 return NULL;
19138}
19139
19140
19141static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
19142 PyObject *resultobj;
19143 long arg1 ;
19144 wxTimeSpan result;
19145 char *kwnames[] = {
19146 (char *) "days", NULL
19147 };
19148
19149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Weeks",kwnames,&arg1)) goto fail;
19150 {
19151 PyThreadState* __tstate = wxPyBeginAllowThreads();
19152 result = wxTimeSpan::Weeks(arg1);
19153
19154 wxPyEndAllowThreads(__tstate);
19155 if (PyErr_Occurred()) SWIG_fail;
19156 }
19157 {
19158 wxTimeSpan * resultptr;
19159 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19160 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19161 }
19162 return resultobj;
19163 fail:
19164 return NULL;
19165}
19166
19167
19168static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
19169 PyObject *resultobj;
19170 wxTimeSpan result;
19171 char *kwnames[] = {
19172 NULL
19173 };
19174
19175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
19176 {
19177 PyThreadState* __tstate = wxPyBeginAllowThreads();
19178 result = wxTimeSpan::Week();
19179
19180 wxPyEndAllowThreads(__tstate);
19181 if (PyErr_Occurred()) SWIG_fail;
19182 }
19183 {
19184 wxTimeSpan * resultptr;
19185 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19186 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19187 }
19188 return resultobj;
19189 fail:
19190 return NULL;
19191}
19192
19193
19194static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19195 PyObject *resultobj;
19196 long arg1 = (long) 0 ;
19197 long arg2 = (long) 0 ;
19198 long arg3 = (long) 0 ;
19199 long arg4 = (long) 0 ;
19200 wxTimeSpan *result;
19201 char *kwnames[] = {
19202 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
19203 };
19204
19205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|llll:new_TimeSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
19206 {
19207 PyThreadState* __tstate = wxPyBeginAllowThreads();
19208 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
19209
19210 wxPyEndAllowThreads(__tstate);
19211 if (PyErr_Occurred()) SWIG_fail;
19212 }
19213 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 1);
19214 return resultobj;
19215 fail:
19216 return NULL;
19217}
19218
19219
19220static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19221 PyObject *resultobj;
19222 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19223 PyObject * obj0 = 0 ;
19224 char *kwnames[] = {
19225 (char *) "self", NULL
19226 };
19227
19228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
19229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19230 {
19231 PyThreadState* __tstate = wxPyBeginAllowThreads();
19232 delete arg1;
19233
19234 wxPyEndAllowThreads(__tstate);
19235 if (PyErr_Occurred()) SWIG_fail;
19236 }
19237 Py_INCREF(Py_None); resultobj = Py_None;
19238 return resultobj;
19239 fail:
19240 return NULL;
19241}
19242
19243
19244static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
19245 PyObject *resultobj;
19246 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19247 wxTimeSpan *arg2 = 0 ;
19248 wxTimeSpan *result;
19249 PyObject * obj0 = 0 ;
19250 PyObject * obj1 = 0 ;
19251 char *kwnames[] = {
19252 (char *) "self",(char *) "diff", NULL
19253 };
19254
19255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
19256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19257 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19258 if (arg2 == NULL) {
19259 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19260 }
19261 {
19262 PyThreadState* __tstate = wxPyBeginAllowThreads();
19263 {
19264 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19265 result = (wxTimeSpan *) &_result_ref;
19266 }
19267
19268 wxPyEndAllowThreads(__tstate);
19269 if (PyErr_Occurred()) SWIG_fail;
19270 }
19271 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19272 return resultobj;
19273 fail:
19274 return NULL;
19275}
19276
19277
19278static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19279 PyObject *resultobj;
19280 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19281 wxTimeSpan *arg2 = 0 ;
19282 wxTimeSpan *result;
19283 PyObject * obj0 = 0 ;
19284 PyObject * obj1 = 0 ;
19285 char *kwnames[] = {
19286 (char *) "self",(char *) "diff", NULL
19287 };
19288
19289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
19290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19291 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19292 if (arg2 == NULL) {
19293 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19294 }
19295 {
19296 PyThreadState* __tstate = wxPyBeginAllowThreads();
19297 {
19298 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19299 result = (wxTimeSpan *) &_result_ref;
19300 }
19301
19302 wxPyEndAllowThreads(__tstate);
19303 if (PyErr_Occurred()) SWIG_fail;
19304 }
19305 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19306 return resultobj;
19307 fail:
19308 return NULL;
19309}
19310
19311
19312static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
19313 PyObject *resultobj;
19314 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19315 int arg2 ;
19316 wxTimeSpan *result;
19317 PyObject * obj0 = 0 ;
19318 char *kwnames[] = {
19319 (char *) "self",(char *) "n", NULL
19320 };
19321
19322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
19323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19324 {
19325 PyThreadState* __tstate = wxPyBeginAllowThreads();
19326 {
19327 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
19328 result = (wxTimeSpan *) &_result_ref;
19329 }
19330
19331 wxPyEndAllowThreads(__tstate);
19332 if (PyErr_Occurred()) SWIG_fail;
19333 }
19334 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19335 return resultobj;
19336 fail:
19337 return NULL;
19338}
19339
19340
19341static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
19342 PyObject *resultobj;
19343 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19344 wxTimeSpan *result;
19345 PyObject * obj0 = 0 ;
19346 char *kwnames[] = {
19347 (char *) "self", NULL
19348 };
19349
19350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
19351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19352 {
19353 PyThreadState* __tstate = wxPyBeginAllowThreads();
19354 {
19355 wxTimeSpan &_result_ref = (arg1)->Neg();
19356 result = (wxTimeSpan *) &_result_ref;
19357 }
19358
19359 wxPyEndAllowThreads(__tstate);
19360 if (PyErr_Occurred()) SWIG_fail;
19361 }
19362 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19363 return resultobj;
19364 fail:
19365 return NULL;
19366}
19367
19368
19369static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
19370 PyObject *resultobj;
19371 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19372 wxTimeSpan result;
19373 PyObject * obj0 = 0 ;
19374 char *kwnames[] = {
19375 (char *) "self", NULL
19376 };
19377
19378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
19379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19380 {
19381 PyThreadState* __tstate = wxPyBeginAllowThreads();
19382 result = ((wxTimeSpan const *)arg1)->Abs();
19383
19384 wxPyEndAllowThreads(__tstate);
19385 if (PyErr_Occurred()) SWIG_fail;
19386 }
19387 {
19388 wxTimeSpan * resultptr;
19389 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19390 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19391 }
19392 return resultobj;
19393 fail:
19394 return NULL;
19395}
19396
19397
19398static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
19399 PyObject *resultobj;
19400 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19401 wxTimeSpan *arg2 = 0 ;
19402 wxTimeSpan *result;
19403 PyObject * obj0 = 0 ;
19404 PyObject * obj1 = 0 ;
19405 char *kwnames[] = {
19406 (char *) "self",(char *) "diff", NULL
19407 };
19408
19409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
19410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19411 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19412 if (arg2 == NULL) {
19413 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19414 }
19415 {
19416 PyThreadState* __tstate = wxPyBeginAllowThreads();
19417 {
19418 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19419 result = (wxTimeSpan *) &_result_ref;
19420 }
19421
19422 wxPyEndAllowThreads(__tstate);
19423 if (PyErr_Occurred()) SWIG_fail;
19424 }
19425 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19426 return resultobj;
19427 fail:
19428 return NULL;
19429}
19430
19431
19432static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19433 PyObject *resultobj;
19434 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19435 wxTimeSpan *arg2 = 0 ;
19436 wxTimeSpan *result;
19437 PyObject * obj0 = 0 ;
19438 PyObject * obj1 = 0 ;
19439 char *kwnames[] = {
19440 (char *) "self",(char *) "diff", NULL
19441 };
19442
19443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
19444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19445 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19446 if (arg2 == NULL) {
19447 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19448 }
19449 {
19450 PyThreadState* __tstate = wxPyBeginAllowThreads();
19451 {
19452 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
19453 result = (wxTimeSpan *) &_result_ref;
19454 }
19455
19456 wxPyEndAllowThreads(__tstate);
19457 if (PyErr_Occurred()) SWIG_fail;
19458 }
19459 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19460 return resultobj;
19461 fail:
19462 return NULL;
19463}
19464
19465
19466static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19467 PyObject *resultobj;
19468 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19469 int arg2 ;
19470 wxTimeSpan *result;
19471 PyObject * obj0 = 0 ;
19472 char *kwnames[] = {
19473 (char *) "self",(char *) "n", NULL
19474 };
19475
19476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
19477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19478 {
19479 PyThreadState* __tstate = wxPyBeginAllowThreads();
19480 {
19481 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
19482 result = (wxTimeSpan *) &_result_ref;
19483 }
19484
19485 wxPyEndAllowThreads(__tstate);
19486 if (PyErr_Occurred()) SWIG_fail;
19487 }
19488 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19489 return resultobj;
19490 fail:
19491 return NULL;
19492}
19493
19494
19495static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
19496 PyObject *resultobj;
19497 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19498 wxTimeSpan *result;
19499 PyObject * obj0 = 0 ;
19500 char *kwnames[] = {
19501 (char *) "self", NULL
19502 };
19503
19504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
19505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19506 {
19507 PyThreadState* __tstate = wxPyBeginAllowThreads();
19508 {
19509 wxTimeSpan &_result_ref = (arg1)->operator -();
19510 result = (wxTimeSpan *) &_result_ref;
19511 }
19512
19513 wxPyEndAllowThreads(__tstate);
19514 if (PyErr_Occurred()) SWIG_fail;
19515 }
19516 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19517 return resultobj;
19518 fail:
19519 return NULL;
19520}
19521
19522
19523static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
19524 PyObject *resultobj;
19525 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19526 wxTimeSpan *arg2 = 0 ;
19527 wxTimeSpan result;
19528 PyObject * obj0 = 0 ;
19529 PyObject * obj1 = 0 ;
19530 char *kwnames[] = {
19531 (char *) "self",(char *) "other", NULL
19532 };
19533
19534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
19535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19536 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19537 if (arg2 == NULL) {
19538 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19539 }
19540 {
19541 PyThreadState* __tstate = wxPyBeginAllowThreads();
19542 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
19543
19544 wxPyEndAllowThreads(__tstate);
19545 if (PyErr_Occurred()) SWIG_fail;
19546 }
19547 {
19548 wxTimeSpan * resultptr;
19549 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19550 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19551 }
19552 return resultobj;
19553 fail:
19554 return NULL;
19555}
19556
19557
19558static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19559 PyObject *resultobj;
19560 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19561 wxTimeSpan *arg2 = 0 ;
19562 wxTimeSpan result;
19563 PyObject * obj0 = 0 ;
19564 PyObject * obj1 = 0 ;
19565 char *kwnames[] = {
19566 (char *) "self",(char *) "other", NULL
19567 };
19568
19569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
19570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19571 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19572 if (arg2 == NULL) {
19573 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19574 }
19575 {
19576 PyThreadState* __tstate = wxPyBeginAllowThreads();
19577 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
19578
19579 wxPyEndAllowThreads(__tstate);
19580 if (PyErr_Occurred()) SWIG_fail;
19581 }
19582 {
19583 wxTimeSpan * resultptr;
19584 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19585 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19586 }
19587 return resultobj;
19588 fail:
19589 return NULL;
19590}
19591
19592
19593static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19594 PyObject *resultobj;
19595 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19596 int arg2 ;
19597 wxTimeSpan result;
19598 PyObject * obj0 = 0 ;
19599 char *kwnames[] = {
19600 (char *) "self",(char *) "n", NULL
19601 };
19602
19603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
19604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19605 {
19606 PyThreadState* __tstate = wxPyBeginAllowThreads();
19607 result = wxTimeSpan___mul__(arg1,arg2);
19608
19609 wxPyEndAllowThreads(__tstate);
19610 if (PyErr_Occurred()) SWIG_fail;
19611 }
19612 {
19613 wxTimeSpan * resultptr;
19614 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19615 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19616 }
19617 return resultobj;
19618 fail:
19619 return NULL;
19620}
19621
19622
19623static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19624 PyObject *resultobj;
19625 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19626 int arg2 ;
19627 wxTimeSpan result;
19628 PyObject * obj0 = 0 ;
19629 char *kwnames[] = {
19630 (char *) "self",(char *) "n", NULL
19631 };
19632
19633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
19634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19635 {
19636 PyThreadState* __tstate = wxPyBeginAllowThreads();
19637 result = wxTimeSpan___rmul__(arg1,arg2);
19638
19639 wxPyEndAllowThreads(__tstate);
19640 if (PyErr_Occurred()) SWIG_fail;
19641 }
19642 {
19643 wxTimeSpan * resultptr;
19644 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19645 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19646 }
19647 return resultobj;
19648 fail:
19649 return NULL;
19650}
19651
19652
19653static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19654 PyObject *resultobj;
19655 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19656 wxTimeSpan *arg2 = 0 ;
19657 bool result;
19658 PyObject * obj0 = 0 ;
19659 PyObject * obj1 = 0 ;
19660 char *kwnames[] = {
19661 (char *) "self",(char *) "other", NULL
19662 };
19663
19664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
19665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19666 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19667 if (arg2 == NULL) {
19668 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19669 }
19670 {
19671 PyThreadState* __tstate = wxPyBeginAllowThreads();
19672 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const &)*arg2);
19673
19674 wxPyEndAllowThreads(__tstate);
19675 if (PyErr_Occurred()) SWIG_fail;
19676 }
19677 resultobj = PyInt_FromLong((long)result);
19678 return resultobj;
19679 fail:
19680 return NULL;
19681}
19682
19683
19684static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
19685 PyObject *resultobj;
19686 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19687 wxTimeSpan *arg2 = 0 ;
19688 bool result;
19689 PyObject * obj0 = 0 ;
19690 PyObject * obj1 = 0 ;
19691 char *kwnames[] = {
19692 (char *) "self",(char *) "other", NULL
19693 };
19694
19695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
19696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19697 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19698 if (arg2 == NULL) {
19699 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19700 }
19701 {
19702 PyThreadState* __tstate = wxPyBeginAllowThreads();
19703 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const &)*arg2);
19704
19705 wxPyEndAllowThreads(__tstate);
19706 if (PyErr_Occurred()) SWIG_fail;
19707 }
19708 resultobj = PyInt_FromLong((long)result);
19709 return resultobj;
19710 fail:
19711 return NULL;
19712}
19713
19714
19715static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19716 PyObject *resultobj;
19717 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19718 wxTimeSpan *arg2 = 0 ;
19719 bool result;
19720 PyObject * obj0 = 0 ;
19721 PyObject * obj1 = 0 ;
19722 char *kwnames[] = {
19723 (char *) "self",(char *) "other", NULL
19724 };
19725
19726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
19727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19728 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19729 if (arg2 == NULL) {
19730 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19731 }
19732 {
19733 PyThreadState* __tstate = wxPyBeginAllowThreads();
19734 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const &)*arg2);
19735
19736 wxPyEndAllowThreads(__tstate);
19737 if (PyErr_Occurred()) SWIG_fail;
19738 }
19739 resultobj = PyInt_FromLong((long)result);
19740 return resultobj;
19741 fail:
19742 return NULL;
19743}
19744
19745
19746static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
19747 PyObject *resultobj;
19748 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19749 wxTimeSpan *arg2 = 0 ;
19750 bool result;
19751 PyObject * obj0 = 0 ;
19752 PyObject * obj1 = 0 ;
19753 char *kwnames[] = {
19754 (char *) "self",(char *) "other", NULL
19755 };
19756
19757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
19758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19759 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19760 if (arg2 == NULL) {
19761 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19762 }
19763 {
19764 PyThreadState* __tstate = wxPyBeginAllowThreads();
19765 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const &)*arg2);
19766
19767 wxPyEndAllowThreads(__tstate);
19768 if (PyErr_Occurred()) SWIG_fail;
19769 }
19770 resultobj = PyInt_FromLong((long)result);
19771 return resultobj;
19772 fail:
19773 return NULL;
19774}
19775
19776
19777static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19778 PyObject *resultobj;
19779 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19780 wxTimeSpan *arg2 = 0 ;
19781 bool result;
19782 PyObject * obj0 = 0 ;
19783 PyObject * obj1 = 0 ;
19784 char *kwnames[] = {
19785 (char *) "self",(char *) "other", NULL
19786 };
19787
19788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
19789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19790 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19791 if (arg2 == NULL) {
19792 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19793 }
19794 {
19795 PyThreadState* __tstate = wxPyBeginAllowThreads();
19796 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const &)*arg2);
19797
19798 wxPyEndAllowThreads(__tstate);
19799 if (PyErr_Occurred()) SWIG_fail;
19800 }
19801 resultobj = PyInt_FromLong((long)result);
19802 return resultobj;
19803 fail:
19804 return NULL;
19805}
19806
19807
19808static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19809 PyObject *resultobj;
19810 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19811 wxTimeSpan *arg2 = 0 ;
19812 bool result;
19813 PyObject * obj0 = 0 ;
19814 PyObject * obj1 = 0 ;
19815 char *kwnames[] = {
19816 (char *) "self",(char *) "other", NULL
19817 };
19818
19819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
19820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19821 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19822 if (arg2 == NULL) {
19823 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19824 }
19825 {
19826 PyThreadState* __tstate = wxPyBeginAllowThreads();
19827 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const &)*arg2);
19828
19829 wxPyEndAllowThreads(__tstate);
19830 if (PyErr_Occurred()) SWIG_fail;
19831 }
19832 resultobj = PyInt_FromLong((long)result);
19833 return resultobj;
19834 fail:
19835 return NULL;
19836}
19837
19838
19839static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
19840 PyObject *resultobj;
19841 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19842 bool result;
19843 PyObject * obj0 = 0 ;
19844 char *kwnames[] = {
19845 (char *) "self", NULL
19846 };
19847
19848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
19849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19850 {
19851 PyThreadState* __tstate = wxPyBeginAllowThreads();
19852 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
19853
19854 wxPyEndAllowThreads(__tstate);
19855 if (PyErr_Occurred()) SWIG_fail;
19856 }
19857 resultobj = PyInt_FromLong((long)result);
19858 return resultobj;
19859 fail:
19860 return NULL;
19861}
19862
19863
19864static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
19865 PyObject *resultobj;
19866 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19867 bool result;
19868 PyObject * obj0 = 0 ;
19869 char *kwnames[] = {
19870 (char *) "self", NULL
19871 };
19872
19873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
19874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19875 {
19876 PyThreadState* __tstate = wxPyBeginAllowThreads();
19877 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
19878
19879 wxPyEndAllowThreads(__tstate);
19880 if (PyErr_Occurred()) SWIG_fail;
19881 }
19882 resultobj = PyInt_FromLong((long)result);
19883 return resultobj;
19884 fail:
19885 return NULL;
19886}
19887
19888
19889static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
19890 PyObject *resultobj;
19891 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19892 bool result;
19893 PyObject * obj0 = 0 ;
19894 char *kwnames[] = {
19895 (char *) "self", NULL
19896 };
19897
19898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
19899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19900 {
19901 PyThreadState* __tstate = wxPyBeginAllowThreads();
19902 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
19903
19904 wxPyEndAllowThreads(__tstate);
19905 if (PyErr_Occurred()) SWIG_fail;
19906 }
19907 resultobj = PyInt_FromLong((long)result);
19908 return resultobj;
19909 fail:
19910 return NULL;
19911}
19912
19913
19914static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19915 PyObject *resultobj;
19916 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19917 wxTimeSpan *arg2 = 0 ;
19918 bool result;
19919 PyObject * obj0 = 0 ;
19920 PyObject * obj1 = 0 ;
19921 char *kwnames[] = {
19922 (char *) "self",(char *) "ts", NULL
19923 };
19924
19925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
19926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19927 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19928 if (arg2 == NULL) {
19929 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19930 }
19931 {
19932 PyThreadState* __tstate = wxPyBeginAllowThreads();
19933 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
19934
19935 wxPyEndAllowThreads(__tstate);
19936 if (PyErr_Occurred()) SWIG_fail;
19937 }
19938 resultobj = PyInt_FromLong((long)result);
19939 return resultobj;
19940 fail:
19941 return NULL;
19942}
19943
19944
19945static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19946 PyObject *resultobj;
19947 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19948 wxTimeSpan *arg2 = 0 ;
19949 bool result;
19950 PyObject * obj0 = 0 ;
19951 PyObject * obj1 = 0 ;
19952 char *kwnames[] = {
19953 (char *) "self",(char *) "ts", NULL
19954 };
19955
19956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
19957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19958 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19959 if (arg2 == NULL) {
19960 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19961 }
19962 {
19963 PyThreadState* __tstate = wxPyBeginAllowThreads();
19964 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
19965
19966 wxPyEndAllowThreads(__tstate);
19967 if (PyErr_Occurred()) SWIG_fail;
19968 }
19969 resultobj = PyInt_FromLong((long)result);
19970 return resultobj;
19971 fail:
19972 return NULL;
19973}
19974
19975
19976static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19977 PyObject *resultobj;
19978 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19979 wxTimeSpan *arg2 = 0 ;
19980 bool result;
19981 PyObject * obj0 = 0 ;
19982 PyObject * obj1 = 0 ;
19983 char *kwnames[] = {
19984 (char *) "self",(char *) "t", NULL
19985 };
19986
19987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
19988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19989 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19990 if (arg2 == NULL) {
19991 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19992 }
19993 {
19994 PyThreadState* __tstate = wxPyBeginAllowThreads();
19995 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
19996
19997 wxPyEndAllowThreads(__tstate);
19998 if (PyErr_Occurred()) SWIG_fail;
19999 }
20000 resultobj = PyInt_FromLong((long)result);
20001 return resultobj;
20002 fail:
20003 return NULL;
20004}
20005
20006
20007static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20008 PyObject *resultobj;
20009 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20010 int result;
20011 PyObject * obj0 = 0 ;
20012 char *kwnames[] = {
20013 (char *) "self", NULL
20014 };
20015
20016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
20017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20018 {
20019 PyThreadState* __tstate = wxPyBeginAllowThreads();
20020 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
20021
20022 wxPyEndAllowThreads(__tstate);
20023 if (PyErr_Occurred()) SWIG_fail;
20024 }
20025 resultobj = PyInt_FromLong((long)result);
20026 return resultobj;
20027 fail:
20028 return NULL;
20029}
20030
20031
20032static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20033 PyObject *resultobj;
20034 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20035 int result;
20036 PyObject * obj0 = 0 ;
20037 char *kwnames[] = {
20038 (char *) "self", NULL
20039 };
20040
20041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
20042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20043 {
20044 PyThreadState* __tstate = wxPyBeginAllowThreads();
20045 result = (int)((wxTimeSpan const *)arg1)->GetDays();
20046
20047 wxPyEndAllowThreads(__tstate);
20048 if (PyErr_Occurred()) SWIG_fail;
20049 }
20050 resultobj = PyInt_FromLong((long)result);
20051 return resultobj;
20052 fail:
20053 return NULL;
20054}
20055
20056
20057static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
20058 PyObject *resultobj;
20059 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20060 int result;
20061 PyObject * obj0 = 0 ;
20062 char *kwnames[] = {
20063 (char *) "self", NULL
20064 };
20065
20066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
20067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20068 {
20069 PyThreadState* __tstate = wxPyBeginAllowThreads();
20070 result = (int)((wxTimeSpan const *)arg1)->GetHours();
20071
20072 wxPyEndAllowThreads(__tstate);
20073 if (PyErr_Occurred()) SWIG_fail;
20074 }
20075 resultobj = PyInt_FromLong((long)result);
20076 return resultobj;
20077 fail:
20078 return NULL;
20079}
20080
20081
20082static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
20083 PyObject *resultobj;
20084 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20085 int result;
20086 PyObject * obj0 = 0 ;
20087 char *kwnames[] = {
20088 (char *) "self", NULL
20089 };
20090
20091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
20092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20093 {
20094 PyThreadState* __tstate = wxPyBeginAllowThreads();
20095 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
20096
20097 wxPyEndAllowThreads(__tstate);
20098 if (PyErr_Occurred()) SWIG_fail;
20099 }
20100 resultobj = PyInt_FromLong((long)result);
20101 return resultobj;
20102 fail:
20103 return NULL;
20104}
20105
20106
20107static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20108 PyObject *resultobj;
20109 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20110 wxLongLong result;
20111 PyObject * obj0 = 0 ;
20112 char *kwnames[] = {
20113 (char *) "self", NULL
20114 };
20115
20116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
20117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20118 {
20119 PyThreadState* __tstate = wxPyBeginAllowThreads();
20120 result = ((wxTimeSpan const *)arg1)->GetSeconds();
20121
20122 wxPyEndAllowThreads(__tstate);
20123 if (PyErr_Occurred()) SWIG_fail;
20124 }
20125 {
20126 PyObject *hi, *lo, *shifter, *shifted;
20127 hi = PyLong_FromLong( (&result)->GetHi() );
20128 lo = PyLong_FromLong( (&result)->GetLo() );
20129 shifter = PyLong_FromLong(32);
20130 shifted = PyNumber_Lshift(hi, shifter);
20131 resultobj = PyNumber_Or(shifted, lo);
20132 Py_DECREF(hi);
20133 Py_DECREF(lo);
20134 Py_DECREF(shifter);
20135 Py_DECREF(shifted);
20136 }
20137 return resultobj;
20138 fail:
20139 return NULL;
20140}
20141
20142
20143static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20144 PyObject *resultobj;
20145 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20146 wxLongLong result;
20147 PyObject * obj0 = 0 ;
20148 char *kwnames[] = {
20149 (char *) "self", NULL
20150 };
20151
20152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
20153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20154 {
20155 PyThreadState* __tstate = wxPyBeginAllowThreads();
20156 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
20157
20158 wxPyEndAllowThreads(__tstate);
20159 if (PyErr_Occurred()) SWIG_fail;
20160 }
20161 {
20162 PyObject *hi, *lo, *shifter, *shifted;
20163 hi = PyLong_FromLong( (&result)->GetHi() );
20164 lo = PyLong_FromLong( (&result)->GetLo() );
20165 shifter = PyLong_FromLong(32);
20166 shifted = PyNumber_Lshift(hi, shifter);
20167 resultobj = PyNumber_Or(shifted, lo);
20168 Py_DECREF(hi);
20169 Py_DECREF(lo);
20170 Py_DECREF(shifter);
20171 Py_DECREF(shifted);
20172 }
20173 return resultobj;
20174 fail:
20175 return NULL;
20176}
20177
20178
20179static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
20180 PyObject *resultobj;
20181 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20182 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
20183 wxString *arg2 = (wxString *) &arg2_defvalue ;
20184 wxString result;
e811c8ce 20185 bool temp2 = False ;
d14a1e28
RD
20186 PyObject * obj0 = 0 ;
20187 PyObject * obj1 = 0 ;
20188 char *kwnames[] = {
20189 (char *) "self",(char *) "format", NULL
20190 };
20191
20192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
20193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20194 if (obj1) {
20195 {
20196 arg2 = wxString_in_helper(obj1);
20197 if (arg2 == NULL) SWIG_fail;
e811c8ce 20198 temp2 = True;
d14a1e28
RD
20199 }
20200 }
20201 {
20202 PyThreadState* __tstate = wxPyBeginAllowThreads();
20203 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
20204
20205 wxPyEndAllowThreads(__tstate);
20206 if (PyErr_Occurred()) SWIG_fail;
20207 }
20208 {
20209#if wxUSE_UNICODE
20210 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20211#else
20212 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20213#endif
20214 }
20215 {
20216 if (temp2)
20217 delete arg2;
20218 }
20219 return resultobj;
20220 fail:
20221 {
20222 if (temp2)
20223 delete arg2;
20224 }
20225 return NULL;
20226}
20227
20228
20229static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
20230 PyObject *obj;
20231 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20232 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
20233 Py_INCREF(obj);
20234 return Py_BuildValue((char *)"");
20235}
20236static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20237 PyObject *resultobj;
20238 int arg1 = (int) 0 ;
20239 int arg2 = (int) 0 ;
20240 int arg3 = (int) 0 ;
20241 int arg4 = (int) 0 ;
20242 wxDateSpan *result;
20243 char *kwnames[] = {
20244 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
20245 };
20246
20247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_DateSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
20248 {
20249 PyThreadState* __tstate = wxPyBeginAllowThreads();
20250 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
20251
20252 wxPyEndAllowThreads(__tstate);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 1);
20256 return resultobj;
20257 fail:
20258 return NULL;
20259}
20260
20261
20262static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20263 PyObject *resultobj;
20264 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20265 PyObject * obj0 = 0 ;
20266 char *kwnames[] = {
20267 (char *) "self", NULL
20268 };
20269
20270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
20271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20272 {
20273 PyThreadState* __tstate = wxPyBeginAllowThreads();
20274 delete arg1;
20275
20276 wxPyEndAllowThreads(__tstate);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
20279 Py_INCREF(Py_None); resultobj = Py_None;
20280 return resultobj;
20281 fail:
20282 return NULL;
20283}
20284
20285
20286static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
20287 PyObject *resultobj;
20288 int arg1 ;
20289 wxDateSpan result;
20290 char *kwnames[] = {
20291 (char *) "days", NULL
20292 };
20293
20294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Days",kwnames,&arg1)) goto fail;
20295 {
20296 PyThreadState* __tstate = wxPyBeginAllowThreads();
20297 result = wxDateSpan::Days(arg1);
20298
20299 wxPyEndAllowThreads(__tstate);
20300 if (PyErr_Occurred()) SWIG_fail;
20301 }
20302 {
20303 wxDateSpan * resultptr;
20304 resultptr = new wxDateSpan((wxDateSpan &) result);
20305 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20306 }
20307 return resultobj;
20308 fail:
20309 return NULL;
20310}
20311
20312
20313static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
20314 PyObject *resultobj;
20315 wxDateSpan result;
20316 char *kwnames[] = {
20317 NULL
20318 };
20319
20320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
20321 {
20322 PyThreadState* __tstate = wxPyBeginAllowThreads();
20323 result = wxDateSpan::Day();
20324
20325 wxPyEndAllowThreads(__tstate);
20326 if (PyErr_Occurred()) SWIG_fail;
20327 }
20328 {
20329 wxDateSpan * resultptr;
20330 resultptr = new wxDateSpan((wxDateSpan &) result);
20331 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20332 }
20333 return resultobj;
20334 fail:
20335 return NULL;
20336}
20337
20338
20339static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20340 PyObject *resultobj;
20341 int arg1 ;
20342 wxDateSpan result;
20343 char *kwnames[] = {
20344 (char *) "weeks", NULL
20345 };
20346
20347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Weeks",kwnames,&arg1)) goto fail;
20348 {
20349 PyThreadState* __tstate = wxPyBeginAllowThreads();
20350 result = wxDateSpan::Weeks(arg1);
20351
20352 wxPyEndAllowThreads(__tstate);
20353 if (PyErr_Occurred()) SWIG_fail;
20354 }
20355 {
20356 wxDateSpan * resultptr;
20357 resultptr = new wxDateSpan((wxDateSpan &) result);
20358 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20359 }
20360 return resultobj;
20361 fail:
20362 return NULL;
20363}
20364
20365
20366static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
20367 PyObject *resultobj;
20368 wxDateSpan result;
20369 char *kwnames[] = {
20370 NULL
20371 };
20372
20373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
20374 {
20375 PyThreadState* __tstate = wxPyBeginAllowThreads();
20376 result = wxDateSpan::Week();
20377
20378 wxPyEndAllowThreads(__tstate);
20379 if (PyErr_Occurred()) SWIG_fail;
20380 }
20381 {
20382 wxDateSpan * resultptr;
20383 resultptr = new wxDateSpan((wxDateSpan &) result);
20384 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20385 }
20386 return resultobj;
20387 fail:
20388 return NULL;
20389}
20390
20391
20392static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
20393 PyObject *resultobj;
20394 int arg1 ;
20395 wxDateSpan result;
20396 char *kwnames[] = {
20397 (char *) "mon", NULL
20398 };
20399
20400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Months",kwnames,&arg1)) goto fail;
20401 {
20402 PyThreadState* __tstate = wxPyBeginAllowThreads();
20403 result = wxDateSpan::Months(arg1);
20404
20405 wxPyEndAllowThreads(__tstate);
20406 if (PyErr_Occurred()) SWIG_fail;
20407 }
20408 {
20409 wxDateSpan * resultptr;
20410 resultptr = new wxDateSpan((wxDateSpan &) result);
20411 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20412 }
20413 return resultobj;
20414 fail:
20415 return NULL;
20416}
20417
20418
20419static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
20420 PyObject *resultobj;
20421 wxDateSpan result;
20422 char *kwnames[] = {
20423 NULL
20424 };
20425
20426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
20427 {
20428 PyThreadState* __tstate = wxPyBeginAllowThreads();
20429 result = wxDateSpan::Month();
20430
20431 wxPyEndAllowThreads(__tstate);
20432 if (PyErr_Occurred()) SWIG_fail;
20433 }
20434 {
20435 wxDateSpan * resultptr;
20436 resultptr = new wxDateSpan((wxDateSpan &) result);
20437 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20438 }
20439 return resultobj;
20440 fail:
20441 return NULL;
20442}
20443
20444
20445static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
20446 PyObject *resultobj;
20447 int arg1 ;
20448 wxDateSpan result;
20449 char *kwnames[] = {
20450 (char *) "years", NULL
20451 };
20452
20453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Years",kwnames,&arg1)) goto fail;
20454 {
20455 PyThreadState* __tstate = wxPyBeginAllowThreads();
20456 result = wxDateSpan::Years(arg1);
20457
20458 wxPyEndAllowThreads(__tstate);
20459 if (PyErr_Occurred()) SWIG_fail;
20460 }
20461 {
20462 wxDateSpan * resultptr;
20463 resultptr = new wxDateSpan((wxDateSpan &) result);
20464 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20465 }
20466 return resultobj;
20467 fail:
20468 return NULL;
20469}
20470
20471
20472static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
20473 PyObject *resultobj;
20474 wxDateSpan result;
20475 char *kwnames[] = {
20476 NULL
20477 };
20478
20479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
20480 {
20481 PyThreadState* __tstate = wxPyBeginAllowThreads();
20482 result = wxDateSpan::Year();
20483
20484 wxPyEndAllowThreads(__tstate);
20485 if (PyErr_Occurred()) SWIG_fail;
20486 }
20487 {
20488 wxDateSpan * resultptr;
20489 resultptr = new wxDateSpan((wxDateSpan &) result);
20490 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20491 }
20492 return resultobj;
20493 fail:
20494 return NULL;
20495}
20496
20497
20498static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20499 PyObject *resultobj;
20500 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20501 int arg2 ;
20502 wxDateSpan *result;
20503 PyObject * obj0 = 0 ;
20504 char *kwnames[] = {
20505 (char *) "self",(char *) "n", NULL
20506 };
20507
20508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetYears",kwnames,&obj0,&arg2)) goto fail;
20509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20510 {
20511 PyThreadState* __tstate = wxPyBeginAllowThreads();
20512 {
20513 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
20514 result = (wxDateSpan *) &_result_ref;
20515 }
20516
20517 wxPyEndAllowThreads(__tstate);
20518 if (PyErr_Occurred()) SWIG_fail;
20519 }
20520 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20521 return resultobj;
20522 fail:
20523 return NULL;
20524}
20525
20526
20527static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20528 PyObject *resultobj;
20529 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20530 int arg2 ;
20531 wxDateSpan *result;
20532 PyObject * obj0 = 0 ;
20533 char *kwnames[] = {
20534 (char *) "self",(char *) "n", NULL
20535 };
20536
20537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetMonths",kwnames,&obj0,&arg2)) goto fail;
20538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20539 {
20540 PyThreadState* __tstate = wxPyBeginAllowThreads();
20541 {
20542 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
20543 result = (wxDateSpan *) &_result_ref;
20544 }
20545
20546 wxPyEndAllowThreads(__tstate);
20547 if (PyErr_Occurred()) SWIG_fail;
20548 }
20549 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20550 return resultobj;
20551 fail:
20552 return NULL;
20553}
20554
20555
20556static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20557 PyObject *resultobj;
20558 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20559 int arg2 ;
20560 wxDateSpan *result;
20561 PyObject * obj0 = 0 ;
20562 char *kwnames[] = {
20563 (char *) "self",(char *) "n", NULL
20564 };
20565
20566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetWeeks",kwnames,&obj0,&arg2)) goto fail;
20567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20568 {
20569 PyThreadState* __tstate = wxPyBeginAllowThreads();
20570 {
20571 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
20572 result = (wxDateSpan *) &_result_ref;
20573 }
20574
20575 wxPyEndAllowThreads(__tstate);
20576 if (PyErr_Occurred()) SWIG_fail;
20577 }
20578 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20579 return resultobj;
20580 fail:
20581 return NULL;
20582}
20583
20584
20585static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20586 PyObject *resultobj;
20587 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20588 int arg2 ;
20589 wxDateSpan *result;
20590 PyObject * obj0 = 0 ;
20591 char *kwnames[] = {
20592 (char *) "self",(char *) "n", NULL
20593 };
20594
20595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetDays",kwnames,&obj0,&arg2)) goto fail;
20596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20597 {
20598 PyThreadState* __tstate = wxPyBeginAllowThreads();
20599 {
20600 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
20601 result = (wxDateSpan *) &_result_ref;
20602 }
20603
20604 wxPyEndAllowThreads(__tstate);
20605 if (PyErr_Occurred()) SWIG_fail;
20606 }
20607 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20608 return resultobj;
20609 fail:
20610 return NULL;
20611}
20612
20613
20614static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20615 PyObject *resultobj;
20616 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20617 int result;
20618 PyObject * obj0 = 0 ;
20619 char *kwnames[] = {
20620 (char *) "self", NULL
20621 };
20622
20623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
20624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20625 {
20626 PyThreadState* __tstate = wxPyBeginAllowThreads();
20627 result = (int)((wxDateSpan const *)arg1)->GetYears();
20628
20629 wxPyEndAllowThreads(__tstate);
20630 if (PyErr_Occurred()) SWIG_fail;
20631 }
20632 resultobj = PyInt_FromLong((long)result);
20633 return resultobj;
20634 fail:
20635 return NULL;
20636}
20637
20638
20639static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20640 PyObject *resultobj;
20641 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20642 int result;
20643 PyObject * obj0 = 0 ;
20644 char *kwnames[] = {
20645 (char *) "self", NULL
20646 };
20647
20648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
20649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20650 {
20651 PyThreadState* __tstate = wxPyBeginAllowThreads();
20652 result = (int)((wxDateSpan const *)arg1)->GetMonths();
20653
20654 wxPyEndAllowThreads(__tstate);
20655 if (PyErr_Occurred()) SWIG_fail;
20656 }
20657 resultobj = PyInt_FromLong((long)result);
20658 return resultobj;
20659 fail:
20660 return NULL;
20661}
20662
20663
20664static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20665 PyObject *resultobj;
20666 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20667 int result;
20668 PyObject * obj0 = 0 ;
20669 char *kwnames[] = {
20670 (char *) "self", NULL
20671 };
20672
20673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
20674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20675 {
20676 PyThreadState* __tstate = wxPyBeginAllowThreads();
20677 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
20678
20679 wxPyEndAllowThreads(__tstate);
20680 if (PyErr_Occurred()) SWIG_fail;
20681 }
20682 resultobj = PyInt_FromLong((long)result);
20683 return resultobj;
20684 fail:
20685 return NULL;
20686}
20687
20688
20689static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20690 PyObject *resultobj;
20691 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20692 int result;
20693 PyObject * obj0 = 0 ;
20694 char *kwnames[] = {
20695 (char *) "self", NULL
20696 };
20697
20698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
20699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20700 {
20701 PyThreadState* __tstate = wxPyBeginAllowThreads();
20702 result = (int)((wxDateSpan const *)arg1)->GetDays();
20703
20704 wxPyEndAllowThreads(__tstate);
20705 if (PyErr_Occurred()) SWIG_fail;
20706 }
20707 resultobj = PyInt_FromLong((long)result);
20708 return resultobj;
20709 fail:
20710 return NULL;
20711}
20712
20713
20714static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20715 PyObject *resultobj;
20716 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20717 int result;
20718 PyObject * obj0 = 0 ;
20719 char *kwnames[] = {
20720 (char *) "self", NULL
20721 };
20722
20723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
20724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20725 {
20726 PyThreadState* __tstate = wxPyBeginAllowThreads();
20727 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
20728
20729 wxPyEndAllowThreads(__tstate);
20730 if (PyErr_Occurred()) SWIG_fail;
20731 }
20732 resultobj = PyInt_FromLong((long)result);
20733 return resultobj;
20734 fail:
20735 return NULL;
20736}
20737
20738
20739static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
20740 PyObject *resultobj;
20741 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20742 wxDateSpan *arg2 = 0 ;
20743 wxDateSpan *result;
20744 PyObject * obj0 = 0 ;
20745 PyObject * obj1 = 0 ;
20746 char *kwnames[] = {
20747 (char *) "self",(char *) "other", NULL
20748 };
20749
20750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
20751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20752 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20753 if (arg2 == NULL) {
20754 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20755 }
20756 {
20757 PyThreadState* __tstate = wxPyBeginAllowThreads();
20758 {
20759 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
20760 result = (wxDateSpan *) &_result_ref;
20761 }
20762
20763 wxPyEndAllowThreads(__tstate);
20764 if (PyErr_Occurred()) SWIG_fail;
20765 }
20766 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20767 return resultobj;
20768 fail:
20769 return NULL;
20770}
20771
20772
20773static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
20774 PyObject *resultobj;
20775 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20776 wxDateSpan *arg2 = 0 ;
20777 wxDateSpan *result;
20778 PyObject * obj0 = 0 ;
20779 PyObject * obj1 = 0 ;
20780 char *kwnames[] = {
20781 (char *) "self",(char *) "other", NULL
20782 };
20783
20784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
20785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20786 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20787 if (arg2 == NULL) {
20788 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20789 }
20790 {
20791 PyThreadState* __tstate = wxPyBeginAllowThreads();
20792 {
20793 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
20794 result = (wxDateSpan *) &_result_ref;
20795 }
20796
20797 wxPyEndAllowThreads(__tstate);
20798 if (PyErr_Occurred()) SWIG_fail;
20799 }
20800 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20801 return resultobj;
20802 fail:
20803 return NULL;
20804}
20805
20806
20807static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
20808 PyObject *resultobj;
20809 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20810 wxDateSpan *result;
20811 PyObject * obj0 = 0 ;
20812 char *kwnames[] = {
20813 (char *) "self", NULL
20814 };
20815
20816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
20817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20818 {
20819 PyThreadState* __tstate = wxPyBeginAllowThreads();
20820 {
20821 wxDateSpan &_result_ref = (arg1)->Neg();
20822 result = (wxDateSpan *) &_result_ref;
20823 }
20824
20825 wxPyEndAllowThreads(__tstate);
20826 if (PyErr_Occurred()) SWIG_fail;
20827 }
20828 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20829 return resultobj;
20830 fail:
20831 return NULL;
20832}
20833
20834
20835static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
20836 PyObject *resultobj;
20837 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20838 int arg2 ;
20839 wxDateSpan *result;
20840 PyObject * obj0 = 0 ;
20841 char *kwnames[] = {
20842 (char *) "self",(char *) "factor", NULL
20843 };
20844
20845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
20846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20847 {
20848 PyThreadState* __tstate = wxPyBeginAllowThreads();
20849 {
20850 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
20851 result = (wxDateSpan *) &_result_ref;
20852 }
20853
20854 wxPyEndAllowThreads(__tstate);
20855 if (PyErr_Occurred()) SWIG_fail;
20856 }
20857 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20858 return resultobj;
20859 fail:
20860 return NULL;
20861}
20862
20863
20864static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
20865 PyObject *resultobj;
20866 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20867 wxDateSpan *arg2 = 0 ;
20868 wxDateSpan *result;
20869 PyObject * obj0 = 0 ;
20870 PyObject * obj1 = 0 ;
20871 char *kwnames[] = {
20872 (char *) "self",(char *) "other", NULL
20873 };
20874
20875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
20876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20877 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20878 if (arg2 == NULL) {
20879 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20880 }
20881 {
20882 PyThreadState* __tstate = wxPyBeginAllowThreads();
20883 {
20884 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
20885 result = (wxDateSpan *) &_result_ref;
20886 }
20887
20888 wxPyEndAllowThreads(__tstate);
20889 if (PyErr_Occurred()) SWIG_fail;
20890 }
20891 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20892 return resultobj;
20893 fail:
20894 return NULL;
20895}
20896
20897
20898static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
20899 PyObject *resultobj;
20900 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20901 wxDateSpan *arg2 = 0 ;
20902 wxDateSpan *result;
20903 PyObject * obj0 = 0 ;
20904 PyObject * obj1 = 0 ;
20905 char *kwnames[] = {
20906 (char *) "self",(char *) "other", NULL
20907 };
20908
20909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
20910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20911 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20912 if (arg2 == NULL) {
20913 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20914 }
20915 {
20916 PyThreadState* __tstate = wxPyBeginAllowThreads();
20917 {
20918 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
20919 result = (wxDateSpan *) &_result_ref;
20920 }
20921
20922 wxPyEndAllowThreads(__tstate);
20923 if (PyErr_Occurred()) SWIG_fail;
20924 }
20925 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20926 return resultobj;
20927 fail:
20928 return NULL;
20929}
20930
20931
20932static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
20933 PyObject *resultobj;
20934 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20935 wxDateSpan *result;
20936 PyObject * obj0 = 0 ;
20937 char *kwnames[] = {
20938 (char *) "self", NULL
20939 };
20940
20941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
20942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20943 {
20944 PyThreadState* __tstate = wxPyBeginAllowThreads();
20945 {
20946 wxDateSpan &_result_ref = (arg1)->operator -();
20947 result = (wxDateSpan *) &_result_ref;
20948 }
20949
20950 wxPyEndAllowThreads(__tstate);
20951 if (PyErr_Occurred()) SWIG_fail;
20952 }
20953 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20954 return resultobj;
20955 fail:
20956 return NULL;
20957}
20958
20959
20960static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
20961 PyObject *resultobj;
20962 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20963 int arg2 ;
20964 wxDateSpan *result;
20965 PyObject * obj0 = 0 ;
20966 char *kwnames[] = {
20967 (char *) "self",(char *) "factor", NULL
20968 };
20969
20970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
20971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20972 {
20973 PyThreadState* __tstate = wxPyBeginAllowThreads();
20974 {
20975 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
20976 result = (wxDateSpan *) &_result_ref;
20977 }
20978
20979 wxPyEndAllowThreads(__tstate);
20980 if (PyErr_Occurred()) SWIG_fail;
20981 }
20982 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20983 return resultobj;
20984 fail:
20985 return NULL;
20986}
20987
20988
20989static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
20990 PyObject *resultobj;
20991 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20992 wxDateSpan *arg2 = 0 ;
20993 wxDateSpan result;
20994 PyObject * obj0 = 0 ;
20995 PyObject * obj1 = 0 ;
20996 char *kwnames[] = {
20997 (char *) "self",(char *) "other", NULL
20998 };
20999
21000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21002 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21003 if (arg2 == NULL) {
21004 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21005 }
21006 {
21007 PyThreadState* __tstate = wxPyBeginAllowThreads();
21008 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
21009
21010 wxPyEndAllowThreads(__tstate);
21011 if (PyErr_Occurred()) SWIG_fail;
21012 }
21013 {
21014 wxDateSpan * resultptr;
21015 resultptr = new wxDateSpan((wxDateSpan &) result);
21016 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21017 }
21018 return resultobj;
21019 fail:
21020 return NULL;
21021}
21022
21023
21024static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21025 PyObject *resultobj;
21026 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21027 wxDateSpan *arg2 = 0 ;
21028 wxDateSpan result;
21029 PyObject * obj0 = 0 ;
21030 PyObject * obj1 = 0 ;
21031 char *kwnames[] = {
21032 (char *) "self",(char *) "other", NULL
21033 };
21034
21035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21037 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21038 if (arg2 == NULL) {
21039 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21040 }
21041 {
21042 PyThreadState* __tstate = wxPyBeginAllowThreads();
21043 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
21044
21045 wxPyEndAllowThreads(__tstate);
21046 if (PyErr_Occurred()) SWIG_fail;
21047 }
21048 {
21049 wxDateSpan * resultptr;
21050 resultptr = new wxDateSpan((wxDateSpan &) result);
21051 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21052 }
21053 return resultobj;
21054 fail:
21055 return NULL;
21056}
21057
21058
21059static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21060 PyObject *resultobj;
21061 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21062 int arg2 ;
21063 wxDateSpan result;
21064 PyObject * obj0 = 0 ;
21065 char *kwnames[] = {
21066 (char *) "self",(char *) "n", NULL
21067 };
21068
21069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
21070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21071 {
21072 PyThreadState* __tstate = wxPyBeginAllowThreads();
21073 result = wxDateSpan___mul__(arg1,arg2);
21074
21075 wxPyEndAllowThreads(__tstate);
21076 if (PyErr_Occurred()) SWIG_fail;
21077 }
21078 {
21079 wxDateSpan * resultptr;
21080 resultptr = new wxDateSpan((wxDateSpan &) result);
21081 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21082 }
21083 return resultobj;
21084 fail:
21085 return NULL;
21086}
21087
21088
21089static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21090 PyObject *resultobj;
21091 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21092 int arg2 ;
21093 wxDateSpan result;
21094 PyObject * obj0 = 0 ;
21095 char *kwnames[] = {
21096 (char *) "self",(char *) "n", NULL
21097 };
21098
21099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
21100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21101 {
21102 PyThreadState* __tstate = wxPyBeginAllowThreads();
21103 result = wxDateSpan___rmul__(arg1,arg2);
21104
21105 wxPyEndAllowThreads(__tstate);
21106 if (PyErr_Occurred()) SWIG_fail;
21107 }
21108 {
21109 wxDateSpan * resultptr;
21110 resultptr = new wxDateSpan((wxDateSpan &) result);
21111 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21112 }
21113 return resultobj;
21114 fail:
21115 return NULL;
21116}
21117
21118
21119static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
21120 PyObject *resultobj;
21121 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21122 wxDateSpan *arg2 = 0 ;
21123 bool result;
21124 PyObject * obj0 = 0 ;
21125 PyObject * obj1 = 0 ;
21126 char *kwnames[] = {
21127 (char *) "self",(char *) "other", NULL
21128 };
21129
21130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
21131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21132 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21133 if (arg2 == NULL) {
21134 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21135 }
21136 {
21137 PyThreadState* __tstate = wxPyBeginAllowThreads();
21138 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const &)*arg2);
21139
21140 wxPyEndAllowThreads(__tstate);
21141 if (PyErr_Occurred()) SWIG_fail;
21142 }
21143 resultobj = PyInt_FromLong((long)result);
21144 return resultobj;
21145 fail:
21146 return NULL;
21147}
21148
21149
21150static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
21151 PyObject *resultobj;
21152 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21153 wxDateSpan *arg2 = 0 ;
21154 bool result;
21155 PyObject * obj0 = 0 ;
21156 PyObject * obj1 = 0 ;
21157 char *kwnames[] = {
21158 (char *) "self",(char *) "other", NULL
21159 };
21160
21161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
21162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21163 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21164 if (arg2 == NULL) {
21165 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21166 }
21167 {
21168 PyThreadState* __tstate = wxPyBeginAllowThreads();
21169 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const &)*arg2);
21170
21171 wxPyEndAllowThreads(__tstate);
21172 if (PyErr_Occurred()) SWIG_fail;
21173 }
21174 resultobj = PyInt_FromLong((long)result);
21175 return resultobj;
21176 fail:
21177 return NULL;
21178}
21179
21180
21181static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
21182 PyObject *obj;
21183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21184 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
21185 Py_INCREF(obj);
21186 return Py_BuildValue((char *)"");
21187}
21188static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21189 PyObject *resultobj;
21190 long result;
21191 char *kwnames[] = {
21192 NULL
21193 };
21194
21195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
21196 {
21197 PyThreadState* __tstate = wxPyBeginAllowThreads();
21198 result = (long)wxGetLocalTime();
21199
21200 wxPyEndAllowThreads(__tstate);
21201 if (PyErr_Occurred()) SWIG_fail;
21202 }
21203 resultobj = PyInt_FromLong((long)result);
21204 return resultobj;
21205 fail:
21206 return NULL;
21207}
21208
21209
21210static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21211 PyObject *resultobj;
21212 long result;
21213 char *kwnames[] = {
21214 NULL
21215 };
21216
21217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
21218 {
21219 PyThreadState* __tstate = wxPyBeginAllowThreads();
21220 result = (long)wxGetUTCTime();
21221
21222 wxPyEndAllowThreads(__tstate);
21223 if (PyErr_Occurred()) SWIG_fail;
21224 }
21225 resultobj = PyInt_FromLong((long)result);
21226 return resultobj;
21227 fail:
21228 return NULL;
21229}
21230
21231
21232static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21233 PyObject *resultobj;
21234 long result;
21235 char *kwnames[] = {
21236 NULL
21237 };
21238
21239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
21240 {
21241 PyThreadState* __tstate = wxPyBeginAllowThreads();
21242 result = (long)wxGetCurrentTime();
21243
21244 wxPyEndAllowThreads(__tstate);
21245 if (PyErr_Occurred()) SWIG_fail;
21246 }
21247 resultobj = PyInt_FromLong((long)result);
21248 return resultobj;
21249 fail:
21250 return NULL;
21251}
21252
21253
21254static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
21255 PyObject *resultobj;
21256 wxLongLong result;
21257 char *kwnames[] = {
21258 NULL
21259 };
21260
21261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
21262 {
21263 PyThreadState* __tstate = wxPyBeginAllowThreads();
21264 result = wxGetLocalTimeMillis();
21265
21266 wxPyEndAllowThreads(__tstate);
21267 if (PyErr_Occurred()) SWIG_fail;
21268 }
21269 {
21270 PyObject *hi, *lo, *shifter, *shifted;
21271 hi = PyLong_FromLong( (&result)->GetHi() );
21272 lo = PyLong_FromLong( (&result)->GetLo() );
21273 shifter = PyLong_FromLong(32);
21274 shifted = PyNumber_Lshift(hi, shifter);
21275 resultobj = PyNumber_Or(shifted, lo);
21276 Py_DECREF(hi);
21277 Py_DECREF(lo);
21278 Py_DECREF(shifter);
21279 Py_DECREF(shifted);
21280 }
21281 return resultobj;
21282 fail:
21283 return NULL;
21284}
21285
21286
21287static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21288 PyObject *resultobj;
21289 int arg1 ;
21290 wxDataFormat *result;
21291 char *kwnames[] = {
21292 (char *) "type", NULL
21293 };
21294
21295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:new_DataFormat",kwnames,&arg1)) goto fail;
21296 {
21297 PyThreadState* __tstate = wxPyBeginAllowThreads();
21298 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
21299
21300 wxPyEndAllowThreads(__tstate);
21301 if (PyErr_Occurred()) SWIG_fail;
21302 }
21303 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21304 return resultobj;
21305 fail:
21306 return NULL;
21307}
21308
21309
21310static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21311 PyObject *resultobj;
21312 wxString *arg1 = 0 ;
21313 wxDataFormat *result;
e811c8ce 21314 bool temp1 = False ;
d14a1e28
RD
21315 PyObject * obj0 = 0 ;
21316 char *kwnames[] = {
21317 (char *) "format", NULL
21318 };
21319
21320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
21321 {
21322 arg1 = wxString_in_helper(obj0);
21323 if (arg1 == NULL) SWIG_fail;
e811c8ce 21324 temp1 = True;
d14a1e28
RD
21325 }
21326 {
21327 PyThreadState* __tstate = wxPyBeginAllowThreads();
21328 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
21329
21330 wxPyEndAllowThreads(__tstate);
21331 if (PyErr_Occurred()) SWIG_fail;
21332 }
21333 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21334 {
21335 if (temp1)
21336 delete arg1;
21337 }
21338 return resultobj;
21339 fail:
21340 {
21341 if (temp1)
21342 delete arg1;
21343 }
21344 return NULL;
21345}
21346
21347
21348static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21349 PyObject *resultobj;
21350 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21351 PyObject * obj0 = 0 ;
21352 char *kwnames[] = {
21353 (char *) "self", NULL
21354 };
21355
21356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
21357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21358 {
21359 PyThreadState* __tstate = wxPyBeginAllowThreads();
21360 delete arg1;
21361
21362 wxPyEndAllowThreads(__tstate);
21363 if (PyErr_Occurred()) SWIG_fail;
21364 }
21365 Py_INCREF(Py_None); resultobj = Py_None;
21366 return resultobj;
21367 fail:
21368 return NULL;
21369}
21370
21371
21372static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
21373 PyObject *resultobj;
21374 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21375 int arg2 ;
21376 bool result;
21377 PyObject * obj0 = 0 ;
21378
21379 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___eq__",&obj0,&arg2)) goto fail;
21380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21381 {
21382 PyThreadState* __tstate = wxPyBeginAllowThreads();
21383 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
21384
21385 wxPyEndAllowThreads(__tstate);
21386 if (PyErr_Occurred()) SWIG_fail;
21387 }
21388 resultobj = PyInt_FromLong((long)result);
21389 return resultobj;
21390 fail:
21391 return NULL;
21392}
21393
21394
21395static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
21396 PyObject *resultobj;
21397 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21398 int arg2 ;
21399 bool result;
21400 PyObject * obj0 = 0 ;
21401
21402 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___ne__",&obj0,&arg2)) goto fail;
21403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21404 {
21405 PyThreadState* __tstate = wxPyBeginAllowThreads();
21406 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
21407
21408 wxPyEndAllowThreads(__tstate);
21409 if (PyErr_Occurred()) SWIG_fail;
21410 }
21411 resultobj = PyInt_FromLong((long)result);
21412 return resultobj;
21413 fail:
21414 return NULL;
21415}
21416
21417
21418static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
21419 PyObject *resultobj;
21420 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21421 wxDataFormat *arg2 = 0 ;
21422 bool result;
21423 PyObject * obj0 = 0 ;
21424 PyObject * obj1 = 0 ;
21425
21426 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
21427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21428 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21429 if (arg2 == NULL) {
21430 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21431 }
21432 {
21433 PyThreadState* __tstate = wxPyBeginAllowThreads();
21434 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
21435
21436 wxPyEndAllowThreads(__tstate);
21437 if (PyErr_Occurred()) SWIG_fail;
21438 }
21439 resultobj = PyInt_FromLong((long)result);
21440 return resultobj;
21441 fail:
21442 return NULL;
21443}
21444
21445
21446static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
21447 int argc;
21448 PyObject *argv[3];
21449 int ii;
21450
21451 argc = PyObject_Length(args);
21452 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21453 argv[ii] = PyTuple_GetItem(args,ii);
21454 }
21455 if (argc == 2) {
21456 int _v;
21457 {
21458 void *ptr;
21459 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21460 _v = 0;
21461 PyErr_Clear();
21462 } else {
21463 _v = 1;
21464 }
21465 }
21466 if (_v) {
21467 {
21468 void *ptr;
21469 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21470 _v = 0;
21471 PyErr_Clear();
21472 } else {
21473 _v = 1;
21474 }
21475 }
21476 if (_v) {
21477 return _wrap_DataFormat___eq____SWIG_1(self,args);
21478 }
21479 }
21480 }
21481 if (argc == 2) {
21482 int _v;
21483 {
21484 void *ptr;
21485 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21486 _v = 0;
21487 PyErr_Clear();
21488 } else {
21489 _v = 1;
21490 }
21491 }
21492 if (_v) {
21493 {
21494 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21495 }
21496 if (_v) {
21497 return _wrap_DataFormat___eq____SWIG_0(self,args);
21498 }
21499 }
21500 }
21501
21502 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
21503 return NULL;
21504}
21505
21506
21507static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
21508 PyObject *resultobj;
21509 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21510 wxDataFormat *arg2 = 0 ;
21511 bool result;
21512 PyObject * obj0 = 0 ;
21513 PyObject * obj1 = 0 ;
21514
21515 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
21516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21517 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21518 if (arg2 == NULL) {
21519 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21520 }
21521 {
21522 PyThreadState* __tstate = wxPyBeginAllowThreads();
21523 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
21524
21525 wxPyEndAllowThreads(__tstate);
21526 if (PyErr_Occurred()) SWIG_fail;
21527 }
21528 resultobj = PyInt_FromLong((long)result);
21529 return resultobj;
21530 fail:
21531 return NULL;
21532}
21533
21534
21535static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
21536 int argc;
21537 PyObject *argv[3];
21538 int ii;
21539
21540 argc = PyObject_Length(args);
21541 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21542 argv[ii] = PyTuple_GetItem(args,ii);
21543 }
21544 if (argc == 2) {
21545 int _v;
21546 {
21547 void *ptr;
21548 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21549 _v = 0;
21550 PyErr_Clear();
21551 } else {
21552 _v = 1;
21553 }
21554 }
21555 if (_v) {
21556 {
21557 void *ptr;
21558 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21559 _v = 0;
21560 PyErr_Clear();
21561 } else {
21562 _v = 1;
21563 }
21564 }
21565 if (_v) {
21566 return _wrap_DataFormat___ne____SWIG_1(self,args);
21567 }
21568 }
21569 }
21570 if (argc == 2) {
21571 int _v;
21572 {
21573 void *ptr;
21574 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21575 _v = 0;
21576 PyErr_Clear();
21577 } else {
21578 _v = 1;
21579 }
21580 }
21581 if (_v) {
21582 {
21583 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21584 }
21585 if (_v) {
21586 return _wrap_DataFormat___ne____SWIG_0(self,args);
21587 }
21588 }
21589 }
21590
21591 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
21592 return NULL;
21593}
21594
21595
21596static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21597 PyObject *resultobj;
21598 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21599 int arg2 ;
21600 PyObject * obj0 = 0 ;
21601 char *kwnames[] = {
21602 (char *) "self",(char *) "format", NULL
21603 };
21604
21605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DataFormat_SetType",kwnames,&obj0,&arg2)) goto fail;
21606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21607 {
21608 PyThreadState* __tstate = wxPyBeginAllowThreads();
21609 (arg1)->SetType((wxDataFormatId )arg2);
21610
21611 wxPyEndAllowThreads(__tstate);
21612 if (PyErr_Occurred()) SWIG_fail;
21613 }
21614 Py_INCREF(Py_None); resultobj = Py_None;
21615 return resultobj;
21616 fail:
21617 return NULL;
21618}
21619
21620
21621static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21622 PyObject *resultobj;
21623 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21624 int result;
21625 PyObject * obj0 = 0 ;
21626 char *kwnames[] = {
21627 (char *) "self", NULL
21628 };
21629
21630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
21631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21632 {
21633 PyThreadState* __tstate = wxPyBeginAllowThreads();
21634 result = (int)((wxDataFormat const *)arg1)->GetType();
21635
21636 wxPyEndAllowThreads(__tstate);
21637 if (PyErr_Occurred()) SWIG_fail;
21638 }
21639 resultobj = PyInt_FromLong((long)result);
21640 return resultobj;
21641 fail:
21642 return NULL;
21643}
21644
21645
21646static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21647 PyObject *resultobj;
21648 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21649 wxString result;
21650 PyObject * obj0 = 0 ;
21651 char *kwnames[] = {
21652 (char *) "self", NULL
21653 };
21654
21655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
21656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21657 {
21658 PyThreadState* __tstate = wxPyBeginAllowThreads();
21659 result = ((wxDataFormat const *)arg1)->GetId();
21660
21661 wxPyEndAllowThreads(__tstate);
21662 if (PyErr_Occurred()) SWIG_fail;
21663 }
21664 {
21665#if wxUSE_UNICODE
21666 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21667#else
21668 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21669#endif
21670 }
21671 return resultobj;
21672 fail:
21673 return NULL;
21674}
21675
21676
21677static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21678 PyObject *resultobj;
21679 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21680 wxString *arg2 = 0 ;
e811c8ce 21681 bool temp2 = False ;
d14a1e28
RD
21682 PyObject * obj0 = 0 ;
21683 PyObject * obj1 = 0 ;
21684 char *kwnames[] = {
21685 (char *) "self",(char *) "format", NULL
21686 };
21687
21688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
21689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21690 {
21691 arg2 = wxString_in_helper(obj1);
21692 if (arg2 == NULL) SWIG_fail;
e811c8ce 21693 temp2 = True;
d14a1e28
RD
21694 }
21695 {
21696 PyThreadState* __tstate = wxPyBeginAllowThreads();
21697 (arg1)->SetId((wxString const &)*arg2);
21698
21699 wxPyEndAllowThreads(__tstate);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 }
21702 Py_INCREF(Py_None); resultobj = Py_None;
21703 {
21704 if (temp2)
21705 delete arg2;
21706 }
21707 return resultobj;
21708 fail:
21709 {
21710 if (temp2)
21711 delete arg2;
21712 }
21713 return NULL;
21714}
21715
21716
21717static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
21718 PyObject *obj;
21719 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21720 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
21721 Py_INCREF(obj);
21722 return Py_BuildValue((char *)"");
21723}
21724static int _wrap_FormatInvalid_set(PyObject *_val) {
21725 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
21726 return 1;
21727}
21728
21729
21730static PyObject *_wrap_FormatInvalid_get() {
21731 PyObject *pyobj;
21732
21733 pyobj = SWIG_NewPointerObj((void *) &wxFormatInvalid, SWIGTYPE_p_wxDataFormat, 0);
21734 return pyobj;
21735}
21736
21737
21738static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
21739 PyObject *resultobj;
21740 wxDataObject *arg1 = (wxDataObject *) 0 ;
21741 PyObject * obj0 = 0 ;
21742 char *kwnames[] = {
21743 (char *) "self", NULL
21744 };
21745
21746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
21747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21748 {
21749 PyThreadState* __tstate = wxPyBeginAllowThreads();
21750 delete arg1;
21751
21752 wxPyEndAllowThreads(__tstate);
21753 if (PyErr_Occurred()) SWIG_fail;
21754 }
21755 Py_INCREF(Py_None); resultobj = Py_None;
21756 return resultobj;
21757 fail:
21758 return NULL;
21759}
21760
21761
21762static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21763 PyObject *resultobj;
21764 wxDataObject *arg1 = (wxDataObject *) 0 ;
21765 int arg2 = (int) wxDataObject::Get ;
21766 SwigValueWrapper< wxDataFormat > result;
21767 PyObject * obj0 = 0 ;
21768 char *kwnames[] = {
21769 (char *) "self",(char *) "dir", NULL
21770 };
21771
21772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetPreferredFormat",kwnames,&obj0,&arg2)) goto fail;
21773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21774 {
21775 PyThreadState* __tstate = wxPyBeginAllowThreads();
21776 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
21777
21778 wxPyEndAllowThreads(__tstate);
21779 if (PyErr_Occurred()) SWIG_fail;
21780 }
21781 {
21782 wxDataFormat * resultptr;
21783 resultptr = new wxDataFormat((wxDataFormat &) result);
21784 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDataFormat, 1);
21785 }
21786 return resultobj;
21787 fail:
21788 return NULL;
21789}
21790
21791
21792static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21793 PyObject *resultobj;
21794 wxDataObject *arg1 = (wxDataObject *) 0 ;
21795 int arg2 = (int) wxDataObject::Get ;
21796 size_t result;
21797 PyObject * obj0 = 0 ;
21798 char *kwnames[] = {
21799 (char *) "self",(char *) "dir", NULL
21800 };
21801
21802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetFormatCount",kwnames,&obj0,&arg2)) goto fail;
21803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21804 {
21805 PyThreadState* __tstate = wxPyBeginAllowThreads();
21806 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
21807
21808 wxPyEndAllowThreads(__tstate);
21809 if (PyErr_Occurred()) SWIG_fail;
21810 }
21811 resultobj = PyInt_FromLong((long)result);
21812 return resultobj;
21813 fail:
21814 return NULL;
21815}
21816
21817
21818static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
21819 PyObject *resultobj;
21820 wxDataObject *arg1 = (wxDataObject *) 0 ;
21821 wxDataFormat *arg2 = 0 ;
21822 int arg3 = (int) wxDataObject::Get ;
21823 bool result;
21824 PyObject * obj0 = 0 ;
21825 PyObject * obj1 = 0 ;
21826 char *kwnames[] = {
21827 (char *) "self",(char *) "format",(char *) "dir", NULL
21828 };
21829
21830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_IsSupported",kwnames,&obj0,&obj1,&arg3)) goto fail;
21831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21832 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21833 if (arg2 == NULL) {
21834 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21835 }
21836 {
21837 PyThreadState* __tstate = wxPyBeginAllowThreads();
21838 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
21839
21840 wxPyEndAllowThreads(__tstate);
21841 if (PyErr_Occurred()) SWIG_fail;
21842 }
21843 resultobj = PyInt_FromLong((long)result);
21844 return resultobj;
21845 fail:
21846 return NULL;
21847}
21848
21849
21850static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21851 PyObject *resultobj;
21852 wxDataObject *arg1 = (wxDataObject *) 0 ;
21853 wxDataFormat *arg2 = 0 ;
21854 size_t result;
21855 PyObject * obj0 = 0 ;
21856 PyObject * obj1 = 0 ;
21857 char *kwnames[] = {
21858 (char *) "self",(char *) "format", NULL
21859 };
21860
21861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
21862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21863 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21864 if (arg2 == NULL) {
21865 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21866 }
21867 {
21868 PyThreadState* __tstate = wxPyBeginAllowThreads();
21869 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
21870
21871 wxPyEndAllowThreads(__tstate);
21872 if (PyErr_Occurred()) SWIG_fail;
21873 }
21874 resultobj = PyInt_FromLong((long)result);
21875 return resultobj;
21876 fail:
21877 return NULL;
21878}
21879
21880
21881static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
21882 PyObject *resultobj;
21883 wxDataObject *arg1 = (wxDataObject *) 0 ;
21884 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
21885 int arg3 = (int) wxDataObject::Get ;
21886 PyObject * obj0 = 0 ;
21887 PyObject * obj1 = 0 ;
21888 char *kwnames[] = {
21889 (char *) "self",(char *) "formats",(char *) "dir", NULL
21890 };
21891
21892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&arg3)) goto fail;
21893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21894 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21895 {
21896 PyThreadState* __tstate = wxPyBeginAllowThreads();
21897 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
21898
21899 wxPyEndAllowThreads(__tstate);
21900 if (PyErr_Occurred()) SWIG_fail;
21901 }
21902 Py_INCREF(Py_None); resultobj = Py_None;
21903 return resultobj;
21904 fail:
21905 return NULL;
21906}
21907
21908
21909static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
21910 PyObject *resultobj;
21911 wxDataObject *arg1 = (wxDataObject *) 0 ;
21912 wxDataFormat *arg2 = 0 ;
21913 void *arg3 = (void *) 0 ;
21914 bool result;
21915 PyObject * obj0 = 0 ;
21916 PyObject * obj1 = 0 ;
21917 PyObject * obj2 = 0 ;
21918 char *kwnames[] = {
21919 (char *) "self",(char *) "format",(char *) "buf", NULL
21920 };
21921
21922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
21923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21924 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21925 if (arg2 == NULL) {
21926 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21927 }
21928 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21929 {
21930 PyThreadState* __tstate = wxPyBeginAllowThreads();
21931 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
21932
21933 wxPyEndAllowThreads(__tstate);
21934 if (PyErr_Occurred()) SWIG_fail;
21935 }
21936 resultobj = PyInt_FromLong((long)result);
21937 return resultobj;
21938 fail:
21939 return NULL;
21940}
21941
21942
21943static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
21944 PyObject *resultobj;
21945 wxDataObject *arg1 = (wxDataObject *) 0 ;
21946 wxDataFormat *arg2 = 0 ;
21947 size_t arg3 ;
21948 void *arg4 = (void *) 0 ;
21949 bool result;
21950 PyObject * obj0 = 0 ;
21951 PyObject * obj1 = 0 ;
21952 PyObject * obj2 = 0 ;
21953 PyObject * obj3 = 0 ;
21954 char *kwnames[] = {
21955 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
21956 };
21957
21958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21960 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21961 if (arg2 == NULL) {
21962 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21963 }
21964 arg3 = (size_t) PyInt_AsLong(obj2);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21967 {
21968 PyThreadState* __tstate = wxPyBeginAllowThreads();
21969 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
21970
21971 wxPyEndAllowThreads(__tstate);
21972 if (PyErr_Occurred()) SWIG_fail;
21973 }
21974 resultobj = PyInt_FromLong((long)result);
21975 return resultobj;
21976 fail:
21977 return NULL;
21978}
21979
21980
21981static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
21982 PyObject *obj;
21983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21984 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
21985 Py_INCREF(obj);
21986 return Py_BuildValue((char *)"");
21987}
21988static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
21989 PyObject *resultobj;
21990 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
21991 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
21992 wxDataObjectSimple *result;
21993 PyObject * obj0 = 0 ;
21994 char *kwnames[] = {
21995 (char *) "format", NULL
21996 };
21997
21998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
21999 if (obj0) {
22000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22001 if (arg1 == NULL) {
22002 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22003 }
22004 }
22005 {
22006 PyThreadState* __tstate = wxPyBeginAllowThreads();
22007 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
22008
22009 wxPyEndAllowThreads(__tstate);
22010 if (PyErr_Occurred()) SWIG_fail;
22011 }
22012 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectSimple, 1);
22013 return resultobj;
22014 fail:
22015 return NULL;
22016}
22017
22018
22019static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22020 PyObject *resultobj;
22021 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22022 wxDataFormat *result;
22023 PyObject * obj0 = 0 ;
22024 char *kwnames[] = {
22025 (char *) "self", NULL
22026 };
22027
22028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
22029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22030 {
22031 PyThreadState* __tstate = wxPyBeginAllowThreads();
22032 {
22033 wxDataFormat const &_result_ref = (arg1)->GetFormat();
22034 result = (wxDataFormat *) &_result_ref;
22035 }
22036
22037 wxPyEndAllowThreads(__tstate);
22038 if (PyErr_Occurred()) SWIG_fail;
22039 }
22040 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 0);
22041 return resultobj;
22042 fail:
22043 return NULL;
22044}
22045
22046
22047static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22048 PyObject *resultobj;
22049 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22050 wxDataFormat *arg2 = 0 ;
22051 PyObject * obj0 = 0 ;
22052 PyObject * obj1 = 0 ;
22053 char *kwnames[] = {
22054 (char *) "self",(char *) "format", NULL
22055 };
22056
22057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
22058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22059 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22060 if (arg2 == NULL) {
22061 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22062 }
22063 {
22064 PyThreadState* __tstate = wxPyBeginAllowThreads();
22065 (arg1)->SetFormat((wxDataFormat const &)*arg2);
22066
22067 wxPyEndAllowThreads(__tstate);
22068 if (PyErr_Occurred()) SWIG_fail;
22069 }
22070 Py_INCREF(Py_None); resultobj = Py_None;
22071 return resultobj;
22072 fail:
22073 return NULL;
22074}
22075
22076
22077static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22078 PyObject *obj;
22079 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22080 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
22081 Py_INCREF(obj);
22082 return Py_BuildValue((char *)"");
22083}
22084static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22085 PyObject *resultobj;
22086 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22087 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22088 wxPyDataObjectSimple *result;
22089 PyObject * obj0 = 0 ;
22090 char *kwnames[] = {
22091 (char *) "format", NULL
22092 };
22093
22094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
22095 if (obj0) {
22096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22097 if (arg1 == NULL) {
22098 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22099 }
22100 }
22101 {
22102 PyThreadState* __tstate = wxPyBeginAllowThreads();
22103 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
22104
22105 wxPyEndAllowThreads(__tstate);
22106 if (PyErr_Occurred()) SWIG_fail;
22107 }
22108 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDataObjectSimple, 1);
22109 return resultobj;
22110 fail:
22111 return NULL;
22112}
22113
22114
22115static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22116 PyObject *resultobj;
22117 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
22118 PyObject *arg2 = (PyObject *) 0 ;
22119 PyObject *arg3 = (PyObject *) 0 ;
22120 PyObject * obj0 = 0 ;
22121 PyObject * obj1 = 0 ;
22122 PyObject * obj2 = 0 ;
22123 char *kwnames[] = {
22124 (char *) "self",(char *) "self",(char *) "_class", NULL
22125 };
22126
22127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22129 arg2 = obj1;
22130 arg3 = obj2;
22131 {
22132 PyThreadState* __tstate = wxPyBeginAllowThreads();
22133 (arg1)->_setCallbackInfo(arg2,arg3);
22134
22135 wxPyEndAllowThreads(__tstate);
22136 if (PyErr_Occurred()) SWIG_fail;
22137 }
22138 Py_INCREF(Py_None); resultobj = Py_None;
22139 return resultobj;
22140 fail:
22141 return NULL;
22142}
22143
22144
22145static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22146 PyObject *obj;
22147 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22148 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
22149 Py_INCREF(obj);
22150 return Py_BuildValue((char *)"");
22151}
22152static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
22153 PyObject *resultobj;
22154 wxDataObjectComposite *result;
22155 char *kwnames[] = {
22156 NULL
22157 };
22158
22159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
22160 {
22161 PyThreadState* __tstate = wxPyBeginAllowThreads();
22162 result = (wxDataObjectComposite *)new wxDataObjectComposite();
22163
22164 wxPyEndAllowThreads(__tstate);
22165 if (PyErr_Occurred()) SWIG_fail;
22166 }
22167 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectComposite, 1);
22168 return resultobj;
22169 fail:
22170 return NULL;
22171}
22172
22173
22174static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
22175 PyObject *resultobj;
22176 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
22177 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
e811c8ce 22178 int arg3 = (int) False ;
d14a1e28
RD
22179 PyObject * obj0 = 0 ;
22180 PyObject * obj1 = 0 ;
22181 char *kwnames[] = {
22182 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
22183 };
22184
22185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObjectComposite_Add",kwnames,&obj0,&obj1,&arg3)) goto fail;
22186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectComposite,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22187 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22188 {
22189 PyThreadState* __tstate = wxPyBeginAllowThreads();
22190 (arg1)->Add(arg2,arg3);
22191
22192 wxPyEndAllowThreads(__tstate);
22193 if (PyErr_Occurred()) SWIG_fail;
22194 }
22195 Py_INCREF(Py_None); resultobj = Py_None;
22196 return resultobj;
22197 fail:
22198 return NULL;
22199}
22200
22201
22202static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
22203 PyObject *obj;
22204 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22205 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
22206 Py_INCREF(obj);
22207 return Py_BuildValue((char *)"");
22208}
22209static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22210 PyObject *resultobj;
22211 wxString const &arg1_defvalue = wxPyEmptyString ;
22212 wxString *arg1 = (wxString *) &arg1_defvalue ;
22213 wxTextDataObject *result;
e811c8ce 22214 bool temp1 = False ;
d14a1e28
RD
22215 PyObject * obj0 = 0 ;
22216 char *kwnames[] = {
22217 (char *) "text", NULL
22218 };
22219
22220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
22221 if (obj0) {
22222 {
22223 arg1 = wxString_in_helper(obj0);
22224 if (arg1 == NULL) SWIG_fail;
e811c8ce 22225 temp1 = True;
d14a1e28
RD
22226 }
22227 }
22228 {
22229 PyThreadState* __tstate = wxPyBeginAllowThreads();
22230 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
22231
22232 wxPyEndAllowThreads(__tstate);
22233 if (PyErr_Occurred()) SWIG_fail;
22234 }
22235 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextDataObject, 1);
22236 {
22237 if (temp1)
22238 delete arg1;
22239 }
22240 return resultobj;
22241 fail:
22242 {
22243 if (temp1)
22244 delete arg1;
22245 }
22246 return NULL;
22247}
22248
22249
22250static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
22251 PyObject *resultobj;
22252 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22253 size_t result;
22254 PyObject * obj0 = 0 ;
22255 char *kwnames[] = {
22256 (char *) "self", NULL
22257 };
22258
22259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
22260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22261 {
22262 PyThreadState* __tstate = wxPyBeginAllowThreads();
22263 result = (size_t)(arg1)->GetTextLength();
22264
22265 wxPyEndAllowThreads(__tstate);
22266 if (PyErr_Occurred()) SWIG_fail;
22267 }
22268 resultobj = PyInt_FromLong((long)result);
22269 return resultobj;
22270 fail:
22271 return NULL;
22272}
22273
22274
22275static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22276 PyObject *resultobj;
22277 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22278 wxString result;
22279 PyObject * obj0 = 0 ;
22280 char *kwnames[] = {
22281 (char *) "self", NULL
22282 };
22283
22284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
22285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22286 {
22287 PyThreadState* __tstate = wxPyBeginAllowThreads();
22288 result = (arg1)->GetText();
22289
22290 wxPyEndAllowThreads(__tstate);
22291 if (PyErr_Occurred()) SWIG_fail;
22292 }
22293 {
22294#if wxUSE_UNICODE
22295 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22296#else
22297 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22298#endif
22299 }
22300 return resultobj;
22301 fail:
22302 return NULL;
22303}
22304
22305
22306static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22307 PyObject *resultobj;
22308 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22309 wxString *arg2 = 0 ;
e811c8ce 22310 bool temp2 = False ;
d14a1e28
RD
22311 PyObject * obj0 = 0 ;
22312 PyObject * obj1 = 0 ;
22313 char *kwnames[] = {
22314 (char *) "self",(char *) "text", NULL
22315 };
22316
22317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
22318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22319 {
22320 arg2 = wxString_in_helper(obj1);
22321 if (arg2 == NULL) SWIG_fail;
e811c8ce 22322 temp2 = True;
d14a1e28
RD
22323 }
22324 {
22325 PyThreadState* __tstate = wxPyBeginAllowThreads();
22326 (arg1)->SetText((wxString const &)*arg2);
22327
22328 wxPyEndAllowThreads(__tstate);
22329 if (PyErr_Occurred()) SWIG_fail;
22330 }
22331 Py_INCREF(Py_None); resultobj = Py_None;
22332 {
22333 if (temp2)
22334 delete arg2;
22335 }
22336 return resultobj;
22337 fail:
22338 {
22339 if (temp2)
22340 delete arg2;
22341 }
22342 return NULL;
22343}
22344
22345
22346static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
22347 PyObject *obj;
22348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22349 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
22350 Py_INCREF(obj);
22351 return Py_BuildValue((char *)"");
22352}
22353static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22354 PyObject *resultobj;
22355 wxString const &arg1_defvalue = wxPyEmptyString ;
22356 wxString *arg1 = (wxString *) &arg1_defvalue ;
22357 wxPyTextDataObject *result;
e811c8ce 22358 bool temp1 = False ;
d14a1e28
RD
22359 PyObject * obj0 = 0 ;
22360 char *kwnames[] = {
22361 (char *) "text", NULL
22362 };
22363
22364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
22365 if (obj0) {
22366 {
22367 arg1 = wxString_in_helper(obj0);
22368 if (arg1 == NULL) SWIG_fail;
e811c8ce 22369 temp1 = True;
d14a1e28
RD
22370 }
22371 }
22372 {
22373 PyThreadState* __tstate = wxPyBeginAllowThreads();
22374 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
22375
22376 wxPyEndAllowThreads(__tstate);
22377 if (PyErr_Occurred()) SWIG_fail;
22378 }
22379 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDataObject, 1);
22380 {
22381 if (temp1)
22382 delete arg1;
22383 }
22384 return resultobj;
22385 fail:
22386 {
22387 if (temp1)
22388 delete arg1;
22389 }
22390 return NULL;
22391}
22392
22393
22394static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22395 PyObject *resultobj;
22396 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
22397 PyObject *arg2 = (PyObject *) 0 ;
22398 PyObject *arg3 = (PyObject *) 0 ;
22399 PyObject * obj0 = 0 ;
22400 PyObject * obj1 = 0 ;
22401 PyObject * obj2 = 0 ;
22402 char *kwnames[] = {
22403 (char *) "self",(char *) "self",(char *) "_class", NULL
22404 };
22405
22406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22408 arg2 = obj1;
22409 arg3 = obj2;
22410 {
22411 PyThreadState* __tstate = wxPyBeginAllowThreads();
22412 (arg1)->_setCallbackInfo(arg2,arg3);
22413
22414 wxPyEndAllowThreads(__tstate);
22415 if (PyErr_Occurred()) SWIG_fail;
22416 }
22417 Py_INCREF(Py_None); resultobj = Py_None;
22418 return resultobj;
22419 fail:
22420 return NULL;
22421}
22422
22423
22424static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
22425 PyObject *obj;
22426 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22427 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
22428 Py_INCREF(obj);
22429 return Py_BuildValue((char *)"");
22430}
22431static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22432 PyObject *resultobj;
22433 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22434 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22435 wxBitmapDataObject *result;
22436 PyObject * obj0 = 0 ;
22437 char *kwnames[] = {
22438 (char *) "bitmap", NULL
22439 };
22440
22441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
22442 if (obj0) {
22443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22444 if (arg1 == NULL) {
22445 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22446 }
22447 }
22448 {
22449 PyThreadState* __tstate = wxPyBeginAllowThreads();
22450 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
22451
22452 wxPyEndAllowThreads(__tstate);
22453 if (PyErr_Occurred()) SWIG_fail;
22454 }
22455 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmapDataObject, 1);
22456 return resultobj;
22457 fail:
22458 return NULL;
22459}
22460
22461
22462static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22463 PyObject *resultobj;
22464 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22465 wxBitmap result;
22466 PyObject * obj0 = 0 ;
22467 char *kwnames[] = {
22468 (char *) "self", NULL
22469 };
22470
22471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
22472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22473 {
22474 PyThreadState* __tstate = wxPyBeginAllowThreads();
22475 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
22476
22477 wxPyEndAllowThreads(__tstate);
22478 if (PyErr_Occurred()) SWIG_fail;
22479 }
22480 {
22481 wxBitmap * resultptr;
22482 resultptr = new wxBitmap((wxBitmap &) result);
22483 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
22484 }
22485 return resultobj;
22486 fail:
22487 return NULL;
22488}
22489
22490
22491static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22492 PyObject *resultobj;
22493 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22494 wxBitmap *arg2 = 0 ;
22495 PyObject * obj0 = 0 ;
22496 PyObject * obj1 = 0 ;
22497 char *kwnames[] = {
22498 (char *) "self",(char *) "bitmap", NULL
22499 };
22500
22501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
22502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22503 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22504 if (arg2 == NULL) {
22505 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22506 }
22507 {
22508 PyThreadState* __tstate = wxPyBeginAllowThreads();
22509 (arg1)->SetBitmap((wxBitmap const &)*arg2);
22510
22511 wxPyEndAllowThreads(__tstate);
22512 if (PyErr_Occurred()) SWIG_fail;
22513 }
22514 Py_INCREF(Py_None); resultobj = Py_None;
22515 return resultobj;
22516 fail:
22517 return NULL;
22518}
22519
22520
22521static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22522 PyObject *obj;
22523 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22524 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
22525 Py_INCREF(obj);
22526 return Py_BuildValue((char *)"");
22527}
22528static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22529 PyObject *resultobj;
22530 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22531 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22532 wxPyBitmapDataObject *result;
22533 PyObject * obj0 = 0 ;
22534 char *kwnames[] = {
22535 (char *) "bitmap", NULL
22536 };
22537
22538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
22539 if (obj0) {
22540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22541 if (arg1 == NULL) {
22542 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22543 }
22544 }
22545 {
22546 PyThreadState* __tstate = wxPyBeginAllowThreads();
22547 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
22548
22549 wxPyEndAllowThreads(__tstate);
22550 if (PyErr_Occurred()) SWIG_fail;
22551 }
22552 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapDataObject, 1);
22553 return resultobj;
22554 fail:
22555 return NULL;
22556}
22557
22558
22559static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22560 PyObject *resultobj;
22561 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
22562 PyObject *arg2 = (PyObject *) 0 ;
22563 PyObject *arg3 = (PyObject *) 0 ;
22564 PyObject * obj0 = 0 ;
22565 PyObject * obj1 = 0 ;
22566 PyObject * obj2 = 0 ;
22567 char *kwnames[] = {
22568 (char *) "self",(char *) "self",(char *) "_class", NULL
22569 };
22570
22571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22573 arg2 = obj1;
22574 arg3 = obj2;
22575 {
22576 PyThreadState* __tstate = wxPyBeginAllowThreads();
22577 (arg1)->_setCallbackInfo(arg2,arg3);
22578
22579 wxPyEndAllowThreads(__tstate);
22580 if (PyErr_Occurred()) SWIG_fail;
22581 }
22582 Py_INCREF(Py_None); resultobj = Py_None;
22583 return resultobj;
22584 fail:
22585 return NULL;
22586}
22587
22588
22589static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22590 PyObject *obj;
22591 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22592 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
22593 Py_INCREF(obj);
22594 return Py_BuildValue((char *)"");
22595}
22596static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22597 PyObject *resultobj;
22598 wxFileDataObject *result;
22599 char *kwnames[] = {
22600 NULL
22601 };
22602
22603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
22604 {
22605 PyThreadState* __tstate = wxPyBeginAllowThreads();
22606 result = (wxFileDataObject *)new wxFileDataObject();
22607
22608 wxPyEndAllowThreads(__tstate);
22609 if (PyErr_Occurred()) SWIG_fail;
22610 }
22611 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDataObject, 1);
22612 return resultobj;
22613 fail:
22614 return NULL;
22615}
22616
22617
22618static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
22619 PyObject *resultobj;
22620 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
22621 wxArrayString *result;
22622 PyObject * obj0 = 0 ;
22623 char *kwnames[] = {
22624 (char *) "self", NULL
22625 };
22626
22627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
22628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22629 {
22630 PyThreadState* __tstate = wxPyBeginAllowThreads();
22631 {
22632 wxArrayString const &_result_ref = (arg1)->GetFilenames();
22633 result = (wxArrayString *) &_result_ref;
22634 }
22635
22636 wxPyEndAllowThreads(__tstate);
22637 if (PyErr_Occurred()) SWIG_fail;
22638 }
22639 {
22640 resultobj = wxArrayString2PyList_helper(*result);
22641 }
22642 return resultobj;
22643 fail:
22644 return NULL;
22645}
22646
22647
22648static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
22649 PyObject *obj;
22650 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22651 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
22652 Py_INCREF(obj);
22653 return Py_BuildValue((char *)"");
22654}
22655static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22656 PyObject *resultobj;
22657 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22658 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22659 wxCustomDataObject *result;
22660 PyObject * obj0 = 0 ;
22661 char *kwnames[] = {
22662 (char *) "format", NULL
22663 };
22664
22665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
22666 if (obj0) {
22667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22668 if (arg1 == NULL) {
22669 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22670 }
22671 }
22672 {
22673 PyThreadState* __tstate = wxPyBeginAllowThreads();
22674 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
22675
22676 wxPyEndAllowThreads(__tstate);
22677 if (PyErr_Occurred()) SWIG_fail;
22678 }
22679 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCustomDataObject, 1);
22680 return resultobj;
22681 fail:
22682 return NULL;
22683}
22684
22685
22686static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
22687 PyObject *resultobj;
22688 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22689 PyObject *arg2 = (PyObject *) 0 ;
22690 PyObject * obj0 = 0 ;
22691 PyObject * obj1 = 0 ;
22692 char *kwnames[] = {
22693 (char *) "self",(char *) "data", NULL
22694 };
22695
22696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
22697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22698 arg2 = obj1;
22699 {
22700 PyThreadState* __tstate = wxPyBeginAllowThreads();
22701 wxCustomDataObject_TakeData(arg1,arg2);
22702
22703 wxPyEndAllowThreads(__tstate);
22704 if (PyErr_Occurred()) SWIG_fail;
22705 }
22706 Py_INCREF(Py_None); resultobj = Py_None;
22707 return resultobj;
22708 fail:
22709 return NULL;
22710}
22711
22712
22713static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22714 PyObject *resultobj;
22715 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22716 PyObject *arg2 = (PyObject *) 0 ;
22717 bool result;
22718 PyObject * obj0 = 0 ;
22719 PyObject * obj1 = 0 ;
22720 char *kwnames[] = {
22721 (char *) "self",(char *) "data", NULL
22722 };
22723
22724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
22725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22726 arg2 = obj1;
22727 {
22728 PyThreadState* __tstate = wxPyBeginAllowThreads();
22729 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
22730
22731 wxPyEndAllowThreads(__tstate);
22732 if (PyErr_Occurred()) SWIG_fail;
22733 }
22734 resultobj = PyInt_FromLong((long)result);
22735 return resultobj;
22736 fail:
22737 return NULL;
22738}
22739
22740
22741static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22742 PyObject *resultobj;
22743 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22744 size_t result;
22745 PyObject * obj0 = 0 ;
22746 char *kwnames[] = {
22747 (char *) "self", NULL
22748 };
22749
22750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
22751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22752 {
22753 PyThreadState* __tstate = wxPyBeginAllowThreads();
22754 result = (size_t)(arg1)->GetSize();
22755
22756 wxPyEndAllowThreads(__tstate);
22757 if (PyErr_Occurred()) SWIG_fail;
22758 }
22759 resultobj = PyInt_FromLong((long)result);
22760 return resultobj;
22761 fail:
22762 return NULL;
22763}
22764
22765
22766static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22767 PyObject *resultobj;
22768 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22769 PyObject *result;
22770 PyObject * obj0 = 0 ;
22771 char *kwnames[] = {
22772 (char *) "self", NULL
22773 };
22774
22775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
22776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22777 {
22778 PyThreadState* __tstate = wxPyBeginAllowThreads();
22779 result = (PyObject *)wxCustomDataObject_GetData(arg1);
22780
22781 wxPyEndAllowThreads(__tstate);
22782 if (PyErr_Occurred()) SWIG_fail;
22783 }
22784 resultobj = result;
22785 return resultobj;
22786 fail:
22787 return NULL;
22788}
22789
22790
22791static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
22792 PyObject *obj;
22793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22794 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
22795 Py_INCREF(obj);
22796 return Py_BuildValue((char *)"");
22797}
22798static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22799 PyObject *resultobj;
22800 wxURLDataObject *result;
22801 char *kwnames[] = {
22802 NULL
22803 };
22804
22805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
22806 {
22807 PyThreadState* __tstate = wxPyBeginAllowThreads();
22808 result = (wxURLDataObject *)new wxURLDataObject();
22809
22810 wxPyEndAllowThreads(__tstate);
22811 if (PyErr_Occurred()) SWIG_fail;
22812 }
22813 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxURLDataObject, 1);
22814 return resultobj;
22815 fail:
22816 return NULL;
22817}
22818
22819
22820static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
22821 PyObject *resultobj;
22822 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
22823 wxString result;
22824 PyObject * obj0 = 0 ;
22825 char *kwnames[] = {
22826 (char *) "self", NULL
22827 };
22828
22829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
22830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22831 {
22832 PyThreadState* __tstate = wxPyBeginAllowThreads();
22833 result = (arg1)->GetURL();
22834
22835 wxPyEndAllowThreads(__tstate);
22836 if (PyErr_Occurred()) SWIG_fail;
22837 }
22838 {
22839#if wxUSE_UNICODE
22840 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22841#else
22842 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22843#endif
22844 }
22845 return resultobj;
22846 fail:
22847 return NULL;
22848}
22849
22850
22851static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
22852 PyObject *resultobj;
22853 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
22854 wxString *arg2 = 0 ;
e811c8ce 22855 bool temp2 = False ;
d14a1e28
RD
22856 PyObject * obj0 = 0 ;
22857 PyObject * obj1 = 0 ;
22858 char *kwnames[] = {
22859 (char *) "self",(char *) "url", NULL
22860 };
22861
22862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
22863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22864 {
22865 arg2 = wxString_in_helper(obj1);
22866 if (arg2 == NULL) SWIG_fail;
e811c8ce 22867 temp2 = True;
d14a1e28
RD
22868 }
22869 {
22870 PyThreadState* __tstate = wxPyBeginAllowThreads();
22871 (arg1)->SetURL((wxString const &)*arg2);
22872
22873 wxPyEndAllowThreads(__tstate);
22874 if (PyErr_Occurred()) SWIG_fail;
22875 }
22876 Py_INCREF(Py_None); resultobj = Py_None;
22877 {
22878 if (temp2)
22879 delete arg2;
22880 }
22881 return resultobj;
22882 fail:
22883 {
22884 if (temp2)
22885 delete arg2;
22886 }
22887 return NULL;
22888}
22889
22890
22891static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
22892 PyObject *obj;
22893 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22894 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
22895 Py_INCREF(obj);
22896 return Py_BuildValue((char *)"");
22897}
22898static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22899 PyObject *resultobj;
22900 wxMetafileDataObject *result;
22901 char *kwnames[] = {
22902 NULL
22903 };
22904
22905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
22906 {
22907 PyThreadState* __tstate = wxPyBeginAllowThreads();
22908 result = (wxMetafileDataObject *)new wxMetafileDataObject();
22909
22910 wxPyEndAllowThreads(__tstate);
22911 if (PyErr_Occurred()) SWIG_fail;
22912 }
22913 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMetafileDataObject, 1);
22914 return resultobj;
22915 fail:
22916 return NULL;
22917}
22918
22919
22920static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
22921 PyObject *obj;
22922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22923 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
22924 Py_INCREF(obj);
22925 return Py_BuildValue((char *)"");
22926}
22927static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
22928 PyObject *resultobj;
22929 int arg1 ;
22930 bool result;
22931 char *kwnames[] = {
22932 (char *) "res", NULL
22933 };
22934
22935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:IsDragResultOk",kwnames,&arg1)) goto fail;
22936 {
22937 PyThreadState* __tstate = wxPyBeginAllowThreads();
22938 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
22939
22940 wxPyEndAllowThreads(__tstate);
22941 if (PyErr_Occurred()) SWIG_fail;
22942 }
22943 resultobj = PyInt_FromLong((long)result);
22944 return resultobj;
22945 fail:
22946 return NULL;
22947}
22948
22949
22950static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
22951 PyObject *resultobj;
22952 wxWindow *arg1 = (wxWindow *) NULL ;
22953 wxIcon const &arg2_defvalue = wxNullIcon ;
22954 wxIcon *arg2 = (wxIcon *) &arg2_defvalue ;
22955 wxIcon const &arg3_defvalue = wxNullIcon ;
22956 wxIcon *arg3 = (wxIcon *) &arg3_defvalue ;
22957 wxIcon const &arg4_defvalue = wxNullIcon ;
22958 wxIcon *arg4 = (wxIcon *) &arg4_defvalue ;
22959 wxPyDropSource *result;
22960 PyObject * obj0 = 0 ;
22961 PyObject * obj1 = 0 ;
22962 PyObject * obj2 = 0 ;
22963 PyObject * obj3 = 0 ;
22964 char *kwnames[] = {
22965 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
22966 };
22967
22968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22969 if (obj0) {
22970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22971 }
22972 if (obj1) {
22973 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22974 if (arg2 == NULL) {
22975 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22976 }
22977 }
22978 if (obj2) {
22979 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22980 if (arg3 == NULL) {
22981 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22982 }
22983 }
22984 if (obj3) {
22985 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22986 if (arg4 == NULL) {
22987 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22988 }
22989 }
22990 {
22991 PyThreadState* __tstate = wxPyBeginAllowThreads();
22992 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxIcon const &)*arg2,(wxIcon const &)*arg3,(wxIcon const &)*arg4);
22993
22994 wxPyEndAllowThreads(__tstate);
22995 if (PyErr_Occurred()) SWIG_fail;
22996 }
22997 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropSource, 1);
22998 return resultobj;
22999 fail:
23000 return NULL;
23001}
23002
23003
23004static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23005 PyObject *resultobj;
23006 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23007 PyObject *arg2 = (PyObject *) 0 ;
23008 PyObject *arg3 = (PyObject *) 0 ;
23009 int arg4 ;
23010 PyObject * obj0 = 0 ;
23011 PyObject * obj1 = 0 ;
23012 PyObject * obj2 = 0 ;
23013 char *kwnames[] = {
23014 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23015 };
23016
23017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOi:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
23018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23019 arg2 = obj1;
23020 arg3 = obj2;
23021 {
23022 PyThreadState* __tstate = wxPyBeginAllowThreads();
23023 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
23024
23025 wxPyEndAllowThreads(__tstate);
23026 if (PyErr_Occurred()) SWIG_fail;
23027 }
23028 Py_INCREF(Py_None); resultobj = Py_None;
23029 return resultobj;
23030 fail:
23031 return NULL;
23032}
23033
23034
23035static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23036 PyObject *resultobj;
23037 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23038 PyObject * obj0 = 0 ;
23039 char *kwnames[] = {
23040 (char *) "self", NULL
23041 };
23042
23043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
23044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23045 {
23046 PyThreadState* __tstate = wxPyBeginAllowThreads();
23047 delete arg1;
23048
23049 wxPyEndAllowThreads(__tstate);
23050 if (PyErr_Occurred()) SWIG_fail;
23051 }
23052 Py_INCREF(Py_None); resultobj = Py_None;
23053 return resultobj;
23054 fail:
23055 return NULL;
23056}
23057
23058
23059static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23060 PyObject *resultobj;
23061 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23062 wxDataObject *arg2 = 0 ;
23063 PyObject * obj0 = 0 ;
23064 PyObject * obj1 = 0 ;
23065 char *kwnames[] = {
23066 (char *) "self",(char *) "data", NULL
23067 };
23068
23069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
23070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23071 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23072 if (arg2 == NULL) {
23073 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23074 }
23075 {
23076 PyThreadState* __tstate = wxPyBeginAllowThreads();
23077 (arg1)->SetData(*arg2);
23078
23079 wxPyEndAllowThreads(__tstate);
23080 if (PyErr_Occurred()) SWIG_fail;
23081 }
23082 Py_INCREF(Py_None); resultobj = Py_None;
23083 return resultobj;
23084 fail:
23085 return NULL;
23086}
23087
23088
23089static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23090 PyObject *resultobj;
23091 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23092 wxDataObject *result;
23093 PyObject * obj0 = 0 ;
23094 char *kwnames[] = {
23095 (char *) "self", NULL
23096 };
23097
23098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
23099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23100 {
23101 PyThreadState* __tstate = wxPyBeginAllowThreads();
23102 result = (wxDataObject *)(arg1)->GetDataObject();
23103
23104 wxPyEndAllowThreads(__tstate);
23105 if (PyErr_Occurred()) SWIG_fail;
23106 }
23107 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23108 return resultobj;
23109 fail:
23110 return NULL;
23111}
23112
23113
23114static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
23115 PyObject *resultobj;
23116 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23117 int arg2 ;
23118 wxCursor *arg3 = 0 ;
23119 PyObject * obj0 = 0 ;
23120 PyObject * obj2 = 0 ;
23121 char *kwnames[] = {
23122 (char *) "self",(char *) "res",(char *) "cursor", NULL
23123 };
23124
23125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:DropSource_SetCursor",kwnames,&obj0,&arg2,&obj2)) goto fail;
23126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23127 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23128 if (arg3 == NULL) {
23129 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23130 }
23131 {
23132 PyThreadState* __tstate = wxPyBeginAllowThreads();
23133 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
23134
23135 wxPyEndAllowThreads(__tstate);
23136 if (PyErr_Occurred()) SWIG_fail;
23137 }
23138 Py_INCREF(Py_None); resultobj = Py_None;
23139 return resultobj;
23140 fail:
23141 return NULL;
23142}
23143
23144
23145static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23146 PyObject *resultobj;
23147 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23148 int arg2 = (int) wxDrag_CopyOnly ;
23149 int result;
23150 PyObject * obj0 = 0 ;
23151 char *kwnames[] = {
23152 (char *) "self",(char *) "flags", NULL
23153 };
23154
23155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DropSource_DoDragDrop",kwnames,&obj0,&arg2)) goto fail;
23156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23157 {
23158 PyThreadState* __tstate = wxPyBeginAllowThreads();
23159 result = (int)(arg1)->DoDragDrop(arg2);
23160
23161 wxPyEndAllowThreads(__tstate);
23162 if (PyErr_Occurred()) SWIG_fail;
23163 }
23164 resultobj = PyInt_FromLong((long)result);
23165 return resultobj;
23166 fail:
23167 return NULL;
23168}
23169
23170
23171static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
23172 PyObject *resultobj;
23173 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23174 int arg2 ;
23175 bool result;
23176 PyObject * obj0 = 0 ;
23177 char *kwnames[] = {
23178 (char *) "self",(char *) "effect", NULL
23179 };
23180
23181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DropSource_base_GiveFeedback",kwnames,&obj0,&arg2)) goto fail;
23182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23183 {
23184 PyThreadState* __tstate = wxPyBeginAllowThreads();
23185 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
23186
23187 wxPyEndAllowThreads(__tstate);
23188 if (PyErr_Occurred()) SWIG_fail;
23189 }
23190 resultobj = PyInt_FromLong((long)result);
23191 return resultobj;
23192 fail:
23193 return NULL;
23194}
23195
23196
23197static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
23198 PyObject *obj;
23199 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23200 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
23201 Py_INCREF(obj);
23202 return Py_BuildValue((char *)"");
23203}
23204static PyObject *_wrap_new_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23205 PyObject *resultobj;
23206 wxDataObject *arg1 = (wxDataObject *) NULL ;
23207 wxPyDropTarget *result;
23208 PyObject * obj0 = 0 ;
23209 char *kwnames[] = {
23210 (char *) "dataObject", NULL
23211 };
23212
23213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
23214 if (obj0) {
23215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23216 }
23217 {
23218 PyThreadState* __tstate = wxPyBeginAllowThreads();
23219 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
23220
23221 wxPyEndAllowThreads(__tstate);
23222 if (PyErr_Occurred()) SWIG_fail;
23223 }
23224 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 1);
23225 return resultobj;
23226 fail:
23227 return NULL;
23228}
23229
23230
23231static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23232 PyObject *resultobj;
23233 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23234 PyObject *arg2 = (PyObject *) 0 ;
23235 PyObject *arg3 = (PyObject *) 0 ;
23236 PyObject * obj0 = 0 ;
23237 PyObject * obj1 = 0 ;
23238 PyObject * obj2 = 0 ;
23239 char *kwnames[] = {
23240 (char *) "self",(char *) "self",(char *) "_class", NULL
23241 };
23242
23243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23245 arg2 = obj1;
23246 arg3 = obj2;
23247 {
23248 PyThreadState* __tstate = wxPyBeginAllowThreads();
23249 (arg1)->_setCallbackInfo(arg2,arg3);
23250
23251 wxPyEndAllowThreads(__tstate);
23252 if (PyErr_Occurred()) SWIG_fail;
23253 }
23254 Py_INCREF(Py_None); resultobj = Py_None;
23255 return resultobj;
23256 fail:
23257 return NULL;
23258}
23259
23260
23261static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23262 PyObject *resultobj;
23263 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23264 PyObject * obj0 = 0 ;
23265 char *kwnames[] = {
23266 (char *) "self", NULL
23267 };
23268
23269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
23270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23271 {
23272 PyThreadState* __tstate = wxPyBeginAllowThreads();
23273 delete arg1;
23274
23275 wxPyEndAllowThreads(__tstate);
23276 if (PyErr_Occurred()) SWIG_fail;
23277 }
23278 Py_INCREF(Py_None); resultobj = Py_None;
23279 return resultobj;
23280 fail:
23281 return NULL;
23282}
23283
23284
23285static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23286 PyObject *resultobj;
23287 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23288 wxDataObject *result;
23289 PyObject * obj0 = 0 ;
23290 char *kwnames[] = {
23291 (char *) "self", NULL
23292 };
23293
23294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
23295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23296 {
23297 PyThreadState* __tstate = wxPyBeginAllowThreads();
23298 result = (wxDataObject *)(arg1)->GetDataObject();
23299
23300 wxPyEndAllowThreads(__tstate);
23301 if (PyErr_Occurred()) SWIG_fail;
23302 }
23303 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23304 return resultobj;
23305 fail:
23306 return NULL;
23307}
23308
23309
23310static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23311 PyObject *resultobj;
23312 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23313 wxDataObject *arg2 = (wxDataObject *) 0 ;
23314 PyObject * obj0 = 0 ;
23315 PyObject * obj1 = 0 ;
23316 char *kwnames[] = {
23317 (char *) "self",(char *) "dataObject", NULL
23318 };
23319
23320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
23321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23322 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23323 {
23324 PyThreadState* __tstate = wxPyBeginAllowThreads();
23325 (arg1)->SetDataObject(arg2);
23326
23327 wxPyEndAllowThreads(__tstate);
23328 if (PyErr_Occurred()) SWIG_fail;
23329 }
23330 Py_INCREF(Py_None); resultobj = Py_None;
23331 return resultobj;
23332 fail:
23333 return NULL;
23334}
23335
23336
23337static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23338 PyObject *resultobj;
23339 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
e811c8ce
RD
23340 int arg2 ;
23341 int arg3 ;
d14a1e28
RD
23342 int arg4 ;
23343 int result;
23344 PyObject * obj0 = 0 ;
23345 char *kwnames[] = {
23346 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23347 };
23348
23349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23351 {
23352 PyThreadState* __tstate = wxPyBeginAllowThreads();
23353 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23354
23355 wxPyEndAllowThreads(__tstate);
23356 if (PyErr_Occurred()) SWIG_fail;
23357 }
23358 resultobj = PyInt_FromLong((long)result);
23359 return resultobj;
23360 fail:
23361 return NULL;
23362}
23363
23364
23365static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23366 PyObject *resultobj;
23367 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
e811c8ce
RD
23368 int arg2 ;
23369 int arg3 ;
d14a1e28
RD
23370 int arg4 ;
23371 int result;
23372 PyObject * obj0 = 0 ;
23373 char *kwnames[] = {
23374 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23375 };
23376
23377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23379 {
23380 PyThreadState* __tstate = wxPyBeginAllowThreads();
23381 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23382
23383 wxPyEndAllowThreads(__tstate);
23384 if (PyErr_Occurred()) SWIG_fail;
23385 }
23386 resultobj = PyInt_FromLong((long)result);
23387 return resultobj;
23388 fail:
23389 return NULL;
23390}
23391
23392
23393static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23394 PyObject *resultobj;
23395 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23396 PyObject * obj0 = 0 ;
23397 char *kwnames[] = {
23398 (char *) "self", NULL
23399 };
23400
23401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23403 {
23404 PyThreadState* __tstate = wxPyBeginAllowThreads();
23405 (arg1)->base_OnLeave();
23406
23407 wxPyEndAllowThreads(__tstate);
23408 if (PyErr_Occurred()) SWIG_fail;
23409 }
23410 Py_INCREF(Py_None); resultobj = Py_None;
23411 return resultobj;
23412 fail:
23413 return NULL;
23414}
23415
23416
23417static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23418 PyObject *resultobj;
23419 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
e811c8ce
RD
23420 int arg2 ;
23421 int arg3 ;
d14a1e28
RD
23422 bool result;
23423 PyObject * obj0 = 0 ;
23424 char *kwnames[] = {
23425 (char *) "self",(char *) "x",(char *) "y", NULL
23426 };
23427
23428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:DropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23430 {
23431 PyThreadState* __tstate = wxPyBeginAllowThreads();
23432 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23433
23434 wxPyEndAllowThreads(__tstate);
23435 if (PyErr_Occurred()) SWIG_fail;
23436 }
23437 resultobj = PyInt_FromLong((long)result);
23438 return resultobj;
23439 fail:
23440 return NULL;
23441}
23442
23443
23444static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23445 PyObject *resultobj;
23446 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23447 bool result;
23448 PyObject * obj0 = 0 ;
23449 char *kwnames[] = {
23450 (char *) "self", NULL
23451 };
23452
23453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
23454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23455 {
23456 PyThreadState* __tstate = wxPyBeginAllowThreads();
23457 result = (bool)(arg1)->GetData();
23458
23459 wxPyEndAllowThreads(__tstate);
23460 if (PyErr_Occurred()) SWIG_fail;
23461 }
23462 resultobj = PyInt_FromLong((long)result);
23463 return resultobj;
23464 fail:
23465 return NULL;
23466}
23467
23468
23469static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
23470 PyObject *obj;
23471 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23472 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
23473 Py_INCREF(obj);
23474 return Py_BuildValue((char *)"");
23475}
23476static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23477 PyObject *resultobj;
23478 wxPyTextDropTarget *result;
23479 char *kwnames[] = {
23480 NULL
23481 };
23482
23483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
23484 {
23485 PyThreadState* __tstate = wxPyBeginAllowThreads();
23486 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
23487
23488 wxPyEndAllowThreads(__tstate);
23489 if (PyErr_Occurred()) SWIG_fail;
23490 }
23491 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDropTarget, 1);
23492 return resultobj;
23493 fail:
23494 return NULL;
23495}
23496
23497
23498static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23499 PyObject *resultobj;
23500 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23501 PyObject *arg2 = (PyObject *) 0 ;
23502 PyObject *arg3 = (PyObject *) 0 ;
23503 PyObject * obj0 = 0 ;
23504 PyObject * obj1 = 0 ;
23505 PyObject * obj2 = 0 ;
23506 char *kwnames[] = {
23507 (char *) "self",(char *) "self",(char *) "_class", NULL
23508 };
23509
23510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23512 arg2 = obj1;
23513 arg3 = obj2;
23514 {
23515 PyThreadState* __tstate = wxPyBeginAllowThreads();
23516 (arg1)->_setCallbackInfo(arg2,arg3);
23517
23518 wxPyEndAllowThreads(__tstate);
23519 if (PyErr_Occurred()) SWIG_fail;
23520 }
23521 Py_INCREF(Py_None); resultobj = Py_None;
23522 return resultobj;
23523 fail:
23524 return NULL;
23525}
23526
23527
23528static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23529 PyObject *resultobj;
23530 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
23531 int arg2 ;
23532 int arg3 ;
d14a1e28
RD
23533 int arg4 ;
23534 int result;
23535 PyObject * obj0 = 0 ;
23536 char *kwnames[] = {
23537 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23538 };
23539
23540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23542 {
23543 PyThreadState* __tstate = wxPyBeginAllowThreads();
23544 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
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 *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23557 PyObject *resultobj;
23558 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
23559 int arg2 ;
23560 int arg3 ;
d14a1e28
RD
23561 int arg4 ;
23562 int result;
23563 PyObject * obj0 = 0 ;
23564 char *kwnames[] = {
23565 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23566 };
23567
23568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23570 {
23571 PyThreadState* __tstate = wxPyBeginAllowThreads();
23572 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23573
23574 wxPyEndAllowThreads(__tstate);
23575 if (PyErr_Occurred()) SWIG_fail;
23576 }
23577 resultobj = PyInt_FromLong((long)result);
23578 return resultobj;
23579 fail:
23580 return NULL;
23581}
23582
23583
23584static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23585 PyObject *resultobj;
23586 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23587 PyObject * obj0 = 0 ;
23588 char *kwnames[] = {
23589 (char *) "self", NULL
23590 };
23591
23592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23594 {
23595 PyThreadState* __tstate = wxPyBeginAllowThreads();
23596 (arg1)->base_OnLeave();
23597
23598 wxPyEndAllowThreads(__tstate);
23599 if (PyErr_Occurred()) SWIG_fail;
23600 }
23601 Py_INCREF(Py_None); resultobj = Py_None;
23602 return resultobj;
23603 fail:
23604 return NULL;
23605}
23606
23607
23608static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23609 PyObject *resultobj;
23610 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
23611 int arg2 ;
23612 int arg3 ;
d14a1e28
RD
23613 bool result;
23614 PyObject * obj0 = 0 ;
23615 char *kwnames[] = {
23616 (char *) "self",(char *) "x",(char *) "y", NULL
23617 };
23618
23619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23621 {
23622 PyThreadState* __tstate = wxPyBeginAllowThreads();
23623 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23624
23625 wxPyEndAllowThreads(__tstate);
23626 if (PyErr_Occurred()) SWIG_fail;
23627 }
23628 resultobj = PyInt_FromLong((long)result);
23629 return resultobj;
23630 fail:
23631 return NULL;
23632}
23633
23634
23635static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
23636 PyObject *resultobj;
23637 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
23638 int arg2 ;
23639 int arg3 ;
d14a1e28
RD
23640 int arg4 ;
23641 int result;
23642 PyObject * obj0 = 0 ;
23643 char *kwnames[] = {
23644 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23645 };
23646
23647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23649 {
23650 PyThreadState* __tstate = wxPyBeginAllowThreads();
23651 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
23652
23653 wxPyEndAllowThreads(__tstate);
23654 if (PyErr_Occurred()) SWIG_fail;
23655 }
23656 resultobj = PyInt_FromLong((long)result);
23657 return resultobj;
23658 fail:
23659 return NULL;
23660}
23661
23662
23663static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
23664 PyObject *obj;
23665 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23666 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
23667 Py_INCREF(obj);
23668 return Py_BuildValue((char *)"");
23669}
23670static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23671 PyObject *resultobj;
23672 wxPyFileDropTarget *result;
23673 char *kwnames[] = {
23674 NULL
23675 };
23676
23677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
23678 {
23679 PyThreadState* __tstate = wxPyBeginAllowThreads();
23680 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
23681
23682 wxPyEndAllowThreads(__tstate);
23683 if (PyErr_Occurred()) SWIG_fail;
23684 }
23685 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileDropTarget, 1);
23686 return resultobj;
23687 fail:
23688 return NULL;
23689}
23690
23691
23692static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23693 PyObject *resultobj;
23694 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23695 PyObject *arg2 = (PyObject *) 0 ;
23696 PyObject *arg3 = (PyObject *) 0 ;
23697 PyObject * obj0 = 0 ;
23698 PyObject * obj1 = 0 ;
23699 PyObject * obj2 = 0 ;
23700 char *kwnames[] = {
23701 (char *) "self",(char *) "self",(char *) "_class", NULL
23702 };
23703
23704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23706 arg2 = obj1;
23707 arg3 = obj2;
23708 {
23709 PyThreadState* __tstate = wxPyBeginAllowThreads();
23710 (arg1)->_setCallbackInfo(arg2,arg3);
23711
23712 wxPyEndAllowThreads(__tstate);
23713 if (PyErr_Occurred()) SWIG_fail;
23714 }
23715 Py_INCREF(Py_None); resultobj = Py_None;
23716 return resultobj;
23717 fail:
23718 return NULL;
23719}
23720
23721
23722static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23723 PyObject *resultobj;
23724 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
23725 int arg2 ;
23726 int arg3 ;
d14a1e28
RD
23727 int arg4 ;
23728 int result;
23729 PyObject * obj0 = 0 ;
23730 char *kwnames[] = {
23731 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23732 };
23733
23734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23736 {
23737 PyThreadState* __tstate = wxPyBeginAllowThreads();
23738 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23739
23740 wxPyEndAllowThreads(__tstate);
23741 if (PyErr_Occurred()) SWIG_fail;
23742 }
23743 resultobj = PyInt_FromLong((long)result);
23744 return resultobj;
23745 fail:
23746 return NULL;
23747}
23748
23749
23750static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23751 PyObject *resultobj;
23752 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
23753 int arg2 ;
23754 int arg3 ;
d14a1e28
RD
23755 int arg4 ;
23756 int result;
23757 PyObject * obj0 = 0 ;
23758 char *kwnames[] = {
23759 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23760 };
23761
23762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23764 {
23765 PyThreadState* __tstate = wxPyBeginAllowThreads();
23766 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23767
23768 wxPyEndAllowThreads(__tstate);
23769 if (PyErr_Occurred()) SWIG_fail;
23770 }
23771 resultobj = PyInt_FromLong((long)result);
23772 return resultobj;
23773 fail:
23774 return NULL;
23775}
23776
23777
23778static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23779 PyObject *resultobj;
23780 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23781 PyObject * obj0 = 0 ;
23782 char *kwnames[] = {
23783 (char *) "self", NULL
23784 };
23785
23786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23788 {
23789 PyThreadState* __tstate = wxPyBeginAllowThreads();
23790 (arg1)->base_OnLeave();
23791
23792 wxPyEndAllowThreads(__tstate);
23793 if (PyErr_Occurred()) SWIG_fail;
23794 }
23795 Py_INCREF(Py_None); resultobj = Py_None;
23796 return resultobj;
23797 fail:
23798 return NULL;
23799}
23800
23801
23802static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23803 PyObject *resultobj;
23804 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
23805 int arg2 ;
23806 int arg3 ;
d14a1e28
RD
23807 bool result;
23808 PyObject * obj0 = 0 ;
23809 char *kwnames[] = {
23810 (char *) "self",(char *) "x",(char *) "y", NULL
23811 };
23812
23813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23815 {
23816 PyThreadState* __tstate = wxPyBeginAllowThreads();
23817 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23818
23819 wxPyEndAllowThreads(__tstate);
23820 if (PyErr_Occurred()) SWIG_fail;
23821 }
23822 resultobj = PyInt_FromLong((long)result);
23823 return resultobj;
23824 fail:
23825 return NULL;
23826}
23827
23828
23829static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
23830 PyObject *resultobj;
23831 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
23832 int arg2 ;
23833 int arg3 ;
d14a1e28
RD
23834 int arg4 ;
23835 int result;
23836 PyObject * obj0 = 0 ;
23837 char *kwnames[] = {
23838 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23839 };
23840
23841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23843 {
23844 PyThreadState* __tstate = wxPyBeginAllowThreads();
23845 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
23846
23847 wxPyEndAllowThreads(__tstate);
23848 if (PyErr_Occurred()) SWIG_fail;
23849 }
23850 resultobj = PyInt_FromLong((long)result);
23851 return resultobj;
23852 fail:
23853 return NULL;
23854}
23855
23856
23857static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
23858 PyObject *obj;
23859 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23860 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
23861 Py_INCREF(obj);
23862 return Py_BuildValue((char *)"");
23863}
23864static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
23865 PyObject *resultobj;
23866 wxClipboard *result;
23867 char *kwnames[] = {
23868 NULL
23869 };
23870
23871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
23872 {
23873 PyThreadState* __tstate = wxPyBeginAllowThreads();
23874 result = (wxClipboard *)new wxClipboard();
23875
23876 wxPyEndAllowThreads(__tstate);
23877 if (PyErr_Occurred()) SWIG_fail;
23878 }
23879 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboard, 1);
23880 return resultobj;
23881 fail:
23882 return NULL;
23883}
23884
23885
23886static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
23887 PyObject *resultobj;
23888 wxClipboard *arg1 = (wxClipboard *) 0 ;
23889 PyObject * obj0 = 0 ;
23890 char *kwnames[] = {
23891 (char *) "self", NULL
23892 };
23893
23894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
23895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23896 {
23897 PyThreadState* __tstate = wxPyBeginAllowThreads();
23898 delete arg1;
23899
23900 wxPyEndAllowThreads(__tstate);
23901 if (PyErr_Occurred()) SWIG_fail;
23902 }
23903 Py_INCREF(Py_None); resultobj = Py_None;
23904 return resultobj;
23905 fail:
23906 return NULL;
23907}
23908
23909
23910static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
23911 PyObject *resultobj;
23912 wxClipboard *arg1 = (wxClipboard *) 0 ;
23913 bool result;
23914 PyObject * obj0 = 0 ;
23915 char *kwnames[] = {
23916 (char *) "self", NULL
23917 };
23918
23919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
23920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23921 {
23922 PyThreadState* __tstate = wxPyBeginAllowThreads();
23923 result = (bool)(arg1)->Open();
23924
23925 wxPyEndAllowThreads(__tstate);
23926 if (PyErr_Occurred()) SWIG_fail;
23927 }
23928 resultobj = PyInt_FromLong((long)result);
23929 return resultobj;
23930 fail:
23931 return NULL;
23932}
23933
23934
23935static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
23936 PyObject *resultobj;
23937 wxClipboard *arg1 = (wxClipboard *) 0 ;
23938 PyObject * obj0 = 0 ;
23939 char *kwnames[] = {
23940 (char *) "self", NULL
23941 };
23942
23943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
23944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23945 {
23946 PyThreadState* __tstate = wxPyBeginAllowThreads();
23947 (arg1)->Close();
23948
23949 wxPyEndAllowThreads(__tstate);
23950 if (PyErr_Occurred()) SWIG_fail;
23951 }
23952 Py_INCREF(Py_None); resultobj = Py_None;
23953 return resultobj;
23954 fail:
23955 return NULL;
23956}
23957
23958
23959static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
23960 PyObject *resultobj;
23961 wxClipboard *arg1 = (wxClipboard *) 0 ;
23962 bool result;
23963 PyObject * obj0 = 0 ;
23964 char *kwnames[] = {
23965 (char *) "self", NULL
23966 };
23967
23968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
23969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23970 {
23971 PyThreadState* __tstate = wxPyBeginAllowThreads();
23972 result = (bool)((wxClipboard const *)arg1)->IsOpened();
23973
23974 wxPyEndAllowThreads(__tstate);
23975 if (PyErr_Occurred()) SWIG_fail;
23976 }
23977 resultobj = PyInt_FromLong((long)result);
23978 return resultobj;
23979 fail:
23980 return NULL;
23981}
23982
23983
23984static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
23985 PyObject *resultobj;
23986 wxClipboard *arg1 = (wxClipboard *) 0 ;
23987 wxDataObject *arg2 = (wxDataObject *) 0 ;
23988 bool result;
23989 PyObject * obj0 = 0 ;
23990 PyObject * obj1 = 0 ;
23991 char *kwnames[] = {
23992 (char *) "self",(char *) "data", NULL
23993 };
23994
23995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
23996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23997 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23998 {
23999 PyThreadState* __tstate = wxPyBeginAllowThreads();
24000 result = (bool)(arg1)->AddData(arg2);
24001
24002 wxPyEndAllowThreads(__tstate);
24003 if (PyErr_Occurred()) SWIG_fail;
24004 }
24005 resultobj = PyInt_FromLong((long)result);
24006 return resultobj;
24007 fail:
24008 return NULL;
24009}
24010
24011
24012static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24013 PyObject *resultobj;
24014 wxClipboard *arg1 = (wxClipboard *) 0 ;
24015 wxDataObject *arg2 = (wxDataObject *) 0 ;
24016 bool result;
24017 PyObject * obj0 = 0 ;
24018 PyObject * obj1 = 0 ;
24019 char *kwnames[] = {
24020 (char *) "self",(char *) "data", NULL
24021 };
24022
24023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
24024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24025 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24026 {
24027 PyThreadState* __tstate = wxPyBeginAllowThreads();
24028 result = (bool)(arg1)->SetData(arg2);
24029
24030 wxPyEndAllowThreads(__tstate);
24031 if (PyErr_Occurred()) SWIG_fail;
24032 }
24033 resultobj = PyInt_FromLong((long)result);
24034 return resultobj;
24035 fail:
24036 return NULL;
24037}
24038
24039
24040static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24041 PyObject *resultobj;
24042 wxClipboard *arg1 = (wxClipboard *) 0 ;
24043 wxDataFormat *arg2 = 0 ;
24044 bool result;
24045 PyObject * obj0 = 0 ;
24046 PyObject * obj1 = 0 ;
24047 char *kwnames[] = {
24048 (char *) "self",(char *) "format", NULL
24049 };
24050
24051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
24052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24053 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24054 if (arg2 == NULL) {
24055 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24056 }
24057 {
24058 PyThreadState* __tstate = wxPyBeginAllowThreads();
24059 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
24060
24061 wxPyEndAllowThreads(__tstate);
24062 if (PyErr_Occurred()) SWIG_fail;
24063 }
24064 resultobj = PyInt_FromLong((long)result);
24065 return resultobj;
24066 fail:
24067 return NULL;
24068}
24069
24070
24071static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24072 PyObject *resultobj;
24073 wxClipboard *arg1 = (wxClipboard *) 0 ;
24074 wxDataObject *arg2 = 0 ;
24075 bool result;
24076 PyObject * obj0 = 0 ;
24077 PyObject * obj1 = 0 ;
24078 char *kwnames[] = {
24079 (char *) "self",(char *) "data", NULL
24080 };
24081
24082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
24083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24084 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24085 if (arg2 == NULL) {
24086 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24087 }
24088 {
24089 PyThreadState* __tstate = wxPyBeginAllowThreads();
24090 result = (bool)(arg1)->GetData(*arg2);
24091
24092 wxPyEndAllowThreads(__tstate);
24093 if (PyErr_Occurred()) SWIG_fail;
24094 }
24095 resultobj = PyInt_FromLong((long)result);
24096 return resultobj;
24097 fail:
24098 return NULL;
24099}
24100
24101
24102static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
24103 PyObject *resultobj;
24104 wxClipboard *arg1 = (wxClipboard *) 0 ;
24105 PyObject * obj0 = 0 ;
24106 char *kwnames[] = {
24107 (char *) "self", NULL
24108 };
24109
24110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
24111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24112 {
24113 PyThreadState* __tstate = wxPyBeginAllowThreads();
24114 (arg1)->Clear();
24115
24116 wxPyEndAllowThreads(__tstate);
24117 if (PyErr_Occurred()) SWIG_fail;
24118 }
24119 Py_INCREF(Py_None); resultobj = Py_None;
24120 return resultobj;
24121 fail:
24122 return NULL;
24123}
24124
24125
24126static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
24127 PyObject *resultobj;
24128 wxClipboard *arg1 = (wxClipboard *) 0 ;
24129 bool result;
24130 PyObject * obj0 = 0 ;
24131 char *kwnames[] = {
24132 (char *) "self", NULL
24133 };
24134
24135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
24136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24137 {
24138 PyThreadState* __tstate = wxPyBeginAllowThreads();
24139 result = (bool)(arg1)->Flush();
24140
24141 wxPyEndAllowThreads(__tstate);
24142 if (PyErr_Occurred()) SWIG_fail;
24143 }
24144 resultobj = PyInt_FromLong((long)result);
24145 return resultobj;
24146 fail:
24147 return NULL;
24148}
24149
24150
24151static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
24152 PyObject *resultobj;
24153 wxClipboard *arg1 = (wxClipboard *) 0 ;
e811c8ce 24154 bool arg2 = (bool) False ;
d14a1e28
RD
24155 PyObject * obj0 = 0 ;
24156 PyObject * obj1 = 0 ;
24157 char *kwnames[] = {
24158 (char *) "self",(char *) "primary", NULL
24159 };
24160
24161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
24162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24163 if (obj1) {
24164 arg2 = PyInt_AsLong(obj1) ? true : false;
24165 if (PyErr_Occurred()) SWIG_fail;
24166 }
24167 {
24168 PyThreadState* __tstate = wxPyBeginAllowThreads();
24169 (arg1)->UsePrimarySelection(arg2);
24170
24171 wxPyEndAllowThreads(__tstate);
24172 if (PyErr_Occurred()) SWIG_fail;
24173 }
24174 Py_INCREF(Py_None); resultobj = Py_None;
24175 return resultobj;
24176 fail:
24177 return NULL;
24178}
24179
24180
24181static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
24182 PyObject *obj;
24183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24184 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
24185 Py_INCREF(obj);
24186 return Py_BuildValue((char *)"");
24187}
24188static int _wrap_TheClipboard_set(PyObject *_val) {
24189 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
24190 return 1;
24191}
24192
24193
24194static PyObject *_wrap_TheClipboard_get() {
24195 PyObject *pyobj;
24196
24197 pyobj = SWIG_NewPointerObj((void *) wxTheClipboard, SWIGTYPE_p_wxClipboard, 0);
24198 return pyobj;
24199}
24200
24201
24202static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24203 PyObject *resultobj;
24204 wxClipboard *arg1 = (wxClipboard *) NULL ;
24205 wxClipboardLocker *result;
24206 PyObject * obj0 = 0 ;
24207 char *kwnames[] = {
24208 (char *) "clipboard", NULL
24209 };
24210
24211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
24212 if (obj0) {
24213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24214 }
24215 {
24216 PyThreadState* __tstate = wxPyBeginAllowThreads();
24217 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
24218
24219 wxPyEndAllowThreads(__tstate);
24220 if (PyErr_Occurred()) SWIG_fail;
24221 }
24222 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboardLocker, 1);
24223 return resultobj;
24224 fail:
24225 return NULL;
24226}
24227
24228
24229static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24230 PyObject *resultobj;
24231 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24232 PyObject * obj0 = 0 ;
24233 char *kwnames[] = {
24234 (char *) "self", NULL
24235 };
24236
24237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
24238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24239 {
24240 PyThreadState* __tstate = wxPyBeginAllowThreads();
24241 delete arg1;
24242
24243 wxPyEndAllowThreads(__tstate);
24244 if (PyErr_Occurred()) SWIG_fail;
24245 }
24246 Py_INCREF(Py_None); resultobj = Py_None;
24247 return resultobj;
24248 fail:
24249 return NULL;
24250}
24251
24252
24253static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
24254 PyObject *resultobj;
24255 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24256 bool result;
24257 PyObject * obj0 = 0 ;
24258 char *kwnames[] = {
24259 (char *) "self", NULL
24260 };
24261
24262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
24263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24264 {
24265 PyThreadState* __tstate = wxPyBeginAllowThreads();
24266 result = (bool)wxClipboardLocker___nonzero__(arg1);
24267
24268 wxPyEndAllowThreads(__tstate);
24269 if (PyErr_Occurred()) SWIG_fail;
24270 }
24271 resultobj = PyInt_FromLong((long)result);
24272 return resultobj;
24273 fail:
24274 return NULL;
24275}
24276
24277
24278static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
24279 PyObject *obj;
24280 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24281 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
24282 Py_INCREF(obj);
24283 return Py_BuildValue((char *)"");
24284}
24285static PyMethodDef SwigMethods[] = {
24286 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
24287 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
24288 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
24289 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
24290 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
24291 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
24292 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
24293 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
24294 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
24295 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
24296 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
24297 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
24298 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
24299 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
24300 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
24301 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
24302 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
24303 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
24304 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
24305 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
24306 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
24307 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
24308 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
24309 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
24310 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
24311 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
24312 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
24313 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
24314 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
24315 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
24316 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
24317 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
24318 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
24319 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
24320 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
24321 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
24322 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
24323 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
24324 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
24325 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
24326 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
24327 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
24328 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
24329 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
24330 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
24331 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
24332 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
24333 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
24334 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
24335 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
24336 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
24337 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
24338 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
24339 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
24340 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
24341 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
24342 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
24343 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24344 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24345 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24346 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24347 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
24348 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
24349 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
24350 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24351 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24352 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
24353 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
24354 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
24355 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
24356 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24357 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24358 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
24359 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
24360 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
24361 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
24362 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
24363 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
24364 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
24365 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
24366 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
24367 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
24368 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
24369 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
24370 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
d14a1e28 24371 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
322913ce 24372 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28 24373 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
322913ce 24374 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24375 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
24376 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
24377 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
24378 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
24379 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
24380 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
24381 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
24382 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
24383 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24384 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24385 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24386 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24387 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
24388 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24389 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24390 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
24391 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24392 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24393 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
24394 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
24395 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
24396 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
24397 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
24398 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
24399 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
24400 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
24401 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
24402 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
24403 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
24404 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
24405 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
24406 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
24407 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
24408 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
24409 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
24410 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
24411 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
24412 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
24413 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
24414 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24415 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24416 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24417 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
24418 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
24419 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
24420 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
24421 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
24422 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
24423 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
24424 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
24425 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
24426 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
24427 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24428 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
24429 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
24430 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
24431 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
24432 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
7722248d 24433 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24434 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
24435 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
24436 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24437 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
24438 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
24439 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
24440 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
24441 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
24442 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
24443 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
24444 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
24445 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
24446 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
24447 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
24448 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
24449 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
24450 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
24451 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
24452 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
24453 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
24454 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24455 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24456 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
24457 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
24458 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
24459 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
24460 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
24461 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
24462 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
24463 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
24464 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
24465 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
24466 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
24467 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
24468 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
24469 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
24470 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
24471 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
24472 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
24473 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
24474 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
24475 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
24476 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
24477 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
24478 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
24479 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
24480 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
24481 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
24482 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
24483 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
24484 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24485 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24486 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
24487 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
24488 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
24489 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
24490 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
24491 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24492 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24493 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
24494 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
24495 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
24496 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
24497 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
24498 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
24499 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
24500 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
24501 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
24502 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
24503 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
24504 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
24505 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
24506 { (char *)"LogTrace", (PyCFunction) _wrap_LogTrace, METH_VARARGS | METH_KEYWORDS },
24507 { (char *)"LogTraceMask", (PyCFunction) _wrap_LogTraceMask, METH_VARARGS | METH_KEYWORDS },
24508 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
24509 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
24510 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
24511 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
24512 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
24513 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
24514 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24515 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
24516 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
24517 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
24518 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
24519 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
24520 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24521 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
24522 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
24523 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
24524 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
24525 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
24526 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
24527 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24528 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
24529 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
24530 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
24531 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
24532 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
24533 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
24534 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
24535 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
24537 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
24538 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
24539 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
24540 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
24541 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
24542 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
24543 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
24545 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24546 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24547 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
24548 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
24549 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
24550 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
24551 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
24552 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24554 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
24556 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
24557 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
24558 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
24559 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
24560 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
24561 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
24563 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
24564 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
24565 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
24566 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
24567 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
24568 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
24569 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
24570 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
24571 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
24572 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
24574 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
24575 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
24576 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
24578 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
24579 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
24580 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
24581 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
24582 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
24583 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
24584 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
24586 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
24587 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
24588 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
24589 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
24591 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
24593 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
24594 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
24595 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
24596 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
24597 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
24598 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24601 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
24602 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
24604 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
24606 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
24608 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
24614 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
24615 { (char *)"new_Wave", (PyCFunction) _wrap_new_Wave, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"new_WaveData", (PyCFunction) _wrap_new_WaveData, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"delete_Wave", (PyCFunction) _wrap_delete_Wave, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"Wave_IsOk", (PyCFunction) _wrap_Wave_IsOk, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"Wave_Play", (PyCFunction) _wrap_Wave_Play, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"Wave_swigregister", Wave_swigregister, METH_VARARGS },
24621 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
24637 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
24653 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
24667 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24668 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
24675 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
24718 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
24722 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
24725 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
24728 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
24820 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
24821 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
24822 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
24823 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
24824 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
24825 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
24826 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
24827 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
24828 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
24829 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
24840 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
24885 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
24919 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
24927 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
24928 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
24933 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
24942 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
24946 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
24949 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
24952 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
24957 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
24960 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
24964 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
24967 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
24970 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
24976 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
24980 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
24982 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
24992 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
25003 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
25011 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
25019 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
25032 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
25036 { NULL, NULL }
25037};
25038
25039
25040/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25041
25042static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25043 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25044}
25045static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25046 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25047}
25048static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25049 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25050}
25051static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25052 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25053}
25054static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25055 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25056}
25057static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25058 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25059}
25060static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
25061 return (void *)((wxEvent *) ((wxTimerEvent *) x));
25062}
25063static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25064 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25065}
25066static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25067 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25068}
25069static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25070 return (void *)((wxEvent *) ((wxPyEvent *) x));
25071}
25072static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25073 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25074}
25075static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
25076 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
25077}
25078static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25079 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25080}
25081static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25082 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25083}
25084static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25085 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25086}
25087static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25088 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25089}
25090static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25091 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25092}
25093static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25094 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25095}
25096static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25097 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25098}
25099static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25100 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25101}
25102static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25103 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25104}
25105static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25106 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25107}
25108static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25109 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25110}
25111static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25112 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25113}
25114static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25115 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25116}
25117static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25118 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25119}
25120static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25121 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25122}
25123static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25124 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25125}
25126static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25127 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25128}
25129static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25130 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25131}
25132static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
25133 return (void *)((wxEvent *) ((wxProcessEvent *) x));
25134}
25135static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25136 return (void *)((wxEvent *) ((wxShowEvent *) x));
25137}
25138static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25139 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25140}
25141static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25142 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25143}
25144static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25145 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25146}
25147static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25148 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25149}
25150static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25151 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25152}
25153static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25154 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25155}
25156static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
25157 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
25158}
25159static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
25160 return (void *)((wxConfigBase *) ((wxConfig *) x));
25161}
25162static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
25163 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25164}
25165static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
25166 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
25167}
25168static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
25169 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
25170}
25171static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
25172 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25173}
25174static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
25175 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
25176}
25177static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
25178 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
25179}
25180static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
25181 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
25182}
25183static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
25184 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25185}
25186static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
25187 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25188}
25189static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
25190 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
25191}
25192static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
25193 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
25194}
25195static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
25196 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
25197}
25198static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
25199 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25200}
25201static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
25202 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
25203}
25204static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
25205 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25206}
25207static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25208 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
25209}
25210static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25211 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
25212}
25213static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25214 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25215}
25216static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25217 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25218}
25219static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
25220 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
25221}
25222static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
25223 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
25224}
25225static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
25226 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25227}
25228static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25229 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25230}
25231static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25232 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25233}
25234static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25235 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25236}
25237static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25238 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25239}
25240static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
25241 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
25242}
25243static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25244 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25245}
25246static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25247 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25248}
25249static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25250 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25251}
25252static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25253 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25254}
25255static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
25256 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
25257}
25258static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
25259 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
25260}
25261static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25262 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25263}
25264static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25265 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25266}
25267static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25268 return (void *)((wxObject *) ((wxSizerItem *) x));
25269}
25270static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25271 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25272}
25273static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25274 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25275}
25276static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25277 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25278}
25279static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25280 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25281}
25282static void *_p_wxSizerTo_p_wxObject(void *x) {
25283 return (void *)((wxObject *) ((wxSizer *) x));
25284}
25285static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25286 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25287}
25288static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
25289 return (void *)((wxObject *) ((wxFileHistory *) x));
25290}
25291static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25292 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25293}
25294static void *_p_wxEventTo_p_wxObject(void *x) {
25295 return (void *)((wxObject *) ((wxEvent *) x));
25296}
25297static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25298 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25299}
25300static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25301 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25302}
25303static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25304 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25305}
25306static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25307 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25308}
25309static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25310 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25311}
25312static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25313 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25314}
25315static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25316 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25317}
25318static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25319 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25320}
25321static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25322 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25323}
25324static void *_p_wxControlTo_p_wxObject(void *x) {
25325 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25326}
25327static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25328 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25329}
25330static void *_p_wxTimerEventTo_p_wxObject(void *x) {
25331 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
25332}
25333static void *_p_wxFSFileTo_p_wxObject(void *x) {
25334 return (void *)((wxObject *) ((wxFSFile *) x));
25335}
25336static void *_p_wxClipboardTo_p_wxObject(void *x) {
25337 return (void *)((wxObject *) ((wxClipboard *) x));
25338}
25339static void *_p_wxPySizerTo_p_wxObject(void *x) {
25340 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25341}
25342static void *_p_wxPyEventTo_p_wxObject(void *x) {
25343 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25344}
25345static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25346 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25347}
25348static void *_p_wxShowEventTo_p_wxObject(void *x) {
25349 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25350}
25351static void *_p_wxToolTipTo_p_wxObject(void *x) {
25352 return (void *)((wxObject *) ((wxToolTip *) x));
25353}
25354static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25355 return (void *)((wxObject *) ((wxMenuItem *) x));
25356}
25357static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25358 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25359}
25360static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25361 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25362}
25363static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25364 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25365}
25366static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25367 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25368}
25369static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25370 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25371}
25372static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25373 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25374}
25375static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25376 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25377}
25378static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25379 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25380}
25381static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25382 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25383}
25384static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25385 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25386}
25387static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25388 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25389}
25390static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25391 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25392}
25393static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25394 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25395}
25396static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25397 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25398}
25399static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25400 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25401}
25402static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25403 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25404}
25405static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25406 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25407}
25408static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25409 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25410}
25411static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25412 return (void *)((wxObject *) ((wxImageHandler *) x));
25413}
25414static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25415 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25416}
25417static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25418 return (void *)((wxObject *) ((wxEvtHandler *) x));
25419}
25420static void *_p_wxImageTo_p_wxObject(void *x) {
25421 return (void *)((wxObject *) ((wxImage *) x));
25422}
25423static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25424 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25425}
25426static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
25427 return (void *)((wxObject *) ((wxSystemOptions *) x));
25428}
25429static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
25430 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
25431}
25432static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25433 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25434}
25435static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25436 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25437}
25438static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25439 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25440}
25441static void *_p_wxWindowTo_p_wxObject(void *x) {
25442 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25443}
25444static void *_p_wxMenuTo_p_wxObject(void *x) {
25445 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25446}
25447static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25448 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25449}
25450static void *_p_wxPyProcessTo_p_wxObject(void *x) {
25451 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
25452}
25453static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25454 return (void *)((wxObject *) ((wxFileSystem *) x));
25455}
25456static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25457 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25458}
25459static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25460 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25461}
25462static void *_p_wxPyAppTo_p_wxObject(void *x) {
25463 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25464}
25465static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25466 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25467}
25468static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25469 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25470}
25471static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25472 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25473}
25474static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
25475 return (void *)((wxObject *) ((wxBusyInfo *) x));
25476}
25477static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25478 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25479}
25480static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25481 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25482}
25483static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25484 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25485}
25486static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25487 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25488}
25489static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25490 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25491}
25492static void *_p_wxProcessEventTo_p_wxObject(void *x) {
25493 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
25494}
25495static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25496 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25497}
25498static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25499 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25500}
25501static void *_p_wxValidatorTo_p_wxObject(void *x) {
25502 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25503}
25504static void *_p_wxPyTimerTo_p_wxObject(void *x) {
25505 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
25506}
25507static void *_p_wxLogStderrTo_p_wxLog(void *x) {
25508 return (void *)((wxLog *) ((wxLogStderr *) x));
25509}
25510static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
25511 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
25512}
25513static void *_p_wxLogWindowTo_p_wxLog(void *x) {
25514 return (void *)((wxLog *) ((wxLogWindow *) x));
25515}
25516static void *_p_wxLogChainTo_p_wxLog(void *x) {
25517 return (void *)((wxLog *) ((wxLogChain *) x));
25518}
25519static void *_p_wxLogGuiTo_p_wxLog(void *x) {
25520 return (void *)((wxLog *) ((wxLogGui *) x));
25521}
25522static void *_p_wxPyLogTo_p_wxLog(void *x) {
25523 return (void *)((wxLog *) ((wxPyLog *) x));
25524}
25525static void *_p_wxControlTo_p_wxWindow(void *x) {
25526 return (void *)((wxWindow *) ((wxControl *) x));
25527}
25528static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25529 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25530}
25531static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25532 return (void *)((wxWindow *) ((wxMenuBar *) x));
25533}
25534static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
25535 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
25536}
25537static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
25538 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
25539}
25540static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
25541static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
25542static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
25543static 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}};
25544static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
25545static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
25546static 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}};
25547static 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}};
25548static swig_type_info _swigt__p_wxWave[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
25549static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
25550static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
25551static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
25552static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
25553static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
25554static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
25555static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
25556static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
25557static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
25558static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
25559static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
25560static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
25561static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
25562static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
25563static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
25564static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
25565static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
25566static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
25567static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
25568static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
25569static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject},{0}};
25570static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject},{0}};
25571static 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}};
25572static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
25573static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
25574static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
25575static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
25576static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
25577static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
25578static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
25579static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
25580static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
25581static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite},{0}};
25582static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
25583static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
25584static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
25585static 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}};
25586static 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}};
25587static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
25588static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
25589static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
25590static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
25591static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
25592static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
25593static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
25594static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
25595static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider},{0}};
25596static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
25597static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
25598static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
25599static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
25600static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
25601static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject},{0}};
25602static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
25603static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
25604static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
25605static 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}};
25606static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
25607static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
25608static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
25609static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
25610static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
25611static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
25612static 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}};
25613static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
25614static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
25615static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
25616static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
25617static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
25618static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
25619static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
25620static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
25621static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
25622
25623static swig_type_info *swig_types_initial[] = {
25624_swigt__p_wxLogChain,
25625_swigt__p_wxMutexGuiLocker,
25626_swigt__p_wxFileHistory,
25627_swigt__p_wxLog,
25628_swigt__p_wxDateTime__TimeZone,
25629_swigt__p_wxMenu,
25630_swigt__p_wxEvent,
25631_swigt__p_wxConfigBase,
25632_swigt__p_wxWave,
25633_swigt__p_wxFileType,
25634_swigt__p_wxLogGui,
25635_swigt__p_wxFont,
25636_swigt__p_wxDataFormat,
25637_swigt__p_wxTimerEvent,
25638_swigt__p_wxCaret,
25639_swigt__p_int,
25640_swigt__p_wxSize,
25641_swigt__p_wxClipboard,
25642_swigt__p_wxStopWatch,
25643_swigt__p_wxDC,
25644_swigt__p_wxClipboardLocker,
25645_swigt__p_wxIcon,
25646_swigt__p_wxLogStderr,
25647_swigt__p_wxLogTextCtrl,
25648_swigt__p_wxTextCtrl,
25649_swigt__p_wxBusyCursor,
25650_swigt__p_wxFileDataObject,
25651_swigt__p_wxPyBitmapDataObject,
25652_swigt__p_wxPyTextDataObject,
25653_swigt__p_wxBitmapDataObject,
25654_swigt__p_wxTextDataObject,
25655_swigt__p_wxDataObject,
25656_swigt__p_wxCustomDataObject,
25657_swigt__p_wxURLDataObject,
25658_swigt__p_wxMetafileDataObject,
25659_swigt__p_wxTimerRunner,
25660_swigt__p_wxLogWindow,
25661_swigt__p_wxTimeSpan,
25662_swigt__p_wxArrayString,
25663_swigt__p_wxWindowDisabler,
25664_swigt__p_wxToolTip,
25665_swigt__p_wxDataObjectComposite,
25666_swigt__p_wxFileConfig,
25667_swigt__p_wxSystemSettings,
25668_swigt__p_wxPyDataObjectSimple,
25669_swigt__p_wxDataObjectSimple,
25670_swigt__p_wxEvtHandler,
25671_swigt__p_wxRect,
25672_swigt__p_wxSingleInstanceChecker,
25673_swigt__p_wxFileTypeInfo,
25674_swigt__p_wxFrame,
25675_swigt__p_wxTimer,
25676_swigt__p_wxMimeTypesManager,
25677_swigt__p_wxPyArtProvider,
25678_swigt__p_wxPyTipProvider,
25679_swigt__p_wxTipProvider,
25680_swigt__p_wxJoystick,
25681_swigt__p_wxSystemOptions,
25682_swigt__p_wxPoint,
25683_swigt__p_wxJoystickEvent,
25684_swigt__p_wxCursor,
25685_swigt__p_wxObject,
25686_swigt__p_wxOutputStream,
25687_swigt__p_wxDateTime,
25688_swigt__p_wxPyDropSource,
25689_swigt__p_wxWindow,
25690_swigt__p_wxString,
25691_swigt__p_wxPyProcess,
25692_swigt__p_wxBitmap,
25693_swigt__p_wxConfig,
25694_swigt__p_wxChar,
25695_swigt__p_wxBusyInfo,
25696_swigt__p_wxPyDropTarget,
25697_swigt__p_wxPyTextDropTarget,
25698_swigt__p_wxPyFileDropTarget,
25699_swigt__p_wxProcessEvent,
25700_swigt__p_wxPyLog,
25701_swigt__p_wxLogNull,
25702_swigt__p_wxColour,
25703_swigt__p_wxConfigPathChanger,
25704_swigt__p_wxPyTimer,
25705_swigt__p_wxDateSpan,
257060
25707};
25708
25709
25710/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25711
25712static swig_const_info swig_const_table[] = {
25713{ SWIG_PY_INT, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT, 0, 0, 0},
25714{ SWIG_PY_INT, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT, 0, 0, 0},
25715{ SWIG_PY_INT, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT, 0, 0, 0},
25716{ SWIG_PY_INT, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT, 0, 0, 0},
25717{ SWIG_PY_INT, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT, 0, 0, 0},
25718{ SWIG_PY_INT, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE, 0, 0, 0},
25719{ SWIG_PY_INT, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT, 0, 0, 0},
25720{ SWIG_PY_INT, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT, 0, 0, 0},
25721{ SWIG_PY_INT, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT, 0, 0, 0},
25722{ SWIG_PY_INT, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR, 0, 0, 0},
25723{ SWIG_PY_INT, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND, 0, 0, 0},
25724{ SWIG_PY_INT, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP, 0, 0, 0},
25725{ SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION, 0, 0, 0},
25726{ SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION, 0, 0, 0},
25727{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU, 0, 0, 0},
25728{ SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW, 0, 0, 0},
25729{ SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME, 0, 0, 0},
25730{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT, 0, 0, 0},
25731{ SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT, 0, 0, 0},
25732{ SWIG_PY_INT, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT, 0, 0, 0},
25733{ SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER, 0, 0, 0},
25734{ SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER, 0, 0, 0},
25735{ SWIG_PY_INT, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE, 0, 0, 0},
25736{ SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT, 0, 0, 0},
25737{ SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT, 0, 0, 0},
25738{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE, 0, 0, 0},
25739{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE, 0, 0, 0},
25740{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW, 0, 0, 0},
25741{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW, 0, 0, 0},
25742{ SWIG_PY_INT, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT, 0, 0, 0},
25743{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT, 0, 0, 0},
25744{ SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT, 0, 0, 0},
25745{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT, 0, 0, 0},
25746{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT, 0, 0, 0},
25747{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT, 0, 0, 0},
25748{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT, 0, 0, 0},
25749{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW, 0, 0, 0},
25750{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT, 0, 0, 0},
25751{ SWIG_PY_INT, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT, 0, 0, 0},
25752{ SWIG_PY_INT, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK, 0, 0, 0},
25753{ SWIG_PY_INT, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX, 0, 0, 0},
25754{ SWIG_PY_INT, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT, 0, 0, 0},
25755{ SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION, 0, 0, 0},
25756{ SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION, 0, 0, 0},
25757{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT, 0, 0, 0},
25758{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR, 0, 0, 0},
25759{ SWIG_PY_INT, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX, 0, 0, 0},
25760{ SWIG_PY_INT, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS, 0, 0, 0},
25761{ SWIG_PY_INT, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X, 0, 0, 0},
25762{ SWIG_PY_INT, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y, 0, 0, 0},
25763{ SWIG_PY_INT, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X, 0, 0, 0},
25764{ SWIG_PY_INT, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y, 0, 0, 0},
25765{ SWIG_PY_INT, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X, 0, 0, 0},
25766{ SWIG_PY_INT, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y, 0, 0, 0},
25767{ SWIG_PY_INT, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X, 0, 0, 0},
25768{ SWIG_PY_INT, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y, 0, 0, 0},
25769{ SWIG_PY_INT, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X, 0, 0, 0},
25770{ SWIG_PY_INT, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y, 0, 0, 0},
25771{ SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X, 0, 0, 0},
25772{ SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y, 0, 0, 0},
25773{ SWIG_PY_INT, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X, 0, 0, 0},
25774{ SWIG_PY_INT, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X, 0, 0, 0},
25775{ SWIG_PY_INT, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y, 0, 0, 0},
25776{ SWIG_PY_INT, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X, 0, 0, 0},
25777{ SWIG_PY_INT, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y, 0, 0, 0},
25778{ SWIG_PY_INT, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X, 0, 0, 0},
25779{ SWIG_PY_INT, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y, 0, 0, 0},
25780{ SWIG_PY_INT, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X, 0, 0, 0},
25781{ SWIG_PY_INT, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y, 0, 0, 0},
25782{ SWIG_PY_INT, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X, 0, 0, 0},
25783{ SWIG_PY_INT, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y, 0, 0, 0},
25784{ SWIG_PY_INT, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X, 0, 0, 0},
25785{ SWIG_PY_INT, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y, 0, 0, 0},
25786{ SWIG_PY_INT, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y, 0, 0, 0},
25787{ SWIG_PY_INT, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X, 0, 0, 0},
25788{ SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X, 0, 0, 0},
25789{ SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y, 0, 0, 0},
25790{ SWIG_PY_INT, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y, 0, 0, 0},
25791{ SWIG_PY_INT, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y, 0, 0, 0},
25792{ SWIG_PY_INT, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y, 0, 0, 0},
25793{ SWIG_PY_INT, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT, 0, 0, 0},
25794{ SWIG_PY_INT, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT, 0, 0, 0},
25795{ SWIG_PY_INT, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS, 0, 0, 0},
25796{ SWIG_PY_INT, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS, 0, 0, 0},
25797{ SWIG_PY_INT, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS, 0, 0, 0},
25798{ SWIG_PY_INT, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME, 0, 0, 0},
25799{ SWIG_PY_INT, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE, 0, 0, 0},
25800{ SWIG_PY_INT, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY, 0, 0, 0},
25801{ SWIG_PY_INT, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA, 0, 0, 0},
25802{ SWIG_PY_INT, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL, 0, 0, 0},
25803{ SWIG_PY_INT, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP, 0, 0, 0},
25804{ SWIG_PY_INT, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF, 0, 0, 0},
25805{ SWIG_PY_INT, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT, 0, 0, 0},
25806{ SWIG_PY_INT, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS, 0, 0, 0},
25807{ SWIG_PY_INT, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT, 0, 0, 0},
25808{ SWIG_PY_INT, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER, 0, 0, 0},
25809{ SWIG_PY_INT, (char *)"LOG_FatalError", (long) wxLOG_FatalError, 0, 0, 0},
25810{ SWIG_PY_INT, (char *)"LOG_Error", (long) wxLOG_Error, 0, 0, 0},
25811{ SWIG_PY_INT, (char *)"LOG_Warning", (long) wxLOG_Warning, 0, 0, 0},
25812{ SWIG_PY_INT, (char *)"LOG_Message", (long) wxLOG_Message, 0, 0, 0},
25813{ SWIG_PY_INT, (char *)"LOG_Status", (long) wxLOG_Status, 0, 0, 0},
25814{ SWIG_PY_INT, (char *)"LOG_Info", (long) wxLOG_Info, 0, 0, 0},
25815{ SWIG_PY_INT, (char *)"LOG_Debug", (long) wxLOG_Debug, 0, 0, 0},
25816{ SWIG_PY_INT, (char *)"LOG_Trace", (long) wxLOG_Trace, 0, 0, 0},
25817{ SWIG_PY_INT, (char *)"LOG_Progress", (long) wxLOG_Progress, 0, 0, 0},
25818{ SWIG_PY_INT, (char *)"LOG_User", (long) wxLOG_User, 0, 0, 0},
25819{ SWIG_PY_INT, (char *)"LOG_Max", (long) wxLOG_Max, 0, 0, 0},
25820{ SWIG_PY_STRING, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
25821{ SWIG_PY_STRING, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
25822{ SWIG_PY_STRING, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
25823{ SWIG_PY_STRING, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
25824{ SWIG_PY_STRING, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
25825{ SWIG_PY_INT, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
25826{ SWIG_PY_INT, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
25827{ SWIG_PY_INT, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
25828{ SWIG_PY_INT, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
25829{ SWIG_PY_INT, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
25830{ SWIG_PY_INT, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT, 0, 0, 0},
25831{ SWIG_PY_INT, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT, 0, 0, 0},
25832{ SWIG_PY_INT, (char *)"KILL_OK", (long) wxKILL_OK, 0, 0, 0},
25833{ SWIG_PY_INT, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL, 0, 0, 0},
25834{ SWIG_PY_INT, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED, 0, 0, 0},
25835{ SWIG_PY_INT, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS, 0, 0, 0},
25836{ SWIG_PY_INT, (char *)"KILL_ERROR", (long) wxKILL_ERROR, 0, 0, 0},
25837{ SWIG_PY_INT, (char *)"SIGNONE", (long) wxSIGNONE, 0, 0, 0},
25838{ SWIG_PY_INT, (char *)"SIGHUP", (long) wxSIGHUP, 0, 0, 0},
25839{ SWIG_PY_INT, (char *)"SIGINT", (long) wxSIGINT, 0, 0, 0},
25840{ SWIG_PY_INT, (char *)"SIGQUIT", (long) wxSIGQUIT, 0, 0, 0},
25841{ SWIG_PY_INT, (char *)"SIGILL", (long) wxSIGILL, 0, 0, 0},
25842{ SWIG_PY_INT, (char *)"SIGTRAP", (long) wxSIGTRAP, 0, 0, 0},
25843{ SWIG_PY_INT, (char *)"SIGABRT", (long) wxSIGABRT, 0, 0, 0},
25844{ SWIG_PY_INT, (char *)"SIGIOT", (long) wxSIGIOT, 0, 0, 0},
25845{ SWIG_PY_INT, (char *)"SIGEMT", (long) wxSIGEMT, 0, 0, 0},
25846{ SWIG_PY_INT, (char *)"SIGFPE", (long) wxSIGFPE, 0, 0, 0},
25847{ SWIG_PY_INT, (char *)"SIGKILL", (long) wxSIGKILL, 0, 0, 0},
25848{ SWIG_PY_INT, (char *)"SIGBUS", (long) wxSIGBUS, 0, 0, 0},
25849{ SWIG_PY_INT, (char *)"SIGSEGV", (long) wxSIGSEGV, 0, 0, 0},
25850{ SWIG_PY_INT, (char *)"SIGSYS", (long) wxSIGSYS, 0, 0, 0},
25851{ SWIG_PY_INT, (char *)"SIGPIPE", (long) wxSIGPIPE, 0, 0, 0},
25852{ SWIG_PY_INT, (char *)"SIGALRM", (long) wxSIGALRM, 0, 0, 0},
25853{ SWIG_PY_INT, (char *)"SIGTERM", (long) wxSIGTERM, 0, 0, 0},
25854{ SWIG_PY_INT, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS, 0, 0, 0},
25855{ SWIG_PY_INT, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC, 0, 0, 0},
25856{ SWIG_PY_INT, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC, 0, 0, 0},
25857{ SWIG_PY_INT, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE, 0, 0, 0},
25858{ SWIG_PY_INT, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER, 0, 0, 0},
25859{ SWIG_PY_INT, (char *)"JOYSTICK1", (long) wxJOYSTICK1, 0, 0, 0},
25860{ SWIG_PY_INT, (char *)"JOYSTICK2", (long) wxJOYSTICK2, 0, 0, 0},
25861{ SWIG_PY_INT, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY, 0, 0, 0},
25862{ SWIG_PY_INT, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1, 0, 0, 0},
25863{ SWIG_PY_INT, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2, 0, 0, 0},
25864{ SWIG_PY_INT, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3, 0, 0, 0},
25865{ SWIG_PY_INT, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4, 0, 0, 0},
25866{ SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN, 0, 0, 0},
25867{ SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP, 0, 0, 0},
25868{ SWIG_PY_INT, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE, 0, 0, 0},
25869{ SWIG_PY_INT, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE, 0, 0, 0},
25870{ SWIG_PY_INT, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD, 0, 0, 0},
25871{ SWIG_PY_INT, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE, 0, 0, 0},
25872{ SWIG_PY_INT, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE, 0, 0, 0},
25873{ SWIG_PY_INT, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME, 0, 0, 0},
25874{ SWIG_PY_INT, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL, 0, 0, 0},
25875{ SWIG_PY_INT, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE, 0, 0, 0},
25876{ SWIG_PY_INT, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE, 0, 0, 0},
25877{ SWIG_PY_INT, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH, 0, 0, 0},
25878{ SWIG_PY_INT, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS, 0, 0, 0},
25879{ SWIG_PY_INT, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown, 0, 0, 0},
25880{ SWIG_PY_INT, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String, 0, 0, 0},
25881{ SWIG_PY_INT, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean, 0, 0, 0},
25882{ SWIG_PY_INT, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer, 0, 0, 0},
25883{ SWIG_PY_INT, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float, 0, 0, 0},
25884{ SWIG_PY_INT, (char *)"DateTime_Local", (long) wxDateTime::Local, 0, 0, 0},
25885{ SWIG_PY_INT, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12, 0, 0, 0},
25886{ SWIG_PY_INT, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11, 0, 0, 0},
25887{ SWIG_PY_INT, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10, 0, 0, 0},
25888{ SWIG_PY_INT, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9, 0, 0, 0},
25889{ SWIG_PY_INT, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8, 0, 0, 0},
25890{ SWIG_PY_INT, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7, 0, 0, 0},
25891{ SWIG_PY_INT, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6, 0, 0, 0},
25892{ SWIG_PY_INT, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5, 0, 0, 0},
25893{ SWIG_PY_INT, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4, 0, 0, 0},
25894{ SWIG_PY_INT, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3, 0, 0, 0},
25895{ SWIG_PY_INT, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2, 0, 0, 0},
25896{ SWIG_PY_INT, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1, 0, 0, 0},
25897{ SWIG_PY_INT, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0, 0, 0, 0},
25898{ SWIG_PY_INT, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1, 0, 0, 0},
25899{ SWIG_PY_INT, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2, 0, 0, 0},
25900{ SWIG_PY_INT, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3, 0, 0, 0},
25901{ SWIG_PY_INT, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4, 0, 0, 0},
25902{ SWIG_PY_INT, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5, 0, 0, 0},
25903{ SWIG_PY_INT, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6, 0, 0, 0},
25904{ SWIG_PY_INT, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7, 0, 0, 0},
25905{ SWIG_PY_INT, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8, 0, 0, 0},
25906{ SWIG_PY_INT, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9, 0, 0, 0},
25907{ SWIG_PY_INT, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10, 0, 0, 0},
25908{ SWIG_PY_INT, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11, 0, 0, 0},
25909{ SWIG_PY_INT, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12, 0, 0, 0},
25910{ SWIG_PY_INT, (char *)"DateTime_WET", (long) wxDateTime::WET, 0, 0, 0},
25911{ SWIG_PY_INT, (char *)"DateTime_WEST", (long) wxDateTime::WEST, 0, 0, 0},
25912{ SWIG_PY_INT, (char *)"DateTime_CET", (long) wxDateTime::CET, 0, 0, 0},
25913{ SWIG_PY_INT, (char *)"DateTime_CEST", (long) wxDateTime::CEST, 0, 0, 0},
25914{ SWIG_PY_INT, (char *)"DateTime_EET", (long) wxDateTime::EET, 0, 0, 0},
25915{ SWIG_PY_INT, (char *)"DateTime_EEST", (long) wxDateTime::EEST, 0, 0, 0},
25916{ SWIG_PY_INT, (char *)"DateTime_MSK", (long) wxDateTime::MSK, 0, 0, 0},
25917{ SWIG_PY_INT, (char *)"DateTime_MSD", (long) wxDateTime::MSD, 0, 0, 0},
25918{ SWIG_PY_INT, (char *)"DateTime_AST", (long) wxDateTime::AST, 0, 0, 0},
25919{ SWIG_PY_INT, (char *)"DateTime_ADT", (long) wxDateTime::ADT, 0, 0, 0},
25920{ SWIG_PY_INT, (char *)"DateTime_EST", (long) wxDateTime::EST, 0, 0, 0},
25921{ SWIG_PY_INT, (char *)"DateTime_EDT", (long) wxDateTime::EDT, 0, 0, 0},
25922{ SWIG_PY_INT, (char *)"DateTime_CST", (long) wxDateTime::CST, 0, 0, 0},
25923{ SWIG_PY_INT, (char *)"DateTime_CDT", (long) wxDateTime::CDT, 0, 0, 0},
25924{ SWIG_PY_INT, (char *)"DateTime_MST", (long) wxDateTime::MST, 0, 0, 0},
25925{ SWIG_PY_INT, (char *)"DateTime_MDT", (long) wxDateTime::MDT, 0, 0, 0},
25926{ SWIG_PY_INT, (char *)"DateTime_PST", (long) wxDateTime::PST, 0, 0, 0},
25927{ SWIG_PY_INT, (char *)"DateTime_PDT", (long) wxDateTime::PDT, 0, 0, 0},
25928{ SWIG_PY_INT, (char *)"DateTime_HST", (long) wxDateTime::HST, 0, 0, 0},
25929{ SWIG_PY_INT, (char *)"DateTime_AKST", (long) wxDateTime::AKST, 0, 0, 0},
25930{ SWIG_PY_INT, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT, 0, 0, 0},
25931{ SWIG_PY_INT, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST, 0, 0, 0},
25932{ SWIG_PY_INT, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST, 0, 0, 0},
25933{ SWIG_PY_INT, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST, 0, 0, 0},
25934{ SWIG_PY_INT, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST, 0, 0, 0},
25935{ SWIG_PY_INT, (char *)"DateTime_UTC", (long) wxDateTime::UTC, 0, 0, 0},
25936{ SWIG_PY_INT, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian, 0, 0, 0},
25937{ SWIG_PY_INT, (char *)"DateTime_Julian", (long) wxDateTime::Julian, 0, 0, 0},
25938{ SWIG_PY_INT, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown, 0, 0, 0},
25939{ SWIG_PY_INT, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard, 0, 0, 0},
25940{ SWIG_PY_INT, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska, 0, 0, 0},
25941{ SWIG_PY_INT, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania, 0, 0, 0},
25942{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria, 0, 0, 0},
25943{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen, 0, 0, 0},
25944{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg, 0, 0, 0},
25945{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol, 0, 0, 0},
25946{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia, 0, 0, 0},
25947{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria, 0, 0, 0},
25948{ SWIG_PY_INT, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium, 0, 0, 0},
25949{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria, 0, 0, 0},
25950{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1, 0, 0, 0},
25951{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2, 0, 0, 0},
25952{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3, 0, 0, 0},
25953{ SWIG_PY_INT, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada, 0, 0, 0},
25954{ SWIG_PY_INT, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China, 0, 0, 0},
25955{ SWIG_PY_INT, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1, 0, 0, 0},
25956{ SWIG_PY_INT, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2, 0, 0, 0},
25957{ SWIG_PY_INT, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia, 0, 0, 0},
25958{ SWIG_PY_INT, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark, 0, 0, 0},
25959{ SWIG_PY_INT, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt, 0, 0, 0},
25960{ SWIG_PY_INT, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia, 0, 0, 0},
25961{ SWIG_PY_INT, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland, 0, 0, 0},
25962{ SWIG_PY_INT, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France, 0, 0, 0},
25963{ SWIG_PY_INT, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace, 0, 0, 0},
25964{ SWIG_PY_INT, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine, 0, 0, 0},
25965{ SWIG_PY_INT, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg, 0, 0, 0},
25966{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany, 0, 0, 0},
25967{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic, 0, 0, 0},
25968{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia, 0, 0, 0},
25969{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant, 0, 0, 0},
25970{ SWIG_PY_INT, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain, 0, 0, 0},
25971{ SWIG_PY_INT, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece, 0, 0, 0},
25972{ SWIG_PY_INT, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary, 0, 0, 0},
25973{ SWIG_PY_INT, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland, 0, 0, 0},
25974{ SWIG_PY_INT, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy, 0, 0, 0},
25975{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan, 0, 0, 0},
25976{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1, 0, 0, 0},
25977{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2, 0, 0, 0},
25978{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3, 0, 0, 0},
25979{ SWIG_PY_INT, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia, 0, 0, 0},
25980{ SWIG_PY_INT, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania, 0, 0, 0},
25981{ SWIG_PY_INT, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg, 0, 0, 0},
25982{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands, 0, 0, 0},
25983{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen, 0, 0, 0},
25984{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland, 0, 0, 0},
25985{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht, 0, 0, 0},
25986{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland, 0, 0, 0},
25987{ SWIG_PY_INT, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway, 0, 0, 0},
25988{ SWIG_PY_INT, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland, 0, 0, 0},
25989{ SWIG_PY_INT, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal, 0, 0, 0},
25990{ SWIG_PY_INT, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania, 0, 0, 0},
25991{ SWIG_PY_INT, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia, 0, 0, 0},
25992{ SWIG_PY_INT, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland, 0, 0, 0},
25993{ SWIG_PY_INT, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain, 0, 0, 0},
25994{ SWIG_PY_INT, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden, 0, 0, 0},
25995{ SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland, 0, 0, 0},
25996{ SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic, 0, 0, 0},
25997{ SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant, 0, 0, 0},
25998{ SWIG_PY_INT, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey, 0, 0, 0},
25999{ SWIG_PY_INT, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA, 0, 0, 0},
26000{ SWIG_PY_INT, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales, 0, 0, 0},
26001{ SWIG_PY_INT, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia, 0, 0, 0},
26002{ SWIG_PY_INT, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown, 0, 0, 0},
26003{ SWIG_PY_INT, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default, 0, 0, 0},
26004{ SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start, 0, 0, 0},
26005{ SWIG_PY_INT, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC, 0, 0, 0},
26006{ SWIG_PY_INT, (char *)"DateTime_France", (long) wxDateTime::France, 0, 0, 0},
26007{ SWIG_PY_INT, (char *)"DateTime_Germany", (long) wxDateTime::Germany, 0, 0, 0},
26008{ SWIG_PY_INT, (char *)"DateTime_UK", (long) wxDateTime::UK, 0, 0, 0},
26009{ SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End, 0, 0, 0},
26010{ SWIG_PY_INT, (char *)"DateTime_Russia", (long) wxDateTime::Russia, 0, 0, 0},
26011{ SWIG_PY_INT, (char *)"DateTime_USA", (long) wxDateTime::USA, 0, 0, 0},
26012{ SWIG_PY_INT, (char *)"DateTime_Jan", (long) wxDateTime::Jan, 0, 0, 0},
26013{ SWIG_PY_INT, (char *)"DateTime_Feb", (long) wxDateTime::Feb, 0, 0, 0},
26014{ SWIG_PY_INT, (char *)"DateTime_Mar", (long) wxDateTime::Mar, 0, 0, 0},
26015{ SWIG_PY_INT, (char *)"DateTime_Apr", (long) wxDateTime::Apr, 0, 0, 0},
26016{ SWIG_PY_INT, (char *)"DateTime_May", (long) wxDateTime::May, 0, 0, 0},
26017{ SWIG_PY_INT, (char *)"DateTime_Jun", (long) wxDateTime::Jun, 0, 0, 0},
26018{ SWIG_PY_INT, (char *)"DateTime_Jul", (long) wxDateTime::Jul, 0, 0, 0},
26019{ SWIG_PY_INT, (char *)"DateTime_Aug", (long) wxDateTime::Aug, 0, 0, 0},
26020{ SWIG_PY_INT, (char *)"DateTime_Sep", (long) wxDateTime::Sep, 0, 0, 0},
26021{ SWIG_PY_INT, (char *)"DateTime_Oct", (long) wxDateTime::Oct, 0, 0, 0},
26022{ SWIG_PY_INT, (char *)"DateTime_Nov", (long) wxDateTime::Nov, 0, 0, 0},
26023{ SWIG_PY_INT, (char *)"DateTime_Dec", (long) wxDateTime::Dec, 0, 0, 0},
26024{ SWIG_PY_INT, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month, 0, 0, 0},
26025{ SWIG_PY_INT, (char *)"DateTime_Sun", (long) wxDateTime::Sun, 0, 0, 0},
26026{ SWIG_PY_INT, (char *)"DateTime_Mon", (long) wxDateTime::Mon, 0, 0, 0},
26027{ SWIG_PY_INT, (char *)"DateTime_Tue", (long) wxDateTime::Tue, 0, 0, 0},
26028{ SWIG_PY_INT, (char *)"DateTime_Wed", (long) wxDateTime::Wed, 0, 0, 0},
26029{ SWIG_PY_INT, (char *)"DateTime_Thu", (long) wxDateTime::Thu, 0, 0, 0},
26030{ SWIG_PY_INT, (char *)"DateTime_Fri", (long) wxDateTime::Fri, 0, 0, 0},
26031{ SWIG_PY_INT, (char *)"DateTime_Sat", (long) wxDateTime::Sat, 0, 0, 0},
26032{ SWIG_PY_INT, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay, 0, 0, 0},
26033{ SWIG_PY_INT, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year, 0, 0, 0},
26034{ SWIG_PY_INT, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full, 0, 0, 0},
26035{ SWIG_PY_INT, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr, 0, 0, 0},
26036{ SWIG_PY_INT, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First, 0, 0, 0},
26037{ SWIG_PY_INT, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First, 0, 0, 0},
26038{ SWIG_PY_INT, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First, 0, 0, 0},
26039{ SWIG_PY_INT, (char *)"DF_INVALID", (long) wxDF_INVALID, 0, 0, 0},
26040{ SWIG_PY_INT, (char *)"DF_TEXT", (long) wxDF_TEXT, 0, 0, 0},
26041{ SWIG_PY_INT, (char *)"DF_BITMAP", (long) wxDF_BITMAP, 0, 0, 0},
26042{ SWIG_PY_INT, (char *)"DF_METAFILE", (long) wxDF_METAFILE, 0, 0, 0},
26043{ SWIG_PY_INT, (char *)"DF_SYLK", (long) wxDF_SYLK, 0, 0, 0},
26044{ SWIG_PY_INT, (char *)"DF_DIF", (long) wxDF_DIF, 0, 0, 0},
26045{ SWIG_PY_INT, (char *)"DF_TIFF", (long) wxDF_TIFF, 0, 0, 0},
26046{ SWIG_PY_INT, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT, 0, 0, 0},
26047{ SWIG_PY_INT, (char *)"DF_DIB", (long) wxDF_DIB, 0, 0, 0},
26048{ SWIG_PY_INT, (char *)"DF_PALETTE", (long) wxDF_PALETTE, 0, 0, 0},
26049{ SWIG_PY_INT, (char *)"DF_PENDATA", (long) wxDF_PENDATA, 0, 0, 0},
26050{ SWIG_PY_INT, (char *)"DF_RIFF", (long) wxDF_RIFF, 0, 0, 0},
26051{ SWIG_PY_INT, (char *)"DF_WAVE", (long) wxDF_WAVE, 0, 0, 0},
26052{ SWIG_PY_INT, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT, 0, 0, 0},
26053{ SWIG_PY_INT, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE, 0, 0, 0},
26054{ SWIG_PY_INT, (char *)"DF_FILENAME", (long) wxDF_FILENAME, 0, 0, 0},
26055{ SWIG_PY_INT, (char *)"DF_LOCALE", (long) wxDF_LOCALE, 0, 0, 0},
26056{ SWIG_PY_INT, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE, 0, 0, 0},
26057{ SWIG_PY_INT, (char *)"DF_HTML", (long) wxDF_HTML, 0, 0, 0},
26058{ SWIG_PY_INT, (char *)"DF_MAX", (long) wxDF_MAX, 0, 0, 0},
26059{ SWIG_PY_INT, (char *)"DataObject_Get", (long) wxDataObject::Get, 0, 0, 0},
26060{ SWIG_PY_INT, (char *)"DataObject_Set", (long) wxDataObject::Set, 0, 0, 0},
26061{ SWIG_PY_INT, (char *)"DataObject_Both", (long) wxDataObject::Both, 0, 0, 0},
26062{ SWIG_PY_INT, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly, 0, 0, 0},
26063{ SWIG_PY_INT, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove, 0, 0, 0},
26064{ SWIG_PY_INT, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove, 0, 0, 0},
26065{ SWIG_PY_INT, (char *)"DragError", (long) wxDragError, 0, 0, 0},
26066{ SWIG_PY_INT, (char *)"DragNone", (long) wxDragNone, 0, 0, 0},
26067{ SWIG_PY_INT, (char *)"DragCopy", (long) wxDragCopy, 0, 0, 0},
26068{ SWIG_PY_INT, (char *)"DragMove", (long) wxDragMove, 0, 0, 0},
26069{ SWIG_PY_INT, (char *)"DragLink", (long) wxDragLink, 0, 0, 0},
26070{ SWIG_PY_INT, (char *)"DragCancel", (long) wxDragCancel, 0, 0, 0},
26071{0}};
26072
26073#ifdef __cplusplus
26074}
26075#endif
26076
26077#ifdef __cplusplus
26078extern "C"
26079#endif
26080SWIGEXPORT(void) SWIG_init(void) {
26081 static PyObject *SWIG_globals = 0;
26082 static int typeinit = 0;
26083 PyObject *m, *d;
26084 int i;
26085 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26086 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26087 d = PyModule_GetDict(m);
26088
26089 if (!typeinit) {
26090 for (i = 0; swig_types_initial[i]; i++) {
26091 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26092 }
26093 typeinit = 1;
26094 }
26095 SWIG_InstallConstants(d,swig_const_table);
26096
26097 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
26098 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
26099
26100 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26101
26102 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
26103 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
26104 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
26105 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
26106 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26107 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
26108 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
26109 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
26110 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
26111 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
26112 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
26113 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
26114 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
26115 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
26116 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
26117 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
26118 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
26119 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
26120 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
26121 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
26122 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
26123 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
26124 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
26125 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
26126 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
26127 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
26128 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
26129 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
26130 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
26131 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
26132 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
26133 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
26134 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
26135 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
26136 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
26137 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
26138 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
26139 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
26140 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
26141 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
26142 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
26143 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
26144 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
26145 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
26146
26147 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26148
26149 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
26150
26151 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26152 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26153 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26154 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26155
26156 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
26157}
26158