]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/misc_wrap.cpp
Aquire the GIL before raising the NotImplementedError exception
[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
c9c7117a
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
cc6dd355
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
d14a1e28 82#else
cc6dd355
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
cc6dd355 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
cc6dd355 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
cc6dd355 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
cc6dd355 104 void *clientdata;
d14a1e28
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
cc6dd355
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
120
121
122#ifdef __cplusplus
123}
9d1d5697 124
d14a1e28
RD
125#endif
126
cc6dd355 127
d14a1e28
RD
128/***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
d14a1e28
RD
138#include "Python.h"
139
140#ifdef __cplusplus
141extern "C" {
142#endif
143
144#define SWIG_PY_INT 1
145#define SWIG_PY_FLOAT 2
146#define SWIG_PY_STRING 3
147#define SWIG_PY_POINTER 4
148#define SWIG_PY_BINARY 5
149
150/* Flags for pointer conversion */
151
152#define SWIG_POINTER_EXCEPTION 0x1
153#define SWIG_POINTER_DISOWN 0x2
154
155/* Exception handling in wrappers */
156#define SWIG_fail goto fail
157
158/* Constant information structure */
159typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166} swig_const_info;
167
d14a1e28
RD
168/* Common SWIG API */
169#define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171#define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173#define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176/* Python-specific SWIG API */
177#define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179#define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
183#define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185#define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
188
cc6dd355
RD
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 197
d14a1e28
RD
198
199
200/* Contract support */
201
9d1d5697 202#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 203
d14a1e28
RD
204#ifdef __cplusplus
205}
206#endif
207
208
209
210/* -------- TYPES TABLE (BEGIN) -------- */
211
212#define SWIGTYPE_p_wxLogChain swig_types[0]
213#define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
214#define SWIGTYPE_p_wxFileHistory swig_types[2]
215#define SWIGTYPE_p_wxLog swig_types[3]
216#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
217#define SWIGTYPE_p_wxMenu swig_types[5]
218#define SWIGTYPE_p_wxEvent swig_types[6]
219#define SWIGTYPE_p_wxConfigBase swig_types[7]
220#define SWIGTYPE_p_wxWave swig_types[8]
221#define SWIGTYPE_p_wxFileType swig_types[9]
222#define SWIGTYPE_p_wxLogGui swig_types[10]
223#define SWIGTYPE_p_wxFont swig_types[11]
224#define SWIGTYPE_p_wxDataFormat swig_types[12]
225#define SWIGTYPE_p_wxTimerEvent swig_types[13]
226#define SWIGTYPE_p_wxCaret swig_types[14]
227#define SWIGTYPE_p_int swig_types[15]
228#define SWIGTYPE_p_wxSize swig_types[16]
229#define SWIGTYPE_p_wxClipboard swig_types[17]
230#define SWIGTYPE_p_wxStopWatch swig_types[18]
231#define SWIGTYPE_p_wxDC swig_types[19]
232#define SWIGTYPE_p_wxClipboardLocker swig_types[20]
233#define SWIGTYPE_p_wxIcon swig_types[21]
234#define SWIGTYPE_p_wxLogStderr swig_types[22]
235#define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
236#define SWIGTYPE_p_wxTextCtrl swig_types[24]
237#define SWIGTYPE_p_wxBusyCursor swig_types[25]
238#define SWIGTYPE_p_wxFileDataObject swig_types[26]
239#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
240#define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
241#define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
242#define SWIGTYPE_p_wxTextDataObject swig_types[30]
243#define SWIGTYPE_p_wxDataObject swig_types[31]
244#define SWIGTYPE_p_wxCustomDataObject swig_types[32]
245#define SWIGTYPE_p_wxURLDataObject swig_types[33]
246#define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
247#define SWIGTYPE_p_wxTimerRunner swig_types[35]
248#define SWIGTYPE_p_wxLogWindow swig_types[36]
249#define SWIGTYPE_p_wxTimeSpan swig_types[37]
250#define SWIGTYPE_p_wxArrayString swig_types[38]
251#define SWIGTYPE_p_wxWindowDisabler swig_types[39]
252#define SWIGTYPE_p_wxToolTip swig_types[40]
253#define SWIGTYPE_p_wxDataObjectComposite swig_types[41]
254#define SWIGTYPE_p_wxFileConfig swig_types[42]
255#define SWIGTYPE_p_wxSystemSettings swig_types[43]
256#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[44]
257#define SWIGTYPE_p_wxDataObjectSimple swig_types[45]
258#define SWIGTYPE_p_wxEvtHandler swig_types[46]
259#define SWIGTYPE_p_wxRect swig_types[47]
260#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[48]
261#define SWIGTYPE_p_wxFileTypeInfo swig_types[49]
262#define SWIGTYPE_p_wxFrame swig_types[50]
263#define SWIGTYPE_p_wxTimer swig_types[51]
264#define SWIGTYPE_p_wxMimeTypesManager swig_types[52]
265#define SWIGTYPE_p_wxPyArtProvider swig_types[53]
266#define SWIGTYPE_p_wxPyTipProvider swig_types[54]
267#define SWIGTYPE_p_wxTipProvider swig_types[55]
268#define SWIGTYPE_p_wxJoystick swig_types[56]
269#define SWIGTYPE_p_wxSystemOptions swig_types[57]
270#define SWIGTYPE_p_wxPoint swig_types[58]
271#define SWIGTYPE_p_wxJoystickEvent swig_types[59]
272#define SWIGTYPE_p_wxCursor swig_types[60]
273#define SWIGTYPE_p_wxObject swig_types[61]
274#define SWIGTYPE_p_wxOutputStream swig_types[62]
275#define SWIGTYPE_p_wxDateTime swig_types[63]
276#define SWIGTYPE_p_wxPyDropSource swig_types[64]
277#define SWIGTYPE_p_wxWindow swig_types[65]
278#define SWIGTYPE_p_wxString swig_types[66]
279#define SWIGTYPE_p_wxPyProcess swig_types[67]
280#define SWIGTYPE_p_wxBitmap swig_types[68]
281#define SWIGTYPE_p_wxConfig swig_types[69]
282#define SWIGTYPE_p_wxChar swig_types[70]
283#define SWIGTYPE_p_wxBusyInfo swig_types[71]
284#define SWIGTYPE_p_wxPyDropTarget swig_types[72]
285#define SWIGTYPE_p_wxPyTextDropTarget swig_types[73]
286#define SWIGTYPE_p_wxPyFileDropTarget swig_types[74]
287#define SWIGTYPE_p_wxProcessEvent swig_types[75]
288#define SWIGTYPE_p_wxPyLog swig_types[76]
289#define SWIGTYPE_p_wxLogNull swig_types[77]
290#define SWIGTYPE_p_wxColour swig_types[78]
291#define SWIGTYPE_p_wxConfigPathChanger swig_types[79]
292#define SWIGTYPE_p_wxPyTimer swig_types[80]
293#define SWIGTYPE_p_wxDateSpan swig_types[81]
294static swig_type_info *swig_types[83];
295
296/* -------- TYPES TABLE (END) -------- */
297
298
299/*-----------------------------------------------
300 @(target):= _misc.so
301 ------------------------------------------------*/
302#define SWIG_init init_misc
303
304#define SWIG_name "_misc"
305
306#include "wx/wxPython/wxPython.h"
307#include "wx/wxPython/pyclasses.h"
308#include "wx/wxPython/pyistream.h"
309
d14a1e28 310
b2dc1044 311 static const wxString wxPyEmptyString(wxEmptyString);
d14a1e28 312
d14a1e28 313
b2dc1044
RD
314 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
315 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
316 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
d14a1e28
RD
317
318static PyObject* t_output_helper(PyObject* target, PyObject* o) {
319 PyObject* o2;
320 PyObject* o3;
321
322 if (!target) {
323 target = o;
324 } else if (target == Py_None) {
325 Py_DECREF(Py_None);
326 target = o;
327 } else {
328 if (!PyTuple_Check(target)) {
329 o2 = target;
330 target = PyTuple_New(1);
331 PyTuple_SetItem(target, 0, o2);
332 }
333 o3 = PyTuple_New(1);
334 PyTuple_SetItem(o3, 0, o);
335
336 o2 = target;
337 target = PySequence_Concat(o2, o3);
338 Py_DECREF(o2);
339 Py_DECREF(o3);
340 }
341 return target;
342}
343
344
345 long wxGetFreeMemory()
346 { PyErr_SetNone(PyExc_NotImplementedError); return 0; }
347
348
349 void wxWakeUpMainThread() {}
350
351
352 bool wxThread_IsMain() {
353#ifdef WXP_WITH_THREAD
354 return wxThread::IsMain();
355#else
e811c8ce 356 return True;
d14a1e28
RD
357#endif
358 }
359
360
361 int wxCaret_GetBlinkTime() {
362 return wxCaret::GetBlinkTime();
363 }
364
365 void wxCaret_SetBlinkTime(int milliseconds) {
366 wxCaret::SetBlinkTime(milliseconds);
367 }
368
369
370#include <wx/snglinst.h>
371
372
373#ifdef __WXMSW__
374#include <wx/msw/private.h>
375#include <wx/dynload.h>
376#endif
377
378
379
380void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
381{
382#ifdef __WXMSW__
383
384 switch (method)
385 {
386 case 1:
387 // This one only partially works. Appears to be an undocumented
388 // "standard" convention that not all widgets adhear to. For
389 // example, for some widgets backgrounds or non-client areas may
390 // not be painted.
391 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
392 break;
393
394 case 2:
395 // This one works much better, except for on XP. On Win2k nearly
396 // all widgets and their children are captured correctly[**]. On
397 // XP with Themes activated most native widgets draw only
398 // partially, if at all. Without themes it works just like on
399 // Win2k.
400 //
401 // ** For example the radio buttons in a wxRadioBox are not its
402 // children by default, but you can capture it via the panel
403 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
404 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
405 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
406 PRF_ERASEBKGND | PRF_OWNED );
407 break;
408
409 case 3:
410 // This one is only defined in the latest SDK and is only
411 // available on XP. MSDN says it is similar to sending WM_PRINT
412 // so I expect that it will work similar to the above. Since it
413 // is avaialble only on XP, it can't be compiled like this and
414 // will have to be loaded dynamically.
415 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
416
417 // fall through
418
419 case 4:
420 // Use PrintWindow if available, or fallback to WM_PRINT
421 // otherwise. Unfortunately using PrintWindow is even worse than
422 // WM_PRINT. For most native widgets nothing is drawn to the dc
423 // at all, with or without Themes.
424 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
e811c8ce 425 static bool s_triedToLoad = False;
d14a1e28
RD
426 static PrintWindow_t pfnPrintWindow = NULL;
427 if ( !s_triedToLoad )
428 {
429
e811c8ce 430 s_triedToLoad = True;
d14a1e28
RD
431 wxDynamicLibrary dllUser32(_T("user32.dll"));
432 if ( dllUser32.IsLoaded() )
433 {
434 wxLogNull nolog; // Don't report errors here
435 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
436 }
437 }
438 if (pfnPrintWindow)
439 {
440 printf("Using PrintWindow\n");
441 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
442 }
443 else
444 {
445 printf("Using WM_PRINT\n");
446 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
447 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
448 }
449 }
450#endif
451}
452
453
454
455#include <wx/tipdlg.h>
456
457
458class wxPyTipProvider : public wxTipProvider {
459public:
460 wxPyTipProvider(size_t currentTip)
461 : wxTipProvider(currentTip) {}
462
463 DEC_PYCALLBACK_STRING__pure(GetTip);
464 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
465 PYPRIVATE;
466};
467
468IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
469IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
470
471
472IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
473
474wxString Log_TimeStamp(){
475 wxString msg;
476 wxLog::TimeStamp(&msg);
477 return msg;
478 }
479void wxLog_Destroy(wxLog *self){ delete self; }
480
481// A wxLog class that can be derived from in wxPython
482class wxPyLog : public wxLog {
483public:
484 wxPyLog() : wxLog() {}
485
486 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
487 bool found;
488 wxPyBeginBlockThreads();
489 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
490 PyObject* s = wx2PyString(szString);
491 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
492 Py_DECREF(s);
493 }
494 wxPyEndBlockThreads();
495 if (! found)
496 wxLog::DoLog(level, szString, t);
497 }
498
499 virtual void DoLogString(const wxChar *szString, time_t t) {
500 bool found;
501 wxPyBeginBlockThreads();
502 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
503 PyObject* s = wx2PyString(szString);
504 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
505 Py_DECREF(s);
506 }
507 wxPyEndBlockThreads();
508 if (! found)
509 wxLog::DoLogString(szString, t);
510 }
511
512 PYPRIVATE;
513};
514
515
516
517
518IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
519
520
521#include <wx/joystick.h>
522
523
524#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
525// A C++ stub class for wxJoystick for platforms that don't have it.
526class wxJoystick : public wxObject {
527public:
528 wxJoystick(int joystick = wxJOYSTICK1) {
529 wxPyBeginBlockThreads();
530 PyErr_SetString(PyExc_NotImplementedError, "wxJoystick is not available on this platform.");
531 wxPyEndBlockThreads();
532 }
533 wxPoint GetPosition() { return wxPoint(-1,-1); }
534 int GetZPosition() { return -1; }
535 int GetButtonState() { return -1; }
536 int GetPOVPosition() { return -1; }
537 int GetPOVCTSPosition() { return -1; }
538 int GetRudderPosition() { return -1; }
539 int GetUPosition() { return -1; }
540 int GetVPosition() { return -1; }
541 int GetMovementThreshold() { return -1; }
542 void SetMovementThreshold(int threshold) {}
543
e811c8ce 544 bool IsOk(void) { return False; }
d14a1e28
RD
545 int GetNumberJoysticks() { return -1; }
546 int GetManufacturerId() { return -1; }
547 int GetProductId() { return -1; }
548 wxString GetProductName() { return ""; }
549 int GetXMin() { return -1; }
550 int GetYMin() { return -1; }
551 int GetZMin() { return -1; }
552 int GetXMax() { return -1; }
553 int GetYMax() { return -1; }
554 int GetZMax() { return -1; }
555 int GetNumberButtons() { return -1; }
556 int GetNumberAxes() { return -1; }
557 int GetMaxButtons() { return -1; }
558 int GetMaxAxes() { return -1; }
559 int GetPollingMin() { return -1; }
560 int GetPollingMax() { return -1; }
561 int GetRudderMin() { return -1; }
562 int GetRudderMax() { return -1; }
563 int GetUMin() { return -1; }
564 int GetUMax() { return -1; }
565 int GetVMin() { return -1; }
566 int GetVMax() { return -1; }
567
e811c8ce
RD
568 bool HasRudder() { return False; }
569 bool HasZ() { return False; }
570 bool HasU() { return False; }
571 bool HasV() { return False; }
572 bool HasPOV() { return False; }
573 bool HasPOV4Dir() { return False; }
574 bool HasPOVCTS() { return False; }
d14a1e28 575
e811c8ce
RD
576 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
577 bool ReleaseCapture() { return False; }
d14a1e28
RD
578};
579#endif
580
581
582#include <wx/wave.h>
583
584
585#if !wxUSE_WAVE
586// A C++ stub class for wxWave for platforms that don't have it.
587class wxWave : public wxObject
588{
589public:
e811c8ce 590 wxWave(const wxString& fileName, bool isResource = False) {
d14a1e28
RD
591 wxPyBeginBlockThreads();
592 PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
593 wxPyEndBlockThreads();
594 }
595 wxWave(int size, const wxByte* data) {
596 wxPyBeginBlockThreads();
597 PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
598 wxPyEndBlockThreads();
599 }
600
601 ~wxWave() {}
602
e811c8ce
RD
603 bool IsOk() const { return False; }
604 bool Play(bool async = True, bool looped = False) const { return False; }
d14a1e28
RD
605};
606
607#endif
608
609wxWave *new_wxWave(wxString const &data){
610 return new wxWave(data.Len(), (wxByte*)data.c_str());
611 }
612
613#include <wx/mimetype.h>
614
615PyObject *wxFileType_GetMimeType(wxFileType *self){
616 wxString str;
617 if (self->GetMimeType(&str))
618 return wx2PyString(str);
619 else
620 RETURN_NONE();
621 }
622PyObject *wxFileType_GetMimeTypes(wxFileType *self){
623 wxArrayString arr;
624 if (self->GetMimeTypes(arr))
625 return wxArrayString2PyList_helper(arr);
626 else
627 RETURN_NONE();
628 }
629PyObject *wxFileType_GetExtensions(wxFileType *self){
630 wxArrayString arr;
631 if (self->GetExtensions(arr))
632 return wxArrayString2PyList_helper(arr);
633 else
634 RETURN_NONE();
635 }
636wxIcon *wxFileType_GetIcon(wxFileType *self){
637 wxIconLocation loc;
638 if (self->GetIcon(&loc))
639 return new wxIcon(loc);
640 else
641 return NULL;
642 }
643PyObject *wxFileType_GetIconInfo(wxFileType *self){
644 wxIconLocation loc;
645 if (self->GetIcon(&loc)) {
646 wxString iconFile = loc.GetFileName();
647 int iconIndex = -1;
648
649
650
651 // Make a tuple and put the values in it
652 wxPyBeginBlockThreads();
653 PyObject* tuple = PyTuple_New(3);
654 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
e811c8ce 655 wxT("wxIcon"), True));
d14a1e28
RD
656 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
657 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
658 wxPyEndBlockThreads();
659 return tuple;
660 }
661 else
662 RETURN_NONE();
663 }
664PyObject *wxFileType_GetDescription(wxFileType *self){
665 wxString str;
666 if (self->GetDescription(&str))
667 return wx2PyString(str);
668 else
669 RETURN_NONE();
670 }
671PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
672 wxString str;
673 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
674 return wx2PyString(str);
675 else
676 RETURN_NONE();
677 }
678PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
679 wxString str;
680 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
681 return wx2PyString(str);
682 else
683 RETURN_NONE();
684 }
685PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
686 wxArrayString verbs;
687 wxArrayString commands;
688 if (self->GetAllCommands(&verbs, &commands,
689 wxFileType::MessageParameters(filename, mimetype))) {
690 wxPyBeginBlockThreads();
691 PyObject* tuple = PyTuple_New(2);
692 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
693 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
694 wxPyEndBlockThreads();
695 return tuple;
696 }
697 else
698 RETURN_NONE();
699 }
700wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
701 return wxFileType::ExpandCommand(command,
702 wxFileType::MessageParameters(filename, mimetype));
703 }
704PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
705 wxArrayString arr;
706 self->EnumAllFileTypes(arr);
707 return wxArrayString2PyList_helper(arr);
708 }
709
710#include <wx/artprov.h>
711
712 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
713 static const wxString wxPyART_MENU(wxART_MENU);
714 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
715 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
716 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
717 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
718 static const wxString wxPyART_OTHER(wxART_OTHER);
719 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
720 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
721 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
722 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
723 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
724 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
725 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
726 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
727 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
728 static const wxString wxPyART_GO_UP(wxART_GO_UP);
729 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
730 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
731 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
732 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
733 static const wxString wxPyART_PRINT(wxART_PRINT);
734 static const wxString wxPyART_HELP(wxART_HELP);
735 static const wxString wxPyART_TIP(wxART_TIP);
736 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
737 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
738 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
739 static const wxString wxPyART_FOLDER(wxART_FOLDER);
740 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
741 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
742 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
743 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
744 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
745 static const wxString wxPyART_ERROR(wxART_ERROR);
746 static const wxString wxPyART_QUESTION(wxART_QUESTION);
747 static const wxString wxPyART_WARNING(wxART_WARNING);
748 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
749 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
750 // Python aware wxArtProvider
751class wxPyArtProvider : public wxArtProvider {
752public:
753
754 virtual wxBitmap CreateBitmap(const wxArtID& id,
755 const wxArtClient& client,
756 const wxSize& size) {
757 wxBitmap rval = wxNullBitmap;
758 wxPyBeginBlockThreads();
759 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
760 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
761 PyObject* ro;
762 wxBitmap* ptr;
763 PyObject* s1, *s2;
764 s1 = wx2PyString(id);
765 s2 = wx2PyString(client);
766 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
767 Py_DECREF(so);
768 Py_DECREF(s1);
769 Py_DECREF(s2);
770 if (ro) {
771 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
772 rval = *ptr;
773 Py_DECREF(ro);
774 }
775 }
776 wxPyEndBlockThreads();
777 return rval;
778 }
779
780 PYPRIVATE;
781};
782
1e0c8722 783void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
d14a1e28
RD
784
785
786
787 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
788 PyObject* ret = PyTuple_New(3);
789 if (ret) {
790 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
791 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
792 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
793 }
794 return ret;
795 }
796
797PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
798 bool cont;
799 long index = 0;
800 wxString value;
801
802 cont = self->GetFirstGroup(value, index);
803 return __EnumerationHelper(cont, value, index);
804 }
805PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
806 bool cont;
807 wxString value;
808
809 cont = self->GetNextGroup(value, index);
810 return __EnumerationHelper(cont, value, index);
811 }
812PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
813 bool cont;
814 long index = 0;
815 wxString value;
816
817 cont = self->GetFirstEntry(value, index);
818 return __EnumerationHelper(cont, value, index);
819 }
820PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
821 bool cont;
822 wxString value;
823
824 cont = self->GetNextEntry(value, index);
825 return __EnumerationHelper(cont, value, index);
826 }
827long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
828 long rv;
829 self->Read(key, &rv, defaultVal);
830 return rv;
831 }
832double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
833 double rv;
834 self->Read(key, &rv, defaultVal);
835 return rv;
836 }
837bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
838 bool rv;
839 self->Read(key, &rv, defaultVal);
840 return rv;
841 }
842
843#include <wx/datetime.h>
844
d14a1e28 845
b2dc1044
RD
846 static const wxString wxPyDateFormatStr(wxT(wxT("%c")));
847 static const wxString wxPyTimeSpanFormatStr(wxT(wxT("%H:%M:%S")));
d14a1e28
RD
848
849#define LOCAL_TZ wxDateTime::Local
850
851wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
852wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
853wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
854wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
855wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
856bool wxDateTime___lt__(wxDateTime *self,wxDateTime const &other){ return *self < other; }
857bool wxDateTime___le__(wxDateTime *self,wxDateTime const &other){ return *self <= other; }
858bool wxDateTime___gt__(wxDateTime *self,wxDateTime const &other){ return *self > other; }
859bool wxDateTime___ge__(wxDateTime *self,wxDateTime const &other){ return *self >= other; }
860bool wxDateTime___eq__(wxDateTime *self,wxDateTime const &other){ return *self == other; }
861bool wxDateTime___ne__(wxDateTime *self,wxDateTime const &other){ return *self != other; }
862int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
863 const wxChar* rv;
864 const wxChar* _date = date;
865 rv = self->ParseRfc822Date(_date);
866 if (rv == NULL) return -1;
867 return rv - _date;
868 }
869int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
870 const wxChar* rv;
871 const wxChar* _date = date;
872 rv = self->ParseFormat(_date, format, dateDef);
873 if (rv == NULL) return -1;
874 return rv - _date;
875 }
876int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
877 const wxChar* rv;
878 const wxChar* _datetime = datetime;
879 rv = self->ParseDateTime(_datetime);
880 if (rv == NULL) return -1;
881 return rv - _datetime;
882 }
883int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
884 const wxChar* rv;
885 const wxChar* _date = date;
886 rv = self->ParseDate(_date);
887 if (rv == NULL) return -1;
888 return rv - _date;
889 }
890int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
891 const wxChar* rv;
892 const wxChar* _time = time;
893 rv = self->ParseTime(_time);
894 if (rv == NULL) return -1;
895 return rv - _time;
896 }
897wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
898wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
899wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
900wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
901bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self < other; }
902bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const &other){ return *self <= other; }
903bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self > other; }
904bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const &other){ return *self >= other; }
905bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const &other){ return *self == other; }
906bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const &other){ return *self != other; }
907wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
908wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
909wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
910wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
911bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const &other){ return *self == other; }
912bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const &other){ return *self != other; }
913
914#include <wx/dataobj.h>
915
916 // Create a new class for wxPython to use
917class wxPyDataObjectSimple : public wxDataObjectSimple {
918public:
919 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
920 : wxDataObjectSimple(format) {}
921
922 DEC_PYCALLBACK_SIZET__const(GetDataSize);
923 bool GetDataHere(void *buf) const;
924 bool SetData(size_t len, const void *buf) const;
925 PYPRIVATE;
926};
927
928IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
929
930bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
931 // We need to get the data for this object and write it to buf. I think
932 // the best way to do this for wxPython is to have the Python method
933 // return either a string or None and then act appropriately with the
934 // C++ version.
935
e811c8ce 936 bool rval = False;
d14a1e28
RD
937 wxPyBeginBlockThreads();
938 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
939 PyObject* ro;
940 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
941 if (ro) {
942 rval = (ro != Py_None && PyString_Check(ro));
943 if (rval)
944 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
945 Py_DECREF(ro);
946 }
947 }
948 wxPyEndBlockThreads();
949 return rval;
950}
951
952bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
953 // For this one we simply need to make a string from buf and len
954 // and send it to the Python method.
e811c8ce 955 bool rval = False;
d14a1e28
RD
956 wxPyBeginBlockThreads();
957 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
958 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
959 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
960 Py_DECREF(data);
961 }
962 wxPyEndBlockThreads();
963 return rval;
964}
965
966 // Create a new class for wxPython to use
967class wxPyTextDataObject : public wxTextDataObject {
968public:
969 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
970 : wxTextDataObject(text) {}
971
972 DEC_PYCALLBACK_SIZET__const(GetTextLength);
973 DEC_PYCALLBACK_STRING__const(GetText);
974 DEC_PYCALLBACK__STRING(SetText);
975 PYPRIVATE;
976};
977
978IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
979IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
980IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
981
982
983 // Create a new class for wxPython to use
984class wxPyBitmapDataObject : public wxBitmapDataObject {
985public:
986 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
987 : wxBitmapDataObject(bitmap) {}
988
989 wxBitmap GetBitmap() const;
990 void SetBitmap(const wxBitmap& bitmap);
991 PYPRIVATE;
992};
993
994wxBitmap wxPyBitmapDataObject::GetBitmap() const {
995 wxBitmap* rval = &wxNullBitmap;
996 wxPyBeginBlockThreads();
997 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
998 PyObject* ro;
999 wxBitmap* ptr;
1000 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1001 if (ro) {
1002 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1003 rval = ptr;
1004 Py_DECREF(ro);
1005 }
1006 }
1007 wxPyEndBlockThreads();
1008 return *rval;
1009}
1010
1011void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1012 wxPyBeginBlockThreads();
1013 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
e811c8ce 1014 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
d14a1e28
RD
1015 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1016 Py_DECREF(bo);
1017 }
1018 wxPyEndBlockThreads();
1019}
1020
1021void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1022 if (PyString_Check(data)) {
1023 // for Python we just call SetData here since we always need it to make a copy.
1024 self->SetData(PyString_Size(data), PyString_AsString(data));
1025 }
1026 else {
1027 // raise a TypeError if not a string
1028 PyErr_SetString(PyExc_TypeError, "String expected.");
1029 }
1030 }
1031bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1032 if (PyString_Check(data)) {
1033 return 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.");
e811c8ce 1038 return False;
d14a1e28
RD
1039 }
1040 }
1041PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1042 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1043 }
1044
1045class wxMetafileDataObject : public wxDataObjectSimple
1046{
1047public:
1048 wxMetafileDataObject() { PyErr_SetNone(PyExc_NotImplementedError); }
1049};
1050
1051
d14a1e28
RD
1052
1053
d14a1e28
RD
1054IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1055
1056
d14a1e28
RD
1057IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1058IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1059IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1060IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1061IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1062
1063
d14a1e28
RD
1064class wxPyTextDropTarget : public wxTextDropTarget {
1065public:
1066 wxPyTextDropTarget() {}
1067
1068 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1069
1070 DEC_PYCALLBACK__(OnLeave);
1071 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1072 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1073 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1074 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1075
1076 PYPRIVATE;
1077};
1078
1079IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1080IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1081IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1082IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1083IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1084IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1085
1086
1087
1088class wxPyFileDropTarget : public wxFileDropTarget {
1089public:
1090 wxPyFileDropTarget() {}
1091
1092 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1093
1094 DEC_PYCALLBACK__(OnLeave);
1095 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1096 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1097 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1098 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1099
1100 PYPRIVATE;
1101};
1102
1103bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1104 const wxArrayString& filenames) {
e811c8ce 1105 bool rval = False;
d14a1e28
RD
1106 wxPyBeginBlockThreads();
1107 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1108 PyObject* list = wxArrayString2PyList_helper(filenames);
1109 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1110 Py_DECREF(list);
1111 }
1112 wxPyEndBlockThreads();
1113 return rval;
1114}
1115
1116
1117
1118IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1119IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1120IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1121IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1122IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1123
1124
1125
1126
1127bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1128#ifdef __cplusplus
1129extern "C" {
1130#endif
1131static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1132 PyObject *resultobj;
1133 int arg1 ;
1134 wxColour result;
1135 char *kwnames[] = {
1136 (char *) "index", NULL
1137 };
1138
1139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetColour",kwnames,&arg1)) goto fail;
1140 {
1141 PyThreadState* __tstate = wxPyBeginAllowThreads();
1142 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1143
1144 wxPyEndAllowThreads(__tstate);
1145 if (PyErr_Occurred()) SWIG_fail;
1146 }
1147 {
1148 wxColour * resultptr;
1149 resultptr = new wxColour((wxColour &) result);
1150 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
1151 }
1152 return resultobj;
1153 fail:
1154 return NULL;
1155}
1156
1157
1158static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1159 PyObject *resultobj;
1160 int arg1 ;
1161 wxFont result;
1162 char *kwnames[] = {
1163 (char *) "index", NULL
1164 };
1165
1166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetFont",kwnames,&arg1)) goto fail;
1167 {
1168 PyThreadState* __tstate = wxPyBeginAllowThreads();
1169 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1170
1171 wxPyEndAllowThreads(__tstate);
1172 if (PyErr_Occurred()) SWIG_fail;
1173 }
1174 {
1175 wxFont * resultptr;
1176 resultptr = new wxFont((wxFont &) result);
1177 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
1178 }
1179 return resultobj;
1180 fail:
1181 return NULL;
1182}
1183
1184
1185static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1186 PyObject *resultobj;
1187 int arg1 ;
1188 int result;
1189 char *kwnames[] = {
1190 (char *) "index", NULL
1191 };
1192
1193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetMetric",kwnames,&arg1)) goto fail;
1194 {
1195 PyThreadState* __tstate = wxPyBeginAllowThreads();
1196 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1197
1198 wxPyEndAllowThreads(__tstate);
1199 if (PyErr_Occurred()) SWIG_fail;
1200 }
1201 resultobj = PyInt_FromLong((long)result);
1202 return resultobj;
1203 fail:
1204 return NULL;
1205}
1206
1207
1208static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1209 PyObject *resultobj;
1210 int arg1 ;
1211 bool result;
1212 char *kwnames[] = {
1213 (char *) "index", NULL
1214 };
1215
1216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_HasFeature",kwnames,&arg1)) goto fail;
1217 {
1218 PyThreadState* __tstate = wxPyBeginAllowThreads();
1219 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1220
1221 wxPyEndAllowThreads(__tstate);
1222 if (PyErr_Occurred()) SWIG_fail;
1223 }
1224 resultobj = PyInt_FromLong((long)result);
1225 return resultobj;
1226 fail:
1227 return NULL;
1228}
1229
1230
1231static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1232 PyObject *resultobj;
1233 int result;
1234 char *kwnames[] = {
1235 NULL
1236 };
1237
1238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1239 {
1240 PyThreadState* __tstate = wxPyBeginAllowThreads();
1241 result = (int)wxSystemSettings::GetScreenType();
1242
1243 wxPyEndAllowThreads(__tstate);
1244 if (PyErr_Occurred()) SWIG_fail;
1245 }
1246 resultobj = PyInt_FromLong((long)result);
1247 return resultobj;
1248 fail:
1249 return NULL;
1250}
1251
1252
1253static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1254 PyObject *resultobj;
1255 int arg1 ;
1256 char *kwnames[] = {
1257 (char *) "screen", NULL
1258 };
1259
1260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_SetScreenType",kwnames,&arg1)) goto fail;
1261 {
1262 PyThreadState* __tstate = wxPyBeginAllowThreads();
1263 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1264
1265 wxPyEndAllowThreads(__tstate);
1266 if (PyErr_Occurred()) SWIG_fail;
1267 }
1268 Py_INCREF(Py_None); resultobj = Py_None;
1269 return resultobj;
1270 fail:
1271 return NULL;
1272}
1273
1274
1275static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1276 PyObject *obj;
1277 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1278 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1279 Py_INCREF(obj);
1280 return Py_BuildValue((char *)"");
1281}
1282static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1283 PyObject *resultobj;
1284 wxSystemOptions *result;
1285 char *kwnames[] = {
1286 NULL
1287 };
1288
1289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1290 {
1291 PyThreadState* __tstate = wxPyBeginAllowThreads();
1292 result = (wxSystemOptions *)new wxSystemOptions();
1293
1294 wxPyEndAllowThreads(__tstate);
1295 if (PyErr_Occurred()) SWIG_fail;
1296 }
1297 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSystemOptions, 1);
1298 return resultobj;
1299 fail:
1300 return NULL;
1301}
1302
1303
1304static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1305 PyObject *resultobj;
1306 wxString *arg1 = 0 ;
1307 wxString *arg2 = 0 ;
e811c8ce
RD
1308 bool temp1 = False ;
1309 bool temp2 = False ;
d14a1e28
RD
1310 PyObject * obj0 = 0 ;
1311 PyObject * obj1 = 0 ;
1312 char *kwnames[] = {
1313 (char *) "name",(char *) "value", NULL
1314 };
1315
1316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1317 {
1318 arg1 = wxString_in_helper(obj0);
1319 if (arg1 == NULL) SWIG_fail;
e811c8ce 1320 temp1 = True;
d14a1e28
RD
1321 }
1322 {
1323 arg2 = wxString_in_helper(obj1);
1324 if (arg2 == NULL) SWIG_fail;
e811c8ce 1325 temp2 = True;
d14a1e28
RD
1326 }
1327 {
1328 PyThreadState* __tstate = wxPyBeginAllowThreads();
1329 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1330
1331 wxPyEndAllowThreads(__tstate);
1332 if (PyErr_Occurred()) SWIG_fail;
1333 }
1334 Py_INCREF(Py_None); resultobj = Py_None;
1335 {
1336 if (temp1)
1337 delete arg1;
1338 }
1339 {
1340 if (temp2)
1341 delete arg2;
1342 }
1343 return resultobj;
1344 fail:
1345 {
1346 if (temp1)
1347 delete arg1;
1348 }
1349 {
1350 if (temp2)
1351 delete arg2;
1352 }
1353 return NULL;
1354}
1355
1356
1357static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1358 PyObject *resultobj;
1359 wxString *arg1 = 0 ;
1360 int arg2 ;
e811c8ce 1361 bool temp1 = False ;
d14a1e28
RD
1362 PyObject * obj0 = 0 ;
1363 char *kwnames[] = {
1364 (char *) "name",(char *) "value", NULL
1365 };
1366
1367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SystemOptions_SetOptionInt",kwnames,&obj0,&arg2)) goto fail;
1368 {
1369 arg1 = wxString_in_helper(obj0);
1370 if (arg1 == NULL) SWIG_fail;
e811c8ce 1371 temp1 = True;
d14a1e28
RD
1372 }
1373 {
1374 PyThreadState* __tstate = wxPyBeginAllowThreads();
1375 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1376
1377 wxPyEndAllowThreads(__tstate);
1378 if (PyErr_Occurred()) SWIG_fail;
1379 }
1380 Py_INCREF(Py_None); resultobj = Py_None;
1381 {
1382 if (temp1)
1383 delete arg1;
1384 }
1385 return resultobj;
1386 fail:
1387 {
1388 if (temp1)
1389 delete arg1;
1390 }
1391 return NULL;
1392}
1393
1394
1395static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1396 PyObject *resultobj;
1397 wxString *arg1 = 0 ;
1398 wxString result;
e811c8ce 1399 bool temp1 = False ;
d14a1e28
RD
1400 PyObject * obj0 = 0 ;
1401 char *kwnames[] = {
1402 (char *) "name", NULL
1403 };
1404
1405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1406 {
1407 arg1 = wxString_in_helper(obj0);
1408 if (arg1 == NULL) SWIG_fail;
e811c8ce 1409 temp1 = True;
d14a1e28
RD
1410 }
1411 {
1412 PyThreadState* __tstate = wxPyBeginAllowThreads();
1413 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1414
1415 wxPyEndAllowThreads(__tstate);
1416 if (PyErr_Occurred()) SWIG_fail;
1417 }
1418 {
1419#if wxUSE_UNICODE
1420 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1421#else
1422 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1423#endif
1424 }
1425 {
1426 if (temp1)
1427 delete arg1;
1428 }
1429 return resultobj;
1430 fail:
1431 {
1432 if (temp1)
1433 delete arg1;
1434 }
1435 return NULL;
1436}
1437
1438
1439static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1440 PyObject *resultobj;
1441 wxString *arg1 = 0 ;
1442 int result;
e811c8ce 1443 bool temp1 = False ;
d14a1e28
RD
1444 PyObject * obj0 = 0 ;
1445 char *kwnames[] = {
1446 (char *) "name", NULL
1447 };
1448
1449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1450 {
1451 arg1 = wxString_in_helper(obj0);
1452 if (arg1 == NULL) SWIG_fail;
e811c8ce 1453 temp1 = True;
d14a1e28
RD
1454 }
1455 {
1456 PyThreadState* __tstate = wxPyBeginAllowThreads();
1457 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1458
1459 wxPyEndAllowThreads(__tstate);
1460 if (PyErr_Occurred()) SWIG_fail;
1461 }
1462 resultobj = PyInt_FromLong((long)result);
1463 {
1464 if (temp1)
1465 delete arg1;
1466 }
1467 return resultobj;
1468 fail:
1469 {
1470 if (temp1)
1471 delete arg1;
1472 }
1473 return NULL;
1474}
1475
1476
1477static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1478 PyObject *resultobj;
1479 wxString *arg1 = 0 ;
1480 bool result;
e811c8ce 1481 bool temp1 = False ;
d14a1e28
RD
1482 PyObject * obj0 = 0 ;
1483 char *kwnames[] = {
1484 (char *) "name", NULL
1485 };
1486
1487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1488 {
1489 arg1 = wxString_in_helper(obj0);
1490 if (arg1 == NULL) SWIG_fail;
e811c8ce 1491 temp1 = True;
d14a1e28
RD
1492 }
1493 {
1494 PyThreadState* __tstate = wxPyBeginAllowThreads();
1495 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1496
1497 wxPyEndAllowThreads(__tstate);
1498 if (PyErr_Occurred()) SWIG_fail;
1499 }
1500 resultobj = PyInt_FromLong((long)result);
1501 {
1502 if (temp1)
1503 delete arg1;
1504 }
1505 return resultobj;
1506 fail:
1507 {
1508 if (temp1)
1509 delete arg1;
1510 }
1511 return NULL;
1512}
1513
1514
1515static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1516 PyObject *obj;
1517 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1518 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1519 Py_INCREF(obj);
1520 return Py_BuildValue((char *)"");
1521}
b2dc1044
RD
1522static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
1523 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
1524 return 1;
1525}
1526
1527
1528static PyObject *_wrap_FileSelectorPromptStr_get() {
1529 PyObject *pyobj;
1530
1531 {
1532#if wxUSE_UNICODE
1533 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1534#else
1535 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1536#endif
1537 }
1538 return pyobj;
1539}
1540
1541
1542static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
1543 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
1544 return 1;
1545}
1546
1547
1548static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
1549 PyObject *pyobj;
1550
1551 {
1552#if wxUSE_UNICODE
1553 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1554#else
1555 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1556#endif
1557 }
1558 return pyobj;
1559}
1560
1561
1562static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
1563 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
1564 return 1;
1565}
1566
1567
1568static PyObject *_wrap_DirSelectorPromptStr_get() {
1569 PyObject *pyobj;
1570
1571 {
1572#if wxUSE_UNICODE
1573 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1574#else
1575 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1576#endif
1577 }
1578 return pyobj;
1579}
1580
1581
d14a1e28
RD
1582static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1583 PyObject *resultobj;
1584 long result;
1585 char *kwnames[] = {
1586 NULL
1587 };
1588
1589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1590 {
1591 PyThreadState* __tstate = wxPyBeginAllowThreads();
1592 result = (long)wxNewId();
1593
1594 wxPyEndAllowThreads(__tstate);
1595 if (PyErr_Occurred()) SWIG_fail;
1596 }
1597 resultobj = PyInt_FromLong((long)result);
1598 return resultobj;
1599 fail:
1600 return NULL;
1601}
1602
1603
1604static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1605 PyObject *resultobj;
1606 long arg1 ;
1607 char *kwnames[] = {
1608 (char *) "id", NULL
1609 };
1610
1611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:RegisterId",kwnames,&arg1)) goto fail;
1612 {
1613 PyThreadState* __tstate = wxPyBeginAllowThreads();
1614 wxRegisterId(arg1);
1615
1616 wxPyEndAllowThreads(__tstate);
1617 if (PyErr_Occurred()) SWIG_fail;
1618 }
1619 Py_INCREF(Py_None); resultobj = Py_None;
1620 return resultobj;
1621 fail:
1622 return NULL;
1623}
1624
1625
1626static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1627 PyObject *resultobj;
1628 long result;
1629 char *kwnames[] = {
1630 NULL
1631 };
1632
1633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1634 {
1635 PyThreadState* __tstate = wxPyBeginAllowThreads();
1636 result = (long)wxGetCurrentId();
1637
1638 wxPyEndAllowThreads(__tstate);
1639 if (PyErr_Occurred()) SWIG_fail;
1640 }
1641 resultobj = PyInt_FromLong((long)result);
1642 return resultobj;
1643 fail:
1644 return NULL;
1645}
1646
1647
1648static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
1649 PyObject *resultobj;
1650 char *kwnames[] = {
1651 NULL
1652 };
1653
1654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1655 {
1656 PyThreadState* __tstate = wxPyBeginAllowThreads();
1657 wxBell();
1658
1659 wxPyEndAllowThreads(__tstate);
1660 if (PyErr_Occurred()) SWIG_fail;
1661 }
1662 Py_INCREF(Py_None); resultobj = Py_None;
1663 return resultobj;
1664 fail:
1665 return NULL;
1666}
1667
1668
1669static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1670 PyObject *resultobj;
1671 char *kwnames[] = {
1672 NULL
1673 };
1674
1675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
1676 {
1677 PyThreadState* __tstate = wxPyBeginAllowThreads();
1678 wxEndBusyCursor();
1679
1680 wxPyEndAllowThreads(__tstate);
1681 if (PyErr_Occurred()) SWIG_fail;
1682 }
1683 Py_INCREF(Py_None); resultobj = Py_None;
1684 return resultobj;
1685 fail:
1686 return NULL;
1687}
1688
1689
1690static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1691 PyObject *resultobj;
e811c8ce 1692 bool arg1 = (bool) True ;
d14a1e28
RD
1693 long result;
1694 PyObject * obj0 = 0 ;
1695 char *kwnames[] = {
1696 (char *) "resetTimer", NULL
1697 };
1698
1699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
1700 if (obj0) {
1701 arg1 = PyInt_AsLong(obj0) ? true : false;
1702 if (PyErr_Occurred()) SWIG_fail;
1703 }
1704 {
1705 PyThreadState* __tstate = wxPyBeginAllowThreads();
1706 result = (long)wxGetElapsedTime(arg1);
1707
1708 wxPyEndAllowThreads(__tstate);
1709 if (PyErr_Occurred()) SWIG_fail;
1710 }
1711 resultobj = PyInt_FromLong((long)result);
1712 return resultobj;
1713 fail:
1714 return NULL;
1715}
1716
1717
1718static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1719 PyObject *resultobj;
1720 int *arg1 = (int *) 0 ;
1721 int *arg2 = (int *) 0 ;
1722 int temp1 ;
1723 int temp2 ;
1724 char *kwnames[] = {
1725 NULL
1726 };
1727
1728 arg1 = &temp1;
1729 arg2 = &temp2;
1730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
1731 {
1732 PyThreadState* __tstate = wxPyBeginAllowThreads();
1733 wxGetMousePosition(arg1,arg2);
1734
1735 wxPyEndAllowThreads(__tstate);
1736 if (PyErr_Occurred()) SWIG_fail;
1737 }
1738 Py_INCREF(Py_None); resultobj = Py_None;
1739 {
1740 PyObject *o = PyInt_FromLong((long) (*arg1));
1741 resultobj = t_output_helper(resultobj,o);
1742 }
1743 {
1744 PyObject *o = PyInt_FromLong((long) (*arg2));
1745 resultobj = t_output_helper(resultobj,o);
1746 }
1747 return resultobj;
1748 fail:
1749 return NULL;
1750}
1751
1752
1753static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
1754 PyObject *resultobj;
1755 bool result;
1756 char *kwnames[] = {
1757 NULL
1758 };
1759
1760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
1761 {
1762 PyThreadState* __tstate = wxPyBeginAllowThreads();
1763 result = (bool)wxIsBusy();
1764
1765 wxPyEndAllowThreads(__tstate);
1766 if (PyErr_Occurred()) SWIG_fail;
1767 }
1768 resultobj = PyInt_FromLong((long)result);
1769 return resultobj;
1770 fail:
1771 return NULL;
1772}
1773
1774
1775static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
1776 PyObject *resultobj;
1777 wxString result;
1778 char *kwnames[] = {
1779 NULL
1780 };
1781
1782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
1783 {
1784 PyThreadState* __tstate = wxPyBeginAllowThreads();
1785 result = wxNow();
1786
1787 wxPyEndAllowThreads(__tstate);
1788 if (PyErr_Occurred()) SWIG_fail;
1789 }
1790 {
1791#if wxUSE_UNICODE
1792 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1793#else
1794 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1795#endif
1796 }
1797 return resultobj;
1798 fail:
1799 return NULL;
1800}
1801
1802
1803static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
1804 PyObject *resultobj;
1805 wxString const &arg1_defvalue = wxPyEmptyString ;
1806 wxString *arg1 = (wxString *) &arg1_defvalue ;
1807 bool result;
e811c8ce 1808 bool temp1 = False ;
d14a1e28
RD
1809 PyObject * obj0 = 0 ;
1810 char *kwnames[] = {
1811 (char *) "command", NULL
1812 };
1813
1814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
1815 if (obj0) {
1816 {
1817 arg1 = wxString_in_helper(obj0);
1818 if (arg1 == NULL) SWIG_fail;
e811c8ce 1819 temp1 = True;
d14a1e28
RD
1820 }
1821 }
1822 {
1823 PyThreadState* __tstate = wxPyBeginAllowThreads();
1824 result = (bool)wxShell((wxString const &)*arg1);
1825
1826 wxPyEndAllowThreads(__tstate);
1827 if (PyErr_Occurred()) SWIG_fail;
1828 }
1829 resultobj = PyInt_FromLong((long)result);
1830 {
1831 if (temp1)
1832 delete arg1;
1833 }
1834 return resultobj;
1835 fail:
1836 {
1837 if (temp1)
1838 delete arg1;
1839 }
1840 return NULL;
1841}
1842
1843
1844static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
1845 PyObject *resultobj;
1846 char *kwnames[] = {
1847 NULL
1848 };
1849
1850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
1851 {
1852 PyThreadState* __tstate = wxPyBeginAllowThreads();
1853 wxStartTimer();
1854
1855 wxPyEndAllowThreads(__tstate);
1856 if (PyErr_Occurred()) SWIG_fail;
1857 }
1858 Py_INCREF(Py_None); resultobj = Py_None;
1859 return resultobj;
1860 fail:
1861 return NULL;
1862}
1863
1864
1865static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
1866 PyObject *resultobj;
1867 int *arg1 = (int *) 0 ;
1868 int *arg2 = (int *) 0 ;
1869 int result;
1870 int temp1 ;
1871 int temp2 ;
1872 char *kwnames[] = {
1873 NULL
1874 };
1875
1876 arg1 = &temp1;
1877 arg2 = &temp2;
1878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
1879 {
1880 PyThreadState* __tstate = wxPyBeginAllowThreads();
1881 result = (int)wxGetOsVersion(arg1,arg2);
1882
1883 wxPyEndAllowThreads(__tstate);
1884 if (PyErr_Occurred()) SWIG_fail;
1885 }
1886 resultobj = PyInt_FromLong((long)result);
1887 {
1888 PyObject *o = PyInt_FromLong((long) (*arg1));
1889 resultobj = t_output_helper(resultobj,o);
1890 }
1891 {
1892 PyObject *o = PyInt_FromLong((long) (*arg2));
1893 resultobj = t_output_helper(resultobj,o);
1894 }
1895 return resultobj;
1896 fail:
1897 return NULL;
1898}
1899
1900
1901static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
1902 PyObject *resultobj;
1903 wxString result;
1904 char *kwnames[] = {
1905 NULL
1906 };
1907
1908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
1909 {
1910 PyThreadState* __tstate = wxPyBeginAllowThreads();
1911 result = wxGetOsDescription();
1912
1913 wxPyEndAllowThreads(__tstate);
1914 if (PyErr_Occurred()) SWIG_fail;
1915 }
1916 {
1917#if wxUSE_UNICODE
1918 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1919#else
1920 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1921#endif
1922 }
1923 return resultobj;
1924 fail:
1925 return NULL;
1926}
1927
1928
1929static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
1930 PyObject *resultobj;
1931 long result;
1932 char *kwnames[] = {
1933 NULL
1934 };
1935
1936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
1937 {
1938 PyThreadState* __tstate = wxPyBeginAllowThreads();
1939 result = (long)wxGetFreeMemory();
1940
1941 wxPyEndAllowThreads(__tstate);
1942 if (PyErr_Occurred()) SWIG_fail;
1943 }
1944 resultobj = PyInt_FromLong((long)result);
1945 return resultobj;
1946 fail:
1947 return NULL;
1948}
1949
1950
1951static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
1952 PyObject *resultobj;
1953 int arg1 ;
1954 bool result;
1955 char *kwnames[] = {
1956 (char *) "wFlags", NULL
1957 };
1958
1959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Shutdown",kwnames,&arg1)) goto fail;
1960 {
1961 PyThreadState* __tstate = wxPyBeginAllowThreads();
1962 result = (bool)wxShutdown((wxShutdownFlags )arg1);
1963
1964 wxPyEndAllowThreads(__tstate);
1965 if (PyErr_Occurred()) SWIG_fail;
1966 }
1967 resultobj = PyInt_FromLong((long)result);
1968 return resultobj;
1969 fail:
1970 return NULL;
1971}
1972
1973
1974static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1975 PyObject *resultobj;
1976 int arg1 ;
1977 char *kwnames[] = {
1978 (char *) "secs", NULL
1979 };
1980
1981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Sleep",kwnames,&arg1)) goto fail;
1982 {
1983 PyThreadState* __tstate = wxPyBeginAllowThreads();
1984 wxSleep(arg1);
1985
1986 wxPyEndAllowThreads(__tstate);
1987 if (PyErr_Occurred()) SWIG_fail;
1988 }
1989 Py_INCREF(Py_None); resultobj = Py_None;
1990 return resultobj;
1991 fail:
1992 return NULL;
1993}
1994
1995
1996static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1997 PyObject *resultobj;
1998 unsigned long arg1 ;
1999 PyObject * obj0 = 0 ;
2000 char *kwnames[] = {
2001 (char *) "milliseconds", NULL
2002 };
2003
2004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
2005 arg1 = (unsigned long) PyInt_AsLong(obj0);
2006 if (PyErr_Occurred()) SWIG_fail;
2007 {
2008 PyThreadState* __tstate = wxPyBeginAllowThreads();
2009 wxUsleep(arg1);
2010
2011 wxPyEndAllowThreads(__tstate);
2012 if (PyErr_Occurred()) SWIG_fail;
2013 }
2014 Py_INCREF(Py_None); resultobj = Py_None;
2015 return resultobj;
2016 fail:
2017 return NULL;
2018}
2019
2020
2021static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2022 PyObject *resultobj;
2023 bool arg1 ;
2024 PyObject * obj0 = 0 ;
2025 char *kwnames[] = {
2026 (char *) "enable", NULL
2027 };
2028
2029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2030 arg1 = PyInt_AsLong(obj0) ? true : false;
2031 if (PyErr_Occurred()) SWIG_fail;
2032 {
2033 PyThreadState* __tstate = wxPyBeginAllowThreads();
2034 wxEnableTopLevelWindows(arg1);
2035
2036 wxPyEndAllowThreads(__tstate);
2037 if (PyErr_Occurred()) SWIG_fail;
2038 }
2039 Py_INCREF(Py_None); resultobj = Py_None;
2040 return resultobj;
2041 fail:
2042 return NULL;
2043}
2044
2045
2046static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2047 PyObject *resultobj;
2048 wxString *arg1 = 0 ;
2049 wxString result;
e811c8ce 2050 bool temp1 = False ;
d14a1e28
RD
2051 PyObject * obj0 = 0 ;
2052 char *kwnames[] = {
2053 (char *) "in", NULL
2054 };
2055
2056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2057 {
2058 arg1 = wxString_in_helper(obj0);
2059 if (arg1 == NULL) SWIG_fail;
e811c8ce 2060 temp1 = True;
d14a1e28
RD
2061 }
2062 {
2063 PyThreadState* __tstate = wxPyBeginAllowThreads();
2064 result = wxStripMenuCodes((wxString const &)*arg1);
2065
2066 wxPyEndAllowThreads(__tstate);
2067 if (PyErr_Occurred()) SWIG_fail;
2068 }
2069 {
2070#if wxUSE_UNICODE
2071 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2072#else
2073 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2074#endif
2075 }
2076 {
2077 if (temp1)
2078 delete arg1;
2079 }
2080 return resultobj;
2081 fail:
2082 {
2083 if (temp1)
2084 delete arg1;
2085 }
2086 return NULL;
2087}
2088
2089
2090static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2091 PyObject *resultobj;
2092 wxString result;
2093 char *kwnames[] = {
2094 NULL
2095 };
2096
2097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2098 {
2099 PyThreadState* __tstate = wxPyBeginAllowThreads();
2100 result = wxGetEmailAddress();
2101
2102 wxPyEndAllowThreads(__tstate);
2103 if (PyErr_Occurred()) SWIG_fail;
2104 }
2105 {
2106#if wxUSE_UNICODE
2107 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2108#else
2109 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2110#endif
2111 }
2112 return resultobj;
2113 fail:
2114 return NULL;
2115}
2116
2117
2118static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2119 PyObject *resultobj;
2120 wxString result;
2121 char *kwnames[] = {
2122 NULL
2123 };
2124
2125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2126 {
2127 PyThreadState* __tstate = wxPyBeginAllowThreads();
2128 result = wxGetHostName();
2129
2130 wxPyEndAllowThreads(__tstate);
2131 if (PyErr_Occurred()) SWIG_fail;
2132 }
2133 {
2134#if wxUSE_UNICODE
2135 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2136#else
2137 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2138#endif
2139 }
2140 return resultobj;
2141 fail:
2142 return NULL;
2143}
2144
2145
2146static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2147 PyObject *resultobj;
2148 wxString result;
2149 char *kwnames[] = {
2150 NULL
2151 };
2152
2153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2154 {
2155 PyThreadState* __tstate = wxPyBeginAllowThreads();
2156 result = wxGetFullHostName();
2157
2158 wxPyEndAllowThreads(__tstate);
2159 if (PyErr_Occurred()) SWIG_fail;
2160 }
2161 {
2162#if wxUSE_UNICODE
2163 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2164#else
2165 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2166#endif
2167 }
2168 return resultobj;
2169 fail:
2170 return NULL;
2171}
2172
2173
2174static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2175 PyObject *resultobj;
2176 wxString result;
2177 char *kwnames[] = {
2178 NULL
2179 };
2180
2181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2182 {
2183 PyThreadState* __tstate = wxPyBeginAllowThreads();
2184 result = wxGetUserId();
2185
2186 wxPyEndAllowThreads(__tstate);
2187 if (PyErr_Occurred()) SWIG_fail;
2188 }
2189 {
2190#if wxUSE_UNICODE
2191 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2192#else
2193 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2194#endif
2195 }
2196 return resultobj;
2197 fail:
2198 return NULL;
2199}
2200
2201
2202static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2203 PyObject *resultobj;
2204 wxString result;
2205 char *kwnames[] = {
2206 NULL
2207 };
2208
2209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2210 {
2211 PyThreadState* __tstate = wxPyBeginAllowThreads();
2212 result = wxGetUserName();
2213
2214 wxPyEndAllowThreads(__tstate);
2215 if (PyErr_Occurred()) SWIG_fail;
2216 }
2217 {
2218#if wxUSE_UNICODE
2219 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2220#else
2221 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2222#endif
2223 }
2224 return resultobj;
2225 fail:
2226 return NULL;
2227}
2228
2229
2230static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2231 PyObject *resultobj;
2232 wxString result;
2233 char *kwnames[] = {
2234 NULL
2235 };
2236
2237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2238 {
2239 PyThreadState* __tstate = wxPyBeginAllowThreads();
2240 result = wxGetHomeDir();
2241
2242 wxPyEndAllowThreads(__tstate);
2243 if (PyErr_Occurred()) SWIG_fail;
2244 }
2245 {
2246#if wxUSE_UNICODE
2247 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2248#else
2249 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2250#endif
2251 }
2252 return resultobj;
2253 fail:
2254 return NULL;
2255}
2256
2257
2258static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2259 PyObject *resultobj;
2260 wxString const &arg1_defvalue = wxPyEmptyString ;
2261 wxString *arg1 = (wxString *) &arg1_defvalue ;
2262 wxString result;
e811c8ce 2263 bool temp1 = False ;
d14a1e28
RD
2264 PyObject * obj0 = 0 ;
2265 char *kwnames[] = {
2266 (char *) "user", NULL
2267 };
2268
2269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2270 if (obj0) {
2271 {
2272 arg1 = wxString_in_helper(obj0);
2273 if (arg1 == NULL) SWIG_fail;
e811c8ce 2274 temp1 = True;
d14a1e28
RD
2275 }
2276 }
2277 {
2278 PyThreadState* __tstate = wxPyBeginAllowThreads();
2279 result = wxGetUserHome((wxString const &)*arg1);
2280
2281 wxPyEndAllowThreads(__tstate);
2282 if (PyErr_Occurred()) SWIG_fail;
2283 }
2284 {
2285#if wxUSE_UNICODE
2286 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2287#else
2288 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2289#endif
2290 }
2291 {
2292 if (temp1)
2293 delete arg1;
2294 }
2295 return resultobj;
2296 fail:
2297 {
2298 if (temp1)
2299 delete arg1;
2300 }
2301 return NULL;
2302}
2303
2304
2305static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2306 PyObject *resultobj;
2307 unsigned long result;
2308 char *kwnames[] = {
2309 NULL
2310 };
2311
2312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2313 {
2314 PyThreadState* __tstate = wxPyBeginAllowThreads();
2315 result = (unsigned long)wxGetProcessId();
2316
2317 wxPyEndAllowThreads(__tstate);
2318 if (PyErr_Occurred()) SWIG_fail;
2319 }
2320 resultobj = PyInt_FromLong((long)result);
2321 return resultobj;
2322 fail:
2323 return NULL;
2324}
2325
2326
2327static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2328 PyObject *resultobj;
2329 char *kwnames[] = {
2330 NULL
2331 };
2332
2333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2334 {
2335 PyThreadState* __tstate = wxPyBeginAllowThreads();
2336 wxTrap();
2337
2338 wxPyEndAllowThreads(__tstate);
2339 if (PyErr_Occurred()) SWIG_fail;
2340 }
2341 Py_INCREF(Py_None); resultobj = Py_None;
2342 return resultobj;
2343 fail:
2344 return NULL;
2345}
2346
2347
2348static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2349 PyObject *resultobj;
2350 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2351 wxString *arg1 = (wxString *) &arg1_defvalue ;
2352 wxString const &arg2_defvalue = wxPyEmptyString ;
2353 wxString *arg2 = (wxString *) &arg2_defvalue ;
2354 wxString const &arg3_defvalue = wxPyEmptyString ;
2355 wxString *arg3 = (wxString *) &arg3_defvalue ;
2356 wxString const &arg4_defvalue = wxPyEmptyString ;
2357 wxString *arg4 = (wxString *) &arg4_defvalue ;
2358 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2359 wxString *arg5 = (wxString *) &arg5_defvalue ;
2360 int arg6 = (int) 0 ;
2361 wxWindow *arg7 = (wxWindow *) NULL ;
2362 int arg8 = (int) -1 ;
2363 int arg9 = (int) -1 ;
2364 wxString result;
e811c8ce
RD
2365 bool temp1 = False ;
2366 bool temp2 = False ;
2367 bool temp3 = False ;
2368 bool temp4 = False ;
2369 bool temp5 = False ;
d14a1e28
RD
2370 PyObject * obj0 = 0 ;
2371 PyObject * obj1 = 0 ;
2372 PyObject * obj2 = 0 ;
2373 PyObject * obj3 = 0 ;
2374 PyObject * obj4 = 0 ;
2375 PyObject * obj6 = 0 ;
2376 char *kwnames[] = {
2377 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2378 };
2379
2380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOiOii:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&arg9)) goto fail;
2381 if (obj0) {
2382 {
2383 arg1 = wxString_in_helper(obj0);
2384 if (arg1 == NULL) SWIG_fail;
e811c8ce 2385 temp1 = True;
d14a1e28
RD
2386 }
2387 }
2388 if (obj1) {
2389 {
2390 arg2 = wxString_in_helper(obj1);
2391 if (arg2 == NULL) SWIG_fail;
e811c8ce 2392 temp2 = True;
d14a1e28
RD
2393 }
2394 }
2395 if (obj2) {
2396 {
2397 arg3 = wxString_in_helper(obj2);
2398 if (arg3 == NULL) SWIG_fail;
e811c8ce 2399 temp3 = True;
d14a1e28
RD
2400 }
2401 }
2402 if (obj3) {
2403 {
2404 arg4 = wxString_in_helper(obj3);
2405 if (arg4 == NULL) SWIG_fail;
e811c8ce 2406 temp4 = True;
d14a1e28
RD
2407 }
2408 }
2409 if (obj4) {
2410 {
2411 arg5 = wxString_in_helper(obj4);
2412 if (arg5 == NULL) SWIG_fail;
e811c8ce 2413 temp5 = True;
d14a1e28
RD
2414 }
2415 }
2416 if (obj6) {
2417 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2418 }
2419 {
2420 PyThreadState* __tstate = wxPyBeginAllowThreads();
2421 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2422
2423 wxPyEndAllowThreads(__tstate);
2424 if (PyErr_Occurred()) SWIG_fail;
2425 }
2426 {
2427#if wxUSE_UNICODE
2428 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2429#else
2430 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2431#endif
2432 }
2433 {
2434 if (temp1)
2435 delete arg1;
2436 }
2437 {
2438 if (temp2)
2439 delete arg2;
2440 }
2441 {
2442 if (temp3)
2443 delete arg3;
2444 }
2445 {
2446 if (temp4)
2447 delete arg4;
2448 }
2449 {
2450 if (temp5)
2451 delete arg5;
2452 }
2453 return resultobj;
2454 fail:
2455 {
2456 if (temp1)
2457 delete arg1;
2458 }
2459 {
2460 if (temp2)
2461 delete arg2;
2462 }
2463 {
2464 if (temp3)
2465 delete arg3;
2466 }
2467 {
2468 if (temp4)
2469 delete arg4;
2470 }
2471 {
2472 if (temp5)
2473 delete arg5;
2474 }
2475 return NULL;
2476}
2477
2478
2479static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2480 PyObject *resultobj;
2481 wxString *arg1 = 0 ;
2482 wxString *arg2 = 0 ;
2483 wxString const &arg3_defvalue = wxPyEmptyString ;
2484 wxString *arg3 = (wxString *) &arg3_defvalue ;
2485 wxWindow *arg4 = (wxWindow *) NULL ;
2486 wxString result;
e811c8ce
RD
2487 bool temp1 = False ;
2488 bool temp2 = False ;
2489 bool temp3 = False ;
d14a1e28
RD
2490 PyObject * obj0 = 0 ;
2491 PyObject * obj1 = 0 ;
2492 PyObject * obj2 = 0 ;
2493 PyObject * obj3 = 0 ;
2494 char *kwnames[] = {
2495 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2496 };
2497
2498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2499 {
2500 arg1 = wxString_in_helper(obj0);
2501 if (arg1 == NULL) SWIG_fail;
e811c8ce 2502 temp1 = True;
d14a1e28
RD
2503 }
2504 {
2505 arg2 = wxString_in_helper(obj1);
2506 if (arg2 == NULL) SWIG_fail;
e811c8ce 2507 temp2 = True;
d14a1e28
RD
2508 }
2509 if (obj2) {
2510 {
2511 arg3 = wxString_in_helper(obj2);
2512 if (arg3 == NULL) SWIG_fail;
e811c8ce 2513 temp3 = True;
d14a1e28
RD
2514 }
2515 }
2516 if (obj3) {
2517 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2518 }
2519 {
2520 PyThreadState* __tstate = wxPyBeginAllowThreads();
2521 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2522
2523 wxPyEndAllowThreads(__tstate);
2524 if (PyErr_Occurred()) SWIG_fail;
2525 }
2526 {
2527#if wxUSE_UNICODE
2528 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2529#else
2530 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2531#endif
2532 }
2533 {
2534 if (temp1)
2535 delete arg1;
2536 }
2537 {
2538 if (temp2)
2539 delete arg2;
2540 }
2541 {
2542 if (temp3)
2543 delete arg3;
2544 }
2545 return resultobj;
2546 fail:
2547 {
2548 if (temp1)
2549 delete arg1;
2550 }
2551 {
2552 if (temp2)
2553 delete arg2;
2554 }
2555 {
2556 if (temp3)
2557 delete arg3;
2558 }
2559 return NULL;
2560}
2561
2562
2563static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2564 PyObject *resultobj;
2565 wxString *arg1 = 0 ;
2566 wxString *arg2 = 0 ;
2567 wxString const &arg3_defvalue = wxPyEmptyString ;
2568 wxString *arg3 = (wxString *) &arg3_defvalue ;
2569 wxWindow *arg4 = (wxWindow *) NULL ;
2570 wxString result;
e811c8ce
RD
2571 bool temp1 = False ;
2572 bool temp2 = False ;
2573 bool temp3 = False ;
d14a1e28
RD
2574 PyObject * obj0 = 0 ;
2575 PyObject * obj1 = 0 ;
2576 PyObject * obj2 = 0 ;
2577 PyObject * obj3 = 0 ;
2578 char *kwnames[] = {
2579 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2580 };
2581
2582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2583 {
2584 arg1 = wxString_in_helper(obj0);
2585 if (arg1 == NULL) SWIG_fail;
e811c8ce 2586 temp1 = True;
d14a1e28
RD
2587 }
2588 {
2589 arg2 = wxString_in_helper(obj1);
2590 if (arg2 == NULL) SWIG_fail;
e811c8ce 2591 temp2 = True;
d14a1e28
RD
2592 }
2593 if (obj2) {
2594 {
2595 arg3 = wxString_in_helper(obj2);
2596 if (arg3 == NULL) SWIG_fail;
e811c8ce 2597 temp3 = True;
d14a1e28
RD
2598 }
2599 }
2600 if (obj3) {
2601 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2602 }
2603 {
2604 PyThreadState* __tstate = wxPyBeginAllowThreads();
2605 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2606
2607 wxPyEndAllowThreads(__tstate);
2608 if (PyErr_Occurred()) SWIG_fail;
2609 }
2610 {
2611#if wxUSE_UNICODE
2612 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2613#else
2614 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2615#endif
2616 }
2617 {
2618 if (temp1)
2619 delete arg1;
2620 }
2621 {
2622 if (temp2)
2623 delete arg2;
2624 }
2625 {
2626 if (temp3)
2627 delete arg3;
2628 }
2629 return resultobj;
2630 fail:
2631 {
2632 if (temp1)
2633 delete arg1;
2634 }
2635 {
2636 if (temp2)
2637 delete arg2;
2638 }
2639 {
2640 if (temp3)
2641 delete arg3;
2642 }
2643 return NULL;
2644}
2645
2646
2647static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2648 PyObject *resultobj;
2649 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
2650 wxString *arg1 = (wxString *) &arg1_defvalue ;
2651 wxString const &arg2_defvalue = wxPyEmptyString ;
2652 wxString *arg2 = (wxString *) &arg2_defvalue ;
2653 long arg3 = (long) wxDD_DEFAULT_STYLE ;
2654 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2655 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2656 wxWindow *arg5 = (wxWindow *) NULL ;
2657 wxString result;
e811c8ce
RD
2658 bool temp1 = False ;
2659 bool temp2 = False ;
d14a1e28
RD
2660 wxPoint temp4 ;
2661 PyObject * obj0 = 0 ;
2662 PyObject * obj1 = 0 ;
2663 PyObject * obj3 = 0 ;
2664 PyObject * obj4 = 0 ;
2665 char *kwnames[] = {
2666 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2667 };
2668
2669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOlOO:DirSelector",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
2670 if (obj0) {
2671 {
2672 arg1 = wxString_in_helper(obj0);
2673 if (arg1 == NULL) SWIG_fail;
e811c8ce 2674 temp1 = True;
d14a1e28
RD
2675 }
2676 }
2677 if (obj1) {
2678 {
2679 arg2 = wxString_in_helper(obj1);
2680 if (arg2 == NULL) SWIG_fail;
e811c8ce 2681 temp2 = True;
d14a1e28
RD
2682 }
2683 }
2684 if (obj3) {
2685 {
2686 arg4 = &temp4;
2687 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2688 }
2689 }
2690 if (obj4) {
2691 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2692 }
2693 {
2694 PyThreadState* __tstate = wxPyBeginAllowThreads();
2695 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
2696
2697 wxPyEndAllowThreads(__tstate);
2698 if (PyErr_Occurred()) SWIG_fail;
2699 }
2700 {
2701#if wxUSE_UNICODE
2702 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2703#else
2704 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2705#endif
2706 }
2707 {
2708 if (temp1)
2709 delete arg1;
2710 }
2711 {
2712 if (temp2)
2713 delete arg2;
2714 }
2715 return resultobj;
2716 fail:
2717 {
2718 if (temp1)
2719 delete arg1;
2720 }
2721 {
2722 if (temp2)
2723 delete arg2;
2724 }
2725 return NULL;
2726}
2727
2728
2729static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2730 PyObject *resultobj;
2731 wxString *arg1 = 0 ;
2732 wxString const &arg2_defvalue = wxPyEmptyString ;
2733 wxString *arg2 = (wxString *) &arg2_defvalue ;
2734 wxString const &arg3_defvalue = wxPyEmptyString ;
2735 wxString *arg3 = (wxString *) &arg3_defvalue ;
2736 wxWindow *arg4 = (wxWindow *) NULL ;
2737 int arg5 = (int) -1 ;
2738 int arg6 = (int) -1 ;
e811c8ce 2739 bool arg7 = (bool) True ;
d14a1e28 2740 wxString result;
e811c8ce
RD
2741 bool temp1 = False ;
2742 bool temp2 = False ;
2743 bool temp3 = False ;
d14a1e28
RD
2744 PyObject * obj0 = 0 ;
2745 PyObject * obj1 = 0 ;
2746 PyObject * obj2 = 0 ;
2747 PyObject * obj3 = 0 ;
2748 PyObject * obj6 = 0 ;
2749 char *kwnames[] = {
2750 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2751 };
2752
2753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOiiO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
2754 {
2755 arg1 = wxString_in_helper(obj0);
2756 if (arg1 == NULL) SWIG_fail;
e811c8ce 2757 temp1 = True;
d14a1e28
RD
2758 }
2759 if (obj1) {
2760 {
2761 arg2 = wxString_in_helper(obj1);
2762 if (arg2 == NULL) SWIG_fail;
e811c8ce 2763 temp2 = True;
d14a1e28
RD
2764 }
2765 }
2766 if (obj2) {
2767 {
2768 arg3 = wxString_in_helper(obj2);
2769 if (arg3 == NULL) SWIG_fail;
e811c8ce 2770 temp3 = True;
d14a1e28
RD
2771 }
2772 }
2773 if (obj3) {
2774 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2775 }
2776 if (obj6) {
2777 arg7 = PyInt_AsLong(obj6) ? true : false;
2778 if (PyErr_Occurred()) SWIG_fail;
2779 }
2780 {
2781 PyThreadState* __tstate = wxPyBeginAllowThreads();
2782 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
2783
2784 wxPyEndAllowThreads(__tstate);
2785 if (PyErr_Occurred()) SWIG_fail;
2786 }
2787 {
2788#if wxUSE_UNICODE
2789 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2790#else
2791 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2792#endif
2793 }
2794 {
2795 if (temp1)
2796 delete arg1;
2797 }
2798 {
2799 if (temp2)
2800 delete arg2;
2801 }
2802 {
2803 if (temp3)
2804 delete arg3;
2805 }
2806 return resultobj;
2807 fail:
2808 {
2809 if (temp1)
2810 delete arg1;
2811 }
2812 {
2813 if (temp2)
2814 delete arg2;
2815 }
2816 {
2817 if (temp3)
2818 delete arg3;
2819 }
2820 return NULL;
2821}
2822
2823
2824static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2825 PyObject *resultobj;
2826 wxString *arg1 = 0 ;
2827 wxString const &arg2_defvalue = wxPyEmptyString ;
2828 wxString *arg2 = (wxString *) &arg2_defvalue ;
2829 wxString const &arg3_defvalue = wxPyEmptyString ;
2830 wxString *arg3 = (wxString *) &arg3_defvalue ;
2831 wxWindow *arg4 = (wxWindow *) NULL ;
2832 wxString result;
e811c8ce
RD
2833 bool temp1 = False ;
2834 bool temp2 = False ;
2835 bool temp3 = False ;
d14a1e28
RD
2836 PyObject * obj0 = 0 ;
2837 PyObject * obj1 = 0 ;
2838 PyObject * obj2 = 0 ;
2839 PyObject * obj3 = 0 ;
2840 char *kwnames[] = {
2841 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
2842 };
2843
2844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2845 {
2846 arg1 = wxString_in_helper(obj0);
2847 if (arg1 == NULL) SWIG_fail;
e811c8ce 2848 temp1 = True;
d14a1e28
RD
2849 }
2850 if (obj1) {
2851 {
2852 arg2 = wxString_in_helper(obj1);
2853 if (arg2 == NULL) SWIG_fail;
e811c8ce 2854 temp2 = True;
d14a1e28
RD
2855 }
2856 }
2857 if (obj2) {
2858 {
2859 arg3 = wxString_in_helper(obj2);
2860 if (arg3 == NULL) SWIG_fail;
e811c8ce 2861 temp3 = True;
d14a1e28
RD
2862 }
2863 }
2864 if (obj3) {
2865 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2866 }
2867 {
2868 PyThreadState* __tstate = wxPyBeginAllowThreads();
2869 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2870
2871 wxPyEndAllowThreads(__tstate);
2872 if (PyErr_Occurred()) SWIG_fail;
2873 }
2874 {
2875#if wxUSE_UNICODE
2876 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2877#else
2878 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2879#endif
2880 }
2881 {
2882 if (temp1)
2883 delete arg1;
2884 }
2885 {
2886 if (temp2)
2887 delete arg2;
2888 }
2889 {
2890 if (temp3)
2891 delete arg3;
2892 }
2893 return resultobj;
2894 fail:
2895 {
2896 if (temp1)
2897 delete arg1;
2898 }
2899 {
2900 if (temp2)
2901 delete arg2;
2902 }
2903 {
2904 if (temp3)
2905 delete arg3;
2906 }
2907 return NULL;
2908}
2909
2910
2911static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2912 PyObject *resultobj;
2913 wxString *arg1 = 0 ;
2914 wxString *arg2 = 0 ;
2915 int arg3 ;
2916 wxString *arg4 = (wxString *) 0 ;
2917 wxWindow *arg5 = (wxWindow *) NULL ;
2918 int arg6 = (int) -1 ;
2919 int arg7 = (int) -1 ;
e811c8ce 2920 bool arg8 = (bool) True ;
d14a1e28
RD
2921 int arg9 = (int) 150 ;
2922 int arg10 = (int) 200 ;
2923 wxString result;
e811c8ce
RD
2924 bool temp1 = False ;
2925 bool temp2 = False ;
d14a1e28
RD
2926 PyObject * obj0 = 0 ;
2927 PyObject * obj1 = 0 ;
2928 PyObject * obj2 = 0 ;
2929 PyObject * obj3 = 0 ;
2930 PyObject * obj6 = 0 ;
2931 char *kwnames[] = {
2932 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2933 };
2934
2935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
2936 {
2937 arg1 = wxString_in_helper(obj0);
2938 if (arg1 == NULL) SWIG_fail;
e811c8ce 2939 temp1 = True;
d14a1e28
RD
2940 }
2941 {
2942 arg2 = wxString_in_helper(obj1);
2943 if (arg2 == NULL) SWIG_fail;
e811c8ce 2944 temp2 = True;
d14a1e28
RD
2945 }
2946 {
2947 arg3 = PyList_Size(obj2);
2948 arg4 = wxString_LIST_helper(obj2);
2949 if (arg4 == NULL) SWIG_fail;
2950 }
2951 if (obj3) {
2952 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2953 }
2954 if (obj6) {
2955 arg8 = PyInt_AsLong(obj6) ? true : false;
2956 if (PyErr_Occurred()) SWIG_fail;
2957 }
2958 {
2959 PyThreadState* __tstate = wxPyBeginAllowThreads();
2960 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
2961
2962 wxPyEndAllowThreads(__tstate);
2963 if (PyErr_Occurred()) SWIG_fail;
2964 }
2965 {
2966#if wxUSE_UNICODE
2967 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2968#else
2969 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2970#endif
2971 }
2972 {
2973 if (temp1)
2974 delete arg1;
2975 }
2976 {
2977 if (temp2)
2978 delete arg2;
2979 }
2980 {
2981 if (arg4) delete [] arg4;
2982 }
2983 return resultobj;
2984 fail:
2985 {
2986 if (temp1)
2987 delete arg1;
2988 }
2989 {
2990 if (temp2)
2991 delete arg2;
2992 }
2993 {
2994 if (arg4) delete [] arg4;
2995 }
2996 return NULL;
2997}
2998
2999
3000static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3001 PyObject *resultobj;
3002 wxString *arg1 = 0 ;
3003 wxString *arg2 = 0 ;
3004 int arg3 ;
3005 wxString *arg4 = (wxString *) 0 ;
3006 wxWindow *arg5 = (wxWindow *) NULL ;
3007 int arg6 = (int) -1 ;
3008 int arg7 = (int) -1 ;
e811c8ce 3009 bool arg8 = (bool) True ;
d14a1e28
RD
3010 int arg9 = (int) 150 ;
3011 int arg10 = (int) 200 ;
3012 int result;
e811c8ce
RD
3013 bool temp1 = False ;
3014 bool temp2 = False ;
d14a1e28
RD
3015 PyObject * obj0 = 0 ;
3016 PyObject * obj1 = 0 ;
3017 PyObject * obj2 = 0 ;
3018 PyObject * obj3 = 0 ;
3019 PyObject * obj6 = 0 ;
3020 char *kwnames[] = {
3021 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3022 };
3023
3024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
3025 {
3026 arg1 = wxString_in_helper(obj0);
3027 if (arg1 == NULL) SWIG_fail;
e811c8ce 3028 temp1 = True;
d14a1e28
RD
3029 }
3030 {
3031 arg2 = wxString_in_helper(obj1);
3032 if (arg2 == NULL) SWIG_fail;
e811c8ce 3033 temp2 = True;
d14a1e28
RD
3034 }
3035 {
3036 arg3 = PyList_Size(obj2);
3037 arg4 = wxString_LIST_helper(obj2);
3038 if (arg4 == NULL) SWIG_fail;
3039 }
3040 if (obj3) {
3041 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3042 }
3043 if (obj6) {
3044 arg8 = PyInt_AsLong(obj6) ? true : false;
3045 if (PyErr_Occurred()) SWIG_fail;
3046 }
3047 {
3048 PyThreadState* __tstate = wxPyBeginAllowThreads();
3049 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3050
3051 wxPyEndAllowThreads(__tstate);
3052 if (PyErr_Occurred()) SWIG_fail;
3053 }
3054 resultobj = PyInt_FromLong((long)result);
3055 {
3056 if (temp1)
3057 delete arg1;
3058 }
3059 {
3060 if (temp2)
3061 delete arg2;
3062 }
3063 {
3064 if (arg4) delete [] arg4;
3065 }
3066 return resultobj;
3067 fail:
3068 {
3069 if (temp1)
3070 delete arg1;
3071 }
3072 {
3073 if (temp2)
3074 delete arg2;
3075 }
3076 {
3077 if (arg4) delete [] arg4;
3078 }
3079 return NULL;
3080}
3081
3082
3083static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3084 PyObject *resultobj;
3085 wxString *arg1 = 0 ;
3086 wxString const &arg2_defvalue = wxPyEmptyString ;
3087 wxString *arg2 = (wxString *) &arg2_defvalue ;
3088 int arg3 = (int) wxOK|wxCENTRE ;
3089 wxWindow *arg4 = (wxWindow *) NULL ;
3090 int arg5 = (int) -1 ;
3091 int arg6 = (int) -1 ;
3092 int result;
e811c8ce
RD
3093 bool temp1 = False ;
3094 bool temp2 = False ;
d14a1e28
RD
3095 PyObject * obj0 = 0 ;
3096 PyObject * obj1 = 0 ;
3097 PyObject * obj3 = 0 ;
3098 char *kwnames[] = {
3099 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3100 };
3101
3102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OiOii:MessageBox",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5,&arg6)) goto fail;
3103 {
3104 arg1 = wxString_in_helper(obj0);
3105 if (arg1 == NULL) SWIG_fail;
e811c8ce 3106 temp1 = True;
d14a1e28
RD
3107 }
3108 if (obj1) {
3109 {
3110 arg2 = wxString_in_helper(obj1);
3111 if (arg2 == NULL) SWIG_fail;
e811c8ce 3112 temp2 = True;
d14a1e28
RD
3113 }
3114 }
3115 if (obj3) {
3116 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3117 }
3118 {
3119 PyThreadState* __tstate = wxPyBeginAllowThreads();
3120 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3121
3122 wxPyEndAllowThreads(__tstate);
3123 if (PyErr_Occurred()) SWIG_fail;
3124 }
3125 resultobj = PyInt_FromLong((long)result);
3126 {
3127 if (temp1)
3128 delete arg1;
3129 }
3130 {
3131 if (temp2)
3132 delete arg2;
3133 }
3134 return resultobj;
3135 fail:
3136 {
3137 if (temp1)
3138 delete arg1;
3139 }
3140 {
3141 if (temp2)
3142 delete arg2;
3143 }
3144 return NULL;
3145}
3146
3147
3148static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3149 PyObject *resultobj;
3150 wxString *arg1 = 0 ;
3151 wxString *arg2 = 0 ;
3152 wxString *arg3 = 0 ;
3153 long arg4 ;
3154 long arg5 = (long) 0 ;
3155 long arg6 = (long) 100 ;
3156 wxWindow *arg7 = (wxWindow *) NULL ;
3157 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3158 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3159 long result;
e811c8ce
RD
3160 bool temp1 = False ;
3161 bool temp2 = False ;
3162 bool temp3 = False ;
d14a1e28
RD
3163 wxPoint temp8 ;
3164 PyObject * obj0 = 0 ;
3165 PyObject * obj1 = 0 ;
3166 PyObject * obj2 = 0 ;
3167 PyObject * obj6 = 0 ;
3168 PyObject * obj7 = 0 ;
3169 char *kwnames[] = {
3170 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3171 };
3172
3173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOl|llOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&obj6,&obj7)) goto fail;
3174 {
3175 arg1 = wxString_in_helper(obj0);
3176 if (arg1 == NULL) SWIG_fail;
e811c8ce 3177 temp1 = True;
d14a1e28
RD
3178 }
3179 {
3180 arg2 = wxString_in_helper(obj1);
3181 if (arg2 == NULL) SWIG_fail;
e811c8ce 3182 temp2 = True;
d14a1e28
RD
3183 }
3184 {
3185 arg3 = wxString_in_helper(obj2);
3186 if (arg3 == NULL) SWIG_fail;
e811c8ce 3187 temp3 = True;
d14a1e28
RD
3188 }
3189 if (obj6) {
3190 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3191 }
3192 if (obj7) {
3193 {
3194 arg8 = &temp8;
3195 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3196 }
3197 }
3198 {
3199 PyThreadState* __tstate = wxPyBeginAllowThreads();
3200 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3201
3202 wxPyEndAllowThreads(__tstate);
3203 if (PyErr_Occurred()) SWIG_fail;
3204 }
3205 resultobj = PyInt_FromLong((long)result);
3206 {
3207 if (temp1)
3208 delete arg1;
3209 }
3210 {
3211 if (temp2)
3212 delete arg2;
3213 }
3214 {
3215 if (temp3)
3216 delete arg3;
3217 }
3218 return resultobj;
3219 fail:
3220 {
3221 if (temp1)
3222 delete arg1;
3223 }
3224 {
3225 if (temp2)
3226 delete arg2;
3227 }
3228 {
3229 if (temp3)
3230 delete arg3;
3231 }
3232 return NULL;
3233}
3234
3235
3236static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3237 PyObject *resultobj;
3238 bool result;
3239 char *kwnames[] = {
3240 NULL
3241 };
3242
3243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3244 {
3245 PyThreadState* __tstate = wxPyBeginAllowThreads();
3246 result = (bool)wxColourDisplay();
3247
3248 wxPyEndAllowThreads(__tstate);
3249 if (PyErr_Occurred()) SWIG_fail;
3250 }
3251 resultobj = PyInt_FromLong((long)result);
3252 return resultobj;
3253 fail:
3254 return NULL;
3255}
3256
3257
3258static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3259 PyObject *resultobj;
3260 int result;
3261 char *kwnames[] = {
3262 NULL
3263 };
3264
3265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3266 {
3267 PyThreadState* __tstate = wxPyBeginAllowThreads();
3268 result = (int)wxDisplayDepth();
3269
3270 wxPyEndAllowThreads(__tstate);
3271 if (PyErr_Occurred()) SWIG_fail;
3272 }
3273 resultobj = PyInt_FromLong((long)result);
3274 return resultobj;
3275 fail:
3276 return NULL;
3277}
3278
3279
3280static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3281 PyObject *resultobj;
3282 int result;
3283 char *kwnames[] = {
3284 NULL
3285 };
3286
3287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3288 {
3289 PyThreadState* __tstate = wxPyBeginAllowThreads();
3290 result = (int)wxGetDisplayDepth();
3291
3292 wxPyEndAllowThreads(__tstate);
3293 if (PyErr_Occurred()) SWIG_fail;
3294 }
3295 resultobj = PyInt_FromLong((long)result);
3296 return resultobj;
3297 fail:
3298 return NULL;
3299}
3300
3301
3302static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3303 PyObject *resultobj;
3304 int *arg1 = (int *) 0 ;
3305 int *arg2 = (int *) 0 ;
3306 int temp1 ;
3307 int temp2 ;
3308 char *kwnames[] = {
3309 NULL
3310 };
3311
3312 arg1 = &temp1;
3313 arg2 = &temp2;
3314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3315 {
3316 PyThreadState* __tstate = wxPyBeginAllowThreads();
3317 wxDisplaySize(arg1,arg2);
3318
3319 wxPyEndAllowThreads(__tstate);
3320 if (PyErr_Occurred()) SWIG_fail;
3321 }
3322 Py_INCREF(Py_None); resultobj = Py_None;
3323 {
3324 PyObject *o = PyInt_FromLong((long) (*arg1));
3325 resultobj = t_output_helper(resultobj,o);
3326 }
3327 {
3328 PyObject *o = PyInt_FromLong((long) (*arg2));
3329 resultobj = t_output_helper(resultobj,o);
3330 }
3331 return resultobj;
3332 fail:
3333 return NULL;
3334}
3335
3336
3337static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3338 PyObject *resultobj;
3339 wxSize result;
3340 char *kwnames[] = {
3341 NULL
3342 };
3343
3344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3345 {
3346 PyThreadState* __tstate = wxPyBeginAllowThreads();
3347 result = wxGetDisplaySize();
3348
3349 wxPyEndAllowThreads(__tstate);
3350 if (PyErr_Occurred()) SWIG_fail;
3351 }
3352 {
3353 wxSize * resultptr;
3354 resultptr = new wxSize((wxSize &) result);
3355 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3356 }
3357 return resultobj;
3358 fail:
3359 return NULL;
3360}
3361
3362
3363static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3364 PyObject *resultobj;
3365 int *arg1 = (int *) 0 ;
3366 int *arg2 = (int *) 0 ;
3367 int temp1 ;
3368 int temp2 ;
3369 char *kwnames[] = {
3370 NULL
3371 };
3372
3373 arg1 = &temp1;
3374 arg2 = &temp2;
3375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3376 {
3377 PyThreadState* __tstate = wxPyBeginAllowThreads();
3378 wxDisplaySizeMM(arg1,arg2);
3379
3380 wxPyEndAllowThreads(__tstate);
3381 if (PyErr_Occurred()) SWIG_fail;
3382 }
3383 Py_INCREF(Py_None); resultobj = Py_None;
3384 {
3385 PyObject *o = PyInt_FromLong((long) (*arg1));
3386 resultobj = t_output_helper(resultobj,o);
3387 }
3388 {
3389 PyObject *o = PyInt_FromLong((long) (*arg2));
3390 resultobj = t_output_helper(resultobj,o);
3391 }
3392 return resultobj;
3393 fail:
3394 return NULL;
3395}
3396
3397
3398static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3399 PyObject *resultobj;
3400 wxSize result;
3401 char *kwnames[] = {
3402 NULL
3403 };
3404
3405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3406 {
3407 PyThreadState* __tstate = wxPyBeginAllowThreads();
3408 result = wxGetDisplaySizeMM();
3409
3410 wxPyEndAllowThreads(__tstate);
3411 if (PyErr_Occurred()) SWIG_fail;
3412 }
3413 {
3414 wxSize * resultptr;
3415 resultptr = new wxSize((wxSize &) result);
3416 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3417 }
3418 return resultobj;
3419 fail:
3420 return NULL;
3421}
3422
3423
3424static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3425 PyObject *resultobj;
3426 int *arg1 = (int *) 0 ;
3427 int *arg2 = (int *) 0 ;
3428 int *arg3 = (int *) 0 ;
3429 int *arg4 = (int *) 0 ;
3430 int temp1 ;
3431 int temp2 ;
3432 int temp3 ;
3433 int temp4 ;
3434 char *kwnames[] = {
3435 NULL
3436 };
3437
3438 arg1 = &temp1;
3439 arg2 = &temp2;
3440 arg3 = &temp3;
3441 arg4 = &temp4;
3442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3443 {
3444 PyThreadState* __tstate = wxPyBeginAllowThreads();
3445 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3446
3447 wxPyEndAllowThreads(__tstate);
3448 if (PyErr_Occurred()) SWIG_fail;
3449 }
3450 Py_INCREF(Py_None); resultobj = Py_None;
3451 {
3452 PyObject *o = PyInt_FromLong((long) (*arg1));
3453 resultobj = t_output_helper(resultobj,o);
3454 }
3455 {
3456 PyObject *o = PyInt_FromLong((long) (*arg2));
3457 resultobj = t_output_helper(resultobj,o);
3458 }
3459 {
3460 PyObject *o = PyInt_FromLong((long) (*arg3));
3461 resultobj = t_output_helper(resultobj,o);
3462 }
3463 {
3464 PyObject *o = PyInt_FromLong((long) (*arg4));
3465 resultobj = t_output_helper(resultobj,o);
3466 }
3467 return resultobj;
3468 fail:
3469 return NULL;
3470}
3471
3472
3473static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3474 PyObject *resultobj;
3475 wxRect result;
3476 char *kwnames[] = {
3477 NULL
3478 };
3479
3480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3481 {
3482 PyThreadState* __tstate = wxPyBeginAllowThreads();
3483 result = wxGetClientDisplayRect();
3484
3485 wxPyEndAllowThreads(__tstate);
3486 if (PyErr_Occurred()) SWIG_fail;
3487 }
3488 {
3489 wxRect * resultptr;
3490 resultptr = new wxRect((wxRect &) result);
3491 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3492 }
3493 return resultobj;
3494 fail:
3495 return NULL;
3496}
3497
3498
3499static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3500 PyObject *resultobj;
3501 wxCursor *arg1 = 0 ;
3502 PyObject * obj0 = 0 ;
3503 char *kwnames[] = {
3504 (char *) "cursor", NULL
3505 };
3506
3507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3509 if (arg1 == NULL) {
3510 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3511 }
3512 {
3513 PyThreadState* __tstate = wxPyBeginAllowThreads();
3514 wxSetCursor(*arg1);
3515
3516 wxPyEndAllowThreads(__tstate);
3517 if (PyErr_Occurred()) SWIG_fail;
3518 }
3519 Py_INCREF(Py_None); resultobj = Py_None;
3520 return resultobj;
3521 fail:
3522 return NULL;
3523}
3524
3525
3526static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3527 PyObject *resultobj;
3528 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3529 PyObject * obj0 = 0 ;
3530 char *kwnames[] = {
3531 (char *) "cursor", NULL
3532 };
3533
3534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3535 if (obj0) {
3536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3537 }
3538 {
3539 PyThreadState* __tstate = wxPyBeginAllowThreads();
3540 wxBeginBusyCursor(arg1);
3541
3542 wxPyEndAllowThreads(__tstate);
3543 if (PyErr_Occurred()) SWIG_fail;
3544 }
3545 Py_INCREF(Py_None); resultobj = Py_None;
3546 return resultobj;
3547 fail:
3548 return NULL;
3549}
3550
3551
3552static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3553 PyObject *resultobj;
3554 wxWindow *result;
3555 char *kwnames[] = {
3556 NULL
3557 };
3558
3559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
3560 {
3561 PyThreadState* __tstate = wxPyBeginAllowThreads();
3562 result = (wxWindow *)wxGetActiveWindow();
3563
3564 wxPyEndAllowThreads(__tstate);
3565 if (PyErr_Occurred()) SWIG_fail;
3566 }
3567 {
3568 resultobj = wxPyMake_wxObject(result);
3569 }
3570 return resultobj;
3571 fail:
3572 return NULL;
3573}
3574
3575
3576static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3577 PyObject *resultobj;
3578 wxPoint *arg1 = 0 ;
3579 wxWindow *result;
3580 wxPoint temp1 ;
3581 PyObject * obj0 = 0 ;
3582 char *kwnames[] = {
3583 (char *) "pt", NULL
3584 };
3585
3586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
3587 {
3588 arg1 = &temp1;
3589 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3590 }
3591 {
3592 PyThreadState* __tstate = wxPyBeginAllowThreads();
3593 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
3594
3595 wxPyEndAllowThreads(__tstate);
3596 if (PyErr_Occurred()) SWIG_fail;
3597 }
3598 {
3599 resultobj = wxPyMake_wxObject(result);
3600 }
3601 return resultobj;
3602 fail:
3603 return NULL;
3604}
3605
3606
3607static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3608 PyObject *resultobj;
3609 wxPoint *arg1 = 0 ;
3610 wxWindow *result;
3611 wxPoint temp1 ;
3612 PyObject * obj0 = 0 ;
3613 char *kwnames[] = {
3614 (char *) "pt", NULL
3615 };
3616
3617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
3618 {
3619 arg1 = &temp1;
3620 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3621 }
3622 {
3623 PyThreadState* __tstate = wxPyBeginAllowThreads();
3624 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
3625
3626 wxPyEndAllowThreads(__tstate);
3627 if (PyErr_Occurred()) SWIG_fail;
3628 }
3629 {
3630 resultobj = wxPyMake_wxObject(result);
3631 }
3632 return resultobj;
3633 fail:
3634 return NULL;
3635}
3636
3637
3638static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3639 PyObject *resultobj;
3640 wxWindow *arg1 = (wxWindow *) 0 ;
3641 wxWindow *result;
3642 PyObject * obj0 = 0 ;
3643 char *kwnames[] = {
3644 (char *) "win", NULL
3645 };
3646
3647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
3648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3649 {
3650 PyThreadState* __tstate = wxPyBeginAllowThreads();
3651 result = (wxWindow *)wxGetTopLevelParent(arg1);
3652
3653 wxPyEndAllowThreads(__tstate);
3654 if (PyErr_Occurred()) SWIG_fail;
3655 }
3656 {
3657 resultobj = wxPyMake_wxObject(result);
3658 }
3659 return resultobj;
3660 fail:
3661 return NULL;
3662}
3663
3664
3665static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
3666 PyObject *resultobj;
3667 char *kwnames[] = {
3668 NULL
3669 };
3670
3671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
3672 {
3673 PyThreadState* __tstate = wxPyBeginAllowThreads();
3674 wxWakeUpMainThread();
3675
3676 wxPyEndAllowThreads(__tstate);
3677 if (PyErr_Occurred()) SWIG_fail;
3678 }
3679 Py_INCREF(Py_None); resultobj = Py_None;
3680 return resultobj;
3681 fail:
3682 return NULL;
3683}
3684
3685
3686static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
3687 PyObject *resultobj;
3688 char *kwnames[] = {
3689 NULL
3690 };
3691
3692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
3693 {
3694 PyThreadState* __tstate = wxPyBeginAllowThreads();
3695 wxMutexGuiEnter();
3696
3697 wxPyEndAllowThreads(__tstate);
3698 if (PyErr_Occurred()) SWIG_fail;
3699 }
3700 Py_INCREF(Py_None); resultobj = Py_None;
3701 return resultobj;
3702 fail:
3703 return NULL;
3704}
3705
3706
3707static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
3708 PyObject *resultobj;
3709 char *kwnames[] = {
3710 NULL
3711 };
3712
3713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
3714 {
3715 PyThreadState* __tstate = wxPyBeginAllowThreads();
3716 wxMutexGuiLeave();
3717
3718 wxPyEndAllowThreads(__tstate);
3719 if (PyErr_Occurred()) SWIG_fail;
3720 }
3721 Py_INCREF(Py_None); resultobj = Py_None;
3722 return resultobj;
3723 fail:
3724 return NULL;
3725}
3726
3727
3728static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3729 PyObject *resultobj;
3730 wxMutexGuiLocker *result;
3731 char *kwnames[] = {
3732 NULL
3733 };
3734
3735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
3736 {
3737 PyThreadState* __tstate = wxPyBeginAllowThreads();
3738 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
3739
3740 wxPyEndAllowThreads(__tstate);
3741 if (PyErr_Occurred()) SWIG_fail;
3742 }
3743 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMutexGuiLocker, 1);
3744 return resultobj;
3745 fail:
3746 return NULL;
3747}
3748
3749
3750static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3751 PyObject *resultobj;
3752 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
3753 PyObject * obj0 = 0 ;
3754 char *kwnames[] = {
3755 (char *) "self", NULL
3756 };
3757
3758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
3759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMutexGuiLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3760 {
3761 PyThreadState* __tstate = wxPyBeginAllowThreads();
3762 delete arg1;
3763
3764 wxPyEndAllowThreads(__tstate);
3765 if (PyErr_Occurred()) SWIG_fail;
3766 }
3767 Py_INCREF(Py_None); resultobj = Py_None;
3768 return resultobj;
3769 fail:
3770 return NULL;
3771}
3772
3773
3774static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
3775 PyObject *obj;
3776 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3777 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
3778 Py_INCREF(obj);
3779 return Py_BuildValue((char *)"");
3780}
3781static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
3782 PyObject *resultobj;
3783 bool result;
3784 char *kwnames[] = {
3785 NULL
3786 };
3787
3788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
3789 {
3790 PyThreadState* __tstate = wxPyBeginAllowThreads();
3791 result = (bool)wxThread_IsMain();
3792
3793 wxPyEndAllowThreads(__tstate);
3794 if (PyErr_Occurred()) SWIG_fail;
3795 }
3796 resultobj = PyInt_FromLong((long)result);
3797 return resultobj;
3798 fail:
3799 return NULL;
3800}
3801
3802
3803static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3804 PyObject *resultobj;
3805 wxString *arg1 = 0 ;
3806 wxToolTip *result;
e811c8ce 3807 bool temp1 = False ;
d14a1e28
RD
3808 PyObject * obj0 = 0 ;
3809 char *kwnames[] = {
3810 (char *) "tip", NULL
3811 };
3812
3813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
3814 {
3815 arg1 = wxString_in_helper(obj0);
3816 if (arg1 == NULL) SWIG_fail;
e811c8ce 3817 temp1 = True;
d14a1e28
RD
3818 }
3819 {
3820 PyThreadState* __tstate = wxPyBeginAllowThreads();
3821 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
3822
3823 wxPyEndAllowThreads(__tstate);
3824 if (PyErr_Occurred()) SWIG_fail;
3825 }
3826 {
3827 resultobj = wxPyMake_wxObject(result);
3828 }
3829 {
3830 if (temp1)
3831 delete arg1;
3832 }
3833 return resultobj;
3834 fail:
3835 {
3836 if (temp1)
3837 delete arg1;
3838 }
3839 return NULL;
3840}
3841
3842
3843static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3844 PyObject *resultobj;
3845 wxToolTip *arg1 = (wxToolTip *) 0 ;
3846 wxString *arg2 = 0 ;
e811c8ce 3847 bool temp2 = False ;
d14a1e28
RD
3848 PyObject * obj0 = 0 ;
3849 PyObject * obj1 = 0 ;
3850 char *kwnames[] = {
3851 (char *) "self",(char *) "tip", NULL
3852 };
3853
3854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
3855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3856 {
3857 arg2 = wxString_in_helper(obj1);
3858 if (arg2 == NULL) SWIG_fail;
e811c8ce 3859 temp2 = True;
d14a1e28
RD
3860 }
3861 {
3862 PyThreadState* __tstate = wxPyBeginAllowThreads();
3863 (arg1)->SetTip((wxString const &)*arg2);
3864
3865 wxPyEndAllowThreads(__tstate);
3866 if (PyErr_Occurred()) SWIG_fail;
3867 }
3868 Py_INCREF(Py_None); resultobj = Py_None;
3869 {
3870 if (temp2)
3871 delete arg2;
3872 }
3873 return resultobj;
3874 fail:
3875 {
3876 if (temp2)
3877 delete arg2;
3878 }
3879 return NULL;
3880}
3881
3882
3883static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3884 PyObject *resultobj;
3885 wxToolTip *arg1 = (wxToolTip *) 0 ;
3886 wxString result;
3887 PyObject * obj0 = 0 ;
3888 char *kwnames[] = {
3889 (char *) "self", NULL
3890 };
3891
3892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
3893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3894 {
3895 PyThreadState* __tstate = wxPyBeginAllowThreads();
3896 result = (arg1)->GetTip();
3897
3898 wxPyEndAllowThreads(__tstate);
3899 if (PyErr_Occurred()) SWIG_fail;
3900 }
3901 {
3902#if wxUSE_UNICODE
3903 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3904#else
3905 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3906#endif
3907 }
3908 return resultobj;
3909 fail:
3910 return NULL;
3911}
3912
3913
3914static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3915 PyObject *resultobj;
3916 wxToolTip *arg1 = (wxToolTip *) 0 ;
3917 wxWindow *result;
3918 PyObject * obj0 = 0 ;
3919 char *kwnames[] = {
3920 (char *) "self", NULL
3921 };
3922
3923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
3924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3925 {
3926 PyThreadState* __tstate = wxPyBeginAllowThreads();
3927 result = (wxWindow *)(arg1)->GetWindow();
3928
3929 wxPyEndAllowThreads(__tstate);
3930 if (PyErr_Occurred()) SWIG_fail;
3931 }
3932 {
3933 resultobj = wxPyMake_wxObject(result);
3934 }
3935 return resultobj;
3936 fail:
3937 return NULL;
3938}
3939
3940
3941static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
3942 PyObject *resultobj;
3943 bool arg1 ;
3944 PyObject * obj0 = 0 ;
3945 char *kwnames[] = {
3946 (char *) "flag", NULL
3947 };
3948
3949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
3950 arg1 = PyInt_AsLong(obj0) ? true : false;
3951 if (PyErr_Occurred()) SWIG_fail;
3952 {
3953 PyThreadState* __tstate = wxPyBeginAllowThreads();
3954 wxToolTip::Enable(arg1);
3955
3956 wxPyEndAllowThreads(__tstate);
3957 if (PyErr_Occurred()) SWIG_fail;
3958 }
3959 Py_INCREF(Py_None); resultobj = Py_None;
3960 return resultobj;
3961 fail:
3962 return NULL;
3963}
3964
3965
3966static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
3967 PyObject *resultobj;
3968 long arg1 ;
3969 char *kwnames[] = {
3970 (char *) "milliseconds", NULL
3971 };
3972
3973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:ToolTip_SetDelay",kwnames,&arg1)) goto fail;
3974 {
3975 PyThreadState* __tstate = wxPyBeginAllowThreads();
3976 wxToolTip::SetDelay(arg1);
3977
3978 wxPyEndAllowThreads(__tstate);
3979 if (PyErr_Occurred()) SWIG_fail;
3980 }
3981 Py_INCREF(Py_None); resultobj = Py_None;
3982 return resultobj;
3983 fail:
3984 return NULL;
3985}
3986
3987
3988static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
3989 PyObject *obj;
3990 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3991 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
3992 Py_INCREF(obj);
3993 return Py_BuildValue((char *)"");
3994}
3995static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
3996 PyObject *resultobj;
3997 wxWindow *arg1 = (wxWindow *) 0 ;
3998 wxSize *arg2 = 0 ;
3999 wxCaret *result;
4000 wxSize temp2 ;
4001 PyObject * obj0 = 0 ;
4002 PyObject * obj1 = 0 ;
4003 char *kwnames[] = {
4004 (char *) "window",(char *) "size", NULL
4005 };
4006
4007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4009 {
4010 arg2 = &temp2;
4011 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4012 }
4013 {
4014 PyThreadState* __tstate = wxPyBeginAllowThreads();
4015 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4016
4017 wxPyEndAllowThreads(__tstate);
4018 if (PyErr_Occurred()) SWIG_fail;
4019 }
4020 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 1);
4021 return resultobj;
4022 fail:
4023 return NULL;
4024}
4025
4026
4027static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4028 PyObject *resultobj;
4029 wxCaret *arg1 = (wxCaret *) 0 ;
4030 PyObject * obj0 = 0 ;
4031 char *kwnames[] = {
4032 (char *) "self", NULL
4033 };
4034
4035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4037 {
4038 PyThreadState* __tstate = wxPyBeginAllowThreads();
4039 delete arg1;
4040
4041 wxPyEndAllowThreads(__tstate);
4042 if (PyErr_Occurred()) SWIG_fail;
4043 }
4044 Py_INCREF(Py_None); resultobj = Py_None;
4045 return resultobj;
4046 fail:
4047 return NULL;
4048}
4049
4050
4051static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4052 PyObject *resultobj;
4053 wxCaret *arg1 = (wxCaret *) 0 ;
4054 bool result;
4055 PyObject * obj0 = 0 ;
4056 char *kwnames[] = {
4057 (char *) "self", NULL
4058 };
4059
4060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 result = (bool)(arg1)->IsOk();
4065
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 resultobj = PyInt_FromLong((long)result);
4070 return resultobj;
4071 fail:
4072 return NULL;
4073}
4074
4075
4076static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4077 PyObject *resultobj;
4078 wxCaret *arg1 = (wxCaret *) 0 ;
4079 bool result;
4080 PyObject * obj0 = 0 ;
4081 char *kwnames[] = {
4082 (char *) "self", NULL
4083 };
4084
4085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4087 {
4088 PyThreadState* __tstate = wxPyBeginAllowThreads();
4089 result = (bool)(arg1)->IsVisible();
4090
4091 wxPyEndAllowThreads(__tstate);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
4094 resultobj = PyInt_FromLong((long)result);
4095 return resultobj;
4096 fail:
4097 return NULL;
4098}
4099
4100
322913ce
RD
4101static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4102 PyObject *resultobj;
4103 wxCaret *arg1 = (wxCaret *) 0 ;
4104 wxPoint result;
4105 PyObject * obj0 = 0 ;
4106 char *kwnames[] = {
4107 (char *) "self", NULL
4108 };
4109
4110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4112 {
4113 PyThreadState* __tstate = wxPyBeginAllowThreads();
4114 result = (arg1)->GetPosition();
4115
4116 wxPyEndAllowThreads(__tstate);
4117 if (PyErr_Occurred()) SWIG_fail;
4118 }
4119 {
4120 wxPoint * resultptr;
4121 resultptr = new wxPoint((wxPoint &) result);
4122 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4123 }
4124 return resultobj;
4125 fail:
4126 return NULL;
4127}
4128
4129
d14a1e28
RD
4130static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4131 PyObject *resultobj;
4132 wxCaret *arg1 = (wxCaret *) 0 ;
4133 int *arg2 = (int *) 0 ;
4134 int *arg3 = (int *) 0 ;
4135 int temp2 ;
4136 int temp3 ;
4137 PyObject * obj0 = 0 ;
4138 char *kwnames[] = {
4139 (char *) "self", NULL
4140 };
4141
4142 arg2 = &temp2;
4143 arg3 = &temp3;
4144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4146 {
4147 PyThreadState* __tstate = wxPyBeginAllowThreads();
4148 (arg1)->GetPosition(arg2,arg3);
4149
4150 wxPyEndAllowThreads(__tstate);
4151 if (PyErr_Occurred()) SWIG_fail;
4152 }
4153 Py_INCREF(Py_None); resultobj = Py_None;
4154 {
4155 PyObject *o = PyInt_FromLong((long) (*arg2));
4156 resultobj = t_output_helper(resultobj,o);
4157 }
4158 {
4159 PyObject *o = PyInt_FromLong((long) (*arg3));
4160 resultobj = t_output_helper(resultobj,o);
4161 }
4162 return resultobj;
4163 fail:
4164 return NULL;
4165}
4166
4167
322913ce 4168static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4169 PyObject *resultobj;
4170 wxCaret *arg1 = (wxCaret *) 0 ;
322913ce 4171 wxSize result;
d14a1e28
RD
4172 PyObject * obj0 = 0 ;
4173 char *kwnames[] = {
4174 (char *) "self", NULL
4175 };
4176
322913ce 4177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
d14a1e28
RD
4178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4179 {
4180 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 4181 result = (arg1)->GetSize();
d14a1e28
RD
4182
4183 wxPyEndAllowThreads(__tstate);
4184 if (PyErr_Occurred()) SWIG_fail;
4185 }
4186 {
322913ce
RD
4187 wxSize * resultptr;
4188 resultptr = new wxSize((wxSize &) result);
4189 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
4190 }
4191 return resultobj;
4192 fail:
4193 return NULL;
4194}
4195
4196
4197static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4198 PyObject *resultobj;
4199 wxCaret *arg1 = (wxCaret *) 0 ;
4200 int *arg2 = (int *) 0 ;
4201 int *arg3 = (int *) 0 ;
4202 int temp2 ;
4203 int temp3 ;
4204 PyObject * obj0 = 0 ;
4205 char *kwnames[] = {
4206 (char *) "self", NULL
4207 };
4208
4209 arg2 = &temp2;
4210 arg3 = &temp3;
4211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4213 {
4214 PyThreadState* __tstate = wxPyBeginAllowThreads();
4215 (arg1)->GetSize(arg2,arg3);
4216
4217 wxPyEndAllowThreads(__tstate);
4218 if (PyErr_Occurred()) SWIG_fail;
4219 }
4220 Py_INCREF(Py_None); resultobj = Py_None;
4221 {
4222 PyObject *o = PyInt_FromLong((long) (*arg2));
4223 resultobj = t_output_helper(resultobj,o);
4224 }
4225 {
4226 PyObject *o = PyInt_FromLong((long) (*arg3));
4227 resultobj = t_output_helper(resultobj,o);
4228 }
4229 return resultobj;
4230 fail:
4231 return NULL;
4232}
4233
4234
d14a1e28
RD
4235static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4236 PyObject *resultobj;
4237 wxCaret *arg1 = (wxCaret *) 0 ;
4238 wxWindow *result;
4239 PyObject * obj0 = 0 ;
4240 char *kwnames[] = {
4241 (char *) "self", NULL
4242 };
4243
4244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4246 {
4247 PyThreadState* __tstate = wxPyBeginAllowThreads();
4248 result = (wxWindow *)(arg1)->GetWindow();
4249
4250 wxPyEndAllowThreads(__tstate);
4251 if (PyErr_Occurred()) SWIG_fail;
4252 }
4253 {
4254 resultobj = wxPyMake_wxObject(result);
4255 }
4256 return resultobj;
4257 fail:
4258 return NULL;
4259}
4260
4261
4262static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4263 PyObject *resultobj;
4264 wxCaret *arg1 = (wxCaret *) 0 ;
4265 int arg2 ;
4266 int arg3 ;
4267 PyObject * obj0 = 0 ;
4268 char *kwnames[] = {
4269 (char *) "self",(char *) "x",(char *) "y", NULL
4270 };
4271
4272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_MoveXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
4273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4274 {
4275 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276 (arg1)->Move(arg2,arg3);
4277
4278 wxPyEndAllowThreads(__tstate);
4279 if (PyErr_Occurred()) SWIG_fail;
4280 }
4281 Py_INCREF(Py_None); resultobj = Py_None;
4282 return resultobj;
4283 fail:
4284 return NULL;
4285}
4286
4287
4288static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4289 PyObject *resultobj;
4290 wxCaret *arg1 = (wxCaret *) 0 ;
4291 wxPoint *arg2 = 0 ;
4292 wxPoint temp2 ;
4293 PyObject * obj0 = 0 ;
4294 PyObject * obj1 = 0 ;
4295 char *kwnames[] = {
4296 (char *) "self",(char *) "pt", NULL
4297 };
4298
4299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4301 {
4302 arg2 = &temp2;
4303 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4304 }
4305 {
4306 PyThreadState* __tstate = wxPyBeginAllowThreads();
4307 (arg1)->Move((wxPoint const &)*arg2);
4308
4309 wxPyEndAllowThreads(__tstate);
4310 if (PyErr_Occurred()) SWIG_fail;
4311 }
4312 Py_INCREF(Py_None); resultobj = Py_None;
4313 return resultobj;
4314 fail:
4315 return NULL;
4316}
4317
4318
4319static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4320 PyObject *resultobj;
4321 wxCaret *arg1 = (wxCaret *) 0 ;
4322 int arg2 ;
4323 int arg3 ;
4324 PyObject * obj0 = 0 ;
4325 char *kwnames[] = {
4326 (char *) "self",(char *) "width",(char *) "height", NULL
4327 };
4328
4329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
4330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4331 {
4332 PyThreadState* __tstate = wxPyBeginAllowThreads();
4333 (arg1)->SetSize(arg2,arg3);
4334
4335 wxPyEndAllowThreads(__tstate);
4336 if (PyErr_Occurred()) SWIG_fail;
4337 }
4338 Py_INCREF(Py_None); resultobj = Py_None;
4339 return resultobj;
4340 fail:
4341 return NULL;
4342}
4343
4344
4345static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4346 PyObject *resultobj;
4347 wxCaret *arg1 = (wxCaret *) 0 ;
4348 wxSize *arg2 = 0 ;
4349 wxSize temp2 ;
4350 PyObject * obj0 = 0 ;
4351 PyObject * obj1 = 0 ;
4352 char *kwnames[] = {
4353 (char *) "self",(char *) "size", NULL
4354 };
4355
4356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4358 {
4359 arg2 = &temp2;
4360 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4361 }
4362 {
4363 PyThreadState* __tstate = wxPyBeginAllowThreads();
4364 (arg1)->SetSize((wxSize const &)*arg2);
4365
4366 wxPyEndAllowThreads(__tstate);
4367 if (PyErr_Occurred()) SWIG_fail;
4368 }
4369 Py_INCREF(Py_None); resultobj = Py_None;
4370 return resultobj;
4371 fail:
4372 return NULL;
4373}
4374
4375
4376static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4377 PyObject *resultobj;
4378 wxCaret *arg1 = (wxCaret *) 0 ;
e811c8ce 4379 int arg2 = (int) True ;
d14a1e28
RD
4380 PyObject * obj0 = 0 ;
4381 char *kwnames[] = {
4382 (char *) "self",(char *) "show", NULL
4383 };
4384
4385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Caret_Show",kwnames,&obj0,&arg2)) goto fail;
4386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4387 {
4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
4389 (arg1)->Show(arg2);
4390
4391 wxPyEndAllowThreads(__tstate);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 }
4394 Py_INCREF(Py_None); resultobj = Py_None;
4395 return resultobj;
4396 fail:
4397 return NULL;
4398}
4399
4400
4401static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4402 PyObject *resultobj;
4403 wxCaret *arg1 = (wxCaret *) 0 ;
4404 PyObject * obj0 = 0 ;
4405 char *kwnames[] = {
4406 (char *) "self", NULL
4407 };
4408
4409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4411 {
4412 PyThreadState* __tstate = wxPyBeginAllowThreads();
4413 (arg1)->Hide();
4414
4415 wxPyEndAllowThreads(__tstate);
4416 if (PyErr_Occurred()) SWIG_fail;
4417 }
4418 Py_INCREF(Py_None); resultobj = Py_None;
4419 return resultobj;
4420 fail:
4421 return NULL;
4422}
4423
4424
4425static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4426 PyObject *obj;
4427 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4428 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4429 Py_INCREF(obj);
4430 return Py_BuildValue((char *)"");
4431}
4432static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4433 PyObject *resultobj;
4434 int result;
4435 char *kwnames[] = {
4436 NULL
4437 };
4438
4439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4440 {
4441 PyThreadState* __tstate = wxPyBeginAllowThreads();
4442 result = (int)wxCaret_GetBlinkTime();
4443
4444 wxPyEndAllowThreads(__tstate);
4445 if (PyErr_Occurred()) SWIG_fail;
4446 }
4447 resultobj = PyInt_FromLong((long)result);
4448 return resultobj;
4449 fail:
4450 return NULL;
4451}
4452
4453
4454static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4455 PyObject *resultobj;
4456 int arg1 ;
4457 char *kwnames[] = {
4458 (char *) "milliseconds", NULL
4459 };
4460
4461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Caret_SetBlinkTime",kwnames,&arg1)) goto fail;
4462 {
4463 PyThreadState* __tstate = wxPyBeginAllowThreads();
4464 wxCaret_SetBlinkTime(arg1);
4465
4466 wxPyEndAllowThreads(__tstate);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
4469 Py_INCREF(Py_None); resultobj = Py_None;
4470 return resultobj;
4471 fail:
4472 return NULL;
4473}
4474
4475
4476static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4477 PyObject *resultobj;
4478 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4479 wxBusyCursor *result;
4480 PyObject * obj0 = 0 ;
4481 char *kwnames[] = {
4482 (char *) "cursor", NULL
4483 };
4484
4485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
4486 if (obj0) {
4487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4488 }
4489 {
4490 PyThreadState* __tstate = wxPyBeginAllowThreads();
4491 result = (wxBusyCursor *)new wxBusyCursor(arg1);
4492
4493 wxPyEndAllowThreads(__tstate);
4494 if (PyErr_Occurred()) SWIG_fail;
4495 }
4496 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyCursor, 1);
4497 return resultobj;
4498 fail:
4499 return NULL;
4500}
4501
4502
4503static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4504 PyObject *resultobj;
4505 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
4506 PyObject * obj0 = 0 ;
4507 char *kwnames[] = {
4508 (char *) "self", NULL
4509 };
4510
4511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
4512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4513 {
4514 PyThreadState* __tstate = wxPyBeginAllowThreads();
4515 delete arg1;
4516
4517 wxPyEndAllowThreads(__tstate);
4518 if (PyErr_Occurred()) SWIG_fail;
4519 }
4520 Py_INCREF(Py_None); resultobj = Py_None;
4521 return resultobj;
4522 fail:
4523 return NULL;
4524}
4525
4526
4527static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
4528 PyObject *obj;
4529 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4530 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
4531 Py_INCREF(obj);
4532 return Py_BuildValue((char *)"");
4533}
4534static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4535 PyObject *resultobj;
4536 wxWindow *arg1 = (wxWindow *) NULL ;
4537 wxWindowDisabler *result;
4538 PyObject * obj0 = 0 ;
4539 char *kwnames[] = {
4540 (char *) "winToSkip", NULL
4541 };
4542
4543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
4544 if (obj0) {
4545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4546 }
4547 {
4548 PyThreadState* __tstate = wxPyBeginAllowThreads();
4549 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
4550
4551 wxPyEndAllowThreads(__tstate);
4552 if (PyErr_Occurred()) SWIG_fail;
4553 }
4554 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDisabler, 1);
4555 return resultobj;
4556 fail:
4557 return NULL;
4558}
4559
4560
4561static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4562 PyObject *resultobj;
4563 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
4564 PyObject * obj0 = 0 ;
4565 char *kwnames[] = {
4566 (char *) "self", NULL
4567 };
4568
4569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
4570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4571 {
4572 PyThreadState* __tstate = wxPyBeginAllowThreads();
4573 delete arg1;
4574
4575 wxPyEndAllowThreads(__tstate);
4576 if (PyErr_Occurred()) SWIG_fail;
4577 }
4578 Py_INCREF(Py_None); resultobj = Py_None;
4579 return resultobj;
4580 fail:
4581 return NULL;
4582}
4583
4584
4585static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
4586 PyObject *obj;
4587 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4588 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
4589 Py_INCREF(obj);
4590 return Py_BuildValue((char *)"");
4591}
4592static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4593 PyObject *resultobj;
4594 wxString *arg1 = 0 ;
4595 wxBusyInfo *result;
e811c8ce 4596 bool temp1 = False ;
d14a1e28
RD
4597 PyObject * obj0 = 0 ;
4598 char *kwnames[] = {
4599 (char *) "message", NULL
4600 };
4601
4602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
4603 {
4604 arg1 = wxString_in_helper(obj0);
4605 if (arg1 == NULL) SWIG_fail;
e811c8ce 4606 temp1 = True;
d14a1e28
RD
4607 }
4608 {
4609 PyThreadState* __tstate = wxPyBeginAllowThreads();
4610 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
4611
4612 wxPyEndAllowThreads(__tstate);
4613 if (PyErr_Occurred()) SWIG_fail;
4614 }
4615 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyInfo, 1);
4616 {
4617 if (temp1)
4618 delete arg1;
4619 }
4620 return resultobj;
4621 fail:
4622 {
4623 if (temp1)
4624 delete arg1;
4625 }
4626 return NULL;
4627}
4628
4629
4630static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4631 PyObject *resultobj;
4632 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
4633 PyObject * obj0 = 0 ;
4634 char *kwnames[] = {
4635 (char *) "self", NULL
4636 };
4637
4638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
4639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4640 {
4641 PyThreadState* __tstate = wxPyBeginAllowThreads();
4642 delete arg1;
4643
4644 wxPyEndAllowThreads(__tstate);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 }
4647 Py_INCREF(Py_None); resultobj = Py_None;
4648 return resultobj;
4649 fail:
4650 return NULL;
4651}
4652
4653
4654static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
4655 PyObject *obj;
4656 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4657 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
4658 Py_INCREF(obj);
4659 return Py_BuildValue((char *)"");
4660}
4661static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
4662 PyObject *resultobj;
4663 wxStopWatch *result;
4664 char *kwnames[] = {
4665 NULL
4666 };
4667
4668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
4669 {
4670 PyThreadState* __tstate = wxPyBeginAllowThreads();
4671 result = (wxStopWatch *)new wxStopWatch();
4672
4673 wxPyEndAllowThreads(__tstate);
4674 if (PyErr_Occurred()) SWIG_fail;
4675 }
4676 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStopWatch, 1);
4677 return resultobj;
4678 fail:
4679 return NULL;
4680}
4681
4682
4683static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
4684 PyObject *resultobj;
4685 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4686 long arg2 = (long) 0 ;
4687 PyObject * obj0 = 0 ;
4688 char *kwnames[] = {
4689 (char *) "self",(char *) "t0", NULL
4690 };
4691
4692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:StopWatch_Start",kwnames,&obj0,&arg2)) goto fail;
4693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4694 {
4695 PyThreadState* __tstate = wxPyBeginAllowThreads();
4696 (arg1)->Start(arg2);
4697
4698 wxPyEndAllowThreads(__tstate);
4699 if (PyErr_Occurred()) SWIG_fail;
4700 }
4701 Py_INCREF(Py_None); resultobj = Py_None;
4702 return resultobj;
4703 fail:
4704 return NULL;
4705}
4706
4707
4708static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
4709 PyObject *resultobj;
4710 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4711 PyObject * obj0 = 0 ;
4712 char *kwnames[] = {
4713 (char *) "self", NULL
4714 };
4715
4716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
4717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4718 {
4719 PyThreadState* __tstate = wxPyBeginAllowThreads();
4720 (arg1)->Pause();
4721
4722 wxPyEndAllowThreads(__tstate);
4723 if (PyErr_Occurred()) SWIG_fail;
4724 }
4725 Py_INCREF(Py_None); resultobj = Py_None;
4726 return resultobj;
4727 fail:
4728 return NULL;
4729}
4730
4731
4732static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
4733 PyObject *resultobj;
4734 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4735 PyObject * obj0 = 0 ;
4736 char *kwnames[] = {
4737 (char *) "self", NULL
4738 };
4739
4740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
4741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4742 {
4743 PyThreadState* __tstate = wxPyBeginAllowThreads();
4744 (arg1)->Resume();
4745
4746 wxPyEndAllowThreads(__tstate);
4747 if (PyErr_Occurred()) SWIG_fail;
4748 }
4749 Py_INCREF(Py_None); resultobj = Py_None;
4750 return resultobj;
4751 fail:
4752 return NULL;
4753}
4754
4755
4756static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
4757 PyObject *resultobj;
4758 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4759 long result;
4760 PyObject * obj0 = 0 ;
4761 char *kwnames[] = {
4762 (char *) "self", NULL
4763 };
4764
4765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
4766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4767 {
4768 PyThreadState* __tstate = wxPyBeginAllowThreads();
4769 result = (long)((wxStopWatch const *)arg1)->Time();
4770
4771 wxPyEndAllowThreads(__tstate);
4772 if (PyErr_Occurred()) SWIG_fail;
4773 }
4774 resultobj = PyInt_FromLong((long)result);
4775 return resultobj;
4776 fail:
4777 return NULL;
4778}
4779
4780
4781static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
4782 PyObject *obj;
4783 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4784 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
4785 Py_INCREF(obj);
4786 return Py_BuildValue((char *)"");
4787}
4788static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4789 PyObject *resultobj;
4790 int arg1 = (int) 9 ;
4791 wxFileHistory *result;
4792 char *kwnames[] = {
4793 (char *) "maxFiles", NULL
4794 };
4795
4796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FileHistory",kwnames,&arg1)) goto fail;
4797 {
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 result = (wxFileHistory *)new wxFileHistory(arg1);
4800
4801 wxPyEndAllowThreads(__tstate);
4802 if (PyErr_Occurred()) SWIG_fail;
4803 }
4804 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileHistory, 1);
4805 return resultobj;
4806 fail:
4807 return NULL;
4808}
4809
4810
4811static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4812 PyObject *resultobj;
4813 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4814 PyObject * obj0 = 0 ;
4815 char *kwnames[] = {
4816 (char *) "self", NULL
4817 };
4818
4819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
4820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4821 {
4822 PyThreadState* __tstate = wxPyBeginAllowThreads();
4823 delete arg1;
4824
4825 wxPyEndAllowThreads(__tstate);
4826 if (PyErr_Occurred()) SWIG_fail;
4827 }
4828 Py_INCREF(Py_None); resultobj = Py_None;
4829 return resultobj;
4830 fail:
4831 return NULL;
4832}
4833
4834
4835static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4836 PyObject *resultobj;
4837 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4838 wxString *arg2 = 0 ;
e811c8ce 4839 bool temp2 = False ;
d14a1e28
RD
4840 PyObject * obj0 = 0 ;
4841 PyObject * obj1 = 0 ;
4842 char *kwnames[] = {
4843 (char *) "self",(char *) "file", NULL
4844 };
4845
4846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
4847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4848 {
4849 arg2 = wxString_in_helper(obj1);
4850 if (arg2 == NULL) SWIG_fail;
e811c8ce 4851 temp2 = True;
d14a1e28
RD
4852 }
4853 {
4854 PyThreadState* __tstate = wxPyBeginAllowThreads();
4855 (arg1)->AddFileToHistory((wxString const &)*arg2);
4856
4857 wxPyEndAllowThreads(__tstate);
4858 if (PyErr_Occurred()) SWIG_fail;
4859 }
4860 Py_INCREF(Py_None); resultobj = Py_None;
4861 {
4862 if (temp2)
4863 delete arg2;
4864 }
4865 return resultobj;
4866 fail:
4867 {
4868 if (temp2)
4869 delete arg2;
4870 }
4871 return NULL;
4872}
4873
4874
4875static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4876 PyObject *resultobj;
4877 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4878 int arg2 ;
4879 PyObject * obj0 = 0 ;
4880 char *kwnames[] = {
4881 (char *) "self",(char *) "i", NULL
4882 };
4883
4884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&arg2)) goto fail;
4885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4886 {
4887 PyThreadState* __tstate = wxPyBeginAllowThreads();
4888 (arg1)->RemoveFileFromHistory(arg2);
4889
4890 wxPyEndAllowThreads(__tstate);
4891 if (PyErr_Occurred()) SWIG_fail;
4892 }
4893 Py_INCREF(Py_None); resultobj = Py_None;
4894 return resultobj;
4895 fail:
4896 return NULL;
4897}
4898
4899
4900static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
4901 PyObject *resultobj;
4902 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4903 int result;
4904 PyObject * obj0 = 0 ;
4905 char *kwnames[] = {
4906 (char *) "self", NULL
4907 };
4908
4909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
4910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4911 {
4912 PyThreadState* __tstate = wxPyBeginAllowThreads();
4913 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
4914
4915 wxPyEndAllowThreads(__tstate);
4916 if (PyErr_Occurred()) SWIG_fail;
4917 }
4918 resultobj = PyInt_FromLong((long)result);
4919 return resultobj;
4920 fail:
4921 return NULL;
4922}
4923
4924
4925static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4926 PyObject *resultobj;
4927 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4928 wxMenu *arg2 = (wxMenu *) 0 ;
4929 PyObject * obj0 = 0 ;
4930 PyObject * obj1 = 0 ;
4931 char *kwnames[] = {
4932 (char *) "self",(char *) "menu", NULL
4933 };
4934
4935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
4936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4937 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4938 {
4939 PyThreadState* __tstate = wxPyBeginAllowThreads();
4940 (arg1)->UseMenu(arg2);
4941
4942 wxPyEndAllowThreads(__tstate);
4943 if (PyErr_Occurred()) SWIG_fail;
4944 }
4945 Py_INCREF(Py_None); resultobj = Py_None;
4946 return resultobj;
4947 fail:
4948 return NULL;
4949}
4950
4951
4952static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4953 PyObject *resultobj;
4954 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4955 wxMenu *arg2 = (wxMenu *) 0 ;
4956 PyObject * obj0 = 0 ;
4957 PyObject * obj1 = 0 ;
4958 char *kwnames[] = {
4959 (char *) "self",(char *) "menu", NULL
4960 };
4961
4962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
4963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4964 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4965 {
4966 PyThreadState* __tstate = wxPyBeginAllowThreads();
4967 (arg1)->RemoveMenu(arg2);
4968
4969 wxPyEndAllowThreads(__tstate);
4970 if (PyErr_Occurred()) SWIG_fail;
4971 }
4972 Py_INCREF(Py_None); resultobj = Py_None;
4973 return resultobj;
4974 fail:
4975 return NULL;
4976}
4977
4978
4979static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
4980 PyObject *resultobj;
4981 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4982 wxConfigBase *arg2 = 0 ;
4983 PyObject * obj0 = 0 ;
4984 PyObject * obj1 = 0 ;
4985 char *kwnames[] = {
4986 (char *) "self",(char *) "config", NULL
4987 };
4988
4989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
4990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4991 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4992 if (arg2 == NULL) {
4993 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4994 }
4995 {
4996 PyThreadState* __tstate = wxPyBeginAllowThreads();
4997 (arg1)->Load(*arg2);
4998
4999 wxPyEndAllowThreads(__tstate);
5000 if (PyErr_Occurred()) SWIG_fail;
5001 }
5002 Py_INCREF(Py_None); resultobj = Py_None;
5003 return resultobj;
5004 fail:
5005 return NULL;
5006}
5007
5008
5009static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5010 PyObject *resultobj;
5011 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5012 wxConfigBase *arg2 = 0 ;
5013 PyObject * obj0 = 0 ;
5014 PyObject * obj1 = 0 ;
5015 char *kwnames[] = {
5016 (char *) "self",(char *) "config", NULL
5017 };
5018
5019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5021 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5022 if (arg2 == NULL) {
5023 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5024 }
5025 {
5026 PyThreadState* __tstate = wxPyBeginAllowThreads();
5027 (arg1)->Save(*arg2);
5028
5029 wxPyEndAllowThreads(__tstate);
5030 if (PyErr_Occurred()) SWIG_fail;
5031 }
5032 Py_INCREF(Py_None); resultobj = Py_None;
5033 return resultobj;
5034 fail:
5035 return NULL;
5036}
5037
5038
5039static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5040 PyObject *resultobj;
5041 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5042 PyObject * obj0 = 0 ;
5043 char *kwnames[] = {
5044 (char *) "self", NULL
5045 };
5046
5047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5049 {
5050 PyThreadState* __tstate = wxPyBeginAllowThreads();
5051 (arg1)->AddFilesToMenu();
5052
5053 wxPyEndAllowThreads(__tstate);
5054 if (PyErr_Occurred()) SWIG_fail;
5055 }
5056 Py_INCREF(Py_None); resultobj = Py_None;
5057 return resultobj;
5058 fail:
5059 return NULL;
5060}
5061
5062
5063static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5064 PyObject *resultobj;
5065 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5066 wxMenu *arg2 = (wxMenu *) 0 ;
5067 PyObject * obj0 = 0 ;
5068 PyObject * obj1 = 0 ;
5069 char *kwnames[] = {
5070 (char *) "self",(char *) "menu", NULL
5071 };
5072
5073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5075 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5076 {
5077 PyThreadState* __tstate = wxPyBeginAllowThreads();
5078 (arg1)->AddFilesToMenu(arg2);
5079
5080 wxPyEndAllowThreads(__tstate);
5081 if (PyErr_Occurred()) SWIG_fail;
5082 }
5083 Py_INCREF(Py_None); resultobj = Py_None;
5084 return resultobj;
5085 fail:
5086 return NULL;
5087}
5088
5089
5090static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5091 PyObject *resultobj;
5092 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5093 int arg2 ;
5094 wxString result;
5095 PyObject * obj0 = 0 ;
5096 char *kwnames[] = {
5097 (char *) "self",(char *) "i", NULL
5098 };
5099
5100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_GetHistoryFile",kwnames,&obj0,&arg2)) goto fail;
5101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5102 {
5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5104 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5105
5106 wxPyEndAllowThreads(__tstate);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
5109 {
5110#if wxUSE_UNICODE
5111 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5112#else
5113 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5114#endif
5115 }
5116 return resultobj;
5117 fail:
5118 return NULL;
5119}
5120
5121
5122static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5123 PyObject *resultobj;
5124 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5125 int result;
5126 PyObject * obj0 = 0 ;
5127 char *kwnames[] = {
5128 (char *) "self", NULL
5129 };
5130
5131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5133 {
5134 PyThreadState* __tstate = wxPyBeginAllowThreads();
5135 result = (int)((wxFileHistory const *)arg1)->GetCount();
5136
5137 wxPyEndAllowThreads(__tstate);
5138 if (PyErr_Occurred()) SWIG_fail;
5139 }
5140 resultobj = PyInt_FromLong((long)result);
5141 return resultobj;
5142 fail:
5143 return NULL;
5144}
5145
5146
5147static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5148 PyObject *obj;
5149 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5150 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5151 Py_INCREF(obj);
5152 return Py_BuildValue((char *)"");
5153}
5154static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5155 PyObject *resultobj;
5156 wxString *arg1 = 0 ;
5157 wxString const &arg2_defvalue = wxPyEmptyString ;
5158 wxString *arg2 = (wxString *) &arg2_defvalue ;
5159 wxSingleInstanceChecker *result;
e811c8ce
RD
5160 bool temp1 = False ;
5161 bool temp2 = False ;
d14a1e28
RD
5162 PyObject * obj0 = 0 ;
5163 PyObject * obj1 = 0 ;
5164 char *kwnames[] = {
5165 (char *) "name",(char *) "path", NULL
5166 };
5167
5168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5169 {
5170 arg1 = wxString_in_helper(obj0);
5171 if (arg1 == NULL) SWIG_fail;
e811c8ce 5172 temp1 = True;
d14a1e28
RD
5173 }
5174 if (obj1) {
5175 {
5176 arg2 = wxString_in_helper(obj1);
5177 if (arg2 == NULL) SWIG_fail;
e811c8ce 5178 temp2 = True;
d14a1e28
RD
5179 }
5180 }
5181 {
5182 PyThreadState* __tstate = wxPyBeginAllowThreads();
5183 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5184
5185 wxPyEndAllowThreads(__tstate);
5186 if (PyErr_Occurred()) SWIG_fail;
5187 }
5188 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5189 {
5190 if (temp1)
5191 delete arg1;
5192 }
5193 {
5194 if (temp2)
5195 delete arg2;
5196 }
5197 return resultobj;
5198 fail:
5199 {
5200 if (temp1)
5201 delete arg1;
5202 }
5203 {
5204 if (temp2)
5205 delete arg2;
5206 }
5207 return NULL;
5208}
5209
5210
5211static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5212 PyObject *resultobj;
5213 wxSingleInstanceChecker *result;
5214 char *kwnames[] = {
5215 NULL
5216 };
5217
5218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5219 {
5220 PyThreadState* __tstate = wxPyBeginAllowThreads();
5221 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5222
5223 wxPyEndAllowThreads(__tstate);
5224 if (PyErr_Occurred()) SWIG_fail;
5225 }
5226 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5227 return resultobj;
5228 fail:
5229 return NULL;
5230}
5231
5232
5233static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5234 PyObject *resultobj;
5235 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5236 PyObject * obj0 = 0 ;
5237 char *kwnames[] = {
5238 (char *) "self", NULL
5239 };
5240
5241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5243 {
5244 PyThreadState* __tstate = wxPyBeginAllowThreads();
5245 delete arg1;
5246
5247 wxPyEndAllowThreads(__tstate);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 Py_INCREF(Py_None); resultobj = Py_None;
5251 return resultobj;
5252 fail:
5253 return NULL;
5254}
5255
5256
5257static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5258 PyObject *resultobj;
5259 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5260 wxString *arg2 = 0 ;
5261 wxString const &arg3_defvalue = wxPyEmptyString ;
5262 wxString *arg3 = (wxString *) &arg3_defvalue ;
5263 bool result;
e811c8ce
RD
5264 bool temp2 = False ;
5265 bool temp3 = False ;
d14a1e28
RD
5266 PyObject * obj0 = 0 ;
5267 PyObject * obj1 = 0 ;
5268 PyObject * obj2 = 0 ;
5269 char *kwnames[] = {
5270 (char *) "self",(char *) "name",(char *) "path", NULL
5271 };
5272
5273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5275 {
5276 arg2 = wxString_in_helper(obj1);
5277 if (arg2 == NULL) SWIG_fail;
e811c8ce 5278 temp2 = True;
d14a1e28
RD
5279 }
5280 if (obj2) {
5281 {
5282 arg3 = wxString_in_helper(obj2);
5283 if (arg3 == NULL) SWIG_fail;
e811c8ce 5284 temp3 = True;
d14a1e28
RD
5285 }
5286 }
5287 {
5288 PyThreadState* __tstate = wxPyBeginAllowThreads();
5289 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5290
5291 wxPyEndAllowThreads(__tstate);
5292 if (PyErr_Occurred()) SWIG_fail;
5293 }
5294 resultobj = PyInt_FromLong((long)result);
5295 {
5296 if (temp2)
5297 delete arg2;
5298 }
5299 {
5300 if (temp3)
5301 delete arg3;
5302 }
5303 return resultobj;
5304 fail:
5305 {
5306 if (temp2)
5307 delete arg2;
5308 }
5309 {
5310 if (temp3)
5311 delete arg3;
5312 }
5313 return NULL;
5314}
5315
5316
5317static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5318 PyObject *resultobj;
5319 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5320 bool result;
5321 PyObject * obj0 = 0 ;
5322 char *kwnames[] = {
5323 (char *) "self", NULL
5324 };
5325
5326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5328 {
5329 PyThreadState* __tstate = wxPyBeginAllowThreads();
5330 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5331
5332 wxPyEndAllowThreads(__tstate);
5333 if (PyErr_Occurred()) SWIG_fail;
5334 }
5335 resultobj = PyInt_FromLong((long)result);
5336 return resultobj;
5337 fail:
5338 return NULL;
5339}
5340
5341
5342static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5343 PyObject *obj;
5344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5345 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5346 Py_INCREF(obj);
5347 return Py_BuildValue((char *)"");
5348}
5349static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5350 PyObject *resultobj;
5351 wxWindow *arg1 = (wxWindow *) 0 ;
5352 wxDC *arg2 = 0 ;
5353 int arg3 ;
5354 PyObject * obj0 = 0 ;
5355 PyObject * obj1 = 0 ;
5356 char *kwnames[] = {
5357 (char *) "window",(char *) "dc",(char *) "method", NULL
5358 };
5359
5360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DrawWindowOnDC",kwnames,&obj0,&obj1,&arg3)) goto fail;
5361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5362 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5363 if (arg2 == NULL) {
5364 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5365 }
5366 {
5367 PyThreadState* __tstate = wxPyBeginAllowThreads();
5368 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5369
5370 wxPyEndAllowThreads(__tstate);
5371 if (PyErr_Occurred()) SWIG_fail;
5372 }
5373 Py_INCREF(Py_None); resultobj = Py_None;
5374 return resultobj;
5375 fail:
5376 return NULL;
5377}
5378
5379
5380static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5381 PyObject *resultobj;
5382 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5383 PyObject * obj0 = 0 ;
5384 char *kwnames[] = {
5385 (char *) "self", NULL
5386 };
5387
5388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
5389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5390 {
5391 PyThreadState* __tstate = wxPyBeginAllowThreads();
5392 delete arg1;
5393
5394 wxPyEndAllowThreads(__tstate);
5395 if (PyErr_Occurred()) SWIG_fail;
5396 }
5397 Py_INCREF(Py_None); resultobj = Py_None;
5398 return resultobj;
5399 fail:
5400 return NULL;
5401}
5402
5403
5404static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5405 PyObject *resultobj;
5406 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5407 wxString result;
5408 PyObject * obj0 = 0 ;
5409 char *kwnames[] = {
5410 (char *) "self", NULL
5411 };
5412
5413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
5414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5415 {
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 result = (arg1)->GetTip();
5418
5419 wxPyEndAllowThreads(__tstate);
5420 if (PyErr_Occurred()) SWIG_fail;
5421 }
5422 {
5423#if wxUSE_UNICODE
5424 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5425#else
5426 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5427#endif
5428 }
5429 return resultobj;
5430 fail:
5431 return NULL;
5432}
5433
5434
5435static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5436 PyObject *resultobj;
5437 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5438 size_t result;
5439 PyObject * obj0 = 0 ;
5440 char *kwnames[] = {
5441 (char *) "self", NULL
5442 };
5443
5444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
5445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5446 {
5447 PyThreadState* __tstate = wxPyBeginAllowThreads();
5448 result = (size_t)(arg1)->GetCurrentTip();
5449
5450 wxPyEndAllowThreads(__tstate);
5451 if (PyErr_Occurred()) SWIG_fail;
5452 }
5453 resultobj = PyInt_FromLong((long)result);
5454 return resultobj;
5455 fail:
5456 return NULL;
5457}
5458
5459
5460static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5461 PyObject *resultobj;
5462 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5463 wxString *arg2 = 0 ;
5464 wxString result;
e811c8ce 5465 bool temp2 = False ;
d14a1e28
RD
5466 PyObject * obj0 = 0 ;
5467 PyObject * obj1 = 0 ;
5468 char *kwnames[] = {
5469 (char *) "self",(char *) "tip", NULL
5470 };
5471
5472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
5473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5474 {
5475 arg2 = wxString_in_helper(obj1);
5476 if (arg2 == NULL) SWIG_fail;
e811c8ce 5477 temp2 = True;
d14a1e28
RD
5478 }
5479 {
5480 PyThreadState* __tstate = wxPyBeginAllowThreads();
5481 result = (arg1)->PreprocessTip((wxString const &)*arg2);
5482
5483 wxPyEndAllowThreads(__tstate);
5484 if (PyErr_Occurred()) SWIG_fail;
5485 }
5486 {
5487#if wxUSE_UNICODE
5488 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5489#else
5490 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5491#endif
5492 }
5493 {
5494 if (temp2)
5495 delete arg2;
5496 }
5497 return resultobj;
5498 fail:
5499 {
5500 if (temp2)
5501 delete arg2;
5502 }
5503 return NULL;
5504}
5505
5506
5507static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
5508 PyObject *obj;
5509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5510 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
5511 Py_INCREF(obj);
5512 return Py_BuildValue((char *)"");
5513}
5514static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5515 PyObject *resultobj;
5516 size_t arg1 ;
5517 wxPyTipProvider *result;
5518 PyObject * obj0 = 0 ;
5519 char *kwnames[] = {
5520 (char *) "currentTip", NULL
5521 };
5522
5523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
5524 arg1 = (size_t) PyInt_AsLong(obj0);
5525 if (PyErr_Occurred()) SWIG_fail;
5526 {
5527 PyThreadState* __tstate = wxPyBeginAllowThreads();
5528 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
5529
5530 wxPyEndAllowThreads(__tstate);
5531 if (PyErr_Occurred()) SWIG_fail;
5532 }
5533 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTipProvider, 1);
5534 return resultobj;
5535 fail:
5536 return NULL;
5537}
5538
5539
5540static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5541 PyObject *resultobj;
5542 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
5543 PyObject *arg2 = (PyObject *) 0 ;
5544 PyObject *arg3 = (PyObject *) 0 ;
5545 PyObject * obj0 = 0 ;
5546 PyObject * obj1 = 0 ;
5547 PyObject * obj2 = 0 ;
5548 char *kwnames[] = {
5549 (char *) "self",(char *) "self",(char *) "_class", NULL
5550 };
5551
5552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5554 arg2 = obj1;
5555 arg3 = obj2;
5556 {
5557 PyThreadState* __tstate = wxPyBeginAllowThreads();
5558 (arg1)->_setCallbackInfo(arg2,arg3);
5559
5560 wxPyEndAllowThreads(__tstate);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 }
5563 Py_INCREF(Py_None); resultobj = Py_None;
5564 return resultobj;
5565 fail:
5566 return NULL;
5567}
5568
5569
5570static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
5571 PyObject *obj;
5572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5573 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
5574 Py_INCREF(obj);
5575 return Py_BuildValue((char *)"");
5576}
5577static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5578 PyObject *resultobj;
5579 wxWindow *arg1 = (wxWindow *) 0 ;
5580 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
e811c8ce 5581 bool arg3 = (bool) True ;
d14a1e28
RD
5582 bool result;
5583 PyObject * obj0 = 0 ;
5584 PyObject * obj1 = 0 ;
5585 PyObject * obj2 = 0 ;
5586 char *kwnames[] = {
5587 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5588 };
5589
5590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
5591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5592 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5593 if (obj2) {
5594 arg3 = PyInt_AsLong(obj2) ? true : false;
5595 if (PyErr_Occurred()) SWIG_fail;
5596 }
5597 {
5598 PyThreadState* __tstate = wxPyBeginAllowThreads();
5599 result = (bool)wxShowTip(arg1,arg2,arg3);
5600
5601 wxPyEndAllowThreads(__tstate);
5602 if (PyErr_Occurred()) SWIG_fail;
5603 }
5604 resultobj = PyInt_FromLong((long)result);
5605 return resultobj;
5606 fail:
5607 return NULL;
5608}
5609
5610
5611static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5612 PyObject *resultobj;
5613 wxString *arg1 = 0 ;
5614 size_t arg2 ;
5615 wxTipProvider *result;
e811c8ce 5616 bool temp1 = False ;
d14a1e28
RD
5617 PyObject * obj0 = 0 ;
5618 PyObject * obj1 = 0 ;
5619 char *kwnames[] = {
5620 (char *) "filename",(char *) "currentTip", NULL
5621 };
5622
5623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
5624 {
5625 arg1 = wxString_in_helper(obj0);
5626 if (arg1 == NULL) SWIG_fail;
e811c8ce 5627 temp1 = True;
d14a1e28
RD
5628 }
5629 arg2 = (size_t) PyInt_AsLong(obj1);
5630 if (PyErr_Occurred()) SWIG_fail;
5631 {
5632 PyThreadState* __tstate = wxPyBeginAllowThreads();
5633 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
5634
5635 wxPyEndAllowThreads(__tstate);
5636 if (PyErr_Occurred()) SWIG_fail;
5637 }
5638 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipProvider, 1);
5639 {
5640 if (temp1)
5641 delete arg1;
5642 }
5643 return resultobj;
5644 fail:
5645 {
5646 if (temp1)
5647 delete arg1;
5648 }
5649 return NULL;
5650}
5651
5652
5653static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5654 PyObject *resultobj;
5655 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
5656 int arg2 = (int) -1 ;
5657 wxPyTimer *result;
5658 PyObject * obj0 = 0 ;
5659 char *kwnames[] = {
5660 (char *) "owner",(char *) "id", NULL
5661 };
5662
5663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Timer",kwnames,&obj0,&arg2)) goto fail;
5664 if (obj0) {
5665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5666 }
5667 {
5668 PyThreadState* __tstate = wxPyBeginAllowThreads();
5669 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
5670
5671 wxPyEndAllowThreads(__tstate);
5672 if (PyErr_Occurred()) SWIG_fail;
5673 }
5674 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTimer, 1);
5675 return resultobj;
5676 fail:
5677 return NULL;
5678}
5679
5680
5681static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5682 PyObject *resultobj;
5683 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5684 PyObject * obj0 = 0 ;
5685 char *kwnames[] = {
5686 (char *) "self", NULL
5687 };
5688
5689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
5690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5691 {
5692 PyThreadState* __tstate = wxPyBeginAllowThreads();
5693 delete arg1;
5694
5695 wxPyEndAllowThreads(__tstate);
5696 if (PyErr_Occurred()) SWIG_fail;
5697 }
5698 Py_INCREF(Py_None); resultobj = Py_None;
5699 return resultobj;
5700 fail:
5701 return NULL;
5702}
5703
5704
7722248d
RD
5705static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5706 PyObject *resultobj;
5707 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5708 PyObject *arg2 = (PyObject *) 0 ;
5709 PyObject *arg3 = (PyObject *) 0 ;
5710 PyObject * obj0 = 0 ;
5711 PyObject * obj1 = 0 ;
5712 PyObject * obj2 = 0 ;
5713 char *kwnames[] = {
5714 (char *) "self",(char *) "self",(char *) "_class", NULL
5715 };
5716
5717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5719 arg2 = obj1;
5720 arg3 = obj2;
5721 {
5722 PyThreadState* __tstate = wxPyBeginAllowThreads();
5723 (arg1)->_setCallbackInfo(arg2,arg3);
5724
5725 wxPyEndAllowThreads(__tstate);
5726 if (PyErr_Occurred()) SWIG_fail;
5727 }
5728 Py_INCREF(Py_None); resultobj = Py_None;
5729 return resultobj;
5730 fail:
5731 return NULL;
5732}
5733
5734
d14a1e28
RD
5735static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
5736 PyObject *resultobj;
5737 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5738 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
5739 int arg3 = (int) -1 ;
5740 PyObject * obj0 = 0 ;
5741 PyObject * obj1 = 0 ;
5742 char *kwnames[] = {
5743 (char *) "self",(char *) "owner",(char *) "id", NULL
5744 };
5745
5746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Timer_SetOwner",kwnames,&obj0,&obj1,&arg3)) goto fail;
5747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5748 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5749 {
5750 PyThreadState* __tstate = wxPyBeginAllowThreads();
5751 (arg1)->SetOwner(arg2,arg3);
5752
5753 wxPyEndAllowThreads(__tstate);
5754 if (PyErr_Occurred()) SWIG_fail;
5755 }
5756 Py_INCREF(Py_None); resultobj = Py_None;
5757 return resultobj;
5758 fail:
5759 return NULL;
5760}
5761
5762
5763static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5764 PyObject *resultobj;
5765 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5766 int arg2 = (int) -1 ;
e811c8ce 5767 bool arg3 = (bool) False ;
d14a1e28
RD
5768 bool result;
5769 PyObject * obj0 = 0 ;
5770 PyObject * obj2 = 0 ;
5771 char *kwnames[] = {
5772 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5773 };
5774
5775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Timer_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
5776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5777 if (obj2) {
5778 arg3 = PyInt_AsLong(obj2) ? true : false;
5779 if (PyErr_Occurred()) SWIG_fail;
5780 }
5781 {
5782 PyThreadState* __tstate = wxPyBeginAllowThreads();
5783 result = (bool)(arg1)->Start(arg2,arg3);
5784
5785 wxPyEndAllowThreads(__tstate);
5786 if (PyErr_Occurred()) SWIG_fail;
5787 }
5788 resultobj = PyInt_FromLong((long)result);
5789 return resultobj;
5790 fail:
5791 return NULL;
5792}
5793
5794
5795static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
5796 PyObject *resultobj;
5797 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5798 PyObject * obj0 = 0 ;
5799 char *kwnames[] = {
5800 (char *) "self", NULL
5801 };
5802
5803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
5804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5805 {
5806 PyThreadState* __tstate = wxPyBeginAllowThreads();
5807 (arg1)->Stop();
5808
5809 wxPyEndAllowThreads(__tstate);
5810 if (PyErr_Occurred()) SWIG_fail;
5811 }
5812 Py_INCREF(Py_None); resultobj = Py_None;
5813 return resultobj;
5814 fail:
5815 return NULL;
5816}
5817
5818
d14a1e28
RD
5819static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5820 PyObject *resultobj;
5821 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5822 bool result;
5823 PyObject * obj0 = 0 ;
5824 char *kwnames[] = {
5825 (char *) "self", NULL
5826 };
5827
5828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
5829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5830 {
5831 PyThreadState* __tstate = wxPyBeginAllowThreads();
5832 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
5833
5834 wxPyEndAllowThreads(__tstate);
5835 if (PyErr_Occurred()) SWIG_fail;
5836 }
5837 resultobj = PyInt_FromLong((long)result);
5838 return resultobj;
5839 fail:
5840 return NULL;
5841}
5842
5843
5844static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5845 PyObject *resultobj;
5846 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5847 int result;
5848 PyObject * obj0 = 0 ;
5849 char *kwnames[] = {
5850 (char *) "self", NULL
5851 };
5852
5853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
5854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5855 {
5856 PyThreadState* __tstate = wxPyBeginAllowThreads();
5857 result = (int)((wxPyTimer const *)arg1)->GetInterval();
5858
5859 wxPyEndAllowThreads(__tstate);
5860 if (PyErr_Occurred()) SWIG_fail;
5861 }
5862 resultobj = PyInt_FromLong((long)result);
5863 return resultobj;
5864 fail:
5865 return NULL;
5866}
5867
5868
5869static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
5870 PyObject *resultobj;
5871 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5872 bool result;
5873 PyObject * obj0 = 0 ;
5874 char *kwnames[] = {
5875 (char *) "self", NULL
5876 };
5877
5878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
5879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5880 {
5881 PyThreadState* __tstate = wxPyBeginAllowThreads();
5882 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
5883
5884 wxPyEndAllowThreads(__tstate);
5885 if (PyErr_Occurred()) SWIG_fail;
5886 }
5887 resultobj = PyInt_FromLong((long)result);
5888 return resultobj;
5889 fail:
5890 return NULL;
5891}
5892
5893
cc6dd355
RD
5894static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5895 PyObject *resultobj;
5896 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5897 int result;
5898 PyObject * obj0 = 0 ;
5899 char *kwnames[] = {
5900 (char *) "self", NULL
5901 };
5902
5903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
5904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5905 {
5906 PyThreadState* __tstate = wxPyBeginAllowThreads();
5907 result = (int)((wxPyTimer const *)arg1)->GetId();
5908
5909 wxPyEndAllowThreads(__tstate);
5910 if (PyErr_Occurred()) SWIG_fail;
5911 }
5912 resultobj = PyInt_FromLong((long)result);
5913 return resultobj;
5914 fail:
5915 return NULL;
5916}
5917
5918
d14a1e28
RD
5919static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
5920 PyObject *obj;
5921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5922 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
5923 Py_INCREF(obj);
5924 return Py_BuildValue((char *)"");
5925}
5926static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5927 PyObject *resultobj;
5928 int arg1 = (int) 0 ;
5929 int arg2 = (int) 0 ;
5930 wxTimerEvent *result;
5931 char *kwnames[] = {
5932 (char *) "timerid",(char *) "interval", NULL
5933 };
5934
5935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TimerEvent",kwnames,&arg1,&arg2)) goto fail;
5936 {
5937 PyThreadState* __tstate = wxPyBeginAllowThreads();
5938 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
5939
5940 wxPyEndAllowThreads(__tstate);
5941 if (PyErr_Occurred()) SWIG_fail;
5942 }
5943 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerEvent, 1);
5944 return resultobj;
5945 fail:
5946 return NULL;
5947}
5948
5949
5950static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5951 PyObject *resultobj;
5952 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
5953 int result;
5954 PyObject * obj0 = 0 ;
5955 char *kwnames[] = {
5956 (char *) "self", NULL
5957 };
5958
5959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
5960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5961 {
5962 PyThreadState* __tstate = wxPyBeginAllowThreads();
5963 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
5964
5965 wxPyEndAllowThreads(__tstate);
5966 if (PyErr_Occurred()) SWIG_fail;
5967 }
5968 resultobj = PyInt_FromLong((long)result);
5969 return resultobj;
5970 fail:
5971 return NULL;
5972}
5973
5974
5975static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
5976 PyObject *obj;
5977 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5978 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
5979 Py_INCREF(obj);
5980 return Py_BuildValue((char *)"");
5981}
5982static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
5983 PyObject *resultobj;
5984 wxTimer *arg1 = 0 ;
5985 wxTimerRunner *result;
5986 PyObject * obj0 = 0 ;
5987
5988 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
5989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5990 if (arg1 == NULL) {
5991 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5992 }
5993 {
5994 PyThreadState* __tstate = wxPyBeginAllowThreads();
5995 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
5996
5997 wxPyEndAllowThreads(__tstate);
5998 if (PyErr_Occurred()) SWIG_fail;
5999 }
6000 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6001 return resultobj;
6002 fail:
6003 return NULL;
6004}
6005
6006
6007static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
6008 PyObject *resultobj;
6009 wxTimer *arg1 = 0 ;
6010 int arg2 ;
e811c8ce 6011 bool arg3 = (bool) False ;
d14a1e28
RD
6012 wxTimerRunner *result;
6013 PyObject * obj0 = 0 ;
6014 PyObject * obj2 = 0 ;
6015
6016 if(!PyArg_ParseTuple(args,(char *)"Oi|O:new_TimerRunner",&obj0,&arg2,&obj2)) goto fail;
6017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6018 if (arg1 == NULL) {
6019 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6020 }
6021 if (obj2) {
6022 arg3 = PyInt_AsLong(obj2) ? true : false;
6023 if (PyErr_Occurred()) SWIG_fail;
6024 }
6025 {
6026 PyThreadState* __tstate = wxPyBeginAllowThreads();
6027 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6028
6029 wxPyEndAllowThreads(__tstate);
6030 if (PyErr_Occurred()) SWIG_fail;
6031 }
6032 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6033 return resultobj;
6034 fail:
6035 return NULL;
6036}
6037
6038
6039static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6040 int argc;
6041 PyObject *argv[4];
6042 int ii;
6043
6044 argc = PyObject_Length(args);
6045 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6046 argv[ii] = PyTuple_GetItem(args,ii);
6047 }
6048 if (argc == 1) {
6049 int _v;
6050 {
6051 void *ptr;
6052 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6053 _v = 0;
6054 PyErr_Clear();
6055 } else {
6056 _v = 1;
6057 }
6058 }
6059 if (_v) {
6060 return _wrap_new_TimerRunner__SWIG_0(self,args);
6061 }
6062 }
6063 if ((argc >= 2) && (argc <= 3)) {
6064 int _v;
6065 {
6066 void *ptr;
6067 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6068 _v = 0;
6069 PyErr_Clear();
6070 } else {
6071 _v = 1;
6072 }
6073 }
6074 if (_v) {
6075 {
6076 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6077 }
6078 if (_v) {
6079 if (argc <= 2) {
6080 return _wrap_new_TimerRunner__SWIG_1(self,args);
6081 }
6082 {
6083 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
6084 }
6085 if (_v) {
6086 return _wrap_new_TimerRunner__SWIG_1(self,args);
6087 }
6088 }
6089 }
6090 }
6091
6092 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6093 return NULL;
6094}
6095
6096
6097static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6098 PyObject *resultobj;
6099 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6100 PyObject * obj0 = 0 ;
6101 char *kwnames[] = {
6102 (char *) "self", NULL
6103 };
6104
6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6107 {
6108 PyThreadState* __tstate = wxPyBeginAllowThreads();
6109 delete arg1;
6110
6111 wxPyEndAllowThreads(__tstate);
6112 if (PyErr_Occurred()) SWIG_fail;
6113 }
6114 Py_INCREF(Py_None); resultobj = Py_None;
6115 return resultobj;
6116 fail:
6117 return NULL;
6118}
6119
6120
6121static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6122 PyObject *resultobj;
6123 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6124 int arg2 ;
e811c8ce 6125 bool arg3 = (bool) False ;
d14a1e28
RD
6126 PyObject * obj0 = 0 ;
6127 PyObject * obj2 = 0 ;
6128 char *kwnames[] = {
6129 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6130 };
6131
6132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:TimerRunner_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
6133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6134 if (obj2) {
6135 arg3 = PyInt_AsLong(obj2) ? true : false;
6136 if (PyErr_Occurred()) SWIG_fail;
6137 }
6138 {
6139 PyThreadState* __tstate = wxPyBeginAllowThreads();
6140 (arg1)->Start(arg2,arg3);
6141
6142 wxPyEndAllowThreads(__tstate);
6143 if (PyErr_Occurred()) SWIG_fail;
6144 }
6145 Py_INCREF(Py_None); resultobj = Py_None;
6146 return resultobj;
6147 fail:
6148 return NULL;
6149}
6150
6151
6152static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6153 PyObject *obj;
6154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6155 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6156 Py_INCREF(obj);
6157 return Py_BuildValue((char *)"");
6158}
6159static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6160 PyObject *resultobj;
6161 wxLog *result;
6162 char *kwnames[] = {
6163 NULL
6164 };
6165
6166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6167 {
6168 PyThreadState* __tstate = wxPyBeginAllowThreads();
6169 result = (wxLog *)new wxLog();
6170
6171 wxPyEndAllowThreads(__tstate);
6172 if (PyErr_Occurred()) SWIG_fail;
6173 }
6174 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 1);
6175 return resultobj;
6176 fail:
6177 return NULL;
6178}
6179
6180
6181static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6182 PyObject *resultobj;
6183 bool result;
6184 char *kwnames[] = {
6185 NULL
6186 };
6187
6188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6189 {
6190 PyThreadState* __tstate = wxPyBeginAllowThreads();
6191 result = (bool)wxLog::IsEnabled();
6192
6193 wxPyEndAllowThreads(__tstate);
6194 if (PyErr_Occurred()) SWIG_fail;
6195 }
6196 resultobj = PyInt_FromLong((long)result);
6197 return resultobj;
6198 fail:
6199 return NULL;
6200}
6201
6202
6203static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6204 PyObject *resultobj;
e811c8ce 6205 bool arg1 = (bool) True ;
d14a1e28
RD
6206 bool result;
6207 PyObject * obj0 = 0 ;
6208 char *kwnames[] = {
6209 (char *) "doIt", NULL
6210 };
6211
6212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6213 if (obj0) {
6214 arg1 = PyInt_AsLong(obj0) ? true : false;
6215 if (PyErr_Occurred()) SWIG_fail;
6216 }
6217 {
6218 PyThreadState* __tstate = wxPyBeginAllowThreads();
6219 result = (bool)wxLog::EnableLogging(arg1);
6220
6221 wxPyEndAllowThreads(__tstate);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
6224 resultobj = PyInt_FromLong((long)result);
6225 return resultobj;
6226 fail:
6227 return NULL;
6228}
6229
6230
6231static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6232 PyObject *resultobj;
6233 wxLogLevel arg1 ;
6234 wxChar *arg2 = (wxChar *) 0 ;
6235 time_t arg3 ;
6236 PyObject * obj0 = 0 ;
6237 PyObject * obj1 = 0 ;
6238 PyObject * obj2 = 0 ;
6239 char *kwnames[] = {
6240 (char *) "level",(char *) "szString",(char *) "t", NULL
6241 };
6242
6243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
6244 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6245 if (PyErr_Occurred()) SWIG_fail;
6246 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6247 arg3 = (time_t) PyInt_AsLong(obj2);
6248 if (PyErr_Occurred()) SWIG_fail;
6249 {
6250 PyThreadState* __tstate = wxPyBeginAllowThreads();
6251 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6252
6253 wxPyEndAllowThreads(__tstate);
6254 if (PyErr_Occurred()) SWIG_fail;
6255 }
6256 Py_INCREF(Py_None); resultobj = Py_None;
6257 return resultobj;
6258 fail:
6259 return NULL;
6260}
6261
6262
6263static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6264 PyObject *resultobj;
6265 wxLog *arg1 = (wxLog *) 0 ;
6266 PyObject * obj0 = 0 ;
6267 char *kwnames[] = {
6268 (char *) "self", NULL
6269 };
6270
6271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6273 {
6274 PyThreadState* __tstate = wxPyBeginAllowThreads();
6275 (arg1)->Flush();
6276
6277 wxPyEndAllowThreads(__tstate);
6278 if (PyErr_Occurred()) SWIG_fail;
6279 }
6280 Py_INCREF(Py_None); resultobj = Py_None;
6281 return resultobj;
6282 fail:
6283 return NULL;
6284}
6285
6286
6287static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6288 PyObject *resultobj;
6289 char *kwnames[] = {
6290 NULL
6291 };
6292
6293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6294 {
6295 PyThreadState* __tstate = wxPyBeginAllowThreads();
6296 wxLog::FlushActive();
6297
6298 wxPyEndAllowThreads(__tstate);
6299 if (PyErr_Occurred()) SWIG_fail;
6300 }
6301 Py_INCREF(Py_None); resultobj = Py_None;
6302 return resultobj;
6303 fail:
6304 return NULL;
6305}
6306
6307
6308static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6309 PyObject *resultobj;
6310 wxLog *result;
6311 char *kwnames[] = {
6312 NULL
6313 };
6314
6315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6316 {
6317 PyThreadState* __tstate = wxPyBeginAllowThreads();
6318 result = (wxLog *)wxLog::GetActiveTarget();
6319
6320 wxPyEndAllowThreads(__tstate);
6321 if (PyErr_Occurred()) SWIG_fail;
6322 }
6323 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6324 return resultobj;
6325 fail:
6326 return NULL;
6327}
6328
6329
6330static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6331 PyObject *resultobj;
6332 wxLog *arg1 = (wxLog *) 0 ;
6333 wxLog *result;
6334 PyObject * obj0 = 0 ;
6335 char *kwnames[] = {
6336 (char *) "pLogger", NULL
6337 };
6338
6339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
6340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6341 {
6342 PyThreadState* __tstate = wxPyBeginAllowThreads();
6343 result = (wxLog *)wxLog::SetActiveTarget(arg1);
6344
6345 wxPyEndAllowThreads(__tstate);
6346 if (PyErr_Occurred()) SWIG_fail;
6347 }
6348 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6349 return resultobj;
6350 fail:
6351 return NULL;
6352}
6353
6354
6355static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
6356 PyObject *resultobj;
6357 char *kwnames[] = {
6358 NULL
6359 };
6360
6361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
6362 {
6363 PyThreadState* __tstate = wxPyBeginAllowThreads();
6364 wxLog::Suspend();
6365
6366 wxPyEndAllowThreads(__tstate);
6367 if (PyErr_Occurred()) SWIG_fail;
6368 }
6369 Py_INCREF(Py_None); resultobj = Py_None;
6370 return resultobj;
6371 fail:
6372 return NULL;
6373}
6374
6375
6376static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
6377 PyObject *resultobj;
6378 char *kwnames[] = {
6379 NULL
6380 };
6381
6382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
6383 {
6384 PyThreadState* __tstate = wxPyBeginAllowThreads();
6385 wxLog::Resume();
6386
6387 wxPyEndAllowThreads(__tstate);
6388 if (PyErr_Occurred()) SWIG_fail;
6389 }
6390 Py_INCREF(Py_None); resultobj = Py_None;
6391 return resultobj;
6392 fail:
6393 return NULL;
6394}
6395
6396
6397static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6398 PyObject *resultobj;
e811c8ce 6399 bool arg1 = (bool) True ;
d14a1e28
RD
6400 PyObject * obj0 = 0 ;
6401 char *kwnames[] = {
6402 (char *) "bVerbose", NULL
6403 };
6404
6405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
6406 if (obj0) {
6407 arg1 = PyInt_AsLong(obj0) ? true : false;
6408 if (PyErr_Occurred()) SWIG_fail;
6409 }
6410 {
6411 PyThreadState* __tstate = wxPyBeginAllowThreads();
6412 wxLog::SetVerbose(arg1);
6413
6414 wxPyEndAllowThreads(__tstate);
6415 if (PyErr_Occurred()) SWIG_fail;
6416 }
6417 Py_INCREF(Py_None); resultobj = Py_None;
6418 return resultobj;
6419 fail:
6420 return NULL;
6421}
6422
6423
6424static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6425 PyObject *resultobj;
6426 wxLogLevel arg1 ;
6427 PyObject * obj0 = 0 ;
6428 char *kwnames[] = {
6429 (char *) "logLevel", NULL
6430 };
6431
6432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
6433 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6434 if (PyErr_Occurred()) SWIG_fail;
6435 {
6436 PyThreadState* __tstate = wxPyBeginAllowThreads();
6437 wxLog::SetLogLevel(arg1);
6438
6439 wxPyEndAllowThreads(__tstate);
6440 if (PyErr_Occurred()) SWIG_fail;
6441 }
6442 Py_INCREF(Py_None); resultobj = Py_None;
6443 return resultobj;
6444 fail:
6445 return NULL;
6446}
6447
6448
6449static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
6450 PyObject *resultobj;
6451 char *kwnames[] = {
6452 NULL
6453 };
6454
6455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
6456 {
6457 PyThreadState* __tstate = wxPyBeginAllowThreads();
6458 wxLog::DontCreateOnDemand();
6459
6460 wxPyEndAllowThreads(__tstate);
6461 if (PyErr_Occurred()) SWIG_fail;
6462 }
6463 Py_INCREF(Py_None); resultobj = Py_None;
6464 return resultobj;
6465 fail:
6466 return NULL;
6467}
6468
6469
6470static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6471 PyObject *resultobj;
6472 wxTraceMask arg1 ;
6473 PyObject * obj0 = 0 ;
6474 char *kwnames[] = {
6475 (char *) "ulMask", NULL
6476 };
6477
6478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
6479 arg1 = (wxTraceMask) PyInt_AsLong(obj0);
6480 if (PyErr_Occurred()) SWIG_fail;
6481 {
6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
6483 wxLog::SetTraceMask(arg1);
6484
6485 wxPyEndAllowThreads(__tstate);
6486 if (PyErr_Occurred()) SWIG_fail;
6487 }
6488 Py_INCREF(Py_None); resultobj = Py_None;
6489 return resultobj;
6490 fail:
6491 return NULL;
6492}
6493
6494
6495static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6496 PyObject *resultobj;
6497 wxString *arg1 = 0 ;
e811c8ce 6498 bool temp1 = False ;
d14a1e28
RD
6499 PyObject * obj0 = 0 ;
6500 char *kwnames[] = {
6501 (char *) "str", NULL
6502 };
6503
6504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
6505 {
6506 arg1 = wxString_in_helper(obj0);
6507 if (arg1 == NULL) SWIG_fail;
e811c8ce 6508 temp1 = True;
d14a1e28
RD
6509 }
6510 {
6511 PyThreadState* __tstate = wxPyBeginAllowThreads();
6512 wxLog::AddTraceMask((wxString const &)*arg1);
6513
6514 wxPyEndAllowThreads(__tstate);
6515 if (PyErr_Occurred()) SWIG_fail;
6516 }
6517 Py_INCREF(Py_None); resultobj = Py_None;
6518 {
6519 if (temp1)
6520 delete arg1;
6521 }
6522 return resultobj;
6523 fail:
6524 {
6525 if (temp1)
6526 delete arg1;
6527 }
6528 return NULL;
6529}
6530
6531
6532static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6533 PyObject *resultobj;
6534 wxString *arg1 = 0 ;
e811c8ce 6535 bool temp1 = False ;
d14a1e28
RD
6536 PyObject * obj0 = 0 ;
6537 char *kwnames[] = {
6538 (char *) "str", NULL
6539 };
6540
6541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
6542 {
6543 arg1 = wxString_in_helper(obj0);
6544 if (arg1 == NULL) SWIG_fail;
e811c8ce 6545 temp1 = True;
d14a1e28
RD
6546 }
6547 {
6548 PyThreadState* __tstate = wxPyBeginAllowThreads();
6549 wxLog::RemoveTraceMask((wxString const &)*arg1);
6550
6551 wxPyEndAllowThreads(__tstate);
6552 if (PyErr_Occurred()) SWIG_fail;
6553 }
6554 Py_INCREF(Py_None); resultobj = Py_None;
6555 {
6556 if (temp1)
6557 delete arg1;
6558 }
6559 return resultobj;
6560 fail:
6561 {
6562 if (temp1)
6563 delete arg1;
6564 }
6565 return NULL;
6566}
6567
6568
6569static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6570 PyObject *resultobj;
6571 char *kwnames[] = {
6572 NULL
6573 };
6574
6575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
6576 {
6577 PyThreadState* __tstate = wxPyBeginAllowThreads();
6578 wxLog::ClearTraceMasks();
6579
6580 wxPyEndAllowThreads(__tstate);
6581 if (PyErr_Occurred()) SWIG_fail;
6582 }
6583 Py_INCREF(Py_None); resultobj = Py_None;
6584 return resultobj;
6585 fail:
6586 return NULL;
6587}
6588
6589
6590static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6591 PyObject *resultobj;
6592 wxArrayString *result;
6593 char *kwnames[] = {
6594 NULL
6595 };
6596
6597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
6598 {
6599 PyThreadState* __tstate = wxPyBeginAllowThreads();
6600 {
6601 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
6602 result = (wxArrayString *) &_result_ref;
6603 }
6604
6605 wxPyEndAllowThreads(__tstate);
6606 if (PyErr_Occurred()) SWIG_fail;
6607 }
6608 {
6609 resultobj = wxArrayString2PyList_helper(*result);
6610 }
6611 return resultobj;
6612 fail:
6613 return NULL;
6614}
6615
6616
6617static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6618 PyObject *resultobj;
6619 wxChar *arg1 = (wxChar *) 0 ;
6620 PyObject * obj0 = 0 ;
6621 char *kwnames[] = {
6622 (char *) "ts", NULL
6623 };
6624
6625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
6626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6627 {
6628 PyThreadState* __tstate = wxPyBeginAllowThreads();
6629 wxLog::SetTimestamp((wxChar const *)arg1);
6630
6631 wxPyEndAllowThreads(__tstate);
6632 if (PyErr_Occurred()) SWIG_fail;
6633 }
6634 Py_INCREF(Py_None); resultobj = Py_None;
6635 return resultobj;
6636 fail:
6637 return NULL;
6638}
6639
6640
6641static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6642 PyObject *resultobj;
6643 bool result;
6644 char *kwnames[] = {
6645 NULL
6646 };
6647
6648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
6649 {
6650 PyThreadState* __tstate = wxPyBeginAllowThreads();
6651 result = (bool)wxLog::GetVerbose();
6652
6653 wxPyEndAllowThreads(__tstate);
6654 if (PyErr_Occurred()) SWIG_fail;
6655 }
6656 resultobj = PyInt_FromLong((long)result);
6657 return resultobj;
6658 fail:
6659 return NULL;
6660}
6661
6662
6663static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6664 PyObject *resultobj;
6665 wxTraceMask result;
6666 char *kwnames[] = {
6667 NULL
6668 };
6669
6670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
6671 {
6672 PyThreadState* __tstate = wxPyBeginAllowThreads();
6673 result = (wxTraceMask)wxLog::GetTraceMask();
6674
6675 wxPyEndAllowThreads(__tstate);
6676 if (PyErr_Occurred()) SWIG_fail;
6677 }
6678 resultobj = PyInt_FromLong((long)result);
6679 return resultobj;
6680 fail:
6681 return NULL;
6682}
6683
6684
6685static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6686 PyObject *resultobj;
6687 wxChar *arg1 = (wxChar *) 0 ;
6688 bool result;
6689 PyObject * obj0 = 0 ;
6690 char *kwnames[] = {
6691 (char *) "mask", NULL
6692 };
6693
6694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
6695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6696 {
6697 PyThreadState* __tstate = wxPyBeginAllowThreads();
6698 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
6699
6700 wxPyEndAllowThreads(__tstate);
6701 if (PyErr_Occurred()) SWIG_fail;
6702 }
6703 resultobj = PyInt_FromLong((long)result);
6704 return resultobj;
6705 fail:
6706 return NULL;
6707}
6708
6709
6710static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6711 PyObject *resultobj;
6712 wxLogLevel result;
6713 char *kwnames[] = {
6714 NULL
6715 };
6716
6717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
6718 {
6719 PyThreadState* __tstate = wxPyBeginAllowThreads();
6720 result = (wxLogLevel)wxLog::GetLogLevel();
6721
6722 wxPyEndAllowThreads(__tstate);
6723 if (PyErr_Occurred()) SWIG_fail;
6724 }
6725 resultobj = PyInt_FromLong((long)result);
6726 return resultobj;
6727 fail:
6728 return NULL;
6729}
6730
6731
6732static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6733 PyObject *resultobj;
6734 wxChar *result;
6735 char *kwnames[] = {
6736 NULL
6737 };
6738
6739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
6740 {
6741 PyThreadState* __tstate = wxPyBeginAllowThreads();
6742 result = (wxChar *)wxLog::GetTimestamp();
6743
6744 wxPyEndAllowThreads(__tstate);
6745 if (PyErr_Occurred()) SWIG_fail;
6746 }
6747 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChar, 0);
6748 return resultobj;
6749 fail:
6750 return NULL;
6751}
6752
6753
6754static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6755 PyObject *resultobj;
6756 wxString result;
6757 char *kwnames[] = {
6758 NULL
6759 };
6760
6761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
6762 {
6763 PyThreadState* __tstate = wxPyBeginAllowThreads();
6764 result = Log_TimeStamp();
6765
6766 wxPyEndAllowThreads(__tstate);
6767 if (PyErr_Occurred()) SWIG_fail;
6768 }
6769 {
6770#if wxUSE_UNICODE
6771 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6772#else
6773 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6774#endif
6775 }
6776 return resultobj;
6777 fail:
6778 return NULL;
6779}
6780
6781
6782static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6783 PyObject *resultobj;
6784 wxLog *arg1 = (wxLog *) 0 ;
6785 PyObject * obj0 = 0 ;
6786 char *kwnames[] = {
6787 (char *) "self", NULL
6788 };
6789
6790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
6791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6792 {
6793 PyThreadState* __tstate = wxPyBeginAllowThreads();
6794 wxLog_Destroy(arg1);
6795
6796 wxPyEndAllowThreads(__tstate);
6797 if (PyErr_Occurred()) SWIG_fail;
6798 }
6799 Py_INCREF(Py_None); resultobj = Py_None;
6800 return resultobj;
6801 fail:
6802 return NULL;
6803}
6804
6805
6806static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
6807 PyObject *obj;
6808 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6809 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
6810 Py_INCREF(obj);
6811 return Py_BuildValue((char *)"");
6812}
6813static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
6814 PyObject *resultobj;
6815 wxLogStderr *result;
6816 char *kwnames[] = {
6817 NULL
6818 };
6819
6820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
6821 {
6822 PyThreadState* __tstate = wxPyBeginAllowThreads();
6823 result = (wxLogStderr *)new wxLogStderr();
6824
6825 wxPyEndAllowThreads(__tstate);
6826 if (PyErr_Occurred()) SWIG_fail;
6827 }
6828 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogStderr, 1);
6829 return resultobj;
6830 fail:
6831 return NULL;
6832}
6833
6834
6835static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
6836 PyObject *obj;
6837 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6838 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
6839 Py_INCREF(obj);
6840 return Py_BuildValue((char *)"");
6841}
6842static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6843 PyObject *resultobj;
6844 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6845 wxLogTextCtrl *result;
6846 PyObject * obj0 = 0 ;
6847 char *kwnames[] = {
6848 (char *) "pTextCtrl", NULL
6849 };
6850
6851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
6852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6853 {
6854 PyThreadState* __tstate = wxPyBeginAllowThreads();
6855 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
6856
6857 wxPyEndAllowThreads(__tstate);
6858 if (PyErr_Occurred()) SWIG_fail;
6859 }
6860 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogTextCtrl, 1);
6861 return resultobj;
6862 fail:
6863 return NULL;
6864}
6865
6866
6867static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
6868 PyObject *obj;
6869 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6870 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
6871 Py_INCREF(obj);
6872 return Py_BuildValue((char *)"");
6873}
6874static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
6875 PyObject *resultobj;
6876 wxLogGui *result;
6877 char *kwnames[] = {
6878 NULL
6879 };
6880
6881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
6882 {
6883 PyThreadState* __tstate = wxPyBeginAllowThreads();
6884 result = (wxLogGui *)new wxLogGui();
6885
6886 wxPyEndAllowThreads(__tstate);
6887 if (PyErr_Occurred()) SWIG_fail;
6888 }
6889 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogGui, 1);
6890 return resultobj;
6891 fail:
6892 return NULL;
6893}
6894
6895
6896static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
6897 PyObject *obj;
6898 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6899 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
6900 Py_INCREF(obj);
6901 return Py_BuildValue((char *)"");
6902}
6903static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6904 PyObject *resultobj;
6905 wxFrame *arg1 = (wxFrame *) 0 ;
6906 wxString *arg2 = 0 ;
e811c8ce
RD
6907 bool arg3 = (bool) True ;
6908 bool arg4 = (bool) True ;
d14a1e28 6909 wxLogWindow *result;
e811c8ce 6910 bool temp2 = False ;
d14a1e28
RD
6911 PyObject * obj0 = 0 ;
6912 PyObject * obj1 = 0 ;
6913 PyObject * obj2 = 0 ;
6914 PyObject * obj3 = 0 ;
6915 char *kwnames[] = {
6916 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
6917 };
6918
6919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6921 {
6922 arg2 = wxString_in_helper(obj1);
6923 if (arg2 == NULL) SWIG_fail;
e811c8ce 6924 temp2 = True;
d14a1e28
RD
6925 }
6926 if (obj2) {
6927 arg3 = PyInt_AsLong(obj2) ? true : false;
6928 if (PyErr_Occurred()) SWIG_fail;
6929 }
6930 if (obj3) {
6931 arg4 = PyInt_AsLong(obj3) ? true : false;
6932 if (PyErr_Occurred()) SWIG_fail;
6933 }
6934 {
6935 PyThreadState* __tstate = wxPyBeginAllowThreads();
6936 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
6937
6938 wxPyEndAllowThreads(__tstate);
6939 if (PyErr_Occurred()) SWIG_fail;
6940 }
6941 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogWindow, 1);
6942 {
6943 if (temp2)
6944 delete arg2;
6945 }
6946 return resultobj;
6947 fail:
6948 {
6949 if (temp2)
6950 delete arg2;
6951 }
6952 return NULL;
6953}
6954
6955
6956static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
6957 PyObject *resultobj;
6958 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
e811c8ce 6959 bool arg2 = (bool) True ;
d14a1e28
RD
6960 PyObject * obj0 = 0 ;
6961 PyObject * obj1 = 0 ;
6962 char *kwnames[] = {
6963 (char *) "self",(char *) "bShow", NULL
6964 };
6965
6966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
6967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6968 if (obj1) {
6969 arg2 = PyInt_AsLong(obj1) ? true : false;
6970 if (PyErr_Occurred()) SWIG_fail;
6971 }
6972 {
6973 PyThreadState* __tstate = wxPyBeginAllowThreads();
6974 (arg1)->Show(arg2);
6975
6976 wxPyEndAllowThreads(__tstate);
6977 if (PyErr_Occurred()) SWIG_fail;
6978 }
6979 Py_INCREF(Py_None); resultobj = Py_None;
6980 return resultobj;
6981 fail:
6982 return NULL;
6983}
6984
6985
6986static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
6987 PyObject *resultobj;
6988 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
6989 wxFrame *result;
6990 PyObject * obj0 = 0 ;
6991 char *kwnames[] = {
6992 (char *) "self", NULL
6993 };
6994
6995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
6996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7000
7001 wxPyEndAllowThreads(__tstate);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
7004 {
7005 resultobj = wxPyMake_wxObject(result);
7006 }
7007 return resultobj;
7008 fail:
7009 return NULL;
7010}
7011
7012
7013static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7014 PyObject *resultobj;
7015 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7016 wxLog *result;
7017 PyObject * obj0 = 0 ;
7018 char *kwnames[] = {
7019 (char *) "self", NULL
7020 };
7021
7022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7024 {
7025 PyThreadState* __tstate = wxPyBeginAllowThreads();
7026 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7027
7028 wxPyEndAllowThreads(__tstate);
7029 if (PyErr_Occurred()) SWIG_fail;
7030 }
7031 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7032 return resultobj;
7033 fail:
7034 return NULL;
7035}
7036
7037
7038static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7039 PyObject *resultobj;
7040 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7041 bool result;
7042 PyObject * obj0 = 0 ;
7043 char *kwnames[] = {
7044 (char *) "self", NULL
7045 };
7046
7047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
7048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7049 {
7050 PyThreadState* __tstate = wxPyBeginAllowThreads();
7051 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7052
7053 wxPyEndAllowThreads(__tstate);
7054 if (PyErr_Occurred()) SWIG_fail;
7055 }
7056 resultobj = PyInt_FromLong((long)result);
7057 return resultobj;
7058 fail:
7059 return NULL;
7060}
7061
7062
7063static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7064 PyObject *resultobj;
7065 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7066 bool arg2 ;
7067 PyObject * obj0 = 0 ;
7068 PyObject * obj1 = 0 ;
7069 char *kwnames[] = {
7070 (char *) "self",(char *) "bDoPass", NULL
7071 };
7072
7073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7075 arg2 = PyInt_AsLong(obj1) ? true : false;
7076 if (PyErr_Occurred()) SWIG_fail;
7077 {
7078 PyThreadState* __tstate = wxPyBeginAllowThreads();
7079 (arg1)->PassMessages(arg2);
7080
7081 wxPyEndAllowThreads(__tstate);
7082 if (PyErr_Occurred()) SWIG_fail;
7083 }
7084 Py_INCREF(Py_None); resultobj = Py_None;
7085 return resultobj;
7086 fail:
7087 return NULL;
7088}
7089
7090
7091static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7092 PyObject *obj;
7093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7094 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7095 Py_INCREF(obj);
7096 return Py_BuildValue((char *)"");
7097}
7098static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7099 PyObject *resultobj;
7100 wxLog *arg1 = (wxLog *) 0 ;
7101 wxLogChain *result;
7102 PyObject * obj0 = 0 ;
7103 char *kwnames[] = {
7104 (char *) "logger", NULL
7105 };
7106
7107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7109 {
7110 PyThreadState* __tstate = wxPyBeginAllowThreads();
7111 result = (wxLogChain *)new wxLogChain(arg1);
7112
7113 wxPyEndAllowThreads(__tstate);
7114 if (PyErr_Occurred()) SWIG_fail;
7115 }
7116 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogChain, 1);
7117 return resultobj;
7118 fail:
7119 return NULL;
7120}
7121
7122
7123static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7124 PyObject *resultobj;
7125 wxLogChain *arg1 = (wxLogChain *) 0 ;
7126 wxLog *arg2 = (wxLog *) 0 ;
7127 PyObject * obj0 = 0 ;
7128 PyObject * obj1 = 0 ;
7129 char *kwnames[] = {
7130 (char *) "self",(char *) "logger", NULL
7131 };
7132
7133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7135 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7136 {
7137 PyThreadState* __tstate = wxPyBeginAllowThreads();
7138 (arg1)->SetLog(arg2);
7139
7140 wxPyEndAllowThreads(__tstate);
7141 if (PyErr_Occurred()) SWIG_fail;
7142 }
7143 Py_INCREF(Py_None); resultobj = Py_None;
7144 return resultobj;
7145 fail:
7146 return NULL;
7147}
7148
7149
7150static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7151 PyObject *resultobj;
7152 wxLogChain *arg1 = (wxLogChain *) 0 ;
7153 bool arg2 ;
7154 PyObject * obj0 = 0 ;
7155 PyObject * obj1 = 0 ;
7156 char *kwnames[] = {
7157 (char *) "self",(char *) "bDoPass", NULL
7158 };
7159
7160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7162 arg2 = PyInt_AsLong(obj1) ? true : false;
7163 if (PyErr_Occurred()) SWIG_fail;
7164 {
7165 PyThreadState* __tstate = wxPyBeginAllowThreads();
7166 (arg1)->PassMessages(arg2);
7167
7168 wxPyEndAllowThreads(__tstate);
7169 if (PyErr_Occurred()) SWIG_fail;
7170 }
7171 Py_INCREF(Py_None); resultobj = Py_None;
7172 return resultobj;
7173 fail:
7174 return NULL;
7175}
7176
7177
7178static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7179 PyObject *resultobj;
7180 wxLogChain *arg1 = (wxLogChain *) 0 ;
7181 bool result;
7182 PyObject * obj0 = 0 ;
7183 char *kwnames[] = {
7184 (char *) "self", NULL
7185 };
7186
7187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7189 {
7190 PyThreadState* __tstate = wxPyBeginAllowThreads();
7191 result = (bool)(arg1)->IsPassingMessages();
7192
7193 wxPyEndAllowThreads(__tstate);
7194 if (PyErr_Occurred()) SWIG_fail;
7195 }
7196 resultobj = PyInt_FromLong((long)result);
7197 return resultobj;
7198 fail:
7199 return NULL;
7200}
7201
7202
7203static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7204 PyObject *resultobj;
7205 wxLogChain *arg1 = (wxLogChain *) 0 ;
7206 wxLog *result;
7207 PyObject * obj0 = 0 ;
7208 char *kwnames[] = {
7209 (char *) "self", NULL
7210 };
7211
7212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7214 {
7215 PyThreadState* __tstate = wxPyBeginAllowThreads();
7216 result = (wxLog *)(arg1)->GetOldLog();
7217
7218 wxPyEndAllowThreads(__tstate);
7219 if (PyErr_Occurred()) SWIG_fail;
7220 }
7221 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7222 return resultobj;
7223 fail:
7224 return NULL;
7225}
7226
7227
7228static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7229 PyObject *obj;
7230 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7231 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7232 Py_INCREF(obj);
7233 return Py_BuildValue((char *)"");
7234}
7235static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7236 PyObject *resultobj;
7237 unsigned long result;
7238 char *kwnames[] = {
7239 NULL
7240 };
7241
7242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7243 {
7244 PyThreadState* __tstate = wxPyBeginAllowThreads();
7245 result = (unsigned long)wxSysErrorCode();
7246
7247 wxPyEndAllowThreads(__tstate);
7248 if (PyErr_Occurred()) SWIG_fail;
7249 }
7250 resultobj = PyInt_FromLong((long)result);
7251 return resultobj;
7252 fail:
7253 return NULL;
7254}
7255
7256
7257static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7258 PyObject *resultobj;
7259 unsigned long arg1 = (unsigned long) 0 ;
7260 wxString result;
7261 PyObject * obj0 = 0 ;
7262 char *kwnames[] = {
7263 (char *) "nErrCode", NULL
7264 };
7265
7266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7267 if (obj0) {
7268 arg1 = (unsigned long) PyInt_AsLong(obj0);
7269 if (PyErr_Occurred()) SWIG_fail;
7270 }
7271 {
7272 PyThreadState* __tstate = wxPyBeginAllowThreads();
7273 result = wxSysErrorMsg(arg1);
7274
7275 wxPyEndAllowThreads(__tstate);
7276 if (PyErr_Occurred()) SWIG_fail;
7277 }
7278 {
7279#if wxUSE_UNICODE
7280 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7281#else
7282 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7283#endif
7284 }
7285 return resultobj;
7286 fail:
7287 return NULL;
7288}
7289
7290
7291static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
7292 PyObject *resultobj;
7293 wxString *arg1 = 0 ;
e811c8ce 7294 bool temp1 = False ;
d14a1e28
RD
7295 PyObject * obj0 = 0 ;
7296 char *kwnames[] = {
7297 (char *) "msg", NULL
7298 };
7299
7300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7301 {
7302 arg1 = wxString_in_helper(obj0);
7303 if (arg1 == NULL) SWIG_fail;
e811c8ce 7304 temp1 = True;
d14a1e28
RD
7305 }
7306 {
7307 PyThreadState* __tstate = wxPyBeginAllowThreads();
7308 wxLogFatalError((wxString const &)*arg1);
7309
7310 wxPyEndAllowThreads(__tstate);
7311 if (PyErr_Occurred()) SWIG_fail;
7312 }
7313 Py_INCREF(Py_None); resultobj = Py_None;
7314 {
7315 if (temp1)
7316 delete arg1;
7317 }
7318 return resultobj;
7319 fail:
7320 {
7321 if (temp1)
7322 delete arg1;
7323 }
7324 return NULL;
7325}
7326
7327
7328static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
7329 PyObject *resultobj;
7330 wxString *arg1 = 0 ;
e811c8ce 7331 bool temp1 = False ;
d14a1e28
RD
7332 PyObject * obj0 = 0 ;
7333 char *kwnames[] = {
7334 (char *) "msg", NULL
7335 };
7336
7337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
7338 {
7339 arg1 = wxString_in_helper(obj0);
7340 if (arg1 == NULL) SWIG_fail;
e811c8ce 7341 temp1 = True;
d14a1e28
RD
7342 }
7343 {
7344 PyThreadState* __tstate = wxPyBeginAllowThreads();
7345 wxLogError((wxString const &)*arg1);
7346
7347 wxPyEndAllowThreads(__tstate);
7348 if (PyErr_Occurred()) SWIG_fail;
7349 }
7350 Py_INCREF(Py_None); resultobj = Py_None;
7351 {
7352 if (temp1)
7353 delete arg1;
7354 }
7355 return resultobj;
7356 fail:
7357 {
7358 if (temp1)
7359 delete arg1;
7360 }
7361 return NULL;
7362}
7363
7364
7365static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
7366 PyObject *resultobj;
7367 wxString *arg1 = 0 ;
e811c8ce 7368 bool temp1 = False ;
d14a1e28
RD
7369 PyObject * obj0 = 0 ;
7370 char *kwnames[] = {
7371 (char *) "msg", NULL
7372 };
7373
7374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
7375 {
7376 arg1 = wxString_in_helper(obj0);
7377 if (arg1 == NULL) SWIG_fail;
e811c8ce 7378 temp1 = True;
d14a1e28
RD
7379 }
7380 {
7381 PyThreadState* __tstate = wxPyBeginAllowThreads();
7382 wxLogWarning((wxString const &)*arg1);
7383
7384 wxPyEndAllowThreads(__tstate);
7385 if (PyErr_Occurred()) SWIG_fail;
7386 }
7387 Py_INCREF(Py_None); resultobj = Py_None;
7388 {
7389 if (temp1)
7390 delete arg1;
7391 }
7392 return resultobj;
7393 fail:
7394 {
7395 if (temp1)
7396 delete arg1;
7397 }
7398 return NULL;
7399}
7400
7401
7402static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7403 PyObject *resultobj;
7404 wxString *arg1 = 0 ;
e811c8ce 7405 bool temp1 = False ;
d14a1e28
RD
7406 PyObject * obj0 = 0 ;
7407 char *kwnames[] = {
7408 (char *) "msg", NULL
7409 };
7410
7411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
7412 {
7413 arg1 = wxString_in_helper(obj0);
7414 if (arg1 == NULL) SWIG_fail;
e811c8ce 7415 temp1 = True;
d14a1e28
RD
7416 }
7417 {
7418 PyThreadState* __tstate = wxPyBeginAllowThreads();
7419 wxLogMessage((wxString const &)*arg1);
7420
7421 wxPyEndAllowThreads(__tstate);
7422 if (PyErr_Occurred()) SWIG_fail;
7423 }
7424 Py_INCREF(Py_None); resultobj = Py_None;
7425 {
7426 if (temp1)
7427 delete arg1;
7428 }
7429 return resultobj;
7430 fail:
7431 {
7432 if (temp1)
7433 delete arg1;
7434 }
7435 return NULL;
7436}
7437
7438
7439static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7440 PyObject *resultobj;
7441 wxString *arg1 = 0 ;
e811c8ce 7442 bool temp1 = False ;
d14a1e28
RD
7443 PyObject * obj0 = 0 ;
7444 char *kwnames[] = {
7445 (char *) "msg", NULL
7446 };
7447
7448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
7449 {
7450 arg1 = wxString_in_helper(obj0);
7451 if (arg1 == NULL) SWIG_fail;
e811c8ce 7452 temp1 = True;
d14a1e28
RD
7453 }
7454 {
7455 PyThreadState* __tstate = wxPyBeginAllowThreads();
7456 wxLogInfo((wxString const &)*arg1);
7457
7458 wxPyEndAllowThreads(__tstate);
7459 if (PyErr_Occurred()) SWIG_fail;
7460 }
7461 Py_INCREF(Py_None); resultobj = Py_None;
7462 {
7463 if (temp1)
7464 delete arg1;
7465 }
7466 return resultobj;
7467 fail:
7468 {
7469 if (temp1)
7470 delete arg1;
7471 }
7472 return NULL;
7473}
7474
7475
7476static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
7477 PyObject *resultobj;
7478 wxString *arg1 = 0 ;
e811c8ce 7479 bool temp1 = False ;
d14a1e28
RD
7480 PyObject * obj0 = 0 ;
7481 char *kwnames[] = {
7482 (char *) "msg", NULL
7483 };
7484
7485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
7486 {
7487 arg1 = wxString_in_helper(obj0);
7488 if (arg1 == NULL) SWIG_fail;
e811c8ce 7489 temp1 = True;
d14a1e28
RD
7490 }
7491 {
7492 PyThreadState* __tstate = wxPyBeginAllowThreads();
7493 wxLogDebug((wxString const &)*arg1);
7494
7495 wxPyEndAllowThreads(__tstate);
7496 if (PyErr_Occurred()) SWIG_fail;
7497 }
7498 Py_INCREF(Py_None); resultobj = Py_None;
7499 {
7500 if (temp1)
7501 delete arg1;
7502 }
7503 return resultobj;
7504 fail:
7505 {
7506 if (temp1)
7507 delete arg1;
7508 }
7509 return NULL;
7510}
7511
7512
7513static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7514 PyObject *resultobj;
7515 wxString *arg1 = 0 ;
e811c8ce 7516 bool temp1 = False ;
d14a1e28
RD
7517 PyObject * obj0 = 0 ;
7518 char *kwnames[] = {
7519 (char *) "msg", NULL
7520 };
7521
7522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
7523 {
7524 arg1 = wxString_in_helper(obj0);
7525 if (arg1 == NULL) SWIG_fail;
e811c8ce 7526 temp1 = True;
d14a1e28
RD
7527 }
7528 {
7529 PyThreadState* __tstate = wxPyBeginAllowThreads();
7530 wxLogVerbose((wxString const &)*arg1);
7531
7532 wxPyEndAllowThreads(__tstate);
7533 if (PyErr_Occurred()) SWIG_fail;
7534 }
7535 Py_INCREF(Py_None); resultobj = Py_None;
7536 {
7537 if (temp1)
7538 delete arg1;
7539 }
7540 return resultobj;
7541 fail:
7542 {
7543 if (temp1)
7544 delete arg1;
7545 }
7546 return NULL;
7547}
7548
7549
7550static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7551 PyObject *resultobj;
7552 wxString *arg1 = 0 ;
e811c8ce 7553 bool temp1 = False ;
d14a1e28
RD
7554 PyObject * obj0 = 0 ;
7555 char *kwnames[] = {
7556 (char *) "msg", NULL
7557 };
7558
7559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
7560 {
7561 arg1 = wxString_in_helper(obj0);
7562 if (arg1 == NULL) SWIG_fail;
e811c8ce 7563 temp1 = True;
d14a1e28
RD
7564 }
7565 {
7566 PyThreadState* __tstate = wxPyBeginAllowThreads();
7567 wxLogStatus((wxString const &)*arg1);
7568
7569 wxPyEndAllowThreads(__tstate);
7570 if (PyErr_Occurred()) SWIG_fail;
7571 }
7572 Py_INCREF(Py_None); resultobj = Py_None;
7573 {
7574 if (temp1)
7575 delete arg1;
7576 }
7577 return resultobj;
7578 fail:
7579 {
7580 if (temp1)
7581 delete arg1;
7582 }
7583 return NULL;
7584}
7585
7586
7587static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7588 PyObject *resultobj;
7589 wxFrame *arg1 = (wxFrame *) 0 ;
7590 wxString *arg2 = 0 ;
e811c8ce 7591 bool temp2 = False ;
d14a1e28
RD
7592 PyObject * obj0 = 0 ;
7593 PyObject * obj1 = 0 ;
7594 char *kwnames[] = {
7595 (char *) "pFrame",(char *) "msg", NULL
7596 };
7597
7598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
7599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7600 {
7601 arg2 = wxString_in_helper(obj1);
7602 if (arg2 == NULL) SWIG_fail;
e811c8ce 7603 temp2 = True;
d14a1e28
RD
7604 }
7605 {
7606 PyThreadState* __tstate = wxPyBeginAllowThreads();
7607 wxLogStatus(arg1,(wxString const &)*arg2);
7608
7609 wxPyEndAllowThreads(__tstate);
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
7612 Py_INCREF(Py_None); resultobj = Py_None;
7613 {
7614 if (temp2)
7615 delete arg2;
7616 }
7617 return resultobj;
7618 fail:
7619 {
7620 if (temp2)
7621 delete arg2;
7622 }
7623 return NULL;
7624}
7625
7626
7627static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
7628 PyObject *resultobj;
7629 wxString *arg1 = 0 ;
e811c8ce 7630 bool temp1 = False ;
d14a1e28
RD
7631 PyObject * obj0 = 0 ;
7632 char *kwnames[] = {
7633 (char *) "msg", NULL
7634 };
7635
7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
7637 {
7638 arg1 = wxString_in_helper(obj0);
7639 if (arg1 == NULL) SWIG_fail;
e811c8ce 7640 temp1 = True;
d14a1e28
RD
7641 }
7642 {
7643 PyThreadState* __tstate = wxPyBeginAllowThreads();
7644 wxLogSysError((wxString const &)*arg1);
7645
7646 wxPyEndAllowThreads(__tstate);
7647 if (PyErr_Occurred()) SWIG_fail;
7648 }
7649 Py_INCREF(Py_None); resultobj = Py_None;
7650 {
7651 if (temp1)
7652 delete arg1;
7653 }
7654 return resultobj;
7655 fail:
7656 {
7657 if (temp1)
7658 delete arg1;
7659 }
7660 return NULL;
7661}
7662
7663
cc6dd355 7664static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28 7665 PyObject *resultobj;
cc6dd355
RD
7666 unsigned long arg1 ;
7667 wxString *arg2 = 0 ;
7668 bool temp2 = False ;
d14a1e28 7669 PyObject * obj0 = 0 ;
cc6dd355 7670 PyObject * obj1 = 0 ;
d14a1e28 7671
cc6dd355
RD
7672 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
7673 arg1 = (unsigned long) PyInt_AsLong(obj0);
7674 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7675 {
cc6dd355
RD
7676 arg2 = wxString_in_helper(obj1);
7677 if (arg2 == NULL) SWIG_fail;
7678 temp2 = True;
d14a1e28
RD
7679 }
7680 {
7681 PyThreadState* __tstate = wxPyBeginAllowThreads();
cc6dd355 7682 wxLogTrace(arg1,(wxString const &)*arg2);
d14a1e28
RD
7683
7684 wxPyEndAllowThreads(__tstate);
7685 if (PyErr_Occurred()) SWIG_fail;
7686 }
7687 Py_INCREF(Py_None); resultobj = Py_None;
7688 {
cc6dd355
RD
7689 if (temp2)
7690 delete arg2;
d14a1e28
RD
7691 }
7692 return resultobj;
7693 fail:
7694 {
cc6dd355
RD
7695 if (temp2)
7696 delete arg2;
d14a1e28
RD
7697 }
7698 return NULL;
7699}
7700
7701
cc6dd355 7702static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28
RD
7703 PyObject *resultobj;
7704 wxString *arg1 = 0 ;
7705 wxString *arg2 = 0 ;
e811c8ce
RD
7706 bool temp1 = False ;
7707 bool temp2 = False ;
d14a1e28
RD
7708 PyObject * obj0 = 0 ;
7709 PyObject * obj1 = 0 ;
d14a1e28 7710
cc6dd355 7711 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
d14a1e28
RD
7712 {
7713 arg1 = wxString_in_helper(obj0);
7714 if (arg1 == NULL) SWIG_fail;
e811c8ce 7715 temp1 = True;
d14a1e28
RD
7716 }
7717 {
7718 arg2 = wxString_in_helper(obj1);
7719 if (arg2 == NULL) SWIG_fail;
e811c8ce 7720 temp2 = True;
d14a1e28
RD
7721 }
7722 {
7723 PyThreadState* __tstate = wxPyBeginAllowThreads();
7724 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
7725
7726 wxPyEndAllowThreads(__tstate);
7727 if (PyErr_Occurred()) SWIG_fail;
7728 }
7729 Py_INCREF(Py_None); resultobj = Py_None;
7730 {
7731 if (temp1)
7732 delete arg1;
7733 }
7734 {
7735 if (temp2)
7736 delete arg2;
7737 }
7738 return resultobj;
7739 fail:
7740 {
7741 if (temp1)
7742 delete arg1;
7743 }
7744 {
7745 if (temp2)
7746 delete arg2;
7747 }
7748 return NULL;
7749}
7750
7751
cc6dd355
RD
7752static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
7753 int argc;
7754 PyObject *argv[3];
7755 int ii;
7756
7757 argc = PyObject_Length(args);
7758 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
7759 argv[ii] = PyTuple_GetItem(args,ii);
7760 }
7761 if (argc == 2) {
7762 int _v;
7763 {
7764 void *ptr;
7765 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
7766 _v = 0;
7767 PyErr_Clear();
7768 } else {
7769 _v = 1;
7770 }
7771 }
7772 if (_v) {
7773 {
7774 void *ptr;
7775 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
7776 _v = 0;
7777 PyErr_Clear();
7778 } else {
7779 _v = 1;
7780 }
7781 }
7782 if (_v) {
7783 return _wrap_LogTrace__SWIG_1(self,args);
7784 }
7785 }
7786 }
7787 if (argc == 2) {
7788 int _v;
7789 {
7790 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
7791 }
7792 if (_v) {
7793 {
7794 void *ptr;
7795 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
7796 _v = 0;
7797 PyErr_Clear();
7798 } else {
7799 _v = 1;
7800 }
7801 }
7802 if (_v) {
7803 return _wrap_LogTrace__SWIG_0(self,args);
7804 }
7805 }
7806 }
7807
7808 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
7809 return NULL;
7810}
7811
7812
d14a1e28
RD
7813static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
7814 PyObject *resultobj;
7815 unsigned long arg1 ;
7816 wxString *arg2 = 0 ;
e811c8ce 7817 bool temp2 = False ;
d14a1e28
RD
7818 PyObject * obj0 = 0 ;
7819 PyObject * obj1 = 0 ;
7820 char *kwnames[] = {
7821 (char *) "level",(char *) "msg", NULL
7822 };
7823
7824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
7825 arg1 = (unsigned long) PyInt_AsLong(obj0);
7826 if (PyErr_Occurred()) SWIG_fail;
7827 {
7828 arg2 = wxString_in_helper(obj1);
7829 if (arg2 == NULL) SWIG_fail;
e811c8ce 7830 temp2 = True;
d14a1e28
RD
7831 }
7832 {
7833 PyThreadState* __tstate = wxPyBeginAllowThreads();
7834 wxLogGeneric(arg1,(wxString const &)*arg2);
7835
7836 wxPyEndAllowThreads(__tstate);
7837 if (PyErr_Occurred()) SWIG_fail;
7838 }
7839 Py_INCREF(Py_None); resultobj = Py_None;
7840 {
7841 if (temp2)
7842 delete arg2;
7843 }
7844 return resultobj;
7845 fail:
7846 {
7847 if (temp2)
7848 delete arg2;
7849 }
7850 return NULL;
7851}
7852
7853
7854static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7855 PyObject *resultobj;
7856 wxString *arg1 = 0 ;
7857 wxString *arg2 = 0 ;
e811c8ce
RD
7858 bool temp1 = False ;
7859 bool temp2 = False ;
d14a1e28
RD
7860 PyObject * obj0 = 0 ;
7861 PyObject * obj1 = 0 ;
7862 char *kwnames[] = {
7863 (char *) "title",(char *) "text", NULL
7864 };
7865
7866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
7867 {
7868 arg1 = wxString_in_helper(obj0);
7869 if (arg1 == NULL) SWIG_fail;
e811c8ce 7870 temp1 = True;
d14a1e28
RD
7871 }
7872 {
7873 arg2 = wxString_in_helper(obj1);
7874 if (arg2 == NULL) SWIG_fail;
e811c8ce 7875 temp2 = True;
d14a1e28
RD
7876 }
7877 {
7878 PyThreadState* __tstate = wxPyBeginAllowThreads();
7879 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
7880
7881 wxPyEndAllowThreads(__tstate);
7882 if (PyErr_Occurred()) SWIG_fail;
7883 }
7884 Py_INCREF(Py_None); resultobj = Py_None;
7885 {
7886 if (temp1)
7887 delete arg1;
7888 }
7889 {
7890 if (temp2)
7891 delete arg2;
7892 }
7893 return resultobj;
7894 fail:
7895 {
7896 if (temp1)
7897 delete arg1;
7898 }
7899 {
7900 if (temp2)
7901 delete arg2;
7902 }
7903 return NULL;
7904}
7905
7906
7907static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7908 PyObject *resultobj;
7909 wxLogNull *result;
7910 char *kwnames[] = {
7911 NULL
7912 };
7913
7914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
7915 {
7916 PyThreadState* __tstate = wxPyBeginAllowThreads();
7917 result = (wxLogNull *)new wxLogNull();
7918
7919 wxPyEndAllowThreads(__tstate);
7920 if (PyErr_Occurred()) SWIG_fail;
7921 }
7922 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogNull, 1);
7923 return resultobj;
7924 fail:
7925 return NULL;
7926}
7927
7928
7929static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7930 PyObject *resultobj;
7931 wxLogNull *arg1 = (wxLogNull *) 0 ;
7932 PyObject * obj0 = 0 ;
7933 char *kwnames[] = {
7934 (char *) "self", NULL
7935 };
7936
7937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
7938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogNull,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7939 {
7940 PyThreadState* __tstate = wxPyBeginAllowThreads();
7941 delete arg1;
7942
7943 wxPyEndAllowThreads(__tstate);
7944 if (PyErr_Occurred()) SWIG_fail;
7945 }
7946 Py_INCREF(Py_None); resultobj = Py_None;
7947 return resultobj;
7948 fail:
7949 return NULL;
7950}
7951
7952
7953static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
7954 PyObject *obj;
7955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7956 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
7957 Py_INCREF(obj);
7958 return Py_BuildValue((char *)"");
7959}
7960static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7961 PyObject *resultobj;
7962 wxPyLog *result;
7963 char *kwnames[] = {
7964 NULL
7965 };
7966
7967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
7968 {
7969 PyThreadState* __tstate = wxPyBeginAllowThreads();
7970 result = (wxPyLog *)new wxPyLog();
7971
7972 wxPyEndAllowThreads(__tstate);
7973 if (PyErr_Occurred()) SWIG_fail;
7974 }
7975 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLog, 1);
7976 return resultobj;
7977 fail:
7978 return NULL;
7979}
7980
7981
7982static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7983 PyObject *resultobj;
7984 wxPyLog *arg1 = (wxPyLog *) 0 ;
7985 PyObject *arg2 = (PyObject *) 0 ;
7986 PyObject *arg3 = (PyObject *) 0 ;
7987 PyObject * obj0 = 0 ;
7988 PyObject * obj1 = 0 ;
7989 PyObject * obj2 = 0 ;
7990 char *kwnames[] = {
7991 (char *) "self",(char *) "self",(char *) "_class", NULL
7992 };
7993
7994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7996 arg2 = obj1;
7997 arg3 = obj2;
7998 {
7999 PyThreadState* __tstate = wxPyBeginAllowThreads();
8000 (arg1)->_setCallbackInfo(arg2,arg3);
8001
8002 wxPyEndAllowThreads(__tstate);
8003 if (PyErr_Occurred()) SWIG_fail;
8004 }
8005 Py_INCREF(Py_None); resultobj = Py_None;
8006 return resultobj;
8007 fail:
8008 return NULL;
8009}
8010
8011
8012static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
8013 PyObject *obj;
8014 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8015 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8016 Py_INCREF(obj);
8017 return Py_BuildValue((char *)"");
8018}
8019static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
8020 PyObject *resultobj;
8021 int arg1 ;
8022 int arg2 = (int) wxSIGTERM ;
8023 int result;
8024 char *kwnames[] = {
8025 (char *) "pid",(char *) "sig", NULL
8026 };
8027
8028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:Process_Kill",kwnames,&arg1,&arg2)) goto fail;
8029 {
8030 PyThreadState* __tstate = wxPyBeginAllowThreads();
8031 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
8032
8033 wxPyEndAllowThreads(__tstate);
8034 if (PyErr_Occurred()) SWIG_fail;
8035 }
8036 resultobj = PyInt_FromLong((long)result);
8037 return resultobj;
8038 fail:
8039 return NULL;
8040}
8041
8042
8043static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
8044 PyObject *resultobj;
8045 int arg1 ;
8046 bool result;
8047 char *kwnames[] = {
8048 (char *) "pid", NULL
8049 };
8050
8051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Process_Exists",kwnames,&arg1)) goto fail;
8052 {
8053 PyThreadState* __tstate = wxPyBeginAllowThreads();
8054 result = (bool)wxPyProcess::Exists(arg1);
8055
8056 wxPyEndAllowThreads(__tstate);
8057 if (PyErr_Occurred()) SWIG_fail;
8058 }
8059 resultobj = PyInt_FromLong((long)result);
8060 return resultobj;
8061 fail:
8062 return NULL;
8063}
8064
8065
8066static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
8067 PyObject *resultobj;
8068 wxString *arg1 = 0 ;
8069 int arg2 = (int) wxEXEC_ASYNC ;
8070 wxPyProcess *result;
e811c8ce 8071 bool temp1 = False ;
d14a1e28
RD
8072 PyObject * obj0 = 0 ;
8073 char *kwnames[] = {
8074 (char *) "cmd",(char *) "flags", NULL
8075 };
8076
8077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Process_Open",kwnames,&obj0,&arg2)) goto fail;
8078 {
8079 arg1 = wxString_in_helper(obj0);
8080 if (arg1 == NULL) SWIG_fail;
e811c8ce 8081 temp1 = True;
d14a1e28
RD
8082 }
8083 {
8084 PyThreadState* __tstate = wxPyBeginAllowThreads();
8085 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8086
8087 wxPyEndAllowThreads(__tstate);
8088 if (PyErr_Occurred()) SWIG_fail;
8089 }
8090 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 0);
8091 {
8092 if (temp1)
8093 delete arg1;
8094 }
8095 return resultobj;
8096 fail:
8097 {
8098 if (temp1)
8099 delete arg1;
8100 }
8101 return NULL;
8102}
8103
8104
8105static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
8106 PyObject *resultobj;
8107 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8108 int arg2 = (int) -1 ;
8109 wxPyProcess *result;
8110 PyObject * obj0 = 0 ;
8111 char *kwnames[] = {
8112 (char *) "parent",(char *) "id", NULL
8113 };
8114
8115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Process",kwnames,&obj0,&arg2)) goto fail;
8116 if (obj0) {
8117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8118 }
8119 {
8120 PyThreadState* __tstate = wxPyBeginAllowThreads();
8121 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8122
8123 wxPyEndAllowThreads(__tstate);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
8126 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 1);
8127 return resultobj;
8128 fail:
8129 return NULL;
8130}
8131
8132
8133static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8134 PyObject *resultobj;
8135 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8136 PyObject *arg2 = (PyObject *) 0 ;
8137 PyObject *arg3 = (PyObject *) 0 ;
8138 PyObject * obj0 = 0 ;
8139 PyObject * obj1 = 0 ;
8140 PyObject * obj2 = 0 ;
8141 char *kwnames[] = {
8142 (char *) "self",(char *) "self",(char *) "_class", NULL
8143 };
8144
8145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8147 arg2 = obj1;
8148 arg3 = obj2;
8149 {
8150 PyThreadState* __tstate = wxPyBeginAllowThreads();
8151 (arg1)->_setCallbackInfo(arg2,arg3);
8152
8153 wxPyEndAllowThreads(__tstate);
8154 if (PyErr_Occurred()) SWIG_fail;
8155 }
8156 Py_INCREF(Py_None); resultobj = Py_None;
8157 return resultobj;
8158 fail:
8159 return NULL;
8160}
8161
8162
8163static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8164 PyObject *resultobj;
8165 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8166 int arg2 ;
8167 int arg3 ;
8168 PyObject * obj0 = 0 ;
8169 char *kwnames[] = {
8170 (char *) "self",(char *) "pid",(char *) "status", NULL
8171 };
8172
8173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Process_base_OnTerminate",kwnames,&obj0,&arg2,&arg3)) goto fail;
8174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8175 {
8176 PyThreadState* __tstate = wxPyBeginAllowThreads();
8177 (arg1)->base_OnTerminate(arg2,arg3);
8178
8179 wxPyEndAllowThreads(__tstate);
8180 if (PyErr_Occurred()) SWIG_fail;
8181 }
8182 Py_INCREF(Py_None); resultobj = Py_None;
8183 return resultobj;
8184 fail:
8185 return NULL;
8186}
8187
8188
8189static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8190 PyObject *resultobj;
8191 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8192 PyObject * obj0 = 0 ;
8193 char *kwnames[] = {
8194 (char *) "self", NULL
8195 };
8196
8197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8199 {
8200 PyThreadState* __tstate = wxPyBeginAllowThreads();
8201 (arg1)->Redirect();
8202
8203 wxPyEndAllowThreads(__tstate);
8204 if (PyErr_Occurred()) SWIG_fail;
8205 }
8206 Py_INCREF(Py_None); resultobj = Py_None;
8207 return resultobj;
8208 fail:
8209 return NULL;
8210}
8211
8212
8213static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8214 PyObject *resultobj;
8215 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8216 bool result;
8217 PyObject * obj0 = 0 ;
8218 char *kwnames[] = {
8219 (char *) "self", NULL
8220 };
8221
8222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8224 {
8225 PyThreadState* __tstate = wxPyBeginAllowThreads();
8226 result = (bool)(arg1)->IsRedirected();
8227
8228 wxPyEndAllowThreads(__tstate);
8229 if (PyErr_Occurred()) SWIG_fail;
8230 }
8231 resultobj = PyInt_FromLong((long)result);
8232 return resultobj;
8233 fail:
8234 return NULL;
8235}
8236
8237
8238static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8239 PyObject *resultobj;
8240 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8241 PyObject * obj0 = 0 ;
8242 char *kwnames[] = {
8243 (char *) "self", NULL
8244 };
8245
8246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8248 {
8249 PyThreadState* __tstate = wxPyBeginAllowThreads();
8250 (arg1)->Detach();
8251
8252 wxPyEndAllowThreads(__tstate);
8253 if (PyErr_Occurred()) SWIG_fail;
8254 }
8255 Py_INCREF(Py_None); resultobj = Py_None;
8256 return resultobj;
8257 fail:
8258 return NULL;
8259}
8260
8261
8262static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8263 PyObject *resultobj;
8264 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8265 wxInputStream *result;
8266 PyObject * obj0 = 0 ;
8267 char *kwnames[] = {
8268 (char *) "self", NULL
8269 };
8270
8271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
8272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8273 {
8274 PyThreadState* __tstate = wxPyBeginAllowThreads();
8275 result = (wxInputStream *)(arg1)->GetInputStream();
8276
8277 wxPyEndAllowThreads(__tstate);
8278 if (PyErr_Occurred()) SWIG_fail;
8279 }
8280 {
8281 wxPyInputStream * _ptr = NULL;
8282
8283 if (result) {
8284 _ptr = new wxPyInputStream(result);
8285 }
e811c8ce 8286 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
8287 }
8288 return resultobj;
8289 fail:
8290 return NULL;
8291}
8292
8293
8294static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8295 PyObject *resultobj;
8296 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8297 wxInputStream *result;
8298 PyObject * obj0 = 0 ;
8299 char *kwnames[] = {
8300 (char *) "self", NULL
8301 };
8302
8303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
8304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8305 {
8306 PyThreadState* __tstate = wxPyBeginAllowThreads();
8307 result = (wxInputStream *)(arg1)->GetErrorStream();
8308
8309 wxPyEndAllowThreads(__tstate);
8310 if (PyErr_Occurred()) SWIG_fail;
8311 }
8312 {
8313 wxPyInputStream * _ptr = NULL;
8314
8315 if (result) {
8316 _ptr = new wxPyInputStream(result);
8317 }
e811c8ce 8318 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
8319 }
8320 return resultobj;
8321 fail:
8322 return NULL;
8323}
8324
8325
8326static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8327 PyObject *resultobj;
8328 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8329 wxOutputStream *result;
8330 PyObject * obj0 = 0 ;
8331 char *kwnames[] = {
8332 (char *) "self", NULL
8333 };
8334
8335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
8336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8337 {
8338 PyThreadState* __tstate = wxPyBeginAllowThreads();
8339 result = (wxOutputStream *)(arg1)->GetOutputStream();
8340
8341 wxPyEndAllowThreads(__tstate);
8342 if (PyErr_Occurred()) SWIG_fail;
8343 }
8344 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxOutputStream, 0);
8345 return resultobj;
8346 fail:
8347 return NULL;
8348}
8349
8350
8351static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
8352 PyObject *resultobj;
8353 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8354 PyObject * obj0 = 0 ;
8355 char *kwnames[] = {
8356 (char *) "self", NULL
8357 };
8358
8359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
8360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8361 {
8362 PyThreadState* __tstate = wxPyBeginAllowThreads();
8363 (arg1)->CloseOutput();
8364
8365 wxPyEndAllowThreads(__tstate);
8366 if (PyErr_Occurred()) SWIG_fail;
8367 }
8368 Py_INCREF(Py_None); resultobj = Py_None;
8369 return resultobj;
8370 fail:
8371 return NULL;
8372}
8373
8374
8375static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
8376 PyObject *resultobj;
8377 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8378 bool result;
8379 PyObject * obj0 = 0 ;
8380 char *kwnames[] = {
8381 (char *) "self", NULL
8382 };
8383
8384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
8385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8386 {
8387 PyThreadState* __tstate = wxPyBeginAllowThreads();
8388 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
8389
8390 wxPyEndAllowThreads(__tstate);
8391 if (PyErr_Occurred()) SWIG_fail;
8392 }
8393 resultobj = PyInt_FromLong((long)result);
8394 return resultobj;
8395 fail:
8396 return NULL;
8397}
8398
8399
8400static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8401 PyObject *resultobj;
8402 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8403 bool result;
8404 PyObject * obj0 = 0 ;
8405 char *kwnames[] = {
8406 (char *) "self", NULL
8407 };
8408
8409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
8410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8411 {
8412 PyThreadState* __tstate = wxPyBeginAllowThreads();
8413 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
8414
8415 wxPyEndAllowThreads(__tstate);
8416 if (PyErr_Occurred()) SWIG_fail;
8417 }
8418 resultobj = PyInt_FromLong((long)result);
8419 return resultobj;
8420 fail:
8421 return NULL;
8422}
8423
8424
8425static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8426 PyObject *resultobj;
8427 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8428 bool result;
8429 PyObject * obj0 = 0 ;
8430 char *kwnames[] = {
8431 (char *) "self", NULL
8432 };
8433
8434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
8435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8436 {
8437 PyThreadState* __tstate = wxPyBeginAllowThreads();
8438 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
8439
8440 wxPyEndAllowThreads(__tstate);
8441 if (PyErr_Occurred()) SWIG_fail;
8442 }
8443 resultobj = PyInt_FromLong((long)result);
8444 return resultobj;
8445 fail:
8446 return NULL;
8447}
8448
8449
8450static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
8451 PyObject *obj;
8452 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8453 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
8454 Py_INCREF(obj);
8455 return Py_BuildValue((char *)"");
8456}
8457static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8458 PyObject *resultobj;
8459 int arg1 = (int) 0 ;
8460 int arg2 = (int) 0 ;
8461 int arg3 = (int) 0 ;
8462 wxProcessEvent *result;
8463 char *kwnames[] = {
8464 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8465 };
8466
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iii:new_ProcessEvent",kwnames,&arg1,&arg2,&arg3)) goto fail;
8468 {
8469 PyThreadState* __tstate = wxPyBeginAllowThreads();
8470 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
8471
8472 wxPyEndAllowThreads(__tstate);
8473 if (PyErr_Occurred()) SWIG_fail;
8474 }
8475 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProcessEvent, 1);
8476 return resultobj;
8477 fail:
8478 return NULL;
8479}
8480
8481
8482static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
8483 PyObject *resultobj;
8484 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8485 int result;
8486 PyObject * obj0 = 0 ;
8487 char *kwnames[] = {
8488 (char *) "self", NULL
8489 };
8490
8491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
8492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8493 {
8494 PyThreadState* __tstate = wxPyBeginAllowThreads();
8495 result = (int)(arg1)->GetPid();
8496
8497 wxPyEndAllowThreads(__tstate);
8498 if (PyErr_Occurred()) SWIG_fail;
8499 }
8500 resultobj = PyInt_FromLong((long)result);
8501 return resultobj;
8502 fail:
8503 return NULL;
8504}
8505
8506
8507static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8508 PyObject *resultobj;
8509 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8510 int result;
8511 PyObject * obj0 = 0 ;
8512 char *kwnames[] = {
8513 (char *) "self", NULL
8514 };
8515
8516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
8517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8518 {
8519 PyThreadState* __tstate = wxPyBeginAllowThreads();
8520 result = (int)(arg1)->GetExitCode();
8521
8522 wxPyEndAllowThreads(__tstate);
8523 if (PyErr_Occurred()) SWIG_fail;
8524 }
8525 resultobj = PyInt_FromLong((long)result);
8526 return resultobj;
8527 fail:
8528 return NULL;
8529}
8530
8531
8532static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8533 PyObject *resultobj;
8534 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8535 int arg2 ;
8536 PyObject * obj0 = 0 ;
8537 char *kwnames[] = {
8538 (char *) "self",(char *) "m_pid", NULL
8539 };
8540
8541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_pid_set",kwnames,&obj0,&arg2)) goto fail;
8542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8543 if (arg1) (arg1)->m_pid = arg2;
8544
8545 Py_INCREF(Py_None); resultobj = Py_None;
8546 return resultobj;
8547 fail:
8548 return NULL;
8549}
8550
8551
8552static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8553 PyObject *resultobj;
8554 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8555 int result;
8556 PyObject * obj0 = 0 ;
8557 char *kwnames[] = {
8558 (char *) "self", NULL
8559 };
8560
8561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
8562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8563 result = (int) ((arg1)->m_pid);
8564
8565 resultobj = PyInt_FromLong((long)result);
8566 return resultobj;
8567 fail:
8568 return NULL;
8569}
8570
8571
8572static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8573 PyObject *resultobj;
8574 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8575 int arg2 ;
8576 PyObject * obj0 = 0 ;
8577 char *kwnames[] = {
8578 (char *) "self",(char *) "m_exitcode", NULL
8579 };
8580
8581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames,&obj0,&arg2)) goto fail;
8582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8583 if (arg1) (arg1)->m_exitcode = arg2;
8584
8585 Py_INCREF(Py_None); resultobj = Py_None;
8586 return resultobj;
8587 fail:
8588 return NULL;
8589}
8590
8591
8592static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8593 PyObject *resultobj;
8594 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8595 int result;
8596 PyObject * obj0 = 0 ;
8597 char *kwnames[] = {
8598 (char *) "self", NULL
8599 };
8600
8601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
8602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8603 result = (int) ((arg1)->m_exitcode);
8604
8605 resultobj = PyInt_FromLong((long)result);
8606 return resultobj;
8607 fail:
8608 return NULL;
8609}
8610
8611
8612static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
8613 PyObject *obj;
8614 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8615 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
8616 Py_INCREF(obj);
8617 return Py_BuildValue((char *)"");
8618}
8619static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
8620 PyObject *resultobj;
8621 wxString *arg1 = 0 ;
8622 int arg2 = (int) wxEXEC_ASYNC ;
8623 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
8624 long result;
e811c8ce 8625 bool temp1 = False ;
d14a1e28
RD
8626 PyObject * obj0 = 0 ;
8627 PyObject * obj2 = 0 ;
8628 char *kwnames[] = {
8629 (char *) "command",(char *) "flags",(char *) "process", NULL
8630 };
8631
8632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Execute",kwnames,&obj0,&arg2,&obj2)) goto fail;
8633 {
8634 arg1 = wxString_in_helper(obj0);
8635 if (arg1 == NULL) SWIG_fail;
e811c8ce 8636 temp1 = True;
d14a1e28
RD
8637 }
8638 if (obj2) {
8639 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8640 }
8641 {
8642 PyThreadState* __tstate = wxPyBeginAllowThreads();
8643 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
8644
8645 wxPyEndAllowThreads(__tstate);
8646 if (PyErr_Occurred()) SWIG_fail;
8647 }
8648 resultobj = PyInt_FromLong((long)result);
8649 {
8650 if (temp1)
8651 delete arg1;
8652 }
8653 return resultobj;
8654 fail:
8655 {
8656 if (temp1)
8657 delete arg1;
8658 }
8659 return NULL;
8660}
8661
8662
8663static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8664 PyObject *resultobj;
8665 int arg1 = (int) wxJOYSTICK1 ;
8666 wxJoystick *result;
8667 char *kwnames[] = {
8668 (char *) "joystick", NULL
8669 };
8670
8671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_Joystick",kwnames,&arg1)) goto fail;
8672 {
8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
8674 result = (wxJoystick *)new wxJoystick(arg1);
8675
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystick, 1);
8680 return resultobj;
8681 fail:
8682 return NULL;
8683}
8684
8685
8686static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8687 PyObject *resultobj;
8688 wxJoystick *arg1 = (wxJoystick *) 0 ;
8689 PyObject * obj0 = 0 ;
8690 char *kwnames[] = {
8691 (char *) "self", NULL
8692 };
8693
8694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
8695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8696 {
8697 PyThreadState* __tstate = wxPyBeginAllowThreads();
8698 delete arg1;
8699
8700 wxPyEndAllowThreads(__tstate);
8701 if (PyErr_Occurred()) SWIG_fail;
8702 }
8703 Py_INCREF(Py_None); resultobj = Py_None;
8704 return resultobj;
8705 fail:
8706 return NULL;
8707}
8708
8709
8710static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8711 PyObject *resultobj;
8712 wxJoystick *arg1 = (wxJoystick *) 0 ;
8713 wxPoint result;
8714 PyObject * obj0 = 0 ;
8715 char *kwnames[] = {
8716 (char *) "self", NULL
8717 };
8718
8719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
8720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8721 {
8722 PyThreadState* __tstate = wxPyBeginAllowThreads();
8723 result = (arg1)->GetPosition();
8724
8725 wxPyEndAllowThreads(__tstate);
8726 if (PyErr_Occurred()) SWIG_fail;
8727 }
8728 {
8729 wxPoint * resultptr;
8730 resultptr = new wxPoint((wxPoint &) result);
8731 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8732 }
8733 return resultobj;
8734 fail:
8735 return NULL;
8736}
8737
8738
8739static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8740 PyObject *resultobj;
8741 wxJoystick *arg1 = (wxJoystick *) 0 ;
8742 int result;
8743 PyObject * obj0 = 0 ;
8744 char *kwnames[] = {
8745 (char *) "self", NULL
8746 };
8747
8748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
8749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8750 {
8751 PyThreadState* __tstate = wxPyBeginAllowThreads();
8752 result = (int)(arg1)->GetZPosition();
8753
8754 wxPyEndAllowThreads(__tstate);
8755 if (PyErr_Occurred()) SWIG_fail;
8756 }
8757 resultobj = PyInt_FromLong((long)result);
8758 return resultobj;
8759 fail:
8760 return NULL;
8761}
8762
8763
8764static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
8765 PyObject *resultobj;
8766 wxJoystick *arg1 = (wxJoystick *) 0 ;
8767 int result;
8768 PyObject * obj0 = 0 ;
8769 char *kwnames[] = {
8770 (char *) "self", NULL
8771 };
8772
8773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
8774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8775 {
8776 PyThreadState* __tstate = wxPyBeginAllowThreads();
8777 result = (int)(arg1)->GetButtonState();
8778
8779 wxPyEndAllowThreads(__tstate);
8780 if (PyErr_Occurred()) SWIG_fail;
8781 }
8782 resultobj = PyInt_FromLong((long)result);
8783 return resultobj;
8784 fail:
8785 return NULL;
8786}
8787
8788
8789static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8790 PyObject *resultobj;
8791 wxJoystick *arg1 = (wxJoystick *) 0 ;
8792 int result;
8793 PyObject * obj0 = 0 ;
8794 char *kwnames[] = {
8795 (char *) "self", NULL
8796 };
8797
8798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
8799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8800 {
8801 PyThreadState* __tstate = wxPyBeginAllowThreads();
8802 result = (int)(arg1)->GetPOVPosition();
8803
8804 wxPyEndAllowThreads(__tstate);
8805 if (PyErr_Occurred()) SWIG_fail;
8806 }
8807 resultobj = PyInt_FromLong((long)result);
8808 return resultobj;
8809 fail:
8810 return NULL;
8811}
8812
8813
8814static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8815 PyObject *resultobj;
8816 wxJoystick *arg1 = (wxJoystick *) 0 ;
8817 int result;
8818 PyObject * obj0 = 0 ;
8819 char *kwnames[] = {
8820 (char *) "self", NULL
8821 };
8822
8823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
8824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8825 {
8826 PyThreadState* __tstate = wxPyBeginAllowThreads();
8827 result = (int)(arg1)->GetPOVCTSPosition();
8828
8829 wxPyEndAllowThreads(__tstate);
8830 if (PyErr_Occurred()) SWIG_fail;
8831 }
8832 resultobj = PyInt_FromLong((long)result);
8833 return resultobj;
8834 fail:
8835 return NULL;
8836}
8837
8838
8839static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8840 PyObject *resultobj;
8841 wxJoystick *arg1 = (wxJoystick *) 0 ;
8842 int result;
8843 PyObject * obj0 = 0 ;
8844 char *kwnames[] = {
8845 (char *) "self", NULL
8846 };
8847
8848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
8849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8850 {
8851 PyThreadState* __tstate = wxPyBeginAllowThreads();
8852 result = (int)(arg1)->GetRudderPosition();
8853
8854 wxPyEndAllowThreads(__tstate);
8855 if (PyErr_Occurred()) SWIG_fail;
8856 }
8857 resultobj = PyInt_FromLong((long)result);
8858 return resultobj;
8859 fail:
8860 return NULL;
8861}
8862
8863
8864static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8865 PyObject *resultobj;
8866 wxJoystick *arg1 = (wxJoystick *) 0 ;
8867 int result;
8868 PyObject * obj0 = 0 ;
8869 char *kwnames[] = {
8870 (char *) "self", NULL
8871 };
8872
8873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
8874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8875 {
8876 PyThreadState* __tstate = wxPyBeginAllowThreads();
8877 result = (int)(arg1)->GetUPosition();
8878
8879 wxPyEndAllowThreads(__tstate);
8880 if (PyErr_Occurred()) SWIG_fail;
8881 }
8882 resultobj = PyInt_FromLong((long)result);
8883 return resultobj;
8884 fail:
8885 return NULL;
8886}
8887
8888
8889static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8890 PyObject *resultobj;
8891 wxJoystick *arg1 = (wxJoystick *) 0 ;
8892 int result;
8893 PyObject * obj0 = 0 ;
8894 char *kwnames[] = {
8895 (char *) "self", NULL
8896 };
8897
8898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
8899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8900 {
8901 PyThreadState* __tstate = wxPyBeginAllowThreads();
8902 result = (int)(arg1)->GetVPosition();
8903
8904 wxPyEndAllowThreads(__tstate);
8905 if (PyErr_Occurred()) SWIG_fail;
8906 }
8907 resultobj = PyInt_FromLong((long)result);
8908 return resultobj;
8909 fail:
8910 return NULL;
8911}
8912
8913
8914static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8915 PyObject *resultobj;
8916 wxJoystick *arg1 = (wxJoystick *) 0 ;
8917 int result;
8918 PyObject * obj0 = 0 ;
8919 char *kwnames[] = {
8920 (char *) "self", NULL
8921 };
8922
8923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
8924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8925 {
8926 PyThreadState* __tstate = wxPyBeginAllowThreads();
8927 result = (int)(arg1)->GetMovementThreshold();
8928
8929 wxPyEndAllowThreads(__tstate);
8930 if (PyErr_Occurred()) SWIG_fail;
8931 }
8932 resultobj = PyInt_FromLong((long)result);
8933 return resultobj;
8934 fail:
8935 return NULL;
8936}
8937
8938
8939static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8940 PyObject *resultobj;
8941 wxJoystick *arg1 = (wxJoystick *) 0 ;
8942 int arg2 ;
8943 PyObject * obj0 = 0 ;
8944 char *kwnames[] = {
8945 (char *) "self",(char *) "threshold", NULL
8946 };
8947
8948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Joystick_SetMovementThreshold",kwnames,&obj0,&arg2)) goto fail;
8949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8950 {
8951 PyThreadState* __tstate = wxPyBeginAllowThreads();
8952 (arg1)->SetMovementThreshold(arg2);
8953
8954 wxPyEndAllowThreads(__tstate);
8955 if (PyErr_Occurred()) SWIG_fail;
8956 }
8957 Py_INCREF(Py_None); resultobj = Py_None;
8958 return resultobj;
8959 fail:
8960 return NULL;
8961}
8962
8963
8964static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
8965 PyObject *resultobj;
8966 wxJoystick *arg1 = (wxJoystick *) 0 ;
8967 bool result;
8968 PyObject * obj0 = 0 ;
8969 char *kwnames[] = {
8970 (char *) "self", NULL
8971 };
8972
8973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
8974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8975 {
8976 PyThreadState* __tstate = wxPyBeginAllowThreads();
8977 result = (bool)(arg1)->IsOk();
8978
8979 wxPyEndAllowThreads(__tstate);
8980 if (PyErr_Occurred()) SWIG_fail;
8981 }
8982 resultobj = PyInt_FromLong((long)result);
8983 return resultobj;
8984 fail:
8985 return NULL;
8986}
8987
8988
8989static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
8990 PyObject *resultobj;
8991 wxJoystick *arg1 = (wxJoystick *) 0 ;
8992 int result;
8993 PyObject * obj0 = 0 ;
8994 char *kwnames[] = {
8995 (char *) "self", NULL
8996 };
8997
8998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
8999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9000 {
9001 PyThreadState* __tstate = wxPyBeginAllowThreads();
9002 result = (int)(arg1)->GetNumberJoysticks();
9003
9004 wxPyEndAllowThreads(__tstate);
9005 if (PyErr_Occurred()) SWIG_fail;
9006 }
9007 resultobj = PyInt_FromLong((long)result);
9008 return resultobj;
9009 fail:
9010 return NULL;
9011}
9012
9013
9014static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
9015 PyObject *resultobj;
9016 wxJoystick *arg1 = (wxJoystick *) 0 ;
9017 int result;
9018 PyObject * obj0 = 0 ;
9019 char *kwnames[] = {
9020 (char *) "self", NULL
9021 };
9022
9023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
9024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9025 {
9026 PyThreadState* __tstate = wxPyBeginAllowThreads();
9027 result = (int)(arg1)->GetManufacturerId();
9028
9029 wxPyEndAllowThreads(__tstate);
9030 if (PyErr_Occurred()) SWIG_fail;
9031 }
9032 resultobj = PyInt_FromLong((long)result);
9033 return resultobj;
9034 fail:
9035 return NULL;
9036}
9037
9038
9039static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
9040 PyObject *resultobj;
9041 wxJoystick *arg1 = (wxJoystick *) 0 ;
9042 int result;
9043 PyObject * obj0 = 0 ;
9044 char *kwnames[] = {
9045 (char *) "self", NULL
9046 };
9047
9048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
9049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9050 {
9051 PyThreadState* __tstate = wxPyBeginAllowThreads();
9052 result = (int)(arg1)->GetProductId();
9053
9054 wxPyEndAllowThreads(__tstate);
9055 if (PyErr_Occurred()) SWIG_fail;
9056 }
9057 resultobj = PyInt_FromLong((long)result);
9058 return resultobj;
9059 fail:
9060 return NULL;
9061}
9062
9063
9064static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
9065 PyObject *resultobj;
9066 wxJoystick *arg1 = (wxJoystick *) 0 ;
9067 wxString result;
9068 PyObject * obj0 = 0 ;
9069 char *kwnames[] = {
9070 (char *) "self", NULL
9071 };
9072
9073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
9074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9075 {
9076 PyThreadState* __tstate = wxPyBeginAllowThreads();
9077 result = (arg1)->GetProductName();
9078
9079 wxPyEndAllowThreads(__tstate);
9080 if (PyErr_Occurred()) SWIG_fail;
9081 }
9082 {
9083#if wxUSE_UNICODE
9084 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9085#else
9086 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9087#endif
9088 }
9089 return resultobj;
9090 fail:
9091 return NULL;
9092}
9093
9094
9095static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9096 PyObject *resultobj;
9097 wxJoystick *arg1 = (wxJoystick *) 0 ;
9098 int result;
9099 PyObject * obj0 = 0 ;
9100 char *kwnames[] = {
9101 (char *) "self", NULL
9102 };
9103
9104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
9105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9106 {
9107 PyThreadState* __tstate = wxPyBeginAllowThreads();
9108 result = (int)(arg1)->GetXMin();
9109
9110 wxPyEndAllowThreads(__tstate);
9111 if (PyErr_Occurred()) SWIG_fail;
9112 }
9113 resultobj = PyInt_FromLong((long)result);
9114 return resultobj;
9115 fail:
9116 return NULL;
9117}
9118
9119
9120static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9121 PyObject *resultobj;
9122 wxJoystick *arg1 = (wxJoystick *) 0 ;
9123 int result;
9124 PyObject * obj0 = 0 ;
9125 char *kwnames[] = {
9126 (char *) "self", NULL
9127 };
9128
9129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
9130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9131 {
9132 PyThreadState* __tstate = wxPyBeginAllowThreads();
9133 result = (int)(arg1)->GetYMin();
9134
9135 wxPyEndAllowThreads(__tstate);
9136 if (PyErr_Occurred()) SWIG_fail;
9137 }
9138 resultobj = PyInt_FromLong((long)result);
9139 return resultobj;
9140 fail:
9141 return NULL;
9142}
9143
9144
9145static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9146 PyObject *resultobj;
9147 wxJoystick *arg1 = (wxJoystick *) 0 ;
9148 int result;
9149 PyObject * obj0 = 0 ;
9150 char *kwnames[] = {
9151 (char *) "self", NULL
9152 };
9153
9154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9156 {
9157 PyThreadState* __tstate = wxPyBeginAllowThreads();
9158 result = (int)(arg1)->GetZMin();
9159
9160 wxPyEndAllowThreads(__tstate);
9161 if (PyErr_Occurred()) SWIG_fail;
9162 }
9163 resultobj = PyInt_FromLong((long)result);
9164 return resultobj;
9165 fail:
9166 return NULL;
9167}
9168
9169
9170static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9171 PyObject *resultobj;
9172 wxJoystick *arg1 = (wxJoystick *) 0 ;
9173 int result;
9174 PyObject * obj0 = 0 ;
9175 char *kwnames[] = {
9176 (char *) "self", NULL
9177 };
9178
9179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9181 {
9182 PyThreadState* __tstate = wxPyBeginAllowThreads();
9183 result = (int)(arg1)->GetXMax();
9184
9185 wxPyEndAllowThreads(__tstate);
9186 if (PyErr_Occurred()) SWIG_fail;
9187 }
9188 resultobj = PyInt_FromLong((long)result);
9189 return resultobj;
9190 fail:
9191 return NULL;
9192}
9193
9194
9195static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9196 PyObject *resultobj;
9197 wxJoystick *arg1 = (wxJoystick *) 0 ;
9198 int result;
9199 PyObject * obj0 = 0 ;
9200 char *kwnames[] = {
9201 (char *) "self", NULL
9202 };
9203
9204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
9205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9206 {
9207 PyThreadState* __tstate = wxPyBeginAllowThreads();
9208 result = (int)(arg1)->GetYMax();
9209
9210 wxPyEndAllowThreads(__tstate);
9211 if (PyErr_Occurred()) SWIG_fail;
9212 }
9213 resultobj = PyInt_FromLong((long)result);
9214 return resultobj;
9215 fail:
9216 return NULL;
9217}
9218
9219
9220static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9221 PyObject *resultobj;
9222 wxJoystick *arg1 = (wxJoystick *) 0 ;
9223 int result;
9224 PyObject * obj0 = 0 ;
9225 char *kwnames[] = {
9226 (char *) "self", NULL
9227 };
9228
9229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
9230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9231 {
9232 PyThreadState* __tstate = wxPyBeginAllowThreads();
9233 result = (int)(arg1)->GetZMax();
9234
9235 wxPyEndAllowThreads(__tstate);
9236 if (PyErr_Occurred()) SWIG_fail;
9237 }
9238 resultobj = PyInt_FromLong((long)result);
9239 return resultobj;
9240 fail:
9241 return NULL;
9242}
9243
9244
9245static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9246 PyObject *resultobj;
9247 wxJoystick *arg1 = (wxJoystick *) 0 ;
9248 int result;
9249 PyObject * obj0 = 0 ;
9250 char *kwnames[] = {
9251 (char *) "self", NULL
9252 };
9253
9254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
9255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9256 {
9257 PyThreadState* __tstate = wxPyBeginAllowThreads();
9258 result = (int)(arg1)->GetNumberButtons();
9259
9260 wxPyEndAllowThreads(__tstate);
9261 if (PyErr_Occurred()) SWIG_fail;
9262 }
9263 resultobj = PyInt_FromLong((long)result);
9264 return resultobj;
9265 fail:
9266 return NULL;
9267}
9268
9269
9270static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9271 PyObject *resultobj;
9272 wxJoystick *arg1 = (wxJoystick *) 0 ;
9273 int result;
9274 PyObject * obj0 = 0 ;
9275 char *kwnames[] = {
9276 (char *) "self", NULL
9277 };
9278
9279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
9280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9281 {
9282 PyThreadState* __tstate = wxPyBeginAllowThreads();
9283 result = (int)(arg1)->GetNumberAxes();
9284
9285 wxPyEndAllowThreads(__tstate);
9286 if (PyErr_Occurred()) SWIG_fail;
9287 }
9288 resultobj = PyInt_FromLong((long)result);
9289 return resultobj;
9290 fail:
9291 return NULL;
9292}
9293
9294
9295static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9296 PyObject *resultobj;
9297 wxJoystick *arg1 = (wxJoystick *) 0 ;
9298 int result;
9299 PyObject * obj0 = 0 ;
9300 char *kwnames[] = {
9301 (char *) "self", NULL
9302 };
9303
9304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
9305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9306 {
9307 PyThreadState* __tstate = wxPyBeginAllowThreads();
9308 result = (int)(arg1)->GetMaxButtons();
9309
9310 wxPyEndAllowThreads(__tstate);
9311 if (PyErr_Occurred()) SWIG_fail;
9312 }
9313 resultobj = PyInt_FromLong((long)result);
9314 return resultobj;
9315 fail:
9316 return NULL;
9317}
9318
9319
9320static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9321 PyObject *resultobj;
9322 wxJoystick *arg1 = (wxJoystick *) 0 ;
9323 int result;
9324 PyObject * obj0 = 0 ;
9325 char *kwnames[] = {
9326 (char *) "self", NULL
9327 };
9328
9329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
9330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9331 {
9332 PyThreadState* __tstate = wxPyBeginAllowThreads();
9333 result = (int)(arg1)->GetMaxAxes();
9334
9335 wxPyEndAllowThreads(__tstate);
9336 if (PyErr_Occurred()) SWIG_fail;
9337 }
9338 resultobj = PyInt_FromLong((long)result);
9339 return resultobj;
9340 fail:
9341 return NULL;
9342}
9343
9344
9345static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9346 PyObject *resultobj;
9347 wxJoystick *arg1 = (wxJoystick *) 0 ;
9348 int result;
9349 PyObject * obj0 = 0 ;
9350 char *kwnames[] = {
9351 (char *) "self", NULL
9352 };
9353
9354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
9355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9356 {
9357 PyThreadState* __tstate = wxPyBeginAllowThreads();
9358 result = (int)(arg1)->GetPollingMin();
9359
9360 wxPyEndAllowThreads(__tstate);
9361 if (PyErr_Occurred()) SWIG_fail;
9362 }
9363 resultobj = PyInt_FromLong((long)result);
9364 return resultobj;
9365 fail:
9366 return NULL;
9367}
9368
9369
9370static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9371 PyObject *resultobj;
9372 wxJoystick *arg1 = (wxJoystick *) 0 ;
9373 int result;
9374 PyObject * obj0 = 0 ;
9375 char *kwnames[] = {
9376 (char *) "self", NULL
9377 };
9378
9379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
9380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9381 {
9382 PyThreadState* __tstate = wxPyBeginAllowThreads();
9383 result = (int)(arg1)->GetPollingMax();
9384
9385 wxPyEndAllowThreads(__tstate);
9386 if (PyErr_Occurred()) SWIG_fail;
9387 }
9388 resultobj = PyInt_FromLong((long)result);
9389 return resultobj;
9390 fail:
9391 return NULL;
9392}
9393
9394
9395static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9396 PyObject *resultobj;
9397 wxJoystick *arg1 = (wxJoystick *) 0 ;
9398 int result;
9399 PyObject * obj0 = 0 ;
9400 char *kwnames[] = {
9401 (char *) "self", NULL
9402 };
9403
9404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
9405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 result = (int)(arg1)->GetRudderMin();
9409
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 }
9413 resultobj = PyInt_FromLong((long)result);
9414 return resultobj;
9415 fail:
9416 return NULL;
9417}
9418
9419
9420static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9421 PyObject *resultobj;
9422 wxJoystick *arg1 = (wxJoystick *) 0 ;
9423 int result;
9424 PyObject * obj0 = 0 ;
9425 char *kwnames[] = {
9426 (char *) "self", NULL
9427 };
9428
9429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
9430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9431 {
9432 PyThreadState* __tstate = wxPyBeginAllowThreads();
9433 result = (int)(arg1)->GetRudderMax();
9434
9435 wxPyEndAllowThreads(__tstate);
9436 if (PyErr_Occurred()) SWIG_fail;
9437 }
9438 resultobj = PyInt_FromLong((long)result);
9439 return resultobj;
9440 fail:
9441 return NULL;
9442}
9443
9444
9445static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9446 PyObject *resultobj;
9447 wxJoystick *arg1 = (wxJoystick *) 0 ;
9448 int result;
9449 PyObject * obj0 = 0 ;
9450 char *kwnames[] = {
9451 (char *) "self", NULL
9452 };
9453
9454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
9455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9456 {
9457 PyThreadState* __tstate = wxPyBeginAllowThreads();
9458 result = (int)(arg1)->GetUMin();
9459
9460 wxPyEndAllowThreads(__tstate);
9461 if (PyErr_Occurred()) SWIG_fail;
9462 }
9463 resultobj = PyInt_FromLong((long)result);
9464 return resultobj;
9465 fail:
9466 return NULL;
9467}
9468
9469
9470static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9471 PyObject *resultobj;
9472 wxJoystick *arg1 = (wxJoystick *) 0 ;
9473 int result;
9474 PyObject * obj0 = 0 ;
9475 char *kwnames[] = {
9476 (char *) "self", NULL
9477 };
9478
9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
9480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9481 {
9482 PyThreadState* __tstate = wxPyBeginAllowThreads();
9483 result = (int)(arg1)->GetUMax();
9484
9485 wxPyEndAllowThreads(__tstate);
9486 if (PyErr_Occurred()) SWIG_fail;
9487 }
9488 resultobj = PyInt_FromLong((long)result);
9489 return resultobj;
9490 fail:
9491 return NULL;
9492}
9493
9494
9495static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9496 PyObject *resultobj;
9497 wxJoystick *arg1 = (wxJoystick *) 0 ;
9498 int result;
9499 PyObject * obj0 = 0 ;
9500 char *kwnames[] = {
9501 (char *) "self", NULL
9502 };
9503
9504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
9505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9506 {
9507 PyThreadState* __tstate = wxPyBeginAllowThreads();
9508 result = (int)(arg1)->GetVMin();
9509
9510 wxPyEndAllowThreads(__tstate);
9511 if (PyErr_Occurred()) SWIG_fail;
9512 }
9513 resultobj = PyInt_FromLong((long)result);
9514 return resultobj;
9515 fail:
9516 return NULL;
9517}
9518
9519
9520static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9521 PyObject *resultobj;
9522 wxJoystick *arg1 = (wxJoystick *) 0 ;
9523 int result;
9524 PyObject * obj0 = 0 ;
9525 char *kwnames[] = {
9526 (char *) "self", NULL
9527 };
9528
9529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
9530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9531 {
9532 PyThreadState* __tstate = wxPyBeginAllowThreads();
9533 result = (int)(arg1)->GetVMax();
9534
9535 wxPyEndAllowThreads(__tstate);
9536 if (PyErr_Occurred()) SWIG_fail;
9537 }
9538 resultobj = PyInt_FromLong((long)result);
9539 return resultobj;
9540 fail:
9541 return NULL;
9542}
9543
9544
9545static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
9546 PyObject *resultobj;
9547 wxJoystick *arg1 = (wxJoystick *) 0 ;
9548 bool result;
9549 PyObject * obj0 = 0 ;
9550 char *kwnames[] = {
9551 (char *) "self", NULL
9552 };
9553
9554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
9555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9556 {
9557 PyThreadState* __tstate = wxPyBeginAllowThreads();
9558 result = (bool)(arg1)->HasRudder();
9559
9560 wxPyEndAllowThreads(__tstate);
9561 if (PyErr_Occurred()) SWIG_fail;
9562 }
9563 resultobj = PyInt_FromLong((long)result);
9564 return resultobj;
9565 fail:
9566 return NULL;
9567}
9568
9569
9570static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
9571 PyObject *resultobj;
9572 wxJoystick *arg1 = (wxJoystick *) 0 ;
9573 bool result;
9574 PyObject * obj0 = 0 ;
9575 char *kwnames[] = {
9576 (char *) "self", NULL
9577 };
9578
9579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
9580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9581 {
9582 PyThreadState* __tstate = wxPyBeginAllowThreads();
9583 result = (bool)(arg1)->HasZ();
9584
9585 wxPyEndAllowThreads(__tstate);
9586 if (PyErr_Occurred()) SWIG_fail;
9587 }
9588 resultobj = PyInt_FromLong((long)result);
9589 return resultobj;
9590 fail:
9591 return NULL;
9592}
9593
9594
9595static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
9596 PyObject *resultobj;
9597 wxJoystick *arg1 = (wxJoystick *) 0 ;
9598 bool result;
9599 PyObject * obj0 = 0 ;
9600 char *kwnames[] = {
9601 (char *) "self", NULL
9602 };
9603
9604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
9605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9606 {
9607 PyThreadState* __tstate = wxPyBeginAllowThreads();
9608 result = (bool)(arg1)->HasU();
9609
9610 wxPyEndAllowThreads(__tstate);
9611 if (PyErr_Occurred()) SWIG_fail;
9612 }
9613 resultobj = PyInt_FromLong((long)result);
9614 return resultobj;
9615 fail:
9616 return NULL;
9617}
9618
9619
9620static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
9621 PyObject *resultobj;
9622 wxJoystick *arg1 = (wxJoystick *) 0 ;
9623 bool result;
9624 PyObject * obj0 = 0 ;
9625 char *kwnames[] = {
9626 (char *) "self", NULL
9627 };
9628
9629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
9630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9631 {
9632 PyThreadState* __tstate = wxPyBeginAllowThreads();
9633 result = (bool)(arg1)->HasV();
9634
9635 wxPyEndAllowThreads(__tstate);
9636 if (PyErr_Occurred()) SWIG_fail;
9637 }
9638 resultobj = PyInt_FromLong((long)result);
9639 return resultobj;
9640 fail:
9641 return NULL;
9642}
9643
9644
9645static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
9646 PyObject *resultobj;
9647 wxJoystick *arg1 = (wxJoystick *) 0 ;
9648 bool result;
9649 PyObject * obj0 = 0 ;
9650 char *kwnames[] = {
9651 (char *) "self", NULL
9652 };
9653
9654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
9655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9656 {
9657 PyThreadState* __tstate = wxPyBeginAllowThreads();
9658 result = (bool)(arg1)->HasPOV();
9659
9660 wxPyEndAllowThreads(__tstate);
9661 if (PyErr_Occurred()) SWIG_fail;
9662 }
9663 resultobj = PyInt_FromLong((long)result);
9664 return resultobj;
9665 fail:
9666 return NULL;
9667}
9668
9669
9670static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
9671 PyObject *resultobj;
9672 wxJoystick *arg1 = (wxJoystick *) 0 ;
9673 bool result;
9674 PyObject * obj0 = 0 ;
9675 char *kwnames[] = {
9676 (char *) "self", NULL
9677 };
9678
9679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
9680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9681 {
9682 PyThreadState* __tstate = wxPyBeginAllowThreads();
9683 result = (bool)(arg1)->HasPOV4Dir();
9684
9685 wxPyEndAllowThreads(__tstate);
9686 if (PyErr_Occurred()) SWIG_fail;
9687 }
9688 resultobj = PyInt_FromLong((long)result);
9689 return resultobj;
9690 fail:
9691 return NULL;
9692}
9693
9694
9695static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
9696 PyObject *resultobj;
9697 wxJoystick *arg1 = (wxJoystick *) 0 ;
9698 bool result;
9699 PyObject * obj0 = 0 ;
9700 char *kwnames[] = {
9701 (char *) "self", NULL
9702 };
9703
9704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
9705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9706 {
9707 PyThreadState* __tstate = wxPyBeginAllowThreads();
9708 result = (bool)(arg1)->HasPOVCTS();
9709
9710 wxPyEndAllowThreads(__tstate);
9711 if (PyErr_Occurred()) SWIG_fail;
9712 }
9713 resultobj = PyInt_FromLong((long)result);
9714 return resultobj;
9715 fail:
9716 return NULL;
9717}
9718
9719
9720static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9721 PyObject *resultobj;
9722 wxJoystick *arg1 = (wxJoystick *) 0 ;
9723 wxWindow *arg2 = (wxWindow *) 0 ;
9724 int arg3 = (int) 0 ;
9725 bool result;
9726 PyObject * obj0 = 0 ;
9727 PyObject * obj1 = 0 ;
9728 char *kwnames[] = {
9729 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9730 };
9731
9732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Joystick_SetCapture",kwnames,&obj0,&obj1,&arg3)) goto fail;
9733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9734 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9735 {
9736 PyThreadState* __tstate = wxPyBeginAllowThreads();
9737 result = (bool)(arg1)->SetCapture(arg2,arg3);
9738
9739 wxPyEndAllowThreads(__tstate);
9740 if (PyErr_Occurred()) SWIG_fail;
9741 }
9742 resultobj = PyInt_FromLong((long)result);
9743 return resultobj;
9744 fail:
9745 return NULL;
9746}
9747
9748
9749static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9750 PyObject *resultobj;
9751 wxJoystick *arg1 = (wxJoystick *) 0 ;
9752 bool result;
9753 PyObject * obj0 = 0 ;
9754 char *kwnames[] = {
9755 (char *) "self", NULL
9756 };
9757
9758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
9759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9760 {
9761 PyThreadState* __tstate = wxPyBeginAllowThreads();
9762 result = (bool)(arg1)->ReleaseCapture();
9763
9764 wxPyEndAllowThreads(__tstate);
9765 if (PyErr_Occurred()) SWIG_fail;
9766 }
9767 resultobj = PyInt_FromLong((long)result);
9768 return resultobj;
9769 fail:
9770 return NULL;
9771}
9772
9773
9774static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
9775 PyObject *obj;
9776 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9777 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
9778 Py_INCREF(obj);
9779 return Py_BuildValue((char *)"");
9780}
9781static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9782 PyObject *resultobj;
9783 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9784 wxPoint *arg2 = (wxPoint *) 0 ;
9785 PyObject * obj0 = 0 ;
9786 PyObject * obj1 = 0 ;
9787 char *kwnames[] = {
9788 (char *) "self",(char *) "m_pos", NULL
9789 };
9790
9791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
9792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9793 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9794 if (arg1) (arg1)->m_pos = *arg2;
9795
9796 Py_INCREF(Py_None); resultobj = Py_None;
9797 return resultobj;
9798 fail:
9799 return NULL;
9800}
9801
9802
9803static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9804 PyObject *resultobj;
9805 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9806 wxPoint *result;
9807 PyObject * obj0 = 0 ;
9808 char *kwnames[] = {
9809 (char *) "self", NULL
9810 };
9811
9812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
9813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9814 result = (wxPoint *)& ((arg1)->m_pos);
9815
9816 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
9817 return resultobj;
9818 fail:
9819 return NULL;
9820}
9821
9822
9823static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9824 PyObject *resultobj;
9825 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9826 int arg2 ;
9827 PyObject * obj0 = 0 ;
9828 char *kwnames[] = {
9829 (char *) "self",(char *) "m_zPosition", NULL
9830 };
9831
9832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames,&obj0,&arg2)) goto fail;
9833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9834 if (arg1) (arg1)->m_zPosition = arg2;
9835
9836 Py_INCREF(Py_None); resultobj = Py_None;
9837 return resultobj;
9838 fail:
9839 return NULL;
9840}
9841
9842
9843static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9844 PyObject *resultobj;
9845 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9846 int result;
9847 PyObject * obj0 = 0 ;
9848 char *kwnames[] = {
9849 (char *) "self", NULL
9850 };
9851
9852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
9853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9854 result = (int) ((arg1)->m_zPosition);
9855
9856 resultobj = PyInt_FromLong((long)result);
9857 return resultobj;
9858 fail:
9859 return NULL;
9860}
9861
9862
9863static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9864 PyObject *resultobj;
9865 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9866 int arg2 ;
9867 PyObject * obj0 = 0 ;
9868 char *kwnames[] = {
9869 (char *) "self",(char *) "m_buttonChange", NULL
9870 };
9871
9872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&arg2)) goto fail;
9873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9874 if (arg1) (arg1)->m_buttonChange = arg2;
9875
9876 Py_INCREF(Py_None); resultobj = Py_None;
9877 return resultobj;
9878 fail:
9879 return NULL;
9880}
9881
9882
9883static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9884 PyObject *resultobj;
9885 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9886 int result;
9887 PyObject * obj0 = 0 ;
9888 char *kwnames[] = {
9889 (char *) "self", NULL
9890 };
9891
9892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
9893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9894 result = (int) ((arg1)->m_buttonChange);
9895
9896 resultobj = PyInt_FromLong((long)result);
9897 return resultobj;
9898 fail:
9899 return NULL;
9900}
9901
9902
9903static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9904 PyObject *resultobj;
9905 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9906 int arg2 ;
9907 PyObject * obj0 = 0 ;
9908 char *kwnames[] = {
9909 (char *) "self",(char *) "m_buttonState", NULL
9910 };
9911
9912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames,&obj0,&arg2)) goto fail;
9913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9914 if (arg1) (arg1)->m_buttonState = arg2;
9915
9916 Py_INCREF(Py_None); resultobj = Py_None;
9917 return resultobj;
9918 fail:
9919 return NULL;
9920}
9921
9922
9923static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9924 PyObject *resultobj;
9925 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9926 int result;
9927 PyObject * obj0 = 0 ;
9928 char *kwnames[] = {
9929 (char *) "self", NULL
9930 };
9931
9932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
9933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9934 result = (int) ((arg1)->m_buttonState);
9935
9936 resultobj = PyInt_FromLong((long)result);
9937 return resultobj;
9938 fail:
9939 return NULL;
9940}
9941
9942
9943static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9944 PyObject *resultobj;
9945 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9946 int arg2 ;
9947 PyObject * obj0 = 0 ;
9948 char *kwnames[] = {
9949 (char *) "self",(char *) "m_joyStick", NULL
9950 };
9951
9952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames,&obj0,&arg2)) goto fail;
9953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9954 if (arg1) (arg1)->m_joyStick = arg2;
9955
9956 Py_INCREF(Py_None); resultobj = Py_None;
9957 return resultobj;
9958 fail:
9959 return NULL;
9960}
9961
9962
9963static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9964 PyObject *resultobj;
9965 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9966 int result;
9967 PyObject * obj0 = 0 ;
9968 char *kwnames[] = {
9969 (char *) "self", NULL
9970 };
9971
9972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
9973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9974 result = (int) ((arg1)->m_joyStick);
9975
9976 resultobj = PyInt_FromLong((long)result);
9977 return resultobj;
9978 fail:
9979 return NULL;
9980}
9981
9982
9983static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9984 PyObject *resultobj;
9985 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
9986 int arg2 = (int) 0 ;
9987 int arg3 = (int) wxJOYSTICK1 ;
9988 int arg4 = (int) 0 ;
9989 wxJoystickEvent *result;
9990 char *kwnames[] = {
9991 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
9992 };
9993
9994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_JoystickEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
9995 {
9996 PyThreadState* __tstate = wxPyBeginAllowThreads();
9997 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
9998
9999 wxPyEndAllowThreads(__tstate);
10000 if (PyErr_Occurred()) SWIG_fail;
10001 }
10002 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystickEvent, 1);
10003 return resultobj;
10004 fail:
10005 return NULL;
10006}
10007
10008
10009static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10010 PyObject *resultobj;
10011 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10012 wxPoint result;
10013 PyObject * obj0 = 0 ;
10014 char *kwnames[] = {
10015 (char *) "self", NULL
10016 };
10017
10018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
10019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10020 {
10021 PyThreadState* __tstate = wxPyBeginAllowThreads();
10022 result = ((wxJoystickEvent const *)arg1)->GetPosition();
10023
10024 wxPyEndAllowThreads(__tstate);
10025 if (PyErr_Occurred()) SWIG_fail;
10026 }
10027 {
10028 wxPoint * resultptr;
10029 resultptr = new wxPoint((wxPoint &) result);
10030 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
10031 }
10032 return resultobj;
10033 fail:
10034 return NULL;
10035}
10036
10037
10038static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10039 PyObject *resultobj;
10040 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10041 int result;
10042 PyObject * obj0 = 0 ;
10043 char *kwnames[] = {
10044 (char *) "self", NULL
10045 };
10046
10047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
10048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10049 {
10050 PyThreadState* __tstate = wxPyBeginAllowThreads();
10051 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
10052
10053 wxPyEndAllowThreads(__tstate);
10054 if (PyErr_Occurred()) SWIG_fail;
10055 }
10056 resultobj = PyInt_FromLong((long)result);
10057 return resultobj;
10058 fail:
10059 return NULL;
10060}
10061
10062
10063static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10064 PyObject *resultobj;
10065 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10066 int result;
10067 PyObject * obj0 = 0 ;
10068 char *kwnames[] = {
10069 (char *) "self", NULL
10070 };
10071
10072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
10073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10074 {
10075 PyThreadState* __tstate = wxPyBeginAllowThreads();
10076 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
10077
10078 wxPyEndAllowThreads(__tstate);
10079 if (PyErr_Occurred()) SWIG_fail;
10080 }
10081 resultobj = PyInt_FromLong((long)result);
10082 return resultobj;
10083 fail:
10084 return NULL;
10085}
10086
10087
10088static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10089 PyObject *resultobj;
10090 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10091 int result;
10092 PyObject * obj0 = 0 ;
10093 char *kwnames[] = {
10094 (char *) "self", NULL
10095 };
10096
10097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
10098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10099 {
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
10101 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10102
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 resultobj = PyInt_FromLong((long)result);
10107 return resultobj;
10108 fail:
10109 return NULL;
10110}
10111
10112
10113static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10114 PyObject *resultobj;
10115 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10116 int result;
10117 PyObject * obj0 = 0 ;
10118 char *kwnames[] = {
10119 (char *) "self", NULL
10120 };
10121
10122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
10123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10124 {
10125 PyThreadState* __tstate = wxPyBeginAllowThreads();
10126 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
10127
10128 wxPyEndAllowThreads(__tstate);
10129 if (PyErr_Occurred()) SWIG_fail;
10130 }
10131 resultobj = PyInt_FromLong((long)result);
10132 return resultobj;
10133 fail:
10134 return NULL;
10135}
10136
10137
10138static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10139 PyObject *resultobj;
10140 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10141 int arg2 ;
10142 PyObject * obj0 = 0 ;
10143 char *kwnames[] = {
10144 (char *) "self",(char *) "stick", NULL
10145 };
10146
10147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetJoystick",kwnames,&obj0,&arg2)) goto fail;
10148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10149 {
10150 PyThreadState* __tstate = wxPyBeginAllowThreads();
10151 (arg1)->SetJoystick(arg2);
10152
10153 wxPyEndAllowThreads(__tstate);
10154 if (PyErr_Occurred()) SWIG_fail;
10155 }
10156 Py_INCREF(Py_None); resultobj = Py_None;
10157 return resultobj;
10158 fail:
10159 return NULL;
10160}
10161
10162
10163static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10164 PyObject *resultobj;
10165 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10166 int arg2 ;
10167 PyObject * obj0 = 0 ;
10168 char *kwnames[] = {
10169 (char *) "self",(char *) "state", NULL
10170 };
10171
10172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonState",kwnames,&obj0,&arg2)) goto fail;
10173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10174 {
10175 PyThreadState* __tstate = wxPyBeginAllowThreads();
10176 (arg1)->SetButtonState(arg2);
10177
10178 wxPyEndAllowThreads(__tstate);
10179 if (PyErr_Occurred()) SWIG_fail;
10180 }
10181 Py_INCREF(Py_None); resultobj = Py_None;
10182 return resultobj;
10183 fail:
10184 return NULL;
10185}
10186
10187
10188static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10189 PyObject *resultobj;
10190 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10191 int arg2 ;
10192 PyObject * obj0 = 0 ;
10193 char *kwnames[] = {
10194 (char *) "self",(char *) "change", NULL
10195 };
10196
10197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames,&obj0,&arg2)) goto fail;
10198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10199 {
10200 PyThreadState* __tstate = wxPyBeginAllowThreads();
10201 (arg1)->SetButtonChange(arg2);
10202
10203 wxPyEndAllowThreads(__tstate);
10204 if (PyErr_Occurred()) SWIG_fail;
10205 }
10206 Py_INCREF(Py_None); resultobj = Py_None;
10207 return resultobj;
10208 fail:
10209 return NULL;
10210}
10211
10212
10213static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10214 PyObject *resultobj;
10215 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10216 wxPoint *arg2 = 0 ;
10217 wxPoint temp2 ;
10218 PyObject * obj0 = 0 ;
10219 PyObject * obj1 = 0 ;
10220 char *kwnames[] = {
10221 (char *) "self",(char *) "pos", NULL
10222 };
10223
10224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10226 {
10227 arg2 = &temp2;
10228 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10229 }
10230 {
10231 PyThreadState* __tstate = wxPyBeginAllowThreads();
10232 (arg1)->SetPosition((wxPoint const &)*arg2);
10233
10234 wxPyEndAllowThreads(__tstate);
10235 if (PyErr_Occurred()) SWIG_fail;
10236 }
10237 Py_INCREF(Py_None); resultobj = Py_None;
10238 return resultobj;
10239 fail:
10240 return NULL;
10241}
10242
10243
10244static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10245 PyObject *resultobj;
10246 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10247 int arg2 ;
10248 PyObject * obj0 = 0 ;
10249 char *kwnames[] = {
10250 (char *) "self",(char *) "zPos", NULL
10251 };
10252
10253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetZPosition",kwnames,&obj0,&arg2)) goto fail;
10254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10255 {
10256 PyThreadState* __tstate = wxPyBeginAllowThreads();
10257 (arg1)->SetZPosition(arg2);
10258
10259 wxPyEndAllowThreads(__tstate);
10260 if (PyErr_Occurred()) SWIG_fail;
10261 }
10262 Py_INCREF(Py_None); resultobj = Py_None;
10263 return resultobj;
10264 fail:
10265 return NULL;
10266}
10267
10268
10269static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10270 PyObject *resultobj;
10271 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10272 bool result;
10273 PyObject * obj0 = 0 ;
10274 char *kwnames[] = {
10275 (char *) "self", NULL
10276 };
10277
10278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
10279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10280 {
10281 PyThreadState* __tstate = wxPyBeginAllowThreads();
10282 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
10283
10284 wxPyEndAllowThreads(__tstate);
10285 if (PyErr_Occurred()) SWIG_fail;
10286 }
10287 resultobj = PyInt_FromLong((long)result);
10288 return resultobj;
10289 fail:
10290 return NULL;
10291}
10292
10293
10294static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10295 PyObject *resultobj;
10296 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10297 bool result;
10298 PyObject * obj0 = 0 ;
10299 char *kwnames[] = {
10300 (char *) "self", NULL
10301 };
10302
10303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
10304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10305 {
10306 PyThreadState* __tstate = wxPyBeginAllowThreads();
10307 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
10308
10309 wxPyEndAllowThreads(__tstate);
10310 if (PyErr_Occurred()) SWIG_fail;
10311 }
10312 resultobj = PyInt_FromLong((long)result);
10313 return resultobj;
10314 fail:
10315 return NULL;
10316}
10317
10318
10319static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10320 PyObject *resultobj;
10321 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10322 bool result;
10323 PyObject * obj0 = 0 ;
10324 char *kwnames[] = {
10325 (char *) "self", NULL
10326 };
10327
10328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
10329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10330 {
10331 PyThreadState* __tstate = wxPyBeginAllowThreads();
10332 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
10333
10334 wxPyEndAllowThreads(__tstate);
10335 if (PyErr_Occurred()) SWIG_fail;
10336 }
10337 resultobj = PyInt_FromLong((long)result);
10338 return resultobj;
10339 fail:
10340 return NULL;
10341}
10342
10343
10344static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10345 PyObject *resultobj;
10346 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10347 int arg2 = (int) wxJOY_BUTTON_ANY ;
10348 bool result;
10349 PyObject * obj0 = 0 ;
10350 char *kwnames[] = {
10351 (char *) "self",(char *) "but", NULL
10352 };
10353
10354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonDown",kwnames,&obj0,&arg2)) goto fail;
10355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10356 {
10357 PyThreadState* __tstate = wxPyBeginAllowThreads();
10358 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
10359
10360 wxPyEndAllowThreads(__tstate);
10361 if (PyErr_Occurred()) SWIG_fail;
10362 }
10363 resultobj = PyInt_FromLong((long)result);
10364 return resultobj;
10365 fail:
10366 return NULL;
10367}
10368
10369
10370static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
10371 PyObject *resultobj;
10372 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10373 int arg2 = (int) wxJOY_BUTTON_ANY ;
10374 bool result;
10375 PyObject * obj0 = 0 ;
10376 char *kwnames[] = {
10377 (char *) "self",(char *) "but", NULL
10378 };
10379
10380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonUp",kwnames,&obj0,&arg2)) goto fail;
10381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10382 {
10383 PyThreadState* __tstate = wxPyBeginAllowThreads();
10384 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
10385
10386 wxPyEndAllowThreads(__tstate);
10387 if (PyErr_Occurred()) SWIG_fail;
10388 }
10389 resultobj = PyInt_FromLong((long)result);
10390 return resultobj;
10391 fail:
10392 return NULL;
10393}
10394
10395
10396static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10397 PyObject *resultobj;
10398 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10399 int arg2 = (int) wxJOY_BUTTON_ANY ;
10400 bool result;
10401 PyObject * obj0 = 0 ;
10402 char *kwnames[] = {
10403 (char *) "self",(char *) "but", NULL
10404 };
10405
10406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames,&obj0,&arg2)) goto fail;
10407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10408 {
10409 PyThreadState* __tstate = wxPyBeginAllowThreads();
10410 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
10411
10412 wxPyEndAllowThreads(__tstate);
10413 if (PyErr_Occurred()) SWIG_fail;
10414 }
10415 resultobj = PyInt_FromLong((long)result);
10416 return resultobj;
10417 fail:
10418 return NULL;
10419}
10420
10421
10422static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
10423 PyObject *obj;
10424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10425 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
10426 Py_INCREF(obj);
10427 return Py_BuildValue((char *)"");
10428}
10429static PyObject *_wrap_new_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10430 PyObject *resultobj;
10431 wxString *arg1 = 0 ;
e811c8ce 10432 bool arg2 = (bool) False ;
d14a1e28 10433 wxWave *result;
e811c8ce 10434 bool temp1 = False ;
d14a1e28
RD
10435 PyObject * obj0 = 0 ;
10436 PyObject * obj1 = 0 ;
10437 char *kwnames[] = {
10438 (char *) "fileName",(char *) "isResource", NULL
10439 };
10440
10441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Wave",kwnames,&obj0,&obj1)) goto fail;
10442 {
10443 arg1 = wxString_in_helper(obj0);
10444 if (arg1 == NULL) SWIG_fail;
e811c8ce 10445 temp1 = True;
d14a1e28
RD
10446 }
10447 if (obj1) {
10448 arg2 = PyInt_AsLong(obj1) ? true : false;
10449 if (PyErr_Occurred()) SWIG_fail;
10450 }
10451 {
10452 PyThreadState* __tstate = wxPyBeginAllowThreads();
10453 result = (wxWave *)new wxWave((wxString const &)*arg1,arg2);
10454
10455 wxPyEndAllowThreads(__tstate);
10456 if (PyErr_Occurred()) SWIG_fail;
10457 }
10458 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10459 {
10460 if (temp1)
10461 delete arg1;
10462 }
10463 return resultobj;
10464 fail:
10465 {
10466 if (temp1)
10467 delete arg1;
10468 }
10469 return NULL;
10470}
10471
10472
10473static PyObject *_wrap_new_WaveData(PyObject *self, PyObject *args, PyObject *kwargs) {
10474 PyObject *resultobj;
10475 wxString *arg1 = 0 ;
10476 wxWave *result;
e811c8ce 10477 bool temp1 = False ;
d14a1e28
RD
10478 PyObject * obj0 = 0 ;
10479 char *kwnames[] = {
10480 (char *) "data", NULL
10481 };
10482
10483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_WaveData",kwnames,&obj0)) goto fail;
10484 {
10485 arg1 = wxString_in_helper(obj0);
10486 if (arg1 == NULL) SWIG_fail;
e811c8ce 10487 temp1 = True;
d14a1e28
RD
10488 }
10489 {
10490 PyThreadState* __tstate = wxPyBeginAllowThreads();
10491 result = (wxWave *)new_wxWave((wxString const &)*arg1);
10492
10493 wxPyEndAllowThreads(__tstate);
10494 if (PyErr_Occurred()) SWIG_fail;
10495 }
10496 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10497 {
10498 if (temp1)
10499 delete arg1;
10500 }
10501 return resultobj;
10502 fail:
10503 {
10504 if (temp1)
10505 delete arg1;
10506 }
10507 return NULL;
10508}
10509
10510
10511static PyObject *_wrap_delete_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10512 PyObject *resultobj;
10513 wxWave *arg1 = (wxWave *) 0 ;
10514 PyObject * obj0 = 0 ;
10515 char *kwnames[] = {
10516 (char *) "self", NULL
10517 };
10518
10519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Wave",kwnames,&obj0)) goto fail;
10520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10521 {
10522 PyThreadState* __tstate = wxPyBeginAllowThreads();
10523 delete arg1;
10524
10525 wxPyEndAllowThreads(__tstate);
10526 if (PyErr_Occurred()) SWIG_fail;
10527 }
10528 Py_INCREF(Py_None); resultobj = Py_None;
10529 return resultobj;
10530 fail:
10531 return NULL;
10532}
10533
10534
10535static PyObject *_wrap_Wave_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10536 PyObject *resultobj;
10537 wxWave *arg1 = (wxWave *) 0 ;
10538 bool result;
10539 PyObject * obj0 = 0 ;
10540 char *kwnames[] = {
10541 (char *) "self", NULL
10542 };
10543
10544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wave_IsOk",kwnames,&obj0)) goto fail;
10545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10546 {
10547 PyThreadState* __tstate = wxPyBeginAllowThreads();
10548 result = (bool)((wxWave const *)arg1)->IsOk();
10549
10550 wxPyEndAllowThreads(__tstate);
10551 if (PyErr_Occurred()) SWIG_fail;
10552 }
10553 resultobj = PyInt_FromLong((long)result);
10554 return resultobj;
10555 fail:
10556 return NULL;
10557}
10558
10559
10560static PyObject *_wrap_Wave_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
10561 PyObject *resultobj;
10562 wxWave *arg1 = (wxWave *) 0 ;
e811c8ce
RD
10563 bool arg2 = (bool) True ;
10564 bool arg3 = (bool) False ;
d14a1e28
RD
10565 bool result;
10566 PyObject * obj0 = 0 ;
10567 PyObject * obj1 = 0 ;
10568 PyObject * obj2 = 0 ;
10569 char *kwnames[] = {
10570 (char *) "self",(char *) "async",(char *) "looped", NULL
10571 };
10572
10573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Wave_Play",kwnames,&obj0,&obj1,&obj2)) goto fail;
10574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10575 if (obj1) {
10576 arg2 = PyInt_AsLong(obj1) ? true : false;
10577 if (PyErr_Occurred()) SWIG_fail;
10578 }
10579 if (obj2) {
10580 arg3 = PyInt_AsLong(obj2) ? true : false;
10581 if (PyErr_Occurred()) SWIG_fail;
10582 }
10583 {
10584 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c3b4aae 10585 result = (bool)(arg1)->Play(arg2,arg3);
d14a1e28
RD
10586
10587 wxPyEndAllowThreads(__tstate);
10588 if (PyErr_Occurred()) SWIG_fail;
10589 }
10590 resultobj = PyInt_FromLong((long)result);
10591 return resultobj;
10592 fail:
10593 return NULL;
10594}
10595
10596
10597static PyObject * Wave_swigregister(PyObject *self, PyObject *args) {
10598 PyObject *obj;
10599 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10600 SWIG_TypeClientData(SWIGTYPE_p_wxWave, obj);
10601 Py_INCREF(obj);
10602 return Py_BuildValue((char *)"");
10603}
10604static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10605 PyObject *resultobj;
10606 wxString *arg1 = 0 ;
10607 wxString *arg2 = 0 ;
10608 wxString *arg3 = 0 ;
10609 wxString *arg4 = 0 ;
10610 wxFileTypeInfo *result;
e811c8ce
RD
10611 bool temp1 = False ;
10612 bool temp2 = False ;
10613 bool temp3 = False ;
10614 bool temp4 = False ;
d14a1e28
RD
10615 PyObject * obj0 = 0 ;
10616 PyObject * obj1 = 0 ;
10617 PyObject * obj2 = 0 ;
10618 PyObject * obj3 = 0 ;
10619 char *kwnames[] = {
10620 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10621 };
10622
10623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10624 {
10625 arg1 = wxString_in_helper(obj0);
10626 if (arg1 == NULL) SWIG_fail;
e811c8ce 10627 temp1 = True;
d14a1e28
RD
10628 }
10629 {
10630 arg2 = wxString_in_helper(obj1);
10631 if (arg2 == NULL) SWIG_fail;
e811c8ce 10632 temp2 = True;
d14a1e28
RD
10633 }
10634 {
10635 arg3 = wxString_in_helper(obj2);
10636 if (arg3 == NULL) SWIG_fail;
e811c8ce 10637 temp3 = True;
d14a1e28
RD
10638 }
10639 {
10640 arg4 = wxString_in_helper(obj3);
10641 if (arg4 == NULL) SWIG_fail;
e811c8ce 10642 temp4 = True;
d14a1e28
RD
10643 }
10644 {
10645 PyThreadState* __tstate = wxPyBeginAllowThreads();
10646 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10647
10648 wxPyEndAllowThreads(__tstate);
10649 if (PyErr_Occurred()) SWIG_fail;
10650 }
10651 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10652 {
10653 if (temp1)
10654 delete arg1;
10655 }
10656 {
10657 if (temp2)
10658 delete arg2;
10659 }
10660 {
10661 if (temp3)
10662 delete arg3;
10663 }
10664 {
10665 if (temp4)
10666 delete arg4;
10667 }
10668 return resultobj;
10669 fail:
10670 {
10671 if (temp1)
10672 delete arg1;
10673 }
10674 {
10675 if (temp2)
10676 delete arg2;
10677 }
10678 {
10679 if (temp3)
10680 delete arg3;
10681 }
10682 {
10683 if (temp4)
10684 delete arg4;
10685 }
10686 return NULL;
10687}
10688
10689
10690static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
10691 PyObject *resultobj;
10692 wxArrayString *arg1 = 0 ;
10693 wxFileTypeInfo *result;
10694 PyObject * obj0 = 0 ;
10695 char *kwnames[] = {
10696 (char *) "sArray", NULL
10697 };
10698
10699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
10700 {
10701 if (! PySequence_Check(obj0)) {
10702 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10703 SWIG_fail;
10704 }
10705 arg1 = new wxArrayString;
10706 int i, len=PySequence_Length(obj0);
10707 for (i=0; i<len; i++) {
10708 PyObject* item = PySequence_GetItem(obj0, i);
10709#if wxUSE_UNICODE
10710 PyObject* str = PyObject_Unicode(item);
10711#else
10712 PyObject* str = PyObject_Str(item);
10713#endif
10714 arg1->Add(Py2wxString(str));
10715 Py_DECREF(item);
10716 Py_DECREF(str);
10717 }
10718 }
10719 {
10720 PyThreadState* __tstate = wxPyBeginAllowThreads();
10721 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
10722
10723 wxPyEndAllowThreads(__tstate);
10724 if (PyErr_Occurred()) SWIG_fail;
10725 }
10726 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10727 {
10728 if (arg1) delete arg1;
10729 }
10730 return resultobj;
10731 fail:
10732 {
10733 if (arg1) delete arg1;
10734 }
10735 return NULL;
10736}
10737
10738
10739static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10740 PyObject *resultobj;
10741 wxFileTypeInfo *result;
10742 char *kwnames[] = {
10743 NULL
10744 };
10745
10746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
10747 {
10748 PyThreadState* __tstate = wxPyBeginAllowThreads();
10749 result = (wxFileTypeInfo *)new wxFileTypeInfo();
10750
10751 wxPyEndAllowThreads(__tstate);
10752 if (PyErr_Occurred()) SWIG_fail;
10753 }
10754 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10755 return resultobj;
10756 fail:
10757 return NULL;
10758}
10759
10760
10761static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
10762 PyObject *resultobj;
10763 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10764 bool result;
10765 PyObject * obj0 = 0 ;
10766 char *kwnames[] = {
10767 (char *) "self", NULL
10768 };
10769
10770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
10771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10772 {
10773 PyThreadState* __tstate = wxPyBeginAllowThreads();
10774 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
10775
10776 wxPyEndAllowThreads(__tstate);
10777 if (PyErr_Occurred()) SWIG_fail;
10778 }
10779 resultobj = PyInt_FromLong((long)result);
10780 return resultobj;
10781 fail:
10782 return NULL;
10783}
10784
10785
10786static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10787 PyObject *resultobj;
10788 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10789 wxString *arg2 = 0 ;
10790 int arg3 = (int) 0 ;
e811c8ce 10791 bool temp2 = False ;
d14a1e28
RD
10792 PyObject * obj0 = 0 ;
10793 PyObject * obj1 = 0 ;
10794 char *kwnames[] = {
10795 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
10796 };
10797
10798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
10799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10800 {
10801 arg2 = wxString_in_helper(obj1);
10802 if (arg2 == NULL) SWIG_fail;
e811c8ce 10803 temp2 = True;
d14a1e28
RD
10804 }
10805 {
10806 PyThreadState* __tstate = wxPyBeginAllowThreads();
10807 (arg1)->SetIcon((wxString const &)*arg2,arg3);
10808
10809 wxPyEndAllowThreads(__tstate);
10810 if (PyErr_Occurred()) SWIG_fail;
10811 }
10812 Py_INCREF(Py_None); resultobj = Py_None;
10813 {
10814 if (temp2)
10815 delete arg2;
10816 }
10817 return resultobj;
10818 fail:
10819 {
10820 if (temp2)
10821 delete arg2;
10822 }
10823 return NULL;
10824}
10825
10826
10827static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10828 PyObject *resultobj;
10829 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10830 wxString *arg2 = 0 ;
e811c8ce 10831 bool temp2 = False ;
d14a1e28
RD
10832 PyObject * obj0 = 0 ;
10833 PyObject * obj1 = 0 ;
10834 char *kwnames[] = {
10835 (char *) "self",(char *) "shortDesc", NULL
10836 };
10837
10838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
10839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10840 {
10841 arg2 = wxString_in_helper(obj1);
10842 if (arg2 == NULL) SWIG_fail;
e811c8ce 10843 temp2 = True;
d14a1e28
RD
10844 }
10845 {
10846 PyThreadState* __tstate = wxPyBeginAllowThreads();
10847 (arg1)->SetShortDesc((wxString const &)*arg2);
10848
10849 wxPyEndAllowThreads(__tstate);
10850 if (PyErr_Occurred()) SWIG_fail;
10851 }
10852 Py_INCREF(Py_None); resultobj = Py_None;
10853 {
10854 if (temp2)
10855 delete arg2;
10856 }
10857 return resultobj;
10858 fail:
10859 {
10860 if (temp2)
10861 delete arg2;
10862 }
10863 return NULL;
10864}
10865
10866
10867static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
10868 PyObject *resultobj;
10869 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10870 wxString *result;
10871 PyObject * obj0 = 0 ;
10872 char *kwnames[] = {
10873 (char *) "self", NULL
10874 };
10875
10876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
10877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10878 {
10879 PyThreadState* __tstate = wxPyBeginAllowThreads();
10880 {
10881 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
10882 result = (wxString *) &_result_ref;
10883 }
10884
10885 wxPyEndAllowThreads(__tstate);
10886 if (PyErr_Occurred()) SWIG_fail;
10887 }
cc6dd355
RD
10888 {
10889#if wxUSE_UNICODE
10890 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10891#else
10892 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10893#endif
10894 }
d14a1e28
RD
10895 return resultobj;
10896 fail:
10897 return NULL;
10898}
10899
10900
10901static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10902 PyObject *resultobj;
10903 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10904 wxString *result;
10905 PyObject * obj0 = 0 ;
10906 char *kwnames[] = {
10907 (char *) "self", NULL
10908 };
10909
10910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
10911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10912 {
10913 PyThreadState* __tstate = wxPyBeginAllowThreads();
10914 {
10915 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
10916 result = (wxString *) &_result_ref;
10917 }
10918
10919 wxPyEndAllowThreads(__tstate);
10920 if (PyErr_Occurred()) SWIG_fail;
10921 }
cc6dd355
RD
10922 {
10923#if wxUSE_UNICODE
10924 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10925#else
10926 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10927#endif
10928 }
d14a1e28
RD
10929 return resultobj;
10930 fail:
10931 return NULL;
10932}
10933
10934
10935static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10936 PyObject *resultobj;
10937 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10938 wxString *result;
10939 PyObject * obj0 = 0 ;
10940 char *kwnames[] = {
10941 (char *) "self", NULL
10942 };
10943
10944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
10945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10946 {
10947 PyThreadState* __tstate = wxPyBeginAllowThreads();
10948 {
10949 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
10950 result = (wxString *) &_result_ref;
10951 }
10952
10953 wxPyEndAllowThreads(__tstate);
10954 if (PyErr_Occurred()) SWIG_fail;
10955 }
cc6dd355
RD
10956 {
10957#if wxUSE_UNICODE
10958 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10959#else
10960 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10961#endif
10962 }
d14a1e28
RD
10963 return resultobj;
10964 fail:
10965 return NULL;
10966}
10967
10968
10969static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10970 PyObject *resultobj;
10971 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10972 wxString *result;
10973 PyObject * obj0 = 0 ;
10974 char *kwnames[] = {
10975 (char *) "self", NULL
10976 };
10977
10978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
10979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10980 {
10981 PyThreadState* __tstate = wxPyBeginAllowThreads();
10982 {
10983 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
10984 result = (wxString *) &_result_ref;
10985 }
10986
10987 wxPyEndAllowThreads(__tstate);
10988 if (PyErr_Occurred()) SWIG_fail;
10989 }
cc6dd355
RD
10990 {
10991#if wxUSE_UNICODE
10992 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10993#else
10994 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10995#endif
10996 }
d14a1e28
RD
10997 return resultobj;
10998 fail:
10999 return NULL;
11000}
11001
11002
11003static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11004 PyObject *resultobj;
11005 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11006 wxString *result;
11007 PyObject * obj0 = 0 ;
11008 char *kwnames[] = {
11009 (char *) "self", NULL
11010 };
11011
11012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
11013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11014 {
11015 PyThreadState* __tstate = wxPyBeginAllowThreads();
11016 {
11017 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
11018 result = (wxString *) &_result_ref;
11019 }
11020
11021 wxPyEndAllowThreads(__tstate);
11022 if (PyErr_Occurred()) SWIG_fail;
11023 }
cc6dd355
RD
11024 {
11025#if wxUSE_UNICODE
11026 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11027#else
11028 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11029#endif
11030 }
d14a1e28
RD
11031 return resultobj;
11032 fail:
11033 return NULL;
11034}
11035
11036
11037static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11038 PyObject *resultobj;
11039 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11040 wxArrayString *result;
11041 PyObject * obj0 = 0 ;
11042 char *kwnames[] = {
11043 (char *) "self", NULL
11044 };
11045
11046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
11047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11048 {
11049 PyThreadState* __tstate = wxPyBeginAllowThreads();
11050 {
11051 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
11052 result = (wxArrayString *) &_result_ref;
11053 }
11054
11055 wxPyEndAllowThreads(__tstate);
11056 if (PyErr_Occurred()) SWIG_fail;
11057 }
11058 {
11059 resultobj = wxArrayString2PyList_helper(*result);
11060 }
11061 return resultobj;
11062 fail:
11063 return NULL;
11064}
11065
11066
11067static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11068 PyObject *resultobj;
11069 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11070 int result;
11071 PyObject * obj0 = 0 ;
11072 char *kwnames[] = {
11073 (char *) "self", NULL
11074 };
11075
11076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
11077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11078 {
11079 PyThreadState* __tstate = wxPyBeginAllowThreads();
11080 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
11081
11082 wxPyEndAllowThreads(__tstate);
11083 if (PyErr_Occurred()) SWIG_fail;
11084 }
11085 resultobj = PyInt_FromLong((long)result);
11086 return resultobj;
11087 fail:
11088 return NULL;
11089}
11090
11091
11092static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
11093 PyObject *resultobj;
11094 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11095 wxString *result;
11096 PyObject * obj0 = 0 ;
11097 char *kwnames[] = {
11098 (char *) "self", NULL
11099 };
11100
11101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
11102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11103 {
11104 PyThreadState* __tstate = wxPyBeginAllowThreads();
11105 {
11106 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
11107 result = (wxString *) &_result_ref;
11108 }
11109
11110 wxPyEndAllowThreads(__tstate);
11111 if (PyErr_Occurred()) SWIG_fail;
11112 }
cc6dd355
RD
11113 {
11114#if wxUSE_UNICODE
11115 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11116#else
11117 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11118#endif
11119 }
d14a1e28
RD
11120 return resultobj;
11121 fail:
11122 return NULL;
11123}
11124
11125
11126static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11127 PyObject *resultobj;
11128 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11129 int result;
11130 PyObject * obj0 = 0 ;
11131 char *kwnames[] = {
11132 (char *) "self", NULL
11133 };
11134
11135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
11136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11137 {
11138 PyThreadState* __tstate = wxPyBeginAllowThreads();
11139 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
11140
11141 wxPyEndAllowThreads(__tstate);
11142 if (PyErr_Occurred()) SWIG_fail;
11143 }
11144 resultobj = PyInt_FromLong((long)result);
11145 return resultobj;
11146 fail:
11147 return NULL;
11148}
11149
11150
11151static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
11152 PyObject *obj;
11153 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11154 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
11155 Py_INCREF(obj);
11156 return Py_BuildValue((char *)"");
11157}
11158static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11159 PyObject *resultobj;
11160 wxFileTypeInfo *arg1 = 0 ;
11161 wxFileType *result;
11162 PyObject * obj0 = 0 ;
11163 char *kwnames[] = {
11164 (char *) "ftInfo", NULL
11165 };
11166
11167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
11168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11169 if (arg1 == NULL) {
11170 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11171 }
11172 {
11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
11174 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
11175
11176 wxPyEndAllowThreads(__tstate);
11177 if (PyErr_Occurred()) SWIG_fail;
11178 }
11179 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11180 return resultobj;
11181 fail:
11182 return NULL;
11183}
11184
11185
11186static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11187 PyObject *resultobj;
11188 wxFileType *arg1 = (wxFileType *) 0 ;
11189 PyObject * obj0 = 0 ;
11190 char *kwnames[] = {
11191 (char *) "self", NULL
11192 };
11193
11194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
11195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11196 {
11197 PyThreadState* __tstate = wxPyBeginAllowThreads();
11198 delete arg1;
11199
11200 wxPyEndAllowThreads(__tstate);
11201 if (PyErr_Occurred()) SWIG_fail;
11202 }
11203 Py_INCREF(Py_None); resultobj = Py_None;
11204 return resultobj;
11205 fail:
11206 return NULL;
11207}
11208
11209
11210static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11211 PyObject *resultobj;
11212 wxFileType *arg1 = (wxFileType *) 0 ;
11213 PyObject *result;
11214 PyObject * obj0 = 0 ;
11215 char *kwnames[] = {
11216 (char *) "self", NULL
11217 };
11218
11219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
11220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11221 {
11222 PyThreadState* __tstate = wxPyBeginAllowThreads();
11223 result = (PyObject *)wxFileType_GetMimeType(arg1);
11224
11225 wxPyEndAllowThreads(__tstate);
11226 if (PyErr_Occurred()) SWIG_fail;
11227 }
11228 resultobj = result;
11229 return resultobj;
11230 fail:
11231 return NULL;
11232}
11233
11234
11235static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11236 PyObject *resultobj;
11237 wxFileType *arg1 = (wxFileType *) 0 ;
11238 PyObject *result;
11239 PyObject * obj0 = 0 ;
11240 char *kwnames[] = {
11241 (char *) "self", NULL
11242 };
11243
11244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
11245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11246 {
11247 PyThreadState* __tstate = wxPyBeginAllowThreads();
11248 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
11249
11250 wxPyEndAllowThreads(__tstate);
11251 if (PyErr_Occurred()) SWIG_fail;
11252 }
11253 resultobj = result;
11254 return resultobj;
11255 fail:
11256 return NULL;
11257}
11258
11259
11260static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11261 PyObject *resultobj;
11262 wxFileType *arg1 = (wxFileType *) 0 ;
11263 PyObject *result;
11264 PyObject * obj0 = 0 ;
11265 char *kwnames[] = {
11266 (char *) "self", NULL
11267 };
11268
11269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
11270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11271 {
11272 PyThreadState* __tstate = wxPyBeginAllowThreads();
11273 result = (PyObject *)wxFileType_GetExtensions(arg1);
11274
11275 wxPyEndAllowThreads(__tstate);
11276 if (PyErr_Occurred()) SWIG_fail;
11277 }
11278 resultobj = result;
11279 return resultobj;
11280 fail:
11281 return NULL;
11282}
11283
11284
11285static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11286 PyObject *resultobj;
11287 wxFileType *arg1 = (wxFileType *) 0 ;
11288 wxIcon *result;
11289 PyObject * obj0 = 0 ;
11290 char *kwnames[] = {
11291 (char *) "self", NULL
11292 };
11293
11294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
11295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11296 {
11297 PyThreadState* __tstate = wxPyBeginAllowThreads();
11298 result = (wxIcon *)wxFileType_GetIcon(arg1);
11299
11300 wxPyEndAllowThreads(__tstate);
11301 if (PyErr_Occurred()) SWIG_fail;
11302 }
11303 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIcon, 1);
11304 return resultobj;
11305 fail:
11306 return NULL;
11307}
11308
11309
11310static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11311 PyObject *resultobj;
11312 wxFileType *arg1 = (wxFileType *) 0 ;
11313 PyObject *result;
11314 PyObject * obj0 = 0 ;
11315 char *kwnames[] = {
11316 (char *) "self", NULL
11317 };
11318
11319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
11320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11321 {
11322 PyThreadState* __tstate = wxPyBeginAllowThreads();
11323 result = (PyObject *)wxFileType_GetIconInfo(arg1);
11324
11325 wxPyEndAllowThreads(__tstate);
11326 if (PyErr_Occurred()) SWIG_fail;
11327 }
11328 resultobj = result;
11329 return resultobj;
11330 fail:
11331 return NULL;
11332}
11333
11334
11335static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11336 PyObject *resultobj;
11337 wxFileType *arg1 = (wxFileType *) 0 ;
11338 PyObject *result;
11339 PyObject * obj0 = 0 ;
11340 char *kwnames[] = {
11341 (char *) "self", NULL
11342 };
11343
11344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
11345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11346 {
11347 PyThreadState* __tstate = wxPyBeginAllowThreads();
11348 result = (PyObject *)wxFileType_GetDescription(arg1);
11349
11350 wxPyEndAllowThreads(__tstate);
11351 if (PyErr_Occurred()) SWIG_fail;
11352 }
11353 resultobj = result;
11354 return resultobj;
11355 fail:
11356 return NULL;
11357}
11358
11359
11360static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11361 PyObject *resultobj;
11362 wxFileType *arg1 = (wxFileType *) 0 ;
11363 wxString *arg2 = 0 ;
11364 wxString const &arg3_defvalue = wxPyEmptyString ;
11365 wxString *arg3 = (wxString *) &arg3_defvalue ;
11366 PyObject *result;
e811c8ce
RD
11367 bool temp2 = False ;
11368 bool temp3 = False ;
d14a1e28
RD
11369 PyObject * obj0 = 0 ;
11370 PyObject * obj1 = 0 ;
11371 PyObject * obj2 = 0 ;
11372 char *kwnames[] = {
11373 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11374 };
11375
11376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11378 {
11379 arg2 = wxString_in_helper(obj1);
11380 if (arg2 == NULL) SWIG_fail;
e811c8ce 11381 temp2 = True;
d14a1e28
RD
11382 }
11383 if (obj2) {
11384 {
11385 arg3 = wxString_in_helper(obj2);
11386 if (arg3 == NULL) SWIG_fail;
e811c8ce 11387 temp3 = True;
d14a1e28
RD
11388 }
11389 }
11390 {
11391 PyThreadState* __tstate = wxPyBeginAllowThreads();
11392 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11393
11394 wxPyEndAllowThreads(__tstate);
11395 if (PyErr_Occurred()) SWIG_fail;
11396 }
11397 resultobj = result;
11398 {
11399 if (temp2)
11400 delete arg2;
11401 }
11402 {
11403 if (temp3)
11404 delete arg3;
11405 }
11406 return resultobj;
11407 fail:
11408 {
11409 if (temp2)
11410 delete arg2;
11411 }
11412 {
11413 if (temp3)
11414 delete arg3;
11415 }
11416 return NULL;
11417}
11418
11419
11420static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11421 PyObject *resultobj;
11422 wxFileType *arg1 = (wxFileType *) 0 ;
11423 wxString *arg2 = 0 ;
11424 wxString const &arg3_defvalue = wxPyEmptyString ;
11425 wxString *arg3 = (wxString *) &arg3_defvalue ;
11426 PyObject *result;
e811c8ce
RD
11427 bool temp2 = False ;
11428 bool temp3 = False ;
d14a1e28
RD
11429 PyObject * obj0 = 0 ;
11430 PyObject * obj1 = 0 ;
11431 PyObject * obj2 = 0 ;
11432 char *kwnames[] = {
11433 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11434 };
11435
11436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11438 {
11439 arg2 = wxString_in_helper(obj1);
11440 if (arg2 == NULL) SWIG_fail;
e811c8ce 11441 temp2 = True;
d14a1e28
RD
11442 }
11443 if (obj2) {
11444 {
11445 arg3 = wxString_in_helper(obj2);
11446 if (arg3 == NULL) SWIG_fail;
e811c8ce 11447 temp3 = True;
d14a1e28
RD
11448 }
11449 }
11450 {
11451 PyThreadState* __tstate = wxPyBeginAllowThreads();
11452 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11453
11454 wxPyEndAllowThreads(__tstate);
11455 if (PyErr_Occurred()) SWIG_fail;
11456 }
11457 resultobj = result;
11458 {
11459 if (temp2)
11460 delete arg2;
11461 }
11462 {
11463 if (temp3)
11464 delete arg3;
11465 }
11466 return resultobj;
11467 fail:
11468 {
11469 if (temp2)
11470 delete arg2;
11471 }
11472 {
11473 if (temp3)
11474 delete arg3;
11475 }
11476 return NULL;
11477}
11478
11479
11480static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
11481 PyObject *resultobj;
11482 wxFileType *arg1 = (wxFileType *) 0 ;
11483 wxString *arg2 = 0 ;
11484 wxString const &arg3_defvalue = wxPyEmptyString ;
11485 wxString *arg3 = (wxString *) &arg3_defvalue ;
11486 PyObject *result;
e811c8ce
RD
11487 bool temp2 = False ;
11488 bool temp3 = False ;
d14a1e28
RD
11489 PyObject * obj0 = 0 ;
11490 PyObject * obj1 = 0 ;
11491 PyObject * obj2 = 0 ;
11492 char *kwnames[] = {
11493 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11494 };
11495
11496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
11497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11498 {
11499 arg2 = wxString_in_helper(obj1);
11500 if (arg2 == NULL) SWIG_fail;
e811c8ce 11501 temp2 = True;
d14a1e28
RD
11502 }
11503 if (obj2) {
11504 {
11505 arg3 = wxString_in_helper(obj2);
11506 if (arg3 == NULL) SWIG_fail;
e811c8ce 11507 temp3 = True;
d14a1e28
RD
11508 }
11509 }
11510 {
11511 PyThreadState* __tstate = wxPyBeginAllowThreads();
11512 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11513
11514 wxPyEndAllowThreads(__tstate);
11515 if (PyErr_Occurred()) SWIG_fail;
11516 }
11517 resultobj = result;
11518 {
11519 if (temp2)
11520 delete arg2;
11521 }
11522 {
11523 if (temp3)
11524 delete arg3;
11525 }
11526 return resultobj;
11527 fail:
11528 {
11529 if (temp2)
11530 delete arg2;
11531 }
11532 {
11533 if (temp3)
11534 delete arg3;
11535 }
11536 return NULL;
11537}
11538
11539
11540static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11541 PyObject *resultobj;
11542 wxFileType *arg1 = (wxFileType *) 0 ;
11543 wxString *arg2 = 0 ;
11544 wxString *arg3 = 0 ;
e811c8ce 11545 bool arg4 = (bool) True ;
d14a1e28 11546 bool result;
e811c8ce
RD
11547 bool temp2 = False ;
11548 bool temp3 = False ;
d14a1e28
RD
11549 PyObject * obj0 = 0 ;
11550 PyObject * obj1 = 0 ;
11551 PyObject * obj2 = 0 ;
11552 PyObject * obj3 = 0 ;
11553 char *kwnames[] = {
11554 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11555 };
11556
11557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11559 {
11560 arg2 = wxString_in_helper(obj1);
11561 if (arg2 == NULL) SWIG_fail;
e811c8ce 11562 temp2 = True;
d14a1e28
RD
11563 }
11564 {
11565 arg3 = wxString_in_helper(obj2);
11566 if (arg3 == NULL) SWIG_fail;
e811c8ce 11567 temp3 = True;
d14a1e28
RD
11568 }
11569 if (obj3) {
11570 arg4 = PyInt_AsLong(obj3) ? true : false;
11571 if (PyErr_Occurred()) SWIG_fail;
11572 }
11573 {
11574 PyThreadState* __tstate = wxPyBeginAllowThreads();
11575 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11576
11577 wxPyEndAllowThreads(__tstate);
11578 if (PyErr_Occurred()) SWIG_fail;
11579 }
11580 resultobj = PyInt_FromLong((long)result);
11581 {
11582 if (temp2)
11583 delete arg2;
11584 }
11585 {
11586 if (temp3)
11587 delete arg3;
11588 }
11589 return resultobj;
11590 fail:
11591 {
11592 if (temp2)
11593 delete arg2;
11594 }
11595 {
11596 if (temp3)
11597 delete arg3;
11598 }
11599 return NULL;
11600}
11601
11602
11603static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11604 PyObject *resultobj;
11605 wxFileType *arg1 = (wxFileType *) 0 ;
11606 wxString const &arg2_defvalue = wxPyEmptyString ;
11607 wxString *arg2 = (wxString *) &arg2_defvalue ;
11608 int arg3 = (int) 0 ;
11609 bool result;
e811c8ce 11610 bool temp2 = False ;
d14a1e28
RD
11611 PyObject * obj0 = 0 ;
11612 PyObject * obj1 = 0 ;
11613 char *kwnames[] = {
11614 (char *) "self",(char *) "cmd",(char *) "index", NULL
11615 };
11616
11617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
11618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11619 if (obj1) {
11620 {
11621 arg2 = wxString_in_helper(obj1);
11622 if (arg2 == NULL) SWIG_fail;
e811c8ce 11623 temp2 = True;
d14a1e28
RD
11624 }
11625 }
11626 {
11627 PyThreadState* __tstate = wxPyBeginAllowThreads();
11628 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
11629
11630 wxPyEndAllowThreads(__tstate);
11631 if (PyErr_Occurred()) SWIG_fail;
11632 }
11633 resultobj = PyInt_FromLong((long)result);
11634 {
11635 if (temp2)
11636 delete arg2;
11637 }
11638 return resultobj;
11639 fail:
11640 {
11641 if (temp2)
11642 delete arg2;
11643 }
11644 return NULL;
11645}
11646
11647
11648static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
11649 PyObject *resultobj;
11650 wxFileType *arg1 = (wxFileType *) 0 ;
11651 bool result;
11652 PyObject * obj0 = 0 ;
11653 char *kwnames[] = {
11654 (char *) "self", NULL
11655 };
11656
11657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
11658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11659 {
11660 PyThreadState* __tstate = wxPyBeginAllowThreads();
11661 result = (bool)(arg1)->Unassociate();
11662
11663 wxPyEndAllowThreads(__tstate);
11664 if (PyErr_Occurred()) SWIG_fail;
11665 }
11666 resultobj = PyInt_FromLong((long)result);
11667 return resultobj;
11668 fail:
11669 return NULL;
11670}
11671
11672
11673static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11674 PyObject *resultobj;
11675 wxString *arg1 = 0 ;
11676 wxString *arg2 = 0 ;
11677 wxString const &arg3_defvalue = wxPyEmptyString ;
11678 wxString *arg3 = (wxString *) &arg3_defvalue ;
11679 wxString result;
e811c8ce
RD
11680 bool temp1 = False ;
11681 bool temp2 = False ;
11682 bool temp3 = False ;
d14a1e28
RD
11683 PyObject * obj0 = 0 ;
11684 PyObject * obj1 = 0 ;
11685 PyObject * obj2 = 0 ;
11686 char *kwnames[] = {
11687 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11688 };
11689
11690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11691 {
11692 arg1 = wxString_in_helper(obj0);
11693 if (arg1 == NULL) SWIG_fail;
e811c8ce 11694 temp1 = True;
d14a1e28
RD
11695 }
11696 {
11697 arg2 = wxString_in_helper(obj1);
11698 if (arg2 == NULL) SWIG_fail;
e811c8ce 11699 temp2 = True;
d14a1e28
RD
11700 }
11701 if (obj2) {
11702 {
11703 arg3 = wxString_in_helper(obj2);
11704 if (arg3 == NULL) SWIG_fail;
e811c8ce 11705 temp3 = True;
d14a1e28
RD
11706 }
11707 }
11708 {
11709 PyThreadState* __tstate = wxPyBeginAllowThreads();
11710 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11711
11712 wxPyEndAllowThreads(__tstate);
11713 if (PyErr_Occurred()) SWIG_fail;
11714 }
11715 {
11716#if wxUSE_UNICODE
11717 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11718#else
11719 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11720#endif
11721 }
11722 {
11723 if (temp1)
11724 delete arg1;
11725 }
11726 {
11727 if (temp2)
11728 delete arg2;
11729 }
11730 {
11731 if (temp3)
11732 delete arg3;
11733 }
11734 return resultobj;
11735 fail:
11736 {
11737 if (temp1)
11738 delete arg1;
11739 }
11740 {
11741 if (temp2)
11742 delete arg2;
11743 }
11744 {
11745 if (temp3)
11746 delete arg3;
11747 }
11748 return NULL;
11749}
11750
11751
11752static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
11753 PyObject *obj;
11754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11755 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
11756 Py_INCREF(obj);
11757 return Py_BuildValue((char *)"");
11758}
11759static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
11760 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
11761 return 1;
11762}
11763
11764
11765static PyObject *_wrap_TheMimeTypesManager_get() {
11766 PyObject *pyobj;
11767
11768 pyobj = SWIG_NewPointerObj((void *) wxTheMimeTypesManager, SWIGTYPE_p_wxMimeTypesManager, 0);
11769 return pyobj;
11770}
11771
11772
11773static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
11774 PyObject *resultobj;
11775 wxString *arg1 = 0 ;
11776 wxString *arg2 = 0 ;
11777 bool result;
e811c8ce
RD
11778 bool temp1 = False ;
11779 bool temp2 = False ;
d14a1e28
RD
11780 PyObject * obj0 = 0 ;
11781 PyObject * obj1 = 0 ;
11782 char *kwnames[] = {
11783 (char *) "mimeType",(char *) "wildcard", NULL
11784 };
11785
11786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
11787 {
11788 arg1 = wxString_in_helper(obj0);
11789 if (arg1 == NULL) SWIG_fail;
e811c8ce 11790 temp1 = True;
d14a1e28
RD
11791 }
11792 {
11793 arg2 = wxString_in_helper(obj1);
11794 if (arg2 == NULL) SWIG_fail;
e811c8ce 11795 temp2 = True;
d14a1e28
RD
11796 }
11797 {
11798 PyThreadState* __tstate = wxPyBeginAllowThreads();
11799 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
11800
11801 wxPyEndAllowThreads(__tstate);
11802 if (PyErr_Occurred()) SWIG_fail;
11803 }
11804 resultobj = PyInt_FromLong((long)result);
11805 {
11806 if (temp1)
11807 delete arg1;
11808 }
11809 {
11810 if (temp2)
11811 delete arg2;
11812 }
11813 return resultobj;
11814 fail:
11815 {
11816 if (temp1)
11817 delete arg1;
11818 }
11819 {
11820 if (temp2)
11821 delete arg2;
11822 }
11823 return NULL;
11824}
11825
11826
11827static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
11828 PyObject *resultobj;
11829 wxMimeTypesManager *result;
11830 char *kwnames[] = {
11831 NULL
11832 };
11833
11834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
11835 {
11836 PyThreadState* __tstate = wxPyBeginAllowThreads();
11837 result = (wxMimeTypesManager *)new wxMimeTypesManager();
11838
11839 wxPyEndAllowThreads(__tstate);
11840 if (PyErr_Occurred()) SWIG_fail;
11841 }
11842 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMimeTypesManager, 1);
11843 return resultobj;
11844 fail:
11845 return NULL;
11846}
11847
11848
11849static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
11850 PyObject *resultobj;
11851 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11852 int arg2 = (int) wxMAILCAP_ALL ;
11853 wxString const &arg3_defvalue = wxPyEmptyString ;
11854 wxString *arg3 = (wxString *) &arg3_defvalue ;
e811c8ce 11855 bool temp3 = False ;
d14a1e28
RD
11856 PyObject * obj0 = 0 ;
11857 PyObject * obj2 = 0 ;
11858 char *kwnames[] = {
11859 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
11860 };
11861
11862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:MimeTypesManager_Initialize",kwnames,&obj0,&arg2,&obj2)) goto fail;
11863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11864 if (obj2) {
11865 {
11866 arg3 = wxString_in_helper(obj2);
11867 if (arg3 == NULL) SWIG_fail;
e811c8ce 11868 temp3 = True;
d14a1e28
RD
11869 }
11870 }
11871 {
11872 PyThreadState* __tstate = wxPyBeginAllowThreads();
11873 (arg1)->Initialize(arg2,(wxString const &)*arg3);
11874
11875 wxPyEndAllowThreads(__tstate);
11876 if (PyErr_Occurred()) SWIG_fail;
11877 }
11878 Py_INCREF(Py_None); resultobj = Py_None;
11879 {
11880 if (temp3)
11881 delete arg3;
11882 }
11883 return resultobj;
11884 fail:
11885 {
11886 if (temp3)
11887 delete arg3;
11888 }
11889 return NULL;
11890}
11891
11892
11893static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
11894 PyObject *resultobj;
11895 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11896 PyObject * obj0 = 0 ;
11897 char *kwnames[] = {
11898 (char *) "self", NULL
11899 };
11900
11901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
11902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11903 {
11904 PyThreadState* __tstate = wxPyBeginAllowThreads();
11905 (arg1)->ClearData();
11906
11907 wxPyEndAllowThreads(__tstate);
11908 if (PyErr_Occurred()) SWIG_fail;
11909 }
11910 Py_INCREF(Py_None); resultobj = Py_None;
11911 return resultobj;
11912 fail:
11913 return NULL;
11914}
11915
11916
11917static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
11918 PyObject *resultobj;
11919 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11920 wxString *arg2 = 0 ;
11921 wxFileType *result;
e811c8ce 11922 bool temp2 = False ;
d14a1e28
RD
11923 PyObject * obj0 = 0 ;
11924 PyObject * obj1 = 0 ;
11925 char *kwnames[] = {
11926 (char *) "self",(char *) "ext", NULL
11927 };
11928
11929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
11930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11931 {
11932 arg2 = wxString_in_helper(obj1);
11933 if (arg2 == NULL) SWIG_fail;
e811c8ce 11934 temp2 = True;
d14a1e28
RD
11935 }
11936 {
11937 PyThreadState* __tstate = wxPyBeginAllowThreads();
11938 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
11939
11940 wxPyEndAllowThreads(__tstate);
11941 if (PyErr_Occurred()) SWIG_fail;
11942 }
11943 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11944 {
11945 if (temp2)
11946 delete arg2;
11947 }
11948 return resultobj;
11949 fail:
11950 {
11951 if (temp2)
11952 delete arg2;
11953 }
11954 return NULL;
11955}
11956
11957
11958static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11959 PyObject *resultobj;
11960 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11961 wxString *arg2 = 0 ;
11962 wxFileType *result;
e811c8ce 11963 bool temp2 = False ;
d14a1e28
RD
11964 PyObject * obj0 = 0 ;
11965 PyObject * obj1 = 0 ;
11966 char *kwnames[] = {
11967 (char *) "self",(char *) "mimeType", NULL
11968 };
11969
11970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
11971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11972 {
11973 arg2 = wxString_in_helper(obj1);
11974 if (arg2 == NULL) SWIG_fail;
e811c8ce 11975 temp2 = True;
d14a1e28
RD
11976 }
11977 {
11978 PyThreadState* __tstate = wxPyBeginAllowThreads();
11979 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
11980
11981 wxPyEndAllowThreads(__tstate);
11982 if (PyErr_Occurred()) SWIG_fail;
11983 }
11984 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11985 {
11986 if (temp2)
11987 delete arg2;
11988 }
11989 return resultobj;
11990 fail:
11991 {
11992 if (temp2)
11993 delete arg2;
11994 }
11995 return NULL;
11996}
11997
11998
11999static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
12000 PyObject *resultobj;
12001 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12002 wxString *arg2 = 0 ;
e811c8ce 12003 bool arg3 = (bool) False ;
d14a1e28 12004 bool result;
e811c8ce 12005 bool temp2 = False ;
d14a1e28
RD
12006 PyObject * obj0 = 0 ;
12007 PyObject * obj1 = 0 ;
12008 PyObject * obj2 = 0 ;
12009 char *kwnames[] = {
12010 (char *) "self",(char *) "filename",(char *) "fallback", NULL
12011 };
12012
12013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
12014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12015 {
12016 arg2 = wxString_in_helper(obj1);
12017 if (arg2 == NULL) SWIG_fail;
e811c8ce 12018 temp2 = True;
d14a1e28
RD
12019 }
12020 if (obj2) {
12021 arg3 = PyInt_AsLong(obj2) ? true : false;
12022 if (PyErr_Occurred()) SWIG_fail;
12023 }
12024 {
12025 PyThreadState* __tstate = wxPyBeginAllowThreads();
12026 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
12027
12028 wxPyEndAllowThreads(__tstate);
12029 if (PyErr_Occurred()) SWIG_fail;
12030 }
12031 resultobj = PyInt_FromLong((long)result);
12032 {
12033 if (temp2)
12034 delete arg2;
12035 }
12036 return resultobj;
12037 fail:
12038 {
12039 if (temp2)
12040 delete arg2;
12041 }
12042 return NULL;
12043}
12044
12045
12046static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12047 PyObject *resultobj;
12048 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12049 wxString *arg2 = 0 ;
12050 bool result;
e811c8ce 12051 bool temp2 = False ;
d14a1e28
RD
12052 PyObject * obj0 = 0 ;
12053 PyObject * obj1 = 0 ;
12054 char *kwnames[] = {
12055 (char *) "self",(char *) "filename", NULL
12056 };
12057
12058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
12059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12060 {
12061 arg2 = wxString_in_helper(obj1);
12062 if (arg2 == NULL) SWIG_fail;
e811c8ce 12063 temp2 = True;
d14a1e28
RD
12064 }
12065 {
12066 PyThreadState* __tstate = wxPyBeginAllowThreads();
12067 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
12068
12069 wxPyEndAllowThreads(__tstate);
12070 if (PyErr_Occurred()) SWIG_fail;
12071 }
12072 resultobj = PyInt_FromLong((long)result);
12073 {
12074 if (temp2)
12075 delete arg2;
12076 }
12077 return resultobj;
12078 fail:
12079 {
12080 if (temp2)
12081 delete arg2;
12082 }
12083 return NULL;
12084}
12085
12086
12087static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12088 PyObject *resultobj;
12089 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12090 PyObject *result;
12091 PyObject * obj0 = 0 ;
12092 char *kwnames[] = {
12093 (char *) "self", NULL
12094 };
12095
12096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
12097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12098 {
12099 PyThreadState* __tstate = wxPyBeginAllowThreads();
12100 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
12101
12102 wxPyEndAllowThreads(__tstate);
12103 if (PyErr_Occurred()) SWIG_fail;
12104 }
12105 resultobj = result;
12106 return resultobj;
12107 fail:
12108 return NULL;
12109}
12110
12111
12112static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
12113 PyObject *resultobj;
12114 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12115 wxFileTypeInfo *arg2 = 0 ;
12116 PyObject * obj0 = 0 ;
12117 PyObject * obj1 = 0 ;
12118 char *kwnames[] = {
12119 (char *) "self",(char *) "ft", NULL
12120 };
12121
12122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
12123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12124 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12125 if (arg2 == NULL) {
12126 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12127 }
12128 {
12129 PyThreadState* __tstate = wxPyBeginAllowThreads();
12130 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
12131
12132 wxPyEndAllowThreads(__tstate);
12133 if (PyErr_Occurred()) SWIG_fail;
12134 }
12135 Py_INCREF(Py_None); resultobj = Py_None;
12136 return resultobj;
12137 fail:
12138 return NULL;
12139}
12140
12141
12142static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
12143 PyObject *resultobj;
12144 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12145 wxFileTypeInfo *arg2 = 0 ;
12146 wxFileType *result;
12147 PyObject * obj0 = 0 ;
12148 PyObject * obj1 = 0 ;
12149 char *kwnames[] = {
12150 (char *) "self",(char *) "ftInfo", NULL
12151 };
12152
12153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
12154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12155 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12156 if (arg2 == NULL) {
12157 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12158 }
12159 {
12160 PyThreadState* __tstate = wxPyBeginAllowThreads();
12161 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
12162
12163 wxPyEndAllowThreads(__tstate);
12164 if (PyErr_Occurred()) SWIG_fail;
12165 }
12166 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12167 return resultobj;
12168 fail:
12169 return NULL;
12170}
12171
12172
12173static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12174 PyObject *resultobj;
12175 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12176 wxFileType *arg2 = (wxFileType *) 0 ;
12177 bool result;
12178 PyObject * obj0 = 0 ;
12179 PyObject * obj1 = 0 ;
12180 char *kwnames[] = {
12181 (char *) "self",(char *) "ft", NULL
12182 };
12183
12184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
12185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12186 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12187 {
12188 PyThreadState* __tstate = wxPyBeginAllowThreads();
12189 result = (bool)(arg1)->Unassociate(arg2);
12190
12191 wxPyEndAllowThreads(__tstate);
12192 if (PyErr_Occurred()) SWIG_fail;
12193 }
12194 resultobj = PyInt_FromLong((long)result);
12195 return resultobj;
12196 fail:
12197 return NULL;
12198}
12199
12200
12201static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
12202 PyObject *resultobj;
12203 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12204 PyObject * obj0 = 0 ;
12205 char *kwnames[] = {
12206 (char *) "self", NULL
12207 };
12208
12209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
12210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12211 {
12212 PyThreadState* __tstate = wxPyBeginAllowThreads();
12213 delete arg1;
12214
12215 wxPyEndAllowThreads(__tstate);
12216 if (PyErr_Occurred()) SWIG_fail;
12217 }
12218 Py_INCREF(Py_None); resultobj = Py_None;
12219 return resultobj;
12220 fail:
12221 return NULL;
12222}
12223
12224
12225static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
12226 PyObject *obj;
12227 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12228 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
12229 Py_INCREF(obj);
12230 return Py_BuildValue((char *)"");
12231}
12232static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
12233 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
12234 return 1;
12235}
12236
12237
12238static PyObject *_wrap_ART_TOOLBAR_get() {
12239 PyObject *pyobj;
12240
12241 {
12242#if wxUSE_UNICODE
12243 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12244#else
12245 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12246#endif
12247 }
12248 return pyobj;
12249}
12250
12251
12252static int _wrap_ART_MENU_set(PyObject *_val) {
12253 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
12254 return 1;
12255}
12256
12257
12258static PyObject *_wrap_ART_MENU_get() {
12259 PyObject *pyobj;
12260
12261 {
12262#if wxUSE_UNICODE
12263 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12264#else
12265 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12266#endif
12267 }
12268 return pyobj;
12269}
12270
12271
12272static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
12273 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
12274 return 1;
12275}
12276
12277
12278static PyObject *_wrap_ART_FRAME_ICON_get() {
12279 PyObject *pyobj;
12280
12281 {
12282#if wxUSE_UNICODE
12283 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12284#else
12285 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12286#endif
12287 }
12288 return pyobj;
12289}
12290
12291
12292static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
12293 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
12294 return 1;
12295}
12296
12297
12298static PyObject *_wrap_ART_CMN_DIALOG_get() {
12299 PyObject *pyobj;
12300
12301 {
12302#if wxUSE_UNICODE
12303 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12304#else
12305 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12306#endif
12307 }
12308 return pyobj;
12309}
12310
12311
12312static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
12313 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
12314 return 1;
12315}
12316
12317
12318static PyObject *_wrap_ART_HELP_BROWSER_get() {
12319 PyObject *pyobj;
12320
12321 {
12322#if wxUSE_UNICODE
12323 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12324#else
12325 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12326#endif
12327 }
12328 return pyobj;
12329}
12330
12331
12332static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
12333 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
12334 return 1;
12335}
12336
12337
12338static PyObject *_wrap_ART_MESSAGE_BOX_get() {
12339 PyObject *pyobj;
12340
12341 {
12342#if wxUSE_UNICODE
12343 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12344#else
12345 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12346#endif
12347 }
12348 return pyobj;
12349}
12350
12351
12352static int _wrap_ART_OTHER_set(PyObject *_val) {
12353 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
12354 return 1;
12355}
12356
12357
12358static PyObject *_wrap_ART_OTHER_get() {
12359 PyObject *pyobj;
12360
12361 {
12362#if wxUSE_UNICODE
12363 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12364#else
12365 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12366#endif
12367 }
12368 return pyobj;
12369}
12370
12371
12372static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
12373 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
12374 return 1;
12375}
12376
12377
12378static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
12379 PyObject *pyobj;
12380
12381 {
12382#if wxUSE_UNICODE
12383 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12384#else
12385 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12386#endif
12387 }
12388 return pyobj;
12389}
12390
12391
12392static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
12393 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
12394 return 1;
12395}
12396
12397
12398static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
12399 PyObject *pyobj;
12400
12401 {
12402#if wxUSE_UNICODE
12403 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12404#else
12405 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12406#endif
12407 }
12408 return pyobj;
12409}
12410
12411
12412static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
12413 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
12414 return 1;
12415}
12416
12417
12418static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
12419 PyObject *pyobj;
12420
12421 {
12422#if wxUSE_UNICODE
12423 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12424#else
12425 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12426#endif
12427 }
12428 return pyobj;
12429}
12430
12431
12432static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
12433 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
12434 return 1;
12435}
12436
12437
12438static PyObject *_wrap_ART_HELP_SETTINGS_get() {
12439 PyObject *pyobj;
12440
12441 {
12442#if wxUSE_UNICODE
12443 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12444#else
12445 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12446#endif
12447 }
12448 return pyobj;
12449}
12450
12451
12452static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
12453 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
12454 return 1;
12455}
12456
12457
12458static PyObject *_wrap_ART_HELP_BOOK_get() {
12459 PyObject *pyobj;
12460
12461 {
12462#if wxUSE_UNICODE
12463 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12464#else
12465 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12466#endif
12467 }
12468 return pyobj;
12469}
12470
12471
12472static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
12473 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
12474 return 1;
12475}
12476
12477
12478static PyObject *_wrap_ART_HELP_FOLDER_get() {
12479 PyObject *pyobj;
12480
12481 {
12482#if wxUSE_UNICODE
12483 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12484#else
12485 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12486#endif
12487 }
12488 return pyobj;
12489}
12490
12491
12492static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
12493 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
12494 return 1;
12495}
12496
12497
12498static PyObject *_wrap_ART_HELP_PAGE_get() {
12499 PyObject *pyobj;
12500
12501 {
12502#if wxUSE_UNICODE
12503 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12504#else
12505 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12506#endif
12507 }
12508 return pyobj;
12509}
12510
12511
12512static int _wrap_ART_GO_BACK_set(PyObject *_val) {
12513 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
12514 return 1;
12515}
12516
12517
12518static PyObject *_wrap_ART_GO_BACK_get() {
12519 PyObject *pyobj;
12520
12521 {
12522#if wxUSE_UNICODE
12523 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12524#else
12525 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12526#endif
12527 }
12528 return pyobj;
12529}
12530
12531
12532static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
12533 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
12534 return 1;
12535}
12536
12537
12538static PyObject *_wrap_ART_GO_FORWARD_get() {
12539 PyObject *pyobj;
12540
12541 {
12542#if wxUSE_UNICODE
12543 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12544#else
12545 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12546#endif
12547 }
12548 return pyobj;
12549}
12550
12551
12552static int _wrap_ART_GO_UP_set(PyObject *_val) {
12553 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
12554 return 1;
12555}
12556
12557
12558static PyObject *_wrap_ART_GO_UP_get() {
12559 PyObject *pyobj;
12560
12561 {
12562#if wxUSE_UNICODE
12563 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12564#else
12565 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12566#endif
12567 }
12568 return pyobj;
12569}
12570
12571
12572static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
12573 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
12574 return 1;
12575}
12576
12577
12578static PyObject *_wrap_ART_GO_DOWN_get() {
12579 PyObject *pyobj;
12580
12581 {
12582#if wxUSE_UNICODE
12583 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12584#else
12585 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12586#endif
12587 }
12588 return pyobj;
12589}
12590
12591
12592static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
12593 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
12594 return 1;
12595}
12596
12597
12598static PyObject *_wrap_ART_GO_TO_PARENT_get() {
12599 PyObject *pyobj;
12600
12601 {
12602#if wxUSE_UNICODE
12603 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12604#else
12605 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12606#endif
12607 }
12608 return pyobj;
12609}
12610
12611
12612static int _wrap_ART_GO_HOME_set(PyObject *_val) {
12613 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
12614 return 1;
12615}
12616
12617
12618static PyObject *_wrap_ART_GO_HOME_get() {
12619 PyObject *pyobj;
12620
12621 {
12622#if wxUSE_UNICODE
12623 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12624#else
12625 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12626#endif
12627 }
12628 return pyobj;
12629}
12630
12631
12632static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
12633 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
12634 return 1;
12635}
12636
12637
12638static PyObject *_wrap_ART_FILE_OPEN_get() {
12639 PyObject *pyobj;
12640
12641 {
12642#if wxUSE_UNICODE
12643 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12644#else
12645 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12646#endif
12647 }
12648 return pyobj;
12649}
12650
12651
12652static int _wrap_ART_PRINT_set(PyObject *_val) {
12653 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
12654 return 1;
12655}
12656
12657
12658static PyObject *_wrap_ART_PRINT_get() {
12659 PyObject *pyobj;
12660
12661 {
12662#if wxUSE_UNICODE
12663 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12664#else
12665 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12666#endif
12667 }
12668 return pyobj;
12669}
12670
12671
12672static int _wrap_ART_HELP_set(PyObject *_val) {
12673 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
12674 return 1;
12675}
12676
12677
12678static PyObject *_wrap_ART_HELP_get() {
12679 PyObject *pyobj;
12680
12681 {
12682#if wxUSE_UNICODE
12683 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12684#else
12685 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12686#endif
12687 }
12688 return pyobj;
12689}
12690
12691
12692static int _wrap_ART_TIP_set(PyObject *_val) {
12693 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
12694 return 1;
12695}
12696
12697
12698static PyObject *_wrap_ART_TIP_get() {
12699 PyObject *pyobj;
12700
12701 {
12702#if wxUSE_UNICODE
12703 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12704#else
12705 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12706#endif
12707 }
12708 return pyobj;
12709}
12710
12711
12712static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
12713 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
12714 return 1;
12715}
12716
12717
12718static PyObject *_wrap_ART_REPORT_VIEW_get() {
12719 PyObject *pyobj;
12720
12721 {
12722#if wxUSE_UNICODE
12723 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12724#else
12725 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12726#endif
12727 }
12728 return pyobj;
12729}
12730
12731
12732static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
12733 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
12734 return 1;
12735}
12736
12737
12738static PyObject *_wrap_ART_LIST_VIEW_get() {
12739 PyObject *pyobj;
12740
12741 {
12742#if wxUSE_UNICODE
12743 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12744#else
12745 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12746#endif
12747 }
12748 return pyobj;
12749}
12750
12751
12752static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
12753 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
12754 return 1;
12755}
12756
12757
12758static PyObject *_wrap_ART_NEW_DIR_get() {
12759 PyObject *pyobj;
12760
12761 {
12762#if wxUSE_UNICODE
12763 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12764#else
12765 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12766#endif
12767 }
12768 return pyobj;
12769}
12770
12771
12772static int _wrap_ART_FOLDER_set(PyObject *_val) {
12773 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
12774 return 1;
12775}
12776
12777
12778static PyObject *_wrap_ART_FOLDER_get() {
12779 PyObject *pyobj;
12780
12781 {
12782#if wxUSE_UNICODE
12783 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12784#else
12785 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12786#endif
12787 }
12788 return pyobj;
12789}
12790
12791
12792static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
12793 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
12794 return 1;
12795}
12796
12797
12798static PyObject *_wrap_ART_GO_DIR_UP_get() {
12799 PyObject *pyobj;
12800
12801 {
12802#if wxUSE_UNICODE
12803 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12804#else
12805 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12806#endif
12807 }
12808 return pyobj;
12809}
12810
12811
12812static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
12813 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
12814 return 1;
12815}
12816
12817
12818static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
12819 PyObject *pyobj;
12820
12821 {
12822#if wxUSE_UNICODE
12823 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12824#else
12825 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12826#endif
12827 }
12828 return pyobj;
12829}
12830
12831
12832static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
12833 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
12834 return 1;
12835}
12836
12837
12838static PyObject *_wrap_ART_NORMAL_FILE_get() {
12839 PyObject *pyobj;
12840
12841 {
12842#if wxUSE_UNICODE
12843 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12844#else
12845 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12846#endif
12847 }
12848 return pyobj;
12849}
12850
12851
12852static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
12853 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
12854 return 1;
12855}
12856
12857
12858static PyObject *_wrap_ART_TICK_MARK_get() {
12859 PyObject *pyobj;
12860
12861 {
12862#if wxUSE_UNICODE
12863 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12864#else
12865 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12866#endif
12867 }
12868 return pyobj;
12869}
12870
12871
12872static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
12873 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
12874 return 1;
12875}
12876
12877
12878static PyObject *_wrap_ART_CROSS_MARK_get() {
12879 PyObject *pyobj;
12880
12881 {
12882#if wxUSE_UNICODE
12883 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12884#else
12885 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12886#endif
12887 }
12888 return pyobj;
12889}
12890
12891
12892static int _wrap_ART_ERROR_set(PyObject *_val) {
12893 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
12894 return 1;
12895}
12896
12897
12898static PyObject *_wrap_ART_ERROR_get() {
12899 PyObject *pyobj;
12900
12901 {
12902#if wxUSE_UNICODE
12903 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12904#else
12905 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12906#endif
12907 }
12908 return pyobj;
12909}
12910
12911
12912static int _wrap_ART_QUESTION_set(PyObject *_val) {
12913 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
12914 return 1;
12915}
12916
12917
12918static PyObject *_wrap_ART_QUESTION_get() {
12919 PyObject *pyobj;
12920
12921 {
12922#if wxUSE_UNICODE
12923 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12924#else
12925 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12926#endif
12927 }
12928 return pyobj;
12929}
12930
12931
12932static int _wrap_ART_WARNING_set(PyObject *_val) {
12933 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
12934 return 1;
12935}
12936
12937
12938static PyObject *_wrap_ART_WARNING_get() {
12939 PyObject *pyobj;
12940
12941 {
12942#if wxUSE_UNICODE
12943 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12944#else
12945 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12946#endif
12947 }
12948 return pyobj;
12949}
12950
12951
12952static int _wrap_ART_INFORMATION_set(PyObject *_val) {
12953 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
12954 return 1;
12955}
12956
12957
12958static PyObject *_wrap_ART_INFORMATION_get() {
12959 PyObject *pyobj;
12960
12961 {
12962#if wxUSE_UNICODE
12963 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12964#else
12965 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12966#endif
12967 }
12968 return pyobj;
12969}
12970
12971
12972static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
12973 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
12974 return 1;
12975}
12976
12977
12978static PyObject *_wrap_ART_MISSING_IMAGE_get() {
12979 PyObject *pyobj;
12980
12981 {
12982#if wxUSE_UNICODE
12983 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
12984#else
12985 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
12986#endif
12987 }
12988 return pyobj;
12989}
12990
12991
12992static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
12993 PyObject *resultobj;
12994 wxPyArtProvider *result;
12995 char *kwnames[] = {
12996 NULL
12997 };
12998
12999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
13000 {
13001 PyThreadState* __tstate = wxPyBeginAllowThreads();
13002 result = (wxPyArtProvider *)new wxPyArtProvider();
13003
13004 wxPyEndAllowThreads(__tstate);
13005 if (PyErr_Occurred()) SWIG_fail;
13006 }
13007 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyArtProvider, 1);
13008 return resultobj;
13009 fail:
13010 return NULL;
13011}
13012
13013
d14a1e28
RD
13014static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13015 PyObject *resultobj;
13016 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13017 PyObject *arg2 = (PyObject *) 0 ;
13018 PyObject *arg3 = (PyObject *) 0 ;
13019 PyObject * obj0 = 0 ;
13020 PyObject * obj1 = 0 ;
13021 PyObject * obj2 = 0 ;
13022 char *kwnames[] = {
13023 (char *) "self",(char *) "self",(char *) "_class", NULL
13024 };
13025
13026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13028 arg2 = obj1;
13029 arg3 = obj2;
13030 {
13031 PyThreadState* __tstate = wxPyBeginAllowThreads();
13032 (arg1)->_setCallbackInfo(arg2,arg3);
13033
13034 wxPyEndAllowThreads(__tstate);
13035 if (PyErr_Occurred()) SWIG_fail;
13036 }
13037 Py_INCREF(Py_None); resultobj = Py_None;
13038 return resultobj;
13039 fail:
13040 return NULL;
13041}
13042
13043
13044static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13045 PyObject *resultobj;
13046 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13047 PyObject * obj0 = 0 ;
13048 char *kwnames[] = {
13049 (char *) "provider", NULL
13050 };
13051
13052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
13053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13054 {
13055 PyThreadState* __tstate = wxPyBeginAllowThreads();
13056 wxPyArtProvider::PushProvider(arg1);
13057
13058 wxPyEndAllowThreads(__tstate);
13059 if (PyErr_Occurred()) SWIG_fail;
13060 }
13061 Py_INCREF(Py_None); resultobj = Py_None;
13062 return resultobj;
13063 fail:
13064 return NULL;
13065}
13066
13067
13068static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13069 PyObject *resultobj;
13070 bool result;
13071 char *kwnames[] = {
13072 NULL
13073 };
13074
13075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
13076 {
13077 PyThreadState* __tstate = wxPyBeginAllowThreads();
13078 result = (bool)wxPyArtProvider::PopProvider();
13079
13080 wxPyEndAllowThreads(__tstate);
13081 if (PyErr_Occurred()) SWIG_fail;
13082 }
13083 resultobj = PyInt_FromLong((long)result);
13084 return resultobj;
13085 fail:
13086 return NULL;
13087}
13088
13089
13090static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13091 PyObject *resultobj;
13092 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13093 bool result;
13094 PyObject * obj0 = 0 ;
13095 char *kwnames[] = {
13096 (char *) "provider", NULL
13097 };
13098
13099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
13100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13101 {
13102 PyThreadState* __tstate = wxPyBeginAllowThreads();
13103 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
13104
13105 wxPyEndAllowThreads(__tstate);
13106 if (PyErr_Occurred()) SWIG_fail;
13107 }
13108 resultobj = PyInt_FromLong((long)result);
13109 return resultobj;
13110 fail:
13111 return NULL;
13112}
13113
13114
13115static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13116 PyObject *resultobj;
13117 wxString *arg1 = 0 ;
13118 wxString const &arg2_defvalue = wxPyART_OTHER ;
13119 wxString *arg2 = (wxString *) &arg2_defvalue ;
13120 wxSize const &arg3_defvalue = wxDefaultSize ;
13121 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13122 wxBitmap result;
e811c8ce
RD
13123 bool temp1 = False ;
13124 bool temp2 = False ;
d14a1e28
RD
13125 wxSize temp3 ;
13126 PyObject * obj0 = 0 ;
13127 PyObject * obj1 = 0 ;
13128 PyObject * obj2 = 0 ;
13129 char *kwnames[] = {
13130 (char *) "id",(char *) "client",(char *) "size", NULL
13131 };
13132
13133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13134 {
13135 arg1 = wxString_in_helper(obj0);
13136 if (arg1 == NULL) SWIG_fail;
e811c8ce 13137 temp1 = True;
d14a1e28
RD
13138 }
13139 if (obj1) {
13140 {
13141 arg2 = wxString_in_helper(obj1);
13142 if (arg2 == NULL) SWIG_fail;
e811c8ce 13143 temp2 = True;
d14a1e28
RD
13144 }
13145 }
13146 if (obj2) {
13147 {
13148 arg3 = &temp3;
13149 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13150 }
13151 }
13152 {
13153 PyThreadState* __tstate = wxPyBeginAllowThreads();
13154 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13155
13156 wxPyEndAllowThreads(__tstate);
13157 if (PyErr_Occurred()) SWIG_fail;
13158 }
13159 {
13160 wxBitmap * resultptr;
13161 resultptr = new wxBitmap((wxBitmap &) result);
13162 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13163 }
13164 {
13165 if (temp1)
13166 delete arg1;
13167 }
13168 {
13169 if (temp2)
13170 delete arg2;
13171 }
13172 return resultobj;
13173 fail:
13174 {
13175 if (temp1)
13176 delete arg1;
13177 }
13178 {
13179 if (temp2)
13180 delete arg2;
13181 }
13182 return NULL;
13183}
13184
13185
13186static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
13187 PyObject *resultobj;
13188 wxString *arg1 = 0 ;
13189 wxString const &arg2_defvalue = wxPyART_OTHER ;
13190 wxString *arg2 = (wxString *) &arg2_defvalue ;
13191 wxSize const &arg3_defvalue = wxDefaultSize ;
13192 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13193 wxIcon result;
e811c8ce
RD
13194 bool temp1 = False ;
13195 bool temp2 = False ;
d14a1e28
RD
13196 wxSize temp3 ;
13197 PyObject * obj0 = 0 ;
13198 PyObject * obj1 = 0 ;
13199 PyObject * obj2 = 0 ;
13200 char *kwnames[] = {
13201 (char *) "id",(char *) "client",(char *) "size", NULL
13202 };
13203
13204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13205 {
13206 arg1 = wxString_in_helper(obj0);
13207 if (arg1 == NULL) SWIG_fail;
e811c8ce 13208 temp1 = True;
d14a1e28
RD
13209 }
13210 if (obj1) {
13211 {
13212 arg2 = wxString_in_helper(obj1);
13213 if (arg2 == NULL) SWIG_fail;
e811c8ce 13214 temp2 = True;
d14a1e28
RD
13215 }
13216 }
13217 if (obj2) {
13218 {
13219 arg3 = &temp3;
13220 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13221 }
13222 }
13223 {
13224 PyThreadState* __tstate = wxPyBeginAllowThreads();
13225 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13226
13227 wxPyEndAllowThreads(__tstate);
13228 if (PyErr_Occurred()) SWIG_fail;
13229 }
13230 {
13231 wxIcon * resultptr;
13232 resultptr = new wxIcon((wxIcon &) result);
13233 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
13234 }
13235 {
13236 if (temp1)
13237 delete arg1;
13238 }
13239 {
13240 if (temp2)
13241 delete arg2;
13242 }
13243 return resultobj;
13244 fail:
13245 {
13246 if (temp1)
13247 delete arg1;
13248 }
13249 {
13250 if (temp2)
13251 delete arg2;
13252 }
13253 return NULL;
13254}
13255
13256
1e0c8722
RD
13257static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
13258 PyObject *resultobj;
13259 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13260 PyObject * obj0 = 0 ;
13261 char *kwnames[] = {
13262 (char *) "self", NULL
13263 };
13264
13265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
13266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13267 {
13268 PyThreadState* __tstate = wxPyBeginAllowThreads();
13269 wxPyArtProvider_Destroy(arg1);
13270
13271 wxPyEndAllowThreads(__tstate);
13272 if (PyErr_Occurred()) SWIG_fail;
13273 }
13274 Py_INCREF(Py_None); resultobj = Py_None;
13275 return resultobj;
13276 fail:
13277 return NULL;
13278}
13279
13280
d14a1e28
RD
13281static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
13282 PyObject *obj;
13283 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13284 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
13285 Py_INCREF(obj);
13286 return Py_BuildValue((char *)"");
13287}
13288static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
13289 PyObject *resultobj;
13290 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13291 PyObject * obj0 = 0 ;
13292 char *kwnames[] = {
13293 (char *) "self", NULL
13294 };
13295
13296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
13297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13298 {
13299 PyThreadState* __tstate = wxPyBeginAllowThreads();
13300 delete arg1;
13301
13302 wxPyEndAllowThreads(__tstate);
13303 if (PyErr_Occurred()) SWIG_fail;
13304 }
13305 Py_INCREF(Py_None); resultobj = Py_None;
13306 return resultobj;
13307 fail:
13308 return NULL;
13309}
13310
13311
13312static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
13313 PyObject *resultobj;
13314 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13315 wxConfigBase *result;
13316 PyObject * obj0 = 0 ;
13317 char *kwnames[] = {
13318 (char *) "pConfig", NULL
13319 };
13320
13321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
13322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13323 {
13324 PyThreadState* __tstate = wxPyBeginAllowThreads();
13325 result = (wxConfigBase *)wxConfigBase::Set(arg1);
13326
13327 wxPyEndAllowThreads(__tstate);
13328 if (PyErr_Occurred()) SWIG_fail;
13329 }
13330 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13331 return resultobj;
13332 fail:
13333 return NULL;
13334}
13335
13336
13337static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
13338 PyObject *resultobj;
e811c8ce 13339 bool arg1 = (bool) True ;
d14a1e28
RD
13340 wxConfigBase *result;
13341 PyObject * obj0 = 0 ;
13342 char *kwnames[] = {
13343 (char *) "createOnDemand", NULL
13344 };
13345
13346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
13347 if (obj0) {
13348 arg1 = PyInt_AsLong(obj0) ? true : false;
13349 if (PyErr_Occurred()) SWIG_fail;
13350 }
13351 {
13352 PyThreadState* __tstate = wxPyBeginAllowThreads();
13353 result = (wxConfigBase *)wxConfigBase::Get(arg1);
13354
13355 wxPyEndAllowThreads(__tstate);
13356 if (PyErr_Occurred()) SWIG_fail;
13357 }
13358 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13359 return resultobj;
13360 fail:
13361 return NULL;
13362}
13363
13364
13365static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13366 PyObject *resultobj;
13367 wxConfigBase *result;
13368 char *kwnames[] = {
13369 NULL
13370 };
13371
13372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
13373 {
13374 PyThreadState* __tstate = wxPyBeginAllowThreads();
13375 result = (wxConfigBase *)wxConfigBase::Create();
13376
13377 wxPyEndAllowThreads(__tstate);
13378 if (PyErr_Occurred()) SWIG_fail;
13379 }
13380 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13381 return resultobj;
13382 fail:
13383 return NULL;
13384}
13385
13386
13387static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
13388 PyObject *resultobj;
13389 char *kwnames[] = {
13390 NULL
13391 };
13392
13393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
13394 {
13395 PyThreadState* __tstate = wxPyBeginAllowThreads();
13396 wxConfigBase::DontCreateOnDemand();
13397
13398 wxPyEndAllowThreads(__tstate);
13399 if (PyErr_Occurred()) SWIG_fail;
13400 }
13401 Py_INCREF(Py_None); resultobj = Py_None;
13402 return resultobj;
13403 fail:
13404 return NULL;
13405}
13406
13407
13408static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13409 PyObject *resultobj;
13410 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13411 wxString *arg2 = 0 ;
e811c8ce 13412 bool temp2 = False ;
d14a1e28
RD
13413 PyObject * obj0 = 0 ;
13414 PyObject * obj1 = 0 ;
13415 char *kwnames[] = {
13416 (char *) "self",(char *) "strPath", NULL
13417 };
13418
13419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
13420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13421 {
13422 arg2 = wxString_in_helper(obj1);
13423 if (arg2 == NULL) SWIG_fail;
e811c8ce 13424 temp2 = True;
d14a1e28
RD
13425 }
13426 {
13427 PyThreadState* __tstate = wxPyBeginAllowThreads();
13428 (arg1)->SetPath((wxString const &)*arg2);
13429
13430 wxPyEndAllowThreads(__tstate);
13431 if (PyErr_Occurred()) SWIG_fail;
13432 }
13433 Py_INCREF(Py_None); resultobj = Py_None;
13434 {
13435 if (temp2)
13436 delete arg2;
13437 }
13438 return resultobj;
13439 fail:
13440 {
13441 if (temp2)
13442 delete arg2;
13443 }
13444 return NULL;
13445}
13446
13447
13448static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13449 PyObject *resultobj;
13450 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13451 wxString *result;
13452 PyObject * obj0 = 0 ;
13453 char *kwnames[] = {
13454 (char *) "self", NULL
13455 };
13456
13457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
13458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13459 {
13460 PyThreadState* __tstate = wxPyBeginAllowThreads();
13461 {
13462 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
13463 result = (wxString *) &_result_ref;
13464 }
13465
13466 wxPyEndAllowThreads(__tstate);
13467 if (PyErr_Occurred()) SWIG_fail;
13468 }
cc6dd355
RD
13469 {
13470#if wxUSE_UNICODE
13471 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13472#else
13473 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13474#endif
13475 }
d14a1e28
RD
13476 return resultobj;
13477 fail:
13478 return NULL;
13479}
13480
13481
13482static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13483 PyObject *resultobj;
13484 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13485 PyObject *result;
13486 PyObject * obj0 = 0 ;
13487 char *kwnames[] = {
13488 (char *) "self", NULL
13489 };
13490
13491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
13492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13493 {
13494 PyThreadState* __tstate = wxPyBeginAllowThreads();
13495 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
13496
13497 wxPyEndAllowThreads(__tstate);
13498 if (PyErr_Occurred()) SWIG_fail;
13499 }
13500 resultobj = result;
13501 return resultobj;
13502 fail:
13503 return NULL;
13504}
13505
13506
13507static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13508 PyObject *resultobj;
13509 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13510 long arg2 ;
13511 PyObject *result;
13512 PyObject * obj0 = 0 ;
13513 char *kwnames[] = {
13514 (char *) "self",(char *) "index", NULL
13515 };
13516
13517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextGroup",kwnames,&obj0,&arg2)) goto fail;
13518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13519 {
13520 PyThreadState* __tstate = wxPyBeginAllowThreads();
13521 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
13522
13523 wxPyEndAllowThreads(__tstate);
13524 if (PyErr_Occurred()) SWIG_fail;
13525 }
13526 resultobj = result;
13527 return resultobj;
13528 fail:
13529 return NULL;
13530}
13531
13532
13533static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13534 PyObject *resultobj;
13535 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13536 PyObject *result;
13537 PyObject * obj0 = 0 ;
13538 char *kwnames[] = {
13539 (char *) "self", NULL
13540 };
13541
13542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
13543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13544 {
13545 PyThreadState* __tstate = wxPyBeginAllowThreads();
13546 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
13547
13548 wxPyEndAllowThreads(__tstate);
13549 if (PyErr_Occurred()) SWIG_fail;
13550 }
13551 resultobj = result;
13552 return resultobj;
13553 fail:
13554 return NULL;
13555}
13556
13557
13558static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13559 PyObject *resultobj;
13560 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13561 long arg2 ;
13562 PyObject *result;
13563 PyObject * obj0 = 0 ;
13564 char *kwnames[] = {
13565 (char *) "self",(char *) "index", NULL
13566 };
13567
13568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextEntry",kwnames,&obj0,&arg2)) goto fail;
13569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13570 {
13571 PyThreadState* __tstate = wxPyBeginAllowThreads();
13572 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
13573
13574 wxPyEndAllowThreads(__tstate);
13575 if (PyErr_Occurred()) SWIG_fail;
13576 }
13577 resultobj = result;
13578 return resultobj;
13579 fail:
13580 return NULL;
13581}
13582
13583
13584static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
13585 PyObject *resultobj;
13586 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
e811c8ce 13587 bool arg2 = (bool) False ;
d14a1e28
RD
13588 size_t result;
13589 PyObject * obj0 = 0 ;
13590 PyObject * obj1 = 0 ;
13591 char *kwnames[] = {
13592 (char *) "self",(char *) "bRecursive", NULL
13593 };
13594
13595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
13596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13597 if (obj1) {
13598 arg2 = PyInt_AsLong(obj1) ? true : false;
13599 if (PyErr_Occurred()) SWIG_fail;
13600 }
13601 {
13602 PyThreadState* __tstate = wxPyBeginAllowThreads();
13603 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
13604
13605 wxPyEndAllowThreads(__tstate);
13606 if (PyErr_Occurred()) SWIG_fail;
13607 }
13608 resultobj = PyInt_FromLong((long)result);
13609 return resultobj;
13610 fail:
13611 return NULL;
13612}
13613
13614
13615static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
13616 PyObject *resultobj;
13617 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
e811c8ce 13618 bool arg2 = (bool) False ;
d14a1e28
RD
13619 size_t result;
13620 PyObject * obj0 = 0 ;
13621 PyObject * obj1 = 0 ;
13622 char *kwnames[] = {
13623 (char *) "self",(char *) "bRecursive", NULL
13624 };
13625
13626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
13627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13628 if (obj1) {
13629 arg2 = PyInt_AsLong(obj1) ? true : false;
13630 if (PyErr_Occurred()) SWIG_fail;
13631 }
13632 {
13633 PyThreadState* __tstate = wxPyBeginAllowThreads();
13634 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
13635
13636 wxPyEndAllowThreads(__tstate);
13637 if (PyErr_Occurred()) SWIG_fail;
13638 }
13639 resultobj = PyInt_FromLong((long)result);
13640 return resultobj;
13641 fail:
13642 return NULL;
13643}
13644
13645
13646static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13647 PyObject *resultobj;
13648 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13649 wxString *arg2 = 0 ;
13650 bool result;
e811c8ce 13651 bool temp2 = False ;
d14a1e28
RD
13652 PyObject * obj0 = 0 ;
13653 PyObject * obj1 = 0 ;
13654 char *kwnames[] = {
13655 (char *) "self",(char *) "strName", NULL
13656 };
13657
13658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
13659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13660 {
13661 arg2 = wxString_in_helper(obj1);
13662 if (arg2 == NULL) SWIG_fail;
e811c8ce 13663 temp2 = True;
d14a1e28
RD
13664 }
13665 {
13666 PyThreadState* __tstate = wxPyBeginAllowThreads();
13667 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
13668
13669 wxPyEndAllowThreads(__tstate);
13670 if (PyErr_Occurred()) SWIG_fail;
13671 }
13672 resultobj = PyInt_FromLong((long)result);
13673 {
13674 if (temp2)
13675 delete arg2;
13676 }
13677 return resultobj;
13678 fail:
13679 {
13680 if (temp2)
13681 delete arg2;
13682 }
13683 return NULL;
13684}
13685
13686
13687static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13688 PyObject *resultobj;
13689 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13690 wxString *arg2 = 0 ;
13691 bool result;
e811c8ce 13692 bool temp2 = False ;
d14a1e28
RD
13693 PyObject * obj0 = 0 ;
13694 PyObject * obj1 = 0 ;
13695 char *kwnames[] = {
13696 (char *) "self",(char *) "strName", NULL
13697 };
13698
13699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
13700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13701 {
13702 arg2 = wxString_in_helper(obj1);
13703 if (arg2 == NULL) SWIG_fail;
e811c8ce 13704 temp2 = True;
d14a1e28
RD
13705 }
13706 {
13707 PyThreadState* __tstate = wxPyBeginAllowThreads();
13708 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
13709
13710 wxPyEndAllowThreads(__tstate);
13711 if (PyErr_Occurred()) SWIG_fail;
13712 }
13713 resultobj = PyInt_FromLong((long)result);
13714 {
13715 if (temp2)
13716 delete arg2;
13717 }
13718 return resultobj;
13719 fail:
13720 {
13721 if (temp2)
13722 delete arg2;
13723 }
13724 return NULL;
13725}
13726
13727
13728static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
13729 PyObject *resultobj;
13730 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13731 wxString *arg2 = 0 ;
13732 bool result;
e811c8ce 13733 bool temp2 = False ;
d14a1e28
RD
13734 PyObject * obj0 = 0 ;
13735 PyObject * obj1 = 0 ;
13736 char *kwnames[] = {
13737 (char *) "self",(char *) "strName", NULL
13738 };
13739
13740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
13741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13742 {
13743 arg2 = wxString_in_helper(obj1);
13744 if (arg2 == NULL) SWIG_fail;
e811c8ce 13745 temp2 = True;
d14a1e28
RD
13746 }
13747 {
13748 PyThreadState* __tstate = wxPyBeginAllowThreads();
13749 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
13750
13751 wxPyEndAllowThreads(__tstate);
13752 if (PyErr_Occurred()) SWIG_fail;
13753 }
13754 resultobj = PyInt_FromLong((long)result);
13755 {
13756 if (temp2)
13757 delete arg2;
13758 }
13759 return resultobj;
13760 fail:
13761 {
13762 if (temp2)
13763 delete arg2;
13764 }
13765 return NULL;
13766}
13767
13768
13769static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
13770 PyObject *resultobj;
13771 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13772 wxString *arg2 = 0 ;
13773 int result;
e811c8ce 13774 bool temp2 = False ;
d14a1e28
RD
13775 PyObject * obj0 = 0 ;
13776 PyObject * obj1 = 0 ;
13777 char *kwnames[] = {
13778 (char *) "self",(char *) "name", NULL
13779 };
13780
13781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
13782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13783 {
13784 arg2 = wxString_in_helper(obj1);
13785 if (arg2 == NULL) SWIG_fail;
e811c8ce 13786 temp2 = True;
d14a1e28
RD
13787 }
13788 {
13789 PyThreadState* __tstate = wxPyBeginAllowThreads();
13790 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
13791
13792 wxPyEndAllowThreads(__tstate);
13793 if (PyErr_Occurred()) SWIG_fail;
13794 }
13795 resultobj = PyInt_FromLong((long)result);
13796 {
13797 if (temp2)
13798 delete arg2;
13799 }
13800 return resultobj;
13801 fail:
13802 {
13803 if (temp2)
13804 delete arg2;
13805 }
13806 return NULL;
13807}
13808
13809
13810static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
13811 PyObject *resultobj;
13812 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13813 wxString *arg2 = 0 ;
13814 wxString const &arg3_defvalue = wxPyEmptyString ;
13815 wxString *arg3 = (wxString *) &arg3_defvalue ;
13816 wxString result;
e811c8ce
RD
13817 bool temp2 = False ;
13818 bool temp3 = False ;
d14a1e28
RD
13819 PyObject * obj0 = 0 ;
13820 PyObject * obj1 = 0 ;
13821 PyObject * obj2 = 0 ;
13822 char *kwnames[] = {
13823 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13824 };
13825
13826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
13827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13828 {
13829 arg2 = wxString_in_helper(obj1);
13830 if (arg2 == NULL) SWIG_fail;
e811c8ce 13831 temp2 = True;
d14a1e28
RD
13832 }
13833 if (obj2) {
13834 {
13835 arg3 = wxString_in_helper(obj2);
13836 if (arg3 == NULL) SWIG_fail;
e811c8ce 13837 temp3 = True;
d14a1e28
RD
13838 }
13839 }
13840 {
13841 PyThreadState* __tstate = wxPyBeginAllowThreads();
13842 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
13843
13844 wxPyEndAllowThreads(__tstate);
13845 if (PyErr_Occurred()) SWIG_fail;
13846 }
13847 {
13848#if wxUSE_UNICODE
13849 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13850#else
13851 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13852#endif
13853 }
13854 {
13855 if (temp2)
13856 delete arg2;
13857 }
13858 {
13859 if (temp3)
13860 delete arg3;
13861 }
13862 return resultobj;
13863 fail:
13864 {
13865 if (temp2)
13866 delete arg2;
13867 }
13868 {
13869 if (temp3)
13870 delete arg3;
13871 }
13872 return NULL;
13873}
13874
13875
13876static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13877 PyObject *resultobj;
13878 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13879 wxString *arg2 = 0 ;
13880 long arg3 = (long) 0 ;
13881 long result;
e811c8ce 13882 bool temp2 = False ;
d14a1e28
RD
13883 PyObject * obj0 = 0 ;
13884 PyObject * obj1 = 0 ;
13885 char *kwnames[] = {
13886 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13887 };
13888
13889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
13890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13891 {
13892 arg2 = wxString_in_helper(obj1);
13893 if (arg2 == NULL) SWIG_fail;
e811c8ce 13894 temp2 = True;
d14a1e28
RD
13895 }
13896 {
13897 PyThreadState* __tstate = wxPyBeginAllowThreads();
13898 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
13899
13900 wxPyEndAllowThreads(__tstate);
13901 if (PyErr_Occurred()) SWIG_fail;
13902 }
13903 resultobj = PyInt_FromLong((long)result);
13904 {
13905 if (temp2)
13906 delete arg2;
13907 }
13908 return resultobj;
13909 fail:
13910 {
13911 if (temp2)
13912 delete arg2;
13913 }
13914 return NULL;
13915}
13916
13917
13918static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
13919 PyObject *resultobj;
13920 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13921 wxString *arg2 = 0 ;
13922 double arg3 = (double) 0.0 ;
13923 double result;
e811c8ce 13924 bool temp2 = False ;
d14a1e28
RD
13925 PyObject * obj0 = 0 ;
13926 PyObject * obj1 = 0 ;
13927 char *kwnames[] = {
13928 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13929 };
13930
13931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|d:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
13932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13933 {
13934 arg2 = wxString_in_helper(obj1);
13935 if (arg2 == NULL) SWIG_fail;
e811c8ce 13936 temp2 = True;
d14a1e28
RD
13937 }
13938 {
13939 PyThreadState* __tstate = wxPyBeginAllowThreads();
13940 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
13941
13942 wxPyEndAllowThreads(__tstate);
13943 if (PyErr_Occurred()) SWIG_fail;
13944 }
13945 resultobj = PyFloat_FromDouble(result);
13946 {
13947 if (temp2)
13948 delete arg2;
13949 }
13950 return resultobj;
13951 fail:
13952 {
13953 if (temp2)
13954 delete arg2;
13955 }
13956 return NULL;
13957}
13958
13959
13960static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
13961 PyObject *resultobj;
13962 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13963 wxString *arg2 = 0 ;
e811c8ce 13964 bool arg3 = (bool) False ;
d14a1e28 13965 bool result;
e811c8ce 13966 bool temp2 = False ;
d14a1e28
RD
13967 PyObject * obj0 = 0 ;
13968 PyObject * obj1 = 0 ;
13969 PyObject * obj2 = 0 ;
13970 char *kwnames[] = {
13971 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13972 };
13973
13974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
13975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13976 {
13977 arg2 = wxString_in_helper(obj1);
13978 if (arg2 == NULL) SWIG_fail;
e811c8ce 13979 temp2 = True;
d14a1e28
RD
13980 }
13981 if (obj2) {
13982 arg3 = PyInt_AsLong(obj2) ? true : false;
13983 if (PyErr_Occurred()) SWIG_fail;
13984 }
13985 {
13986 PyThreadState* __tstate = wxPyBeginAllowThreads();
13987 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
13988
13989 wxPyEndAllowThreads(__tstate);
13990 if (PyErr_Occurred()) SWIG_fail;
13991 }
13992 resultobj = PyInt_FromLong((long)result);
13993 {
13994 if (temp2)
13995 delete arg2;
13996 }
13997 return resultobj;
13998 fail:
13999 {
14000 if (temp2)
14001 delete arg2;
14002 }
14003 return NULL;
14004}
14005
14006
14007static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
14008 PyObject *resultobj;
14009 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14010 wxString *arg2 = 0 ;
14011 wxString *arg3 = 0 ;
14012 bool result;
e811c8ce
RD
14013 bool temp2 = False ;
14014 bool temp3 = False ;
d14a1e28
RD
14015 PyObject * obj0 = 0 ;
14016 PyObject * obj1 = 0 ;
14017 PyObject * obj2 = 0 ;
14018 char *kwnames[] = {
14019 (char *) "self",(char *) "key",(char *) "value", NULL
14020 };
14021
14022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
14023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14024 {
14025 arg2 = wxString_in_helper(obj1);
14026 if (arg2 == NULL) SWIG_fail;
e811c8ce 14027 temp2 = True;
d14a1e28
RD
14028 }
14029 {
14030 arg3 = wxString_in_helper(obj2);
14031 if (arg3 == NULL) SWIG_fail;
e811c8ce 14032 temp3 = True;
d14a1e28
RD
14033 }
14034 {
14035 PyThreadState* __tstate = wxPyBeginAllowThreads();
14036 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
14037
14038 wxPyEndAllowThreads(__tstate);
14039 if (PyErr_Occurred()) SWIG_fail;
14040 }
14041 resultobj = PyInt_FromLong((long)result);
14042 {
14043 if (temp2)
14044 delete arg2;
14045 }
14046 {
14047 if (temp3)
14048 delete arg3;
14049 }
14050 return resultobj;
14051 fail:
14052 {
14053 if (temp2)
14054 delete arg2;
14055 }
14056 {
14057 if (temp3)
14058 delete arg3;
14059 }
14060 return NULL;
14061}
14062
14063
14064static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
14065 PyObject *resultobj;
14066 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14067 wxString *arg2 = 0 ;
14068 long arg3 ;
14069 bool result;
e811c8ce 14070 bool temp2 = False ;
d14a1e28
RD
14071 PyObject * obj0 = 0 ;
14072 PyObject * obj1 = 0 ;
14073 char *kwnames[] = {
14074 (char *) "self",(char *) "key",(char *) "value", NULL
14075 };
14076
14077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
14078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14079 {
14080 arg2 = wxString_in_helper(obj1);
14081 if (arg2 == NULL) SWIG_fail;
e811c8ce 14082 temp2 = True;
d14a1e28
RD
14083 }
14084 {
14085 PyThreadState* __tstate = wxPyBeginAllowThreads();
14086 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14087
14088 wxPyEndAllowThreads(__tstate);
14089 if (PyErr_Occurred()) SWIG_fail;
14090 }
14091 resultobj = PyInt_FromLong((long)result);
14092 {
14093 if (temp2)
14094 delete arg2;
14095 }
14096 return resultobj;
14097 fail:
14098 {
14099 if (temp2)
14100 delete arg2;
14101 }
14102 return NULL;
14103}
14104
14105
14106static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
14107 PyObject *resultobj;
14108 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14109 wxString *arg2 = 0 ;
14110 double arg3 ;
14111 bool result;
e811c8ce 14112 bool temp2 = False ;
d14a1e28
RD
14113 PyObject * obj0 = 0 ;
14114 PyObject * obj1 = 0 ;
14115 char *kwnames[] = {
14116 (char *) "self",(char *) "key",(char *) "value", NULL
14117 };
14118
14119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
14120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14121 {
14122 arg2 = wxString_in_helper(obj1);
14123 if (arg2 == NULL) SWIG_fail;
e811c8ce 14124 temp2 = True;
d14a1e28
RD
14125 }
14126 {
14127 PyThreadState* __tstate = wxPyBeginAllowThreads();
14128 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14129
14130 wxPyEndAllowThreads(__tstate);
14131 if (PyErr_Occurred()) SWIG_fail;
14132 }
14133 resultobj = PyInt_FromLong((long)result);
14134 {
14135 if (temp2)
14136 delete arg2;
14137 }
14138 return resultobj;
14139 fail:
14140 {
14141 if (temp2)
14142 delete arg2;
14143 }
14144 return NULL;
14145}
14146
14147
14148static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
14149 PyObject *resultobj;
14150 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14151 wxString *arg2 = 0 ;
14152 bool arg3 ;
14153 bool result;
e811c8ce 14154 bool temp2 = False ;
d14a1e28
RD
14155 PyObject * obj0 = 0 ;
14156 PyObject * obj1 = 0 ;
14157 PyObject * obj2 = 0 ;
14158 char *kwnames[] = {
14159 (char *) "self",(char *) "key",(char *) "value", NULL
14160 };
14161
14162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
14163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14164 {
14165 arg2 = wxString_in_helper(obj1);
14166 if (arg2 == NULL) SWIG_fail;
e811c8ce 14167 temp2 = True;
d14a1e28
RD
14168 }
14169 arg3 = PyInt_AsLong(obj2) ? true : false;
14170 if (PyErr_Occurred()) SWIG_fail;
14171 {
14172 PyThreadState* __tstate = wxPyBeginAllowThreads();
14173 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14174
14175 wxPyEndAllowThreads(__tstate);
14176 if (PyErr_Occurred()) SWIG_fail;
14177 }
14178 resultobj = PyInt_FromLong((long)result);
14179 {
14180 if (temp2)
14181 delete arg2;
14182 }
14183 return resultobj;
14184 fail:
14185 {
14186 if (temp2)
14187 delete arg2;
14188 }
14189 return NULL;
14190}
14191
14192
14193static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
14194 PyObject *resultobj;
14195 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
e811c8ce 14196 bool arg2 = (bool) False ;
d14a1e28
RD
14197 bool result;
14198 PyObject * obj0 = 0 ;
14199 PyObject * obj1 = 0 ;
14200 char *kwnames[] = {
14201 (char *) "self",(char *) "bCurrentOnly", NULL
14202 };
14203
14204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
14205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14206 if (obj1) {
14207 arg2 = PyInt_AsLong(obj1) ? true : false;
14208 if (PyErr_Occurred()) SWIG_fail;
14209 }
14210 {
14211 PyThreadState* __tstate = wxPyBeginAllowThreads();
14212 result = (bool)(arg1)->Flush(arg2);
14213
14214 wxPyEndAllowThreads(__tstate);
14215 if (PyErr_Occurred()) SWIG_fail;
14216 }
14217 resultobj = PyInt_FromLong((long)result);
14218 return resultobj;
14219 fail:
14220 return NULL;
14221}
14222
14223
14224static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14225 PyObject *resultobj;
14226 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14227 wxString *arg2 = 0 ;
14228 wxString *arg3 = 0 ;
14229 bool result;
e811c8ce
RD
14230 bool temp2 = False ;
14231 bool temp3 = False ;
d14a1e28
RD
14232 PyObject * obj0 = 0 ;
14233 PyObject * obj1 = 0 ;
14234 PyObject * obj2 = 0 ;
14235 char *kwnames[] = {
14236 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14237 };
14238
14239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14241 {
14242 arg2 = wxString_in_helper(obj1);
14243 if (arg2 == NULL) SWIG_fail;
e811c8ce 14244 temp2 = True;
d14a1e28
RD
14245 }
14246 {
14247 arg3 = wxString_in_helper(obj2);
14248 if (arg3 == NULL) SWIG_fail;
e811c8ce 14249 temp3 = True;
d14a1e28
RD
14250 }
14251 {
14252 PyThreadState* __tstate = wxPyBeginAllowThreads();
14253 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
14254
14255 wxPyEndAllowThreads(__tstate);
14256 if (PyErr_Occurred()) SWIG_fail;
14257 }
14258 resultobj = PyInt_FromLong((long)result);
14259 {
14260 if (temp2)
14261 delete arg2;
14262 }
14263 {
14264 if (temp3)
14265 delete arg3;
14266 }
14267 return resultobj;
14268 fail:
14269 {
14270 if (temp2)
14271 delete arg2;
14272 }
14273 {
14274 if (temp3)
14275 delete arg3;
14276 }
14277 return NULL;
14278}
14279
14280
14281static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14282 PyObject *resultobj;
14283 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14284 wxString *arg2 = 0 ;
14285 wxString *arg3 = 0 ;
14286 bool result;
e811c8ce
RD
14287 bool temp2 = False ;
14288 bool temp3 = False ;
d14a1e28
RD
14289 PyObject * obj0 = 0 ;
14290 PyObject * obj1 = 0 ;
14291 PyObject * obj2 = 0 ;
14292 char *kwnames[] = {
14293 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14294 };
14295
14296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
14297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14298 {
14299 arg2 = wxString_in_helper(obj1);
14300 if (arg2 == NULL) SWIG_fail;
e811c8ce 14301 temp2 = True;
d14a1e28
RD
14302 }
14303 {
14304 arg3 = wxString_in_helper(obj2);
14305 if (arg3 == NULL) SWIG_fail;
e811c8ce 14306 temp3 = True;
d14a1e28
RD
14307 }
14308 {
14309 PyThreadState* __tstate = wxPyBeginAllowThreads();
14310 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
14311
14312 wxPyEndAllowThreads(__tstate);
14313 if (PyErr_Occurred()) SWIG_fail;
14314 }
14315 resultobj = PyInt_FromLong((long)result);
14316 {
14317 if (temp2)
14318 delete arg2;
14319 }
14320 {
14321 if (temp3)
14322 delete arg3;
14323 }
14324 return resultobj;
14325 fail:
14326 {
14327 if (temp2)
14328 delete arg2;
14329 }
14330 {
14331 if (temp3)
14332 delete arg3;
14333 }
14334 return NULL;
14335}
14336
14337
14338static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14339 PyObject *resultobj;
14340 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14341 wxString *arg2 = 0 ;
e811c8ce 14342 bool arg3 = (bool) True ;
d14a1e28 14343 bool result;
e811c8ce 14344 bool temp2 = False ;
d14a1e28
RD
14345 PyObject * obj0 = 0 ;
14346 PyObject * obj1 = 0 ;
14347 PyObject * obj2 = 0 ;
14348 char *kwnames[] = {
14349 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14350 };
14351
14352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14354 {
14355 arg2 = wxString_in_helper(obj1);
14356 if (arg2 == NULL) SWIG_fail;
e811c8ce 14357 temp2 = True;
d14a1e28
RD
14358 }
14359 if (obj2) {
14360 arg3 = PyInt_AsLong(obj2) ? true : false;
14361 if (PyErr_Occurred()) SWIG_fail;
14362 }
14363 {
14364 PyThreadState* __tstate = wxPyBeginAllowThreads();
14365 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
14366
14367 wxPyEndAllowThreads(__tstate);
14368 if (PyErr_Occurred()) SWIG_fail;
14369 }
14370 resultobj = PyInt_FromLong((long)result);
14371 {
14372 if (temp2)
14373 delete arg2;
14374 }
14375 return resultobj;
14376 fail:
14377 {
14378 if (temp2)
14379 delete arg2;
14380 }
14381 return NULL;
14382}
14383
14384
14385static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14386 PyObject *resultobj;
14387 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14388 wxString *arg2 = 0 ;
14389 bool result;
e811c8ce 14390 bool temp2 = False ;
d14a1e28
RD
14391 PyObject * obj0 = 0 ;
14392 PyObject * obj1 = 0 ;
14393 char *kwnames[] = {
14394 (char *) "self",(char *) "key", NULL
14395 };
14396
14397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
14398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14399 {
14400 arg2 = wxString_in_helper(obj1);
14401 if (arg2 == NULL) SWIG_fail;
e811c8ce 14402 temp2 = True;
d14a1e28
RD
14403 }
14404 {
14405 PyThreadState* __tstate = wxPyBeginAllowThreads();
14406 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
14407
14408 wxPyEndAllowThreads(__tstate);
14409 if (PyErr_Occurred()) SWIG_fail;
14410 }
14411 resultobj = PyInt_FromLong((long)result);
14412 {
14413 if (temp2)
14414 delete arg2;
14415 }
14416 return resultobj;
14417 fail:
14418 {
14419 if (temp2)
14420 delete arg2;
14421 }
14422 return NULL;
14423}
14424
14425
14426static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
14427 PyObject *resultobj;
14428 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14429 bool result;
14430 PyObject * obj0 = 0 ;
14431 char *kwnames[] = {
14432 (char *) "self", NULL
14433 };
14434
14435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
14436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14437 {
14438 PyThreadState* __tstate = wxPyBeginAllowThreads();
14439 result = (bool)(arg1)->DeleteAll();
14440
14441 wxPyEndAllowThreads(__tstate);
14442 if (PyErr_Occurred()) SWIG_fail;
14443 }
14444 resultobj = PyInt_FromLong((long)result);
14445 return resultobj;
14446 fail:
14447 return NULL;
14448}
14449
14450
14451static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14452 PyObject *resultobj;
14453 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14454 bool result;
14455 PyObject * obj0 = 0 ;
14456 char *kwnames[] = {
14457 (char *) "self", NULL
14458 };
14459
14460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
14461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14462 {
14463 PyThreadState* __tstate = wxPyBeginAllowThreads();
14464 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
14465
14466 wxPyEndAllowThreads(__tstate);
14467 if (PyErr_Occurred()) SWIG_fail;
14468 }
14469 resultobj = PyInt_FromLong((long)result);
14470 return resultobj;
14471 fail:
14472 return NULL;
14473}
14474
14475
14476static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14477 PyObject *resultobj;
14478 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
e811c8ce 14479 bool arg2 = (bool) True ;
d14a1e28
RD
14480 PyObject * obj0 = 0 ;
14481 PyObject * obj1 = 0 ;
14482 char *kwnames[] = {
14483 (char *) "self",(char *) "bDoIt", NULL
14484 };
14485
14486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14488 if (obj1) {
14489 arg2 = PyInt_AsLong(obj1) ? true : false;
14490 if (PyErr_Occurred()) SWIG_fail;
14491 }
14492 {
14493 PyThreadState* __tstate = wxPyBeginAllowThreads();
14494 (arg1)->SetExpandEnvVars(arg2);
14495
14496 wxPyEndAllowThreads(__tstate);
14497 if (PyErr_Occurred()) SWIG_fail;
14498 }
14499 Py_INCREF(Py_None); resultobj = Py_None;
14500 return resultobj;
14501 fail:
14502 return NULL;
14503}
14504
14505
14506static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14507 PyObject *resultobj;
14508 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
e811c8ce 14509 bool arg2 = (bool) True ;
d14a1e28
RD
14510 PyObject * obj0 = 0 ;
14511 PyObject * obj1 = 0 ;
14512 char *kwnames[] = {
14513 (char *) "self",(char *) "bDoIt", NULL
14514 };
14515
14516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
14517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14518 if (obj1) {
14519 arg2 = PyInt_AsLong(obj1) ? true : false;
14520 if (PyErr_Occurred()) SWIG_fail;
14521 }
14522 {
14523 PyThreadState* __tstate = wxPyBeginAllowThreads();
14524 (arg1)->SetRecordDefaults(arg2);
14525
14526 wxPyEndAllowThreads(__tstate);
14527 if (PyErr_Occurred()) SWIG_fail;
14528 }
14529 Py_INCREF(Py_None); resultobj = Py_None;
14530 return resultobj;
14531 fail:
14532 return NULL;
14533}
14534
14535
14536static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14537 PyObject *resultobj;
14538 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14539 bool result;
14540 PyObject * obj0 = 0 ;
14541 char *kwnames[] = {
14542 (char *) "self", NULL
14543 };
14544
14545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
14546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14547 {
14548 PyThreadState* __tstate = wxPyBeginAllowThreads();
14549 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
14550
14551 wxPyEndAllowThreads(__tstate);
14552 if (PyErr_Occurred()) SWIG_fail;
14553 }
14554 resultobj = PyInt_FromLong((long)result);
14555 return resultobj;
14556 fail:
14557 return NULL;
14558}
14559
14560
14561static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14562 PyObject *resultobj;
14563 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14564 wxString *arg2 = 0 ;
14565 wxString result;
e811c8ce 14566 bool temp2 = False ;
d14a1e28
RD
14567 PyObject * obj0 = 0 ;
14568 PyObject * obj1 = 0 ;
14569 char *kwnames[] = {
14570 (char *) "self",(char *) "str", NULL
14571 };
14572
14573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14575 {
14576 arg2 = wxString_in_helper(obj1);
14577 if (arg2 == NULL) SWIG_fail;
e811c8ce 14578 temp2 = True;
d14a1e28
RD
14579 }
14580 {
14581 PyThreadState* __tstate = wxPyBeginAllowThreads();
14582 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
14583
14584 wxPyEndAllowThreads(__tstate);
14585 if (PyErr_Occurred()) SWIG_fail;
14586 }
14587 {
14588#if wxUSE_UNICODE
14589 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14590#else
14591 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14592#endif
14593 }
14594 {
14595 if (temp2)
14596 delete arg2;
14597 }
14598 return resultobj;
14599 fail:
14600 {
14601 if (temp2)
14602 delete arg2;
14603 }
14604 return NULL;
14605}
14606
14607
14608static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14609 PyObject *resultobj;
14610 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14611 wxString result;
14612 PyObject * obj0 = 0 ;
14613 char *kwnames[] = {
14614 (char *) "self", NULL
14615 };
14616
14617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
14618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14619 {
14620 PyThreadState* __tstate = wxPyBeginAllowThreads();
14621 result = ((wxConfigBase const *)arg1)->GetAppName();
14622
14623 wxPyEndAllowThreads(__tstate);
14624 if (PyErr_Occurred()) SWIG_fail;
14625 }
14626 {
14627#if wxUSE_UNICODE
14628 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14629#else
14630 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14631#endif
14632 }
14633 return resultobj;
14634 fail:
14635 return NULL;
14636}
14637
14638
14639static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14640 PyObject *resultobj;
14641 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14642 wxString result;
14643 PyObject * obj0 = 0 ;
14644 char *kwnames[] = {
14645 (char *) "self", NULL
14646 };
14647
14648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
14649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14650 {
14651 PyThreadState* __tstate = wxPyBeginAllowThreads();
14652 result = ((wxConfigBase const *)arg1)->GetVendorName();
14653
14654 wxPyEndAllowThreads(__tstate);
14655 if (PyErr_Occurred()) SWIG_fail;
14656 }
14657 {
14658#if wxUSE_UNICODE
14659 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14660#else
14661 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14662#endif
14663 }
14664 return resultobj;
14665 fail:
14666 return NULL;
14667}
14668
14669
14670static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14671 PyObject *resultobj;
14672 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14673 wxString *arg2 = 0 ;
e811c8ce 14674 bool temp2 = False ;
d14a1e28
RD
14675 PyObject * obj0 = 0 ;
14676 PyObject * obj1 = 0 ;
14677 char *kwnames[] = {
14678 (char *) "self",(char *) "appName", NULL
14679 };
14680
14681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
14682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14683 {
14684 arg2 = wxString_in_helper(obj1);
14685 if (arg2 == NULL) SWIG_fail;
e811c8ce 14686 temp2 = True;
d14a1e28
RD
14687 }
14688 {
14689 PyThreadState* __tstate = wxPyBeginAllowThreads();
14690 (arg1)->SetAppName((wxString const &)*arg2);
14691
14692 wxPyEndAllowThreads(__tstate);
14693 if (PyErr_Occurred()) SWIG_fail;
14694 }
14695 Py_INCREF(Py_None); resultobj = Py_None;
14696 {
14697 if (temp2)
14698 delete arg2;
14699 }
14700 return resultobj;
14701 fail:
14702 {
14703 if (temp2)
14704 delete arg2;
14705 }
14706 return NULL;
14707}
14708
14709
14710static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14711 PyObject *resultobj;
14712 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14713 wxString *arg2 = 0 ;
e811c8ce 14714 bool temp2 = False ;
d14a1e28
RD
14715 PyObject * obj0 = 0 ;
14716 PyObject * obj1 = 0 ;
14717 char *kwnames[] = {
14718 (char *) "self",(char *) "vendorName", NULL
14719 };
14720
14721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
14722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14723 {
14724 arg2 = wxString_in_helper(obj1);
14725 if (arg2 == NULL) SWIG_fail;
e811c8ce 14726 temp2 = True;
d14a1e28
RD
14727 }
14728 {
14729 PyThreadState* __tstate = wxPyBeginAllowThreads();
14730 (arg1)->SetVendorName((wxString const &)*arg2);
14731
14732 wxPyEndAllowThreads(__tstate);
14733 if (PyErr_Occurred()) SWIG_fail;
14734 }
14735 Py_INCREF(Py_None); resultobj = Py_None;
14736 {
14737 if (temp2)
14738 delete arg2;
14739 }
14740 return resultobj;
14741 fail:
14742 {
14743 if (temp2)
14744 delete arg2;
14745 }
14746 return NULL;
14747}
14748
14749
14750static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14751 PyObject *resultobj;
14752 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14753 long arg2 ;
14754 PyObject * obj0 = 0 ;
14755 char *kwnames[] = {
14756 (char *) "self",(char *) "style", NULL
14757 };
14758
14759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_SetStyle",kwnames,&obj0,&arg2)) goto fail;
14760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14761 {
14762 PyThreadState* __tstate = wxPyBeginAllowThreads();
14763 (arg1)->SetStyle(arg2);
14764
14765 wxPyEndAllowThreads(__tstate);
14766 if (PyErr_Occurred()) SWIG_fail;
14767 }
14768 Py_INCREF(Py_None); resultobj = Py_None;
14769 return resultobj;
14770 fail:
14771 return NULL;
14772}
14773
14774
14775static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14776 PyObject *resultobj;
14777 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14778 long result;
14779 PyObject * obj0 = 0 ;
14780 char *kwnames[] = {
14781 (char *) "self", NULL
14782 };
14783
14784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
14785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14786 {
14787 PyThreadState* __tstate = wxPyBeginAllowThreads();
14788 result = (long)((wxConfigBase const *)arg1)->GetStyle();
14789
14790 wxPyEndAllowThreads(__tstate);
14791 if (PyErr_Occurred()) SWIG_fail;
14792 }
14793 resultobj = PyInt_FromLong((long)result);
14794 return resultobj;
14795 fail:
14796 return NULL;
14797}
14798
14799
14800static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
14801 PyObject *obj;
14802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14803 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
14804 Py_INCREF(obj);
14805 return Py_BuildValue((char *)"");
14806}
14807static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14808 PyObject *resultobj;
14809 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14810 wxString *arg2 = 0 ;
14811 wxConfigPathChanger *result;
e811c8ce 14812 bool temp2 = False ;
d14a1e28
RD
14813 PyObject * obj0 = 0 ;
14814 PyObject * obj1 = 0 ;
14815 char *kwnames[] = {
14816 (char *) "pContainer",(char *) "strEntry", NULL
14817 };
14818
14819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
14820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14821 {
14822 arg2 = wxString_in_helper(obj1);
14823 if (arg2 == NULL) SWIG_fail;
e811c8ce 14824 temp2 = True;
d14a1e28
RD
14825 }
14826 {
14827 PyThreadState* __tstate = wxPyBeginAllowThreads();
14828 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
14829
14830 wxPyEndAllowThreads(__tstate);
14831 if (PyErr_Occurred()) SWIG_fail;
14832 }
14833 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigPathChanger, 1);
14834 {
14835 if (temp2)
14836 delete arg2;
14837 }
14838 return resultobj;
14839 fail:
14840 {
14841 if (temp2)
14842 delete arg2;
14843 }
14844 return NULL;
14845}
14846
14847
14848static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14849 PyObject *resultobj;
14850 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14851 PyObject * obj0 = 0 ;
14852 char *kwnames[] = {
14853 (char *) "self", NULL
14854 };
14855
14856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
14857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14858 {
14859 PyThreadState* __tstate = wxPyBeginAllowThreads();
14860 delete arg1;
14861
14862 wxPyEndAllowThreads(__tstate);
14863 if (PyErr_Occurred()) SWIG_fail;
14864 }
14865 Py_INCREF(Py_None); resultobj = Py_None;
14866 return resultobj;
14867 fail:
14868 return NULL;
14869}
14870
14871
14872static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
14873 PyObject *resultobj;
14874 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14875 wxString *result;
14876 PyObject * obj0 = 0 ;
14877 char *kwnames[] = {
14878 (char *) "self", NULL
14879 };
14880
14881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
14882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14883 {
14884 PyThreadState* __tstate = wxPyBeginAllowThreads();
14885 {
14886 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
14887 result = (wxString *) &_result_ref;
14888 }
14889
14890 wxPyEndAllowThreads(__tstate);
14891 if (PyErr_Occurred()) SWIG_fail;
14892 }
cc6dd355
RD
14893 {
14894#if wxUSE_UNICODE
14895 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14896#else
14897 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14898#endif
14899 }
d14a1e28
RD
14900 return resultobj;
14901 fail:
14902 return NULL;
14903}
14904
14905
14906static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
14907 PyObject *obj;
14908 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14909 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
14910 Py_INCREF(obj);
14911 return Py_BuildValue((char *)"");
14912}
14913static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
14914 PyObject *resultobj;
14915 wxString const &arg1_defvalue = wxPyEmptyString ;
14916 wxString *arg1 = (wxString *) &arg1_defvalue ;
14917 wxString const &arg2_defvalue = wxPyEmptyString ;
14918 wxString *arg2 = (wxString *) &arg2_defvalue ;
14919 wxString const &arg3_defvalue = wxPyEmptyString ;
14920 wxString *arg3 = (wxString *) &arg3_defvalue ;
14921 wxString const &arg4_defvalue = wxPyEmptyString ;
14922 wxString *arg4 = (wxString *) &arg4_defvalue ;
14923 long arg5 = (long) 0 ;
14924 wxConfig *result;
e811c8ce
RD
14925 bool temp1 = False ;
14926 bool temp2 = False ;
14927 bool temp3 = False ;
14928 bool temp4 = False ;
d14a1e28
RD
14929 PyObject * obj0 = 0 ;
14930 PyObject * obj1 = 0 ;
14931 PyObject * obj2 = 0 ;
14932 PyObject * obj3 = 0 ;
14933 char *kwnames[] = {
14934 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14935 };
14936
14937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
14938 if (obj0) {
14939 {
14940 arg1 = wxString_in_helper(obj0);
14941 if (arg1 == NULL) SWIG_fail;
e811c8ce 14942 temp1 = True;
d14a1e28
RD
14943 }
14944 }
14945 if (obj1) {
14946 {
14947 arg2 = wxString_in_helper(obj1);
14948 if (arg2 == NULL) SWIG_fail;
e811c8ce 14949 temp2 = True;
d14a1e28
RD
14950 }
14951 }
14952 if (obj2) {
14953 {
14954 arg3 = wxString_in_helper(obj2);
14955 if (arg3 == NULL) SWIG_fail;
e811c8ce 14956 temp3 = True;
d14a1e28
RD
14957 }
14958 }
14959 if (obj3) {
14960 {
14961 arg4 = wxString_in_helper(obj3);
14962 if (arg4 == NULL) SWIG_fail;
e811c8ce 14963 temp4 = True;
d14a1e28
RD
14964 }
14965 }
14966 {
14967 PyThreadState* __tstate = wxPyBeginAllowThreads();
14968 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
14969
14970 wxPyEndAllowThreads(__tstate);
14971 if (PyErr_Occurred()) SWIG_fail;
14972 }
14973 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfig, 1);
14974 {
14975 if (temp1)
14976 delete arg1;
14977 }
14978 {
14979 if (temp2)
14980 delete arg2;
14981 }
14982 {
14983 if (temp3)
14984 delete arg3;
14985 }
14986 {
14987 if (temp4)
14988 delete arg4;
14989 }
14990 return resultobj;
14991 fail:
14992 {
14993 if (temp1)
14994 delete arg1;
14995 }
14996 {
14997 if (temp2)
14998 delete arg2;
14999 }
15000 {
15001 if (temp3)
15002 delete arg3;
15003 }
15004 {
15005 if (temp4)
15006 delete arg4;
15007 }
15008 return NULL;
15009}
15010
15011
15012static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
15013 PyObject *resultobj;
15014 wxConfig *arg1 = (wxConfig *) 0 ;
15015 PyObject * obj0 = 0 ;
15016 char *kwnames[] = {
15017 (char *) "self", NULL
15018 };
15019
15020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
15021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15022 {
15023 PyThreadState* __tstate = wxPyBeginAllowThreads();
15024 delete arg1;
15025
15026 wxPyEndAllowThreads(__tstate);
15027 if (PyErr_Occurred()) SWIG_fail;
15028 }
15029 Py_INCREF(Py_None); resultobj = Py_None;
15030 return resultobj;
15031 fail:
15032 return NULL;
15033}
15034
15035
15036static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
15037 PyObject *obj;
15038 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15039 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
15040 Py_INCREF(obj);
15041 return Py_BuildValue((char *)"");
15042}
15043static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
15044 PyObject *resultobj;
15045 wxString const &arg1_defvalue = wxPyEmptyString ;
15046 wxString *arg1 = (wxString *) &arg1_defvalue ;
15047 wxString const &arg2_defvalue = wxPyEmptyString ;
15048 wxString *arg2 = (wxString *) &arg2_defvalue ;
15049 wxString const &arg3_defvalue = wxPyEmptyString ;
15050 wxString *arg3 = (wxString *) &arg3_defvalue ;
15051 wxString const &arg4_defvalue = wxPyEmptyString ;
15052 wxString *arg4 = (wxString *) &arg4_defvalue ;
15053 long arg5 = (long) 0 ;
15054 wxFileConfig *result;
e811c8ce
RD
15055 bool temp1 = False ;
15056 bool temp2 = False ;
15057 bool temp3 = False ;
15058 bool temp4 = False ;
d14a1e28
RD
15059 PyObject * obj0 = 0 ;
15060 PyObject * obj1 = 0 ;
15061 PyObject * obj2 = 0 ;
15062 PyObject * obj3 = 0 ;
15063 char *kwnames[] = {
15064 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15065 };
15066
15067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
15068 if (obj0) {
15069 {
15070 arg1 = wxString_in_helper(obj0);
15071 if (arg1 == NULL) SWIG_fail;
e811c8ce 15072 temp1 = True;
d14a1e28
RD
15073 }
15074 }
15075 if (obj1) {
15076 {
15077 arg2 = wxString_in_helper(obj1);
15078 if (arg2 == NULL) SWIG_fail;
e811c8ce 15079 temp2 = True;
d14a1e28
RD
15080 }
15081 }
15082 if (obj2) {
15083 {
15084 arg3 = wxString_in_helper(obj2);
15085 if (arg3 == NULL) SWIG_fail;
e811c8ce 15086 temp3 = True;
d14a1e28
RD
15087 }
15088 }
15089 if (obj3) {
15090 {
15091 arg4 = wxString_in_helper(obj3);
15092 if (arg4 == NULL) SWIG_fail;
e811c8ce 15093 temp4 = True;
d14a1e28
RD
15094 }
15095 }
15096 {
15097 PyThreadState* __tstate = wxPyBeginAllowThreads();
15098 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
15099
15100 wxPyEndAllowThreads(__tstate);
15101 if (PyErr_Occurred()) SWIG_fail;
15102 }
15103 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileConfig, 1);
15104 {
15105 if (temp1)
15106 delete arg1;
15107 }
15108 {
15109 if (temp2)
15110 delete arg2;
15111 }
15112 {
15113 if (temp3)
15114 delete arg3;
15115 }
15116 {
15117 if (temp4)
15118 delete arg4;
15119 }
15120 return resultobj;
15121 fail:
15122 {
15123 if (temp1)
15124 delete arg1;
15125 }
15126 {
15127 if (temp2)
15128 delete arg2;
15129 }
15130 {
15131 if (temp3)
15132 delete arg3;
15133 }
15134 {
15135 if (temp4)
15136 delete arg4;
15137 }
15138 return NULL;
15139}
15140
15141
15142static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
15143 PyObject *resultobj;
15144 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
15145 PyObject * obj0 = 0 ;
15146 char *kwnames[] = {
15147 (char *) "self", NULL
15148 };
15149
15150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
15151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15152 {
15153 PyThreadState* __tstate = wxPyBeginAllowThreads();
15154 delete arg1;
15155
15156 wxPyEndAllowThreads(__tstate);
15157 if (PyErr_Occurred()) SWIG_fail;
15158 }
15159 Py_INCREF(Py_None); resultobj = Py_None;
15160 return resultobj;
15161 fail:
15162 return NULL;
15163}
15164
15165
15166static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
15167 PyObject *obj;
15168 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15169 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
15170 Py_INCREF(obj);
15171 return Py_BuildValue((char *)"");
15172}
15173static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15174 PyObject *resultobj;
15175 wxString *arg1 = 0 ;
15176 wxString result;
e811c8ce 15177 bool temp1 = False ;
d14a1e28
RD
15178 PyObject * obj0 = 0 ;
15179 char *kwnames[] = {
15180 (char *) "sz", NULL
15181 };
15182
15183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
15184 {
15185 arg1 = wxString_in_helper(obj0);
15186 if (arg1 == NULL) SWIG_fail;
e811c8ce 15187 temp1 = True;
d14a1e28
RD
15188 }
15189 {
15190 PyThreadState* __tstate = wxPyBeginAllowThreads();
15191 result = wxExpandEnvVars((wxString const &)*arg1);
15192
15193 wxPyEndAllowThreads(__tstate);
15194 if (PyErr_Occurred()) SWIG_fail;
15195 }
15196 {
15197#if wxUSE_UNICODE
15198 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15199#else
15200 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15201#endif
15202 }
15203 {
15204 if (temp1)
15205 delete arg1;
15206 }
15207 return resultobj;
15208 fail:
15209 {
15210 if (temp1)
15211 delete arg1;
15212 }
15213 return NULL;
15214}
15215
15216
b2dc1044
RD
15217static int _wrap_DateFormatStr_set(PyObject *_val) {
15218 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
15219 return 1;
15220}
15221
15222
15223static PyObject *_wrap_DateFormatStr_get() {
15224 PyObject *pyobj;
15225
15226 {
15227#if wxUSE_UNICODE
15228 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
15229#else
15230 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
15231#endif
15232 }
15233 return pyobj;
15234}
15235
15236
15237static int _wrap_TimeSpanFormatStr_set(PyObject *_val) {
15238 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
15239 return 1;
15240}
15241
15242
15243static PyObject *_wrap_TimeSpanFormatStr_get() {
15244 PyObject *pyobj;
15245
15246 {
15247#if wxUSE_UNICODE
15248 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
15249#else
15250 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
15251#endif
15252 }
15253 return pyobj;
15254}
15255
15256
d14a1e28
RD
15257static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15258 PyObject *resultobj;
15259 int arg1 ;
15260 char *kwnames[] = {
15261 (char *) "country", NULL
15262 };
15263
15264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_SetCountry",kwnames,&arg1)) goto fail;
15265 {
15266 PyThreadState* __tstate = wxPyBeginAllowThreads();
15267 wxDateTime::SetCountry((wxDateTime::Country )arg1);
15268
15269 wxPyEndAllowThreads(__tstate);
15270 if (PyErr_Occurred()) SWIG_fail;
15271 }
15272 Py_INCREF(Py_None); resultobj = Py_None;
15273 return resultobj;
15274 fail:
15275 return NULL;
15276}
15277
15278
15279static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15280 PyObject *resultobj;
15281 int result;
15282 char *kwnames[] = {
15283 NULL
15284 };
15285
15286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
15287 {
15288 PyThreadState* __tstate = wxPyBeginAllowThreads();
15289 result = (int)wxDateTime::GetCountry();
15290
15291 wxPyEndAllowThreads(__tstate);
15292 if (PyErr_Occurred()) SWIG_fail;
15293 }
15294 resultobj = PyInt_FromLong((long)result);
15295 return resultobj;
15296 fail:
15297 return NULL;
15298}
15299
15300
15301static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15302 PyObject *resultobj;
15303 int arg1 = (int) wxDateTime::Country_Default ;
15304 bool result;
15305 char *kwnames[] = {
15306 (char *) "country", NULL
15307 };
15308
15309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames,&arg1)) goto fail;
15310 {
15311 PyThreadState* __tstate = wxPyBeginAllowThreads();
15312 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
15313
15314 wxPyEndAllowThreads(__tstate);
15315 if (PyErr_Occurred()) SWIG_fail;
15316 }
15317 resultobj = PyInt_FromLong((long)result);
15318 return resultobj;
15319 fail:
15320 return NULL;
15321}
15322
15323
15324static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15325 PyObject *resultobj;
15326 int arg1 = (int) wxDateTime::Gregorian ;
15327 int result;
15328 char *kwnames[] = {
15329 (char *) "cal", NULL
15330 };
15331
15332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentYear",kwnames,&arg1)) goto fail;
15333 {
15334 PyThreadState* __tstate = wxPyBeginAllowThreads();
15335 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
15336
15337 wxPyEndAllowThreads(__tstate);
15338 if (PyErr_Occurred()) SWIG_fail;
15339 }
15340 resultobj = PyInt_FromLong((long)result);
15341 return resultobj;
15342 fail:
15343 return NULL;
15344}
15345
15346
15347static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
15348 PyObject *resultobj;
15349 int arg1 ;
15350 int result;
15351 char *kwnames[] = {
15352 (char *) "year", NULL
15353 };
15354
15355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_ConvertYearToBC",kwnames,&arg1)) goto fail;
15356 {
15357 PyThreadState* __tstate = wxPyBeginAllowThreads();
15358 result = (int)wxDateTime::ConvertYearToBC(arg1);
15359
15360 wxPyEndAllowThreads(__tstate);
15361 if (PyErr_Occurred()) SWIG_fail;
15362 }
15363 resultobj = PyInt_FromLong((long)result);
15364 return resultobj;
15365 fail:
15366 return NULL;
15367}
15368
15369
15370static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15371 PyObject *resultobj;
15372 int arg1 = (int) wxDateTime::Gregorian ;
15373 int result;
15374 char *kwnames[] = {
15375 (char *) "cal", NULL
15376 };
15377
15378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentMonth",kwnames,&arg1)) goto fail;
15379 {
15380 PyThreadState* __tstate = wxPyBeginAllowThreads();
15381 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
15382
15383 wxPyEndAllowThreads(__tstate);
15384 if (PyErr_Occurred()) SWIG_fail;
15385 }
15386 resultobj = PyInt_FromLong((long)result);
15387 return resultobj;
15388 fail:
15389 return NULL;
15390}
15391
15392
15393static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15394 PyObject *resultobj;
15395 int arg1 = (int) wxDateTime::Inv_Year ;
15396 int arg2 = (int) wxDateTime::Gregorian ;
15397 bool result;
15398 char *kwnames[] = {
15399 (char *) "year",(char *) "cal", NULL
15400 };
15401
15402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsLeapYear",kwnames,&arg1,&arg2)) goto fail;
15403 {
15404 PyThreadState* __tstate = wxPyBeginAllowThreads();
15405 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
15406
15407 wxPyEndAllowThreads(__tstate);
15408 if (PyErr_Occurred()) SWIG_fail;
15409 }
15410 resultobj = PyInt_FromLong((long)result);
15411 return resultobj;
15412 fail:
15413 return NULL;
15414}
15415
15416
15417static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
15418 PyObject *resultobj;
15419 int arg1 = (int) wxDateTime::Inv_Year ;
15420 int result;
15421 char *kwnames[] = {
15422 (char *) "year", NULL
15423 };
15424
15425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCentury",kwnames,&arg1)) goto fail;
15426 {
15427 PyThreadState* __tstate = wxPyBeginAllowThreads();
15428 result = (int)wxDateTime::GetCentury(arg1);
15429
15430 wxPyEndAllowThreads(__tstate);
15431 if (PyErr_Occurred()) SWIG_fail;
15432 }
15433 resultobj = PyInt_FromLong((long)result);
15434 return resultobj;
15435 fail:
15436 return NULL;
15437}
15438
15439
15440static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15441 PyObject *resultobj;
15442 int arg1 ;
15443 int arg2 = (int) wxDateTime::Gregorian ;
322913ce 15444 int result;
d14a1e28
RD
15445 char *kwnames[] = {
15446 (char *) "year",(char *) "cal", NULL
15447 };
15448
15449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames,&arg1,&arg2)) goto fail;
15450 {
15451 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 15452 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
d14a1e28
RD
15453
15454 wxPyEndAllowThreads(__tstate);
15455 if (PyErr_Occurred()) SWIG_fail;
15456 }
15457 resultobj = PyInt_FromLong((long)result);
15458 return resultobj;
15459 fail:
15460 return NULL;
15461}
15462
15463
15464static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15465 PyObject *resultobj;
15466 int arg1 ;
15467 int arg2 = (int) wxDateTime::Inv_Year ;
15468 int arg3 = (int) wxDateTime::Gregorian ;
322913ce 15469 int result;
d14a1e28
RD
15470 char *kwnames[] = {
15471 (char *) "month",(char *) "year",(char *) "cal", NULL
15472 };
15473
15474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames,&arg1,&arg2,&arg3)) goto fail;
15475 {
15476 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 15477 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
d14a1e28
RD
15478
15479 wxPyEndAllowThreads(__tstate);
15480 if (PyErr_Occurred()) SWIG_fail;
15481 }
15482 resultobj = PyInt_FromLong((long)result);
15483 return resultobj;
15484 fail:
15485 return NULL;
15486}
15487
15488
15489static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
15490 PyObject *resultobj;
15491 int arg1 ;
15492 int arg2 = (int) wxDateTime::Name_Full ;
15493 wxString result;
15494 char *kwnames[] = {
15495 (char *) "month",(char *) "flags", NULL
15496 };
15497
15498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetMonthName",kwnames,&arg1,&arg2)) goto fail;
15499 {
15500 PyThreadState* __tstate = wxPyBeginAllowThreads();
15501 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
15502
15503 wxPyEndAllowThreads(__tstate);
15504 if (PyErr_Occurred()) SWIG_fail;
15505 }
15506 {
15507#if wxUSE_UNICODE
15508 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15509#else
15510 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15511#endif
15512 }
15513 return resultobj;
15514 fail:
15515 return NULL;
15516}
15517
15518
15519static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
15520 PyObject *resultobj;
15521 int arg1 ;
15522 int arg2 = (int) wxDateTime::Name_Full ;
15523 wxString result;
15524 char *kwnames[] = {
15525 (char *) "weekday",(char *) "flags", NULL
15526 };
15527
15528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetWeekDayName",kwnames,&arg1,&arg2)) goto fail;
15529 {
15530 PyThreadState* __tstate = wxPyBeginAllowThreads();
15531 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
15532
15533 wxPyEndAllowThreads(__tstate);
15534 if (PyErr_Occurred()) SWIG_fail;
15535 }
15536 {
15537#if wxUSE_UNICODE
15538 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15539#else
15540 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15541#endif
15542 }
15543 return resultobj;
15544 fail:
15545 return NULL;
15546}
15547
15548
15549static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
15550 PyObject *resultobj;
15551 wxString *arg1 = (wxString *) 0 ;
15552 wxString *arg2 = (wxString *) 0 ;
15553 PyObject * obj0 = 0 ;
15554 PyObject * obj1 = 0 ;
15555 char *kwnames[] = {
15556 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15557 };
15558
15559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
15560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15561 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15562 {
15563 PyThreadState* __tstate = wxPyBeginAllowThreads();
15564 wxDateTime::GetAmPmStrings(arg1,arg2);
15565
15566 wxPyEndAllowThreads(__tstate);
15567 if (PyErr_Occurred()) SWIG_fail;
15568 }
15569 Py_INCREF(Py_None); resultobj = Py_None;
15570 return resultobj;
15571 fail:
15572 return NULL;
15573}
15574
15575
15576static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
15577 PyObject *resultobj;
15578 int arg1 = (int) wxDateTime::Inv_Year ;
15579 int arg2 = (int) wxDateTime::Country_Default ;
15580 bool result;
15581 char *kwnames[] = {
15582 (char *) "year",(char *) "country", NULL
15583 };
15584
15585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsDSTApplicable",kwnames,&arg1,&arg2)) goto fail;
15586 {
15587 PyThreadState* __tstate = wxPyBeginAllowThreads();
15588 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
15589
15590 wxPyEndAllowThreads(__tstate);
15591 if (PyErr_Occurred()) SWIG_fail;
15592 }
15593 resultobj = PyInt_FromLong((long)result);
15594 return resultobj;
15595 fail:
15596 return NULL;
15597}
15598
15599
15600static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15601 PyObject *resultobj;
15602 int arg1 = (int) wxDateTime::Inv_Year ;
15603 int arg2 = (int) wxDateTime::Country_Default ;
15604 wxDateTime result;
15605 char *kwnames[] = {
15606 (char *) "year",(char *) "country", NULL
15607 };
15608
15609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetBeginDST",kwnames,&arg1,&arg2)) goto fail;
15610 {
15611 PyThreadState* __tstate = wxPyBeginAllowThreads();
15612 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
15613
15614 wxPyEndAllowThreads(__tstate);
15615 if (PyErr_Occurred()) SWIG_fail;
15616 }
15617 {
15618 wxDateTime * resultptr;
15619 resultptr = new wxDateTime((wxDateTime &) result);
15620 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15621 }
15622 return resultobj;
15623 fail:
15624 return NULL;
15625}
15626
15627
15628static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15629 PyObject *resultobj;
15630 int arg1 = (int) wxDateTime::Inv_Year ;
15631 int arg2 = (int) wxDateTime::Country_Default ;
15632 wxDateTime result;
15633 char *kwnames[] = {
15634 (char *) "year",(char *) "country", NULL
15635 };
15636
15637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetEndDST",kwnames,&arg1,&arg2)) goto fail;
15638 {
15639 PyThreadState* __tstate = wxPyBeginAllowThreads();
15640 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
15641
15642 wxPyEndAllowThreads(__tstate);
15643 if (PyErr_Occurred()) SWIG_fail;
15644 }
15645 {
15646 wxDateTime * resultptr;
15647 resultptr = new wxDateTime((wxDateTime &) result);
15648 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15649 }
15650 return resultobj;
15651 fail:
15652 return NULL;
15653}
15654
15655
15656static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
15657 PyObject *resultobj;
15658 wxDateTime result;
15659 char *kwnames[] = {
15660 NULL
15661 };
15662
15663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
15664 {
15665 PyThreadState* __tstate = wxPyBeginAllowThreads();
15666 result = wxDateTime::Now();
15667
15668 wxPyEndAllowThreads(__tstate);
15669 if (PyErr_Occurred()) SWIG_fail;
15670 }
15671 {
15672 wxDateTime * resultptr;
15673 resultptr = new wxDateTime((wxDateTime &) result);
15674 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15675 }
15676 return resultobj;
15677 fail:
15678 return NULL;
15679}
15680
15681
15682static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
15683 PyObject *resultobj;
15684 wxDateTime result;
15685 char *kwnames[] = {
15686 NULL
15687 };
15688
15689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
15690 {
15691 PyThreadState* __tstate = wxPyBeginAllowThreads();
15692 result = wxDateTime::UNow();
15693
15694 wxPyEndAllowThreads(__tstate);
15695 if (PyErr_Occurred()) SWIG_fail;
15696 }
15697 {
15698 wxDateTime * resultptr;
15699 resultptr = new wxDateTime((wxDateTime &) result);
15700 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15701 }
15702 return resultobj;
15703 fail:
15704 return NULL;
15705}
15706
15707
15708static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
15709 PyObject *resultobj;
15710 wxDateTime result;
15711 char *kwnames[] = {
15712 NULL
15713 };
15714
15715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
15716 {
15717 PyThreadState* __tstate = wxPyBeginAllowThreads();
15718 result = wxDateTime::Today();
15719
15720 wxPyEndAllowThreads(__tstate);
15721 if (PyErr_Occurred()) SWIG_fail;
15722 }
15723 {
15724 wxDateTime * resultptr;
15725 resultptr = new wxDateTime((wxDateTime &) result);
15726 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15727 }
15728 return resultobj;
15729 fail:
15730 return NULL;
15731}
15732
15733
15734static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15735 PyObject *resultobj;
15736 wxDateTime *result;
15737 char *kwnames[] = {
15738 NULL
15739 };
15740
15741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
15742 {
15743 PyThreadState* __tstate = wxPyBeginAllowThreads();
15744 result = (wxDateTime *)new wxDateTime();
15745
15746 wxPyEndAllowThreads(__tstate);
15747 if (PyErr_Occurred()) SWIG_fail;
15748 }
15749 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15750 return resultobj;
15751 fail:
15752 return NULL;
15753}
15754
15755
15756static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15757 PyObject *resultobj;
15758 time_t arg1 ;
15759 wxDateTime *result;
15760 PyObject * obj0 = 0 ;
15761 char *kwnames[] = {
15762 (char *) "timet", NULL
15763 };
15764
15765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
15766 arg1 = (time_t) PyInt_AsLong(obj0);
15767 if (PyErr_Occurred()) SWIG_fail;
15768 {
15769 PyThreadState* __tstate = wxPyBeginAllowThreads();
15770 result = (wxDateTime *)new wxDateTime(arg1);
15771
15772 wxPyEndAllowThreads(__tstate);
15773 if (PyErr_Occurred()) SWIG_fail;
15774 }
15775 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15776 return resultobj;
15777 fail:
15778 return NULL;
15779}
15780
15781
15782static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15783 PyObject *resultobj;
15784 double arg1 ;
15785 wxDateTime *result;
15786 char *kwnames[] = {
15787 (char *) "jdn", NULL
15788 };
15789
15790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"d:new_DateTimeFromJDN",kwnames,&arg1)) goto fail;
15791 {
15792 PyThreadState* __tstate = wxPyBeginAllowThreads();
15793 result = (wxDateTime *)new wxDateTime(arg1);
15794
15795 wxPyEndAllowThreads(__tstate);
15796 if (PyErr_Occurred()) SWIG_fail;
15797 }
15798 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15799 return resultobj;
15800 fail:
15801 return NULL;
15802}
15803
15804
15805static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15806 PyObject *resultobj;
322913ce
RD
15807 int arg1 ;
15808 int arg2 = (int) 0 ;
15809 int arg3 = (int) 0 ;
15810 int arg4 = (int) 0 ;
d14a1e28 15811 wxDateTime *result;
d14a1e28
RD
15812 char *kwnames[] = {
15813 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15814 };
15815
322913ce 15816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iii:new_DateTimeFromHMS",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
d14a1e28
RD
15817 {
15818 PyThreadState* __tstate = wxPyBeginAllowThreads();
15819 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
15820
15821 wxPyEndAllowThreads(__tstate);
15822 if (PyErr_Occurred()) SWIG_fail;
15823 }
15824 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15825 return resultobj;
15826 fail:
15827 return NULL;
15828}
15829
15830
15831static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
15832 PyObject *resultobj;
322913ce 15833 int arg1 ;
d14a1e28
RD
15834 int arg2 = (int) wxDateTime::Inv_Month ;
15835 int arg3 = (int) wxDateTime::Inv_Year ;
322913ce
RD
15836 int arg4 = (int) 0 ;
15837 int arg5 = (int) 0 ;
15838 int arg6 = (int) 0 ;
15839 int arg7 = (int) 0 ;
d14a1e28 15840 wxDateTime *result;
d14a1e28
RD
15841 char *kwnames[] = {
15842 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15843 };
15844
322913ce 15845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iiiiii:new_DateTimeFromDMY",kwnames,&arg1,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7)) goto fail;
d14a1e28
RD
15846 {
15847 PyThreadState* __tstate = wxPyBeginAllowThreads();
15848 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
15849
15850 wxPyEndAllowThreads(__tstate);
15851 if (PyErr_Occurred()) SWIG_fail;
15852 }
15853 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15854 return resultobj;
15855 fail:
15856 return NULL;
15857}
15858
15859
15860static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15861 PyObject *resultobj;
15862 wxDateTime *arg1 = (wxDateTime *) 0 ;
15863 PyObject * obj0 = 0 ;
15864 char *kwnames[] = {
15865 (char *) "self", NULL
15866 };
15867
15868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
15869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15870 {
15871 PyThreadState* __tstate = wxPyBeginAllowThreads();
15872 delete arg1;
15873
15874 wxPyEndAllowThreads(__tstate);
15875 if (PyErr_Occurred()) SWIG_fail;
15876 }
15877 Py_INCREF(Py_None); resultobj = Py_None;
15878 return resultobj;
15879 fail:
15880 return NULL;
15881}
15882
15883
15884static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
15885 PyObject *resultobj;
15886 wxDateTime *arg1 = (wxDateTime *) 0 ;
15887 wxDateTime *result;
15888 PyObject * obj0 = 0 ;
15889 char *kwnames[] = {
15890 (char *) "self", NULL
15891 };
15892
15893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
15894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15895 {
15896 PyThreadState* __tstate = wxPyBeginAllowThreads();
15897 {
15898 wxDateTime &_result_ref = (arg1)->SetToCurrent();
15899 result = (wxDateTime *) &_result_ref;
15900 }
15901
15902 wxPyEndAllowThreads(__tstate);
15903 if (PyErr_Occurred()) SWIG_fail;
15904 }
15905 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15906 return resultobj;
15907 fail:
15908 return NULL;
15909}
15910
15911
15912static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15913 PyObject *resultobj;
15914 wxDateTime *arg1 = (wxDateTime *) 0 ;
15915 time_t arg2 ;
15916 wxDateTime *result;
15917 PyObject * obj0 = 0 ;
15918 PyObject * obj1 = 0 ;
15919 char *kwnames[] = {
15920 (char *) "self",(char *) "timet", NULL
15921 };
15922
15923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
15924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15925 arg2 = (time_t) PyInt_AsLong(obj1);
15926 if (PyErr_Occurred()) SWIG_fail;
15927 {
15928 PyThreadState* __tstate = wxPyBeginAllowThreads();
15929 {
15930 wxDateTime &_result_ref = (arg1)->Set(arg2);
15931 result = (wxDateTime *) &_result_ref;
15932 }
15933
15934 wxPyEndAllowThreads(__tstate);
15935 if (PyErr_Occurred()) SWIG_fail;
15936 }
15937 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15938 return resultobj;
15939 fail:
15940 return NULL;
15941}
15942
15943
15944static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15945 PyObject *resultobj;
15946 wxDateTime *arg1 = (wxDateTime *) 0 ;
15947 double arg2 ;
15948 wxDateTime *result;
15949 PyObject * obj0 = 0 ;
15950 char *kwnames[] = {
15951 (char *) "self",(char *) "jdn", NULL
15952 };
15953
15954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:DateTime_SetJDN",kwnames,&obj0,&arg2)) goto fail;
15955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15956 {
15957 PyThreadState* __tstate = wxPyBeginAllowThreads();
15958 {
15959 wxDateTime &_result_ref = (arg1)->Set(arg2);
15960 result = (wxDateTime *) &_result_ref;
15961 }
15962
15963 wxPyEndAllowThreads(__tstate);
15964 if (PyErr_Occurred()) SWIG_fail;
15965 }
15966 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15967 return resultobj;
15968 fail:
15969 return NULL;
15970}
15971
15972
15973static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15974 PyObject *resultobj;
15975 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce
RD
15976 int arg2 ;
15977 int arg3 = (int) 0 ;
15978 int arg4 = (int) 0 ;
15979 int arg5 = (int) 0 ;
d14a1e28
RD
15980 wxDateTime *result;
15981 PyObject * obj0 = 0 ;
d14a1e28
RD
15982 char *kwnames[] = {
15983 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15984 };
15985
322913ce 15986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetHMS",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
d14a1e28 15987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
15988 {
15989 PyThreadState* __tstate = wxPyBeginAllowThreads();
15990 {
15991 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
15992 result = (wxDateTime *) &_result_ref;
15993 }
15994
15995 wxPyEndAllowThreads(__tstate);
15996 if (PyErr_Occurred()) SWIG_fail;
15997 }
15998 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15999 return resultobj;
16000 fail:
16001 return NULL;
16002}
16003
16004
16005static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
16006 PyObject *resultobj;
16007 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 16008 int arg2 ;
d14a1e28
RD
16009 int arg3 = (int) wxDateTime::Inv_Month ;
16010 int arg4 = (int) wxDateTime::Inv_Year ;
322913ce
RD
16011 int arg5 = (int) 0 ;
16012 int arg6 = (int) 0 ;
16013 int arg7 = (int) 0 ;
16014 int arg8 = (int) 0 ;
d14a1e28
RD
16015 wxDateTime *result;
16016 PyObject * obj0 = 0 ;
d14a1e28
RD
16017 char *kwnames[] = {
16018 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16019 };
16020
322913ce 16021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiiiii:DateTime_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
d14a1e28 16022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16023 {
16024 PyThreadState* __tstate = wxPyBeginAllowThreads();
16025 {
16026 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
16027 result = (wxDateTime *) &_result_ref;
16028 }
16029
16030 wxPyEndAllowThreads(__tstate);
16031 if (PyErr_Occurred()) SWIG_fail;
16032 }
16033 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16034 return resultobj;
16035 fail:
16036 return NULL;
16037}
16038
16039
16040static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
16041 PyObject *resultobj;
16042 wxDateTime *arg1 = (wxDateTime *) 0 ;
16043 wxDateTime *result;
16044 PyObject * obj0 = 0 ;
16045 char *kwnames[] = {
16046 (char *) "self", NULL
16047 };
16048
16049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
16050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16051 {
16052 PyThreadState* __tstate = wxPyBeginAllowThreads();
16053 {
16054 wxDateTime &_result_ref = (arg1)->ResetTime();
16055 result = (wxDateTime *) &_result_ref;
16056 }
16057
16058 wxPyEndAllowThreads(__tstate);
16059 if (PyErr_Occurred()) SWIG_fail;
16060 }
16061 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16062 return resultobj;
16063 fail:
16064 return NULL;
16065}
16066
16067
16068static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16069 PyObject *resultobj;
16070 wxDateTime *arg1 = (wxDateTime *) 0 ;
16071 int arg2 ;
16072 wxDateTime *result;
16073 PyObject * obj0 = 0 ;
16074 char *kwnames[] = {
16075 (char *) "self",(char *) "year", NULL
16076 };
16077
16078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetYear",kwnames,&obj0,&arg2)) goto fail;
16079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16080 {
16081 PyThreadState* __tstate = wxPyBeginAllowThreads();
16082 {
16083 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
16084 result = (wxDateTime *) &_result_ref;
16085 }
16086
16087 wxPyEndAllowThreads(__tstate);
16088 if (PyErr_Occurred()) SWIG_fail;
16089 }
16090 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16091 return resultobj;
16092 fail:
16093 return NULL;
16094}
16095
16096
16097static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16098 PyObject *resultobj;
16099 wxDateTime *arg1 = (wxDateTime *) 0 ;
16100 int arg2 ;
16101 wxDateTime *result;
16102 PyObject * obj0 = 0 ;
16103 char *kwnames[] = {
16104 (char *) "self",(char *) "month", NULL
16105 };
16106
16107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMonth",kwnames,&obj0,&arg2)) goto fail;
16108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16109 {
16110 PyThreadState* __tstate = wxPyBeginAllowThreads();
16111 {
16112 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
16113 result = (wxDateTime *) &_result_ref;
16114 }
16115
16116 wxPyEndAllowThreads(__tstate);
16117 if (PyErr_Occurred()) SWIG_fail;
16118 }
16119 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16120 return resultobj;
16121 fail:
16122 return NULL;
16123}
16124
16125
16126static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16127 PyObject *resultobj;
16128 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 16129 int arg2 ;
d14a1e28
RD
16130 wxDateTime *result;
16131 PyObject * obj0 = 0 ;
d14a1e28
RD
16132 char *kwnames[] = {
16133 (char *) "self",(char *) "day", NULL
16134 };
16135
322913ce 16136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetDay",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16138 {
16139 PyThreadState* __tstate = wxPyBeginAllowThreads();
16140 {
16141 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
16142 result = (wxDateTime *) &_result_ref;
16143 }
16144
16145 wxPyEndAllowThreads(__tstate);
16146 if (PyErr_Occurred()) SWIG_fail;
16147 }
16148 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16149 return resultobj;
16150 fail:
16151 return NULL;
16152}
16153
16154
16155static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
16156 PyObject *resultobj;
16157 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 16158 int arg2 ;
d14a1e28
RD
16159 wxDateTime *result;
16160 PyObject * obj0 = 0 ;
d14a1e28
RD
16161 char *kwnames[] = {
16162 (char *) "self",(char *) "hour", NULL
16163 };
16164
322913ce 16165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetHour",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16167 {
16168 PyThreadState* __tstate = wxPyBeginAllowThreads();
16169 {
16170 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
16171 result = (wxDateTime *) &_result_ref;
16172 }
16173
16174 wxPyEndAllowThreads(__tstate);
16175 if (PyErr_Occurred()) SWIG_fail;
16176 }
16177 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16178 return resultobj;
16179 fail:
16180 return NULL;
16181}
16182
16183
16184static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
16185 PyObject *resultobj;
16186 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 16187 int arg2 ;
d14a1e28
RD
16188 wxDateTime *result;
16189 PyObject * obj0 = 0 ;
d14a1e28
RD
16190 char *kwnames[] = {
16191 (char *) "self",(char *) "minute", NULL
16192 };
16193
322913ce 16194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMinute",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16196 {
16197 PyThreadState* __tstate = wxPyBeginAllowThreads();
16198 {
16199 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
16200 result = (wxDateTime *) &_result_ref;
16201 }
16202
16203 wxPyEndAllowThreads(__tstate);
16204 if (PyErr_Occurred()) SWIG_fail;
16205 }
16206 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16207 return resultobj;
16208 fail:
16209 return NULL;
16210}
16211
16212
16213static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16214 PyObject *resultobj;
16215 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 16216 int arg2 ;
d14a1e28
RD
16217 wxDateTime *result;
16218 PyObject * obj0 = 0 ;
d14a1e28
RD
16219 char *kwnames[] = {
16220 (char *) "self",(char *) "second", NULL
16221 };
16222
322913ce 16223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetSecond",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16225 {
16226 PyThreadState* __tstate = wxPyBeginAllowThreads();
16227 {
16228 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
16229 result = (wxDateTime *) &_result_ref;
16230 }
16231
16232 wxPyEndAllowThreads(__tstate);
16233 if (PyErr_Occurred()) SWIG_fail;
16234 }
16235 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16236 return resultobj;
16237 fail:
16238 return NULL;
16239}
16240
16241
16242static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16243 PyObject *resultobj;
16244 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 16245 int arg2 ;
d14a1e28
RD
16246 wxDateTime *result;
16247 PyObject * obj0 = 0 ;
d14a1e28
RD
16248 char *kwnames[] = {
16249 (char *) "self",(char *) "millisecond", NULL
16250 };
16251
322913ce 16252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMillisecond",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16254 {
16255 PyThreadState* __tstate = wxPyBeginAllowThreads();
16256 {
16257 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
16258 result = (wxDateTime *) &_result_ref;
16259 }
16260
16261 wxPyEndAllowThreads(__tstate);
16262 if (PyErr_Occurred()) SWIG_fail;
16263 }
16264 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16265 return resultobj;
16266 fail:
16267 return NULL;
16268}
16269
16270
16271static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16272 PyObject *resultobj;
16273 wxDateTime *arg1 = (wxDateTime *) 0 ;
16274 int arg2 ;
16275 int arg3 = (int) wxDateTime::Monday_First ;
16276 wxDateTime *result;
16277 PyObject * obj0 = 0 ;
16278 char *kwnames[] = {
16279 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16280 };
16281
16282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16284 {
16285 PyThreadState* __tstate = wxPyBeginAllowThreads();
16286 {
16287 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16288 result = (wxDateTime *) &_result_ref;
16289 }
16290
16291 wxPyEndAllowThreads(__tstate);
16292 if (PyErr_Occurred()) SWIG_fail;
16293 }
16294 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16295 return resultobj;
16296 fail:
16297 return NULL;
16298}
16299
16300
16301static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16302 PyObject *resultobj;
16303 wxDateTime *arg1 = (wxDateTime *) 0 ;
16304 int arg2 ;
16305 int arg3 = (int) wxDateTime::Monday_First ;
16306 wxDateTime result;
16307 PyObject * obj0 = 0 ;
16308 char *kwnames[] = {
16309 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16310 };
16311
16312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16314 {
16315 PyThreadState* __tstate = wxPyBeginAllowThreads();
16316 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16317
16318 wxPyEndAllowThreads(__tstate);
16319 if (PyErr_Occurred()) SWIG_fail;
16320 }
16321 {
16322 wxDateTime * resultptr;
16323 resultptr = new wxDateTime((wxDateTime &) result);
16324 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16325 }
16326 return resultobj;
16327 fail:
16328 return NULL;
16329}
16330
16331
16332static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16333 PyObject *resultobj;
16334 wxDateTime *arg1 = (wxDateTime *) 0 ;
16335 int arg2 ;
16336 wxDateTime *result;
16337 PyObject * obj0 = 0 ;
16338 char *kwnames[] = {
16339 (char *) "self",(char *) "weekday", NULL
16340 };
16341
16342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16344 {
16345 PyThreadState* __tstate = wxPyBeginAllowThreads();
16346 {
16347 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
16348 result = (wxDateTime *) &_result_ref;
16349 }
16350
16351 wxPyEndAllowThreads(__tstate);
16352 if (PyErr_Occurred()) SWIG_fail;
16353 }
16354 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16355 return resultobj;
16356 fail:
16357 return NULL;
16358}
16359
16360
16361static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16362 PyObject *resultobj;
16363 wxDateTime *arg1 = (wxDateTime *) 0 ;
16364 int arg2 ;
16365 wxDateTime result;
16366 PyObject * obj0 = 0 ;
16367 char *kwnames[] = {
16368 (char *) "self",(char *) "weekday", NULL
16369 };
16370
16371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16373 {
16374 PyThreadState* __tstate = wxPyBeginAllowThreads();
16375 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
16376
16377 wxPyEndAllowThreads(__tstate);
16378 if (PyErr_Occurred()) SWIG_fail;
16379 }
16380 {
16381 wxDateTime * resultptr;
16382 resultptr = new wxDateTime((wxDateTime &) result);
16383 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16384 }
16385 return resultobj;
16386 fail:
16387 return NULL;
16388}
16389
16390
16391static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16392 PyObject *resultobj;
16393 wxDateTime *arg1 = (wxDateTime *) 0 ;
16394 int arg2 ;
16395 wxDateTime *result;
16396 PyObject * obj0 = 0 ;
16397 char *kwnames[] = {
16398 (char *) "self",(char *) "weekday", NULL
16399 };
16400
16401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16403 {
16404 PyThreadState* __tstate = wxPyBeginAllowThreads();
16405 {
16406 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
16407 result = (wxDateTime *) &_result_ref;
16408 }
16409
16410 wxPyEndAllowThreads(__tstate);
16411 if (PyErr_Occurred()) SWIG_fail;
16412 }
16413 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16414 return resultobj;
16415 fail:
16416 return NULL;
16417}
16418
16419
16420static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16421 PyObject *resultobj;
16422 wxDateTime *arg1 = (wxDateTime *) 0 ;
16423 int arg2 ;
16424 wxDateTime result;
16425 PyObject * obj0 = 0 ;
16426 char *kwnames[] = {
16427 (char *) "self",(char *) "weekday", NULL
16428 };
16429
16430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16432 {
16433 PyThreadState* __tstate = wxPyBeginAllowThreads();
16434 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
16435
16436 wxPyEndAllowThreads(__tstate);
16437 if (PyErr_Occurred()) SWIG_fail;
16438 }
16439 {
16440 wxDateTime * resultptr;
16441 resultptr = new wxDateTime((wxDateTime &) result);
16442 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16443 }
16444 return resultobj;
16445 fail:
16446 return NULL;
16447}
16448
16449
16450static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16451 PyObject *resultobj;
16452 wxDateTime *arg1 = (wxDateTime *) 0 ;
16453 int arg2 ;
16454 int arg3 = (int) 1 ;
16455 int arg4 = (int) wxDateTime::Inv_Month ;
16456 int arg5 = (int) wxDateTime::Inv_Year ;
16457 bool result;
16458 PyObject * obj0 = 0 ;
16459 char *kwnames[] = {
16460 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16461 };
16462
16463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16465 {
16466 PyThreadState* __tstate = wxPyBeginAllowThreads();
16467 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
16468
16469 wxPyEndAllowThreads(__tstate);
16470 if (PyErr_Occurred()) SWIG_fail;
16471 }
16472 resultobj = PyInt_FromLong((long)result);
16473 return resultobj;
16474 fail:
16475 return NULL;
16476}
16477
16478
16479static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16480 PyObject *resultobj;
16481 wxDateTime *arg1 = (wxDateTime *) 0 ;
16482 int arg2 ;
16483 int arg3 = (int) wxDateTime::Inv_Month ;
16484 int arg4 = (int) wxDateTime::Inv_Year ;
16485 bool result;
16486 PyObject * obj0 = 0 ;
16487 char *kwnames[] = {
16488 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16489 };
16490
16491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16493 {
16494 PyThreadState* __tstate = wxPyBeginAllowThreads();
16495 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16496
16497 wxPyEndAllowThreads(__tstate);
16498 if (PyErr_Occurred()) SWIG_fail;
16499 }
16500 resultobj = PyInt_FromLong((long)result);
16501 return resultobj;
16502 fail:
16503 return NULL;
16504}
16505
16506
16507static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16508 PyObject *resultobj;
16509 wxDateTime *arg1 = (wxDateTime *) 0 ;
16510 int arg2 ;
16511 int arg3 = (int) wxDateTime::Inv_Month ;
16512 int arg4 = (int) wxDateTime::Inv_Year ;
16513 wxDateTime result;
16514 PyObject * obj0 = 0 ;
16515 char *kwnames[] = {
16516 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16517 };
16518
16519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16521 {
16522 PyThreadState* __tstate = wxPyBeginAllowThreads();
16523 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16524
16525 wxPyEndAllowThreads(__tstate);
16526 if (PyErr_Occurred()) SWIG_fail;
16527 }
16528 {
16529 wxDateTime * resultptr;
16530 resultptr = new wxDateTime((wxDateTime &) result);
16531 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16532 }
16533 return resultobj;
16534 fail:
16535 return NULL;
16536}
16537
16538
16539static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16540 PyObject *resultobj;
16541 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 16542 int arg2 ;
d14a1e28
RD
16543 int arg3 = (int) wxDateTime::Mon ;
16544 int arg4 = (int) wxDateTime::Monday_First ;
16545 bool result;
16546 PyObject * obj0 = 0 ;
d14a1e28
RD
16547 char *kwnames[] = {
16548 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16549 };
16550
322913ce 16551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToTheWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
d14a1e28 16552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16553 {
16554 PyThreadState* __tstate = wxPyBeginAllowThreads();
16555 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16556
16557 wxPyEndAllowThreads(__tstate);
16558 if (PyErr_Occurred()) SWIG_fail;
16559 }
16560 resultobj = PyInt_FromLong((long)result);
16561 return resultobj;
16562 fail:
16563 return NULL;
16564}
16565
16566
16567static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16568 PyObject *resultobj;
16569 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 16570 int arg2 ;
d14a1e28
RD
16571 int arg3 = (int) wxDateTime::Mon ;
16572 int arg4 = (int) wxDateTime::Monday_First ;
16573 wxDateTime result;
16574 PyObject * obj0 = 0 ;
d14a1e28
RD
16575 char *kwnames[] = {
16576 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16577 };
16578
322913ce 16579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
d14a1e28 16580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16581 {
16582 PyThreadState* __tstate = wxPyBeginAllowThreads();
16583 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16584
16585 wxPyEndAllowThreads(__tstate);
16586 if (PyErr_Occurred()) SWIG_fail;
16587 }
16588 {
16589 wxDateTime * resultptr;
16590 resultptr = new wxDateTime((wxDateTime &) result);
16591 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16592 }
16593 return resultobj;
16594 fail:
16595 return NULL;
16596}
16597
16598
16599static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16600 PyObject *resultobj;
16601 wxDateTime *arg1 = (wxDateTime *) 0 ;
16602 int arg2 = (int) wxDateTime::Inv_Month ;
16603 int arg3 = (int) wxDateTime::Inv_Year ;
16604 wxDateTime *result;
16605 PyObject * obj0 = 0 ;
16606 char *kwnames[] = {
16607 (char *) "self",(char *) "month",(char *) "year", NULL
16608 };
16609
16610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16612 {
16613 PyThreadState* __tstate = wxPyBeginAllowThreads();
16614 {
16615 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
16616 result = (wxDateTime *) &_result_ref;
16617 }
16618
16619 wxPyEndAllowThreads(__tstate);
16620 if (PyErr_Occurred()) SWIG_fail;
16621 }
16622 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16623 return resultobj;
16624 fail:
16625 return NULL;
16626}
16627
16628
16629static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16630 PyObject *resultobj;
16631 wxDateTime *arg1 = (wxDateTime *) 0 ;
16632 int arg2 = (int) wxDateTime::Inv_Month ;
16633 int arg3 = (int) wxDateTime::Inv_Year ;
16634 wxDateTime result;
16635 PyObject * obj0 = 0 ;
16636 char *kwnames[] = {
16637 (char *) "self",(char *) "month",(char *) "year", NULL
16638 };
16639
16640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16642 {
16643 PyThreadState* __tstate = wxPyBeginAllowThreads();
16644 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
16645
16646 wxPyEndAllowThreads(__tstate);
16647 if (PyErr_Occurred()) SWIG_fail;
16648 }
16649 {
16650 wxDateTime * resultptr;
16651 resultptr = new wxDateTime((wxDateTime &) result);
16652 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16653 }
16654 return resultobj;
16655 fail:
16656 return NULL;
16657}
16658
16659
16660static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16661 PyObject *resultobj;
16662 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 16663 int arg2 ;
d14a1e28
RD
16664 wxDateTime *result;
16665 PyObject * obj0 = 0 ;
d14a1e28
RD
16666 char *kwnames[] = {
16667 (char *) "self",(char *) "yday", NULL
16668 };
16669
322913ce 16670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToYearDay",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16672 {
16673 PyThreadState* __tstate = wxPyBeginAllowThreads();
16674 {
16675 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
16676 result = (wxDateTime *) &_result_ref;
16677 }
16678
16679 wxPyEndAllowThreads(__tstate);
16680 if (PyErr_Occurred()) SWIG_fail;
16681 }
16682 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16683 return resultobj;
16684 fail:
16685 return NULL;
16686}
16687
16688
16689static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16690 PyObject *resultobj;
16691 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 16692 int arg2 ;
d14a1e28
RD
16693 wxDateTime result;
16694 PyObject * obj0 = 0 ;
d14a1e28
RD
16695 char *kwnames[] = {
16696 (char *) "self",(char *) "yday", NULL
16697 };
16698
322913ce 16699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetYearDay",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16701 {
16702 PyThreadState* __tstate = wxPyBeginAllowThreads();
16703 result = (arg1)->GetYearDay(arg2);
16704
16705 wxPyEndAllowThreads(__tstate);
16706 if (PyErr_Occurred()) SWIG_fail;
16707 }
16708 {
16709 wxDateTime * resultptr;
16710 resultptr = new wxDateTime((wxDateTime &) result);
16711 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16712 }
16713 return resultobj;
16714 fail:
16715 return NULL;
16716}
16717
16718
16719static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16720 PyObject *resultobj;
16721 wxDateTime *arg1 = (wxDateTime *) 0 ;
16722 double result;
16723 PyObject * obj0 = 0 ;
16724 char *kwnames[] = {
16725 (char *) "self", NULL
16726 };
16727
16728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
16729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16730 {
16731 PyThreadState* __tstate = wxPyBeginAllowThreads();
16732 result = (double)(arg1)->GetJulianDayNumber();
16733
16734 wxPyEndAllowThreads(__tstate);
16735 if (PyErr_Occurred()) SWIG_fail;
16736 }
16737 resultobj = PyFloat_FromDouble(result);
16738 return resultobj;
16739 fail:
16740 return NULL;
16741}
16742
16743
16744static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
16745 PyObject *resultobj;
16746 wxDateTime *arg1 = (wxDateTime *) 0 ;
16747 double result;
16748 PyObject * obj0 = 0 ;
16749 char *kwnames[] = {
16750 (char *) "self", NULL
16751 };
16752
16753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
16754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16755 {
16756 PyThreadState* __tstate = wxPyBeginAllowThreads();
16757 result = (double)(arg1)->GetJDN();
16758
16759 wxPyEndAllowThreads(__tstate);
16760 if (PyErr_Occurred()) SWIG_fail;
16761 }
16762 resultobj = PyFloat_FromDouble(result);
16763 return resultobj;
16764 fail:
16765 return NULL;
16766}
16767
16768
16769static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16770 PyObject *resultobj;
16771 wxDateTime *arg1 = (wxDateTime *) 0 ;
16772 double result;
16773 PyObject * obj0 = 0 ;
16774 char *kwnames[] = {
16775 (char *) "self", NULL
16776 };
16777
16778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
16779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16780 {
16781 PyThreadState* __tstate = wxPyBeginAllowThreads();
16782 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
16783
16784 wxPyEndAllowThreads(__tstate);
16785 if (PyErr_Occurred()) SWIG_fail;
16786 }
16787 resultobj = PyFloat_FromDouble(result);
16788 return resultobj;
16789 fail:
16790 return NULL;
16791}
16792
16793
16794static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
16795 PyObject *resultobj;
16796 wxDateTime *arg1 = (wxDateTime *) 0 ;
16797 double result;
16798 PyObject * obj0 = 0 ;
16799 char *kwnames[] = {
16800 (char *) "self", NULL
16801 };
16802
16803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
16804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16805 {
16806 PyThreadState* __tstate = wxPyBeginAllowThreads();
16807 result = (double)(arg1)->GetMJD();
16808
16809 wxPyEndAllowThreads(__tstate);
16810 if (PyErr_Occurred()) SWIG_fail;
16811 }
16812 resultobj = PyFloat_FromDouble(result);
16813 return resultobj;
16814 fail:
16815 return NULL;
16816}
16817
16818
16819static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
16820 PyObject *resultobj;
16821 wxDateTime *arg1 = (wxDateTime *) 0 ;
16822 double result;
16823 PyObject * obj0 = 0 ;
16824 char *kwnames[] = {
16825 (char *) "self", NULL
16826 };
16827
16828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
16829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16830 {
16831 PyThreadState* __tstate = wxPyBeginAllowThreads();
16832 result = (double)(arg1)->GetRataDie();
16833
16834 wxPyEndAllowThreads(__tstate);
16835 if (PyErr_Occurred()) SWIG_fail;
16836 }
16837 resultobj = PyFloat_FromDouble(result);
16838 return resultobj;
16839 fail:
16840 return NULL;
16841}
16842
16843
16844static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16845 PyObject *resultobj;
16846 wxDateTime *arg1 = (wxDateTime *) 0 ;
16847 wxDateTime::TimeZone *arg2 = 0 ;
e811c8ce 16848 bool arg3 = (bool) False ;
d14a1e28 16849 wxDateTime result;
7722248d 16850 bool temp2 = False ;
d14a1e28
RD
16851 PyObject * obj0 = 0 ;
16852 PyObject * obj1 = 0 ;
16853 PyObject * obj2 = 0 ;
16854 char *kwnames[] = {
16855 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16856 };
16857
16858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16860 {
16861 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 16862 temp2 = True;
d14a1e28
RD
16863 }
16864 if (obj2) {
16865 arg3 = PyInt_AsLong(obj2) ? true : false;
16866 if (PyErr_Occurred()) SWIG_fail;
16867 }
16868 {
16869 PyThreadState* __tstate = wxPyBeginAllowThreads();
16870 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16871
16872 wxPyEndAllowThreads(__tstate);
16873 if (PyErr_Occurred()) SWIG_fail;
16874 }
16875 {
16876 wxDateTime * resultptr;
16877 resultptr = new wxDateTime((wxDateTime &) result);
16878 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16879 }
16880 {
7722248d 16881 if (temp2) delete arg2;
d14a1e28
RD
16882 }
16883 return resultobj;
16884 fail:
16885 {
7722248d 16886 if (temp2) delete arg2;
d14a1e28
RD
16887 }
16888 return NULL;
16889}
16890
16891
16892static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16893 PyObject *resultobj;
16894 wxDateTime *arg1 = (wxDateTime *) 0 ;
16895 wxDateTime::TimeZone *arg2 = 0 ;
e811c8ce 16896 bool arg3 = (bool) False ;
d14a1e28 16897 wxDateTime *result;
7722248d 16898 bool temp2 = False ;
d14a1e28
RD
16899 PyObject * obj0 = 0 ;
16900 PyObject * obj1 = 0 ;
16901 PyObject * obj2 = 0 ;
16902 char *kwnames[] = {
16903 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16904 };
16905
16906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16908 {
16909 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 16910 temp2 = True;
d14a1e28
RD
16911 }
16912 if (obj2) {
16913 arg3 = PyInt_AsLong(obj2) ? true : false;
16914 if (PyErr_Occurred()) SWIG_fail;
16915 }
16916 {
16917 PyThreadState* __tstate = wxPyBeginAllowThreads();
16918 {
16919 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16920 result = (wxDateTime *) &_result_ref;
16921 }
16922
16923 wxPyEndAllowThreads(__tstate);
16924 if (PyErr_Occurred()) SWIG_fail;
16925 }
16926 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16927 {
7722248d 16928 if (temp2) delete arg2;
d14a1e28
RD
16929 }
16930 return resultobj;
16931 fail:
16932 {
7722248d 16933 if (temp2) delete arg2;
d14a1e28
RD
16934 }
16935 return NULL;
16936}
16937
16938
16939static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16940 PyObject *resultobj;
16941 wxDateTime *arg1 = (wxDateTime *) 0 ;
e811c8ce 16942 bool arg2 = (bool) False ;
d14a1e28
RD
16943 wxDateTime result;
16944 PyObject * obj0 = 0 ;
16945 PyObject * obj1 = 0 ;
16946 char *kwnames[] = {
16947 (char *) "self",(char *) "noDST", NULL
16948 };
16949
16950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
16951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16952 if (obj1) {
16953 arg2 = PyInt_AsLong(obj1) ? true : false;
16954 if (PyErr_Occurred()) SWIG_fail;
16955 }
16956 {
16957 PyThreadState* __tstate = wxPyBeginAllowThreads();
16958 result = (arg1)->ToGMT(arg2);
16959
16960 wxPyEndAllowThreads(__tstate);
16961 if (PyErr_Occurred()) SWIG_fail;
16962 }
16963 {
16964 wxDateTime * resultptr;
16965 resultptr = new wxDateTime((wxDateTime &) result);
16966 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16967 }
16968 return resultobj;
16969 fail:
16970 return NULL;
16971}
16972
16973
16974static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16975 PyObject *resultobj;
16976 wxDateTime *arg1 = (wxDateTime *) 0 ;
e811c8ce 16977 bool arg2 = (bool) False ;
d14a1e28
RD
16978 wxDateTime *result;
16979 PyObject * obj0 = 0 ;
16980 PyObject * obj1 = 0 ;
16981 char *kwnames[] = {
16982 (char *) "self",(char *) "noDST", NULL
16983 };
16984
16985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
16986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16987 if (obj1) {
16988 arg2 = PyInt_AsLong(obj1) ? true : false;
16989 if (PyErr_Occurred()) SWIG_fail;
16990 }
16991 {
16992 PyThreadState* __tstate = wxPyBeginAllowThreads();
16993 {
16994 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
16995 result = (wxDateTime *) &_result_ref;
16996 }
16997
16998 wxPyEndAllowThreads(__tstate);
16999 if (PyErr_Occurred()) SWIG_fail;
17000 }
17001 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17002 return resultobj;
17003 fail:
17004 return NULL;
17005}
17006
17007
17008static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17009 PyObject *resultobj;
17010 wxDateTime *arg1 = (wxDateTime *) 0 ;
17011 int arg2 = (int) wxDateTime::Country_Default ;
17012 int result;
17013 PyObject * obj0 = 0 ;
17014 char *kwnames[] = {
17015 (char *) "self",(char *) "country", NULL
17016 };
17017
17018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsDST",kwnames,&obj0,&arg2)) goto fail;
17019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17020 {
17021 PyThreadState* __tstate = wxPyBeginAllowThreads();
17022 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
17023
17024 wxPyEndAllowThreads(__tstate);
17025 if (PyErr_Occurred()) SWIG_fail;
17026 }
17027 resultobj = PyInt_FromLong((long)result);
17028 return resultobj;
17029 fail:
17030 return NULL;
17031}
17032
17033
17034static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
17035 PyObject *resultobj;
17036 wxDateTime *arg1 = (wxDateTime *) 0 ;
17037 bool result;
17038 PyObject * obj0 = 0 ;
17039 char *kwnames[] = {
17040 (char *) "self", NULL
17041 };
17042
17043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
17044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17045 {
17046 PyThreadState* __tstate = wxPyBeginAllowThreads();
17047 result = (bool)((wxDateTime const *)arg1)->IsValid();
17048
17049 wxPyEndAllowThreads(__tstate);
17050 if (PyErr_Occurred()) SWIG_fail;
17051 }
17052 resultobj = PyInt_FromLong((long)result);
17053 return resultobj;
17054 fail:
17055 return NULL;
17056}
17057
17058
17059static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
17060 PyObject *resultobj;
17061 wxDateTime *arg1 = (wxDateTime *) 0 ;
17062 time_t result;
17063 PyObject * obj0 = 0 ;
17064 char *kwnames[] = {
17065 (char *) "self", NULL
17066 };
17067
17068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
17069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17070 {
17071 PyThreadState* __tstate = wxPyBeginAllowThreads();
17072 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
17073
17074 wxPyEndAllowThreads(__tstate);
17075 if (PyErr_Occurred()) SWIG_fail;
17076 }
17077 resultobj = PyInt_FromLong((long)result);
17078 return resultobj;
17079 fail:
17080 return NULL;
17081}
17082
17083
17084static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17085 PyObject *resultobj;
17086 wxDateTime *arg1 = (wxDateTime *) 0 ;
17087 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17088 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17089 int result;
7722248d 17090 bool temp2 = False ;
d14a1e28
RD
17091 PyObject * obj0 = 0 ;
17092 PyObject * obj1 = 0 ;
17093 char *kwnames[] = {
17094 (char *) "self",(char *) "tz", NULL
17095 };
17096
17097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
17098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17099 if (obj1) {
17100 {
17101 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 17102 temp2 = True;
d14a1e28
RD
17103 }
17104 }
17105 {
17106 PyThreadState* __tstate = wxPyBeginAllowThreads();
17107 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
17108
17109 wxPyEndAllowThreads(__tstate);
17110 if (PyErr_Occurred()) SWIG_fail;
17111 }
17112 resultobj = PyInt_FromLong((long)result);
17113 {
7722248d 17114 if (temp2) delete arg2;
d14a1e28
RD
17115 }
17116 return resultobj;
17117 fail:
17118 {
7722248d 17119 if (temp2) delete arg2;
d14a1e28
RD
17120 }
17121 return NULL;
17122}
17123
17124
17125static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17126 PyObject *resultobj;
17127 wxDateTime *arg1 = (wxDateTime *) 0 ;
17128 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17129 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17130 int result;
7722248d 17131 bool temp2 = False ;
d14a1e28
RD
17132 PyObject * obj0 = 0 ;
17133 PyObject * obj1 = 0 ;
17134 char *kwnames[] = {
17135 (char *) "self",(char *) "tz", NULL
17136 };
17137
17138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
17139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17140 if (obj1) {
17141 {
17142 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 17143 temp2 = True;
d14a1e28
RD
17144 }
17145 }
17146 {
17147 PyThreadState* __tstate = wxPyBeginAllowThreads();
17148 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
17149
17150 wxPyEndAllowThreads(__tstate);
17151 if (PyErr_Occurred()) SWIG_fail;
17152 }
17153 resultobj = PyInt_FromLong((long)result);
17154 {
7722248d 17155 if (temp2) delete arg2;
d14a1e28
RD
17156 }
17157 return resultobj;
17158 fail:
17159 {
7722248d 17160 if (temp2) delete arg2;
d14a1e28
RD
17161 }
17162 return NULL;
17163}
17164
17165
17166static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17167 PyObject *resultobj;
17168 wxDateTime *arg1 = (wxDateTime *) 0 ;
17169 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17170 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 17171 int result;
7722248d 17172 bool temp2 = False ;
d14a1e28
RD
17173 PyObject * obj0 = 0 ;
17174 PyObject * obj1 = 0 ;
17175 char *kwnames[] = {
17176 (char *) "self",(char *) "tz", NULL
17177 };
17178
17179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
17180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17181 if (obj1) {
17182 {
17183 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 17184 temp2 = True;
d14a1e28
RD
17185 }
17186 }
17187 {
17188 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 17189 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17190
17191 wxPyEndAllowThreads(__tstate);
17192 if (PyErr_Occurred()) SWIG_fail;
17193 }
17194 resultobj = PyInt_FromLong((long)result);
17195 {
7722248d 17196 if (temp2) delete arg2;
d14a1e28
RD
17197 }
17198 return resultobj;
17199 fail:
17200 {
7722248d 17201 if (temp2) delete arg2;
d14a1e28
RD
17202 }
17203 return NULL;
17204}
17205
17206
17207static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17208 PyObject *resultobj;
17209 wxDateTime *arg1 = (wxDateTime *) 0 ;
17210 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17211 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17212 int result;
7722248d 17213 bool temp2 = False ;
d14a1e28
RD
17214 PyObject * obj0 = 0 ;
17215 PyObject * obj1 = 0 ;
17216 char *kwnames[] = {
17217 (char *) "self",(char *) "tz", NULL
17218 };
17219
17220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
17221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17222 if (obj1) {
17223 {
17224 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 17225 temp2 = True;
d14a1e28
RD
17226 }
17227 }
17228 {
17229 PyThreadState* __tstate = wxPyBeginAllowThreads();
17230 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
17231
17232 wxPyEndAllowThreads(__tstate);
17233 if (PyErr_Occurred()) SWIG_fail;
17234 }
17235 resultobj = PyInt_FromLong((long)result);
17236 {
7722248d 17237 if (temp2) delete arg2;
d14a1e28
RD
17238 }
17239 return resultobj;
17240 fail:
17241 {
7722248d 17242 if (temp2) delete arg2;
d14a1e28
RD
17243 }
17244 return NULL;
17245}
17246
17247
17248static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17249 PyObject *resultobj;
17250 wxDateTime *arg1 = (wxDateTime *) 0 ;
17251 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17252 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 17253 int result;
7722248d 17254 bool temp2 = False ;
d14a1e28
RD
17255 PyObject * obj0 = 0 ;
17256 PyObject * obj1 = 0 ;
17257 char *kwnames[] = {
17258 (char *) "self",(char *) "tz", NULL
17259 };
17260
17261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
17262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17263 if (obj1) {
17264 {
17265 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 17266 temp2 = True;
d14a1e28
RD
17267 }
17268 }
17269 {
17270 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 17271 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17272
17273 wxPyEndAllowThreads(__tstate);
17274 if (PyErr_Occurred()) SWIG_fail;
17275 }
17276 resultobj = PyInt_FromLong((long)result);
17277 {
7722248d 17278 if (temp2) delete arg2;
d14a1e28
RD
17279 }
17280 return resultobj;
17281 fail:
17282 {
7722248d 17283 if (temp2) delete arg2;
d14a1e28
RD
17284 }
17285 return NULL;
17286}
17287
17288
17289static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17290 PyObject *resultobj;
17291 wxDateTime *arg1 = (wxDateTime *) 0 ;
17292 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17293 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 17294 int result;
7722248d 17295 bool temp2 = False ;
d14a1e28
RD
17296 PyObject * obj0 = 0 ;
17297 PyObject * obj1 = 0 ;
17298 char *kwnames[] = {
17299 (char *) "self",(char *) "tz", NULL
17300 };
17301
17302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
17303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17304 if (obj1) {
17305 {
17306 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 17307 temp2 = True;
d14a1e28
RD
17308 }
17309 }
17310 {
17311 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 17312 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17313
17314 wxPyEndAllowThreads(__tstate);
17315 if (PyErr_Occurred()) SWIG_fail;
17316 }
17317 resultobj = PyInt_FromLong((long)result);
17318 {
7722248d 17319 if (temp2) delete arg2;
d14a1e28
RD
17320 }
17321 return resultobj;
17322 fail:
17323 {
7722248d 17324 if (temp2) delete arg2;
d14a1e28
RD
17325 }
17326 return NULL;
17327}
17328
17329
17330static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17331 PyObject *resultobj;
17332 wxDateTime *arg1 = (wxDateTime *) 0 ;
17333 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17334 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 17335 int result;
7722248d 17336 bool temp2 = False ;
d14a1e28
RD
17337 PyObject * obj0 = 0 ;
17338 PyObject * obj1 = 0 ;
17339 char *kwnames[] = {
17340 (char *) "self",(char *) "tz", NULL
17341 };
17342
17343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
17344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17345 if (obj1) {
17346 {
17347 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 17348 temp2 = True;
d14a1e28
RD
17349 }
17350 }
17351 {
17352 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 17353 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17354
17355 wxPyEndAllowThreads(__tstate);
17356 if (PyErr_Occurred()) SWIG_fail;
17357 }
17358 resultobj = PyInt_FromLong((long)result);
17359 {
7722248d 17360 if (temp2) delete arg2;
d14a1e28
RD
17361 }
17362 return resultobj;
17363 fail:
17364 {
7722248d 17365 if (temp2) delete arg2;
d14a1e28
RD
17366 }
17367 return NULL;
17368}
17369
17370
17371static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17372 PyObject *resultobj;
17373 wxDateTime *arg1 = (wxDateTime *) 0 ;
17374 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17375 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 17376 int result;
7722248d 17377 bool temp2 = False ;
d14a1e28
RD
17378 PyObject * obj0 = 0 ;
17379 PyObject * obj1 = 0 ;
17380 char *kwnames[] = {
17381 (char *) "self",(char *) "tz", NULL
17382 };
17383
17384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
17385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17386 if (obj1) {
17387 {
17388 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 17389 temp2 = True;
d14a1e28
RD
17390 }
17391 }
17392 {
17393 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 17394 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17395
17396 wxPyEndAllowThreads(__tstate);
17397 if (PyErr_Occurred()) SWIG_fail;
17398 }
17399 resultobj = PyInt_FromLong((long)result);
17400 {
7722248d 17401 if (temp2) delete arg2;
d14a1e28
RD
17402 }
17403 return resultobj;
17404 fail:
17405 {
7722248d 17406 if (temp2) delete arg2;
d14a1e28
RD
17407 }
17408 return NULL;
17409}
17410
17411
17412static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17413 PyObject *resultobj;
17414 wxDateTime *arg1 = (wxDateTime *) 0 ;
17415 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17416 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 17417 int result;
7722248d 17418 bool temp2 = False ;
d14a1e28
RD
17419 PyObject * obj0 = 0 ;
17420 PyObject * obj1 = 0 ;
17421 char *kwnames[] = {
17422 (char *) "self",(char *) "tz", NULL
17423 };
17424
17425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
17426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17427 if (obj1) {
17428 {
17429 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
7722248d 17430 temp2 = True;
d14a1e28
RD
17431 }
17432 }
17433 {
17434 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 17435 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17436
17437 wxPyEndAllowThreads(__tstate);
17438 if (PyErr_Occurred()) SWIG_fail;
17439 }
17440 resultobj = PyInt_FromLong((long)result);
17441 {
7722248d 17442 if (temp2) delete arg2;
d14a1e28
RD
17443 }
17444 return resultobj;
17445 fail:
17446 {
7722248d 17447 if (temp2) delete arg2;
d14a1e28
RD
17448 }
17449 return NULL;
17450}
17451
17452
17453static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17454 PyObject *resultobj;
17455 wxDateTime *arg1 = (wxDateTime *) 0 ;
17456 int arg2 = (int) wxDateTime::Monday_First ;
17457 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17458 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
322913ce 17459 int result;
7722248d 17460 bool temp3 = False ;
d14a1e28
RD
17461 PyObject * obj0 = 0 ;
17462 PyObject * obj2 = 0 ;
17463 char *kwnames[] = {
17464 (char *) "self",(char *) "flags",(char *) "tz", NULL
17465 };
17466
17467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames,&obj0,&arg2,&obj2)) goto fail;
17468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17469 if (obj2) {
17470 {
17471 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
7722248d 17472 temp3 = True;
d14a1e28
RD
17473 }
17474 }
17475 {
17476 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 17477 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
17478
17479 wxPyEndAllowThreads(__tstate);
17480 if (PyErr_Occurred()) SWIG_fail;
17481 }
17482 resultobj = PyInt_FromLong((long)result);
17483 {
7722248d 17484 if (temp3) delete arg3;
d14a1e28
RD
17485 }
17486 return resultobj;
17487 fail:
17488 {
7722248d 17489 if (temp3) delete arg3;
d14a1e28
RD
17490 }
17491 return NULL;
17492}
17493
17494
17495static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17496 PyObject *resultobj;
17497 wxDateTime *arg1 = (wxDateTime *) 0 ;
17498 int arg2 = (int) wxDateTime::Monday_First ;
17499 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17500 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
322913ce 17501 int result;
7722248d 17502 bool temp3 = False ;
d14a1e28
RD
17503 PyObject * obj0 = 0 ;
17504 PyObject * obj2 = 0 ;
17505 char *kwnames[] = {
17506 (char *) "self",(char *) "flags",(char *) "tz", NULL
17507 };
17508
17509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames,&obj0,&arg2,&obj2)) goto fail;
17510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17511 if (obj2) {
17512 {
17513 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
7722248d 17514 temp3 = True;
d14a1e28
RD
17515 }
17516 }
17517 {
17518 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 17519 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
17520
17521 wxPyEndAllowThreads(__tstate);
17522 if (PyErr_Occurred()) SWIG_fail;
17523 }
17524 resultobj = PyInt_FromLong((long)result);
17525 {
7722248d 17526 if (temp3) delete arg3;
d14a1e28
RD
17527 }
17528 return resultobj;
17529 fail:
17530 {
7722248d 17531 if (temp3) delete arg3;
d14a1e28
RD
17532 }
17533 return NULL;
17534}
17535
17536
17537static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17538 PyObject *resultobj;
17539 wxDateTime *arg1 = (wxDateTime *) 0 ;
17540 int arg2 = (int) wxDateTime::Country_Default ;
17541 bool result;
17542 PyObject * obj0 = 0 ;
17543 char *kwnames[] = {
17544 (char *) "self",(char *) "country", NULL
17545 };
17546
17547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsWorkDay",kwnames,&obj0,&arg2)) goto fail;
17548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17549 {
17550 PyThreadState* __tstate = wxPyBeginAllowThreads();
17551 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
17552
17553 wxPyEndAllowThreads(__tstate);
17554 if (PyErr_Occurred()) SWIG_fail;
17555 }
17556 resultobj = PyInt_FromLong((long)result);
17557 return resultobj;
17558 fail:
17559 return NULL;
17560}
17561
17562
17563static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17564 PyObject *resultobj;
17565 wxDateTime *arg1 = (wxDateTime *) 0 ;
17566 wxDateTime *arg2 = 0 ;
17567 bool result;
17568 PyObject * obj0 = 0 ;
17569 PyObject * obj1 = 0 ;
17570 char *kwnames[] = {
17571 (char *) "self",(char *) "datetime", NULL
17572 };
17573
17574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
17575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17576 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17577 if (arg2 == NULL) {
17578 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17579 }
17580 {
17581 PyThreadState* __tstate = wxPyBeginAllowThreads();
17582 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
17583
17584 wxPyEndAllowThreads(__tstate);
17585 if (PyErr_Occurred()) SWIG_fail;
17586 }
17587 resultobj = PyInt_FromLong((long)result);
17588 return resultobj;
17589 fail:
17590 return NULL;
17591}
17592
17593
17594static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17595 PyObject *resultobj;
17596 wxDateTime *arg1 = (wxDateTime *) 0 ;
17597 wxDateTime *arg2 = 0 ;
17598 bool result;
17599 PyObject * obj0 = 0 ;
17600 PyObject * obj1 = 0 ;
17601 char *kwnames[] = {
17602 (char *) "self",(char *) "datetime", NULL
17603 };
17604
17605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
17606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17608 if (arg2 == NULL) {
17609 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17610 }
17611 {
17612 PyThreadState* __tstate = wxPyBeginAllowThreads();
17613 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
17614
17615 wxPyEndAllowThreads(__tstate);
17616 if (PyErr_Occurred()) SWIG_fail;
17617 }
17618 resultobj = PyInt_FromLong((long)result);
17619 return resultobj;
17620 fail:
17621 return NULL;
17622}
17623
17624
17625static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17626 PyObject *resultobj;
17627 wxDateTime *arg1 = (wxDateTime *) 0 ;
17628 wxDateTime *arg2 = 0 ;
17629 bool result;
17630 PyObject * obj0 = 0 ;
17631 PyObject * obj1 = 0 ;
17632 char *kwnames[] = {
17633 (char *) "self",(char *) "datetime", NULL
17634 };
17635
17636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
17637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17638 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17639 if (arg2 == NULL) {
17640 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17641 }
17642 {
17643 PyThreadState* __tstate = wxPyBeginAllowThreads();
17644 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
17645
17646 wxPyEndAllowThreads(__tstate);
17647 if (PyErr_Occurred()) SWIG_fail;
17648 }
17649 resultobj = PyInt_FromLong((long)result);
17650 return resultobj;
17651 fail:
17652 return NULL;
17653}
17654
17655
17656static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17657 PyObject *resultobj;
17658 wxDateTime *arg1 = (wxDateTime *) 0 ;
17659 wxDateTime *arg2 = 0 ;
17660 wxDateTime *arg3 = 0 ;
17661 bool result;
17662 PyObject * obj0 = 0 ;
17663 PyObject * obj1 = 0 ;
17664 PyObject * obj2 = 0 ;
17665 char *kwnames[] = {
17666 (char *) "self",(char *) "t1",(char *) "t2", NULL
17667 };
17668
17669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17671 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17672 if (arg2 == NULL) {
17673 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17674 }
17675 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17676 if (arg3 == NULL) {
17677 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17678 }
17679 {
17680 PyThreadState* __tstate = wxPyBeginAllowThreads();
17681 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17682
17683 wxPyEndAllowThreads(__tstate);
17684 if (PyErr_Occurred()) SWIG_fail;
17685 }
17686 resultobj = PyInt_FromLong((long)result);
17687 return resultobj;
17688 fail:
17689 return NULL;
17690}
17691
17692
17693static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17694 PyObject *resultobj;
17695 wxDateTime *arg1 = (wxDateTime *) 0 ;
17696 wxDateTime *arg2 = 0 ;
17697 wxDateTime *arg3 = 0 ;
17698 bool result;
17699 PyObject * obj0 = 0 ;
17700 PyObject * obj1 = 0 ;
17701 PyObject * obj2 = 0 ;
17702 char *kwnames[] = {
17703 (char *) "self",(char *) "t1",(char *) "t2", NULL
17704 };
17705
17706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17708 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17709 if (arg2 == NULL) {
17710 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17711 }
17712 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17713 if (arg3 == NULL) {
17714 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17715 }
17716 {
17717 PyThreadState* __tstate = wxPyBeginAllowThreads();
17718 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17719
17720 wxPyEndAllowThreads(__tstate);
17721 if (PyErr_Occurred()) SWIG_fail;
17722 }
17723 resultobj = PyInt_FromLong((long)result);
17724 return resultobj;
17725 fail:
17726 return NULL;
17727}
17728
17729
17730static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
17731 PyObject *resultobj;
17732 wxDateTime *arg1 = (wxDateTime *) 0 ;
17733 wxDateTime *arg2 = 0 ;
17734 bool result;
17735 PyObject * obj0 = 0 ;
17736 PyObject * obj1 = 0 ;
17737 char *kwnames[] = {
17738 (char *) "self",(char *) "dt", NULL
17739 };
17740
17741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
17742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17743 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17744 if (arg2 == NULL) {
17745 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17746 }
17747 {
17748 PyThreadState* __tstate = wxPyBeginAllowThreads();
17749 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
17750
17751 wxPyEndAllowThreads(__tstate);
17752 if (PyErr_Occurred()) SWIG_fail;
17753 }
17754 resultobj = PyInt_FromLong((long)result);
17755 return resultobj;
17756 fail:
17757 return NULL;
17758}
17759
17760
17761static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17762 PyObject *resultobj;
17763 wxDateTime *arg1 = (wxDateTime *) 0 ;
17764 wxDateTime *arg2 = 0 ;
17765 bool result;
17766 PyObject * obj0 = 0 ;
17767 PyObject * obj1 = 0 ;
17768 char *kwnames[] = {
17769 (char *) "self",(char *) "dt", NULL
17770 };
17771
17772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
17773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17774 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17775 if (arg2 == NULL) {
17776 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17777 }
17778 {
17779 PyThreadState* __tstate = wxPyBeginAllowThreads();
17780 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
17781
17782 wxPyEndAllowThreads(__tstate);
17783 if (PyErr_Occurred()) SWIG_fail;
17784 }
17785 resultobj = PyInt_FromLong((long)result);
17786 return resultobj;
17787 fail:
17788 return NULL;
17789}
17790
17791
17792static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17793 PyObject *resultobj;
17794 wxDateTime *arg1 = (wxDateTime *) 0 ;
17795 wxDateTime *arg2 = 0 ;
17796 wxTimeSpan *arg3 = 0 ;
17797 bool result;
17798 PyObject * obj0 = 0 ;
17799 PyObject * obj1 = 0 ;
17800 PyObject * obj2 = 0 ;
17801 char *kwnames[] = {
17802 (char *) "self",(char *) "dt",(char *) "ts", NULL
17803 };
17804
17805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17807 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17808 if (arg2 == NULL) {
17809 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17810 }
17811 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17812 if (arg3 == NULL) {
17813 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17814 }
17815 {
17816 PyThreadState* __tstate = wxPyBeginAllowThreads();
17817 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
17818
17819 wxPyEndAllowThreads(__tstate);
17820 if (PyErr_Occurred()) SWIG_fail;
17821 }
17822 resultobj = PyInt_FromLong((long)result);
17823 return resultobj;
17824 fail:
17825 return NULL;
17826}
17827
17828
17829static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17830 PyObject *resultobj;
17831 wxDateTime *arg1 = (wxDateTime *) 0 ;
17832 wxTimeSpan *arg2 = 0 ;
17833 wxDateTime *result;
17834 PyObject * obj0 = 0 ;
17835 PyObject * obj1 = 0 ;
17836 char *kwnames[] = {
17837 (char *) "self",(char *) "diff", NULL
17838 };
17839
17840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
17841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17842 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17843 if (arg2 == NULL) {
17844 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17845 }
17846 {
17847 PyThreadState* __tstate = wxPyBeginAllowThreads();
17848 {
17849 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
17850 result = (wxDateTime *) &_result_ref;
17851 }
17852
17853 wxPyEndAllowThreads(__tstate);
17854 if (PyErr_Occurred()) SWIG_fail;
17855 }
17856 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17857 return resultobj;
17858 fail:
17859 return NULL;
17860}
17861
17862
17863static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17864 PyObject *resultobj;
17865 wxDateTime *arg1 = (wxDateTime *) 0 ;
17866 wxDateSpan *arg2 = 0 ;
17867 wxDateTime *result;
17868 PyObject * obj0 = 0 ;
17869 PyObject * obj1 = 0 ;
17870 char *kwnames[] = {
17871 (char *) "self",(char *) "diff", NULL
17872 };
17873
17874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
17875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17876 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17877 if (arg2 == NULL) {
17878 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17879 }
17880 {
17881 PyThreadState* __tstate = wxPyBeginAllowThreads();
17882 {
17883 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
17884 result = (wxDateTime *) &_result_ref;
17885 }
17886
17887 wxPyEndAllowThreads(__tstate);
17888 if (PyErr_Occurred()) SWIG_fail;
17889 }
17890 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17891 return resultobj;
17892 fail:
17893 return NULL;
17894}
17895
17896
17897static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17898 PyObject *resultobj;
17899 wxDateTime *arg1 = (wxDateTime *) 0 ;
17900 wxTimeSpan *arg2 = 0 ;
17901 wxDateTime *result;
17902 PyObject * obj0 = 0 ;
17903 PyObject * obj1 = 0 ;
17904 char *kwnames[] = {
17905 (char *) "self",(char *) "diff", NULL
17906 };
17907
17908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
17909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17910 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17911 if (arg2 == NULL) {
17912 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17913 }
17914 {
17915 PyThreadState* __tstate = wxPyBeginAllowThreads();
17916 {
17917 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
17918 result = (wxDateTime *) &_result_ref;
17919 }
17920
17921 wxPyEndAllowThreads(__tstate);
17922 if (PyErr_Occurred()) SWIG_fail;
17923 }
17924 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17925 return resultobj;
17926 fail:
17927 return NULL;
17928}
17929
17930
17931static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17932 PyObject *resultobj;
17933 wxDateTime *arg1 = (wxDateTime *) 0 ;
17934 wxDateSpan *arg2 = 0 ;
17935 wxDateTime *result;
17936 PyObject * obj0 = 0 ;
17937 PyObject * obj1 = 0 ;
17938 char *kwnames[] = {
17939 (char *) "self",(char *) "diff", NULL
17940 };
17941
17942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
17943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17944 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17945 if (arg2 == NULL) {
17946 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17947 }
17948 {
17949 PyThreadState* __tstate = wxPyBeginAllowThreads();
17950 {
17951 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
17952 result = (wxDateTime *) &_result_ref;
17953 }
17954
17955 wxPyEndAllowThreads(__tstate);
17956 if (PyErr_Occurred()) SWIG_fail;
17957 }
17958 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17959 return resultobj;
17960 fail:
17961 return NULL;
17962}
17963
17964
17965static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
17966 PyObject *resultobj;
17967 wxDateTime *arg1 = (wxDateTime *) 0 ;
17968 wxDateTime *arg2 = 0 ;
17969 wxTimeSpan result;
17970 PyObject * obj0 = 0 ;
17971 PyObject * obj1 = 0 ;
17972 char *kwnames[] = {
17973 (char *) "self",(char *) "dt", NULL
17974 };
17975
17976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
17977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17978 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17979 if (arg2 == NULL) {
17980 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17981 }
17982 {
17983 PyThreadState* __tstate = wxPyBeginAllowThreads();
17984 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
17985
17986 wxPyEndAllowThreads(__tstate);
17987 if (PyErr_Occurred()) SWIG_fail;
17988 }
17989 {
17990 wxTimeSpan * resultptr;
17991 resultptr = new wxTimeSpan((wxTimeSpan &) result);
17992 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
17993 }
17994 return resultobj;
17995 fail:
17996 return NULL;
17997}
17998
17999
18000static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
18001 PyObject *resultobj;
18002 wxDateTime *arg1 = (wxDateTime *) 0 ;
18003 wxTimeSpan *arg2 = 0 ;
18004 wxDateTime *result;
18005 PyObject * obj0 = 0 ;
18006 PyObject * obj1 = 0 ;
18007
18008 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
18009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18010 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18011 if (arg2 == NULL) {
18012 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18013 }
18014 {
18015 PyThreadState* __tstate = wxPyBeginAllowThreads();
18016 {
18017 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
18018 result = (wxDateTime *) &_result_ref;
18019 }
18020
18021 wxPyEndAllowThreads(__tstate);
18022 if (PyErr_Occurred()) SWIG_fail;
18023 }
18024 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18025 return resultobj;
18026 fail:
18027 return NULL;
18028}
18029
18030
18031static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
18032 PyObject *resultobj;
18033 wxDateTime *arg1 = (wxDateTime *) 0 ;
18034 wxDateSpan *arg2 = 0 ;
18035 wxDateTime *result;
18036 PyObject * obj0 = 0 ;
18037 PyObject * obj1 = 0 ;
18038
18039 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
18040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18041 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18042 if (arg2 == NULL) {
18043 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18044 }
18045 {
18046 PyThreadState* __tstate = wxPyBeginAllowThreads();
18047 {
18048 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
18049 result = (wxDateTime *) &_result_ref;
18050 }
18051
18052 wxPyEndAllowThreads(__tstate);
18053 if (PyErr_Occurred()) SWIG_fail;
18054 }
18055 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18056 return resultobj;
18057 fail:
18058 return NULL;
18059}
18060
18061
18062static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
18063 int argc;
18064 PyObject *argv[3];
18065 int ii;
18066
18067 argc = PyObject_Length(args);
18068 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18069 argv[ii] = PyTuple_GetItem(args,ii);
18070 }
18071 if (argc == 2) {
18072 int _v;
18073 {
18074 void *ptr;
18075 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18076 _v = 0;
18077 PyErr_Clear();
18078 } else {
18079 _v = 1;
18080 }
18081 }
18082 if (_v) {
18083 {
18084 void *ptr;
18085 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18086 _v = 0;
18087 PyErr_Clear();
18088 } else {
18089 _v = 1;
18090 }
18091 }
18092 if (_v) {
18093 return _wrap_DateTime___iadd____SWIG_0(self,args);
18094 }
18095 }
18096 }
18097 if (argc == 2) {
18098 int _v;
18099 {
18100 void *ptr;
18101 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18102 _v = 0;
18103 PyErr_Clear();
18104 } else {
18105 _v = 1;
18106 }
18107 }
18108 if (_v) {
18109 {
18110 void *ptr;
18111 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18112 _v = 0;
18113 PyErr_Clear();
18114 } else {
18115 _v = 1;
18116 }
18117 }
18118 if (_v) {
18119 return _wrap_DateTime___iadd____SWIG_1(self,args);
18120 }
18121 }
18122 }
18123
18124 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
18125 return NULL;
18126}
18127
18128
18129static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
18130 PyObject *resultobj;
18131 wxDateTime *arg1 = (wxDateTime *) 0 ;
18132 wxTimeSpan *arg2 = 0 ;
18133 wxDateTime *result;
18134 PyObject * obj0 = 0 ;
18135 PyObject * obj1 = 0 ;
18136
18137 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
18138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18139 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18140 if (arg2 == NULL) {
18141 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18142 }
18143 {
18144 PyThreadState* __tstate = wxPyBeginAllowThreads();
18145 {
18146 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
18147 result = (wxDateTime *) &_result_ref;
18148 }
18149
18150 wxPyEndAllowThreads(__tstate);
18151 if (PyErr_Occurred()) SWIG_fail;
18152 }
18153 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18154 return resultobj;
18155 fail:
18156 return NULL;
18157}
18158
18159
18160static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
18161 PyObject *resultobj;
18162 wxDateTime *arg1 = (wxDateTime *) 0 ;
18163 wxDateSpan *arg2 = 0 ;
18164 wxDateTime *result;
18165 PyObject * obj0 = 0 ;
18166 PyObject * obj1 = 0 ;
18167
18168 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
18169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18170 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18171 if (arg2 == NULL) {
18172 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18173 }
18174 {
18175 PyThreadState* __tstate = wxPyBeginAllowThreads();
18176 {
18177 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
18178 result = (wxDateTime *) &_result_ref;
18179 }
18180
18181 wxPyEndAllowThreads(__tstate);
18182 if (PyErr_Occurred()) SWIG_fail;
18183 }
18184 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18185 return resultobj;
18186 fail:
18187 return NULL;
18188}
18189
18190
18191static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
18192 int argc;
18193 PyObject *argv[3];
18194 int ii;
18195
18196 argc = PyObject_Length(args);
18197 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18198 argv[ii] = PyTuple_GetItem(args,ii);
18199 }
18200 if (argc == 2) {
18201 int _v;
18202 {
18203 void *ptr;
18204 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18205 _v = 0;
18206 PyErr_Clear();
18207 } else {
18208 _v = 1;
18209 }
18210 }
18211 if (_v) {
18212 {
18213 void *ptr;
18214 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18215 _v = 0;
18216 PyErr_Clear();
18217 } else {
18218 _v = 1;
18219 }
18220 }
18221 if (_v) {
18222 return _wrap_DateTime___isub____SWIG_0(self,args);
18223 }
18224 }
18225 }
18226 if (argc == 2) {
18227 int _v;
18228 {
18229 void *ptr;
18230 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18231 _v = 0;
18232 PyErr_Clear();
18233 } else {
18234 _v = 1;
18235 }
18236 }
18237 if (_v) {
18238 {
18239 void *ptr;
18240 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18241 _v = 0;
18242 PyErr_Clear();
18243 } else {
18244 _v = 1;
18245 }
18246 }
18247 if (_v) {
18248 return _wrap_DateTime___isub____SWIG_1(self,args);
18249 }
18250 }
18251 }
18252
18253 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
18254 return NULL;
18255}
18256
18257
18258static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
18259 PyObject *resultobj;
18260 wxDateTime *arg1 = (wxDateTime *) 0 ;
18261 wxTimeSpan *arg2 = 0 ;
18262 wxDateTime result;
18263 PyObject * obj0 = 0 ;
18264 PyObject * obj1 = 0 ;
18265
18266 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18268 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18269 if (arg2 == NULL) {
18270 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18271 }
18272 {
18273 PyThreadState* __tstate = wxPyBeginAllowThreads();
18274 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
18275
18276 wxPyEndAllowThreads(__tstate);
18277 if (PyErr_Occurred()) SWIG_fail;
18278 }
18279 {
18280 wxDateTime * resultptr;
18281 resultptr = new wxDateTime((wxDateTime &) result);
18282 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18283 }
18284 return resultobj;
18285 fail:
18286 return NULL;
18287}
18288
18289
18290static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
18291 PyObject *resultobj;
18292 wxDateTime *arg1 = (wxDateTime *) 0 ;
18293 wxDateSpan *arg2 = 0 ;
18294 wxDateTime result;
18295 PyObject * obj0 = 0 ;
18296 PyObject * obj1 = 0 ;
18297
18298 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18300 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18301 if (arg2 == NULL) {
18302 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18303 }
18304 {
18305 PyThreadState* __tstate = wxPyBeginAllowThreads();
18306 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
18307
18308 wxPyEndAllowThreads(__tstate);
18309 if (PyErr_Occurred()) SWIG_fail;
18310 }
18311 {
18312 wxDateTime * resultptr;
18313 resultptr = new wxDateTime((wxDateTime &) result);
18314 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18315 }
18316 return resultobj;
18317 fail:
18318 return NULL;
18319}
18320
18321
18322static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
18323 int argc;
18324 PyObject *argv[3];
18325 int ii;
18326
18327 argc = PyObject_Length(args);
18328 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18329 argv[ii] = PyTuple_GetItem(args,ii);
18330 }
18331 if (argc == 2) {
18332 int _v;
18333 {
18334 void *ptr;
18335 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18336 _v = 0;
18337 PyErr_Clear();
18338 } else {
18339 _v = 1;
18340 }
18341 }
18342 if (_v) {
18343 {
18344 void *ptr;
18345 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18346 _v = 0;
18347 PyErr_Clear();
18348 } else {
18349 _v = 1;
18350 }
18351 }
18352 if (_v) {
18353 return _wrap_DateTime___add____SWIG_0(self,args);
18354 }
18355 }
18356 }
18357 if (argc == 2) {
18358 int _v;
18359 {
18360 void *ptr;
18361 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18362 _v = 0;
18363 PyErr_Clear();
18364 } else {
18365 _v = 1;
18366 }
18367 }
18368 if (_v) {
18369 {
18370 void *ptr;
18371 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18372 _v = 0;
18373 PyErr_Clear();
18374 } else {
18375 _v = 1;
18376 }
18377 }
18378 if (_v) {
18379 return _wrap_DateTime___add____SWIG_1(self,args);
18380 }
18381 }
18382 }
18383
18384 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
18385 return NULL;
18386}
18387
18388
18389static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
18390 PyObject *resultobj;
18391 wxDateTime *arg1 = (wxDateTime *) 0 ;
18392 wxDateTime *arg2 = 0 ;
18393 wxTimeSpan result;
18394 PyObject * obj0 = 0 ;
18395 PyObject * obj1 = 0 ;
18396
18397 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18399 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18400 if (arg2 == NULL) {
18401 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18402 }
18403 {
18404 PyThreadState* __tstate = wxPyBeginAllowThreads();
18405 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
18406
18407 wxPyEndAllowThreads(__tstate);
18408 if (PyErr_Occurred()) SWIG_fail;
18409 }
18410 {
18411 wxTimeSpan * resultptr;
18412 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18413 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18414 }
18415 return resultobj;
18416 fail:
18417 return NULL;
18418}
18419
18420
18421static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
18422 PyObject *resultobj;
18423 wxDateTime *arg1 = (wxDateTime *) 0 ;
18424 wxTimeSpan *arg2 = 0 ;
18425 wxDateTime result;
18426 PyObject * obj0 = 0 ;
18427 PyObject * obj1 = 0 ;
18428
18429 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18431 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18432 if (arg2 == NULL) {
18433 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18434 }
18435 {
18436 PyThreadState* __tstate = wxPyBeginAllowThreads();
18437 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
18438
18439 wxPyEndAllowThreads(__tstate);
18440 if (PyErr_Occurred()) SWIG_fail;
18441 }
18442 {
18443 wxDateTime * resultptr;
18444 resultptr = new wxDateTime((wxDateTime &) result);
18445 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18446 }
18447 return resultobj;
18448 fail:
18449 return NULL;
18450}
18451
18452
18453static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
18454 PyObject *resultobj;
18455 wxDateTime *arg1 = (wxDateTime *) 0 ;
18456 wxDateSpan *arg2 = 0 ;
18457 wxDateTime result;
18458 PyObject * obj0 = 0 ;
18459 PyObject * obj1 = 0 ;
18460
18461 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18463 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18464 if (arg2 == NULL) {
18465 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18466 }
18467 {
18468 PyThreadState* __tstate = wxPyBeginAllowThreads();
18469 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
18470
18471 wxPyEndAllowThreads(__tstate);
18472 if (PyErr_Occurred()) SWIG_fail;
18473 }
18474 {
18475 wxDateTime * resultptr;
18476 resultptr = new wxDateTime((wxDateTime &) result);
18477 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18478 }
18479 return resultobj;
18480 fail:
18481 return NULL;
18482}
18483
18484
18485static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
18486 int argc;
18487 PyObject *argv[3];
18488 int ii;
18489
18490 argc = PyObject_Length(args);
18491 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18492 argv[ii] = PyTuple_GetItem(args,ii);
18493 }
18494 if (argc == 2) {
18495 int _v;
18496 {
18497 void *ptr;
18498 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18499 _v = 0;
18500 PyErr_Clear();
18501 } else {
18502 _v = 1;
18503 }
18504 }
18505 if (_v) {
18506 {
18507 void *ptr;
18508 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18509 _v = 0;
18510 PyErr_Clear();
18511 } else {
18512 _v = 1;
18513 }
18514 }
18515 if (_v) {
18516 return _wrap_DateTime___sub____SWIG_0(self,args);
18517 }
18518 }
18519 }
18520 if (argc == 2) {
18521 int _v;
18522 {
18523 void *ptr;
18524 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18525 _v = 0;
18526 PyErr_Clear();
18527 } else {
18528 _v = 1;
18529 }
18530 }
18531 if (_v) {
18532 {
18533 void *ptr;
18534 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18535 _v = 0;
18536 PyErr_Clear();
18537 } else {
18538 _v = 1;
18539 }
18540 }
18541 if (_v) {
18542 return _wrap_DateTime___sub____SWIG_1(self,args);
18543 }
18544 }
18545 }
18546 if (argc == 2) {
18547 int _v;
18548 {
18549 void *ptr;
18550 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18551 _v = 0;
18552 PyErr_Clear();
18553 } else {
18554 _v = 1;
18555 }
18556 }
18557 if (_v) {
18558 {
18559 void *ptr;
18560 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18561 _v = 0;
18562 PyErr_Clear();
18563 } else {
18564 _v = 1;
18565 }
18566 }
18567 if (_v) {
18568 return _wrap_DateTime___sub____SWIG_2(self,args);
18569 }
18570 }
18571 }
18572
18573 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
18574 return NULL;
18575}
18576
18577
18578static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
18579 PyObject *resultobj;
18580 wxDateTime *arg1 = (wxDateTime *) 0 ;
18581 wxDateTime *arg2 = 0 ;
18582 bool result;
18583 PyObject * obj0 = 0 ;
18584 PyObject * obj1 = 0 ;
18585
18586 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
18587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18588 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18589 if (arg2 == NULL) {
18590 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18591 }
18592 {
18593 PyThreadState* __tstate = wxPyBeginAllowThreads();
18594 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const &)*arg2);
18595
18596 wxPyEndAllowThreads(__tstate);
18597 if (PyErr_Occurred()) SWIG_fail;
18598 }
18599 resultobj = PyInt_FromLong((long)result);
18600 return resultobj;
18601 fail:
18602 return NULL;
18603}
18604
18605
18606static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
18607 PyObject *resultobj;
18608 wxDateTime *arg1 = (wxDateTime *) 0 ;
18609 wxDateTime *arg2 = 0 ;
18610 bool result;
18611 PyObject * obj0 = 0 ;
18612 PyObject * obj1 = 0 ;
18613
18614 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
18615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18616 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18617 if (arg2 == NULL) {
18618 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18619 }
18620 {
18621 PyThreadState* __tstate = wxPyBeginAllowThreads();
18622 result = (bool)wxDateTime___le__(arg1,(wxDateTime const &)*arg2);
18623
18624 wxPyEndAllowThreads(__tstate);
18625 if (PyErr_Occurred()) SWIG_fail;
18626 }
18627 resultobj = PyInt_FromLong((long)result);
18628 return resultobj;
18629 fail:
18630 return NULL;
18631}
18632
18633
18634static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
18635 PyObject *resultobj;
18636 wxDateTime *arg1 = (wxDateTime *) 0 ;
18637 wxDateTime *arg2 = 0 ;
18638 bool result;
18639 PyObject * obj0 = 0 ;
18640 PyObject * obj1 = 0 ;
18641
18642 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
18643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18645 if (arg2 == NULL) {
18646 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18647 }
18648 {
18649 PyThreadState* __tstate = wxPyBeginAllowThreads();
18650 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const &)*arg2);
18651
18652 wxPyEndAllowThreads(__tstate);
18653 if (PyErr_Occurred()) SWIG_fail;
18654 }
18655 resultobj = PyInt_FromLong((long)result);
18656 return resultobj;
18657 fail:
18658 return NULL;
18659}
18660
18661
18662static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
18663 PyObject *resultobj;
18664 wxDateTime *arg1 = (wxDateTime *) 0 ;
18665 wxDateTime *arg2 = 0 ;
18666 bool result;
18667 PyObject * obj0 = 0 ;
18668 PyObject * obj1 = 0 ;
18669
18670 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
18671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18672 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18673 if (arg2 == NULL) {
18674 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18675 }
18676 {
18677 PyThreadState* __tstate = wxPyBeginAllowThreads();
18678 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const &)*arg2);
18679
18680 wxPyEndAllowThreads(__tstate);
18681 if (PyErr_Occurred()) SWIG_fail;
18682 }
18683 resultobj = PyInt_FromLong((long)result);
18684 return resultobj;
18685 fail:
18686 return NULL;
18687}
18688
18689
18690static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
18691 PyObject *resultobj;
18692 wxDateTime *arg1 = (wxDateTime *) 0 ;
18693 wxDateTime *arg2 = 0 ;
18694 bool result;
18695 PyObject * obj0 = 0 ;
18696 PyObject * obj1 = 0 ;
18697
18698 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
18699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18700 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18701 if (arg2 == NULL) {
18702 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18703 }
18704 {
18705 PyThreadState* __tstate = wxPyBeginAllowThreads();
18706 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const &)*arg2);
18707
18708 wxPyEndAllowThreads(__tstate);
18709 if (PyErr_Occurred()) SWIG_fail;
18710 }
18711 resultobj = PyInt_FromLong((long)result);
18712 return resultobj;
18713 fail:
18714 return NULL;
18715}
18716
18717
18718static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
18719 PyObject *resultobj;
18720 wxDateTime *arg1 = (wxDateTime *) 0 ;
18721 wxDateTime *arg2 = 0 ;
18722 bool result;
18723 PyObject * obj0 = 0 ;
18724 PyObject * obj1 = 0 ;
18725
18726 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
18727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18728 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18729 if (arg2 == NULL) {
18730 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18731 }
18732 {
18733 PyThreadState* __tstate = wxPyBeginAllowThreads();
18734 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const &)*arg2);
18735
18736 wxPyEndAllowThreads(__tstate);
18737 if (PyErr_Occurred()) SWIG_fail;
18738 }
18739 resultobj = PyInt_FromLong((long)result);
18740 return resultobj;
18741 fail:
18742 return NULL;
18743}
18744
18745
18746static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
18747 PyObject *resultobj;
18748 wxDateTime *arg1 = (wxDateTime *) 0 ;
18749 wxString *arg2 = 0 ;
18750 int result;
e811c8ce 18751 bool temp2 = False ;
d14a1e28
RD
18752 PyObject * obj0 = 0 ;
18753 PyObject * obj1 = 0 ;
18754 char *kwnames[] = {
18755 (char *) "self",(char *) "date", NULL
18756 };
18757
18758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
18759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18760 {
18761 arg2 = wxString_in_helper(obj1);
18762 if (arg2 == NULL) SWIG_fail;
e811c8ce 18763 temp2 = True;
d14a1e28
RD
18764 }
18765 {
18766 PyThreadState* __tstate = wxPyBeginAllowThreads();
18767 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
18768
18769 wxPyEndAllowThreads(__tstate);
18770 if (PyErr_Occurred()) SWIG_fail;
18771 }
18772 resultobj = PyInt_FromLong((long)result);
18773 {
18774 if (temp2)
18775 delete arg2;
18776 }
18777 return resultobj;
18778 fail:
18779 {
18780 if (temp2)
18781 delete arg2;
18782 }
18783 return NULL;
18784}
18785
18786
18787static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
18788 PyObject *resultobj;
18789 wxDateTime *arg1 = (wxDateTime *) 0 ;
18790 wxString *arg2 = 0 ;
18791 wxString const &arg3_defvalue = wxPyDateFormatStr ;
18792 wxString *arg3 = (wxString *) &arg3_defvalue ;
18793 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
18794 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
18795 int result;
e811c8ce
RD
18796 bool temp2 = False ;
18797 bool temp3 = False ;
d14a1e28
RD
18798 PyObject * obj0 = 0 ;
18799 PyObject * obj1 = 0 ;
18800 PyObject * obj2 = 0 ;
18801 PyObject * obj3 = 0 ;
18802 char *kwnames[] = {
18803 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
18804 };
18805
18806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18808 {
18809 arg2 = wxString_in_helper(obj1);
18810 if (arg2 == NULL) SWIG_fail;
e811c8ce 18811 temp2 = True;
d14a1e28
RD
18812 }
18813 if (obj2) {
18814 {
18815 arg3 = wxString_in_helper(obj2);
18816 if (arg3 == NULL) SWIG_fail;
e811c8ce 18817 temp3 = True;
d14a1e28
RD
18818 }
18819 }
18820 if (obj3) {
18821 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18822 if (arg4 == NULL) {
18823 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18824 }
18825 }
18826 {
18827 PyThreadState* __tstate = wxPyBeginAllowThreads();
18828 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
18829
18830 wxPyEndAllowThreads(__tstate);
18831 if (PyErr_Occurred()) SWIG_fail;
18832 }
18833 resultobj = PyInt_FromLong((long)result);
18834 {
18835 if (temp2)
18836 delete arg2;
18837 }
18838 {
18839 if (temp3)
18840 delete arg3;
18841 }
18842 return resultobj;
18843 fail:
18844 {
18845 if (temp2)
18846 delete arg2;
18847 }
18848 {
18849 if (temp3)
18850 delete arg3;
18851 }
18852 return NULL;
18853}
18854
18855
18856static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18857 PyObject *resultobj;
18858 wxDateTime *arg1 = (wxDateTime *) 0 ;
18859 wxString *arg2 = 0 ;
18860 int result;
e811c8ce 18861 bool temp2 = False ;
d14a1e28
RD
18862 PyObject * obj0 = 0 ;
18863 PyObject * obj1 = 0 ;
18864 char *kwnames[] = {
18865 (char *) "self",(char *) "datetime", NULL
18866 };
18867
18868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
18869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18870 {
18871 arg2 = wxString_in_helper(obj1);
18872 if (arg2 == NULL) SWIG_fail;
e811c8ce 18873 temp2 = True;
d14a1e28
RD
18874 }
18875 {
18876 PyThreadState* __tstate = wxPyBeginAllowThreads();
18877 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
18878
18879 wxPyEndAllowThreads(__tstate);
18880 if (PyErr_Occurred()) SWIG_fail;
18881 }
18882 resultobj = PyInt_FromLong((long)result);
18883 {
18884 if (temp2)
18885 delete arg2;
18886 }
18887 return resultobj;
18888 fail:
18889 {
18890 if (temp2)
18891 delete arg2;
18892 }
18893 return NULL;
18894}
18895
18896
18897static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
18898 PyObject *resultobj;
18899 wxDateTime *arg1 = (wxDateTime *) 0 ;
18900 wxString *arg2 = 0 ;
18901 int result;
e811c8ce 18902 bool temp2 = False ;
d14a1e28
RD
18903 PyObject * obj0 = 0 ;
18904 PyObject * obj1 = 0 ;
18905 char *kwnames[] = {
18906 (char *) "self",(char *) "date", NULL
18907 };
18908
18909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
18910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18911 {
18912 arg2 = wxString_in_helper(obj1);
18913 if (arg2 == NULL) SWIG_fail;
e811c8ce 18914 temp2 = True;
d14a1e28
RD
18915 }
18916 {
18917 PyThreadState* __tstate = wxPyBeginAllowThreads();
18918 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
18919
18920 wxPyEndAllowThreads(__tstate);
18921 if (PyErr_Occurred()) SWIG_fail;
18922 }
18923 resultobj = PyInt_FromLong((long)result);
18924 {
18925 if (temp2)
18926 delete arg2;
18927 }
18928 return resultobj;
18929 fail:
18930 {
18931 if (temp2)
18932 delete arg2;
18933 }
18934 return NULL;
18935}
18936
18937
18938static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18939 PyObject *resultobj;
18940 wxDateTime *arg1 = (wxDateTime *) 0 ;
18941 wxString *arg2 = 0 ;
18942 int result;
e811c8ce 18943 bool temp2 = False ;
d14a1e28
RD
18944 PyObject * obj0 = 0 ;
18945 PyObject * obj1 = 0 ;
18946 char *kwnames[] = {
18947 (char *) "self",(char *) "time", NULL
18948 };
18949
18950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
18951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18952 {
18953 arg2 = wxString_in_helper(obj1);
18954 if (arg2 == NULL) SWIG_fail;
e811c8ce 18955 temp2 = True;
d14a1e28
RD
18956 }
18957 {
18958 PyThreadState* __tstate = wxPyBeginAllowThreads();
18959 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
18960
18961 wxPyEndAllowThreads(__tstate);
18962 if (PyErr_Occurred()) SWIG_fail;
18963 }
18964 resultobj = PyInt_FromLong((long)result);
18965 {
18966 if (temp2)
18967 delete arg2;
18968 }
18969 return resultobj;
18970 fail:
18971 {
18972 if (temp2)
18973 delete arg2;
18974 }
18975 return NULL;
18976}
18977
18978
18979static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
18980 PyObject *resultobj;
18981 wxDateTime *arg1 = (wxDateTime *) 0 ;
18982 wxString const &arg2_defvalue = wxPyDateFormatStr ;
18983 wxString *arg2 = (wxString *) &arg2_defvalue ;
18984 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
18985 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
18986 wxString result;
e811c8ce 18987 bool temp2 = False ;
7722248d 18988 bool temp3 = False ;
d14a1e28
RD
18989 PyObject * obj0 = 0 ;
18990 PyObject * obj1 = 0 ;
18991 PyObject * obj2 = 0 ;
18992 char *kwnames[] = {
18993 (char *) "self",(char *) "format",(char *) "tz", NULL
18994 };
18995
18996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
18997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18998 if (obj1) {
18999 {
19000 arg2 = wxString_in_helper(obj1);
19001 if (arg2 == NULL) SWIG_fail;
e811c8ce 19002 temp2 = True;
d14a1e28
RD
19003 }
19004 }
19005 if (obj2) {
19006 {
19007 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
7722248d 19008 temp3 = True;
d14a1e28
RD
19009 }
19010 }
19011 {
19012 PyThreadState* __tstate = wxPyBeginAllowThreads();
19013 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
19014
19015 wxPyEndAllowThreads(__tstate);
19016 if (PyErr_Occurred()) SWIG_fail;
19017 }
19018 {
19019#if wxUSE_UNICODE
19020 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19021#else
19022 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19023#endif
19024 }
19025 {
19026 if (temp2)
19027 delete arg2;
19028 }
19029 {
7722248d 19030 if (temp3) delete arg3;
d14a1e28
RD
19031 }
19032 return resultobj;
19033 fail:
19034 {
19035 if (temp2)
19036 delete arg2;
19037 }
19038 {
7722248d 19039 if (temp3) delete arg3;
d14a1e28
RD
19040 }
19041 return NULL;
19042}
19043
19044
19045static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19046 PyObject *resultobj;
19047 wxDateTime *arg1 = (wxDateTime *) 0 ;
19048 wxString result;
19049 PyObject * obj0 = 0 ;
19050 char *kwnames[] = {
19051 (char *) "self", NULL
19052 };
19053
19054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
19055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19056 {
19057 PyThreadState* __tstate = wxPyBeginAllowThreads();
19058 result = ((wxDateTime const *)arg1)->FormatDate();
19059
19060 wxPyEndAllowThreads(__tstate);
19061 if (PyErr_Occurred()) SWIG_fail;
19062 }
19063 {
19064#if wxUSE_UNICODE
19065 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19066#else
19067 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19068#endif
19069 }
19070 return resultobj;
19071 fail:
19072 return NULL;
19073}
19074
19075
19076static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19077 PyObject *resultobj;
19078 wxDateTime *arg1 = (wxDateTime *) 0 ;
19079 wxString result;
19080 PyObject * obj0 = 0 ;
19081 char *kwnames[] = {
19082 (char *) "self", NULL
19083 };
19084
19085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
19086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19087 {
19088 PyThreadState* __tstate = wxPyBeginAllowThreads();
19089 result = ((wxDateTime const *)arg1)->FormatTime();
19090
19091 wxPyEndAllowThreads(__tstate);
19092 if (PyErr_Occurred()) SWIG_fail;
19093 }
19094 {
19095#if wxUSE_UNICODE
19096 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19097#else
19098 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19099#endif
19100 }
19101 return resultobj;
19102 fail:
19103 return NULL;
19104}
19105
19106
19107static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
19108 PyObject *resultobj;
19109 wxDateTime *arg1 = (wxDateTime *) 0 ;
19110 wxString result;
19111 PyObject * obj0 = 0 ;
19112 char *kwnames[] = {
19113 (char *) "self", NULL
19114 };
19115
19116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
19117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19118 {
19119 PyThreadState* __tstate = wxPyBeginAllowThreads();
19120 result = ((wxDateTime const *)arg1)->FormatISODate();
19121
19122 wxPyEndAllowThreads(__tstate);
19123 if (PyErr_Occurred()) SWIG_fail;
19124 }
19125 {
19126#if wxUSE_UNICODE
19127 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19128#else
19129 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19130#endif
19131 }
19132 return resultobj;
19133 fail:
19134 return NULL;
19135}
19136
19137
19138static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19139 PyObject *resultobj;
19140 wxDateTime *arg1 = (wxDateTime *) 0 ;
19141 wxString result;
19142 PyObject * obj0 = 0 ;
19143 char *kwnames[] = {
19144 (char *) "self", NULL
19145 };
19146
19147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
19148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19149 {
19150 PyThreadState* __tstate = wxPyBeginAllowThreads();
19151 result = ((wxDateTime const *)arg1)->FormatISOTime();
19152
19153 wxPyEndAllowThreads(__tstate);
19154 if (PyErr_Occurred()) SWIG_fail;
19155 }
19156 {
19157#if wxUSE_UNICODE
19158 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19159#else
19160 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19161#endif
19162 }
19163 return resultobj;
19164 fail:
19165 return NULL;
19166}
19167
19168
19169static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
19170 PyObject *obj;
19171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19172 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
19173 Py_INCREF(obj);
19174 return Py_BuildValue((char *)"");
19175}
19176static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
19177 PyObject *resultobj;
19178 long arg1 ;
19179 wxTimeSpan result;
19180 char *kwnames[] = {
19181 (char *) "sec", NULL
19182 };
19183
19184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Seconds",kwnames,&arg1)) goto fail;
19185 {
19186 PyThreadState* __tstate = wxPyBeginAllowThreads();
19187 result = wxTimeSpan::Seconds(arg1);
19188
19189 wxPyEndAllowThreads(__tstate);
19190 if (PyErr_Occurred()) SWIG_fail;
19191 }
19192 {
19193 wxTimeSpan * resultptr;
19194 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19195 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19196 }
19197 return resultobj;
19198 fail:
19199 return NULL;
19200}
19201
19202
19203static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
19204 PyObject *resultobj;
19205 wxTimeSpan result;
19206 char *kwnames[] = {
19207 NULL
19208 };
19209
19210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
19211 {
19212 PyThreadState* __tstate = wxPyBeginAllowThreads();
19213 result = wxTimeSpan::Second();
19214
19215 wxPyEndAllowThreads(__tstate);
19216 if (PyErr_Occurred()) SWIG_fail;
19217 }
19218 {
19219 wxTimeSpan * resultptr;
19220 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19221 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19222 }
19223 return resultobj;
19224 fail:
19225 return NULL;
19226}
19227
19228
19229static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
19230 PyObject *resultobj;
19231 long arg1 ;
19232 wxTimeSpan result;
19233 char *kwnames[] = {
19234 (char *) "min", NULL
19235 };
19236
19237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Minutes",kwnames,&arg1)) goto fail;
19238 {
19239 PyThreadState* __tstate = wxPyBeginAllowThreads();
19240 result = wxTimeSpan::Minutes(arg1);
19241
19242 wxPyEndAllowThreads(__tstate);
19243 if (PyErr_Occurred()) SWIG_fail;
19244 }
19245 {
19246 wxTimeSpan * resultptr;
19247 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19248 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19249 }
19250 return resultobj;
19251 fail:
19252 return NULL;
19253}
19254
19255
19256static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
19257 PyObject *resultobj;
19258 wxTimeSpan result;
19259 char *kwnames[] = {
19260 NULL
19261 };
19262
19263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
19264 {
19265 PyThreadState* __tstate = wxPyBeginAllowThreads();
19266 result = wxTimeSpan::Minute();
19267
19268 wxPyEndAllowThreads(__tstate);
19269 if (PyErr_Occurred()) SWIG_fail;
19270 }
19271 {
19272 wxTimeSpan * resultptr;
19273 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19274 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19275 }
19276 return resultobj;
19277 fail:
19278 return NULL;
19279}
19280
19281
19282static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
19283 PyObject *resultobj;
19284 long arg1 ;
19285 wxTimeSpan result;
19286 char *kwnames[] = {
19287 (char *) "hours", NULL
19288 };
19289
19290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Hours",kwnames,&arg1)) goto fail;
19291 {
19292 PyThreadState* __tstate = wxPyBeginAllowThreads();
19293 result = wxTimeSpan::Hours(arg1);
19294
19295 wxPyEndAllowThreads(__tstate);
19296 if (PyErr_Occurred()) SWIG_fail;
19297 }
19298 {
19299 wxTimeSpan * resultptr;
19300 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19301 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19302 }
19303 return resultobj;
19304 fail:
19305 return NULL;
19306}
19307
19308
19309static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
19310 PyObject *resultobj;
19311 wxTimeSpan result;
19312 char *kwnames[] = {
19313 NULL
19314 };
19315
19316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
19317 {
19318 PyThreadState* __tstate = wxPyBeginAllowThreads();
19319 result = wxTimeSpan::Hour();
19320
19321 wxPyEndAllowThreads(__tstate);
19322 if (PyErr_Occurred()) SWIG_fail;
19323 }
19324 {
19325 wxTimeSpan * resultptr;
19326 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19327 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19328 }
19329 return resultobj;
19330 fail:
19331 return NULL;
19332}
19333
19334
19335static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
19336 PyObject *resultobj;
19337 long arg1 ;
19338 wxTimeSpan result;
19339 char *kwnames[] = {
19340 (char *) "days", NULL
19341 };
19342
19343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Days",kwnames,&arg1)) goto fail;
19344 {
19345 PyThreadState* __tstate = wxPyBeginAllowThreads();
19346 result = wxTimeSpan::Days(arg1);
19347
19348 wxPyEndAllowThreads(__tstate);
19349 if (PyErr_Occurred()) SWIG_fail;
19350 }
19351 {
19352 wxTimeSpan * resultptr;
19353 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19354 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19355 }
19356 return resultobj;
19357 fail:
19358 return NULL;
19359}
19360
19361
19362static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
19363 PyObject *resultobj;
19364 wxTimeSpan result;
19365 char *kwnames[] = {
19366 NULL
19367 };
19368
19369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
19370 {
19371 PyThreadState* __tstate = wxPyBeginAllowThreads();
19372 result = wxTimeSpan::Day();
19373
19374 wxPyEndAllowThreads(__tstate);
19375 if (PyErr_Occurred()) SWIG_fail;
19376 }
19377 {
19378 wxTimeSpan * resultptr;
19379 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19380 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19381 }
19382 return resultobj;
19383 fail:
19384 return NULL;
19385}
19386
19387
19388static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
19389 PyObject *resultobj;
19390 long arg1 ;
19391 wxTimeSpan result;
19392 char *kwnames[] = {
19393 (char *) "days", NULL
19394 };
19395
19396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Weeks",kwnames,&arg1)) goto fail;
19397 {
19398 PyThreadState* __tstate = wxPyBeginAllowThreads();
19399 result = wxTimeSpan::Weeks(arg1);
19400
19401 wxPyEndAllowThreads(__tstate);
19402 if (PyErr_Occurred()) SWIG_fail;
19403 }
19404 {
19405 wxTimeSpan * resultptr;
19406 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19407 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19408 }
19409 return resultobj;
19410 fail:
19411 return NULL;
19412}
19413
19414
19415static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
19416 PyObject *resultobj;
19417 wxTimeSpan result;
19418 char *kwnames[] = {
19419 NULL
19420 };
19421
19422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
19423 {
19424 PyThreadState* __tstate = wxPyBeginAllowThreads();
19425 result = wxTimeSpan::Week();
19426
19427 wxPyEndAllowThreads(__tstate);
19428 if (PyErr_Occurred()) SWIG_fail;
19429 }
19430 {
19431 wxTimeSpan * resultptr;
19432 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19433 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19434 }
19435 return resultobj;
19436 fail:
19437 return NULL;
19438}
19439
19440
19441static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19442 PyObject *resultobj;
19443 long arg1 = (long) 0 ;
19444 long arg2 = (long) 0 ;
19445 long arg3 = (long) 0 ;
19446 long arg4 = (long) 0 ;
19447 wxTimeSpan *result;
19448 char *kwnames[] = {
19449 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
19450 };
19451
19452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|llll:new_TimeSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
19453 {
19454 PyThreadState* __tstate = wxPyBeginAllowThreads();
19455 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
19456
19457 wxPyEndAllowThreads(__tstate);
19458 if (PyErr_Occurred()) SWIG_fail;
19459 }
19460 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 1);
19461 return resultobj;
19462 fail:
19463 return NULL;
19464}
19465
19466
19467static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19468 PyObject *resultobj;
19469 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19470 PyObject * obj0 = 0 ;
19471 char *kwnames[] = {
19472 (char *) "self", NULL
19473 };
19474
19475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
19476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19477 {
19478 PyThreadState* __tstate = wxPyBeginAllowThreads();
19479 delete arg1;
19480
19481 wxPyEndAllowThreads(__tstate);
19482 if (PyErr_Occurred()) SWIG_fail;
19483 }
19484 Py_INCREF(Py_None); resultobj = Py_None;
19485 return resultobj;
19486 fail:
19487 return NULL;
19488}
19489
19490
19491static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
19492 PyObject *resultobj;
19493 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19494 wxTimeSpan *arg2 = 0 ;
19495 wxTimeSpan *result;
19496 PyObject * obj0 = 0 ;
19497 PyObject * obj1 = 0 ;
19498 char *kwnames[] = {
19499 (char *) "self",(char *) "diff", NULL
19500 };
19501
19502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
19503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19504 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19505 if (arg2 == NULL) {
19506 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19507 }
19508 {
19509 PyThreadState* __tstate = wxPyBeginAllowThreads();
19510 {
19511 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19512 result = (wxTimeSpan *) &_result_ref;
19513 }
19514
19515 wxPyEndAllowThreads(__tstate);
19516 if (PyErr_Occurred()) SWIG_fail;
19517 }
19518 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19519 return resultobj;
19520 fail:
19521 return NULL;
19522}
19523
19524
19525static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19526 PyObject *resultobj;
19527 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19528 wxTimeSpan *arg2 = 0 ;
19529 wxTimeSpan *result;
19530 PyObject * obj0 = 0 ;
19531 PyObject * obj1 = 0 ;
19532 char *kwnames[] = {
19533 (char *) "self",(char *) "diff", NULL
19534 };
19535
19536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
19537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19538 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19539 if (arg2 == NULL) {
19540 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19541 }
19542 {
19543 PyThreadState* __tstate = wxPyBeginAllowThreads();
19544 {
19545 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19546 result = (wxTimeSpan *) &_result_ref;
19547 }
19548
19549 wxPyEndAllowThreads(__tstate);
19550 if (PyErr_Occurred()) SWIG_fail;
19551 }
19552 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19553 return resultobj;
19554 fail:
19555 return NULL;
19556}
19557
19558
19559static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
19560 PyObject *resultobj;
19561 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19562 int arg2 ;
19563 wxTimeSpan *result;
19564 PyObject * obj0 = 0 ;
19565 char *kwnames[] = {
19566 (char *) "self",(char *) "n", NULL
19567 };
19568
19569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
19570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19571 {
19572 PyThreadState* __tstate = wxPyBeginAllowThreads();
19573 {
19574 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
19575 result = (wxTimeSpan *) &_result_ref;
19576 }
19577
19578 wxPyEndAllowThreads(__tstate);
19579 if (PyErr_Occurred()) SWIG_fail;
19580 }
19581 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19582 return resultobj;
19583 fail:
19584 return NULL;
19585}
19586
19587
19588static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
19589 PyObject *resultobj;
19590 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19591 wxTimeSpan *result;
19592 PyObject * obj0 = 0 ;
19593 char *kwnames[] = {
19594 (char *) "self", NULL
19595 };
19596
19597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
19598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19599 {
19600 PyThreadState* __tstate = wxPyBeginAllowThreads();
19601 {
19602 wxTimeSpan &_result_ref = (arg1)->Neg();
19603 result = (wxTimeSpan *) &_result_ref;
19604 }
19605
19606 wxPyEndAllowThreads(__tstate);
19607 if (PyErr_Occurred()) SWIG_fail;
19608 }
19609 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19610 return resultobj;
19611 fail:
19612 return NULL;
19613}
19614
19615
19616static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
19617 PyObject *resultobj;
19618 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19619 wxTimeSpan result;
19620 PyObject * obj0 = 0 ;
19621 char *kwnames[] = {
19622 (char *) "self", NULL
19623 };
19624
19625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
19626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19627 {
19628 PyThreadState* __tstate = wxPyBeginAllowThreads();
19629 result = ((wxTimeSpan const *)arg1)->Abs();
19630
19631 wxPyEndAllowThreads(__tstate);
19632 if (PyErr_Occurred()) SWIG_fail;
19633 }
19634 {
19635 wxTimeSpan * resultptr;
19636 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19637 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19638 }
19639 return resultobj;
19640 fail:
19641 return NULL;
19642}
19643
19644
19645static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
19646 PyObject *resultobj;
19647 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19648 wxTimeSpan *arg2 = 0 ;
19649 wxTimeSpan *result;
19650 PyObject * obj0 = 0 ;
19651 PyObject * obj1 = 0 ;
19652 char *kwnames[] = {
19653 (char *) "self",(char *) "diff", NULL
19654 };
19655
19656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
19657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19658 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19659 if (arg2 == NULL) {
19660 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19661 }
19662 {
19663 PyThreadState* __tstate = wxPyBeginAllowThreads();
19664 {
19665 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19666 result = (wxTimeSpan *) &_result_ref;
19667 }
19668
19669 wxPyEndAllowThreads(__tstate);
19670 if (PyErr_Occurred()) SWIG_fail;
19671 }
19672 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19673 return resultobj;
19674 fail:
19675 return NULL;
19676}
19677
19678
19679static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19680 PyObject *resultobj;
19681 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19682 wxTimeSpan *arg2 = 0 ;
19683 wxTimeSpan *result;
19684 PyObject * obj0 = 0 ;
19685 PyObject * obj1 = 0 ;
19686 char *kwnames[] = {
19687 (char *) "self",(char *) "diff", NULL
19688 };
19689
19690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
19691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19692 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19693 if (arg2 == NULL) {
19694 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19695 }
19696 {
19697 PyThreadState* __tstate = wxPyBeginAllowThreads();
19698 {
19699 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
19700 result = (wxTimeSpan *) &_result_ref;
19701 }
19702
19703 wxPyEndAllowThreads(__tstate);
19704 if (PyErr_Occurred()) SWIG_fail;
19705 }
19706 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19707 return resultobj;
19708 fail:
19709 return NULL;
19710}
19711
19712
19713static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19714 PyObject *resultobj;
19715 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19716 int arg2 ;
19717 wxTimeSpan *result;
19718 PyObject * obj0 = 0 ;
19719 char *kwnames[] = {
19720 (char *) "self",(char *) "n", NULL
19721 };
19722
19723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
19724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19725 {
19726 PyThreadState* __tstate = wxPyBeginAllowThreads();
19727 {
19728 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
19729 result = (wxTimeSpan *) &_result_ref;
19730 }
19731
19732 wxPyEndAllowThreads(__tstate);
19733 if (PyErr_Occurred()) SWIG_fail;
19734 }
19735 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19736 return resultobj;
19737 fail:
19738 return NULL;
19739}
19740
19741
19742static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
19743 PyObject *resultobj;
19744 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19745 wxTimeSpan *result;
19746 PyObject * obj0 = 0 ;
19747 char *kwnames[] = {
19748 (char *) "self", NULL
19749 };
19750
19751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
19752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19753 {
19754 PyThreadState* __tstate = wxPyBeginAllowThreads();
19755 {
19756 wxTimeSpan &_result_ref = (arg1)->operator -();
19757 result = (wxTimeSpan *) &_result_ref;
19758 }
19759
19760 wxPyEndAllowThreads(__tstate);
19761 if (PyErr_Occurred()) SWIG_fail;
19762 }
19763 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19764 return resultobj;
19765 fail:
19766 return NULL;
19767}
19768
19769
19770static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
19771 PyObject *resultobj;
19772 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19773 wxTimeSpan *arg2 = 0 ;
19774 wxTimeSpan result;
19775 PyObject * obj0 = 0 ;
19776 PyObject * obj1 = 0 ;
19777 char *kwnames[] = {
19778 (char *) "self",(char *) "other", NULL
19779 };
19780
19781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
19782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19783 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19784 if (arg2 == NULL) {
19785 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19786 }
19787 {
19788 PyThreadState* __tstate = wxPyBeginAllowThreads();
19789 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
19790
19791 wxPyEndAllowThreads(__tstate);
19792 if (PyErr_Occurred()) SWIG_fail;
19793 }
19794 {
19795 wxTimeSpan * resultptr;
19796 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19797 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19798 }
19799 return resultobj;
19800 fail:
19801 return NULL;
19802}
19803
19804
19805static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19806 PyObject *resultobj;
19807 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19808 wxTimeSpan *arg2 = 0 ;
19809 wxTimeSpan result;
19810 PyObject * obj0 = 0 ;
19811 PyObject * obj1 = 0 ;
19812 char *kwnames[] = {
19813 (char *) "self",(char *) "other", NULL
19814 };
19815
19816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
19817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19818 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19819 if (arg2 == NULL) {
19820 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19821 }
19822 {
19823 PyThreadState* __tstate = wxPyBeginAllowThreads();
19824 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
19825
19826 wxPyEndAllowThreads(__tstate);
19827 if (PyErr_Occurred()) SWIG_fail;
19828 }
19829 {
19830 wxTimeSpan * resultptr;
19831 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19832 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19833 }
19834 return resultobj;
19835 fail:
19836 return NULL;
19837}
19838
19839
19840static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19841 PyObject *resultobj;
19842 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19843 int arg2 ;
19844 wxTimeSpan result;
19845 PyObject * obj0 = 0 ;
19846 char *kwnames[] = {
19847 (char *) "self",(char *) "n", NULL
19848 };
19849
19850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
19851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19852 {
19853 PyThreadState* __tstate = wxPyBeginAllowThreads();
19854 result = wxTimeSpan___mul__(arg1,arg2);
19855
19856 wxPyEndAllowThreads(__tstate);
19857 if (PyErr_Occurred()) SWIG_fail;
19858 }
19859 {
19860 wxTimeSpan * resultptr;
19861 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19862 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19863 }
19864 return resultobj;
19865 fail:
19866 return NULL;
19867}
19868
19869
19870static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19871 PyObject *resultobj;
19872 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19873 int arg2 ;
19874 wxTimeSpan result;
19875 PyObject * obj0 = 0 ;
19876 char *kwnames[] = {
19877 (char *) "self",(char *) "n", NULL
19878 };
19879
19880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
19881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19882 {
19883 PyThreadState* __tstate = wxPyBeginAllowThreads();
19884 result = wxTimeSpan___rmul__(arg1,arg2);
19885
19886 wxPyEndAllowThreads(__tstate);
19887 if (PyErr_Occurred()) SWIG_fail;
19888 }
19889 {
19890 wxTimeSpan * resultptr;
19891 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19892 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19893 }
19894 return resultobj;
19895 fail:
19896 return NULL;
19897}
19898
19899
19900static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19901 PyObject *resultobj;
19902 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19903 wxTimeSpan *arg2 = 0 ;
19904 bool result;
19905 PyObject * obj0 = 0 ;
19906 PyObject * obj1 = 0 ;
19907 char *kwnames[] = {
19908 (char *) "self",(char *) "other", NULL
19909 };
19910
19911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
19912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19913 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19914 if (arg2 == NULL) {
19915 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19916 }
19917 {
19918 PyThreadState* __tstate = wxPyBeginAllowThreads();
19919 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const &)*arg2);
19920
19921 wxPyEndAllowThreads(__tstate);
19922 if (PyErr_Occurred()) SWIG_fail;
19923 }
19924 resultobj = PyInt_FromLong((long)result);
19925 return resultobj;
19926 fail:
19927 return NULL;
19928}
19929
19930
19931static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
19932 PyObject *resultobj;
19933 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19934 wxTimeSpan *arg2 = 0 ;
19935 bool result;
19936 PyObject * obj0 = 0 ;
19937 PyObject * obj1 = 0 ;
19938 char *kwnames[] = {
19939 (char *) "self",(char *) "other", NULL
19940 };
19941
19942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
19943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19944 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19945 if (arg2 == NULL) {
19946 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19947 }
19948 {
19949 PyThreadState* __tstate = wxPyBeginAllowThreads();
19950 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const &)*arg2);
19951
19952 wxPyEndAllowThreads(__tstate);
19953 if (PyErr_Occurred()) SWIG_fail;
19954 }
19955 resultobj = PyInt_FromLong((long)result);
19956 return resultobj;
19957 fail:
19958 return NULL;
19959}
19960
19961
19962static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19963 PyObject *resultobj;
19964 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19965 wxTimeSpan *arg2 = 0 ;
19966 bool result;
19967 PyObject * obj0 = 0 ;
19968 PyObject * obj1 = 0 ;
19969 char *kwnames[] = {
19970 (char *) "self",(char *) "other", NULL
19971 };
19972
19973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
19974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19975 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19976 if (arg2 == NULL) {
19977 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19978 }
19979 {
19980 PyThreadState* __tstate = wxPyBeginAllowThreads();
19981 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const &)*arg2);
19982
19983 wxPyEndAllowThreads(__tstate);
19984 if (PyErr_Occurred()) SWIG_fail;
19985 }
19986 resultobj = PyInt_FromLong((long)result);
19987 return resultobj;
19988 fail:
19989 return NULL;
19990}
19991
19992
19993static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
19994 PyObject *resultobj;
19995 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19996 wxTimeSpan *arg2 = 0 ;
19997 bool result;
19998 PyObject * obj0 = 0 ;
19999 PyObject * obj1 = 0 ;
20000 char *kwnames[] = {
20001 (char *) "self",(char *) "other", NULL
20002 };
20003
20004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
20005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20006 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20007 if (arg2 == NULL) {
20008 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20009 }
20010 {
20011 PyThreadState* __tstate = wxPyBeginAllowThreads();
20012 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const &)*arg2);
20013
20014 wxPyEndAllowThreads(__tstate);
20015 if (PyErr_Occurred()) SWIG_fail;
20016 }
20017 resultobj = PyInt_FromLong((long)result);
20018 return resultobj;
20019 fail:
20020 return NULL;
20021}
20022
20023
20024static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
20025 PyObject *resultobj;
20026 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20027 wxTimeSpan *arg2 = 0 ;
20028 bool result;
20029 PyObject * obj0 = 0 ;
20030 PyObject * obj1 = 0 ;
20031 char *kwnames[] = {
20032 (char *) "self",(char *) "other", NULL
20033 };
20034
20035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
20036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20037 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20038 if (arg2 == NULL) {
20039 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20040 }
20041 {
20042 PyThreadState* __tstate = wxPyBeginAllowThreads();
20043 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const &)*arg2);
20044
20045 wxPyEndAllowThreads(__tstate);
20046 if (PyErr_Occurred()) SWIG_fail;
20047 }
20048 resultobj = PyInt_FromLong((long)result);
20049 return resultobj;
20050 fail:
20051 return NULL;
20052}
20053
20054
20055static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
20056 PyObject *resultobj;
20057 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20058 wxTimeSpan *arg2 = 0 ;
20059 bool result;
20060 PyObject * obj0 = 0 ;
20061 PyObject * obj1 = 0 ;
20062 char *kwnames[] = {
20063 (char *) "self",(char *) "other", NULL
20064 };
20065
20066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
20067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20068 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20069 if (arg2 == NULL) {
20070 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20071 }
20072 {
20073 PyThreadState* __tstate = wxPyBeginAllowThreads();
20074 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const &)*arg2);
20075
20076 wxPyEndAllowThreads(__tstate);
20077 if (PyErr_Occurred()) SWIG_fail;
20078 }
20079 resultobj = PyInt_FromLong((long)result);
20080 return resultobj;
20081 fail:
20082 return NULL;
20083}
20084
20085
20086static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
20087 PyObject *resultobj;
20088 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20089 bool result;
20090 PyObject * obj0 = 0 ;
20091 char *kwnames[] = {
20092 (char *) "self", NULL
20093 };
20094
20095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
20096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20097 {
20098 PyThreadState* __tstate = wxPyBeginAllowThreads();
20099 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
20100
20101 wxPyEndAllowThreads(__tstate);
20102 if (PyErr_Occurred()) SWIG_fail;
20103 }
20104 resultobj = PyInt_FromLong((long)result);
20105 return resultobj;
20106 fail:
20107 return NULL;
20108}
20109
20110
20111static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
20112 PyObject *resultobj;
20113 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20114 bool result;
20115 PyObject * obj0 = 0 ;
20116 char *kwnames[] = {
20117 (char *) "self", NULL
20118 };
20119
20120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
20121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20122 {
20123 PyThreadState* __tstate = wxPyBeginAllowThreads();
20124 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
20125
20126 wxPyEndAllowThreads(__tstate);
20127 if (PyErr_Occurred()) SWIG_fail;
20128 }
20129 resultobj = PyInt_FromLong((long)result);
20130 return resultobj;
20131 fail:
20132 return NULL;
20133}
20134
20135
20136static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
20137 PyObject *resultobj;
20138 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20139 bool result;
20140 PyObject * obj0 = 0 ;
20141 char *kwnames[] = {
20142 (char *) "self", NULL
20143 };
20144
20145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
20146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20147 {
20148 PyThreadState* __tstate = wxPyBeginAllowThreads();
20149 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
20150
20151 wxPyEndAllowThreads(__tstate);
20152 if (PyErr_Occurred()) SWIG_fail;
20153 }
20154 resultobj = PyInt_FromLong((long)result);
20155 return resultobj;
20156 fail:
20157 return NULL;
20158}
20159
20160
20161static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20162 PyObject *resultobj;
20163 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20164 wxTimeSpan *arg2 = 0 ;
20165 bool result;
20166 PyObject * obj0 = 0 ;
20167 PyObject * obj1 = 0 ;
20168 char *kwnames[] = {
20169 (char *) "self",(char *) "ts", NULL
20170 };
20171
20172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
20173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20174 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20175 if (arg2 == NULL) {
20176 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20177 }
20178 {
20179 PyThreadState* __tstate = wxPyBeginAllowThreads();
20180 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
20181
20182 wxPyEndAllowThreads(__tstate);
20183 if (PyErr_Occurred()) SWIG_fail;
20184 }
20185 resultobj = PyInt_FromLong((long)result);
20186 return resultobj;
20187 fail:
20188 return NULL;
20189}
20190
20191
20192static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20193 PyObject *resultobj;
20194 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20195 wxTimeSpan *arg2 = 0 ;
20196 bool result;
20197 PyObject * obj0 = 0 ;
20198 PyObject * obj1 = 0 ;
20199 char *kwnames[] = {
20200 (char *) "self",(char *) "ts", NULL
20201 };
20202
20203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
20204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20205 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20206 if (arg2 == NULL) {
20207 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20208 }
20209 {
20210 PyThreadState* __tstate = wxPyBeginAllowThreads();
20211 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
20212
20213 wxPyEndAllowThreads(__tstate);
20214 if (PyErr_Occurred()) SWIG_fail;
20215 }
20216 resultobj = PyInt_FromLong((long)result);
20217 return resultobj;
20218 fail:
20219 return NULL;
20220}
20221
20222
20223static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20224 PyObject *resultobj;
20225 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20226 wxTimeSpan *arg2 = 0 ;
20227 bool result;
20228 PyObject * obj0 = 0 ;
20229 PyObject * obj1 = 0 ;
20230 char *kwnames[] = {
20231 (char *) "self",(char *) "t", NULL
20232 };
20233
20234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
20235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20236 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20237 if (arg2 == NULL) {
20238 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20239 }
20240 {
20241 PyThreadState* __tstate = wxPyBeginAllowThreads();
20242 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
20243
20244 wxPyEndAllowThreads(__tstate);
20245 if (PyErr_Occurred()) SWIG_fail;
20246 }
20247 resultobj = PyInt_FromLong((long)result);
20248 return resultobj;
20249 fail:
20250 return NULL;
20251}
20252
20253
20254static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20255 PyObject *resultobj;
20256 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20257 int result;
20258 PyObject * obj0 = 0 ;
20259 char *kwnames[] = {
20260 (char *) "self", NULL
20261 };
20262
20263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
20264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20265 {
20266 PyThreadState* __tstate = wxPyBeginAllowThreads();
20267 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
20268
20269 wxPyEndAllowThreads(__tstate);
20270 if (PyErr_Occurred()) SWIG_fail;
20271 }
20272 resultobj = PyInt_FromLong((long)result);
20273 return resultobj;
20274 fail:
20275 return NULL;
20276}
20277
20278
20279static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20280 PyObject *resultobj;
20281 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20282 int result;
20283 PyObject * obj0 = 0 ;
20284 char *kwnames[] = {
20285 (char *) "self", NULL
20286 };
20287
20288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
20289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20290 {
20291 PyThreadState* __tstate = wxPyBeginAllowThreads();
20292 result = (int)((wxTimeSpan const *)arg1)->GetDays();
20293
20294 wxPyEndAllowThreads(__tstate);
20295 if (PyErr_Occurred()) SWIG_fail;
20296 }
20297 resultobj = PyInt_FromLong((long)result);
20298 return resultobj;
20299 fail:
20300 return NULL;
20301}
20302
20303
20304static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
20305 PyObject *resultobj;
20306 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20307 int result;
20308 PyObject * obj0 = 0 ;
20309 char *kwnames[] = {
20310 (char *) "self", NULL
20311 };
20312
20313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
20314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20315 {
20316 PyThreadState* __tstate = wxPyBeginAllowThreads();
20317 result = (int)((wxTimeSpan const *)arg1)->GetHours();
20318
20319 wxPyEndAllowThreads(__tstate);
20320 if (PyErr_Occurred()) SWIG_fail;
20321 }
20322 resultobj = PyInt_FromLong((long)result);
20323 return resultobj;
20324 fail:
20325 return NULL;
20326}
20327
20328
20329static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
20330 PyObject *resultobj;
20331 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20332 int result;
20333 PyObject * obj0 = 0 ;
20334 char *kwnames[] = {
20335 (char *) "self", NULL
20336 };
20337
20338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
20339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20340 {
20341 PyThreadState* __tstate = wxPyBeginAllowThreads();
20342 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
20343
20344 wxPyEndAllowThreads(__tstate);
20345 if (PyErr_Occurred()) SWIG_fail;
20346 }
20347 resultobj = PyInt_FromLong((long)result);
20348 return resultobj;
20349 fail:
20350 return NULL;
20351}
20352
20353
20354static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20355 PyObject *resultobj;
20356 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20357 wxLongLong result;
20358 PyObject * obj0 = 0 ;
20359 char *kwnames[] = {
20360 (char *) "self", NULL
20361 };
20362
20363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
20364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20365 {
20366 PyThreadState* __tstate = wxPyBeginAllowThreads();
20367 result = ((wxTimeSpan const *)arg1)->GetSeconds();
20368
20369 wxPyEndAllowThreads(__tstate);
20370 if (PyErr_Occurred()) SWIG_fail;
20371 }
20372 {
20373 PyObject *hi, *lo, *shifter, *shifted;
20374 hi = PyLong_FromLong( (&result)->GetHi() );
20375 lo = PyLong_FromLong( (&result)->GetLo() );
20376 shifter = PyLong_FromLong(32);
20377 shifted = PyNumber_Lshift(hi, shifter);
20378 resultobj = PyNumber_Or(shifted, lo);
20379 Py_DECREF(hi);
20380 Py_DECREF(lo);
20381 Py_DECREF(shifter);
20382 Py_DECREF(shifted);
20383 }
20384 return resultobj;
20385 fail:
20386 return NULL;
20387}
20388
20389
20390static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20391 PyObject *resultobj;
20392 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20393 wxLongLong result;
20394 PyObject * obj0 = 0 ;
20395 char *kwnames[] = {
20396 (char *) "self", NULL
20397 };
20398
20399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
20400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20401 {
20402 PyThreadState* __tstate = wxPyBeginAllowThreads();
20403 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
20404
20405 wxPyEndAllowThreads(__tstate);
20406 if (PyErr_Occurred()) SWIG_fail;
20407 }
20408 {
20409 PyObject *hi, *lo, *shifter, *shifted;
20410 hi = PyLong_FromLong( (&result)->GetHi() );
20411 lo = PyLong_FromLong( (&result)->GetLo() );
20412 shifter = PyLong_FromLong(32);
20413 shifted = PyNumber_Lshift(hi, shifter);
20414 resultobj = PyNumber_Or(shifted, lo);
20415 Py_DECREF(hi);
20416 Py_DECREF(lo);
20417 Py_DECREF(shifter);
20418 Py_DECREF(shifted);
20419 }
20420 return resultobj;
20421 fail:
20422 return NULL;
20423}
20424
20425
20426static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
20427 PyObject *resultobj;
20428 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20429 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
20430 wxString *arg2 = (wxString *) &arg2_defvalue ;
20431 wxString result;
e811c8ce 20432 bool temp2 = False ;
d14a1e28
RD
20433 PyObject * obj0 = 0 ;
20434 PyObject * obj1 = 0 ;
20435 char *kwnames[] = {
20436 (char *) "self",(char *) "format", NULL
20437 };
20438
20439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
20440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20441 if (obj1) {
20442 {
20443 arg2 = wxString_in_helper(obj1);
20444 if (arg2 == NULL) SWIG_fail;
e811c8ce 20445 temp2 = True;
d14a1e28
RD
20446 }
20447 }
20448 {
20449 PyThreadState* __tstate = wxPyBeginAllowThreads();
20450 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
20451
20452 wxPyEndAllowThreads(__tstate);
20453 if (PyErr_Occurred()) SWIG_fail;
20454 }
20455 {
20456#if wxUSE_UNICODE
20457 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20458#else
20459 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20460#endif
20461 }
20462 {
20463 if (temp2)
20464 delete arg2;
20465 }
20466 return resultobj;
20467 fail:
20468 {
20469 if (temp2)
20470 delete arg2;
20471 }
20472 return NULL;
20473}
20474
20475
20476static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
20477 PyObject *obj;
20478 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20479 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
20480 Py_INCREF(obj);
20481 return Py_BuildValue((char *)"");
20482}
20483static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20484 PyObject *resultobj;
20485 int arg1 = (int) 0 ;
20486 int arg2 = (int) 0 ;
20487 int arg3 = (int) 0 ;
20488 int arg4 = (int) 0 ;
20489 wxDateSpan *result;
20490 char *kwnames[] = {
20491 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
20492 };
20493
20494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_DateSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
20495 {
20496 PyThreadState* __tstate = wxPyBeginAllowThreads();
20497 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
20498
20499 wxPyEndAllowThreads(__tstate);
20500 if (PyErr_Occurred()) SWIG_fail;
20501 }
20502 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 1);
20503 return resultobj;
20504 fail:
20505 return NULL;
20506}
20507
20508
20509static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20510 PyObject *resultobj;
20511 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20512 PyObject * obj0 = 0 ;
20513 char *kwnames[] = {
20514 (char *) "self", NULL
20515 };
20516
20517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
20518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20519 {
20520 PyThreadState* __tstate = wxPyBeginAllowThreads();
20521 delete arg1;
20522
20523 wxPyEndAllowThreads(__tstate);
20524 if (PyErr_Occurred()) SWIG_fail;
20525 }
20526 Py_INCREF(Py_None); resultobj = Py_None;
20527 return resultobj;
20528 fail:
20529 return NULL;
20530}
20531
20532
20533static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
20534 PyObject *resultobj;
20535 int arg1 ;
20536 wxDateSpan result;
20537 char *kwnames[] = {
20538 (char *) "days", NULL
20539 };
20540
20541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Days",kwnames,&arg1)) goto fail;
20542 {
20543 PyThreadState* __tstate = wxPyBeginAllowThreads();
20544 result = wxDateSpan::Days(arg1);
20545
20546 wxPyEndAllowThreads(__tstate);
20547 if (PyErr_Occurred()) SWIG_fail;
20548 }
20549 {
20550 wxDateSpan * resultptr;
20551 resultptr = new wxDateSpan((wxDateSpan &) result);
20552 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20553 }
20554 return resultobj;
20555 fail:
20556 return NULL;
20557}
20558
20559
20560static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
20561 PyObject *resultobj;
20562 wxDateSpan result;
20563 char *kwnames[] = {
20564 NULL
20565 };
20566
20567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
20568 {
20569 PyThreadState* __tstate = wxPyBeginAllowThreads();
20570 result = wxDateSpan::Day();
20571
20572 wxPyEndAllowThreads(__tstate);
20573 if (PyErr_Occurred()) SWIG_fail;
20574 }
20575 {
20576 wxDateSpan * resultptr;
20577 resultptr = new wxDateSpan((wxDateSpan &) result);
20578 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20579 }
20580 return resultobj;
20581 fail:
20582 return NULL;
20583}
20584
20585
20586static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20587 PyObject *resultobj;
20588 int arg1 ;
20589 wxDateSpan result;
20590 char *kwnames[] = {
20591 (char *) "weeks", NULL
20592 };
20593
20594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Weeks",kwnames,&arg1)) goto fail;
20595 {
20596 PyThreadState* __tstate = wxPyBeginAllowThreads();
20597 result = wxDateSpan::Weeks(arg1);
20598
20599 wxPyEndAllowThreads(__tstate);
20600 if (PyErr_Occurred()) SWIG_fail;
20601 }
20602 {
20603 wxDateSpan * resultptr;
20604 resultptr = new wxDateSpan((wxDateSpan &) result);
20605 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20606 }
20607 return resultobj;
20608 fail:
20609 return NULL;
20610}
20611
20612
20613static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
20614 PyObject *resultobj;
20615 wxDateSpan result;
20616 char *kwnames[] = {
20617 NULL
20618 };
20619
20620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
20621 {
20622 PyThreadState* __tstate = wxPyBeginAllowThreads();
20623 result = wxDateSpan::Week();
20624
20625 wxPyEndAllowThreads(__tstate);
20626 if (PyErr_Occurred()) SWIG_fail;
20627 }
20628 {
20629 wxDateSpan * resultptr;
20630 resultptr = new wxDateSpan((wxDateSpan &) result);
20631 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20632 }
20633 return resultobj;
20634 fail:
20635 return NULL;
20636}
20637
20638
20639static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
20640 PyObject *resultobj;
20641 int arg1 ;
20642 wxDateSpan result;
20643 char *kwnames[] = {
20644 (char *) "mon", NULL
20645 };
20646
20647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Months",kwnames,&arg1)) goto fail;
20648 {
20649 PyThreadState* __tstate = wxPyBeginAllowThreads();
20650 result = wxDateSpan::Months(arg1);
20651
20652 wxPyEndAllowThreads(__tstate);
20653 if (PyErr_Occurred()) SWIG_fail;
20654 }
20655 {
20656 wxDateSpan * resultptr;
20657 resultptr = new wxDateSpan((wxDateSpan &) result);
20658 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20659 }
20660 return resultobj;
20661 fail:
20662 return NULL;
20663}
20664
20665
20666static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
20667 PyObject *resultobj;
20668 wxDateSpan result;
20669 char *kwnames[] = {
20670 NULL
20671 };
20672
20673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
20674 {
20675 PyThreadState* __tstate = wxPyBeginAllowThreads();
20676 result = wxDateSpan::Month();
20677
20678 wxPyEndAllowThreads(__tstate);
20679 if (PyErr_Occurred()) SWIG_fail;
20680 }
20681 {
20682 wxDateSpan * resultptr;
20683 resultptr = new wxDateSpan((wxDateSpan &) result);
20684 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20685 }
20686 return resultobj;
20687 fail:
20688 return NULL;
20689}
20690
20691
20692static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
20693 PyObject *resultobj;
20694 int arg1 ;
20695 wxDateSpan result;
20696 char *kwnames[] = {
20697 (char *) "years", NULL
20698 };
20699
20700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Years",kwnames,&arg1)) goto fail;
20701 {
20702 PyThreadState* __tstate = wxPyBeginAllowThreads();
20703 result = wxDateSpan::Years(arg1);
20704
20705 wxPyEndAllowThreads(__tstate);
20706 if (PyErr_Occurred()) SWIG_fail;
20707 }
20708 {
20709 wxDateSpan * resultptr;
20710 resultptr = new wxDateSpan((wxDateSpan &) result);
20711 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20712 }
20713 return resultobj;
20714 fail:
20715 return NULL;
20716}
20717
20718
20719static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
20720 PyObject *resultobj;
20721 wxDateSpan result;
20722 char *kwnames[] = {
20723 NULL
20724 };
20725
20726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
20727 {
20728 PyThreadState* __tstate = wxPyBeginAllowThreads();
20729 result = wxDateSpan::Year();
20730
20731 wxPyEndAllowThreads(__tstate);
20732 if (PyErr_Occurred()) SWIG_fail;
20733 }
20734 {
20735 wxDateSpan * resultptr;
20736 resultptr = new wxDateSpan((wxDateSpan &) result);
20737 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20738 }
20739 return resultobj;
20740 fail:
20741 return NULL;
20742}
20743
20744
20745static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20746 PyObject *resultobj;
20747 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20748 int arg2 ;
20749 wxDateSpan *result;
20750 PyObject * obj0 = 0 ;
20751 char *kwnames[] = {
20752 (char *) "self",(char *) "n", NULL
20753 };
20754
20755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetYears",kwnames,&obj0,&arg2)) goto fail;
20756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20757 {
20758 PyThreadState* __tstate = wxPyBeginAllowThreads();
20759 {
20760 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
20761 result = (wxDateSpan *) &_result_ref;
20762 }
20763
20764 wxPyEndAllowThreads(__tstate);
20765 if (PyErr_Occurred()) SWIG_fail;
20766 }
20767 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20768 return resultobj;
20769 fail:
20770 return NULL;
20771}
20772
20773
20774static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20775 PyObject *resultobj;
20776 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20777 int arg2 ;
20778 wxDateSpan *result;
20779 PyObject * obj0 = 0 ;
20780 char *kwnames[] = {
20781 (char *) "self",(char *) "n", NULL
20782 };
20783
20784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetMonths",kwnames,&obj0,&arg2)) goto fail;
20785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20786 {
20787 PyThreadState* __tstate = wxPyBeginAllowThreads();
20788 {
20789 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
20790 result = (wxDateSpan *) &_result_ref;
20791 }
20792
20793 wxPyEndAllowThreads(__tstate);
20794 if (PyErr_Occurred()) SWIG_fail;
20795 }
20796 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20797 return resultobj;
20798 fail:
20799 return NULL;
20800}
20801
20802
20803static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20804 PyObject *resultobj;
20805 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20806 int arg2 ;
20807 wxDateSpan *result;
20808 PyObject * obj0 = 0 ;
20809 char *kwnames[] = {
20810 (char *) "self",(char *) "n", NULL
20811 };
20812
20813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetWeeks",kwnames,&obj0,&arg2)) goto fail;
20814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20815 {
20816 PyThreadState* __tstate = wxPyBeginAllowThreads();
20817 {
20818 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
20819 result = (wxDateSpan *) &_result_ref;
20820 }
20821
20822 wxPyEndAllowThreads(__tstate);
20823 if (PyErr_Occurred()) SWIG_fail;
20824 }
20825 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20826 return resultobj;
20827 fail:
20828 return NULL;
20829}
20830
20831
20832static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20833 PyObject *resultobj;
20834 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20835 int arg2 ;
20836 wxDateSpan *result;
20837 PyObject * obj0 = 0 ;
20838 char *kwnames[] = {
20839 (char *) "self",(char *) "n", NULL
20840 };
20841
20842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetDays",kwnames,&obj0,&arg2)) goto fail;
20843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20844 {
20845 PyThreadState* __tstate = wxPyBeginAllowThreads();
20846 {
20847 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
20848 result = (wxDateSpan *) &_result_ref;
20849 }
20850
20851 wxPyEndAllowThreads(__tstate);
20852 if (PyErr_Occurred()) SWIG_fail;
20853 }
20854 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20855 return resultobj;
20856 fail:
20857 return NULL;
20858}
20859
20860
20861static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20862 PyObject *resultobj;
20863 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20864 int result;
20865 PyObject * obj0 = 0 ;
20866 char *kwnames[] = {
20867 (char *) "self", NULL
20868 };
20869
20870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
20871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20872 {
20873 PyThreadState* __tstate = wxPyBeginAllowThreads();
20874 result = (int)((wxDateSpan const *)arg1)->GetYears();
20875
20876 wxPyEndAllowThreads(__tstate);
20877 if (PyErr_Occurred()) SWIG_fail;
20878 }
20879 resultobj = PyInt_FromLong((long)result);
20880 return resultobj;
20881 fail:
20882 return NULL;
20883}
20884
20885
20886static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20887 PyObject *resultobj;
20888 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20889 int result;
20890 PyObject * obj0 = 0 ;
20891 char *kwnames[] = {
20892 (char *) "self", NULL
20893 };
20894
20895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
20896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20897 {
20898 PyThreadState* __tstate = wxPyBeginAllowThreads();
20899 result = (int)((wxDateSpan const *)arg1)->GetMonths();
20900
20901 wxPyEndAllowThreads(__tstate);
20902 if (PyErr_Occurred()) SWIG_fail;
20903 }
20904 resultobj = PyInt_FromLong((long)result);
20905 return resultobj;
20906 fail:
20907 return NULL;
20908}
20909
20910
20911static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20912 PyObject *resultobj;
20913 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20914 int result;
20915 PyObject * obj0 = 0 ;
20916 char *kwnames[] = {
20917 (char *) "self", NULL
20918 };
20919
20920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
20921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20922 {
20923 PyThreadState* __tstate = wxPyBeginAllowThreads();
20924 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
20925
20926 wxPyEndAllowThreads(__tstate);
20927 if (PyErr_Occurred()) SWIG_fail;
20928 }
20929 resultobj = PyInt_FromLong((long)result);
20930 return resultobj;
20931 fail:
20932 return NULL;
20933}
20934
20935
20936static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20937 PyObject *resultobj;
20938 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20939 int result;
20940 PyObject * obj0 = 0 ;
20941 char *kwnames[] = {
20942 (char *) "self", NULL
20943 };
20944
20945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
20946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20947 {
20948 PyThreadState* __tstate = wxPyBeginAllowThreads();
20949 result = (int)((wxDateSpan const *)arg1)->GetDays();
20950
20951 wxPyEndAllowThreads(__tstate);
20952 if (PyErr_Occurred()) SWIG_fail;
20953 }
20954 resultobj = PyInt_FromLong((long)result);
20955 return resultobj;
20956 fail:
20957 return NULL;
20958}
20959
20960
20961static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20962 PyObject *resultobj;
20963 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20964 int result;
20965 PyObject * obj0 = 0 ;
20966 char *kwnames[] = {
20967 (char *) "self", NULL
20968 };
20969
20970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) 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 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
20975
20976 wxPyEndAllowThreads(__tstate);
20977 if (PyErr_Occurred()) SWIG_fail;
20978 }
20979 resultobj = PyInt_FromLong((long)result);
20980 return resultobj;
20981 fail:
20982 return NULL;
20983}
20984
20985
20986static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
20987 PyObject *resultobj;
20988 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20989 wxDateSpan *arg2 = 0 ;
20990 wxDateSpan *result;
20991 PyObject * obj0 = 0 ;
20992 PyObject * obj1 = 0 ;
20993 char *kwnames[] = {
20994 (char *) "self",(char *) "other", NULL
20995 };
20996
20997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
20998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20999 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21000 if (arg2 == NULL) {
21001 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21002 }
21003 {
21004 PyThreadState* __tstate = wxPyBeginAllowThreads();
21005 {
21006 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
21007 result = (wxDateSpan *) &_result_ref;
21008 }
21009
21010 wxPyEndAllowThreads(__tstate);
21011 if (PyErr_Occurred()) SWIG_fail;
21012 }
21013 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21014 return resultobj;
21015 fail:
21016 return NULL;
21017}
21018
21019
21020static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
21021 PyObject *resultobj;
21022 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21023 wxDateSpan *arg2 = 0 ;
21024 wxDateSpan *result;
21025 PyObject * obj0 = 0 ;
21026 PyObject * obj1 = 0 ;
21027 char *kwnames[] = {
21028 (char *) "self",(char *) "other", NULL
21029 };
21030
21031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
21032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21033 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21034 if (arg2 == NULL) {
21035 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21036 }
21037 {
21038 PyThreadState* __tstate = wxPyBeginAllowThreads();
21039 {
21040 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
21041 result = (wxDateSpan *) &_result_ref;
21042 }
21043
21044 wxPyEndAllowThreads(__tstate);
21045 if (PyErr_Occurred()) SWIG_fail;
21046 }
21047 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21048 return resultobj;
21049 fail:
21050 return NULL;
21051}
21052
21053
21054static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
21055 PyObject *resultobj;
21056 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21057 wxDateSpan *result;
21058 PyObject * obj0 = 0 ;
21059 char *kwnames[] = {
21060 (char *) "self", NULL
21061 };
21062
21063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
21064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21065 {
21066 PyThreadState* __tstate = wxPyBeginAllowThreads();
21067 {
21068 wxDateSpan &_result_ref = (arg1)->Neg();
21069 result = (wxDateSpan *) &_result_ref;
21070 }
21071
21072 wxPyEndAllowThreads(__tstate);
21073 if (PyErr_Occurred()) SWIG_fail;
21074 }
21075 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21076 return resultobj;
21077 fail:
21078 return NULL;
21079}
21080
21081
21082static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
21083 PyObject *resultobj;
21084 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21085 int arg2 ;
21086 wxDateSpan *result;
21087 PyObject * obj0 = 0 ;
21088 char *kwnames[] = {
21089 (char *) "self",(char *) "factor", NULL
21090 };
21091
21092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
21093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21094 {
21095 PyThreadState* __tstate = wxPyBeginAllowThreads();
21096 {
21097 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
21098 result = (wxDateSpan *) &_result_ref;
21099 }
21100
21101 wxPyEndAllowThreads(__tstate);
21102 if (PyErr_Occurred()) SWIG_fail;
21103 }
21104 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21105 return resultobj;
21106 fail:
21107 return NULL;
21108}
21109
21110
21111static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21112 PyObject *resultobj;
21113 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21114 wxDateSpan *arg2 = 0 ;
21115 wxDateSpan *result;
21116 PyObject * obj0 = 0 ;
21117 PyObject * obj1 = 0 ;
21118 char *kwnames[] = {
21119 (char *) "self",(char *) "other", NULL
21120 };
21121
21122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21124 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21125 if (arg2 == NULL) {
21126 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21127 }
21128 {
21129 PyThreadState* __tstate = wxPyBeginAllowThreads();
21130 {
21131 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
21132 result = (wxDateSpan *) &_result_ref;
21133 }
21134
21135 wxPyEndAllowThreads(__tstate);
21136 if (PyErr_Occurred()) SWIG_fail;
21137 }
21138 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21139 return resultobj;
21140 fail:
21141 return NULL;
21142}
21143
21144
21145static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21146 PyObject *resultobj;
21147 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21148 wxDateSpan *arg2 = 0 ;
21149 wxDateSpan *result;
21150 PyObject * obj0 = 0 ;
21151 PyObject * obj1 = 0 ;
21152 char *kwnames[] = {
21153 (char *) "self",(char *) "other", NULL
21154 };
21155
21156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21158 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21159 if (arg2 == NULL) {
21160 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21161 }
21162 {
21163 PyThreadState* __tstate = wxPyBeginAllowThreads();
21164 {
21165 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
21166 result = (wxDateSpan *) &_result_ref;
21167 }
21168
21169 wxPyEndAllowThreads(__tstate);
21170 if (PyErr_Occurred()) SWIG_fail;
21171 }
21172 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21173 return resultobj;
21174 fail:
21175 return NULL;
21176}
21177
21178
21179static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21180 PyObject *resultobj;
21181 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21182 wxDateSpan *result;
21183 PyObject * obj0 = 0 ;
21184 char *kwnames[] = {
21185 (char *) "self", NULL
21186 };
21187
21188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
21189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21190 {
21191 PyThreadState* __tstate = wxPyBeginAllowThreads();
21192 {
21193 wxDateSpan &_result_ref = (arg1)->operator -();
21194 result = (wxDateSpan *) &_result_ref;
21195 }
21196
21197 wxPyEndAllowThreads(__tstate);
21198 if (PyErr_Occurred()) SWIG_fail;
21199 }
21200 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21201 return resultobj;
21202 fail:
21203 return NULL;
21204}
21205
21206
21207static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21208 PyObject *resultobj;
21209 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21210 int arg2 ;
21211 wxDateSpan *result;
21212 PyObject * obj0 = 0 ;
21213 char *kwnames[] = {
21214 (char *) "self",(char *) "factor", NULL
21215 };
21216
21217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
21218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21219 {
21220 PyThreadState* __tstate = wxPyBeginAllowThreads();
21221 {
21222 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
21223 result = (wxDateSpan *) &_result_ref;
21224 }
21225
21226 wxPyEndAllowThreads(__tstate);
21227 if (PyErr_Occurred()) SWIG_fail;
21228 }
21229 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21230 return resultobj;
21231 fail:
21232 return NULL;
21233}
21234
21235
21236static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21237 PyObject *resultobj;
21238 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21239 wxDateSpan *arg2 = 0 ;
21240 wxDateSpan result;
21241 PyObject * obj0 = 0 ;
21242 PyObject * obj1 = 0 ;
21243 char *kwnames[] = {
21244 (char *) "self",(char *) "other", NULL
21245 };
21246
21247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21249 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21250 if (arg2 == NULL) {
21251 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21252 }
21253 {
21254 PyThreadState* __tstate = wxPyBeginAllowThreads();
21255 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
21256
21257 wxPyEndAllowThreads(__tstate);
21258 if (PyErr_Occurred()) SWIG_fail;
21259 }
21260 {
21261 wxDateSpan * resultptr;
21262 resultptr = new wxDateSpan((wxDateSpan &) result);
21263 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21264 }
21265 return resultobj;
21266 fail:
21267 return NULL;
21268}
21269
21270
21271static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21272 PyObject *resultobj;
21273 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21274 wxDateSpan *arg2 = 0 ;
21275 wxDateSpan result;
21276 PyObject * obj0 = 0 ;
21277 PyObject * obj1 = 0 ;
21278 char *kwnames[] = {
21279 (char *) "self",(char *) "other", NULL
21280 };
21281
21282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21284 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21285 if (arg2 == NULL) {
21286 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21287 }
21288 {
21289 PyThreadState* __tstate = wxPyBeginAllowThreads();
21290 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
21291
21292 wxPyEndAllowThreads(__tstate);
21293 if (PyErr_Occurred()) SWIG_fail;
21294 }
21295 {
21296 wxDateSpan * resultptr;
21297 resultptr = new wxDateSpan((wxDateSpan &) result);
21298 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21299 }
21300 return resultobj;
21301 fail:
21302 return NULL;
21303}
21304
21305
21306static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21307 PyObject *resultobj;
21308 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21309 int arg2 ;
21310 wxDateSpan result;
21311 PyObject * obj0 = 0 ;
21312 char *kwnames[] = {
21313 (char *) "self",(char *) "n", NULL
21314 };
21315
21316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
21317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21318 {
21319 PyThreadState* __tstate = wxPyBeginAllowThreads();
21320 result = wxDateSpan___mul__(arg1,arg2);
21321
21322 wxPyEndAllowThreads(__tstate);
21323 if (PyErr_Occurred()) SWIG_fail;
21324 }
21325 {
21326 wxDateSpan * resultptr;
21327 resultptr = new wxDateSpan((wxDateSpan &) result);
21328 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21329 }
21330 return resultobj;
21331 fail:
21332 return NULL;
21333}
21334
21335
21336static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21337 PyObject *resultobj;
21338 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21339 int arg2 ;
21340 wxDateSpan result;
21341 PyObject * obj0 = 0 ;
21342 char *kwnames[] = {
21343 (char *) "self",(char *) "n", NULL
21344 };
21345
21346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
21347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21348 {
21349 PyThreadState* __tstate = wxPyBeginAllowThreads();
21350 result = wxDateSpan___rmul__(arg1,arg2);
21351
21352 wxPyEndAllowThreads(__tstate);
21353 if (PyErr_Occurred()) SWIG_fail;
21354 }
21355 {
21356 wxDateSpan * resultptr;
21357 resultptr = new wxDateSpan((wxDateSpan &) result);
21358 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21359 }
21360 return resultobj;
21361 fail:
21362 return NULL;
21363}
21364
21365
21366static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
21367 PyObject *resultobj;
21368 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21369 wxDateSpan *arg2 = 0 ;
21370 bool result;
21371 PyObject * obj0 = 0 ;
21372 PyObject * obj1 = 0 ;
21373 char *kwnames[] = {
21374 (char *) "self",(char *) "other", NULL
21375 };
21376
21377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
21378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21379 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21380 if (arg2 == NULL) {
21381 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21382 }
21383 {
21384 PyThreadState* __tstate = wxPyBeginAllowThreads();
21385 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const &)*arg2);
21386
21387 wxPyEndAllowThreads(__tstate);
21388 if (PyErr_Occurred()) SWIG_fail;
21389 }
21390 resultobj = PyInt_FromLong((long)result);
21391 return resultobj;
21392 fail:
21393 return NULL;
21394}
21395
21396
21397static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
21398 PyObject *resultobj;
21399 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21400 wxDateSpan *arg2 = 0 ;
21401 bool result;
21402 PyObject * obj0 = 0 ;
21403 PyObject * obj1 = 0 ;
21404 char *kwnames[] = {
21405 (char *) "self",(char *) "other", NULL
21406 };
21407
21408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
21409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21410 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21411 if (arg2 == NULL) {
21412 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21413 }
21414 {
21415 PyThreadState* __tstate = wxPyBeginAllowThreads();
21416 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const &)*arg2);
21417
21418 wxPyEndAllowThreads(__tstate);
21419 if (PyErr_Occurred()) SWIG_fail;
21420 }
21421 resultobj = PyInt_FromLong((long)result);
21422 return resultobj;
21423 fail:
21424 return NULL;
21425}
21426
21427
21428static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
21429 PyObject *obj;
21430 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21431 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
21432 Py_INCREF(obj);
21433 return Py_BuildValue((char *)"");
21434}
21435static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21436 PyObject *resultobj;
21437 long result;
21438 char *kwnames[] = {
21439 NULL
21440 };
21441
21442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
21443 {
21444 PyThreadState* __tstate = wxPyBeginAllowThreads();
21445 result = (long)wxGetLocalTime();
21446
21447 wxPyEndAllowThreads(__tstate);
21448 if (PyErr_Occurred()) SWIG_fail;
21449 }
21450 resultobj = PyInt_FromLong((long)result);
21451 return resultobj;
21452 fail:
21453 return NULL;
21454}
21455
21456
21457static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21458 PyObject *resultobj;
21459 long result;
21460 char *kwnames[] = {
21461 NULL
21462 };
21463
21464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
21465 {
21466 PyThreadState* __tstate = wxPyBeginAllowThreads();
21467 result = (long)wxGetUTCTime();
21468
21469 wxPyEndAllowThreads(__tstate);
21470 if (PyErr_Occurred()) SWIG_fail;
21471 }
21472 resultobj = PyInt_FromLong((long)result);
21473 return resultobj;
21474 fail:
21475 return NULL;
21476}
21477
21478
21479static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21480 PyObject *resultobj;
21481 long result;
21482 char *kwnames[] = {
21483 NULL
21484 };
21485
21486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
21487 {
21488 PyThreadState* __tstate = wxPyBeginAllowThreads();
21489 result = (long)wxGetCurrentTime();
21490
21491 wxPyEndAllowThreads(__tstate);
21492 if (PyErr_Occurred()) SWIG_fail;
21493 }
21494 resultobj = PyInt_FromLong((long)result);
21495 return resultobj;
21496 fail:
21497 return NULL;
21498}
21499
21500
21501static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
21502 PyObject *resultobj;
21503 wxLongLong result;
21504 char *kwnames[] = {
21505 NULL
21506 };
21507
21508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
21509 {
21510 PyThreadState* __tstate = wxPyBeginAllowThreads();
21511 result = wxGetLocalTimeMillis();
21512
21513 wxPyEndAllowThreads(__tstate);
21514 if (PyErr_Occurred()) SWIG_fail;
21515 }
21516 {
21517 PyObject *hi, *lo, *shifter, *shifted;
21518 hi = PyLong_FromLong( (&result)->GetHi() );
21519 lo = PyLong_FromLong( (&result)->GetLo() );
21520 shifter = PyLong_FromLong(32);
21521 shifted = PyNumber_Lshift(hi, shifter);
21522 resultobj = PyNumber_Or(shifted, lo);
21523 Py_DECREF(hi);
21524 Py_DECREF(lo);
21525 Py_DECREF(shifter);
21526 Py_DECREF(shifted);
21527 }
21528 return resultobj;
21529 fail:
21530 return NULL;
21531}
21532
21533
21534static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21535 PyObject *resultobj;
21536 int arg1 ;
21537 wxDataFormat *result;
21538 char *kwnames[] = {
21539 (char *) "type", NULL
21540 };
21541
21542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:new_DataFormat",kwnames,&arg1)) goto fail;
21543 {
21544 PyThreadState* __tstate = wxPyBeginAllowThreads();
21545 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
21546
21547 wxPyEndAllowThreads(__tstate);
21548 if (PyErr_Occurred()) SWIG_fail;
21549 }
21550 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21551 return resultobj;
21552 fail:
21553 return NULL;
21554}
21555
21556
21557static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21558 PyObject *resultobj;
21559 wxString *arg1 = 0 ;
21560 wxDataFormat *result;
e811c8ce 21561 bool temp1 = False ;
d14a1e28
RD
21562 PyObject * obj0 = 0 ;
21563 char *kwnames[] = {
21564 (char *) "format", NULL
21565 };
21566
21567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
21568 {
21569 arg1 = wxString_in_helper(obj0);
21570 if (arg1 == NULL) SWIG_fail;
e811c8ce 21571 temp1 = True;
d14a1e28
RD
21572 }
21573 {
21574 PyThreadState* __tstate = wxPyBeginAllowThreads();
21575 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
21576
21577 wxPyEndAllowThreads(__tstate);
21578 if (PyErr_Occurred()) SWIG_fail;
21579 }
21580 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21581 {
21582 if (temp1)
21583 delete arg1;
21584 }
21585 return resultobj;
21586 fail:
21587 {
21588 if (temp1)
21589 delete arg1;
21590 }
21591 return NULL;
21592}
21593
21594
21595static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21596 PyObject *resultobj;
21597 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21598 PyObject * obj0 = 0 ;
21599 char *kwnames[] = {
21600 (char *) "self", NULL
21601 };
21602
21603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
21604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21605 {
21606 PyThreadState* __tstate = wxPyBeginAllowThreads();
21607 delete arg1;
21608
21609 wxPyEndAllowThreads(__tstate);
21610 if (PyErr_Occurred()) SWIG_fail;
21611 }
21612 Py_INCREF(Py_None); resultobj = Py_None;
21613 return resultobj;
21614 fail:
21615 return NULL;
21616}
21617
21618
21619static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
21620 PyObject *resultobj;
21621 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21622 int arg2 ;
21623 bool result;
21624 PyObject * obj0 = 0 ;
21625
21626 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___eq__",&obj0,&arg2)) goto fail;
21627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21628 {
21629 PyThreadState* __tstate = wxPyBeginAllowThreads();
21630 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
21631
21632 wxPyEndAllowThreads(__tstate);
21633 if (PyErr_Occurred()) SWIG_fail;
21634 }
21635 resultobj = PyInt_FromLong((long)result);
21636 return resultobj;
21637 fail:
21638 return NULL;
21639}
21640
21641
21642static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
21643 PyObject *resultobj;
21644 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21645 int arg2 ;
21646 bool result;
21647 PyObject * obj0 = 0 ;
21648
21649 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___ne__",&obj0,&arg2)) goto fail;
21650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21651 {
21652 PyThreadState* __tstate = wxPyBeginAllowThreads();
21653 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
21654
21655 wxPyEndAllowThreads(__tstate);
21656 if (PyErr_Occurred()) SWIG_fail;
21657 }
21658 resultobj = PyInt_FromLong((long)result);
21659 return resultobj;
21660 fail:
21661 return NULL;
21662}
21663
21664
21665static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
21666 PyObject *resultobj;
21667 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21668 wxDataFormat *arg2 = 0 ;
21669 bool result;
21670 PyObject * obj0 = 0 ;
21671 PyObject * obj1 = 0 ;
21672
21673 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
21674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21675 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21676 if (arg2 == NULL) {
21677 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21678 }
21679 {
21680 PyThreadState* __tstate = wxPyBeginAllowThreads();
21681 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
21682
21683 wxPyEndAllowThreads(__tstate);
21684 if (PyErr_Occurred()) SWIG_fail;
21685 }
21686 resultobj = PyInt_FromLong((long)result);
21687 return resultobj;
21688 fail:
21689 return NULL;
21690}
21691
21692
21693static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
21694 int argc;
21695 PyObject *argv[3];
21696 int ii;
21697
21698 argc = PyObject_Length(args);
21699 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21700 argv[ii] = PyTuple_GetItem(args,ii);
21701 }
21702 if (argc == 2) {
21703 int _v;
21704 {
21705 void *ptr;
21706 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21707 _v = 0;
21708 PyErr_Clear();
21709 } else {
21710 _v = 1;
21711 }
21712 }
21713 if (_v) {
21714 {
21715 void *ptr;
21716 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21717 _v = 0;
21718 PyErr_Clear();
21719 } else {
21720 _v = 1;
21721 }
21722 }
21723 if (_v) {
21724 return _wrap_DataFormat___eq____SWIG_1(self,args);
21725 }
21726 }
21727 }
21728 if (argc == 2) {
21729 int _v;
21730 {
21731 void *ptr;
21732 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21733 _v = 0;
21734 PyErr_Clear();
21735 } else {
21736 _v = 1;
21737 }
21738 }
21739 if (_v) {
21740 {
21741 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21742 }
21743 if (_v) {
21744 return _wrap_DataFormat___eq____SWIG_0(self,args);
21745 }
21746 }
21747 }
21748
21749 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
21750 return NULL;
21751}
21752
21753
21754static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
21755 PyObject *resultobj;
21756 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21757 wxDataFormat *arg2 = 0 ;
21758 bool result;
21759 PyObject * obj0 = 0 ;
21760 PyObject * obj1 = 0 ;
21761
21762 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
21763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21764 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21765 if (arg2 == NULL) {
21766 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21767 }
21768 {
21769 PyThreadState* __tstate = wxPyBeginAllowThreads();
21770 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
21771
21772 wxPyEndAllowThreads(__tstate);
21773 if (PyErr_Occurred()) SWIG_fail;
21774 }
21775 resultobj = PyInt_FromLong((long)result);
21776 return resultobj;
21777 fail:
21778 return NULL;
21779}
21780
21781
21782static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
21783 int argc;
21784 PyObject *argv[3];
21785 int ii;
21786
21787 argc = PyObject_Length(args);
21788 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21789 argv[ii] = PyTuple_GetItem(args,ii);
21790 }
21791 if (argc == 2) {
21792 int _v;
21793 {
21794 void *ptr;
21795 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21796 _v = 0;
21797 PyErr_Clear();
21798 } else {
21799 _v = 1;
21800 }
21801 }
21802 if (_v) {
21803 {
21804 void *ptr;
21805 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21806 _v = 0;
21807 PyErr_Clear();
21808 } else {
21809 _v = 1;
21810 }
21811 }
21812 if (_v) {
21813 return _wrap_DataFormat___ne____SWIG_1(self,args);
21814 }
21815 }
21816 }
21817 if (argc == 2) {
21818 int _v;
21819 {
21820 void *ptr;
21821 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21822 _v = 0;
21823 PyErr_Clear();
21824 } else {
21825 _v = 1;
21826 }
21827 }
21828 if (_v) {
21829 {
21830 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21831 }
21832 if (_v) {
21833 return _wrap_DataFormat___ne____SWIG_0(self,args);
21834 }
21835 }
21836 }
21837
21838 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
21839 return NULL;
21840}
21841
21842
21843static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21844 PyObject *resultobj;
21845 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21846 int arg2 ;
21847 PyObject * obj0 = 0 ;
21848 char *kwnames[] = {
21849 (char *) "self",(char *) "format", NULL
21850 };
21851
21852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DataFormat_SetType",kwnames,&obj0,&arg2)) goto fail;
21853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21854 {
21855 PyThreadState* __tstate = wxPyBeginAllowThreads();
21856 (arg1)->SetType((wxDataFormatId )arg2);
21857
21858 wxPyEndAllowThreads(__tstate);
21859 if (PyErr_Occurred()) SWIG_fail;
21860 }
21861 Py_INCREF(Py_None); resultobj = Py_None;
21862 return resultobj;
21863 fail:
21864 return NULL;
21865}
21866
21867
21868static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21869 PyObject *resultobj;
21870 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21871 int result;
21872 PyObject * obj0 = 0 ;
21873 char *kwnames[] = {
21874 (char *) "self", NULL
21875 };
21876
21877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
21878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21879 {
21880 PyThreadState* __tstate = wxPyBeginAllowThreads();
21881 result = (int)((wxDataFormat const *)arg1)->GetType();
21882
21883 wxPyEndAllowThreads(__tstate);
21884 if (PyErr_Occurred()) SWIG_fail;
21885 }
21886 resultobj = PyInt_FromLong((long)result);
21887 return resultobj;
21888 fail:
21889 return NULL;
21890}
21891
21892
21893static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21894 PyObject *resultobj;
21895 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21896 wxString result;
21897 PyObject * obj0 = 0 ;
21898 char *kwnames[] = {
21899 (char *) "self", NULL
21900 };
21901
21902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
21903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21904 {
21905 PyThreadState* __tstate = wxPyBeginAllowThreads();
21906 result = ((wxDataFormat const *)arg1)->GetId();
21907
21908 wxPyEndAllowThreads(__tstate);
21909 if (PyErr_Occurred()) SWIG_fail;
21910 }
21911 {
21912#if wxUSE_UNICODE
21913 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21914#else
21915 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21916#endif
21917 }
21918 return resultobj;
21919 fail:
21920 return NULL;
21921}
21922
21923
21924static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21925 PyObject *resultobj;
21926 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21927 wxString *arg2 = 0 ;
e811c8ce 21928 bool temp2 = False ;
d14a1e28
RD
21929 PyObject * obj0 = 0 ;
21930 PyObject * obj1 = 0 ;
21931 char *kwnames[] = {
21932 (char *) "self",(char *) "format", NULL
21933 };
21934
21935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
21936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21937 {
21938 arg2 = wxString_in_helper(obj1);
21939 if (arg2 == NULL) SWIG_fail;
e811c8ce 21940 temp2 = True;
d14a1e28
RD
21941 }
21942 {
21943 PyThreadState* __tstate = wxPyBeginAllowThreads();
21944 (arg1)->SetId((wxString const &)*arg2);
21945
21946 wxPyEndAllowThreads(__tstate);
21947 if (PyErr_Occurred()) SWIG_fail;
21948 }
21949 Py_INCREF(Py_None); resultobj = Py_None;
21950 {
21951 if (temp2)
21952 delete arg2;
21953 }
21954 return resultobj;
21955 fail:
21956 {
21957 if (temp2)
21958 delete arg2;
21959 }
21960 return NULL;
21961}
21962
21963
21964static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
21965 PyObject *obj;
21966 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21967 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
21968 Py_INCREF(obj);
21969 return Py_BuildValue((char *)"");
21970}
21971static int _wrap_FormatInvalid_set(PyObject *_val) {
21972 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
21973 return 1;
21974}
21975
21976
21977static PyObject *_wrap_FormatInvalid_get() {
21978 PyObject *pyobj;
21979
21980 pyobj = SWIG_NewPointerObj((void *) &wxFormatInvalid, SWIGTYPE_p_wxDataFormat, 0);
21981 return pyobj;
21982}
21983
21984
21985static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
21986 PyObject *resultobj;
21987 wxDataObject *arg1 = (wxDataObject *) 0 ;
21988 PyObject * obj0 = 0 ;
21989 char *kwnames[] = {
21990 (char *) "self", NULL
21991 };
21992
21993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
21994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21995 {
21996 PyThreadState* __tstate = wxPyBeginAllowThreads();
21997 delete arg1;
21998
21999 wxPyEndAllowThreads(__tstate);
22000 if (PyErr_Occurred()) SWIG_fail;
22001 }
22002 Py_INCREF(Py_None); resultobj = Py_None;
22003 return resultobj;
22004 fail:
22005 return NULL;
22006}
22007
22008
22009static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22010 PyObject *resultobj;
22011 wxDataObject *arg1 = (wxDataObject *) 0 ;
22012 int arg2 = (int) wxDataObject::Get ;
22013 SwigValueWrapper< wxDataFormat > result;
22014 PyObject * obj0 = 0 ;
22015 char *kwnames[] = {
22016 (char *) "self",(char *) "dir", NULL
22017 };
22018
22019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetPreferredFormat",kwnames,&obj0,&arg2)) goto fail;
22020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22021 {
22022 PyThreadState* __tstate = wxPyBeginAllowThreads();
22023 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
22024
22025 wxPyEndAllowThreads(__tstate);
22026 if (PyErr_Occurred()) SWIG_fail;
22027 }
22028 {
22029 wxDataFormat * resultptr;
22030 resultptr = new wxDataFormat((wxDataFormat &) result);
22031 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDataFormat, 1);
22032 }
22033 return resultobj;
22034 fail:
22035 return NULL;
22036}
22037
22038
22039static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22040 PyObject *resultobj;
22041 wxDataObject *arg1 = (wxDataObject *) 0 ;
22042 int arg2 = (int) wxDataObject::Get ;
22043 size_t result;
22044 PyObject * obj0 = 0 ;
22045 char *kwnames[] = {
22046 (char *) "self",(char *) "dir", NULL
22047 };
22048
22049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetFormatCount",kwnames,&obj0,&arg2)) goto fail;
22050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22051 {
22052 PyThreadState* __tstate = wxPyBeginAllowThreads();
22053 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
22054
22055 wxPyEndAllowThreads(__tstate);
22056 if (PyErr_Occurred()) SWIG_fail;
22057 }
22058 resultobj = PyInt_FromLong((long)result);
22059 return resultobj;
22060 fail:
22061 return NULL;
22062}
22063
22064
22065static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
22066 PyObject *resultobj;
22067 wxDataObject *arg1 = (wxDataObject *) 0 ;
22068 wxDataFormat *arg2 = 0 ;
22069 int arg3 = (int) wxDataObject::Get ;
22070 bool result;
22071 PyObject * obj0 = 0 ;
22072 PyObject * obj1 = 0 ;
22073 char *kwnames[] = {
22074 (char *) "self",(char *) "format",(char *) "dir", NULL
22075 };
22076
22077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_IsSupported",kwnames,&obj0,&obj1,&arg3)) goto fail;
22078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22079 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22080 if (arg2 == NULL) {
22081 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22082 }
22083 {
22084 PyThreadState* __tstate = wxPyBeginAllowThreads();
22085 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
22086
22087 wxPyEndAllowThreads(__tstate);
22088 if (PyErr_Occurred()) SWIG_fail;
22089 }
22090 resultobj = PyInt_FromLong((long)result);
22091 return resultobj;
22092 fail:
22093 return NULL;
22094}
22095
22096
22097static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22098 PyObject *resultobj;
22099 wxDataObject *arg1 = (wxDataObject *) 0 ;
22100 wxDataFormat *arg2 = 0 ;
22101 size_t result;
22102 PyObject * obj0 = 0 ;
22103 PyObject * obj1 = 0 ;
22104 char *kwnames[] = {
22105 (char *) "self",(char *) "format", NULL
22106 };
22107
22108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
22109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22110 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22111 if (arg2 == NULL) {
22112 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22113 }
22114 {
22115 PyThreadState* __tstate = wxPyBeginAllowThreads();
22116 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
22117
22118 wxPyEndAllowThreads(__tstate);
22119 if (PyErr_Occurred()) SWIG_fail;
22120 }
22121 resultobj = PyInt_FromLong((long)result);
22122 return resultobj;
22123 fail:
22124 return NULL;
22125}
22126
22127
22128static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
22129 PyObject *resultobj;
22130 wxDataObject *arg1 = (wxDataObject *) 0 ;
22131 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
22132 int arg3 = (int) wxDataObject::Get ;
22133 PyObject * obj0 = 0 ;
22134 PyObject * obj1 = 0 ;
22135 char *kwnames[] = {
22136 (char *) "self",(char *) "formats",(char *) "dir", NULL
22137 };
22138
22139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&arg3)) goto fail;
22140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22141 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22142 {
22143 PyThreadState* __tstate = wxPyBeginAllowThreads();
22144 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
22145
22146 wxPyEndAllowThreads(__tstate);
22147 if (PyErr_Occurred()) SWIG_fail;
22148 }
22149 Py_INCREF(Py_None); resultobj = Py_None;
22150 return resultobj;
22151 fail:
22152 return NULL;
22153}
22154
22155
22156static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
22157 PyObject *resultobj;
22158 wxDataObject *arg1 = (wxDataObject *) 0 ;
22159 wxDataFormat *arg2 = 0 ;
22160 void *arg3 = (void *) 0 ;
22161 bool result;
22162 PyObject * obj0 = 0 ;
22163 PyObject * obj1 = 0 ;
22164 PyObject * obj2 = 0 ;
22165 char *kwnames[] = {
22166 (char *) "self",(char *) "format",(char *) "buf", NULL
22167 };
22168
22169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
22170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22171 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22172 if (arg2 == NULL) {
22173 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22174 }
22175 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22176 {
22177 PyThreadState* __tstate = wxPyBeginAllowThreads();
22178 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
22179
22180 wxPyEndAllowThreads(__tstate);
22181 if (PyErr_Occurred()) SWIG_fail;
22182 }
22183 resultobj = PyInt_FromLong((long)result);
22184 return resultobj;
22185 fail:
22186 return NULL;
22187}
22188
22189
22190static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22191 PyObject *resultobj;
22192 wxDataObject *arg1 = (wxDataObject *) 0 ;
22193 wxDataFormat *arg2 = 0 ;
22194 size_t arg3 ;
22195 void *arg4 = (void *) 0 ;
22196 bool result;
22197 PyObject * obj0 = 0 ;
22198 PyObject * obj1 = 0 ;
22199 PyObject * obj2 = 0 ;
22200 PyObject * obj3 = 0 ;
22201 char *kwnames[] = {
22202 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
22203 };
22204
22205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22207 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22208 if (arg2 == NULL) {
22209 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22210 }
22211 arg3 = (size_t) PyInt_AsLong(obj2);
22212 if (PyErr_Occurred()) SWIG_fail;
22213 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22214 {
22215 PyThreadState* __tstate = wxPyBeginAllowThreads();
22216 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
22217
22218 wxPyEndAllowThreads(__tstate);
22219 if (PyErr_Occurred()) SWIG_fail;
22220 }
22221 resultobj = PyInt_FromLong((long)result);
22222 return resultobj;
22223 fail:
22224 return NULL;
22225}
22226
22227
22228static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
22229 PyObject *obj;
22230 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22231 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
22232 Py_INCREF(obj);
22233 return Py_BuildValue((char *)"");
22234}
22235static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22236 PyObject *resultobj;
22237 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22238 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22239 wxDataObjectSimple *result;
22240 PyObject * obj0 = 0 ;
22241 char *kwnames[] = {
22242 (char *) "format", NULL
22243 };
22244
22245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
22246 if (obj0) {
22247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22248 if (arg1 == NULL) {
22249 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22250 }
22251 }
22252 {
22253 PyThreadState* __tstate = wxPyBeginAllowThreads();
22254 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
22255
22256 wxPyEndAllowThreads(__tstate);
22257 if (PyErr_Occurred()) SWIG_fail;
22258 }
22259 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectSimple, 1);
22260 return resultobj;
22261 fail:
22262 return NULL;
22263}
22264
22265
22266static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22267 PyObject *resultobj;
22268 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22269 wxDataFormat *result;
22270 PyObject * obj0 = 0 ;
22271 char *kwnames[] = {
22272 (char *) "self", NULL
22273 };
22274
22275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
22276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22277 {
22278 PyThreadState* __tstate = wxPyBeginAllowThreads();
22279 {
22280 wxDataFormat const &_result_ref = (arg1)->GetFormat();
22281 result = (wxDataFormat *) &_result_ref;
22282 }
22283
22284 wxPyEndAllowThreads(__tstate);
22285 if (PyErr_Occurred()) SWIG_fail;
22286 }
22287 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 0);
22288 return resultobj;
22289 fail:
22290 return NULL;
22291}
22292
22293
22294static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22295 PyObject *resultobj;
22296 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22297 wxDataFormat *arg2 = 0 ;
22298 PyObject * obj0 = 0 ;
22299 PyObject * obj1 = 0 ;
22300 char *kwnames[] = {
22301 (char *) "self",(char *) "format", NULL
22302 };
22303
22304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
22305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22306 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22307 if (arg2 == NULL) {
22308 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22309 }
22310 {
22311 PyThreadState* __tstate = wxPyBeginAllowThreads();
22312 (arg1)->SetFormat((wxDataFormat const &)*arg2);
22313
22314 wxPyEndAllowThreads(__tstate);
22315 if (PyErr_Occurred()) SWIG_fail;
22316 }
22317 Py_INCREF(Py_None); resultobj = Py_None;
22318 return resultobj;
22319 fail:
22320 return NULL;
22321}
22322
22323
22324static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22325 PyObject *obj;
22326 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22327 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
22328 Py_INCREF(obj);
22329 return Py_BuildValue((char *)"");
22330}
22331static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22332 PyObject *resultobj;
22333 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22334 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22335 wxPyDataObjectSimple *result;
22336 PyObject * obj0 = 0 ;
22337 char *kwnames[] = {
22338 (char *) "format", NULL
22339 };
22340
22341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
22342 if (obj0) {
22343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22344 if (arg1 == NULL) {
22345 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22346 }
22347 }
22348 {
22349 PyThreadState* __tstate = wxPyBeginAllowThreads();
22350 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
22351
22352 wxPyEndAllowThreads(__tstate);
22353 if (PyErr_Occurred()) SWIG_fail;
22354 }
22355 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDataObjectSimple, 1);
22356 return resultobj;
22357 fail:
22358 return NULL;
22359}
22360
22361
22362static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22363 PyObject *resultobj;
22364 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
22365 PyObject *arg2 = (PyObject *) 0 ;
22366 PyObject *arg3 = (PyObject *) 0 ;
22367 PyObject * obj0 = 0 ;
22368 PyObject * obj1 = 0 ;
22369 PyObject * obj2 = 0 ;
22370 char *kwnames[] = {
22371 (char *) "self",(char *) "self",(char *) "_class", NULL
22372 };
22373
22374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22376 arg2 = obj1;
22377 arg3 = obj2;
22378 {
22379 PyThreadState* __tstate = wxPyBeginAllowThreads();
22380 (arg1)->_setCallbackInfo(arg2,arg3);
22381
22382 wxPyEndAllowThreads(__tstate);
22383 if (PyErr_Occurred()) SWIG_fail;
22384 }
22385 Py_INCREF(Py_None); resultobj = Py_None;
22386 return resultobj;
22387 fail:
22388 return NULL;
22389}
22390
22391
22392static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22393 PyObject *obj;
22394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22395 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
22396 Py_INCREF(obj);
22397 return Py_BuildValue((char *)"");
22398}
22399static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
22400 PyObject *resultobj;
22401 wxDataObjectComposite *result;
22402 char *kwnames[] = {
22403 NULL
22404 };
22405
22406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
22407 {
22408 PyThreadState* __tstate = wxPyBeginAllowThreads();
22409 result = (wxDataObjectComposite *)new wxDataObjectComposite();
22410
22411 wxPyEndAllowThreads(__tstate);
22412 if (PyErr_Occurred()) SWIG_fail;
22413 }
22414 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectComposite, 1);
22415 return resultobj;
22416 fail:
22417 return NULL;
22418}
22419
22420
22421static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
22422 PyObject *resultobj;
22423 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
22424 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
e811c8ce 22425 int arg3 = (int) False ;
d14a1e28
RD
22426 PyObject * obj0 = 0 ;
22427 PyObject * obj1 = 0 ;
22428 char *kwnames[] = {
22429 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
22430 };
22431
22432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObjectComposite_Add",kwnames,&obj0,&obj1,&arg3)) goto fail;
22433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectComposite,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22434 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22435 {
22436 PyThreadState* __tstate = wxPyBeginAllowThreads();
22437 (arg1)->Add(arg2,arg3);
22438
22439 wxPyEndAllowThreads(__tstate);
22440 if (PyErr_Occurred()) SWIG_fail;
22441 }
22442 Py_INCREF(Py_None); resultobj = Py_None;
22443 return resultobj;
22444 fail:
22445 return NULL;
22446}
22447
22448
22449static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
22450 PyObject *obj;
22451 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22452 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
22453 Py_INCREF(obj);
22454 return Py_BuildValue((char *)"");
22455}
22456static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22457 PyObject *resultobj;
22458 wxString const &arg1_defvalue = wxPyEmptyString ;
22459 wxString *arg1 = (wxString *) &arg1_defvalue ;
22460 wxTextDataObject *result;
e811c8ce 22461 bool temp1 = False ;
d14a1e28
RD
22462 PyObject * obj0 = 0 ;
22463 char *kwnames[] = {
22464 (char *) "text", NULL
22465 };
22466
22467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
22468 if (obj0) {
22469 {
22470 arg1 = wxString_in_helper(obj0);
22471 if (arg1 == NULL) SWIG_fail;
e811c8ce 22472 temp1 = True;
d14a1e28
RD
22473 }
22474 }
22475 {
22476 PyThreadState* __tstate = wxPyBeginAllowThreads();
22477 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
22478
22479 wxPyEndAllowThreads(__tstate);
22480 if (PyErr_Occurred()) SWIG_fail;
22481 }
22482 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextDataObject, 1);
22483 {
22484 if (temp1)
22485 delete arg1;
22486 }
22487 return resultobj;
22488 fail:
22489 {
22490 if (temp1)
22491 delete arg1;
22492 }
22493 return NULL;
22494}
22495
22496
22497static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
22498 PyObject *resultobj;
22499 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22500 size_t result;
22501 PyObject * obj0 = 0 ;
22502 char *kwnames[] = {
22503 (char *) "self", NULL
22504 };
22505
22506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
22507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22508 {
22509 PyThreadState* __tstate = wxPyBeginAllowThreads();
22510 result = (size_t)(arg1)->GetTextLength();
22511
22512 wxPyEndAllowThreads(__tstate);
22513 if (PyErr_Occurred()) SWIG_fail;
22514 }
22515 resultobj = PyInt_FromLong((long)result);
22516 return resultobj;
22517 fail:
22518 return NULL;
22519}
22520
22521
22522static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22523 PyObject *resultobj;
22524 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22525 wxString result;
22526 PyObject * obj0 = 0 ;
22527 char *kwnames[] = {
22528 (char *) "self", NULL
22529 };
22530
22531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
22532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22533 {
22534 PyThreadState* __tstate = wxPyBeginAllowThreads();
22535 result = (arg1)->GetText();
22536
22537 wxPyEndAllowThreads(__tstate);
22538 if (PyErr_Occurred()) SWIG_fail;
22539 }
22540 {
22541#if wxUSE_UNICODE
22542 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22543#else
22544 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22545#endif
22546 }
22547 return resultobj;
22548 fail:
22549 return NULL;
22550}
22551
22552
22553static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22554 PyObject *resultobj;
22555 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22556 wxString *arg2 = 0 ;
e811c8ce 22557 bool temp2 = False ;
d14a1e28
RD
22558 PyObject * obj0 = 0 ;
22559 PyObject * obj1 = 0 ;
22560 char *kwnames[] = {
22561 (char *) "self",(char *) "text", NULL
22562 };
22563
22564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
22565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22566 {
22567 arg2 = wxString_in_helper(obj1);
22568 if (arg2 == NULL) SWIG_fail;
e811c8ce 22569 temp2 = True;
d14a1e28
RD
22570 }
22571 {
22572 PyThreadState* __tstate = wxPyBeginAllowThreads();
22573 (arg1)->SetText((wxString const &)*arg2);
22574
22575 wxPyEndAllowThreads(__tstate);
22576 if (PyErr_Occurred()) SWIG_fail;
22577 }
22578 Py_INCREF(Py_None); resultobj = Py_None;
22579 {
22580 if (temp2)
22581 delete arg2;
22582 }
22583 return resultobj;
22584 fail:
22585 {
22586 if (temp2)
22587 delete arg2;
22588 }
22589 return NULL;
22590}
22591
22592
22593static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
22594 PyObject *obj;
22595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22596 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
22597 Py_INCREF(obj);
22598 return Py_BuildValue((char *)"");
22599}
22600static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22601 PyObject *resultobj;
22602 wxString const &arg1_defvalue = wxPyEmptyString ;
22603 wxString *arg1 = (wxString *) &arg1_defvalue ;
22604 wxPyTextDataObject *result;
e811c8ce 22605 bool temp1 = False ;
d14a1e28
RD
22606 PyObject * obj0 = 0 ;
22607 char *kwnames[] = {
22608 (char *) "text", NULL
22609 };
22610
22611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
22612 if (obj0) {
22613 {
22614 arg1 = wxString_in_helper(obj0);
22615 if (arg1 == NULL) SWIG_fail;
e811c8ce 22616 temp1 = True;
d14a1e28
RD
22617 }
22618 }
22619 {
22620 PyThreadState* __tstate = wxPyBeginAllowThreads();
22621 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
22622
22623 wxPyEndAllowThreads(__tstate);
22624 if (PyErr_Occurred()) SWIG_fail;
22625 }
22626 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDataObject, 1);
22627 {
22628 if (temp1)
22629 delete arg1;
22630 }
22631 return resultobj;
22632 fail:
22633 {
22634 if (temp1)
22635 delete arg1;
22636 }
22637 return NULL;
22638}
22639
22640
22641static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22642 PyObject *resultobj;
22643 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
22644 PyObject *arg2 = (PyObject *) 0 ;
22645 PyObject *arg3 = (PyObject *) 0 ;
22646 PyObject * obj0 = 0 ;
22647 PyObject * obj1 = 0 ;
22648 PyObject * obj2 = 0 ;
22649 char *kwnames[] = {
22650 (char *) "self",(char *) "self",(char *) "_class", NULL
22651 };
22652
22653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22655 arg2 = obj1;
22656 arg3 = obj2;
22657 {
22658 PyThreadState* __tstate = wxPyBeginAllowThreads();
22659 (arg1)->_setCallbackInfo(arg2,arg3);
22660
22661 wxPyEndAllowThreads(__tstate);
22662 if (PyErr_Occurred()) SWIG_fail;
22663 }
22664 Py_INCREF(Py_None); resultobj = Py_None;
22665 return resultobj;
22666 fail:
22667 return NULL;
22668}
22669
22670
22671static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
22672 PyObject *obj;
22673 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22674 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
22675 Py_INCREF(obj);
22676 return Py_BuildValue((char *)"");
22677}
22678static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22679 PyObject *resultobj;
22680 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22681 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22682 wxBitmapDataObject *result;
22683 PyObject * obj0 = 0 ;
22684 char *kwnames[] = {
22685 (char *) "bitmap", NULL
22686 };
22687
22688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
22689 if (obj0) {
22690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22691 if (arg1 == NULL) {
22692 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22693 }
22694 }
22695 {
22696 PyThreadState* __tstate = wxPyBeginAllowThreads();
22697 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
22698
22699 wxPyEndAllowThreads(__tstate);
22700 if (PyErr_Occurred()) SWIG_fail;
22701 }
22702 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmapDataObject, 1);
22703 return resultobj;
22704 fail:
22705 return NULL;
22706}
22707
22708
22709static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22710 PyObject *resultobj;
22711 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22712 wxBitmap result;
22713 PyObject * obj0 = 0 ;
22714 char *kwnames[] = {
22715 (char *) "self", NULL
22716 };
22717
22718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
22719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22720 {
22721 PyThreadState* __tstate = wxPyBeginAllowThreads();
22722 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
22723
22724 wxPyEndAllowThreads(__tstate);
22725 if (PyErr_Occurred()) SWIG_fail;
22726 }
22727 {
22728 wxBitmap * resultptr;
22729 resultptr = new wxBitmap((wxBitmap &) result);
22730 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
22731 }
22732 return resultobj;
22733 fail:
22734 return NULL;
22735}
22736
22737
22738static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22739 PyObject *resultobj;
22740 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22741 wxBitmap *arg2 = 0 ;
22742 PyObject * obj0 = 0 ;
22743 PyObject * obj1 = 0 ;
22744 char *kwnames[] = {
22745 (char *) "self",(char *) "bitmap", NULL
22746 };
22747
22748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
22749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22750 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22751 if (arg2 == NULL) {
22752 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22753 }
22754 {
22755 PyThreadState* __tstate = wxPyBeginAllowThreads();
22756 (arg1)->SetBitmap((wxBitmap const &)*arg2);
22757
22758 wxPyEndAllowThreads(__tstate);
22759 if (PyErr_Occurred()) SWIG_fail;
22760 }
22761 Py_INCREF(Py_None); resultobj = Py_None;
22762 return resultobj;
22763 fail:
22764 return NULL;
22765}
22766
22767
22768static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22769 PyObject *obj;
22770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22771 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
22772 Py_INCREF(obj);
22773 return Py_BuildValue((char *)"");
22774}
22775static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22776 PyObject *resultobj;
22777 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22778 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22779 wxPyBitmapDataObject *result;
22780 PyObject * obj0 = 0 ;
22781 char *kwnames[] = {
22782 (char *) "bitmap", NULL
22783 };
22784
22785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
22786 if (obj0) {
22787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22788 if (arg1 == NULL) {
22789 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22790 }
22791 }
22792 {
22793 PyThreadState* __tstate = wxPyBeginAllowThreads();
22794 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
22795
22796 wxPyEndAllowThreads(__tstate);
22797 if (PyErr_Occurred()) SWIG_fail;
22798 }
22799 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapDataObject, 1);
22800 return resultobj;
22801 fail:
22802 return NULL;
22803}
22804
22805
22806static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22807 PyObject *resultobj;
22808 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
22809 PyObject *arg2 = (PyObject *) 0 ;
22810 PyObject *arg3 = (PyObject *) 0 ;
22811 PyObject * obj0 = 0 ;
22812 PyObject * obj1 = 0 ;
22813 PyObject * obj2 = 0 ;
22814 char *kwnames[] = {
22815 (char *) "self",(char *) "self",(char *) "_class", NULL
22816 };
22817
22818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22820 arg2 = obj1;
22821 arg3 = obj2;
22822 {
22823 PyThreadState* __tstate = wxPyBeginAllowThreads();
22824 (arg1)->_setCallbackInfo(arg2,arg3);
22825
22826 wxPyEndAllowThreads(__tstate);
22827 if (PyErr_Occurred()) SWIG_fail;
22828 }
22829 Py_INCREF(Py_None); resultobj = Py_None;
22830 return resultobj;
22831 fail:
22832 return NULL;
22833}
22834
22835
22836static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22837 PyObject *obj;
22838 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22839 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
22840 Py_INCREF(obj);
22841 return Py_BuildValue((char *)"");
22842}
22843static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22844 PyObject *resultobj;
22845 wxFileDataObject *result;
22846 char *kwnames[] = {
22847 NULL
22848 };
22849
22850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
22851 {
22852 PyThreadState* __tstate = wxPyBeginAllowThreads();
22853 result = (wxFileDataObject *)new wxFileDataObject();
22854
22855 wxPyEndAllowThreads(__tstate);
22856 if (PyErr_Occurred()) SWIG_fail;
22857 }
22858 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDataObject, 1);
22859 return resultobj;
22860 fail:
22861 return NULL;
22862}
22863
22864
22865static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
22866 PyObject *resultobj;
22867 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
22868 wxArrayString *result;
22869 PyObject * obj0 = 0 ;
22870 char *kwnames[] = {
22871 (char *) "self", NULL
22872 };
22873
22874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
22875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22876 {
22877 PyThreadState* __tstate = wxPyBeginAllowThreads();
22878 {
22879 wxArrayString const &_result_ref = (arg1)->GetFilenames();
22880 result = (wxArrayString *) &_result_ref;
22881 }
22882
22883 wxPyEndAllowThreads(__tstate);
22884 if (PyErr_Occurred()) SWIG_fail;
22885 }
22886 {
22887 resultobj = wxArrayString2PyList_helper(*result);
22888 }
22889 return resultobj;
22890 fail:
22891 return NULL;
22892}
22893
22894
22895static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
22896 PyObject *obj;
22897 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22898 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
22899 Py_INCREF(obj);
22900 return Py_BuildValue((char *)"");
22901}
22902static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22903 PyObject *resultobj;
22904 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22905 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22906 wxCustomDataObject *result;
22907 PyObject * obj0 = 0 ;
22908 char *kwnames[] = {
22909 (char *) "format", NULL
22910 };
22911
22912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
22913 if (obj0) {
22914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22915 if (arg1 == NULL) {
22916 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22917 }
22918 }
22919 {
22920 PyThreadState* __tstate = wxPyBeginAllowThreads();
22921 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
22922
22923 wxPyEndAllowThreads(__tstate);
22924 if (PyErr_Occurred()) SWIG_fail;
22925 }
22926 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCustomDataObject, 1);
22927 return resultobj;
22928 fail:
22929 return NULL;
22930}
22931
22932
22933static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
22934 PyObject *resultobj;
22935 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22936 PyObject *arg2 = (PyObject *) 0 ;
22937 PyObject * obj0 = 0 ;
22938 PyObject * obj1 = 0 ;
22939 char *kwnames[] = {
22940 (char *) "self",(char *) "data", NULL
22941 };
22942
22943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
22944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22945 arg2 = obj1;
22946 {
22947 PyThreadState* __tstate = wxPyBeginAllowThreads();
22948 wxCustomDataObject_TakeData(arg1,arg2);
22949
22950 wxPyEndAllowThreads(__tstate);
22951 if (PyErr_Occurred()) SWIG_fail;
22952 }
22953 Py_INCREF(Py_None); resultobj = Py_None;
22954 return resultobj;
22955 fail:
22956 return NULL;
22957}
22958
22959
22960static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22961 PyObject *resultobj;
22962 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22963 PyObject *arg2 = (PyObject *) 0 ;
22964 bool result;
22965 PyObject * obj0 = 0 ;
22966 PyObject * obj1 = 0 ;
22967 char *kwnames[] = {
22968 (char *) "self",(char *) "data", NULL
22969 };
22970
22971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
22972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22973 arg2 = obj1;
22974 {
22975 PyThreadState* __tstate = wxPyBeginAllowThreads();
22976 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
22977
22978 wxPyEndAllowThreads(__tstate);
22979 if (PyErr_Occurred()) SWIG_fail;
22980 }
22981 resultobj = PyInt_FromLong((long)result);
22982 return resultobj;
22983 fail:
22984 return NULL;
22985}
22986
22987
22988static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22989 PyObject *resultobj;
22990 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22991 size_t result;
22992 PyObject * obj0 = 0 ;
22993 char *kwnames[] = {
22994 (char *) "self", NULL
22995 };
22996
22997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
22998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22999 {
23000 PyThreadState* __tstate = wxPyBeginAllowThreads();
23001 result = (size_t)(arg1)->GetSize();
23002
23003 wxPyEndAllowThreads(__tstate);
23004 if (PyErr_Occurred()) SWIG_fail;
23005 }
23006 resultobj = PyInt_FromLong((long)result);
23007 return resultobj;
23008 fail:
23009 return NULL;
23010}
23011
23012
23013static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23014 PyObject *resultobj;
23015 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
23016 PyObject *result;
23017 PyObject * obj0 = 0 ;
23018 char *kwnames[] = {
23019 (char *) "self", NULL
23020 };
23021
23022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
23023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23024 {
23025 PyThreadState* __tstate = wxPyBeginAllowThreads();
23026 result = (PyObject *)wxCustomDataObject_GetData(arg1);
23027
23028 wxPyEndAllowThreads(__tstate);
23029 if (PyErr_Occurred()) SWIG_fail;
23030 }
23031 resultobj = result;
23032 return resultobj;
23033 fail:
23034 return NULL;
23035}
23036
23037
23038static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
23039 PyObject *obj;
23040 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23041 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
23042 Py_INCREF(obj);
23043 return Py_BuildValue((char *)"");
23044}
23045static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23046 PyObject *resultobj;
23047 wxURLDataObject *result;
23048 char *kwnames[] = {
23049 NULL
23050 };
23051
23052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
23053 {
23054 PyThreadState* __tstate = wxPyBeginAllowThreads();
23055 result = (wxURLDataObject *)new wxURLDataObject();
23056
23057 wxPyEndAllowThreads(__tstate);
23058 if (PyErr_Occurred()) SWIG_fail;
23059 }
23060 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxURLDataObject, 1);
23061 return resultobj;
23062 fail:
23063 return NULL;
23064}
23065
23066
23067static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
23068 PyObject *resultobj;
23069 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
23070 wxString result;
23071 PyObject * obj0 = 0 ;
23072 char *kwnames[] = {
23073 (char *) "self", NULL
23074 };
23075
23076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
23077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23078 {
23079 PyThreadState* __tstate = wxPyBeginAllowThreads();
23080 result = (arg1)->GetURL();
23081
23082 wxPyEndAllowThreads(__tstate);
23083 if (PyErr_Occurred()) SWIG_fail;
23084 }
23085 {
23086#if wxUSE_UNICODE
23087 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23088#else
23089 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23090#endif
23091 }
23092 return resultobj;
23093 fail:
23094 return NULL;
23095}
23096
23097
23098static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
23099 PyObject *resultobj;
23100 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
23101 wxString *arg2 = 0 ;
e811c8ce 23102 bool temp2 = False ;
d14a1e28
RD
23103 PyObject * obj0 = 0 ;
23104 PyObject * obj1 = 0 ;
23105 char *kwnames[] = {
23106 (char *) "self",(char *) "url", NULL
23107 };
23108
23109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
23110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23111 {
23112 arg2 = wxString_in_helper(obj1);
23113 if (arg2 == NULL) SWIG_fail;
e811c8ce 23114 temp2 = True;
d14a1e28
RD
23115 }
23116 {
23117 PyThreadState* __tstate = wxPyBeginAllowThreads();
23118 (arg1)->SetURL((wxString const &)*arg2);
23119
23120 wxPyEndAllowThreads(__tstate);
23121 if (PyErr_Occurred()) SWIG_fail;
23122 }
23123 Py_INCREF(Py_None); resultobj = Py_None;
23124 {
23125 if (temp2)
23126 delete arg2;
23127 }
23128 return resultobj;
23129 fail:
23130 {
23131 if (temp2)
23132 delete arg2;
23133 }
23134 return NULL;
23135}
23136
23137
23138static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
23139 PyObject *obj;
23140 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23141 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
23142 Py_INCREF(obj);
23143 return Py_BuildValue((char *)"");
23144}
23145static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23146 PyObject *resultobj;
23147 wxMetafileDataObject *result;
23148 char *kwnames[] = {
23149 NULL
23150 };
23151
23152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
23153 {
23154 PyThreadState* __tstate = wxPyBeginAllowThreads();
23155 result = (wxMetafileDataObject *)new wxMetafileDataObject();
23156
23157 wxPyEndAllowThreads(__tstate);
23158 if (PyErr_Occurred()) SWIG_fail;
23159 }
23160 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMetafileDataObject, 1);
23161 return resultobj;
23162 fail:
23163 return NULL;
23164}
23165
23166
23167static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
23168 PyObject *obj;
23169 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23170 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
23171 Py_INCREF(obj);
23172 return Py_BuildValue((char *)"");
23173}
23174static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23175 PyObject *resultobj;
23176 int arg1 ;
23177 bool result;
23178 char *kwnames[] = {
23179 (char *) "res", NULL
23180 };
23181
23182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:IsDragResultOk",kwnames,&arg1)) goto fail;
23183 {
23184 PyThreadState* __tstate = wxPyBeginAllowThreads();
23185 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
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 *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23198 PyObject *resultobj;
23199 wxWindow *arg1 = (wxWindow *) NULL ;
23200 wxIcon const &arg2_defvalue = wxNullIcon ;
23201 wxIcon *arg2 = (wxIcon *) &arg2_defvalue ;
23202 wxIcon const &arg3_defvalue = wxNullIcon ;
23203 wxIcon *arg3 = (wxIcon *) &arg3_defvalue ;
23204 wxIcon const &arg4_defvalue = wxNullIcon ;
23205 wxIcon *arg4 = (wxIcon *) &arg4_defvalue ;
23206 wxPyDropSource *result;
23207 PyObject * obj0 = 0 ;
23208 PyObject * obj1 = 0 ;
23209 PyObject * obj2 = 0 ;
23210 PyObject * obj3 = 0 ;
23211 char *kwnames[] = {
23212 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
23213 };
23214
23215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23216 if (obj0) {
23217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23218 }
23219 if (obj1) {
23220 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23221 if (arg2 == NULL) {
23222 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23223 }
23224 }
23225 if (obj2) {
23226 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23227 if (arg3 == NULL) {
23228 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23229 }
23230 }
23231 if (obj3) {
23232 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23233 if (arg4 == NULL) {
23234 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23235 }
23236 }
23237 {
23238 PyThreadState* __tstate = wxPyBeginAllowThreads();
23239 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxIcon const &)*arg2,(wxIcon const &)*arg3,(wxIcon const &)*arg4);
23240
23241 wxPyEndAllowThreads(__tstate);
23242 if (PyErr_Occurred()) SWIG_fail;
23243 }
23244 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropSource, 1);
23245 return resultobj;
23246 fail:
23247 return NULL;
23248}
23249
23250
23251static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23252 PyObject *resultobj;
23253 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23254 PyObject *arg2 = (PyObject *) 0 ;
23255 PyObject *arg3 = (PyObject *) 0 ;
23256 int arg4 ;
23257 PyObject * obj0 = 0 ;
23258 PyObject * obj1 = 0 ;
23259 PyObject * obj2 = 0 ;
23260 char *kwnames[] = {
23261 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23262 };
23263
23264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOi:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
23265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23266 arg2 = obj1;
23267 arg3 = obj2;
23268 {
23269 PyThreadState* __tstate = wxPyBeginAllowThreads();
23270 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
23271
23272 wxPyEndAllowThreads(__tstate);
23273 if (PyErr_Occurred()) SWIG_fail;
23274 }
23275 Py_INCREF(Py_None); resultobj = Py_None;
23276 return resultobj;
23277 fail:
23278 return NULL;
23279}
23280
23281
23282static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23283 PyObject *resultobj;
23284 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23285 PyObject * obj0 = 0 ;
23286 char *kwnames[] = {
23287 (char *) "self", NULL
23288 };
23289
23290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
23291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23292 {
23293 PyThreadState* __tstate = wxPyBeginAllowThreads();
23294 delete arg1;
23295
23296 wxPyEndAllowThreads(__tstate);
23297 if (PyErr_Occurred()) SWIG_fail;
23298 }
23299 Py_INCREF(Py_None); resultobj = Py_None;
23300 return resultobj;
23301 fail:
23302 return NULL;
23303}
23304
23305
23306static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23307 PyObject *resultobj;
23308 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23309 wxDataObject *arg2 = 0 ;
23310 PyObject * obj0 = 0 ;
23311 PyObject * obj1 = 0 ;
23312 char *kwnames[] = {
23313 (char *) "self",(char *) "data", NULL
23314 };
23315
23316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
23317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23318 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23319 if (arg2 == NULL) {
23320 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23321 }
23322 {
23323 PyThreadState* __tstate = wxPyBeginAllowThreads();
23324 (arg1)->SetData(*arg2);
23325
23326 wxPyEndAllowThreads(__tstate);
23327 if (PyErr_Occurred()) SWIG_fail;
23328 }
23329 Py_INCREF(Py_None); resultobj = Py_None;
23330 return resultobj;
23331 fail:
23332 return NULL;
23333}
23334
23335
23336static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23337 PyObject *resultobj;
23338 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23339 wxDataObject *result;
23340 PyObject * obj0 = 0 ;
23341 char *kwnames[] = {
23342 (char *) "self", NULL
23343 };
23344
23345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
23346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23347 {
23348 PyThreadState* __tstate = wxPyBeginAllowThreads();
23349 result = (wxDataObject *)(arg1)->GetDataObject();
23350
23351 wxPyEndAllowThreads(__tstate);
23352 if (PyErr_Occurred()) SWIG_fail;
23353 }
23354 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23355 return resultobj;
23356 fail:
23357 return NULL;
23358}
23359
23360
23361static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
23362 PyObject *resultobj;
23363 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23364 int arg2 ;
23365 wxCursor *arg3 = 0 ;
23366 PyObject * obj0 = 0 ;
23367 PyObject * obj2 = 0 ;
23368 char *kwnames[] = {
23369 (char *) "self",(char *) "res",(char *) "cursor", NULL
23370 };
23371
23372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:DropSource_SetCursor",kwnames,&obj0,&arg2,&obj2)) goto fail;
23373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23374 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23375 if (arg3 == NULL) {
23376 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23377 }
23378 {
23379 PyThreadState* __tstate = wxPyBeginAllowThreads();
23380 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
23381
23382 wxPyEndAllowThreads(__tstate);
23383 if (PyErr_Occurred()) SWIG_fail;
23384 }
23385 Py_INCREF(Py_None); resultobj = Py_None;
23386 return resultobj;
23387 fail:
23388 return NULL;
23389}
23390
23391
23392static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23393 PyObject *resultobj;
23394 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23395 int arg2 = (int) wxDrag_CopyOnly ;
23396 int result;
23397 PyObject * obj0 = 0 ;
23398 char *kwnames[] = {
23399 (char *) "self",(char *) "flags", NULL
23400 };
23401
23402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DropSource_DoDragDrop",kwnames,&obj0,&arg2)) goto fail;
23403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23404 {
23405 PyThreadState* __tstate = wxPyBeginAllowThreads();
23406 result = (int)(arg1)->DoDragDrop(arg2);
23407
23408 wxPyEndAllowThreads(__tstate);
23409 if (PyErr_Occurred()) SWIG_fail;
23410 }
23411 resultobj = PyInt_FromLong((long)result);
23412 return resultobj;
23413 fail:
23414 return NULL;
23415}
23416
23417
23418static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
23419 PyObject *resultobj;
23420 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23421 int arg2 ;
23422 bool result;
23423 PyObject * obj0 = 0 ;
23424 char *kwnames[] = {
23425 (char *) "self",(char *) "effect", NULL
23426 };
23427
23428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DropSource_base_GiveFeedback",kwnames,&obj0,&arg2)) goto fail;
23429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23430 {
23431 PyThreadState* __tstate = wxPyBeginAllowThreads();
23432 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
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 * DropSource_swigregister(PyObject *self, PyObject *args) {
23445 PyObject *obj;
23446 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23447 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
23448 Py_INCREF(obj);
23449 return Py_BuildValue((char *)"");
23450}
196addbf 23451static PyObject *_wrap_new_PyDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23452 PyObject *resultobj;
23453 wxDataObject *arg1 = (wxDataObject *) NULL ;
23454 wxPyDropTarget *result;
23455 PyObject * obj0 = 0 ;
23456 char *kwnames[] = {
23457 (char *) "dataObject", NULL
23458 };
23459
196addbf 23460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDropTarget",kwnames,&obj0)) goto fail;
d14a1e28
RD
23461 if (obj0) {
23462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23463 }
23464 {
23465 PyThreadState* __tstate = wxPyBeginAllowThreads();
23466 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
23467
23468 wxPyEndAllowThreads(__tstate);
23469 if (PyErr_Occurred()) SWIG_fail;
23470 }
23471 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 1);
23472 return resultobj;
23473 fail:
23474 return NULL;
23475}
23476
23477
23478static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23479 PyObject *resultobj;
23480 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23481 PyObject *arg2 = (PyObject *) 0 ;
23482 PyObject *arg3 = (PyObject *) 0 ;
23483 PyObject * obj0 = 0 ;
23484 PyObject * obj1 = 0 ;
23485 PyObject * obj2 = 0 ;
23486 char *kwnames[] = {
23487 (char *) "self",(char *) "self",(char *) "_class", NULL
23488 };
23489
23490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23492 arg2 = obj1;
23493 arg3 = obj2;
23494 {
23495 PyThreadState* __tstate = wxPyBeginAllowThreads();
23496 (arg1)->_setCallbackInfo(arg2,arg3);
23497
23498 wxPyEndAllowThreads(__tstate);
23499 if (PyErr_Occurred()) SWIG_fail;
23500 }
23501 Py_INCREF(Py_None); resultobj = Py_None;
23502 return resultobj;
23503 fail:
23504 return NULL;
23505}
23506
23507
23508static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23509 PyObject *resultobj;
23510 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23511 PyObject * obj0 = 0 ;
23512 char *kwnames[] = {
23513 (char *) "self", NULL
23514 };
23515
23516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
23517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23518 {
23519 PyThreadState* __tstate = wxPyBeginAllowThreads();
23520 delete arg1;
23521
23522 wxPyEndAllowThreads(__tstate);
23523 if (PyErr_Occurred()) SWIG_fail;
23524 }
23525 Py_INCREF(Py_None); resultobj = Py_None;
23526 return resultobj;
23527 fail:
23528 return NULL;
23529}
23530
23531
23532static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23533 PyObject *resultobj;
23534 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23535 wxDataObject *result;
23536 PyObject * obj0 = 0 ;
23537 char *kwnames[] = {
23538 (char *) "self", NULL
23539 };
23540
23541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
23542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23543 {
23544 PyThreadState* __tstate = wxPyBeginAllowThreads();
23545 result = (wxDataObject *)(arg1)->GetDataObject();
23546
23547 wxPyEndAllowThreads(__tstate);
23548 if (PyErr_Occurred()) SWIG_fail;
23549 }
23550 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23551 return resultobj;
23552 fail:
23553 return NULL;
23554}
23555
23556
23557static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23558 PyObject *resultobj;
23559 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23560 wxDataObject *arg2 = (wxDataObject *) 0 ;
23561 PyObject * obj0 = 0 ;
23562 PyObject * obj1 = 0 ;
23563 char *kwnames[] = {
23564 (char *) "self",(char *) "dataObject", NULL
23565 };
23566
23567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
23568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23569 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23570 {
23571 PyThreadState* __tstate = wxPyBeginAllowThreads();
23572 (arg1)->SetDataObject(arg2);
23573
23574 wxPyEndAllowThreads(__tstate);
23575 if (PyErr_Occurred()) SWIG_fail;
23576 }
23577 Py_INCREF(Py_None); resultobj = Py_None;
23578 return resultobj;
23579 fail:
23580 return NULL;
23581}
23582
23583
23584static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23585 PyObject *resultobj;
23586 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
e811c8ce
RD
23587 int arg2 ;
23588 int arg3 ;
d14a1e28
RD
23589 int arg4 ;
23590 int result;
23591 PyObject * obj0 = 0 ;
23592 char *kwnames[] = {
23593 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23594 };
23595
23596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23598 {
23599 PyThreadState* __tstate = wxPyBeginAllowThreads();
23600 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23601
23602 wxPyEndAllowThreads(__tstate);
23603 if (PyErr_Occurred()) SWIG_fail;
23604 }
23605 resultobj = PyInt_FromLong((long)result);
23606 return resultobj;
23607 fail:
23608 return NULL;
23609}
23610
23611
23612static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23613 PyObject *resultobj;
23614 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
e811c8ce
RD
23615 int arg2 ;
23616 int arg3 ;
d14a1e28
RD
23617 int arg4 ;
23618 int result;
23619 PyObject * obj0 = 0 ;
23620 char *kwnames[] = {
23621 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23622 };
23623
23624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23626 {
23627 PyThreadState* __tstate = wxPyBeginAllowThreads();
23628 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23629
23630 wxPyEndAllowThreads(__tstate);
23631 if (PyErr_Occurred()) SWIG_fail;
23632 }
23633 resultobj = PyInt_FromLong((long)result);
23634 return resultobj;
23635 fail:
23636 return NULL;
23637}
23638
23639
23640static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23641 PyObject *resultobj;
23642 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23643 PyObject * obj0 = 0 ;
23644 char *kwnames[] = {
23645 (char *) "self", NULL
23646 };
23647
23648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23650 {
23651 PyThreadState* __tstate = wxPyBeginAllowThreads();
23652 (arg1)->base_OnLeave();
23653
23654 wxPyEndAllowThreads(__tstate);
23655 if (PyErr_Occurred()) SWIG_fail;
23656 }
23657 Py_INCREF(Py_None); resultobj = Py_None;
23658 return resultobj;
23659 fail:
23660 return NULL;
23661}
23662
23663
23664static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23665 PyObject *resultobj;
23666 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
e811c8ce
RD
23667 int arg2 ;
23668 int arg3 ;
d14a1e28
RD
23669 bool result;
23670 PyObject * obj0 = 0 ;
23671 char *kwnames[] = {
23672 (char *) "self",(char *) "x",(char *) "y", NULL
23673 };
23674
23675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:DropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23677 {
23678 PyThreadState* __tstate = wxPyBeginAllowThreads();
23679 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23680
23681 wxPyEndAllowThreads(__tstate);
23682 if (PyErr_Occurred()) SWIG_fail;
23683 }
23684 resultobj = PyInt_FromLong((long)result);
23685 return resultobj;
23686 fail:
23687 return NULL;
23688}
23689
23690
23691static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23692 PyObject *resultobj;
23693 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23694 bool result;
23695 PyObject * obj0 = 0 ;
23696 char *kwnames[] = {
23697 (char *) "self", NULL
23698 };
23699
23700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
23701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23702 {
23703 PyThreadState* __tstate = wxPyBeginAllowThreads();
23704 result = (bool)(arg1)->GetData();
23705
23706 wxPyEndAllowThreads(__tstate);
23707 if (PyErr_Occurred()) SWIG_fail;
23708 }
23709 resultobj = PyInt_FromLong((long)result);
23710 return resultobj;
23711 fail:
23712 return NULL;
23713}
23714
23715
23716static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
23717 PyObject *obj;
23718 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23719 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
23720 Py_INCREF(obj);
23721 return Py_BuildValue((char *)"");
23722}
23723static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23724 PyObject *resultobj;
23725 wxPyTextDropTarget *result;
23726 char *kwnames[] = {
23727 NULL
23728 };
23729
23730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
23731 {
23732 PyThreadState* __tstate = wxPyBeginAllowThreads();
23733 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
23734
23735 wxPyEndAllowThreads(__tstate);
23736 if (PyErr_Occurred()) SWIG_fail;
23737 }
23738 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDropTarget, 1);
23739 return resultobj;
23740 fail:
23741 return NULL;
23742}
23743
23744
23745static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23746 PyObject *resultobj;
23747 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23748 PyObject *arg2 = (PyObject *) 0 ;
23749 PyObject *arg3 = (PyObject *) 0 ;
23750 PyObject * obj0 = 0 ;
23751 PyObject * obj1 = 0 ;
23752 PyObject * obj2 = 0 ;
23753 char *kwnames[] = {
23754 (char *) "self",(char *) "self",(char *) "_class", NULL
23755 };
23756
23757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23759 arg2 = obj1;
23760 arg3 = obj2;
23761 {
23762 PyThreadState* __tstate = wxPyBeginAllowThreads();
23763 (arg1)->_setCallbackInfo(arg2,arg3);
23764
23765 wxPyEndAllowThreads(__tstate);
23766 if (PyErr_Occurred()) SWIG_fail;
23767 }
23768 Py_INCREF(Py_None); resultobj = Py_None;
23769 return resultobj;
23770 fail:
23771 return NULL;
23772}
23773
23774
23775static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23776 PyObject *resultobj;
23777 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
23778 int arg2 ;
23779 int arg3 ;
d14a1e28
RD
23780 int arg4 ;
23781 int result;
23782 PyObject * obj0 = 0 ;
23783 char *kwnames[] = {
23784 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23785 };
23786
23787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23789 {
23790 PyThreadState* __tstate = wxPyBeginAllowThreads();
23791 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23792
23793 wxPyEndAllowThreads(__tstate);
23794 if (PyErr_Occurred()) SWIG_fail;
23795 }
23796 resultobj = PyInt_FromLong((long)result);
23797 return resultobj;
23798 fail:
23799 return NULL;
23800}
23801
23802
23803static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23804 PyObject *resultobj;
23805 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
23806 int arg2 ;
23807 int arg3 ;
d14a1e28
RD
23808 int arg4 ;
23809 int result;
23810 PyObject * obj0 = 0 ;
23811 char *kwnames[] = {
23812 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23813 };
23814
23815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23817 {
23818 PyThreadState* __tstate = wxPyBeginAllowThreads();
23819 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23820
23821 wxPyEndAllowThreads(__tstate);
23822 if (PyErr_Occurred()) SWIG_fail;
23823 }
23824 resultobj = PyInt_FromLong((long)result);
23825 return resultobj;
23826 fail:
23827 return NULL;
23828}
23829
23830
23831static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23832 PyObject *resultobj;
23833 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23834 PyObject * obj0 = 0 ;
23835 char *kwnames[] = {
23836 (char *) "self", NULL
23837 };
23838
23839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23841 {
23842 PyThreadState* __tstate = wxPyBeginAllowThreads();
23843 (arg1)->base_OnLeave();
23844
23845 wxPyEndAllowThreads(__tstate);
23846 if (PyErr_Occurred()) SWIG_fail;
23847 }
23848 Py_INCREF(Py_None); resultobj = Py_None;
23849 return resultobj;
23850 fail:
23851 return NULL;
23852}
23853
23854
23855static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23856 PyObject *resultobj;
23857 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
23858 int arg2 ;
23859 int arg3 ;
d14a1e28
RD
23860 bool result;
23861 PyObject * obj0 = 0 ;
23862 char *kwnames[] = {
23863 (char *) "self",(char *) "x",(char *) "y", NULL
23864 };
23865
23866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23868 {
23869 PyThreadState* __tstate = wxPyBeginAllowThreads();
23870 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23871
23872 wxPyEndAllowThreads(__tstate);
23873 if (PyErr_Occurred()) SWIG_fail;
23874 }
23875 resultobj = PyInt_FromLong((long)result);
23876 return resultobj;
23877 fail:
23878 return NULL;
23879}
23880
23881
23882static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
23883 PyObject *resultobj;
23884 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
23885 int arg2 ;
23886 int arg3 ;
d14a1e28
RD
23887 int arg4 ;
23888 int result;
23889 PyObject * obj0 = 0 ;
23890 char *kwnames[] = {
23891 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23892 };
23893
23894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23896 {
23897 PyThreadState* __tstate = wxPyBeginAllowThreads();
23898 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
23899
23900 wxPyEndAllowThreads(__tstate);
23901 if (PyErr_Occurred()) SWIG_fail;
23902 }
23903 resultobj = PyInt_FromLong((long)result);
23904 return resultobj;
23905 fail:
23906 return NULL;
23907}
23908
23909
23910static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
23911 PyObject *obj;
23912 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23913 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
23914 Py_INCREF(obj);
23915 return Py_BuildValue((char *)"");
23916}
23917static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23918 PyObject *resultobj;
23919 wxPyFileDropTarget *result;
23920 char *kwnames[] = {
23921 NULL
23922 };
23923
23924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
23925 {
23926 PyThreadState* __tstate = wxPyBeginAllowThreads();
23927 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
23928
23929 wxPyEndAllowThreads(__tstate);
23930 if (PyErr_Occurred()) SWIG_fail;
23931 }
23932 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileDropTarget, 1);
23933 return resultobj;
23934 fail:
23935 return NULL;
23936}
23937
23938
23939static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23940 PyObject *resultobj;
23941 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
23942 PyObject *arg2 = (PyObject *) 0 ;
23943 PyObject *arg3 = (PyObject *) 0 ;
23944 PyObject * obj0 = 0 ;
23945 PyObject * obj1 = 0 ;
23946 PyObject * obj2 = 0 ;
23947 char *kwnames[] = {
23948 (char *) "self",(char *) "self",(char *) "_class", NULL
23949 };
23950
23951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23953 arg2 = obj1;
23954 arg3 = obj2;
23955 {
23956 PyThreadState* __tstate = wxPyBeginAllowThreads();
23957 (arg1)->_setCallbackInfo(arg2,arg3);
23958
23959 wxPyEndAllowThreads(__tstate);
23960 if (PyErr_Occurred()) SWIG_fail;
23961 }
23962 Py_INCREF(Py_None); resultobj = Py_None;
23963 return resultobj;
23964 fail:
23965 return NULL;
23966}
23967
23968
23969static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23970 PyObject *resultobj;
23971 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
23972 int arg2 ;
23973 int arg3 ;
d14a1e28
RD
23974 int arg4 ;
23975 int result;
23976 PyObject * obj0 = 0 ;
23977 char *kwnames[] = {
23978 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23979 };
23980
23981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23983 {
23984 PyThreadState* __tstate = wxPyBeginAllowThreads();
23985 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23986
23987 wxPyEndAllowThreads(__tstate);
23988 if (PyErr_Occurred()) SWIG_fail;
23989 }
23990 resultobj = PyInt_FromLong((long)result);
23991 return resultobj;
23992 fail:
23993 return NULL;
23994}
23995
23996
23997static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23998 PyObject *resultobj;
23999 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
24000 int arg2 ;
24001 int arg3 ;
d14a1e28
RD
24002 int arg4 ;
24003 int result;
24004 PyObject * obj0 = 0 ;
24005 char *kwnames[] = {
24006 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24007 };
24008
24009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24011 {
24012 PyThreadState* __tstate = wxPyBeginAllowThreads();
24013 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
24014
24015 wxPyEndAllowThreads(__tstate);
24016 if (PyErr_Occurred()) SWIG_fail;
24017 }
24018 resultobj = PyInt_FromLong((long)result);
24019 return resultobj;
24020 fail:
24021 return NULL;
24022}
24023
24024
24025static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
24026 PyObject *resultobj;
24027 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24028 PyObject * obj0 = 0 ;
24029 char *kwnames[] = {
24030 (char *) "self", NULL
24031 };
24032
24033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
24034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24035 {
24036 PyThreadState* __tstate = wxPyBeginAllowThreads();
24037 (arg1)->base_OnLeave();
24038
24039 wxPyEndAllowThreads(__tstate);
24040 if (PyErr_Occurred()) SWIG_fail;
24041 }
24042 Py_INCREF(Py_None); resultobj = Py_None;
24043 return resultobj;
24044 fail:
24045 return NULL;
24046}
24047
24048
24049static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
24050 PyObject *resultobj;
24051 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
24052 int arg2 ;
24053 int arg3 ;
d14a1e28
RD
24054 bool result;
24055 PyObject * obj0 = 0 ;
24056 char *kwnames[] = {
24057 (char *) "self",(char *) "x",(char *) "y", NULL
24058 };
24059
24060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
24061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24062 {
24063 PyThreadState* __tstate = wxPyBeginAllowThreads();
24064 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
24065
24066 wxPyEndAllowThreads(__tstate);
24067 if (PyErr_Occurred()) SWIG_fail;
24068 }
24069 resultobj = PyInt_FromLong((long)result);
24070 return resultobj;
24071 fail:
24072 return NULL;
24073}
24074
24075
24076static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
24077 PyObject *resultobj;
24078 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
24079 int arg2 ;
24080 int arg3 ;
d14a1e28
RD
24081 int arg4 ;
24082 int result;
24083 PyObject * obj0 = 0 ;
24084 char *kwnames[] = {
24085 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24086 };
24087
24088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24090 {
24091 PyThreadState* __tstate = wxPyBeginAllowThreads();
24092 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
24093
24094 wxPyEndAllowThreads(__tstate);
24095 if (PyErr_Occurred()) SWIG_fail;
24096 }
24097 resultobj = PyInt_FromLong((long)result);
24098 return resultobj;
24099 fail:
24100 return NULL;
24101}
24102
24103
24104static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
24105 PyObject *obj;
24106 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24107 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
24108 Py_INCREF(obj);
24109 return Py_BuildValue((char *)"");
24110}
24111static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24112 PyObject *resultobj;
24113 wxClipboard *result;
24114 char *kwnames[] = {
24115 NULL
24116 };
24117
24118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
24119 {
24120 PyThreadState* __tstate = wxPyBeginAllowThreads();
24121 result = (wxClipboard *)new wxClipboard();
24122
24123 wxPyEndAllowThreads(__tstate);
24124 if (PyErr_Occurred()) SWIG_fail;
24125 }
24126 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboard, 1);
24127 return resultobj;
24128 fail:
24129 return NULL;
24130}
24131
24132
24133static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24134 PyObject *resultobj;
24135 wxClipboard *arg1 = (wxClipboard *) 0 ;
24136 PyObject * obj0 = 0 ;
24137 char *kwnames[] = {
24138 (char *) "self", NULL
24139 };
24140
24141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
24142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24143 {
24144 PyThreadState* __tstate = wxPyBeginAllowThreads();
24145 delete arg1;
24146
24147 wxPyEndAllowThreads(__tstate);
24148 if (PyErr_Occurred()) SWIG_fail;
24149 }
24150 Py_INCREF(Py_None); resultobj = Py_None;
24151 return resultobj;
24152 fail:
24153 return NULL;
24154}
24155
24156
24157static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
24158 PyObject *resultobj;
24159 wxClipboard *arg1 = (wxClipboard *) 0 ;
24160 bool result;
24161 PyObject * obj0 = 0 ;
24162 char *kwnames[] = {
24163 (char *) "self", NULL
24164 };
24165
24166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
24167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24168 {
24169 PyThreadState* __tstate = wxPyBeginAllowThreads();
24170 result = (bool)(arg1)->Open();
24171
24172 wxPyEndAllowThreads(__tstate);
24173 if (PyErr_Occurred()) SWIG_fail;
24174 }
24175 resultobj = PyInt_FromLong((long)result);
24176 return resultobj;
24177 fail:
24178 return NULL;
24179}
24180
24181
24182static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
24183 PyObject *resultobj;
24184 wxClipboard *arg1 = (wxClipboard *) 0 ;
24185 PyObject * obj0 = 0 ;
24186 char *kwnames[] = {
24187 (char *) "self", NULL
24188 };
24189
24190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
24191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24192 {
24193 PyThreadState* __tstate = wxPyBeginAllowThreads();
24194 (arg1)->Close();
24195
24196 wxPyEndAllowThreads(__tstate);
24197 if (PyErr_Occurred()) SWIG_fail;
24198 }
24199 Py_INCREF(Py_None); resultobj = Py_None;
24200 return resultobj;
24201 fail:
24202 return NULL;
24203}
24204
24205
24206static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
24207 PyObject *resultobj;
24208 wxClipboard *arg1 = (wxClipboard *) 0 ;
24209 bool result;
24210 PyObject * obj0 = 0 ;
24211 char *kwnames[] = {
24212 (char *) "self", NULL
24213 };
24214
24215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
24216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24217 {
24218 PyThreadState* __tstate = wxPyBeginAllowThreads();
24219 result = (bool)((wxClipboard const *)arg1)->IsOpened();
24220
24221 wxPyEndAllowThreads(__tstate);
24222 if (PyErr_Occurred()) SWIG_fail;
24223 }
24224 resultobj = PyInt_FromLong((long)result);
24225 return resultobj;
24226 fail:
24227 return NULL;
24228}
24229
24230
24231static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
24232 PyObject *resultobj;
24233 wxClipboard *arg1 = (wxClipboard *) 0 ;
24234 wxDataObject *arg2 = (wxDataObject *) 0 ;
24235 bool result;
24236 PyObject * obj0 = 0 ;
24237 PyObject * obj1 = 0 ;
24238 char *kwnames[] = {
24239 (char *) "self",(char *) "data", NULL
24240 };
24241
24242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
24243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24244 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24245 {
24246 PyThreadState* __tstate = wxPyBeginAllowThreads();
24247 result = (bool)(arg1)->AddData(arg2);
24248
24249 wxPyEndAllowThreads(__tstate);
24250 if (PyErr_Occurred()) SWIG_fail;
24251 }
24252 resultobj = PyInt_FromLong((long)result);
24253 return resultobj;
24254 fail:
24255 return NULL;
24256}
24257
24258
24259static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24260 PyObject *resultobj;
24261 wxClipboard *arg1 = (wxClipboard *) 0 ;
24262 wxDataObject *arg2 = (wxDataObject *) 0 ;
24263 bool result;
24264 PyObject * obj0 = 0 ;
24265 PyObject * obj1 = 0 ;
24266 char *kwnames[] = {
24267 (char *) "self",(char *) "data", NULL
24268 };
24269
24270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
24271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24272 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24273 {
24274 PyThreadState* __tstate = wxPyBeginAllowThreads();
24275 result = (bool)(arg1)->SetData(arg2);
24276
24277 wxPyEndAllowThreads(__tstate);
24278 if (PyErr_Occurred()) SWIG_fail;
24279 }
24280 resultobj = PyInt_FromLong((long)result);
24281 return resultobj;
24282 fail:
24283 return NULL;
24284}
24285
24286
24287static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24288 PyObject *resultobj;
24289 wxClipboard *arg1 = (wxClipboard *) 0 ;
24290 wxDataFormat *arg2 = 0 ;
24291 bool result;
24292 PyObject * obj0 = 0 ;
24293 PyObject * obj1 = 0 ;
24294 char *kwnames[] = {
24295 (char *) "self",(char *) "format", NULL
24296 };
24297
24298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
24299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24300 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24301 if (arg2 == NULL) {
24302 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24303 }
24304 {
24305 PyThreadState* __tstate = wxPyBeginAllowThreads();
24306 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
24307
24308 wxPyEndAllowThreads(__tstate);
24309 if (PyErr_Occurred()) SWIG_fail;
24310 }
24311 resultobj = PyInt_FromLong((long)result);
24312 return resultobj;
24313 fail:
24314 return NULL;
24315}
24316
24317
24318static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24319 PyObject *resultobj;
24320 wxClipboard *arg1 = (wxClipboard *) 0 ;
24321 wxDataObject *arg2 = 0 ;
24322 bool result;
24323 PyObject * obj0 = 0 ;
24324 PyObject * obj1 = 0 ;
24325 char *kwnames[] = {
24326 (char *) "self",(char *) "data", NULL
24327 };
24328
24329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
24330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24331 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24332 if (arg2 == NULL) {
24333 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24334 }
24335 {
24336 PyThreadState* __tstate = wxPyBeginAllowThreads();
24337 result = (bool)(arg1)->GetData(*arg2);
24338
24339 wxPyEndAllowThreads(__tstate);
24340 if (PyErr_Occurred()) SWIG_fail;
24341 }
24342 resultobj = PyInt_FromLong((long)result);
24343 return resultobj;
24344 fail:
24345 return NULL;
24346}
24347
24348
24349static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
24350 PyObject *resultobj;
24351 wxClipboard *arg1 = (wxClipboard *) 0 ;
24352 PyObject * obj0 = 0 ;
24353 char *kwnames[] = {
24354 (char *) "self", NULL
24355 };
24356
24357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
24358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24359 {
24360 PyThreadState* __tstate = wxPyBeginAllowThreads();
24361 (arg1)->Clear();
24362
24363 wxPyEndAllowThreads(__tstate);
24364 if (PyErr_Occurred()) SWIG_fail;
24365 }
24366 Py_INCREF(Py_None); resultobj = Py_None;
24367 return resultobj;
24368 fail:
24369 return NULL;
24370}
24371
24372
24373static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
24374 PyObject *resultobj;
24375 wxClipboard *arg1 = (wxClipboard *) 0 ;
24376 bool result;
24377 PyObject * obj0 = 0 ;
24378 char *kwnames[] = {
24379 (char *) "self", NULL
24380 };
24381
24382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
24383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24384 {
24385 PyThreadState* __tstate = wxPyBeginAllowThreads();
24386 result = (bool)(arg1)->Flush();
24387
24388 wxPyEndAllowThreads(__tstate);
24389 if (PyErr_Occurred()) SWIG_fail;
24390 }
24391 resultobj = PyInt_FromLong((long)result);
24392 return resultobj;
24393 fail:
24394 return NULL;
24395}
24396
24397
24398static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
24399 PyObject *resultobj;
24400 wxClipboard *arg1 = (wxClipboard *) 0 ;
e811c8ce 24401 bool arg2 = (bool) False ;
d14a1e28
RD
24402 PyObject * obj0 = 0 ;
24403 PyObject * obj1 = 0 ;
24404 char *kwnames[] = {
24405 (char *) "self",(char *) "primary", NULL
24406 };
24407
24408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
24409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24410 if (obj1) {
24411 arg2 = PyInt_AsLong(obj1) ? true : false;
24412 if (PyErr_Occurred()) SWIG_fail;
24413 }
24414 {
24415 PyThreadState* __tstate = wxPyBeginAllowThreads();
24416 (arg1)->UsePrimarySelection(arg2);
24417
24418 wxPyEndAllowThreads(__tstate);
24419 if (PyErr_Occurred()) SWIG_fail;
24420 }
24421 Py_INCREF(Py_None); resultobj = Py_None;
24422 return resultobj;
24423 fail:
24424 return NULL;
24425}
24426
24427
24428static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
24429 PyObject *obj;
24430 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24431 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
24432 Py_INCREF(obj);
24433 return Py_BuildValue((char *)"");
24434}
24435static int _wrap_TheClipboard_set(PyObject *_val) {
24436 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
24437 return 1;
24438}
24439
24440
24441static PyObject *_wrap_TheClipboard_get() {
24442 PyObject *pyobj;
24443
24444 pyobj = SWIG_NewPointerObj((void *) wxTheClipboard, SWIGTYPE_p_wxClipboard, 0);
24445 return pyobj;
24446}
24447
24448
24449static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24450 PyObject *resultobj;
24451 wxClipboard *arg1 = (wxClipboard *) NULL ;
24452 wxClipboardLocker *result;
24453 PyObject * obj0 = 0 ;
24454 char *kwnames[] = {
24455 (char *) "clipboard", NULL
24456 };
24457
24458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
24459 if (obj0) {
24460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24461 }
24462 {
24463 PyThreadState* __tstate = wxPyBeginAllowThreads();
24464 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
24465
24466 wxPyEndAllowThreads(__tstate);
24467 if (PyErr_Occurred()) SWIG_fail;
24468 }
24469 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboardLocker, 1);
24470 return resultobj;
24471 fail:
24472 return NULL;
24473}
24474
24475
24476static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24477 PyObject *resultobj;
24478 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24479 PyObject * obj0 = 0 ;
24480 char *kwnames[] = {
24481 (char *) "self", NULL
24482 };
24483
24484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
24485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24486 {
24487 PyThreadState* __tstate = wxPyBeginAllowThreads();
24488 delete arg1;
24489
24490 wxPyEndAllowThreads(__tstate);
24491 if (PyErr_Occurred()) SWIG_fail;
24492 }
24493 Py_INCREF(Py_None); resultobj = Py_None;
24494 return resultobj;
24495 fail:
24496 return NULL;
24497}
24498
24499
24500static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
24501 PyObject *resultobj;
24502 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24503 bool result;
24504 PyObject * obj0 = 0 ;
24505 char *kwnames[] = {
24506 (char *) "self", NULL
24507 };
24508
24509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
24510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24511 {
24512 PyThreadState* __tstate = wxPyBeginAllowThreads();
24513 result = (bool)wxClipboardLocker___nonzero__(arg1);
24514
24515 wxPyEndAllowThreads(__tstate);
24516 if (PyErr_Occurred()) SWIG_fail;
24517 }
24518 resultobj = PyInt_FromLong((long)result);
24519 return resultobj;
24520 fail:
24521 return NULL;
24522}
24523
24524
24525static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
24526 PyObject *obj;
24527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24528 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
24529 Py_INCREF(obj);
24530 return Py_BuildValue((char *)"");
24531}
24532static PyMethodDef SwigMethods[] = {
24533 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
24534 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
24535 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
24537 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
24538 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
24539 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
24540 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
24541 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
24542 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
24543 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
24545 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
24546 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
24547 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
24548 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
24549 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
24550 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
24551 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
24552 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
24554 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
24556 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
24557 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
24558 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
24559 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
24560 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
24561 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
24563 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
24564 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
24565 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
24566 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
24567 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
24568 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
24569 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
24570 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
24571 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
24572 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
24574 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
24575 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
24576 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
24578 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
24579 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
24580 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
24581 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
24582 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
24583 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
24584 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
24586 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
24587 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
24588 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
24589 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24591 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24593 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24594 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
24595 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
24596 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
24597 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24598 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
24601 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
24602 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24604 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
24606 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
24608 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
24614 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
d14a1e28 24618 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
322913ce 24619 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28 24620 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
322913ce 24621 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24622 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
24630 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
24635 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
24638 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
24641 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
24647 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
24661 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
24667 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
24673 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
24676 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
7722248d 24680 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24681 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24684 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
cc6dd355 24687 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24688 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
24689 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
24692 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
24693 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
24696 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
24723 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
24725 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
24727 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
24729 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
24736 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
24742 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
cc6dd355 24754 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
d14a1e28
RD
24755 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
24760 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
24763 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
24780 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
24788 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
24834 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
24862 { (char *)"new_Wave", (PyCFunction) _wrap_new_Wave, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"new_WaveData", (PyCFunction) _wrap_new_WaveData, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"delete_Wave", (PyCFunction) _wrap_delete_Wave, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"Wave_IsOk", (PyCFunction) _wrap_Wave_IsOk, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"Wave_Play", (PyCFunction) _wrap_Wave_Play, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"Wave_swigregister", Wave_swigregister, METH_VARARGS },
24868 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
24884 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
24900 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
24914 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24915 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
1e0c8722 24921 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24922 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
24923 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
24966 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
24970 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
24973 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
24976 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
25068 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
25069 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
25070 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
25071 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
25072 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
25073 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
25074 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
25075 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
25076 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
25077 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
25088 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
25099 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
25105 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
25115 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
25125 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
25126 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
25127 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
25128 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
25129 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
25130 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
25131 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
25133 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
25134 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
25137 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
25143 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
25144 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
25147 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
25148 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
25149 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
25150 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
25151 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
25152 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
25153 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
25154 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
25155 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
25156 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
25159 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
25161 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
25163 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
25165 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
25167 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
25169 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
25170 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
25171 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
25172 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
25174 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
25175 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
25176 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
25177 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
25178 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
25180 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
25181 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
25182 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
25183 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
25184 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
25185 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
25186 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
25187 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
25188 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
25189 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
25190 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
25192 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
25193 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
25194 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
25195 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25196 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
25197 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
25198 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
25199 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
25200 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
25201 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
25202 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
25203 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
25204 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
25205 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
25206 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25207 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
25208 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
25209 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25210 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25211 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
25212 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
25213 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25214 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
25215 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
25216 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
25217 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
25218 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
25220 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
25221 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
25222 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
25223 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
25224 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
25225 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
25226 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
25227 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
25228 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
25229 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
25230 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
25231 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
25232 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25233 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
25234 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
25235 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
25237 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
25238 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
25239 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
196addbf 25240 { (char *)"new_PyDropTarget", (PyCFunction) _wrap_new_PyDropTarget, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
25241 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25242 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
25243 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25244 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
25245 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25246 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25247 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25248 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25249 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
25250 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
25251 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
25252 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25253 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25254 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25255 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25256 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25257 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25258 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
25259 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
25260 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25261 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25262 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25263 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25264 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25265 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25266 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
25267 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
25268 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
25269 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
25270 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
25271 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
25272 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
25273 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
25274 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
25275 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
25276 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
25277 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
25278 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
25279 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
25280 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25281 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25282 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
25283 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
25284 { NULL, NULL }
25285};
25286
25287
25288/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25289
25290static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25291 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25292}
25293static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25294 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25295}
25296static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25297 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25298}
25299static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25300 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25301}
25302static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25303 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25304}
25305static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25306 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25307}
25308static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
25309 return (void *)((wxEvent *) ((wxTimerEvent *) x));
25310}
25311static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25312 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25313}
25314static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25315 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25316}
25317static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25318 return (void *)((wxEvent *) ((wxPyEvent *) x));
25319}
25320static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25321 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25322}
25323static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
25324 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
25325}
25326static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25327 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25328}
25329static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25330 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25331}
25332static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25333 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25334}
25335static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25336 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25337}
25338static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25339 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25340}
25341static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25342 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25343}
25344static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25345 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25346}
25347static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25348 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25349}
25350static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25351 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25352}
25353static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25354 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25355}
25356static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25357 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25358}
25359static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25360 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25361}
25362static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25363 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25364}
25365static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25366 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25367}
25368static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25369 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25370}
25371static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25372 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25373}
25374static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25375 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25376}
25377static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25378 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25379}
25380static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
25381 return (void *)((wxEvent *) ((wxProcessEvent *) x));
25382}
25383static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25384 return (void *)((wxEvent *) ((wxShowEvent *) x));
25385}
25386static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25387 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25388}
25389static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25390 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25391}
25392static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25393 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25394}
25395static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25396 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25397}
25398static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25399 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25400}
25401static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25402 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25403}
25404static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
25405 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
25406}
25407static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
25408 return (void *)((wxConfigBase *) ((wxConfig *) x));
25409}
25410static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
25411 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25412}
25413static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
25414 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
25415}
25416static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
25417 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
25418}
25419static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
25420 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25421}
25422static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
25423 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
25424}
25425static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
25426 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
25427}
25428static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
25429 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
25430}
25431static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
25432 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25433}
25434static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
25435 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25436}
25437static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
25438 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
25439}
25440static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
25441 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
25442}
25443static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
25444 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
25445}
25446static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
25447 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25448}
25449static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
25450 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
25451}
25452static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
25453 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25454}
25455static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25456 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
25457}
25458static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25459 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
25460}
25461static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25462 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25463}
25464static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25465 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25466}
25467static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
25468 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
25469}
25470static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
25471 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
25472}
25473static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
25474 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25475}
25476static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25477 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25478}
25479static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25480 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25481}
25482static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25483 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25484}
25485static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25486 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25487}
25488static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
25489 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
25490}
25491static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25492 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25493}
25494static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25495 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25496}
25497static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25498 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25499}
25500static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25501 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25502}
25503static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
25504 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
25505}
25506static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
25507 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
25508}
25509static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25510 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25511}
25512static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25513 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25514}
25515static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25516 return (void *)((wxObject *) ((wxSizerItem *) x));
25517}
25518static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25519 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25520}
25521static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25522 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25523}
25524static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25525 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25526}
25527static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25528 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25529}
25530static void *_p_wxSizerTo_p_wxObject(void *x) {
25531 return (void *)((wxObject *) ((wxSizer *) x));
25532}
25533static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25534 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25535}
25536static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
25537 return (void *)((wxObject *) ((wxFileHistory *) x));
25538}
25539static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25540 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25541}
25542static void *_p_wxEventTo_p_wxObject(void *x) {
25543 return (void *)((wxObject *) ((wxEvent *) x));
25544}
25545static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25546 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25547}
25548static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25549 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25550}
25551static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25552 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25553}
25554static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25555 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25556}
25557static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25558 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25559}
25560static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25561 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25562}
25563static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25564 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25565}
25566static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25567 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25568}
25569static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25570 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25571}
25572static void *_p_wxControlTo_p_wxObject(void *x) {
25573 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25574}
25575static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25576 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25577}
25578static void *_p_wxTimerEventTo_p_wxObject(void *x) {
25579 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
25580}
25581static void *_p_wxFSFileTo_p_wxObject(void *x) {
25582 return (void *)((wxObject *) ((wxFSFile *) x));
25583}
25584static void *_p_wxClipboardTo_p_wxObject(void *x) {
25585 return (void *)((wxObject *) ((wxClipboard *) x));
25586}
25587static void *_p_wxPySizerTo_p_wxObject(void *x) {
25588 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25589}
25590static void *_p_wxPyEventTo_p_wxObject(void *x) {
25591 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25592}
25593static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25594 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25595}
25596static void *_p_wxShowEventTo_p_wxObject(void *x) {
25597 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25598}
25599static void *_p_wxToolTipTo_p_wxObject(void *x) {
25600 return (void *)((wxObject *) ((wxToolTip *) x));
25601}
25602static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25603 return (void *)((wxObject *) ((wxMenuItem *) x));
25604}
25605static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25606 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25607}
25608static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25609 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25610}
25611static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25612 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25613}
25614static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25615 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25616}
25617static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25618 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25619}
25620static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25621 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25622}
25623static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25624 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25625}
25626static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25627 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25628}
25629static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25630 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25631}
25632static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25633 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25634}
25635static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25636 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25637}
25638static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25639 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25640}
25641static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25642 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25643}
25644static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25645 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25646}
25647static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25648 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25649}
25650static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25651 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25652}
25653static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25654 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25655}
25656static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25657 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25658}
25659static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25660 return (void *)((wxObject *) ((wxImageHandler *) x));
25661}
25662static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25663 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25664}
25665static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25666 return (void *)((wxObject *) ((wxEvtHandler *) x));
25667}
1e0c8722
RD
25668static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25669 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25670}
d14a1e28
RD
25671static void *_p_wxImageTo_p_wxObject(void *x) {
25672 return (void *)((wxObject *) ((wxImage *) x));
25673}
25674static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25675 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25676}
25677static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
25678 return (void *)((wxObject *) ((wxSystemOptions *) x));
25679}
25680static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
25681 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
25682}
25683static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25684 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25685}
25686static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25687 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25688}
25689static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25690 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25691}
25692static void *_p_wxWindowTo_p_wxObject(void *x) {
25693 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25694}
25695static void *_p_wxMenuTo_p_wxObject(void *x) {
25696 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25697}
25698static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25699 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25700}
25701static void *_p_wxPyProcessTo_p_wxObject(void *x) {
25702 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
25703}
25704static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25705 return (void *)((wxObject *) ((wxFileSystem *) x));
25706}
25707static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25708 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25709}
25710static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25711 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25712}
25713static void *_p_wxPyAppTo_p_wxObject(void *x) {
25714 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25715}
25716static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25717 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25718}
25719static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25720 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25721}
25722static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25723 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25724}
25725static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
25726 return (void *)((wxObject *) ((wxBusyInfo *) x));
25727}
25728static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25729 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25730}
25731static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25732 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25733}
25734static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25735 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25736}
25737static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25738 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25739}
25740static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25741 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25742}
25743static void *_p_wxProcessEventTo_p_wxObject(void *x) {
25744 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
25745}
25746static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25747 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25748}
25749static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25750 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25751}
25752static void *_p_wxValidatorTo_p_wxObject(void *x) {
25753 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25754}
25755static void *_p_wxPyTimerTo_p_wxObject(void *x) {
25756 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
25757}
25758static void *_p_wxLogStderrTo_p_wxLog(void *x) {
25759 return (void *)((wxLog *) ((wxLogStderr *) x));
25760}
25761static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
25762 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
25763}
25764static void *_p_wxLogWindowTo_p_wxLog(void *x) {
25765 return (void *)((wxLog *) ((wxLogWindow *) x));
25766}
25767static void *_p_wxLogChainTo_p_wxLog(void *x) {
25768 return (void *)((wxLog *) ((wxLogChain *) x));
25769}
25770static void *_p_wxLogGuiTo_p_wxLog(void *x) {
25771 return (void *)((wxLog *) ((wxLogGui *) x));
25772}
25773static void *_p_wxPyLogTo_p_wxLog(void *x) {
25774 return (void *)((wxLog *) ((wxPyLog *) x));
25775}
25776static void *_p_wxControlTo_p_wxWindow(void *x) {
25777 return (void *)((wxWindow *) ((wxControl *) x));
25778}
25779static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25780 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25781}
25782static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25783 return (void *)((wxWindow *) ((wxMenuBar *) x));
25784}
25785static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
25786 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
25787}
25788static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
25789 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
25790}
25791static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
25792static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
25793static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
25794static 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}};
25795static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
25796static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
25797static 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}};
25798static 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}};
25799static swig_type_info _swigt__p_wxWave[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
25800static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
25801static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
25802static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
25803static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
25804static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
25805static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
25806static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
25807static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
25808static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
25809static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
25810static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
25811static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
25812static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
25813static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
25814static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
25815static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
25816static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
25817static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
25818static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
25819static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
25820static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject},{0}};
25821static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject},{0}};
25822static 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}};
25823static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
25824static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
25825static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
25826static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
25827static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
25828static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
25829static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
25830static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
25831static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
25832static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite},{0}};
25833static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
25834static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
25835static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
25836static 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}};
25837static 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}};
25838static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
25839static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
25840static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
25841static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
25842static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
25843static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
25844static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
25845static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
25846static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider},{0}};
25847static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
25848static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
25849static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
25850static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
25851static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
1e0c8722 25852static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject},{0}};
d14a1e28
RD
25853static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
25854static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
25855static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
25856static 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}};
25857static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
25858static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
25859static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
25860static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
25861static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
25862static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
25863static 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}};
25864static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
25865static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
25866static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
25867static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
25868static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
25869static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
25870static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
25871static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
25872static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
25873
25874static swig_type_info *swig_types_initial[] = {
25875_swigt__p_wxLogChain,
25876_swigt__p_wxMutexGuiLocker,
25877_swigt__p_wxFileHistory,
25878_swigt__p_wxLog,
25879_swigt__p_wxDateTime__TimeZone,
25880_swigt__p_wxMenu,
25881_swigt__p_wxEvent,
25882_swigt__p_wxConfigBase,
25883_swigt__p_wxWave,
25884_swigt__p_wxFileType,
25885_swigt__p_wxLogGui,
25886_swigt__p_wxFont,
25887_swigt__p_wxDataFormat,
25888_swigt__p_wxTimerEvent,
25889_swigt__p_wxCaret,
25890_swigt__p_int,
25891_swigt__p_wxSize,
25892_swigt__p_wxClipboard,
25893_swigt__p_wxStopWatch,
25894_swigt__p_wxDC,
25895_swigt__p_wxClipboardLocker,
25896_swigt__p_wxIcon,
25897_swigt__p_wxLogStderr,
25898_swigt__p_wxLogTextCtrl,
25899_swigt__p_wxTextCtrl,
25900_swigt__p_wxBusyCursor,
25901_swigt__p_wxFileDataObject,
25902_swigt__p_wxPyBitmapDataObject,
25903_swigt__p_wxPyTextDataObject,
25904_swigt__p_wxBitmapDataObject,
25905_swigt__p_wxTextDataObject,
25906_swigt__p_wxDataObject,
25907_swigt__p_wxCustomDataObject,
25908_swigt__p_wxURLDataObject,
25909_swigt__p_wxMetafileDataObject,
25910_swigt__p_wxTimerRunner,
25911_swigt__p_wxLogWindow,
25912_swigt__p_wxTimeSpan,
25913_swigt__p_wxArrayString,
25914_swigt__p_wxWindowDisabler,
25915_swigt__p_wxToolTip,
25916_swigt__p_wxDataObjectComposite,
25917_swigt__p_wxFileConfig,
25918_swigt__p_wxSystemSettings,
25919_swigt__p_wxPyDataObjectSimple,
25920_swigt__p_wxDataObjectSimple,
25921_swigt__p_wxEvtHandler,
25922_swigt__p_wxRect,
25923_swigt__p_wxSingleInstanceChecker,
25924_swigt__p_wxFileTypeInfo,
25925_swigt__p_wxFrame,
25926_swigt__p_wxTimer,
25927_swigt__p_wxMimeTypesManager,
25928_swigt__p_wxPyArtProvider,
25929_swigt__p_wxPyTipProvider,
25930_swigt__p_wxTipProvider,
25931_swigt__p_wxJoystick,
25932_swigt__p_wxSystemOptions,
25933_swigt__p_wxPoint,
25934_swigt__p_wxJoystickEvent,
25935_swigt__p_wxCursor,
25936_swigt__p_wxObject,
25937_swigt__p_wxOutputStream,
25938_swigt__p_wxDateTime,
25939_swigt__p_wxPyDropSource,
25940_swigt__p_wxWindow,
25941_swigt__p_wxString,
25942_swigt__p_wxPyProcess,
25943_swigt__p_wxBitmap,
25944_swigt__p_wxConfig,
25945_swigt__p_wxChar,
25946_swigt__p_wxBusyInfo,
25947_swigt__p_wxPyDropTarget,
25948_swigt__p_wxPyTextDropTarget,
25949_swigt__p_wxPyFileDropTarget,
25950_swigt__p_wxProcessEvent,
25951_swigt__p_wxPyLog,
25952_swigt__p_wxLogNull,
25953_swigt__p_wxColour,
25954_swigt__p_wxConfigPathChanger,
25955_swigt__p_wxPyTimer,
25956_swigt__p_wxDateSpan,
259570
25958};
25959
25960
25961/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25962
25963static swig_const_info swig_const_table[] = {
25964{ SWIG_PY_INT, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT, 0, 0, 0},
25965{ SWIG_PY_INT, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT, 0, 0, 0},
25966{ SWIG_PY_INT, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT, 0, 0, 0},
25967{ SWIG_PY_INT, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT, 0, 0, 0},
25968{ SWIG_PY_INT, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT, 0, 0, 0},
25969{ SWIG_PY_INT, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE, 0, 0, 0},
25970{ SWIG_PY_INT, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT, 0, 0, 0},
25971{ SWIG_PY_INT, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT, 0, 0, 0},
25972{ SWIG_PY_INT, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT, 0, 0, 0},
25973{ SWIG_PY_INT, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR, 0, 0, 0},
25974{ SWIG_PY_INT, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND, 0, 0, 0},
25975{ SWIG_PY_INT, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP, 0, 0, 0},
25976{ SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION, 0, 0, 0},
25977{ SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION, 0, 0, 0},
25978{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU, 0, 0, 0},
25979{ SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW, 0, 0, 0},
25980{ SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME, 0, 0, 0},
25981{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT, 0, 0, 0},
25982{ SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT, 0, 0, 0},
25983{ SWIG_PY_INT, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT, 0, 0, 0},
25984{ SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER, 0, 0, 0},
25985{ SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER, 0, 0, 0},
25986{ SWIG_PY_INT, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE, 0, 0, 0},
25987{ SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT, 0, 0, 0},
25988{ SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT, 0, 0, 0},
25989{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE, 0, 0, 0},
25990{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE, 0, 0, 0},
25991{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW, 0, 0, 0},
25992{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW, 0, 0, 0},
25993{ SWIG_PY_INT, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT, 0, 0, 0},
25994{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT, 0, 0, 0},
25995{ SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT, 0, 0, 0},
25996{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT, 0, 0, 0},
25997{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT, 0, 0, 0},
25998{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT, 0, 0, 0},
25999{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT, 0, 0, 0},
26000{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW, 0, 0, 0},
26001{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT, 0, 0, 0},
26002{ SWIG_PY_INT, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT, 0, 0, 0},
26003{ SWIG_PY_INT, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK, 0, 0, 0},
26004{ SWIG_PY_INT, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX, 0, 0, 0},
26005{ SWIG_PY_INT, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT, 0, 0, 0},
26006{ SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION, 0, 0, 0},
26007{ SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION, 0, 0, 0},
26008{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT, 0, 0, 0},
26009{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR, 0, 0, 0},
26010{ SWIG_PY_INT, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX, 0, 0, 0},
26011{ SWIG_PY_INT, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS, 0, 0, 0},
26012{ SWIG_PY_INT, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X, 0, 0, 0},
26013{ SWIG_PY_INT, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y, 0, 0, 0},
26014{ SWIG_PY_INT, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X, 0, 0, 0},
26015{ SWIG_PY_INT, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y, 0, 0, 0},
26016{ SWIG_PY_INT, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X, 0, 0, 0},
26017{ SWIG_PY_INT, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y, 0, 0, 0},
26018{ SWIG_PY_INT, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X, 0, 0, 0},
26019{ SWIG_PY_INT, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y, 0, 0, 0},
26020{ SWIG_PY_INT, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X, 0, 0, 0},
26021{ SWIG_PY_INT, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y, 0, 0, 0},
26022{ SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X, 0, 0, 0},
26023{ SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y, 0, 0, 0},
26024{ SWIG_PY_INT, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X, 0, 0, 0},
26025{ SWIG_PY_INT, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X, 0, 0, 0},
26026{ SWIG_PY_INT, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y, 0, 0, 0},
26027{ SWIG_PY_INT, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X, 0, 0, 0},
26028{ SWIG_PY_INT, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y, 0, 0, 0},
26029{ SWIG_PY_INT, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X, 0, 0, 0},
26030{ SWIG_PY_INT, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y, 0, 0, 0},
26031{ SWIG_PY_INT, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X, 0, 0, 0},
26032{ SWIG_PY_INT, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y, 0, 0, 0},
26033{ SWIG_PY_INT, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X, 0, 0, 0},
26034{ SWIG_PY_INT, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y, 0, 0, 0},
26035{ SWIG_PY_INT, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X, 0, 0, 0},
26036{ SWIG_PY_INT, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y, 0, 0, 0},
26037{ SWIG_PY_INT, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y, 0, 0, 0},
26038{ SWIG_PY_INT, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X, 0, 0, 0},
26039{ SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X, 0, 0, 0},
26040{ SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y, 0, 0, 0},
26041{ SWIG_PY_INT, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y, 0, 0, 0},
26042{ SWIG_PY_INT, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y, 0, 0, 0},
26043{ SWIG_PY_INT, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y, 0, 0, 0},
26044{ SWIG_PY_INT, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT, 0, 0, 0},
26045{ SWIG_PY_INT, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT, 0, 0, 0},
26046{ SWIG_PY_INT, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS, 0, 0, 0},
26047{ SWIG_PY_INT, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS, 0, 0, 0},
26048{ SWIG_PY_INT, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS, 0, 0, 0},
26049{ SWIG_PY_INT, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME, 0, 0, 0},
26050{ SWIG_PY_INT, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE, 0, 0, 0},
26051{ SWIG_PY_INT, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY, 0, 0, 0},
26052{ SWIG_PY_INT, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA, 0, 0, 0},
26053{ SWIG_PY_INT, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL, 0, 0, 0},
26054{ SWIG_PY_INT, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP, 0, 0, 0},
26055{ SWIG_PY_INT, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF, 0, 0, 0},
26056{ SWIG_PY_INT, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT, 0, 0, 0},
26057{ SWIG_PY_INT, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS, 0, 0, 0},
26058{ SWIG_PY_INT, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT, 0, 0, 0},
26059{ SWIG_PY_INT, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER, 0, 0, 0},
26060{ SWIG_PY_INT, (char *)"LOG_FatalError", (long) wxLOG_FatalError, 0, 0, 0},
26061{ SWIG_PY_INT, (char *)"LOG_Error", (long) wxLOG_Error, 0, 0, 0},
26062{ SWIG_PY_INT, (char *)"LOG_Warning", (long) wxLOG_Warning, 0, 0, 0},
26063{ SWIG_PY_INT, (char *)"LOG_Message", (long) wxLOG_Message, 0, 0, 0},
26064{ SWIG_PY_INT, (char *)"LOG_Status", (long) wxLOG_Status, 0, 0, 0},
26065{ SWIG_PY_INT, (char *)"LOG_Info", (long) wxLOG_Info, 0, 0, 0},
26066{ SWIG_PY_INT, (char *)"LOG_Debug", (long) wxLOG_Debug, 0, 0, 0},
26067{ SWIG_PY_INT, (char *)"LOG_Trace", (long) wxLOG_Trace, 0, 0, 0},
26068{ SWIG_PY_INT, (char *)"LOG_Progress", (long) wxLOG_Progress, 0, 0, 0},
26069{ SWIG_PY_INT, (char *)"LOG_User", (long) wxLOG_User, 0, 0, 0},
26070{ SWIG_PY_INT, (char *)"LOG_Max", (long) wxLOG_Max, 0, 0, 0},
26071{ SWIG_PY_STRING, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
26072{ SWIG_PY_STRING, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
26073{ SWIG_PY_STRING, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
26074{ SWIG_PY_STRING, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
26075{ SWIG_PY_STRING, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
26076{ SWIG_PY_INT, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
26077{ SWIG_PY_INT, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
26078{ SWIG_PY_INT, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
26079{ SWIG_PY_INT, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
26080{ SWIG_PY_INT, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
26081{ SWIG_PY_INT, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT, 0, 0, 0},
26082{ SWIG_PY_INT, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT, 0, 0, 0},
26083{ SWIG_PY_INT, (char *)"KILL_OK", (long) wxKILL_OK, 0, 0, 0},
26084{ SWIG_PY_INT, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL, 0, 0, 0},
26085{ SWIG_PY_INT, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED, 0, 0, 0},
26086{ SWIG_PY_INT, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS, 0, 0, 0},
26087{ SWIG_PY_INT, (char *)"KILL_ERROR", (long) wxKILL_ERROR, 0, 0, 0},
26088{ SWIG_PY_INT, (char *)"SIGNONE", (long) wxSIGNONE, 0, 0, 0},
26089{ SWIG_PY_INT, (char *)"SIGHUP", (long) wxSIGHUP, 0, 0, 0},
26090{ SWIG_PY_INT, (char *)"SIGINT", (long) wxSIGINT, 0, 0, 0},
26091{ SWIG_PY_INT, (char *)"SIGQUIT", (long) wxSIGQUIT, 0, 0, 0},
26092{ SWIG_PY_INT, (char *)"SIGILL", (long) wxSIGILL, 0, 0, 0},
26093{ SWIG_PY_INT, (char *)"SIGTRAP", (long) wxSIGTRAP, 0, 0, 0},
26094{ SWIG_PY_INT, (char *)"SIGABRT", (long) wxSIGABRT, 0, 0, 0},
26095{ SWIG_PY_INT, (char *)"SIGIOT", (long) wxSIGIOT, 0, 0, 0},
26096{ SWIG_PY_INT, (char *)"SIGEMT", (long) wxSIGEMT, 0, 0, 0},
26097{ SWIG_PY_INT, (char *)"SIGFPE", (long) wxSIGFPE, 0, 0, 0},
26098{ SWIG_PY_INT, (char *)"SIGKILL", (long) wxSIGKILL, 0, 0, 0},
26099{ SWIG_PY_INT, (char *)"SIGBUS", (long) wxSIGBUS, 0, 0, 0},
26100{ SWIG_PY_INT, (char *)"SIGSEGV", (long) wxSIGSEGV, 0, 0, 0},
26101{ SWIG_PY_INT, (char *)"SIGSYS", (long) wxSIGSYS, 0, 0, 0},
26102{ SWIG_PY_INT, (char *)"SIGPIPE", (long) wxSIGPIPE, 0, 0, 0},
26103{ SWIG_PY_INT, (char *)"SIGALRM", (long) wxSIGALRM, 0, 0, 0},
26104{ SWIG_PY_INT, (char *)"SIGTERM", (long) wxSIGTERM, 0, 0, 0},
26105{ SWIG_PY_INT, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS, 0, 0, 0},
26106{ SWIG_PY_INT, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC, 0, 0, 0},
26107{ SWIG_PY_INT, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC, 0, 0, 0},
26108{ SWIG_PY_INT, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE, 0, 0, 0},
26109{ SWIG_PY_INT, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER, 0, 0, 0},
26110{ SWIG_PY_INT, (char *)"JOYSTICK1", (long) wxJOYSTICK1, 0, 0, 0},
26111{ SWIG_PY_INT, (char *)"JOYSTICK2", (long) wxJOYSTICK2, 0, 0, 0},
26112{ SWIG_PY_INT, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY, 0, 0, 0},
26113{ SWIG_PY_INT, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1, 0, 0, 0},
26114{ SWIG_PY_INT, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2, 0, 0, 0},
26115{ SWIG_PY_INT, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3, 0, 0, 0},
26116{ SWIG_PY_INT, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4, 0, 0, 0},
26117{ SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN, 0, 0, 0},
26118{ SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP, 0, 0, 0},
26119{ SWIG_PY_INT, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE, 0, 0, 0},
26120{ SWIG_PY_INT, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE, 0, 0, 0},
26121{ SWIG_PY_INT, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD, 0, 0, 0},
26122{ SWIG_PY_INT, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE, 0, 0, 0},
26123{ SWIG_PY_INT, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE, 0, 0, 0},
26124{ SWIG_PY_INT, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME, 0, 0, 0},
26125{ SWIG_PY_INT, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL, 0, 0, 0},
26126{ SWIG_PY_INT, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE, 0, 0, 0},
26127{ SWIG_PY_INT, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE, 0, 0, 0},
26128{ SWIG_PY_INT, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH, 0, 0, 0},
26129{ SWIG_PY_INT, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS, 0, 0, 0},
26130{ SWIG_PY_INT, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown, 0, 0, 0},
26131{ SWIG_PY_INT, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String, 0, 0, 0},
26132{ SWIG_PY_INT, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean, 0, 0, 0},
26133{ SWIG_PY_INT, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer, 0, 0, 0},
26134{ SWIG_PY_INT, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float, 0, 0, 0},
26135{ SWIG_PY_INT, (char *)"DateTime_Local", (long) wxDateTime::Local, 0, 0, 0},
26136{ SWIG_PY_INT, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12, 0, 0, 0},
26137{ SWIG_PY_INT, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11, 0, 0, 0},
26138{ SWIG_PY_INT, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10, 0, 0, 0},
26139{ SWIG_PY_INT, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9, 0, 0, 0},
26140{ SWIG_PY_INT, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8, 0, 0, 0},
26141{ SWIG_PY_INT, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7, 0, 0, 0},
26142{ SWIG_PY_INT, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6, 0, 0, 0},
26143{ SWIG_PY_INT, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5, 0, 0, 0},
26144{ SWIG_PY_INT, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4, 0, 0, 0},
26145{ SWIG_PY_INT, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3, 0, 0, 0},
26146{ SWIG_PY_INT, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2, 0, 0, 0},
26147{ SWIG_PY_INT, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1, 0, 0, 0},
26148{ SWIG_PY_INT, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0, 0, 0, 0},
26149{ SWIG_PY_INT, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1, 0, 0, 0},
26150{ SWIG_PY_INT, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2, 0, 0, 0},
26151{ SWIG_PY_INT, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3, 0, 0, 0},
26152{ SWIG_PY_INT, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4, 0, 0, 0},
26153{ SWIG_PY_INT, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5, 0, 0, 0},
26154{ SWIG_PY_INT, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6, 0, 0, 0},
26155{ SWIG_PY_INT, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7, 0, 0, 0},
26156{ SWIG_PY_INT, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8, 0, 0, 0},
26157{ SWIG_PY_INT, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9, 0, 0, 0},
26158{ SWIG_PY_INT, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10, 0, 0, 0},
26159{ SWIG_PY_INT, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11, 0, 0, 0},
26160{ SWIG_PY_INT, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12, 0, 0, 0},
26161{ SWIG_PY_INT, (char *)"DateTime_WET", (long) wxDateTime::WET, 0, 0, 0},
26162{ SWIG_PY_INT, (char *)"DateTime_WEST", (long) wxDateTime::WEST, 0, 0, 0},
26163{ SWIG_PY_INT, (char *)"DateTime_CET", (long) wxDateTime::CET, 0, 0, 0},
26164{ SWIG_PY_INT, (char *)"DateTime_CEST", (long) wxDateTime::CEST, 0, 0, 0},
26165{ SWIG_PY_INT, (char *)"DateTime_EET", (long) wxDateTime::EET, 0, 0, 0},
26166{ SWIG_PY_INT, (char *)"DateTime_EEST", (long) wxDateTime::EEST, 0, 0, 0},
26167{ SWIG_PY_INT, (char *)"DateTime_MSK", (long) wxDateTime::MSK, 0, 0, 0},
26168{ SWIG_PY_INT, (char *)"DateTime_MSD", (long) wxDateTime::MSD, 0, 0, 0},
26169{ SWIG_PY_INT, (char *)"DateTime_AST", (long) wxDateTime::AST, 0, 0, 0},
26170{ SWIG_PY_INT, (char *)"DateTime_ADT", (long) wxDateTime::ADT, 0, 0, 0},
26171{ SWIG_PY_INT, (char *)"DateTime_EST", (long) wxDateTime::EST, 0, 0, 0},
26172{ SWIG_PY_INT, (char *)"DateTime_EDT", (long) wxDateTime::EDT, 0, 0, 0},
26173{ SWIG_PY_INT, (char *)"DateTime_CST", (long) wxDateTime::CST, 0, 0, 0},
26174{ SWIG_PY_INT, (char *)"DateTime_CDT", (long) wxDateTime::CDT, 0, 0, 0},
26175{ SWIG_PY_INT, (char *)"DateTime_MST", (long) wxDateTime::MST, 0, 0, 0},
26176{ SWIG_PY_INT, (char *)"DateTime_MDT", (long) wxDateTime::MDT, 0, 0, 0},
26177{ SWIG_PY_INT, (char *)"DateTime_PST", (long) wxDateTime::PST, 0, 0, 0},
26178{ SWIG_PY_INT, (char *)"DateTime_PDT", (long) wxDateTime::PDT, 0, 0, 0},
26179{ SWIG_PY_INT, (char *)"DateTime_HST", (long) wxDateTime::HST, 0, 0, 0},
26180{ SWIG_PY_INT, (char *)"DateTime_AKST", (long) wxDateTime::AKST, 0, 0, 0},
26181{ SWIG_PY_INT, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT, 0, 0, 0},
26182{ SWIG_PY_INT, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST, 0, 0, 0},
26183{ SWIG_PY_INT, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST, 0, 0, 0},
26184{ SWIG_PY_INT, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST, 0, 0, 0},
26185{ SWIG_PY_INT, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST, 0, 0, 0},
26186{ SWIG_PY_INT, (char *)"DateTime_UTC", (long) wxDateTime::UTC, 0, 0, 0},
26187{ SWIG_PY_INT, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian, 0, 0, 0},
26188{ SWIG_PY_INT, (char *)"DateTime_Julian", (long) wxDateTime::Julian, 0, 0, 0},
26189{ SWIG_PY_INT, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown, 0, 0, 0},
26190{ SWIG_PY_INT, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard, 0, 0, 0},
26191{ SWIG_PY_INT, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska, 0, 0, 0},
26192{ SWIG_PY_INT, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania, 0, 0, 0},
26193{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria, 0, 0, 0},
26194{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen, 0, 0, 0},
26195{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg, 0, 0, 0},
26196{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol, 0, 0, 0},
26197{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia, 0, 0, 0},
26198{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria, 0, 0, 0},
26199{ SWIG_PY_INT, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium, 0, 0, 0},
26200{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria, 0, 0, 0},
26201{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1, 0, 0, 0},
26202{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2, 0, 0, 0},
26203{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3, 0, 0, 0},
26204{ SWIG_PY_INT, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada, 0, 0, 0},
26205{ SWIG_PY_INT, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China, 0, 0, 0},
26206{ SWIG_PY_INT, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1, 0, 0, 0},
26207{ SWIG_PY_INT, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2, 0, 0, 0},
26208{ SWIG_PY_INT, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia, 0, 0, 0},
26209{ SWIG_PY_INT, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark, 0, 0, 0},
26210{ SWIG_PY_INT, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt, 0, 0, 0},
26211{ SWIG_PY_INT, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia, 0, 0, 0},
26212{ SWIG_PY_INT, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland, 0, 0, 0},
26213{ SWIG_PY_INT, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France, 0, 0, 0},
26214{ SWIG_PY_INT, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace, 0, 0, 0},
26215{ SWIG_PY_INT, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine, 0, 0, 0},
26216{ SWIG_PY_INT, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg, 0, 0, 0},
26217{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany, 0, 0, 0},
26218{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic, 0, 0, 0},
26219{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia, 0, 0, 0},
26220{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant, 0, 0, 0},
26221{ SWIG_PY_INT, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain, 0, 0, 0},
26222{ SWIG_PY_INT, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece, 0, 0, 0},
26223{ SWIG_PY_INT, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary, 0, 0, 0},
26224{ SWIG_PY_INT, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland, 0, 0, 0},
26225{ SWIG_PY_INT, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy, 0, 0, 0},
26226{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan, 0, 0, 0},
26227{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1, 0, 0, 0},
26228{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2, 0, 0, 0},
26229{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3, 0, 0, 0},
26230{ SWIG_PY_INT, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia, 0, 0, 0},
26231{ SWIG_PY_INT, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania, 0, 0, 0},
26232{ SWIG_PY_INT, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg, 0, 0, 0},
26233{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands, 0, 0, 0},
26234{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen, 0, 0, 0},
26235{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland, 0, 0, 0},
26236{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht, 0, 0, 0},
26237{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland, 0, 0, 0},
26238{ SWIG_PY_INT, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway, 0, 0, 0},
26239{ SWIG_PY_INT, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland, 0, 0, 0},
26240{ SWIG_PY_INT, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal, 0, 0, 0},
26241{ SWIG_PY_INT, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania, 0, 0, 0},
26242{ SWIG_PY_INT, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia, 0, 0, 0},
26243{ SWIG_PY_INT, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland, 0, 0, 0},
26244{ SWIG_PY_INT, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain, 0, 0, 0},
26245{ SWIG_PY_INT, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden, 0, 0, 0},
26246{ SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland, 0, 0, 0},
26247{ SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic, 0, 0, 0},
26248{ SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant, 0, 0, 0},
26249{ SWIG_PY_INT, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey, 0, 0, 0},
26250{ SWIG_PY_INT, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA, 0, 0, 0},
26251{ SWIG_PY_INT, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales, 0, 0, 0},
26252{ SWIG_PY_INT, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia, 0, 0, 0},
26253{ SWIG_PY_INT, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown, 0, 0, 0},
26254{ SWIG_PY_INT, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default, 0, 0, 0},
26255{ SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start, 0, 0, 0},
26256{ SWIG_PY_INT, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC, 0, 0, 0},
26257{ SWIG_PY_INT, (char *)"DateTime_France", (long) wxDateTime::France, 0, 0, 0},
26258{ SWIG_PY_INT, (char *)"DateTime_Germany", (long) wxDateTime::Germany, 0, 0, 0},
26259{ SWIG_PY_INT, (char *)"DateTime_UK", (long) wxDateTime::UK, 0, 0, 0},
26260{ SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End, 0, 0, 0},
26261{ SWIG_PY_INT, (char *)"DateTime_Russia", (long) wxDateTime::Russia, 0, 0, 0},
26262{ SWIG_PY_INT, (char *)"DateTime_USA", (long) wxDateTime::USA, 0, 0, 0},
26263{ SWIG_PY_INT, (char *)"DateTime_Jan", (long) wxDateTime::Jan, 0, 0, 0},
26264{ SWIG_PY_INT, (char *)"DateTime_Feb", (long) wxDateTime::Feb, 0, 0, 0},
26265{ SWIG_PY_INT, (char *)"DateTime_Mar", (long) wxDateTime::Mar, 0, 0, 0},
26266{ SWIG_PY_INT, (char *)"DateTime_Apr", (long) wxDateTime::Apr, 0, 0, 0},
26267{ SWIG_PY_INT, (char *)"DateTime_May", (long) wxDateTime::May, 0, 0, 0},
26268{ SWIG_PY_INT, (char *)"DateTime_Jun", (long) wxDateTime::Jun, 0, 0, 0},
26269{ SWIG_PY_INT, (char *)"DateTime_Jul", (long) wxDateTime::Jul, 0, 0, 0},
26270{ SWIG_PY_INT, (char *)"DateTime_Aug", (long) wxDateTime::Aug, 0, 0, 0},
26271{ SWIG_PY_INT, (char *)"DateTime_Sep", (long) wxDateTime::Sep, 0, 0, 0},
26272{ SWIG_PY_INT, (char *)"DateTime_Oct", (long) wxDateTime::Oct, 0, 0, 0},
26273{ SWIG_PY_INT, (char *)"DateTime_Nov", (long) wxDateTime::Nov, 0, 0, 0},
26274{ SWIG_PY_INT, (char *)"DateTime_Dec", (long) wxDateTime::Dec, 0, 0, 0},
26275{ SWIG_PY_INT, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month, 0, 0, 0},
26276{ SWIG_PY_INT, (char *)"DateTime_Sun", (long) wxDateTime::Sun, 0, 0, 0},
26277{ SWIG_PY_INT, (char *)"DateTime_Mon", (long) wxDateTime::Mon, 0, 0, 0},
26278{ SWIG_PY_INT, (char *)"DateTime_Tue", (long) wxDateTime::Tue, 0, 0, 0},
26279{ SWIG_PY_INT, (char *)"DateTime_Wed", (long) wxDateTime::Wed, 0, 0, 0},
26280{ SWIG_PY_INT, (char *)"DateTime_Thu", (long) wxDateTime::Thu, 0, 0, 0},
26281{ SWIG_PY_INT, (char *)"DateTime_Fri", (long) wxDateTime::Fri, 0, 0, 0},
26282{ SWIG_PY_INT, (char *)"DateTime_Sat", (long) wxDateTime::Sat, 0, 0, 0},
26283{ SWIG_PY_INT, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay, 0, 0, 0},
26284{ SWIG_PY_INT, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year, 0, 0, 0},
26285{ SWIG_PY_INT, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full, 0, 0, 0},
26286{ SWIG_PY_INT, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr, 0, 0, 0},
26287{ SWIG_PY_INT, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First, 0, 0, 0},
26288{ SWIG_PY_INT, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First, 0, 0, 0},
26289{ SWIG_PY_INT, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First, 0, 0, 0},
26290{ SWIG_PY_INT, (char *)"DF_INVALID", (long) wxDF_INVALID, 0, 0, 0},
26291{ SWIG_PY_INT, (char *)"DF_TEXT", (long) wxDF_TEXT, 0, 0, 0},
26292{ SWIG_PY_INT, (char *)"DF_BITMAP", (long) wxDF_BITMAP, 0, 0, 0},
26293{ SWIG_PY_INT, (char *)"DF_METAFILE", (long) wxDF_METAFILE, 0, 0, 0},
26294{ SWIG_PY_INT, (char *)"DF_SYLK", (long) wxDF_SYLK, 0, 0, 0},
26295{ SWIG_PY_INT, (char *)"DF_DIF", (long) wxDF_DIF, 0, 0, 0},
26296{ SWIG_PY_INT, (char *)"DF_TIFF", (long) wxDF_TIFF, 0, 0, 0},
26297{ SWIG_PY_INT, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT, 0, 0, 0},
26298{ SWIG_PY_INT, (char *)"DF_DIB", (long) wxDF_DIB, 0, 0, 0},
26299{ SWIG_PY_INT, (char *)"DF_PALETTE", (long) wxDF_PALETTE, 0, 0, 0},
26300{ SWIG_PY_INT, (char *)"DF_PENDATA", (long) wxDF_PENDATA, 0, 0, 0},
26301{ SWIG_PY_INT, (char *)"DF_RIFF", (long) wxDF_RIFF, 0, 0, 0},
26302{ SWIG_PY_INT, (char *)"DF_WAVE", (long) wxDF_WAVE, 0, 0, 0},
26303{ SWIG_PY_INT, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT, 0, 0, 0},
26304{ SWIG_PY_INT, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE, 0, 0, 0},
26305{ SWIG_PY_INT, (char *)"DF_FILENAME", (long) wxDF_FILENAME, 0, 0, 0},
26306{ SWIG_PY_INT, (char *)"DF_LOCALE", (long) wxDF_LOCALE, 0, 0, 0},
26307{ SWIG_PY_INT, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE, 0, 0, 0},
26308{ SWIG_PY_INT, (char *)"DF_HTML", (long) wxDF_HTML, 0, 0, 0},
26309{ SWIG_PY_INT, (char *)"DF_MAX", (long) wxDF_MAX, 0, 0, 0},
26310{ SWIG_PY_INT, (char *)"DataObject_Get", (long) wxDataObject::Get, 0, 0, 0},
26311{ SWIG_PY_INT, (char *)"DataObject_Set", (long) wxDataObject::Set, 0, 0, 0},
26312{ SWIG_PY_INT, (char *)"DataObject_Both", (long) wxDataObject::Both, 0, 0, 0},
26313{ SWIG_PY_INT, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly, 0, 0, 0},
26314{ SWIG_PY_INT, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove, 0, 0, 0},
26315{ SWIG_PY_INT, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove, 0, 0, 0},
26316{ SWIG_PY_INT, (char *)"DragError", (long) wxDragError, 0, 0, 0},
26317{ SWIG_PY_INT, (char *)"DragNone", (long) wxDragNone, 0, 0, 0},
26318{ SWIG_PY_INT, (char *)"DragCopy", (long) wxDragCopy, 0, 0, 0},
26319{ SWIG_PY_INT, (char *)"DragMove", (long) wxDragMove, 0, 0, 0},
26320{ SWIG_PY_INT, (char *)"DragLink", (long) wxDragLink, 0, 0, 0},
26321{ SWIG_PY_INT, (char *)"DragCancel", (long) wxDragCancel, 0, 0, 0},
26322{0}};
26323
26324#ifdef __cplusplus
26325}
26326#endif
26327
26328#ifdef __cplusplus
26329extern "C"
26330#endif
26331SWIGEXPORT(void) SWIG_init(void) {
26332 static PyObject *SWIG_globals = 0;
26333 static int typeinit = 0;
26334 PyObject *m, *d;
26335 int i;
26336 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26337 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26338 d = PyModule_GetDict(m);
26339
26340 if (!typeinit) {
26341 for (i = 0; swig_types_initial[i]; i++) {
26342 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26343 }
26344 typeinit = 1;
26345 }
26346 SWIG_InstallConstants(d,swig_const_table);
26347
b2dc1044
RD
26348 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26349 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26350 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26351 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
d14a1e28
RD
26352 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
26353 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
26354
26355 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26356
26357 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
26358 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
26359 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
26360 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
d14a1e28
RD
26361 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
26362 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
26363 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
26364 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
26365 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
26366 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
26367 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
26368 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
26369 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
26370 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
26371 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
26372 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
26373 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
26374 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
26375 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
26376 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
26377 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
26378 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
26379 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
26380 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
26381 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
26382 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
26383 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
26384 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
26385 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
26386 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
26387 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
26388 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
26389 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
26390 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
26391 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
26392 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
26393 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
26394 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
26395 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
26396 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
26397 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
26398 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
26399 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
26400
26401 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26402
b2dc1044
RD
26403 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
26404 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
d14a1e28
RD
26405 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
26406
26407 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26408 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26409 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26410 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26411
26412 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
26413}
26414