]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/misc_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / 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
9fd4be55
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
0f774bef
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
0f774bef
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
0f774bef 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
0f774bef 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 {
0f774bef 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
0f774bef 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 *);
0f774bef
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
120
121
122#ifdef __cplusplus
123}
423f194a 124
d14a1e28
RD
125#endif
126
0f774bef 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
0f774bef
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
423f194a 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_wxMetafile swig_types[2]
215#define SWIGTYPE_p_wxFileHistory swig_types[3]
216#define SWIGTYPE_p_wxLog swig_types[4]
217#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
218#define SWIGTYPE_p_wxMenu swig_types[6]
219#define SWIGTYPE_p_wxEvent swig_types[7]
220#define SWIGTYPE_p_wxConfigBase swig_types[8]
221#define SWIGTYPE_p_wxWave swig_types[9]
222#define SWIGTYPE_p_wxFileType swig_types[10]
223#define SWIGTYPE_p_wxLogGui swig_types[11]
224#define SWIGTYPE_p_wxFont swig_types[12]
225#define SWIGTYPE_p_wxDataFormat swig_types[13]
226#define SWIGTYPE_p_wxTimerEvent swig_types[14]
227#define SWIGTYPE_p_wxCaret swig_types[15]
228#define SWIGTYPE_p_int swig_types[16]
229#define SWIGTYPE_p_wxSize swig_types[17]
230#define SWIGTYPE_p_wxClipboard swig_types[18]
231#define SWIGTYPE_p_wxStopWatch swig_types[19]
232#define SWIGTYPE_p_wxDC swig_types[20]
233#define SWIGTYPE_p_wxClipboardLocker swig_types[21]
234#define SWIGTYPE_p_wxIcon swig_types[22]
235#define SWIGTYPE_p_wxLogStderr swig_types[23]
236#define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
237#define SWIGTYPE_p_wxTextCtrl swig_types[25]
238#define SWIGTYPE_p_wxBusyCursor swig_types[26]
239#define SWIGTYPE_p_wxFileDataObject swig_types[27]
240#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[28]
241#define SWIGTYPE_p_wxPyTextDataObject swig_types[29]
242#define SWIGTYPE_p_wxBitmapDataObject swig_types[30]
243#define SWIGTYPE_p_wxTextDataObject swig_types[31]
244#define SWIGTYPE_p_wxDataObject swig_types[32]
245#define SWIGTYPE_p_wxCustomDataObject swig_types[33]
246#define SWIGTYPE_p_wxURLDataObject swig_types[34]
247#define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
248#define SWIGTYPE_p_wxTimerRunner swig_types[36]
249#define SWIGTYPE_p_wxLogWindow swig_types[37]
250#define SWIGTYPE_p_wxTimeSpan swig_types[38]
251#define SWIGTYPE_p_wxArrayString swig_types[39]
252#define SWIGTYPE_p_wxWindowDisabler swig_types[40]
253#define SWIGTYPE_p_wxToolTip swig_types[41]
254#define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
255#define SWIGTYPE_p_wxFileConfig swig_types[43]
256#define SWIGTYPE_p_wxSystemSettings swig_types[44]
257#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[45]
258#define SWIGTYPE_p_wxDataObjectSimple swig_types[46]
259#define SWIGTYPE_p_wxEvtHandler swig_types[47]
260#define SWIGTYPE_p_wxRect swig_types[48]
261#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[49]
262#define SWIGTYPE_p_wxFileTypeInfo swig_types[50]
263#define SWIGTYPE_p_wxFrame swig_types[51]
264#define SWIGTYPE_p_wxTimer swig_types[52]
265#define SWIGTYPE_p_wxMimeTypesManager swig_types[53]
266#define SWIGTYPE_p_wxPyArtProvider swig_types[54]
267#define SWIGTYPE_p_wxPyTipProvider swig_types[55]
268#define SWIGTYPE_p_wxTipProvider swig_types[56]
269#define SWIGTYPE_p_wxJoystick swig_types[57]
270#define SWIGTYPE_p_wxSystemOptions swig_types[58]
271#define SWIGTYPE_p_wxPoint swig_types[59]
272#define SWIGTYPE_p_wxJoystickEvent swig_types[60]
273#define SWIGTYPE_p_wxCursor swig_types[61]
274#define SWIGTYPE_p_wxObject swig_types[62]
275#define SWIGTYPE_p_wxOutputStream swig_types[63]
276#define SWIGTYPE_p_wxDateTime swig_types[64]
277#define SWIGTYPE_p_wxPyDropSource swig_types[65]
278#define SWIGTYPE_p_wxWindow swig_types[66]
279#define SWIGTYPE_p_wxString swig_types[67]
280#define SWIGTYPE_p_wxPyProcess swig_types[68]
281#define SWIGTYPE_p_wxBitmap swig_types[69]
282#define SWIGTYPE_p_wxConfig swig_types[70]
283#define SWIGTYPE_p_wxChar swig_types[71]
284#define SWIGTYPE_p_wxBusyInfo swig_types[72]
285#define SWIGTYPE_p_wxPyDropTarget swig_types[73]
286#define SWIGTYPE_p_wxPyTextDropTarget swig_types[74]
287#define SWIGTYPE_p_wxPyFileDropTarget swig_types[75]
288#define SWIGTYPE_p_wxProcessEvent swig_types[76]
289#define SWIGTYPE_p_wxPyLog swig_types[77]
290#define SWIGTYPE_p_wxLogNull swig_types[78]
291#define SWIGTYPE_p_wxColour swig_types[79]
292#define SWIGTYPE_p_wxConfigPathChanger swig_types[80]
293#define SWIGTYPE_p_wxPyTimer swig_types[81]
294#define SWIGTYPE_p_wxDateSpan swig_types[82]
295static swig_type_info *swig_types[84];
296
297/* -------- TYPES TABLE (END) -------- */
298
299
300/*-----------------------------------------------
301 @(target):= _misc.so
302 ------------------------------------------------*/
303#define SWIG_init init_misc
304
305#define SWIG_name "_misc"
306
307#include "wx/wxPython/wxPython.h"
308#include "wx/wxPython/pyclasses.h"
309#include "wx/wxPython/pyistream.h"
310
d14a1e28 311
cbd72d4f 312 static const wxString wxPyEmptyString(wxEmptyString);
d14a1e28
RD
313
314
cbd72d4f
RD
315 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
316 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
317 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
d14a1e28
RD
318
319static PyObject* t_output_helper(PyObject* target, PyObject* o) {
320 PyObject* o2;
321 PyObject* o3;
322
323 if (!target) {
324 target = o;
325 } else if (target == Py_None) {
326 Py_DECREF(Py_None);
327 target = o;
328 } else {
329 if (!PyTuple_Check(target)) {
330 o2 = target;
331 target = PyTuple_New(1);
332 PyTuple_SetItem(target, 0, o2);
333 }
334 o3 = PyTuple_New(1);
335 PyTuple_SetItem(o3, 0, o);
336
337 o2 = target;
338 target = PySequence_Concat(o2, o3);
339 Py_DECREF(o2);
340 Py_DECREF(o3);
341 }
342 return target;
343}
344
345
346 bool wxThread_IsMain() {
347#ifdef WXP_WITH_THREAD
348 return wxThread::IsMain();
349#else
423f194a 350 return True;
d14a1e28
RD
351#endif
352 }
353
354
355 int wxCaret_GetBlinkTime() {
356 return wxCaret::GetBlinkTime();
357 }
358
359 void wxCaret_SetBlinkTime(int milliseconds) {
360 wxCaret::SetBlinkTime(milliseconds);
361 }
362
363
364#include <wx/snglinst.h>
365
366
367#ifdef __WXMSW__
368#include <wx/msw/private.h>
369#include <wx/dynload.h>
370#endif
371
372
373
374void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
375{
376#ifdef __WXMSW__
377
378 switch (method)
379 {
380 case 1:
381 // This one only partially works. Appears to be an undocumented
382 // "standard" convention that not all widgets adhear to. For
383 // example, for some widgets backgrounds or non-client areas may
384 // not be painted.
385 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
386 break;
387
388 case 2:
389 // This one works much better, except for on XP. On Win2k nearly
390 // all widgets and their children are captured correctly[**]. On
391 // XP with Themes activated most native widgets draw only
392 // partially, if at all. Without themes it works just like on
393 // Win2k.
394 //
395 // ** For example the radio buttons in a wxRadioBox are not its
396 // children by default, but you can capture it via the panel
397 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
398 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
399 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
400 PRF_ERASEBKGND | PRF_OWNED );
401 break;
402
403 case 3:
404 // This one is only defined in the latest SDK and is only
405 // available on XP. MSDN says it is similar to sending WM_PRINT
406 // so I expect that it will work similar to the above. Since it
407 // is avaialble only on XP, it can't be compiled like this and
408 // will have to be loaded dynamically.
409 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
410
411 // fall through
412
413 case 4:
414 // Use PrintWindow if available, or fallback to WM_PRINT
415 // otherwise. Unfortunately using PrintWindow is even worse than
416 // WM_PRINT. For most native widgets nothing is drawn to the dc
417 // at all, with or without Themes.
418 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
423f194a 419 static bool s_triedToLoad = False;
d14a1e28
RD
420 static PrintWindow_t pfnPrintWindow = NULL;
421 if ( !s_triedToLoad )
422 {
423
423f194a 424 s_triedToLoad = True;
d14a1e28
RD
425 wxDynamicLibrary dllUser32(_T("user32.dll"));
426 if ( dllUser32.IsLoaded() )
427 {
428 wxLogNull nolog; // Don't report errors here
429 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
430 }
431 }
432 if (pfnPrintWindow)
433 {
434 printf("Using PrintWindow\n");
435 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
436 }
437 else
438 {
439 printf("Using WM_PRINT\n");
440 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
441 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
442 }
443 }
444#endif
445}
446
447
448
449#include <wx/tipdlg.h>
450
451
452class wxPyTipProvider : public wxTipProvider {
453public:
454 wxPyTipProvider(size_t currentTip)
455 : wxTipProvider(currentTip) {}
456
457 DEC_PYCALLBACK_STRING__pure(GetTip);
458 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
459 PYPRIVATE;
460};
461
462IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
463IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
464
465
466IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
467
468wxString Log_TimeStamp(){
469 wxString msg;
470 wxLog::TimeStamp(&msg);
471 return msg;
472 }
473void wxLog_Destroy(wxLog *self){ delete self; }
474
475// A wxLog class that can be derived from in wxPython
476class wxPyLog : public wxLog {
477public:
478 wxPyLog() : wxLog() {}
479
480 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
481 bool found;
482 wxPyBeginBlockThreads();
483 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
484 PyObject* s = wx2PyString(szString);
485 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
486 Py_DECREF(s);
487 }
488 wxPyEndBlockThreads();
489 if (! found)
490 wxLog::DoLog(level, szString, t);
491 }
492
493 virtual void DoLogString(const wxChar *szString, time_t t) {
494 bool found;
495 wxPyBeginBlockThreads();
496 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
497 PyObject* s = wx2PyString(szString);
498 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
499 Py_DECREF(s);
500 }
501 wxPyEndBlockThreads();
502 if (! found)
503 wxLog::DoLogString(szString, t);
504 }
505
506 PYPRIVATE;
507};
508
509
510
511
512IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
513
514
515#include <wx/joystick.h>
516
517
518#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
519// A C++ stub class for wxJoystick for platforms that don't have it.
520class wxJoystick : public wxObject {
521public:
522 wxJoystick(int joystick = wxJOYSTICK1) {
523 wxPyBeginBlockThreads();
cbd72d4f
RD
524 PyErr_SetString(PyExc_NotImplementedError,
525 "wxJoystick is not available on this platform.");
d14a1e28
RD
526 wxPyEndBlockThreads();
527 }
528 wxPoint GetPosition() { return wxPoint(-1,-1); }
529 int GetZPosition() { return -1; }
530 int GetButtonState() { return -1; }
531 int GetPOVPosition() { return -1; }
532 int GetPOVCTSPosition() { return -1; }
533 int GetRudderPosition() { return -1; }
534 int GetUPosition() { return -1; }
535 int GetVPosition() { return -1; }
536 int GetMovementThreshold() { return -1; }
537 void SetMovementThreshold(int threshold) {}
538
423f194a 539 bool IsOk(void) { return False; }
d14a1e28
RD
540 int GetNumberJoysticks() { return -1; }
541 int GetManufacturerId() { return -1; }
542 int GetProductId() { return -1; }
543 wxString GetProductName() { return ""; }
544 int GetXMin() { return -1; }
545 int GetYMin() { return -1; }
546 int GetZMin() { return -1; }
547 int GetXMax() { return -1; }
548 int GetYMax() { return -1; }
549 int GetZMax() { return -1; }
550 int GetNumberButtons() { return -1; }
551 int GetNumberAxes() { return -1; }
552 int GetMaxButtons() { return -1; }
553 int GetMaxAxes() { return -1; }
554 int GetPollingMin() { return -1; }
555 int GetPollingMax() { return -1; }
556 int GetRudderMin() { return -1; }
557 int GetRudderMax() { return -1; }
558 int GetUMin() { return -1; }
559 int GetUMax() { return -1; }
560 int GetVMin() { return -1; }
561 int GetVMax() { return -1; }
562
423f194a
RD
563 bool HasRudder() { return False; }
564 bool HasZ() { return False; }
565 bool HasU() { return False; }
566 bool HasV() { return False; }
567 bool HasPOV() { return False; }
568 bool HasPOV4Dir() { return False; }
569 bool HasPOVCTS() { return False; }
d14a1e28 570
423f194a
RD
571 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
572 bool ReleaseCapture() { return False; }
d14a1e28
RD
573};
574#endif
575
576
577#include <wx/wave.h>
578
579
580#if !wxUSE_WAVE
581// A C++ stub class for wxWave for platforms that don't have it.
582class wxWave : public wxObject
583{
584public:
423f194a 585 wxWave(const wxString& fileName, bool isResource = False) {
d14a1e28 586 wxPyBeginBlockThreads();
cbd72d4f
RD
587 PyErr_SetString(PyExc_NotImplementedError,
588 "wxWave is not available on this platform.");
d14a1e28
RD
589 wxPyEndBlockThreads();
590 }
591 wxWave(int size, const wxByte* data) {
592 wxPyBeginBlockThreads();
cbd72d4f
RD
593 PyErr_SetString(PyExc_NotImplementedError,
594 "wxWave is not available on this platform.");
d14a1e28
RD
595 wxPyEndBlockThreads();
596 }
597
598 ~wxWave() {}
599
423f194a
RD
600 bool IsOk() const { return False; }
601 bool Play(bool async = True, bool looped = False) const { return False; }
d14a1e28
RD
602};
603
604#endif
605
606wxWave *new_wxWave(wxString const &data){
607 return new wxWave(data.Len(), (wxByte*)data.c_str());
608 }
609
610#include <wx/mimetype.h>
611
612PyObject *wxFileType_GetMimeType(wxFileType *self){
613 wxString str;
614 if (self->GetMimeType(&str))
615 return wx2PyString(str);
616 else
617 RETURN_NONE();
618 }
619PyObject *wxFileType_GetMimeTypes(wxFileType *self){
620 wxArrayString arr;
621 if (self->GetMimeTypes(arr))
622 return wxArrayString2PyList_helper(arr);
623 else
624 RETURN_NONE();
625 }
626PyObject *wxFileType_GetExtensions(wxFileType *self){
627 wxArrayString arr;
628 if (self->GetExtensions(arr))
629 return wxArrayString2PyList_helper(arr);
630 else
631 RETURN_NONE();
632 }
633wxIcon *wxFileType_GetIcon(wxFileType *self){
634 wxIconLocation loc;
635 if (self->GetIcon(&loc))
636 return new wxIcon(loc);
637 else
638 return NULL;
639 }
640PyObject *wxFileType_GetIconInfo(wxFileType *self){
641 wxIconLocation loc;
642 if (self->GetIcon(&loc)) {
643 wxString iconFile = loc.GetFileName();
644 int iconIndex = -1;
645
646
647
648 // Make a tuple and put the values in it
649 wxPyBeginBlockThreads();
650 PyObject* tuple = PyTuple_New(3);
651 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
423f194a 652 wxT("wxIcon"), True));
d14a1e28
RD
653 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
654 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
655 wxPyEndBlockThreads();
656 return tuple;
657 }
658 else
659 RETURN_NONE();
660 }
661PyObject *wxFileType_GetDescription(wxFileType *self){
662 wxString str;
663 if (self->GetDescription(&str))
664 return wx2PyString(str);
665 else
666 RETURN_NONE();
667 }
668PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
669 wxString str;
670 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
671 return wx2PyString(str);
672 else
673 RETURN_NONE();
674 }
675PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
676 wxString str;
677 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
678 return wx2PyString(str);
679 else
680 RETURN_NONE();
681 }
682PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
683 wxArrayString verbs;
684 wxArrayString commands;
685 if (self->GetAllCommands(&verbs, &commands,
686 wxFileType::MessageParameters(filename, mimetype))) {
687 wxPyBeginBlockThreads();
688 PyObject* tuple = PyTuple_New(2);
689 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
690 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
691 wxPyEndBlockThreads();
692 return tuple;
693 }
694 else
695 RETURN_NONE();
696 }
697wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
698 return wxFileType::ExpandCommand(command,
699 wxFileType::MessageParameters(filename, mimetype));
700 }
701PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
702 wxArrayString arr;
703 self->EnumAllFileTypes(arr);
704 return wxArrayString2PyList_helper(arr);
705 }
706
707#include <wx/artprov.h>
708
709 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
710 static const wxString wxPyART_MENU(wxART_MENU);
711 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
712 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
713 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
714 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
715 static const wxString wxPyART_OTHER(wxART_OTHER);
716 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
717 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
718 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
719 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
720 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
721 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
722 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
723 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
724 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
725 static const wxString wxPyART_GO_UP(wxART_GO_UP);
726 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
727 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
728 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
729 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
730 static const wxString wxPyART_PRINT(wxART_PRINT);
731 static const wxString wxPyART_HELP(wxART_HELP);
732 static const wxString wxPyART_TIP(wxART_TIP);
733 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
734 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
735 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
736 static const wxString wxPyART_FOLDER(wxART_FOLDER);
737 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
738 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
739 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
740 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
741 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
742 static const wxString wxPyART_ERROR(wxART_ERROR);
743 static const wxString wxPyART_QUESTION(wxART_QUESTION);
744 static const wxString wxPyART_WARNING(wxART_WARNING);
745 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
746 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
747 // Python aware wxArtProvider
748class wxPyArtProvider : public wxArtProvider {
749public:
750
751 virtual wxBitmap CreateBitmap(const wxArtID& id,
752 const wxArtClient& client,
753 const wxSize& size) {
754 wxBitmap rval = wxNullBitmap;
755 wxPyBeginBlockThreads();
756 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
757 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
758 PyObject* ro;
759 wxBitmap* ptr;
760 PyObject* s1, *s2;
761 s1 = wx2PyString(id);
762 s2 = wx2PyString(client);
763 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
764 Py_DECREF(so);
765 Py_DECREF(s1);
766 Py_DECREF(s2);
767 if (ro) {
768 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
769 rval = *ptr;
770 Py_DECREF(ro);
771 }
772 }
773 wxPyEndBlockThreads();
774 return rval;
775 }
776
777 PYPRIVATE;
778};
779
41f1cec7 780void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
d14a1e28
RD
781
782
783
784 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
785 PyObject* ret = PyTuple_New(3);
786 if (ret) {
787 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
788 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
789 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
790 }
791 return ret;
792 }
793
794PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
795 bool cont;
796 long index = 0;
797 wxString value;
798
799 cont = self->GetFirstGroup(value, index);
800 return __EnumerationHelper(cont, value, index);
801 }
802PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
803 bool cont;
804 wxString value;
805
806 cont = self->GetNextGroup(value, index);
807 return __EnumerationHelper(cont, value, index);
808 }
809PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
810 bool cont;
811 long index = 0;
812 wxString value;
813
814 cont = self->GetFirstEntry(value, index);
815 return __EnumerationHelper(cont, value, index);
816 }
817PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
818 bool cont;
819 wxString value;
820
821 cont = self->GetNextEntry(value, index);
822 return __EnumerationHelper(cont, value, index);
823 }
824long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
825 long rv;
826 self->Read(key, &rv, defaultVal);
827 return rv;
828 }
829double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
830 double rv;
831 self->Read(key, &rv, defaultVal);
832 return rv;
833 }
834bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
835 bool rv;
836 self->Read(key, &rv, defaultVal);
837 return rv;
838 }
839
840#include <wx/datetime.h>
841
d14a1e28 842
cbd72d4f
RD
843 static const wxString wxPyDateFormatStr(wxT(wxT("%c")));
844 static const wxString wxPyTimeSpanFormatStr(wxT(wxT("%H:%M:%S")));
d14a1e28
RD
845
846#define LOCAL_TZ wxDateTime::Local
847
848wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
849wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
850wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
851wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
852wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
853bool wxDateTime___lt__(wxDateTime *self,wxDateTime const &other){ return *self < other; }
854bool wxDateTime___le__(wxDateTime *self,wxDateTime const &other){ return *self <= other; }
855bool wxDateTime___gt__(wxDateTime *self,wxDateTime const &other){ return *self > other; }
856bool wxDateTime___ge__(wxDateTime *self,wxDateTime const &other){ return *self >= other; }
857bool wxDateTime___eq__(wxDateTime *self,wxDateTime const &other){ return *self == other; }
858bool wxDateTime___ne__(wxDateTime *self,wxDateTime const &other){ return *self != other; }
859int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
860 const wxChar* rv;
861 const wxChar* _date = date;
862 rv = self->ParseRfc822Date(_date);
863 if (rv == NULL) return -1;
864 return rv - _date;
865 }
866int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
867 const wxChar* rv;
868 const wxChar* _date = date;
869 rv = self->ParseFormat(_date, format, dateDef);
870 if (rv == NULL) return -1;
871 return rv - _date;
872 }
873int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
874 const wxChar* rv;
875 const wxChar* _datetime = datetime;
876 rv = self->ParseDateTime(_datetime);
877 if (rv == NULL) return -1;
878 return rv - _datetime;
879 }
880int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
881 const wxChar* rv;
882 const wxChar* _date = date;
883 rv = self->ParseDate(_date);
884 if (rv == NULL) return -1;
885 return rv - _date;
886 }
887int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
888 const wxChar* rv;
889 const wxChar* _time = time;
890 rv = self->ParseTime(_time);
891 if (rv == NULL) return -1;
892 return rv - _time;
893 }
894wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
895wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
896wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
897wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
898bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self < other; }
899bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const &other){ return *self <= other; }
900bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self > other; }
901bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const &other){ return *self >= other; }
902bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const &other){ return *self == other; }
903bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const &other){ return *self != other; }
904wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
905wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
906wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
907wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
908bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const &other){ return *self == other; }
909bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const &other){ return *self != other; }
910
911#include <wx/dataobj.h>
912
913 // Create a new class for wxPython to use
914class wxPyDataObjectSimple : public wxDataObjectSimple {
915public:
916 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
917 : wxDataObjectSimple(format) {}
918
919 DEC_PYCALLBACK_SIZET__const(GetDataSize);
920 bool GetDataHere(void *buf) const;
921 bool SetData(size_t len, const void *buf) const;
922 PYPRIVATE;
923};
924
925IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
926
927bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
928 // We need to get the data for this object and write it to buf. I think
929 // the best way to do this for wxPython is to have the Python method
930 // return either a string or None and then act appropriately with the
931 // C++ version.
932
423f194a 933 bool rval = False;
d14a1e28
RD
934 wxPyBeginBlockThreads();
935 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
936 PyObject* ro;
937 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
938 if (ro) {
939 rval = (ro != Py_None && PyString_Check(ro));
940 if (rval)
941 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
942 Py_DECREF(ro);
943 }
944 }
945 wxPyEndBlockThreads();
946 return rval;
947}
948
949bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
950 // For this one we simply need to make a string from buf and len
951 // and send it to the Python method.
423f194a 952 bool rval = False;
d14a1e28
RD
953 wxPyBeginBlockThreads();
954 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
955 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
956 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
957 Py_DECREF(data);
958 }
959 wxPyEndBlockThreads();
960 return rval;
961}
962
963 // Create a new class for wxPython to use
964class wxPyTextDataObject : public wxTextDataObject {
965public:
966 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
967 : wxTextDataObject(text) {}
968
969 DEC_PYCALLBACK_SIZET__const(GetTextLength);
970 DEC_PYCALLBACK_STRING__const(GetText);
971 DEC_PYCALLBACK__STRING(SetText);
972 PYPRIVATE;
973};
974
975IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
976IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
977IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
978
979
980 // Create a new class for wxPython to use
981class wxPyBitmapDataObject : public wxBitmapDataObject {
982public:
983 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
984 : wxBitmapDataObject(bitmap) {}
985
986 wxBitmap GetBitmap() const;
987 void SetBitmap(const wxBitmap& bitmap);
988 PYPRIVATE;
989};
990
991wxBitmap wxPyBitmapDataObject::GetBitmap() const {
992 wxBitmap* rval = &wxNullBitmap;
993 wxPyBeginBlockThreads();
994 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
995 PyObject* ro;
996 wxBitmap* ptr;
997 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
998 if (ro) {
999 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1000 rval = ptr;
1001 Py_DECREF(ro);
1002 }
1003 }
1004 wxPyEndBlockThreads();
1005 return *rval;
1006}
1007
1008void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1009 wxPyBeginBlockThreads();
1010 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
423f194a 1011 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
d14a1e28
RD
1012 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1013 Py_DECREF(bo);
1014 }
1015 wxPyEndBlockThreads();
1016}
1017
1018void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1019 if (PyString_Check(data)) {
1020 // for Python we just call SetData here since we always need it to make a copy.
1021 self->SetData(PyString_Size(data), PyString_AsString(data));
1022 }
1023 else {
1024 // raise a TypeError if not a string
1025 PyErr_SetString(PyExc_TypeError, "String expected.");
1026 }
1027 }
1028bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1029 if (PyString_Check(data)) {
1030 return self->SetData(PyString_Size(data), PyString_AsString(data));
1031 }
1032 else {
1033 // raise a TypeError if not a string
1034 PyErr_SetString(PyExc_TypeError, "String expected.");
423f194a 1035 return False;
d14a1e28
RD
1036 }
1037 }
1038PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1039 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1040 }
1041
1042#include <wx/metafile.h>
1043
1044
d14a1e28
RD
1045
1046
d14a1e28
RD
1047IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1048
1049
d14a1e28
RD
1050IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1051IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1052IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1053IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1054IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1055
1056
d14a1e28
RD
1057class wxPyTextDropTarget : public wxTextDropTarget {
1058public:
1059 wxPyTextDropTarget() {}
1060
1061 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1062
1063 DEC_PYCALLBACK__(OnLeave);
1064 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1065 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1066 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1067 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1068
1069 PYPRIVATE;
1070};
1071
1072IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1073IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1074IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1075IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1076IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1077IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1078
1079
1080
1081class wxPyFileDropTarget : public wxFileDropTarget {
1082public:
1083 wxPyFileDropTarget() {}
1084
1085 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1086
1087 DEC_PYCALLBACK__(OnLeave);
1088 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1089 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1090 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1091 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1092
1093 PYPRIVATE;
1094};
1095
1096bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1097 const wxArrayString& filenames) {
423f194a 1098 bool rval = False;
d14a1e28
RD
1099 wxPyBeginBlockThreads();
1100 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1101 PyObject* list = wxArrayString2PyList_helper(filenames);
1102 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1103 Py_DECREF(list);
1104 }
1105 wxPyEndBlockThreads();
1106 return rval;
1107}
1108
1109
1110
1111IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1112IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1113IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1114IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1115IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1116
1117
1118
1119
1120bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1121#ifdef __cplusplus
1122extern "C" {
1123#endif
1124static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1125 PyObject *resultobj;
1126 int arg1 ;
1127 wxColour result;
1128 char *kwnames[] = {
1129 (char *) "index", NULL
1130 };
1131
1132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetColour",kwnames,&arg1)) goto fail;
1133 {
1134 PyThreadState* __tstate = wxPyBeginAllowThreads();
1135 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1136
1137 wxPyEndAllowThreads(__tstate);
1138 if (PyErr_Occurred()) SWIG_fail;
1139 }
1140 {
1141 wxColour * resultptr;
1142 resultptr = new wxColour((wxColour &) result);
1143 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
1144 }
1145 return resultobj;
1146 fail:
1147 return NULL;
1148}
1149
1150
1151static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1152 PyObject *resultobj;
1153 int arg1 ;
1154 wxFont result;
1155 char *kwnames[] = {
1156 (char *) "index", NULL
1157 };
1158
1159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetFont",kwnames,&arg1)) goto fail;
1160 {
1161 PyThreadState* __tstate = wxPyBeginAllowThreads();
1162 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1163
1164 wxPyEndAllowThreads(__tstate);
1165 if (PyErr_Occurred()) SWIG_fail;
1166 }
1167 {
1168 wxFont * resultptr;
1169 resultptr = new wxFont((wxFont &) result);
1170 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
1171 }
1172 return resultobj;
1173 fail:
1174 return NULL;
1175}
1176
1177
1178static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1179 PyObject *resultobj;
1180 int arg1 ;
1181 int result;
1182 char *kwnames[] = {
1183 (char *) "index", NULL
1184 };
1185
1186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetMetric",kwnames,&arg1)) goto fail;
1187 {
1188 PyThreadState* __tstate = wxPyBeginAllowThreads();
1189 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1190
1191 wxPyEndAllowThreads(__tstate);
1192 if (PyErr_Occurred()) SWIG_fail;
1193 }
1194 resultobj = PyInt_FromLong((long)result);
1195 return resultobj;
1196 fail:
1197 return NULL;
1198}
1199
1200
1201static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1202 PyObject *resultobj;
1203 int arg1 ;
1204 bool result;
1205 char *kwnames[] = {
1206 (char *) "index", NULL
1207 };
1208
1209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_HasFeature",kwnames,&arg1)) goto fail;
1210 {
1211 PyThreadState* __tstate = wxPyBeginAllowThreads();
1212 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1213
1214 wxPyEndAllowThreads(__tstate);
1215 if (PyErr_Occurred()) SWIG_fail;
1216 }
1217 resultobj = PyInt_FromLong((long)result);
1218 return resultobj;
1219 fail:
1220 return NULL;
1221}
1222
1223
1224static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1225 PyObject *resultobj;
1226 int result;
1227 char *kwnames[] = {
1228 NULL
1229 };
1230
1231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1232 {
1233 PyThreadState* __tstate = wxPyBeginAllowThreads();
1234 result = (int)wxSystemSettings::GetScreenType();
1235
1236 wxPyEndAllowThreads(__tstate);
1237 if (PyErr_Occurred()) SWIG_fail;
1238 }
1239 resultobj = PyInt_FromLong((long)result);
1240 return resultobj;
1241 fail:
1242 return NULL;
1243}
1244
1245
1246static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1247 PyObject *resultobj;
1248 int arg1 ;
1249 char *kwnames[] = {
1250 (char *) "screen", NULL
1251 };
1252
1253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_SetScreenType",kwnames,&arg1)) goto fail;
1254 {
1255 PyThreadState* __tstate = wxPyBeginAllowThreads();
1256 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1257
1258 wxPyEndAllowThreads(__tstate);
1259 if (PyErr_Occurred()) SWIG_fail;
1260 }
1261 Py_INCREF(Py_None); resultobj = Py_None;
1262 return resultobj;
1263 fail:
1264 return NULL;
1265}
1266
1267
1268static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1269 PyObject *obj;
1270 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1271 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1272 Py_INCREF(obj);
1273 return Py_BuildValue((char *)"");
1274}
1275static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1276 PyObject *resultobj;
1277 wxSystemOptions *result;
1278 char *kwnames[] = {
1279 NULL
1280 };
1281
1282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1283 {
1284 PyThreadState* __tstate = wxPyBeginAllowThreads();
1285 result = (wxSystemOptions *)new wxSystemOptions();
1286
1287 wxPyEndAllowThreads(__tstate);
1288 if (PyErr_Occurred()) SWIG_fail;
1289 }
1290 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSystemOptions, 1);
1291 return resultobj;
1292 fail:
1293 return NULL;
1294}
1295
1296
1297static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1298 PyObject *resultobj;
1299 wxString *arg1 = 0 ;
1300 wxString *arg2 = 0 ;
423f194a
RD
1301 bool temp1 = False ;
1302 bool temp2 = False ;
d14a1e28
RD
1303 PyObject * obj0 = 0 ;
1304 PyObject * obj1 = 0 ;
1305 char *kwnames[] = {
1306 (char *) "name",(char *) "value", NULL
1307 };
1308
1309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1310 {
1311 arg1 = wxString_in_helper(obj0);
1312 if (arg1 == NULL) SWIG_fail;
423f194a 1313 temp1 = True;
d14a1e28
RD
1314 }
1315 {
1316 arg2 = wxString_in_helper(obj1);
1317 if (arg2 == NULL) SWIG_fail;
423f194a 1318 temp2 = True;
d14a1e28
RD
1319 }
1320 {
1321 PyThreadState* __tstate = wxPyBeginAllowThreads();
1322 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1323
1324 wxPyEndAllowThreads(__tstate);
1325 if (PyErr_Occurred()) SWIG_fail;
1326 }
1327 Py_INCREF(Py_None); resultobj = Py_None;
1328 {
1329 if (temp1)
1330 delete arg1;
1331 }
1332 {
1333 if (temp2)
1334 delete arg2;
1335 }
1336 return resultobj;
1337 fail:
1338 {
1339 if (temp1)
1340 delete arg1;
1341 }
1342 {
1343 if (temp2)
1344 delete arg2;
1345 }
1346 return NULL;
1347}
1348
1349
1350static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1351 PyObject *resultobj;
1352 wxString *arg1 = 0 ;
1353 int arg2 ;
423f194a 1354 bool temp1 = False ;
d14a1e28
RD
1355 PyObject * obj0 = 0 ;
1356 char *kwnames[] = {
1357 (char *) "name",(char *) "value", NULL
1358 };
1359
1360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SystemOptions_SetOptionInt",kwnames,&obj0,&arg2)) goto fail;
1361 {
1362 arg1 = wxString_in_helper(obj0);
1363 if (arg1 == NULL) SWIG_fail;
423f194a 1364 temp1 = True;
d14a1e28
RD
1365 }
1366 {
1367 PyThreadState* __tstate = wxPyBeginAllowThreads();
1368 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1369
1370 wxPyEndAllowThreads(__tstate);
1371 if (PyErr_Occurred()) SWIG_fail;
1372 }
1373 Py_INCREF(Py_None); resultobj = Py_None;
1374 {
1375 if (temp1)
1376 delete arg1;
1377 }
1378 return resultobj;
1379 fail:
1380 {
1381 if (temp1)
1382 delete arg1;
1383 }
1384 return NULL;
1385}
1386
1387
1388static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1389 PyObject *resultobj;
1390 wxString *arg1 = 0 ;
1391 wxString result;
423f194a 1392 bool temp1 = False ;
d14a1e28
RD
1393 PyObject * obj0 = 0 ;
1394 char *kwnames[] = {
1395 (char *) "name", NULL
1396 };
1397
1398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1399 {
1400 arg1 = wxString_in_helper(obj0);
1401 if (arg1 == NULL) SWIG_fail;
423f194a 1402 temp1 = True;
d14a1e28
RD
1403 }
1404 {
1405 PyThreadState* __tstate = wxPyBeginAllowThreads();
1406 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1407
1408 wxPyEndAllowThreads(__tstate);
1409 if (PyErr_Occurred()) SWIG_fail;
1410 }
1411 {
1412#if wxUSE_UNICODE
1413 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1414#else
1415 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1416#endif
1417 }
1418 {
1419 if (temp1)
1420 delete arg1;
1421 }
1422 return resultobj;
1423 fail:
1424 {
1425 if (temp1)
1426 delete arg1;
1427 }
1428 return NULL;
1429}
1430
1431
1432static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1433 PyObject *resultobj;
1434 wxString *arg1 = 0 ;
1435 int result;
423f194a 1436 bool temp1 = False ;
d14a1e28
RD
1437 PyObject * obj0 = 0 ;
1438 char *kwnames[] = {
1439 (char *) "name", NULL
1440 };
1441
1442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1443 {
1444 arg1 = wxString_in_helper(obj0);
1445 if (arg1 == NULL) SWIG_fail;
423f194a 1446 temp1 = True;
d14a1e28
RD
1447 }
1448 {
1449 PyThreadState* __tstate = wxPyBeginAllowThreads();
1450 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1451
1452 wxPyEndAllowThreads(__tstate);
1453 if (PyErr_Occurred()) SWIG_fail;
1454 }
1455 resultobj = PyInt_FromLong((long)result);
1456 {
1457 if (temp1)
1458 delete arg1;
1459 }
1460 return resultobj;
1461 fail:
1462 {
1463 if (temp1)
1464 delete arg1;
1465 }
1466 return NULL;
1467}
1468
1469
1470static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1471 PyObject *resultobj;
1472 wxString *arg1 = 0 ;
1473 bool result;
423f194a 1474 bool temp1 = False ;
d14a1e28
RD
1475 PyObject * obj0 = 0 ;
1476 char *kwnames[] = {
1477 (char *) "name", NULL
1478 };
1479
1480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1481 {
1482 arg1 = wxString_in_helper(obj0);
1483 if (arg1 == NULL) SWIG_fail;
423f194a 1484 temp1 = True;
d14a1e28
RD
1485 }
1486 {
1487 PyThreadState* __tstate = wxPyBeginAllowThreads();
1488 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1489
1490 wxPyEndAllowThreads(__tstate);
1491 if (PyErr_Occurred()) SWIG_fail;
1492 }
1493 resultobj = PyInt_FromLong((long)result);
1494 {
1495 if (temp1)
1496 delete arg1;
1497 }
1498 return resultobj;
1499 fail:
1500 {
1501 if (temp1)
1502 delete arg1;
1503 }
1504 return NULL;
1505}
1506
1507
1508static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1509 PyObject *obj;
1510 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1511 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1512 Py_INCREF(obj);
1513 return Py_BuildValue((char *)"");
1514}
cbd72d4f
RD
1515static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
1516 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
1517 return 1;
1518}
1519
1520
1521static PyObject *_wrap_FileSelectorPromptStr_get() {
1522 PyObject *pyobj;
1523
1524 {
1525#if wxUSE_UNICODE
1526 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1527#else
1528 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1529#endif
1530 }
1531 return pyobj;
1532}
1533
1534
1535static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
1536 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
1537 return 1;
1538}
1539
1540
1541static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
1542 PyObject *pyobj;
1543
1544 {
1545#if wxUSE_UNICODE
1546 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1547#else
1548 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1549#endif
1550 }
1551 return pyobj;
1552}
1553
1554
1555static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
1556 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
1557 return 1;
1558}
1559
1560
1561static PyObject *_wrap_DirSelectorPromptStr_get() {
1562 PyObject *pyobj;
1563
1564 {
1565#if wxUSE_UNICODE
1566 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1567#else
1568 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1569#endif
1570 }
1571 return pyobj;
1572}
1573
1574
d14a1e28
RD
1575static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1576 PyObject *resultobj;
1577 long result;
1578 char *kwnames[] = {
1579 NULL
1580 };
1581
1582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1583 {
1584 PyThreadState* __tstate = wxPyBeginAllowThreads();
1585 result = (long)wxNewId();
1586
1587 wxPyEndAllowThreads(__tstate);
1588 if (PyErr_Occurred()) SWIG_fail;
1589 }
1590 resultobj = PyInt_FromLong((long)result);
1591 return resultobj;
1592 fail:
1593 return NULL;
1594}
1595
1596
1597static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1598 PyObject *resultobj;
1599 long arg1 ;
1600 char *kwnames[] = {
1601 (char *) "id", NULL
1602 };
1603
1604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:RegisterId",kwnames,&arg1)) goto fail;
1605 {
1606 PyThreadState* __tstate = wxPyBeginAllowThreads();
1607 wxRegisterId(arg1);
1608
1609 wxPyEndAllowThreads(__tstate);
1610 if (PyErr_Occurred()) SWIG_fail;
1611 }
1612 Py_INCREF(Py_None); resultobj = Py_None;
1613 return resultobj;
1614 fail:
1615 return NULL;
1616}
1617
1618
1619static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1620 PyObject *resultobj;
1621 long result;
1622 char *kwnames[] = {
1623 NULL
1624 };
1625
1626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1627 {
1628 PyThreadState* __tstate = wxPyBeginAllowThreads();
1629 result = (long)wxGetCurrentId();
1630
1631 wxPyEndAllowThreads(__tstate);
1632 if (PyErr_Occurred()) SWIG_fail;
1633 }
1634 resultobj = PyInt_FromLong((long)result);
1635 return resultobj;
1636 fail:
1637 return NULL;
1638}
1639
1640
1641static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
1642 PyObject *resultobj;
1643 char *kwnames[] = {
1644 NULL
1645 };
1646
1647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1648 {
1649 PyThreadState* __tstate = wxPyBeginAllowThreads();
1650 wxBell();
1651
1652 wxPyEndAllowThreads(__tstate);
1653 if (PyErr_Occurred()) SWIG_fail;
1654 }
1655 Py_INCREF(Py_None); resultobj = Py_None;
1656 return resultobj;
1657 fail:
1658 return NULL;
1659}
1660
1661
1662static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1663 PyObject *resultobj;
1664 char *kwnames[] = {
1665 NULL
1666 };
1667
1668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
1669 {
1670 PyThreadState* __tstate = wxPyBeginAllowThreads();
1671 wxEndBusyCursor();
1672
1673 wxPyEndAllowThreads(__tstate);
1674 if (PyErr_Occurred()) SWIG_fail;
1675 }
1676 Py_INCREF(Py_None); resultobj = Py_None;
1677 return resultobj;
1678 fail:
1679 return NULL;
1680}
1681
1682
1683static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1684 PyObject *resultobj;
423f194a 1685 bool arg1 = (bool) True ;
d14a1e28
RD
1686 long result;
1687 PyObject * obj0 = 0 ;
1688 char *kwnames[] = {
1689 (char *) "resetTimer", NULL
1690 };
1691
1692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
1693 if (obj0) {
1694 arg1 = PyInt_AsLong(obj0) ? true : false;
1695 if (PyErr_Occurred()) SWIG_fail;
1696 }
1697 {
1698 PyThreadState* __tstate = wxPyBeginAllowThreads();
1699 result = (long)wxGetElapsedTime(arg1);
1700
1701 wxPyEndAllowThreads(__tstate);
1702 if (PyErr_Occurred()) SWIG_fail;
1703 }
1704 resultobj = PyInt_FromLong((long)result);
1705 return resultobj;
1706 fail:
1707 return NULL;
1708}
1709
1710
1711static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1712 PyObject *resultobj;
1713 int *arg1 = (int *) 0 ;
1714 int *arg2 = (int *) 0 ;
1715 int temp1 ;
1716 int temp2 ;
1717 char *kwnames[] = {
1718 NULL
1719 };
1720
1721 arg1 = &temp1;
1722 arg2 = &temp2;
1723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
1724 {
1725 PyThreadState* __tstate = wxPyBeginAllowThreads();
1726 wxGetMousePosition(arg1,arg2);
1727
1728 wxPyEndAllowThreads(__tstate);
1729 if (PyErr_Occurred()) SWIG_fail;
1730 }
1731 Py_INCREF(Py_None); resultobj = Py_None;
1732 {
1733 PyObject *o = PyInt_FromLong((long) (*arg1));
1734 resultobj = t_output_helper(resultobj,o);
1735 }
1736 {
1737 PyObject *o = PyInt_FromLong((long) (*arg2));
1738 resultobj = t_output_helper(resultobj,o);
1739 }
1740 return resultobj;
1741 fail:
1742 return NULL;
1743}
1744
1745
1746static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
1747 PyObject *resultobj;
1748 bool result;
1749 char *kwnames[] = {
1750 NULL
1751 };
1752
1753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
1754 {
1755 PyThreadState* __tstate = wxPyBeginAllowThreads();
1756 result = (bool)wxIsBusy();
1757
1758 wxPyEndAllowThreads(__tstate);
1759 if (PyErr_Occurred()) SWIG_fail;
1760 }
1761 resultobj = PyInt_FromLong((long)result);
1762 return resultobj;
1763 fail:
1764 return NULL;
1765}
1766
1767
1768static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
1769 PyObject *resultobj;
1770 wxString result;
1771 char *kwnames[] = {
1772 NULL
1773 };
1774
1775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
1776 {
1777 PyThreadState* __tstate = wxPyBeginAllowThreads();
1778 result = wxNow();
1779
1780 wxPyEndAllowThreads(__tstate);
1781 if (PyErr_Occurred()) SWIG_fail;
1782 }
1783 {
1784#if wxUSE_UNICODE
1785 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1786#else
1787 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1788#endif
1789 }
1790 return resultobj;
1791 fail:
1792 return NULL;
1793}
1794
1795
1796static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
1797 PyObject *resultobj;
1798 wxString const &arg1_defvalue = wxPyEmptyString ;
1799 wxString *arg1 = (wxString *) &arg1_defvalue ;
1800 bool result;
423f194a 1801 bool temp1 = False ;
d14a1e28
RD
1802 PyObject * obj0 = 0 ;
1803 char *kwnames[] = {
1804 (char *) "command", NULL
1805 };
1806
1807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
1808 if (obj0) {
1809 {
1810 arg1 = wxString_in_helper(obj0);
1811 if (arg1 == NULL) SWIG_fail;
423f194a 1812 temp1 = True;
d14a1e28
RD
1813 }
1814 }
1815 {
1816 PyThreadState* __tstate = wxPyBeginAllowThreads();
1817 result = (bool)wxShell((wxString const &)*arg1);
1818
1819 wxPyEndAllowThreads(__tstate);
1820 if (PyErr_Occurred()) SWIG_fail;
1821 }
1822 resultobj = PyInt_FromLong((long)result);
1823 {
1824 if (temp1)
1825 delete arg1;
1826 }
1827 return resultobj;
1828 fail:
1829 {
1830 if (temp1)
1831 delete arg1;
1832 }
1833 return NULL;
1834}
1835
1836
1837static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
1838 PyObject *resultobj;
1839 char *kwnames[] = {
1840 NULL
1841 };
1842
1843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
1844 {
1845 PyThreadState* __tstate = wxPyBeginAllowThreads();
1846 wxStartTimer();
1847
1848 wxPyEndAllowThreads(__tstate);
1849 if (PyErr_Occurred()) SWIG_fail;
1850 }
1851 Py_INCREF(Py_None); resultobj = Py_None;
1852 return resultobj;
1853 fail:
1854 return NULL;
1855}
1856
1857
1858static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
1859 PyObject *resultobj;
1860 int *arg1 = (int *) 0 ;
1861 int *arg2 = (int *) 0 ;
1862 int result;
1863 int temp1 ;
1864 int temp2 ;
1865 char *kwnames[] = {
1866 NULL
1867 };
1868
1869 arg1 = &temp1;
1870 arg2 = &temp2;
1871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
1872 {
1873 PyThreadState* __tstate = wxPyBeginAllowThreads();
1874 result = (int)wxGetOsVersion(arg1,arg2);
1875
1876 wxPyEndAllowThreads(__tstate);
1877 if (PyErr_Occurred()) SWIG_fail;
1878 }
1879 resultobj = PyInt_FromLong((long)result);
1880 {
1881 PyObject *o = PyInt_FromLong((long) (*arg1));
1882 resultobj = t_output_helper(resultobj,o);
1883 }
1884 {
1885 PyObject *o = PyInt_FromLong((long) (*arg2));
1886 resultobj = t_output_helper(resultobj,o);
1887 }
1888 return resultobj;
1889 fail:
1890 return NULL;
1891}
1892
1893
1894static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
1895 PyObject *resultobj;
1896 wxString result;
1897 char *kwnames[] = {
1898 NULL
1899 };
1900
1901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
1902 {
1903 PyThreadState* __tstate = wxPyBeginAllowThreads();
1904 result = wxGetOsDescription();
1905
1906 wxPyEndAllowThreads(__tstate);
1907 if (PyErr_Occurred()) SWIG_fail;
1908 }
1909 {
1910#if wxUSE_UNICODE
1911 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1912#else
1913 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1914#endif
1915 }
1916 return resultobj;
1917 fail:
1918 return NULL;
1919}
1920
1921
1922static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
1923 PyObject *resultobj;
1924 long result;
1925 char *kwnames[] = {
1926 NULL
1927 };
1928
1929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
1930 {
1931 PyThreadState* __tstate = wxPyBeginAllowThreads();
1932 result = (long)wxGetFreeMemory();
1933
1934 wxPyEndAllowThreads(__tstate);
1935 if (PyErr_Occurred()) SWIG_fail;
1936 }
1937 resultobj = PyInt_FromLong((long)result);
1938 return resultobj;
1939 fail:
1940 return NULL;
1941}
1942
1943
1944static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
1945 PyObject *resultobj;
1946 int arg1 ;
1947 bool result;
1948 char *kwnames[] = {
1949 (char *) "wFlags", NULL
1950 };
1951
1952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Shutdown",kwnames,&arg1)) goto fail;
1953 {
1954 PyThreadState* __tstate = wxPyBeginAllowThreads();
1955 result = (bool)wxShutdown((wxShutdownFlags )arg1);
1956
1957 wxPyEndAllowThreads(__tstate);
1958 if (PyErr_Occurred()) SWIG_fail;
1959 }
1960 resultobj = PyInt_FromLong((long)result);
1961 return resultobj;
1962 fail:
1963 return NULL;
1964}
1965
1966
1967static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1968 PyObject *resultobj;
1969 int arg1 ;
1970 char *kwnames[] = {
1971 (char *) "secs", NULL
1972 };
1973
1974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Sleep",kwnames,&arg1)) goto fail;
1975 {
1976 PyThreadState* __tstate = wxPyBeginAllowThreads();
1977 wxSleep(arg1);
1978
1979 wxPyEndAllowThreads(__tstate);
1980 if (PyErr_Occurred()) SWIG_fail;
1981 }
1982 Py_INCREF(Py_None); resultobj = Py_None;
1983 return resultobj;
1984 fail:
1985 return NULL;
1986}
1987
1988
1989static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1990 PyObject *resultobj;
1991 unsigned long arg1 ;
1992 PyObject * obj0 = 0 ;
1993 char *kwnames[] = {
1994 (char *) "milliseconds", NULL
1995 };
1996
1997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
1998 arg1 = (unsigned long) PyInt_AsLong(obj0);
1999 if (PyErr_Occurred()) SWIG_fail;
2000 {
2001 PyThreadState* __tstate = wxPyBeginAllowThreads();
2002 wxUsleep(arg1);
2003
2004 wxPyEndAllowThreads(__tstate);
2005 if (PyErr_Occurred()) SWIG_fail;
2006 }
2007 Py_INCREF(Py_None); resultobj = Py_None;
2008 return resultobj;
2009 fail:
2010 return NULL;
2011}
2012
2013
2014static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2015 PyObject *resultobj;
2016 bool arg1 ;
2017 PyObject * obj0 = 0 ;
2018 char *kwnames[] = {
2019 (char *) "enable", NULL
2020 };
2021
2022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2023 arg1 = PyInt_AsLong(obj0) ? true : false;
2024 if (PyErr_Occurred()) SWIG_fail;
2025 {
2026 PyThreadState* __tstate = wxPyBeginAllowThreads();
2027 wxEnableTopLevelWindows(arg1);
2028
2029 wxPyEndAllowThreads(__tstate);
2030 if (PyErr_Occurred()) SWIG_fail;
2031 }
2032 Py_INCREF(Py_None); resultobj = Py_None;
2033 return resultobj;
2034 fail:
2035 return NULL;
2036}
2037
2038
2039static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2040 PyObject *resultobj;
2041 wxString *arg1 = 0 ;
2042 wxString result;
423f194a 2043 bool temp1 = False ;
d14a1e28
RD
2044 PyObject * obj0 = 0 ;
2045 char *kwnames[] = {
2046 (char *) "in", NULL
2047 };
2048
2049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2050 {
2051 arg1 = wxString_in_helper(obj0);
2052 if (arg1 == NULL) SWIG_fail;
423f194a 2053 temp1 = True;
d14a1e28
RD
2054 }
2055 {
2056 PyThreadState* __tstate = wxPyBeginAllowThreads();
2057 result = wxStripMenuCodes((wxString const &)*arg1);
2058
2059 wxPyEndAllowThreads(__tstate);
2060 if (PyErr_Occurred()) SWIG_fail;
2061 }
2062 {
2063#if wxUSE_UNICODE
2064 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2065#else
2066 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2067#endif
2068 }
2069 {
2070 if (temp1)
2071 delete arg1;
2072 }
2073 return resultobj;
2074 fail:
2075 {
2076 if (temp1)
2077 delete arg1;
2078 }
2079 return NULL;
2080}
2081
2082
2083static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2084 PyObject *resultobj;
2085 wxString result;
2086 char *kwnames[] = {
2087 NULL
2088 };
2089
2090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2091 {
2092 PyThreadState* __tstate = wxPyBeginAllowThreads();
2093 result = wxGetEmailAddress();
2094
2095 wxPyEndAllowThreads(__tstate);
2096 if (PyErr_Occurred()) SWIG_fail;
2097 }
2098 {
2099#if wxUSE_UNICODE
2100 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2101#else
2102 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2103#endif
2104 }
2105 return resultobj;
2106 fail:
2107 return NULL;
2108}
2109
2110
2111static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2112 PyObject *resultobj;
2113 wxString result;
2114 char *kwnames[] = {
2115 NULL
2116 };
2117
2118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2119 {
2120 PyThreadState* __tstate = wxPyBeginAllowThreads();
2121 result = wxGetHostName();
2122
2123 wxPyEndAllowThreads(__tstate);
2124 if (PyErr_Occurred()) SWIG_fail;
2125 }
2126 {
2127#if wxUSE_UNICODE
2128 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2129#else
2130 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2131#endif
2132 }
2133 return resultobj;
2134 fail:
2135 return NULL;
2136}
2137
2138
2139static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2140 PyObject *resultobj;
2141 wxString result;
2142 char *kwnames[] = {
2143 NULL
2144 };
2145
2146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2147 {
2148 PyThreadState* __tstate = wxPyBeginAllowThreads();
2149 result = wxGetFullHostName();
2150
2151 wxPyEndAllowThreads(__tstate);
2152 if (PyErr_Occurred()) SWIG_fail;
2153 }
2154 {
2155#if wxUSE_UNICODE
2156 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2157#else
2158 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2159#endif
2160 }
2161 return resultobj;
2162 fail:
2163 return NULL;
2164}
2165
2166
2167static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2168 PyObject *resultobj;
2169 wxString result;
2170 char *kwnames[] = {
2171 NULL
2172 };
2173
2174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2175 {
2176 PyThreadState* __tstate = wxPyBeginAllowThreads();
2177 result = wxGetUserId();
2178
2179 wxPyEndAllowThreads(__tstate);
2180 if (PyErr_Occurred()) SWIG_fail;
2181 }
2182 {
2183#if wxUSE_UNICODE
2184 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2185#else
2186 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2187#endif
2188 }
2189 return resultobj;
2190 fail:
2191 return NULL;
2192}
2193
2194
2195static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2196 PyObject *resultobj;
2197 wxString result;
2198 char *kwnames[] = {
2199 NULL
2200 };
2201
2202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2203 {
2204 PyThreadState* __tstate = wxPyBeginAllowThreads();
2205 result = wxGetUserName();
2206
2207 wxPyEndAllowThreads(__tstate);
2208 if (PyErr_Occurred()) SWIG_fail;
2209 }
2210 {
2211#if wxUSE_UNICODE
2212 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2213#else
2214 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2215#endif
2216 }
2217 return resultobj;
2218 fail:
2219 return NULL;
2220}
2221
2222
2223static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2224 PyObject *resultobj;
2225 wxString result;
2226 char *kwnames[] = {
2227 NULL
2228 };
2229
2230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2231 {
2232 PyThreadState* __tstate = wxPyBeginAllowThreads();
2233 result = wxGetHomeDir();
2234
2235 wxPyEndAllowThreads(__tstate);
2236 if (PyErr_Occurred()) SWIG_fail;
2237 }
2238 {
2239#if wxUSE_UNICODE
2240 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2241#else
2242 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2243#endif
2244 }
2245 return resultobj;
2246 fail:
2247 return NULL;
2248}
2249
2250
2251static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2252 PyObject *resultobj;
2253 wxString const &arg1_defvalue = wxPyEmptyString ;
2254 wxString *arg1 = (wxString *) &arg1_defvalue ;
2255 wxString result;
423f194a 2256 bool temp1 = False ;
d14a1e28
RD
2257 PyObject * obj0 = 0 ;
2258 char *kwnames[] = {
2259 (char *) "user", NULL
2260 };
2261
2262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2263 if (obj0) {
2264 {
2265 arg1 = wxString_in_helper(obj0);
2266 if (arg1 == NULL) SWIG_fail;
423f194a 2267 temp1 = True;
d14a1e28
RD
2268 }
2269 }
2270 {
2271 PyThreadState* __tstate = wxPyBeginAllowThreads();
2272 result = wxGetUserHome((wxString const &)*arg1);
2273
2274 wxPyEndAllowThreads(__tstate);
2275 if (PyErr_Occurred()) SWIG_fail;
2276 }
2277 {
2278#if wxUSE_UNICODE
2279 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2280#else
2281 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2282#endif
2283 }
2284 {
2285 if (temp1)
2286 delete arg1;
2287 }
2288 return resultobj;
2289 fail:
2290 {
2291 if (temp1)
2292 delete arg1;
2293 }
2294 return NULL;
2295}
2296
2297
2298static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2299 PyObject *resultobj;
2300 unsigned long result;
2301 char *kwnames[] = {
2302 NULL
2303 };
2304
2305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2306 {
2307 PyThreadState* __tstate = wxPyBeginAllowThreads();
2308 result = (unsigned long)wxGetProcessId();
2309
2310 wxPyEndAllowThreads(__tstate);
2311 if (PyErr_Occurred()) SWIG_fail;
2312 }
2313 resultobj = PyInt_FromLong((long)result);
2314 return resultobj;
2315 fail:
2316 return NULL;
2317}
2318
2319
2320static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2321 PyObject *resultobj;
2322 char *kwnames[] = {
2323 NULL
2324 };
2325
2326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2327 {
2328 PyThreadState* __tstate = wxPyBeginAllowThreads();
2329 wxTrap();
2330
2331 wxPyEndAllowThreads(__tstate);
2332 if (PyErr_Occurred()) SWIG_fail;
2333 }
2334 Py_INCREF(Py_None); resultobj = Py_None;
2335 return resultobj;
2336 fail:
2337 return NULL;
2338}
2339
2340
2341static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2342 PyObject *resultobj;
2343 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2344 wxString *arg1 = (wxString *) &arg1_defvalue ;
2345 wxString const &arg2_defvalue = wxPyEmptyString ;
2346 wxString *arg2 = (wxString *) &arg2_defvalue ;
2347 wxString const &arg3_defvalue = wxPyEmptyString ;
2348 wxString *arg3 = (wxString *) &arg3_defvalue ;
2349 wxString const &arg4_defvalue = wxPyEmptyString ;
2350 wxString *arg4 = (wxString *) &arg4_defvalue ;
2351 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2352 wxString *arg5 = (wxString *) &arg5_defvalue ;
2353 int arg6 = (int) 0 ;
2354 wxWindow *arg7 = (wxWindow *) NULL ;
2355 int arg8 = (int) -1 ;
2356 int arg9 = (int) -1 ;
2357 wxString result;
423f194a
RD
2358 bool temp1 = False ;
2359 bool temp2 = False ;
2360 bool temp3 = False ;
2361 bool temp4 = False ;
2362 bool temp5 = False ;
d14a1e28
RD
2363 PyObject * obj0 = 0 ;
2364 PyObject * obj1 = 0 ;
2365 PyObject * obj2 = 0 ;
2366 PyObject * obj3 = 0 ;
2367 PyObject * obj4 = 0 ;
2368 PyObject * obj6 = 0 ;
2369 char *kwnames[] = {
2370 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2371 };
2372
2373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOiOii:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&arg9)) goto fail;
2374 if (obj0) {
2375 {
2376 arg1 = wxString_in_helper(obj0);
2377 if (arg1 == NULL) SWIG_fail;
423f194a 2378 temp1 = True;
d14a1e28
RD
2379 }
2380 }
2381 if (obj1) {
2382 {
2383 arg2 = wxString_in_helper(obj1);
2384 if (arg2 == NULL) SWIG_fail;
423f194a 2385 temp2 = True;
d14a1e28
RD
2386 }
2387 }
2388 if (obj2) {
2389 {
2390 arg3 = wxString_in_helper(obj2);
2391 if (arg3 == NULL) SWIG_fail;
423f194a 2392 temp3 = True;
d14a1e28
RD
2393 }
2394 }
2395 if (obj3) {
2396 {
2397 arg4 = wxString_in_helper(obj3);
2398 if (arg4 == NULL) SWIG_fail;
423f194a 2399 temp4 = True;
d14a1e28
RD
2400 }
2401 }
2402 if (obj4) {
2403 {
2404 arg5 = wxString_in_helper(obj4);
2405 if (arg5 == NULL) SWIG_fail;
423f194a 2406 temp5 = True;
d14a1e28
RD
2407 }
2408 }
2409 if (obj6) {
2410 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2411 }
2412 {
2413 PyThreadState* __tstate = wxPyBeginAllowThreads();
2414 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2415
2416 wxPyEndAllowThreads(__tstate);
2417 if (PyErr_Occurred()) SWIG_fail;
2418 }
2419 {
2420#if wxUSE_UNICODE
2421 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2422#else
2423 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2424#endif
2425 }
2426 {
2427 if (temp1)
2428 delete arg1;
2429 }
2430 {
2431 if (temp2)
2432 delete arg2;
2433 }
2434 {
2435 if (temp3)
2436 delete arg3;
2437 }
2438 {
2439 if (temp4)
2440 delete arg4;
2441 }
2442 {
2443 if (temp5)
2444 delete arg5;
2445 }
2446 return resultobj;
2447 fail:
2448 {
2449 if (temp1)
2450 delete arg1;
2451 }
2452 {
2453 if (temp2)
2454 delete arg2;
2455 }
2456 {
2457 if (temp3)
2458 delete arg3;
2459 }
2460 {
2461 if (temp4)
2462 delete arg4;
2463 }
2464 {
2465 if (temp5)
2466 delete arg5;
2467 }
2468 return NULL;
2469}
2470
2471
2472static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2473 PyObject *resultobj;
2474 wxString *arg1 = 0 ;
2475 wxString *arg2 = 0 ;
2476 wxString const &arg3_defvalue = wxPyEmptyString ;
2477 wxString *arg3 = (wxString *) &arg3_defvalue ;
2478 wxWindow *arg4 = (wxWindow *) NULL ;
2479 wxString result;
423f194a
RD
2480 bool temp1 = False ;
2481 bool temp2 = False ;
2482 bool temp3 = False ;
d14a1e28
RD
2483 PyObject * obj0 = 0 ;
2484 PyObject * obj1 = 0 ;
2485 PyObject * obj2 = 0 ;
2486 PyObject * obj3 = 0 ;
2487 char *kwnames[] = {
2488 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2489 };
2490
2491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2492 {
2493 arg1 = wxString_in_helper(obj0);
2494 if (arg1 == NULL) SWIG_fail;
423f194a 2495 temp1 = True;
d14a1e28
RD
2496 }
2497 {
2498 arg2 = wxString_in_helper(obj1);
2499 if (arg2 == NULL) SWIG_fail;
423f194a 2500 temp2 = True;
d14a1e28
RD
2501 }
2502 if (obj2) {
2503 {
2504 arg3 = wxString_in_helper(obj2);
2505 if (arg3 == NULL) SWIG_fail;
423f194a 2506 temp3 = True;
d14a1e28
RD
2507 }
2508 }
2509 if (obj3) {
2510 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2511 }
2512 {
2513 PyThreadState* __tstate = wxPyBeginAllowThreads();
2514 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2515
2516 wxPyEndAllowThreads(__tstate);
2517 if (PyErr_Occurred()) SWIG_fail;
2518 }
2519 {
2520#if wxUSE_UNICODE
2521 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2522#else
2523 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2524#endif
2525 }
2526 {
2527 if (temp1)
2528 delete arg1;
2529 }
2530 {
2531 if (temp2)
2532 delete arg2;
2533 }
2534 {
2535 if (temp3)
2536 delete arg3;
2537 }
2538 return resultobj;
2539 fail:
2540 {
2541 if (temp1)
2542 delete arg1;
2543 }
2544 {
2545 if (temp2)
2546 delete arg2;
2547 }
2548 {
2549 if (temp3)
2550 delete arg3;
2551 }
2552 return NULL;
2553}
2554
2555
2556static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2557 PyObject *resultobj;
2558 wxString *arg1 = 0 ;
2559 wxString *arg2 = 0 ;
2560 wxString const &arg3_defvalue = wxPyEmptyString ;
2561 wxString *arg3 = (wxString *) &arg3_defvalue ;
2562 wxWindow *arg4 = (wxWindow *) NULL ;
2563 wxString result;
423f194a
RD
2564 bool temp1 = False ;
2565 bool temp2 = False ;
2566 bool temp3 = False ;
d14a1e28
RD
2567 PyObject * obj0 = 0 ;
2568 PyObject * obj1 = 0 ;
2569 PyObject * obj2 = 0 ;
2570 PyObject * obj3 = 0 ;
2571 char *kwnames[] = {
2572 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2573 };
2574
2575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2576 {
2577 arg1 = wxString_in_helper(obj0);
2578 if (arg1 == NULL) SWIG_fail;
423f194a 2579 temp1 = True;
d14a1e28
RD
2580 }
2581 {
2582 arg2 = wxString_in_helper(obj1);
2583 if (arg2 == NULL) SWIG_fail;
423f194a 2584 temp2 = True;
d14a1e28
RD
2585 }
2586 if (obj2) {
2587 {
2588 arg3 = wxString_in_helper(obj2);
2589 if (arg3 == NULL) SWIG_fail;
423f194a 2590 temp3 = True;
d14a1e28
RD
2591 }
2592 }
2593 if (obj3) {
2594 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2595 }
2596 {
2597 PyThreadState* __tstate = wxPyBeginAllowThreads();
2598 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2599
2600 wxPyEndAllowThreads(__tstate);
2601 if (PyErr_Occurred()) SWIG_fail;
2602 }
2603 {
2604#if wxUSE_UNICODE
2605 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2606#else
2607 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2608#endif
2609 }
2610 {
2611 if (temp1)
2612 delete arg1;
2613 }
2614 {
2615 if (temp2)
2616 delete arg2;
2617 }
2618 {
2619 if (temp3)
2620 delete arg3;
2621 }
2622 return resultobj;
2623 fail:
2624 {
2625 if (temp1)
2626 delete arg1;
2627 }
2628 {
2629 if (temp2)
2630 delete arg2;
2631 }
2632 {
2633 if (temp3)
2634 delete arg3;
2635 }
2636 return NULL;
2637}
2638
2639
2640static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2641 PyObject *resultobj;
2642 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
2643 wxString *arg1 = (wxString *) &arg1_defvalue ;
2644 wxString const &arg2_defvalue = wxPyEmptyString ;
2645 wxString *arg2 = (wxString *) &arg2_defvalue ;
2646 long arg3 = (long) wxDD_DEFAULT_STYLE ;
2647 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2648 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2649 wxWindow *arg5 = (wxWindow *) NULL ;
2650 wxString result;
423f194a
RD
2651 bool temp1 = False ;
2652 bool temp2 = False ;
d14a1e28
RD
2653 wxPoint temp4 ;
2654 PyObject * obj0 = 0 ;
2655 PyObject * obj1 = 0 ;
2656 PyObject * obj3 = 0 ;
2657 PyObject * obj4 = 0 ;
2658 char *kwnames[] = {
2659 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2660 };
2661
2662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOlOO:DirSelector",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
2663 if (obj0) {
2664 {
2665 arg1 = wxString_in_helper(obj0);
2666 if (arg1 == NULL) SWIG_fail;
423f194a 2667 temp1 = True;
d14a1e28
RD
2668 }
2669 }
2670 if (obj1) {
2671 {
2672 arg2 = wxString_in_helper(obj1);
2673 if (arg2 == NULL) SWIG_fail;
423f194a 2674 temp2 = True;
d14a1e28
RD
2675 }
2676 }
2677 if (obj3) {
2678 {
2679 arg4 = &temp4;
2680 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2681 }
2682 }
2683 if (obj4) {
2684 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2685 }
2686 {
2687 PyThreadState* __tstate = wxPyBeginAllowThreads();
2688 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
2689
2690 wxPyEndAllowThreads(__tstate);
2691 if (PyErr_Occurred()) SWIG_fail;
2692 }
2693 {
2694#if wxUSE_UNICODE
2695 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2696#else
2697 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2698#endif
2699 }
2700 {
2701 if (temp1)
2702 delete arg1;
2703 }
2704 {
2705 if (temp2)
2706 delete arg2;
2707 }
2708 return resultobj;
2709 fail:
2710 {
2711 if (temp1)
2712 delete arg1;
2713 }
2714 {
2715 if (temp2)
2716 delete arg2;
2717 }
2718 return NULL;
2719}
2720
2721
2722static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2723 PyObject *resultobj;
2724 wxString *arg1 = 0 ;
2725 wxString const &arg2_defvalue = wxPyEmptyString ;
2726 wxString *arg2 = (wxString *) &arg2_defvalue ;
2727 wxString const &arg3_defvalue = wxPyEmptyString ;
2728 wxString *arg3 = (wxString *) &arg3_defvalue ;
2729 wxWindow *arg4 = (wxWindow *) NULL ;
2730 int arg5 = (int) -1 ;
2731 int arg6 = (int) -1 ;
423f194a 2732 bool arg7 = (bool) True ;
d14a1e28 2733 wxString result;
423f194a
RD
2734 bool temp1 = False ;
2735 bool temp2 = False ;
2736 bool temp3 = False ;
d14a1e28
RD
2737 PyObject * obj0 = 0 ;
2738 PyObject * obj1 = 0 ;
2739 PyObject * obj2 = 0 ;
2740 PyObject * obj3 = 0 ;
2741 PyObject * obj6 = 0 ;
2742 char *kwnames[] = {
2743 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2744 };
2745
2746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOiiO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
2747 {
2748 arg1 = wxString_in_helper(obj0);
2749 if (arg1 == NULL) SWIG_fail;
423f194a 2750 temp1 = True;
d14a1e28
RD
2751 }
2752 if (obj1) {
2753 {
2754 arg2 = wxString_in_helper(obj1);
2755 if (arg2 == NULL) SWIG_fail;
423f194a 2756 temp2 = True;
d14a1e28
RD
2757 }
2758 }
2759 if (obj2) {
2760 {
2761 arg3 = wxString_in_helper(obj2);
2762 if (arg3 == NULL) SWIG_fail;
423f194a 2763 temp3 = True;
d14a1e28
RD
2764 }
2765 }
2766 if (obj3) {
2767 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2768 }
2769 if (obj6) {
2770 arg7 = PyInt_AsLong(obj6) ? true : false;
2771 if (PyErr_Occurred()) SWIG_fail;
2772 }
2773 {
2774 PyThreadState* __tstate = wxPyBeginAllowThreads();
2775 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
2776
2777 wxPyEndAllowThreads(__tstate);
2778 if (PyErr_Occurred()) SWIG_fail;
2779 }
2780 {
2781#if wxUSE_UNICODE
2782 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2783#else
2784 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2785#endif
2786 }
2787 {
2788 if (temp1)
2789 delete arg1;
2790 }
2791 {
2792 if (temp2)
2793 delete arg2;
2794 }
2795 {
2796 if (temp3)
2797 delete arg3;
2798 }
2799 return resultobj;
2800 fail:
2801 {
2802 if (temp1)
2803 delete arg1;
2804 }
2805 {
2806 if (temp2)
2807 delete arg2;
2808 }
2809 {
2810 if (temp3)
2811 delete arg3;
2812 }
2813 return NULL;
2814}
2815
2816
2817static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2818 PyObject *resultobj;
2819 wxString *arg1 = 0 ;
2820 wxString const &arg2_defvalue = wxPyEmptyString ;
2821 wxString *arg2 = (wxString *) &arg2_defvalue ;
2822 wxString const &arg3_defvalue = wxPyEmptyString ;
2823 wxString *arg3 = (wxString *) &arg3_defvalue ;
2824 wxWindow *arg4 = (wxWindow *) NULL ;
2825 wxString result;
423f194a
RD
2826 bool temp1 = False ;
2827 bool temp2 = False ;
2828 bool temp3 = False ;
d14a1e28
RD
2829 PyObject * obj0 = 0 ;
2830 PyObject * obj1 = 0 ;
2831 PyObject * obj2 = 0 ;
2832 PyObject * obj3 = 0 ;
2833 char *kwnames[] = {
2834 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
2835 };
2836
2837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2838 {
2839 arg1 = wxString_in_helper(obj0);
2840 if (arg1 == NULL) SWIG_fail;
423f194a 2841 temp1 = True;
d14a1e28
RD
2842 }
2843 if (obj1) {
2844 {
2845 arg2 = wxString_in_helper(obj1);
2846 if (arg2 == NULL) SWIG_fail;
423f194a 2847 temp2 = True;
d14a1e28
RD
2848 }
2849 }
2850 if (obj2) {
2851 {
2852 arg3 = wxString_in_helper(obj2);
2853 if (arg3 == NULL) SWIG_fail;
423f194a 2854 temp3 = True;
d14a1e28
RD
2855 }
2856 }
2857 if (obj3) {
2858 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2859 }
2860 {
2861 PyThreadState* __tstate = wxPyBeginAllowThreads();
2862 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2863
2864 wxPyEndAllowThreads(__tstate);
2865 if (PyErr_Occurred()) SWIG_fail;
2866 }
2867 {
2868#if wxUSE_UNICODE
2869 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2870#else
2871 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2872#endif
2873 }
2874 {
2875 if (temp1)
2876 delete arg1;
2877 }
2878 {
2879 if (temp2)
2880 delete arg2;
2881 }
2882 {
2883 if (temp3)
2884 delete arg3;
2885 }
2886 return resultobj;
2887 fail:
2888 {
2889 if (temp1)
2890 delete arg1;
2891 }
2892 {
2893 if (temp2)
2894 delete arg2;
2895 }
2896 {
2897 if (temp3)
2898 delete arg3;
2899 }
2900 return NULL;
2901}
2902
2903
2904static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2905 PyObject *resultobj;
2906 wxString *arg1 = 0 ;
2907 wxString *arg2 = 0 ;
2908 int arg3 ;
2909 wxString *arg4 = (wxString *) 0 ;
2910 wxWindow *arg5 = (wxWindow *) NULL ;
2911 int arg6 = (int) -1 ;
2912 int arg7 = (int) -1 ;
423f194a 2913 bool arg8 = (bool) True ;
d14a1e28
RD
2914 int arg9 = (int) 150 ;
2915 int arg10 = (int) 200 ;
2916 wxString result;
423f194a
RD
2917 bool temp1 = False ;
2918 bool temp2 = False ;
d14a1e28
RD
2919 PyObject * obj0 = 0 ;
2920 PyObject * obj1 = 0 ;
2921 PyObject * obj2 = 0 ;
2922 PyObject * obj3 = 0 ;
2923 PyObject * obj6 = 0 ;
2924 char *kwnames[] = {
2925 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2926 };
2927
2928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
2929 {
2930 arg1 = wxString_in_helper(obj0);
2931 if (arg1 == NULL) SWIG_fail;
423f194a 2932 temp1 = True;
d14a1e28
RD
2933 }
2934 {
2935 arg2 = wxString_in_helper(obj1);
2936 if (arg2 == NULL) SWIG_fail;
423f194a 2937 temp2 = True;
d14a1e28
RD
2938 }
2939 {
2940 arg3 = PyList_Size(obj2);
2941 arg4 = wxString_LIST_helper(obj2);
2942 if (arg4 == NULL) SWIG_fail;
2943 }
2944 if (obj3) {
2945 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2946 }
2947 if (obj6) {
2948 arg8 = PyInt_AsLong(obj6) ? true : false;
2949 if (PyErr_Occurred()) SWIG_fail;
2950 }
2951 {
2952 PyThreadState* __tstate = wxPyBeginAllowThreads();
2953 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
2954
2955 wxPyEndAllowThreads(__tstate);
2956 if (PyErr_Occurred()) SWIG_fail;
2957 }
2958 {
2959#if wxUSE_UNICODE
2960 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2961#else
2962 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2963#endif
2964 }
2965 {
2966 if (temp1)
2967 delete arg1;
2968 }
2969 {
2970 if (temp2)
2971 delete arg2;
2972 }
2973 {
2974 if (arg4) delete [] arg4;
2975 }
2976 return resultobj;
2977 fail:
2978 {
2979 if (temp1)
2980 delete arg1;
2981 }
2982 {
2983 if (temp2)
2984 delete arg2;
2985 }
2986 {
2987 if (arg4) delete [] arg4;
2988 }
2989 return NULL;
2990}
2991
2992
2993static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
2994 PyObject *resultobj;
2995 wxString *arg1 = 0 ;
2996 wxString *arg2 = 0 ;
2997 int arg3 ;
2998 wxString *arg4 = (wxString *) 0 ;
2999 wxWindow *arg5 = (wxWindow *) NULL ;
3000 int arg6 = (int) -1 ;
3001 int arg7 = (int) -1 ;
423f194a 3002 bool arg8 = (bool) True ;
d14a1e28
RD
3003 int arg9 = (int) 150 ;
3004 int arg10 = (int) 200 ;
3005 int result;
423f194a
RD
3006 bool temp1 = False ;
3007 bool temp2 = False ;
d14a1e28
RD
3008 PyObject * obj0 = 0 ;
3009 PyObject * obj1 = 0 ;
3010 PyObject * obj2 = 0 ;
3011 PyObject * obj3 = 0 ;
3012 PyObject * obj6 = 0 ;
3013 char *kwnames[] = {
3014 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3015 };
3016
3017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
3018 {
3019 arg1 = wxString_in_helper(obj0);
3020 if (arg1 == NULL) SWIG_fail;
423f194a 3021 temp1 = True;
d14a1e28
RD
3022 }
3023 {
3024 arg2 = wxString_in_helper(obj1);
3025 if (arg2 == NULL) SWIG_fail;
423f194a 3026 temp2 = True;
d14a1e28
RD
3027 }
3028 {
3029 arg3 = PyList_Size(obj2);
3030 arg4 = wxString_LIST_helper(obj2);
3031 if (arg4 == NULL) SWIG_fail;
3032 }
3033 if (obj3) {
3034 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3035 }
3036 if (obj6) {
3037 arg8 = PyInt_AsLong(obj6) ? true : false;
3038 if (PyErr_Occurred()) SWIG_fail;
3039 }
3040 {
3041 PyThreadState* __tstate = wxPyBeginAllowThreads();
3042 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3043
3044 wxPyEndAllowThreads(__tstate);
3045 if (PyErr_Occurred()) SWIG_fail;
3046 }
3047 resultobj = PyInt_FromLong((long)result);
3048 {
3049 if (temp1)
3050 delete arg1;
3051 }
3052 {
3053 if (temp2)
3054 delete arg2;
3055 }
3056 {
3057 if (arg4) delete [] arg4;
3058 }
3059 return resultobj;
3060 fail:
3061 {
3062 if (temp1)
3063 delete arg1;
3064 }
3065 {
3066 if (temp2)
3067 delete arg2;
3068 }
3069 {
3070 if (arg4) delete [] arg4;
3071 }
3072 return NULL;
3073}
3074
3075
3076static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3077 PyObject *resultobj;
3078 wxString *arg1 = 0 ;
3079 wxString const &arg2_defvalue = wxPyEmptyString ;
3080 wxString *arg2 = (wxString *) &arg2_defvalue ;
3081 int arg3 = (int) wxOK|wxCENTRE ;
3082 wxWindow *arg4 = (wxWindow *) NULL ;
3083 int arg5 = (int) -1 ;
3084 int arg6 = (int) -1 ;
3085 int result;
423f194a
RD
3086 bool temp1 = False ;
3087 bool temp2 = False ;
d14a1e28
RD
3088 PyObject * obj0 = 0 ;
3089 PyObject * obj1 = 0 ;
3090 PyObject * obj3 = 0 ;
3091 char *kwnames[] = {
3092 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3093 };
3094
3095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OiOii:MessageBox",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5,&arg6)) goto fail;
3096 {
3097 arg1 = wxString_in_helper(obj0);
3098 if (arg1 == NULL) SWIG_fail;
423f194a 3099 temp1 = True;
d14a1e28
RD
3100 }
3101 if (obj1) {
3102 {
3103 arg2 = wxString_in_helper(obj1);
3104 if (arg2 == NULL) SWIG_fail;
423f194a 3105 temp2 = True;
d14a1e28
RD
3106 }
3107 }
3108 if (obj3) {
3109 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3110 }
3111 {
3112 PyThreadState* __tstate = wxPyBeginAllowThreads();
3113 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3114
3115 wxPyEndAllowThreads(__tstate);
3116 if (PyErr_Occurred()) SWIG_fail;
3117 }
3118 resultobj = PyInt_FromLong((long)result);
3119 {
3120 if (temp1)
3121 delete arg1;
3122 }
3123 {
3124 if (temp2)
3125 delete arg2;
3126 }
3127 return resultobj;
3128 fail:
3129 {
3130 if (temp1)
3131 delete arg1;
3132 }
3133 {
3134 if (temp2)
3135 delete arg2;
3136 }
3137 return NULL;
3138}
3139
3140
3141static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3142 PyObject *resultobj;
3143 wxString *arg1 = 0 ;
3144 wxString *arg2 = 0 ;
3145 wxString *arg3 = 0 ;
3146 long arg4 ;
3147 long arg5 = (long) 0 ;
3148 long arg6 = (long) 100 ;
3149 wxWindow *arg7 = (wxWindow *) NULL ;
3150 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3151 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3152 long result;
423f194a
RD
3153 bool temp1 = False ;
3154 bool temp2 = False ;
3155 bool temp3 = False ;
d14a1e28
RD
3156 wxPoint temp8 ;
3157 PyObject * obj0 = 0 ;
3158 PyObject * obj1 = 0 ;
3159 PyObject * obj2 = 0 ;
3160 PyObject * obj6 = 0 ;
3161 PyObject * obj7 = 0 ;
3162 char *kwnames[] = {
3163 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3164 };
3165
3166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOl|llOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&obj6,&obj7)) goto fail;
3167 {
3168 arg1 = wxString_in_helper(obj0);
3169 if (arg1 == NULL) SWIG_fail;
423f194a 3170 temp1 = True;
d14a1e28
RD
3171 }
3172 {
3173 arg2 = wxString_in_helper(obj1);
3174 if (arg2 == NULL) SWIG_fail;
423f194a 3175 temp2 = True;
d14a1e28
RD
3176 }
3177 {
3178 arg3 = wxString_in_helper(obj2);
3179 if (arg3 == NULL) SWIG_fail;
423f194a 3180 temp3 = True;
d14a1e28
RD
3181 }
3182 if (obj6) {
3183 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3184 }
3185 if (obj7) {
3186 {
3187 arg8 = &temp8;
3188 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3189 }
3190 }
3191 {
3192 PyThreadState* __tstate = wxPyBeginAllowThreads();
3193 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3194
3195 wxPyEndAllowThreads(__tstate);
3196 if (PyErr_Occurred()) SWIG_fail;
3197 }
3198 resultobj = PyInt_FromLong((long)result);
3199 {
3200 if (temp1)
3201 delete arg1;
3202 }
3203 {
3204 if (temp2)
3205 delete arg2;
3206 }
3207 {
3208 if (temp3)
3209 delete arg3;
3210 }
3211 return resultobj;
3212 fail:
3213 {
3214 if (temp1)
3215 delete arg1;
3216 }
3217 {
3218 if (temp2)
3219 delete arg2;
3220 }
3221 {
3222 if (temp3)
3223 delete arg3;
3224 }
3225 return NULL;
3226}
3227
3228
3229static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3230 PyObject *resultobj;
3231 bool result;
3232 char *kwnames[] = {
3233 NULL
3234 };
3235
3236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3237 {
3238 PyThreadState* __tstate = wxPyBeginAllowThreads();
3239 result = (bool)wxColourDisplay();
3240
3241 wxPyEndAllowThreads(__tstate);
3242 if (PyErr_Occurred()) SWIG_fail;
3243 }
3244 resultobj = PyInt_FromLong((long)result);
3245 return resultobj;
3246 fail:
3247 return NULL;
3248}
3249
3250
3251static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3252 PyObject *resultobj;
3253 int result;
3254 char *kwnames[] = {
3255 NULL
3256 };
3257
3258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3259 {
3260 PyThreadState* __tstate = wxPyBeginAllowThreads();
3261 result = (int)wxDisplayDepth();
3262
3263 wxPyEndAllowThreads(__tstate);
3264 if (PyErr_Occurred()) SWIG_fail;
3265 }
3266 resultobj = PyInt_FromLong((long)result);
3267 return resultobj;
3268 fail:
3269 return NULL;
3270}
3271
3272
3273static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3274 PyObject *resultobj;
3275 int result;
3276 char *kwnames[] = {
3277 NULL
3278 };
3279
3280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3281 {
3282 PyThreadState* __tstate = wxPyBeginAllowThreads();
3283 result = (int)wxGetDisplayDepth();
3284
3285 wxPyEndAllowThreads(__tstate);
3286 if (PyErr_Occurred()) SWIG_fail;
3287 }
3288 resultobj = PyInt_FromLong((long)result);
3289 return resultobj;
3290 fail:
3291 return NULL;
3292}
3293
3294
3295static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3296 PyObject *resultobj;
3297 int *arg1 = (int *) 0 ;
3298 int *arg2 = (int *) 0 ;
3299 int temp1 ;
3300 int temp2 ;
3301 char *kwnames[] = {
3302 NULL
3303 };
3304
3305 arg1 = &temp1;
3306 arg2 = &temp2;
3307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3308 {
3309 PyThreadState* __tstate = wxPyBeginAllowThreads();
3310 wxDisplaySize(arg1,arg2);
3311
3312 wxPyEndAllowThreads(__tstate);
3313 if (PyErr_Occurred()) SWIG_fail;
3314 }
3315 Py_INCREF(Py_None); resultobj = Py_None;
3316 {
3317 PyObject *o = PyInt_FromLong((long) (*arg1));
3318 resultobj = t_output_helper(resultobj,o);
3319 }
3320 {
3321 PyObject *o = PyInt_FromLong((long) (*arg2));
3322 resultobj = t_output_helper(resultobj,o);
3323 }
3324 return resultobj;
3325 fail:
3326 return NULL;
3327}
3328
3329
3330static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3331 PyObject *resultobj;
3332 wxSize result;
3333 char *kwnames[] = {
3334 NULL
3335 };
3336
3337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3338 {
3339 PyThreadState* __tstate = wxPyBeginAllowThreads();
3340 result = wxGetDisplaySize();
3341
3342 wxPyEndAllowThreads(__tstate);
3343 if (PyErr_Occurred()) SWIG_fail;
3344 }
3345 {
3346 wxSize * resultptr;
3347 resultptr = new wxSize((wxSize &) result);
3348 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3349 }
3350 return resultobj;
3351 fail:
3352 return NULL;
3353}
3354
3355
3356static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3357 PyObject *resultobj;
3358 int *arg1 = (int *) 0 ;
3359 int *arg2 = (int *) 0 ;
3360 int temp1 ;
3361 int temp2 ;
3362 char *kwnames[] = {
3363 NULL
3364 };
3365
3366 arg1 = &temp1;
3367 arg2 = &temp2;
3368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3369 {
3370 PyThreadState* __tstate = wxPyBeginAllowThreads();
3371 wxDisplaySizeMM(arg1,arg2);
3372
3373 wxPyEndAllowThreads(__tstate);
3374 if (PyErr_Occurred()) SWIG_fail;
3375 }
3376 Py_INCREF(Py_None); resultobj = Py_None;
3377 {
3378 PyObject *o = PyInt_FromLong((long) (*arg1));
3379 resultobj = t_output_helper(resultobj,o);
3380 }
3381 {
3382 PyObject *o = PyInt_FromLong((long) (*arg2));
3383 resultobj = t_output_helper(resultobj,o);
3384 }
3385 return resultobj;
3386 fail:
3387 return NULL;
3388}
3389
3390
3391static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3392 PyObject *resultobj;
3393 wxSize result;
3394 char *kwnames[] = {
3395 NULL
3396 };
3397
3398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3399 {
3400 PyThreadState* __tstate = wxPyBeginAllowThreads();
3401 result = wxGetDisplaySizeMM();
3402
3403 wxPyEndAllowThreads(__tstate);
3404 if (PyErr_Occurred()) SWIG_fail;
3405 }
3406 {
3407 wxSize * resultptr;
3408 resultptr = new wxSize((wxSize &) result);
3409 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3410 }
3411 return resultobj;
3412 fail:
3413 return NULL;
3414}
3415
3416
3417static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3418 PyObject *resultobj;
3419 int *arg1 = (int *) 0 ;
3420 int *arg2 = (int *) 0 ;
3421 int *arg3 = (int *) 0 ;
3422 int *arg4 = (int *) 0 ;
3423 int temp1 ;
3424 int temp2 ;
3425 int temp3 ;
3426 int temp4 ;
3427 char *kwnames[] = {
3428 NULL
3429 };
3430
3431 arg1 = &temp1;
3432 arg2 = &temp2;
3433 arg3 = &temp3;
3434 arg4 = &temp4;
3435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3436 {
3437 PyThreadState* __tstate = wxPyBeginAllowThreads();
3438 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3439
3440 wxPyEndAllowThreads(__tstate);
3441 if (PyErr_Occurred()) SWIG_fail;
3442 }
3443 Py_INCREF(Py_None); resultobj = Py_None;
3444 {
3445 PyObject *o = PyInt_FromLong((long) (*arg1));
3446 resultobj = t_output_helper(resultobj,o);
3447 }
3448 {
3449 PyObject *o = PyInt_FromLong((long) (*arg2));
3450 resultobj = t_output_helper(resultobj,o);
3451 }
3452 {
3453 PyObject *o = PyInt_FromLong((long) (*arg3));
3454 resultobj = t_output_helper(resultobj,o);
3455 }
3456 {
3457 PyObject *o = PyInt_FromLong((long) (*arg4));
3458 resultobj = t_output_helper(resultobj,o);
3459 }
3460 return resultobj;
3461 fail:
3462 return NULL;
3463}
3464
3465
3466static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3467 PyObject *resultobj;
3468 wxRect result;
3469 char *kwnames[] = {
3470 NULL
3471 };
3472
3473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3474 {
3475 PyThreadState* __tstate = wxPyBeginAllowThreads();
3476 result = wxGetClientDisplayRect();
3477
3478 wxPyEndAllowThreads(__tstate);
3479 if (PyErr_Occurred()) SWIG_fail;
3480 }
3481 {
3482 wxRect * resultptr;
3483 resultptr = new wxRect((wxRect &) result);
3484 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3485 }
3486 return resultobj;
3487 fail:
3488 return NULL;
3489}
3490
3491
3492static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3493 PyObject *resultobj;
3494 wxCursor *arg1 = 0 ;
3495 PyObject * obj0 = 0 ;
3496 char *kwnames[] = {
3497 (char *) "cursor", NULL
3498 };
3499
3500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3502 if (arg1 == NULL) {
3503 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3504 }
3505 {
3506 PyThreadState* __tstate = wxPyBeginAllowThreads();
3507 wxSetCursor(*arg1);
3508
3509 wxPyEndAllowThreads(__tstate);
3510 if (PyErr_Occurred()) SWIG_fail;
3511 }
3512 Py_INCREF(Py_None); resultobj = Py_None;
3513 return resultobj;
3514 fail:
3515 return NULL;
3516}
3517
3518
3519static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3520 PyObject *resultobj;
3521 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3522 PyObject * obj0 = 0 ;
3523 char *kwnames[] = {
3524 (char *) "cursor", NULL
3525 };
3526
3527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3528 if (obj0) {
3529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3530 }
3531 {
3532 PyThreadState* __tstate = wxPyBeginAllowThreads();
3533 wxBeginBusyCursor(arg1);
3534
3535 wxPyEndAllowThreads(__tstate);
3536 if (PyErr_Occurred()) SWIG_fail;
3537 }
3538 Py_INCREF(Py_None); resultobj = Py_None;
3539 return resultobj;
3540 fail:
3541 return NULL;
3542}
3543
3544
3545static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3546 PyObject *resultobj;
3547 wxWindow *result;
3548 char *kwnames[] = {
3549 NULL
3550 };
3551
3552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
3553 {
3554 PyThreadState* __tstate = wxPyBeginAllowThreads();
3555 result = (wxWindow *)wxGetActiveWindow();
3556
3557 wxPyEndAllowThreads(__tstate);
3558 if (PyErr_Occurred()) SWIG_fail;
3559 }
3560 {
3561 resultobj = wxPyMake_wxObject(result);
3562 }
3563 return resultobj;
3564 fail:
3565 return NULL;
3566}
3567
3568
3569static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3570 PyObject *resultobj;
3571 wxPoint *arg1 = 0 ;
3572 wxWindow *result;
3573 wxPoint temp1 ;
3574 PyObject * obj0 = 0 ;
3575 char *kwnames[] = {
3576 (char *) "pt", NULL
3577 };
3578
3579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
3580 {
3581 arg1 = &temp1;
3582 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3583 }
3584 {
3585 PyThreadState* __tstate = wxPyBeginAllowThreads();
3586 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
3587
3588 wxPyEndAllowThreads(__tstate);
3589 if (PyErr_Occurred()) SWIG_fail;
3590 }
3591 {
3592 resultobj = wxPyMake_wxObject(result);
3593 }
3594 return resultobj;
3595 fail:
3596 return NULL;
3597}
3598
3599
3600static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3601 PyObject *resultobj;
3602 wxPoint *arg1 = 0 ;
3603 wxWindow *result;
3604 wxPoint temp1 ;
3605 PyObject * obj0 = 0 ;
3606 char *kwnames[] = {
3607 (char *) "pt", NULL
3608 };
3609
3610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
3611 {
3612 arg1 = &temp1;
3613 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3614 }
3615 {
3616 PyThreadState* __tstate = wxPyBeginAllowThreads();
3617 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
3618
3619 wxPyEndAllowThreads(__tstate);
3620 if (PyErr_Occurred()) SWIG_fail;
3621 }
3622 {
3623 resultobj = wxPyMake_wxObject(result);
3624 }
3625 return resultobj;
3626 fail:
3627 return NULL;
3628}
3629
3630
3631static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3632 PyObject *resultobj;
3633 wxWindow *arg1 = (wxWindow *) 0 ;
3634 wxWindow *result;
3635 PyObject * obj0 = 0 ;
3636 char *kwnames[] = {
3637 (char *) "win", NULL
3638 };
3639
3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
3641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3642 {
3643 PyThreadState* __tstate = wxPyBeginAllowThreads();
3644 result = (wxWindow *)wxGetTopLevelParent(arg1);
3645
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) SWIG_fail;
3648 }
3649 {
3650 resultobj = wxPyMake_wxObject(result);
3651 }
3652 return resultobj;
3653 fail:
3654 return NULL;
3655}
3656
3657
cbd72d4f
RD
3658static PyObject *_wrap_GetKeyState(PyObject *self, PyObject *args, PyObject *kwargs) {
3659 PyObject *resultobj;
3660 int arg1 ;
3661 bool result;
3662 char *kwnames[] = {
3663 (char *) "key", NULL
3664 };
3665
3666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:GetKeyState",kwnames,&arg1)) goto fail;
3667 {
3668 PyThreadState* __tstate = wxPyBeginAllowThreads();
3669 result = (bool)wxGetKeyState((wxKeyCode )arg1);
3670
3671 wxPyEndAllowThreads(__tstate);
3672 if (PyErr_Occurred()) SWIG_fail;
3673 }
3674 resultobj = PyInt_FromLong((long)result);
3675 return resultobj;
3676 fail:
3677 return NULL;
3678}
3679
3680
d14a1e28
RD
3681static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
3682 PyObject *resultobj;
3683 char *kwnames[] = {
3684 NULL
3685 };
3686
3687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
3688 {
3689 PyThreadState* __tstate = wxPyBeginAllowThreads();
3690 wxWakeUpMainThread();
3691
3692 wxPyEndAllowThreads(__tstate);
3693 if (PyErr_Occurred()) SWIG_fail;
3694 }
3695 Py_INCREF(Py_None); resultobj = Py_None;
3696 return resultobj;
3697 fail:
3698 return NULL;
3699}
3700
3701
3702static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
3703 PyObject *resultobj;
3704 char *kwnames[] = {
3705 NULL
3706 };
3707
3708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
3709 {
3710 PyThreadState* __tstate = wxPyBeginAllowThreads();
3711 wxMutexGuiEnter();
3712
3713 wxPyEndAllowThreads(__tstate);
3714 if (PyErr_Occurred()) SWIG_fail;
3715 }
3716 Py_INCREF(Py_None); resultobj = Py_None;
3717 return resultobj;
3718 fail:
3719 return NULL;
3720}
3721
3722
3723static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
3724 PyObject *resultobj;
3725 char *kwnames[] = {
3726 NULL
3727 };
3728
3729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
3730 {
3731 PyThreadState* __tstate = wxPyBeginAllowThreads();
3732 wxMutexGuiLeave();
3733
3734 wxPyEndAllowThreads(__tstate);
3735 if (PyErr_Occurred()) SWIG_fail;
3736 }
3737 Py_INCREF(Py_None); resultobj = Py_None;
3738 return resultobj;
3739 fail:
3740 return NULL;
3741}
3742
3743
3744static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3745 PyObject *resultobj;
3746 wxMutexGuiLocker *result;
3747 char *kwnames[] = {
3748 NULL
3749 };
3750
3751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
3752 {
3753 PyThreadState* __tstate = wxPyBeginAllowThreads();
3754 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
3755
3756 wxPyEndAllowThreads(__tstate);
3757 if (PyErr_Occurred()) SWIG_fail;
3758 }
3759 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMutexGuiLocker, 1);
3760 return resultobj;
3761 fail:
3762 return NULL;
3763}
3764
3765
3766static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3767 PyObject *resultobj;
3768 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
3769 PyObject * obj0 = 0 ;
3770 char *kwnames[] = {
3771 (char *) "self", NULL
3772 };
3773
3774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
3775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMutexGuiLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3776 {
3777 PyThreadState* __tstate = wxPyBeginAllowThreads();
3778 delete arg1;
3779
3780 wxPyEndAllowThreads(__tstate);
3781 if (PyErr_Occurred()) SWIG_fail;
3782 }
3783 Py_INCREF(Py_None); resultobj = Py_None;
3784 return resultobj;
3785 fail:
3786 return NULL;
3787}
3788
3789
3790static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
3791 PyObject *obj;
3792 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3793 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
3794 Py_INCREF(obj);
3795 return Py_BuildValue((char *)"");
3796}
3797static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
3798 PyObject *resultobj;
3799 bool result;
3800 char *kwnames[] = {
3801 NULL
3802 };
3803
3804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
3805 {
3806 PyThreadState* __tstate = wxPyBeginAllowThreads();
3807 result = (bool)wxThread_IsMain();
3808
3809 wxPyEndAllowThreads(__tstate);
3810 if (PyErr_Occurred()) SWIG_fail;
3811 }
3812 resultobj = PyInt_FromLong((long)result);
3813 return resultobj;
3814 fail:
3815 return NULL;
3816}
3817
3818
3819static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3820 PyObject *resultobj;
3821 wxString *arg1 = 0 ;
3822 wxToolTip *result;
423f194a 3823 bool temp1 = False ;
d14a1e28
RD
3824 PyObject * obj0 = 0 ;
3825 char *kwnames[] = {
3826 (char *) "tip", NULL
3827 };
3828
3829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
3830 {
3831 arg1 = wxString_in_helper(obj0);
3832 if (arg1 == NULL) SWIG_fail;
423f194a 3833 temp1 = True;
d14a1e28
RD
3834 }
3835 {
3836 PyThreadState* __tstate = wxPyBeginAllowThreads();
3837 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
3838
3839 wxPyEndAllowThreads(__tstate);
3840 if (PyErr_Occurred()) SWIG_fail;
3841 }
3842 {
3843 resultobj = wxPyMake_wxObject(result);
3844 }
3845 {
3846 if (temp1)
3847 delete arg1;
3848 }
3849 return resultobj;
3850 fail:
3851 {
3852 if (temp1)
3853 delete arg1;
3854 }
3855 return NULL;
3856}
3857
3858
3859static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3860 PyObject *resultobj;
3861 wxToolTip *arg1 = (wxToolTip *) 0 ;
3862 wxString *arg2 = 0 ;
423f194a 3863 bool temp2 = False ;
d14a1e28
RD
3864 PyObject * obj0 = 0 ;
3865 PyObject * obj1 = 0 ;
3866 char *kwnames[] = {
3867 (char *) "self",(char *) "tip", NULL
3868 };
3869
3870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
3871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3872 {
3873 arg2 = wxString_in_helper(obj1);
3874 if (arg2 == NULL) SWIG_fail;
423f194a 3875 temp2 = True;
d14a1e28
RD
3876 }
3877 {
3878 PyThreadState* __tstate = wxPyBeginAllowThreads();
3879 (arg1)->SetTip((wxString const &)*arg2);
3880
3881 wxPyEndAllowThreads(__tstate);
3882 if (PyErr_Occurred()) SWIG_fail;
3883 }
3884 Py_INCREF(Py_None); resultobj = Py_None;
3885 {
3886 if (temp2)
3887 delete arg2;
3888 }
3889 return resultobj;
3890 fail:
3891 {
3892 if (temp2)
3893 delete arg2;
3894 }
3895 return NULL;
3896}
3897
3898
3899static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3900 PyObject *resultobj;
3901 wxToolTip *arg1 = (wxToolTip *) 0 ;
3902 wxString result;
3903 PyObject * obj0 = 0 ;
3904 char *kwnames[] = {
3905 (char *) "self", NULL
3906 };
3907
3908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
3909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3910 {
3911 PyThreadState* __tstate = wxPyBeginAllowThreads();
3912 result = (arg1)->GetTip();
3913
3914 wxPyEndAllowThreads(__tstate);
3915 if (PyErr_Occurred()) SWIG_fail;
3916 }
3917 {
3918#if wxUSE_UNICODE
3919 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3920#else
3921 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3922#endif
3923 }
3924 return resultobj;
3925 fail:
3926 return NULL;
3927}
3928
3929
3930static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3931 PyObject *resultobj;
3932 wxToolTip *arg1 = (wxToolTip *) 0 ;
3933 wxWindow *result;
3934 PyObject * obj0 = 0 ;
3935 char *kwnames[] = {
3936 (char *) "self", NULL
3937 };
3938
3939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
3940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3941 {
3942 PyThreadState* __tstate = wxPyBeginAllowThreads();
3943 result = (wxWindow *)(arg1)->GetWindow();
3944
3945 wxPyEndAllowThreads(__tstate);
3946 if (PyErr_Occurred()) SWIG_fail;
3947 }
3948 {
3949 resultobj = wxPyMake_wxObject(result);
3950 }
3951 return resultobj;
3952 fail:
3953 return NULL;
3954}
3955
3956
3957static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
3958 PyObject *resultobj;
3959 bool arg1 ;
3960 PyObject * obj0 = 0 ;
3961 char *kwnames[] = {
3962 (char *) "flag", NULL
3963 };
3964
3965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
3966 arg1 = PyInt_AsLong(obj0) ? true : false;
3967 if (PyErr_Occurred()) SWIG_fail;
3968 {
3969 PyThreadState* __tstate = wxPyBeginAllowThreads();
3970 wxToolTip::Enable(arg1);
3971
3972 wxPyEndAllowThreads(__tstate);
3973 if (PyErr_Occurred()) SWIG_fail;
3974 }
3975 Py_INCREF(Py_None); resultobj = Py_None;
3976 return resultobj;
3977 fail:
3978 return NULL;
3979}
3980
3981
3982static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
3983 PyObject *resultobj;
3984 long arg1 ;
3985 char *kwnames[] = {
3986 (char *) "milliseconds", NULL
3987 };
3988
3989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:ToolTip_SetDelay",kwnames,&arg1)) goto fail;
3990 {
3991 PyThreadState* __tstate = wxPyBeginAllowThreads();
3992 wxToolTip::SetDelay(arg1);
3993
3994 wxPyEndAllowThreads(__tstate);
3995 if (PyErr_Occurred()) SWIG_fail;
3996 }
3997 Py_INCREF(Py_None); resultobj = Py_None;
3998 return resultobj;
3999 fail:
4000 return NULL;
4001}
4002
4003
4004static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
4005 PyObject *obj;
4006 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4007 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4008 Py_INCREF(obj);
4009 return Py_BuildValue((char *)"");
4010}
4011static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4012 PyObject *resultobj;
4013 wxWindow *arg1 = (wxWindow *) 0 ;
4014 wxSize *arg2 = 0 ;
4015 wxCaret *result;
4016 wxSize temp2 ;
4017 PyObject * obj0 = 0 ;
4018 PyObject * obj1 = 0 ;
4019 char *kwnames[] = {
4020 (char *) "window",(char *) "size", NULL
4021 };
4022
4023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4025 {
4026 arg2 = &temp2;
4027 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4028 }
4029 {
4030 PyThreadState* __tstate = wxPyBeginAllowThreads();
4031 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4032
4033 wxPyEndAllowThreads(__tstate);
4034 if (PyErr_Occurred()) SWIG_fail;
4035 }
4036 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 1);
4037 return resultobj;
4038 fail:
4039 return NULL;
4040}
4041
4042
4043static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4044 PyObject *resultobj;
4045 wxCaret *arg1 = (wxCaret *) 0 ;
4046 PyObject * obj0 = 0 ;
4047 char *kwnames[] = {
4048 (char *) "self", NULL
4049 };
4050
4051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4053 {
4054 PyThreadState* __tstate = wxPyBeginAllowThreads();
4055 delete arg1;
4056
4057 wxPyEndAllowThreads(__tstate);
4058 if (PyErr_Occurred()) SWIG_fail;
4059 }
4060 Py_INCREF(Py_None); resultobj = Py_None;
4061 return resultobj;
4062 fail:
4063 return NULL;
4064}
4065
4066
4067static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4068 PyObject *resultobj;
4069 wxCaret *arg1 = (wxCaret *) 0 ;
4070 bool result;
4071 PyObject * obj0 = 0 ;
4072 char *kwnames[] = {
4073 (char *) "self", NULL
4074 };
4075
4076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4078 {
4079 PyThreadState* __tstate = wxPyBeginAllowThreads();
4080 result = (bool)(arg1)->IsOk();
4081
4082 wxPyEndAllowThreads(__tstate);
4083 if (PyErr_Occurred()) SWIG_fail;
4084 }
4085 resultobj = PyInt_FromLong((long)result);
4086 return resultobj;
4087 fail:
4088 return NULL;
4089}
4090
4091
4092static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4093 PyObject *resultobj;
4094 wxCaret *arg1 = (wxCaret *) 0 ;
4095 bool result;
4096 PyObject * obj0 = 0 ;
4097 char *kwnames[] = {
4098 (char *) "self", NULL
4099 };
4100
4101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4103 {
4104 PyThreadState* __tstate = wxPyBeginAllowThreads();
4105 result = (bool)(arg1)->IsVisible();
4106
4107 wxPyEndAllowThreads(__tstate);
4108 if (PyErr_Occurred()) SWIG_fail;
4109 }
4110 resultobj = PyInt_FromLong((long)result);
4111 return resultobj;
4112 fail:
4113 return NULL;
4114}
4115
4116
44127b65
RD
4117static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4118 PyObject *resultobj;
4119 wxCaret *arg1 = (wxCaret *) 0 ;
4120 wxPoint result;
4121 PyObject * obj0 = 0 ;
4122 char *kwnames[] = {
4123 (char *) "self", NULL
4124 };
4125
4126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4128 {
4129 PyThreadState* __tstate = wxPyBeginAllowThreads();
4130 result = (arg1)->GetPosition();
4131
4132 wxPyEndAllowThreads(__tstate);
4133 if (PyErr_Occurred()) SWIG_fail;
4134 }
4135 {
4136 wxPoint * resultptr;
4137 resultptr = new wxPoint((wxPoint &) result);
4138 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4139 }
4140 return resultobj;
4141 fail:
4142 return NULL;
4143}
4144
4145
d14a1e28
RD
4146static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4147 PyObject *resultobj;
4148 wxCaret *arg1 = (wxCaret *) 0 ;
4149 int *arg2 = (int *) 0 ;
4150 int *arg3 = (int *) 0 ;
4151 int temp2 ;
4152 int temp3 ;
4153 PyObject * obj0 = 0 ;
4154 char *kwnames[] = {
4155 (char *) "self", NULL
4156 };
4157
4158 arg2 = &temp2;
4159 arg3 = &temp3;
4160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4162 {
4163 PyThreadState* __tstate = wxPyBeginAllowThreads();
4164 (arg1)->GetPosition(arg2,arg3);
4165
4166 wxPyEndAllowThreads(__tstate);
4167 if (PyErr_Occurred()) SWIG_fail;
4168 }
4169 Py_INCREF(Py_None); resultobj = Py_None;
4170 {
4171 PyObject *o = PyInt_FromLong((long) (*arg2));
4172 resultobj = t_output_helper(resultobj,o);
4173 }
4174 {
4175 PyObject *o = PyInt_FromLong((long) (*arg3));
4176 resultobj = t_output_helper(resultobj,o);
4177 }
4178 return resultobj;
4179 fail:
4180 return NULL;
4181}
4182
4183
44127b65 4184static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4185 PyObject *resultobj;
4186 wxCaret *arg1 = (wxCaret *) 0 ;
44127b65 4187 wxSize result;
d14a1e28
RD
4188 PyObject * obj0 = 0 ;
4189 char *kwnames[] = {
4190 (char *) "self", NULL
4191 };
4192
44127b65 4193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
d14a1e28
RD
4194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4195 {
4196 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 4197 result = (arg1)->GetSize();
d14a1e28
RD
4198
4199 wxPyEndAllowThreads(__tstate);
4200 if (PyErr_Occurred()) SWIG_fail;
4201 }
4202 {
44127b65
RD
4203 wxSize * resultptr;
4204 resultptr = new wxSize((wxSize &) result);
4205 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
4206 }
4207 return resultobj;
4208 fail:
4209 return NULL;
4210}
4211
4212
4213static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4214 PyObject *resultobj;
4215 wxCaret *arg1 = (wxCaret *) 0 ;
4216 int *arg2 = (int *) 0 ;
4217 int *arg3 = (int *) 0 ;
4218 int temp2 ;
4219 int temp3 ;
4220 PyObject * obj0 = 0 ;
4221 char *kwnames[] = {
4222 (char *) "self", NULL
4223 };
4224
4225 arg2 = &temp2;
4226 arg3 = &temp3;
4227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4229 {
4230 PyThreadState* __tstate = wxPyBeginAllowThreads();
4231 (arg1)->GetSize(arg2,arg3);
4232
4233 wxPyEndAllowThreads(__tstate);
4234 if (PyErr_Occurred()) SWIG_fail;
4235 }
4236 Py_INCREF(Py_None); resultobj = Py_None;
4237 {
4238 PyObject *o = PyInt_FromLong((long) (*arg2));
4239 resultobj = t_output_helper(resultobj,o);
4240 }
4241 {
4242 PyObject *o = PyInt_FromLong((long) (*arg3));
4243 resultobj = t_output_helper(resultobj,o);
4244 }
4245 return resultobj;
4246 fail:
4247 return NULL;
4248}
4249
4250
d14a1e28
RD
4251static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4252 PyObject *resultobj;
4253 wxCaret *arg1 = (wxCaret *) 0 ;
4254 wxWindow *result;
4255 PyObject * obj0 = 0 ;
4256 char *kwnames[] = {
4257 (char *) "self", NULL
4258 };
4259
4260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4262 {
4263 PyThreadState* __tstate = wxPyBeginAllowThreads();
4264 result = (wxWindow *)(arg1)->GetWindow();
4265
4266 wxPyEndAllowThreads(__tstate);
4267 if (PyErr_Occurred()) SWIG_fail;
4268 }
4269 {
4270 resultobj = wxPyMake_wxObject(result);
4271 }
4272 return resultobj;
4273 fail:
4274 return NULL;
4275}
4276
4277
4278static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4279 PyObject *resultobj;
4280 wxCaret *arg1 = (wxCaret *) 0 ;
4281 int arg2 ;
4282 int arg3 ;
4283 PyObject * obj0 = 0 ;
4284 char *kwnames[] = {
4285 (char *) "self",(char *) "x",(char *) "y", NULL
4286 };
4287
4288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_MoveXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
4289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4290 {
4291 PyThreadState* __tstate = wxPyBeginAllowThreads();
4292 (arg1)->Move(arg2,arg3);
4293
4294 wxPyEndAllowThreads(__tstate);
4295 if (PyErr_Occurred()) SWIG_fail;
4296 }
4297 Py_INCREF(Py_None); resultobj = Py_None;
4298 return resultobj;
4299 fail:
4300 return NULL;
4301}
4302
4303
4304static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4305 PyObject *resultobj;
4306 wxCaret *arg1 = (wxCaret *) 0 ;
4307 wxPoint *arg2 = 0 ;
4308 wxPoint temp2 ;
4309 PyObject * obj0 = 0 ;
4310 PyObject * obj1 = 0 ;
4311 char *kwnames[] = {
4312 (char *) "self",(char *) "pt", NULL
4313 };
4314
4315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4317 {
4318 arg2 = &temp2;
4319 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4320 }
4321 {
4322 PyThreadState* __tstate = wxPyBeginAllowThreads();
4323 (arg1)->Move((wxPoint const &)*arg2);
4324
4325 wxPyEndAllowThreads(__tstate);
4326 if (PyErr_Occurred()) SWIG_fail;
4327 }
4328 Py_INCREF(Py_None); resultobj = Py_None;
4329 return resultobj;
4330 fail:
4331 return NULL;
4332}
4333
4334
4335static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4336 PyObject *resultobj;
4337 wxCaret *arg1 = (wxCaret *) 0 ;
4338 int arg2 ;
4339 int arg3 ;
4340 PyObject * obj0 = 0 ;
4341 char *kwnames[] = {
4342 (char *) "self",(char *) "width",(char *) "height", NULL
4343 };
4344
4345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
4346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4347 {
4348 PyThreadState* __tstate = wxPyBeginAllowThreads();
4349 (arg1)->SetSize(arg2,arg3);
4350
4351 wxPyEndAllowThreads(__tstate);
4352 if (PyErr_Occurred()) SWIG_fail;
4353 }
4354 Py_INCREF(Py_None); resultobj = Py_None;
4355 return resultobj;
4356 fail:
4357 return NULL;
4358}
4359
4360
4361static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4362 PyObject *resultobj;
4363 wxCaret *arg1 = (wxCaret *) 0 ;
4364 wxSize *arg2 = 0 ;
4365 wxSize temp2 ;
4366 PyObject * obj0 = 0 ;
4367 PyObject * obj1 = 0 ;
4368 char *kwnames[] = {
4369 (char *) "self",(char *) "size", NULL
4370 };
4371
4372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4374 {
4375 arg2 = &temp2;
4376 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4377 }
4378 {
4379 PyThreadState* __tstate = wxPyBeginAllowThreads();
4380 (arg1)->SetSize((wxSize const &)*arg2);
4381
4382 wxPyEndAllowThreads(__tstate);
4383 if (PyErr_Occurred()) SWIG_fail;
4384 }
4385 Py_INCREF(Py_None); resultobj = Py_None;
4386 return resultobj;
4387 fail:
4388 return NULL;
4389}
4390
4391
4392static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4393 PyObject *resultobj;
4394 wxCaret *arg1 = (wxCaret *) 0 ;
423f194a 4395 int arg2 = (int) True ;
d14a1e28
RD
4396 PyObject * obj0 = 0 ;
4397 char *kwnames[] = {
4398 (char *) "self",(char *) "show", NULL
4399 };
4400
4401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Caret_Show",kwnames,&obj0,&arg2)) goto fail;
4402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4403 {
4404 PyThreadState* __tstate = wxPyBeginAllowThreads();
4405 (arg1)->Show(arg2);
4406
4407 wxPyEndAllowThreads(__tstate);
4408 if (PyErr_Occurred()) SWIG_fail;
4409 }
4410 Py_INCREF(Py_None); resultobj = Py_None;
4411 return resultobj;
4412 fail:
4413 return NULL;
4414}
4415
4416
4417static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4418 PyObject *resultobj;
4419 wxCaret *arg1 = (wxCaret *) 0 ;
4420 PyObject * obj0 = 0 ;
4421 char *kwnames[] = {
4422 (char *) "self", NULL
4423 };
4424
4425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4427 {
4428 PyThreadState* __tstate = wxPyBeginAllowThreads();
4429 (arg1)->Hide();
4430
4431 wxPyEndAllowThreads(__tstate);
4432 if (PyErr_Occurred()) SWIG_fail;
4433 }
4434 Py_INCREF(Py_None); resultobj = Py_None;
4435 return resultobj;
4436 fail:
4437 return NULL;
4438}
4439
4440
4441static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4442 PyObject *obj;
4443 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4444 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4445 Py_INCREF(obj);
4446 return Py_BuildValue((char *)"");
4447}
4448static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4449 PyObject *resultobj;
4450 int result;
4451 char *kwnames[] = {
4452 NULL
4453 };
4454
4455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4456 {
4457 PyThreadState* __tstate = wxPyBeginAllowThreads();
4458 result = (int)wxCaret_GetBlinkTime();
4459
4460 wxPyEndAllowThreads(__tstate);
4461 if (PyErr_Occurred()) SWIG_fail;
4462 }
4463 resultobj = PyInt_FromLong((long)result);
4464 return resultobj;
4465 fail:
4466 return NULL;
4467}
4468
4469
4470static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4471 PyObject *resultobj;
4472 int arg1 ;
4473 char *kwnames[] = {
4474 (char *) "milliseconds", NULL
4475 };
4476
4477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Caret_SetBlinkTime",kwnames,&arg1)) goto fail;
4478 {
4479 PyThreadState* __tstate = wxPyBeginAllowThreads();
4480 wxCaret_SetBlinkTime(arg1);
4481
4482 wxPyEndAllowThreads(__tstate);
4483 if (PyErr_Occurred()) SWIG_fail;
4484 }
4485 Py_INCREF(Py_None); resultobj = Py_None;
4486 return resultobj;
4487 fail:
4488 return NULL;
4489}
4490
4491
4492static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4493 PyObject *resultobj;
4494 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4495 wxBusyCursor *result;
4496 PyObject * obj0 = 0 ;
4497 char *kwnames[] = {
4498 (char *) "cursor", NULL
4499 };
4500
4501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
4502 if (obj0) {
4503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4504 }
4505 {
4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4507 result = (wxBusyCursor *)new wxBusyCursor(arg1);
4508
4509 wxPyEndAllowThreads(__tstate);
4510 if (PyErr_Occurred()) SWIG_fail;
4511 }
4512 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyCursor, 1);
4513 return resultobj;
4514 fail:
4515 return NULL;
4516}
4517
4518
4519static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4520 PyObject *resultobj;
4521 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
4522 PyObject * obj0 = 0 ;
4523 char *kwnames[] = {
4524 (char *) "self", NULL
4525 };
4526
4527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
4528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4529 {
4530 PyThreadState* __tstate = wxPyBeginAllowThreads();
4531 delete arg1;
4532
4533 wxPyEndAllowThreads(__tstate);
4534 if (PyErr_Occurred()) SWIG_fail;
4535 }
4536 Py_INCREF(Py_None); resultobj = Py_None;
4537 return resultobj;
4538 fail:
4539 return NULL;
4540}
4541
4542
4543static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
4544 PyObject *obj;
4545 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4546 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
4547 Py_INCREF(obj);
4548 return Py_BuildValue((char *)"");
4549}
4550static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4551 PyObject *resultobj;
4552 wxWindow *arg1 = (wxWindow *) NULL ;
4553 wxWindowDisabler *result;
4554 PyObject * obj0 = 0 ;
4555 char *kwnames[] = {
4556 (char *) "winToSkip", NULL
4557 };
4558
4559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
4560 if (obj0) {
4561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4562 }
4563 {
4564 PyThreadState* __tstate = wxPyBeginAllowThreads();
4565 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
4566
4567 wxPyEndAllowThreads(__tstate);
4568 if (PyErr_Occurred()) SWIG_fail;
4569 }
4570 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDisabler, 1);
4571 return resultobj;
4572 fail:
4573 return NULL;
4574}
4575
4576
4577static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4578 PyObject *resultobj;
4579 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
4580 PyObject * obj0 = 0 ;
4581 char *kwnames[] = {
4582 (char *) "self", NULL
4583 };
4584
4585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
4586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4587 {
4588 PyThreadState* __tstate = wxPyBeginAllowThreads();
4589 delete arg1;
4590
4591 wxPyEndAllowThreads(__tstate);
4592 if (PyErr_Occurred()) SWIG_fail;
4593 }
4594 Py_INCREF(Py_None); resultobj = Py_None;
4595 return resultobj;
4596 fail:
4597 return NULL;
4598}
4599
4600
4601static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
4602 PyObject *obj;
4603 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4604 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
4605 Py_INCREF(obj);
4606 return Py_BuildValue((char *)"");
4607}
4608static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4609 PyObject *resultobj;
4610 wxString *arg1 = 0 ;
4611 wxBusyInfo *result;
423f194a 4612 bool temp1 = False ;
d14a1e28
RD
4613 PyObject * obj0 = 0 ;
4614 char *kwnames[] = {
4615 (char *) "message", NULL
4616 };
4617
4618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
4619 {
4620 arg1 = wxString_in_helper(obj0);
4621 if (arg1 == NULL) SWIG_fail;
423f194a 4622 temp1 = True;
d14a1e28
RD
4623 }
4624 {
4625 PyThreadState* __tstate = wxPyBeginAllowThreads();
4626 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
4627
4628 wxPyEndAllowThreads(__tstate);
4629 if (PyErr_Occurred()) SWIG_fail;
4630 }
4631 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyInfo, 1);
4632 {
4633 if (temp1)
4634 delete arg1;
4635 }
4636 return resultobj;
4637 fail:
4638 {
4639 if (temp1)
4640 delete arg1;
4641 }
4642 return NULL;
4643}
4644
4645
4646static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4647 PyObject *resultobj;
4648 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
4649 PyObject * obj0 = 0 ;
4650 char *kwnames[] = {
4651 (char *) "self", NULL
4652 };
4653
4654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
4655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4656 {
4657 PyThreadState* __tstate = wxPyBeginAllowThreads();
4658 delete arg1;
4659
4660 wxPyEndAllowThreads(__tstate);
4661 if (PyErr_Occurred()) SWIG_fail;
4662 }
4663 Py_INCREF(Py_None); resultobj = Py_None;
4664 return resultobj;
4665 fail:
4666 return NULL;
4667}
4668
4669
4670static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
4671 PyObject *obj;
4672 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4673 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
4674 Py_INCREF(obj);
4675 return Py_BuildValue((char *)"");
4676}
4677static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
4678 PyObject *resultobj;
4679 wxStopWatch *result;
4680 char *kwnames[] = {
4681 NULL
4682 };
4683
4684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
4685 {
4686 PyThreadState* __tstate = wxPyBeginAllowThreads();
4687 result = (wxStopWatch *)new wxStopWatch();
4688
4689 wxPyEndAllowThreads(__tstate);
4690 if (PyErr_Occurred()) SWIG_fail;
4691 }
4692 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStopWatch, 1);
4693 return resultobj;
4694 fail:
4695 return NULL;
4696}
4697
4698
4699static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
4700 PyObject *resultobj;
4701 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4702 long arg2 = (long) 0 ;
4703 PyObject * obj0 = 0 ;
4704 char *kwnames[] = {
4705 (char *) "self",(char *) "t0", NULL
4706 };
4707
4708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:StopWatch_Start",kwnames,&obj0,&arg2)) goto fail;
4709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4710 {
4711 PyThreadState* __tstate = wxPyBeginAllowThreads();
4712 (arg1)->Start(arg2);
4713
4714 wxPyEndAllowThreads(__tstate);
4715 if (PyErr_Occurred()) SWIG_fail;
4716 }
4717 Py_INCREF(Py_None); resultobj = Py_None;
4718 return resultobj;
4719 fail:
4720 return NULL;
4721}
4722
4723
4724static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
4725 PyObject *resultobj;
4726 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4727 PyObject * obj0 = 0 ;
4728 char *kwnames[] = {
4729 (char *) "self", NULL
4730 };
4731
4732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
4733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4734 {
4735 PyThreadState* __tstate = wxPyBeginAllowThreads();
4736 (arg1)->Pause();
4737
4738 wxPyEndAllowThreads(__tstate);
4739 if (PyErr_Occurred()) SWIG_fail;
4740 }
4741 Py_INCREF(Py_None); resultobj = Py_None;
4742 return resultobj;
4743 fail:
4744 return NULL;
4745}
4746
4747
4748static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
4749 PyObject *resultobj;
4750 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4751 PyObject * obj0 = 0 ;
4752 char *kwnames[] = {
4753 (char *) "self", NULL
4754 };
4755
4756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
4757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4758 {
4759 PyThreadState* __tstate = wxPyBeginAllowThreads();
4760 (arg1)->Resume();
4761
4762 wxPyEndAllowThreads(__tstate);
4763 if (PyErr_Occurred()) SWIG_fail;
4764 }
4765 Py_INCREF(Py_None); resultobj = Py_None;
4766 return resultobj;
4767 fail:
4768 return NULL;
4769}
4770
4771
4772static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
4773 PyObject *resultobj;
4774 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4775 long result;
4776 PyObject * obj0 = 0 ;
4777 char *kwnames[] = {
4778 (char *) "self", NULL
4779 };
4780
4781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
4782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4783 {
4784 PyThreadState* __tstate = wxPyBeginAllowThreads();
4785 result = (long)((wxStopWatch const *)arg1)->Time();
4786
4787 wxPyEndAllowThreads(__tstate);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 }
4790 resultobj = PyInt_FromLong((long)result);
4791 return resultobj;
4792 fail:
4793 return NULL;
4794}
4795
4796
4797static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
4798 PyObject *obj;
4799 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4800 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
4801 Py_INCREF(obj);
4802 return Py_BuildValue((char *)"");
4803}
4804static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4805 PyObject *resultobj;
4806 int arg1 = (int) 9 ;
4807 wxFileHistory *result;
4808 char *kwnames[] = {
4809 (char *) "maxFiles", NULL
4810 };
4811
4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FileHistory",kwnames,&arg1)) goto fail;
4813 {
4814 PyThreadState* __tstate = wxPyBeginAllowThreads();
4815 result = (wxFileHistory *)new wxFileHistory(arg1);
4816
4817 wxPyEndAllowThreads(__tstate);
4818 if (PyErr_Occurred()) SWIG_fail;
4819 }
4820 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileHistory, 1);
4821 return resultobj;
4822 fail:
4823 return NULL;
4824}
4825
4826
4827static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4828 PyObject *resultobj;
4829 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4830 PyObject * obj0 = 0 ;
4831 char *kwnames[] = {
4832 (char *) "self", NULL
4833 };
4834
4835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
4836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4837 {
4838 PyThreadState* __tstate = wxPyBeginAllowThreads();
4839 delete arg1;
4840
4841 wxPyEndAllowThreads(__tstate);
4842 if (PyErr_Occurred()) SWIG_fail;
4843 }
4844 Py_INCREF(Py_None); resultobj = Py_None;
4845 return resultobj;
4846 fail:
4847 return NULL;
4848}
4849
4850
4851static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4852 PyObject *resultobj;
4853 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4854 wxString *arg2 = 0 ;
423f194a 4855 bool temp2 = False ;
d14a1e28
RD
4856 PyObject * obj0 = 0 ;
4857 PyObject * obj1 = 0 ;
4858 char *kwnames[] = {
4859 (char *) "self",(char *) "file", NULL
4860 };
4861
4862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
4863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4864 {
4865 arg2 = wxString_in_helper(obj1);
4866 if (arg2 == NULL) SWIG_fail;
423f194a 4867 temp2 = True;
d14a1e28
RD
4868 }
4869 {
4870 PyThreadState* __tstate = wxPyBeginAllowThreads();
4871 (arg1)->AddFileToHistory((wxString const &)*arg2);
4872
4873 wxPyEndAllowThreads(__tstate);
4874 if (PyErr_Occurred()) SWIG_fail;
4875 }
4876 Py_INCREF(Py_None); resultobj = Py_None;
4877 {
4878 if (temp2)
4879 delete arg2;
4880 }
4881 return resultobj;
4882 fail:
4883 {
4884 if (temp2)
4885 delete arg2;
4886 }
4887 return NULL;
4888}
4889
4890
4891static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4892 PyObject *resultobj;
4893 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4894 int arg2 ;
4895 PyObject * obj0 = 0 ;
4896 char *kwnames[] = {
4897 (char *) "self",(char *) "i", NULL
4898 };
4899
4900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&arg2)) goto fail;
4901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4902 {
4903 PyThreadState* __tstate = wxPyBeginAllowThreads();
4904 (arg1)->RemoveFileFromHistory(arg2);
4905
4906 wxPyEndAllowThreads(__tstate);
4907 if (PyErr_Occurred()) SWIG_fail;
4908 }
4909 Py_INCREF(Py_None); resultobj = Py_None;
4910 return resultobj;
4911 fail:
4912 return NULL;
4913}
4914
4915
4916static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
4917 PyObject *resultobj;
4918 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4919 int result;
4920 PyObject * obj0 = 0 ;
4921 char *kwnames[] = {
4922 (char *) "self", NULL
4923 };
4924
4925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
4926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4927 {
4928 PyThreadState* __tstate = wxPyBeginAllowThreads();
4929 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
4930
4931 wxPyEndAllowThreads(__tstate);
4932 if (PyErr_Occurred()) SWIG_fail;
4933 }
4934 resultobj = PyInt_FromLong((long)result);
4935 return resultobj;
4936 fail:
4937 return NULL;
4938}
4939
4940
4941static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4942 PyObject *resultobj;
4943 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4944 wxMenu *arg2 = (wxMenu *) 0 ;
4945 PyObject * obj0 = 0 ;
4946 PyObject * obj1 = 0 ;
4947 char *kwnames[] = {
4948 (char *) "self",(char *) "menu", NULL
4949 };
4950
4951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
4952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4953 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4954 {
4955 PyThreadState* __tstate = wxPyBeginAllowThreads();
4956 (arg1)->UseMenu(arg2);
4957
4958 wxPyEndAllowThreads(__tstate);
4959 if (PyErr_Occurred()) SWIG_fail;
4960 }
4961 Py_INCREF(Py_None); resultobj = Py_None;
4962 return resultobj;
4963 fail:
4964 return NULL;
4965}
4966
4967
4968static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4969 PyObject *resultobj;
4970 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4971 wxMenu *arg2 = (wxMenu *) 0 ;
4972 PyObject * obj0 = 0 ;
4973 PyObject * obj1 = 0 ;
4974 char *kwnames[] = {
4975 (char *) "self",(char *) "menu", NULL
4976 };
4977
4978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
4979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4980 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4981 {
4982 PyThreadState* __tstate = wxPyBeginAllowThreads();
4983 (arg1)->RemoveMenu(arg2);
4984
4985 wxPyEndAllowThreads(__tstate);
4986 if (PyErr_Occurred()) SWIG_fail;
4987 }
4988 Py_INCREF(Py_None); resultobj = Py_None;
4989 return resultobj;
4990 fail:
4991 return NULL;
4992}
4993
4994
4995static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
4996 PyObject *resultobj;
4997 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4998 wxConfigBase *arg2 = 0 ;
4999 PyObject * obj0 = 0 ;
5000 PyObject * obj1 = 0 ;
5001 char *kwnames[] = {
5002 (char *) "self",(char *) "config", NULL
5003 };
5004
5005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
5006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5007 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5008 if (arg2 == NULL) {
5009 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5010 }
5011 {
5012 PyThreadState* __tstate = wxPyBeginAllowThreads();
5013 (arg1)->Load(*arg2);
5014
5015 wxPyEndAllowThreads(__tstate);
5016 if (PyErr_Occurred()) SWIG_fail;
5017 }
5018 Py_INCREF(Py_None); resultobj = Py_None;
5019 return resultobj;
5020 fail:
5021 return NULL;
5022}
5023
5024
5025static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5026 PyObject *resultobj;
5027 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5028 wxConfigBase *arg2 = 0 ;
5029 PyObject * obj0 = 0 ;
5030 PyObject * obj1 = 0 ;
5031 char *kwnames[] = {
5032 (char *) "self",(char *) "config", NULL
5033 };
5034
5035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5037 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5038 if (arg2 == NULL) {
5039 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5040 }
5041 {
5042 PyThreadState* __tstate = wxPyBeginAllowThreads();
5043 (arg1)->Save(*arg2);
5044
5045 wxPyEndAllowThreads(__tstate);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 }
5048 Py_INCREF(Py_None); resultobj = Py_None;
5049 return resultobj;
5050 fail:
5051 return NULL;
5052}
5053
5054
5055static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5056 PyObject *resultobj;
5057 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5058 PyObject * obj0 = 0 ;
5059 char *kwnames[] = {
5060 (char *) "self", NULL
5061 };
5062
5063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5065 {
5066 PyThreadState* __tstate = wxPyBeginAllowThreads();
5067 (arg1)->AddFilesToMenu();
5068
5069 wxPyEndAllowThreads(__tstate);
5070 if (PyErr_Occurred()) SWIG_fail;
5071 }
5072 Py_INCREF(Py_None); resultobj = Py_None;
5073 return resultobj;
5074 fail:
5075 return NULL;
5076}
5077
5078
5079static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5080 PyObject *resultobj;
5081 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5082 wxMenu *arg2 = (wxMenu *) 0 ;
5083 PyObject * obj0 = 0 ;
5084 PyObject * obj1 = 0 ;
5085 char *kwnames[] = {
5086 (char *) "self",(char *) "menu", NULL
5087 };
5088
5089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5091 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5092 {
5093 PyThreadState* __tstate = wxPyBeginAllowThreads();
5094 (arg1)->AddFilesToMenu(arg2);
5095
5096 wxPyEndAllowThreads(__tstate);
5097 if (PyErr_Occurred()) SWIG_fail;
5098 }
5099 Py_INCREF(Py_None); resultobj = Py_None;
5100 return resultobj;
5101 fail:
5102 return NULL;
5103}
5104
5105
5106static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5107 PyObject *resultobj;
5108 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5109 int arg2 ;
5110 wxString result;
5111 PyObject * obj0 = 0 ;
5112 char *kwnames[] = {
5113 (char *) "self",(char *) "i", NULL
5114 };
5115
5116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_GetHistoryFile",kwnames,&obj0,&arg2)) goto fail;
5117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5118 {
5119 PyThreadState* __tstate = wxPyBeginAllowThreads();
5120 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5121
5122 wxPyEndAllowThreads(__tstate);
5123 if (PyErr_Occurred()) SWIG_fail;
5124 }
5125 {
5126#if wxUSE_UNICODE
5127 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5128#else
5129 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5130#endif
5131 }
5132 return resultobj;
5133 fail:
5134 return NULL;
5135}
5136
5137
5138static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5139 PyObject *resultobj;
5140 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5141 int result;
5142 PyObject * obj0 = 0 ;
5143 char *kwnames[] = {
5144 (char *) "self", NULL
5145 };
5146
5147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5149 {
5150 PyThreadState* __tstate = wxPyBeginAllowThreads();
5151 result = (int)((wxFileHistory const *)arg1)->GetCount();
5152
5153 wxPyEndAllowThreads(__tstate);
5154 if (PyErr_Occurred()) SWIG_fail;
5155 }
5156 resultobj = PyInt_FromLong((long)result);
5157 return resultobj;
5158 fail:
5159 return NULL;
5160}
5161
5162
5163static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5164 PyObject *obj;
5165 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5166 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5167 Py_INCREF(obj);
5168 return Py_BuildValue((char *)"");
5169}
5170static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5171 PyObject *resultobj;
5172 wxString *arg1 = 0 ;
5173 wxString const &arg2_defvalue = wxPyEmptyString ;
5174 wxString *arg2 = (wxString *) &arg2_defvalue ;
5175 wxSingleInstanceChecker *result;
423f194a
RD
5176 bool temp1 = False ;
5177 bool temp2 = False ;
d14a1e28
RD
5178 PyObject * obj0 = 0 ;
5179 PyObject * obj1 = 0 ;
5180 char *kwnames[] = {
5181 (char *) "name",(char *) "path", NULL
5182 };
5183
5184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5185 {
5186 arg1 = wxString_in_helper(obj0);
5187 if (arg1 == NULL) SWIG_fail;
423f194a 5188 temp1 = True;
d14a1e28
RD
5189 }
5190 if (obj1) {
5191 {
5192 arg2 = wxString_in_helper(obj1);
5193 if (arg2 == NULL) SWIG_fail;
423f194a 5194 temp2 = True;
d14a1e28
RD
5195 }
5196 }
5197 {
5198 PyThreadState* __tstate = wxPyBeginAllowThreads();
5199 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5200
5201 wxPyEndAllowThreads(__tstate);
5202 if (PyErr_Occurred()) SWIG_fail;
5203 }
5204 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5205 {
5206 if (temp1)
5207 delete arg1;
5208 }
5209 {
5210 if (temp2)
5211 delete arg2;
5212 }
5213 return resultobj;
5214 fail:
5215 {
5216 if (temp1)
5217 delete arg1;
5218 }
5219 {
5220 if (temp2)
5221 delete arg2;
5222 }
5223 return NULL;
5224}
5225
5226
5227static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5228 PyObject *resultobj;
5229 wxSingleInstanceChecker *result;
5230 char *kwnames[] = {
5231 NULL
5232 };
5233
5234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5235 {
5236 PyThreadState* __tstate = wxPyBeginAllowThreads();
5237 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5238
5239 wxPyEndAllowThreads(__tstate);
5240 if (PyErr_Occurred()) SWIG_fail;
5241 }
5242 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5243 return resultobj;
5244 fail:
5245 return NULL;
5246}
5247
5248
5249static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5250 PyObject *resultobj;
5251 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5252 PyObject * obj0 = 0 ;
5253 char *kwnames[] = {
5254 (char *) "self", NULL
5255 };
5256
5257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5259 {
5260 PyThreadState* __tstate = wxPyBeginAllowThreads();
5261 delete arg1;
5262
5263 wxPyEndAllowThreads(__tstate);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 }
5266 Py_INCREF(Py_None); resultobj = Py_None;
5267 return resultobj;
5268 fail:
5269 return NULL;
5270}
5271
5272
5273static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5274 PyObject *resultobj;
5275 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5276 wxString *arg2 = 0 ;
5277 wxString const &arg3_defvalue = wxPyEmptyString ;
5278 wxString *arg3 = (wxString *) &arg3_defvalue ;
5279 bool result;
423f194a
RD
5280 bool temp2 = False ;
5281 bool temp3 = False ;
d14a1e28
RD
5282 PyObject * obj0 = 0 ;
5283 PyObject * obj1 = 0 ;
5284 PyObject * obj2 = 0 ;
5285 char *kwnames[] = {
5286 (char *) "self",(char *) "name",(char *) "path", NULL
5287 };
5288
5289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5291 {
5292 arg2 = wxString_in_helper(obj1);
5293 if (arg2 == NULL) SWIG_fail;
423f194a 5294 temp2 = True;
d14a1e28
RD
5295 }
5296 if (obj2) {
5297 {
5298 arg3 = wxString_in_helper(obj2);
5299 if (arg3 == NULL) SWIG_fail;
423f194a 5300 temp3 = True;
d14a1e28
RD
5301 }
5302 }
5303 {
5304 PyThreadState* __tstate = wxPyBeginAllowThreads();
5305 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5306
5307 wxPyEndAllowThreads(__tstate);
5308 if (PyErr_Occurred()) SWIG_fail;
5309 }
5310 resultobj = PyInt_FromLong((long)result);
5311 {
5312 if (temp2)
5313 delete arg2;
5314 }
5315 {
5316 if (temp3)
5317 delete arg3;
5318 }
5319 return resultobj;
5320 fail:
5321 {
5322 if (temp2)
5323 delete arg2;
5324 }
5325 {
5326 if (temp3)
5327 delete arg3;
5328 }
5329 return NULL;
5330}
5331
5332
5333static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5334 PyObject *resultobj;
5335 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5336 bool result;
5337 PyObject * obj0 = 0 ;
5338 char *kwnames[] = {
5339 (char *) "self", NULL
5340 };
5341
5342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5344 {
5345 PyThreadState* __tstate = wxPyBeginAllowThreads();
5346 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5347
5348 wxPyEndAllowThreads(__tstate);
5349 if (PyErr_Occurred()) SWIG_fail;
5350 }
5351 resultobj = PyInt_FromLong((long)result);
5352 return resultobj;
5353 fail:
5354 return NULL;
5355}
5356
5357
5358static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5359 PyObject *obj;
5360 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5361 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5362 Py_INCREF(obj);
5363 return Py_BuildValue((char *)"");
5364}
5365static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5366 PyObject *resultobj;
5367 wxWindow *arg1 = (wxWindow *) 0 ;
5368 wxDC *arg2 = 0 ;
5369 int arg3 ;
5370 PyObject * obj0 = 0 ;
5371 PyObject * obj1 = 0 ;
5372 char *kwnames[] = {
5373 (char *) "window",(char *) "dc",(char *) "method", NULL
5374 };
5375
5376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DrawWindowOnDC",kwnames,&obj0,&obj1,&arg3)) goto fail;
5377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5378 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5379 if (arg2 == NULL) {
5380 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5381 }
5382 {
5383 PyThreadState* __tstate = wxPyBeginAllowThreads();
5384 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5385
5386 wxPyEndAllowThreads(__tstate);
5387 if (PyErr_Occurred()) SWIG_fail;
5388 }
5389 Py_INCREF(Py_None); resultobj = Py_None;
5390 return resultobj;
5391 fail:
5392 return NULL;
5393}
5394
5395
5396static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5397 PyObject *resultobj;
5398 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5399 PyObject * obj0 = 0 ;
5400 char *kwnames[] = {
5401 (char *) "self", NULL
5402 };
5403
5404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
5405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5406 {
5407 PyThreadState* __tstate = wxPyBeginAllowThreads();
5408 delete arg1;
5409
5410 wxPyEndAllowThreads(__tstate);
5411 if (PyErr_Occurred()) SWIG_fail;
5412 }
5413 Py_INCREF(Py_None); resultobj = Py_None;
5414 return resultobj;
5415 fail:
5416 return NULL;
5417}
5418
5419
5420static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5421 PyObject *resultobj;
5422 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5423 wxString result;
5424 PyObject * obj0 = 0 ;
5425 char *kwnames[] = {
5426 (char *) "self", NULL
5427 };
5428
5429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
5430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5431 {
5432 PyThreadState* __tstate = wxPyBeginAllowThreads();
5433 result = (arg1)->GetTip();
5434
5435 wxPyEndAllowThreads(__tstate);
5436 if (PyErr_Occurred()) SWIG_fail;
5437 }
5438 {
5439#if wxUSE_UNICODE
5440 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5441#else
5442 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5443#endif
5444 }
5445 return resultobj;
5446 fail:
5447 return NULL;
5448}
5449
5450
5451static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5452 PyObject *resultobj;
5453 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5454 size_t result;
5455 PyObject * obj0 = 0 ;
5456 char *kwnames[] = {
5457 (char *) "self", NULL
5458 };
5459
5460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
5461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5462 {
5463 PyThreadState* __tstate = wxPyBeginAllowThreads();
5464 result = (size_t)(arg1)->GetCurrentTip();
5465
5466 wxPyEndAllowThreads(__tstate);
5467 if (PyErr_Occurred()) SWIG_fail;
5468 }
5469 resultobj = PyInt_FromLong((long)result);
5470 return resultobj;
5471 fail:
5472 return NULL;
5473}
5474
5475
5476static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5477 PyObject *resultobj;
5478 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5479 wxString *arg2 = 0 ;
5480 wxString result;
423f194a 5481 bool temp2 = False ;
d14a1e28
RD
5482 PyObject * obj0 = 0 ;
5483 PyObject * obj1 = 0 ;
5484 char *kwnames[] = {
5485 (char *) "self",(char *) "tip", NULL
5486 };
5487
5488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
5489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5490 {
5491 arg2 = wxString_in_helper(obj1);
5492 if (arg2 == NULL) SWIG_fail;
423f194a 5493 temp2 = True;
d14a1e28
RD
5494 }
5495 {
5496 PyThreadState* __tstate = wxPyBeginAllowThreads();
5497 result = (arg1)->PreprocessTip((wxString const &)*arg2);
5498
5499 wxPyEndAllowThreads(__tstate);
5500 if (PyErr_Occurred()) SWIG_fail;
5501 }
5502 {
5503#if wxUSE_UNICODE
5504 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5505#else
5506 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5507#endif
5508 }
5509 {
5510 if (temp2)
5511 delete arg2;
5512 }
5513 return resultobj;
5514 fail:
5515 {
5516 if (temp2)
5517 delete arg2;
5518 }
5519 return NULL;
5520}
5521
5522
5523static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
5524 PyObject *obj;
5525 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5526 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
5527 Py_INCREF(obj);
5528 return Py_BuildValue((char *)"");
5529}
5530static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5531 PyObject *resultobj;
5532 size_t arg1 ;
5533 wxPyTipProvider *result;
5534 PyObject * obj0 = 0 ;
5535 char *kwnames[] = {
5536 (char *) "currentTip", NULL
5537 };
5538
5539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
5540 arg1 = (size_t) PyInt_AsLong(obj0);
5541 if (PyErr_Occurred()) SWIG_fail;
5542 {
5543 PyThreadState* __tstate = wxPyBeginAllowThreads();
5544 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
5545
5546 wxPyEndAllowThreads(__tstate);
5547 if (PyErr_Occurred()) SWIG_fail;
5548 }
5549 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTipProvider, 1);
5550 return resultobj;
5551 fail:
5552 return NULL;
5553}
5554
5555
5556static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5557 PyObject *resultobj;
5558 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
5559 PyObject *arg2 = (PyObject *) 0 ;
5560 PyObject *arg3 = (PyObject *) 0 ;
5561 PyObject * obj0 = 0 ;
5562 PyObject * obj1 = 0 ;
5563 PyObject * obj2 = 0 ;
5564 char *kwnames[] = {
5565 (char *) "self",(char *) "self",(char *) "_class", NULL
5566 };
5567
5568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5570 arg2 = obj1;
5571 arg3 = obj2;
5572 {
5573 PyThreadState* __tstate = wxPyBeginAllowThreads();
5574 (arg1)->_setCallbackInfo(arg2,arg3);
5575
5576 wxPyEndAllowThreads(__tstate);
5577 if (PyErr_Occurred()) SWIG_fail;
5578 }
5579 Py_INCREF(Py_None); resultobj = Py_None;
5580 return resultobj;
5581 fail:
5582 return NULL;
5583}
5584
5585
5586static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
5587 PyObject *obj;
5588 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5589 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
5590 Py_INCREF(obj);
5591 return Py_BuildValue((char *)"");
5592}
5593static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5594 PyObject *resultobj;
5595 wxWindow *arg1 = (wxWindow *) 0 ;
5596 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
423f194a 5597 bool arg3 = (bool) True ;
d14a1e28
RD
5598 bool result;
5599 PyObject * obj0 = 0 ;
5600 PyObject * obj1 = 0 ;
5601 PyObject * obj2 = 0 ;
5602 char *kwnames[] = {
5603 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5604 };
5605
5606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
5607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5608 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5609 if (obj2) {
5610 arg3 = PyInt_AsLong(obj2) ? true : false;
5611 if (PyErr_Occurred()) SWIG_fail;
5612 }
5613 {
5614 PyThreadState* __tstate = wxPyBeginAllowThreads();
5615 result = (bool)wxShowTip(arg1,arg2,arg3);
5616
5617 wxPyEndAllowThreads(__tstate);
5618 if (PyErr_Occurred()) SWIG_fail;
5619 }
5620 resultobj = PyInt_FromLong((long)result);
5621 return resultobj;
5622 fail:
5623 return NULL;
5624}
5625
5626
5627static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5628 PyObject *resultobj;
5629 wxString *arg1 = 0 ;
5630 size_t arg2 ;
5631 wxTipProvider *result;
423f194a 5632 bool temp1 = False ;
d14a1e28
RD
5633 PyObject * obj0 = 0 ;
5634 PyObject * obj1 = 0 ;
5635 char *kwnames[] = {
5636 (char *) "filename",(char *) "currentTip", NULL
5637 };
5638
5639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
5640 {
5641 arg1 = wxString_in_helper(obj0);
5642 if (arg1 == NULL) SWIG_fail;
423f194a 5643 temp1 = True;
d14a1e28
RD
5644 }
5645 arg2 = (size_t) PyInt_AsLong(obj1);
5646 if (PyErr_Occurred()) SWIG_fail;
5647 {
5648 PyThreadState* __tstate = wxPyBeginAllowThreads();
5649 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
5650
5651 wxPyEndAllowThreads(__tstate);
5652 if (PyErr_Occurred()) SWIG_fail;
5653 }
5654 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipProvider, 1);
5655 {
5656 if (temp1)
5657 delete arg1;
5658 }
5659 return resultobj;
5660 fail:
5661 {
5662 if (temp1)
5663 delete arg1;
5664 }
5665 return NULL;
5666}
5667
5668
5669static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5670 PyObject *resultobj;
5671 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
5672 int arg2 = (int) -1 ;
5673 wxPyTimer *result;
5674 PyObject * obj0 = 0 ;
5675 char *kwnames[] = {
5676 (char *) "owner",(char *) "id", NULL
5677 };
5678
5679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Timer",kwnames,&obj0,&arg2)) goto fail;
5680 if (obj0) {
5681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5682 }
5683 {
5684 PyThreadState* __tstate = wxPyBeginAllowThreads();
5685 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
5686
5687 wxPyEndAllowThreads(__tstate);
5688 if (PyErr_Occurred()) SWIG_fail;
5689 }
5690 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTimer, 1);
5691 return resultobj;
5692 fail:
5693 return NULL;
5694}
5695
5696
5697static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5698 PyObject *resultobj;
5699 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5700 PyObject * obj0 = 0 ;
5701 char *kwnames[] = {
5702 (char *) "self", NULL
5703 };
5704
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
5706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5707 {
5708 PyThreadState* __tstate = wxPyBeginAllowThreads();
5709 delete arg1;
5710
5711 wxPyEndAllowThreads(__tstate);
5712 if (PyErr_Occurred()) SWIG_fail;
5713 }
5714 Py_INCREF(Py_None); resultobj = Py_None;
5715 return resultobj;
5716 fail:
5717 return NULL;
5718}
5719
5720
44127b65
RD
5721static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5722 PyObject *resultobj;
5723 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5724 PyObject *arg2 = (PyObject *) 0 ;
5725 PyObject *arg3 = (PyObject *) 0 ;
5726 PyObject * obj0 = 0 ;
5727 PyObject * obj1 = 0 ;
5728 PyObject * obj2 = 0 ;
5729 char *kwnames[] = {
5730 (char *) "self",(char *) "self",(char *) "_class", NULL
5731 };
5732
5733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5735 arg2 = obj1;
5736 arg3 = obj2;
5737 {
5738 PyThreadState* __tstate = wxPyBeginAllowThreads();
5739 (arg1)->_setCallbackInfo(arg2,arg3);
5740
5741 wxPyEndAllowThreads(__tstate);
5742 if (PyErr_Occurred()) SWIG_fail;
5743 }
5744 Py_INCREF(Py_None); resultobj = Py_None;
5745 return resultobj;
5746 fail:
5747 return NULL;
5748}
5749
5750
d14a1e28
RD
5751static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
5752 PyObject *resultobj;
5753 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5754 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
5755 int arg3 = (int) -1 ;
5756 PyObject * obj0 = 0 ;
5757 PyObject * obj1 = 0 ;
5758 char *kwnames[] = {
5759 (char *) "self",(char *) "owner",(char *) "id", NULL
5760 };
5761
5762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Timer_SetOwner",kwnames,&obj0,&obj1,&arg3)) goto fail;
5763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5764 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5765 {
5766 PyThreadState* __tstate = wxPyBeginAllowThreads();
5767 (arg1)->SetOwner(arg2,arg3);
5768
5769 wxPyEndAllowThreads(__tstate);
5770 if (PyErr_Occurred()) SWIG_fail;
5771 }
5772 Py_INCREF(Py_None); resultobj = Py_None;
5773 return resultobj;
5774 fail:
5775 return NULL;
5776}
5777
5778
5779static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5780 PyObject *resultobj;
5781 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5782 int arg2 = (int) -1 ;
423f194a 5783 bool arg3 = (bool) False ;
d14a1e28
RD
5784 bool result;
5785 PyObject * obj0 = 0 ;
5786 PyObject * obj2 = 0 ;
5787 char *kwnames[] = {
5788 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5789 };
5790
5791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Timer_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
5792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5793 if (obj2) {
5794 arg3 = PyInt_AsLong(obj2) ? true : false;
5795 if (PyErr_Occurred()) SWIG_fail;
5796 }
5797 {
5798 PyThreadState* __tstate = wxPyBeginAllowThreads();
5799 result = (bool)(arg1)->Start(arg2,arg3);
5800
5801 wxPyEndAllowThreads(__tstate);
5802 if (PyErr_Occurred()) SWIG_fail;
5803 }
5804 resultobj = PyInt_FromLong((long)result);
5805 return resultobj;
5806 fail:
5807 return NULL;
5808}
5809
5810
5811static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
5812 PyObject *resultobj;
5813 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5814 PyObject * obj0 = 0 ;
5815 char *kwnames[] = {
5816 (char *) "self", NULL
5817 };
5818
5819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
5820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5821 {
5822 PyThreadState* __tstate = wxPyBeginAllowThreads();
5823 (arg1)->Stop();
5824
5825 wxPyEndAllowThreads(__tstate);
5826 if (PyErr_Occurred()) SWIG_fail;
5827 }
5828 Py_INCREF(Py_None); resultobj = Py_None;
5829 return resultobj;
5830 fail:
5831 return NULL;
5832}
5833
5834
d14a1e28
RD
5835static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5836 PyObject *resultobj;
5837 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5838 bool result;
5839 PyObject * obj0 = 0 ;
5840 char *kwnames[] = {
5841 (char *) "self", NULL
5842 };
5843
5844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
5845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5846 {
5847 PyThreadState* __tstate = wxPyBeginAllowThreads();
5848 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
5849
5850 wxPyEndAllowThreads(__tstate);
5851 if (PyErr_Occurred()) SWIG_fail;
5852 }
5853 resultobj = PyInt_FromLong((long)result);
5854 return resultobj;
5855 fail:
5856 return NULL;
5857}
5858
5859
5860static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5861 PyObject *resultobj;
5862 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5863 int result;
5864 PyObject * obj0 = 0 ;
5865 char *kwnames[] = {
5866 (char *) "self", NULL
5867 };
5868
5869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
5870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5871 {
5872 PyThreadState* __tstate = wxPyBeginAllowThreads();
5873 result = (int)((wxPyTimer const *)arg1)->GetInterval();
5874
5875 wxPyEndAllowThreads(__tstate);
5876 if (PyErr_Occurred()) SWIG_fail;
5877 }
5878 resultobj = PyInt_FromLong((long)result);
5879 return resultobj;
5880 fail:
5881 return NULL;
5882}
5883
5884
5885static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
5886 PyObject *resultobj;
5887 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5888 bool result;
5889 PyObject * obj0 = 0 ;
5890 char *kwnames[] = {
5891 (char *) "self", NULL
5892 };
5893
5894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
5895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5896 {
5897 PyThreadState* __tstate = wxPyBeginAllowThreads();
5898 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
5899
5900 wxPyEndAllowThreads(__tstate);
5901 if (PyErr_Occurred()) SWIG_fail;
5902 }
5903 resultobj = PyInt_FromLong((long)result);
5904 return resultobj;
5905 fail:
5906 return NULL;
5907}
5908
5909
0f774bef
RD
5910static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5911 PyObject *resultobj;
5912 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5913 int result;
5914 PyObject * obj0 = 0 ;
5915 char *kwnames[] = {
5916 (char *) "self", NULL
5917 };
5918
5919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
5920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5921 {
5922 PyThreadState* __tstate = wxPyBeginAllowThreads();
5923 result = (int)((wxPyTimer const *)arg1)->GetId();
5924
5925 wxPyEndAllowThreads(__tstate);
5926 if (PyErr_Occurred()) SWIG_fail;
5927 }
5928 resultobj = PyInt_FromLong((long)result);
5929 return resultobj;
5930 fail:
5931 return NULL;
5932}
5933
5934
d14a1e28
RD
5935static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
5936 PyObject *obj;
5937 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5938 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
5939 Py_INCREF(obj);
5940 return Py_BuildValue((char *)"");
5941}
5942static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5943 PyObject *resultobj;
5944 int arg1 = (int) 0 ;
5945 int arg2 = (int) 0 ;
5946 wxTimerEvent *result;
5947 char *kwnames[] = {
5948 (char *) "timerid",(char *) "interval", NULL
5949 };
5950
5951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TimerEvent",kwnames,&arg1,&arg2)) goto fail;
5952 {
5953 PyThreadState* __tstate = wxPyBeginAllowThreads();
5954 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
5955
5956 wxPyEndAllowThreads(__tstate);
5957 if (PyErr_Occurred()) SWIG_fail;
5958 }
5959 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerEvent, 1);
5960 return resultobj;
5961 fail:
5962 return NULL;
5963}
5964
5965
5966static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5967 PyObject *resultobj;
5968 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
5969 int result;
5970 PyObject * obj0 = 0 ;
5971 char *kwnames[] = {
5972 (char *) "self", NULL
5973 };
5974
5975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
5976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5977 {
5978 PyThreadState* __tstate = wxPyBeginAllowThreads();
5979 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
5980
5981 wxPyEndAllowThreads(__tstate);
5982 if (PyErr_Occurred()) SWIG_fail;
5983 }
5984 resultobj = PyInt_FromLong((long)result);
5985 return resultobj;
5986 fail:
5987 return NULL;
5988}
5989
5990
5991static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
5992 PyObject *obj;
5993 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5994 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
5995 Py_INCREF(obj);
5996 return Py_BuildValue((char *)"");
5997}
5998static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
5999 PyObject *resultobj;
6000 wxTimer *arg1 = 0 ;
6001 wxTimerRunner *result;
6002 PyObject * obj0 = 0 ;
6003
6004 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
6005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6006 if (arg1 == NULL) {
6007 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6008 }
6009 {
6010 PyThreadState* __tstate = wxPyBeginAllowThreads();
6011 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6012
6013 wxPyEndAllowThreads(__tstate);
6014 if (PyErr_Occurred()) SWIG_fail;
6015 }
6016 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6017 return resultobj;
6018 fail:
6019 return NULL;
6020}
6021
6022
6023static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
6024 PyObject *resultobj;
6025 wxTimer *arg1 = 0 ;
6026 int arg2 ;
423f194a 6027 bool arg3 = (bool) False ;
d14a1e28
RD
6028 wxTimerRunner *result;
6029 PyObject * obj0 = 0 ;
6030 PyObject * obj2 = 0 ;
6031
6032 if(!PyArg_ParseTuple(args,(char *)"Oi|O:new_TimerRunner",&obj0,&arg2,&obj2)) goto fail;
6033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6034 if (arg1 == NULL) {
6035 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6036 }
6037 if (obj2) {
6038 arg3 = PyInt_AsLong(obj2) ? true : false;
6039 if (PyErr_Occurred()) SWIG_fail;
6040 }
6041 {
6042 PyThreadState* __tstate = wxPyBeginAllowThreads();
6043 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6044
6045 wxPyEndAllowThreads(__tstate);
6046 if (PyErr_Occurred()) SWIG_fail;
6047 }
6048 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6049 return resultobj;
6050 fail:
6051 return NULL;
6052}
6053
6054
6055static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6056 int argc;
6057 PyObject *argv[4];
6058 int ii;
6059
6060 argc = PyObject_Length(args);
6061 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6062 argv[ii] = PyTuple_GetItem(args,ii);
6063 }
6064 if (argc == 1) {
6065 int _v;
6066 {
6067 void *ptr;
6068 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6069 _v = 0;
6070 PyErr_Clear();
6071 } else {
6072 _v = 1;
6073 }
6074 }
6075 if (_v) {
6076 return _wrap_new_TimerRunner__SWIG_0(self,args);
6077 }
6078 }
6079 if ((argc >= 2) && (argc <= 3)) {
6080 int _v;
6081 {
6082 void *ptr;
6083 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6084 _v = 0;
6085 PyErr_Clear();
6086 } else {
6087 _v = 1;
6088 }
6089 }
6090 if (_v) {
6091 {
6092 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6093 }
6094 if (_v) {
6095 if (argc <= 2) {
6096 return _wrap_new_TimerRunner__SWIG_1(self,args);
6097 }
6098 {
6099 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
6100 }
6101 if (_v) {
6102 return _wrap_new_TimerRunner__SWIG_1(self,args);
6103 }
6104 }
6105 }
6106 }
6107
6108 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6109 return NULL;
6110}
6111
6112
6113static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6114 PyObject *resultobj;
6115 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6116 PyObject * obj0 = 0 ;
6117 char *kwnames[] = {
6118 (char *) "self", NULL
6119 };
6120
6121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6123 {
6124 PyThreadState* __tstate = wxPyBeginAllowThreads();
6125 delete arg1;
6126
6127 wxPyEndAllowThreads(__tstate);
6128 if (PyErr_Occurred()) SWIG_fail;
6129 }
6130 Py_INCREF(Py_None); resultobj = Py_None;
6131 return resultobj;
6132 fail:
6133 return NULL;
6134}
6135
6136
6137static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6138 PyObject *resultobj;
6139 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6140 int arg2 ;
423f194a 6141 bool arg3 = (bool) False ;
d14a1e28
RD
6142 PyObject * obj0 = 0 ;
6143 PyObject * obj2 = 0 ;
6144 char *kwnames[] = {
6145 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6146 };
6147
6148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:TimerRunner_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
6149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6150 if (obj2) {
6151 arg3 = PyInt_AsLong(obj2) ? true : false;
6152 if (PyErr_Occurred()) SWIG_fail;
6153 }
6154 {
6155 PyThreadState* __tstate = wxPyBeginAllowThreads();
6156 (arg1)->Start(arg2,arg3);
6157
6158 wxPyEndAllowThreads(__tstate);
6159 if (PyErr_Occurred()) SWIG_fail;
6160 }
6161 Py_INCREF(Py_None); resultobj = Py_None;
6162 return resultobj;
6163 fail:
6164 return NULL;
6165}
6166
6167
6168static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6169 PyObject *obj;
6170 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6171 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6172 Py_INCREF(obj);
6173 return Py_BuildValue((char *)"");
6174}
6175static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6176 PyObject *resultobj;
6177 wxLog *result;
6178 char *kwnames[] = {
6179 NULL
6180 };
6181
6182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6183 {
6184 PyThreadState* __tstate = wxPyBeginAllowThreads();
6185 result = (wxLog *)new wxLog();
6186
6187 wxPyEndAllowThreads(__tstate);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 }
6190 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 1);
6191 return resultobj;
6192 fail:
6193 return NULL;
6194}
6195
6196
6197static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6198 PyObject *resultobj;
6199 bool result;
6200 char *kwnames[] = {
6201 NULL
6202 };
6203
6204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6205 {
6206 PyThreadState* __tstate = wxPyBeginAllowThreads();
6207 result = (bool)wxLog::IsEnabled();
6208
6209 wxPyEndAllowThreads(__tstate);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
6212 resultobj = PyInt_FromLong((long)result);
6213 return resultobj;
6214 fail:
6215 return NULL;
6216}
6217
6218
6219static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6220 PyObject *resultobj;
423f194a 6221 bool arg1 = (bool) True ;
d14a1e28
RD
6222 bool result;
6223 PyObject * obj0 = 0 ;
6224 char *kwnames[] = {
6225 (char *) "doIt", NULL
6226 };
6227
6228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6229 if (obj0) {
6230 arg1 = PyInt_AsLong(obj0) ? true : false;
6231 if (PyErr_Occurred()) SWIG_fail;
6232 }
6233 {
6234 PyThreadState* __tstate = wxPyBeginAllowThreads();
6235 result = (bool)wxLog::EnableLogging(arg1);
6236
6237 wxPyEndAllowThreads(__tstate);
6238 if (PyErr_Occurred()) SWIG_fail;
6239 }
6240 resultobj = PyInt_FromLong((long)result);
6241 return resultobj;
6242 fail:
6243 return NULL;
6244}
6245
6246
6247static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6248 PyObject *resultobj;
6249 wxLogLevel arg1 ;
6250 wxChar *arg2 = (wxChar *) 0 ;
6251 time_t arg3 ;
6252 PyObject * obj0 = 0 ;
6253 PyObject * obj1 = 0 ;
6254 PyObject * obj2 = 0 ;
6255 char *kwnames[] = {
6256 (char *) "level",(char *) "szString",(char *) "t", NULL
6257 };
6258
6259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
6260 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6261 if (PyErr_Occurred()) SWIG_fail;
6262 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6263 arg3 = (time_t) PyInt_AsLong(obj2);
6264 if (PyErr_Occurred()) SWIG_fail;
6265 {
6266 PyThreadState* __tstate = wxPyBeginAllowThreads();
6267 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6268
6269 wxPyEndAllowThreads(__tstate);
6270 if (PyErr_Occurred()) SWIG_fail;
6271 }
6272 Py_INCREF(Py_None); resultobj = Py_None;
6273 return resultobj;
6274 fail:
6275 return NULL;
6276}
6277
6278
6279static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6280 PyObject *resultobj;
6281 wxLog *arg1 = (wxLog *) 0 ;
6282 PyObject * obj0 = 0 ;
6283 char *kwnames[] = {
6284 (char *) "self", NULL
6285 };
6286
6287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6289 {
6290 PyThreadState* __tstate = wxPyBeginAllowThreads();
6291 (arg1)->Flush();
6292
6293 wxPyEndAllowThreads(__tstate);
6294 if (PyErr_Occurred()) SWIG_fail;
6295 }
6296 Py_INCREF(Py_None); resultobj = Py_None;
6297 return resultobj;
6298 fail:
6299 return NULL;
6300}
6301
6302
6303static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6304 PyObject *resultobj;
6305 char *kwnames[] = {
6306 NULL
6307 };
6308
6309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6310 {
6311 PyThreadState* __tstate = wxPyBeginAllowThreads();
6312 wxLog::FlushActive();
6313
6314 wxPyEndAllowThreads(__tstate);
6315 if (PyErr_Occurred()) SWIG_fail;
6316 }
6317 Py_INCREF(Py_None); resultobj = Py_None;
6318 return resultobj;
6319 fail:
6320 return NULL;
6321}
6322
6323
6324static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6325 PyObject *resultobj;
6326 wxLog *result;
6327 char *kwnames[] = {
6328 NULL
6329 };
6330
6331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6332 {
6333 PyThreadState* __tstate = wxPyBeginAllowThreads();
6334 result = (wxLog *)wxLog::GetActiveTarget();
6335
6336 wxPyEndAllowThreads(__tstate);
6337 if (PyErr_Occurred()) SWIG_fail;
6338 }
6339 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6340 return resultobj;
6341 fail:
6342 return NULL;
6343}
6344
6345
6346static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6347 PyObject *resultobj;
6348 wxLog *arg1 = (wxLog *) 0 ;
6349 wxLog *result;
6350 PyObject * obj0 = 0 ;
6351 char *kwnames[] = {
6352 (char *) "pLogger", NULL
6353 };
6354
6355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
6356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6357 {
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 result = (wxLog *)wxLog::SetActiveTarget(arg1);
6360
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 }
6364 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6365 return resultobj;
6366 fail:
6367 return NULL;
6368}
6369
6370
6371static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
6372 PyObject *resultobj;
6373 char *kwnames[] = {
6374 NULL
6375 };
6376
6377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
6378 {
6379 PyThreadState* __tstate = wxPyBeginAllowThreads();
6380 wxLog::Suspend();
6381
6382 wxPyEndAllowThreads(__tstate);
6383 if (PyErr_Occurred()) SWIG_fail;
6384 }
6385 Py_INCREF(Py_None); resultobj = Py_None;
6386 return resultobj;
6387 fail:
6388 return NULL;
6389}
6390
6391
6392static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
6393 PyObject *resultobj;
6394 char *kwnames[] = {
6395 NULL
6396 };
6397
6398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
6399 {
6400 PyThreadState* __tstate = wxPyBeginAllowThreads();
6401 wxLog::Resume();
6402
6403 wxPyEndAllowThreads(__tstate);
6404 if (PyErr_Occurred()) SWIG_fail;
6405 }
6406 Py_INCREF(Py_None); resultobj = Py_None;
6407 return resultobj;
6408 fail:
6409 return NULL;
6410}
6411
6412
6413static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6414 PyObject *resultobj;
423f194a 6415 bool arg1 = (bool) True ;
d14a1e28
RD
6416 PyObject * obj0 = 0 ;
6417 char *kwnames[] = {
6418 (char *) "bVerbose", NULL
6419 };
6420
6421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
6422 if (obj0) {
6423 arg1 = PyInt_AsLong(obj0) ? true : false;
6424 if (PyErr_Occurred()) SWIG_fail;
6425 }
6426 {
6427 PyThreadState* __tstate = wxPyBeginAllowThreads();
6428 wxLog::SetVerbose(arg1);
6429
6430 wxPyEndAllowThreads(__tstate);
6431 if (PyErr_Occurred()) SWIG_fail;
6432 }
6433 Py_INCREF(Py_None); resultobj = Py_None;
6434 return resultobj;
6435 fail:
6436 return NULL;
6437}
6438
6439
6440static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6441 PyObject *resultobj;
6442 wxLogLevel arg1 ;
6443 PyObject * obj0 = 0 ;
6444 char *kwnames[] = {
6445 (char *) "logLevel", NULL
6446 };
6447
6448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
6449 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6450 if (PyErr_Occurred()) SWIG_fail;
6451 {
6452 PyThreadState* __tstate = wxPyBeginAllowThreads();
6453 wxLog::SetLogLevel(arg1);
6454
6455 wxPyEndAllowThreads(__tstate);
6456 if (PyErr_Occurred()) SWIG_fail;
6457 }
6458 Py_INCREF(Py_None); resultobj = Py_None;
6459 return resultobj;
6460 fail:
6461 return NULL;
6462}
6463
6464
6465static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
6466 PyObject *resultobj;
6467 char *kwnames[] = {
6468 NULL
6469 };
6470
6471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
6472 {
6473 PyThreadState* __tstate = wxPyBeginAllowThreads();
6474 wxLog::DontCreateOnDemand();
6475
6476 wxPyEndAllowThreads(__tstate);
6477 if (PyErr_Occurred()) SWIG_fail;
6478 }
6479 Py_INCREF(Py_None); resultobj = Py_None;
6480 return resultobj;
6481 fail:
6482 return NULL;
6483}
6484
6485
6486static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6487 PyObject *resultobj;
6488 wxTraceMask arg1 ;
6489 PyObject * obj0 = 0 ;
6490 char *kwnames[] = {
6491 (char *) "ulMask", NULL
6492 };
6493
6494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
6495 arg1 = (wxTraceMask) PyInt_AsLong(obj0);
6496 if (PyErr_Occurred()) SWIG_fail;
6497 {
6498 PyThreadState* __tstate = wxPyBeginAllowThreads();
6499 wxLog::SetTraceMask(arg1);
6500
6501 wxPyEndAllowThreads(__tstate);
6502 if (PyErr_Occurred()) SWIG_fail;
6503 }
6504 Py_INCREF(Py_None); resultobj = Py_None;
6505 return resultobj;
6506 fail:
6507 return NULL;
6508}
6509
6510
6511static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6512 PyObject *resultobj;
6513 wxString *arg1 = 0 ;
423f194a 6514 bool temp1 = False ;
d14a1e28
RD
6515 PyObject * obj0 = 0 ;
6516 char *kwnames[] = {
6517 (char *) "str", NULL
6518 };
6519
6520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
6521 {
6522 arg1 = wxString_in_helper(obj0);
6523 if (arg1 == NULL) SWIG_fail;
423f194a 6524 temp1 = True;
d14a1e28
RD
6525 }
6526 {
6527 PyThreadState* __tstate = wxPyBeginAllowThreads();
6528 wxLog::AddTraceMask((wxString const &)*arg1);
6529
6530 wxPyEndAllowThreads(__tstate);
6531 if (PyErr_Occurred()) SWIG_fail;
6532 }
6533 Py_INCREF(Py_None); resultobj = Py_None;
6534 {
6535 if (temp1)
6536 delete arg1;
6537 }
6538 return resultobj;
6539 fail:
6540 {
6541 if (temp1)
6542 delete arg1;
6543 }
6544 return NULL;
6545}
6546
6547
6548static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6549 PyObject *resultobj;
6550 wxString *arg1 = 0 ;
423f194a 6551 bool temp1 = False ;
d14a1e28
RD
6552 PyObject * obj0 = 0 ;
6553 char *kwnames[] = {
6554 (char *) "str", NULL
6555 };
6556
6557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
6558 {
6559 arg1 = wxString_in_helper(obj0);
6560 if (arg1 == NULL) SWIG_fail;
423f194a 6561 temp1 = True;
d14a1e28
RD
6562 }
6563 {
6564 PyThreadState* __tstate = wxPyBeginAllowThreads();
6565 wxLog::RemoveTraceMask((wxString const &)*arg1);
6566
6567 wxPyEndAllowThreads(__tstate);
6568 if (PyErr_Occurred()) SWIG_fail;
6569 }
6570 Py_INCREF(Py_None); resultobj = Py_None;
6571 {
6572 if (temp1)
6573 delete arg1;
6574 }
6575 return resultobj;
6576 fail:
6577 {
6578 if (temp1)
6579 delete arg1;
6580 }
6581 return NULL;
6582}
6583
6584
6585static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6586 PyObject *resultobj;
6587 char *kwnames[] = {
6588 NULL
6589 };
6590
6591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
6592 {
6593 PyThreadState* __tstate = wxPyBeginAllowThreads();
6594 wxLog::ClearTraceMasks();
6595
6596 wxPyEndAllowThreads(__tstate);
6597 if (PyErr_Occurred()) SWIG_fail;
6598 }
6599 Py_INCREF(Py_None); resultobj = Py_None;
6600 return resultobj;
6601 fail:
6602 return NULL;
6603}
6604
6605
6606static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6607 PyObject *resultobj;
6608 wxArrayString *result;
6609 char *kwnames[] = {
6610 NULL
6611 };
6612
6613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
6614 {
6615 PyThreadState* __tstate = wxPyBeginAllowThreads();
6616 {
6617 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
6618 result = (wxArrayString *) &_result_ref;
6619 }
6620
6621 wxPyEndAllowThreads(__tstate);
6622 if (PyErr_Occurred()) SWIG_fail;
6623 }
6624 {
6625 resultobj = wxArrayString2PyList_helper(*result);
6626 }
6627 return resultobj;
6628 fail:
6629 return NULL;
6630}
6631
6632
6633static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6634 PyObject *resultobj;
6635 wxChar *arg1 = (wxChar *) 0 ;
6636 PyObject * obj0 = 0 ;
6637 char *kwnames[] = {
6638 (char *) "ts", NULL
6639 };
6640
6641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
6642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6643 {
6644 PyThreadState* __tstate = wxPyBeginAllowThreads();
6645 wxLog::SetTimestamp((wxChar const *)arg1);
6646
6647 wxPyEndAllowThreads(__tstate);
6648 if (PyErr_Occurred()) SWIG_fail;
6649 }
6650 Py_INCREF(Py_None); resultobj = Py_None;
6651 return resultobj;
6652 fail:
6653 return NULL;
6654}
6655
6656
6657static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6658 PyObject *resultobj;
6659 bool result;
6660 char *kwnames[] = {
6661 NULL
6662 };
6663
6664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
6665 {
6666 PyThreadState* __tstate = wxPyBeginAllowThreads();
6667 result = (bool)wxLog::GetVerbose();
6668
6669 wxPyEndAllowThreads(__tstate);
6670 if (PyErr_Occurred()) SWIG_fail;
6671 }
6672 resultobj = PyInt_FromLong((long)result);
6673 return resultobj;
6674 fail:
6675 return NULL;
6676}
6677
6678
6679static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6680 PyObject *resultobj;
6681 wxTraceMask result;
6682 char *kwnames[] = {
6683 NULL
6684 };
6685
6686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
6687 {
6688 PyThreadState* __tstate = wxPyBeginAllowThreads();
6689 result = (wxTraceMask)wxLog::GetTraceMask();
6690
6691 wxPyEndAllowThreads(__tstate);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
6694 resultobj = PyInt_FromLong((long)result);
6695 return resultobj;
6696 fail:
6697 return NULL;
6698}
6699
6700
6701static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6702 PyObject *resultobj;
6703 wxChar *arg1 = (wxChar *) 0 ;
6704 bool result;
6705 PyObject * obj0 = 0 ;
6706 char *kwnames[] = {
6707 (char *) "mask", NULL
6708 };
6709
6710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
6711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6712 {
6713 PyThreadState* __tstate = wxPyBeginAllowThreads();
6714 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
6715
6716 wxPyEndAllowThreads(__tstate);
6717 if (PyErr_Occurred()) SWIG_fail;
6718 }
6719 resultobj = PyInt_FromLong((long)result);
6720 return resultobj;
6721 fail:
6722 return NULL;
6723}
6724
6725
6726static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6727 PyObject *resultobj;
6728 wxLogLevel result;
6729 char *kwnames[] = {
6730 NULL
6731 };
6732
6733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
6734 {
6735 PyThreadState* __tstate = wxPyBeginAllowThreads();
6736 result = (wxLogLevel)wxLog::GetLogLevel();
6737
6738 wxPyEndAllowThreads(__tstate);
6739 if (PyErr_Occurred()) SWIG_fail;
6740 }
6741 resultobj = PyInt_FromLong((long)result);
6742 return resultobj;
6743 fail:
6744 return NULL;
6745}
6746
6747
6748static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6749 PyObject *resultobj;
6750 wxChar *result;
6751 char *kwnames[] = {
6752 NULL
6753 };
6754
6755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
6756 {
6757 PyThreadState* __tstate = wxPyBeginAllowThreads();
6758 result = (wxChar *)wxLog::GetTimestamp();
6759
6760 wxPyEndAllowThreads(__tstate);
6761 if (PyErr_Occurred()) SWIG_fail;
6762 }
6763 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChar, 0);
6764 return resultobj;
6765 fail:
6766 return NULL;
6767}
6768
6769
6770static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6771 PyObject *resultobj;
6772 wxString result;
6773 char *kwnames[] = {
6774 NULL
6775 };
6776
6777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
6778 {
6779 PyThreadState* __tstate = wxPyBeginAllowThreads();
6780 result = Log_TimeStamp();
6781
6782 wxPyEndAllowThreads(__tstate);
6783 if (PyErr_Occurred()) SWIG_fail;
6784 }
6785 {
6786#if wxUSE_UNICODE
6787 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6788#else
6789 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6790#endif
6791 }
6792 return resultobj;
6793 fail:
6794 return NULL;
6795}
6796
6797
6798static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6799 PyObject *resultobj;
6800 wxLog *arg1 = (wxLog *) 0 ;
6801 PyObject * obj0 = 0 ;
6802 char *kwnames[] = {
6803 (char *) "self", NULL
6804 };
6805
6806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
6807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6808 {
6809 PyThreadState* __tstate = wxPyBeginAllowThreads();
6810 wxLog_Destroy(arg1);
6811
6812 wxPyEndAllowThreads(__tstate);
6813 if (PyErr_Occurred()) SWIG_fail;
6814 }
6815 Py_INCREF(Py_None); resultobj = Py_None;
6816 return resultobj;
6817 fail:
6818 return NULL;
6819}
6820
6821
6822static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
6823 PyObject *obj;
6824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6825 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
6826 Py_INCREF(obj);
6827 return Py_BuildValue((char *)"");
6828}
6829static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
6830 PyObject *resultobj;
6831 wxLogStderr *result;
6832 char *kwnames[] = {
6833 NULL
6834 };
6835
6836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
6837 {
6838 PyThreadState* __tstate = wxPyBeginAllowThreads();
6839 result = (wxLogStderr *)new wxLogStderr();
6840
6841 wxPyEndAllowThreads(__tstate);
6842 if (PyErr_Occurred()) SWIG_fail;
6843 }
6844 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogStderr, 1);
6845 return resultobj;
6846 fail:
6847 return NULL;
6848}
6849
6850
6851static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
6852 PyObject *obj;
6853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6854 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
6855 Py_INCREF(obj);
6856 return Py_BuildValue((char *)"");
6857}
6858static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6859 PyObject *resultobj;
6860 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6861 wxLogTextCtrl *result;
6862 PyObject * obj0 = 0 ;
6863 char *kwnames[] = {
6864 (char *) "pTextCtrl", NULL
6865 };
6866
6867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
6868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6869 {
6870 PyThreadState* __tstate = wxPyBeginAllowThreads();
6871 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
6872
6873 wxPyEndAllowThreads(__tstate);
6874 if (PyErr_Occurred()) SWIG_fail;
6875 }
6876 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogTextCtrl, 1);
6877 return resultobj;
6878 fail:
6879 return NULL;
6880}
6881
6882
6883static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
6884 PyObject *obj;
6885 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6886 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
6887 Py_INCREF(obj);
6888 return Py_BuildValue((char *)"");
6889}
6890static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
6891 PyObject *resultobj;
6892 wxLogGui *result;
6893 char *kwnames[] = {
6894 NULL
6895 };
6896
6897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
6898 {
6899 PyThreadState* __tstate = wxPyBeginAllowThreads();
6900 result = (wxLogGui *)new wxLogGui();
6901
6902 wxPyEndAllowThreads(__tstate);
6903 if (PyErr_Occurred()) SWIG_fail;
6904 }
6905 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogGui, 1);
6906 return resultobj;
6907 fail:
6908 return NULL;
6909}
6910
6911
6912static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
6913 PyObject *obj;
6914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6915 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
6916 Py_INCREF(obj);
6917 return Py_BuildValue((char *)"");
6918}
6919static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6920 PyObject *resultobj;
6921 wxFrame *arg1 = (wxFrame *) 0 ;
6922 wxString *arg2 = 0 ;
423f194a
RD
6923 bool arg3 = (bool) True ;
6924 bool arg4 = (bool) True ;
d14a1e28 6925 wxLogWindow *result;
423f194a 6926 bool temp2 = False ;
d14a1e28
RD
6927 PyObject * obj0 = 0 ;
6928 PyObject * obj1 = 0 ;
6929 PyObject * obj2 = 0 ;
6930 PyObject * obj3 = 0 ;
6931 char *kwnames[] = {
6932 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
6933 };
6934
6935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6937 {
6938 arg2 = wxString_in_helper(obj1);
6939 if (arg2 == NULL) SWIG_fail;
423f194a 6940 temp2 = True;
d14a1e28
RD
6941 }
6942 if (obj2) {
6943 arg3 = PyInt_AsLong(obj2) ? true : false;
6944 if (PyErr_Occurred()) SWIG_fail;
6945 }
6946 if (obj3) {
6947 arg4 = PyInt_AsLong(obj3) ? true : false;
6948 if (PyErr_Occurred()) SWIG_fail;
6949 }
6950 {
6951 PyThreadState* __tstate = wxPyBeginAllowThreads();
6952 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
6953
6954 wxPyEndAllowThreads(__tstate);
6955 if (PyErr_Occurred()) SWIG_fail;
6956 }
6957 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogWindow, 1);
6958 {
6959 if (temp2)
6960 delete arg2;
6961 }
6962 return resultobj;
6963 fail:
6964 {
6965 if (temp2)
6966 delete arg2;
6967 }
6968 return NULL;
6969}
6970
6971
6972static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
6973 PyObject *resultobj;
6974 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
423f194a 6975 bool arg2 = (bool) True ;
d14a1e28
RD
6976 PyObject * obj0 = 0 ;
6977 PyObject * obj1 = 0 ;
6978 char *kwnames[] = {
6979 (char *) "self",(char *) "bShow", NULL
6980 };
6981
6982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
6983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6984 if (obj1) {
6985 arg2 = PyInt_AsLong(obj1) ? true : false;
6986 if (PyErr_Occurred()) SWIG_fail;
6987 }
6988 {
6989 PyThreadState* __tstate = wxPyBeginAllowThreads();
6990 (arg1)->Show(arg2);
6991
6992 wxPyEndAllowThreads(__tstate);
6993 if (PyErr_Occurred()) SWIG_fail;
6994 }
6995 Py_INCREF(Py_None); resultobj = Py_None;
6996 return resultobj;
6997 fail:
6998 return NULL;
6999}
7000
7001
7002static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7003 PyObject *resultobj;
7004 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7005 wxFrame *result;
7006 PyObject * obj0 = 0 ;
7007 char *kwnames[] = {
7008 (char *) "self", NULL
7009 };
7010
7011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
7012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7013 {
7014 PyThreadState* __tstate = wxPyBeginAllowThreads();
7015 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7016
7017 wxPyEndAllowThreads(__tstate);
7018 if (PyErr_Occurred()) SWIG_fail;
7019 }
7020 {
7021 resultobj = wxPyMake_wxObject(result);
7022 }
7023 return resultobj;
7024 fail:
7025 return NULL;
7026}
7027
7028
7029static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7030 PyObject *resultobj;
7031 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7032 wxLog *result;
7033 PyObject * obj0 = 0 ;
7034 char *kwnames[] = {
7035 (char *) "self", NULL
7036 };
7037
7038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7040 {
7041 PyThreadState* __tstate = wxPyBeginAllowThreads();
7042 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7043
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7048 return resultobj;
7049 fail:
7050 return NULL;
7051}
7052
7053
7054static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7055 PyObject *resultobj;
7056 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7057 bool result;
7058 PyObject * obj0 = 0 ;
7059 char *kwnames[] = {
7060 (char *) "self", NULL
7061 };
7062
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
7064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7065 {
7066 PyThreadState* __tstate = wxPyBeginAllowThreads();
7067 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7068
7069 wxPyEndAllowThreads(__tstate);
7070 if (PyErr_Occurred()) SWIG_fail;
7071 }
7072 resultobj = PyInt_FromLong((long)result);
7073 return resultobj;
7074 fail:
7075 return NULL;
7076}
7077
7078
7079static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7080 PyObject *resultobj;
7081 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7082 bool arg2 ;
7083 PyObject * obj0 = 0 ;
7084 PyObject * obj1 = 0 ;
7085 char *kwnames[] = {
7086 (char *) "self",(char *) "bDoPass", NULL
7087 };
7088
7089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7091 arg2 = PyInt_AsLong(obj1) ? true : false;
7092 if (PyErr_Occurred()) SWIG_fail;
7093 {
7094 PyThreadState* __tstate = wxPyBeginAllowThreads();
7095 (arg1)->PassMessages(arg2);
7096
7097 wxPyEndAllowThreads(__tstate);
7098 if (PyErr_Occurred()) SWIG_fail;
7099 }
7100 Py_INCREF(Py_None); resultobj = Py_None;
7101 return resultobj;
7102 fail:
7103 return NULL;
7104}
7105
7106
7107static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7108 PyObject *obj;
7109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7110 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7111 Py_INCREF(obj);
7112 return Py_BuildValue((char *)"");
7113}
7114static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7115 PyObject *resultobj;
7116 wxLog *arg1 = (wxLog *) 0 ;
7117 wxLogChain *result;
7118 PyObject * obj0 = 0 ;
7119 char *kwnames[] = {
7120 (char *) "logger", NULL
7121 };
7122
7123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7125 {
7126 PyThreadState* __tstate = wxPyBeginAllowThreads();
7127 result = (wxLogChain *)new wxLogChain(arg1);
7128
7129 wxPyEndAllowThreads(__tstate);
7130 if (PyErr_Occurred()) SWIG_fail;
7131 }
7132 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogChain, 1);
7133 return resultobj;
7134 fail:
7135 return NULL;
7136}
7137
7138
7139static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7140 PyObject *resultobj;
7141 wxLogChain *arg1 = (wxLogChain *) 0 ;
7142 wxLog *arg2 = (wxLog *) 0 ;
7143 PyObject * obj0 = 0 ;
7144 PyObject * obj1 = 0 ;
7145 char *kwnames[] = {
7146 (char *) "self",(char *) "logger", NULL
7147 };
7148
7149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7151 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7152 {
7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
7154 (arg1)->SetLog(arg2);
7155
7156 wxPyEndAllowThreads(__tstate);
7157 if (PyErr_Occurred()) SWIG_fail;
7158 }
7159 Py_INCREF(Py_None); resultobj = Py_None;
7160 return resultobj;
7161 fail:
7162 return NULL;
7163}
7164
7165
7166static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7167 PyObject *resultobj;
7168 wxLogChain *arg1 = (wxLogChain *) 0 ;
7169 bool arg2 ;
7170 PyObject * obj0 = 0 ;
7171 PyObject * obj1 = 0 ;
7172 char *kwnames[] = {
7173 (char *) "self",(char *) "bDoPass", NULL
7174 };
7175
7176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7178 arg2 = PyInt_AsLong(obj1) ? true : false;
7179 if (PyErr_Occurred()) SWIG_fail;
7180 {
7181 PyThreadState* __tstate = wxPyBeginAllowThreads();
7182 (arg1)->PassMessages(arg2);
7183
7184 wxPyEndAllowThreads(__tstate);
7185 if (PyErr_Occurred()) SWIG_fail;
7186 }
7187 Py_INCREF(Py_None); resultobj = Py_None;
7188 return resultobj;
7189 fail:
7190 return NULL;
7191}
7192
7193
7194static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7195 PyObject *resultobj;
7196 wxLogChain *arg1 = (wxLogChain *) 0 ;
7197 bool result;
7198 PyObject * obj0 = 0 ;
7199 char *kwnames[] = {
7200 (char *) "self", NULL
7201 };
7202
7203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7205 {
7206 PyThreadState* __tstate = wxPyBeginAllowThreads();
7207 result = (bool)(arg1)->IsPassingMessages();
7208
7209 wxPyEndAllowThreads(__tstate);
7210 if (PyErr_Occurred()) SWIG_fail;
7211 }
7212 resultobj = PyInt_FromLong((long)result);
7213 return resultobj;
7214 fail:
7215 return NULL;
7216}
7217
7218
7219static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7220 PyObject *resultobj;
7221 wxLogChain *arg1 = (wxLogChain *) 0 ;
7222 wxLog *result;
7223 PyObject * obj0 = 0 ;
7224 char *kwnames[] = {
7225 (char *) "self", NULL
7226 };
7227
7228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7230 {
7231 PyThreadState* __tstate = wxPyBeginAllowThreads();
7232 result = (wxLog *)(arg1)->GetOldLog();
7233
7234 wxPyEndAllowThreads(__tstate);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 }
7237 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7238 return resultobj;
7239 fail:
7240 return NULL;
7241}
7242
7243
7244static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7245 PyObject *obj;
7246 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7247 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7248 Py_INCREF(obj);
7249 return Py_BuildValue((char *)"");
7250}
7251static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7252 PyObject *resultobj;
7253 unsigned long result;
7254 char *kwnames[] = {
7255 NULL
7256 };
7257
7258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7259 {
7260 PyThreadState* __tstate = wxPyBeginAllowThreads();
7261 result = (unsigned long)wxSysErrorCode();
7262
7263 wxPyEndAllowThreads(__tstate);
7264 if (PyErr_Occurred()) SWIG_fail;
7265 }
7266 resultobj = PyInt_FromLong((long)result);
7267 return resultobj;
7268 fail:
7269 return NULL;
7270}
7271
7272
7273static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7274 PyObject *resultobj;
7275 unsigned long arg1 = (unsigned long) 0 ;
7276 wxString result;
7277 PyObject * obj0 = 0 ;
7278 char *kwnames[] = {
7279 (char *) "nErrCode", NULL
7280 };
7281
7282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7283 if (obj0) {
7284 arg1 = (unsigned long) PyInt_AsLong(obj0);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 }
7287 {
7288 PyThreadState* __tstate = wxPyBeginAllowThreads();
7289 result = wxSysErrorMsg(arg1);
7290
7291 wxPyEndAllowThreads(__tstate);
7292 if (PyErr_Occurred()) SWIG_fail;
7293 }
7294 {
7295#if wxUSE_UNICODE
7296 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7297#else
7298 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7299#endif
7300 }
7301 return resultobj;
7302 fail:
7303 return NULL;
7304}
7305
7306
7307static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
7308 PyObject *resultobj;
7309 wxString *arg1 = 0 ;
423f194a 7310 bool temp1 = False ;
d14a1e28
RD
7311 PyObject * obj0 = 0 ;
7312 char *kwnames[] = {
7313 (char *) "msg", NULL
7314 };
7315
7316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7317 {
7318 arg1 = wxString_in_helper(obj0);
7319 if (arg1 == NULL) SWIG_fail;
423f194a 7320 temp1 = True;
d14a1e28
RD
7321 }
7322 {
7323 PyThreadState* __tstate = wxPyBeginAllowThreads();
7324 wxLogFatalError((wxString const &)*arg1);
7325
7326 wxPyEndAllowThreads(__tstate);
7327 if (PyErr_Occurred()) SWIG_fail;
7328 }
7329 Py_INCREF(Py_None); resultobj = Py_None;
7330 {
7331 if (temp1)
7332 delete arg1;
7333 }
7334 return resultobj;
7335 fail:
7336 {
7337 if (temp1)
7338 delete arg1;
7339 }
7340 return NULL;
7341}
7342
7343
7344static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
7345 PyObject *resultobj;
7346 wxString *arg1 = 0 ;
423f194a 7347 bool temp1 = False ;
d14a1e28
RD
7348 PyObject * obj0 = 0 ;
7349 char *kwnames[] = {
7350 (char *) "msg", NULL
7351 };
7352
7353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
7354 {
7355 arg1 = wxString_in_helper(obj0);
7356 if (arg1 == NULL) SWIG_fail;
423f194a 7357 temp1 = True;
d14a1e28
RD
7358 }
7359 {
7360 PyThreadState* __tstate = wxPyBeginAllowThreads();
7361 wxLogError((wxString const &)*arg1);
7362
7363 wxPyEndAllowThreads(__tstate);
7364 if (PyErr_Occurred()) SWIG_fail;
7365 }
7366 Py_INCREF(Py_None); resultobj = Py_None;
7367 {
7368 if (temp1)
7369 delete arg1;
7370 }
7371 return resultobj;
7372 fail:
7373 {
7374 if (temp1)
7375 delete arg1;
7376 }
7377 return NULL;
7378}
7379
7380
7381static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
7382 PyObject *resultobj;
7383 wxString *arg1 = 0 ;
423f194a 7384 bool temp1 = False ;
d14a1e28
RD
7385 PyObject * obj0 = 0 ;
7386 char *kwnames[] = {
7387 (char *) "msg", NULL
7388 };
7389
7390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
7391 {
7392 arg1 = wxString_in_helper(obj0);
7393 if (arg1 == NULL) SWIG_fail;
423f194a 7394 temp1 = True;
d14a1e28
RD
7395 }
7396 {
7397 PyThreadState* __tstate = wxPyBeginAllowThreads();
7398 wxLogWarning((wxString const &)*arg1);
7399
7400 wxPyEndAllowThreads(__tstate);
7401 if (PyErr_Occurred()) SWIG_fail;
7402 }
7403 Py_INCREF(Py_None); resultobj = Py_None;
7404 {
7405 if (temp1)
7406 delete arg1;
7407 }
7408 return resultobj;
7409 fail:
7410 {
7411 if (temp1)
7412 delete arg1;
7413 }
7414 return NULL;
7415}
7416
7417
7418static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7419 PyObject *resultobj;
7420 wxString *arg1 = 0 ;
423f194a 7421 bool temp1 = False ;
d14a1e28
RD
7422 PyObject * obj0 = 0 ;
7423 char *kwnames[] = {
7424 (char *) "msg", NULL
7425 };
7426
7427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
7428 {
7429 arg1 = wxString_in_helper(obj0);
7430 if (arg1 == NULL) SWIG_fail;
423f194a 7431 temp1 = True;
d14a1e28
RD
7432 }
7433 {
7434 PyThreadState* __tstate = wxPyBeginAllowThreads();
7435 wxLogMessage((wxString const &)*arg1);
7436
7437 wxPyEndAllowThreads(__tstate);
7438 if (PyErr_Occurred()) SWIG_fail;
7439 }
7440 Py_INCREF(Py_None); resultobj = Py_None;
7441 {
7442 if (temp1)
7443 delete arg1;
7444 }
7445 return resultobj;
7446 fail:
7447 {
7448 if (temp1)
7449 delete arg1;
7450 }
7451 return NULL;
7452}
7453
7454
7455static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7456 PyObject *resultobj;
7457 wxString *arg1 = 0 ;
423f194a 7458 bool temp1 = False ;
d14a1e28
RD
7459 PyObject * obj0 = 0 ;
7460 char *kwnames[] = {
7461 (char *) "msg", NULL
7462 };
7463
7464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
7465 {
7466 arg1 = wxString_in_helper(obj0);
7467 if (arg1 == NULL) SWIG_fail;
423f194a 7468 temp1 = True;
d14a1e28
RD
7469 }
7470 {
7471 PyThreadState* __tstate = wxPyBeginAllowThreads();
7472 wxLogInfo((wxString const &)*arg1);
7473
7474 wxPyEndAllowThreads(__tstate);
7475 if (PyErr_Occurred()) SWIG_fail;
7476 }
7477 Py_INCREF(Py_None); resultobj = Py_None;
7478 {
7479 if (temp1)
7480 delete arg1;
7481 }
7482 return resultobj;
7483 fail:
7484 {
7485 if (temp1)
7486 delete arg1;
7487 }
7488 return NULL;
7489}
7490
7491
7492static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
7493 PyObject *resultobj;
7494 wxString *arg1 = 0 ;
423f194a 7495 bool temp1 = False ;
d14a1e28
RD
7496 PyObject * obj0 = 0 ;
7497 char *kwnames[] = {
7498 (char *) "msg", NULL
7499 };
7500
7501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
7502 {
7503 arg1 = wxString_in_helper(obj0);
7504 if (arg1 == NULL) SWIG_fail;
423f194a 7505 temp1 = True;
d14a1e28
RD
7506 }
7507 {
7508 PyThreadState* __tstate = wxPyBeginAllowThreads();
7509 wxLogDebug((wxString const &)*arg1);
7510
7511 wxPyEndAllowThreads(__tstate);
7512 if (PyErr_Occurred()) SWIG_fail;
7513 }
7514 Py_INCREF(Py_None); resultobj = Py_None;
7515 {
7516 if (temp1)
7517 delete arg1;
7518 }
7519 return resultobj;
7520 fail:
7521 {
7522 if (temp1)
7523 delete arg1;
7524 }
7525 return NULL;
7526}
7527
7528
7529static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7530 PyObject *resultobj;
7531 wxString *arg1 = 0 ;
423f194a 7532 bool temp1 = False ;
d14a1e28
RD
7533 PyObject * obj0 = 0 ;
7534 char *kwnames[] = {
7535 (char *) "msg", NULL
7536 };
7537
7538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
7539 {
7540 arg1 = wxString_in_helper(obj0);
7541 if (arg1 == NULL) SWIG_fail;
423f194a 7542 temp1 = True;
d14a1e28
RD
7543 }
7544 {
7545 PyThreadState* __tstate = wxPyBeginAllowThreads();
7546 wxLogVerbose((wxString const &)*arg1);
7547
7548 wxPyEndAllowThreads(__tstate);
7549 if (PyErr_Occurred()) SWIG_fail;
7550 }
7551 Py_INCREF(Py_None); resultobj = Py_None;
7552 {
7553 if (temp1)
7554 delete arg1;
7555 }
7556 return resultobj;
7557 fail:
7558 {
7559 if (temp1)
7560 delete arg1;
7561 }
7562 return NULL;
7563}
7564
7565
7566static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7567 PyObject *resultobj;
7568 wxString *arg1 = 0 ;
423f194a 7569 bool temp1 = False ;
d14a1e28
RD
7570 PyObject * obj0 = 0 ;
7571 char *kwnames[] = {
7572 (char *) "msg", NULL
7573 };
7574
7575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
7576 {
7577 arg1 = wxString_in_helper(obj0);
7578 if (arg1 == NULL) SWIG_fail;
423f194a 7579 temp1 = True;
d14a1e28
RD
7580 }
7581 {
7582 PyThreadState* __tstate = wxPyBeginAllowThreads();
7583 wxLogStatus((wxString const &)*arg1);
7584
7585 wxPyEndAllowThreads(__tstate);
7586 if (PyErr_Occurred()) SWIG_fail;
7587 }
7588 Py_INCREF(Py_None); resultobj = Py_None;
7589 {
7590 if (temp1)
7591 delete arg1;
7592 }
7593 return resultobj;
7594 fail:
7595 {
7596 if (temp1)
7597 delete arg1;
7598 }
7599 return NULL;
7600}
7601
7602
7603static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7604 PyObject *resultobj;
7605 wxFrame *arg1 = (wxFrame *) 0 ;
7606 wxString *arg2 = 0 ;
423f194a 7607 bool temp2 = False ;
d14a1e28
RD
7608 PyObject * obj0 = 0 ;
7609 PyObject * obj1 = 0 ;
7610 char *kwnames[] = {
7611 (char *) "pFrame",(char *) "msg", NULL
7612 };
7613
7614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
7615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7616 {
7617 arg2 = wxString_in_helper(obj1);
7618 if (arg2 == NULL) SWIG_fail;
423f194a 7619 temp2 = True;
d14a1e28
RD
7620 }
7621 {
7622 PyThreadState* __tstate = wxPyBeginAllowThreads();
7623 wxLogStatus(arg1,(wxString const &)*arg2);
7624
7625 wxPyEndAllowThreads(__tstate);
7626 if (PyErr_Occurred()) SWIG_fail;
7627 }
7628 Py_INCREF(Py_None); resultobj = Py_None;
7629 {
7630 if (temp2)
7631 delete arg2;
7632 }
7633 return resultobj;
7634 fail:
7635 {
7636 if (temp2)
7637 delete arg2;
7638 }
7639 return NULL;
7640}
7641
7642
7643static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
7644 PyObject *resultobj;
7645 wxString *arg1 = 0 ;
423f194a 7646 bool temp1 = False ;
d14a1e28
RD
7647 PyObject * obj0 = 0 ;
7648 char *kwnames[] = {
7649 (char *) "msg", NULL
7650 };
7651
7652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
7653 {
7654 arg1 = wxString_in_helper(obj0);
7655 if (arg1 == NULL) SWIG_fail;
423f194a 7656 temp1 = True;
d14a1e28
RD
7657 }
7658 {
7659 PyThreadState* __tstate = wxPyBeginAllowThreads();
7660 wxLogSysError((wxString const &)*arg1);
7661
7662 wxPyEndAllowThreads(__tstate);
7663 if (PyErr_Occurred()) SWIG_fail;
7664 }
7665 Py_INCREF(Py_None); resultobj = Py_None;
7666 {
7667 if (temp1)
7668 delete arg1;
7669 }
7670 return resultobj;
7671 fail:
7672 {
7673 if (temp1)
7674 delete arg1;
7675 }
7676 return NULL;
7677}
7678
7679
0f774bef 7680static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28 7681 PyObject *resultobj;
0f774bef
RD
7682 unsigned long arg1 ;
7683 wxString *arg2 = 0 ;
7684 bool temp2 = False ;
d14a1e28 7685 PyObject * obj0 = 0 ;
0f774bef 7686 PyObject * obj1 = 0 ;
d14a1e28 7687
0f774bef
RD
7688 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
7689 arg1 = (unsigned long) PyInt_AsLong(obj0);
7690 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7691 {
0f774bef
RD
7692 arg2 = wxString_in_helper(obj1);
7693 if (arg2 == NULL) SWIG_fail;
7694 temp2 = True;
d14a1e28
RD
7695 }
7696 {
7697 PyThreadState* __tstate = wxPyBeginAllowThreads();
0f774bef 7698 wxLogTrace(arg1,(wxString const &)*arg2);
d14a1e28
RD
7699
7700 wxPyEndAllowThreads(__tstate);
7701 if (PyErr_Occurred()) SWIG_fail;
7702 }
7703 Py_INCREF(Py_None); resultobj = Py_None;
7704 {
0f774bef
RD
7705 if (temp2)
7706 delete arg2;
d14a1e28
RD
7707 }
7708 return resultobj;
7709 fail:
7710 {
0f774bef
RD
7711 if (temp2)
7712 delete arg2;
d14a1e28
RD
7713 }
7714 return NULL;
7715}
7716
7717
0f774bef 7718static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28
RD
7719 PyObject *resultobj;
7720 wxString *arg1 = 0 ;
7721 wxString *arg2 = 0 ;
423f194a
RD
7722 bool temp1 = False ;
7723 bool temp2 = False ;
d14a1e28
RD
7724 PyObject * obj0 = 0 ;
7725 PyObject * obj1 = 0 ;
d14a1e28 7726
0f774bef 7727 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
d14a1e28
RD
7728 {
7729 arg1 = wxString_in_helper(obj0);
7730 if (arg1 == NULL) SWIG_fail;
423f194a 7731 temp1 = True;
d14a1e28
RD
7732 }
7733 {
7734 arg2 = wxString_in_helper(obj1);
7735 if (arg2 == NULL) SWIG_fail;
423f194a 7736 temp2 = True;
d14a1e28
RD
7737 }
7738 {
7739 PyThreadState* __tstate = wxPyBeginAllowThreads();
7740 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
7741
7742 wxPyEndAllowThreads(__tstate);
7743 if (PyErr_Occurred()) SWIG_fail;
7744 }
7745 Py_INCREF(Py_None); resultobj = Py_None;
7746 {
7747 if (temp1)
7748 delete arg1;
7749 }
7750 {
7751 if (temp2)
7752 delete arg2;
7753 }
7754 return resultobj;
7755 fail:
7756 {
7757 if (temp1)
7758 delete arg1;
7759 }
7760 {
7761 if (temp2)
7762 delete arg2;
7763 }
7764 return NULL;
7765}
7766
7767
0f774bef
RD
7768static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
7769 int argc;
7770 PyObject *argv[3];
7771 int ii;
7772
7773 argc = PyObject_Length(args);
7774 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
7775 argv[ii] = PyTuple_GetItem(args,ii);
7776 }
7777 if (argc == 2) {
7778 int _v;
7779 {
7780 void *ptr;
7781 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
7782 _v = 0;
7783 PyErr_Clear();
7784 } else {
7785 _v = 1;
7786 }
7787 }
7788 if (_v) {
7789 {
7790 void *ptr;
7791 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
7792 _v = 0;
7793 PyErr_Clear();
7794 } else {
7795 _v = 1;
7796 }
7797 }
7798 if (_v) {
7799 return _wrap_LogTrace__SWIG_1(self,args);
7800 }
7801 }
7802 }
7803 if (argc == 2) {
7804 int _v;
7805 {
7806 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
7807 }
7808 if (_v) {
7809 {
7810 void *ptr;
7811 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
7812 _v = 0;
7813 PyErr_Clear();
7814 } else {
7815 _v = 1;
7816 }
7817 }
7818 if (_v) {
7819 return _wrap_LogTrace__SWIG_0(self,args);
7820 }
7821 }
7822 }
7823
7824 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
7825 return NULL;
7826}
7827
7828
d14a1e28
RD
7829static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
7830 PyObject *resultobj;
7831 unsigned long arg1 ;
7832 wxString *arg2 = 0 ;
423f194a 7833 bool temp2 = False ;
d14a1e28
RD
7834 PyObject * obj0 = 0 ;
7835 PyObject * obj1 = 0 ;
7836 char *kwnames[] = {
7837 (char *) "level",(char *) "msg", NULL
7838 };
7839
7840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
7841 arg1 = (unsigned long) PyInt_AsLong(obj0);
7842 if (PyErr_Occurred()) SWIG_fail;
7843 {
7844 arg2 = wxString_in_helper(obj1);
7845 if (arg2 == NULL) SWIG_fail;
423f194a 7846 temp2 = True;
d14a1e28
RD
7847 }
7848 {
7849 PyThreadState* __tstate = wxPyBeginAllowThreads();
7850 wxLogGeneric(arg1,(wxString const &)*arg2);
7851
7852 wxPyEndAllowThreads(__tstate);
7853 if (PyErr_Occurred()) SWIG_fail;
7854 }
7855 Py_INCREF(Py_None); resultobj = Py_None;
7856 {
7857 if (temp2)
7858 delete arg2;
7859 }
7860 return resultobj;
7861 fail:
7862 {
7863 if (temp2)
7864 delete arg2;
7865 }
7866 return NULL;
7867}
7868
7869
7870static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7871 PyObject *resultobj;
7872 wxString *arg1 = 0 ;
7873 wxString *arg2 = 0 ;
423f194a
RD
7874 bool temp1 = False ;
7875 bool temp2 = False ;
d14a1e28
RD
7876 PyObject * obj0 = 0 ;
7877 PyObject * obj1 = 0 ;
7878 char *kwnames[] = {
7879 (char *) "title",(char *) "text", NULL
7880 };
7881
7882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
7883 {
7884 arg1 = wxString_in_helper(obj0);
7885 if (arg1 == NULL) SWIG_fail;
423f194a 7886 temp1 = True;
d14a1e28
RD
7887 }
7888 {
7889 arg2 = wxString_in_helper(obj1);
7890 if (arg2 == NULL) SWIG_fail;
423f194a 7891 temp2 = True;
d14a1e28
RD
7892 }
7893 {
7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
7895 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
7896
7897 wxPyEndAllowThreads(__tstate);
7898 if (PyErr_Occurred()) SWIG_fail;
7899 }
7900 Py_INCREF(Py_None); resultobj = Py_None;
7901 {
7902 if (temp1)
7903 delete arg1;
7904 }
7905 {
7906 if (temp2)
7907 delete arg2;
7908 }
7909 return resultobj;
7910 fail:
7911 {
7912 if (temp1)
7913 delete arg1;
7914 }
7915 {
7916 if (temp2)
7917 delete arg2;
7918 }
7919 return NULL;
7920}
7921
7922
7923static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7924 PyObject *resultobj;
7925 wxLogNull *result;
7926 char *kwnames[] = {
7927 NULL
7928 };
7929
7930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
7931 {
7932 PyThreadState* __tstate = wxPyBeginAllowThreads();
7933 result = (wxLogNull *)new wxLogNull();
7934
7935 wxPyEndAllowThreads(__tstate);
7936 if (PyErr_Occurred()) SWIG_fail;
7937 }
7938 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogNull, 1);
7939 return resultobj;
7940 fail:
7941 return NULL;
7942}
7943
7944
7945static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7946 PyObject *resultobj;
7947 wxLogNull *arg1 = (wxLogNull *) 0 ;
7948 PyObject * obj0 = 0 ;
7949 char *kwnames[] = {
7950 (char *) "self", NULL
7951 };
7952
7953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
7954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogNull,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7955 {
7956 PyThreadState* __tstate = wxPyBeginAllowThreads();
7957 delete arg1;
7958
7959 wxPyEndAllowThreads(__tstate);
7960 if (PyErr_Occurred()) SWIG_fail;
7961 }
7962 Py_INCREF(Py_None); resultobj = Py_None;
7963 return resultobj;
7964 fail:
7965 return NULL;
7966}
7967
7968
7969static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
7970 PyObject *obj;
7971 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7972 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
7973 Py_INCREF(obj);
7974 return Py_BuildValue((char *)"");
7975}
7976static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7977 PyObject *resultobj;
7978 wxPyLog *result;
7979 char *kwnames[] = {
7980 NULL
7981 };
7982
7983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
7984 {
7985 PyThreadState* __tstate = wxPyBeginAllowThreads();
7986 result = (wxPyLog *)new wxPyLog();
7987
7988 wxPyEndAllowThreads(__tstate);
7989 if (PyErr_Occurred()) SWIG_fail;
7990 }
7991 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLog, 1);
7992 return resultobj;
7993 fail:
7994 return NULL;
7995}
7996
7997
7998static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7999 PyObject *resultobj;
8000 wxPyLog *arg1 = (wxPyLog *) 0 ;
8001 PyObject *arg2 = (PyObject *) 0 ;
8002 PyObject *arg3 = (PyObject *) 0 ;
8003 PyObject * obj0 = 0 ;
8004 PyObject * obj1 = 0 ;
8005 PyObject * obj2 = 0 ;
8006 char *kwnames[] = {
8007 (char *) "self",(char *) "self",(char *) "_class", NULL
8008 };
8009
8010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8012 arg2 = obj1;
8013 arg3 = obj2;
8014 {
8015 PyThreadState* __tstate = wxPyBeginAllowThreads();
8016 (arg1)->_setCallbackInfo(arg2,arg3);
8017
8018 wxPyEndAllowThreads(__tstate);
8019 if (PyErr_Occurred()) SWIG_fail;
8020 }
8021 Py_INCREF(Py_None); resultobj = Py_None;
8022 return resultobj;
8023 fail:
8024 return NULL;
8025}
8026
8027
8028static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
8029 PyObject *obj;
8030 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8031 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8032 Py_INCREF(obj);
8033 return Py_BuildValue((char *)"");
8034}
8035static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
8036 PyObject *resultobj;
8037 int arg1 ;
8038 int arg2 = (int) wxSIGTERM ;
8039 int result;
8040 char *kwnames[] = {
8041 (char *) "pid",(char *) "sig", NULL
8042 };
8043
8044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:Process_Kill",kwnames,&arg1,&arg2)) goto fail;
8045 {
8046 PyThreadState* __tstate = wxPyBeginAllowThreads();
8047 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
8048
8049 wxPyEndAllowThreads(__tstate);
8050 if (PyErr_Occurred()) SWIG_fail;
8051 }
8052 resultobj = PyInt_FromLong((long)result);
8053 return resultobj;
8054 fail:
8055 return NULL;
8056}
8057
8058
8059static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
8060 PyObject *resultobj;
8061 int arg1 ;
8062 bool result;
8063 char *kwnames[] = {
8064 (char *) "pid", NULL
8065 };
8066
8067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Process_Exists",kwnames,&arg1)) goto fail;
8068 {
8069 PyThreadState* __tstate = wxPyBeginAllowThreads();
8070 result = (bool)wxPyProcess::Exists(arg1);
8071
8072 wxPyEndAllowThreads(__tstate);
8073 if (PyErr_Occurred()) SWIG_fail;
8074 }
8075 resultobj = PyInt_FromLong((long)result);
8076 return resultobj;
8077 fail:
8078 return NULL;
8079}
8080
8081
8082static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
8083 PyObject *resultobj;
8084 wxString *arg1 = 0 ;
8085 int arg2 = (int) wxEXEC_ASYNC ;
8086 wxPyProcess *result;
423f194a 8087 bool temp1 = False ;
d14a1e28
RD
8088 PyObject * obj0 = 0 ;
8089 char *kwnames[] = {
8090 (char *) "cmd",(char *) "flags", NULL
8091 };
8092
8093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Process_Open",kwnames,&obj0,&arg2)) goto fail;
8094 {
8095 arg1 = wxString_in_helper(obj0);
8096 if (arg1 == NULL) SWIG_fail;
423f194a 8097 temp1 = True;
d14a1e28
RD
8098 }
8099 {
8100 PyThreadState* __tstate = wxPyBeginAllowThreads();
8101 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8102
8103 wxPyEndAllowThreads(__tstate);
8104 if (PyErr_Occurred()) SWIG_fail;
8105 }
8106 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 0);
8107 {
8108 if (temp1)
8109 delete arg1;
8110 }
8111 return resultobj;
8112 fail:
8113 {
8114 if (temp1)
8115 delete arg1;
8116 }
8117 return NULL;
8118}
8119
8120
8121static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
8122 PyObject *resultobj;
8123 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8124 int arg2 = (int) -1 ;
8125 wxPyProcess *result;
8126 PyObject * obj0 = 0 ;
8127 char *kwnames[] = {
8128 (char *) "parent",(char *) "id", NULL
8129 };
8130
8131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Process",kwnames,&obj0,&arg2)) goto fail;
8132 if (obj0) {
8133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8134 }
8135 {
8136 PyThreadState* __tstate = wxPyBeginAllowThreads();
8137 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8138
8139 wxPyEndAllowThreads(__tstate);
8140 if (PyErr_Occurred()) SWIG_fail;
8141 }
8142 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 1);
8143 return resultobj;
8144 fail:
8145 return NULL;
8146}
8147
8148
8149static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8150 PyObject *resultobj;
8151 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8152 PyObject *arg2 = (PyObject *) 0 ;
8153 PyObject *arg3 = (PyObject *) 0 ;
8154 PyObject * obj0 = 0 ;
8155 PyObject * obj1 = 0 ;
8156 PyObject * obj2 = 0 ;
8157 char *kwnames[] = {
8158 (char *) "self",(char *) "self",(char *) "_class", NULL
8159 };
8160
8161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8163 arg2 = obj1;
8164 arg3 = obj2;
8165 {
8166 PyThreadState* __tstate = wxPyBeginAllowThreads();
8167 (arg1)->_setCallbackInfo(arg2,arg3);
8168
8169 wxPyEndAllowThreads(__tstate);
8170 if (PyErr_Occurred()) SWIG_fail;
8171 }
8172 Py_INCREF(Py_None); resultobj = Py_None;
8173 return resultobj;
8174 fail:
8175 return NULL;
8176}
8177
8178
8179static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8180 PyObject *resultobj;
8181 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8182 int arg2 ;
8183 int arg3 ;
8184 PyObject * obj0 = 0 ;
8185 char *kwnames[] = {
8186 (char *) "self",(char *) "pid",(char *) "status", NULL
8187 };
8188
8189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Process_base_OnTerminate",kwnames,&obj0,&arg2,&arg3)) goto fail;
8190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8191 {
8192 PyThreadState* __tstate = wxPyBeginAllowThreads();
8193 (arg1)->base_OnTerminate(arg2,arg3);
8194
8195 wxPyEndAllowThreads(__tstate);
8196 if (PyErr_Occurred()) SWIG_fail;
8197 }
8198 Py_INCREF(Py_None); resultobj = Py_None;
8199 return resultobj;
8200 fail:
8201 return NULL;
8202}
8203
8204
8205static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8206 PyObject *resultobj;
8207 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8208 PyObject * obj0 = 0 ;
8209 char *kwnames[] = {
8210 (char *) "self", NULL
8211 };
8212
8213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8215 {
8216 PyThreadState* __tstate = wxPyBeginAllowThreads();
8217 (arg1)->Redirect();
8218
8219 wxPyEndAllowThreads(__tstate);
8220 if (PyErr_Occurred()) SWIG_fail;
8221 }
8222 Py_INCREF(Py_None); resultobj = Py_None;
8223 return resultobj;
8224 fail:
8225 return NULL;
8226}
8227
8228
8229static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8230 PyObject *resultobj;
8231 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8232 bool result;
8233 PyObject * obj0 = 0 ;
8234 char *kwnames[] = {
8235 (char *) "self", NULL
8236 };
8237
8238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8240 {
8241 PyThreadState* __tstate = wxPyBeginAllowThreads();
8242 result = (bool)(arg1)->IsRedirected();
8243
8244 wxPyEndAllowThreads(__tstate);
8245 if (PyErr_Occurred()) SWIG_fail;
8246 }
8247 resultobj = PyInt_FromLong((long)result);
8248 return resultobj;
8249 fail:
8250 return NULL;
8251}
8252
8253
8254static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8255 PyObject *resultobj;
8256 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8257 PyObject * obj0 = 0 ;
8258 char *kwnames[] = {
8259 (char *) "self", NULL
8260 };
8261
8262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8264 {
8265 PyThreadState* __tstate = wxPyBeginAllowThreads();
8266 (arg1)->Detach();
8267
8268 wxPyEndAllowThreads(__tstate);
8269 if (PyErr_Occurred()) SWIG_fail;
8270 }
8271 Py_INCREF(Py_None); resultobj = Py_None;
8272 return resultobj;
8273 fail:
8274 return NULL;
8275}
8276
8277
8278static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8279 PyObject *resultobj;
8280 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8281 wxInputStream *result;
8282 PyObject * obj0 = 0 ;
8283 char *kwnames[] = {
8284 (char *) "self", NULL
8285 };
8286
8287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
8288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8289 {
8290 PyThreadState* __tstate = wxPyBeginAllowThreads();
8291 result = (wxInputStream *)(arg1)->GetInputStream();
8292
8293 wxPyEndAllowThreads(__tstate);
8294 if (PyErr_Occurred()) SWIG_fail;
8295 }
8296 {
8297 wxPyInputStream * _ptr = NULL;
8298
8299 if (result) {
8300 _ptr = new wxPyInputStream(result);
8301 }
423f194a 8302 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
8303 }
8304 return resultobj;
8305 fail:
8306 return NULL;
8307}
8308
8309
8310static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8311 PyObject *resultobj;
8312 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8313 wxInputStream *result;
8314 PyObject * obj0 = 0 ;
8315 char *kwnames[] = {
8316 (char *) "self", NULL
8317 };
8318
8319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
8320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8321 {
8322 PyThreadState* __tstate = wxPyBeginAllowThreads();
8323 result = (wxInputStream *)(arg1)->GetErrorStream();
8324
8325 wxPyEndAllowThreads(__tstate);
8326 if (PyErr_Occurred()) SWIG_fail;
8327 }
8328 {
8329 wxPyInputStream * _ptr = NULL;
8330
8331 if (result) {
8332 _ptr = new wxPyInputStream(result);
8333 }
423f194a 8334 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
8335 }
8336 return resultobj;
8337 fail:
8338 return NULL;
8339}
8340
8341
8342static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8343 PyObject *resultobj;
8344 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8345 wxOutputStream *result;
8346 PyObject * obj0 = 0 ;
8347 char *kwnames[] = {
8348 (char *) "self", NULL
8349 };
8350
8351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
8352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8353 {
8354 PyThreadState* __tstate = wxPyBeginAllowThreads();
8355 result = (wxOutputStream *)(arg1)->GetOutputStream();
8356
8357 wxPyEndAllowThreads(__tstate);
8358 if (PyErr_Occurred()) SWIG_fail;
8359 }
8360 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxOutputStream, 0);
8361 return resultobj;
8362 fail:
8363 return NULL;
8364}
8365
8366
8367static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
8368 PyObject *resultobj;
8369 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8370 PyObject * obj0 = 0 ;
8371 char *kwnames[] = {
8372 (char *) "self", NULL
8373 };
8374
8375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
8376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8377 {
8378 PyThreadState* __tstate = wxPyBeginAllowThreads();
8379 (arg1)->CloseOutput();
8380
8381 wxPyEndAllowThreads(__tstate);
8382 if (PyErr_Occurred()) SWIG_fail;
8383 }
8384 Py_INCREF(Py_None); resultobj = Py_None;
8385 return resultobj;
8386 fail:
8387 return NULL;
8388}
8389
8390
8391static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
8392 PyObject *resultobj;
8393 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8394 bool result;
8395 PyObject * obj0 = 0 ;
8396 char *kwnames[] = {
8397 (char *) "self", NULL
8398 };
8399
8400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
8401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8402 {
8403 PyThreadState* __tstate = wxPyBeginAllowThreads();
8404 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
8405
8406 wxPyEndAllowThreads(__tstate);
8407 if (PyErr_Occurred()) SWIG_fail;
8408 }
8409 resultobj = PyInt_FromLong((long)result);
8410 return resultobj;
8411 fail:
8412 return NULL;
8413}
8414
8415
8416static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8417 PyObject *resultobj;
8418 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8419 bool result;
8420 PyObject * obj0 = 0 ;
8421 char *kwnames[] = {
8422 (char *) "self", NULL
8423 };
8424
8425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
8426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8427 {
8428 PyThreadState* __tstate = wxPyBeginAllowThreads();
8429 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
8430
8431 wxPyEndAllowThreads(__tstate);
8432 if (PyErr_Occurred()) SWIG_fail;
8433 }
8434 resultobj = PyInt_FromLong((long)result);
8435 return resultobj;
8436 fail:
8437 return NULL;
8438}
8439
8440
8441static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8442 PyObject *resultobj;
8443 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8444 bool result;
8445 PyObject * obj0 = 0 ;
8446 char *kwnames[] = {
8447 (char *) "self", NULL
8448 };
8449
8450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
8451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8452 {
8453 PyThreadState* __tstate = wxPyBeginAllowThreads();
8454 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
8455
8456 wxPyEndAllowThreads(__tstate);
8457 if (PyErr_Occurred()) SWIG_fail;
8458 }
8459 resultobj = PyInt_FromLong((long)result);
8460 return resultobj;
8461 fail:
8462 return NULL;
8463}
8464
8465
8466static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
8467 PyObject *obj;
8468 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8469 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
8470 Py_INCREF(obj);
8471 return Py_BuildValue((char *)"");
8472}
8473static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8474 PyObject *resultobj;
8475 int arg1 = (int) 0 ;
8476 int arg2 = (int) 0 ;
8477 int arg3 = (int) 0 ;
8478 wxProcessEvent *result;
8479 char *kwnames[] = {
8480 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8481 };
8482
8483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iii:new_ProcessEvent",kwnames,&arg1,&arg2,&arg3)) goto fail;
8484 {
8485 PyThreadState* __tstate = wxPyBeginAllowThreads();
8486 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
8487
8488 wxPyEndAllowThreads(__tstate);
8489 if (PyErr_Occurred()) SWIG_fail;
8490 }
8491 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProcessEvent, 1);
8492 return resultobj;
8493 fail:
8494 return NULL;
8495}
8496
8497
8498static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
8499 PyObject *resultobj;
8500 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8501 int result;
8502 PyObject * obj0 = 0 ;
8503 char *kwnames[] = {
8504 (char *) "self", NULL
8505 };
8506
8507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
8508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8509 {
8510 PyThreadState* __tstate = wxPyBeginAllowThreads();
8511 result = (int)(arg1)->GetPid();
8512
8513 wxPyEndAllowThreads(__tstate);
8514 if (PyErr_Occurred()) SWIG_fail;
8515 }
8516 resultobj = PyInt_FromLong((long)result);
8517 return resultobj;
8518 fail:
8519 return NULL;
8520}
8521
8522
8523static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8524 PyObject *resultobj;
8525 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8526 int result;
8527 PyObject * obj0 = 0 ;
8528 char *kwnames[] = {
8529 (char *) "self", NULL
8530 };
8531
8532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
8533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8534 {
8535 PyThreadState* __tstate = wxPyBeginAllowThreads();
8536 result = (int)(arg1)->GetExitCode();
8537
8538 wxPyEndAllowThreads(__tstate);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 }
8541 resultobj = PyInt_FromLong((long)result);
8542 return resultobj;
8543 fail:
8544 return NULL;
8545}
8546
8547
8548static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8549 PyObject *resultobj;
8550 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8551 int arg2 ;
8552 PyObject * obj0 = 0 ;
8553 char *kwnames[] = {
8554 (char *) "self",(char *) "m_pid", NULL
8555 };
8556
8557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_pid_set",kwnames,&obj0,&arg2)) goto fail;
8558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8559 if (arg1) (arg1)->m_pid = arg2;
8560
8561 Py_INCREF(Py_None); resultobj = Py_None;
8562 return resultobj;
8563 fail:
8564 return NULL;
8565}
8566
8567
8568static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8569 PyObject *resultobj;
8570 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8571 int result;
8572 PyObject * obj0 = 0 ;
8573 char *kwnames[] = {
8574 (char *) "self", NULL
8575 };
8576
8577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
8578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8579 result = (int) ((arg1)->m_pid);
8580
8581 resultobj = PyInt_FromLong((long)result);
8582 return resultobj;
8583 fail:
8584 return NULL;
8585}
8586
8587
8588static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8589 PyObject *resultobj;
8590 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8591 int arg2 ;
8592 PyObject * obj0 = 0 ;
8593 char *kwnames[] = {
8594 (char *) "self",(char *) "m_exitcode", NULL
8595 };
8596
8597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames,&obj0,&arg2)) goto fail;
8598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8599 if (arg1) (arg1)->m_exitcode = arg2;
8600
8601 Py_INCREF(Py_None); resultobj = Py_None;
8602 return resultobj;
8603 fail:
8604 return NULL;
8605}
8606
8607
8608static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8609 PyObject *resultobj;
8610 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8611 int result;
8612 PyObject * obj0 = 0 ;
8613 char *kwnames[] = {
8614 (char *) "self", NULL
8615 };
8616
8617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
8618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8619 result = (int) ((arg1)->m_exitcode);
8620
8621 resultobj = PyInt_FromLong((long)result);
8622 return resultobj;
8623 fail:
8624 return NULL;
8625}
8626
8627
8628static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
8629 PyObject *obj;
8630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8631 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
8632 Py_INCREF(obj);
8633 return Py_BuildValue((char *)"");
8634}
8635static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
8636 PyObject *resultobj;
8637 wxString *arg1 = 0 ;
8638 int arg2 = (int) wxEXEC_ASYNC ;
8639 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
8640 long result;
423f194a 8641 bool temp1 = False ;
d14a1e28
RD
8642 PyObject * obj0 = 0 ;
8643 PyObject * obj2 = 0 ;
8644 char *kwnames[] = {
8645 (char *) "command",(char *) "flags",(char *) "process", NULL
8646 };
8647
8648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Execute",kwnames,&obj0,&arg2,&obj2)) goto fail;
8649 {
8650 arg1 = wxString_in_helper(obj0);
8651 if (arg1 == NULL) SWIG_fail;
423f194a 8652 temp1 = True;
d14a1e28
RD
8653 }
8654 if (obj2) {
8655 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8656 }
8657 {
8658 PyThreadState* __tstate = wxPyBeginAllowThreads();
8659 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
8660
8661 wxPyEndAllowThreads(__tstate);
8662 if (PyErr_Occurred()) SWIG_fail;
8663 }
8664 resultobj = PyInt_FromLong((long)result);
8665 {
8666 if (temp1)
8667 delete arg1;
8668 }
8669 return resultobj;
8670 fail:
8671 {
8672 if (temp1)
8673 delete arg1;
8674 }
8675 return NULL;
8676}
8677
8678
8679static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8680 PyObject *resultobj;
8681 int arg1 = (int) wxJOYSTICK1 ;
8682 wxJoystick *result;
8683 char *kwnames[] = {
8684 (char *) "joystick", NULL
8685 };
8686
8687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_Joystick",kwnames,&arg1)) goto fail;
8688 {
8689 PyThreadState* __tstate = wxPyBeginAllowThreads();
8690 result = (wxJoystick *)new wxJoystick(arg1);
8691
8692 wxPyEndAllowThreads(__tstate);
8693 if (PyErr_Occurred()) SWIG_fail;
8694 }
8695 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystick, 1);
8696 return resultobj;
8697 fail:
8698 return NULL;
8699}
8700
8701
8702static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8703 PyObject *resultobj;
8704 wxJoystick *arg1 = (wxJoystick *) 0 ;
8705 PyObject * obj0 = 0 ;
8706 char *kwnames[] = {
8707 (char *) "self", NULL
8708 };
8709
8710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
8711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8712 {
8713 PyThreadState* __tstate = wxPyBeginAllowThreads();
8714 delete arg1;
8715
8716 wxPyEndAllowThreads(__tstate);
8717 if (PyErr_Occurred()) SWIG_fail;
8718 }
8719 Py_INCREF(Py_None); resultobj = Py_None;
8720 return resultobj;
8721 fail:
8722 return NULL;
8723}
8724
8725
8726static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8727 PyObject *resultobj;
8728 wxJoystick *arg1 = (wxJoystick *) 0 ;
8729 wxPoint result;
8730 PyObject * obj0 = 0 ;
8731 char *kwnames[] = {
8732 (char *) "self", NULL
8733 };
8734
8735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
8736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8737 {
8738 PyThreadState* __tstate = wxPyBeginAllowThreads();
8739 result = (arg1)->GetPosition();
8740
8741 wxPyEndAllowThreads(__tstate);
8742 if (PyErr_Occurred()) SWIG_fail;
8743 }
8744 {
8745 wxPoint * resultptr;
8746 resultptr = new wxPoint((wxPoint &) result);
8747 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8748 }
8749 return resultobj;
8750 fail:
8751 return NULL;
8752}
8753
8754
8755static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8756 PyObject *resultobj;
8757 wxJoystick *arg1 = (wxJoystick *) 0 ;
8758 int result;
8759 PyObject * obj0 = 0 ;
8760 char *kwnames[] = {
8761 (char *) "self", NULL
8762 };
8763
8764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
8765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8766 {
8767 PyThreadState* __tstate = wxPyBeginAllowThreads();
8768 result = (int)(arg1)->GetZPosition();
8769
8770 wxPyEndAllowThreads(__tstate);
8771 if (PyErr_Occurred()) SWIG_fail;
8772 }
8773 resultobj = PyInt_FromLong((long)result);
8774 return resultobj;
8775 fail:
8776 return NULL;
8777}
8778
8779
8780static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
8781 PyObject *resultobj;
8782 wxJoystick *arg1 = (wxJoystick *) 0 ;
8783 int result;
8784 PyObject * obj0 = 0 ;
8785 char *kwnames[] = {
8786 (char *) "self", NULL
8787 };
8788
8789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
8790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8791 {
8792 PyThreadState* __tstate = wxPyBeginAllowThreads();
8793 result = (int)(arg1)->GetButtonState();
8794
8795 wxPyEndAllowThreads(__tstate);
8796 if (PyErr_Occurred()) SWIG_fail;
8797 }
8798 resultobj = PyInt_FromLong((long)result);
8799 return resultobj;
8800 fail:
8801 return NULL;
8802}
8803
8804
8805static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8806 PyObject *resultobj;
8807 wxJoystick *arg1 = (wxJoystick *) 0 ;
8808 int result;
8809 PyObject * obj0 = 0 ;
8810 char *kwnames[] = {
8811 (char *) "self", NULL
8812 };
8813
8814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
8815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8816 {
8817 PyThreadState* __tstate = wxPyBeginAllowThreads();
8818 result = (int)(arg1)->GetPOVPosition();
8819
8820 wxPyEndAllowThreads(__tstate);
8821 if (PyErr_Occurred()) SWIG_fail;
8822 }
8823 resultobj = PyInt_FromLong((long)result);
8824 return resultobj;
8825 fail:
8826 return NULL;
8827}
8828
8829
8830static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8831 PyObject *resultobj;
8832 wxJoystick *arg1 = (wxJoystick *) 0 ;
8833 int result;
8834 PyObject * obj0 = 0 ;
8835 char *kwnames[] = {
8836 (char *) "self", NULL
8837 };
8838
8839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
8840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8841 {
8842 PyThreadState* __tstate = wxPyBeginAllowThreads();
8843 result = (int)(arg1)->GetPOVCTSPosition();
8844
8845 wxPyEndAllowThreads(__tstate);
8846 if (PyErr_Occurred()) SWIG_fail;
8847 }
8848 resultobj = PyInt_FromLong((long)result);
8849 return resultobj;
8850 fail:
8851 return NULL;
8852}
8853
8854
8855static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8856 PyObject *resultobj;
8857 wxJoystick *arg1 = (wxJoystick *) 0 ;
8858 int result;
8859 PyObject * obj0 = 0 ;
8860 char *kwnames[] = {
8861 (char *) "self", NULL
8862 };
8863
8864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
8865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8866 {
8867 PyThreadState* __tstate = wxPyBeginAllowThreads();
8868 result = (int)(arg1)->GetRudderPosition();
8869
8870 wxPyEndAllowThreads(__tstate);
8871 if (PyErr_Occurred()) SWIG_fail;
8872 }
8873 resultobj = PyInt_FromLong((long)result);
8874 return resultobj;
8875 fail:
8876 return NULL;
8877}
8878
8879
8880static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8881 PyObject *resultobj;
8882 wxJoystick *arg1 = (wxJoystick *) 0 ;
8883 int result;
8884 PyObject * obj0 = 0 ;
8885 char *kwnames[] = {
8886 (char *) "self", NULL
8887 };
8888
8889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
8890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8891 {
8892 PyThreadState* __tstate = wxPyBeginAllowThreads();
8893 result = (int)(arg1)->GetUPosition();
8894
8895 wxPyEndAllowThreads(__tstate);
8896 if (PyErr_Occurred()) SWIG_fail;
8897 }
8898 resultobj = PyInt_FromLong((long)result);
8899 return resultobj;
8900 fail:
8901 return NULL;
8902}
8903
8904
8905static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8906 PyObject *resultobj;
8907 wxJoystick *arg1 = (wxJoystick *) 0 ;
8908 int result;
8909 PyObject * obj0 = 0 ;
8910 char *kwnames[] = {
8911 (char *) "self", NULL
8912 };
8913
8914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
8915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8916 {
8917 PyThreadState* __tstate = wxPyBeginAllowThreads();
8918 result = (int)(arg1)->GetVPosition();
8919
8920 wxPyEndAllowThreads(__tstate);
8921 if (PyErr_Occurred()) SWIG_fail;
8922 }
8923 resultobj = PyInt_FromLong((long)result);
8924 return resultobj;
8925 fail:
8926 return NULL;
8927}
8928
8929
8930static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8931 PyObject *resultobj;
8932 wxJoystick *arg1 = (wxJoystick *) 0 ;
8933 int result;
8934 PyObject * obj0 = 0 ;
8935 char *kwnames[] = {
8936 (char *) "self", NULL
8937 };
8938
8939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
8940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8941 {
8942 PyThreadState* __tstate = wxPyBeginAllowThreads();
8943 result = (int)(arg1)->GetMovementThreshold();
8944
8945 wxPyEndAllowThreads(__tstate);
8946 if (PyErr_Occurred()) SWIG_fail;
8947 }
8948 resultobj = PyInt_FromLong((long)result);
8949 return resultobj;
8950 fail:
8951 return NULL;
8952}
8953
8954
8955static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8956 PyObject *resultobj;
8957 wxJoystick *arg1 = (wxJoystick *) 0 ;
8958 int arg2 ;
8959 PyObject * obj0 = 0 ;
8960 char *kwnames[] = {
8961 (char *) "self",(char *) "threshold", NULL
8962 };
8963
8964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Joystick_SetMovementThreshold",kwnames,&obj0,&arg2)) goto fail;
8965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8966 {
8967 PyThreadState* __tstate = wxPyBeginAllowThreads();
8968 (arg1)->SetMovementThreshold(arg2);
8969
8970 wxPyEndAllowThreads(__tstate);
8971 if (PyErr_Occurred()) SWIG_fail;
8972 }
8973 Py_INCREF(Py_None); resultobj = Py_None;
8974 return resultobj;
8975 fail:
8976 return NULL;
8977}
8978
8979
8980static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
8981 PyObject *resultobj;
8982 wxJoystick *arg1 = (wxJoystick *) 0 ;
8983 bool result;
8984 PyObject * obj0 = 0 ;
8985 char *kwnames[] = {
8986 (char *) "self", NULL
8987 };
8988
8989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
8990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8991 {
8992 PyThreadState* __tstate = wxPyBeginAllowThreads();
8993 result = (bool)(arg1)->IsOk();
8994
8995 wxPyEndAllowThreads(__tstate);
8996 if (PyErr_Occurred()) SWIG_fail;
8997 }
8998 resultobj = PyInt_FromLong((long)result);
8999 return resultobj;
9000 fail:
9001 return NULL;
9002}
9003
9004
9005static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
9006 PyObject *resultobj;
9007 wxJoystick *arg1 = (wxJoystick *) 0 ;
9008 int result;
9009 PyObject * obj0 = 0 ;
9010 char *kwnames[] = {
9011 (char *) "self", NULL
9012 };
9013
9014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
9015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9016 {
9017 PyThreadState* __tstate = wxPyBeginAllowThreads();
9018 result = (int)(arg1)->GetNumberJoysticks();
9019
9020 wxPyEndAllowThreads(__tstate);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 }
9023 resultobj = PyInt_FromLong((long)result);
9024 return resultobj;
9025 fail:
9026 return NULL;
9027}
9028
9029
9030static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
9031 PyObject *resultobj;
9032 wxJoystick *arg1 = (wxJoystick *) 0 ;
9033 int result;
9034 PyObject * obj0 = 0 ;
9035 char *kwnames[] = {
9036 (char *) "self", NULL
9037 };
9038
9039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
9040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9041 {
9042 PyThreadState* __tstate = wxPyBeginAllowThreads();
9043 result = (int)(arg1)->GetManufacturerId();
9044
9045 wxPyEndAllowThreads(__tstate);
9046 if (PyErr_Occurred()) SWIG_fail;
9047 }
9048 resultobj = PyInt_FromLong((long)result);
9049 return resultobj;
9050 fail:
9051 return NULL;
9052}
9053
9054
9055static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
9056 PyObject *resultobj;
9057 wxJoystick *arg1 = (wxJoystick *) 0 ;
9058 int result;
9059 PyObject * obj0 = 0 ;
9060 char *kwnames[] = {
9061 (char *) "self", NULL
9062 };
9063
9064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
9065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9066 {
9067 PyThreadState* __tstate = wxPyBeginAllowThreads();
9068 result = (int)(arg1)->GetProductId();
9069
9070 wxPyEndAllowThreads(__tstate);
9071 if (PyErr_Occurred()) SWIG_fail;
9072 }
9073 resultobj = PyInt_FromLong((long)result);
9074 return resultobj;
9075 fail:
9076 return NULL;
9077}
9078
9079
9080static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
9081 PyObject *resultobj;
9082 wxJoystick *arg1 = (wxJoystick *) 0 ;
9083 wxString result;
9084 PyObject * obj0 = 0 ;
9085 char *kwnames[] = {
9086 (char *) "self", NULL
9087 };
9088
9089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
9090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9091 {
9092 PyThreadState* __tstate = wxPyBeginAllowThreads();
9093 result = (arg1)->GetProductName();
9094
9095 wxPyEndAllowThreads(__tstate);
9096 if (PyErr_Occurred()) SWIG_fail;
9097 }
9098 {
9099#if wxUSE_UNICODE
9100 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9101#else
9102 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9103#endif
9104 }
9105 return resultobj;
9106 fail:
9107 return NULL;
9108}
9109
9110
9111static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9112 PyObject *resultobj;
9113 wxJoystick *arg1 = (wxJoystick *) 0 ;
9114 int result;
9115 PyObject * obj0 = 0 ;
9116 char *kwnames[] = {
9117 (char *) "self", NULL
9118 };
9119
9120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
9121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9122 {
9123 PyThreadState* __tstate = wxPyBeginAllowThreads();
9124 result = (int)(arg1)->GetXMin();
9125
9126 wxPyEndAllowThreads(__tstate);
9127 if (PyErr_Occurred()) SWIG_fail;
9128 }
9129 resultobj = PyInt_FromLong((long)result);
9130 return resultobj;
9131 fail:
9132 return NULL;
9133}
9134
9135
9136static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9137 PyObject *resultobj;
9138 wxJoystick *arg1 = (wxJoystick *) 0 ;
9139 int result;
9140 PyObject * obj0 = 0 ;
9141 char *kwnames[] = {
9142 (char *) "self", NULL
9143 };
9144
9145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
9146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9147 {
9148 PyThreadState* __tstate = wxPyBeginAllowThreads();
9149 result = (int)(arg1)->GetYMin();
9150
9151 wxPyEndAllowThreads(__tstate);
9152 if (PyErr_Occurred()) SWIG_fail;
9153 }
9154 resultobj = PyInt_FromLong((long)result);
9155 return resultobj;
9156 fail:
9157 return NULL;
9158}
9159
9160
9161static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9162 PyObject *resultobj;
9163 wxJoystick *arg1 = (wxJoystick *) 0 ;
9164 int result;
9165 PyObject * obj0 = 0 ;
9166 char *kwnames[] = {
9167 (char *) "self", NULL
9168 };
9169
9170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9172 {
9173 PyThreadState* __tstate = wxPyBeginAllowThreads();
9174 result = (int)(arg1)->GetZMin();
9175
9176 wxPyEndAllowThreads(__tstate);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 }
9179 resultobj = PyInt_FromLong((long)result);
9180 return resultobj;
9181 fail:
9182 return NULL;
9183}
9184
9185
9186static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9187 PyObject *resultobj;
9188 wxJoystick *arg1 = (wxJoystick *) 0 ;
9189 int result;
9190 PyObject * obj0 = 0 ;
9191 char *kwnames[] = {
9192 (char *) "self", NULL
9193 };
9194
9195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9197 {
9198 PyThreadState* __tstate = wxPyBeginAllowThreads();
9199 result = (int)(arg1)->GetXMax();
9200
9201 wxPyEndAllowThreads(__tstate);
9202 if (PyErr_Occurred()) SWIG_fail;
9203 }
9204 resultobj = PyInt_FromLong((long)result);
9205 return resultobj;
9206 fail:
9207 return NULL;
9208}
9209
9210
9211static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9212 PyObject *resultobj;
9213 wxJoystick *arg1 = (wxJoystick *) 0 ;
9214 int result;
9215 PyObject * obj0 = 0 ;
9216 char *kwnames[] = {
9217 (char *) "self", NULL
9218 };
9219
9220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
9221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9222 {
9223 PyThreadState* __tstate = wxPyBeginAllowThreads();
9224 result = (int)(arg1)->GetYMax();
9225
9226 wxPyEndAllowThreads(__tstate);
9227 if (PyErr_Occurred()) SWIG_fail;
9228 }
9229 resultobj = PyInt_FromLong((long)result);
9230 return resultobj;
9231 fail:
9232 return NULL;
9233}
9234
9235
9236static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9237 PyObject *resultobj;
9238 wxJoystick *arg1 = (wxJoystick *) 0 ;
9239 int result;
9240 PyObject * obj0 = 0 ;
9241 char *kwnames[] = {
9242 (char *) "self", NULL
9243 };
9244
9245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
9246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9247 {
9248 PyThreadState* __tstate = wxPyBeginAllowThreads();
9249 result = (int)(arg1)->GetZMax();
9250
9251 wxPyEndAllowThreads(__tstate);
9252 if (PyErr_Occurred()) SWIG_fail;
9253 }
9254 resultobj = PyInt_FromLong((long)result);
9255 return resultobj;
9256 fail:
9257 return NULL;
9258}
9259
9260
9261static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9262 PyObject *resultobj;
9263 wxJoystick *arg1 = (wxJoystick *) 0 ;
9264 int result;
9265 PyObject * obj0 = 0 ;
9266 char *kwnames[] = {
9267 (char *) "self", NULL
9268 };
9269
9270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
9271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9272 {
9273 PyThreadState* __tstate = wxPyBeginAllowThreads();
9274 result = (int)(arg1)->GetNumberButtons();
9275
9276 wxPyEndAllowThreads(__tstate);
9277 if (PyErr_Occurred()) SWIG_fail;
9278 }
9279 resultobj = PyInt_FromLong((long)result);
9280 return resultobj;
9281 fail:
9282 return NULL;
9283}
9284
9285
9286static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9287 PyObject *resultobj;
9288 wxJoystick *arg1 = (wxJoystick *) 0 ;
9289 int result;
9290 PyObject * obj0 = 0 ;
9291 char *kwnames[] = {
9292 (char *) "self", NULL
9293 };
9294
9295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
9296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9297 {
9298 PyThreadState* __tstate = wxPyBeginAllowThreads();
9299 result = (int)(arg1)->GetNumberAxes();
9300
9301 wxPyEndAllowThreads(__tstate);
9302 if (PyErr_Occurred()) SWIG_fail;
9303 }
9304 resultobj = PyInt_FromLong((long)result);
9305 return resultobj;
9306 fail:
9307 return NULL;
9308}
9309
9310
9311static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9312 PyObject *resultobj;
9313 wxJoystick *arg1 = (wxJoystick *) 0 ;
9314 int result;
9315 PyObject * obj0 = 0 ;
9316 char *kwnames[] = {
9317 (char *) "self", NULL
9318 };
9319
9320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
9321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9322 {
9323 PyThreadState* __tstate = wxPyBeginAllowThreads();
9324 result = (int)(arg1)->GetMaxButtons();
9325
9326 wxPyEndAllowThreads(__tstate);
9327 if (PyErr_Occurred()) SWIG_fail;
9328 }
9329 resultobj = PyInt_FromLong((long)result);
9330 return resultobj;
9331 fail:
9332 return NULL;
9333}
9334
9335
9336static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9337 PyObject *resultobj;
9338 wxJoystick *arg1 = (wxJoystick *) 0 ;
9339 int result;
9340 PyObject * obj0 = 0 ;
9341 char *kwnames[] = {
9342 (char *) "self", NULL
9343 };
9344
9345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
9346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9347 {
9348 PyThreadState* __tstate = wxPyBeginAllowThreads();
9349 result = (int)(arg1)->GetMaxAxes();
9350
9351 wxPyEndAllowThreads(__tstate);
9352 if (PyErr_Occurred()) SWIG_fail;
9353 }
9354 resultobj = PyInt_FromLong((long)result);
9355 return resultobj;
9356 fail:
9357 return NULL;
9358}
9359
9360
9361static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9362 PyObject *resultobj;
9363 wxJoystick *arg1 = (wxJoystick *) 0 ;
9364 int result;
9365 PyObject * obj0 = 0 ;
9366 char *kwnames[] = {
9367 (char *) "self", NULL
9368 };
9369
9370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
9371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9372 {
9373 PyThreadState* __tstate = wxPyBeginAllowThreads();
9374 result = (int)(arg1)->GetPollingMin();
9375
9376 wxPyEndAllowThreads(__tstate);
9377 if (PyErr_Occurred()) SWIG_fail;
9378 }
9379 resultobj = PyInt_FromLong((long)result);
9380 return resultobj;
9381 fail:
9382 return NULL;
9383}
9384
9385
9386static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9387 PyObject *resultobj;
9388 wxJoystick *arg1 = (wxJoystick *) 0 ;
9389 int result;
9390 PyObject * obj0 = 0 ;
9391 char *kwnames[] = {
9392 (char *) "self", NULL
9393 };
9394
9395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
9396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9397 {
9398 PyThreadState* __tstate = wxPyBeginAllowThreads();
9399 result = (int)(arg1)->GetPollingMax();
9400
9401 wxPyEndAllowThreads(__tstate);
9402 if (PyErr_Occurred()) SWIG_fail;
9403 }
9404 resultobj = PyInt_FromLong((long)result);
9405 return resultobj;
9406 fail:
9407 return NULL;
9408}
9409
9410
9411static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9412 PyObject *resultobj;
9413 wxJoystick *arg1 = (wxJoystick *) 0 ;
9414 int result;
9415 PyObject * obj0 = 0 ;
9416 char *kwnames[] = {
9417 (char *) "self", NULL
9418 };
9419
9420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
9421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9422 {
9423 PyThreadState* __tstate = wxPyBeginAllowThreads();
9424 result = (int)(arg1)->GetRudderMin();
9425
9426 wxPyEndAllowThreads(__tstate);
9427 if (PyErr_Occurred()) SWIG_fail;
9428 }
9429 resultobj = PyInt_FromLong((long)result);
9430 return resultobj;
9431 fail:
9432 return NULL;
9433}
9434
9435
9436static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9437 PyObject *resultobj;
9438 wxJoystick *arg1 = (wxJoystick *) 0 ;
9439 int result;
9440 PyObject * obj0 = 0 ;
9441 char *kwnames[] = {
9442 (char *) "self", NULL
9443 };
9444
9445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
9446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9447 {
9448 PyThreadState* __tstate = wxPyBeginAllowThreads();
9449 result = (int)(arg1)->GetRudderMax();
9450
9451 wxPyEndAllowThreads(__tstate);
9452 if (PyErr_Occurred()) SWIG_fail;
9453 }
9454 resultobj = PyInt_FromLong((long)result);
9455 return resultobj;
9456 fail:
9457 return NULL;
9458}
9459
9460
9461static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9462 PyObject *resultobj;
9463 wxJoystick *arg1 = (wxJoystick *) 0 ;
9464 int result;
9465 PyObject * obj0 = 0 ;
9466 char *kwnames[] = {
9467 (char *) "self", NULL
9468 };
9469
9470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
9471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9472 {
9473 PyThreadState* __tstate = wxPyBeginAllowThreads();
9474 result = (int)(arg1)->GetUMin();
9475
9476 wxPyEndAllowThreads(__tstate);
9477 if (PyErr_Occurred()) SWIG_fail;
9478 }
9479 resultobj = PyInt_FromLong((long)result);
9480 return resultobj;
9481 fail:
9482 return NULL;
9483}
9484
9485
9486static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9487 PyObject *resultobj;
9488 wxJoystick *arg1 = (wxJoystick *) 0 ;
9489 int result;
9490 PyObject * obj0 = 0 ;
9491 char *kwnames[] = {
9492 (char *) "self", NULL
9493 };
9494
9495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
9496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9497 {
9498 PyThreadState* __tstate = wxPyBeginAllowThreads();
9499 result = (int)(arg1)->GetUMax();
9500
9501 wxPyEndAllowThreads(__tstate);
9502 if (PyErr_Occurred()) SWIG_fail;
9503 }
9504 resultobj = PyInt_FromLong((long)result);
9505 return resultobj;
9506 fail:
9507 return NULL;
9508}
9509
9510
9511static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9512 PyObject *resultobj;
9513 wxJoystick *arg1 = (wxJoystick *) 0 ;
9514 int result;
9515 PyObject * obj0 = 0 ;
9516 char *kwnames[] = {
9517 (char *) "self", NULL
9518 };
9519
9520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
9521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9522 {
9523 PyThreadState* __tstate = wxPyBeginAllowThreads();
9524 result = (int)(arg1)->GetVMin();
9525
9526 wxPyEndAllowThreads(__tstate);
9527 if (PyErr_Occurred()) SWIG_fail;
9528 }
9529 resultobj = PyInt_FromLong((long)result);
9530 return resultobj;
9531 fail:
9532 return NULL;
9533}
9534
9535
9536static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9537 PyObject *resultobj;
9538 wxJoystick *arg1 = (wxJoystick *) 0 ;
9539 int result;
9540 PyObject * obj0 = 0 ;
9541 char *kwnames[] = {
9542 (char *) "self", NULL
9543 };
9544
9545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
9546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9547 {
9548 PyThreadState* __tstate = wxPyBeginAllowThreads();
9549 result = (int)(arg1)->GetVMax();
9550
9551 wxPyEndAllowThreads(__tstate);
9552 if (PyErr_Occurred()) SWIG_fail;
9553 }
9554 resultobj = PyInt_FromLong((long)result);
9555 return resultobj;
9556 fail:
9557 return NULL;
9558}
9559
9560
9561static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
9562 PyObject *resultobj;
9563 wxJoystick *arg1 = (wxJoystick *) 0 ;
9564 bool result;
9565 PyObject * obj0 = 0 ;
9566 char *kwnames[] = {
9567 (char *) "self", NULL
9568 };
9569
9570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
9571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9572 {
9573 PyThreadState* __tstate = wxPyBeginAllowThreads();
9574 result = (bool)(arg1)->HasRudder();
9575
9576 wxPyEndAllowThreads(__tstate);
9577 if (PyErr_Occurred()) SWIG_fail;
9578 }
9579 resultobj = PyInt_FromLong((long)result);
9580 return resultobj;
9581 fail:
9582 return NULL;
9583}
9584
9585
9586static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
9587 PyObject *resultobj;
9588 wxJoystick *arg1 = (wxJoystick *) 0 ;
9589 bool result;
9590 PyObject * obj0 = 0 ;
9591 char *kwnames[] = {
9592 (char *) "self", NULL
9593 };
9594
9595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
9596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9597 {
9598 PyThreadState* __tstate = wxPyBeginAllowThreads();
9599 result = (bool)(arg1)->HasZ();
9600
9601 wxPyEndAllowThreads(__tstate);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 }
9604 resultobj = PyInt_FromLong((long)result);
9605 return resultobj;
9606 fail:
9607 return NULL;
9608}
9609
9610
9611static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
9612 PyObject *resultobj;
9613 wxJoystick *arg1 = (wxJoystick *) 0 ;
9614 bool result;
9615 PyObject * obj0 = 0 ;
9616 char *kwnames[] = {
9617 (char *) "self", NULL
9618 };
9619
9620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
9621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9622 {
9623 PyThreadState* __tstate = wxPyBeginAllowThreads();
9624 result = (bool)(arg1)->HasU();
9625
9626 wxPyEndAllowThreads(__tstate);
9627 if (PyErr_Occurred()) SWIG_fail;
9628 }
9629 resultobj = PyInt_FromLong((long)result);
9630 return resultobj;
9631 fail:
9632 return NULL;
9633}
9634
9635
9636static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
9637 PyObject *resultobj;
9638 wxJoystick *arg1 = (wxJoystick *) 0 ;
9639 bool result;
9640 PyObject * obj0 = 0 ;
9641 char *kwnames[] = {
9642 (char *) "self", NULL
9643 };
9644
9645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
9646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9647 {
9648 PyThreadState* __tstate = wxPyBeginAllowThreads();
9649 result = (bool)(arg1)->HasV();
9650
9651 wxPyEndAllowThreads(__tstate);
9652 if (PyErr_Occurred()) SWIG_fail;
9653 }
9654 resultobj = PyInt_FromLong((long)result);
9655 return resultobj;
9656 fail:
9657 return NULL;
9658}
9659
9660
9661static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
9662 PyObject *resultobj;
9663 wxJoystick *arg1 = (wxJoystick *) 0 ;
9664 bool result;
9665 PyObject * obj0 = 0 ;
9666 char *kwnames[] = {
9667 (char *) "self", NULL
9668 };
9669
9670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
9671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9672 {
9673 PyThreadState* __tstate = wxPyBeginAllowThreads();
9674 result = (bool)(arg1)->HasPOV();
9675
9676 wxPyEndAllowThreads(__tstate);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 }
9679 resultobj = PyInt_FromLong((long)result);
9680 return resultobj;
9681 fail:
9682 return NULL;
9683}
9684
9685
9686static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
9687 PyObject *resultobj;
9688 wxJoystick *arg1 = (wxJoystick *) 0 ;
9689 bool result;
9690 PyObject * obj0 = 0 ;
9691 char *kwnames[] = {
9692 (char *) "self", NULL
9693 };
9694
9695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
9696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9697 {
9698 PyThreadState* __tstate = wxPyBeginAllowThreads();
9699 result = (bool)(arg1)->HasPOV4Dir();
9700
9701 wxPyEndAllowThreads(__tstate);
9702 if (PyErr_Occurred()) SWIG_fail;
9703 }
9704 resultobj = PyInt_FromLong((long)result);
9705 return resultobj;
9706 fail:
9707 return NULL;
9708}
9709
9710
9711static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
9712 PyObject *resultobj;
9713 wxJoystick *arg1 = (wxJoystick *) 0 ;
9714 bool result;
9715 PyObject * obj0 = 0 ;
9716 char *kwnames[] = {
9717 (char *) "self", NULL
9718 };
9719
9720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
9721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9722 {
9723 PyThreadState* __tstate = wxPyBeginAllowThreads();
9724 result = (bool)(arg1)->HasPOVCTS();
9725
9726 wxPyEndAllowThreads(__tstate);
9727 if (PyErr_Occurred()) SWIG_fail;
9728 }
9729 resultobj = PyInt_FromLong((long)result);
9730 return resultobj;
9731 fail:
9732 return NULL;
9733}
9734
9735
9736static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9737 PyObject *resultobj;
9738 wxJoystick *arg1 = (wxJoystick *) 0 ;
9739 wxWindow *arg2 = (wxWindow *) 0 ;
9740 int arg3 = (int) 0 ;
9741 bool result;
9742 PyObject * obj0 = 0 ;
9743 PyObject * obj1 = 0 ;
9744 char *kwnames[] = {
9745 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9746 };
9747
9748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Joystick_SetCapture",kwnames,&obj0,&obj1,&arg3)) goto fail;
9749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9750 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9751 {
9752 PyThreadState* __tstate = wxPyBeginAllowThreads();
9753 result = (bool)(arg1)->SetCapture(arg2,arg3);
9754
9755 wxPyEndAllowThreads(__tstate);
9756 if (PyErr_Occurred()) SWIG_fail;
9757 }
9758 resultobj = PyInt_FromLong((long)result);
9759 return resultobj;
9760 fail:
9761 return NULL;
9762}
9763
9764
9765static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9766 PyObject *resultobj;
9767 wxJoystick *arg1 = (wxJoystick *) 0 ;
9768 bool result;
9769 PyObject * obj0 = 0 ;
9770 char *kwnames[] = {
9771 (char *) "self", NULL
9772 };
9773
9774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
9775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9776 {
9777 PyThreadState* __tstate = wxPyBeginAllowThreads();
9778 result = (bool)(arg1)->ReleaseCapture();
9779
9780 wxPyEndAllowThreads(__tstate);
9781 if (PyErr_Occurred()) SWIG_fail;
9782 }
9783 resultobj = PyInt_FromLong((long)result);
9784 return resultobj;
9785 fail:
9786 return NULL;
9787}
9788
9789
9790static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
9791 PyObject *obj;
9792 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9793 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
9794 Py_INCREF(obj);
9795 return Py_BuildValue((char *)"");
9796}
9797static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9798 PyObject *resultobj;
9799 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9800 wxPoint *arg2 = (wxPoint *) 0 ;
9801 PyObject * obj0 = 0 ;
9802 PyObject * obj1 = 0 ;
9803 char *kwnames[] = {
9804 (char *) "self",(char *) "m_pos", NULL
9805 };
9806
9807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
9808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9809 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9810 if (arg1) (arg1)->m_pos = *arg2;
9811
9812 Py_INCREF(Py_None); resultobj = Py_None;
9813 return resultobj;
9814 fail:
9815 return NULL;
9816}
9817
9818
9819static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9820 PyObject *resultobj;
9821 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9822 wxPoint *result;
9823 PyObject * obj0 = 0 ;
9824 char *kwnames[] = {
9825 (char *) "self", NULL
9826 };
9827
9828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
9829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9830 result = (wxPoint *)& ((arg1)->m_pos);
9831
9832 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
9833 return resultobj;
9834 fail:
9835 return NULL;
9836}
9837
9838
9839static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9840 PyObject *resultobj;
9841 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9842 int arg2 ;
9843 PyObject * obj0 = 0 ;
9844 char *kwnames[] = {
9845 (char *) "self",(char *) "m_zPosition", NULL
9846 };
9847
9848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames,&obj0,&arg2)) goto fail;
9849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9850 if (arg1) (arg1)->m_zPosition = arg2;
9851
9852 Py_INCREF(Py_None); resultobj = Py_None;
9853 return resultobj;
9854 fail:
9855 return NULL;
9856}
9857
9858
9859static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9860 PyObject *resultobj;
9861 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9862 int result;
9863 PyObject * obj0 = 0 ;
9864 char *kwnames[] = {
9865 (char *) "self", NULL
9866 };
9867
9868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
9869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9870 result = (int) ((arg1)->m_zPosition);
9871
9872 resultobj = PyInt_FromLong((long)result);
9873 return resultobj;
9874 fail:
9875 return NULL;
9876}
9877
9878
9879static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9880 PyObject *resultobj;
9881 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9882 int arg2 ;
9883 PyObject * obj0 = 0 ;
9884 char *kwnames[] = {
9885 (char *) "self",(char *) "m_buttonChange", NULL
9886 };
9887
9888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&arg2)) goto fail;
9889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9890 if (arg1) (arg1)->m_buttonChange = arg2;
9891
9892 Py_INCREF(Py_None); resultobj = Py_None;
9893 return resultobj;
9894 fail:
9895 return NULL;
9896}
9897
9898
9899static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9900 PyObject *resultobj;
9901 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9902 int result;
9903 PyObject * obj0 = 0 ;
9904 char *kwnames[] = {
9905 (char *) "self", NULL
9906 };
9907
9908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
9909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9910 result = (int) ((arg1)->m_buttonChange);
9911
9912 resultobj = PyInt_FromLong((long)result);
9913 return resultobj;
9914 fail:
9915 return NULL;
9916}
9917
9918
9919static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9920 PyObject *resultobj;
9921 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9922 int arg2 ;
9923 PyObject * obj0 = 0 ;
9924 char *kwnames[] = {
9925 (char *) "self",(char *) "m_buttonState", NULL
9926 };
9927
9928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames,&obj0,&arg2)) goto fail;
9929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9930 if (arg1) (arg1)->m_buttonState = arg2;
9931
9932 Py_INCREF(Py_None); resultobj = Py_None;
9933 return resultobj;
9934 fail:
9935 return NULL;
9936}
9937
9938
9939static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9940 PyObject *resultobj;
9941 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9942 int result;
9943 PyObject * obj0 = 0 ;
9944 char *kwnames[] = {
9945 (char *) "self", NULL
9946 };
9947
9948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
9949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9950 result = (int) ((arg1)->m_buttonState);
9951
9952 resultobj = PyInt_FromLong((long)result);
9953 return resultobj;
9954 fail:
9955 return NULL;
9956}
9957
9958
9959static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9960 PyObject *resultobj;
9961 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9962 int arg2 ;
9963 PyObject * obj0 = 0 ;
9964 char *kwnames[] = {
9965 (char *) "self",(char *) "m_joyStick", NULL
9966 };
9967
9968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames,&obj0,&arg2)) goto fail;
9969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9970 if (arg1) (arg1)->m_joyStick = arg2;
9971
9972 Py_INCREF(Py_None); resultobj = Py_None;
9973 return resultobj;
9974 fail:
9975 return NULL;
9976}
9977
9978
9979static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9980 PyObject *resultobj;
9981 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9982 int result;
9983 PyObject * obj0 = 0 ;
9984 char *kwnames[] = {
9985 (char *) "self", NULL
9986 };
9987
9988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
9989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9990 result = (int) ((arg1)->m_joyStick);
9991
9992 resultobj = PyInt_FromLong((long)result);
9993 return resultobj;
9994 fail:
9995 return NULL;
9996}
9997
9998
9999static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10000 PyObject *resultobj;
10001 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10002 int arg2 = (int) 0 ;
10003 int arg3 = (int) wxJOYSTICK1 ;
10004 int arg4 = (int) 0 ;
10005 wxJoystickEvent *result;
10006 char *kwnames[] = {
10007 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10008 };
10009
10010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_JoystickEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
10011 {
10012 PyThreadState* __tstate = wxPyBeginAllowThreads();
10013 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
10014
10015 wxPyEndAllowThreads(__tstate);
10016 if (PyErr_Occurred()) SWIG_fail;
10017 }
10018 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystickEvent, 1);
10019 return resultobj;
10020 fail:
10021 return NULL;
10022}
10023
10024
10025static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10026 PyObject *resultobj;
10027 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10028 wxPoint result;
10029 PyObject * obj0 = 0 ;
10030 char *kwnames[] = {
10031 (char *) "self", NULL
10032 };
10033
10034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
10035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10036 {
10037 PyThreadState* __tstate = wxPyBeginAllowThreads();
10038 result = ((wxJoystickEvent const *)arg1)->GetPosition();
10039
10040 wxPyEndAllowThreads(__tstate);
10041 if (PyErr_Occurred()) SWIG_fail;
10042 }
10043 {
10044 wxPoint * resultptr;
10045 resultptr = new wxPoint((wxPoint &) result);
10046 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
10047 }
10048 return resultobj;
10049 fail:
10050 return NULL;
10051}
10052
10053
10054static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10055 PyObject *resultobj;
10056 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10057 int result;
10058 PyObject * obj0 = 0 ;
10059 char *kwnames[] = {
10060 (char *) "self", NULL
10061 };
10062
10063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
10064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10065 {
10066 PyThreadState* __tstate = wxPyBeginAllowThreads();
10067 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
10068
10069 wxPyEndAllowThreads(__tstate);
10070 if (PyErr_Occurred()) SWIG_fail;
10071 }
10072 resultobj = PyInt_FromLong((long)result);
10073 return resultobj;
10074 fail:
10075 return NULL;
10076}
10077
10078
10079static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10080 PyObject *resultobj;
10081 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10082 int result;
10083 PyObject * obj0 = 0 ;
10084 char *kwnames[] = {
10085 (char *) "self", NULL
10086 };
10087
10088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
10089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10090 {
10091 PyThreadState* __tstate = wxPyBeginAllowThreads();
10092 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
10093
10094 wxPyEndAllowThreads(__tstate);
10095 if (PyErr_Occurred()) SWIG_fail;
10096 }
10097 resultobj = PyInt_FromLong((long)result);
10098 return resultobj;
10099 fail:
10100 return NULL;
10101}
10102
10103
10104static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10105 PyObject *resultobj;
10106 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10107 int result;
10108 PyObject * obj0 = 0 ;
10109 char *kwnames[] = {
10110 (char *) "self", NULL
10111 };
10112
10113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
10114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10115 {
10116 PyThreadState* __tstate = wxPyBeginAllowThreads();
10117 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10118
10119 wxPyEndAllowThreads(__tstate);
10120 if (PyErr_Occurred()) SWIG_fail;
10121 }
10122 resultobj = PyInt_FromLong((long)result);
10123 return resultobj;
10124 fail:
10125 return NULL;
10126}
10127
10128
10129static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10130 PyObject *resultobj;
10131 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10132 int result;
10133 PyObject * obj0 = 0 ;
10134 char *kwnames[] = {
10135 (char *) "self", NULL
10136 };
10137
10138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
10139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10140 {
10141 PyThreadState* __tstate = wxPyBeginAllowThreads();
10142 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
10143
10144 wxPyEndAllowThreads(__tstate);
10145 if (PyErr_Occurred()) SWIG_fail;
10146 }
10147 resultobj = PyInt_FromLong((long)result);
10148 return resultobj;
10149 fail:
10150 return NULL;
10151}
10152
10153
10154static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10155 PyObject *resultobj;
10156 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10157 int arg2 ;
10158 PyObject * obj0 = 0 ;
10159 char *kwnames[] = {
10160 (char *) "self",(char *) "stick", NULL
10161 };
10162
10163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetJoystick",kwnames,&obj0,&arg2)) goto fail;
10164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10165 {
10166 PyThreadState* __tstate = wxPyBeginAllowThreads();
10167 (arg1)->SetJoystick(arg2);
10168
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 Py_INCREF(Py_None); resultobj = Py_None;
10173 return resultobj;
10174 fail:
10175 return NULL;
10176}
10177
10178
10179static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10180 PyObject *resultobj;
10181 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10182 int arg2 ;
10183 PyObject * obj0 = 0 ;
10184 char *kwnames[] = {
10185 (char *) "self",(char *) "state", NULL
10186 };
10187
10188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonState",kwnames,&obj0,&arg2)) goto fail;
10189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10190 {
10191 PyThreadState* __tstate = wxPyBeginAllowThreads();
10192 (arg1)->SetButtonState(arg2);
10193
10194 wxPyEndAllowThreads(__tstate);
10195 if (PyErr_Occurred()) SWIG_fail;
10196 }
10197 Py_INCREF(Py_None); resultobj = Py_None;
10198 return resultobj;
10199 fail:
10200 return NULL;
10201}
10202
10203
10204static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10205 PyObject *resultobj;
10206 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10207 int arg2 ;
10208 PyObject * obj0 = 0 ;
10209 char *kwnames[] = {
10210 (char *) "self",(char *) "change", NULL
10211 };
10212
10213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames,&obj0,&arg2)) goto fail;
10214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10215 {
10216 PyThreadState* __tstate = wxPyBeginAllowThreads();
10217 (arg1)->SetButtonChange(arg2);
10218
10219 wxPyEndAllowThreads(__tstate);
10220 if (PyErr_Occurred()) SWIG_fail;
10221 }
10222 Py_INCREF(Py_None); resultobj = Py_None;
10223 return resultobj;
10224 fail:
10225 return NULL;
10226}
10227
10228
10229static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10230 PyObject *resultobj;
10231 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10232 wxPoint *arg2 = 0 ;
10233 wxPoint temp2 ;
10234 PyObject * obj0 = 0 ;
10235 PyObject * obj1 = 0 ;
10236 char *kwnames[] = {
10237 (char *) "self",(char *) "pos", NULL
10238 };
10239
10240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10242 {
10243 arg2 = &temp2;
10244 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10245 }
10246 {
10247 PyThreadState* __tstate = wxPyBeginAllowThreads();
10248 (arg1)->SetPosition((wxPoint const &)*arg2);
10249
10250 wxPyEndAllowThreads(__tstate);
10251 if (PyErr_Occurred()) SWIG_fail;
10252 }
10253 Py_INCREF(Py_None); resultobj = Py_None;
10254 return resultobj;
10255 fail:
10256 return NULL;
10257}
10258
10259
10260static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10261 PyObject *resultobj;
10262 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10263 int arg2 ;
10264 PyObject * obj0 = 0 ;
10265 char *kwnames[] = {
10266 (char *) "self",(char *) "zPos", NULL
10267 };
10268
10269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetZPosition",kwnames,&obj0,&arg2)) goto fail;
10270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10271 {
10272 PyThreadState* __tstate = wxPyBeginAllowThreads();
10273 (arg1)->SetZPosition(arg2);
10274
10275 wxPyEndAllowThreads(__tstate);
10276 if (PyErr_Occurred()) SWIG_fail;
10277 }
10278 Py_INCREF(Py_None); resultobj = Py_None;
10279 return resultobj;
10280 fail:
10281 return NULL;
10282}
10283
10284
10285static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10286 PyObject *resultobj;
10287 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10288 bool result;
10289 PyObject * obj0 = 0 ;
10290 char *kwnames[] = {
10291 (char *) "self", NULL
10292 };
10293
10294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
10295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10296 {
10297 PyThreadState* __tstate = wxPyBeginAllowThreads();
10298 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
10299
10300 wxPyEndAllowThreads(__tstate);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 }
10303 resultobj = PyInt_FromLong((long)result);
10304 return resultobj;
10305 fail:
10306 return NULL;
10307}
10308
10309
10310static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10311 PyObject *resultobj;
10312 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10313 bool result;
10314 PyObject * obj0 = 0 ;
10315 char *kwnames[] = {
10316 (char *) "self", NULL
10317 };
10318
10319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
10320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10321 {
10322 PyThreadState* __tstate = wxPyBeginAllowThreads();
10323 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
10324
10325 wxPyEndAllowThreads(__tstate);
10326 if (PyErr_Occurred()) SWIG_fail;
10327 }
10328 resultobj = PyInt_FromLong((long)result);
10329 return resultobj;
10330 fail:
10331 return NULL;
10332}
10333
10334
10335static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10336 PyObject *resultobj;
10337 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10338 bool result;
10339 PyObject * obj0 = 0 ;
10340 char *kwnames[] = {
10341 (char *) "self", NULL
10342 };
10343
10344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
10345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10346 {
10347 PyThreadState* __tstate = wxPyBeginAllowThreads();
10348 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
10349
10350 wxPyEndAllowThreads(__tstate);
10351 if (PyErr_Occurred()) SWIG_fail;
10352 }
10353 resultobj = PyInt_FromLong((long)result);
10354 return resultobj;
10355 fail:
10356 return NULL;
10357}
10358
10359
10360static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10361 PyObject *resultobj;
10362 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10363 int arg2 = (int) wxJOY_BUTTON_ANY ;
10364 bool result;
10365 PyObject * obj0 = 0 ;
10366 char *kwnames[] = {
10367 (char *) "self",(char *) "but", NULL
10368 };
10369
10370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonDown",kwnames,&obj0,&arg2)) goto fail;
10371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10372 {
10373 PyThreadState* __tstate = wxPyBeginAllowThreads();
10374 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
10375
10376 wxPyEndAllowThreads(__tstate);
10377 if (PyErr_Occurred()) SWIG_fail;
10378 }
10379 resultobj = PyInt_FromLong((long)result);
10380 return resultobj;
10381 fail:
10382 return NULL;
10383}
10384
10385
10386static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
10387 PyObject *resultobj;
10388 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10389 int arg2 = (int) wxJOY_BUTTON_ANY ;
10390 bool result;
10391 PyObject * obj0 = 0 ;
10392 char *kwnames[] = {
10393 (char *) "self",(char *) "but", NULL
10394 };
10395
10396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonUp",kwnames,&obj0,&arg2)) goto fail;
10397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10398 {
10399 PyThreadState* __tstate = wxPyBeginAllowThreads();
10400 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
10401
10402 wxPyEndAllowThreads(__tstate);
10403 if (PyErr_Occurred()) SWIG_fail;
10404 }
10405 resultobj = PyInt_FromLong((long)result);
10406 return resultobj;
10407 fail:
10408 return NULL;
10409}
10410
10411
10412static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10413 PyObject *resultobj;
10414 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10415 int arg2 = (int) wxJOY_BUTTON_ANY ;
10416 bool result;
10417 PyObject * obj0 = 0 ;
10418 char *kwnames[] = {
10419 (char *) "self",(char *) "but", NULL
10420 };
10421
10422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames,&obj0,&arg2)) goto fail;
10423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10424 {
10425 PyThreadState* __tstate = wxPyBeginAllowThreads();
10426 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
10427
10428 wxPyEndAllowThreads(__tstate);
10429 if (PyErr_Occurred()) SWIG_fail;
10430 }
10431 resultobj = PyInt_FromLong((long)result);
10432 return resultobj;
10433 fail:
10434 return NULL;
10435}
10436
10437
10438static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
10439 PyObject *obj;
10440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10441 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
10442 Py_INCREF(obj);
10443 return Py_BuildValue((char *)"");
10444}
10445static PyObject *_wrap_new_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10446 PyObject *resultobj;
10447 wxString *arg1 = 0 ;
423f194a 10448 bool arg2 = (bool) False ;
d14a1e28 10449 wxWave *result;
423f194a 10450 bool temp1 = False ;
d14a1e28
RD
10451 PyObject * obj0 = 0 ;
10452 PyObject * obj1 = 0 ;
10453 char *kwnames[] = {
10454 (char *) "fileName",(char *) "isResource", NULL
10455 };
10456
10457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Wave",kwnames,&obj0,&obj1)) goto fail;
10458 {
10459 arg1 = wxString_in_helper(obj0);
10460 if (arg1 == NULL) SWIG_fail;
423f194a 10461 temp1 = True;
d14a1e28
RD
10462 }
10463 if (obj1) {
10464 arg2 = PyInt_AsLong(obj1) ? true : false;
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
10467 {
10468 PyThreadState* __tstate = wxPyBeginAllowThreads();
10469 result = (wxWave *)new wxWave((wxString const &)*arg1,arg2);
10470
10471 wxPyEndAllowThreads(__tstate);
10472 if (PyErr_Occurred()) SWIG_fail;
10473 }
10474 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10475 {
10476 if (temp1)
10477 delete arg1;
10478 }
10479 return resultobj;
10480 fail:
10481 {
10482 if (temp1)
10483 delete arg1;
10484 }
10485 return NULL;
10486}
10487
10488
10489static PyObject *_wrap_new_WaveData(PyObject *self, PyObject *args, PyObject *kwargs) {
10490 PyObject *resultobj;
10491 wxString *arg1 = 0 ;
10492 wxWave *result;
423f194a 10493 bool temp1 = False ;
d14a1e28
RD
10494 PyObject * obj0 = 0 ;
10495 char *kwnames[] = {
10496 (char *) "data", NULL
10497 };
10498
10499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_WaveData",kwnames,&obj0)) goto fail;
10500 {
10501 arg1 = wxString_in_helper(obj0);
10502 if (arg1 == NULL) SWIG_fail;
423f194a 10503 temp1 = True;
d14a1e28
RD
10504 }
10505 {
10506 PyThreadState* __tstate = wxPyBeginAllowThreads();
10507 result = (wxWave *)new_wxWave((wxString const &)*arg1);
10508
10509 wxPyEndAllowThreads(__tstate);
10510 if (PyErr_Occurred()) SWIG_fail;
10511 }
10512 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10513 {
10514 if (temp1)
10515 delete arg1;
10516 }
10517 return resultobj;
10518 fail:
10519 {
10520 if (temp1)
10521 delete arg1;
10522 }
10523 return NULL;
10524}
10525
10526
10527static PyObject *_wrap_delete_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10528 PyObject *resultobj;
10529 wxWave *arg1 = (wxWave *) 0 ;
10530 PyObject * obj0 = 0 ;
10531 char *kwnames[] = {
10532 (char *) "self", NULL
10533 };
10534
10535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Wave",kwnames,&obj0)) goto fail;
10536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10537 {
10538 PyThreadState* __tstate = wxPyBeginAllowThreads();
10539 delete arg1;
10540
10541 wxPyEndAllowThreads(__tstate);
10542 if (PyErr_Occurred()) SWIG_fail;
10543 }
10544 Py_INCREF(Py_None); resultobj = Py_None;
10545 return resultobj;
10546 fail:
10547 return NULL;
10548}
10549
10550
10551static PyObject *_wrap_Wave_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10552 PyObject *resultobj;
10553 wxWave *arg1 = (wxWave *) 0 ;
10554 bool result;
10555 PyObject * obj0 = 0 ;
10556 char *kwnames[] = {
10557 (char *) "self", NULL
10558 };
10559
10560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wave_IsOk",kwnames,&obj0)) goto fail;
10561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10562 {
10563 PyThreadState* __tstate = wxPyBeginAllowThreads();
10564 result = (bool)((wxWave const *)arg1)->IsOk();
10565
10566 wxPyEndAllowThreads(__tstate);
10567 if (PyErr_Occurred()) SWIG_fail;
10568 }
10569 resultobj = PyInt_FromLong((long)result);
10570 return resultobj;
10571 fail:
10572 return NULL;
10573}
10574
10575
10576static PyObject *_wrap_Wave_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
10577 PyObject *resultobj;
10578 wxWave *arg1 = (wxWave *) 0 ;
423f194a
RD
10579 bool arg2 = (bool) True ;
10580 bool arg3 = (bool) False ;
d14a1e28
RD
10581 bool result;
10582 PyObject * obj0 = 0 ;
10583 PyObject * obj1 = 0 ;
10584 PyObject * obj2 = 0 ;
10585 char *kwnames[] = {
10586 (char *) "self",(char *) "async",(char *) "looped", NULL
10587 };
10588
10589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Wave_Play",kwnames,&obj0,&obj1,&obj2)) goto fail;
10590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10591 if (obj1) {
10592 arg2 = PyInt_AsLong(obj1) ? true : false;
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 if (obj2) {
10596 arg3 = PyInt_AsLong(obj2) ? true : false;
10597 if (PyErr_Occurred()) SWIG_fail;
10598 }
10599 {
10600 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 10601 result = (bool)(arg1)->Play(arg2,arg3);
d14a1e28
RD
10602
10603 wxPyEndAllowThreads(__tstate);
10604 if (PyErr_Occurred()) SWIG_fail;
10605 }
10606 resultobj = PyInt_FromLong((long)result);
10607 return resultobj;
10608 fail:
10609 return NULL;
10610}
10611
10612
10613static PyObject * Wave_swigregister(PyObject *self, PyObject *args) {
10614 PyObject *obj;
10615 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10616 SWIG_TypeClientData(SWIGTYPE_p_wxWave, obj);
10617 Py_INCREF(obj);
10618 return Py_BuildValue((char *)"");
10619}
10620static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10621 PyObject *resultobj;
10622 wxString *arg1 = 0 ;
10623 wxString *arg2 = 0 ;
10624 wxString *arg3 = 0 ;
10625 wxString *arg4 = 0 ;
10626 wxFileTypeInfo *result;
423f194a
RD
10627 bool temp1 = False ;
10628 bool temp2 = False ;
10629 bool temp3 = False ;
10630 bool temp4 = False ;
d14a1e28
RD
10631 PyObject * obj0 = 0 ;
10632 PyObject * obj1 = 0 ;
10633 PyObject * obj2 = 0 ;
10634 PyObject * obj3 = 0 ;
10635 char *kwnames[] = {
10636 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10637 };
10638
10639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10640 {
10641 arg1 = wxString_in_helper(obj0);
10642 if (arg1 == NULL) SWIG_fail;
423f194a 10643 temp1 = True;
d14a1e28
RD
10644 }
10645 {
10646 arg2 = wxString_in_helper(obj1);
10647 if (arg2 == NULL) SWIG_fail;
423f194a 10648 temp2 = True;
d14a1e28
RD
10649 }
10650 {
10651 arg3 = wxString_in_helper(obj2);
10652 if (arg3 == NULL) SWIG_fail;
423f194a 10653 temp3 = True;
d14a1e28
RD
10654 }
10655 {
10656 arg4 = wxString_in_helper(obj3);
10657 if (arg4 == NULL) SWIG_fail;
423f194a 10658 temp4 = True;
d14a1e28
RD
10659 }
10660 {
10661 PyThreadState* __tstate = wxPyBeginAllowThreads();
10662 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10663
10664 wxPyEndAllowThreads(__tstate);
10665 if (PyErr_Occurred()) SWIG_fail;
10666 }
10667 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10668 {
10669 if (temp1)
10670 delete arg1;
10671 }
10672 {
10673 if (temp2)
10674 delete arg2;
10675 }
10676 {
10677 if (temp3)
10678 delete arg3;
10679 }
10680 {
10681 if (temp4)
10682 delete arg4;
10683 }
10684 return resultobj;
10685 fail:
10686 {
10687 if (temp1)
10688 delete arg1;
10689 }
10690 {
10691 if (temp2)
10692 delete arg2;
10693 }
10694 {
10695 if (temp3)
10696 delete arg3;
10697 }
10698 {
10699 if (temp4)
10700 delete arg4;
10701 }
10702 return NULL;
10703}
10704
10705
10706static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
10707 PyObject *resultobj;
10708 wxArrayString *arg1 = 0 ;
10709 wxFileTypeInfo *result;
10710 PyObject * obj0 = 0 ;
10711 char *kwnames[] = {
10712 (char *) "sArray", NULL
10713 };
10714
10715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
10716 {
10717 if (! PySequence_Check(obj0)) {
10718 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10719 SWIG_fail;
10720 }
10721 arg1 = new wxArrayString;
10722 int i, len=PySequence_Length(obj0);
10723 for (i=0; i<len; i++) {
10724 PyObject* item = PySequence_GetItem(obj0, i);
10725#if wxUSE_UNICODE
10726 PyObject* str = PyObject_Unicode(item);
10727#else
10728 PyObject* str = PyObject_Str(item);
10729#endif
10730 arg1->Add(Py2wxString(str));
10731 Py_DECREF(item);
10732 Py_DECREF(str);
10733 }
10734 }
10735 {
10736 PyThreadState* __tstate = wxPyBeginAllowThreads();
10737 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
10738
10739 wxPyEndAllowThreads(__tstate);
10740 if (PyErr_Occurred()) SWIG_fail;
10741 }
10742 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10743 {
10744 if (arg1) delete arg1;
10745 }
10746 return resultobj;
10747 fail:
10748 {
10749 if (arg1) delete arg1;
10750 }
10751 return NULL;
10752}
10753
10754
10755static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10756 PyObject *resultobj;
10757 wxFileTypeInfo *result;
10758 char *kwnames[] = {
10759 NULL
10760 };
10761
10762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
10763 {
10764 PyThreadState* __tstate = wxPyBeginAllowThreads();
10765 result = (wxFileTypeInfo *)new wxFileTypeInfo();
10766
10767 wxPyEndAllowThreads(__tstate);
10768 if (PyErr_Occurred()) SWIG_fail;
10769 }
10770 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10771 return resultobj;
10772 fail:
10773 return NULL;
10774}
10775
10776
10777static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
10778 PyObject *resultobj;
10779 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10780 bool result;
10781 PyObject * obj0 = 0 ;
10782 char *kwnames[] = {
10783 (char *) "self", NULL
10784 };
10785
10786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
10787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10788 {
10789 PyThreadState* __tstate = wxPyBeginAllowThreads();
10790 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
10791
10792 wxPyEndAllowThreads(__tstate);
10793 if (PyErr_Occurred()) SWIG_fail;
10794 }
10795 resultobj = PyInt_FromLong((long)result);
10796 return resultobj;
10797 fail:
10798 return NULL;
10799}
10800
10801
10802static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10803 PyObject *resultobj;
10804 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10805 wxString *arg2 = 0 ;
10806 int arg3 = (int) 0 ;
423f194a 10807 bool temp2 = False ;
d14a1e28
RD
10808 PyObject * obj0 = 0 ;
10809 PyObject * obj1 = 0 ;
10810 char *kwnames[] = {
10811 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
10812 };
10813
10814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
10815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10816 {
10817 arg2 = wxString_in_helper(obj1);
10818 if (arg2 == NULL) SWIG_fail;
423f194a 10819 temp2 = True;
d14a1e28
RD
10820 }
10821 {
10822 PyThreadState* __tstate = wxPyBeginAllowThreads();
10823 (arg1)->SetIcon((wxString const &)*arg2,arg3);
10824
10825 wxPyEndAllowThreads(__tstate);
10826 if (PyErr_Occurred()) SWIG_fail;
10827 }
10828 Py_INCREF(Py_None); resultobj = Py_None;
10829 {
10830 if (temp2)
10831 delete arg2;
10832 }
10833 return resultobj;
10834 fail:
10835 {
10836 if (temp2)
10837 delete arg2;
10838 }
10839 return NULL;
10840}
10841
10842
10843static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10844 PyObject *resultobj;
10845 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10846 wxString *arg2 = 0 ;
423f194a 10847 bool temp2 = False ;
d14a1e28
RD
10848 PyObject * obj0 = 0 ;
10849 PyObject * obj1 = 0 ;
10850 char *kwnames[] = {
10851 (char *) "self",(char *) "shortDesc", NULL
10852 };
10853
10854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
10855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10856 {
10857 arg2 = wxString_in_helper(obj1);
10858 if (arg2 == NULL) SWIG_fail;
423f194a 10859 temp2 = True;
d14a1e28
RD
10860 }
10861 {
10862 PyThreadState* __tstate = wxPyBeginAllowThreads();
10863 (arg1)->SetShortDesc((wxString const &)*arg2);
10864
10865 wxPyEndAllowThreads(__tstate);
10866 if (PyErr_Occurred()) SWIG_fail;
10867 }
10868 Py_INCREF(Py_None); resultobj = Py_None;
10869 {
10870 if (temp2)
10871 delete arg2;
10872 }
10873 return resultobj;
10874 fail:
10875 {
10876 if (temp2)
10877 delete arg2;
10878 }
10879 return NULL;
10880}
10881
10882
10883static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
10884 PyObject *resultobj;
10885 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10886 wxString *result;
10887 PyObject * obj0 = 0 ;
10888 char *kwnames[] = {
10889 (char *) "self", NULL
10890 };
10891
10892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
10893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10894 {
10895 PyThreadState* __tstate = wxPyBeginAllowThreads();
10896 {
10897 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
10898 result = (wxString *) &_result_ref;
10899 }
10900
10901 wxPyEndAllowThreads(__tstate);
10902 if (PyErr_Occurred()) SWIG_fail;
10903 }
0f774bef
RD
10904 {
10905#if wxUSE_UNICODE
10906 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10907#else
10908 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10909#endif
10910 }
d14a1e28
RD
10911 return resultobj;
10912 fail:
10913 return NULL;
10914}
10915
10916
10917static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10918 PyObject *resultobj;
10919 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10920 wxString *result;
10921 PyObject * obj0 = 0 ;
10922 char *kwnames[] = {
10923 (char *) "self", NULL
10924 };
10925
10926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
10927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10928 {
10929 PyThreadState* __tstate = wxPyBeginAllowThreads();
10930 {
10931 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
10932 result = (wxString *) &_result_ref;
10933 }
10934
10935 wxPyEndAllowThreads(__tstate);
10936 if (PyErr_Occurred()) SWIG_fail;
10937 }
0f774bef
RD
10938 {
10939#if wxUSE_UNICODE
10940 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10941#else
10942 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10943#endif
10944 }
d14a1e28
RD
10945 return resultobj;
10946 fail:
10947 return NULL;
10948}
10949
10950
10951static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10952 PyObject *resultobj;
10953 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10954 wxString *result;
10955 PyObject * obj0 = 0 ;
10956 char *kwnames[] = {
10957 (char *) "self", NULL
10958 };
10959
10960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
10961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10962 {
10963 PyThreadState* __tstate = wxPyBeginAllowThreads();
10964 {
10965 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
10966 result = (wxString *) &_result_ref;
10967 }
10968
10969 wxPyEndAllowThreads(__tstate);
10970 if (PyErr_Occurred()) SWIG_fail;
10971 }
0f774bef
RD
10972 {
10973#if wxUSE_UNICODE
10974 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10975#else
10976 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10977#endif
10978 }
d14a1e28
RD
10979 return resultobj;
10980 fail:
10981 return NULL;
10982}
10983
10984
10985static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10986 PyObject *resultobj;
10987 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10988 wxString *result;
10989 PyObject * obj0 = 0 ;
10990 char *kwnames[] = {
10991 (char *) "self", NULL
10992 };
10993
10994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
10995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10996 {
10997 PyThreadState* __tstate = wxPyBeginAllowThreads();
10998 {
10999 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
11000 result = (wxString *) &_result_ref;
11001 }
11002
11003 wxPyEndAllowThreads(__tstate);
11004 if (PyErr_Occurred()) SWIG_fail;
11005 }
0f774bef
RD
11006 {
11007#if wxUSE_UNICODE
11008 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11009#else
11010 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11011#endif
11012 }
d14a1e28
RD
11013 return resultobj;
11014 fail:
11015 return NULL;
11016}
11017
11018
11019static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11020 PyObject *resultobj;
11021 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11022 wxString *result;
11023 PyObject * obj0 = 0 ;
11024 char *kwnames[] = {
11025 (char *) "self", NULL
11026 };
11027
11028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
11029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11030 {
11031 PyThreadState* __tstate = wxPyBeginAllowThreads();
11032 {
11033 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
11034 result = (wxString *) &_result_ref;
11035 }
11036
11037 wxPyEndAllowThreads(__tstate);
11038 if (PyErr_Occurred()) SWIG_fail;
11039 }
0f774bef
RD
11040 {
11041#if wxUSE_UNICODE
11042 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11043#else
11044 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11045#endif
11046 }
d14a1e28
RD
11047 return resultobj;
11048 fail:
11049 return NULL;
11050}
11051
11052
11053static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11054 PyObject *resultobj;
11055 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11056 wxArrayString *result;
11057 PyObject * obj0 = 0 ;
11058 char *kwnames[] = {
11059 (char *) "self", NULL
11060 };
11061
11062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
11063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11064 {
11065 PyThreadState* __tstate = wxPyBeginAllowThreads();
11066 {
11067 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
11068 result = (wxArrayString *) &_result_ref;
11069 }
11070
11071 wxPyEndAllowThreads(__tstate);
11072 if (PyErr_Occurred()) SWIG_fail;
11073 }
11074 {
11075 resultobj = wxArrayString2PyList_helper(*result);
11076 }
11077 return resultobj;
11078 fail:
11079 return NULL;
11080}
11081
11082
11083static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11084 PyObject *resultobj;
11085 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11086 int result;
11087 PyObject * obj0 = 0 ;
11088 char *kwnames[] = {
11089 (char *) "self", NULL
11090 };
11091
11092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
11093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11094 {
11095 PyThreadState* __tstate = wxPyBeginAllowThreads();
11096 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
11097
11098 wxPyEndAllowThreads(__tstate);
11099 if (PyErr_Occurred()) SWIG_fail;
11100 }
11101 resultobj = PyInt_FromLong((long)result);
11102 return resultobj;
11103 fail:
11104 return NULL;
11105}
11106
11107
11108static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
11109 PyObject *resultobj;
11110 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11111 wxString *result;
11112 PyObject * obj0 = 0 ;
11113 char *kwnames[] = {
11114 (char *) "self", NULL
11115 };
11116
11117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
11118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11119 {
11120 PyThreadState* __tstate = wxPyBeginAllowThreads();
11121 {
11122 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
11123 result = (wxString *) &_result_ref;
11124 }
11125
11126 wxPyEndAllowThreads(__tstate);
11127 if (PyErr_Occurred()) SWIG_fail;
11128 }
0f774bef
RD
11129 {
11130#if wxUSE_UNICODE
11131 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11132#else
11133 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11134#endif
11135 }
d14a1e28
RD
11136 return resultobj;
11137 fail:
11138 return NULL;
11139}
11140
11141
11142static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11143 PyObject *resultobj;
11144 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11145 int result;
11146 PyObject * obj0 = 0 ;
11147 char *kwnames[] = {
11148 (char *) "self", NULL
11149 };
11150
11151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
11152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11153 {
11154 PyThreadState* __tstate = wxPyBeginAllowThreads();
11155 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
11156
11157 wxPyEndAllowThreads(__tstate);
11158 if (PyErr_Occurred()) SWIG_fail;
11159 }
11160 resultobj = PyInt_FromLong((long)result);
11161 return resultobj;
11162 fail:
11163 return NULL;
11164}
11165
11166
11167static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
11168 PyObject *obj;
11169 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11170 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
11171 Py_INCREF(obj);
11172 return Py_BuildValue((char *)"");
11173}
11174static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11175 PyObject *resultobj;
11176 wxFileTypeInfo *arg1 = 0 ;
11177 wxFileType *result;
11178 PyObject * obj0 = 0 ;
11179 char *kwnames[] = {
11180 (char *) "ftInfo", NULL
11181 };
11182
11183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
11184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11185 if (arg1 == NULL) {
11186 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11187 }
11188 {
11189 PyThreadState* __tstate = wxPyBeginAllowThreads();
11190 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
11191
11192 wxPyEndAllowThreads(__tstate);
11193 if (PyErr_Occurred()) SWIG_fail;
11194 }
11195 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11196 return resultobj;
11197 fail:
11198 return NULL;
11199}
11200
11201
11202static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11203 PyObject *resultobj;
11204 wxFileType *arg1 = (wxFileType *) 0 ;
11205 PyObject * obj0 = 0 ;
11206 char *kwnames[] = {
11207 (char *) "self", NULL
11208 };
11209
11210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
11211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11212 {
11213 PyThreadState* __tstate = wxPyBeginAllowThreads();
11214 delete arg1;
11215
11216 wxPyEndAllowThreads(__tstate);
11217 if (PyErr_Occurred()) SWIG_fail;
11218 }
11219 Py_INCREF(Py_None); resultobj = Py_None;
11220 return resultobj;
11221 fail:
11222 return NULL;
11223}
11224
11225
11226static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11227 PyObject *resultobj;
11228 wxFileType *arg1 = (wxFileType *) 0 ;
11229 PyObject *result;
11230 PyObject * obj0 = 0 ;
11231 char *kwnames[] = {
11232 (char *) "self", NULL
11233 };
11234
11235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
11236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11237 {
11238 PyThreadState* __tstate = wxPyBeginAllowThreads();
11239 result = (PyObject *)wxFileType_GetMimeType(arg1);
11240
11241 wxPyEndAllowThreads(__tstate);
11242 if (PyErr_Occurred()) SWIG_fail;
11243 }
11244 resultobj = result;
11245 return resultobj;
11246 fail:
11247 return NULL;
11248}
11249
11250
11251static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11252 PyObject *resultobj;
11253 wxFileType *arg1 = (wxFileType *) 0 ;
11254 PyObject *result;
11255 PyObject * obj0 = 0 ;
11256 char *kwnames[] = {
11257 (char *) "self", NULL
11258 };
11259
11260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
11261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11262 {
11263 PyThreadState* __tstate = wxPyBeginAllowThreads();
11264 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
11265
11266 wxPyEndAllowThreads(__tstate);
11267 if (PyErr_Occurred()) SWIG_fail;
11268 }
11269 resultobj = result;
11270 return resultobj;
11271 fail:
11272 return NULL;
11273}
11274
11275
11276static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11277 PyObject *resultobj;
11278 wxFileType *arg1 = (wxFileType *) 0 ;
11279 PyObject *result;
11280 PyObject * obj0 = 0 ;
11281 char *kwnames[] = {
11282 (char *) "self", NULL
11283 };
11284
11285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
11286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11287 {
11288 PyThreadState* __tstate = wxPyBeginAllowThreads();
11289 result = (PyObject *)wxFileType_GetExtensions(arg1);
11290
11291 wxPyEndAllowThreads(__tstate);
11292 if (PyErr_Occurred()) SWIG_fail;
11293 }
11294 resultobj = result;
11295 return resultobj;
11296 fail:
11297 return NULL;
11298}
11299
11300
11301static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11302 PyObject *resultobj;
11303 wxFileType *arg1 = (wxFileType *) 0 ;
11304 wxIcon *result;
11305 PyObject * obj0 = 0 ;
11306 char *kwnames[] = {
11307 (char *) "self", NULL
11308 };
11309
11310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
11311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11312 {
11313 PyThreadState* __tstate = wxPyBeginAllowThreads();
11314 result = (wxIcon *)wxFileType_GetIcon(arg1);
11315
11316 wxPyEndAllowThreads(__tstate);
11317 if (PyErr_Occurred()) SWIG_fail;
11318 }
11319 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIcon, 1);
11320 return resultobj;
11321 fail:
11322 return NULL;
11323}
11324
11325
11326static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11327 PyObject *resultobj;
11328 wxFileType *arg1 = (wxFileType *) 0 ;
11329 PyObject *result;
11330 PyObject * obj0 = 0 ;
11331 char *kwnames[] = {
11332 (char *) "self", NULL
11333 };
11334
11335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
11336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11337 {
11338 PyThreadState* __tstate = wxPyBeginAllowThreads();
11339 result = (PyObject *)wxFileType_GetIconInfo(arg1);
11340
11341 wxPyEndAllowThreads(__tstate);
11342 if (PyErr_Occurred()) SWIG_fail;
11343 }
11344 resultobj = result;
11345 return resultobj;
11346 fail:
11347 return NULL;
11348}
11349
11350
11351static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11352 PyObject *resultobj;
11353 wxFileType *arg1 = (wxFileType *) 0 ;
11354 PyObject *result;
11355 PyObject * obj0 = 0 ;
11356 char *kwnames[] = {
11357 (char *) "self", NULL
11358 };
11359
11360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
11361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11362 {
11363 PyThreadState* __tstate = wxPyBeginAllowThreads();
11364 result = (PyObject *)wxFileType_GetDescription(arg1);
11365
11366 wxPyEndAllowThreads(__tstate);
11367 if (PyErr_Occurred()) SWIG_fail;
11368 }
11369 resultobj = result;
11370 return resultobj;
11371 fail:
11372 return NULL;
11373}
11374
11375
11376static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11377 PyObject *resultobj;
11378 wxFileType *arg1 = (wxFileType *) 0 ;
11379 wxString *arg2 = 0 ;
11380 wxString const &arg3_defvalue = wxPyEmptyString ;
11381 wxString *arg3 = (wxString *) &arg3_defvalue ;
11382 PyObject *result;
423f194a
RD
11383 bool temp2 = False ;
11384 bool temp3 = False ;
d14a1e28
RD
11385 PyObject * obj0 = 0 ;
11386 PyObject * obj1 = 0 ;
11387 PyObject * obj2 = 0 ;
11388 char *kwnames[] = {
11389 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11390 };
11391
11392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11394 {
11395 arg2 = wxString_in_helper(obj1);
11396 if (arg2 == NULL) SWIG_fail;
423f194a 11397 temp2 = True;
d14a1e28
RD
11398 }
11399 if (obj2) {
11400 {
11401 arg3 = wxString_in_helper(obj2);
11402 if (arg3 == NULL) SWIG_fail;
423f194a 11403 temp3 = True;
d14a1e28
RD
11404 }
11405 }
11406 {
11407 PyThreadState* __tstate = wxPyBeginAllowThreads();
11408 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11409
11410 wxPyEndAllowThreads(__tstate);
11411 if (PyErr_Occurred()) SWIG_fail;
11412 }
11413 resultobj = result;
11414 {
11415 if (temp2)
11416 delete arg2;
11417 }
11418 {
11419 if (temp3)
11420 delete arg3;
11421 }
11422 return resultobj;
11423 fail:
11424 {
11425 if (temp2)
11426 delete arg2;
11427 }
11428 {
11429 if (temp3)
11430 delete arg3;
11431 }
11432 return NULL;
11433}
11434
11435
11436static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11437 PyObject *resultobj;
11438 wxFileType *arg1 = (wxFileType *) 0 ;
11439 wxString *arg2 = 0 ;
11440 wxString const &arg3_defvalue = wxPyEmptyString ;
11441 wxString *arg3 = (wxString *) &arg3_defvalue ;
11442 PyObject *result;
423f194a
RD
11443 bool temp2 = False ;
11444 bool temp3 = False ;
d14a1e28
RD
11445 PyObject * obj0 = 0 ;
11446 PyObject * obj1 = 0 ;
11447 PyObject * obj2 = 0 ;
11448 char *kwnames[] = {
11449 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11450 };
11451
11452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11454 {
11455 arg2 = wxString_in_helper(obj1);
11456 if (arg2 == NULL) SWIG_fail;
423f194a 11457 temp2 = True;
d14a1e28
RD
11458 }
11459 if (obj2) {
11460 {
11461 arg3 = wxString_in_helper(obj2);
11462 if (arg3 == NULL) SWIG_fail;
423f194a 11463 temp3 = True;
d14a1e28
RD
11464 }
11465 }
11466 {
11467 PyThreadState* __tstate = wxPyBeginAllowThreads();
11468 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11469
11470 wxPyEndAllowThreads(__tstate);
11471 if (PyErr_Occurred()) SWIG_fail;
11472 }
11473 resultobj = result;
11474 {
11475 if (temp2)
11476 delete arg2;
11477 }
11478 {
11479 if (temp3)
11480 delete arg3;
11481 }
11482 return resultobj;
11483 fail:
11484 {
11485 if (temp2)
11486 delete arg2;
11487 }
11488 {
11489 if (temp3)
11490 delete arg3;
11491 }
11492 return NULL;
11493}
11494
11495
11496static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
11497 PyObject *resultobj;
11498 wxFileType *arg1 = (wxFileType *) 0 ;
11499 wxString *arg2 = 0 ;
11500 wxString const &arg3_defvalue = wxPyEmptyString ;
11501 wxString *arg3 = (wxString *) &arg3_defvalue ;
11502 PyObject *result;
423f194a
RD
11503 bool temp2 = False ;
11504 bool temp3 = False ;
d14a1e28
RD
11505 PyObject * obj0 = 0 ;
11506 PyObject * obj1 = 0 ;
11507 PyObject * obj2 = 0 ;
11508 char *kwnames[] = {
11509 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11510 };
11511
11512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
11513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11514 {
11515 arg2 = wxString_in_helper(obj1);
11516 if (arg2 == NULL) SWIG_fail;
423f194a 11517 temp2 = True;
d14a1e28
RD
11518 }
11519 if (obj2) {
11520 {
11521 arg3 = wxString_in_helper(obj2);
11522 if (arg3 == NULL) SWIG_fail;
423f194a 11523 temp3 = True;
d14a1e28
RD
11524 }
11525 }
11526 {
11527 PyThreadState* __tstate = wxPyBeginAllowThreads();
11528 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11529
11530 wxPyEndAllowThreads(__tstate);
11531 if (PyErr_Occurred()) SWIG_fail;
11532 }
11533 resultobj = result;
11534 {
11535 if (temp2)
11536 delete arg2;
11537 }
11538 {
11539 if (temp3)
11540 delete arg3;
11541 }
11542 return resultobj;
11543 fail:
11544 {
11545 if (temp2)
11546 delete arg2;
11547 }
11548 {
11549 if (temp3)
11550 delete arg3;
11551 }
11552 return NULL;
11553}
11554
11555
11556static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11557 PyObject *resultobj;
11558 wxFileType *arg1 = (wxFileType *) 0 ;
11559 wxString *arg2 = 0 ;
11560 wxString *arg3 = 0 ;
423f194a 11561 bool arg4 = (bool) True ;
d14a1e28 11562 bool result;
423f194a
RD
11563 bool temp2 = False ;
11564 bool temp3 = False ;
d14a1e28
RD
11565 PyObject * obj0 = 0 ;
11566 PyObject * obj1 = 0 ;
11567 PyObject * obj2 = 0 ;
11568 PyObject * obj3 = 0 ;
11569 char *kwnames[] = {
11570 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11571 };
11572
11573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11575 {
11576 arg2 = wxString_in_helper(obj1);
11577 if (arg2 == NULL) SWIG_fail;
423f194a 11578 temp2 = True;
d14a1e28
RD
11579 }
11580 {
11581 arg3 = wxString_in_helper(obj2);
11582 if (arg3 == NULL) SWIG_fail;
423f194a 11583 temp3 = True;
d14a1e28
RD
11584 }
11585 if (obj3) {
11586 arg4 = PyInt_AsLong(obj3) ? true : false;
11587 if (PyErr_Occurred()) SWIG_fail;
11588 }
11589 {
11590 PyThreadState* __tstate = wxPyBeginAllowThreads();
11591 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11592
11593 wxPyEndAllowThreads(__tstate);
11594 if (PyErr_Occurred()) SWIG_fail;
11595 }
11596 resultobj = PyInt_FromLong((long)result);
11597 {
11598 if (temp2)
11599 delete arg2;
11600 }
11601 {
11602 if (temp3)
11603 delete arg3;
11604 }
11605 return resultobj;
11606 fail:
11607 {
11608 if (temp2)
11609 delete arg2;
11610 }
11611 {
11612 if (temp3)
11613 delete arg3;
11614 }
11615 return NULL;
11616}
11617
11618
11619static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11620 PyObject *resultobj;
11621 wxFileType *arg1 = (wxFileType *) 0 ;
11622 wxString const &arg2_defvalue = wxPyEmptyString ;
11623 wxString *arg2 = (wxString *) &arg2_defvalue ;
11624 int arg3 = (int) 0 ;
11625 bool result;
423f194a 11626 bool temp2 = False ;
d14a1e28
RD
11627 PyObject * obj0 = 0 ;
11628 PyObject * obj1 = 0 ;
11629 char *kwnames[] = {
11630 (char *) "self",(char *) "cmd",(char *) "index", NULL
11631 };
11632
11633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
11634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11635 if (obj1) {
11636 {
11637 arg2 = wxString_in_helper(obj1);
11638 if (arg2 == NULL) SWIG_fail;
423f194a 11639 temp2 = True;
d14a1e28
RD
11640 }
11641 }
11642 {
11643 PyThreadState* __tstate = wxPyBeginAllowThreads();
11644 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
11645
11646 wxPyEndAllowThreads(__tstate);
11647 if (PyErr_Occurred()) SWIG_fail;
11648 }
11649 resultobj = PyInt_FromLong((long)result);
11650 {
11651 if (temp2)
11652 delete arg2;
11653 }
11654 return resultobj;
11655 fail:
11656 {
11657 if (temp2)
11658 delete arg2;
11659 }
11660 return NULL;
11661}
11662
11663
11664static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
11665 PyObject *resultobj;
11666 wxFileType *arg1 = (wxFileType *) 0 ;
11667 bool result;
11668 PyObject * obj0 = 0 ;
11669 char *kwnames[] = {
11670 (char *) "self", NULL
11671 };
11672
11673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
11674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11675 {
11676 PyThreadState* __tstate = wxPyBeginAllowThreads();
11677 result = (bool)(arg1)->Unassociate();
11678
11679 wxPyEndAllowThreads(__tstate);
11680 if (PyErr_Occurred()) SWIG_fail;
11681 }
11682 resultobj = PyInt_FromLong((long)result);
11683 return resultobj;
11684 fail:
11685 return NULL;
11686}
11687
11688
11689static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11690 PyObject *resultobj;
11691 wxString *arg1 = 0 ;
11692 wxString *arg2 = 0 ;
11693 wxString const &arg3_defvalue = wxPyEmptyString ;
11694 wxString *arg3 = (wxString *) &arg3_defvalue ;
11695 wxString result;
423f194a
RD
11696 bool temp1 = False ;
11697 bool temp2 = False ;
11698 bool temp3 = False ;
d14a1e28
RD
11699 PyObject * obj0 = 0 ;
11700 PyObject * obj1 = 0 ;
11701 PyObject * obj2 = 0 ;
11702 char *kwnames[] = {
11703 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11704 };
11705
11706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11707 {
11708 arg1 = wxString_in_helper(obj0);
11709 if (arg1 == NULL) SWIG_fail;
423f194a 11710 temp1 = True;
d14a1e28
RD
11711 }
11712 {
11713 arg2 = wxString_in_helper(obj1);
11714 if (arg2 == NULL) SWIG_fail;
423f194a 11715 temp2 = True;
d14a1e28
RD
11716 }
11717 if (obj2) {
11718 {
11719 arg3 = wxString_in_helper(obj2);
11720 if (arg3 == NULL) SWIG_fail;
423f194a 11721 temp3 = True;
d14a1e28
RD
11722 }
11723 }
11724 {
11725 PyThreadState* __tstate = wxPyBeginAllowThreads();
11726 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11727
11728 wxPyEndAllowThreads(__tstate);
11729 if (PyErr_Occurred()) SWIG_fail;
11730 }
11731 {
11732#if wxUSE_UNICODE
11733 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11734#else
11735 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11736#endif
11737 }
11738 {
11739 if (temp1)
11740 delete arg1;
11741 }
11742 {
11743 if (temp2)
11744 delete arg2;
11745 }
11746 {
11747 if (temp3)
11748 delete arg3;
11749 }
11750 return resultobj;
11751 fail:
11752 {
11753 if (temp1)
11754 delete arg1;
11755 }
11756 {
11757 if (temp2)
11758 delete arg2;
11759 }
11760 {
11761 if (temp3)
11762 delete arg3;
11763 }
11764 return NULL;
11765}
11766
11767
11768static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
11769 PyObject *obj;
11770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11771 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
11772 Py_INCREF(obj);
11773 return Py_BuildValue((char *)"");
11774}
11775static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
11776 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
11777 return 1;
11778}
11779
11780
11781static PyObject *_wrap_TheMimeTypesManager_get() {
11782 PyObject *pyobj;
11783
11784 pyobj = SWIG_NewPointerObj((void *) wxTheMimeTypesManager, SWIGTYPE_p_wxMimeTypesManager, 0);
11785 return pyobj;
11786}
11787
11788
11789static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
11790 PyObject *resultobj;
11791 wxString *arg1 = 0 ;
11792 wxString *arg2 = 0 ;
11793 bool result;
423f194a
RD
11794 bool temp1 = False ;
11795 bool temp2 = False ;
d14a1e28
RD
11796 PyObject * obj0 = 0 ;
11797 PyObject * obj1 = 0 ;
11798 char *kwnames[] = {
11799 (char *) "mimeType",(char *) "wildcard", NULL
11800 };
11801
11802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
11803 {
11804 arg1 = wxString_in_helper(obj0);
11805 if (arg1 == NULL) SWIG_fail;
423f194a 11806 temp1 = True;
d14a1e28
RD
11807 }
11808 {
11809 arg2 = wxString_in_helper(obj1);
11810 if (arg2 == NULL) SWIG_fail;
423f194a 11811 temp2 = True;
d14a1e28
RD
11812 }
11813 {
11814 PyThreadState* __tstate = wxPyBeginAllowThreads();
11815 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
11816
11817 wxPyEndAllowThreads(__tstate);
11818 if (PyErr_Occurred()) SWIG_fail;
11819 }
11820 resultobj = PyInt_FromLong((long)result);
11821 {
11822 if (temp1)
11823 delete arg1;
11824 }
11825 {
11826 if (temp2)
11827 delete arg2;
11828 }
11829 return resultobj;
11830 fail:
11831 {
11832 if (temp1)
11833 delete arg1;
11834 }
11835 {
11836 if (temp2)
11837 delete arg2;
11838 }
11839 return NULL;
11840}
11841
11842
11843static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
11844 PyObject *resultobj;
11845 wxMimeTypesManager *result;
11846 char *kwnames[] = {
11847 NULL
11848 };
11849
11850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
11851 {
11852 PyThreadState* __tstate = wxPyBeginAllowThreads();
11853 result = (wxMimeTypesManager *)new wxMimeTypesManager();
11854
11855 wxPyEndAllowThreads(__tstate);
11856 if (PyErr_Occurred()) SWIG_fail;
11857 }
11858 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMimeTypesManager, 1);
11859 return resultobj;
11860 fail:
11861 return NULL;
11862}
11863
11864
11865static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
11866 PyObject *resultobj;
11867 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11868 int arg2 = (int) wxMAILCAP_ALL ;
11869 wxString const &arg3_defvalue = wxPyEmptyString ;
11870 wxString *arg3 = (wxString *) &arg3_defvalue ;
423f194a 11871 bool temp3 = False ;
d14a1e28
RD
11872 PyObject * obj0 = 0 ;
11873 PyObject * obj2 = 0 ;
11874 char *kwnames[] = {
11875 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
11876 };
11877
11878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:MimeTypesManager_Initialize",kwnames,&obj0,&arg2,&obj2)) goto fail;
11879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11880 if (obj2) {
11881 {
11882 arg3 = wxString_in_helper(obj2);
11883 if (arg3 == NULL) SWIG_fail;
423f194a 11884 temp3 = True;
d14a1e28
RD
11885 }
11886 }
11887 {
11888 PyThreadState* __tstate = wxPyBeginAllowThreads();
11889 (arg1)->Initialize(arg2,(wxString const &)*arg3);
11890
11891 wxPyEndAllowThreads(__tstate);
11892 if (PyErr_Occurred()) SWIG_fail;
11893 }
11894 Py_INCREF(Py_None); resultobj = Py_None;
11895 {
11896 if (temp3)
11897 delete arg3;
11898 }
11899 return resultobj;
11900 fail:
11901 {
11902 if (temp3)
11903 delete arg3;
11904 }
11905 return NULL;
11906}
11907
11908
11909static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
11910 PyObject *resultobj;
11911 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11912 PyObject * obj0 = 0 ;
11913 char *kwnames[] = {
11914 (char *) "self", NULL
11915 };
11916
11917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
11918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11919 {
11920 PyThreadState* __tstate = wxPyBeginAllowThreads();
11921 (arg1)->ClearData();
11922
11923 wxPyEndAllowThreads(__tstate);
11924 if (PyErr_Occurred()) SWIG_fail;
11925 }
11926 Py_INCREF(Py_None); resultobj = Py_None;
11927 return resultobj;
11928 fail:
11929 return NULL;
11930}
11931
11932
11933static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
11934 PyObject *resultobj;
11935 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11936 wxString *arg2 = 0 ;
11937 wxFileType *result;
423f194a 11938 bool temp2 = False ;
d14a1e28
RD
11939 PyObject * obj0 = 0 ;
11940 PyObject * obj1 = 0 ;
11941 char *kwnames[] = {
11942 (char *) "self",(char *) "ext", NULL
11943 };
11944
11945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
11946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11947 {
11948 arg2 = wxString_in_helper(obj1);
11949 if (arg2 == NULL) SWIG_fail;
423f194a 11950 temp2 = True;
d14a1e28
RD
11951 }
11952 {
11953 PyThreadState* __tstate = wxPyBeginAllowThreads();
11954 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
11955
11956 wxPyEndAllowThreads(__tstate);
11957 if (PyErr_Occurred()) SWIG_fail;
11958 }
11959 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11960 {
11961 if (temp2)
11962 delete arg2;
11963 }
11964 return resultobj;
11965 fail:
11966 {
11967 if (temp2)
11968 delete arg2;
11969 }
11970 return NULL;
11971}
11972
11973
11974static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11975 PyObject *resultobj;
11976 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11977 wxString *arg2 = 0 ;
11978 wxFileType *result;
423f194a 11979 bool temp2 = False ;
d14a1e28
RD
11980 PyObject * obj0 = 0 ;
11981 PyObject * obj1 = 0 ;
11982 char *kwnames[] = {
11983 (char *) "self",(char *) "mimeType", NULL
11984 };
11985
11986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
11987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11988 {
11989 arg2 = wxString_in_helper(obj1);
11990 if (arg2 == NULL) SWIG_fail;
423f194a 11991 temp2 = True;
d14a1e28
RD
11992 }
11993 {
11994 PyThreadState* __tstate = wxPyBeginAllowThreads();
11995 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
11996
11997 wxPyEndAllowThreads(__tstate);
11998 if (PyErr_Occurred()) SWIG_fail;
11999 }
12000 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12001 {
12002 if (temp2)
12003 delete arg2;
12004 }
12005 return resultobj;
12006 fail:
12007 {
12008 if (temp2)
12009 delete arg2;
12010 }
12011 return NULL;
12012}
12013
12014
12015static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
12016 PyObject *resultobj;
12017 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12018 wxString *arg2 = 0 ;
423f194a 12019 bool arg3 = (bool) False ;
d14a1e28 12020 bool result;
423f194a 12021 bool temp2 = False ;
d14a1e28
RD
12022 PyObject * obj0 = 0 ;
12023 PyObject * obj1 = 0 ;
12024 PyObject * obj2 = 0 ;
12025 char *kwnames[] = {
12026 (char *) "self",(char *) "filename",(char *) "fallback", NULL
12027 };
12028
12029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
12030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12031 {
12032 arg2 = wxString_in_helper(obj1);
12033 if (arg2 == NULL) SWIG_fail;
423f194a 12034 temp2 = True;
d14a1e28
RD
12035 }
12036 if (obj2) {
12037 arg3 = PyInt_AsLong(obj2) ? true : false;
12038 if (PyErr_Occurred()) SWIG_fail;
12039 }
12040 {
12041 PyThreadState* __tstate = wxPyBeginAllowThreads();
12042 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
12043
12044 wxPyEndAllowThreads(__tstate);
12045 if (PyErr_Occurred()) SWIG_fail;
12046 }
12047 resultobj = PyInt_FromLong((long)result);
12048 {
12049 if (temp2)
12050 delete arg2;
12051 }
12052 return resultobj;
12053 fail:
12054 {
12055 if (temp2)
12056 delete arg2;
12057 }
12058 return NULL;
12059}
12060
12061
12062static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12063 PyObject *resultobj;
12064 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12065 wxString *arg2 = 0 ;
12066 bool result;
423f194a 12067 bool temp2 = False ;
d14a1e28
RD
12068 PyObject * obj0 = 0 ;
12069 PyObject * obj1 = 0 ;
12070 char *kwnames[] = {
12071 (char *) "self",(char *) "filename", NULL
12072 };
12073
12074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
12075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12076 {
12077 arg2 = wxString_in_helper(obj1);
12078 if (arg2 == NULL) SWIG_fail;
423f194a 12079 temp2 = True;
d14a1e28
RD
12080 }
12081 {
12082 PyThreadState* __tstate = wxPyBeginAllowThreads();
12083 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
12084
12085 wxPyEndAllowThreads(__tstate);
12086 if (PyErr_Occurred()) SWIG_fail;
12087 }
12088 resultobj = PyInt_FromLong((long)result);
12089 {
12090 if (temp2)
12091 delete arg2;
12092 }
12093 return resultobj;
12094 fail:
12095 {
12096 if (temp2)
12097 delete arg2;
12098 }
12099 return NULL;
12100}
12101
12102
12103static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12104 PyObject *resultobj;
12105 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12106 PyObject *result;
12107 PyObject * obj0 = 0 ;
12108 char *kwnames[] = {
12109 (char *) "self", NULL
12110 };
12111
12112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
12113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12114 {
12115 PyThreadState* __tstate = wxPyBeginAllowThreads();
12116 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
12117
12118 wxPyEndAllowThreads(__tstate);
12119 if (PyErr_Occurred()) SWIG_fail;
12120 }
12121 resultobj = result;
12122 return resultobj;
12123 fail:
12124 return NULL;
12125}
12126
12127
12128static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
12129 PyObject *resultobj;
12130 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12131 wxFileTypeInfo *arg2 = 0 ;
12132 PyObject * obj0 = 0 ;
12133 PyObject * obj1 = 0 ;
12134 char *kwnames[] = {
12135 (char *) "self",(char *) "ft", NULL
12136 };
12137
12138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
12139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12140 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12141 if (arg2 == NULL) {
12142 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12143 }
12144 {
12145 PyThreadState* __tstate = wxPyBeginAllowThreads();
12146 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
12147
12148 wxPyEndAllowThreads(__tstate);
12149 if (PyErr_Occurred()) SWIG_fail;
12150 }
12151 Py_INCREF(Py_None); resultobj = Py_None;
12152 return resultobj;
12153 fail:
12154 return NULL;
12155}
12156
12157
12158static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
12159 PyObject *resultobj;
12160 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12161 wxFileTypeInfo *arg2 = 0 ;
12162 wxFileType *result;
12163 PyObject * obj0 = 0 ;
12164 PyObject * obj1 = 0 ;
12165 char *kwnames[] = {
12166 (char *) "self",(char *) "ftInfo", NULL
12167 };
12168
12169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
12170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12171 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12172 if (arg2 == NULL) {
12173 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12174 }
12175 {
12176 PyThreadState* __tstate = wxPyBeginAllowThreads();
12177 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
12178
12179 wxPyEndAllowThreads(__tstate);
12180 if (PyErr_Occurred()) SWIG_fail;
12181 }
12182 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12183 return resultobj;
12184 fail:
12185 return NULL;
12186}
12187
12188
12189static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12190 PyObject *resultobj;
12191 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12192 wxFileType *arg2 = (wxFileType *) 0 ;
12193 bool result;
12194 PyObject * obj0 = 0 ;
12195 PyObject * obj1 = 0 ;
12196 char *kwnames[] = {
12197 (char *) "self",(char *) "ft", NULL
12198 };
12199
12200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
12201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12202 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12203 {
12204 PyThreadState* __tstate = wxPyBeginAllowThreads();
12205 result = (bool)(arg1)->Unassociate(arg2);
12206
12207 wxPyEndAllowThreads(__tstate);
12208 if (PyErr_Occurred()) SWIG_fail;
12209 }
12210 resultobj = PyInt_FromLong((long)result);
12211 return resultobj;
12212 fail:
12213 return NULL;
12214}
12215
12216
12217static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
12218 PyObject *resultobj;
12219 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12220 PyObject * obj0 = 0 ;
12221 char *kwnames[] = {
12222 (char *) "self", NULL
12223 };
12224
12225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
12226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12227 {
12228 PyThreadState* __tstate = wxPyBeginAllowThreads();
12229 delete arg1;
12230
12231 wxPyEndAllowThreads(__tstate);
12232 if (PyErr_Occurred()) SWIG_fail;
12233 }
12234 Py_INCREF(Py_None); resultobj = Py_None;
12235 return resultobj;
12236 fail:
12237 return NULL;
12238}
12239
12240
12241static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
12242 PyObject *obj;
12243 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12244 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
12245 Py_INCREF(obj);
12246 return Py_BuildValue((char *)"");
12247}
12248static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
12249 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
12250 return 1;
12251}
12252
12253
12254static PyObject *_wrap_ART_TOOLBAR_get() {
12255 PyObject *pyobj;
12256
12257 {
12258#if wxUSE_UNICODE
12259 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12260#else
12261 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12262#endif
12263 }
12264 return pyobj;
12265}
12266
12267
12268static int _wrap_ART_MENU_set(PyObject *_val) {
12269 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
12270 return 1;
12271}
12272
12273
12274static PyObject *_wrap_ART_MENU_get() {
12275 PyObject *pyobj;
12276
12277 {
12278#if wxUSE_UNICODE
12279 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12280#else
12281 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12282#endif
12283 }
12284 return pyobj;
12285}
12286
12287
12288static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
12289 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
12290 return 1;
12291}
12292
12293
12294static PyObject *_wrap_ART_FRAME_ICON_get() {
12295 PyObject *pyobj;
12296
12297 {
12298#if wxUSE_UNICODE
12299 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12300#else
12301 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12302#endif
12303 }
12304 return pyobj;
12305}
12306
12307
12308static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
12309 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
12310 return 1;
12311}
12312
12313
12314static PyObject *_wrap_ART_CMN_DIALOG_get() {
12315 PyObject *pyobj;
12316
12317 {
12318#if wxUSE_UNICODE
12319 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12320#else
12321 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12322#endif
12323 }
12324 return pyobj;
12325}
12326
12327
12328static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
12329 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
12330 return 1;
12331}
12332
12333
12334static PyObject *_wrap_ART_HELP_BROWSER_get() {
12335 PyObject *pyobj;
12336
12337 {
12338#if wxUSE_UNICODE
12339 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12340#else
12341 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12342#endif
12343 }
12344 return pyobj;
12345}
12346
12347
12348static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
12349 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
12350 return 1;
12351}
12352
12353
12354static PyObject *_wrap_ART_MESSAGE_BOX_get() {
12355 PyObject *pyobj;
12356
12357 {
12358#if wxUSE_UNICODE
12359 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12360#else
12361 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12362#endif
12363 }
12364 return pyobj;
12365}
12366
12367
12368static int _wrap_ART_OTHER_set(PyObject *_val) {
12369 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
12370 return 1;
12371}
12372
12373
12374static PyObject *_wrap_ART_OTHER_get() {
12375 PyObject *pyobj;
12376
12377 {
12378#if wxUSE_UNICODE
12379 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12380#else
12381 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12382#endif
12383 }
12384 return pyobj;
12385}
12386
12387
12388static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
12389 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
12390 return 1;
12391}
12392
12393
12394static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
12395 PyObject *pyobj;
12396
12397 {
12398#if wxUSE_UNICODE
12399 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12400#else
12401 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12402#endif
12403 }
12404 return pyobj;
12405}
12406
12407
12408static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
12409 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
12410 return 1;
12411}
12412
12413
12414static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
12415 PyObject *pyobj;
12416
12417 {
12418#if wxUSE_UNICODE
12419 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12420#else
12421 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12422#endif
12423 }
12424 return pyobj;
12425}
12426
12427
12428static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
12429 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
12430 return 1;
12431}
12432
12433
12434static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
12435 PyObject *pyobj;
12436
12437 {
12438#if wxUSE_UNICODE
12439 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12440#else
12441 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12442#endif
12443 }
12444 return pyobj;
12445}
12446
12447
12448static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
12449 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
12450 return 1;
12451}
12452
12453
12454static PyObject *_wrap_ART_HELP_SETTINGS_get() {
12455 PyObject *pyobj;
12456
12457 {
12458#if wxUSE_UNICODE
12459 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12460#else
12461 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12462#endif
12463 }
12464 return pyobj;
12465}
12466
12467
12468static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
12469 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
12470 return 1;
12471}
12472
12473
12474static PyObject *_wrap_ART_HELP_BOOK_get() {
12475 PyObject *pyobj;
12476
12477 {
12478#if wxUSE_UNICODE
12479 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12480#else
12481 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12482#endif
12483 }
12484 return pyobj;
12485}
12486
12487
12488static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
12489 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
12490 return 1;
12491}
12492
12493
12494static PyObject *_wrap_ART_HELP_FOLDER_get() {
12495 PyObject *pyobj;
12496
12497 {
12498#if wxUSE_UNICODE
12499 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12500#else
12501 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12502#endif
12503 }
12504 return pyobj;
12505}
12506
12507
12508static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
12509 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
12510 return 1;
12511}
12512
12513
12514static PyObject *_wrap_ART_HELP_PAGE_get() {
12515 PyObject *pyobj;
12516
12517 {
12518#if wxUSE_UNICODE
12519 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12520#else
12521 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12522#endif
12523 }
12524 return pyobj;
12525}
12526
12527
12528static int _wrap_ART_GO_BACK_set(PyObject *_val) {
12529 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
12530 return 1;
12531}
12532
12533
12534static PyObject *_wrap_ART_GO_BACK_get() {
12535 PyObject *pyobj;
12536
12537 {
12538#if wxUSE_UNICODE
12539 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12540#else
12541 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12542#endif
12543 }
12544 return pyobj;
12545}
12546
12547
12548static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
12549 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
12550 return 1;
12551}
12552
12553
12554static PyObject *_wrap_ART_GO_FORWARD_get() {
12555 PyObject *pyobj;
12556
12557 {
12558#if wxUSE_UNICODE
12559 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12560#else
12561 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12562#endif
12563 }
12564 return pyobj;
12565}
12566
12567
12568static int _wrap_ART_GO_UP_set(PyObject *_val) {
12569 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
12570 return 1;
12571}
12572
12573
12574static PyObject *_wrap_ART_GO_UP_get() {
12575 PyObject *pyobj;
12576
12577 {
12578#if wxUSE_UNICODE
12579 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12580#else
12581 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12582#endif
12583 }
12584 return pyobj;
12585}
12586
12587
12588static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
12589 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
12590 return 1;
12591}
12592
12593
12594static PyObject *_wrap_ART_GO_DOWN_get() {
12595 PyObject *pyobj;
12596
12597 {
12598#if wxUSE_UNICODE
12599 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12600#else
12601 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12602#endif
12603 }
12604 return pyobj;
12605}
12606
12607
12608static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
12609 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
12610 return 1;
12611}
12612
12613
12614static PyObject *_wrap_ART_GO_TO_PARENT_get() {
12615 PyObject *pyobj;
12616
12617 {
12618#if wxUSE_UNICODE
12619 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12620#else
12621 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12622#endif
12623 }
12624 return pyobj;
12625}
12626
12627
12628static int _wrap_ART_GO_HOME_set(PyObject *_val) {
12629 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
12630 return 1;
12631}
12632
12633
12634static PyObject *_wrap_ART_GO_HOME_get() {
12635 PyObject *pyobj;
12636
12637 {
12638#if wxUSE_UNICODE
12639 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12640#else
12641 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12642#endif
12643 }
12644 return pyobj;
12645}
12646
12647
12648static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
12649 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
12650 return 1;
12651}
12652
12653
12654static PyObject *_wrap_ART_FILE_OPEN_get() {
12655 PyObject *pyobj;
12656
12657 {
12658#if wxUSE_UNICODE
12659 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12660#else
12661 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12662#endif
12663 }
12664 return pyobj;
12665}
12666
12667
12668static int _wrap_ART_PRINT_set(PyObject *_val) {
12669 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
12670 return 1;
12671}
12672
12673
12674static PyObject *_wrap_ART_PRINT_get() {
12675 PyObject *pyobj;
12676
12677 {
12678#if wxUSE_UNICODE
12679 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12680#else
12681 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12682#endif
12683 }
12684 return pyobj;
12685}
12686
12687
12688static int _wrap_ART_HELP_set(PyObject *_val) {
12689 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
12690 return 1;
12691}
12692
12693
12694static PyObject *_wrap_ART_HELP_get() {
12695 PyObject *pyobj;
12696
12697 {
12698#if wxUSE_UNICODE
12699 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12700#else
12701 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12702#endif
12703 }
12704 return pyobj;
12705}
12706
12707
12708static int _wrap_ART_TIP_set(PyObject *_val) {
12709 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
12710 return 1;
12711}
12712
12713
12714static PyObject *_wrap_ART_TIP_get() {
12715 PyObject *pyobj;
12716
12717 {
12718#if wxUSE_UNICODE
12719 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12720#else
12721 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12722#endif
12723 }
12724 return pyobj;
12725}
12726
12727
12728static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
12729 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
12730 return 1;
12731}
12732
12733
12734static PyObject *_wrap_ART_REPORT_VIEW_get() {
12735 PyObject *pyobj;
12736
12737 {
12738#if wxUSE_UNICODE
12739 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12740#else
12741 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12742#endif
12743 }
12744 return pyobj;
12745}
12746
12747
12748static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
12749 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
12750 return 1;
12751}
12752
12753
12754static PyObject *_wrap_ART_LIST_VIEW_get() {
12755 PyObject *pyobj;
12756
12757 {
12758#if wxUSE_UNICODE
12759 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12760#else
12761 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12762#endif
12763 }
12764 return pyobj;
12765}
12766
12767
12768static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
12769 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
12770 return 1;
12771}
12772
12773
12774static PyObject *_wrap_ART_NEW_DIR_get() {
12775 PyObject *pyobj;
12776
12777 {
12778#if wxUSE_UNICODE
12779 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12780#else
12781 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12782#endif
12783 }
12784 return pyobj;
12785}
12786
12787
12788static int _wrap_ART_FOLDER_set(PyObject *_val) {
12789 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
12790 return 1;
12791}
12792
12793
12794static PyObject *_wrap_ART_FOLDER_get() {
12795 PyObject *pyobj;
12796
12797 {
12798#if wxUSE_UNICODE
12799 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12800#else
12801 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12802#endif
12803 }
12804 return pyobj;
12805}
12806
12807
12808static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
12809 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
12810 return 1;
12811}
12812
12813
12814static PyObject *_wrap_ART_GO_DIR_UP_get() {
12815 PyObject *pyobj;
12816
12817 {
12818#if wxUSE_UNICODE
12819 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12820#else
12821 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12822#endif
12823 }
12824 return pyobj;
12825}
12826
12827
12828static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
12829 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
12830 return 1;
12831}
12832
12833
12834static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
12835 PyObject *pyobj;
12836
12837 {
12838#if wxUSE_UNICODE
12839 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12840#else
12841 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12842#endif
12843 }
12844 return pyobj;
12845}
12846
12847
12848static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
12849 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
12850 return 1;
12851}
12852
12853
12854static PyObject *_wrap_ART_NORMAL_FILE_get() {
12855 PyObject *pyobj;
12856
12857 {
12858#if wxUSE_UNICODE
12859 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12860#else
12861 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12862#endif
12863 }
12864 return pyobj;
12865}
12866
12867
12868static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
12869 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
12870 return 1;
12871}
12872
12873
12874static PyObject *_wrap_ART_TICK_MARK_get() {
12875 PyObject *pyobj;
12876
12877 {
12878#if wxUSE_UNICODE
12879 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12880#else
12881 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12882#endif
12883 }
12884 return pyobj;
12885}
12886
12887
12888static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
12889 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
12890 return 1;
12891}
12892
12893
12894static PyObject *_wrap_ART_CROSS_MARK_get() {
12895 PyObject *pyobj;
12896
12897 {
12898#if wxUSE_UNICODE
12899 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12900#else
12901 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12902#endif
12903 }
12904 return pyobj;
12905}
12906
12907
12908static int _wrap_ART_ERROR_set(PyObject *_val) {
12909 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
12910 return 1;
12911}
12912
12913
12914static PyObject *_wrap_ART_ERROR_get() {
12915 PyObject *pyobj;
12916
12917 {
12918#if wxUSE_UNICODE
12919 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12920#else
12921 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12922#endif
12923 }
12924 return pyobj;
12925}
12926
12927
12928static int _wrap_ART_QUESTION_set(PyObject *_val) {
12929 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
12930 return 1;
12931}
12932
12933
12934static PyObject *_wrap_ART_QUESTION_get() {
12935 PyObject *pyobj;
12936
12937 {
12938#if wxUSE_UNICODE
12939 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12940#else
12941 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12942#endif
12943 }
12944 return pyobj;
12945}
12946
12947
12948static int _wrap_ART_WARNING_set(PyObject *_val) {
12949 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
12950 return 1;
12951}
12952
12953
12954static PyObject *_wrap_ART_WARNING_get() {
12955 PyObject *pyobj;
12956
12957 {
12958#if wxUSE_UNICODE
12959 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12960#else
12961 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12962#endif
12963 }
12964 return pyobj;
12965}
12966
12967
12968static int _wrap_ART_INFORMATION_set(PyObject *_val) {
12969 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
12970 return 1;
12971}
12972
12973
12974static PyObject *_wrap_ART_INFORMATION_get() {
12975 PyObject *pyobj;
12976
12977 {
12978#if wxUSE_UNICODE
12979 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12980#else
12981 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12982#endif
12983 }
12984 return pyobj;
12985}
12986
12987
12988static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
12989 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
12990 return 1;
12991}
12992
12993
12994static PyObject *_wrap_ART_MISSING_IMAGE_get() {
12995 PyObject *pyobj;
12996
12997 {
12998#if wxUSE_UNICODE
12999 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
13000#else
13001 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
13002#endif
13003 }
13004 return pyobj;
13005}
13006
13007
13008static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13009 PyObject *resultobj;
13010 wxPyArtProvider *result;
13011 char *kwnames[] = {
13012 NULL
13013 };
13014
13015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
13016 {
13017 PyThreadState* __tstate = wxPyBeginAllowThreads();
13018 result = (wxPyArtProvider *)new wxPyArtProvider();
13019
13020 wxPyEndAllowThreads(__tstate);
13021 if (PyErr_Occurred()) SWIG_fail;
13022 }
13023 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyArtProvider, 1);
13024 return resultobj;
13025 fail:
13026 return NULL;
13027}
13028
13029
d14a1e28
RD
13030static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13031 PyObject *resultobj;
13032 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13033 PyObject *arg2 = (PyObject *) 0 ;
13034 PyObject *arg3 = (PyObject *) 0 ;
13035 PyObject * obj0 = 0 ;
13036 PyObject * obj1 = 0 ;
13037 PyObject * obj2 = 0 ;
13038 char *kwnames[] = {
13039 (char *) "self",(char *) "self",(char *) "_class", NULL
13040 };
13041
13042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13044 arg2 = obj1;
13045 arg3 = obj2;
13046 {
13047 PyThreadState* __tstate = wxPyBeginAllowThreads();
13048 (arg1)->_setCallbackInfo(arg2,arg3);
13049
13050 wxPyEndAllowThreads(__tstate);
13051 if (PyErr_Occurred()) SWIG_fail;
13052 }
13053 Py_INCREF(Py_None); resultobj = Py_None;
13054 return resultobj;
13055 fail:
13056 return NULL;
13057}
13058
13059
13060static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13061 PyObject *resultobj;
13062 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13063 PyObject * obj0 = 0 ;
13064 char *kwnames[] = {
13065 (char *) "provider", NULL
13066 };
13067
13068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
13069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13070 {
13071 PyThreadState* __tstate = wxPyBeginAllowThreads();
13072 wxPyArtProvider::PushProvider(arg1);
13073
13074 wxPyEndAllowThreads(__tstate);
13075 if (PyErr_Occurred()) SWIG_fail;
13076 }
13077 Py_INCREF(Py_None); resultobj = Py_None;
13078 return resultobj;
13079 fail:
13080 return NULL;
13081}
13082
13083
13084static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13085 PyObject *resultobj;
13086 bool result;
13087 char *kwnames[] = {
13088 NULL
13089 };
13090
13091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
13092 {
13093 PyThreadState* __tstate = wxPyBeginAllowThreads();
13094 result = (bool)wxPyArtProvider::PopProvider();
13095
13096 wxPyEndAllowThreads(__tstate);
13097 if (PyErr_Occurred()) SWIG_fail;
13098 }
13099 resultobj = PyInt_FromLong((long)result);
13100 return resultobj;
13101 fail:
13102 return NULL;
13103}
13104
13105
13106static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13107 PyObject *resultobj;
13108 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13109 bool result;
13110 PyObject * obj0 = 0 ;
13111 char *kwnames[] = {
13112 (char *) "provider", NULL
13113 };
13114
13115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
13116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13117 {
13118 PyThreadState* __tstate = wxPyBeginAllowThreads();
13119 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
13120
13121 wxPyEndAllowThreads(__tstate);
13122 if (PyErr_Occurred()) SWIG_fail;
13123 }
13124 resultobj = PyInt_FromLong((long)result);
13125 return resultobj;
13126 fail:
13127 return NULL;
13128}
13129
13130
13131static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13132 PyObject *resultobj;
13133 wxString *arg1 = 0 ;
13134 wxString const &arg2_defvalue = wxPyART_OTHER ;
13135 wxString *arg2 = (wxString *) &arg2_defvalue ;
13136 wxSize const &arg3_defvalue = wxDefaultSize ;
13137 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13138 wxBitmap result;
423f194a
RD
13139 bool temp1 = False ;
13140 bool temp2 = False ;
d14a1e28
RD
13141 wxSize temp3 ;
13142 PyObject * obj0 = 0 ;
13143 PyObject * obj1 = 0 ;
13144 PyObject * obj2 = 0 ;
13145 char *kwnames[] = {
13146 (char *) "id",(char *) "client",(char *) "size", NULL
13147 };
13148
13149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13150 {
13151 arg1 = wxString_in_helper(obj0);
13152 if (arg1 == NULL) SWIG_fail;
423f194a 13153 temp1 = True;
d14a1e28
RD
13154 }
13155 if (obj1) {
13156 {
13157 arg2 = wxString_in_helper(obj1);
13158 if (arg2 == NULL) SWIG_fail;
423f194a 13159 temp2 = True;
d14a1e28
RD
13160 }
13161 }
13162 if (obj2) {
13163 {
13164 arg3 = &temp3;
13165 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13166 }
13167 }
13168 {
13169 PyThreadState* __tstate = wxPyBeginAllowThreads();
13170 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13171
13172 wxPyEndAllowThreads(__tstate);
13173 if (PyErr_Occurred()) SWIG_fail;
13174 }
13175 {
13176 wxBitmap * resultptr;
13177 resultptr = new wxBitmap((wxBitmap &) result);
13178 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13179 }
13180 {
13181 if (temp1)
13182 delete arg1;
13183 }
13184 {
13185 if (temp2)
13186 delete arg2;
13187 }
13188 return resultobj;
13189 fail:
13190 {
13191 if (temp1)
13192 delete arg1;
13193 }
13194 {
13195 if (temp2)
13196 delete arg2;
13197 }
13198 return NULL;
13199}
13200
13201
13202static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
13203 PyObject *resultobj;
13204 wxString *arg1 = 0 ;
13205 wxString const &arg2_defvalue = wxPyART_OTHER ;
13206 wxString *arg2 = (wxString *) &arg2_defvalue ;
13207 wxSize const &arg3_defvalue = wxDefaultSize ;
13208 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13209 wxIcon result;
423f194a
RD
13210 bool temp1 = False ;
13211 bool temp2 = False ;
d14a1e28
RD
13212 wxSize temp3 ;
13213 PyObject * obj0 = 0 ;
13214 PyObject * obj1 = 0 ;
13215 PyObject * obj2 = 0 ;
13216 char *kwnames[] = {
13217 (char *) "id",(char *) "client",(char *) "size", NULL
13218 };
13219
13220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13221 {
13222 arg1 = wxString_in_helper(obj0);
13223 if (arg1 == NULL) SWIG_fail;
423f194a 13224 temp1 = True;
d14a1e28
RD
13225 }
13226 if (obj1) {
13227 {
13228 arg2 = wxString_in_helper(obj1);
13229 if (arg2 == NULL) SWIG_fail;
423f194a 13230 temp2 = True;
d14a1e28
RD
13231 }
13232 }
13233 if (obj2) {
13234 {
13235 arg3 = &temp3;
13236 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13237 }
13238 }
13239 {
13240 PyThreadState* __tstate = wxPyBeginAllowThreads();
13241 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13242
13243 wxPyEndAllowThreads(__tstate);
13244 if (PyErr_Occurred()) SWIG_fail;
13245 }
13246 {
13247 wxIcon * resultptr;
13248 resultptr = new wxIcon((wxIcon &) result);
13249 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
13250 }
13251 {
13252 if (temp1)
13253 delete arg1;
13254 }
13255 {
13256 if (temp2)
13257 delete arg2;
13258 }
13259 return resultobj;
13260 fail:
13261 {
13262 if (temp1)
13263 delete arg1;
13264 }
13265 {
13266 if (temp2)
13267 delete arg2;
13268 }
13269 return NULL;
13270}
13271
13272
41f1cec7
RD
13273static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
13274 PyObject *resultobj;
13275 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13276 PyObject * obj0 = 0 ;
13277 char *kwnames[] = {
13278 (char *) "self", NULL
13279 };
13280
13281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
13282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13283 {
13284 PyThreadState* __tstate = wxPyBeginAllowThreads();
13285 wxPyArtProvider_Destroy(arg1);
13286
13287 wxPyEndAllowThreads(__tstate);
13288 if (PyErr_Occurred()) SWIG_fail;
13289 }
13290 Py_INCREF(Py_None); resultobj = Py_None;
13291 return resultobj;
13292 fail:
13293 return NULL;
13294}
13295
13296
d14a1e28
RD
13297static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
13298 PyObject *obj;
13299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13300 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
13301 Py_INCREF(obj);
13302 return Py_BuildValue((char *)"");
13303}
13304static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
13305 PyObject *resultobj;
13306 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13307 PyObject * obj0 = 0 ;
13308 char *kwnames[] = {
13309 (char *) "self", NULL
13310 };
13311
13312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
13313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13314 {
13315 PyThreadState* __tstate = wxPyBeginAllowThreads();
13316 delete arg1;
13317
13318 wxPyEndAllowThreads(__tstate);
13319 if (PyErr_Occurred()) SWIG_fail;
13320 }
13321 Py_INCREF(Py_None); resultobj = Py_None;
13322 return resultobj;
13323 fail:
13324 return NULL;
13325}
13326
13327
13328static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
13329 PyObject *resultobj;
13330 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13331 wxConfigBase *result;
13332 PyObject * obj0 = 0 ;
13333 char *kwnames[] = {
13334 (char *) "pConfig", NULL
13335 };
13336
13337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
13338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13339 {
13340 PyThreadState* __tstate = wxPyBeginAllowThreads();
13341 result = (wxConfigBase *)wxConfigBase::Set(arg1);
13342
13343 wxPyEndAllowThreads(__tstate);
13344 if (PyErr_Occurred()) SWIG_fail;
13345 }
13346 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13347 return resultobj;
13348 fail:
13349 return NULL;
13350}
13351
13352
13353static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
13354 PyObject *resultobj;
423f194a 13355 bool arg1 = (bool) True ;
d14a1e28
RD
13356 wxConfigBase *result;
13357 PyObject * obj0 = 0 ;
13358 char *kwnames[] = {
13359 (char *) "createOnDemand", NULL
13360 };
13361
13362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
13363 if (obj0) {
13364 arg1 = PyInt_AsLong(obj0) ? true : false;
13365 if (PyErr_Occurred()) SWIG_fail;
13366 }
13367 {
13368 PyThreadState* __tstate = wxPyBeginAllowThreads();
13369 result = (wxConfigBase *)wxConfigBase::Get(arg1);
13370
13371 wxPyEndAllowThreads(__tstate);
13372 if (PyErr_Occurred()) SWIG_fail;
13373 }
13374 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13375 return resultobj;
13376 fail:
13377 return NULL;
13378}
13379
13380
13381static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13382 PyObject *resultobj;
13383 wxConfigBase *result;
13384 char *kwnames[] = {
13385 NULL
13386 };
13387
13388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
13389 {
13390 PyThreadState* __tstate = wxPyBeginAllowThreads();
13391 result = (wxConfigBase *)wxConfigBase::Create();
13392
13393 wxPyEndAllowThreads(__tstate);
13394 if (PyErr_Occurred()) SWIG_fail;
13395 }
13396 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13397 return resultobj;
13398 fail:
13399 return NULL;
13400}
13401
13402
13403static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
13404 PyObject *resultobj;
13405 char *kwnames[] = {
13406 NULL
13407 };
13408
13409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
13410 {
13411 PyThreadState* __tstate = wxPyBeginAllowThreads();
13412 wxConfigBase::DontCreateOnDemand();
13413
13414 wxPyEndAllowThreads(__tstate);
13415 if (PyErr_Occurred()) SWIG_fail;
13416 }
13417 Py_INCREF(Py_None); resultobj = Py_None;
13418 return resultobj;
13419 fail:
13420 return NULL;
13421}
13422
13423
13424static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13425 PyObject *resultobj;
13426 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13427 wxString *arg2 = 0 ;
423f194a 13428 bool temp2 = False ;
d14a1e28
RD
13429 PyObject * obj0 = 0 ;
13430 PyObject * obj1 = 0 ;
13431 char *kwnames[] = {
13432 (char *) "self",(char *) "strPath", NULL
13433 };
13434
13435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
13436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13437 {
13438 arg2 = wxString_in_helper(obj1);
13439 if (arg2 == NULL) SWIG_fail;
423f194a 13440 temp2 = True;
d14a1e28
RD
13441 }
13442 {
13443 PyThreadState* __tstate = wxPyBeginAllowThreads();
13444 (arg1)->SetPath((wxString const &)*arg2);
13445
13446 wxPyEndAllowThreads(__tstate);
13447 if (PyErr_Occurred()) SWIG_fail;
13448 }
13449 Py_INCREF(Py_None); resultobj = Py_None;
13450 {
13451 if (temp2)
13452 delete arg2;
13453 }
13454 return resultobj;
13455 fail:
13456 {
13457 if (temp2)
13458 delete arg2;
13459 }
13460 return NULL;
13461}
13462
13463
13464static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13465 PyObject *resultobj;
13466 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13467 wxString *result;
13468 PyObject * obj0 = 0 ;
13469 char *kwnames[] = {
13470 (char *) "self", NULL
13471 };
13472
13473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
13474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13475 {
13476 PyThreadState* __tstate = wxPyBeginAllowThreads();
13477 {
13478 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
13479 result = (wxString *) &_result_ref;
13480 }
13481
13482 wxPyEndAllowThreads(__tstate);
13483 if (PyErr_Occurred()) SWIG_fail;
13484 }
0f774bef
RD
13485 {
13486#if wxUSE_UNICODE
13487 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13488#else
13489 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13490#endif
13491 }
d14a1e28
RD
13492 return resultobj;
13493 fail:
13494 return NULL;
13495}
13496
13497
13498static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13499 PyObject *resultobj;
13500 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13501 PyObject *result;
13502 PyObject * obj0 = 0 ;
13503 char *kwnames[] = {
13504 (char *) "self", NULL
13505 };
13506
13507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
13508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13509 {
13510 PyThreadState* __tstate = wxPyBeginAllowThreads();
13511 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
13512
13513 wxPyEndAllowThreads(__tstate);
13514 if (PyErr_Occurred()) SWIG_fail;
13515 }
13516 resultobj = result;
13517 return resultobj;
13518 fail:
13519 return NULL;
13520}
13521
13522
13523static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13524 PyObject *resultobj;
13525 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13526 long arg2 ;
13527 PyObject *result;
13528 PyObject * obj0 = 0 ;
13529 char *kwnames[] = {
13530 (char *) "self",(char *) "index", NULL
13531 };
13532
13533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextGroup",kwnames,&obj0,&arg2)) goto fail;
13534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13535 {
13536 PyThreadState* __tstate = wxPyBeginAllowThreads();
13537 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
13538
13539 wxPyEndAllowThreads(__tstate);
13540 if (PyErr_Occurred()) SWIG_fail;
13541 }
13542 resultobj = result;
13543 return resultobj;
13544 fail:
13545 return NULL;
13546}
13547
13548
13549static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13550 PyObject *resultobj;
13551 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13552 PyObject *result;
13553 PyObject * obj0 = 0 ;
13554 char *kwnames[] = {
13555 (char *) "self", NULL
13556 };
13557
13558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
13559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13560 {
13561 PyThreadState* __tstate = wxPyBeginAllowThreads();
13562 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
13563
13564 wxPyEndAllowThreads(__tstate);
13565 if (PyErr_Occurred()) SWIG_fail;
13566 }
13567 resultobj = result;
13568 return resultobj;
13569 fail:
13570 return NULL;
13571}
13572
13573
13574static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13575 PyObject *resultobj;
13576 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13577 long arg2 ;
13578 PyObject *result;
13579 PyObject * obj0 = 0 ;
13580 char *kwnames[] = {
13581 (char *) "self",(char *) "index", NULL
13582 };
13583
13584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextEntry",kwnames,&obj0,&arg2)) goto fail;
13585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13586 {
13587 PyThreadState* __tstate = wxPyBeginAllowThreads();
13588 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
13589
13590 wxPyEndAllowThreads(__tstate);
13591 if (PyErr_Occurred()) SWIG_fail;
13592 }
13593 resultobj = result;
13594 return resultobj;
13595 fail:
13596 return NULL;
13597}
13598
13599
13600static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
13601 PyObject *resultobj;
13602 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 13603 bool arg2 = (bool) False ;
d14a1e28
RD
13604 size_t result;
13605 PyObject * obj0 = 0 ;
13606 PyObject * obj1 = 0 ;
13607 char *kwnames[] = {
13608 (char *) "self",(char *) "bRecursive", NULL
13609 };
13610
13611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
13612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13613 if (obj1) {
13614 arg2 = PyInt_AsLong(obj1) ? true : false;
13615 if (PyErr_Occurred()) SWIG_fail;
13616 }
13617 {
13618 PyThreadState* __tstate = wxPyBeginAllowThreads();
13619 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
13620
13621 wxPyEndAllowThreads(__tstate);
13622 if (PyErr_Occurred()) SWIG_fail;
13623 }
13624 resultobj = PyInt_FromLong((long)result);
13625 return resultobj;
13626 fail:
13627 return NULL;
13628}
13629
13630
13631static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
13632 PyObject *resultobj;
13633 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 13634 bool arg2 = (bool) False ;
d14a1e28
RD
13635 size_t result;
13636 PyObject * obj0 = 0 ;
13637 PyObject * obj1 = 0 ;
13638 char *kwnames[] = {
13639 (char *) "self",(char *) "bRecursive", NULL
13640 };
13641
13642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
13643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13644 if (obj1) {
13645 arg2 = PyInt_AsLong(obj1) ? true : false;
13646 if (PyErr_Occurred()) SWIG_fail;
13647 }
13648 {
13649 PyThreadState* __tstate = wxPyBeginAllowThreads();
13650 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
13651
13652 wxPyEndAllowThreads(__tstate);
13653 if (PyErr_Occurred()) SWIG_fail;
13654 }
13655 resultobj = PyInt_FromLong((long)result);
13656 return resultobj;
13657 fail:
13658 return NULL;
13659}
13660
13661
13662static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13663 PyObject *resultobj;
13664 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13665 wxString *arg2 = 0 ;
13666 bool result;
423f194a 13667 bool temp2 = False ;
d14a1e28
RD
13668 PyObject * obj0 = 0 ;
13669 PyObject * obj1 = 0 ;
13670 char *kwnames[] = {
13671 (char *) "self",(char *) "strName", NULL
13672 };
13673
13674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
13675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13676 {
13677 arg2 = wxString_in_helper(obj1);
13678 if (arg2 == NULL) SWIG_fail;
423f194a 13679 temp2 = True;
d14a1e28
RD
13680 }
13681 {
13682 PyThreadState* __tstate = wxPyBeginAllowThreads();
13683 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
13684
13685 wxPyEndAllowThreads(__tstate);
13686 if (PyErr_Occurred()) SWIG_fail;
13687 }
13688 resultobj = PyInt_FromLong((long)result);
13689 {
13690 if (temp2)
13691 delete arg2;
13692 }
13693 return resultobj;
13694 fail:
13695 {
13696 if (temp2)
13697 delete arg2;
13698 }
13699 return NULL;
13700}
13701
13702
13703static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13704 PyObject *resultobj;
13705 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13706 wxString *arg2 = 0 ;
13707 bool result;
423f194a 13708 bool temp2 = False ;
d14a1e28
RD
13709 PyObject * obj0 = 0 ;
13710 PyObject * obj1 = 0 ;
13711 char *kwnames[] = {
13712 (char *) "self",(char *) "strName", NULL
13713 };
13714
13715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
13716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13717 {
13718 arg2 = wxString_in_helper(obj1);
13719 if (arg2 == NULL) SWIG_fail;
423f194a 13720 temp2 = True;
d14a1e28
RD
13721 }
13722 {
13723 PyThreadState* __tstate = wxPyBeginAllowThreads();
13724 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
13725
13726 wxPyEndAllowThreads(__tstate);
13727 if (PyErr_Occurred()) SWIG_fail;
13728 }
13729 resultobj = PyInt_FromLong((long)result);
13730 {
13731 if (temp2)
13732 delete arg2;
13733 }
13734 return resultobj;
13735 fail:
13736 {
13737 if (temp2)
13738 delete arg2;
13739 }
13740 return NULL;
13741}
13742
13743
13744static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
13745 PyObject *resultobj;
13746 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13747 wxString *arg2 = 0 ;
13748 bool result;
423f194a 13749 bool temp2 = False ;
d14a1e28
RD
13750 PyObject * obj0 = 0 ;
13751 PyObject * obj1 = 0 ;
13752 char *kwnames[] = {
13753 (char *) "self",(char *) "strName", NULL
13754 };
13755
13756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
13757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13758 {
13759 arg2 = wxString_in_helper(obj1);
13760 if (arg2 == NULL) SWIG_fail;
423f194a 13761 temp2 = True;
d14a1e28
RD
13762 }
13763 {
13764 PyThreadState* __tstate = wxPyBeginAllowThreads();
13765 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
13766
13767 wxPyEndAllowThreads(__tstate);
13768 if (PyErr_Occurred()) SWIG_fail;
13769 }
13770 resultobj = PyInt_FromLong((long)result);
13771 {
13772 if (temp2)
13773 delete arg2;
13774 }
13775 return resultobj;
13776 fail:
13777 {
13778 if (temp2)
13779 delete arg2;
13780 }
13781 return NULL;
13782}
13783
13784
13785static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
13786 PyObject *resultobj;
13787 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13788 wxString *arg2 = 0 ;
13789 int result;
423f194a 13790 bool temp2 = False ;
d14a1e28
RD
13791 PyObject * obj0 = 0 ;
13792 PyObject * obj1 = 0 ;
13793 char *kwnames[] = {
13794 (char *) "self",(char *) "name", NULL
13795 };
13796
13797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
13798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13799 {
13800 arg2 = wxString_in_helper(obj1);
13801 if (arg2 == NULL) SWIG_fail;
423f194a 13802 temp2 = True;
d14a1e28
RD
13803 }
13804 {
13805 PyThreadState* __tstate = wxPyBeginAllowThreads();
13806 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
13807
13808 wxPyEndAllowThreads(__tstate);
13809 if (PyErr_Occurred()) SWIG_fail;
13810 }
13811 resultobj = PyInt_FromLong((long)result);
13812 {
13813 if (temp2)
13814 delete arg2;
13815 }
13816 return resultobj;
13817 fail:
13818 {
13819 if (temp2)
13820 delete arg2;
13821 }
13822 return NULL;
13823}
13824
13825
13826static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
13827 PyObject *resultobj;
13828 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13829 wxString *arg2 = 0 ;
13830 wxString const &arg3_defvalue = wxPyEmptyString ;
13831 wxString *arg3 = (wxString *) &arg3_defvalue ;
13832 wxString result;
423f194a
RD
13833 bool temp2 = False ;
13834 bool temp3 = False ;
d14a1e28
RD
13835 PyObject * obj0 = 0 ;
13836 PyObject * obj1 = 0 ;
13837 PyObject * obj2 = 0 ;
13838 char *kwnames[] = {
13839 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13840 };
13841
13842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
13843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13844 {
13845 arg2 = wxString_in_helper(obj1);
13846 if (arg2 == NULL) SWIG_fail;
423f194a 13847 temp2 = True;
d14a1e28
RD
13848 }
13849 if (obj2) {
13850 {
13851 arg3 = wxString_in_helper(obj2);
13852 if (arg3 == NULL) SWIG_fail;
423f194a 13853 temp3 = True;
d14a1e28
RD
13854 }
13855 }
13856 {
13857 PyThreadState* __tstate = wxPyBeginAllowThreads();
13858 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
13859
13860 wxPyEndAllowThreads(__tstate);
13861 if (PyErr_Occurred()) SWIG_fail;
13862 }
13863 {
13864#if wxUSE_UNICODE
13865 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13866#else
13867 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13868#endif
13869 }
13870 {
13871 if (temp2)
13872 delete arg2;
13873 }
13874 {
13875 if (temp3)
13876 delete arg3;
13877 }
13878 return resultobj;
13879 fail:
13880 {
13881 if (temp2)
13882 delete arg2;
13883 }
13884 {
13885 if (temp3)
13886 delete arg3;
13887 }
13888 return NULL;
13889}
13890
13891
13892static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13893 PyObject *resultobj;
13894 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13895 wxString *arg2 = 0 ;
13896 long arg3 = (long) 0 ;
13897 long result;
423f194a 13898 bool temp2 = False ;
d14a1e28
RD
13899 PyObject * obj0 = 0 ;
13900 PyObject * obj1 = 0 ;
13901 char *kwnames[] = {
13902 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13903 };
13904
13905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
13906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13907 {
13908 arg2 = wxString_in_helper(obj1);
13909 if (arg2 == NULL) SWIG_fail;
423f194a 13910 temp2 = True;
d14a1e28
RD
13911 }
13912 {
13913 PyThreadState* __tstate = wxPyBeginAllowThreads();
13914 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
13915
13916 wxPyEndAllowThreads(__tstate);
13917 if (PyErr_Occurred()) SWIG_fail;
13918 }
13919 resultobj = PyInt_FromLong((long)result);
13920 {
13921 if (temp2)
13922 delete arg2;
13923 }
13924 return resultobj;
13925 fail:
13926 {
13927 if (temp2)
13928 delete arg2;
13929 }
13930 return NULL;
13931}
13932
13933
13934static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
13935 PyObject *resultobj;
13936 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13937 wxString *arg2 = 0 ;
13938 double arg3 = (double) 0.0 ;
13939 double result;
423f194a 13940 bool temp2 = False ;
d14a1e28
RD
13941 PyObject * obj0 = 0 ;
13942 PyObject * obj1 = 0 ;
13943 char *kwnames[] = {
13944 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13945 };
13946
13947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|d:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
13948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13949 {
13950 arg2 = wxString_in_helper(obj1);
13951 if (arg2 == NULL) SWIG_fail;
423f194a 13952 temp2 = True;
d14a1e28
RD
13953 }
13954 {
13955 PyThreadState* __tstate = wxPyBeginAllowThreads();
13956 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
13957
13958 wxPyEndAllowThreads(__tstate);
13959 if (PyErr_Occurred()) SWIG_fail;
13960 }
13961 resultobj = PyFloat_FromDouble(result);
13962 {
13963 if (temp2)
13964 delete arg2;
13965 }
13966 return resultobj;
13967 fail:
13968 {
13969 if (temp2)
13970 delete arg2;
13971 }
13972 return NULL;
13973}
13974
13975
13976static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
13977 PyObject *resultobj;
13978 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13979 wxString *arg2 = 0 ;
423f194a 13980 bool arg3 = (bool) False ;
d14a1e28 13981 bool result;
423f194a 13982 bool temp2 = False ;
d14a1e28
RD
13983 PyObject * obj0 = 0 ;
13984 PyObject * obj1 = 0 ;
13985 PyObject * obj2 = 0 ;
13986 char *kwnames[] = {
13987 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13988 };
13989
13990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
13991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13992 {
13993 arg2 = wxString_in_helper(obj1);
13994 if (arg2 == NULL) SWIG_fail;
423f194a 13995 temp2 = True;
d14a1e28
RD
13996 }
13997 if (obj2) {
13998 arg3 = PyInt_AsLong(obj2) ? true : false;
13999 if (PyErr_Occurred()) SWIG_fail;
14000 }
14001 {
14002 PyThreadState* __tstate = wxPyBeginAllowThreads();
14003 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
14004
14005 wxPyEndAllowThreads(__tstate);
14006 if (PyErr_Occurred()) SWIG_fail;
14007 }
14008 resultobj = PyInt_FromLong((long)result);
14009 {
14010 if (temp2)
14011 delete arg2;
14012 }
14013 return resultobj;
14014 fail:
14015 {
14016 if (temp2)
14017 delete arg2;
14018 }
14019 return NULL;
14020}
14021
14022
14023static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
14024 PyObject *resultobj;
14025 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14026 wxString *arg2 = 0 ;
14027 wxString *arg3 = 0 ;
14028 bool result;
423f194a
RD
14029 bool temp2 = False ;
14030 bool temp3 = False ;
d14a1e28
RD
14031 PyObject * obj0 = 0 ;
14032 PyObject * obj1 = 0 ;
14033 PyObject * obj2 = 0 ;
14034 char *kwnames[] = {
14035 (char *) "self",(char *) "key",(char *) "value", NULL
14036 };
14037
14038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
14039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14040 {
14041 arg2 = wxString_in_helper(obj1);
14042 if (arg2 == NULL) SWIG_fail;
423f194a 14043 temp2 = True;
d14a1e28
RD
14044 }
14045 {
14046 arg3 = wxString_in_helper(obj2);
14047 if (arg3 == NULL) SWIG_fail;
423f194a 14048 temp3 = True;
d14a1e28
RD
14049 }
14050 {
14051 PyThreadState* __tstate = wxPyBeginAllowThreads();
14052 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
14053
14054 wxPyEndAllowThreads(__tstate);
14055 if (PyErr_Occurred()) SWIG_fail;
14056 }
14057 resultobj = PyInt_FromLong((long)result);
14058 {
14059 if (temp2)
14060 delete arg2;
14061 }
14062 {
14063 if (temp3)
14064 delete arg3;
14065 }
14066 return resultobj;
14067 fail:
14068 {
14069 if (temp2)
14070 delete arg2;
14071 }
14072 {
14073 if (temp3)
14074 delete arg3;
14075 }
14076 return NULL;
14077}
14078
14079
14080static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
14081 PyObject *resultobj;
14082 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14083 wxString *arg2 = 0 ;
14084 long arg3 ;
14085 bool result;
423f194a 14086 bool temp2 = False ;
d14a1e28
RD
14087 PyObject * obj0 = 0 ;
14088 PyObject * obj1 = 0 ;
14089 char *kwnames[] = {
14090 (char *) "self",(char *) "key",(char *) "value", NULL
14091 };
14092
14093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
14094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14095 {
14096 arg2 = wxString_in_helper(obj1);
14097 if (arg2 == NULL) SWIG_fail;
423f194a 14098 temp2 = True;
d14a1e28
RD
14099 }
14100 {
14101 PyThreadState* __tstate = wxPyBeginAllowThreads();
14102 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14103
14104 wxPyEndAllowThreads(__tstate);
14105 if (PyErr_Occurred()) SWIG_fail;
14106 }
14107 resultobj = PyInt_FromLong((long)result);
14108 {
14109 if (temp2)
14110 delete arg2;
14111 }
14112 return resultobj;
14113 fail:
14114 {
14115 if (temp2)
14116 delete arg2;
14117 }
14118 return NULL;
14119}
14120
14121
14122static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
14123 PyObject *resultobj;
14124 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14125 wxString *arg2 = 0 ;
14126 double arg3 ;
14127 bool result;
423f194a 14128 bool temp2 = False ;
d14a1e28
RD
14129 PyObject * obj0 = 0 ;
14130 PyObject * obj1 = 0 ;
14131 char *kwnames[] = {
14132 (char *) "self",(char *) "key",(char *) "value", NULL
14133 };
14134
14135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
14136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14137 {
14138 arg2 = wxString_in_helper(obj1);
14139 if (arg2 == NULL) SWIG_fail;
423f194a 14140 temp2 = True;
d14a1e28
RD
14141 }
14142 {
14143 PyThreadState* __tstate = wxPyBeginAllowThreads();
14144 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14145
14146 wxPyEndAllowThreads(__tstate);
14147 if (PyErr_Occurred()) SWIG_fail;
14148 }
14149 resultobj = PyInt_FromLong((long)result);
14150 {
14151 if (temp2)
14152 delete arg2;
14153 }
14154 return resultobj;
14155 fail:
14156 {
14157 if (temp2)
14158 delete arg2;
14159 }
14160 return NULL;
14161}
14162
14163
14164static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
14165 PyObject *resultobj;
14166 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14167 wxString *arg2 = 0 ;
14168 bool arg3 ;
14169 bool result;
423f194a 14170 bool temp2 = False ;
d14a1e28
RD
14171 PyObject * obj0 = 0 ;
14172 PyObject * obj1 = 0 ;
14173 PyObject * obj2 = 0 ;
14174 char *kwnames[] = {
14175 (char *) "self",(char *) "key",(char *) "value", NULL
14176 };
14177
14178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
14179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14180 {
14181 arg2 = wxString_in_helper(obj1);
14182 if (arg2 == NULL) SWIG_fail;
423f194a 14183 temp2 = True;
d14a1e28
RD
14184 }
14185 arg3 = PyInt_AsLong(obj2) ? true : false;
14186 if (PyErr_Occurred()) SWIG_fail;
14187 {
14188 PyThreadState* __tstate = wxPyBeginAllowThreads();
14189 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14190
14191 wxPyEndAllowThreads(__tstate);
14192 if (PyErr_Occurred()) SWIG_fail;
14193 }
14194 resultobj = PyInt_FromLong((long)result);
14195 {
14196 if (temp2)
14197 delete arg2;
14198 }
14199 return resultobj;
14200 fail:
14201 {
14202 if (temp2)
14203 delete arg2;
14204 }
14205 return NULL;
14206}
14207
14208
14209static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
14210 PyObject *resultobj;
14211 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 14212 bool arg2 = (bool) False ;
d14a1e28
RD
14213 bool result;
14214 PyObject * obj0 = 0 ;
14215 PyObject * obj1 = 0 ;
14216 char *kwnames[] = {
14217 (char *) "self",(char *) "bCurrentOnly", NULL
14218 };
14219
14220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
14221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14222 if (obj1) {
14223 arg2 = PyInt_AsLong(obj1) ? true : false;
14224 if (PyErr_Occurred()) SWIG_fail;
14225 }
14226 {
14227 PyThreadState* __tstate = wxPyBeginAllowThreads();
14228 result = (bool)(arg1)->Flush(arg2);
14229
14230 wxPyEndAllowThreads(__tstate);
14231 if (PyErr_Occurred()) SWIG_fail;
14232 }
14233 resultobj = PyInt_FromLong((long)result);
14234 return resultobj;
14235 fail:
14236 return NULL;
14237}
14238
14239
14240static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14241 PyObject *resultobj;
14242 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14243 wxString *arg2 = 0 ;
14244 wxString *arg3 = 0 ;
14245 bool result;
423f194a
RD
14246 bool temp2 = False ;
14247 bool temp3 = False ;
d14a1e28
RD
14248 PyObject * obj0 = 0 ;
14249 PyObject * obj1 = 0 ;
14250 PyObject * obj2 = 0 ;
14251 char *kwnames[] = {
14252 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14253 };
14254
14255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14257 {
14258 arg2 = wxString_in_helper(obj1);
14259 if (arg2 == NULL) SWIG_fail;
423f194a 14260 temp2 = True;
d14a1e28
RD
14261 }
14262 {
14263 arg3 = wxString_in_helper(obj2);
14264 if (arg3 == NULL) SWIG_fail;
423f194a 14265 temp3 = True;
d14a1e28
RD
14266 }
14267 {
14268 PyThreadState* __tstate = wxPyBeginAllowThreads();
14269 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
14270
14271 wxPyEndAllowThreads(__tstate);
14272 if (PyErr_Occurred()) SWIG_fail;
14273 }
14274 resultobj = PyInt_FromLong((long)result);
14275 {
14276 if (temp2)
14277 delete arg2;
14278 }
14279 {
14280 if (temp3)
14281 delete arg3;
14282 }
14283 return resultobj;
14284 fail:
14285 {
14286 if (temp2)
14287 delete arg2;
14288 }
14289 {
14290 if (temp3)
14291 delete arg3;
14292 }
14293 return NULL;
14294}
14295
14296
14297static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14298 PyObject *resultobj;
14299 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14300 wxString *arg2 = 0 ;
14301 wxString *arg3 = 0 ;
14302 bool result;
423f194a
RD
14303 bool temp2 = False ;
14304 bool temp3 = False ;
d14a1e28
RD
14305 PyObject * obj0 = 0 ;
14306 PyObject * obj1 = 0 ;
14307 PyObject * obj2 = 0 ;
14308 char *kwnames[] = {
14309 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14310 };
14311
14312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
14313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14314 {
14315 arg2 = wxString_in_helper(obj1);
14316 if (arg2 == NULL) SWIG_fail;
423f194a 14317 temp2 = True;
d14a1e28
RD
14318 }
14319 {
14320 arg3 = wxString_in_helper(obj2);
14321 if (arg3 == NULL) SWIG_fail;
423f194a 14322 temp3 = True;
d14a1e28
RD
14323 }
14324 {
14325 PyThreadState* __tstate = wxPyBeginAllowThreads();
14326 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
14327
14328 wxPyEndAllowThreads(__tstate);
14329 if (PyErr_Occurred()) SWIG_fail;
14330 }
14331 resultobj = PyInt_FromLong((long)result);
14332 {
14333 if (temp2)
14334 delete arg2;
14335 }
14336 {
14337 if (temp3)
14338 delete arg3;
14339 }
14340 return resultobj;
14341 fail:
14342 {
14343 if (temp2)
14344 delete arg2;
14345 }
14346 {
14347 if (temp3)
14348 delete arg3;
14349 }
14350 return NULL;
14351}
14352
14353
14354static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14355 PyObject *resultobj;
14356 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14357 wxString *arg2 = 0 ;
423f194a 14358 bool arg3 = (bool) True ;
d14a1e28 14359 bool result;
423f194a 14360 bool temp2 = False ;
d14a1e28
RD
14361 PyObject * obj0 = 0 ;
14362 PyObject * obj1 = 0 ;
14363 PyObject * obj2 = 0 ;
14364 char *kwnames[] = {
14365 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14366 };
14367
14368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14370 {
14371 arg2 = wxString_in_helper(obj1);
14372 if (arg2 == NULL) SWIG_fail;
423f194a 14373 temp2 = True;
d14a1e28
RD
14374 }
14375 if (obj2) {
14376 arg3 = PyInt_AsLong(obj2) ? true : false;
14377 if (PyErr_Occurred()) SWIG_fail;
14378 }
14379 {
14380 PyThreadState* __tstate = wxPyBeginAllowThreads();
14381 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
14382
14383 wxPyEndAllowThreads(__tstate);
14384 if (PyErr_Occurred()) SWIG_fail;
14385 }
14386 resultobj = PyInt_FromLong((long)result);
14387 {
14388 if (temp2)
14389 delete arg2;
14390 }
14391 return resultobj;
14392 fail:
14393 {
14394 if (temp2)
14395 delete arg2;
14396 }
14397 return NULL;
14398}
14399
14400
14401static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14402 PyObject *resultobj;
14403 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14404 wxString *arg2 = 0 ;
14405 bool result;
423f194a 14406 bool temp2 = False ;
d14a1e28
RD
14407 PyObject * obj0 = 0 ;
14408 PyObject * obj1 = 0 ;
14409 char *kwnames[] = {
14410 (char *) "self",(char *) "key", NULL
14411 };
14412
14413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
14414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14415 {
14416 arg2 = wxString_in_helper(obj1);
14417 if (arg2 == NULL) SWIG_fail;
423f194a 14418 temp2 = True;
d14a1e28
RD
14419 }
14420 {
14421 PyThreadState* __tstate = wxPyBeginAllowThreads();
14422 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
14423
14424 wxPyEndAllowThreads(__tstate);
14425 if (PyErr_Occurred()) SWIG_fail;
14426 }
14427 resultobj = PyInt_FromLong((long)result);
14428 {
14429 if (temp2)
14430 delete arg2;
14431 }
14432 return resultobj;
14433 fail:
14434 {
14435 if (temp2)
14436 delete arg2;
14437 }
14438 return NULL;
14439}
14440
14441
14442static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
14443 PyObject *resultobj;
14444 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14445 bool result;
14446 PyObject * obj0 = 0 ;
14447 char *kwnames[] = {
14448 (char *) "self", NULL
14449 };
14450
14451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
14452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14453 {
14454 PyThreadState* __tstate = wxPyBeginAllowThreads();
14455 result = (bool)(arg1)->DeleteAll();
14456
14457 wxPyEndAllowThreads(__tstate);
14458 if (PyErr_Occurred()) SWIG_fail;
14459 }
14460 resultobj = PyInt_FromLong((long)result);
14461 return resultobj;
14462 fail:
14463 return NULL;
14464}
14465
14466
14467static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14468 PyObject *resultobj;
14469 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14470 bool result;
14471 PyObject * obj0 = 0 ;
14472 char *kwnames[] = {
14473 (char *) "self", NULL
14474 };
14475
14476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
14477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14478 {
14479 PyThreadState* __tstate = wxPyBeginAllowThreads();
14480 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
14481
14482 wxPyEndAllowThreads(__tstate);
14483 if (PyErr_Occurred()) SWIG_fail;
14484 }
14485 resultobj = PyInt_FromLong((long)result);
14486 return resultobj;
14487 fail:
14488 return NULL;
14489}
14490
14491
14492static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14493 PyObject *resultobj;
14494 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 14495 bool arg2 = (bool) True ;
d14a1e28
RD
14496 PyObject * obj0 = 0 ;
14497 PyObject * obj1 = 0 ;
14498 char *kwnames[] = {
14499 (char *) "self",(char *) "bDoIt", NULL
14500 };
14501
14502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14504 if (obj1) {
14505 arg2 = PyInt_AsLong(obj1) ? true : false;
14506 if (PyErr_Occurred()) SWIG_fail;
14507 }
14508 {
14509 PyThreadState* __tstate = wxPyBeginAllowThreads();
14510 (arg1)->SetExpandEnvVars(arg2);
14511
14512 wxPyEndAllowThreads(__tstate);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 }
14515 Py_INCREF(Py_None); resultobj = Py_None;
14516 return resultobj;
14517 fail:
14518 return NULL;
14519}
14520
14521
14522static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14523 PyObject *resultobj;
14524 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 14525 bool arg2 = (bool) True ;
d14a1e28
RD
14526 PyObject * obj0 = 0 ;
14527 PyObject * obj1 = 0 ;
14528 char *kwnames[] = {
14529 (char *) "self",(char *) "bDoIt", NULL
14530 };
14531
14532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
14533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14534 if (obj1) {
14535 arg2 = PyInt_AsLong(obj1) ? true : false;
14536 if (PyErr_Occurred()) SWIG_fail;
14537 }
14538 {
14539 PyThreadState* __tstate = wxPyBeginAllowThreads();
14540 (arg1)->SetRecordDefaults(arg2);
14541
14542 wxPyEndAllowThreads(__tstate);
14543 if (PyErr_Occurred()) SWIG_fail;
14544 }
14545 Py_INCREF(Py_None); resultobj = Py_None;
14546 return resultobj;
14547 fail:
14548 return NULL;
14549}
14550
14551
14552static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14553 PyObject *resultobj;
14554 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14555 bool result;
14556 PyObject * obj0 = 0 ;
14557 char *kwnames[] = {
14558 (char *) "self", NULL
14559 };
14560
14561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
14562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14563 {
14564 PyThreadState* __tstate = wxPyBeginAllowThreads();
14565 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
14566
14567 wxPyEndAllowThreads(__tstate);
14568 if (PyErr_Occurred()) SWIG_fail;
14569 }
14570 resultobj = PyInt_FromLong((long)result);
14571 return resultobj;
14572 fail:
14573 return NULL;
14574}
14575
14576
14577static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14578 PyObject *resultobj;
14579 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14580 wxString *arg2 = 0 ;
14581 wxString result;
423f194a 14582 bool temp2 = False ;
d14a1e28
RD
14583 PyObject * obj0 = 0 ;
14584 PyObject * obj1 = 0 ;
14585 char *kwnames[] = {
14586 (char *) "self",(char *) "str", NULL
14587 };
14588
14589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14591 {
14592 arg2 = wxString_in_helper(obj1);
14593 if (arg2 == NULL) SWIG_fail;
423f194a 14594 temp2 = True;
d14a1e28
RD
14595 }
14596 {
14597 PyThreadState* __tstate = wxPyBeginAllowThreads();
14598 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
14599
14600 wxPyEndAllowThreads(__tstate);
14601 if (PyErr_Occurred()) SWIG_fail;
14602 }
14603 {
14604#if wxUSE_UNICODE
14605 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14606#else
14607 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14608#endif
14609 }
14610 {
14611 if (temp2)
14612 delete arg2;
14613 }
14614 return resultobj;
14615 fail:
14616 {
14617 if (temp2)
14618 delete arg2;
14619 }
14620 return NULL;
14621}
14622
14623
14624static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14625 PyObject *resultobj;
14626 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14627 wxString result;
14628 PyObject * obj0 = 0 ;
14629 char *kwnames[] = {
14630 (char *) "self", NULL
14631 };
14632
14633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
14634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14635 {
14636 PyThreadState* __tstate = wxPyBeginAllowThreads();
14637 result = ((wxConfigBase const *)arg1)->GetAppName();
14638
14639 wxPyEndAllowThreads(__tstate);
14640 if (PyErr_Occurred()) SWIG_fail;
14641 }
14642 {
14643#if wxUSE_UNICODE
14644 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14645#else
14646 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14647#endif
14648 }
14649 return resultobj;
14650 fail:
14651 return NULL;
14652}
14653
14654
14655static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14656 PyObject *resultobj;
14657 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14658 wxString result;
14659 PyObject * obj0 = 0 ;
14660 char *kwnames[] = {
14661 (char *) "self", NULL
14662 };
14663
14664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
14665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14666 {
14667 PyThreadState* __tstate = wxPyBeginAllowThreads();
14668 result = ((wxConfigBase const *)arg1)->GetVendorName();
14669
14670 wxPyEndAllowThreads(__tstate);
14671 if (PyErr_Occurred()) SWIG_fail;
14672 }
14673 {
14674#if wxUSE_UNICODE
14675 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14676#else
14677 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14678#endif
14679 }
14680 return resultobj;
14681 fail:
14682 return NULL;
14683}
14684
14685
14686static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14687 PyObject *resultobj;
14688 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14689 wxString *arg2 = 0 ;
423f194a 14690 bool temp2 = False ;
d14a1e28
RD
14691 PyObject * obj0 = 0 ;
14692 PyObject * obj1 = 0 ;
14693 char *kwnames[] = {
14694 (char *) "self",(char *) "appName", NULL
14695 };
14696
14697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
14698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14699 {
14700 arg2 = wxString_in_helper(obj1);
14701 if (arg2 == NULL) SWIG_fail;
423f194a 14702 temp2 = True;
d14a1e28
RD
14703 }
14704 {
14705 PyThreadState* __tstate = wxPyBeginAllowThreads();
14706 (arg1)->SetAppName((wxString const &)*arg2);
14707
14708 wxPyEndAllowThreads(__tstate);
14709 if (PyErr_Occurred()) SWIG_fail;
14710 }
14711 Py_INCREF(Py_None); resultobj = Py_None;
14712 {
14713 if (temp2)
14714 delete arg2;
14715 }
14716 return resultobj;
14717 fail:
14718 {
14719 if (temp2)
14720 delete arg2;
14721 }
14722 return NULL;
14723}
14724
14725
14726static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14727 PyObject *resultobj;
14728 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14729 wxString *arg2 = 0 ;
423f194a 14730 bool temp2 = False ;
d14a1e28
RD
14731 PyObject * obj0 = 0 ;
14732 PyObject * obj1 = 0 ;
14733 char *kwnames[] = {
14734 (char *) "self",(char *) "vendorName", NULL
14735 };
14736
14737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
14738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14739 {
14740 arg2 = wxString_in_helper(obj1);
14741 if (arg2 == NULL) SWIG_fail;
423f194a 14742 temp2 = True;
d14a1e28
RD
14743 }
14744 {
14745 PyThreadState* __tstate = wxPyBeginAllowThreads();
14746 (arg1)->SetVendorName((wxString const &)*arg2);
14747
14748 wxPyEndAllowThreads(__tstate);
14749 if (PyErr_Occurred()) SWIG_fail;
14750 }
14751 Py_INCREF(Py_None); resultobj = Py_None;
14752 {
14753 if (temp2)
14754 delete arg2;
14755 }
14756 return resultobj;
14757 fail:
14758 {
14759 if (temp2)
14760 delete arg2;
14761 }
14762 return NULL;
14763}
14764
14765
14766static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14767 PyObject *resultobj;
14768 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14769 long arg2 ;
14770 PyObject * obj0 = 0 ;
14771 char *kwnames[] = {
14772 (char *) "self",(char *) "style", NULL
14773 };
14774
14775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_SetStyle",kwnames,&obj0,&arg2)) goto fail;
14776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14777 {
14778 PyThreadState* __tstate = wxPyBeginAllowThreads();
14779 (arg1)->SetStyle(arg2);
14780
14781 wxPyEndAllowThreads(__tstate);
14782 if (PyErr_Occurred()) SWIG_fail;
14783 }
14784 Py_INCREF(Py_None); resultobj = Py_None;
14785 return resultobj;
14786 fail:
14787 return NULL;
14788}
14789
14790
14791static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14792 PyObject *resultobj;
14793 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14794 long result;
14795 PyObject * obj0 = 0 ;
14796 char *kwnames[] = {
14797 (char *) "self", NULL
14798 };
14799
14800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
14801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14802 {
14803 PyThreadState* __tstate = wxPyBeginAllowThreads();
14804 result = (long)((wxConfigBase const *)arg1)->GetStyle();
14805
14806 wxPyEndAllowThreads(__tstate);
14807 if (PyErr_Occurred()) SWIG_fail;
14808 }
14809 resultobj = PyInt_FromLong((long)result);
14810 return resultobj;
14811 fail:
14812 return NULL;
14813}
14814
14815
14816static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
14817 PyObject *obj;
14818 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14819 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
14820 Py_INCREF(obj);
14821 return Py_BuildValue((char *)"");
14822}
14823static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14824 PyObject *resultobj;
14825 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14826 wxString *arg2 = 0 ;
14827 wxConfigPathChanger *result;
423f194a 14828 bool temp2 = False ;
d14a1e28
RD
14829 PyObject * obj0 = 0 ;
14830 PyObject * obj1 = 0 ;
14831 char *kwnames[] = {
14832 (char *) "pContainer",(char *) "strEntry", NULL
14833 };
14834
14835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
14836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14837 {
14838 arg2 = wxString_in_helper(obj1);
14839 if (arg2 == NULL) SWIG_fail;
423f194a 14840 temp2 = True;
d14a1e28
RD
14841 }
14842 {
14843 PyThreadState* __tstate = wxPyBeginAllowThreads();
14844 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
14845
14846 wxPyEndAllowThreads(__tstate);
14847 if (PyErr_Occurred()) SWIG_fail;
14848 }
14849 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigPathChanger, 1);
14850 {
14851 if (temp2)
14852 delete arg2;
14853 }
14854 return resultobj;
14855 fail:
14856 {
14857 if (temp2)
14858 delete arg2;
14859 }
14860 return NULL;
14861}
14862
14863
14864static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14865 PyObject *resultobj;
14866 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14867 PyObject * obj0 = 0 ;
14868 char *kwnames[] = {
14869 (char *) "self", NULL
14870 };
14871
14872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
14873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14874 {
14875 PyThreadState* __tstate = wxPyBeginAllowThreads();
14876 delete arg1;
14877
14878 wxPyEndAllowThreads(__tstate);
14879 if (PyErr_Occurred()) SWIG_fail;
14880 }
14881 Py_INCREF(Py_None); resultobj = Py_None;
14882 return resultobj;
14883 fail:
14884 return NULL;
14885}
14886
14887
14888static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
14889 PyObject *resultobj;
14890 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14891 wxString *result;
14892 PyObject * obj0 = 0 ;
14893 char *kwnames[] = {
14894 (char *) "self", NULL
14895 };
14896
14897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
14898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14899 {
14900 PyThreadState* __tstate = wxPyBeginAllowThreads();
14901 {
14902 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
14903 result = (wxString *) &_result_ref;
14904 }
14905
14906 wxPyEndAllowThreads(__tstate);
14907 if (PyErr_Occurred()) SWIG_fail;
14908 }
0f774bef
RD
14909 {
14910#if wxUSE_UNICODE
14911 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14912#else
14913 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14914#endif
14915 }
d14a1e28
RD
14916 return resultobj;
14917 fail:
14918 return NULL;
14919}
14920
14921
14922static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
14923 PyObject *obj;
14924 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14925 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
14926 Py_INCREF(obj);
14927 return Py_BuildValue((char *)"");
14928}
14929static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
14930 PyObject *resultobj;
14931 wxString const &arg1_defvalue = wxPyEmptyString ;
14932 wxString *arg1 = (wxString *) &arg1_defvalue ;
14933 wxString const &arg2_defvalue = wxPyEmptyString ;
14934 wxString *arg2 = (wxString *) &arg2_defvalue ;
14935 wxString const &arg3_defvalue = wxPyEmptyString ;
14936 wxString *arg3 = (wxString *) &arg3_defvalue ;
14937 wxString const &arg4_defvalue = wxPyEmptyString ;
14938 wxString *arg4 = (wxString *) &arg4_defvalue ;
14939 long arg5 = (long) 0 ;
14940 wxConfig *result;
423f194a
RD
14941 bool temp1 = False ;
14942 bool temp2 = False ;
14943 bool temp3 = False ;
14944 bool temp4 = False ;
d14a1e28
RD
14945 PyObject * obj0 = 0 ;
14946 PyObject * obj1 = 0 ;
14947 PyObject * obj2 = 0 ;
14948 PyObject * obj3 = 0 ;
14949 char *kwnames[] = {
14950 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14951 };
14952
14953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
14954 if (obj0) {
14955 {
14956 arg1 = wxString_in_helper(obj0);
14957 if (arg1 == NULL) SWIG_fail;
423f194a 14958 temp1 = True;
d14a1e28
RD
14959 }
14960 }
14961 if (obj1) {
14962 {
14963 arg2 = wxString_in_helper(obj1);
14964 if (arg2 == NULL) SWIG_fail;
423f194a 14965 temp2 = True;
d14a1e28
RD
14966 }
14967 }
14968 if (obj2) {
14969 {
14970 arg3 = wxString_in_helper(obj2);
14971 if (arg3 == NULL) SWIG_fail;
423f194a 14972 temp3 = True;
d14a1e28
RD
14973 }
14974 }
14975 if (obj3) {
14976 {
14977 arg4 = wxString_in_helper(obj3);
14978 if (arg4 == NULL) SWIG_fail;
423f194a 14979 temp4 = True;
d14a1e28
RD
14980 }
14981 }
14982 {
14983 PyThreadState* __tstate = wxPyBeginAllowThreads();
14984 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
14985
14986 wxPyEndAllowThreads(__tstate);
14987 if (PyErr_Occurred()) SWIG_fail;
14988 }
14989 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfig, 1);
14990 {
14991 if (temp1)
14992 delete arg1;
14993 }
14994 {
14995 if (temp2)
14996 delete arg2;
14997 }
14998 {
14999 if (temp3)
15000 delete arg3;
15001 }
15002 {
15003 if (temp4)
15004 delete arg4;
15005 }
15006 return resultobj;
15007 fail:
15008 {
15009 if (temp1)
15010 delete arg1;
15011 }
15012 {
15013 if (temp2)
15014 delete arg2;
15015 }
15016 {
15017 if (temp3)
15018 delete arg3;
15019 }
15020 {
15021 if (temp4)
15022 delete arg4;
15023 }
15024 return NULL;
15025}
15026
15027
15028static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
15029 PyObject *resultobj;
15030 wxConfig *arg1 = (wxConfig *) 0 ;
15031 PyObject * obj0 = 0 ;
15032 char *kwnames[] = {
15033 (char *) "self", NULL
15034 };
15035
15036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
15037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15038 {
15039 PyThreadState* __tstate = wxPyBeginAllowThreads();
15040 delete arg1;
15041
15042 wxPyEndAllowThreads(__tstate);
15043 if (PyErr_Occurred()) SWIG_fail;
15044 }
15045 Py_INCREF(Py_None); resultobj = Py_None;
15046 return resultobj;
15047 fail:
15048 return NULL;
15049}
15050
15051
15052static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
15053 PyObject *obj;
15054 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15055 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
15056 Py_INCREF(obj);
15057 return Py_BuildValue((char *)"");
15058}
15059static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
15060 PyObject *resultobj;
15061 wxString const &arg1_defvalue = wxPyEmptyString ;
15062 wxString *arg1 = (wxString *) &arg1_defvalue ;
15063 wxString const &arg2_defvalue = wxPyEmptyString ;
15064 wxString *arg2 = (wxString *) &arg2_defvalue ;
15065 wxString const &arg3_defvalue = wxPyEmptyString ;
15066 wxString *arg3 = (wxString *) &arg3_defvalue ;
15067 wxString const &arg4_defvalue = wxPyEmptyString ;
15068 wxString *arg4 = (wxString *) &arg4_defvalue ;
15069 long arg5 = (long) 0 ;
15070 wxFileConfig *result;
423f194a
RD
15071 bool temp1 = False ;
15072 bool temp2 = False ;
15073 bool temp3 = False ;
15074 bool temp4 = False ;
d14a1e28
RD
15075 PyObject * obj0 = 0 ;
15076 PyObject * obj1 = 0 ;
15077 PyObject * obj2 = 0 ;
15078 PyObject * obj3 = 0 ;
15079 char *kwnames[] = {
15080 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15081 };
15082
15083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
15084 if (obj0) {
15085 {
15086 arg1 = wxString_in_helper(obj0);
15087 if (arg1 == NULL) SWIG_fail;
423f194a 15088 temp1 = True;
d14a1e28
RD
15089 }
15090 }
15091 if (obj1) {
15092 {
15093 arg2 = wxString_in_helper(obj1);
15094 if (arg2 == NULL) SWIG_fail;
423f194a 15095 temp2 = True;
d14a1e28
RD
15096 }
15097 }
15098 if (obj2) {
15099 {
15100 arg3 = wxString_in_helper(obj2);
15101 if (arg3 == NULL) SWIG_fail;
423f194a 15102 temp3 = True;
d14a1e28
RD
15103 }
15104 }
15105 if (obj3) {
15106 {
15107 arg4 = wxString_in_helper(obj3);
15108 if (arg4 == NULL) SWIG_fail;
423f194a 15109 temp4 = True;
d14a1e28
RD
15110 }
15111 }
15112 {
15113 PyThreadState* __tstate = wxPyBeginAllowThreads();
15114 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
15115
15116 wxPyEndAllowThreads(__tstate);
15117 if (PyErr_Occurred()) SWIG_fail;
15118 }
15119 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileConfig, 1);
15120 {
15121 if (temp1)
15122 delete arg1;
15123 }
15124 {
15125 if (temp2)
15126 delete arg2;
15127 }
15128 {
15129 if (temp3)
15130 delete arg3;
15131 }
15132 {
15133 if (temp4)
15134 delete arg4;
15135 }
15136 return resultobj;
15137 fail:
15138 {
15139 if (temp1)
15140 delete arg1;
15141 }
15142 {
15143 if (temp2)
15144 delete arg2;
15145 }
15146 {
15147 if (temp3)
15148 delete arg3;
15149 }
15150 {
15151 if (temp4)
15152 delete arg4;
15153 }
15154 return NULL;
15155}
15156
15157
15158static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
15159 PyObject *resultobj;
15160 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
15161 PyObject * obj0 = 0 ;
15162 char *kwnames[] = {
15163 (char *) "self", NULL
15164 };
15165
15166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
15167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15168 {
15169 PyThreadState* __tstate = wxPyBeginAllowThreads();
15170 delete arg1;
15171
15172 wxPyEndAllowThreads(__tstate);
15173 if (PyErr_Occurred()) SWIG_fail;
15174 }
15175 Py_INCREF(Py_None); resultobj = Py_None;
15176 return resultobj;
15177 fail:
15178 return NULL;
15179}
15180
15181
15182static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
15183 PyObject *obj;
15184 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15185 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
15186 Py_INCREF(obj);
15187 return Py_BuildValue((char *)"");
15188}
15189static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15190 PyObject *resultobj;
15191 wxString *arg1 = 0 ;
15192 wxString result;
423f194a 15193 bool temp1 = False ;
d14a1e28
RD
15194 PyObject * obj0 = 0 ;
15195 char *kwnames[] = {
15196 (char *) "sz", NULL
15197 };
15198
15199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
15200 {
15201 arg1 = wxString_in_helper(obj0);
15202 if (arg1 == NULL) SWIG_fail;
423f194a 15203 temp1 = True;
d14a1e28
RD
15204 }
15205 {
15206 PyThreadState* __tstate = wxPyBeginAllowThreads();
15207 result = wxExpandEnvVars((wxString const &)*arg1);
15208
15209 wxPyEndAllowThreads(__tstate);
15210 if (PyErr_Occurred()) SWIG_fail;
15211 }
15212 {
15213#if wxUSE_UNICODE
15214 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15215#else
15216 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15217#endif
15218 }
15219 {
15220 if (temp1)
15221 delete arg1;
15222 }
15223 return resultobj;
15224 fail:
15225 {
15226 if (temp1)
15227 delete arg1;
15228 }
15229 return NULL;
15230}
15231
15232
cbd72d4f
RD
15233static int _wrap_DateFormatStr_set(PyObject *_val) {
15234 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
15235 return 1;
15236}
15237
15238
15239static PyObject *_wrap_DateFormatStr_get() {
15240 PyObject *pyobj;
15241
15242 {
15243#if wxUSE_UNICODE
15244 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
15245#else
15246 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
15247#endif
15248 }
15249 return pyobj;
15250}
15251
15252
15253static int _wrap_TimeSpanFormatStr_set(PyObject *_val) {
15254 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
15255 return 1;
15256}
15257
15258
15259static PyObject *_wrap_TimeSpanFormatStr_get() {
15260 PyObject *pyobj;
15261
15262 {
15263#if wxUSE_UNICODE
15264 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
15265#else
15266 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
15267#endif
15268 }
15269 return pyobj;
15270}
15271
15272
d14a1e28
RD
15273static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15274 PyObject *resultobj;
15275 int arg1 ;
15276 char *kwnames[] = {
15277 (char *) "country", NULL
15278 };
15279
15280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_SetCountry",kwnames,&arg1)) goto fail;
15281 {
15282 PyThreadState* __tstate = wxPyBeginAllowThreads();
15283 wxDateTime::SetCountry((wxDateTime::Country )arg1);
15284
15285 wxPyEndAllowThreads(__tstate);
15286 if (PyErr_Occurred()) SWIG_fail;
15287 }
15288 Py_INCREF(Py_None); resultobj = Py_None;
15289 return resultobj;
15290 fail:
15291 return NULL;
15292}
15293
15294
15295static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15296 PyObject *resultobj;
15297 int result;
15298 char *kwnames[] = {
15299 NULL
15300 };
15301
15302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
15303 {
15304 PyThreadState* __tstate = wxPyBeginAllowThreads();
15305 result = (int)wxDateTime::GetCountry();
15306
15307 wxPyEndAllowThreads(__tstate);
15308 if (PyErr_Occurred()) SWIG_fail;
15309 }
15310 resultobj = PyInt_FromLong((long)result);
15311 return resultobj;
15312 fail:
15313 return NULL;
15314}
15315
15316
15317static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15318 PyObject *resultobj;
15319 int arg1 = (int) wxDateTime::Country_Default ;
15320 bool result;
15321 char *kwnames[] = {
15322 (char *) "country", NULL
15323 };
15324
15325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames,&arg1)) goto fail;
15326 {
15327 PyThreadState* __tstate = wxPyBeginAllowThreads();
15328 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
15329
15330 wxPyEndAllowThreads(__tstate);
15331 if (PyErr_Occurred()) SWIG_fail;
15332 }
15333 resultobj = PyInt_FromLong((long)result);
15334 return resultobj;
15335 fail:
15336 return NULL;
15337}
15338
15339
15340static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15341 PyObject *resultobj;
15342 int arg1 = (int) wxDateTime::Gregorian ;
15343 int result;
15344 char *kwnames[] = {
15345 (char *) "cal", NULL
15346 };
15347
15348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentYear",kwnames,&arg1)) goto fail;
15349 {
15350 PyThreadState* __tstate = wxPyBeginAllowThreads();
15351 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
15352
15353 wxPyEndAllowThreads(__tstate);
15354 if (PyErr_Occurred()) SWIG_fail;
15355 }
15356 resultobj = PyInt_FromLong((long)result);
15357 return resultobj;
15358 fail:
15359 return NULL;
15360}
15361
15362
15363static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
15364 PyObject *resultobj;
15365 int arg1 ;
15366 int result;
15367 char *kwnames[] = {
15368 (char *) "year", NULL
15369 };
15370
15371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_ConvertYearToBC",kwnames,&arg1)) goto fail;
15372 {
15373 PyThreadState* __tstate = wxPyBeginAllowThreads();
15374 result = (int)wxDateTime::ConvertYearToBC(arg1);
15375
15376 wxPyEndAllowThreads(__tstate);
15377 if (PyErr_Occurred()) SWIG_fail;
15378 }
15379 resultobj = PyInt_FromLong((long)result);
15380 return resultobj;
15381 fail:
15382 return NULL;
15383}
15384
15385
15386static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15387 PyObject *resultobj;
15388 int arg1 = (int) wxDateTime::Gregorian ;
15389 int result;
15390 char *kwnames[] = {
15391 (char *) "cal", NULL
15392 };
15393
15394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentMonth",kwnames,&arg1)) goto fail;
15395 {
15396 PyThreadState* __tstate = wxPyBeginAllowThreads();
15397 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
15398
15399 wxPyEndAllowThreads(__tstate);
15400 if (PyErr_Occurred()) SWIG_fail;
15401 }
15402 resultobj = PyInt_FromLong((long)result);
15403 return resultobj;
15404 fail:
15405 return NULL;
15406}
15407
15408
15409static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15410 PyObject *resultobj;
15411 int arg1 = (int) wxDateTime::Inv_Year ;
15412 int arg2 = (int) wxDateTime::Gregorian ;
15413 bool result;
15414 char *kwnames[] = {
15415 (char *) "year",(char *) "cal", NULL
15416 };
15417
15418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsLeapYear",kwnames,&arg1,&arg2)) goto fail;
15419 {
15420 PyThreadState* __tstate = wxPyBeginAllowThreads();
15421 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
15422
15423 wxPyEndAllowThreads(__tstate);
15424 if (PyErr_Occurred()) SWIG_fail;
15425 }
15426 resultobj = PyInt_FromLong((long)result);
15427 return resultobj;
15428 fail:
15429 return NULL;
15430}
15431
15432
15433static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
15434 PyObject *resultobj;
15435 int arg1 = (int) wxDateTime::Inv_Year ;
15436 int result;
15437 char *kwnames[] = {
15438 (char *) "year", NULL
15439 };
15440
15441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCentury",kwnames,&arg1)) goto fail;
15442 {
15443 PyThreadState* __tstate = wxPyBeginAllowThreads();
15444 result = (int)wxDateTime::GetCentury(arg1);
15445
15446 wxPyEndAllowThreads(__tstate);
15447 if (PyErr_Occurred()) SWIG_fail;
15448 }
15449 resultobj = PyInt_FromLong((long)result);
15450 return resultobj;
15451 fail:
15452 return NULL;
15453}
15454
15455
15456static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15457 PyObject *resultobj;
15458 int arg1 ;
15459 int arg2 = (int) wxDateTime::Gregorian ;
44127b65 15460 int result;
d14a1e28
RD
15461 char *kwnames[] = {
15462 (char *) "year",(char *) "cal", NULL
15463 };
15464
15465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames,&arg1,&arg2)) goto fail;
15466 {
15467 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 15468 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
d14a1e28
RD
15469
15470 wxPyEndAllowThreads(__tstate);
15471 if (PyErr_Occurred()) SWIG_fail;
15472 }
15473 resultobj = PyInt_FromLong((long)result);
15474 return resultobj;
15475 fail:
15476 return NULL;
15477}
15478
15479
15480static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15481 PyObject *resultobj;
15482 int arg1 ;
15483 int arg2 = (int) wxDateTime::Inv_Year ;
15484 int arg3 = (int) wxDateTime::Gregorian ;
44127b65 15485 int result;
d14a1e28
RD
15486 char *kwnames[] = {
15487 (char *) "month",(char *) "year",(char *) "cal", NULL
15488 };
15489
15490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames,&arg1,&arg2,&arg3)) goto fail;
15491 {
15492 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 15493 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
d14a1e28
RD
15494
15495 wxPyEndAllowThreads(__tstate);
15496 if (PyErr_Occurred()) SWIG_fail;
15497 }
15498 resultobj = PyInt_FromLong((long)result);
15499 return resultobj;
15500 fail:
15501 return NULL;
15502}
15503
15504
15505static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
15506 PyObject *resultobj;
15507 int arg1 ;
15508 int arg2 = (int) wxDateTime::Name_Full ;
15509 wxString result;
15510 char *kwnames[] = {
15511 (char *) "month",(char *) "flags", NULL
15512 };
15513
15514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetMonthName",kwnames,&arg1,&arg2)) goto fail;
15515 {
15516 PyThreadState* __tstate = wxPyBeginAllowThreads();
15517 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
15518
15519 wxPyEndAllowThreads(__tstate);
15520 if (PyErr_Occurred()) SWIG_fail;
15521 }
15522 {
15523#if wxUSE_UNICODE
15524 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15525#else
15526 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15527#endif
15528 }
15529 return resultobj;
15530 fail:
15531 return NULL;
15532}
15533
15534
15535static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
15536 PyObject *resultobj;
15537 int arg1 ;
15538 int arg2 = (int) wxDateTime::Name_Full ;
15539 wxString result;
15540 char *kwnames[] = {
15541 (char *) "weekday",(char *) "flags", NULL
15542 };
15543
15544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetWeekDayName",kwnames,&arg1,&arg2)) goto fail;
15545 {
15546 PyThreadState* __tstate = wxPyBeginAllowThreads();
15547 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
15548
15549 wxPyEndAllowThreads(__tstate);
15550 if (PyErr_Occurred()) SWIG_fail;
15551 }
15552 {
15553#if wxUSE_UNICODE
15554 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15555#else
15556 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15557#endif
15558 }
15559 return resultobj;
15560 fail:
15561 return NULL;
15562}
15563
15564
15565static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
15566 PyObject *resultobj;
15567 wxString *arg1 = (wxString *) 0 ;
15568 wxString *arg2 = (wxString *) 0 ;
15569 PyObject * obj0 = 0 ;
15570 PyObject * obj1 = 0 ;
15571 char *kwnames[] = {
15572 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15573 };
15574
15575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
15576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15577 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15578 {
15579 PyThreadState* __tstate = wxPyBeginAllowThreads();
15580 wxDateTime::GetAmPmStrings(arg1,arg2);
15581
15582 wxPyEndAllowThreads(__tstate);
15583 if (PyErr_Occurred()) SWIG_fail;
15584 }
15585 Py_INCREF(Py_None); resultobj = Py_None;
15586 return resultobj;
15587 fail:
15588 return NULL;
15589}
15590
15591
15592static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
15593 PyObject *resultobj;
15594 int arg1 = (int) wxDateTime::Inv_Year ;
15595 int arg2 = (int) wxDateTime::Country_Default ;
15596 bool result;
15597 char *kwnames[] = {
15598 (char *) "year",(char *) "country", NULL
15599 };
15600
15601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsDSTApplicable",kwnames,&arg1,&arg2)) goto fail;
15602 {
15603 PyThreadState* __tstate = wxPyBeginAllowThreads();
15604 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
15605
15606 wxPyEndAllowThreads(__tstate);
15607 if (PyErr_Occurred()) SWIG_fail;
15608 }
15609 resultobj = PyInt_FromLong((long)result);
15610 return resultobj;
15611 fail:
15612 return NULL;
15613}
15614
15615
15616static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15617 PyObject *resultobj;
15618 int arg1 = (int) wxDateTime::Inv_Year ;
15619 int arg2 = (int) wxDateTime::Country_Default ;
15620 wxDateTime result;
15621 char *kwnames[] = {
15622 (char *) "year",(char *) "country", NULL
15623 };
15624
15625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetBeginDST",kwnames,&arg1,&arg2)) goto fail;
15626 {
15627 PyThreadState* __tstate = wxPyBeginAllowThreads();
15628 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
15629
15630 wxPyEndAllowThreads(__tstate);
15631 if (PyErr_Occurred()) SWIG_fail;
15632 }
15633 {
15634 wxDateTime * resultptr;
15635 resultptr = new wxDateTime((wxDateTime &) result);
15636 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15637 }
15638 return resultobj;
15639 fail:
15640 return NULL;
15641}
15642
15643
15644static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15645 PyObject *resultobj;
15646 int arg1 = (int) wxDateTime::Inv_Year ;
15647 int arg2 = (int) wxDateTime::Country_Default ;
15648 wxDateTime result;
15649 char *kwnames[] = {
15650 (char *) "year",(char *) "country", NULL
15651 };
15652
15653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetEndDST",kwnames,&arg1,&arg2)) goto fail;
15654 {
15655 PyThreadState* __tstate = wxPyBeginAllowThreads();
15656 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
15657
15658 wxPyEndAllowThreads(__tstate);
15659 if (PyErr_Occurred()) SWIG_fail;
15660 }
15661 {
15662 wxDateTime * resultptr;
15663 resultptr = new wxDateTime((wxDateTime &) result);
15664 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15665 }
15666 return resultobj;
15667 fail:
15668 return NULL;
15669}
15670
15671
15672static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
15673 PyObject *resultobj;
15674 wxDateTime result;
15675 char *kwnames[] = {
15676 NULL
15677 };
15678
15679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
15680 {
15681 PyThreadState* __tstate = wxPyBeginAllowThreads();
15682 result = wxDateTime::Now();
15683
15684 wxPyEndAllowThreads(__tstate);
15685 if (PyErr_Occurred()) SWIG_fail;
15686 }
15687 {
15688 wxDateTime * resultptr;
15689 resultptr = new wxDateTime((wxDateTime &) result);
15690 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15691 }
15692 return resultobj;
15693 fail:
15694 return NULL;
15695}
15696
15697
15698static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
15699 PyObject *resultobj;
15700 wxDateTime result;
15701 char *kwnames[] = {
15702 NULL
15703 };
15704
15705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
15706 {
15707 PyThreadState* __tstate = wxPyBeginAllowThreads();
15708 result = wxDateTime::UNow();
15709
15710 wxPyEndAllowThreads(__tstate);
15711 if (PyErr_Occurred()) SWIG_fail;
15712 }
15713 {
15714 wxDateTime * resultptr;
15715 resultptr = new wxDateTime((wxDateTime &) result);
15716 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15717 }
15718 return resultobj;
15719 fail:
15720 return NULL;
15721}
15722
15723
15724static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
15725 PyObject *resultobj;
15726 wxDateTime result;
15727 char *kwnames[] = {
15728 NULL
15729 };
15730
15731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
15732 {
15733 PyThreadState* __tstate = wxPyBeginAllowThreads();
15734 result = wxDateTime::Today();
15735
15736 wxPyEndAllowThreads(__tstate);
15737 if (PyErr_Occurred()) SWIG_fail;
15738 }
15739 {
15740 wxDateTime * resultptr;
15741 resultptr = new wxDateTime((wxDateTime &) result);
15742 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15743 }
15744 return resultobj;
15745 fail:
15746 return NULL;
15747}
15748
15749
15750static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15751 PyObject *resultobj;
15752 wxDateTime *result;
15753 char *kwnames[] = {
15754 NULL
15755 };
15756
15757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
15758 {
15759 PyThreadState* __tstate = wxPyBeginAllowThreads();
15760 result = (wxDateTime *)new wxDateTime();
15761
15762 wxPyEndAllowThreads(__tstate);
15763 if (PyErr_Occurred()) SWIG_fail;
15764 }
15765 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15766 return resultobj;
15767 fail:
15768 return NULL;
15769}
15770
15771
15772static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15773 PyObject *resultobj;
15774 time_t arg1 ;
15775 wxDateTime *result;
15776 PyObject * obj0 = 0 ;
15777 char *kwnames[] = {
15778 (char *) "timet", NULL
15779 };
15780
15781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
15782 arg1 = (time_t) PyInt_AsLong(obj0);
15783 if (PyErr_Occurred()) SWIG_fail;
15784 {
15785 PyThreadState* __tstate = wxPyBeginAllowThreads();
15786 result = (wxDateTime *)new wxDateTime(arg1);
15787
15788 wxPyEndAllowThreads(__tstate);
15789 if (PyErr_Occurred()) SWIG_fail;
15790 }
15791 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15792 return resultobj;
15793 fail:
15794 return NULL;
15795}
15796
15797
15798static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15799 PyObject *resultobj;
15800 double arg1 ;
15801 wxDateTime *result;
15802 char *kwnames[] = {
15803 (char *) "jdn", NULL
15804 };
15805
15806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"d:new_DateTimeFromJDN",kwnames,&arg1)) goto fail;
15807 {
15808 PyThreadState* __tstate = wxPyBeginAllowThreads();
15809 result = (wxDateTime *)new wxDateTime(arg1);
15810
15811 wxPyEndAllowThreads(__tstate);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 }
15814 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15815 return resultobj;
15816 fail:
15817 return NULL;
15818}
15819
15820
15821static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15822 PyObject *resultobj;
44127b65
RD
15823 int arg1 ;
15824 int arg2 = (int) 0 ;
15825 int arg3 = (int) 0 ;
15826 int arg4 = (int) 0 ;
d14a1e28 15827 wxDateTime *result;
d14a1e28
RD
15828 char *kwnames[] = {
15829 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15830 };
15831
44127b65 15832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iii:new_DateTimeFromHMS",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
d14a1e28
RD
15833 {
15834 PyThreadState* __tstate = wxPyBeginAllowThreads();
15835 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
15836
15837 wxPyEndAllowThreads(__tstate);
15838 if (PyErr_Occurred()) SWIG_fail;
15839 }
15840 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15841 return resultobj;
15842 fail:
15843 return NULL;
15844}
15845
15846
15847static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
15848 PyObject *resultobj;
44127b65 15849 int arg1 ;
d14a1e28
RD
15850 int arg2 = (int) wxDateTime::Inv_Month ;
15851 int arg3 = (int) wxDateTime::Inv_Year ;
44127b65
RD
15852 int arg4 = (int) 0 ;
15853 int arg5 = (int) 0 ;
15854 int arg6 = (int) 0 ;
15855 int arg7 = (int) 0 ;
d14a1e28 15856 wxDateTime *result;
d14a1e28
RD
15857 char *kwnames[] = {
15858 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15859 };
15860
44127b65 15861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iiiiii:new_DateTimeFromDMY",kwnames,&arg1,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7)) goto fail;
d14a1e28
RD
15862 {
15863 PyThreadState* __tstate = wxPyBeginAllowThreads();
15864 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
15865
15866 wxPyEndAllowThreads(__tstate);
15867 if (PyErr_Occurred()) SWIG_fail;
15868 }
15869 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15870 return resultobj;
15871 fail:
15872 return NULL;
15873}
15874
15875
15876static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15877 PyObject *resultobj;
15878 wxDateTime *arg1 = (wxDateTime *) 0 ;
15879 PyObject * obj0 = 0 ;
15880 char *kwnames[] = {
15881 (char *) "self", NULL
15882 };
15883
15884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
15885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15886 {
15887 PyThreadState* __tstate = wxPyBeginAllowThreads();
15888 delete arg1;
15889
15890 wxPyEndAllowThreads(__tstate);
15891 if (PyErr_Occurred()) SWIG_fail;
15892 }
15893 Py_INCREF(Py_None); resultobj = Py_None;
15894 return resultobj;
15895 fail:
15896 return NULL;
15897}
15898
15899
15900static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
15901 PyObject *resultobj;
15902 wxDateTime *arg1 = (wxDateTime *) 0 ;
15903 wxDateTime *result;
15904 PyObject * obj0 = 0 ;
15905 char *kwnames[] = {
15906 (char *) "self", NULL
15907 };
15908
15909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
15910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15911 {
15912 PyThreadState* __tstate = wxPyBeginAllowThreads();
15913 {
15914 wxDateTime &_result_ref = (arg1)->SetToCurrent();
15915 result = (wxDateTime *) &_result_ref;
15916 }
15917
15918 wxPyEndAllowThreads(__tstate);
15919 if (PyErr_Occurred()) SWIG_fail;
15920 }
15921 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15922 return resultobj;
15923 fail:
15924 return NULL;
15925}
15926
15927
15928static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15929 PyObject *resultobj;
15930 wxDateTime *arg1 = (wxDateTime *) 0 ;
15931 time_t arg2 ;
15932 wxDateTime *result;
15933 PyObject * obj0 = 0 ;
15934 PyObject * obj1 = 0 ;
15935 char *kwnames[] = {
15936 (char *) "self",(char *) "timet", NULL
15937 };
15938
15939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
15940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15941 arg2 = (time_t) PyInt_AsLong(obj1);
15942 if (PyErr_Occurred()) SWIG_fail;
15943 {
15944 PyThreadState* __tstate = wxPyBeginAllowThreads();
15945 {
15946 wxDateTime &_result_ref = (arg1)->Set(arg2);
15947 result = (wxDateTime *) &_result_ref;
15948 }
15949
15950 wxPyEndAllowThreads(__tstate);
15951 if (PyErr_Occurred()) SWIG_fail;
15952 }
15953 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15954 return resultobj;
15955 fail:
15956 return NULL;
15957}
15958
15959
15960static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15961 PyObject *resultobj;
15962 wxDateTime *arg1 = (wxDateTime *) 0 ;
15963 double arg2 ;
15964 wxDateTime *result;
15965 PyObject * obj0 = 0 ;
15966 char *kwnames[] = {
15967 (char *) "self",(char *) "jdn", NULL
15968 };
15969
15970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:DateTime_SetJDN",kwnames,&obj0,&arg2)) goto fail;
15971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15972 {
15973 PyThreadState* __tstate = wxPyBeginAllowThreads();
15974 {
15975 wxDateTime &_result_ref = (arg1)->Set(arg2);
15976 result = (wxDateTime *) &_result_ref;
15977 }
15978
15979 wxPyEndAllowThreads(__tstate);
15980 if (PyErr_Occurred()) SWIG_fail;
15981 }
15982 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15983 return resultobj;
15984 fail:
15985 return NULL;
15986}
15987
15988
15989static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15990 PyObject *resultobj;
15991 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65
RD
15992 int arg2 ;
15993 int arg3 = (int) 0 ;
15994 int arg4 = (int) 0 ;
15995 int arg5 = (int) 0 ;
d14a1e28
RD
15996 wxDateTime *result;
15997 PyObject * obj0 = 0 ;
d14a1e28
RD
15998 char *kwnames[] = {
15999 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16000 };
16001
44127b65 16002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetHMS",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
d14a1e28 16003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16004 {
16005 PyThreadState* __tstate = wxPyBeginAllowThreads();
16006 {
16007 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
16008 result = (wxDateTime *) &_result_ref;
16009 }
16010
16011 wxPyEndAllowThreads(__tstate);
16012 if (PyErr_Occurred()) SWIG_fail;
16013 }
16014 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16015 return resultobj;
16016 fail:
16017 return NULL;
16018}
16019
16020
16021static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
16022 PyObject *resultobj;
16023 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 16024 int arg2 ;
d14a1e28
RD
16025 int arg3 = (int) wxDateTime::Inv_Month ;
16026 int arg4 = (int) wxDateTime::Inv_Year ;
44127b65
RD
16027 int arg5 = (int) 0 ;
16028 int arg6 = (int) 0 ;
16029 int arg7 = (int) 0 ;
16030 int arg8 = (int) 0 ;
d14a1e28
RD
16031 wxDateTime *result;
16032 PyObject * obj0 = 0 ;
d14a1e28
RD
16033 char *kwnames[] = {
16034 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16035 };
16036
44127b65 16037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiiiii:DateTime_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
d14a1e28 16038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16039 {
16040 PyThreadState* __tstate = wxPyBeginAllowThreads();
16041 {
16042 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
16043 result = (wxDateTime *) &_result_ref;
16044 }
16045
16046 wxPyEndAllowThreads(__tstate);
16047 if (PyErr_Occurred()) SWIG_fail;
16048 }
16049 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16050 return resultobj;
16051 fail:
16052 return NULL;
16053}
16054
16055
16056static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
16057 PyObject *resultobj;
16058 wxDateTime *arg1 = (wxDateTime *) 0 ;
16059 wxDateTime *result;
16060 PyObject * obj0 = 0 ;
16061 char *kwnames[] = {
16062 (char *) "self", NULL
16063 };
16064
16065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
16066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16067 {
16068 PyThreadState* __tstate = wxPyBeginAllowThreads();
16069 {
16070 wxDateTime &_result_ref = (arg1)->ResetTime();
16071 result = (wxDateTime *) &_result_ref;
16072 }
16073
16074 wxPyEndAllowThreads(__tstate);
16075 if (PyErr_Occurred()) SWIG_fail;
16076 }
16077 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16078 return resultobj;
16079 fail:
16080 return NULL;
16081}
16082
16083
16084static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16085 PyObject *resultobj;
16086 wxDateTime *arg1 = (wxDateTime *) 0 ;
16087 int arg2 ;
16088 wxDateTime *result;
16089 PyObject * obj0 = 0 ;
16090 char *kwnames[] = {
16091 (char *) "self",(char *) "year", NULL
16092 };
16093
16094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetYear",kwnames,&obj0,&arg2)) goto fail;
16095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16096 {
16097 PyThreadState* __tstate = wxPyBeginAllowThreads();
16098 {
16099 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
16100 result = (wxDateTime *) &_result_ref;
16101 }
16102
16103 wxPyEndAllowThreads(__tstate);
16104 if (PyErr_Occurred()) SWIG_fail;
16105 }
16106 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16107 return resultobj;
16108 fail:
16109 return NULL;
16110}
16111
16112
16113static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16114 PyObject *resultobj;
16115 wxDateTime *arg1 = (wxDateTime *) 0 ;
16116 int arg2 ;
16117 wxDateTime *result;
16118 PyObject * obj0 = 0 ;
16119 char *kwnames[] = {
16120 (char *) "self",(char *) "month", NULL
16121 };
16122
16123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMonth",kwnames,&obj0,&arg2)) goto fail;
16124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16125 {
16126 PyThreadState* __tstate = wxPyBeginAllowThreads();
16127 {
16128 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
16129 result = (wxDateTime *) &_result_ref;
16130 }
16131
16132 wxPyEndAllowThreads(__tstate);
16133 if (PyErr_Occurred()) SWIG_fail;
16134 }
16135 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16136 return resultobj;
16137 fail:
16138 return NULL;
16139}
16140
16141
16142static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16143 PyObject *resultobj;
16144 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 16145 int arg2 ;
d14a1e28
RD
16146 wxDateTime *result;
16147 PyObject * obj0 = 0 ;
d14a1e28
RD
16148 char *kwnames[] = {
16149 (char *) "self",(char *) "day", NULL
16150 };
16151
44127b65 16152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetDay",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16154 {
16155 PyThreadState* __tstate = wxPyBeginAllowThreads();
16156 {
16157 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
16158 result = (wxDateTime *) &_result_ref;
16159 }
16160
16161 wxPyEndAllowThreads(__tstate);
16162 if (PyErr_Occurred()) SWIG_fail;
16163 }
16164 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16165 return resultobj;
16166 fail:
16167 return NULL;
16168}
16169
16170
16171static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
16172 PyObject *resultobj;
16173 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 16174 int arg2 ;
d14a1e28
RD
16175 wxDateTime *result;
16176 PyObject * obj0 = 0 ;
d14a1e28
RD
16177 char *kwnames[] = {
16178 (char *) "self",(char *) "hour", NULL
16179 };
16180
44127b65 16181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetHour",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16183 {
16184 PyThreadState* __tstate = wxPyBeginAllowThreads();
16185 {
16186 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
16187 result = (wxDateTime *) &_result_ref;
16188 }
16189
16190 wxPyEndAllowThreads(__tstate);
16191 if (PyErr_Occurred()) SWIG_fail;
16192 }
16193 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16194 return resultobj;
16195 fail:
16196 return NULL;
16197}
16198
16199
16200static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
16201 PyObject *resultobj;
16202 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 16203 int arg2 ;
d14a1e28
RD
16204 wxDateTime *result;
16205 PyObject * obj0 = 0 ;
d14a1e28
RD
16206 char *kwnames[] = {
16207 (char *) "self",(char *) "minute", NULL
16208 };
16209
44127b65 16210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMinute",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16212 {
16213 PyThreadState* __tstate = wxPyBeginAllowThreads();
16214 {
16215 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
16216 result = (wxDateTime *) &_result_ref;
16217 }
16218
16219 wxPyEndAllowThreads(__tstate);
16220 if (PyErr_Occurred()) SWIG_fail;
16221 }
16222 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16223 return resultobj;
16224 fail:
16225 return NULL;
16226}
16227
16228
16229static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16230 PyObject *resultobj;
16231 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 16232 int arg2 ;
d14a1e28
RD
16233 wxDateTime *result;
16234 PyObject * obj0 = 0 ;
d14a1e28
RD
16235 char *kwnames[] = {
16236 (char *) "self",(char *) "second", NULL
16237 };
16238
44127b65 16239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetSecond",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16241 {
16242 PyThreadState* __tstate = wxPyBeginAllowThreads();
16243 {
16244 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
16245 result = (wxDateTime *) &_result_ref;
16246 }
16247
16248 wxPyEndAllowThreads(__tstate);
16249 if (PyErr_Occurred()) SWIG_fail;
16250 }
16251 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16252 return resultobj;
16253 fail:
16254 return NULL;
16255}
16256
16257
16258static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16259 PyObject *resultobj;
16260 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 16261 int arg2 ;
d14a1e28
RD
16262 wxDateTime *result;
16263 PyObject * obj0 = 0 ;
d14a1e28
RD
16264 char *kwnames[] = {
16265 (char *) "self",(char *) "millisecond", NULL
16266 };
16267
44127b65 16268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMillisecond",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16270 {
16271 PyThreadState* __tstate = wxPyBeginAllowThreads();
16272 {
16273 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
16274 result = (wxDateTime *) &_result_ref;
16275 }
16276
16277 wxPyEndAllowThreads(__tstate);
16278 if (PyErr_Occurred()) SWIG_fail;
16279 }
16280 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16281 return resultobj;
16282 fail:
16283 return NULL;
16284}
16285
16286
16287static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16288 PyObject *resultobj;
16289 wxDateTime *arg1 = (wxDateTime *) 0 ;
16290 int arg2 ;
16291 int arg3 = (int) wxDateTime::Monday_First ;
16292 wxDateTime *result;
16293 PyObject * obj0 = 0 ;
16294 char *kwnames[] = {
16295 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16296 };
16297
16298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16300 {
16301 PyThreadState* __tstate = wxPyBeginAllowThreads();
16302 {
16303 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16304 result = (wxDateTime *) &_result_ref;
16305 }
16306
16307 wxPyEndAllowThreads(__tstate);
16308 if (PyErr_Occurred()) SWIG_fail;
16309 }
16310 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16311 return resultobj;
16312 fail:
16313 return NULL;
16314}
16315
16316
16317static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16318 PyObject *resultobj;
16319 wxDateTime *arg1 = (wxDateTime *) 0 ;
16320 int arg2 ;
16321 int arg3 = (int) wxDateTime::Monday_First ;
16322 wxDateTime result;
16323 PyObject * obj0 = 0 ;
16324 char *kwnames[] = {
16325 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16326 };
16327
16328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16330 {
16331 PyThreadState* __tstate = wxPyBeginAllowThreads();
16332 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16333
16334 wxPyEndAllowThreads(__tstate);
16335 if (PyErr_Occurred()) SWIG_fail;
16336 }
16337 {
16338 wxDateTime * resultptr;
16339 resultptr = new wxDateTime((wxDateTime &) result);
16340 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16341 }
16342 return resultobj;
16343 fail:
16344 return NULL;
16345}
16346
16347
16348static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16349 PyObject *resultobj;
16350 wxDateTime *arg1 = (wxDateTime *) 0 ;
16351 int arg2 ;
16352 wxDateTime *result;
16353 PyObject * obj0 = 0 ;
16354 char *kwnames[] = {
16355 (char *) "self",(char *) "weekday", NULL
16356 };
16357
16358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16360 {
16361 PyThreadState* __tstate = wxPyBeginAllowThreads();
16362 {
16363 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
16364 result = (wxDateTime *) &_result_ref;
16365 }
16366
16367 wxPyEndAllowThreads(__tstate);
16368 if (PyErr_Occurred()) SWIG_fail;
16369 }
16370 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16371 return resultobj;
16372 fail:
16373 return NULL;
16374}
16375
16376
16377static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16378 PyObject *resultobj;
16379 wxDateTime *arg1 = (wxDateTime *) 0 ;
16380 int arg2 ;
16381 wxDateTime result;
16382 PyObject * obj0 = 0 ;
16383 char *kwnames[] = {
16384 (char *) "self",(char *) "weekday", NULL
16385 };
16386
16387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16389 {
16390 PyThreadState* __tstate = wxPyBeginAllowThreads();
16391 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
16392
16393 wxPyEndAllowThreads(__tstate);
16394 if (PyErr_Occurred()) SWIG_fail;
16395 }
16396 {
16397 wxDateTime * resultptr;
16398 resultptr = new wxDateTime((wxDateTime &) result);
16399 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16400 }
16401 return resultobj;
16402 fail:
16403 return NULL;
16404}
16405
16406
16407static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16408 PyObject *resultobj;
16409 wxDateTime *arg1 = (wxDateTime *) 0 ;
16410 int arg2 ;
16411 wxDateTime *result;
16412 PyObject * obj0 = 0 ;
16413 char *kwnames[] = {
16414 (char *) "self",(char *) "weekday", NULL
16415 };
16416
16417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16419 {
16420 PyThreadState* __tstate = wxPyBeginAllowThreads();
16421 {
16422 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
16423 result = (wxDateTime *) &_result_ref;
16424 }
16425
16426 wxPyEndAllowThreads(__tstate);
16427 if (PyErr_Occurred()) SWIG_fail;
16428 }
16429 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16430 return resultobj;
16431 fail:
16432 return NULL;
16433}
16434
16435
16436static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16437 PyObject *resultobj;
16438 wxDateTime *arg1 = (wxDateTime *) 0 ;
16439 int arg2 ;
16440 wxDateTime result;
16441 PyObject * obj0 = 0 ;
16442 char *kwnames[] = {
16443 (char *) "self",(char *) "weekday", NULL
16444 };
16445
16446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16448 {
16449 PyThreadState* __tstate = wxPyBeginAllowThreads();
16450 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
16451
16452 wxPyEndAllowThreads(__tstate);
16453 if (PyErr_Occurred()) SWIG_fail;
16454 }
16455 {
16456 wxDateTime * resultptr;
16457 resultptr = new wxDateTime((wxDateTime &) result);
16458 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16459 }
16460 return resultobj;
16461 fail:
16462 return NULL;
16463}
16464
16465
16466static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16467 PyObject *resultobj;
16468 wxDateTime *arg1 = (wxDateTime *) 0 ;
16469 int arg2 ;
16470 int arg3 = (int) 1 ;
16471 int arg4 = (int) wxDateTime::Inv_Month ;
16472 int arg5 = (int) wxDateTime::Inv_Year ;
16473 bool result;
16474 PyObject * obj0 = 0 ;
16475 char *kwnames[] = {
16476 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16477 };
16478
16479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16481 {
16482 PyThreadState* __tstate = wxPyBeginAllowThreads();
16483 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
16484
16485 wxPyEndAllowThreads(__tstate);
16486 if (PyErr_Occurred()) SWIG_fail;
16487 }
16488 resultobj = PyInt_FromLong((long)result);
16489 return resultobj;
16490 fail:
16491 return NULL;
16492}
16493
16494
16495static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16496 PyObject *resultobj;
16497 wxDateTime *arg1 = (wxDateTime *) 0 ;
16498 int arg2 ;
16499 int arg3 = (int) wxDateTime::Inv_Month ;
16500 int arg4 = (int) wxDateTime::Inv_Year ;
16501 bool result;
16502 PyObject * obj0 = 0 ;
16503 char *kwnames[] = {
16504 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16505 };
16506
16507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16509 {
16510 PyThreadState* __tstate = wxPyBeginAllowThreads();
16511 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16512
16513 wxPyEndAllowThreads(__tstate);
16514 if (PyErr_Occurred()) SWIG_fail;
16515 }
16516 resultobj = PyInt_FromLong((long)result);
16517 return resultobj;
16518 fail:
16519 return NULL;
16520}
16521
16522
16523static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16524 PyObject *resultobj;
16525 wxDateTime *arg1 = (wxDateTime *) 0 ;
16526 int arg2 ;
16527 int arg3 = (int) wxDateTime::Inv_Month ;
16528 int arg4 = (int) wxDateTime::Inv_Year ;
16529 wxDateTime result;
16530 PyObject * obj0 = 0 ;
16531 char *kwnames[] = {
16532 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16533 };
16534
16535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16537 {
16538 PyThreadState* __tstate = wxPyBeginAllowThreads();
16539 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16540
16541 wxPyEndAllowThreads(__tstate);
16542 if (PyErr_Occurred()) SWIG_fail;
16543 }
16544 {
16545 wxDateTime * resultptr;
16546 resultptr = new wxDateTime((wxDateTime &) result);
16547 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16548 }
16549 return resultobj;
16550 fail:
16551 return NULL;
16552}
16553
16554
16555static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16556 PyObject *resultobj;
16557 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 16558 int arg2 ;
d14a1e28
RD
16559 int arg3 = (int) wxDateTime::Mon ;
16560 int arg4 = (int) wxDateTime::Monday_First ;
16561 bool result;
16562 PyObject * obj0 = 0 ;
d14a1e28
RD
16563 char *kwnames[] = {
16564 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16565 };
16566
44127b65 16567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToTheWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
d14a1e28 16568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16569 {
16570 PyThreadState* __tstate = wxPyBeginAllowThreads();
16571 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16572
16573 wxPyEndAllowThreads(__tstate);
16574 if (PyErr_Occurred()) SWIG_fail;
16575 }
16576 resultobj = PyInt_FromLong((long)result);
16577 return resultobj;
16578 fail:
16579 return NULL;
16580}
16581
16582
16583static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16584 PyObject *resultobj;
16585 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 16586 int arg2 ;
d14a1e28
RD
16587 int arg3 = (int) wxDateTime::Mon ;
16588 int arg4 = (int) wxDateTime::Monday_First ;
16589 wxDateTime result;
16590 PyObject * obj0 = 0 ;
d14a1e28
RD
16591 char *kwnames[] = {
16592 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16593 };
16594
44127b65 16595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
d14a1e28 16596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16597 {
16598 PyThreadState* __tstate = wxPyBeginAllowThreads();
16599 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16600
16601 wxPyEndAllowThreads(__tstate);
16602 if (PyErr_Occurred()) SWIG_fail;
16603 }
16604 {
16605 wxDateTime * resultptr;
16606 resultptr = new wxDateTime((wxDateTime &) result);
16607 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16608 }
16609 return resultobj;
16610 fail:
16611 return NULL;
16612}
16613
16614
16615static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16616 PyObject *resultobj;
16617 wxDateTime *arg1 = (wxDateTime *) 0 ;
16618 int arg2 = (int) wxDateTime::Inv_Month ;
16619 int arg3 = (int) wxDateTime::Inv_Year ;
16620 wxDateTime *result;
16621 PyObject * obj0 = 0 ;
16622 char *kwnames[] = {
16623 (char *) "self",(char *) "month",(char *) "year", NULL
16624 };
16625
16626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16628 {
16629 PyThreadState* __tstate = wxPyBeginAllowThreads();
16630 {
16631 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
16632 result = (wxDateTime *) &_result_ref;
16633 }
16634
16635 wxPyEndAllowThreads(__tstate);
16636 if (PyErr_Occurred()) SWIG_fail;
16637 }
16638 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16639 return resultobj;
16640 fail:
16641 return NULL;
16642}
16643
16644
16645static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16646 PyObject *resultobj;
16647 wxDateTime *arg1 = (wxDateTime *) 0 ;
16648 int arg2 = (int) wxDateTime::Inv_Month ;
16649 int arg3 = (int) wxDateTime::Inv_Year ;
16650 wxDateTime result;
16651 PyObject * obj0 = 0 ;
16652 char *kwnames[] = {
16653 (char *) "self",(char *) "month",(char *) "year", NULL
16654 };
16655
16656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16658 {
16659 PyThreadState* __tstate = wxPyBeginAllowThreads();
16660 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
16661
16662 wxPyEndAllowThreads(__tstate);
16663 if (PyErr_Occurred()) SWIG_fail;
16664 }
16665 {
16666 wxDateTime * resultptr;
16667 resultptr = new wxDateTime((wxDateTime &) result);
16668 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16669 }
16670 return resultobj;
16671 fail:
16672 return NULL;
16673}
16674
16675
16676static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16677 PyObject *resultobj;
16678 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 16679 int arg2 ;
d14a1e28
RD
16680 wxDateTime *result;
16681 PyObject * obj0 = 0 ;
d14a1e28
RD
16682 char *kwnames[] = {
16683 (char *) "self",(char *) "yday", NULL
16684 };
16685
44127b65 16686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToYearDay",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16688 {
16689 PyThreadState* __tstate = wxPyBeginAllowThreads();
16690 {
16691 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
16692 result = (wxDateTime *) &_result_ref;
16693 }
16694
16695 wxPyEndAllowThreads(__tstate);
16696 if (PyErr_Occurred()) SWIG_fail;
16697 }
16698 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16699 return resultobj;
16700 fail:
16701 return NULL;
16702}
16703
16704
16705static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16706 PyObject *resultobj;
16707 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 16708 int arg2 ;
d14a1e28
RD
16709 wxDateTime result;
16710 PyObject * obj0 = 0 ;
d14a1e28
RD
16711 char *kwnames[] = {
16712 (char *) "self",(char *) "yday", NULL
16713 };
16714
44127b65 16715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetYearDay",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16717 {
16718 PyThreadState* __tstate = wxPyBeginAllowThreads();
16719 result = (arg1)->GetYearDay(arg2);
16720
16721 wxPyEndAllowThreads(__tstate);
16722 if (PyErr_Occurred()) SWIG_fail;
16723 }
16724 {
16725 wxDateTime * resultptr;
16726 resultptr = new wxDateTime((wxDateTime &) result);
16727 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16728 }
16729 return resultobj;
16730 fail:
16731 return NULL;
16732}
16733
16734
16735static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16736 PyObject *resultobj;
16737 wxDateTime *arg1 = (wxDateTime *) 0 ;
16738 double result;
16739 PyObject * obj0 = 0 ;
16740 char *kwnames[] = {
16741 (char *) "self", NULL
16742 };
16743
16744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
16745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16746 {
16747 PyThreadState* __tstate = wxPyBeginAllowThreads();
16748 result = (double)(arg1)->GetJulianDayNumber();
16749
16750 wxPyEndAllowThreads(__tstate);
16751 if (PyErr_Occurred()) SWIG_fail;
16752 }
16753 resultobj = PyFloat_FromDouble(result);
16754 return resultobj;
16755 fail:
16756 return NULL;
16757}
16758
16759
16760static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
16761 PyObject *resultobj;
16762 wxDateTime *arg1 = (wxDateTime *) 0 ;
16763 double result;
16764 PyObject * obj0 = 0 ;
16765 char *kwnames[] = {
16766 (char *) "self", NULL
16767 };
16768
16769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
16770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16771 {
16772 PyThreadState* __tstate = wxPyBeginAllowThreads();
16773 result = (double)(arg1)->GetJDN();
16774
16775 wxPyEndAllowThreads(__tstate);
16776 if (PyErr_Occurred()) SWIG_fail;
16777 }
16778 resultobj = PyFloat_FromDouble(result);
16779 return resultobj;
16780 fail:
16781 return NULL;
16782}
16783
16784
16785static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16786 PyObject *resultobj;
16787 wxDateTime *arg1 = (wxDateTime *) 0 ;
16788 double result;
16789 PyObject * obj0 = 0 ;
16790 char *kwnames[] = {
16791 (char *) "self", NULL
16792 };
16793
16794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
16795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16796 {
16797 PyThreadState* __tstate = wxPyBeginAllowThreads();
16798 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
16799
16800 wxPyEndAllowThreads(__tstate);
16801 if (PyErr_Occurred()) SWIG_fail;
16802 }
16803 resultobj = PyFloat_FromDouble(result);
16804 return resultobj;
16805 fail:
16806 return NULL;
16807}
16808
16809
16810static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
16811 PyObject *resultobj;
16812 wxDateTime *arg1 = (wxDateTime *) 0 ;
16813 double result;
16814 PyObject * obj0 = 0 ;
16815 char *kwnames[] = {
16816 (char *) "self", NULL
16817 };
16818
16819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
16820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16821 {
16822 PyThreadState* __tstate = wxPyBeginAllowThreads();
16823 result = (double)(arg1)->GetMJD();
16824
16825 wxPyEndAllowThreads(__tstate);
16826 if (PyErr_Occurred()) SWIG_fail;
16827 }
16828 resultobj = PyFloat_FromDouble(result);
16829 return resultobj;
16830 fail:
16831 return NULL;
16832}
16833
16834
16835static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
16836 PyObject *resultobj;
16837 wxDateTime *arg1 = (wxDateTime *) 0 ;
16838 double result;
16839 PyObject * obj0 = 0 ;
16840 char *kwnames[] = {
16841 (char *) "self", NULL
16842 };
16843
16844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
16845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16846 {
16847 PyThreadState* __tstate = wxPyBeginAllowThreads();
16848 result = (double)(arg1)->GetRataDie();
16849
16850 wxPyEndAllowThreads(__tstate);
16851 if (PyErr_Occurred()) SWIG_fail;
16852 }
16853 resultobj = PyFloat_FromDouble(result);
16854 return resultobj;
16855 fail:
16856 return NULL;
16857}
16858
16859
16860static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16861 PyObject *resultobj;
16862 wxDateTime *arg1 = (wxDateTime *) 0 ;
16863 wxDateTime::TimeZone *arg2 = 0 ;
423f194a 16864 bool arg3 = (bool) False ;
d14a1e28 16865 wxDateTime result;
44127b65 16866 bool temp2 = False ;
d14a1e28
RD
16867 PyObject * obj0 = 0 ;
16868 PyObject * obj1 = 0 ;
16869 PyObject * obj2 = 0 ;
16870 char *kwnames[] = {
16871 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16872 };
16873
16874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16876 {
16877 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 16878 temp2 = True;
d14a1e28
RD
16879 }
16880 if (obj2) {
16881 arg3 = PyInt_AsLong(obj2) ? true : false;
16882 if (PyErr_Occurred()) SWIG_fail;
16883 }
16884 {
16885 PyThreadState* __tstate = wxPyBeginAllowThreads();
16886 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16887
16888 wxPyEndAllowThreads(__tstate);
16889 if (PyErr_Occurred()) SWIG_fail;
16890 }
16891 {
16892 wxDateTime * resultptr;
16893 resultptr = new wxDateTime((wxDateTime &) result);
16894 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16895 }
16896 {
44127b65 16897 if (temp2) delete arg2;
d14a1e28
RD
16898 }
16899 return resultobj;
16900 fail:
16901 {
44127b65 16902 if (temp2) delete arg2;
d14a1e28
RD
16903 }
16904 return NULL;
16905}
16906
16907
16908static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16909 PyObject *resultobj;
16910 wxDateTime *arg1 = (wxDateTime *) 0 ;
16911 wxDateTime::TimeZone *arg2 = 0 ;
423f194a 16912 bool arg3 = (bool) False ;
d14a1e28 16913 wxDateTime *result;
44127b65 16914 bool temp2 = False ;
d14a1e28
RD
16915 PyObject * obj0 = 0 ;
16916 PyObject * obj1 = 0 ;
16917 PyObject * obj2 = 0 ;
16918 char *kwnames[] = {
16919 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16920 };
16921
16922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16924 {
16925 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 16926 temp2 = True;
d14a1e28
RD
16927 }
16928 if (obj2) {
16929 arg3 = PyInt_AsLong(obj2) ? true : false;
16930 if (PyErr_Occurred()) SWIG_fail;
16931 }
16932 {
16933 PyThreadState* __tstate = wxPyBeginAllowThreads();
16934 {
16935 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16936 result = (wxDateTime *) &_result_ref;
16937 }
16938
16939 wxPyEndAllowThreads(__tstate);
16940 if (PyErr_Occurred()) SWIG_fail;
16941 }
16942 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16943 {
44127b65 16944 if (temp2) delete arg2;
d14a1e28
RD
16945 }
16946 return resultobj;
16947 fail:
16948 {
44127b65 16949 if (temp2) delete arg2;
d14a1e28
RD
16950 }
16951 return NULL;
16952}
16953
16954
16955static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16956 PyObject *resultobj;
16957 wxDateTime *arg1 = (wxDateTime *) 0 ;
423f194a 16958 bool arg2 = (bool) False ;
d14a1e28
RD
16959 wxDateTime result;
16960 PyObject * obj0 = 0 ;
16961 PyObject * obj1 = 0 ;
16962 char *kwnames[] = {
16963 (char *) "self",(char *) "noDST", NULL
16964 };
16965
16966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
16967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16968 if (obj1) {
16969 arg2 = PyInt_AsLong(obj1) ? true : false;
16970 if (PyErr_Occurred()) SWIG_fail;
16971 }
16972 {
16973 PyThreadState* __tstate = wxPyBeginAllowThreads();
16974 result = (arg1)->ToGMT(arg2);
16975
16976 wxPyEndAllowThreads(__tstate);
16977 if (PyErr_Occurred()) SWIG_fail;
16978 }
16979 {
16980 wxDateTime * resultptr;
16981 resultptr = new wxDateTime((wxDateTime &) result);
16982 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16983 }
16984 return resultobj;
16985 fail:
16986 return NULL;
16987}
16988
16989
16990static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16991 PyObject *resultobj;
16992 wxDateTime *arg1 = (wxDateTime *) 0 ;
423f194a 16993 bool arg2 = (bool) False ;
d14a1e28
RD
16994 wxDateTime *result;
16995 PyObject * obj0 = 0 ;
16996 PyObject * obj1 = 0 ;
16997 char *kwnames[] = {
16998 (char *) "self",(char *) "noDST", NULL
16999 };
17000
17001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
17002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17003 if (obj1) {
17004 arg2 = PyInt_AsLong(obj1) ? true : false;
17005 if (PyErr_Occurred()) SWIG_fail;
17006 }
17007 {
17008 PyThreadState* __tstate = wxPyBeginAllowThreads();
17009 {
17010 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
17011 result = (wxDateTime *) &_result_ref;
17012 }
17013
17014 wxPyEndAllowThreads(__tstate);
17015 if (PyErr_Occurred()) SWIG_fail;
17016 }
17017 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17018 return resultobj;
17019 fail:
17020 return NULL;
17021}
17022
17023
17024static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17025 PyObject *resultobj;
17026 wxDateTime *arg1 = (wxDateTime *) 0 ;
17027 int arg2 = (int) wxDateTime::Country_Default ;
17028 int result;
17029 PyObject * obj0 = 0 ;
17030 char *kwnames[] = {
17031 (char *) "self",(char *) "country", NULL
17032 };
17033
17034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsDST",kwnames,&obj0,&arg2)) goto fail;
17035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17036 {
17037 PyThreadState* __tstate = wxPyBeginAllowThreads();
17038 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
17039
17040 wxPyEndAllowThreads(__tstate);
17041 if (PyErr_Occurred()) SWIG_fail;
17042 }
17043 resultobj = PyInt_FromLong((long)result);
17044 return resultobj;
17045 fail:
17046 return NULL;
17047}
17048
17049
17050static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
17051 PyObject *resultobj;
17052 wxDateTime *arg1 = (wxDateTime *) 0 ;
17053 bool result;
17054 PyObject * obj0 = 0 ;
17055 char *kwnames[] = {
17056 (char *) "self", NULL
17057 };
17058
17059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
17060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17061 {
17062 PyThreadState* __tstate = wxPyBeginAllowThreads();
17063 result = (bool)((wxDateTime const *)arg1)->IsValid();
17064
17065 wxPyEndAllowThreads(__tstate);
17066 if (PyErr_Occurred()) SWIG_fail;
17067 }
17068 resultobj = PyInt_FromLong((long)result);
17069 return resultobj;
17070 fail:
17071 return NULL;
17072}
17073
17074
17075static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
17076 PyObject *resultobj;
17077 wxDateTime *arg1 = (wxDateTime *) 0 ;
17078 time_t result;
17079 PyObject * obj0 = 0 ;
17080 char *kwnames[] = {
17081 (char *) "self", NULL
17082 };
17083
17084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
17085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17086 {
17087 PyThreadState* __tstate = wxPyBeginAllowThreads();
17088 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
17089
17090 wxPyEndAllowThreads(__tstate);
17091 if (PyErr_Occurred()) SWIG_fail;
17092 }
17093 resultobj = PyInt_FromLong((long)result);
17094 return resultobj;
17095 fail:
17096 return NULL;
17097}
17098
17099
17100static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17101 PyObject *resultobj;
17102 wxDateTime *arg1 = (wxDateTime *) 0 ;
17103 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17104 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17105 int result;
44127b65 17106 bool temp2 = False ;
d14a1e28
RD
17107 PyObject * obj0 = 0 ;
17108 PyObject * obj1 = 0 ;
17109 char *kwnames[] = {
17110 (char *) "self",(char *) "tz", NULL
17111 };
17112
17113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
17114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17115 if (obj1) {
17116 {
17117 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 17118 temp2 = True;
d14a1e28
RD
17119 }
17120 }
17121 {
17122 PyThreadState* __tstate = wxPyBeginAllowThreads();
17123 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
17124
17125 wxPyEndAllowThreads(__tstate);
17126 if (PyErr_Occurred()) SWIG_fail;
17127 }
17128 resultobj = PyInt_FromLong((long)result);
17129 {
44127b65 17130 if (temp2) delete arg2;
d14a1e28
RD
17131 }
17132 return resultobj;
17133 fail:
17134 {
44127b65 17135 if (temp2) delete arg2;
d14a1e28
RD
17136 }
17137 return NULL;
17138}
17139
17140
17141static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17142 PyObject *resultobj;
17143 wxDateTime *arg1 = (wxDateTime *) 0 ;
17144 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17145 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17146 int result;
44127b65 17147 bool temp2 = False ;
d14a1e28
RD
17148 PyObject * obj0 = 0 ;
17149 PyObject * obj1 = 0 ;
17150 char *kwnames[] = {
17151 (char *) "self",(char *) "tz", NULL
17152 };
17153
17154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
17155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17156 if (obj1) {
17157 {
17158 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 17159 temp2 = True;
d14a1e28
RD
17160 }
17161 }
17162 {
17163 PyThreadState* __tstate = wxPyBeginAllowThreads();
17164 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
17165
17166 wxPyEndAllowThreads(__tstate);
17167 if (PyErr_Occurred()) SWIG_fail;
17168 }
17169 resultobj = PyInt_FromLong((long)result);
17170 {
44127b65 17171 if (temp2) delete arg2;
d14a1e28
RD
17172 }
17173 return resultobj;
17174 fail:
17175 {
44127b65 17176 if (temp2) delete arg2;
d14a1e28
RD
17177 }
17178 return NULL;
17179}
17180
17181
17182static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17183 PyObject *resultobj;
17184 wxDateTime *arg1 = (wxDateTime *) 0 ;
17185 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17186 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
17187 int result;
17188 bool temp2 = False ;
d14a1e28
RD
17189 PyObject * obj0 = 0 ;
17190 PyObject * obj1 = 0 ;
17191 char *kwnames[] = {
17192 (char *) "self",(char *) "tz", NULL
17193 };
17194
17195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
17196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17197 if (obj1) {
17198 {
17199 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 17200 temp2 = True;
d14a1e28
RD
17201 }
17202 }
17203 {
17204 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 17205 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17206
17207 wxPyEndAllowThreads(__tstate);
17208 if (PyErr_Occurred()) SWIG_fail;
17209 }
17210 resultobj = PyInt_FromLong((long)result);
17211 {
44127b65 17212 if (temp2) delete arg2;
d14a1e28
RD
17213 }
17214 return resultobj;
17215 fail:
17216 {
44127b65 17217 if (temp2) delete arg2;
d14a1e28
RD
17218 }
17219 return NULL;
17220}
17221
17222
17223static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17224 PyObject *resultobj;
17225 wxDateTime *arg1 = (wxDateTime *) 0 ;
17226 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17227 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17228 int result;
44127b65 17229 bool temp2 = False ;
d14a1e28
RD
17230 PyObject * obj0 = 0 ;
17231 PyObject * obj1 = 0 ;
17232 char *kwnames[] = {
17233 (char *) "self",(char *) "tz", NULL
17234 };
17235
17236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
17237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17238 if (obj1) {
17239 {
17240 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 17241 temp2 = True;
d14a1e28
RD
17242 }
17243 }
17244 {
17245 PyThreadState* __tstate = wxPyBeginAllowThreads();
17246 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
17247
17248 wxPyEndAllowThreads(__tstate);
17249 if (PyErr_Occurred()) SWIG_fail;
17250 }
17251 resultobj = PyInt_FromLong((long)result);
17252 {
44127b65 17253 if (temp2) delete arg2;
d14a1e28
RD
17254 }
17255 return resultobj;
17256 fail:
17257 {
44127b65 17258 if (temp2) delete arg2;
d14a1e28
RD
17259 }
17260 return NULL;
17261}
17262
17263
17264static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17265 PyObject *resultobj;
17266 wxDateTime *arg1 = (wxDateTime *) 0 ;
17267 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17268 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
17269 int result;
17270 bool temp2 = False ;
d14a1e28
RD
17271 PyObject * obj0 = 0 ;
17272 PyObject * obj1 = 0 ;
17273 char *kwnames[] = {
17274 (char *) "self",(char *) "tz", NULL
17275 };
17276
17277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
17278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17279 if (obj1) {
17280 {
17281 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 17282 temp2 = True;
d14a1e28
RD
17283 }
17284 }
17285 {
17286 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 17287 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17288
17289 wxPyEndAllowThreads(__tstate);
17290 if (PyErr_Occurred()) SWIG_fail;
17291 }
17292 resultobj = PyInt_FromLong((long)result);
17293 {
44127b65 17294 if (temp2) delete arg2;
d14a1e28
RD
17295 }
17296 return resultobj;
17297 fail:
17298 {
44127b65 17299 if (temp2) delete arg2;
d14a1e28
RD
17300 }
17301 return NULL;
17302}
17303
17304
17305static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17306 PyObject *resultobj;
17307 wxDateTime *arg1 = (wxDateTime *) 0 ;
17308 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17309 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
17310 int result;
17311 bool temp2 = False ;
d14a1e28
RD
17312 PyObject * obj0 = 0 ;
17313 PyObject * obj1 = 0 ;
17314 char *kwnames[] = {
17315 (char *) "self",(char *) "tz", NULL
17316 };
17317
17318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
17319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17320 if (obj1) {
17321 {
17322 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 17323 temp2 = True;
d14a1e28
RD
17324 }
17325 }
17326 {
17327 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 17328 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17329
17330 wxPyEndAllowThreads(__tstate);
17331 if (PyErr_Occurred()) SWIG_fail;
17332 }
17333 resultobj = PyInt_FromLong((long)result);
17334 {
44127b65 17335 if (temp2) delete arg2;
d14a1e28
RD
17336 }
17337 return resultobj;
17338 fail:
17339 {
44127b65 17340 if (temp2) delete arg2;
d14a1e28
RD
17341 }
17342 return NULL;
17343}
17344
17345
17346static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17347 PyObject *resultobj;
17348 wxDateTime *arg1 = (wxDateTime *) 0 ;
17349 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17350 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
17351 int result;
17352 bool temp2 = False ;
d14a1e28
RD
17353 PyObject * obj0 = 0 ;
17354 PyObject * obj1 = 0 ;
17355 char *kwnames[] = {
17356 (char *) "self",(char *) "tz", NULL
17357 };
17358
17359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
17360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17361 if (obj1) {
17362 {
17363 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 17364 temp2 = True;
d14a1e28
RD
17365 }
17366 }
17367 {
17368 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 17369 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17370
17371 wxPyEndAllowThreads(__tstate);
17372 if (PyErr_Occurred()) SWIG_fail;
17373 }
17374 resultobj = PyInt_FromLong((long)result);
17375 {
44127b65 17376 if (temp2) delete arg2;
d14a1e28
RD
17377 }
17378 return resultobj;
17379 fail:
17380 {
44127b65 17381 if (temp2) delete arg2;
d14a1e28
RD
17382 }
17383 return NULL;
17384}
17385
17386
17387static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17388 PyObject *resultobj;
17389 wxDateTime *arg1 = (wxDateTime *) 0 ;
17390 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17391 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
17392 int result;
17393 bool temp2 = False ;
d14a1e28
RD
17394 PyObject * obj0 = 0 ;
17395 PyObject * obj1 = 0 ;
17396 char *kwnames[] = {
17397 (char *) "self",(char *) "tz", NULL
17398 };
17399
17400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
17401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17402 if (obj1) {
17403 {
17404 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 17405 temp2 = True;
d14a1e28
RD
17406 }
17407 }
17408 {
17409 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 17410 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17411
17412 wxPyEndAllowThreads(__tstate);
17413 if (PyErr_Occurred()) SWIG_fail;
17414 }
17415 resultobj = PyInt_FromLong((long)result);
17416 {
44127b65 17417 if (temp2) delete arg2;
d14a1e28
RD
17418 }
17419 return resultobj;
17420 fail:
17421 {
44127b65 17422 if (temp2) delete arg2;
d14a1e28
RD
17423 }
17424 return NULL;
17425}
17426
17427
17428static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17429 PyObject *resultobj;
17430 wxDateTime *arg1 = (wxDateTime *) 0 ;
17431 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17432 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
17433 int result;
17434 bool temp2 = False ;
d14a1e28
RD
17435 PyObject * obj0 = 0 ;
17436 PyObject * obj1 = 0 ;
17437 char *kwnames[] = {
17438 (char *) "self",(char *) "tz", NULL
17439 };
17440
17441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
17442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17443 if (obj1) {
17444 {
17445 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 17446 temp2 = True;
d14a1e28
RD
17447 }
17448 }
17449 {
17450 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 17451 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17452
17453 wxPyEndAllowThreads(__tstate);
17454 if (PyErr_Occurred()) SWIG_fail;
17455 }
17456 resultobj = PyInt_FromLong((long)result);
17457 {
44127b65 17458 if (temp2) delete arg2;
d14a1e28
RD
17459 }
17460 return resultobj;
17461 fail:
17462 {
44127b65 17463 if (temp2) delete arg2;
d14a1e28
RD
17464 }
17465 return NULL;
17466}
17467
17468
17469static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17470 PyObject *resultobj;
17471 wxDateTime *arg1 = (wxDateTime *) 0 ;
17472 int arg2 = (int) wxDateTime::Monday_First ;
17473 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17474 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
44127b65
RD
17475 int result;
17476 bool temp3 = False ;
d14a1e28
RD
17477 PyObject * obj0 = 0 ;
17478 PyObject * obj2 = 0 ;
17479 char *kwnames[] = {
17480 (char *) "self",(char *) "flags",(char *) "tz", NULL
17481 };
17482
17483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames,&obj0,&arg2,&obj2)) goto fail;
17484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17485 if (obj2) {
17486 {
17487 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
44127b65 17488 temp3 = True;
d14a1e28
RD
17489 }
17490 }
17491 {
17492 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 17493 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
17494
17495 wxPyEndAllowThreads(__tstate);
17496 if (PyErr_Occurred()) SWIG_fail;
17497 }
17498 resultobj = PyInt_FromLong((long)result);
17499 {
44127b65 17500 if (temp3) delete arg3;
d14a1e28
RD
17501 }
17502 return resultobj;
17503 fail:
17504 {
44127b65 17505 if (temp3) delete arg3;
d14a1e28
RD
17506 }
17507 return NULL;
17508}
17509
17510
17511static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17512 PyObject *resultobj;
17513 wxDateTime *arg1 = (wxDateTime *) 0 ;
17514 int arg2 = (int) wxDateTime::Monday_First ;
17515 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17516 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
44127b65
RD
17517 int result;
17518 bool temp3 = False ;
d14a1e28
RD
17519 PyObject * obj0 = 0 ;
17520 PyObject * obj2 = 0 ;
17521 char *kwnames[] = {
17522 (char *) "self",(char *) "flags",(char *) "tz", NULL
17523 };
17524
17525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames,&obj0,&arg2,&obj2)) goto fail;
17526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17527 if (obj2) {
17528 {
17529 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
44127b65 17530 temp3 = True;
d14a1e28
RD
17531 }
17532 }
17533 {
17534 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 17535 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
17536
17537 wxPyEndAllowThreads(__tstate);
17538 if (PyErr_Occurred()) SWIG_fail;
17539 }
17540 resultobj = PyInt_FromLong((long)result);
17541 {
44127b65 17542 if (temp3) delete arg3;
d14a1e28
RD
17543 }
17544 return resultobj;
17545 fail:
17546 {
44127b65 17547 if (temp3) delete arg3;
d14a1e28
RD
17548 }
17549 return NULL;
17550}
17551
17552
17553static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17554 PyObject *resultobj;
17555 wxDateTime *arg1 = (wxDateTime *) 0 ;
17556 int arg2 = (int) wxDateTime::Country_Default ;
17557 bool result;
17558 PyObject * obj0 = 0 ;
17559 char *kwnames[] = {
17560 (char *) "self",(char *) "country", NULL
17561 };
17562
17563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsWorkDay",kwnames,&obj0,&arg2)) goto fail;
17564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17565 {
17566 PyThreadState* __tstate = wxPyBeginAllowThreads();
17567 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
17568
17569 wxPyEndAllowThreads(__tstate);
17570 if (PyErr_Occurred()) SWIG_fail;
17571 }
17572 resultobj = PyInt_FromLong((long)result);
17573 return resultobj;
17574 fail:
17575 return NULL;
17576}
17577
17578
17579static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17580 PyObject *resultobj;
17581 wxDateTime *arg1 = (wxDateTime *) 0 ;
17582 wxDateTime *arg2 = 0 ;
17583 bool result;
17584 PyObject * obj0 = 0 ;
17585 PyObject * obj1 = 0 ;
17586 char *kwnames[] = {
17587 (char *) "self",(char *) "datetime", NULL
17588 };
17589
17590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
17591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17592 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17593 if (arg2 == NULL) {
17594 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17595 }
17596 {
17597 PyThreadState* __tstate = wxPyBeginAllowThreads();
17598 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
17599
17600 wxPyEndAllowThreads(__tstate);
17601 if (PyErr_Occurred()) SWIG_fail;
17602 }
17603 resultobj = PyInt_FromLong((long)result);
17604 return resultobj;
17605 fail:
17606 return NULL;
17607}
17608
17609
17610static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17611 PyObject *resultobj;
17612 wxDateTime *arg1 = (wxDateTime *) 0 ;
17613 wxDateTime *arg2 = 0 ;
17614 bool result;
17615 PyObject * obj0 = 0 ;
17616 PyObject * obj1 = 0 ;
17617 char *kwnames[] = {
17618 (char *) "self",(char *) "datetime", NULL
17619 };
17620
17621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
17622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17623 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17624 if (arg2 == NULL) {
17625 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17626 }
17627 {
17628 PyThreadState* __tstate = wxPyBeginAllowThreads();
17629 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
17630
17631 wxPyEndAllowThreads(__tstate);
17632 if (PyErr_Occurred()) SWIG_fail;
17633 }
17634 resultobj = PyInt_FromLong((long)result);
17635 return resultobj;
17636 fail:
17637 return NULL;
17638}
17639
17640
17641static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17642 PyObject *resultobj;
17643 wxDateTime *arg1 = (wxDateTime *) 0 ;
17644 wxDateTime *arg2 = 0 ;
17645 bool result;
17646 PyObject * obj0 = 0 ;
17647 PyObject * obj1 = 0 ;
17648 char *kwnames[] = {
17649 (char *) "self",(char *) "datetime", NULL
17650 };
17651
17652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
17653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17654 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17655 if (arg2 == NULL) {
17656 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17657 }
17658 {
17659 PyThreadState* __tstate = wxPyBeginAllowThreads();
17660 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
17661
17662 wxPyEndAllowThreads(__tstate);
17663 if (PyErr_Occurred()) SWIG_fail;
17664 }
17665 resultobj = PyInt_FromLong((long)result);
17666 return resultobj;
17667 fail:
17668 return NULL;
17669}
17670
17671
17672static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17673 PyObject *resultobj;
17674 wxDateTime *arg1 = (wxDateTime *) 0 ;
17675 wxDateTime *arg2 = 0 ;
17676 wxDateTime *arg3 = 0 ;
17677 bool result;
17678 PyObject * obj0 = 0 ;
17679 PyObject * obj1 = 0 ;
17680 PyObject * obj2 = 0 ;
17681 char *kwnames[] = {
17682 (char *) "self",(char *) "t1",(char *) "t2", NULL
17683 };
17684
17685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17687 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17688 if (arg2 == NULL) {
17689 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17690 }
17691 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17692 if (arg3 == NULL) {
17693 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17694 }
17695 {
17696 PyThreadState* __tstate = wxPyBeginAllowThreads();
17697 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17698
17699 wxPyEndAllowThreads(__tstate);
17700 if (PyErr_Occurred()) SWIG_fail;
17701 }
17702 resultobj = PyInt_FromLong((long)result);
17703 return resultobj;
17704 fail:
17705 return NULL;
17706}
17707
17708
17709static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17710 PyObject *resultobj;
17711 wxDateTime *arg1 = (wxDateTime *) 0 ;
17712 wxDateTime *arg2 = 0 ;
17713 wxDateTime *arg3 = 0 ;
17714 bool result;
17715 PyObject * obj0 = 0 ;
17716 PyObject * obj1 = 0 ;
17717 PyObject * obj2 = 0 ;
17718 char *kwnames[] = {
17719 (char *) "self",(char *) "t1",(char *) "t2", NULL
17720 };
17721
17722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17724 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17725 if (arg2 == NULL) {
17726 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17727 }
17728 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17729 if (arg3 == NULL) {
17730 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17731 }
17732 {
17733 PyThreadState* __tstate = wxPyBeginAllowThreads();
17734 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17735
17736 wxPyEndAllowThreads(__tstate);
17737 if (PyErr_Occurred()) SWIG_fail;
17738 }
17739 resultobj = PyInt_FromLong((long)result);
17740 return resultobj;
17741 fail:
17742 return NULL;
17743}
17744
17745
17746static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
17747 PyObject *resultobj;
17748 wxDateTime *arg1 = (wxDateTime *) 0 ;
17749 wxDateTime *arg2 = 0 ;
17750 bool result;
17751 PyObject * obj0 = 0 ;
17752 PyObject * obj1 = 0 ;
17753 char *kwnames[] = {
17754 (char *) "self",(char *) "dt", NULL
17755 };
17756
17757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
17758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17759 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17760 if (arg2 == NULL) {
17761 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17762 }
17763 {
17764 PyThreadState* __tstate = wxPyBeginAllowThreads();
17765 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
17766
17767 wxPyEndAllowThreads(__tstate);
17768 if (PyErr_Occurred()) SWIG_fail;
17769 }
17770 resultobj = PyInt_FromLong((long)result);
17771 return resultobj;
17772 fail:
17773 return NULL;
17774}
17775
17776
17777static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17778 PyObject *resultobj;
17779 wxDateTime *arg1 = (wxDateTime *) 0 ;
17780 wxDateTime *arg2 = 0 ;
17781 bool result;
17782 PyObject * obj0 = 0 ;
17783 PyObject * obj1 = 0 ;
17784 char *kwnames[] = {
17785 (char *) "self",(char *) "dt", NULL
17786 };
17787
17788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
17789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17790 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17791 if (arg2 == NULL) {
17792 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17793 }
17794 {
17795 PyThreadState* __tstate = wxPyBeginAllowThreads();
17796 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
17797
17798 wxPyEndAllowThreads(__tstate);
17799 if (PyErr_Occurred()) SWIG_fail;
17800 }
17801 resultobj = PyInt_FromLong((long)result);
17802 return resultobj;
17803 fail:
17804 return NULL;
17805}
17806
17807
17808static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17809 PyObject *resultobj;
17810 wxDateTime *arg1 = (wxDateTime *) 0 ;
17811 wxDateTime *arg2 = 0 ;
17812 wxTimeSpan *arg3 = 0 ;
17813 bool result;
17814 PyObject * obj0 = 0 ;
17815 PyObject * obj1 = 0 ;
17816 PyObject * obj2 = 0 ;
17817 char *kwnames[] = {
17818 (char *) "self",(char *) "dt",(char *) "ts", NULL
17819 };
17820
17821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17823 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17824 if (arg2 == NULL) {
17825 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17826 }
17827 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17828 if (arg3 == NULL) {
17829 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17830 }
17831 {
17832 PyThreadState* __tstate = wxPyBeginAllowThreads();
17833 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
17834
17835 wxPyEndAllowThreads(__tstate);
17836 if (PyErr_Occurred()) SWIG_fail;
17837 }
17838 resultobj = PyInt_FromLong((long)result);
17839 return resultobj;
17840 fail:
17841 return NULL;
17842}
17843
17844
17845static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17846 PyObject *resultobj;
17847 wxDateTime *arg1 = (wxDateTime *) 0 ;
17848 wxTimeSpan *arg2 = 0 ;
17849 wxDateTime *result;
17850 PyObject * obj0 = 0 ;
17851 PyObject * obj1 = 0 ;
17852 char *kwnames[] = {
17853 (char *) "self",(char *) "diff", NULL
17854 };
17855
17856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
17857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17858 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17859 if (arg2 == NULL) {
17860 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17861 }
17862 {
17863 PyThreadState* __tstate = wxPyBeginAllowThreads();
17864 {
17865 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
17866 result = (wxDateTime *) &_result_ref;
17867 }
17868
17869 wxPyEndAllowThreads(__tstate);
17870 if (PyErr_Occurred()) SWIG_fail;
17871 }
17872 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17873 return resultobj;
17874 fail:
17875 return NULL;
17876}
17877
17878
17879static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17880 PyObject *resultobj;
17881 wxDateTime *arg1 = (wxDateTime *) 0 ;
17882 wxDateSpan *arg2 = 0 ;
17883 wxDateTime *result;
17884 PyObject * obj0 = 0 ;
17885 PyObject * obj1 = 0 ;
17886 char *kwnames[] = {
17887 (char *) "self",(char *) "diff", NULL
17888 };
17889
17890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
17891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17892 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17893 if (arg2 == NULL) {
17894 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17895 }
17896 {
17897 PyThreadState* __tstate = wxPyBeginAllowThreads();
17898 {
17899 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
17900 result = (wxDateTime *) &_result_ref;
17901 }
17902
17903 wxPyEndAllowThreads(__tstate);
17904 if (PyErr_Occurred()) SWIG_fail;
17905 }
17906 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17907 return resultobj;
17908 fail:
17909 return NULL;
17910}
17911
17912
17913static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17914 PyObject *resultobj;
17915 wxDateTime *arg1 = (wxDateTime *) 0 ;
17916 wxTimeSpan *arg2 = 0 ;
17917 wxDateTime *result;
17918 PyObject * obj0 = 0 ;
17919 PyObject * obj1 = 0 ;
17920 char *kwnames[] = {
17921 (char *) "self",(char *) "diff", NULL
17922 };
17923
17924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
17925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17926 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17927 if (arg2 == NULL) {
17928 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17929 }
17930 {
17931 PyThreadState* __tstate = wxPyBeginAllowThreads();
17932 {
17933 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
17934 result = (wxDateTime *) &_result_ref;
17935 }
17936
17937 wxPyEndAllowThreads(__tstate);
17938 if (PyErr_Occurred()) SWIG_fail;
17939 }
17940 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17941 return resultobj;
17942 fail:
17943 return NULL;
17944}
17945
17946
17947static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17948 PyObject *resultobj;
17949 wxDateTime *arg1 = (wxDateTime *) 0 ;
17950 wxDateSpan *arg2 = 0 ;
17951 wxDateTime *result;
17952 PyObject * obj0 = 0 ;
17953 PyObject * obj1 = 0 ;
17954 char *kwnames[] = {
17955 (char *) "self",(char *) "diff", NULL
17956 };
17957
17958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
17959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17960 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17961 if (arg2 == NULL) {
17962 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17963 }
17964 {
17965 PyThreadState* __tstate = wxPyBeginAllowThreads();
17966 {
17967 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
17968 result = (wxDateTime *) &_result_ref;
17969 }
17970
17971 wxPyEndAllowThreads(__tstate);
17972 if (PyErr_Occurred()) SWIG_fail;
17973 }
17974 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17975 return resultobj;
17976 fail:
17977 return NULL;
17978}
17979
17980
17981static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
17982 PyObject *resultobj;
17983 wxDateTime *arg1 = (wxDateTime *) 0 ;
17984 wxDateTime *arg2 = 0 ;
17985 wxTimeSpan result;
17986 PyObject * obj0 = 0 ;
17987 PyObject * obj1 = 0 ;
17988 char *kwnames[] = {
17989 (char *) "self",(char *) "dt", NULL
17990 };
17991
17992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
17993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17994 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17995 if (arg2 == NULL) {
17996 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17997 }
17998 {
17999 PyThreadState* __tstate = wxPyBeginAllowThreads();
18000 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
18001
18002 wxPyEndAllowThreads(__tstate);
18003 if (PyErr_Occurred()) SWIG_fail;
18004 }
18005 {
18006 wxTimeSpan * resultptr;
18007 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18008 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18009 }
18010 return resultobj;
18011 fail:
18012 return NULL;
18013}
18014
18015
18016static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
18017 PyObject *resultobj;
18018 wxDateTime *arg1 = (wxDateTime *) 0 ;
18019 wxTimeSpan *arg2 = 0 ;
18020 wxDateTime *result;
18021 PyObject * obj0 = 0 ;
18022 PyObject * obj1 = 0 ;
18023
18024 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
18025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18026 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18027 if (arg2 == NULL) {
18028 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18029 }
18030 {
18031 PyThreadState* __tstate = wxPyBeginAllowThreads();
18032 {
18033 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
18034 result = (wxDateTime *) &_result_ref;
18035 }
18036
18037 wxPyEndAllowThreads(__tstate);
18038 if (PyErr_Occurred()) SWIG_fail;
18039 }
18040 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18041 return resultobj;
18042 fail:
18043 return NULL;
18044}
18045
18046
18047static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
18048 PyObject *resultobj;
18049 wxDateTime *arg1 = (wxDateTime *) 0 ;
18050 wxDateSpan *arg2 = 0 ;
18051 wxDateTime *result;
18052 PyObject * obj0 = 0 ;
18053 PyObject * obj1 = 0 ;
18054
18055 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
18056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18057 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18058 if (arg2 == NULL) {
18059 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18060 }
18061 {
18062 PyThreadState* __tstate = wxPyBeginAllowThreads();
18063 {
18064 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
18065 result = (wxDateTime *) &_result_ref;
18066 }
18067
18068 wxPyEndAllowThreads(__tstate);
18069 if (PyErr_Occurred()) SWIG_fail;
18070 }
18071 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18072 return resultobj;
18073 fail:
18074 return NULL;
18075}
18076
18077
18078static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
18079 int argc;
18080 PyObject *argv[3];
18081 int ii;
18082
18083 argc = PyObject_Length(args);
18084 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18085 argv[ii] = PyTuple_GetItem(args,ii);
18086 }
18087 if (argc == 2) {
18088 int _v;
18089 {
18090 void *ptr;
18091 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18092 _v = 0;
18093 PyErr_Clear();
18094 } else {
18095 _v = 1;
18096 }
18097 }
18098 if (_v) {
18099 {
18100 void *ptr;
18101 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18102 _v = 0;
18103 PyErr_Clear();
18104 } else {
18105 _v = 1;
18106 }
18107 }
18108 if (_v) {
18109 return _wrap_DateTime___iadd____SWIG_0(self,args);
18110 }
18111 }
18112 }
18113 if (argc == 2) {
18114 int _v;
18115 {
18116 void *ptr;
18117 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18118 _v = 0;
18119 PyErr_Clear();
18120 } else {
18121 _v = 1;
18122 }
18123 }
18124 if (_v) {
18125 {
18126 void *ptr;
18127 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18128 _v = 0;
18129 PyErr_Clear();
18130 } else {
18131 _v = 1;
18132 }
18133 }
18134 if (_v) {
18135 return _wrap_DateTime___iadd____SWIG_1(self,args);
18136 }
18137 }
18138 }
18139
18140 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
18141 return NULL;
18142}
18143
18144
18145static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
18146 PyObject *resultobj;
18147 wxDateTime *arg1 = (wxDateTime *) 0 ;
18148 wxTimeSpan *arg2 = 0 ;
18149 wxDateTime *result;
18150 PyObject * obj0 = 0 ;
18151 PyObject * obj1 = 0 ;
18152
18153 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
18154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18155 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18156 if (arg2 == NULL) {
18157 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18158 }
18159 {
18160 PyThreadState* __tstate = wxPyBeginAllowThreads();
18161 {
18162 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
18163 result = (wxDateTime *) &_result_ref;
18164 }
18165
18166 wxPyEndAllowThreads(__tstate);
18167 if (PyErr_Occurred()) SWIG_fail;
18168 }
18169 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18170 return resultobj;
18171 fail:
18172 return NULL;
18173}
18174
18175
18176static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
18177 PyObject *resultobj;
18178 wxDateTime *arg1 = (wxDateTime *) 0 ;
18179 wxDateSpan *arg2 = 0 ;
18180 wxDateTime *result;
18181 PyObject * obj0 = 0 ;
18182 PyObject * obj1 = 0 ;
18183
18184 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
18185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18186 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18187 if (arg2 == NULL) {
18188 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18189 }
18190 {
18191 PyThreadState* __tstate = wxPyBeginAllowThreads();
18192 {
18193 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
18194 result = (wxDateTime *) &_result_ref;
18195 }
18196
18197 wxPyEndAllowThreads(__tstate);
18198 if (PyErr_Occurred()) SWIG_fail;
18199 }
18200 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18201 return resultobj;
18202 fail:
18203 return NULL;
18204}
18205
18206
18207static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
18208 int argc;
18209 PyObject *argv[3];
18210 int ii;
18211
18212 argc = PyObject_Length(args);
18213 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18214 argv[ii] = PyTuple_GetItem(args,ii);
18215 }
18216 if (argc == 2) {
18217 int _v;
18218 {
18219 void *ptr;
18220 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18221 _v = 0;
18222 PyErr_Clear();
18223 } else {
18224 _v = 1;
18225 }
18226 }
18227 if (_v) {
18228 {
18229 void *ptr;
18230 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18231 _v = 0;
18232 PyErr_Clear();
18233 } else {
18234 _v = 1;
18235 }
18236 }
18237 if (_v) {
18238 return _wrap_DateTime___isub____SWIG_0(self,args);
18239 }
18240 }
18241 }
18242 if (argc == 2) {
18243 int _v;
18244 {
18245 void *ptr;
18246 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18247 _v = 0;
18248 PyErr_Clear();
18249 } else {
18250 _v = 1;
18251 }
18252 }
18253 if (_v) {
18254 {
18255 void *ptr;
18256 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18257 _v = 0;
18258 PyErr_Clear();
18259 } else {
18260 _v = 1;
18261 }
18262 }
18263 if (_v) {
18264 return _wrap_DateTime___isub____SWIG_1(self,args);
18265 }
18266 }
18267 }
18268
18269 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
18270 return NULL;
18271}
18272
18273
18274static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
18275 PyObject *resultobj;
18276 wxDateTime *arg1 = (wxDateTime *) 0 ;
18277 wxTimeSpan *arg2 = 0 ;
18278 wxDateTime result;
18279 PyObject * obj0 = 0 ;
18280 PyObject * obj1 = 0 ;
18281
18282 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18284 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18285 if (arg2 == NULL) {
18286 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18287 }
18288 {
18289 PyThreadState* __tstate = wxPyBeginAllowThreads();
18290 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
18291
18292 wxPyEndAllowThreads(__tstate);
18293 if (PyErr_Occurred()) SWIG_fail;
18294 }
18295 {
18296 wxDateTime * resultptr;
18297 resultptr = new wxDateTime((wxDateTime &) result);
18298 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18299 }
18300 return resultobj;
18301 fail:
18302 return NULL;
18303}
18304
18305
18306static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
18307 PyObject *resultobj;
18308 wxDateTime *arg1 = (wxDateTime *) 0 ;
18309 wxDateSpan *arg2 = 0 ;
18310 wxDateTime result;
18311 PyObject * obj0 = 0 ;
18312 PyObject * obj1 = 0 ;
18313
18314 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18316 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18317 if (arg2 == NULL) {
18318 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18319 }
18320 {
18321 PyThreadState* __tstate = wxPyBeginAllowThreads();
18322 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
18323
18324 wxPyEndAllowThreads(__tstate);
18325 if (PyErr_Occurred()) SWIG_fail;
18326 }
18327 {
18328 wxDateTime * resultptr;
18329 resultptr = new wxDateTime((wxDateTime &) result);
18330 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18331 }
18332 return resultobj;
18333 fail:
18334 return NULL;
18335}
18336
18337
18338static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
18339 int argc;
18340 PyObject *argv[3];
18341 int ii;
18342
18343 argc = PyObject_Length(args);
18344 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18345 argv[ii] = PyTuple_GetItem(args,ii);
18346 }
18347 if (argc == 2) {
18348 int _v;
18349 {
18350 void *ptr;
18351 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18352 _v = 0;
18353 PyErr_Clear();
18354 } else {
18355 _v = 1;
18356 }
18357 }
18358 if (_v) {
18359 {
18360 void *ptr;
18361 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18362 _v = 0;
18363 PyErr_Clear();
18364 } else {
18365 _v = 1;
18366 }
18367 }
18368 if (_v) {
18369 return _wrap_DateTime___add____SWIG_0(self,args);
18370 }
18371 }
18372 }
18373 if (argc == 2) {
18374 int _v;
18375 {
18376 void *ptr;
18377 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18378 _v = 0;
18379 PyErr_Clear();
18380 } else {
18381 _v = 1;
18382 }
18383 }
18384 if (_v) {
18385 {
18386 void *ptr;
18387 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18388 _v = 0;
18389 PyErr_Clear();
18390 } else {
18391 _v = 1;
18392 }
18393 }
18394 if (_v) {
18395 return _wrap_DateTime___add____SWIG_1(self,args);
18396 }
18397 }
18398 }
18399
18400 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
18401 return NULL;
18402}
18403
18404
18405static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
18406 PyObject *resultobj;
18407 wxDateTime *arg1 = (wxDateTime *) 0 ;
18408 wxDateTime *arg2 = 0 ;
18409 wxTimeSpan result;
18410 PyObject * obj0 = 0 ;
18411 PyObject * obj1 = 0 ;
18412
18413 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18415 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18416 if (arg2 == NULL) {
18417 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18418 }
18419 {
18420 PyThreadState* __tstate = wxPyBeginAllowThreads();
18421 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
18422
18423 wxPyEndAllowThreads(__tstate);
18424 if (PyErr_Occurred()) SWIG_fail;
18425 }
18426 {
18427 wxTimeSpan * resultptr;
18428 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18429 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18430 }
18431 return resultobj;
18432 fail:
18433 return NULL;
18434}
18435
18436
18437static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
18438 PyObject *resultobj;
18439 wxDateTime *arg1 = (wxDateTime *) 0 ;
18440 wxTimeSpan *arg2 = 0 ;
18441 wxDateTime result;
18442 PyObject * obj0 = 0 ;
18443 PyObject * obj1 = 0 ;
18444
18445 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18447 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18448 if (arg2 == NULL) {
18449 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18450 }
18451 {
18452 PyThreadState* __tstate = wxPyBeginAllowThreads();
18453 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
18454
18455 wxPyEndAllowThreads(__tstate);
18456 if (PyErr_Occurred()) SWIG_fail;
18457 }
18458 {
18459 wxDateTime * resultptr;
18460 resultptr = new wxDateTime((wxDateTime &) result);
18461 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18462 }
18463 return resultobj;
18464 fail:
18465 return NULL;
18466}
18467
18468
18469static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
18470 PyObject *resultobj;
18471 wxDateTime *arg1 = (wxDateTime *) 0 ;
18472 wxDateSpan *arg2 = 0 ;
18473 wxDateTime result;
18474 PyObject * obj0 = 0 ;
18475 PyObject * obj1 = 0 ;
18476
18477 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18479 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18480 if (arg2 == NULL) {
18481 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18482 }
18483 {
18484 PyThreadState* __tstate = wxPyBeginAllowThreads();
18485 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
18486
18487 wxPyEndAllowThreads(__tstate);
18488 if (PyErr_Occurred()) SWIG_fail;
18489 }
18490 {
18491 wxDateTime * resultptr;
18492 resultptr = new wxDateTime((wxDateTime &) result);
18493 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18494 }
18495 return resultobj;
18496 fail:
18497 return NULL;
18498}
18499
18500
18501static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
18502 int argc;
18503 PyObject *argv[3];
18504 int ii;
18505
18506 argc = PyObject_Length(args);
18507 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18508 argv[ii] = PyTuple_GetItem(args,ii);
18509 }
18510 if (argc == 2) {
18511 int _v;
18512 {
18513 void *ptr;
18514 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18515 _v = 0;
18516 PyErr_Clear();
18517 } else {
18518 _v = 1;
18519 }
18520 }
18521 if (_v) {
18522 {
18523 void *ptr;
18524 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18525 _v = 0;
18526 PyErr_Clear();
18527 } else {
18528 _v = 1;
18529 }
18530 }
18531 if (_v) {
18532 return _wrap_DateTime___sub____SWIG_0(self,args);
18533 }
18534 }
18535 }
18536 if (argc == 2) {
18537 int _v;
18538 {
18539 void *ptr;
18540 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18541 _v = 0;
18542 PyErr_Clear();
18543 } else {
18544 _v = 1;
18545 }
18546 }
18547 if (_v) {
18548 {
18549 void *ptr;
18550 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18551 _v = 0;
18552 PyErr_Clear();
18553 } else {
18554 _v = 1;
18555 }
18556 }
18557 if (_v) {
18558 return _wrap_DateTime___sub____SWIG_1(self,args);
18559 }
18560 }
18561 }
18562 if (argc == 2) {
18563 int _v;
18564 {
18565 void *ptr;
18566 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18567 _v = 0;
18568 PyErr_Clear();
18569 } else {
18570 _v = 1;
18571 }
18572 }
18573 if (_v) {
18574 {
18575 void *ptr;
18576 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18577 _v = 0;
18578 PyErr_Clear();
18579 } else {
18580 _v = 1;
18581 }
18582 }
18583 if (_v) {
18584 return _wrap_DateTime___sub____SWIG_2(self,args);
18585 }
18586 }
18587 }
18588
18589 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
18590 return NULL;
18591}
18592
18593
18594static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
18595 PyObject *resultobj;
18596 wxDateTime *arg1 = (wxDateTime *) 0 ;
18597 wxDateTime *arg2 = 0 ;
18598 bool result;
18599 PyObject * obj0 = 0 ;
18600 PyObject * obj1 = 0 ;
18601
18602 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
18603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18604 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18605 if (arg2 == NULL) {
18606 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18607 }
18608 {
18609 PyThreadState* __tstate = wxPyBeginAllowThreads();
18610 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const &)*arg2);
18611
18612 wxPyEndAllowThreads(__tstate);
18613 if (PyErr_Occurred()) SWIG_fail;
18614 }
18615 resultobj = PyInt_FromLong((long)result);
18616 return resultobj;
18617 fail:
18618 return NULL;
18619}
18620
18621
18622static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
18623 PyObject *resultobj;
18624 wxDateTime *arg1 = (wxDateTime *) 0 ;
18625 wxDateTime *arg2 = 0 ;
18626 bool result;
18627 PyObject * obj0 = 0 ;
18628 PyObject * obj1 = 0 ;
18629
18630 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
18631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18632 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18633 if (arg2 == NULL) {
18634 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18635 }
18636 {
18637 PyThreadState* __tstate = wxPyBeginAllowThreads();
18638 result = (bool)wxDateTime___le__(arg1,(wxDateTime const &)*arg2);
18639
18640 wxPyEndAllowThreads(__tstate);
18641 if (PyErr_Occurred()) SWIG_fail;
18642 }
18643 resultobj = PyInt_FromLong((long)result);
18644 return resultobj;
18645 fail:
18646 return NULL;
18647}
18648
18649
18650static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
18651 PyObject *resultobj;
18652 wxDateTime *arg1 = (wxDateTime *) 0 ;
18653 wxDateTime *arg2 = 0 ;
18654 bool result;
18655 PyObject * obj0 = 0 ;
18656 PyObject * obj1 = 0 ;
18657
18658 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
18659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18660 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18661 if (arg2 == NULL) {
18662 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18663 }
18664 {
18665 PyThreadState* __tstate = wxPyBeginAllowThreads();
18666 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const &)*arg2);
18667
18668 wxPyEndAllowThreads(__tstate);
18669 if (PyErr_Occurred()) SWIG_fail;
18670 }
18671 resultobj = PyInt_FromLong((long)result);
18672 return resultobj;
18673 fail:
18674 return NULL;
18675}
18676
18677
18678static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
18679 PyObject *resultobj;
18680 wxDateTime *arg1 = (wxDateTime *) 0 ;
18681 wxDateTime *arg2 = 0 ;
18682 bool result;
18683 PyObject * obj0 = 0 ;
18684 PyObject * obj1 = 0 ;
18685
18686 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
18687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18688 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18689 if (arg2 == NULL) {
18690 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18691 }
18692 {
18693 PyThreadState* __tstate = wxPyBeginAllowThreads();
18694 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const &)*arg2);
18695
18696 wxPyEndAllowThreads(__tstate);
18697 if (PyErr_Occurred()) SWIG_fail;
18698 }
18699 resultobj = PyInt_FromLong((long)result);
18700 return resultobj;
18701 fail:
18702 return NULL;
18703}
18704
18705
18706static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
18707 PyObject *resultobj;
18708 wxDateTime *arg1 = (wxDateTime *) 0 ;
18709 wxDateTime *arg2 = 0 ;
18710 bool result;
18711 PyObject * obj0 = 0 ;
18712 PyObject * obj1 = 0 ;
18713
18714 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
18715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18716 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18717 if (arg2 == NULL) {
18718 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18719 }
18720 {
18721 PyThreadState* __tstate = wxPyBeginAllowThreads();
18722 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const &)*arg2);
18723
18724 wxPyEndAllowThreads(__tstate);
18725 if (PyErr_Occurred()) SWIG_fail;
18726 }
18727 resultobj = PyInt_FromLong((long)result);
18728 return resultobj;
18729 fail:
18730 return NULL;
18731}
18732
18733
18734static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
18735 PyObject *resultobj;
18736 wxDateTime *arg1 = (wxDateTime *) 0 ;
18737 wxDateTime *arg2 = 0 ;
18738 bool result;
18739 PyObject * obj0 = 0 ;
18740 PyObject * obj1 = 0 ;
18741
18742 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
18743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18744 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18745 if (arg2 == NULL) {
18746 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18747 }
18748 {
18749 PyThreadState* __tstate = wxPyBeginAllowThreads();
18750 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const &)*arg2);
18751
18752 wxPyEndAllowThreads(__tstate);
18753 if (PyErr_Occurred()) SWIG_fail;
18754 }
18755 resultobj = PyInt_FromLong((long)result);
18756 return resultobj;
18757 fail:
18758 return NULL;
18759}
18760
18761
18762static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
18763 PyObject *resultobj;
18764 wxDateTime *arg1 = (wxDateTime *) 0 ;
18765 wxString *arg2 = 0 ;
18766 int result;
423f194a 18767 bool temp2 = False ;
d14a1e28
RD
18768 PyObject * obj0 = 0 ;
18769 PyObject * obj1 = 0 ;
18770 char *kwnames[] = {
18771 (char *) "self",(char *) "date", NULL
18772 };
18773
18774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
18775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18776 {
18777 arg2 = wxString_in_helper(obj1);
18778 if (arg2 == NULL) SWIG_fail;
423f194a 18779 temp2 = True;
d14a1e28
RD
18780 }
18781 {
18782 PyThreadState* __tstate = wxPyBeginAllowThreads();
18783 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
18784
18785 wxPyEndAllowThreads(__tstate);
18786 if (PyErr_Occurred()) SWIG_fail;
18787 }
18788 resultobj = PyInt_FromLong((long)result);
18789 {
18790 if (temp2)
18791 delete arg2;
18792 }
18793 return resultobj;
18794 fail:
18795 {
18796 if (temp2)
18797 delete arg2;
18798 }
18799 return NULL;
18800}
18801
18802
18803static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
18804 PyObject *resultobj;
18805 wxDateTime *arg1 = (wxDateTime *) 0 ;
18806 wxString *arg2 = 0 ;
18807 wxString const &arg3_defvalue = wxPyDateFormatStr ;
18808 wxString *arg3 = (wxString *) &arg3_defvalue ;
18809 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
18810 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
18811 int result;
423f194a
RD
18812 bool temp2 = False ;
18813 bool temp3 = False ;
d14a1e28
RD
18814 PyObject * obj0 = 0 ;
18815 PyObject * obj1 = 0 ;
18816 PyObject * obj2 = 0 ;
18817 PyObject * obj3 = 0 ;
18818 char *kwnames[] = {
18819 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
18820 };
18821
18822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18824 {
18825 arg2 = wxString_in_helper(obj1);
18826 if (arg2 == NULL) SWIG_fail;
423f194a 18827 temp2 = True;
d14a1e28
RD
18828 }
18829 if (obj2) {
18830 {
18831 arg3 = wxString_in_helper(obj2);
18832 if (arg3 == NULL) SWIG_fail;
423f194a 18833 temp3 = True;
d14a1e28
RD
18834 }
18835 }
18836 if (obj3) {
18837 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18838 if (arg4 == NULL) {
18839 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18840 }
18841 }
18842 {
18843 PyThreadState* __tstate = wxPyBeginAllowThreads();
18844 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
18845
18846 wxPyEndAllowThreads(__tstate);
18847 if (PyErr_Occurred()) SWIG_fail;
18848 }
18849 resultobj = PyInt_FromLong((long)result);
18850 {
18851 if (temp2)
18852 delete arg2;
18853 }
18854 {
18855 if (temp3)
18856 delete arg3;
18857 }
18858 return resultobj;
18859 fail:
18860 {
18861 if (temp2)
18862 delete arg2;
18863 }
18864 {
18865 if (temp3)
18866 delete arg3;
18867 }
18868 return NULL;
18869}
18870
18871
18872static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18873 PyObject *resultobj;
18874 wxDateTime *arg1 = (wxDateTime *) 0 ;
18875 wxString *arg2 = 0 ;
18876 int result;
423f194a 18877 bool temp2 = False ;
d14a1e28
RD
18878 PyObject * obj0 = 0 ;
18879 PyObject * obj1 = 0 ;
18880 char *kwnames[] = {
18881 (char *) "self",(char *) "datetime", NULL
18882 };
18883
18884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
18885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18886 {
18887 arg2 = wxString_in_helper(obj1);
18888 if (arg2 == NULL) SWIG_fail;
423f194a 18889 temp2 = True;
d14a1e28
RD
18890 }
18891 {
18892 PyThreadState* __tstate = wxPyBeginAllowThreads();
18893 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
18894
18895 wxPyEndAllowThreads(__tstate);
18896 if (PyErr_Occurred()) SWIG_fail;
18897 }
18898 resultobj = PyInt_FromLong((long)result);
18899 {
18900 if (temp2)
18901 delete arg2;
18902 }
18903 return resultobj;
18904 fail:
18905 {
18906 if (temp2)
18907 delete arg2;
18908 }
18909 return NULL;
18910}
18911
18912
18913static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
18914 PyObject *resultobj;
18915 wxDateTime *arg1 = (wxDateTime *) 0 ;
18916 wxString *arg2 = 0 ;
18917 int result;
423f194a 18918 bool temp2 = False ;
d14a1e28
RD
18919 PyObject * obj0 = 0 ;
18920 PyObject * obj1 = 0 ;
18921 char *kwnames[] = {
18922 (char *) "self",(char *) "date", NULL
18923 };
18924
18925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
18926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18927 {
18928 arg2 = wxString_in_helper(obj1);
18929 if (arg2 == NULL) SWIG_fail;
423f194a 18930 temp2 = True;
d14a1e28
RD
18931 }
18932 {
18933 PyThreadState* __tstate = wxPyBeginAllowThreads();
18934 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
18935
18936 wxPyEndAllowThreads(__tstate);
18937 if (PyErr_Occurred()) SWIG_fail;
18938 }
18939 resultobj = PyInt_FromLong((long)result);
18940 {
18941 if (temp2)
18942 delete arg2;
18943 }
18944 return resultobj;
18945 fail:
18946 {
18947 if (temp2)
18948 delete arg2;
18949 }
18950 return NULL;
18951}
18952
18953
18954static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18955 PyObject *resultobj;
18956 wxDateTime *arg1 = (wxDateTime *) 0 ;
18957 wxString *arg2 = 0 ;
18958 int result;
423f194a 18959 bool temp2 = False ;
d14a1e28
RD
18960 PyObject * obj0 = 0 ;
18961 PyObject * obj1 = 0 ;
18962 char *kwnames[] = {
18963 (char *) "self",(char *) "time", NULL
18964 };
18965
18966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
18967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18968 {
18969 arg2 = wxString_in_helper(obj1);
18970 if (arg2 == NULL) SWIG_fail;
423f194a 18971 temp2 = True;
d14a1e28
RD
18972 }
18973 {
18974 PyThreadState* __tstate = wxPyBeginAllowThreads();
18975 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
18976
18977 wxPyEndAllowThreads(__tstate);
18978 if (PyErr_Occurred()) SWIG_fail;
18979 }
18980 resultobj = PyInt_FromLong((long)result);
18981 {
18982 if (temp2)
18983 delete arg2;
18984 }
18985 return resultobj;
18986 fail:
18987 {
18988 if (temp2)
18989 delete arg2;
18990 }
18991 return NULL;
18992}
18993
18994
18995static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
18996 PyObject *resultobj;
18997 wxDateTime *arg1 = (wxDateTime *) 0 ;
18998 wxString const &arg2_defvalue = wxPyDateFormatStr ;
18999 wxString *arg2 = (wxString *) &arg2_defvalue ;
19000 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19001 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19002 wxString result;
423f194a 19003 bool temp2 = False ;
44127b65 19004 bool temp3 = False ;
d14a1e28
RD
19005 PyObject * obj0 = 0 ;
19006 PyObject * obj1 = 0 ;
19007 PyObject * obj2 = 0 ;
19008 char *kwnames[] = {
19009 (char *) "self",(char *) "format",(char *) "tz", NULL
19010 };
19011
19012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
19013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19014 if (obj1) {
19015 {
19016 arg2 = wxString_in_helper(obj1);
19017 if (arg2 == NULL) SWIG_fail;
423f194a 19018 temp2 = True;
d14a1e28
RD
19019 }
19020 }
19021 if (obj2) {
19022 {
19023 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
44127b65 19024 temp3 = True;
d14a1e28
RD
19025 }
19026 }
19027 {
19028 PyThreadState* __tstate = wxPyBeginAllowThreads();
19029 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
19030
19031 wxPyEndAllowThreads(__tstate);
19032 if (PyErr_Occurred()) SWIG_fail;
19033 }
19034 {
19035#if wxUSE_UNICODE
19036 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19037#else
19038 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19039#endif
19040 }
19041 {
19042 if (temp2)
19043 delete arg2;
19044 }
19045 {
44127b65 19046 if (temp3) delete arg3;
d14a1e28
RD
19047 }
19048 return resultobj;
19049 fail:
19050 {
19051 if (temp2)
19052 delete arg2;
19053 }
19054 {
44127b65 19055 if (temp3) delete arg3;
d14a1e28
RD
19056 }
19057 return NULL;
19058}
19059
19060
19061static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19062 PyObject *resultobj;
19063 wxDateTime *arg1 = (wxDateTime *) 0 ;
19064 wxString result;
19065 PyObject * obj0 = 0 ;
19066 char *kwnames[] = {
19067 (char *) "self", NULL
19068 };
19069
19070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
19071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19072 {
19073 PyThreadState* __tstate = wxPyBeginAllowThreads();
19074 result = ((wxDateTime const *)arg1)->FormatDate();
19075
19076 wxPyEndAllowThreads(__tstate);
19077 if (PyErr_Occurred()) SWIG_fail;
19078 }
19079 {
19080#if wxUSE_UNICODE
19081 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19082#else
19083 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19084#endif
19085 }
19086 return resultobj;
19087 fail:
19088 return NULL;
19089}
19090
19091
19092static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19093 PyObject *resultobj;
19094 wxDateTime *arg1 = (wxDateTime *) 0 ;
19095 wxString result;
19096 PyObject * obj0 = 0 ;
19097 char *kwnames[] = {
19098 (char *) "self", NULL
19099 };
19100
19101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
19102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19103 {
19104 PyThreadState* __tstate = wxPyBeginAllowThreads();
19105 result = ((wxDateTime const *)arg1)->FormatTime();
19106
19107 wxPyEndAllowThreads(__tstate);
19108 if (PyErr_Occurred()) SWIG_fail;
19109 }
19110 {
19111#if wxUSE_UNICODE
19112 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19113#else
19114 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19115#endif
19116 }
19117 return resultobj;
19118 fail:
19119 return NULL;
19120}
19121
19122
19123static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
19124 PyObject *resultobj;
19125 wxDateTime *arg1 = (wxDateTime *) 0 ;
19126 wxString result;
19127 PyObject * obj0 = 0 ;
19128 char *kwnames[] = {
19129 (char *) "self", NULL
19130 };
19131
19132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
19133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19134 {
19135 PyThreadState* __tstate = wxPyBeginAllowThreads();
19136 result = ((wxDateTime const *)arg1)->FormatISODate();
19137
19138 wxPyEndAllowThreads(__tstate);
19139 if (PyErr_Occurred()) SWIG_fail;
19140 }
19141 {
19142#if wxUSE_UNICODE
19143 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19144#else
19145 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19146#endif
19147 }
19148 return resultobj;
19149 fail:
19150 return NULL;
19151}
19152
19153
19154static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19155 PyObject *resultobj;
19156 wxDateTime *arg1 = (wxDateTime *) 0 ;
19157 wxString result;
19158 PyObject * obj0 = 0 ;
19159 char *kwnames[] = {
19160 (char *) "self", NULL
19161 };
19162
19163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
19164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19165 {
19166 PyThreadState* __tstate = wxPyBeginAllowThreads();
19167 result = ((wxDateTime const *)arg1)->FormatISOTime();
19168
19169 wxPyEndAllowThreads(__tstate);
19170 if (PyErr_Occurred()) SWIG_fail;
19171 }
19172 {
19173#if wxUSE_UNICODE
19174 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19175#else
19176 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19177#endif
19178 }
19179 return resultobj;
19180 fail:
19181 return NULL;
19182}
19183
19184
19185static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
19186 PyObject *obj;
19187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19188 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
19189 Py_INCREF(obj);
19190 return Py_BuildValue((char *)"");
19191}
19192static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
19193 PyObject *resultobj;
19194 long arg1 ;
19195 wxTimeSpan result;
19196 char *kwnames[] = {
19197 (char *) "sec", NULL
19198 };
19199
19200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Seconds",kwnames,&arg1)) goto fail;
19201 {
19202 PyThreadState* __tstate = wxPyBeginAllowThreads();
19203 result = wxTimeSpan::Seconds(arg1);
19204
19205 wxPyEndAllowThreads(__tstate);
19206 if (PyErr_Occurred()) SWIG_fail;
19207 }
19208 {
19209 wxTimeSpan * resultptr;
19210 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19211 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19212 }
19213 return resultobj;
19214 fail:
19215 return NULL;
19216}
19217
19218
19219static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
19220 PyObject *resultobj;
19221 wxTimeSpan result;
19222 char *kwnames[] = {
19223 NULL
19224 };
19225
19226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
19227 {
19228 PyThreadState* __tstate = wxPyBeginAllowThreads();
19229 result = wxTimeSpan::Second();
19230
19231 wxPyEndAllowThreads(__tstate);
19232 if (PyErr_Occurred()) SWIG_fail;
19233 }
19234 {
19235 wxTimeSpan * resultptr;
19236 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19237 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19238 }
19239 return resultobj;
19240 fail:
19241 return NULL;
19242}
19243
19244
19245static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
19246 PyObject *resultobj;
19247 long arg1 ;
19248 wxTimeSpan result;
19249 char *kwnames[] = {
19250 (char *) "min", NULL
19251 };
19252
19253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Minutes",kwnames,&arg1)) goto fail;
19254 {
19255 PyThreadState* __tstate = wxPyBeginAllowThreads();
19256 result = wxTimeSpan::Minutes(arg1);
19257
19258 wxPyEndAllowThreads(__tstate);
19259 if (PyErr_Occurred()) SWIG_fail;
19260 }
19261 {
19262 wxTimeSpan * resultptr;
19263 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19264 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19265 }
19266 return resultobj;
19267 fail:
19268 return NULL;
19269}
19270
19271
19272static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
19273 PyObject *resultobj;
19274 wxTimeSpan result;
19275 char *kwnames[] = {
19276 NULL
19277 };
19278
19279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
19280 {
19281 PyThreadState* __tstate = wxPyBeginAllowThreads();
19282 result = wxTimeSpan::Minute();
19283
19284 wxPyEndAllowThreads(__tstate);
19285 if (PyErr_Occurred()) SWIG_fail;
19286 }
19287 {
19288 wxTimeSpan * resultptr;
19289 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19290 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19291 }
19292 return resultobj;
19293 fail:
19294 return NULL;
19295}
19296
19297
19298static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
19299 PyObject *resultobj;
19300 long arg1 ;
19301 wxTimeSpan result;
19302 char *kwnames[] = {
19303 (char *) "hours", NULL
19304 };
19305
19306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Hours",kwnames,&arg1)) goto fail;
19307 {
19308 PyThreadState* __tstate = wxPyBeginAllowThreads();
19309 result = wxTimeSpan::Hours(arg1);
19310
19311 wxPyEndAllowThreads(__tstate);
19312 if (PyErr_Occurred()) SWIG_fail;
19313 }
19314 {
19315 wxTimeSpan * resultptr;
19316 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19317 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19318 }
19319 return resultobj;
19320 fail:
19321 return NULL;
19322}
19323
19324
19325static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
19326 PyObject *resultobj;
19327 wxTimeSpan result;
19328 char *kwnames[] = {
19329 NULL
19330 };
19331
19332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
19333 {
19334 PyThreadState* __tstate = wxPyBeginAllowThreads();
19335 result = wxTimeSpan::Hour();
19336
19337 wxPyEndAllowThreads(__tstate);
19338 if (PyErr_Occurred()) SWIG_fail;
19339 }
19340 {
19341 wxTimeSpan * resultptr;
19342 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19343 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19344 }
19345 return resultobj;
19346 fail:
19347 return NULL;
19348}
19349
19350
19351static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
19352 PyObject *resultobj;
19353 long arg1 ;
19354 wxTimeSpan result;
19355 char *kwnames[] = {
19356 (char *) "days", NULL
19357 };
19358
19359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Days",kwnames,&arg1)) goto fail;
19360 {
19361 PyThreadState* __tstate = wxPyBeginAllowThreads();
19362 result = wxTimeSpan::Days(arg1);
19363
19364 wxPyEndAllowThreads(__tstate);
19365 if (PyErr_Occurred()) SWIG_fail;
19366 }
19367 {
19368 wxTimeSpan * resultptr;
19369 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19370 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19371 }
19372 return resultobj;
19373 fail:
19374 return NULL;
19375}
19376
19377
19378static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
19379 PyObject *resultobj;
19380 wxTimeSpan result;
19381 char *kwnames[] = {
19382 NULL
19383 };
19384
19385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
19386 {
19387 PyThreadState* __tstate = wxPyBeginAllowThreads();
19388 result = wxTimeSpan::Day();
19389
19390 wxPyEndAllowThreads(__tstate);
19391 if (PyErr_Occurred()) SWIG_fail;
19392 }
19393 {
19394 wxTimeSpan * resultptr;
19395 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19396 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19397 }
19398 return resultobj;
19399 fail:
19400 return NULL;
19401}
19402
19403
19404static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
19405 PyObject *resultobj;
19406 long arg1 ;
19407 wxTimeSpan result;
19408 char *kwnames[] = {
19409 (char *) "days", NULL
19410 };
19411
19412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Weeks",kwnames,&arg1)) goto fail;
19413 {
19414 PyThreadState* __tstate = wxPyBeginAllowThreads();
19415 result = wxTimeSpan::Weeks(arg1);
19416
19417 wxPyEndAllowThreads(__tstate);
19418 if (PyErr_Occurred()) SWIG_fail;
19419 }
19420 {
19421 wxTimeSpan * resultptr;
19422 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19423 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19424 }
19425 return resultobj;
19426 fail:
19427 return NULL;
19428}
19429
19430
19431static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
19432 PyObject *resultobj;
19433 wxTimeSpan result;
19434 char *kwnames[] = {
19435 NULL
19436 };
19437
19438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
19439 {
19440 PyThreadState* __tstate = wxPyBeginAllowThreads();
19441 result = wxTimeSpan::Week();
19442
19443 wxPyEndAllowThreads(__tstate);
19444 if (PyErr_Occurred()) SWIG_fail;
19445 }
19446 {
19447 wxTimeSpan * resultptr;
19448 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19449 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19450 }
19451 return resultobj;
19452 fail:
19453 return NULL;
19454}
19455
19456
19457static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19458 PyObject *resultobj;
19459 long arg1 = (long) 0 ;
19460 long arg2 = (long) 0 ;
19461 long arg3 = (long) 0 ;
19462 long arg4 = (long) 0 ;
19463 wxTimeSpan *result;
19464 char *kwnames[] = {
19465 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
19466 };
19467
19468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|llll:new_TimeSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
19469 {
19470 PyThreadState* __tstate = wxPyBeginAllowThreads();
19471 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
19472
19473 wxPyEndAllowThreads(__tstate);
19474 if (PyErr_Occurred()) SWIG_fail;
19475 }
19476 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 1);
19477 return resultobj;
19478 fail:
19479 return NULL;
19480}
19481
19482
19483static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19484 PyObject *resultobj;
19485 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19486 PyObject * obj0 = 0 ;
19487 char *kwnames[] = {
19488 (char *) "self", NULL
19489 };
19490
19491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
19492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19493 {
19494 PyThreadState* __tstate = wxPyBeginAllowThreads();
19495 delete arg1;
19496
19497 wxPyEndAllowThreads(__tstate);
19498 if (PyErr_Occurred()) SWIG_fail;
19499 }
19500 Py_INCREF(Py_None); resultobj = Py_None;
19501 return resultobj;
19502 fail:
19503 return NULL;
19504}
19505
19506
19507static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
19508 PyObject *resultobj;
19509 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19510 wxTimeSpan *arg2 = 0 ;
19511 wxTimeSpan *result;
19512 PyObject * obj0 = 0 ;
19513 PyObject * obj1 = 0 ;
19514 char *kwnames[] = {
19515 (char *) "self",(char *) "diff", NULL
19516 };
19517
19518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
19519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19520 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19521 if (arg2 == NULL) {
19522 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19523 }
19524 {
19525 PyThreadState* __tstate = wxPyBeginAllowThreads();
19526 {
19527 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19528 result = (wxTimeSpan *) &_result_ref;
19529 }
19530
19531 wxPyEndAllowThreads(__tstate);
19532 if (PyErr_Occurred()) SWIG_fail;
19533 }
19534 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19535 return resultobj;
19536 fail:
19537 return NULL;
19538}
19539
19540
19541static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19542 PyObject *resultobj;
19543 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19544 wxTimeSpan *arg2 = 0 ;
19545 wxTimeSpan *result;
19546 PyObject * obj0 = 0 ;
19547 PyObject * obj1 = 0 ;
19548 char *kwnames[] = {
19549 (char *) "self",(char *) "diff", NULL
19550 };
19551
19552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
19553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19554 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19555 if (arg2 == NULL) {
19556 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19557 }
19558 {
19559 PyThreadState* __tstate = wxPyBeginAllowThreads();
19560 {
19561 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19562 result = (wxTimeSpan *) &_result_ref;
19563 }
19564
19565 wxPyEndAllowThreads(__tstate);
19566 if (PyErr_Occurred()) SWIG_fail;
19567 }
19568 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19569 return resultobj;
19570 fail:
19571 return NULL;
19572}
19573
19574
19575static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
19576 PyObject *resultobj;
19577 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19578 int arg2 ;
19579 wxTimeSpan *result;
19580 PyObject * obj0 = 0 ;
19581 char *kwnames[] = {
19582 (char *) "self",(char *) "n", NULL
19583 };
19584
19585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
19586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19587 {
19588 PyThreadState* __tstate = wxPyBeginAllowThreads();
19589 {
19590 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
19591 result = (wxTimeSpan *) &_result_ref;
19592 }
19593
19594 wxPyEndAllowThreads(__tstate);
19595 if (PyErr_Occurred()) SWIG_fail;
19596 }
19597 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19598 return resultobj;
19599 fail:
19600 return NULL;
19601}
19602
19603
19604static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
19605 PyObject *resultobj;
19606 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19607 wxTimeSpan *result;
19608 PyObject * obj0 = 0 ;
19609 char *kwnames[] = {
19610 (char *) "self", NULL
19611 };
19612
19613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
19614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19615 {
19616 PyThreadState* __tstate = wxPyBeginAllowThreads();
19617 {
19618 wxTimeSpan &_result_ref = (arg1)->Neg();
19619 result = (wxTimeSpan *) &_result_ref;
19620 }
19621
19622 wxPyEndAllowThreads(__tstate);
19623 if (PyErr_Occurred()) SWIG_fail;
19624 }
19625 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19626 return resultobj;
19627 fail:
19628 return NULL;
19629}
19630
19631
19632static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
19633 PyObject *resultobj;
19634 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19635 wxTimeSpan result;
19636 PyObject * obj0 = 0 ;
19637 char *kwnames[] = {
19638 (char *) "self", NULL
19639 };
19640
19641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
19642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19643 {
19644 PyThreadState* __tstate = wxPyBeginAllowThreads();
19645 result = ((wxTimeSpan const *)arg1)->Abs();
19646
19647 wxPyEndAllowThreads(__tstate);
19648 if (PyErr_Occurred()) SWIG_fail;
19649 }
19650 {
19651 wxTimeSpan * resultptr;
19652 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19653 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19654 }
19655 return resultobj;
19656 fail:
19657 return NULL;
19658}
19659
19660
19661static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
19662 PyObject *resultobj;
19663 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19664 wxTimeSpan *arg2 = 0 ;
19665 wxTimeSpan *result;
19666 PyObject * obj0 = 0 ;
19667 PyObject * obj1 = 0 ;
19668 char *kwnames[] = {
19669 (char *) "self",(char *) "diff", NULL
19670 };
19671
19672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
19673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19674 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19675 if (arg2 == NULL) {
19676 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19677 }
19678 {
19679 PyThreadState* __tstate = wxPyBeginAllowThreads();
19680 {
19681 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19682 result = (wxTimeSpan *) &_result_ref;
19683 }
19684
19685 wxPyEndAllowThreads(__tstate);
19686 if (PyErr_Occurred()) SWIG_fail;
19687 }
19688 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19689 return resultobj;
19690 fail:
19691 return NULL;
19692}
19693
19694
19695static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19696 PyObject *resultobj;
19697 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19698 wxTimeSpan *arg2 = 0 ;
19699 wxTimeSpan *result;
19700 PyObject * obj0 = 0 ;
19701 PyObject * obj1 = 0 ;
19702 char *kwnames[] = {
19703 (char *) "self",(char *) "diff", NULL
19704 };
19705
19706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
19707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19708 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19709 if (arg2 == NULL) {
19710 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19711 }
19712 {
19713 PyThreadState* __tstate = wxPyBeginAllowThreads();
19714 {
19715 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
19716 result = (wxTimeSpan *) &_result_ref;
19717 }
19718
19719 wxPyEndAllowThreads(__tstate);
19720 if (PyErr_Occurred()) SWIG_fail;
19721 }
19722 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19723 return resultobj;
19724 fail:
19725 return NULL;
19726}
19727
19728
19729static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19730 PyObject *resultobj;
19731 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19732 int arg2 ;
19733 wxTimeSpan *result;
19734 PyObject * obj0 = 0 ;
19735 char *kwnames[] = {
19736 (char *) "self",(char *) "n", NULL
19737 };
19738
19739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
19740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19741 {
19742 PyThreadState* __tstate = wxPyBeginAllowThreads();
19743 {
19744 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
19745 result = (wxTimeSpan *) &_result_ref;
19746 }
19747
19748 wxPyEndAllowThreads(__tstate);
19749 if (PyErr_Occurred()) SWIG_fail;
19750 }
19751 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19752 return resultobj;
19753 fail:
19754 return NULL;
19755}
19756
19757
19758static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
19759 PyObject *resultobj;
19760 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19761 wxTimeSpan *result;
19762 PyObject * obj0 = 0 ;
19763 char *kwnames[] = {
19764 (char *) "self", NULL
19765 };
19766
19767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
19768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19769 {
19770 PyThreadState* __tstate = wxPyBeginAllowThreads();
19771 {
19772 wxTimeSpan &_result_ref = (arg1)->operator -();
19773 result = (wxTimeSpan *) &_result_ref;
19774 }
19775
19776 wxPyEndAllowThreads(__tstate);
19777 if (PyErr_Occurred()) SWIG_fail;
19778 }
19779 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19780 return resultobj;
19781 fail:
19782 return NULL;
19783}
19784
19785
19786static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
19787 PyObject *resultobj;
19788 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19789 wxTimeSpan *arg2 = 0 ;
19790 wxTimeSpan result;
19791 PyObject * obj0 = 0 ;
19792 PyObject * obj1 = 0 ;
19793 char *kwnames[] = {
19794 (char *) "self",(char *) "other", NULL
19795 };
19796
19797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
19798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19799 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19800 if (arg2 == NULL) {
19801 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19802 }
19803 {
19804 PyThreadState* __tstate = wxPyBeginAllowThreads();
19805 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
19806
19807 wxPyEndAllowThreads(__tstate);
19808 if (PyErr_Occurred()) SWIG_fail;
19809 }
19810 {
19811 wxTimeSpan * resultptr;
19812 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19813 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19814 }
19815 return resultobj;
19816 fail:
19817 return NULL;
19818}
19819
19820
19821static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19822 PyObject *resultobj;
19823 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19824 wxTimeSpan *arg2 = 0 ;
19825 wxTimeSpan result;
19826 PyObject * obj0 = 0 ;
19827 PyObject * obj1 = 0 ;
19828 char *kwnames[] = {
19829 (char *) "self",(char *) "other", NULL
19830 };
19831
19832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
19833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19834 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19835 if (arg2 == NULL) {
19836 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19837 }
19838 {
19839 PyThreadState* __tstate = wxPyBeginAllowThreads();
19840 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
19841
19842 wxPyEndAllowThreads(__tstate);
19843 if (PyErr_Occurred()) SWIG_fail;
19844 }
19845 {
19846 wxTimeSpan * resultptr;
19847 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19848 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19849 }
19850 return resultobj;
19851 fail:
19852 return NULL;
19853}
19854
19855
19856static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19857 PyObject *resultobj;
19858 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19859 int arg2 ;
19860 wxTimeSpan result;
19861 PyObject * obj0 = 0 ;
19862 char *kwnames[] = {
19863 (char *) "self",(char *) "n", NULL
19864 };
19865
19866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
19867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19868 {
19869 PyThreadState* __tstate = wxPyBeginAllowThreads();
19870 result = wxTimeSpan___mul__(arg1,arg2);
19871
19872 wxPyEndAllowThreads(__tstate);
19873 if (PyErr_Occurred()) SWIG_fail;
19874 }
19875 {
19876 wxTimeSpan * resultptr;
19877 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19878 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19879 }
19880 return resultobj;
19881 fail:
19882 return NULL;
19883}
19884
19885
19886static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19887 PyObject *resultobj;
19888 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19889 int arg2 ;
19890 wxTimeSpan result;
19891 PyObject * obj0 = 0 ;
19892 char *kwnames[] = {
19893 (char *) "self",(char *) "n", NULL
19894 };
19895
19896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
19897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19898 {
19899 PyThreadState* __tstate = wxPyBeginAllowThreads();
19900 result = wxTimeSpan___rmul__(arg1,arg2);
19901
19902 wxPyEndAllowThreads(__tstate);
19903 if (PyErr_Occurred()) SWIG_fail;
19904 }
19905 {
19906 wxTimeSpan * resultptr;
19907 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19908 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19909 }
19910 return resultobj;
19911 fail:
19912 return NULL;
19913}
19914
19915
19916static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19917 PyObject *resultobj;
19918 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19919 wxTimeSpan *arg2 = 0 ;
19920 bool result;
19921 PyObject * obj0 = 0 ;
19922 PyObject * obj1 = 0 ;
19923 char *kwnames[] = {
19924 (char *) "self",(char *) "other", NULL
19925 };
19926
19927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
19928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19929 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19930 if (arg2 == NULL) {
19931 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19932 }
19933 {
19934 PyThreadState* __tstate = wxPyBeginAllowThreads();
19935 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const &)*arg2);
19936
19937 wxPyEndAllowThreads(__tstate);
19938 if (PyErr_Occurred()) SWIG_fail;
19939 }
19940 resultobj = PyInt_FromLong((long)result);
19941 return resultobj;
19942 fail:
19943 return NULL;
19944}
19945
19946
19947static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
19948 PyObject *resultobj;
19949 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19950 wxTimeSpan *arg2 = 0 ;
19951 bool result;
19952 PyObject * obj0 = 0 ;
19953 PyObject * obj1 = 0 ;
19954 char *kwnames[] = {
19955 (char *) "self",(char *) "other", NULL
19956 };
19957
19958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
19959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19960 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19961 if (arg2 == NULL) {
19962 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19963 }
19964 {
19965 PyThreadState* __tstate = wxPyBeginAllowThreads();
19966 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const &)*arg2);
19967
19968 wxPyEndAllowThreads(__tstate);
19969 if (PyErr_Occurred()) SWIG_fail;
19970 }
19971 resultobj = PyInt_FromLong((long)result);
19972 return resultobj;
19973 fail:
19974 return NULL;
19975}
19976
19977
19978static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19979 PyObject *resultobj;
19980 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19981 wxTimeSpan *arg2 = 0 ;
19982 bool result;
19983 PyObject * obj0 = 0 ;
19984 PyObject * obj1 = 0 ;
19985 char *kwnames[] = {
19986 (char *) "self",(char *) "other", NULL
19987 };
19988
19989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
19990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19991 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19992 if (arg2 == NULL) {
19993 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19994 }
19995 {
19996 PyThreadState* __tstate = wxPyBeginAllowThreads();
19997 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const &)*arg2);
19998
19999 wxPyEndAllowThreads(__tstate);
20000 if (PyErr_Occurred()) SWIG_fail;
20001 }
20002 resultobj = PyInt_FromLong((long)result);
20003 return resultobj;
20004 fail:
20005 return NULL;
20006}
20007
20008
20009static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
20010 PyObject *resultobj;
20011 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20012 wxTimeSpan *arg2 = 0 ;
20013 bool result;
20014 PyObject * obj0 = 0 ;
20015 PyObject * obj1 = 0 ;
20016 char *kwnames[] = {
20017 (char *) "self",(char *) "other", NULL
20018 };
20019
20020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
20021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20022 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20023 if (arg2 == NULL) {
20024 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20025 }
20026 {
20027 PyThreadState* __tstate = wxPyBeginAllowThreads();
20028 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const &)*arg2);
20029
20030 wxPyEndAllowThreads(__tstate);
20031 if (PyErr_Occurred()) SWIG_fail;
20032 }
20033 resultobj = PyInt_FromLong((long)result);
20034 return resultobj;
20035 fail:
20036 return NULL;
20037}
20038
20039
20040static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
20041 PyObject *resultobj;
20042 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20043 wxTimeSpan *arg2 = 0 ;
20044 bool result;
20045 PyObject * obj0 = 0 ;
20046 PyObject * obj1 = 0 ;
20047 char *kwnames[] = {
20048 (char *) "self",(char *) "other", NULL
20049 };
20050
20051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
20052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20053 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20054 if (arg2 == NULL) {
20055 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20056 }
20057 {
20058 PyThreadState* __tstate = wxPyBeginAllowThreads();
20059 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const &)*arg2);
20060
20061 wxPyEndAllowThreads(__tstate);
20062 if (PyErr_Occurred()) SWIG_fail;
20063 }
20064 resultobj = PyInt_FromLong((long)result);
20065 return resultobj;
20066 fail:
20067 return NULL;
20068}
20069
20070
20071static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
20072 PyObject *resultobj;
20073 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20074 wxTimeSpan *arg2 = 0 ;
20075 bool result;
20076 PyObject * obj0 = 0 ;
20077 PyObject * obj1 = 0 ;
20078 char *kwnames[] = {
20079 (char *) "self",(char *) "other", NULL
20080 };
20081
20082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
20083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20084 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20085 if (arg2 == NULL) {
20086 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20087 }
20088 {
20089 PyThreadState* __tstate = wxPyBeginAllowThreads();
20090 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const &)*arg2);
20091
20092 wxPyEndAllowThreads(__tstate);
20093 if (PyErr_Occurred()) SWIG_fail;
20094 }
20095 resultobj = PyInt_FromLong((long)result);
20096 return resultobj;
20097 fail:
20098 return NULL;
20099}
20100
20101
20102static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
20103 PyObject *resultobj;
20104 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20105 bool result;
20106 PyObject * obj0 = 0 ;
20107 char *kwnames[] = {
20108 (char *) "self", NULL
20109 };
20110
20111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
20112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20113 {
20114 PyThreadState* __tstate = wxPyBeginAllowThreads();
20115 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
20116
20117 wxPyEndAllowThreads(__tstate);
20118 if (PyErr_Occurred()) SWIG_fail;
20119 }
20120 resultobj = PyInt_FromLong((long)result);
20121 return resultobj;
20122 fail:
20123 return NULL;
20124}
20125
20126
20127static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
20128 PyObject *resultobj;
20129 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20130 bool result;
20131 PyObject * obj0 = 0 ;
20132 char *kwnames[] = {
20133 (char *) "self", NULL
20134 };
20135
20136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
20137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20138 {
20139 PyThreadState* __tstate = wxPyBeginAllowThreads();
20140 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
20141
20142 wxPyEndAllowThreads(__tstate);
20143 if (PyErr_Occurred()) SWIG_fail;
20144 }
20145 resultobj = PyInt_FromLong((long)result);
20146 return resultobj;
20147 fail:
20148 return NULL;
20149}
20150
20151
20152static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
20153 PyObject *resultobj;
20154 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20155 bool result;
20156 PyObject * obj0 = 0 ;
20157 char *kwnames[] = {
20158 (char *) "self", NULL
20159 };
20160
20161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
20162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20163 {
20164 PyThreadState* __tstate = wxPyBeginAllowThreads();
20165 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
20166
20167 wxPyEndAllowThreads(__tstate);
20168 if (PyErr_Occurred()) SWIG_fail;
20169 }
20170 resultobj = PyInt_FromLong((long)result);
20171 return resultobj;
20172 fail:
20173 return NULL;
20174}
20175
20176
20177static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20178 PyObject *resultobj;
20179 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20180 wxTimeSpan *arg2 = 0 ;
20181 bool result;
20182 PyObject * obj0 = 0 ;
20183 PyObject * obj1 = 0 ;
20184 char *kwnames[] = {
20185 (char *) "self",(char *) "ts", NULL
20186 };
20187
20188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
20189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20190 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20191 if (arg2 == NULL) {
20192 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20193 }
20194 {
20195 PyThreadState* __tstate = wxPyBeginAllowThreads();
20196 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
20197
20198 wxPyEndAllowThreads(__tstate);
20199 if (PyErr_Occurred()) SWIG_fail;
20200 }
20201 resultobj = PyInt_FromLong((long)result);
20202 return resultobj;
20203 fail:
20204 return NULL;
20205}
20206
20207
20208static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20209 PyObject *resultobj;
20210 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20211 wxTimeSpan *arg2 = 0 ;
20212 bool result;
20213 PyObject * obj0 = 0 ;
20214 PyObject * obj1 = 0 ;
20215 char *kwnames[] = {
20216 (char *) "self",(char *) "ts", NULL
20217 };
20218
20219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
20220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20221 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20222 if (arg2 == NULL) {
20223 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20224 }
20225 {
20226 PyThreadState* __tstate = wxPyBeginAllowThreads();
20227 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
20228
20229 wxPyEndAllowThreads(__tstate);
20230 if (PyErr_Occurred()) SWIG_fail;
20231 }
20232 resultobj = PyInt_FromLong((long)result);
20233 return resultobj;
20234 fail:
20235 return NULL;
20236}
20237
20238
20239static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20240 PyObject *resultobj;
20241 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20242 wxTimeSpan *arg2 = 0 ;
20243 bool result;
20244 PyObject * obj0 = 0 ;
20245 PyObject * obj1 = 0 ;
20246 char *kwnames[] = {
20247 (char *) "self",(char *) "t", NULL
20248 };
20249
20250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
20251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20252 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20253 if (arg2 == NULL) {
20254 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20255 }
20256 {
20257 PyThreadState* __tstate = wxPyBeginAllowThreads();
20258 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
20259
20260 wxPyEndAllowThreads(__tstate);
20261 if (PyErr_Occurred()) SWIG_fail;
20262 }
20263 resultobj = PyInt_FromLong((long)result);
20264 return resultobj;
20265 fail:
20266 return NULL;
20267}
20268
20269
20270static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20271 PyObject *resultobj;
20272 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20273 int result;
20274 PyObject * obj0 = 0 ;
20275 char *kwnames[] = {
20276 (char *) "self", NULL
20277 };
20278
20279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
20280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20281 {
20282 PyThreadState* __tstate = wxPyBeginAllowThreads();
20283 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
20284
20285 wxPyEndAllowThreads(__tstate);
20286 if (PyErr_Occurred()) SWIG_fail;
20287 }
20288 resultobj = PyInt_FromLong((long)result);
20289 return resultobj;
20290 fail:
20291 return NULL;
20292}
20293
20294
20295static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20296 PyObject *resultobj;
20297 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20298 int result;
20299 PyObject * obj0 = 0 ;
20300 char *kwnames[] = {
20301 (char *) "self", NULL
20302 };
20303
20304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
20305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20306 {
20307 PyThreadState* __tstate = wxPyBeginAllowThreads();
20308 result = (int)((wxTimeSpan const *)arg1)->GetDays();
20309
20310 wxPyEndAllowThreads(__tstate);
20311 if (PyErr_Occurred()) SWIG_fail;
20312 }
20313 resultobj = PyInt_FromLong((long)result);
20314 return resultobj;
20315 fail:
20316 return NULL;
20317}
20318
20319
20320static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
20321 PyObject *resultobj;
20322 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20323 int result;
20324 PyObject * obj0 = 0 ;
20325 char *kwnames[] = {
20326 (char *) "self", NULL
20327 };
20328
20329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
20330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20331 {
20332 PyThreadState* __tstate = wxPyBeginAllowThreads();
20333 result = (int)((wxTimeSpan const *)arg1)->GetHours();
20334
20335 wxPyEndAllowThreads(__tstate);
20336 if (PyErr_Occurred()) SWIG_fail;
20337 }
20338 resultobj = PyInt_FromLong((long)result);
20339 return resultobj;
20340 fail:
20341 return NULL;
20342}
20343
20344
20345static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
20346 PyObject *resultobj;
20347 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20348 int result;
20349 PyObject * obj0 = 0 ;
20350 char *kwnames[] = {
20351 (char *) "self", NULL
20352 };
20353
20354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
20355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20356 {
20357 PyThreadState* __tstate = wxPyBeginAllowThreads();
20358 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
20359
20360 wxPyEndAllowThreads(__tstate);
20361 if (PyErr_Occurred()) SWIG_fail;
20362 }
20363 resultobj = PyInt_FromLong((long)result);
20364 return resultobj;
20365 fail:
20366 return NULL;
20367}
20368
20369
20370static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20371 PyObject *resultobj;
20372 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20373 wxLongLong result;
20374 PyObject * obj0 = 0 ;
20375 char *kwnames[] = {
20376 (char *) "self", NULL
20377 };
20378
20379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
20380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20381 {
20382 PyThreadState* __tstate = wxPyBeginAllowThreads();
20383 result = ((wxTimeSpan const *)arg1)->GetSeconds();
20384
20385 wxPyEndAllowThreads(__tstate);
20386 if (PyErr_Occurred()) SWIG_fail;
20387 }
20388 {
20389 PyObject *hi, *lo, *shifter, *shifted;
20390 hi = PyLong_FromLong( (&result)->GetHi() );
20391 lo = PyLong_FromLong( (&result)->GetLo() );
20392 shifter = PyLong_FromLong(32);
20393 shifted = PyNumber_Lshift(hi, shifter);
20394 resultobj = PyNumber_Or(shifted, lo);
20395 Py_DECREF(hi);
20396 Py_DECREF(lo);
20397 Py_DECREF(shifter);
20398 Py_DECREF(shifted);
20399 }
20400 return resultobj;
20401 fail:
20402 return NULL;
20403}
20404
20405
20406static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20407 PyObject *resultobj;
20408 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20409 wxLongLong result;
20410 PyObject * obj0 = 0 ;
20411 char *kwnames[] = {
20412 (char *) "self", NULL
20413 };
20414
20415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
20416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20417 {
20418 PyThreadState* __tstate = wxPyBeginAllowThreads();
20419 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
20420
20421 wxPyEndAllowThreads(__tstate);
20422 if (PyErr_Occurred()) SWIG_fail;
20423 }
20424 {
20425 PyObject *hi, *lo, *shifter, *shifted;
20426 hi = PyLong_FromLong( (&result)->GetHi() );
20427 lo = PyLong_FromLong( (&result)->GetLo() );
20428 shifter = PyLong_FromLong(32);
20429 shifted = PyNumber_Lshift(hi, shifter);
20430 resultobj = PyNumber_Or(shifted, lo);
20431 Py_DECREF(hi);
20432 Py_DECREF(lo);
20433 Py_DECREF(shifter);
20434 Py_DECREF(shifted);
20435 }
20436 return resultobj;
20437 fail:
20438 return NULL;
20439}
20440
20441
20442static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
20443 PyObject *resultobj;
20444 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20445 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
20446 wxString *arg2 = (wxString *) &arg2_defvalue ;
20447 wxString result;
423f194a 20448 bool temp2 = False ;
d14a1e28
RD
20449 PyObject * obj0 = 0 ;
20450 PyObject * obj1 = 0 ;
20451 char *kwnames[] = {
20452 (char *) "self",(char *) "format", NULL
20453 };
20454
20455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
20456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20457 if (obj1) {
20458 {
20459 arg2 = wxString_in_helper(obj1);
20460 if (arg2 == NULL) SWIG_fail;
423f194a 20461 temp2 = True;
d14a1e28
RD
20462 }
20463 }
20464 {
20465 PyThreadState* __tstate = wxPyBeginAllowThreads();
20466 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
20467
20468 wxPyEndAllowThreads(__tstate);
20469 if (PyErr_Occurred()) SWIG_fail;
20470 }
20471 {
20472#if wxUSE_UNICODE
20473 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20474#else
20475 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20476#endif
20477 }
20478 {
20479 if (temp2)
20480 delete arg2;
20481 }
20482 return resultobj;
20483 fail:
20484 {
20485 if (temp2)
20486 delete arg2;
20487 }
20488 return NULL;
20489}
20490
20491
20492static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
20493 PyObject *obj;
20494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20495 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
20496 Py_INCREF(obj);
20497 return Py_BuildValue((char *)"");
20498}
20499static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20500 PyObject *resultobj;
20501 int arg1 = (int) 0 ;
20502 int arg2 = (int) 0 ;
20503 int arg3 = (int) 0 ;
20504 int arg4 = (int) 0 ;
20505 wxDateSpan *result;
20506 char *kwnames[] = {
20507 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
20508 };
20509
20510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_DateSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
20511 {
20512 PyThreadState* __tstate = wxPyBeginAllowThreads();
20513 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
20514
20515 wxPyEndAllowThreads(__tstate);
20516 if (PyErr_Occurred()) SWIG_fail;
20517 }
20518 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 1);
20519 return resultobj;
20520 fail:
20521 return NULL;
20522}
20523
20524
20525static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20526 PyObject *resultobj;
20527 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20528 PyObject * obj0 = 0 ;
20529 char *kwnames[] = {
20530 (char *) "self", NULL
20531 };
20532
20533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
20534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20535 {
20536 PyThreadState* __tstate = wxPyBeginAllowThreads();
20537 delete arg1;
20538
20539 wxPyEndAllowThreads(__tstate);
20540 if (PyErr_Occurred()) SWIG_fail;
20541 }
20542 Py_INCREF(Py_None); resultobj = Py_None;
20543 return resultobj;
20544 fail:
20545 return NULL;
20546}
20547
20548
20549static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
20550 PyObject *resultobj;
20551 int arg1 ;
20552 wxDateSpan result;
20553 char *kwnames[] = {
20554 (char *) "days", NULL
20555 };
20556
20557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Days",kwnames,&arg1)) goto fail;
20558 {
20559 PyThreadState* __tstate = wxPyBeginAllowThreads();
20560 result = wxDateSpan::Days(arg1);
20561
20562 wxPyEndAllowThreads(__tstate);
20563 if (PyErr_Occurred()) SWIG_fail;
20564 }
20565 {
20566 wxDateSpan * resultptr;
20567 resultptr = new wxDateSpan((wxDateSpan &) result);
20568 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20569 }
20570 return resultobj;
20571 fail:
20572 return NULL;
20573}
20574
20575
20576static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
20577 PyObject *resultobj;
20578 wxDateSpan result;
20579 char *kwnames[] = {
20580 NULL
20581 };
20582
20583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
20584 {
20585 PyThreadState* __tstate = wxPyBeginAllowThreads();
20586 result = wxDateSpan::Day();
20587
20588 wxPyEndAllowThreads(__tstate);
20589 if (PyErr_Occurred()) SWIG_fail;
20590 }
20591 {
20592 wxDateSpan * resultptr;
20593 resultptr = new wxDateSpan((wxDateSpan &) result);
20594 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20595 }
20596 return resultobj;
20597 fail:
20598 return NULL;
20599}
20600
20601
20602static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20603 PyObject *resultobj;
20604 int arg1 ;
20605 wxDateSpan result;
20606 char *kwnames[] = {
20607 (char *) "weeks", NULL
20608 };
20609
20610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Weeks",kwnames,&arg1)) goto fail;
20611 {
20612 PyThreadState* __tstate = wxPyBeginAllowThreads();
20613 result = wxDateSpan::Weeks(arg1);
20614
20615 wxPyEndAllowThreads(__tstate);
20616 if (PyErr_Occurred()) SWIG_fail;
20617 }
20618 {
20619 wxDateSpan * resultptr;
20620 resultptr = new wxDateSpan((wxDateSpan &) result);
20621 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20622 }
20623 return resultobj;
20624 fail:
20625 return NULL;
20626}
20627
20628
20629static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
20630 PyObject *resultobj;
20631 wxDateSpan result;
20632 char *kwnames[] = {
20633 NULL
20634 };
20635
20636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
20637 {
20638 PyThreadState* __tstate = wxPyBeginAllowThreads();
20639 result = wxDateSpan::Week();
20640
20641 wxPyEndAllowThreads(__tstate);
20642 if (PyErr_Occurred()) SWIG_fail;
20643 }
20644 {
20645 wxDateSpan * resultptr;
20646 resultptr = new wxDateSpan((wxDateSpan &) result);
20647 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20648 }
20649 return resultobj;
20650 fail:
20651 return NULL;
20652}
20653
20654
20655static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
20656 PyObject *resultobj;
20657 int arg1 ;
20658 wxDateSpan result;
20659 char *kwnames[] = {
20660 (char *) "mon", NULL
20661 };
20662
20663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Months",kwnames,&arg1)) goto fail;
20664 {
20665 PyThreadState* __tstate = wxPyBeginAllowThreads();
20666 result = wxDateSpan::Months(arg1);
20667
20668 wxPyEndAllowThreads(__tstate);
20669 if (PyErr_Occurred()) SWIG_fail;
20670 }
20671 {
20672 wxDateSpan * resultptr;
20673 resultptr = new wxDateSpan((wxDateSpan &) result);
20674 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20675 }
20676 return resultobj;
20677 fail:
20678 return NULL;
20679}
20680
20681
20682static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
20683 PyObject *resultobj;
20684 wxDateSpan result;
20685 char *kwnames[] = {
20686 NULL
20687 };
20688
20689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
20690 {
20691 PyThreadState* __tstate = wxPyBeginAllowThreads();
20692 result = wxDateSpan::Month();
20693
20694 wxPyEndAllowThreads(__tstate);
20695 if (PyErr_Occurred()) SWIG_fail;
20696 }
20697 {
20698 wxDateSpan * resultptr;
20699 resultptr = new wxDateSpan((wxDateSpan &) result);
20700 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20701 }
20702 return resultobj;
20703 fail:
20704 return NULL;
20705}
20706
20707
20708static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
20709 PyObject *resultobj;
20710 int arg1 ;
20711 wxDateSpan result;
20712 char *kwnames[] = {
20713 (char *) "years", NULL
20714 };
20715
20716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Years",kwnames,&arg1)) goto fail;
20717 {
20718 PyThreadState* __tstate = wxPyBeginAllowThreads();
20719 result = wxDateSpan::Years(arg1);
20720
20721 wxPyEndAllowThreads(__tstate);
20722 if (PyErr_Occurred()) SWIG_fail;
20723 }
20724 {
20725 wxDateSpan * resultptr;
20726 resultptr = new wxDateSpan((wxDateSpan &) result);
20727 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20728 }
20729 return resultobj;
20730 fail:
20731 return NULL;
20732}
20733
20734
20735static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
20736 PyObject *resultobj;
20737 wxDateSpan result;
20738 char *kwnames[] = {
20739 NULL
20740 };
20741
20742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
20743 {
20744 PyThreadState* __tstate = wxPyBeginAllowThreads();
20745 result = wxDateSpan::Year();
20746
20747 wxPyEndAllowThreads(__tstate);
20748 if (PyErr_Occurred()) SWIG_fail;
20749 }
20750 {
20751 wxDateSpan * resultptr;
20752 resultptr = new wxDateSpan((wxDateSpan &) result);
20753 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20754 }
20755 return resultobj;
20756 fail:
20757 return NULL;
20758}
20759
20760
20761static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20762 PyObject *resultobj;
20763 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20764 int arg2 ;
20765 wxDateSpan *result;
20766 PyObject * obj0 = 0 ;
20767 char *kwnames[] = {
20768 (char *) "self",(char *) "n", NULL
20769 };
20770
20771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetYears",kwnames,&obj0,&arg2)) goto fail;
20772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20773 {
20774 PyThreadState* __tstate = wxPyBeginAllowThreads();
20775 {
20776 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
20777 result = (wxDateSpan *) &_result_ref;
20778 }
20779
20780 wxPyEndAllowThreads(__tstate);
20781 if (PyErr_Occurred()) SWIG_fail;
20782 }
20783 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20784 return resultobj;
20785 fail:
20786 return NULL;
20787}
20788
20789
20790static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20791 PyObject *resultobj;
20792 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20793 int arg2 ;
20794 wxDateSpan *result;
20795 PyObject * obj0 = 0 ;
20796 char *kwnames[] = {
20797 (char *) "self",(char *) "n", NULL
20798 };
20799
20800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetMonths",kwnames,&obj0,&arg2)) goto fail;
20801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20802 {
20803 PyThreadState* __tstate = wxPyBeginAllowThreads();
20804 {
20805 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
20806 result = (wxDateSpan *) &_result_ref;
20807 }
20808
20809 wxPyEndAllowThreads(__tstate);
20810 if (PyErr_Occurred()) SWIG_fail;
20811 }
20812 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20813 return resultobj;
20814 fail:
20815 return NULL;
20816}
20817
20818
20819static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20820 PyObject *resultobj;
20821 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20822 int arg2 ;
20823 wxDateSpan *result;
20824 PyObject * obj0 = 0 ;
20825 char *kwnames[] = {
20826 (char *) "self",(char *) "n", NULL
20827 };
20828
20829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetWeeks",kwnames,&obj0,&arg2)) goto fail;
20830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20831 {
20832 PyThreadState* __tstate = wxPyBeginAllowThreads();
20833 {
20834 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
20835 result = (wxDateSpan *) &_result_ref;
20836 }
20837
20838 wxPyEndAllowThreads(__tstate);
20839 if (PyErr_Occurred()) SWIG_fail;
20840 }
20841 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20842 return resultobj;
20843 fail:
20844 return NULL;
20845}
20846
20847
20848static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20849 PyObject *resultobj;
20850 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20851 int arg2 ;
20852 wxDateSpan *result;
20853 PyObject * obj0 = 0 ;
20854 char *kwnames[] = {
20855 (char *) "self",(char *) "n", NULL
20856 };
20857
20858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetDays",kwnames,&obj0,&arg2)) goto fail;
20859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20860 {
20861 PyThreadState* __tstate = wxPyBeginAllowThreads();
20862 {
20863 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
20864 result = (wxDateSpan *) &_result_ref;
20865 }
20866
20867 wxPyEndAllowThreads(__tstate);
20868 if (PyErr_Occurred()) SWIG_fail;
20869 }
20870 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20871 return resultobj;
20872 fail:
20873 return NULL;
20874}
20875
20876
20877static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20878 PyObject *resultobj;
20879 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20880 int result;
20881 PyObject * obj0 = 0 ;
20882 char *kwnames[] = {
20883 (char *) "self", NULL
20884 };
20885
20886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
20887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20888 {
20889 PyThreadState* __tstate = wxPyBeginAllowThreads();
20890 result = (int)((wxDateSpan const *)arg1)->GetYears();
20891
20892 wxPyEndAllowThreads(__tstate);
20893 if (PyErr_Occurred()) SWIG_fail;
20894 }
20895 resultobj = PyInt_FromLong((long)result);
20896 return resultobj;
20897 fail:
20898 return NULL;
20899}
20900
20901
20902static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20903 PyObject *resultobj;
20904 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20905 int result;
20906 PyObject * obj0 = 0 ;
20907 char *kwnames[] = {
20908 (char *) "self", NULL
20909 };
20910
20911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
20912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20913 {
20914 PyThreadState* __tstate = wxPyBeginAllowThreads();
20915 result = (int)((wxDateSpan const *)arg1)->GetMonths();
20916
20917 wxPyEndAllowThreads(__tstate);
20918 if (PyErr_Occurred()) SWIG_fail;
20919 }
20920 resultobj = PyInt_FromLong((long)result);
20921 return resultobj;
20922 fail:
20923 return NULL;
20924}
20925
20926
20927static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20928 PyObject *resultobj;
20929 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20930 int result;
20931 PyObject * obj0 = 0 ;
20932 char *kwnames[] = {
20933 (char *) "self", NULL
20934 };
20935
20936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
20937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20938 {
20939 PyThreadState* __tstate = wxPyBeginAllowThreads();
20940 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
20941
20942 wxPyEndAllowThreads(__tstate);
20943 if (PyErr_Occurred()) SWIG_fail;
20944 }
20945 resultobj = PyInt_FromLong((long)result);
20946 return resultobj;
20947 fail:
20948 return NULL;
20949}
20950
20951
20952static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20953 PyObject *resultobj;
20954 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20955 int result;
20956 PyObject * obj0 = 0 ;
20957 char *kwnames[] = {
20958 (char *) "self", NULL
20959 };
20960
20961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
20962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20963 {
20964 PyThreadState* __tstate = wxPyBeginAllowThreads();
20965 result = (int)((wxDateSpan const *)arg1)->GetDays();
20966
20967 wxPyEndAllowThreads(__tstate);
20968 if (PyErr_Occurred()) SWIG_fail;
20969 }
20970 resultobj = PyInt_FromLong((long)result);
20971 return resultobj;
20972 fail:
20973 return NULL;
20974}
20975
20976
20977static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20978 PyObject *resultobj;
20979 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20980 int result;
20981 PyObject * obj0 = 0 ;
20982 char *kwnames[] = {
20983 (char *) "self", NULL
20984 };
20985
20986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
20987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20988 {
20989 PyThreadState* __tstate = wxPyBeginAllowThreads();
20990 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
20991
20992 wxPyEndAllowThreads(__tstate);
20993 if (PyErr_Occurred()) SWIG_fail;
20994 }
20995 resultobj = PyInt_FromLong((long)result);
20996 return resultobj;
20997 fail:
20998 return NULL;
20999}
21000
21001
21002static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
21003 PyObject *resultobj;
21004 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21005 wxDateSpan *arg2 = 0 ;
21006 wxDateSpan *result;
21007 PyObject * obj0 = 0 ;
21008 PyObject * obj1 = 0 ;
21009 char *kwnames[] = {
21010 (char *) "self",(char *) "other", NULL
21011 };
21012
21013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
21014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21015 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21016 if (arg2 == NULL) {
21017 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21018 }
21019 {
21020 PyThreadState* __tstate = wxPyBeginAllowThreads();
21021 {
21022 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
21023 result = (wxDateSpan *) &_result_ref;
21024 }
21025
21026 wxPyEndAllowThreads(__tstate);
21027 if (PyErr_Occurred()) SWIG_fail;
21028 }
21029 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21030 return resultobj;
21031 fail:
21032 return NULL;
21033}
21034
21035
21036static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
21037 PyObject *resultobj;
21038 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21039 wxDateSpan *arg2 = 0 ;
21040 wxDateSpan *result;
21041 PyObject * obj0 = 0 ;
21042 PyObject * obj1 = 0 ;
21043 char *kwnames[] = {
21044 (char *) "self",(char *) "other", NULL
21045 };
21046
21047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
21048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21049 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21050 if (arg2 == NULL) {
21051 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21052 }
21053 {
21054 PyThreadState* __tstate = wxPyBeginAllowThreads();
21055 {
21056 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
21057 result = (wxDateSpan *) &_result_ref;
21058 }
21059
21060 wxPyEndAllowThreads(__tstate);
21061 if (PyErr_Occurred()) SWIG_fail;
21062 }
21063 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21064 return resultobj;
21065 fail:
21066 return NULL;
21067}
21068
21069
21070static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
21071 PyObject *resultobj;
21072 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21073 wxDateSpan *result;
21074 PyObject * obj0 = 0 ;
21075 char *kwnames[] = {
21076 (char *) "self", NULL
21077 };
21078
21079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
21080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21081 {
21082 PyThreadState* __tstate = wxPyBeginAllowThreads();
21083 {
21084 wxDateSpan &_result_ref = (arg1)->Neg();
21085 result = (wxDateSpan *) &_result_ref;
21086 }
21087
21088 wxPyEndAllowThreads(__tstate);
21089 if (PyErr_Occurred()) SWIG_fail;
21090 }
21091 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21092 return resultobj;
21093 fail:
21094 return NULL;
21095}
21096
21097
21098static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
21099 PyObject *resultobj;
21100 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21101 int arg2 ;
21102 wxDateSpan *result;
21103 PyObject * obj0 = 0 ;
21104 char *kwnames[] = {
21105 (char *) "self",(char *) "factor", NULL
21106 };
21107
21108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
21109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21110 {
21111 PyThreadState* __tstate = wxPyBeginAllowThreads();
21112 {
21113 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
21114 result = (wxDateSpan *) &_result_ref;
21115 }
21116
21117 wxPyEndAllowThreads(__tstate);
21118 if (PyErr_Occurred()) SWIG_fail;
21119 }
21120 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21121 return resultobj;
21122 fail:
21123 return NULL;
21124}
21125
21126
21127static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21128 PyObject *resultobj;
21129 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21130 wxDateSpan *arg2 = 0 ;
21131 wxDateSpan *result;
21132 PyObject * obj0 = 0 ;
21133 PyObject * obj1 = 0 ;
21134 char *kwnames[] = {
21135 (char *) "self",(char *) "other", NULL
21136 };
21137
21138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21140 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21141 if (arg2 == NULL) {
21142 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21143 }
21144 {
21145 PyThreadState* __tstate = wxPyBeginAllowThreads();
21146 {
21147 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
21148 result = (wxDateSpan *) &_result_ref;
21149 }
21150
21151 wxPyEndAllowThreads(__tstate);
21152 if (PyErr_Occurred()) SWIG_fail;
21153 }
21154 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21155 return resultobj;
21156 fail:
21157 return NULL;
21158}
21159
21160
21161static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21162 PyObject *resultobj;
21163 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21164 wxDateSpan *arg2 = 0 ;
21165 wxDateSpan *result;
21166 PyObject * obj0 = 0 ;
21167 PyObject * obj1 = 0 ;
21168 char *kwnames[] = {
21169 (char *) "self",(char *) "other", NULL
21170 };
21171
21172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21174 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21175 if (arg2 == NULL) {
21176 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21177 }
21178 {
21179 PyThreadState* __tstate = wxPyBeginAllowThreads();
21180 {
21181 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
21182 result = (wxDateSpan *) &_result_ref;
21183 }
21184
21185 wxPyEndAllowThreads(__tstate);
21186 if (PyErr_Occurred()) SWIG_fail;
21187 }
21188 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21189 return resultobj;
21190 fail:
21191 return NULL;
21192}
21193
21194
21195static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21196 PyObject *resultobj;
21197 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21198 wxDateSpan *result;
21199 PyObject * obj0 = 0 ;
21200 char *kwnames[] = {
21201 (char *) "self", NULL
21202 };
21203
21204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
21205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21206 {
21207 PyThreadState* __tstate = wxPyBeginAllowThreads();
21208 {
21209 wxDateSpan &_result_ref = (arg1)->operator -();
21210 result = (wxDateSpan *) &_result_ref;
21211 }
21212
21213 wxPyEndAllowThreads(__tstate);
21214 if (PyErr_Occurred()) SWIG_fail;
21215 }
21216 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21217 return resultobj;
21218 fail:
21219 return NULL;
21220}
21221
21222
21223static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21224 PyObject *resultobj;
21225 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21226 int arg2 ;
21227 wxDateSpan *result;
21228 PyObject * obj0 = 0 ;
21229 char *kwnames[] = {
21230 (char *) "self",(char *) "factor", NULL
21231 };
21232
21233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
21234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21235 {
21236 PyThreadState* __tstate = wxPyBeginAllowThreads();
21237 {
21238 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
21239 result = (wxDateSpan *) &_result_ref;
21240 }
21241
21242 wxPyEndAllowThreads(__tstate);
21243 if (PyErr_Occurred()) SWIG_fail;
21244 }
21245 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21246 return resultobj;
21247 fail:
21248 return NULL;
21249}
21250
21251
21252static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21253 PyObject *resultobj;
21254 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21255 wxDateSpan *arg2 = 0 ;
21256 wxDateSpan result;
21257 PyObject * obj0 = 0 ;
21258 PyObject * obj1 = 0 ;
21259 char *kwnames[] = {
21260 (char *) "self",(char *) "other", NULL
21261 };
21262
21263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21265 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21266 if (arg2 == NULL) {
21267 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21268 }
21269 {
21270 PyThreadState* __tstate = wxPyBeginAllowThreads();
21271 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
21272
21273 wxPyEndAllowThreads(__tstate);
21274 if (PyErr_Occurred()) SWIG_fail;
21275 }
21276 {
21277 wxDateSpan * resultptr;
21278 resultptr = new wxDateSpan((wxDateSpan &) result);
21279 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21280 }
21281 return resultobj;
21282 fail:
21283 return NULL;
21284}
21285
21286
21287static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21288 PyObject *resultobj;
21289 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21290 wxDateSpan *arg2 = 0 ;
21291 wxDateSpan result;
21292 PyObject * obj0 = 0 ;
21293 PyObject * obj1 = 0 ;
21294 char *kwnames[] = {
21295 (char *) "self",(char *) "other", NULL
21296 };
21297
21298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21300 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21301 if (arg2 == NULL) {
21302 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21303 }
21304 {
21305 PyThreadState* __tstate = wxPyBeginAllowThreads();
21306 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
21307
21308 wxPyEndAllowThreads(__tstate);
21309 if (PyErr_Occurred()) SWIG_fail;
21310 }
21311 {
21312 wxDateSpan * resultptr;
21313 resultptr = new wxDateSpan((wxDateSpan &) result);
21314 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21315 }
21316 return resultobj;
21317 fail:
21318 return NULL;
21319}
21320
21321
21322static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21323 PyObject *resultobj;
21324 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21325 int arg2 ;
21326 wxDateSpan result;
21327 PyObject * obj0 = 0 ;
21328 char *kwnames[] = {
21329 (char *) "self",(char *) "n", NULL
21330 };
21331
21332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
21333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21334 {
21335 PyThreadState* __tstate = wxPyBeginAllowThreads();
21336 result = wxDateSpan___mul__(arg1,arg2);
21337
21338 wxPyEndAllowThreads(__tstate);
21339 if (PyErr_Occurred()) SWIG_fail;
21340 }
21341 {
21342 wxDateSpan * resultptr;
21343 resultptr = new wxDateSpan((wxDateSpan &) result);
21344 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21345 }
21346 return resultobj;
21347 fail:
21348 return NULL;
21349}
21350
21351
21352static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21353 PyObject *resultobj;
21354 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21355 int arg2 ;
21356 wxDateSpan result;
21357 PyObject * obj0 = 0 ;
21358 char *kwnames[] = {
21359 (char *) "self",(char *) "n", NULL
21360 };
21361
21362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
21363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21364 {
21365 PyThreadState* __tstate = wxPyBeginAllowThreads();
21366 result = wxDateSpan___rmul__(arg1,arg2);
21367
21368 wxPyEndAllowThreads(__tstate);
21369 if (PyErr_Occurred()) SWIG_fail;
21370 }
21371 {
21372 wxDateSpan * resultptr;
21373 resultptr = new wxDateSpan((wxDateSpan &) result);
21374 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21375 }
21376 return resultobj;
21377 fail:
21378 return NULL;
21379}
21380
21381
21382static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
21383 PyObject *resultobj;
21384 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21385 wxDateSpan *arg2 = 0 ;
21386 bool result;
21387 PyObject * obj0 = 0 ;
21388 PyObject * obj1 = 0 ;
21389 char *kwnames[] = {
21390 (char *) "self",(char *) "other", NULL
21391 };
21392
21393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
21394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21395 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21396 if (arg2 == NULL) {
21397 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21398 }
21399 {
21400 PyThreadState* __tstate = wxPyBeginAllowThreads();
21401 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const &)*arg2);
21402
21403 wxPyEndAllowThreads(__tstate);
21404 if (PyErr_Occurred()) SWIG_fail;
21405 }
21406 resultobj = PyInt_FromLong((long)result);
21407 return resultobj;
21408 fail:
21409 return NULL;
21410}
21411
21412
21413static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
21414 PyObject *resultobj;
21415 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21416 wxDateSpan *arg2 = 0 ;
21417 bool result;
21418 PyObject * obj0 = 0 ;
21419 PyObject * obj1 = 0 ;
21420 char *kwnames[] = {
21421 (char *) "self",(char *) "other", NULL
21422 };
21423
21424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
21425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21426 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21427 if (arg2 == NULL) {
21428 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21429 }
21430 {
21431 PyThreadState* __tstate = wxPyBeginAllowThreads();
21432 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const &)*arg2);
21433
21434 wxPyEndAllowThreads(__tstate);
21435 if (PyErr_Occurred()) SWIG_fail;
21436 }
21437 resultobj = PyInt_FromLong((long)result);
21438 return resultobj;
21439 fail:
21440 return NULL;
21441}
21442
21443
21444static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
21445 PyObject *obj;
21446 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21447 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
21448 Py_INCREF(obj);
21449 return Py_BuildValue((char *)"");
21450}
21451static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21452 PyObject *resultobj;
21453 long result;
21454 char *kwnames[] = {
21455 NULL
21456 };
21457
21458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
21459 {
21460 PyThreadState* __tstate = wxPyBeginAllowThreads();
21461 result = (long)wxGetLocalTime();
21462
21463 wxPyEndAllowThreads(__tstate);
21464 if (PyErr_Occurred()) SWIG_fail;
21465 }
21466 resultobj = PyInt_FromLong((long)result);
21467 return resultobj;
21468 fail:
21469 return NULL;
21470}
21471
21472
21473static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21474 PyObject *resultobj;
21475 long result;
21476 char *kwnames[] = {
21477 NULL
21478 };
21479
21480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
21481 {
21482 PyThreadState* __tstate = wxPyBeginAllowThreads();
21483 result = (long)wxGetUTCTime();
21484
21485 wxPyEndAllowThreads(__tstate);
21486 if (PyErr_Occurred()) SWIG_fail;
21487 }
21488 resultobj = PyInt_FromLong((long)result);
21489 return resultobj;
21490 fail:
21491 return NULL;
21492}
21493
21494
21495static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21496 PyObject *resultobj;
21497 long result;
21498 char *kwnames[] = {
21499 NULL
21500 };
21501
21502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
21503 {
21504 PyThreadState* __tstate = wxPyBeginAllowThreads();
21505 result = (long)wxGetCurrentTime();
21506
21507 wxPyEndAllowThreads(__tstate);
21508 if (PyErr_Occurred()) SWIG_fail;
21509 }
21510 resultobj = PyInt_FromLong((long)result);
21511 return resultobj;
21512 fail:
21513 return NULL;
21514}
21515
21516
21517static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
21518 PyObject *resultobj;
21519 wxLongLong result;
21520 char *kwnames[] = {
21521 NULL
21522 };
21523
21524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
21525 {
21526 PyThreadState* __tstate = wxPyBeginAllowThreads();
21527 result = wxGetLocalTimeMillis();
21528
21529 wxPyEndAllowThreads(__tstate);
21530 if (PyErr_Occurred()) SWIG_fail;
21531 }
21532 {
21533 PyObject *hi, *lo, *shifter, *shifted;
21534 hi = PyLong_FromLong( (&result)->GetHi() );
21535 lo = PyLong_FromLong( (&result)->GetLo() );
21536 shifter = PyLong_FromLong(32);
21537 shifted = PyNumber_Lshift(hi, shifter);
21538 resultobj = PyNumber_Or(shifted, lo);
21539 Py_DECREF(hi);
21540 Py_DECREF(lo);
21541 Py_DECREF(shifter);
21542 Py_DECREF(shifted);
21543 }
21544 return resultobj;
21545 fail:
21546 return NULL;
21547}
21548
21549
21550static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21551 PyObject *resultobj;
21552 int arg1 ;
21553 wxDataFormat *result;
21554 char *kwnames[] = {
21555 (char *) "type", NULL
21556 };
21557
21558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:new_DataFormat",kwnames,&arg1)) goto fail;
21559 {
21560 PyThreadState* __tstate = wxPyBeginAllowThreads();
21561 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
21562
21563 wxPyEndAllowThreads(__tstate);
21564 if (PyErr_Occurred()) SWIG_fail;
21565 }
21566 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21567 return resultobj;
21568 fail:
21569 return NULL;
21570}
21571
21572
21573static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21574 PyObject *resultobj;
21575 wxString *arg1 = 0 ;
21576 wxDataFormat *result;
423f194a 21577 bool temp1 = False ;
d14a1e28
RD
21578 PyObject * obj0 = 0 ;
21579 char *kwnames[] = {
21580 (char *) "format", NULL
21581 };
21582
21583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
21584 {
21585 arg1 = wxString_in_helper(obj0);
21586 if (arg1 == NULL) SWIG_fail;
423f194a 21587 temp1 = True;
d14a1e28
RD
21588 }
21589 {
21590 PyThreadState* __tstate = wxPyBeginAllowThreads();
21591 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
21592
21593 wxPyEndAllowThreads(__tstate);
21594 if (PyErr_Occurred()) SWIG_fail;
21595 }
21596 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21597 {
21598 if (temp1)
21599 delete arg1;
21600 }
21601 return resultobj;
21602 fail:
21603 {
21604 if (temp1)
21605 delete arg1;
21606 }
21607 return NULL;
21608}
21609
21610
21611static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21612 PyObject *resultobj;
21613 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21614 PyObject * obj0 = 0 ;
21615 char *kwnames[] = {
21616 (char *) "self", NULL
21617 };
21618
21619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
21620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21621 {
21622 PyThreadState* __tstate = wxPyBeginAllowThreads();
21623 delete arg1;
21624
21625 wxPyEndAllowThreads(__tstate);
21626 if (PyErr_Occurred()) SWIG_fail;
21627 }
21628 Py_INCREF(Py_None); resultobj = Py_None;
21629 return resultobj;
21630 fail:
21631 return NULL;
21632}
21633
21634
21635static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
21636 PyObject *resultobj;
21637 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21638 int arg2 ;
21639 bool result;
21640 PyObject * obj0 = 0 ;
21641
21642 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___eq__",&obj0,&arg2)) goto fail;
21643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21644 {
21645 PyThreadState* __tstate = wxPyBeginAllowThreads();
21646 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
21647
21648 wxPyEndAllowThreads(__tstate);
21649 if (PyErr_Occurred()) SWIG_fail;
21650 }
21651 resultobj = PyInt_FromLong((long)result);
21652 return resultobj;
21653 fail:
21654 return NULL;
21655}
21656
21657
21658static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
21659 PyObject *resultobj;
21660 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21661 int arg2 ;
21662 bool result;
21663 PyObject * obj0 = 0 ;
21664
21665 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___ne__",&obj0,&arg2)) goto fail;
21666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21667 {
21668 PyThreadState* __tstate = wxPyBeginAllowThreads();
21669 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
21670
21671 wxPyEndAllowThreads(__tstate);
21672 if (PyErr_Occurred()) SWIG_fail;
21673 }
21674 resultobj = PyInt_FromLong((long)result);
21675 return resultobj;
21676 fail:
21677 return NULL;
21678}
21679
21680
21681static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
21682 PyObject *resultobj;
21683 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21684 wxDataFormat *arg2 = 0 ;
21685 bool result;
21686 PyObject * obj0 = 0 ;
21687 PyObject * obj1 = 0 ;
21688
21689 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
21690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21691 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21692 if (arg2 == NULL) {
21693 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21694 }
21695 {
21696 PyThreadState* __tstate = wxPyBeginAllowThreads();
21697 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
21698
21699 wxPyEndAllowThreads(__tstate);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 }
21702 resultobj = PyInt_FromLong((long)result);
21703 return resultobj;
21704 fail:
21705 return NULL;
21706}
21707
21708
21709static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
21710 int argc;
21711 PyObject *argv[3];
21712 int ii;
21713
21714 argc = PyObject_Length(args);
21715 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21716 argv[ii] = PyTuple_GetItem(args,ii);
21717 }
21718 if (argc == 2) {
21719 int _v;
21720 {
21721 void *ptr;
21722 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21723 _v = 0;
21724 PyErr_Clear();
21725 } else {
21726 _v = 1;
21727 }
21728 }
21729 if (_v) {
21730 {
21731 void *ptr;
21732 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21733 _v = 0;
21734 PyErr_Clear();
21735 } else {
21736 _v = 1;
21737 }
21738 }
21739 if (_v) {
21740 return _wrap_DataFormat___eq____SWIG_1(self,args);
21741 }
21742 }
21743 }
21744 if (argc == 2) {
21745 int _v;
21746 {
21747 void *ptr;
21748 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21749 _v = 0;
21750 PyErr_Clear();
21751 } else {
21752 _v = 1;
21753 }
21754 }
21755 if (_v) {
21756 {
21757 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21758 }
21759 if (_v) {
21760 return _wrap_DataFormat___eq____SWIG_0(self,args);
21761 }
21762 }
21763 }
21764
21765 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
21766 return NULL;
21767}
21768
21769
21770static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
21771 PyObject *resultobj;
21772 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21773 wxDataFormat *arg2 = 0 ;
21774 bool result;
21775 PyObject * obj0 = 0 ;
21776 PyObject * obj1 = 0 ;
21777
21778 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
21779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21780 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21781 if (arg2 == NULL) {
21782 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21783 }
21784 {
21785 PyThreadState* __tstate = wxPyBeginAllowThreads();
21786 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
21787
21788 wxPyEndAllowThreads(__tstate);
21789 if (PyErr_Occurred()) SWIG_fail;
21790 }
21791 resultobj = PyInt_FromLong((long)result);
21792 return resultobj;
21793 fail:
21794 return NULL;
21795}
21796
21797
21798static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
21799 int argc;
21800 PyObject *argv[3];
21801 int ii;
21802
21803 argc = PyObject_Length(args);
21804 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21805 argv[ii] = PyTuple_GetItem(args,ii);
21806 }
21807 if (argc == 2) {
21808 int _v;
21809 {
21810 void *ptr;
21811 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21812 _v = 0;
21813 PyErr_Clear();
21814 } else {
21815 _v = 1;
21816 }
21817 }
21818 if (_v) {
21819 {
21820 void *ptr;
21821 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21822 _v = 0;
21823 PyErr_Clear();
21824 } else {
21825 _v = 1;
21826 }
21827 }
21828 if (_v) {
21829 return _wrap_DataFormat___ne____SWIG_1(self,args);
21830 }
21831 }
21832 }
21833 if (argc == 2) {
21834 int _v;
21835 {
21836 void *ptr;
21837 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21838 _v = 0;
21839 PyErr_Clear();
21840 } else {
21841 _v = 1;
21842 }
21843 }
21844 if (_v) {
21845 {
21846 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21847 }
21848 if (_v) {
21849 return _wrap_DataFormat___ne____SWIG_0(self,args);
21850 }
21851 }
21852 }
21853
21854 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
21855 return NULL;
21856}
21857
21858
21859static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21860 PyObject *resultobj;
21861 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21862 int arg2 ;
21863 PyObject * obj0 = 0 ;
21864 char *kwnames[] = {
21865 (char *) "self",(char *) "format", NULL
21866 };
21867
21868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DataFormat_SetType",kwnames,&obj0,&arg2)) goto fail;
21869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21870 {
21871 PyThreadState* __tstate = wxPyBeginAllowThreads();
21872 (arg1)->SetType((wxDataFormatId )arg2);
21873
21874 wxPyEndAllowThreads(__tstate);
21875 if (PyErr_Occurred()) SWIG_fail;
21876 }
21877 Py_INCREF(Py_None); resultobj = Py_None;
21878 return resultobj;
21879 fail:
21880 return NULL;
21881}
21882
21883
21884static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21885 PyObject *resultobj;
21886 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21887 int result;
21888 PyObject * obj0 = 0 ;
21889 char *kwnames[] = {
21890 (char *) "self", NULL
21891 };
21892
21893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
21894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21895 {
21896 PyThreadState* __tstate = wxPyBeginAllowThreads();
21897 result = (int)((wxDataFormat const *)arg1)->GetType();
21898
21899 wxPyEndAllowThreads(__tstate);
21900 if (PyErr_Occurred()) SWIG_fail;
21901 }
21902 resultobj = PyInt_FromLong((long)result);
21903 return resultobj;
21904 fail:
21905 return NULL;
21906}
21907
21908
21909static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21910 PyObject *resultobj;
21911 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21912 wxString result;
21913 PyObject * obj0 = 0 ;
21914 char *kwnames[] = {
21915 (char *) "self", NULL
21916 };
21917
21918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
21919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21920 {
21921 PyThreadState* __tstate = wxPyBeginAllowThreads();
21922 result = ((wxDataFormat const *)arg1)->GetId();
21923
21924 wxPyEndAllowThreads(__tstate);
21925 if (PyErr_Occurred()) SWIG_fail;
21926 }
21927 {
21928#if wxUSE_UNICODE
21929 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21930#else
21931 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21932#endif
21933 }
21934 return resultobj;
21935 fail:
21936 return NULL;
21937}
21938
21939
21940static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21941 PyObject *resultobj;
21942 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21943 wxString *arg2 = 0 ;
423f194a 21944 bool temp2 = False ;
d14a1e28
RD
21945 PyObject * obj0 = 0 ;
21946 PyObject * obj1 = 0 ;
21947 char *kwnames[] = {
21948 (char *) "self",(char *) "format", NULL
21949 };
21950
21951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
21952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21953 {
21954 arg2 = wxString_in_helper(obj1);
21955 if (arg2 == NULL) SWIG_fail;
423f194a 21956 temp2 = True;
d14a1e28
RD
21957 }
21958 {
21959 PyThreadState* __tstate = wxPyBeginAllowThreads();
21960 (arg1)->SetId((wxString const &)*arg2);
21961
21962 wxPyEndAllowThreads(__tstate);
21963 if (PyErr_Occurred()) SWIG_fail;
21964 }
21965 Py_INCREF(Py_None); resultobj = Py_None;
21966 {
21967 if (temp2)
21968 delete arg2;
21969 }
21970 return resultobj;
21971 fail:
21972 {
21973 if (temp2)
21974 delete arg2;
21975 }
21976 return NULL;
21977}
21978
21979
21980static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
21981 PyObject *obj;
21982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21983 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
21984 Py_INCREF(obj);
21985 return Py_BuildValue((char *)"");
21986}
21987static int _wrap_FormatInvalid_set(PyObject *_val) {
21988 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
21989 return 1;
21990}
21991
21992
21993static PyObject *_wrap_FormatInvalid_get() {
21994 PyObject *pyobj;
21995
21996 pyobj = SWIG_NewPointerObj((void *) &wxFormatInvalid, SWIGTYPE_p_wxDataFormat, 0);
21997 return pyobj;
21998}
21999
22000
22001static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22002 PyObject *resultobj;
22003 wxDataObject *arg1 = (wxDataObject *) 0 ;
22004 PyObject * obj0 = 0 ;
22005 char *kwnames[] = {
22006 (char *) "self", NULL
22007 };
22008
22009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
22010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22011 {
22012 PyThreadState* __tstate = wxPyBeginAllowThreads();
22013 delete arg1;
22014
22015 wxPyEndAllowThreads(__tstate);
22016 if (PyErr_Occurred()) SWIG_fail;
22017 }
22018 Py_INCREF(Py_None); resultobj = Py_None;
22019 return resultobj;
22020 fail:
22021 return NULL;
22022}
22023
22024
22025static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22026 PyObject *resultobj;
22027 wxDataObject *arg1 = (wxDataObject *) 0 ;
22028 int arg2 = (int) wxDataObject::Get ;
22029 SwigValueWrapper< wxDataFormat > result;
22030 PyObject * obj0 = 0 ;
22031 char *kwnames[] = {
22032 (char *) "self",(char *) "dir", NULL
22033 };
22034
22035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetPreferredFormat",kwnames,&obj0,&arg2)) goto fail;
22036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22037 {
22038 PyThreadState* __tstate = wxPyBeginAllowThreads();
22039 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
22040
22041 wxPyEndAllowThreads(__tstate);
22042 if (PyErr_Occurred()) SWIG_fail;
22043 }
22044 {
22045 wxDataFormat * resultptr;
22046 resultptr = new wxDataFormat((wxDataFormat &) result);
22047 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDataFormat, 1);
22048 }
22049 return resultobj;
22050 fail:
22051 return NULL;
22052}
22053
22054
22055static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22056 PyObject *resultobj;
22057 wxDataObject *arg1 = (wxDataObject *) 0 ;
22058 int arg2 = (int) wxDataObject::Get ;
22059 size_t result;
22060 PyObject * obj0 = 0 ;
22061 char *kwnames[] = {
22062 (char *) "self",(char *) "dir", NULL
22063 };
22064
22065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetFormatCount",kwnames,&obj0,&arg2)) goto fail;
22066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22067 {
22068 PyThreadState* __tstate = wxPyBeginAllowThreads();
22069 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
22070
22071 wxPyEndAllowThreads(__tstate);
22072 if (PyErr_Occurred()) SWIG_fail;
22073 }
22074 resultobj = PyInt_FromLong((long)result);
22075 return resultobj;
22076 fail:
22077 return NULL;
22078}
22079
22080
22081static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
22082 PyObject *resultobj;
22083 wxDataObject *arg1 = (wxDataObject *) 0 ;
22084 wxDataFormat *arg2 = 0 ;
22085 int arg3 = (int) wxDataObject::Get ;
22086 bool result;
22087 PyObject * obj0 = 0 ;
22088 PyObject * obj1 = 0 ;
22089 char *kwnames[] = {
22090 (char *) "self",(char *) "format",(char *) "dir", NULL
22091 };
22092
22093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_IsSupported",kwnames,&obj0,&obj1,&arg3)) goto fail;
22094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22095 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22096 if (arg2 == NULL) {
22097 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22098 }
22099 {
22100 PyThreadState* __tstate = wxPyBeginAllowThreads();
22101 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
22102
22103 wxPyEndAllowThreads(__tstate);
22104 if (PyErr_Occurred()) SWIG_fail;
22105 }
22106 resultobj = PyInt_FromLong((long)result);
22107 return resultobj;
22108 fail:
22109 return NULL;
22110}
22111
22112
22113static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22114 PyObject *resultobj;
22115 wxDataObject *arg1 = (wxDataObject *) 0 ;
22116 wxDataFormat *arg2 = 0 ;
22117 size_t result;
22118 PyObject * obj0 = 0 ;
22119 PyObject * obj1 = 0 ;
22120 char *kwnames[] = {
22121 (char *) "self",(char *) "format", NULL
22122 };
22123
22124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
22125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22126 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22127 if (arg2 == NULL) {
22128 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22129 }
22130 {
22131 PyThreadState* __tstate = wxPyBeginAllowThreads();
22132 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
22133
22134 wxPyEndAllowThreads(__tstate);
22135 if (PyErr_Occurred()) SWIG_fail;
22136 }
22137 resultobj = PyInt_FromLong((long)result);
22138 return resultobj;
22139 fail:
22140 return NULL;
22141}
22142
22143
22144static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
22145 PyObject *resultobj;
22146 wxDataObject *arg1 = (wxDataObject *) 0 ;
22147 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
22148 int arg3 = (int) wxDataObject::Get ;
22149 PyObject * obj0 = 0 ;
22150 PyObject * obj1 = 0 ;
22151 char *kwnames[] = {
22152 (char *) "self",(char *) "formats",(char *) "dir", NULL
22153 };
22154
22155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&arg3)) goto fail;
22156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22157 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22158 {
22159 PyThreadState* __tstate = wxPyBeginAllowThreads();
22160 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
22161
22162 wxPyEndAllowThreads(__tstate);
22163 if (PyErr_Occurred()) SWIG_fail;
22164 }
22165 Py_INCREF(Py_None); resultobj = Py_None;
22166 return resultobj;
22167 fail:
22168 return NULL;
22169}
22170
22171
22172static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
22173 PyObject *resultobj;
22174 wxDataObject *arg1 = (wxDataObject *) 0 ;
22175 wxDataFormat *arg2 = 0 ;
22176 void *arg3 = (void *) 0 ;
22177 bool result;
22178 PyObject * obj0 = 0 ;
22179 PyObject * obj1 = 0 ;
22180 PyObject * obj2 = 0 ;
22181 char *kwnames[] = {
22182 (char *) "self",(char *) "format",(char *) "buf", NULL
22183 };
22184
22185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
22186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22187 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22188 if (arg2 == NULL) {
22189 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22190 }
22191 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22192 {
22193 PyThreadState* __tstate = wxPyBeginAllowThreads();
22194 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
22195
22196 wxPyEndAllowThreads(__tstate);
22197 if (PyErr_Occurred()) SWIG_fail;
22198 }
22199 resultobj = PyInt_FromLong((long)result);
22200 return resultobj;
22201 fail:
22202 return NULL;
22203}
22204
22205
22206static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22207 PyObject *resultobj;
22208 wxDataObject *arg1 = (wxDataObject *) 0 ;
22209 wxDataFormat *arg2 = 0 ;
22210 size_t arg3 ;
22211 void *arg4 = (void *) 0 ;
22212 bool result;
22213 PyObject * obj0 = 0 ;
22214 PyObject * obj1 = 0 ;
22215 PyObject * obj2 = 0 ;
22216 PyObject * obj3 = 0 ;
22217 char *kwnames[] = {
22218 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
22219 };
22220
22221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22223 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22224 if (arg2 == NULL) {
22225 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22226 }
22227 arg3 = (size_t) PyInt_AsLong(obj2);
22228 if (PyErr_Occurred()) SWIG_fail;
22229 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22230 {
22231 PyThreadState* __tstate = wxPyBeginAllowThreads();
22232 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
22233
22234 wxPyEndAllowThreads(__tstate);
22235 if (PyErr_Occurred()) SWIG_fail;
22236 }
22237 resultobj = PyInt_FromLong((long)result);
22238 return resultobj;
22239 fail:
22240 return NULL;
22241}
22242
22243
22244static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
22245 PyObject *obj;
22246 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22247 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
22248 Py_INCREF(obj);
22249 return Py_BuildValue((char *)"");
22250}
22251static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22252 PyObject *resultobj;
22253 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22254 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22255 wxDataObjectSimple *result;
22256 PyObject * obj0 = 0 ;
22257 char *kwnames[] = {
22258 (char *) "format", NULL
22259 };
22260
22261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
22262 if (obj0) {
22263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22264 if (arg1 == NULL) {
22265 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22266 }
22267 }
22268 {
22269 PyThreadState* __tstate = wxPyBeginAllowThreads();
22270 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
22271
22272 wxPyEndAllowThreads(__tstate);
22273 if (PyErr_Occurred()) SWIG_fail;
22274 }
22275 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectSimple, 1);
22276 return resultobj;
22277 fail:
22278 return NULL;
22279}
22280
22281
22282static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22283 PyObject *resultobj;
22284 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22285 wxDataFormat *result;
22286 PyObject * obj0 = 0 ;
22287 char *kwnames[] = {
22288 (char *) "self", NULL
22289 };
22290
22291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
22292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22293 {
22294 PyThreadState* __tstate = wxPyBeginAllowThreads();
22295 {
22296 wxDataFormat const &_result_ref = (arg1)->GetFormat();
22297 result = (wxDataFormat *) &_result_ref;
22298 }
22299
22300 wxPyEndAllowThreads(__tstate);
22301 if (PyErr_Occurred()) SWIG_fail;
22302 }
22303 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 0);
22304 return resultobj;
22305 fail:
22306 return NULL;
22307}
22308
22309
22310static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22311 PyObject *resultobj;
22312 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22313 wxDataFormat *arg2 = 0 ;
22314 PyObject * obj0 = 0 ;
22315 PyObject * obj1 = 0 ;
22316 char *kwnames[] = {
22317 (char *) "self",(char *) "format", NULL
22318 };
22319
22320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
22321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22322 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22323 if (arg2 == NULL) {
22324 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22325 }
22326 {
22327 PyThreadState* __tstate = wxPyBeginAllowThreads();
22328 (arg1)->SetFormat((wxDataFormat const &)*arg2);
22329
22330 wxPyEndAllowThreads(__tstate);
22331 if (PyErr_Occurred()) SWIG_fail;
22332 }
22333 Py_INCREF(Py_None); resultobj = Py_None;
22334 return resultobj;
22335 fail:
22336 return NULL;
22337}
22338
22339
22340static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22341 PyObject *obj;
22342 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22343 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
22344 Py_INCREF(obj);
22345 return Py_BuildValue((char *)"");
22346}
22347static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22348 PyObject *resultobj;
22349 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22350 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22351 wxPyDataObjectSimple *result;
22352 PyObject * obj0 = 0 ;
22353 char *kwnames[] = {
22354 (char *) "format", NULL
22355 };
22356
22357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
22358 if (obj0) {
22359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22360 if (arg1 == NULL) {
22361 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22362 }
22363 }
22364 {
22365 PyThreadState* __tstate = wxPyBeginAllowThreads();
22366 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
22367
22368 wxPyEndAllowThreads(__tstate);
22369 if (PyErr_Occurred()) SWIG_fail;
22370 }
22371 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDataObjectSimple, 1);
22372 return resultobj;
22373 fail:
22374 return NULL;
22375}
22376
22377
22378static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22379 PyObject *resultobj;
22380 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
22381 PyObject *arg2 = (PyObject *) 0 ;
22382 PyObject *arg3 = (PyObject *) 0 ;
22383 PyObject * obj0 = 0 ;
22384 PyObject * obj1 = 0 ;
22385 PyObject * obj2 = 0 ;
22386 char *kwnames[] = {
22387 (char *) "self",(char *) "self",(char *) "_class", NULL
22388 };
22389
22390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22392 arg2 = obj1;
22393 arg3 = obj2;
22394 {
22395 PyThreadState* __tstate = wxPyBeginAllowThreads();
22396 (arg1)->_setCallbackInfo(arg2,arg3);
22397
22398 wxPyEndAllowThreads(__tstate);
22399 if (PyErr_Occurred()) SWIG_fail;
22400 }
22401 Py_INCREF(Py_None); resultobj = Py_None;
22402 return resultobj;
22403 fail:
22404 return NULL;
22405}
22406
22407
22408static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22409 PyObject *obj;
22410 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22411 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
22412 Py_INCREF(obj);
22413 return Py_BuildValue((char *)"");
22414}
22415static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
22416 PyObject *resultobj;
22417 wxDataObjectComposite *result;
22418 char *kwnames[] = {
22419 NULL
22420 };
22421
22422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
22423 {
22424 PyThreadState* __tstate = wxPyBeginAllowThreads();
22425 result = (wxDataObjectComposite *)new wxDataObjectComposite();
22426
22427 wxPyEndAllowThreads(__tstate);
22428 if (PyErr_Occurred()) SWIG_fail;
22429 }
22430 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectComposite, 1);
22431 return resultobj;
22432 fail:
22433 return NULL;
22434}
22435
22436
22437static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
22438 PyObject *resultobj;
22439 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
22440 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
423f194a 22441 int arg3 = (int) False ;
d14a1e28
RD
22442 PyObject * obj0 = 0 ;
22443 PyObject * obj1 = 0 ;
22444 char *kwnames[] = {
22445 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
22446 };
22447
22448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObjectComposite_Add",kwnames,&obj0,&obj1,&arg3)) goto fail;
22449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectComposite,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22450 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22451 {
22452 PyThreadState* __tstate = wxPyBeginAllowThreads();
22453 (arg1)->Add(arg2,arg3);
22454
22455 wxPyEndAllowThreads(__tstate);
22456 if (PyErr_Occurred()) SWIG_fail;
22457 }
22458 Py_INCREF(Py_None); resultobj = Py_None;
22459 return resultobj;
22460 fail:
22461 return NULL;
22462}
22463
22464
22465static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
22466 PyObject *obj;
22467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22468 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
22469 Py_INCREF(obj);
22470 return Py_BuildValue((char *)"");
22471}
22472static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22473 PyObject *resultobj;
22474 wxString const &arg1_defvalue = wxPyEmptyString ;
22475 wxString *arg1 = (wxString *) &arg1_defvalue ;
22476 wxTextDataObject *result;
423f194a 22477 bool temp1 = False ;
d14a1e28
RD
22478 PyObject * obj0 = 0 ;
22479 char *kwnames[] = {
22480 (char *) "text", NULL
22481 };
22482
22483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
22484 if (obj0) {
22485 {
22486 arg1 = wxString_in_helper(obj0);
22487 if (arg1 == NULL) SWIG_fail;
423f194a 22488 temp1 = True;
d14a1e28
RD
22489 }
22490 }
22491 {
22492 PyThreadState* __tstate = wxPyBeginAllowThreads();
22493 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
22494
22495 wxPyEndAllowThreads(__tstate);
22496 if (PyErr_Occurred()) SWIG_fail;
22497 }
22498 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextDataObject, 1);
22499 {
22500 if (temp1)
22501 delete arg1;
22502 }
22503 return resultobj;
22504 fail:
22505 {
22506 if (temp1)
22507 delete arg1;
22508 }
22509 return NULL;
22510}
22511
22512
22513static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
22514 PyObject *resultobj;
22515 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22516 size_t result;
22517 PyObject * obj0 = 0 ;
22518 char *kwnames[] = {
22519 (char *) "self", NULL
22520 };
22521
22522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
22523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22524 {
22525 PyThreadState* __tstate = wxPyBeginAllowThreads();
22526 result = (size_t)(arg1)->GetTextLength();
22527
22528 wxPyEndAllowThreads(__tstate);
22529 if (PyErr_Occurred()) SWIG_fail;
22530 }
22531 resultobj = PyInt_FromLong((long)result);
22532 return resultobj;
22533 fail:
22534 return NULL;
22535}
22536
22537
22538static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22539 PyObject *resultobj;
22540 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22541 wxString result;
22542 PyObject * obj0 = 0 ;
22543 char *kwnames[] = {
22544 (char *) "self", NULL
22545 };
22546
22547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
22548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22549 {
22550 PyThreadState* __tstate = wxPyBeginAllowThreads();
22551 result = (arg1)->GetText();
22552
22553 wxPyEndAllowThreads(__tstate);
22554 if (PyErr_Occurred()) SWIG_fail;
22555 }
22556 {
22557#if wxUSE_UNICODE
22558 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22559#else
22560 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22561#endif
22562 }
22563 return resultobj;
22564 fail:
22565 return NULL;
22566}
22567
22568
22569static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22570 PyObject *resultobj;
22571 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22572 wxString *arg2 = 0 ;
423f194a 22573 bool temp2 = False ;
d14a1e28
RD
22574 PyObject * obj0 = 0 ;
22575 PyObject * obj1 = 0 ;
22576 char *kwnames[] = {
22577 (char *) "self",(char *) "text", NULL
22578 };
22579
22580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
22581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22582 {
22583 arg2 = wxString_in_helper(obj1);
22584 if (arg2 == NULL) SWIG_fail;
423f194a 22585 temp2 = True;
d14a1e28
RD
22586 }
22587 {
22588 PyThreadState* __tstate = wxPyBeginAllowThreads();
22589 (arg1)->SetText((wxString const &)*arg2);
22590
22591 wxPyEndAllowThreads(__tstate);
22592 if (PyErr_Occurred()) SWIG_fail;
22593 }
22594 Py_INCREF(Py_None); resultobj = Py_None;
22595 {
22596 if (temp2)
22597 delete arg2;
22598 }
22599 return resultobj;
22600 fail:
22601 {
22602 if (temp2)
22603 delete arg2;
22604 }
22605 return NULL;
22606}
22607
22608
22609static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
22610 PyObject *obj;
22611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22612 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
22613 Py_INCREF(obj);
22614 return Py_BuildValue((char *)"");
22615}
22616static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22617 PyObject *resultobj;
22618 wxString const &arg1_defvalue = wxPyEmptyString ;
22619 wxString *arg1 = (wxString *) &arg1_defvalue ;
22620 wxPyTextDataObject *result;
423f194a 22621 bool temp1 = False ;
d14a1e28
RD
22622 PyObject * obj0 = 0 ;
22623 char *kwnames[] = {
22624 (char *) "text", NULL
22625 };
22626
22627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
22628 if (obj0) {
22629 {
22630 arg1 = wxString_in_helper(obj0);
22631 if (arg1 == NULL) SWIG_fail;
423f194a 22632 temp1 = True;
d14a1e28
RD
22633 }
22634 }
22635 {
22636 PyThreadState* __tstate = wxPyBeginAllowThreads();
22637 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
22638
22639 wxPyEndAllowThreads(__tstate);
22640 if (PyErr_Occurred()) SWIG_fail;
22641 }
22642 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDataObject, 1);
22643 {
22644 if (temp1)
22645 delete arg1;
22646 }
22647 return resultobj;
22648 fail:
22649 {
22650 if (temp1)
22651 delete arg1;
22652 }
22653 return NULL;
22654}
22655
22656
22657static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22658 PyObject *resultobj;
22659 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
22660 PyObject *arg2 = (PyObject *) 0 ;
22661 PyObject *arg3 = (PyObject *) 0 ;
22662 PyObject * obj0 = 0 ;
22663 PyObject * obj1 = 0 ;
22664 PyObject * obj2 = 0 ;
22665 char *kwnames[] = {
22666 (char *) "self",(char *) "self",(char *) "_class", NULL
22667 };
22668
22669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22671 arg2 = obj1;
22672 arg3 = obj2;
22673 {
22674 PyThreadState* __tstate = wxPyBeginAllowThreads();
22675 (arg1)->_setCallbackInfo(arg2,arg3);
22676
22677 wxPyEndAllowThreads(__tstate);
22678 if (PyErr_Occurred()) SWIG_fail;
22679 }
22680 Py_INCREF(Py_None); resultobj = Py_None;
22681 return resultobj;
22682 fail:
22683 return NULL;
22684}
22685
22686
22687static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
22688 PyObject *obj;
22689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22690 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
22691 Py_INCREF(obj);
22692 return Py_BuildValue((char *)"");
22693}
22694static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22695 PyObject *resultobj;
22696 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22697 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22698 wxBitmapDataObject *result;
22699 PyObject * obj0 = 0 ;
22700 char *kwnames[] = {
22701 (char *) "bitmap", NULL
22702 };
22703
22704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
22705 if (obj0) {
22706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22707 if (arg1 == NULL) {
22708 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22709 }
22710 }
22711 {
22712 PyThreadState* __tstate = wxPyBeginAllowThreads();
22713 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
22714
22715 wxPyEndAllowThreads(__tstate);
22716 if (PyErr_Occurred()) SWIG_fail;
22717 }
22718 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmapDataObject, 1);
22719 return resultobj;
22720 fail:
22721 return NULL;
22722}
22723
22724
22725static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22726 PyObject *resultobj;
22727 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22728 wxBitmap result;
22729 PyObject * obj0 = 0 ;
22730 char *kwnames[] = {
22731 (char *) "self", NULL
22732 };
22733
22734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
22735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22736 {
22737 PyThreadState* __tstate = wxPyBeginAllowThreads();
22738 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
22739
22740 wxPyEndAllowThreads(__tstate);
22741 if (PyErr_Occurred()) SWIG_fail;
22742 }
22743 {
22744 wxBitmap * resultptr;
22745 resultptr = new wxBitmap((wxBitmap &) result);
22746 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
22747 }
22748 return resultobj;
22749 fail:
22750 return NULL;
22751}
22752
22753
22754static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22755 PyObject *resultobj;
22756 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22757 wxBitmap *arg2 = 0 ;
22758 PyObject * obj0 = 0 ;
22759 PyObject * obj1 = 0 ;
22760 char *kwnames[] = {
22761 (char *) "self",(char *) "bitmap", NULL
22762 };
22763
22764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
22765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22766 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22767 if (arg2 == NULL) {
22768 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22769 }
22770 {
22771 PyThreadState* __tstate = wxPyBeginAllowThreads();
22772 (arg1)->SetBitmap((wxBitmap const &)*arg2);
22773
22774 wxPyEndAllowThreads(__tstate);
22775 if (PyErr_Occurred()) SWIG_fail;
22776 }
22777 Py_INCREF(Py_None); resultobj = Py_None;
22778 return resultobj;
22779 fail:
22780 return NULL;
22781}
22782
22783
22784static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22785 PyObject *obj;
22786 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22787 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
22788 Py_INCREF(obj);
22789 return Py_BuildValue((char *)"");
22790}
22791static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22792 PyObject *resultobj;
22793 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22794 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22795 wxPyBitmapDataObject *result;
22796 PyObject * obj0 = 0 ;
22797 char *kwnames[] = {
22798 (char *) "bitmap", NULL
22799 };
22800
22801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
22802 if (obj0) {
22803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22804 if (arg1 == NULL) {
22805 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22806 }
22807 }
22808 {
22809 PyThreadState* __tstate = wxPyBeginAllowThreads();
22810 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
22811
22812 wxPyEndAllowThreads(__tstate);
22813 if (PyErr_Occurred()) SWIG_fail;
22814 }
22815 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapDataObject, 1);
22816 return resultobj;
22817 fail:
22818 return NULL;
22819}
22820
22821
22822static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22823 PyObject *resultobj;
22824 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
22825 PyObject *arg2 = (PyObject *) 0 ;
22826 PyObject *arg3 = (PyObject *) 0 ;
22827 PyObject * obj0 = 0 ;
22828 PyObject * obj1 = 0 ;
22829 PyObject * obj2 = 0 ;
22830 char *kwnames[] = {
22831 (char *) "self",(char *) "self",(char *) "_class", NULL
22832 };
22833
22834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22836 arg2 = obj1;
22837 arg3 = obj2;
22838 {
22839 PyThreadState* __tstate = wxPyBeginAllowThreads();
22840 (arg1)->_setCallbackInfo(arg2,arg3);
22841
22842 wxPyEndAllowThreads(__tstate);
22843 if (PyErr_Occurred()) SWIG_fail;
22844 }
22845 Py_INCREF(Py_None); resultobj = Py_None;
22846 return resultobj;
22847 fail:
22848 return NULL;
22849}
22850
22851
22852static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22853 PyObject *obj;
22854 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22855 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
22856 Py_INCREF(obj);
22857 return Py_BuildValue((char *)"");
22858}
22859static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22860 PyObject *resultobj;
22861 wxFileDataObject *result;
22862 char *kwnames[] = {
22863 NULL
22864 };
22865
22866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
22867 {
22868 PyThreadState* __tstate = wxPyBeginAllowThreads();
22869 result = (wxFileDataObject *)new wxFileDataObject();
22870
22871 wxPyEndAllowThreads(__tstate);
22872 if (PyErr_Occurred()) SWIG_fail;
22873 }
22874 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDataObject, 1);
22875 return resultobj;
22876 fail:
22877 return NULL;
22878}
22879
22880
22881static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
22882 PyObject *resultobj;
22883 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
22884 wxArrayString *result;
22885 PyObject * obj0 = 0 ;
22886 char *kwnames[] = {
22887 (char *) "self", NULL
22888 };
22889
22890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
22891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22892 {
22893 PyThreadState* __tstate = wxPyBeginAllowThreads();
22894 {
22895 wxArrayString const &_result_ref = (arg1)->GetFilenames();
22896 result = (wxArrayString *) &_result_ref;
22897 }
22898
22899 wxPyEndAllowThreads(__tstate);
22900 if (PyErr_Occurred()) SWIG_fail;
22901 }
22902 {
22903 resultobj = wxArrayString2PyList_helper(*result);
22904 }
22905 return resultobj;
22906 fail:
22907 return NULL;
22908}
22909
22910
22911static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
22912 PyObject *obj;
22913 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22914 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
22915 Py_INCREF(obj);
22916 return Py_BuildValue((char *)"");
22917}
22918static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22919 PyObject *resultobj;
22920 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22921 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22922 wxCustomDataObject *result;
22923 PyObject * obj0 = 0 ;
22924 char *kwnames[] = {
22925 (char *) "format", NULL
22926 };
22927
22928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
22929 if (obj0) {
22930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22931 if (arg1 == NULL) {
22932 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22933 }
22934 }
22935 {
22936 PyThreadState* __tstate = wxPyBeginAllowThreads();
22937 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
22938
22939 wxPyEndAllowThreads(__tstate);
22940 if (PyErr_Occurred()) SWIG_fail;
22941 }
22942 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCustomDataObject, 1);
22943 return resultobj;
22944 fail:
22945 return NULL;
22946}
22947
22948
22949static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
22950 PyObject *resultobj;
22951 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22952 PyObject *arg2 = (PyObject *) 0 ;
22953 PyObject * obj0 = 0 ;
22954 PyObject * obj1 = 0 ;
22955 char *kwnames[] = {
22956 (char *) "self",(char *) "data", NULL
22957 };
22958
22959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
22960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22961 arg2 = obj1;
22962 {
22963 PyThreadState* __tstate = wxPyBeginAllowThreads();
22964 wxCustomDataObject_TakeData(arg1,arg2);
22965
22966 wxPyEndAllowThreads(__tstate);
22967 if (PyErr_Occurred()) SWIG_fail;
22968 }
22969 Py_INCREF(Py_None); resultobj = Py_None;
22970 return resultobj;
22971 fail:
22972 return NULL;
22973}
22974
22975
22976static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22977 PyObject *resultobj;
22978 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
22979 PyObject *arg2 = (PyObject *) 0 ;
22980 bool result;
22981 PyObject * obj0 = 0 ;
22982 PyObject * obj1 = 0 ;
22983 char *kwnames[] = {
22984 (char *) "self",(char *) "data", NULL
22985 };
22986
22987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
22988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22989 arg2 = obj1;
22990 {
22991 PyThreadState* __tstate = wxPyBeginAllowThreads();
22992 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
22993
22994 wxPyEndAllowThreads(__tstate);
22995 if (PyErr_Occurred()) SWIG_fail;
22996 }
22997 resultobj = PyInt_FromLong((long)result);
22998 return resultobj;
22999 fail:
23000 return NULL;
23001}
23002
23003
23004static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23005 PyObject *resultobj;
23006 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
23007 size_t result;
23008 PyObject * obj0 = 0 ;
23009 char *kwnames[] = {
23010 (char *) "self", NULL
23011 };
23012
23013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
23014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23015 {
23016 PyThreadState* __tstate = wxPyBeginAllowThreads();
23017 result = (size_t)(arg1)->GetSize();
23018
23019 wxPyEndAllowThreads(__tstate);
23020 if (PyErr_Occurred()) SWIG_fail;
23021 }
23022 resultobj = PyInt_FromLong((long)result);
23023 return resultobj;
23024 fail:
23025 return NULL;
23026}
23027
23028
23029static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23030 PyObject *resultobj;
23031 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
23032 PyObject *result;
23033 PyObject * obj0 = 0 ;
23034 char *kwnames[] = {
23035 (char *) "self", NULL
23036 };
23037
23038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
23039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23040 {
23041 PyThreadState* __tstate = wxPyBeginAllowThreads();
23042 result = (PyObject *)wxCustomDataObject_GetData(arg1);
23043
23044 wxPyEndAllowThreads(__tstate);
23045 if (PyErr_Occurred()) SWIG_fail;
23046 }
23047 resultobj = result;
23048 return resultobj;
23049 fail:
23050 return NULL;
23051}
23052
23053
23054static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
23055 PyObject *obj;
23056 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23057 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
23058 Py_INCREF(obj);
23059 return Py_BuildValue((char *)"");
23060}
23061static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23062 PyObject *resultobj;
23063 wxURLDataObject *result;
23064 char *kwnames[] = {
23065 NULL
23066 };
23067
23068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
23069 {
23070 PyThreadState* __tstate = wxPyBeginAllowThreads();
23071 result = (wxURLDataObject *)new wxURLDataObject();
23072
23073 wxPyEndAllowThreads(__tstate);
23074 if (PyErr_Occurred()) SWIG_fail;
23075 }
23076 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxURLDataObject, 1);
23077 return resultobj;
23078 fail:
23079 return NULL;
23080}
23081
23082
23083static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
23084 PyObject *resultobj;
23085 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
23086 wxString result;
23087 PyObject * obj0 = 0 ;
23088 char *kwnames[] = {
23089 (char *) "self", NULL
23090 };
23091
23092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
23093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23094 {
23095 PyThreadState* __tstate = wxPyBeginAllowThreads();
23096 result = (arg1)->GetURL();
23097
23098 wxPyEndAllowThreads(__tstate);
23099 if (PyErr_Occurred()) SWIG_fail;
23100 }
23101 {
23102#if wxUSE_UNICODE
23103 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23104#else
23105 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23106#endif
23107 }
23108 return resultobj;
23109 fail:
23110 return NULL;
23111}
23112
23113
23114static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
23115 PyObject *resultobj;
23116 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
23117 wxString *arg2 = 0 ;
423f194a 23118 bool temp2 = False ;
d14a1e28
RD
23119 PyObject * obj0 = 0 ;
23120 PyObject * obj1 = 0 ;
23121 char *kwnames[] = {
23122 (char *) "self",(char *) "url", NULL
23123 };
23124
23125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
23126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23127 {
23128 arg2 = wxString_in_helper(obj1);
23129 if (arg2 == NULL) SWIG_fail;
423f194a 23130 temp2 = True;
d14a1e28
RD
23131 }
23132 {
23133 PyThreadState* __tstate = wxPyBeginAllowThreads();
23134 (arg1)->SetURL((wxString const &)*arg2);
23135
23136 wxPyEndAllowThreads(__tstate);
23137 if (PyErr_Occurred()) SWIG_fail;
23138 }
23139 Py_INCREF(Py_None); resultobj = Py_None;
23140 {
23141 if (temp2)
23142 delete arg2;
23143 }
23144 return resultobj;
23145 fail:
23146 {
23147 if (temp2)
23148 delete arg2;
23149 }
23150 return NULL;
23151}
23152
23153
23154static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
23155 PyObject *obj;
23156 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23157 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
23158 Py_INCREF(obj);
23159 return Py_BuildValue((char *)"");
23160}
23161static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23162 PyObject *resultobj;
23163 wxMetafileDataObject *result;
23164 char *kwnames[] = {
23165 NULL
23166 };
23167
23168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
23169 {
23170 PyThreadState* __tstate = wxPyBeginAllowThreads();
23171 result = (wxMetafileDataObject *)new wxMetafileDataObject();
23172
23173 wxPyEndAllowThreads(__tstate);
23174 if (PyErr_Occurred()) SWIG_fail;
23175 }
23176 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMetafileDataObject, 1);
23177 return resultobj;
23178 fail:
23179 return NULL;
23180}
23181
23182
23183static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
23184 PyObject *resultobj;
23185 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
23186 wxMetafile *arg2 = 0 ;
23187 PyObject * obj0 = 0 ;
23188 PyObject * obj1 = 0 ;
23189 char *kwnames[] = {
23190 (char *) "self",(char *) "metafile", NULL
23191 };
23192
23193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
23194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMetafileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23195 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMetafile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23196 if (arg2 == NULL) {
23197 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23198 }
23199 {
23200 PyThreadState* __tstate = wxPyBeginAllowThreads();
23201 (arg1)->SetMetafile((wxMetafile const &)*arg2);
23202
23203 wxPyEndAllowThreads(__tstate);
23204 if (PyErr_Occurred()) SWIG_fail;
23205 }
23206 Py_INCREF(Py_None); resultobj = Py_None;
23207 return resultobj;
23208 fail:
23209 return NULL;
23210}
23211
23212
23213static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
23214 PyObject *resultobj;
23215 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
23216 wxMetafile result;
23217 PyObject * obj0 = 0 ;
23218 char *kwnames[] = {
23219 (char *) "self", NULL
23220 };
23221
23222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
23223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMetafileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23224 {
23225 PyThreadState* __tstate = wxPyBeginAllowThreads();
23226 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
23227
23228 wxPyEndAllowThreads(__tstate);
23229 if (PyErr_Occurred()) SWIG_fail;
23230 }
23231 {
23232 wxMetafile * resultptr;
23233 resultptr = new wxMetafile((wxMetafile &) result);
23234 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxMetafile, 1);
23235 }
23236 return resultobj;
23237 fail:
23238 return NULL;
23239}
23240
23241
23242static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
23243 PyObject *obj;
23244 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23245 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
23246 Py_INCREF(obj);
23247 return Py_BuildValue((char *)"");
23248}
23249static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23250 PyObject *resultobj;
23251 int arg1 ;
23252 bool result;
23253 char *kwnames[] = {
23254 (char *) "res", NULL
23255 };
23256
23257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:IsDragResultOk",kwnames,&arg1)) goto fail;
23258 {
23259 PyThreadState* __tstate = wxPyBeginAllowThreads();
23260 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
23261
23262 wxPyEndAllowThreads(__tstate);
23263 if (PyErr_Occurred()) SWIG_fail;
23264 }
23265 resultobj = PyInt_FromLong((long)result);
23266 return resultobj;
23267 fail:
23268 return NULL;
23269}
23270
23271
23272static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23273 PyObject *resultobj;
23274 wxWindow *arg1 = (wxWindow *) NULL ;
23275 wxCursor const &arg2_defvalue = wxNullCursor ;
23276 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
23277 wxCursor const &arg3_defvalue = wxNullCursor ;
23278 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
23279 wxCursor const &arg4_defvalue = wxNullCursor ;
23280 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
23281 wxPyDropSource *result;
23282 PyObject * obj0 = 0 ;
23283 PyObject * obj1 = 0 ;
23284 PyObject * obj2 = 0 ;
23285 PyObject * obj3 = 0 ;
23286 char *kwnames[] = {
23287 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
23288 };
23289
23290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23291 if (obj0) {
23292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23293 }
23294 if (obj1) {
23295 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23296 if (arg2 == NULL) {
23297 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23298 }
23299 }
23300 if (obj2) {
23301 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23302 if (arg3 == NULL) {
23303 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23304 }
23305 }
23306 if (obj3) {
23307 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23308 if (arg4 == NULL) {
23309 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23310 }
23311 }
23312 {
23313 PyThreadState* __tstate = wxPyBeginAllowThreads();
23314 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
23315
23316 wxPyEndAllowThreads(__tstate);
23317 if (PyErr_Occurred()) SWIG_fail;
23318 }
23319 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropSource, 1);
23320 return resultobj;
23321 fail:
23322 return NULL;
23323}
23324
23325
23326static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23327 PyObject *resultobj;
23328 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23329 PyObject *arg2 = (PyObject *) 0 ;
23330 PyObject *arg3 = (PyObject *) 0 ;
23331 int arg4 ;
23332 PyObject * obj0 = 0 ;
23333 PyObject * obj1 = 0 ;
23334 PyObject * obj2 = 0 ;
23335 char *kwnames[] = {
23336 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23337 };
23338
23339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOi:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
23340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23341 arg2 = obj1;
23342 arg3 = obj2;
23343 {
23344 PyThreadState* __tstate = wxPyBeginAllowThreads();
23345 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
23346
23347 wxPyEndAllowThreads(__tstate);
23348 if (PyErr_Occurred()) SWIG_fail;
23349 }
23350 Py_INCREF(Py_None); resultobj = Py_None;
23351 return resultobj;
23352 fail:
23353 return NULL;
23354}
23355
23356
23357static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23358 PyObject *resultobj;
23359 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23360 PyObject * obj0 = 0 ;
23361 char *kwnames[] = {
23362 (char *) "self", NULL
23363 };
23364
23365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
23366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23367 {
23368 PyThreadState* __tstate = wxPyBeginAllowThreads();
23369 delete arg1;
23370
23371 wxPyEndAllowThreads(__tstate);
23372 if (PyErr_Occurred()) SWIG_fail;
23373 }
23374 Py_INCREF(Py_None); resultobj = Py_None;
23375 return resultobj;
23376 fail:
23377 return NULL;
23378}
23379
23380
23381static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23382 PyObject *resultobj;
23383 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23384 wxDataObject *arg2 = 0 ;
23385 PyObject * obj0 = 0 ;
23386 PyObject * obj1 = 0 ;
23387 char *kwnames[] = {
23388 (char *) "self",(char *) "data", NULL
23389 };
23390
23391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
23392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23394 if (arg2 == NULL) {
23395 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23396 }
23397 {
23398 PyThreadState* __tstate = wxPyBeginAllowThreads();
23399 (arg1)->SetData(*arg2);
23400
23401 wxPyEndAllowThreads(__tstate);
23402 if (PyErr_Occurred()) SWIG_fail;
23403 }
23404 Py_INCREF(Py_None); resultobj = Py_None;
23405 return resultobj;
23406 fail:
23407 return NULL;
23408}
23409
23410
23411static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23412 PyObject *resultobj;
23413 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23414 wxDataObject *result;
23415 PyObject * obj0 = 0 ;
23416 char *kwnames[] = {
23417 (char *) "self", NULL
23418 };
23419
23420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
23421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23422 {
23423 PyThreadState* __tstate = wxPyBeginAllowThreads();
23424 result = (wxDataObject *)(arg1)->GetDataObject();
23425
23426 wxPyEndAllowThreads(__tstate);
23427 if (PyErr_Occurred()) SWIG_fail;
23428 }
23429 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23430 return resultobj;
23431 fail:
23432 return NULL;
23433}
23434
23435
23436static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
23437 PyObject *resultobj;
23438 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23439 int arg2 ;
23440 wxCursor *arg3 = 0 ;
23441 PyObject * obj0 = 0 ;
23442 PyObject * obj2 = 0 ;
23443 char *kwnames[] = {
23444 (char *) "self",(char *) "res",(char *) "cursor", NULL
23445 };
23446
23447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:DropSource_SetCursor",kwnames,&obj0,&arg2,&obj2)) goto fail;
23448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23449 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23450 if (arg3 == NULL) {
23451 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23452 }
23453 {
23454 PyThreadState* __tstate = wxPyBeginAllowThreads();
23455 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
23456
23457 wxPyEndAllowThreads(__tstate);
23458 if (PyErr_Occurred()) SWIG_fail;
23459 }
23460 Py_INCREF(Py_None); resultobj = Py_None;
23461 return resultobj;
23462 fail:
23463 return NULL;
23464}
23465
23466
23467static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23468 PyObject *resultobj;
23469 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23470 int arg2 = (int) wxDrag_CopyOnly ;
23471 int result;
23472 PyObject * obj0 = 0 ;
23473 char *kwnames[] = {
23474 (char *) "self",(char *) "flags", NULL
23475 };
23476
23477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DropSource_DoDragDrop",kwnames,&obj0,&arg2)) goto fail;
23478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23479 {
23480 PyThreadState* __tstate = wxPyBeginAllowThreads();
23481 result = (int)(arg1)->DoDragDrop(arg2);
23482
23483 wxPyEndAllowThreads(__tstate);
23484 if (PyErr_Occurred()) SWIG_fail;
23485 }
23486 resultobj = PyInt_FromLong((long)result);
23487 return resultobj;
23488 fail:
23489 return NULL;
23490}
23491
23492
23493static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
23494 PyObject *resultobj;
23495 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23496 int arg2 ;
23497 bool result;
23498 PyObject * obj0 = 0 ;
23499 char *kwnames[] = {
23500 (char *) "self",(char *) "effect", NULL
23501 };
23502
23503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DropSource_base_GiveFeedback",kwnames,&obj0,&arg2)) goto fail;
23504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23505 {
23506 PyThreadState* __tstate = wxPyBeginAllowThreads();
23507 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
23508
23509 wxPyEndAllowThreads(__tstate);
23510 if (PyErr_Occurred()) SWIG_fail;
23511 }
23512 resultobj = PyInt_FromLong((long)result);
23513 return resultobj;
23514 fail:
23515 return NULL;
23516}
23517
23518
23519static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
23520 PyObject *obj;
23521 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23522 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
23523 Py_INCREF(obj);
23524 return Py_BuildValue((char *)"");
23525}
cbd72d4f 23526static PyObject *_wrap_new_PyDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23527 PyObject *resultobj;
23528 wxDataObject *arg1 = (wxDataObject *) NULL ;
23529 wxPyDropTarget *result;
23530 PyObject * obj0 = 0 ;
23531 char *kwnames[] = {
23532 (char *) "dataObject", NULL
23533 };
23534
cbd72d4f 23535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDropTarget",kwnames,&obj0)) goto fail;
d14a1e28
RD
23536 if (obj0) {
23537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23538 }
23539 {
23540 PyThreadState* __tstate = wxPyBeginAllowThreads();
23541 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
23542
23543 wxPyEndAllowThreads(__tstate);
23544 if (PyErr_Occurred()) SWIG_fail;
23545 }
23546 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 1);
23547 return resultobj;
23548 fail:
23549 return NULL;
23550}
23551
23552
23553static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23554 PyObject *resultobj;
23555 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23556 PyObject *arg2 = (PyObject *) 0 ;
23557 PyObject *arg3 = (PyObject *) 0 ;
23558 PyObject * obj0 = 0 ;
23559 PyObject * obj1 = 0 ;
23560 PyObject * obj2 = 0 ;
23561 char *kwnames[] = {
23562 (char *) "self",(char *) "self",(char *) "_class", NULL
23563 };
23564
23565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23567 arg2 = obj1;
23568 arg3 = obj2;
23569 {
23570 PyThreadState* __tstate = wxPyBeginAllowThreads();
23571 (arg1)->_setCallbackInfo(arg2,arg3);
23572
23573 wxPyEndAllowThreads(__tstate);
23574 if (PyErr_Occurred()) SWIG_fail;
23575 }
23576 Py_INCREF(Py_None); resultobj = Py_None;
23577 return resultobj;
23578 fail:
23579 return NULL;
23580}
23581
23582
23583static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23584 PyObject *resultobj;
23585 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23586 PyObject * obj0 = 0 ;
23587 char *kwnames[] = {
23588 (char *) "self", NULL
23589 };
23590
23591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
23592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23593 {
23594 PyThreadState* __tstate = wxPyBeginAllowThreads();
23595 delete arg1;
23596
23597 wxPyEndAllowThreads(__tstate);
23598 if (PyErr_Occurred()) SWIG_fail;
23599 }
23600 Py_INCREF(Py_None); resultobj = Py_None;
23601 return resultobj;
23602 fail:
23603 return NULL;
23604}
23605
23606
23607static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23608 PyObject *resultobj;
23609 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23610 wxDataObject *result;
23611 PyObject * obj0 = 0 ;
23612 char *kwnames[] = {
23613 (char *) "self", NULL
23614 };
23615
23616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
23617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23618 {
23619 PyThreadState* __tstate = wxPyBeginAllowThreads();
23620 result = (wxDataObject *)(arg1)->GetDataObject();
23621
23622 wxPyEndAllowThreads(__tstate);
23623 if (PyErr_Occurred()) SWIG_fail;
23624 }
23625 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23626 return resultobj;
23627 fail:
23628 return NULL;
23629}
23630
23631
23632static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23633 PyObject *resultobj;
23634 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23635 wxDataObject *arg2 = (wxDataObject *) 0 ;
23636 PyObject * obj0 = 0 ;
23637 PyObject * obj1 = 0 ;
23638 char *kwnames[] = {
23639 (char *) "self",(char *) "dataObject", NULL
23640 };
23641
23642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
23643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23645 {
23646 PyThreadState* __tstate = wxPyBeginAllowThreads();
23647 (arg1)->SetDataObject(arg2);
23648
23649 wxPyEndAllowThreads(__tstate);
23650 if (PyErr_Occurred()) SWIG_fail;
23651 }
23652 Py_INCREF(Py_None); resultobj = Py_None;
23653 return resultobj;
23654 fail:
23655 return NULL;
23656}
23657
23658
23659static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23660 PyObject *resultobj;
23661 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
423f194a
RD
23662 int arg2 ;
23663 int arg3 ;
d14a1e28
RD
23664 int arg4 ;
23665 int result;
23666 PyObject * obj0 = 0 ;
23667 char *kwnames[] = {
23668 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23669 };
23670
23671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23673 {
23674 PyThreadState* __tstate = wxPyBeginAllowThreads();
23675 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23676
23677 wxPyEndAllowThreads(__tstate);
23678 if (PyErr_Occurred()) SWIG_fail;
23679 }
23680 resultobj = PyInt_FromLong((long)result);
23681 return resultobj;
23682 fail:
23683 return NULL;
23684}
23685
23686
23687static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23688 PyObject *resultobj;
23689 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
423f194a
RD
23690 int arg2 ;
23691 int arg3 ;
d14a1e28
RD
23692 int arg4 ;
23693 int result;
23694 PyObject * obj0 = 0 ;
23695 char *kwnames[] = {
23696 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23697 };
23698
23699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23701 {
23702 PyThreadState* __tstate = wxPyBeginAllowThreads();
23703 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23704
23705 wxPyEndAllowThreads(__tstate);
23706 if (PyErr_Occurred()) SWIG_fail;
23707 }
23708 resultobj = PyInt_FromLong((long)result);
23709 return resultobj;
23710 fail:
23711 return NULL;
23712}
23713
23714
23715static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23716 PyObject *resultobj;
23717 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23718 PyObject * obj0 = 0 ;
23719 char *kwnames[] = {
23720 (char *) "self", NULL
23721 };
23722
23723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23725 {
23726 PyThreadState* __tstate = wxPyBeginAllowThreads();
23727 (arg1)->base_OnLeave();
23728
23729 wxPyEndAllowThreads(__tstate);
23730 if (PyErr_Occurred()) SWIG_fail;
23731 }
23732 Py_INCREF(Py_None); resultobj = Py_None;
23733 return resultobj;
23734 fail:
23735 return NULL;
23736}
23737
23738
23739static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23740 PyObject *resultobj;
23741 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
423f194a
RD
23742 int arg2 ;
23743 int arg3 ;
d14a1e28
RD
23744 bool result;
23745 PyObject * obj0 = 0 ;
23746 char *kwnames[] = {
23747 (char *) "self",(char *) "x",(char *) "y", NULL
23748 };
23749
23750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:DropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23752 {
23753 PyThreadState* __tstate = wxPyBeginAllowThreads();
23754 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23755
23756 wxPyEndAllowThreads(__tstate);
23757 if (PyErr_Occurred()) SWIG_fail;
23758 }
23759 resultobj = PyInt_FromLong((long)result);
23760 return resultobj;
23761 fail:
23762 return NULL;
23763}
23764
23765
23766static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23767 PyObject *resultobj;
23768 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23769 bool result;
23770 PyObject * obj0 = 0 ;
23771 char *kwnames[] = {
23772 (char *) "self", NULL
23773 };
23774
23775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
23776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23777 {
23778 PyThreadState* __tstate = wxPyBeginAllowThreads();
23779 result = (bool)(arg1)->GetData();
23780
23781 wxPyEndAllowThreads(__tstate);
23782 if (PyErr_Occurred()) SWIG_fail;
23783 }
23784 resultobj = PyInt_FromLong((long)result);
23785 return resultobj;
23786 fail:
23787 return NULL;
23788}
23789
23790
23791static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
23792 PyObject *obj;
23793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23794 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
23795 Py_INCREF(obj);
23796 return Py_BuildValue((char *)"");
23797}
23798static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23799 PyObject *resultobj;
23800 wxPyTextDropTarget *result;
23801 char *kwnames[] = {
23802 NULL
23803 };
23804
23805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
23806 {
23807 PyThreadState* __tstate = wxPyBeginAllowThreads();
23808 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
23809
23810 wxPyEndAllowThreads(__tstate);
23811 if (PyErr_Occurred()) SWIG_fail;
23812 }
23813 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDropTarget, 1);
23814 return resultobj;
23815 fail:
23816 return NULL;
23817}
23818
23819
23820static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23821 PyObject *resultobj;
23822 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23823 PyObject *arg2 = (PyObject *) 0 ;
23824 PyObject *arg3 = (PyObject *) 0 ;
23825 PyObject * obj0 = 0 ;
23826 PyObject * obj1 = 0 ;
23827 PyObject * obj2 = 0 ;
23828 char *kwnames[] = {
23829 (char *) "self",(char *) "self",(char *) "_class", NULL
23830 };
23831
23832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23834 arg2 = obj1;
23835 arg3 = obj2;
23836 {
23837 PyThreadState* __tstate = wxPyBeginAllowThreads();
23838 (arg1)->_setCallbackInfo(arg2,arg3);
23839
23840 wxPyEndAllowThreads(__tstate);
23841 if (PyErr_Occurred()) SWIG_fail;
23842 }
23843 Py_INCREF(Py_None); resultobj = Py_None;
23844 return resultobj;
23845 fail:
23846 return NULL;
23847}
23848
23849
23850static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23851 PyObject *resultobj;
23852 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
23853 int arg2 ;
23854 int arg3 ;
d14a1e28
RD
23855 int arg4 ;
23856 int result;
23857 PyObject * obj0 = 0 ;
23858 char *kwnames[] = {
23859 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23860 };
23861
23862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23864 {
23865 PyThreadState* __tstate = wxPyBeginAllowThreads();
23866 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23867
23868 wxPyEndAllowThreads(__tstate);
23869 if (PyErr_Occurred()) SWIG_fail;
23870 }
23871 resultobj = PyInt_FromLong((long)result);
23872 return resultobj;
23873 fail:
23874 return NULL;
23875}
23876
23877
23878static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23879 PyObject *resultobj;
23880 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
23881 int arg2 ;
23882 int arg3 ;
d14a1e28
RD
23883 int arg4 ;
23884 int result;
23885 PyObject * obj0 = 0 ;
23886 char *kwnames[] = {
23887 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23888 };
23889
23890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23892 {
23893 PyThreadState* __tstate = wxPyBeginAllowThreads();
23894 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23895
23896 wxPyEndAllowThreads(__tstate);
23897 if (PyErr_Occurred()) SWIG_fail;
23898 }
23899 resultobj = PyInt_FromLong((long)result);
23900 return resultobj;
23901 fail:
23902 return NULL;
23903}
23904
23905
23906static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23907 PyObject *resultobj;
23908 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23909 PyObject * obj0 = 0 ;
23910 char *kwnames[] = {
23911 (char *) "self", NULL
23912 };
23913
23914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23916 {
23917 PyThreadState* __tstate = wxPyBeginAllowThreads();
23918 (arg1)->base_OnLeave();
23919
23920 wxPyEndAllowThreads(__tstate);
23921 if (PyErr_Occurred()) SWIG_fail;
23922 }
23923 Py_INCREF(Py_None); resultobj = Py_None;
23924 return resultobj;
23925 fail:
23926 return NULL;
23927}
23928
23929
23930static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23931 PyObject *resultobj;
23932 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
23933 int arg2 ;
23934 int arg3 ;
d14a1e28
RD
23935 bool result;
23936 PyObject * obj0 = 0 ;
23937 char *kwnames[] = {
23938 (char *) "self",(char *) "x",(char *) "y", NULL
23939 };
23940
23941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23943 {
23944 PyThreadState* __tstate = wxPyBeginAllowThreads();
23945 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23946
23947 wxPyEndAllowThreads(__tstate);
23948 if (PyErr_Occurred()) SWIG_fail;
23949 }
23950 resultobj = PyInt_FromLong((long)result);
23951 return resultobj;
23952 fail:
23953 return NULL;
23954}
23955
23956
23957static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
23958 PyObject *resultobj;
23959 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
23960 int arg2 ;
23961 int arg3 ;
d14a1e28
RD
23962 int arg4 ;
23963 int result;
23964 PyObject * obj0 = 0 ;
23965 char *kwnames[] = {
23966 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23967 };
23968
23969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23971 {
23972 PyThreadState* __tstate = wxPyBeginAllowThreads();
23973 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
23974
23975 wxPyEndAllowThreads(__tstate);
23976 if (PyErr_Occurred()) SWIG_fail;
23977 }
23978 resultobj = PyInt_FromLong((long)result);
23979 return resultobj;
23980 fail:
23981 return NULL;
23982}
23983
23984
23985static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
23986 PyObject *obj;
23987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23988 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
23989 Py_INCREF(obj);
23990 return Py_BuildValue((char *)"");
23991}
23992static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23993 PyObject *resultobj;
23994 wxPyFileDropTarget *result;
23995 char *kwnames[] = {
23996 NULL
23997 };
23998
23999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
24000 {
24001 PyThreadState* __tstate = wxPyBeginAllowThreads();
24002 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
24003
24004 wxPyEndAllowThreads(__tstate);
24005 if (PyErr_Occurred()) SWIG_fail;
24006 }
24007 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileDropTarget, 1);
24008 return resultobj;
24009 fail:
24010 return NULL;
24011}
24012
24013
24014static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24015 PyObject *resultobj;
24016 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24017 PyObject *arg2 = (PyObject *) 0 ;
24018 PyObject *arg3 = (PyObject *) 0 ;
24019 PyObject * obj0 = 0 ;
24020 PyObject * obj1 = 0 ;
24021 PyObject * obj2 = 0 ;
24022 char *kwnames[] = {
24023 (char *) "self",(char *) "self",(char *) "_class", NULL
24024 };
24025
24026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24028 arg2 = obj1;
24029 arg3 = obj2;
24030 {
24031 PyThreadState* __tstate = wxPyBeginAllowThreads();
24032 (arg1)->_setCallbackInfo(arg2,arg3);
24033
24034 wxPyEndAllowThreads(__tstate);
24035 if (PyErr_Occurred()) SWIG_fail;
24036 }
24037 Py_INCREF(Py_None); resultobj = Py_None;
24038 return resultobj;
24039 fail:
24040 return NULL;
24041}
24042
24043
24044static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
24045 PyObject *resultobj;
24046 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
24047 int arg2 ;
24048 int arg3 ;
d14a1e28
RD
24049 int arg4 ;
24050 int result;
24051 PyObject * obj0 = 0 ;
24052 char *kwnames[] = {
24053 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24054 };
24055
24056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24058 {
24059 PyThreadState* __tstate = wxPyBeginAllowThreads();
24060 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
24061
24062 wxPyEndAllowThreads(__tstate);
24063 if (PyErr_Occurred()) SWIG_fail;
24064 }
24065 resultobj = PyInt_FromLong((long)result);
24066 return resultobj;
24067 fail:
24068 return NULL;
24069}
24070
24071
24072static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
24073 PyObject *resultobj;
24074 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
24075 int arg2 ;
24076 int arg3 ;
d14a1e28
RD
24077 int arg4 ;
24078 int result;
24079 PyObject * obj0 = 0 ;
24080 char *kwnames[] = {
24081 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24082 };
24083
24084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24086 {
24087 PyThreadState* __tstate = wxPyBeginAllowThreads();
24088 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
24089
24090 wxPyEndAllowThreads(__tstate);
24091 if (PyErr_Occurred()) SWIG_fail;
24092 }
24093 resultobj = PyInt_FromLong((long)result);
24094 return resultobj;
24095 fail:
24096 return NULL;
24097}
24098
24099
24100static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
24101 PyObject *resultobj;
24102 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24103 PyObject * obj0 = 0 ;
24104 char *kwnames[] = {
24105 (char *) "self", NULL
24106 };
24107
24108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
24109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24110 {
24111 PyThreadState* __tstate = wxPyBeginAllowThreads();
24112 (arg1)->base_OnLeave();
24113
24114 wxPyEndAllowThreads(__tstate);
24115 if (PyErr_Occurred()) SWIG_fail;
24116 }
24117 Py_INCREF(Py_None); resultobj = Py_None;
24118 return resultobj;
24119 fail:
24120 return NULL;
24121}
24122
24123
24124static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
24125 PyObject *resultobj;
24126 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
24127 int arg2 ;
24128 int arg3 ;
d14a1e28
RD
24129 bool result;
24130 PyObject * obj0 = 0 ;
24131 char *kwnames[] = {
24132 (char *) "self",(char *) "x",(char *) "y", NULL
24133 };
24134
24135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
24136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24137 {
24138 PyThreadState* __tstate = wxPyBeginAllowThreads();
24139 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
24140
24141 wxPyEndAllowThreads(__tstate);
24142 if (PyErr_Occurred()) SWIG_fail;
24143 }
24144 resultobj = PyInt_FromLong((long)result);
24145 return resultobj;
24146 fail:
24147 return NULL;
24148}
24149
24150
24151static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
24152 PyObject *resultobj;
24153 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
24154 int arg2 ;
24155 int arg3 ;
d14a1e28
RD
24156 int arg4 ;
24157 int result;
24158 PyObject * obj0 = 0 ;
24159 char *kwnames[] = {
24160 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24161 };
24162
24163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24165 {
24166 PyThreadState* __tstate = wxPyBeginAllowThreads();
24167 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
24168
24169 wxPyEndAllowThreads(__tstate);
24170 if (PyErr_Occurred()) SWIG_fail;
24171 }
24172 resultobj = PyInt_FromLong((long)result);
24173 return resultobj;
24174 fail:
24175 return NULL;
24176}
24177
24178
24179static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
24180 PyObject *obj;
24181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24182 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
24183 Py_INCREF(obj);
24184 return Py_BuildValue((char *)"");
24185}
24186static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24187 PyObject *resultobj;
24188 wxClipboard *result;
24189 char *kwnames[] = {
24190 NULL
24191 };
24192
24193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
24194 {
24195 PyThreadState* __tstate = wxPyBeginAllowThreads();
24196 result = (wxClipboard *)new wxClipboard();
24197
24198 wxPyEndAllowThreads(__tstate);
24199 if (PyErr_Occurred()) SWIG_fail;
24200 }
24201 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboard, 1);
24202 return resultobj;
24203 fail:
24204 return NULL;
24205}
24206
24207
24208static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24209 PyObject *resultobj;
24210 wxClipboard *arg1 = (wxClipboard *) 0 ;
24211 PyObject * obj0 = 0 ;
24212 char *kwnames[] = {
24213 (char *) "self", NULL
24214 };
24215
24216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
24217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24218 {
24219 PyThreadState* __tstate = wxPyBeginAllowThreads();
24220 delete arg1;
24221
24222 wxPyEndAllowThreads(__tstate);
24223 if (PyErr_Occurred()) SWIG_fail;
24224 }
24225 Py_INCREF(Py_None); resultobj = Py_None;
24226 return resultobj;
24227 fail:
24228 return NULL;
24229}
24230
24231
24232static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
24233 PyObject *resultobj;
24234 wxClipboard *arg1 = (wxClipboard *) 0 ;
24235 bool result;
24236 PyObject * obj0 = 0 ;
24237 char *kwnames[] = {
24238 (char *) "self", NULL
24239 };
24240
24241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
24242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24243 {
24244 PyThreadState* __tstate = wxPyBeginAllowThreads();
24245 result = (bool)(arg1)->Open();
24246
24247 wxPyEndAllowThreads(__tstate);
24248 if (PyErr_Occurred()) SWIG_fail;
24249 }
24250 resultobj = PyInt_FromLong((long)result);
24251 return resultobj;
24252 fail:
24253 return NULL;
24254}
24255
24256
24257static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
24258 PyObject *resultobj;
24259 wxClipboard *arg1 = (wxClipboard *) 0 ;
24260 PyObject * obj0 = 0 ;
24261 char *kwnames[] = {
24262 (char *) "self", NULL
24263 };
24264
24265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
24266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24267 {
24268 PyThreadState* __tstate = wxPyBeginAllowThreads();
24269 (arg1)->Close();
24270
24271 wxPyEndAllowThreads(__tstate);
24272 if (PyErr_Occurred()) SWIG_fail;
24273 }
24274 Py_INCREF(Py_None); resultobj = Py_None;
24275 return resultobj;
24276 fail:
24277 return NULL;
24278}
24279
24280
24281static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
24282 PyObject *resultobj;
24283 wxClipboard *arg1 = (wxClipboard *) 0 ;
24284 bool result;
24285 PyObject * obj0 = 0 ;
24286 char *kwnames[] = {
24287 (char *) "self", NULL
24288 };
24289
24290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
24291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24292 {
24293 PyThreadState* __tstate = wxPyBeginAllowThreads();
24294 result = (bool)((wxClipboard const *)arg1)->IsOpened();
24295
24296 wxPyEndAllowThreads(__tstate);
24297 if (PyErr_Occurred()) SWIG_fail;
24298 }
24299 resultobj = PyInt_FromLong((long)result);
24300 return resultobj;
24301 fail:
24302 return NULL;
24303}
24304
24305
24306static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
24307 PyObject *resultobj;
24308 wxClipboard *arg1 = (wxClipboard *) 0 ;
24309 wxDataObject *arg2 = (wxDataObject *) 0 ;
24310 bool result;
24311 PyObject * obj0 = 0 ;
24312 PyObject * obj1 = 0 ;
24313 char *kwnames[] = {
24314 (char *) "self",(char *) "data", NULL
24315 };
24316
24317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
24318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24319 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24320 {
24321 PyThreadState* __tstate = wxPyBeginAllowThreads();
24322 result = (bool)(arg1)->AddData(arg2);
24323
24324 wxPyEndAllowThreads(__tstate);
24325 if (PyErr_Occurred()) SWIG_fail;
24326 }
24327 resultobj = PyInt_FromLong((long)result);
24328 return resultobj;
24329 fail:
24330 return NULL;
24331}
24332
24333
24334static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24335 PyObject *resultobj;
24336 wxClipboard *arg1 = (wxClipboard *) 0 ;
24337 wxDataObject *arg2 = (wxDataObject *) 0 ;
24338 bool result;
24339 PyObject * obj0 = 0 ;
24340 PyObject * obj1 = 0 ;
24341 char *kwnames[] = {
24342 (char *) "self",(char *) "data", NULL
24343 };
24344
24345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
24346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24347 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24348 {
24349 PyThreadState* __tstate = wxPyBeginAllowThreads();
24350 result = (bool)(arg1)->SetData(arg2);
24351
24352 wxPyEndAllowThreads(__tstate);
24353 if (PyErr_Occurred()) SWIG_fail;
24354 }
24355 resultobj = PyInt_FromLong((long)result);
24356 return resultobj;
24357 fail:
24358 return NULL;
24359}
24360
24361
24362static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24363 PyObject *resultobj;
24364 wxClipboard *arg1 = (wxClipboard *) 0 ;
24365 wxDataFormat *arg2 = 0 ;
24366 bool result;
24367 PyObject * obj0 = 0 ;
24368 PyObject * obj1 = 0 ;
24369 char *kwnames[] = {
24370 (char *) "self",(char *) "format", NULL
24371 };
24372
24373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
24374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24375 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24376 if (arg2 == NULL) {
24377 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24378 }
24379 {
24380 PyThreadState* __tstate = wxPyBeginAllowThreads();
24381 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
24382
24383 wxPyEndAllowThreads(__tstate);
24384 if (PyErr_Occurred()) SWIG_fail;
24385 }
24386 resultobj = PyInt_FromLong((long)result);
24387 return resultobj;
24388 fail:
24389 return NULL;
24390}
24391
24392
24393static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24394 PyObject *resultobj;
24395 wxClipboard *arg1 = (wxClipboard *) 0 ;
24396 wxDataObject *arg2 = 0 ;
24397 bool result;
24398 PyObject * obj0 = 0 ;
24399 PyObject * obj1 = 0 ;
24400 char *kwnames[] = {
24401 (char *) "self",(char *) "data", NULL
24402 };
24403
24404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
24405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24406 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24407 if (arg2 == NULL) {
24408 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24409 }
24410 {
24411 PyThreadState* __tstate = wxPyBeginAllowThreads();
24412 result = (bool)(arg1)->GetData(*arg2);
24413
24414 wxPyEndAllowThreads(__tstate);
24415 if (PyErr_Occurred()) SWIG_fail;
24416 }
24417 resultobj = PyInt_FromLong((long)result);
24418 return resultobj;
24419 fail:
24420 return NULL;
24421}
24422
24423
24424static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
24425 PyObject *resultobj;
24426 wxClipboard *arg1 = (wxClipboard *) 0 ;
24427 PyObject * obj0 = 0 ;
24428 char *kwnames[] = {
24429 (char *) "self", NULL
24430 };
24431
24432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
24433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24434 {
24435 PyThreadState* __tstate = wxPyBeginAllowThreads();
24436 (arg1)->Clear();
24437
24438 wxPyEndAllowThreads(__tstate);
24439 if (PyErr_Occurred()) SWIG_fail;
24440 }
24441 Py_INCREF(Py_None); resultobj = Py_None;
24442 return resultobj;
24443 fail:
24444 return NULL;
24445}
24446
24447
24448static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
24449 PyObject *resultobj;
24450 wxClipboard *arg1 = (wxClipboard *) 0 ;
24451 bool result;
24452 PyObject * obj0 = 0 ;
24453 char *kwnames[] = {
24454 (char *) "self", NULL
24455 };
24456
24457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
24458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24459 {
24460 PyThreadState* __tstate = wxPyBeginAllowThreads();
24461 result = (bool)(arg1)->Flush();
24462
24463 wxPyEndAllowThreads(__tstate);
24464 if (PyErr_Occurred()) SWIG_fail;
24465 }
24466 resultobj = PyInt_FromLong((long)result);
24467 return resultobj;
24468 fail:
24469 return NULL;
24470}
24471
24472
24473static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
24474 PyObject *resultobj;
24475 wxClipboard *arg1 = (wxClipboard *) 0 ;
423f194a 24476 bool arg2 = (bool) False ;
d14a1e28
RD
24477 PyObject * obj0 = 0 ;
24478 PyObject * obj1 = 0 ;
24479 char *kwnames[] = {
24480 (char *) "self",(char *) "primary", NULL
24481 };
24482
24483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
24484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24485 if (obj1) {
24486 arg2 = PyInt_AsLong(obj1) ? true : false;
24487 if (PyErr_Occurred()) SWIG_fail;
24488 }
24489 {
24490 PyThreadState* __tstate = wxPyBeginAllowThreads();
24491 (arg1)->UsePrimarySelection(arg2);
24492
24493 wxPyEndAllowThreads(__tstate);
24494 if (PyErr_Occurred()) SWIG_fail;
24495 }
24496 Py_INCREF(Py_None); resultobj = Py_None;
24497 return resultobj;
24498 fail:
24499 return NULL;
24500}
24501
24502
24503static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
24504 PyObject *obj;
24505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24506 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
24507 Py_INCREF(obj);
24508 return Py_BuildValue((char *)"");
24509}
24510static int _wrap_TheClipboard_set(PyObject *_val) {
24511 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
24512 return 1;
24513}
24514
24515
24516static PyObject *_wrap_TheClipboard_get() {
24517 PyObject *pyobj;
24518
24519 pyobj = SWIG_NewPointerObj((void *) wxTheClipboard, SWIGTYPE_p_wxClipboard, 0);
24520 return pyobj;
24521}
24522
24523
24524static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24525 PyObject *resultobj;
24526 wxClipboard *arg1 = (wxClipboard *) NULL ;
24527 wxClipboardLocker *result;
24528 PyObject * obj0 = 0 ;
24529 char *kwnames[] = {
24530 (char *) "clipboard", NULL
24531 };
24532
24533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
24534 if (obj0) {
24535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24536 }
24537 {
24538 PyThreadState* __tstate = wxPyBeginAllowThreads();
24539 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
24540
24541 wxPyEndAllowThreads(__tstate);
24542 if (PyErr_Occurred()) SWIG_fail;
24543 }
24544 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboardLocker, 1);
24545 return resultobj;
24546 fail:
24547 return NULL;
24548}
24549
24550
24551static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24552 PyObject *resultobj;
24553 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24554 PyObject * obj0 = 0 ;
24555 char *kwnames[] = {
24556 (char *) "self", NULL
24557 };
24558
24559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
24560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24561 {
24562 PyThreadState* __tstate = wxPyBeginAllowThreads();
24563 delete arg1;
24564
24565 wxPyEndAllowThreads(__tstate);
24566 if (PyErr_Occurred()) SWIG_fail;
24567 }
24568 Py_INCREF(Py_None); resultobj = Py_None;
24569 return resultobj;
24570 fail:
24571 return NULL;
24572}
24573
24574
24575static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
24576 PyObject *resultobj;
24577 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24578 bool result;
24579 PyObject * obj0 = 0 ;
24580 char *kwnames[] = {
24581 (char *) "self", NULL
24582 };
24583
24584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
24585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24586 {
24587 PyThreadState* __tstate = wxPyBeginAllowThreads();
24588 result = (bool)wxClipboardLocker___nonzero__(arg1);
24589
24590 wxPyEndAllowThreads(__tstate);
24591 if (PyErr_Occurred()) SWIG_fail;
24592 }
24593 resultobj = PyInt_FromLong((long)result);
24594 return resultobj;
24595 fail:
24596 return NULL;
24597}
24598
24599
24600static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
24601 PyObject *obj;
24602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24603 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
24604 Py_INCREF(obj);
24605 return Py_BuildValue((char *)"");
24606}
24607static PyMethodDef SwigMethods[] = {
24608 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
24614 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
24615 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
24622 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
cbd72d4f 24675 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24676 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
24682 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
24690 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
d14a1e28 24694 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
44127b65 24695 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28 24696 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
44127b65 24697 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24698 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
24706 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
24711 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
24714 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
24717 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
24723 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
24737 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
24743 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
24749 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
24752 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
44127b65 24756 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24757 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24760 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
0f774bef 24763 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24764 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
24765 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
24768 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
24769 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
24772 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
24799 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
24801 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
24803 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
24805 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
24812 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
24818 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
0f774bef 24830 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
d14a1e28
RD
24831 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
24836 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
24839 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
24856 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
24864 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
24910 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
24938 { (char *)"new_Wave", (PyCFunction) _wrap_new_Wave, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"new_WaveData", (PyCFunction) _wrap_new_WaveData, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"delete_Wave", (PyCFunction) _wrap_delete_Wave, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"Wave_IsOk", (PyCFunction) _wrap_Wave_IsOk, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"Wave_Play", (PyCFunction) _wrap_Wave_Play, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"Wave_swigregister", Wave_swigregister, METH_VARARGS },
24944 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
24960 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
24976 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
24990 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24991 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
41f1cec7 24997 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24998 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
24999 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
25042 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
25046 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
25049 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
25052 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
25099 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
25105 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
25115 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
25125 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
25126 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
25127 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
25128 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
25129 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
25130 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
25131 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
25133 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
25134 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
25137 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
25143 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
25144 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
25145 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
25146 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
25147 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
25148 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
25149 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
25150 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
25151 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
25152 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
25153 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
25154 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
25155 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
25156 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
25159 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
25161 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
25163 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
25164 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
25165 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
25167 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
25169 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
25170 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
25171 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
25172 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
25174 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
25175 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
25176 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
25177 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
25178 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
25180 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
25181 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
25182 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
25183 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
25184 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
25185 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
25186 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
25187 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
25188 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
25189 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
25190 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
25192 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
25193 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
25194 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
25195 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
25196 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
25197 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
25198 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
25199 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
25200 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
25201 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
25202 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
25203 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
25204 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
25205 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
25206 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
25207 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
25208 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
25209 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
25210 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
25211 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
25212 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
25213 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
25214 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
25215 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
25216 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
25217 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
25218 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
25220 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
25221 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
25222 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
25223 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
25224 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
25225 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
25226 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
25227 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
25228 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
25229 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
25230 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
25231 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
25232 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
25233 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
25234 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
25235 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
25237 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
25238 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
25239 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
25240 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
25241 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
25242 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
25243 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
25244 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
25245 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
25246 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
25247 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
25248 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
25249 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
25250 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
25251 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
25252 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
25253 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
25254 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
25255 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
25256 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
25257 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
25258 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
25259 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
25260 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
25261 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
25262 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
25263 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
25264 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
25265 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
25266 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
25267 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
25268 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
25269 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
25270 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
25271 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25272 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
25273 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
25274 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
25275 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
25276 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
25277 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
25278 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
25279 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
25280 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
25281 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
25282 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25283 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
25284 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
25285 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25286 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25287 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
25288 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
25289 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25290 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
25291 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
25292 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
25293 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
25294 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
25295 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
25296 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
25297 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
25298 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
25299 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
25300 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
25301 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
25302 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
25303 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
25304 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
25305 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS },
25306 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS },
25307 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
25308 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
25309 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
25310 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25311 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
25312 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
25313 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25314 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
25315 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
25316 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
25317 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
cbd72d4f 25318 { (char *)"new_PyDropTarget", (PyCFunction) _wrap_new_PyDropTarget, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
25319 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25320 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
25321 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25322 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
25323 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25324 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25325 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25326 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25327 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
25328 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
25329 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
25330 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25331 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25332 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25333 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25334 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25335 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25336 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
25337 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
25338 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25339 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25340 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25341 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25342 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25343 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25344 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
25345 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
25346 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
25347 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
25348 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
25349 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
25350 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
25351 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
25352 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
25353 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
25354 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
25355 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
25356 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
25357 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
25358 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25359 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25360 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
25361 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
25362 { NULL, NULL }
25363};
25364
25365
25366/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25367
25368static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25369 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25370}
25371static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25372 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25373}
25374static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25375 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25376}
25377static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25378 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25379}
25380static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25381 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25382}
25383static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25384 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25385}
25386static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
25387 return (void *)((wxEvent *) ((wxTimerEvent *) x));
25388}
25389static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25390 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25391}
25392static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25393 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25394}
25395static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25396 return (void *)((wxEvent *) ((wxPyEvent *) x));
25397}
25398static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25399 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25400}
25401static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
25402 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
25403}
25404static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25405 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25406}
25407static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25408 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25409}
25410static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25411 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25412}
25413static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25414 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25415}
25416static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25417 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25418}
25419static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25420 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25421}
25422static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25423 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25424}
25425static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25426 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25427}
25428static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25429 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25430}
25431static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25432 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25433}
25434static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25435 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25436}
25437static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25438 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25439}
25440static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25441 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25442}
25443static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25444 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25445}
25446static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25447 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25448}
25449static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25450 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25451}
25452static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25453 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25454}
25455static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25456 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25457}
25458static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
25459 return (void *)((wxEvent *) ((wxProcessEvent *) x));
25460}
25461static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25462 return (void *)((wxEvent *) ((wxShowEvent *) x));
25463}
25464static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25465 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25466}
25467static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25468 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25469}
25470static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25471 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25472}
25473static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25474 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25475}
25476static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25477 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25478}
25479static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25480 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25481}
25482static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
25483 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
25484}
25485static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
25486 return (void *)((wxConfigBase *) ((wxConfig *) x));
25487}
25488static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
25489 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25490}
25491static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
25492 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
25493}
25494static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
25495 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
25496}
25497static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
25498 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25499}
25500static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
25501 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
25502}
25503static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
25504 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
25505}
25506static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
25507 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
25508}
25509static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
25510 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25511}
25512static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
25513 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25514}
25515static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
25516 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
25517}
25518static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
25519 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
25520}
25521static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
25522 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
25523}
25524static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
25525 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25526}
25527static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
25528 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
25529}
25530static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
25531 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25532}
25533static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25534 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
25535}
25536static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25537 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
25538}
25539static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25540 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25541}
25542static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25543 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25544}
25545static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
25546 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
25547}
25548static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
25549 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
25550}
25551static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
25552 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25553}
25554static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25555 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25556}
25557static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25558 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25559}
25560static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25561 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25562}
25563static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25564 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25565}
25566static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
25567 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
25568}
25569static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25570 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25571}
25572static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25573 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25574}
25575static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25576 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25577}
25578static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25579 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25580}
25581static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
25582 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
25583}
25584static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
25585 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
25586}
25587static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25588 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25589}
25590static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25591 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25592}
25593static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25594 return (void *)((wxObject *) ((wxSizerItem *) x));
25595}
25596static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25597 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25598}
25599static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25600 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25601}
25602static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25603 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25604}
25605static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25606 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25607}
25608static void *_p_wxSizerTo_p_wxObject(void *x) {
25609 return (void *)((wxObject *) ((wxSizer *) x));
25610}
25611static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25612 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25613}
25614static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
25615 return (void *)((wxObject *) ((wxFileHistory *) x));
25616}
25617static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25618 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25619}
25620static void *_p_wxEventTo_p_wxObject(void *x) {
25621 return (void *)((wxObject *) ((wxEvent *) x));
25622}
25623static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25624 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25625}
25626static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25627 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25628}
25629static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25630 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25631}
25632static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25633 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25634}
25635static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25636 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25637}
25638static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25639 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25640}
25641static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25642 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25643}
25644static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25645 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25646}
25647static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25648 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25649}
25650static void *_p_wxControlTo_p_wxObject(void *x) {
25651 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25652}
25653static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25654 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25655}
25656static void *_p_wxTimerEventTo_p_wxObject(void *x) {
25657 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
25658}
25659static void *_p_wxFSFileTo_p_wxObject(void *x) {
25660 return (void *)((wxObject *) ((wxFSFile *) x));
25661}
25662static void *_p_wxClipboardTo_p_wxObject(void *x) {
25663 return (void *)((wxObject *) ((wxClipboard *) x));
25664}
25665static void *_p_wxPySizerTo_p_wxObject(void *x) {
25666 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25667}
25668static void *_p_wxPyEventTo_p_wxObject(void *x) {
25669 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25670}
25671static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25672 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25673}
25674static void *_p_wxShowEventTo_p_wxObject(void *x) {
25675 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25676}
25677static void *_p_wxToolTipTo_p_wxObject(void *x) {
25678 return (void *)((wxObject *) ((wxToolTip *) x));
25679}
25680static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25681 return (void *)((wxObject *) ((wxMenuItem *) x));
25682}
25683static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25684 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25685}
25686static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25687 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25688}
25689static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25690 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25691}
25692static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25693 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25694}
25695static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25696 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25697}
25698static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25699 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25700}
25701static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25702 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25703}
25704static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25705 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25706}
25707static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25708 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25709}
25710static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25711 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25712}
25713static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25714 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25715}
25716static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25717 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25718}
25719static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25720 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25721}
25722static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25723 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25724}
25725static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25726 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25727}
25728static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25729 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25730}
25731static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25732 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25733}
25734static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25735 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25736}
25737static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25738 return (void *)((wxObject *) ((wxImageHandler *) x));
25739}
25740static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25741 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25742}
25743static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25744 return (void *)((wxObject *) ((wxEvtHandler *) x));
25745}
41f1cec7
RD
25746static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25747 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25748}
d14a1e28
RD
25749static void *_p_wxImageTo_p_wxObject(void *x) {
25750 return (void *)((wxObject *) ((wxImage *) x));
25751}
25752static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25753 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25754}
25755static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
25756 return (void *)((wxObject *) ((wxSystemOptions *) x));
25757}
25758static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
25759 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
25760}
25761static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25762 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25763}
25764static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25765 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25766}
25767static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25768 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25769}
25770static void *_p_wxWindowTo_p_wxObject(void *x) {
25771 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25772}
25773static void *_p_wxMenuTo_p_wxObject(void *x) {
25774 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25775}
25776static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25778}
25779static void *_p_wxPyProcessTo_p_wxObject(void *x) {
25780 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
25781}
25782static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25783 return (void *)((wxObject *) ((wxFileSystem *) x));
25784}
25785static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25786 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25787}
25788static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25789 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25790}
25791static void *_p_wxPyAppTo_p_wxObject(void *x) {
25792 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25793}
25794static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25795 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25796}
25797static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25798 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25799}
25800static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25801 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25802}
25803static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
25804 return (void *)((wxObject *) ((wxBusyInfo *) x));
25805}
25806static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25807 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25808}
25809static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25810 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25811}
25812static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25813 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25814}
25815static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25816 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25817}
25818static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25819 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25820}
25821static void *_p_wxProcessEventTo_p_wxObject(void *x) {
25822 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
25823}
25824static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25825 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25826}
25827static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25828 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25829}
25830static void *_p_wxValidatorTo_p_wxObject(void *x) {
25831 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25832}
25833static void *_p_wxPyTimerTo_p_wxObject(void *x) {
25834 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
25835}
25836static void *_p_wxLogStderrTo_p_wxLog(void *x) {
25837 return (void *)((wxLog *) ((wxLogStderr *) x));
25838}
25839static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
25840 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
25841}
25842static void *_p_wxLogWindowTo_p_wxLog(void *x) {
25843 return (void *)((wxLog *) ((wxLogWindow *) x));
25844}
25845static void *_p_wxLogChainTo_p_wxLog(void *x) {
25846 return (void *)((wxLog *) ((wxLogChain *) x));
25847}
25848static void *_p_wxLogGuiTo_p_wxLog(void *x) {
25849 return (void *)((wxLog *) ((wxLogGui *) x));
25850}
25851static void *_p_wxPyLogTo_p_wxLog(void *x) {
25852 return (void *)((wxLog *) ((wxPyLog *) x));
25853}
25854static void *_p_wxControlTo_p_wxWindow(void *x) {
25855 return (void *)((wxWindow *) ((wxControl *) x));
25856}
25857static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25858 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25859}
25860static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25861 return (void *)((wxWindow *) ((wxMenuBar *) x));
25862}
25863static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
25864 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
25865}
25866static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
25867 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
25868}
25869static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
25870static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
25871static swig_type_info _swigt__p_wxMetafile[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0},{"_p_wxMetafile"},{0}};
25872static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
25873static 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}};
25874static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
25875static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
25876static 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}};
25877static 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}};
25878static swig_type_info _swigt__p_wxWave[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
25879static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
25880static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
25881static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
25882static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
25883static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
25884static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
25885static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
25886static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
25887static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
25888static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
25889static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
25890static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
25891static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
25892static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
25893static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
25894static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
25895static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
25896static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
25897static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
25898static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
25899static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject},{0}};
25900static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject},{0}};
25901static 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}};
25902static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
25903static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
25904static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
25905static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
25906static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
25907static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
25908static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
25909static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
25910static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
25911static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite},{0}};
25912static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
25913static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
25914static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
25915static 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}};
25916static 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}};
25917static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
25918static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
25919static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
25920static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
25921static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
25922static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
25923static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
25924static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
25925static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider},{0}};
25926static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
25927static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
25928static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
25929static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
25930static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
41f1cec7 25931static 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
25932static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
25933static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
25934static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
25935static 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}};
25936static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
25937static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
25938static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
25939static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
25940static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
25941static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
25942static 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}};
25943static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
25944static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
25945static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
25946static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
25947static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
25948static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
25949static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
25950static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
25951static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
25952
25953static swig_type_info *swig_types_initial[] = {
25954_swigt__p_wxLogChain,
25955_swigt__p_wxMutexGuiLocker,
25956_swigt__p_wxMetafile,
25957_swigt__p_wxFileHistory,
25958_swigt__p_wxLog,
25959_swigt__p_wxDateTime__TimeZone,
25960_swigt__p_wxMenu,
25961_swigt__p_wxEvent,
25962_swigt__p_wxConfigBase,
25963_swigt__p_wxWave,
25964_swigt__p_wxFileType,
25965_swigt__p_wxLogGui,
25966_swigt__p_wxFont,
25967_swigt__p_wxDataFormat,
25968_swigt__p_wxTimerEvent,
25969_swigt__p_wxCaret,
25970_swigt__p_int,
25971_swigt__p_wxSize,
25972_swigt__p_wxClipboard,
25973_swigt__p_wxStopWatch,
25974_swigt__p_wxDC,
25975_swigt__p_wxClipboardLocker,
25976_swigt__p_wxIcon,
25977_swigt__p_wxLogStderr,
25978_swigt__p_wxLogTextCtrl,
25979_swigt__p_wxTextCtrl,
25980_swigt__p_wxBusyCursor,
25981_swigt__p_wxFileDataObject,
25982_swigt__p_wxPyBitmapDataObject,
25983_swigt__p_wxPyTextDataObject,
25984_swigt__p_wxBitmapDataObject,
25985_swigt__p_wxTextDataObject,
25986_swigt__p_wxDataObject,
25987_swigt__p_wxCustomDataObject,
25988_swigt__p_wxURLDataObject,
25989_swigt__p_wxMetafileDataObject,
25990_swigt__p_wxTimerRunner,
25991_swigt__p_wxLogWindow,
25992_swigt__p_wxTimeSpan,
25993_swigt__p_wxArrayString,
25994_swigt__p_wxWindowDisabler,
25995_swigt__p_wxToolTip,
25996_swigt__p_wxDataObjectComposite,
25997_swigt__p_wxFileConfig,
25998_swigt__p_wxSystemSettings,
25999_swigt__p_wxPyDataObjectSimple,
26000_swigt__p_wxDataObjectSimple,
26001_swigt__p_wxEvtHandler,
26002_swigt__p_wxRect,
26003_swigt__p_wxSingleInstanceChecker,
26004_swigt__p_wxFileTypeInfo,
26005_swigt__p_wxFrame,
26006_swigt__p_wxTimer,
26007_swigt__p_wxMimeTypesManager,
26008_swigt__p_wxPyArtProvider,
26009_swigt__p_wxPyTipProvider,
26010_swigt__p_wxTipProvider,
26011_swigt__p_wxJoystick,
26012_swigt__p_wxSystemOptions,
26013_swigt__p_wxPoint,
26014_swigt__p_wxJoystickEvent,
26015_swigt__p_wxCursor,
26016_swigt__p_wxObject,
26017_swigt__p_wxOutputStream,
26018_swigt__p_wxDateTime,
26019_swigt__p_wxPyDropSource,
26020_swigt__p_wxWindow,
26021_swigt__p_wxString,
26022_swigt__p_wxPyProcess,
26023_swigt__p_wxBitmap,
26024_swigt__p_wxConfig,
26025_swigt__p_wxChar,
26026_swigt__p_wxBusyInfo,
26027_swigt__p_wxPyDropTarget,
26028_swigt__p_wxPyTextDropTarget,
26029_swigt__p_wxPyFileDropTarget,
26030_swigt__p_wxProcessEvent,
26031_swigt__p_wxPyLog,
26032_swigt__p_wxLogNull,
26033_swigt__p_wxColour,
26034_swigt__p_wxConfigPathChanger,
26035_swigt__p_wxPyTimer,
26036_swigt__p_wxDateSpan,
260370
26038};
26039
26040
26041/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26042
26043static swig_const_info swig_const_table[] = {
26044{ SWIG_PY_INT, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT, 0, 0, 0},
26045{ SWIG_PY_INT, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT, 0, 0, 0},
26046{ SWIG_PY_INT, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT, 0, 0, 0},
26047{ SWIG_PY_INT, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT, 0, 0, 0},
26048{ SWIG_PY_INT, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT, 0, 0, 0},
26049{ SWIG_PY_INT, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE, 0, 0, 0},
26050{ SWIG_PY_INT, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT, 0, 0, 0},
26051{ SWIG_PY_INT, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT, 0, 0, 0},
26052{ SWIG_PY_INT, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT, 0, 0, 0},
26053{ SWIG_PY_INT, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR, 0, 0, 0},
26054{ SWIG_PY_INT, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND, 0, 0, 0},
26055{ SWIG_PY_INT, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP, 0, 0, 0},
26056{ SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION, 0, 0, 0},
26057{ SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION, 0, 0, 0},
26058{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU, 0, 0, 0},
26059{ SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW, 0, 0, 0},
26060{ SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME, 0, 0, 0},
26061{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT, 0, 0, 0},
26062{ SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT, 0, 0, 0},
26063{ SWIG_PY_INT, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT, 0, 0, 0},
26064{ SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER, 0, 0, 0},
26065{ SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER, 0, 0, 0},
26066{ SWIG_PY_INT, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE, 0, 0, 0},
26067{ SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT, 0, 0, 0},
26068{ SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT, 0, 0, 0},
26069{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE, 0, 0, 0},
26070{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE, 0, 0, 0},
26071{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW, 0, 0, 0},
26072{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW, 0, 0, 0},
26073{ SWIG_PY_INT, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT, 0, 0, 0},
26074{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT, 0, 0, 0},
26075{ SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT, 0, 0, 0},
26076{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT, 0, 0, 0},
26077{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT, 0, 0, 0},
26078{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT, 0, 0, 0},
26079{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT, 0, 0, 0},
26080{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW, 0, 0, 0},
26081{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT, 0, 0, 0},
26082{ SWIG_PY_INT, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT, 0, 0, 0},
26083{ SWIG_PY_INT, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK, 0, 0, 0},
26084{ SWIG_PY_INT, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX, 0, 0, 0},
26085{ SWIG_PY_INT, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT, 0, 0, 0},
26086{ SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION, 0, 0, 0},
26087{ SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION, 0, 0, 0},
26088{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT, 0, 0, 0},
26089{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR, 0, 0, 0},
26090{ SWIG_PY_INT, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX, 0, 0, 0},
26091{ SWIG_PY_INT, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS, 0, 0, 0},
26092{ SWIG_PY_INT, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X, 0, 0, 0},
26093{ SWIG_PY_INT, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y, 0, 0, 0},
26094{ SWIG_PY_INT, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X, 0, 0, 0},
26095{ SWIG_PY_INT, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y, 0, 0, 0},
26096{ SWIG_PY_INT, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X, 0, 0, 0},
26097{ SWIG_PY_INT, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y, 0, 0, 0},
26098{ SWIG_PY_INT, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X, 0, 0, 0},
26099{ SWIG_PY_INT, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y, 0, 0, 0},
26100{ SWIG_PY_INT, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X, 0, 0, 0},
26101{ SWIG_PY_INT, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y, 0, 0, 0},
26102{ SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X, 0, 0, 0},
26103{ SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y, 0, 0, 0},
26104{ SWIG_PY_INT, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X, 0, 0, 0},
26105{ SWIG_PY_INT, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X, 0, 0, 0},
26106{ SWIG_PY_INT, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y, 0, 0, 0},
26107{ SWIG_PY_INT, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X, 0, 0, 0},
26108{ SWIG_PY_INT, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y, 0, 0, 0},
26109{ SWIG_PY_INT, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X, 0, 0, 0},
26110{ SWIG_PY_INT, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y, 0, 0, 0},
26111{ SWIG_PY_INT, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X, 0, 0, 0},
26112{ SWIG_PY_INT, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y, 0, 0, 0},
26113{ SWIG_PY_INT, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X, 0, 0, 0},
26114{ SWIG_PY_INT, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y, 0, 0, 0},
26115{ SWIG_PY_INT, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X, 0, 0, 0},
26116{ SWIG_PY_INT, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y, 0, 0, 0},
26117{ SWIG_PY_INT, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y, 0, 0, 0},
26118{ SWIG_PY_INT, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X, 0, 0, 0},
26119{ SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X, 0, 0, 0},
26120{ SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y, 0, 0, 0},
26121{ SWIG_PY_INT, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y, 0, 0, 0},
26122{ SWIG_PY_INT, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y, 0, 0, 0},
26123{ SWIG_PY_INT, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y, 0, 0, 0},
26124{ SWIG_PY_INT, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT, 0, 0, 0},
26125{ SWIG_PY_INT, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT, 0, 0, 0},
26126{ SWIG_PY_INT, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS, 0, 0, 0},
26127{ SWIG_PY_INT, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS, 0, 0, 0},
26128{ SWIG_PY_INT, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS, 0, 0, 0},
26129{ SWIG_PY_INT, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME, 0, 0, 0},
26130{ SWIG_PY_INT, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE, 0, 0, 0},
26131{ SWIG_PY_INT, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY, 0, 0, 0},
26132{ SWIG_PY_INT, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA, 0, 0, 0},
26133{ SWIG_PY_INT, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL, 0, 0, 0},
26134{ SWIG_PY_INT, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP, 0, 0, 0},
26135{ SWIG_PY_INT, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF, 0, 0, 0},
26136{ SWIG_PY_INT, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT, 0, 0, 0},
26137{ SWIG_PY_INT, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS, 0, 0, 0},
26138{ SWIG_PY_INT, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT, 0, 0, 0},
26139{ SWIG_PY_INT, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER, 0, 0, 0},
26140{ SWIG_PY_INT, (char *)"LOG_FatalError", (long) wxLOG_FatalError, 0, 0, 0},
26141{ SWIG_PY_INT, (char *)"LOG_Error", (long) wxLOG_Error, 0, 0, 0},
26142{ SWIG_PY_INT, (char *)"LOG_Warning", (long) wxLOG_Warning, 0, 0, 0},
26143{ SWIG_PY_INT, (char *)"LOG_Message", (long) wxLOG_Message, 0, 0, 0},
26144{ SWIG_PY_INT, (char *)"LOG_Status", (long) wxLOG_Status, 0, 0, 0},
26145{ SWIG_PY_INT, (char *)"LOG_Info", (long) wxLOG_Info, 0, 0, 0},
26146{ SWIG_PY_INT, (char *)"LOG_Debug", (long) wxLOG_Debug, 0, 0, 0},
26147{ SWIG_PY_INT, (char *)"LOG_Trace", (long) wxLOG_Trace, 0, 0, 0},
26148{ SWIG_PY_INT, (char *)"LOG_Progress", (long) wxLOG_Progress, 0, 0, 0},
26149{ SWIG_PY_INT, (char *)"LOG_User", (long) wxLOG_User, 0, 0, 0},
26150{ SWIG_PY_INT, (char *)"LOG_Max", (long) wxLOG_Max, 0, 0, 0},
26151{ SWIG_PY_STRING, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
26152{ SWIG_PY_STRING, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
26153{ SWIG_PY_STRING, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
26154{ SWIG_PY_STRING, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
26155{ SWIG_PY_STRING, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
26156{ SWIG_PY_INT, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
26157{ SWIG_PY_INT, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
26158{ SWIG_PY_INT, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
26159{ SWIG_PY_INT, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
26160{ SWIG_PY_INT, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
26161{ SWIG_PY_INT, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT, 0, 0, 0},
26162{ SWIG_PY_INT, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT, 0, 0, 0},
26163{ SWIG_PY_INT, (char *)"KILL_OK", (long) wxKILL_OK, 0, 0, 0},
26164{ SWIG_PY_INT, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL, 0, 0, 0},
26165{ SWIG_PY_INT, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED, 0, 0, 0},
26166{ SWIG_PY_INT, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS, 0, 0, 0},
26167{ SWIG_PY_INT, (char *)"KILL_ERROR", (long) wxKILL_ERROR, 0, 0, 0},
26168{ SWIG_PY_INT, (char *)"SIGNONE", (long) wxSIGNONE, 0, 0, 0},
26169{ SWIG_PY_INT, (char *)"SIGHUP", (long) wxSIGHUP, 0, 0, 0},
26170{ SWIG_PY_INT, (char *)"SIGINT", (long) wxSIGINT, 0, 0, 0},
26171{ SWIG_PY_INT, (char *)"SIGQUIT", (long) wxSIGQUIT, 0, 0, 0},
26172{ SWIG_PY_INT, (char *)"SIGILL", (long) wxSIGILL, 0, 0, 0},
26173{ SWIG_PY_INT, (char *)"SIGTRAP", (long) wxSIGTRAP, 0, 0, 0},
26174{ SWIG_PY_INT, (char *)"SIGABRT", (long) wxSIGABRT, 0, 0, 0},
26175{ SWIG_PY_INT, (char *)"SIGIOT", (long) wxSIGIOT, 0, 0, 0},
26176{ SWIG_PY_INT, (char *)"SIGEMT", (long) wxSIGEMT, 0, 0, 0},
26177{ SWIG_PY_INT, (char *)"SIGFPE", (long) wxSIGFPE, 0, 0, 0},
26178{ SWIG_PY_INT, (char *)"SIGKILL", (long) wxSIGKILL, 0, 0, 0},
26179{ SWIG_PY_INT, (char *)"SIGBUS", (long) wxSIGBUS, 0, 0, 0},
26180{ SWIG_PY_INT, (char *)"SIGSEGV", (long) wxSIGSEGV, 0, 0, 0},
26181{ SWIG_PY_INT, (char *)"SIGSYS", (long) wxSIGSYS, 0, 0, 0},
26182{ SWIG_PY_INT, (char *)"SIGPIPE", (long) wxSIGPIPE, 0, 0, 0},
26183{ SWIG_PY_INT, (char *)"SIGALRM", (long) wxSIGALRM, 0, 0, 0},
26184{ SWIG_PY_INT, (char *)"SIGTERM", (long) wxSIGTERM, 0, 0, 0},
26185{ SWIG_PY_INT, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS, 0, 0, 0},
26186{ SWIG_PY_INT, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC, 0, 0, 0},
26187{ SWIG_PY_INT, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC, 0, 0, 0},
26188{ SWIG_PY_INT, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE, 0, 0, 0},
26189{ SWIG_PY_INT, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER, 0, 0, 0},
26190{ SWIG_PY_INT, (char *)"JOYSTICK1", (long) wxJOYSTICK1, 0, 0, 0},
26191{ SWIG_PY_INT, (char *)"JOYSTICK2", (long) wxJOYSTICK2, 0, 0, 0},
26192{ SWIG_PY_INT, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY, 0, 0, 0},
26193{ SWIG_PY_INT, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1, 0, 0, 0},
26194{ SWIG_PY_INT, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2, 0, 0, 0},
26195{ SWIG_PY_INT, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3, 0, 0, 0},
26196{ SWIG_PY_INT, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4, 0, 0, 0},
26197{ SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN, 0, 0, 0},
26198{ SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP, 0, 0, 0},
26199{ SWIG_PY_INT, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE, 0, 0, 0},
26200{ SWIG_PY_INT, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE, 0, 0, 0},
26201{ SWIG_PY_INT, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD, 0, 0, 0},
26202{ SWIG_PY_INT, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE, 0, 0, 0},
26203{ SWIG_PY_INT, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE, 0, 0, 0},
26204{ SWIG_PY_INT, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME, 0, 0, 0},
26205{ SWIG_PY_INT, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL, 0, 0, 0},
26206{ SWIG_PY_INT, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE, 0, 0, 0},
26207{ SWIG_PY_INT, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE, 0, 0, 0},
26208{ SWIG_PY_INT, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH, 0, 0, 0},
26209{ SWIG_PY_INT, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS, 0, 0, 0},
26210{ SWIG_PY_INT, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown, 0, 0, 0},
26211{ SWIG_PY_INT, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String, 0, 0, 0},
26212{ SWIG_PY_INT, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean, 0, 0, 0},
26213{ SWIG_PY_INT, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer, 0, 0, 0},
26214{ SWIG_PY_INT, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float, 0, 0, 0},
26215{ SWIG_PY_INT, (char *)"DateTime_Local", (long) wxDateTime::Local, 0, 0, 0},
26216{ SWIG_PY_INT, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12, 0, 0, 0},
26217{ SWIG_PY_INT, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11, 0, 0, 0},
26218{ SWIG_PY_INT, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10, 0, 0, 0},
26219{ SWIG_PY_INT, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9, 0, 0, 0},
26220{ SWIG_PY_INT, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8, 0, 0, 0},
26221{ SWIG_PY_INT, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7, 0, 0, 0},
26222{ SWIG_PY_INT, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6, 0, 0, 0},
26223{ SWIG_PY_INT, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5, 0, 0, 0},
26224{ SWIG_PY_INT, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4, 0, 0, 0},
26225{ SWIG_PY_INT, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3, 0, 0, 0},
26226{ SWIG_PY_INT, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2, 0, 0, 0},
26227{ SWIG_PY_INT, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1, 0, 0, 0},
26228{ SWIG_PY_INT, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0, 0, 0, 0},
26229{ SWIG_PY_INT, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1, 0, 0, 0},
26230{ SWIG_PY_INT, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2, 0, 0, 0},
26231{ SWIG_PY_INT, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3, 0, 0, 0},
26232{ SWIG_PY_INT, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4, 0, 0, 0},
26233{ SWIG_PY_INT, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5, 0, 0, 0},
26234{ SWIG_PY_INT, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6, 0, 0, 0},
26235{ SWIG_PY_INT, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7, 0, 0, 0},
26236{ SWIG_PY_INT, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8, 0, 0, 0},
26237{ SWIG_PY_INT, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9, 0, 0, 0},
26238{ SWIG_PY_INT, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10, 0, 0, 0},
26239{ SWIG_PY_INT, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11, 0, 0, 0},
26240{ SWIG_PY_INT, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12, 0, 0, 0},
26241{ SWIG_PY_INT, (char *)"DateTime_WET", (long) wxDateTime::WET, 0, 0, 0},
26242{ SWIG_PY_INT, (char *)"DateTime_WEST", (long) wxDateTime::WEST, 0, 0, 0},
26243{ SWIG_PY_INT, (char *)"DateTime_CET", (long) wxDateTime::CET, 0, 0, 0},
26244{ SWIG_PY_INT, (char *)"DateTime_CEST", (long) wxDateTime::CEST, 0, 0, 0},
26245{ SWIG_PY_INT, (char *)"DateTime_EET", (long) wxDateTime::EET, 0, 0, 0},
26246{ SWIG_PY_INT, (char *)"DateTime_EEST", (long) wxDateTime::EEST, 0, 0, 0},
26247{ SWIG_PY_INT, (char *)"DateTime_MSK", (long) wxDateTime::MSK, 0, 0, 0},
26248{ SWIG_PY_INT, (char *)"DateTime_MSD", (long) wxDateTime::MSD, 0, 0, 0},
26249{ SWIG_PY_INT, (char *)"DateTime_AST", (long) wxDateTime::AST, 0, 0, 0},
26250{ SWIG_PY_INT, (char *)"DateTime_ADT", (long) wxDateTime::ADT, 0, 0, 0},
26251{ SWIG_PY_INT, (char *)"DateTime_EST", (long) wxDateTime::EST, 0, 0, 0},
26252{ SWIG_PY_INT, (char *)"DateTime_EDT", (long) wxDateTime::EDT, 0, 0, 0},
26253{ SWIG_PY_INT, (char *)"DateTime_CST", (long) wxDateTime::CST, 0, 0, 0},
26254{ SWIG_PY_INT, (char *)"DateTime_CDT", (long) wxDateTime::CDT, 0, 0, 0},
26255{ SWIG_PY_INT, (char *)"DateTime_MST", (long) wxDateTime::MST, 0, 0, 0},
26256{ SWIG_PY_INT, (char *)"DateTime_MDT", (long) wxDateTime::MDT, 0, 0, 0},
26257{ SWIG_PY_INT, (char *)"DateTime_PST", (long) wxDateTime::PST, 0, 0, 0},
26258{ SWIG_PY_INT, (char *)"DateTime_PDT", (long) wxDateTime::PDT, 0, 0, 0},
26259{ SWIG_PY_INT, (char *)"DateTime_HST", (long) wxDateTime::HST, 0, 0, 0},
26260{ SWIG_PY_INT, (char *)"DateTime_AKST", (long) wxDateTime::AKST, 0, 0, 0},
26261{ SWIG_PY_INT, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT, 0, 0, 0},
26262{ SWIG_PY_INT, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST, 0, 0, 0},
26263{ SWIG_PY_INT, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST, 0, 0, 0},
26264{ SWIG_PY_INT, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST, 0, 0, 0},
26265{ SWIG_PY_INT, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST, 0, 0, 0},
26266{ SWIG_PY_INT, (char *)"DateTime_UTC", (long) wxDateTime::UTC, 0, 0, 0},
26267{ SWIG_PY_INT, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian, 0, 0, 0},
26268{ SWIG_PY_INT, (char *)"DateTime_Julian", (long) wxDateTime::Julian, 0, 0, 0},
26269{ SWIG_PY_INT, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown, 0, 0, 0},
26270{ SWIG_PY_INT, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard, 0, 0, 0},
26271{ SWIG_PY_INT, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska, 0, 0, 0},
26272{ SWIG_PY_INT, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania, 0, 0, 0},
26273{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria, 0, 0, 0},
26274{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen, 0, 0, 0},
26275{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg, 0, 0, 0},
26276{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol, 0, 0, 0},
26277{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia, 0, 0, 0},
26278{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria, 0, 0, 0},
26279{ SWIG_PY_INT, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium, 0, 0, 0},
26280{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria, 0, 0, 0},
26281{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1, 0, 0, 0},
26282{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2, 0, 0, 0},
26283{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3, 0, 0, 0},
26284{ SWIG_PY_INT, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada, 0, 0, 0},
26285{ SWIG_PY_INT, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China, 0, 0, 0},
26286{ SWIG_PY_INT, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1, 0, 0, 0},
26287{ SWIG_PY_INT, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2, 0, 0, 0},
26288{ SWIG_PY_INT, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia, 0, 0, 0},
26289{ SWIG_PY_INT, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark, 0, 0, 0},
26290{ SWIG_PY_INT, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt, 0, 0, 0},
26291{ SWIG_PY_INT, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia, 0, 0, 0},
26292{ SWIG_PY_INT, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland, 0, 0, 0},
26293{ SWIG_PY_INT, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France, 0, 0, 0},
26294{ SWIG_PY_INT, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace, 0, 0, 0},
26295{ SWIG_PY_INT, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine, 0, 0, 0},
26296{ SWIG_PY_INT, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg, 0, 0, 0},
26297{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany, 0, 0, 0},
26298{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic, 0, 0, 0},
26299{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia, 0, 0, 0},
26300{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant, 0, 0, 0},
26301{ SWIG_PY_INT, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain, 0, 0, 0},
26302{ SWIG_PY_INT, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece, 0, 0, 0},
26303{ SWIG_PY_INT, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary, 0, 0, 0},
26304{ SWIG_PY_INT, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland, 0, 0, 0},
26305{ SWIG_PY_INT, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy, 0, 0, 0},
26306{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan, 0, 0, 0},
26307{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1, 0, 0, 0},
26308{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2, 0, 0, 0},
26309{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3, 0, 0, 0},
26310{ SWIG_PY_INT, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia, 0, 0, 0},
26311{ SWIG_PY_INT, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania, 0, 0, 0},
26312{ SWIG_PY_INT, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg, 0, 0, 0},
26313{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands, 0, 0, 0},
26314{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen, 0, 0, 0},
26315{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland, 0, 0, 0},
26316{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht, 0, 0, 0},
26317{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland, 0, 0, 0},
26318{ SWIG_PY_INT, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway, 0, 0, 0},
26319{ SWIG_PY_INT, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland, 0, 0, 0},
26320{ SWIG_PY_INT, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal, 0, 0, 0},
26321{ SWIG_PY_INT, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania, 0, 0, 0},
26322{ SWIG_PY_INT, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia, 0, 0, 0},
26323{ SWIG_PY_INT, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland, 0, 0, 0},
26324{ SWIG_PY_INT, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain, 0, 0, 0},
26325{ SWIG_PY_INT, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden, 0, 0, 0},
26326{ SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland, 0, 0, 0},
26327{ SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic, 0, 0, 0},
26328{ SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant, 0, 0, 0},
26329{ SWIG_PY_INT, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey, 0, 0, 0},
26330{ SWIG_PY_INT, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA, 0, 0, 0},
26331{ SWIG_PY_INT, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales, 0, 0, 0},
26332{ SWIG_PY_INT, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia, 0, 0, 0},
26333{ SWIG_PY_INT, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown, 0, 0, 0},
26334{ SWIG_PY_INT, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default, 0, 0, 0},
26335{ SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start, 0, 0, 0},
26336{ SWIG_PY_INT, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC, 0, 0, 0},
26337{ SWIG_PY_INT, (char *)"DateTime_France", (long) wxDateTime::France, 0, 0, 0},
26338{ SWIG_PY_INT, (char *)"DateTime_Germany", (long) wxDateTime::Germany, 0, 0, 0},
26339{ SWIG_PY_INT, (char *)"DateTime_UK", (long) wxDateTime::UK, 0, 0, 0},
26340{ SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End, 0, 0, 0},
26341{ SWIG_PY_INT, (char *)"DateTime_Russia", (long) wxDateTime::Russia, 0, 0, 0},
26342{ SWIG_PY_INT, (char *)"DateTime_USA", (long) wxDateTime::USA, 0, 0, 0},
26343{ SWIG_PY_INT, (char *)"DateTime_Jan", (long) wxDateTime::Jan, 0, 0, 0},
26344{ SWIG_PY_INT, (char *)"DateTime_Feb", (long) wxDateTime::Feb, 0, 0, 0},
26345{ SWIG_PY_INT, (char *)"DateTime_Mar", (long) wxDateTime::Mar, 0, 0, 0},
26346{ SWIG_PY_INT, (char *)"DateTime_Apr", (long) wxDateTime::Apr, 0, 0, 0},
26347{ SWIG_PY_INT, (char *)"DateTime_May", (long) wxDateTime::May, 0, 0, 0},
26348{ SWIG_PY_INT, (char *)"DateTime_Jun", (long) wxDateTime::Jun, 0, 0, 0},
26349{ SWIG_PY_INT, (char *)"DateTime_Jul", (long) wxDateTime::Jul, 0, 0, 0},
26350{ SWIG_PY_INT, (char *)"DateTime_Aug", (long) wxDateTime::Aug, 0, 0, 0},
26351{ SWIG_PY_INT, (char *)"DateTime_Sep", (long) wxDateTime::Sep, 0, 0, 0},
26352{ SWIG_PY_INT, (char *)"DateTime_Oct", (long) wxDateTime::Oct, 0, 0, 0},
26353{ SWIG_PY_INT, (char *)"DateTime_Nov", (long) wxDateTime::Nov, 0, 0, 0},
26354{ SWIG_PY_INT, (char *)"DateTime_Dec", (long) wxDateTime::Dec, 0, 0, 0},
26355{ SWIG_PY_INT, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month, 0, 0, 0},
26356{ SWIG_PY_INT, (char *)"DateTime_Sun", (long) wxDateTime::Sun, 0, 0, 0},
26357{ SWIG_PY_INT, (char *)"DateTime_Mon", (long) wxDateTime::Mon, 0, 0, 0},
26358{ SWIG_PY_INT, (char *)"DateTime_Tue", (long) wxDateTime::Tue, 0, 0, 0},
26359{ SWIG_PY_INT, (char *)"DateTime_Wed", (long) wxDateTime::Wed, 0, 0, 0},
26360{ SWIG_PY_INT, (char *)"DateTime_Thu", (long) wxDateTime::Thu, 0, 0, 0},
26361{ SWIG_PY_INT, (char *)"DateTime_Fri", (long) wxDateTime::Fri, 0, 0, 0},
26362{ SWIG_PY_INT, (char *)"DateTime_Sat", (long) wxDateTime::Sat, 0, 0, 0},
26363{ SWIG_PY_INT, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay, 0, 0, 0},
26364{ SWIG_PY_INT, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year, 0, 0, 0},
26365{ SWIG_PY_INT, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full, 0, 0, 0},
26366{ SWIG_PY_INT, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr, 0, 0, 0},
26367{ SWIG_PY_INT, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First, 0, 0, 0},
26368{ SWIG_PY_INT, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First, 0, 0, 0},
26369{ SWIG_PY_INT, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First, 0, 0, 0},
26370{ SWIG_PY_INT, (char *)"DF_INVALID", (long) wxDF_INVALID, 0, 0, 0},
26371{ SWIG_PY_INT, (char *)"DF_TEXT", (long) wxDF_TEXT, 0, 0, 0},
26372{ SWIG_PY_INT, (char *)"DF_BITMAP", (long) wxDF_BITMAP, 0, 0, 0},
26373{ SWIG_PY_INT, (char *)"DF_METAFILE", (long) wxDF_METAFILE, 0, 0, 0},
26374{ SWIG_PY_INT, (char *)"DF_SYLK", (long) wxDF_SYLK, 0, 0, 0},
26375{ SWIG_PY_INT, (char *)"DF_DIF", (long) wxDF_DIF, 0, 0, 0},
26376{ SWIG_PY_INT, (char *)"DF_TIFF", (long) wxDF_TIFF, 0, 0, 0},
26377{ SWIG_PY_INT, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT, 0, 0, 0},
26378{ SWIG_PY_INT, (char *)"DF_DIB", (long) wxDF_DIB, 0, 0, 0},
26379{ SWIG_PY_INT, (char *)"DF_PALETTE", (long) wxDF_PALETTE, 0, 0, 0},
26380{ SWIG_PY_INT, (char *)"DF_PENDATA", (long) wxDF_PENDATA, 0, 0, 0},
26381{ SWIG_PY_INT, (char *)"DF_RIFF", (long) wxDF_RIFF, 0, 0, 0},
26382{ SWIG_PY_INT, (char *)"DF_WAVE", (long) wxDF_WAVE, 0, 0, 0},
26383{ SWIG_PY_INT, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT, 0, 0, 0},
26384{ SWIG_PY_INT, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE, 0, 0, 0},
26385{ SWIG_PY_INT, (char *)"DF_FILENAME", (long) wxDF_FILENAME, 0, 0, 0},
26386{ SWIG_PY_INT, (char *)"DF_LOCALE", (long) wxDF_LOCALE, 0, 0, 0},
26387{ SWIG_PY_INT, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE, 0, 0, 0},
26388{ SWIG_PY_INT, (char *)"DF_HTML", (long) wxDF_HTML, 0, 0, 0},
26389{ SWIG_PY_INT, (char *)"DF_MAX", (long) wxDF_MAX, 0, 0, 0},
26390{ SWIG_PY_INT, (char *)"DataObject_Get", (long) wxDataObject::Get, 0, 0, 0},
26391{ SWIG_PY_INT, (char *)"DataObject_Set", (long) wxDataObject::Set, 0, 0, 0},
26392{ SWIG_PY_INT, (char *)"DataObject_Both", (long) wxDataObject::Both, 0, 0, 0},
26393{ SWIG_PY_INT, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly, 0, 0, 0},
26394{ SWIG_PY_INT, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove, 0, 0, 0},
26395{ SWIG_PY_INT, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove, 0, 0, 0},
26396{ SWIG_PY_INT, (char *)"DragError", (long) wxDragError, 0, 0, 0},
26397{ SWIG_PY_INT, (char *)"DragNone", (long) wxDragNone, 0, 0, 0},
26398{ SWIG_PY_INT, (char *)"DragCopy", (long) wxDragCopy, 0, 0, 0},
26399{ SWIG_PY_INT, (char *)"DragMove", (long) wxDragMove, 0, 0, 0},
26400{ SWIG_PY_INT, (char *)"DragLink", (long) wxDragLink, 0, 0, 0},
26401{ SWIG_PY_INT, (char *)"DragCancel", (long) wxDragCancel, 0, 0, 0},
26402{0}};
26403
26404#ifdef __cplusplus
26405}
26406#endif
26407
26408#ifdef __cplusplus
26409extern "C"
26410#endif
26411SWIGEXPORT(void) SWIG_init(void) {
26412 static PyObject *SWIG_globals = 0;
26413 static int typeinit = 0;
26414 PyObject *m, *d;
26415 int i;
26416 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26417 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26418 d = PyModule_GetDict(m);
26419
26420 if (!typeinit) {
26421 for (i = 0; swig_types_initial[i]; i++) {
26422 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26423 }
26424 typeinit = 1;
26425 }
26426 SWIG_InstallConstants(d,swig_const_table);
26427
cbd72d4f
RD
26428 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26429 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26430 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26431 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
d14a1e28
RD
26432 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
26433 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
26434
26435 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26436
26437 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
26438 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
26439 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
26440 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
d14a1e28
RD
26441 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
26442 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
26443 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
26444 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
26445 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
26446 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
26447 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
26448 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
26449 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
26450 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
26451 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
26452 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
26453 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
26454 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
26455 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
26456 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
26457 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
26458 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
26459 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
26460 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
26461 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
26462 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
26463 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
26464 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
26465 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
26466 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
26467 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
26468 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
26469 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
26470 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
26471 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
26472 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
26473 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
26474 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
26475 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
26476 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
26477 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
26478 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
26479 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
26480
26481 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26482
cbd72d4f
RD
26483 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
26484 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
d14a1e28
RD
26485 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
26486
26487 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26488 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26489 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26490 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26491
26492 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
26493}
26494