]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/misc_wrap.cpp
Upadted GLCanvas demo
[wxWidgets.git] / wxPython / src / msw / misc_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
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
f0983263
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
f0983263
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
f0983263 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
f0983263 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 {
f0983263 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
f0983263 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 *);
f0983263
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
f0983263 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
f0983263
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]
eb9b6107
RD
214#define SWIGTYPE_p_wxFileHistory swig_types[2]
215#define SWIGTYPE_p_wxLog swig_types[3]
216#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
217#define SWIGTYPE_p_wxMenu swig_types[5]
218#define SWIGTYPE_p_wxEvent swig_types[6]
219#define SWIGTYPE_p_wxConfigBase swig_types[7]
220#define SWIGTYPE_p_wxWave swig_types[8]
221#define SWIGTYPE_p_wxFileType swig_types[9]
222#define SWIGTYPE_p_wxLogGui swig_types[10]
223#define SWIGTYPE_p_wxFont swig_types[11]
224#define SWIGTYPE_p_wxDataFormat swig_types[12]
225#define SWIGTYPE_p_wxTimerEvent swig_types[13]
226#define SWIGTYPE_p_wxCaret swig_types[14]
227#define SWIGTYPE_p_int swig_types[15]
228#define SWIGTYPE_p_wxSize swig_types[16]
229#define SWIGTYPE_p_wxClipboard swig_types[17]
230#define SWIGTYPE_p_wxStopWatch swig_types[18]
231#define SWIGTYPE_p_wxDC swig_types[19]
232#define SWIGTYPE_p_wxClipboardLocker swig_types[20]
233#define SWIGTYPE_p_wxIcon swig_types[21]
234#define SWIGTYPE_p_wxLogStderr swig_types[22]
235#define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
236#define SWIGTYPE_p_wxTextCtrl swig_types[24]
237#define SWIGTYPE_p_wxBusyCursor swig_types[25]
238#define SWIGTYPE_p_wxFileDataObject swig_types[26]
239#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
240#define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
241#define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
242#define SWIGTYPE_p_wxTextDataObject swig_types[30]
243#define SWIGTYPE_p_wxDataObject swig_types[31]
244#define SWIGTYPE_p_wxCustomDataObject swig_types[32]
245#define SWIGTYPE_p_wxURLDataObject swig_types[33]
246#define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
247#define SWIGTYPE_p_wxTimerRunner swig_types[35]
248#define SWIGTYPE_p_wxLogWindow swig_types[36]
249#define SWIGTYPE_p_wxTimeSpan swig_types[37]
250#define SWIGTYPE_p_wxArrayString swig_types[38]
251#define SWIGTYPE_p_wxWindowDisabler swig_types[39]
252#define SWIGTYPE_p_wxToolTip swig_types[40]
253#define SWIGTYPE_p_wxDataObjectComposite swig_types[41]
254#define SWIGTYPE_p_wxFileConfig swig_types[42]
255#define SWIGTYPE_p_wxSystemSettings swig_types[43]
256#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[44]
257#define SWIGTYPE_p_wxDataObjectSimple swig_types[45]
258#define SWIGTYPE_p_wxEvtHandler swig_types[46]
259#define SWIGTYPE_p_wxRect swig_types[47]
260#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[48]
261#define SWIGTYPE_p_wxFileTypeInfo swig_types[49]
262#define SWIGTYPE_p_wxFrame swig_types[50]
263#define SWIGTYPE_p_wxTimer swig_types[51]
264#define SWIGTYPE_p_wxMimeTypesManager swig_types[52]
265#define SWIGTYPE_p_wxPyArtProvider swig_types[53]
266#define SWIGTYPE_p_wxPyTipProvider swig_types[54]
267#define SWIGTYPE_p_wxTipProvider swig_types[55]
268#define SWIGTYPE_p_wxJoystick swig_types[56]
269#define SWIGTYPE_p_wxSystemOptions swig_types[57]
270#define SWIGTYPE_p_wxPoint swig_types[58]
271#define SWIGTYPE_p_wxJoystickEvent swig_types[59]
272#define SWIGTYPE_p_wxCursor swig_types[60]
273#define SWIGTYPE_p_wxObject swig_types[61]
274#define SWIGTYPE_p_wxOutputStream swig_types[62]
275#define SWIGTYPE_p_wxDateTime swig_types[63]
276#define SWIGTYPE_p_wxPyDropSource swig_types[64]
277#define SWIGTYPE_p_wxWindow swig_types[65]
278#define SWIGTYPE_p_wxString swig_types[66]
279#define SWIGTYPE_p_wxPyProcess swig_types[67]
280#define SWIGTYPE_p_wxBitmap swig_types[68]
281#define SWIGTYPE_p_wxConfig swig_types[69]
282#define SWIGTYPE_p_wxChar swig_types[70]
283#define SWIGTYPE_p_wxBusyInfo swig_types[71]
284#define SWIGTYPE_p_wxPyDropTarget swig_types[72]
285#define SWIGTYPE_p_wxPyTextDropTarget swig_types[73]
286#define SWIGTYPE_p_wxPyFileDropTarget swig_types[74]
287#define SWIGTYPE_p_wxProcessEvent swig_types[75]
288#define SWIGTYPE_p_wxPyLog swig_types[76]
289#define SWIGTYPE_p_wxLogNull swig_types[77]
290#define SWIGTYPE_p_wxColour swig_types[78]
291#define SWIGTYPE_p_wxConfigPathChanger swig_types[79]
292#define SWIGTYPE_p_wxPyTimer swig_types[80]
293#define SWIGTYPE_p_wxDateSpan swig_types[81]
294static swig_type_info *swig_types[83];
d14a1e28
RD
295
296/* -------- TYPES TABLE (END) -------- */
297
298
299/*-----------------------------------------------
300 @(target):= _misc.so
301 ------------------------------------------------*/
302#define SWIG_init init_misc
303
304#define SWIG_name "_misc"
305
306#include "wx/wxPython/wxPython.h"
307#include "wx/wxPython/pyclasses.h"
308#include "wx/wxPython/pyistream.h"
309
d14a1e28 310
d03fd34d 311 static const wxString wxPyEmptyString(wxEmptyString);
d14a1e28
RD
312
313
d03fd34d
RD
314 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
315 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
316 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
d14a1e28
RD
317
318static PyObject* t_output_helper(PyObject* target, PyObject* o) {
319 PyObject* o2;
320 PyObject* o3;
321
322 if (!target) {
323 target = o;
324 } else if (target == Py_None) {
325 Py_DECREF(Py_None);
326 target = o;
327 } else {
328 if (!PyTuple_Check(target)) {
329 o2 = target;
330 target = PyTuple_New(1);
331 PyTuple_SetItem(target, 0, o2);
332 }
333 o3 = PyTuple_New(1);
334 PyTuple_SetItem(o3, 0, o);
335
336 o2 = target;
337 target = PySequence_Concat(o2, o3);
338 Py_DECREF(o2);
339 Py_DECREF(o3);
340 }
341 return target;
342}
343
344
345 bool wxThread_IsMain() {
346#ifdef WXP_WITH_THREAD
347 return wxThread::IsMain();
348#else
423f194a 349 return True;
d14a1e28
RD
350#endif
351 }
352
353
354 int wxCaret_GetBlinkTime() {
355 return wxCaret::GetBlinkTime();
356 }
357
358 void wxCaret_SetBlinkTime(int milliseconds) {
359 wxCaret::SetBlinkTime(milliseconds);
360 }
361
362
363#include <wx/snglinst.h>
364
365
366#ifdef __WXMSW__
367#include <wx/msw/private.h>
368#include <wx/dynload.h>
369#endif
370
371
372
373void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
374{
375#ifdef __WXMSW__
376
377 switch (method)
378 {
379 case 1:
380 // This one only partially works. Appears to be an undocumented
381 // "standard" convention that not all widgets adhear to. For
382 // example, for some widgets backgrounds or non-client areas may
383 // not be painted.
384 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
385 break;
386
387 case 2:
388 // This one works much better, except for on XP. On Win2k nearly
389 // all widgets and their children are captured correctly[**]. On
390 // XP with Themes activated most native widgets draw only
391 // partially, if at all. Without themes it works just like on
392 // Win2k.
393 //
394 // ** For example the radio buttons in a wxRadioBox are not its
395 // children by default, but you can capture it via the panel
396 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
397 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
398 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
399 PRF_ERASEBKGND | PRF_OWNED );
400 break;
401
402 case 3:
403 // This one is only defined in the latest SDK and is only
404 // available on XP. MSDN says it is similar to sending WM_PRINT
405 // so I expect that it will work similar to the above. Since it
406 // is avaialble only on XP, it can't be compiled like this and
407 // will have to be loaded dynamically.
408 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
409
410 // fall through
411
412 case 4:
413 // Use PrintWindow if available, or fallback to WM_PRINT
414 // otherwise. Unfortunately using PrintWindow is even worse than
415 // WM_PRINT. For most native widgets nothing is drawn to the dc
416 // at all, with or without Themes.
417 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
423f194a 418 static bool s_triedToLoad = False;
d14a1e28
RD
419 static PrintWindow_t pfnPrintWindow = NULL;
420 if ( !s_triedToLoad )
421 {
422
423f194a 423 s_triedToLoad = True;
d14a1e28
RD
424 wxDynamicLibrary dllUser32(_T("user32.dll"));
425 if ( dllUser32.IsLoaded() )
426 {
427 wxLogNull nolog; // Don't report errors here
428 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
429 }
430 }
431 if (pfnPrintWindow)
432 {
433 printf("Using PrintWindow\n");
434 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
435 }
436 else
437 {
438 printf("Using WM_PRINT\n");
439 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
440 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
441 }
442 }
443#endif
444}
445
446
447
448#include <wx/tipdlg.h>
449
450
451class wxPyTipProvider : public wxTipProvider {
452public:
453 wxPyTipProvider(size_t currentTip)
454 : wxTipProvider(currentTip) {}
455
456 DEC_PYCALLBACK_STRING__pure(GetTip);
457 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
458 PYPRIVATE;
459};
460
461IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
462IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
463
464
465IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
466
467wxString Log_TimeStamp(){
468 wxString msg;
469 wxLog::TimeStamp(&msg);
470 return msg;
471 }
472void wxLog_Destroy(wxLog *self){ delete self; }
473
474// A wxLog class that can be derived from in wxPython
475class wxPyLog : public wxLog {
476public:
477 wxPyLog() : wxLog() {}
478
479 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
480 bool found;
481 wxPyBeginBlockThreads();
482 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
483 PyObject* s = wx2PyString(szString);
484 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
485 Py_DECREF(s);
486 }
487 wxPyEndBlockThreads();
488 if (! found)
489 wxLog::DoLog(level, szString, t);
490 }
491
492 virtual void DoLogString(const wxChar *szString, time_t t) {
493 bool found;
494 wxPyBeginBlockThreads();
495 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
496 PyObject* s = wx2PyString(szString);
497 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
498 Py_DECREF(s);
499 }
500 wxPyEndBlockThreads();
501 if (! found)
502 wxLog::DoLogString(szString, t);
503 }
504
505 PYPRIVATE;
506};
507
508
509
510
511IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
512
513
514#include <wx/joystick.h>
515
516
517#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
518// A C++ stub class for wxJoystick for platforms that don't have it.
519class wxJoystick : public wxObject {
520public:
521 wxJoystick(int joystick = wxJOYSTICK1) {
522 wxPyBeginBlockThreads();
cbd72d4f
RD
523 PyErr_SetString(PyExc_NotImplementedError,
524 "wxJoystick is not available on this platform.");
d14a1e28
RD
525 wxPyEndBlockThreads();
526 }
527 wxPoint GetPosition() { return wxPoint(-1,-1); }
528 int GetZPosition() { return -1; }
529 int GetButtonState() { return -1; }
530 int GetPOVPosition() { return -1; }
531 int GetPOVCTSPosition() { return -1; }
532 int GetRudderPosition() { return -1; }
533 int GetUPosition() { return -1; }
534 int GetVPosition() { return -1; }
535 int GetMovementThreshold() { return -1; }
536 void SetMovementThreshold(int threshold) {}
537
423f194a 538 bool IsOk(void) { return False; }
d14a1e28
RD
539 int GetNumberJoysticks() { return -1; }
540 int GetManufacturerId() { return -1; }
541 int GetProductId() { return -1; }
542 wxString GetProductName() { return ""; }
543 int GetXMin() { return -1; }
544 int GetYMin() { return -1; }
545 int GetZMin() { return -1; }
546 int GetXMax() { return -1; }
547 int GetYMax() { return -1; }
548 int GetZMax() { return -1; }
549 int GetNumberButtons() { return -1; }
550 int GetNumberAxes() { return -1; }
551 int GetMaxButtons() { return -1; }
552 int GetMaxAxes() { return -1; }
553 int GetPollingMin() { return -1; }
554 int GetPollingMax() { return -1; }
555 int GetRudderMin() { return -1; }
556 int GetRudderMax() { return -1; }
557 int GetUMin() { return -1; }
558 int GetUMax() { return -1; }
559 int GetVMin() { return -1; }
560 int GetVMax() { return -1; }
561
423f194a
RD
562 bool HasRudder() { return False; }
563 bool HasZ() { return False; }
564 bool HasU() { return False; }
565 bool HasV() { return False; }
566 bool HasPOV() { return False; }
567 bool HasPOV4Dir() { return False; }
568 bool HasPOVCTS() { return False; }
d14a1e28 569
423f194a
RD
570 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
571 bool ReleaseCapture() { return False; }
d14a1e28
RD
572};
573#endif
574
575
576#include <wx/wave.h>
577
578
579#if !wxUSE_WAVE
580// A C++ stub class for wxWave for platforms that don't have it.
581class wxWave : public wxObject
582{
583public:
423f194a 584 wxWave(const wxString& fileName, bool isResource = False) {
d14a1e28 585 wxPyBeginBlockThreads();
cbd72d4f
RD
586 PyErr_SetString(PyExc_NotImplementedError,
587 "wxWave is not available on this platform.");
d14a1e28
RD
588 wxPyEndBlockThreads();
589 }
590 wxWave(int size, const wxByte* data) {
591 wxPyBeginBlockThreads();
cbd72d4f
RD
592 PyErr_SetString(PyExc_NotImplementedError,
593 "wxWave is not available on this platform.");
d14a1e28
RD
594 wxPyEndBlockThreads();
595 }
596
597 ~wxWave() {}
598
423f194a
RD
599 bool IsOk() const { return False; }
600 bool Play(bool async = True, bool looped = False) const { return False; }
d14a1e28
RD
601};
602
603#endif
604
605wxWave *new_wxWave(wxString const &data){
606 return new wxWave(data.Len(), (wxByte*)data.c_str());
607 }
608
609#include <wx/mimetype.h>
610
611PyObject *wxFileType_GetMimeType(wxFileType *self){
612 wxString str;
613 if (self->GetMimeType(&str))
614 return wx2PyString(str);
615 else
616 RETURN_NONE();
617 }
618PyObject *wxFileType_GetMimeTypes(wxFileType *self){
619 wxArrayString arr;
620 if (self->GetMimeTypes(arr))
621 return wxArrayString2PyList_helper(arr);
622 else
623 RETURN_NONE();
624 }
625PyObject *wxFileType_GetExtensions(wxFileType *self){
626 wxArrayString arr;
627 if (self->GetExtensions(arr))
628 return wxArrayString2PyList_helper(arr);
629 else
630 RETURN_NONE();
631 }
632wxIcon *wxFileType_GetIcon(wxFileType *self){
633 wxIconLocation loc;
634 if (self->GetIcon(&loc))
635 return new wxIcon(loc);
636 else
637 return NULL;
638 }
639PyObject *wxFileType_GetIconInfo(wxFileType *self){
640 wxIconLocation loc;
641 if (self->GetIcon(&loc)) {
642 wxString iconFile = loc.GetFileName();
643 int iconIndex = -1;
644
645 iconIndex = loc.GetIndex();
646
647 // Make a tuple and put the values in it
648 wxPyBeginBlockThreads();
649 PyObject* tuple = PyTuple_New(3);
650 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
423f194a 651 wxT("wxIcon"), True));
d14a1e28
RD
652 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
653 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
654 wxPyEndBlockThreads();
655 return tuple;
656 }
657 else
658 RETURN_NONE();
659 }
660PyObject *wxFileType_GetDescription(wxFileType *self){
661 wxString str;
662 if (self->GetDescription(&str))
663 return wx2PyString(str);
664 else
665 RETURN_NONE();
666 }
667PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
668 wxString str;
669 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
670 return wx2PyString(str);
671 else
672 RETURN_NONE();
673 }
674PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
675 wxString str;
676 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
677 return wx2PyString(str);
678 else
679 RETURN_NONE();
680 }
681PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
682 wxArrayString verbs;
683 wxArrayString commands;
684 if (self->GetAllCommands(&verbs, &commands,
685 wxFileType::MessageParameters(filename, mimetype))) {
686 wxPyBeginBlockThreads();
687 PyObject* tuple = PyTuple_New(2);
688 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
689 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
690 wxPyEndBlockThreads();
691 return tuple;
692 }
693 else
694 RETURN_NONE();
695 }
696wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
697 return wxFileType::ExpandCommand(command,
698 wxFileType::MessageParameters(filename, mimetype));
699 }
700PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
701 wxArrayString arr;
702 self->EnumAllFileTypes(arr);
703 return wxArrayString2PyList_helper(arr);
704 }
705
706#include <wx/artprov.h>
707
708 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
709 static const wxString wxPyART_MENU(wxART_MENU);
710 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
711 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
712 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
713 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
714 static const wxString wxPyART_OTHER(wxART_OTHER);
715 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
716 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
717 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
718 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
719 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
720 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
721 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
722 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
723 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
724 static const wxString wxPyART_GO_UP(wxART_GO_UP);
725 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
726 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
727 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
728 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
729 static const wxString wxPyART_PRINT(wxART_PRINT);
730 static const wxString wxPyART_HELP(wxART_HELP);
731 static const wxString wxPyART_TIP(wxART_TIP);
732 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
733 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
734 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
735 static const wxString wxPyART_FOLDER(wxART_FOLDER);
736 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
737 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
738 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
739 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
740 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
741 static const wxString wxPyART_ERROR(wxART_ERROR);
742 static const wxString wxPyART_QUESTION(wxART_QUESTION);
743 static const wxString wxPyART_WARNING(wxART_WARNING);
744 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
745 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
746 // Python aware wxArtProvider
747class wxPyArtProvider : public wxArtProvider {
748public:
749
750 virtual wxBitmap CreateBitmap(const wxArtID& id,
751 const wxArtClient& client,
752 const wxSize& size) {
753 wxBitmap rval = wxNullBitmap;
754 wxPyBeginBlockThreads();
755 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
756 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
757 PyObject* ro;
758 wxBitmap* ptr;
759 PyObject* s1, *s2;
760 s1 = wx2PyString(id);
761 s2 = wx2PyString(client);
762 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
763 Py_DECREF(so);
764 Py_DECREF(s1);
765 Py_DECREF(s2);
766 if (ro) {
767 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
768 rval = *ptr;
769 Py_DECREF(ro);
770 }
771 }
772 wxPyEndBlockThreads();
773 return rval;
774 }
775
776 PYPRIVATE;
777};
778
41f1cec7 779void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
d14a1e28
RD
780
781
782
783 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
784 PyObject* ret = PyTuple_New(3);
785 if (ret) {
786 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
787 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
788 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
789 }
790 return ret;
791 }
792
793PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
794 bool cont;
795 long index = 0;
796 wxString value;
797
798 cont = self->GetFirstGroup(value, index);
799 return __EnumerationHelper(cont, value, index);
800 }
801PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
802 bool cont;
803 wxString value;
804
805 cont = self->GetNextGroup(value, index);
806 return __EnumerationHelper(cont, value, index);
807 }
808PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
809 bool cont;
810 long index = 0;
811 wxString value;
812
813 cont = self->GetFirstEntry(value, index);
814 return __EnumerationHelper(cont, value, index);
815 }
816PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
817 bool cont;
818 wxString value;
819
820 cont = self->GetNextEntry(value, index);
821 return __EnumerationHelper(cont, value, index);
822 }
823long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
824 long rv;
825 self->Read(key, &rv, defaultVal);
826 return rv;
827 }
828double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
829 double rv;
830 self->Read(key, &rv, defaultVal);
831 return rv;
832 }
833bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
834 bool rv;
835 self->Read(key, &rv, defaultVal);
836 return rv;
837 }
838
839#include <wx/datetime.h>
840
d14a1e28 841
eb9b6107
RD
842 static const wxString wxPyDateFormatStr(wxT("%c"));
843 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
d14a1e28
RD
844
845#define LOCAL_TZ wxDateTime::Local
846
847wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
848wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
849wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
850wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
851wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
852bool wxDateTime___lt__(wxDateTime *self,wxDateTime const &other){ return *self < other; }
853bool wxDateTime___le__(wxDateTime *self,wxDateTime const &other){ return *self <= other; }
854bool wxDateTime___gt__(wxDateTime *self,wxDateTime const &other){ return *self > other; }
855bool wxDateTime___ge__(wxDateTime *self,wxDateTime const &other){ return *self >= other; }
856bool wxDateTime___eq__(wxDateTime *self,wxDateTime const &other){ return *self == other; }
857bool wxDateTime___ne__(wxDateTime *self,wxDateTime const &other){ return *self != other; }
858int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
859 const wxChar* rv;
860 const wxChar* _date = date;
861 rv = self->ParseRfc822Date(_date);
862 if (rv == NULL) return -1;
863 return rv - _date;
864 }
865int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
866 const wxChar* rv;
867 const wxChar* _date = date;
868 rv = self->ParseFormat(_date, format, dateDef);
869 if (rv == NULL) return -1;
870 return rv - _date;
871 }
872int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
873 const wxChar* rv;
874 const wxChar* _datetime = datetime;
875 rv = self->ParseDateTime(_datetime);
876 if (rv == NULL) return -1;
877 return rv - _datetime;
878 }
879int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
880 const wxChar* rv;
881 const wxChar* _date = date;
882 rv = self->ParseDate(_date);
883 if (rv == NULL) return -1;
884 return rv - _date;
885 }
886int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
887 const wxChar* rv;
888 const wxChar* _time = time;
889 rv = self->ParseTime(_time);
890 if (rv == NULL) return -1;
891 return rv - _time;
892 }
893wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
894wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
895wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
896wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
897bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self < other; }
898bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const &other){ return *self <= other; }
899bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self > other; }
900bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const &other){ return *self >= other; }
901bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const &other){ return *self == other; }
902bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const &other){ return *self != other; }
903wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
904wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
905wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
906wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
907bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const &other){ return *self == other; }
908bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const &other){ return *self != other; }
909
910#include <wx/dataobj.h>
911
912 // Create a new class for wxPython to use
913class wxPyDataObjectSimple : public wxDataObjectSimple {
914public:
915 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
916 : wxDataObjectSimple(format) {}
917
918 DEC_PYCALLBACK_SIZET__const(GetDataSize);
919 bool GetDataHere(void *buf) const;
920 bool SetData(size_t len, const void *buf) const;
921 PYPRIVATE;
922};
923
924IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
925
926bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
927 // We need to get the data for this object and write it to buf. I think
928 // the best way to do this for wxPython is to have the Python method
929 // return either a string or None and then act appropriately with the
930 // C++ version.
931
423f194a 932 bool rval = False;
d14a1e28
RD
933 wxPyBeginBlockThreads();
934 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
935 PyObject* ro;
936 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
937 if (ro) {
938 rval = (ro != Py_None && PyString_Check(ro));
939 if (rval)
940 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
941 Py_DECREF(ro);
942 }
943 }
944 wxPyEndBlockThreads();
945 return rval;
946}
947
948bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
949 // For this one we simply need to make a string from buf and len
950 // and send it to the Python method.
423f194a 951 bool rval = False;
d14a1e28
RD
952 wxPyBeginBlockThreads();
953 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
954 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
955 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
956 Py_DECREF(data);
957 }
958 wxPyEndBlockThreads();
959 return rval;
960}
961
962 // Create a new class for wxPython to use
963class wxPyTextDataObject : public wxTextDataObject {
964public:
965 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
966 : wxTextDataObject(text) {}
967
968 DEC_PYCALLBACK_SIZET__const(GetTextLength);
969 DEC_PYCALLBACK_STRING__const(GetText);
970 DEC_PYCALLBACK__STRING(SetText);
971 PYPRIVATE;
972};
973
974IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
975IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
976IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
977
978
979 // Create a new class for wxPython to use
980class wxPyBitmapDataObject : public wxBitmapDataObject {
981public:
982 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
983 : wxBitmapDataObject(bitmap) {}
984
985 wxBitmap GetBitmap() const;
986 void SetBitmap(const wxBitmap& bitmap);
987 PYPRIVATE;
988};
989
990wxBitmap wxPyBitmapDataObject::GetBitmap() const {
991 wxBitmap* rval = &wxNullBitmap;
992 wxPyBeginBlockThreads();
993 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
994 PyObject* ro;
995 wxBitmap* ptr;
996 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
997 if (ro) {
998 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
999 rval = ptr;
1000 Py_DECREF(ro);
1001 }
1002 }
1003 wxPyEndBlockThreads();
1004 return *rval;
1005}
1006
1007void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1008 wxPyBeginBlockThreads();
1009 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
423f194a 1010 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
d14a1e28
RD
1011 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1012 Py_DECREF(bo);
1013 }
1014 wxPyEndBlockThreads();
1015}
1016
1017void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1018 if (PyString_Check(data)) {
1019 // for Python we just call SetData here since we always need it to make a copy.
1020 self->SetData(PyString_Size(data), PyString_AsString(data));
1021 }
1022 else {
1023 // raise a TypeError if not a string
1024 PyErr_SetString(PyExc_TypeError, "String expected.");
1025 }
1026 }
1027bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1028 if (PyString_Check(data)) {
1029 return self->SetData(PyString_Size(data), PyString_AsString(data));
1030 }
1031 else {
1032 // raise a TypeError if not a string
1033 PyErr_SetString(PyExc_TypeError, "String expected.");
423f194a 1034 return False;
d14a1e28
RD
1035 }
1036 }
1037PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1038 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1039 }
1040
eb9b6107
RD
1041class wxMetafileDataObject : public wxDataObjectSimple
1042{
1043public:
1044 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1045};
d14a1e28
RD
1046
1047
d14a1e28
RD
1048IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1049
1050
d14a1e28
RD
1051IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1052IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1053IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1054IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1055IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1056
1057
d14a1e28
RD
1058class wxPyTextDropTarget : public wxTextDropTarget {
1059public:
1060 wxPyTextDropTarget() {}
1061
1062 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1063
1064 DEC_PYCALLBACK__(OnLeave);
1065 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1066 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1067 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1068 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1069
1070 PYPRIVATE;
1071};
1072
1073IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1074IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1075IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1076IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1077IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1078IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1079
1080
1081
1082class wxPyFileDropTarget : public wxFileDropTarget {
1083public:
1084 wxPyFileDropTarget() {}
1085
1086 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1087
1088 DEC_PYCALLBACK__(OnLeave);
1089 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1090 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1091 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1092 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1093
1094 PYPRIVATE;
1095};
1096
1097bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1098 const wxArrayString& filenames) {
423f194a 1099 bool rval = False;
d14a1e28
RD
1100 wxPyBeginBlockThreads();
1101 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1102 PyObject* list = wxArrayString2PyList_helper(filenames);
1103 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1104 Py_DECREF(list);
1105 }
1106 wxPyEndBlockThreads();
1107 return rval;
1108}
1109
1110
1111
1112IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1113IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1114IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1115IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1116IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1117
1118
1119
1120
1121bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1122#ifdef __cplusplus
1123extern "C" {
1124#endif
1125static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1126 PyObject *resultobj;
1127 int arg1 ;
1128 wxColour result;
1129 char *kwnames[] = {
1130 (char *) "index", NULL
1131 };
1132
1133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetColour",kwnames,&arg1)) goto fail;
1134 {
1135 PyThreadState* __tstate = wxPyBeginAllowThreads();
1136 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1137
1138 wxPyEndAllowThreads(__tstate);
1139 if (PyErr_Occurred()) SWIG_fail;
1140 }
1141 {
1142 wxColour * resultptr;
1143 resultptr = new wxColour((wxColour &) result);
1144 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
1145 }
1146 return resultobj;
1147 fail:
1148 return NULL;
1149}
1150
1151
1152static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1153 PyObject *resultobj;
1154 int arg1 ;
1155 wxFont result;
1156 char *kwnames[] = {
1157 (char *) "index", NULL
1158 };
1159
1160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetFont",kwnames,&arg1)) goto fail;
1161 {
1162 PyThreadState* __tstate = wxPyBeginAllowThreads();
1163 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1164
1165 wxPyEndAllowThreads(__tstate);
1166 if (PyErr_Occurred()) SWIG_fail;
1167 }
1168 {
1169 wxFont * resultptr;
1170 resultptr = new wxFont((wxFont &) result);
1171 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
1172 }
1173 return resultobj;
1174 fail:
1175 return NULL;
1176}
1177
1178
1179static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1180 PyObject *resultobj;
1181 int arg1 ;
1182 int result;
1183 char *kwnames[] = {
1184 (char *) "index", NULL
1185 };
1186
1187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_GetMetric",kwnames,&arg1)) goto fail;
1188 {
1189 PyThreadState* __tstate = wxPyBeginAllowThreads();
1190 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1191
1192 wxPyEndAllowThreads(__tstate);
1193 if (PyErr_Occurred()) SWIG_fail;
1194 }
1195 resultobj = PyInt_FromLong((long)result);
1196 return resultobj;
1197 fail:
1198 return NULL;
1199}
1200
1201
1202static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1203 PyObject *resultobj;
1204 int arg1 ;
1205 bool result;
1206 char *kwnames[] = {
1207 (char *) "index", NULL
1208 };
1209
1210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_HasFeature",kwnames,&arg1)) goto fail;
1211 {
1212 PyThreadState* __tstate = wxPyBeginAllowThreads();
1213 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1214
1215 wxPyEndAllowThreads(__tstate);
1216 if (PyErr_Occurred()) SWIG_fail;
1217 }
1218 resultobj = PyInt_FromLong((long)result);
1219 return resultobj;
1220 fail:
1221 return NULL;
1222}
1223
1224
1225static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1226 PyObject *resultobj;
1227 int result;
1228 char *kwnames[] = {
1229 NULL
1230 };
1231
1232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1233 {
1234 PyThreadState* __tstate = wxPyBeginAllowThreads();
1235 result = (int)wxSystemSettings::GetScreenType();
1236
1237 wxPyEndAllowThreads(__tstate);
1238 if (PyErr_Occurred()) SWIG_fail;
1239 }
1240 resultobj = PyInt_FromLong((long)result);
1241 return resultobj;
1242 fail:
1243 return NULL;
1244}
1245
1246
1247static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1248 PyObject *resultobj;
1249 int arg1 ;
1250 char *kwnames[] = {
1251 (char *) "screen", NULL
1252 };
1253
1254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:SystemSettings_SetScreenType",kwnames,&arg1)) goto fail;
1255 {
1256 PyThreadState* __tstate = wxPyBeginAllowThreads();
1257 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1258
1259 wxPyEndAllowThreads(__tstate);
1260 if (PyErr_Occurred()) SWIG_fail;
1261 }
1262 Py_INCREF(Py_None); resultobj = Py_None;
1263 return resultobj;
1264 fail:
1265 return NULL;
1266}
1267
1268
1269static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1270 PyObject *obj;
1271 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1272 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1273 Py_INCREF(obj);
1274 return Py_BuildValue((char *)"");
1275}
1276static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1277 PyObject *resultobj;
1278 wxSystemOptions *result;
1279 char *kwnames[] = {
1280 NULL
1281 };
1282
1283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1284 {
1285 PyThreadState* __tstate = wxPyBeginAllowThreads();
1286 result = (wxSystemOptions *)new wxSystemOptions();
1287
1288 wxPyEndAllowThreads(__tstate);
1289 if (PyErr_Occurred()) SWIG_fail;
1290 }
1291 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSystemOptions, 1);
1292 return resultobj;
1293 fail:
1294 return NULL;
1295}
1296
1297
1298static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1299 PyObject *resultobj;
1300 wxString *arg1 = 0 ;
1301 wxString *arg2 = 0 ;
423f194a
RD
1302 bool temp1 = False ;
1303 bool temp2 = False ;
d14a1e28
RD
1304 PyObject * obj0 = 0 ;
1305 PyObject * obj1 = 0 ;
1306 char *kwnames[] = {
1307 (char *) "name",(char *) "value", NULL
1308 };
1309
1310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1311 {
1312 arg1 = wxString_in_helper(obj0);
1313 if (arg1 == NULL) SWIG_fail;
423f194a 1314 temp1 = True;
d14a1e28
RD
1315 }
1316 {
1317 arg2 = wxString_in_helper(obj1);
1318 if (arg2 == NULL) SWIG_fail;
423f194a 1319 temp2 = True;
d14a1e28
RD
1320 }
1321 {
1322 PyThreadState* __tstate = wxPyBeginAllowThreads();
1323 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1324
1325 wxPyEndAllowThreads(__tstate);
1326 if (PyErr_Occurred()) SWIG_fail;
1327 }
1328 Py_INCREF(Py_None); resultobj = Py_None;
1329 {
1330 if (temp1)
1331 delete arg1;
1332 }
1333 {
1334 if (temp2)
1335 delete arg2;
1336 }
1337 return resultobj;
1338 fail:
1339 {
1340 if (temp1)
1341 delete arg1;
1342 }
1343 {
1344 if (temp2)
1345 delete arg2;
1346 }
1347 return NULL;
1348}
1349
1350
1351static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1352 PyObject *resultobj;
1353 wxString *arg1 = 0 ;
1354 int arg2 ;
423f194a 1355 bool temp1 = False ;
d14a1e28
RD
1356 PyObject * obj0 = 0 ;
1357 char *kwnames[] = {
1358 (char *) "name",(char *) "value", NULL
1359 };
1360
1361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SystemOptions_SetOptionInt",kwnames,&obj0,&arg2)) goto fail;
1362 {
1363 arg1 = wxString_in_helper(obj0);
1364 if (arg1 == NULL) SWIG_fail;
423f194a 1365 temp1 = True;
d14a1e28
RD
1366 }
1367 {
1368 PyThreadState* __tstate = wxPyBeginAllowThreads();
1369 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1370
1371 wxPyEndAllowThreads(__tstate);
1372 if (PyErr_Occurred()) SWIG_fail;
1373 }
1374 Py_INCREF(Py_None); resultobj = Py_None;
1375 {
1376 if (temp1)
1377 delete arg1;
1378 }
1379 return resultobj;
1380 fail:
1381 {
1382 if (temp1)
1383 delete arg1;
1384 }
1385 return NULL;
1386}
1387
1388
1389static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1390 PyObject *resultobj;
1391 wxString *arg1 = 0 ;
1392 wxString result;
423f194a 1393 bool temp1 = False ;
d14a1e28
RD
1394 PyObject * obj0 = 0 ;
1395 char *kwnames[] = {
1396 (char *) "name", NULL
1397 };
1398
1399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1400 {
1401 arg1 = wxString_in_helper(obj0);
1402 if (arg1 == NULL) SWIG_fail;
423f194a 1403 temp1 = True;
d14a1e28
RD
1404 }
1405 {
1406 PyThreadState* __tstate = wxPyBeginAllowThreads();
1407 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1408
1409 wxPyEndAllowThreads(__tstate);
1410 if (PyErr_Occurred()) SWIG_fail;
1411 }
1412 {
1413#if wxUSE_UNICODE
1414 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1415#else
1416 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1417#endif
1418 }
1419 {
1420 if (temp1)
1421 delete arg1;
1422 }
1423 return resultobj;
1424 fail:
1425 {
1426 if (temp1)
1427 delete arg1;
1428 }
1429 return NULL;
1430}
1431
1432
1433static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1434 PyObject *resultobj;
1435 wxString *arg1 = 0 ;
1436 int result;
423f194a 1437 bool temp1 = False ;
d14a1e28
RD
1438 PyObject * obj0 = 0 ;
1439 char *kwnames[] = {
1440 (char *) "name", NULL
1441 };
1442
1443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1444 {
1445 arg1 = wxString_in_helper(obj0);
1446 if (arg1 == NULL) SWIG_fail;
423f194a 1447 temp1 = True;
d14a1e28
RD
1448 }
1449 {
1450 PyThreadState* __tstate = wxPyBeginAllowThreads();
1451 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1452
1453 wxPyEndAllowThreads(__tstate);
1454 if (PyErr_Occurred()) SWIG_fail;
1455 }
1456 resultobj = PyInt_FromLong((long)result);
1457 {
1458 if (temp1)
1459 delete arg1;
1460 }
1461 return resultobj;
1462 fail:
1463 {
1464 if (temp1)
1465 delete arg1;
1466 }
1467 return NULL;
1468}
1469
1470
1471static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1472 PyObject *resultobj;
1473 wxString *arg1 = 0 ;
1474 bool result;
423f194a 1475 bool temp1 = False ;
d14a1e28
RD
1476 PyObject * obj0 = 0 ;
1477 char *kwnames[] = {
1478 (char *) "name", NULL
1479 };
1480
1481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1482 {
1483 arg1 = wxString_in_helper(obj0);
1484 if (arg1 == NULL) SWIG_fail;
423f194a 1485 temp1 = True;
d14a1e28
RD
1486 }
1487 {
1488 PyThreadState* __tstate = wxPyBeginAllowThreads();
1489 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1490
1491 wxPyEndAllowThreads(__tstate);
1492 if (PyErr_Occurred()) SWIG_fail;
1493 }
1494 resultobj = PyInt_FromLong((long)result);
1495 {
1496 if (temp1)
1497 delete arg1;
1498 }
1499 return resultobj;
1500 fail:
1501 {
1502 if (temp1)
1503 delete arg1;
1504 }
1505 return NULL;
1506}
1507
1508
1509static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1510 PyObject *obj;
1511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1512 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1513 Py_INCREF(obj);
1514 return Py_BuildValue((char *)"");
1515}
d03fd34d
RD
1516static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
1517 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
1518 return 1;
1519}
1520
1521
1522static PyObject *_wrap_FileSelectorPromptStr_get() {
1523 PyObject *pyobj;
1524
1525 {
1526#if wxUSE_UNICODE
1527 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1528#else
1529 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1530#endif
1531 }
1532 return pyobj;
1533}
1534
1535
1536static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
1537 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
1538 return 1;
1539}
1540
1541
1542static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
1543 PyObject *pyobj;
1544
1545 {
1546#if wxUSE_UNICODE
1547 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1548#else
1549 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1550#endif
1551 }
1552 return pyobj;
1553}
1554
1555
1556static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
1557 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
1558 return 1;
1559}
1560
1561
1562static PyObject *_wrap_DirSelectorPromptStr_get() {
1563 PyObject *pyobj;
1564
1565 {
1566#if wxUSE_UNICODE
1567 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1568#else
1569 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1570#endif
1571 }
1572 return pyobj;
1573}
1574
1575
d14a1e28
RD
1576static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1577 PyObject *resultobj;
1578 long result;
1579 char *kwnames[] = {
1580 NULL
1581 };
1582
1583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1584 {
1585 PyThreadState* __tstate = wxPyBeginAllowThreads();
1586 result = (long)wxNewId();
1587
1588 wxPyEndAllowThreads(__tstate);
1589 if (PyErr_Occurred()) SWIG_fail;
1590 }
1591 resultobj = PyInt_FromLong((long)result);
1592 return resultobj;
1593 fail:
1594 return NULL;
1595}
1596
1597
1598static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1599 PyObject *resultobj;
1600 long arg1 ;
1601 char *kwnames[] = {
1602 (char *) "id", NULL
1603 };
1604
1605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:RegisterId",kwnames,&arg1)) goto fail;
1606 {
1607 PyThreadState* __tstate = wxPyBeginAllowThreads();
1608 wxRegisterId(arg1);
1609
1610 wxPyEndAllowThreads(__tstate);
1611 if (PyErr_Occurred()) SWIG_fail;
1612 }
1613 Py_INCREF(Py_None); resultobj = Py_None;
1614 return resultobj;
1615 fail:
1616 return NULL;
1617}
1618
1619
1620static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1621 PyObject *resultobj;
1622 long result;
1623 char *kwnames[] = {
1624 NULL
1625 };
1626
1627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1628 {
1629 PyThreadState* __tstate = wxPyBeginAllowThreads();
1630 result = (long)wxGetCurrentId();
1631
1632 wxPyEndAllowThreads(__tstate);
1633 if (PyErr_Occurred()) SWIG_fail;
1634 }
1635 resultobj = PyInt_FromLong((long)result);
1636 return resultobj;
1637 fail:
1638 return NULL;
1639}
1640
1641
1642static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
1643 PyObject *resultobj;
1644 char *kwnames[] = {
1645 NULL
1646 };
1647
1648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1649 {
1650 PyThreadState* __tstate = wxPyBeginAllowThreads();
1651 wxBell();
1652
1653 wxPyEndAllowThreads(__tstate);
1654 if (PyErr_Occurred()) SWIG_fail;
1655 }
1656 Py_INCREF(Py_None); resultobj = Py_None;
1657 return resultobj;
1658 fail:
1659 return NULL;
1660}
1661
1662
1663static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1664 PyObject *resultobj;
1665 char *kwnames[] = {
1666 NULL
1667 };
1668
1669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
1670 {
1671 PyThreadState* __tstate = wxPyBeginAllowThreads();
1672 wxEndBusyCursor();
1673
1674 wxPyEndAllowThreads(__tstate);
1675 if (PyErr_Occurred()) SWIG_fail;
1676 }
1677 Py_INCREF(Py_None); resultobj = Py_None;
1678 return resultobj;
1679 fail:
1680 return NULL;
1681}
1682
1683
1684static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1685 PyObject *resultobj;
423f194a 1686 bool arg1 = (bool) True ;
d14a1e28
RD
1687 long result;
1688 PyObject * obj0 = 0 ;
1689 char *kwnames[] = {
1690 (char *) "resetTimer", NULL
1691 };
1692
1693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
1694 if (obj0) {
1695 arg1 = PyInt_AsLong(obj0) ? true : false;
1696 if (PyErr_Occurred()) SWIG_fail;
1697 }
1698 {
1699 PyThreadState* __tstate = wxPyBeginAllowThreads();
1700 result = (long)wxGetElapsedTime(arg1);
1701
1702 wxPyEndAllowThreads(__tstate);
1703 if (PyErr_Occurred()) SWIG_fail;
1704 }
1705 resultobj = PyInt_FromLong((long)result);
1706 return resultobj;
1707 fail:
1708 return NULL;
1709}
1710
1711
1712static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1713 PyObject *resultobj;
1714 int *arg1 = (int *) 0 ;
1715 int *arg2 = (int *) 0 ;
1716 int temp1 ;
1717 int temp2 ;
1718 char *kwnames[] = {
1719 NULL
1720 };
1721
1722 arg1 = &temp1;
1723 arg2 = &temp2;
1724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
1725 {
1726 PyThreadState* __tstate = wxPyBeginAllowThreads();
1727 wxGetMousePosition(arg1,arg2);
1728
1729 wxPyEndAllowThreads(__tstate);
1730 if (PyErr_Occurred()) SWIG_fail;
1731 }
1732 Py_INCREF(Py_None); resultobj = Py_None;
1733 {
1734 PyObject *o = PyInt_FromLong((long) (*arg1));
1735 resultobj = t_output_helper(resultobj,o);
1736 }
1737 {
1738 PyObject *o = PyInt_FromLong((long) (*arg2));
1739 resultobj = t_output_helper(resultobj,o);
1740 }
1741 return resultobj;
1742 fail:
1743 return NULL;
1744}
1745
1746
1747static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
1748 PyObject *resultobj;
1749 bool result;
1750 char *kwnames[] = {
1751 NULL
1752 };
1753
1754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
1755 {
1756 PyThreadState* __tstate = wxPyBeginAllowThreads();
1757 result = (bool)wxIsBusy();
1758
1759 wxPyEndAllowThreads(__tstate);
1760 if (PyErr_Occurred()) SWIG_fail;
1761 }
1762 resultobj = PyInt_FromLong((long)result);
1763 return resultobj;
1764 fail:
1765 return NULL;
1766}
1767
1768
1769static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
1770 PyObject *resultobj;
1771 wxString result;
1772 char *kwnames[] = {
1773 NULL
1774 };
1775
1776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
1777 {
1778 PyThreadState* __tstate = wxPyBeginAllowThreads();
1779 result = wxNow();
1780
1781 wxPyEndAllowThreads(__tstate);
1782 if (PyErr_Occurred()) SWIG_fail;
1783 }
1784 {
1785#if wxUSE_UNICODE
1786 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1787#else
1788 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1789#endif
1790 }
1791 return resultobj;
1792 fail:
1793 return NULL;
1794}
1795
1796
1797static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
1798 PyObject *resultobj;
1799 wxString const &arg1_defvalue = wxPyEmptyString ;
1800 wxString *arg1 = (wxString *) &arg1_defvalue ;
1801 bool result;
423f194a 1802 bool temp1 = False ;
d14a1e28
RD
1803 PyObject * obj0 = 0 ;
1804 char *kwnames[] = {
1805 (char *) "command", NULL
1806 };
1807
1808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
1809 if (obj0) {
1810 {
1811 arg1 = wxString_in_helper(obj0);
1812 if (arg1 == NULL) SWIG_fail;
423f194a 1813 temp1 = True;
d14a1e28
RD
1814 }
1815 }
1816 {
1817 PyThreadState* __tstate = wxPyBeginAllowThreads();
1818 result = (bool)wxShell((wxString const &)*arg1);
1819
1820 wxPyEndAllowThreads(__tstate);
1821 if (PyErr_Occurred()) SWIG_fail;
1822 }
1823 resultobj = PyInt_FromLong((long)result);
1824 {
1825 if (temp1)
1826 delete arg1;
1827 }
1828 return resultobj;
1829 fail:
1830 {
1831 if (temp1)
1832 delete arg1;
1833 }
1834 return NULL;
1835}
1836
1837
1838static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
1839 PyObject *resultobj;
1840 char *kwnames[] = {
1841 NULL
1842 };
1843
1844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
1845 {
1846 PyThreadState* __tstate = wxPyBeginAllowThreads();
1847 wxStartTimer();
1848
1849 wxPyEndAllowThreads(__tstate);
1850 if (PyErr_Occurred()) SWIG_fail;
1851 }
1852 Py_INCREF(Py_None); resultobj = Py_None;
1853 return resultobj;
1854 fail:
1855 return NULL;
1856}
1857
1858
1859static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
1860 PyObject *resultobj;
1861 int *arg1 = (int *) 0 ;
1862 int *arg2 = (int *) 0 ;
1863 int result;
1864 int temp1 ;
1865 int temp2 ;
1866 char *kwnames[] = {
1867 NULL
1868 };
1869
1870 arg1 = &temp1;
1871 arg2 = &temp2;
1872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
1873 {
1874 PyThreadState* __tstate = wxPyBeginAllowThreads();
1875 result = (int)wxGetOsVersion(arg1,arg2);
1876
1877 wxPyEndAllowThreads(__tstate);
1878 if (PyErr_Occurred()) SWIG_fail;
1879 }
1880 resultobj = PyInt_FromLong((long)result);
1881 {
1882 PyObject *o = PyInt_FromLong((long) (*arg1));
1883 resultobj = t_output_helper(resultobj,o);
1884 }
1885 {
1886 PyObject *o = PyInt_FromLong((long) (*arg2));
1887 resultobj = t_output_helper(resultobj,o);
1888 }
1889 return resultobj;
1890 fail:
1891 return NULL;
1892}
1893
1894
1895static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
1896 PyObject *resultobj;
1897 wxString result;
1898 char *kwnames[] = {
1899 NULL
1900 };
1901
1902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
1903 {
1904 PyThreadState* __tstate = wxPyBeginAllowThreads();
1905 result = wxGetOsDescription();
1906
1907 wxPyEndAllowThreads(__tstate);
1908 if (PyErr_Occurred()) SWIG_fail;
1909 }
1910 {
1911#if wxUSE_UNICODE
1912 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1913#else
1914 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1915#endif
1916 }
1917 return resultobj;
1918 fail:
1919 return NULL;
1920}
1921
1922
1923static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
1924 PyObject *resultobj;
1925 long result;
1926 char *kwnames[] = {
1927 NULL
1928 };
1929
1930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
1931 {
1932 PyThreadState* __tstate = wxPyBeginAllowThreads();
1933 result = (long)wxGetFreeMemory();
1934
1935 wxPyEndAllowThreads(__tstate);
1936 if (PyErr_Occurred()) SWIG_fail;
1937 }
1938 resultobj = PyInt_FromLong((long)result);
1939 return resultobj;
1940 fail:
1941 return NULL;
1942}
1943
1944
1945static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
1946 PyObject *resultobj;
1947 int arg1 ;
1948 bool result;
1949 char *kwnames[] = {
1950 (char *) "wFlags", NULL
1951 };
1952
1953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Shutdown",kwnames,&arg1)) goto fail;
1954 {
1955 PyThreadState* __tstate = wxPyBeginAllowThreads();
1956 result = (bool)wxShutdown((wxShutdownFlags )arg1);
1957
1958 wxPyEndAllowThreads(__tstate);
1959 if (PyErr_Occurred()) SWIG_fail;
1960 }
1961 resultobj = PyInt_FromLong((long)result);
1962 return resultobj;
1963 fail:
1964 return NULL;
1965}
1966
1967
1968static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1969 PyObject *resultobj;
1970 int arg1 ;
1971 char *kwnames[] = {
1972 (char *) "secs", NULL
1973 };
1974
1975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Sleep",kwnames,&arg1)) goto fail;
1976 {
1977 PyThreadState* __tstate = wxPyBeginAllowThreads();
1978 wxSleep(arg1);
1979
1980 wxPyEndAllowThreads(__tstate);
1981 if (PyErr_Occurred()) SWIG_fail;
1982 }
1983 Py_INCREF(Py_None); resultobj = Py_None;
1984 return resultobj;
1985 fail:
1986 return NULL;
1987}
1988
1989
1990static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
1991 PyObject *resultobj;
1992 unsigned long arg1 ;
1993 PyObject * obj0 = 0 ;
1994 char *kwnames[] = {
1995 (char *) "milliseconds", NULL
1996 };
1997
1998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
1999 arg1 = (unsigned long) PyInt_AsLong(obj0);
2000 if (PyErr_Occurred()) SWIG_fail;
2001 {
2002 PyThreadState* __tstate = wxPyBeginAllowThreads();
2003 wxUsleep(arg1);
2004
2005 wxPyEndAllowThreads(__tstate);
2006 if (PyErr_Occurred()) SWIG_fail;
2007 }
2008 Py_INCREF(Py_None); resultobj = Py_None;
2009 return resultobj;
2010 fail:
2011 return NULL;
2012}
2013
2014
2015static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2016 PyObject *resultobj;
2017 bool arg1 ;
2018 PyObject * obj0 = 0 ;
2019 char *kwnames[] = {
2020 (char *) "enable", NULL
2021 };
2022
2023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2024 arg1 = PyInt_AsLong(obj0) ? true : false;
2025 if (PyErr_Occurred()) SWIG_fail;
2026 {
2027 PyThreadState* __tstate = wxPyBeginAllowThreads();
2028 wxEnableTopLevelWindows(arg1);
2029
2030 wxPyEndAllowThreads(__tstate);
2031 if (PyErr_Occurred()) SWIG_fail;
2032 }
2033 Py_INCREF(Py_None); resultobj = Py_None;
2034 return resultobj;
2035 fail:
2036 return NULL;
2037}
2038
2039
2040static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2041 PyObject *resultobj;
2042 wxString *arg1 = 0 ;
2043 wxString result;
423f194a 2044 bool temp1 = False ;
d14a1e28
RD
2045 PyObject * obj0 = 0 ;
2046 char *kwnames[] = {
2047 (char *) "in", NULL
2048 };
2049
2050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2051 {
2052 arg1 = wxString_in_helper(obj0);
2053 if (arg1 == NULL) SWIG_fail;
423f194a 2054 temp1 = True;
d14a1e28
RD
2055 }
2056 {
2057 PyThreadState* __tstate = wxPyBeginAllowThreads();
2058 result = wxStripMenuCodes((wxString const &)*arg1);
2059
2060 wxPyEndAllowThreads(__tstate);
2061 if (PyErr_Occurred()) SWIG_fail;
2062 }
2063 {
2064#if wxUSE_UNICODE
2065 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2066#else
2067 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2068#endif
2069 }
2070 {
2071 if (temp1)
2072 delete arg1;
2073 }
2074 return resultobj;
2075 fail:
2076 {
2077 if (temp1)
2078 delete arg1;
2079 }
2080 return NULL;
2081}
2082
2083
2084static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2085 PyObject *resultobj;
2086 wxString result;
2087 char *kwnames[] = {
2088 NULL
2089 };
2090
2091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2092 {
2093 PyThreadState* __tstate = wxPyBeginAllowThreads();
2094 result = wxGetEmailAddress();
2095
2096 wxPyEndAllowThreads(__tstate);
2097 if (PyErr_Occurred()) SWIG_fail;
2098 }
2099 {
2100#if wxUSE_UNICODE
2101 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2102#else
2103 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2104#endif
2105 }
2106 return resultobj;
2107 fail:
2108 return NULL;
2109}
2110
2111
2112static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2113 PyObject *resultobj;
2114 wxString result;
2115 char *kwnames[] = {
2116 NULL
2117 };
2118
2119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2120 {
2121 PyThreadState* __tstate = wxPyBeginAllowThreads();
2122 result = wxGetHostName();
2123
2124 wxPyEndAllowThreads(__tstate);
2125 if (PyErr_Occurred()) SWIG_fail;
2126 }
2127 {
2128#if wxUSE_UNICODE
2129 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2130#else
2131 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2132#endif
2133 }
2134 return resultobj;
2135 fail:
2136 return NULL;
2137}
2138
2139
2140static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2141 PyObject *resultobj;
2142 wxString result;
2143 char *kwnames[] = {
2144 NULL
2145 };
2146
2147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2148 {
2149 PyThreadState* __tstate = wxPyBeginAllowThreads();
2150 result = wxGetFullHostName();
2151
2152 wxPyEndAllowThreads(__tstate);
2153 if (PyErr_Occurred()) SWIG_fail;
2154 }
2155 {
2156#if wxUSE_UNICODE
2157 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2158#else
2159 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2160#endif
2161 }
2162 return resultobj;
2163 fail:
2164 return NULL;
2165}
2166
2167
2168static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2169 PyObject *resultobj;
2170 wxString result;
2171 char *kwnames[] = {
2172 NULL
2173 };
2174
2175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2176 {
2177 PyThreadState* __tstate = wxPyBeginAllowThreads();
2178 result = wxGetUserId();
2179
2180 wxPyEndAllowThreads(__tstate);
2181 if (PyErr_Occurred()) SWIG_fail;
2182 }
2183 {
2184#if wxUSE_UNICODE
2185 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2186#else
2187 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2188#endif
2189 }
2190 return resultobj;
2191 fail:
2192 return NULL;
2193}
2194
2195
2196static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2197 PyObject *resultobj;
2198 wxString result;
2199 char *kwnames[] = {
2200 NULL
2201 };
2202
2203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2204 {
2205 PyThreadState* __tstate = wxPyBeginAllowThreads();
2206 result = wxGetUserName();
2207
2208 wxPyEndAllowThreads(__tstate);
2209 if (PyErr_Occurred()) SWIG_fail;
2210 }
2211 {
2212#if wxUSE_UNICODE
2213 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2214#else
2215 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2216#endif
2217 }
2218 return resultobj;
2219 fail:
2220 return NULL;
2221}
2222
2223
2224static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2225 PyObject *resultobj;
2226 wxString result;
2227 char *kwnames[] = {
2228 NULL
2229 };
2230
2231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2232 {
2233 PyThreadState* __tstate = wxPyBeginAllowThreads();
2234 result = wxGetHomeDir();
2235
2236 wxPyEndAllowThreads(__tstate);
2237 if (PyErr_Occurred()) SWIG_fail;
2238 }
2239 {
2240#if wxUSE_UNICODE
2241 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2242#else
2243 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2244#endif
2245 }
2246 return resultobj;
2247 fail:
2248 return NULL;
2249}
2250
2251
2252static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2253 PyObject *resultobj;
2254 wxString const &arg1_defvalue = wxPyEmptyString ;
2255 wxString *arg1 = (wxString *) &arg1_defvalue ;
2256 wxString result;
423f194a 2257 bool temp1 = False ;
d14a1e28
RD
2258 PyObject * obj0 = 0 ;
2259 char *kwnames[] = {
2260 (char *) "user", NULL
2261 };
2262
2263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2264 if (obj0) {
2265 {
2266 arg1 = wxString_in_helper(obj0);
2267 if (arg1 == NULL) SWIG_fail;
423f194a 2268 temp1 = True;
d14a1e28
RD
2269 }
2270 }
2271 {
2272 PyThreadState* __tstate = wxPyBeginAllowThreads();
2273 result = wxGetUserHome((wxString const &)*arg1);
2274
2275 wxPyEndAllowThreads(__tstate);
2276 if (PyErr_Occurred()) SWIG_fail;
2277 }
2278 {
2279#if wxUSE_UNICODE
2280 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2281#else
2282 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2283#endif
2284 }
2285 {
2286 if (temp1)
2287 delete arg1;
2288 }
2289 return resultobj;
2290 fail:
2291 {
2292 if (temp1)
2293 delete arg1;
2294 }
2295 return NULL;
2296}
2297
2298
2299static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2300 PyObject *resultobj;
2301 unsigned long result;
2302 char *kwnames[] = {
2303 NULL
2304 };
2305
2306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2307 {
2308 PyThreadState* __tstate = wxPyBeginAllowThreads();
2309 result = (unsigned long)wxGetProcessId();
2310
2311 wxPyEndAllowThreads(__tstate);
2312 if (PyErr_Occurred()) SWIG_fail;
2313 }
2314 resultobj = PyInt_FromLong((long)result);
2315 return resultobj;
2316 fail:
2317 return NULL;
2318}
2319
2320
2321static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2322 PyObject *resultobj;
2323 char *kwnames[] = {
2324 NULL
2325 };
2326
2327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2328 {
2329 PyThreadState* __tstate = wxPyBeginAllowThreads();
2330 wxTrap();
2331
2332 wxPyEndAllowThreads(__tstate);
2333 if (PyErr_Occurred()) SWIG_fail;
2334 }
2335 Py_INCREF(Py_None); resultobj = Py_None;
2336 return resultobj;
2337 fail:
2338 return NULL;
2339}
2340
2341
2342static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2343 PyObject *resultobj;
2344 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2345 wxString *arg1 = (wxString *) &arg1_defvalue ;
2346 wxString const &arg2_defvalue = wxPyEmptyString ;
2347 wxString *arg2 = (wxString *) &arg2_defvalue ;
2348 wxString const &arg3_defvalue = wxPyEmptyString ;
2349 wxString *arg3 = (wxString *) &arg3_defvalue ;
2350 wxString const &arg4_defvalue = wxPyEmptyString ;
2351 wxString *arg4 = (wxString *) &arg4_defvalue ;
2352 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2353 wxString *arg5 = (wxString *) &arg5_defvalue ;
2354 int arg6 = (int) 0 ;
2355 wxWindow *arg7 = (wxWindow *) NULL ;
2356 int arg8 = (int) -1 ;
2357 int arg9 = (int) -1 ;
2358 wxString result;
423f194a
RD
2359 bool temp1 = False ;
2360 bool temp2 = False ;
2361 bool temp3 = False ;
2362 bool temp4 = False ;
2363 bool temp5 = False ;
d14a1e28
RD
2364 PyObject * obj0 = 0 ;
2365 PyObject * obj1 = 0 ;
2366 PyObject * obj2 = 0 ;
2367 PyObject * obj3 = 0 ;
2368 PyObject * obj4 = 0 ;
2369 PyObject * obj6 = 0 ;
2370 char *kwnames[] = {
2371 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2372 };
2373
2374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOiOii:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&arg9)) goto fail;
2375 if (obj0) {
2376 {
2377 arg1 = wxString_in_helper(obj0);
2378 if (arg1 == NULL) SWIG_fail;
423f194a 2379 temp1 = True;
d14a1e28
RD
2380 }
2381 }
2382 if (obj1) {
2383 {
2384 arg2 = wxString_in_helper(obj1);
2385 if (arg2 == NULL) SWIG_fail;
423f194a 2386 temp2 = True;
d14a1e28
RD
2387 }
2388 }
2389 if (obj2) {
2390 {
2391 arg3 = wxString_in_helper(obj2);
2392 if (arg3 == NULL) SWIG_fail;
423f194a 2393 temp3 = True;
d14a1e28
RD
2394 }
2395 }
2396 if (obj3) {
2397 {
2398 arg4 = wxString_in_helper(obj3);
2399 if (arg4 == NULL) SWIG_fail;
423f194a 2400 temp4 = True;
d14a1e28
RD
2401 }
2402 }
2403 if (obj4) {
2404 {
2405 arg5 = wxString_in_helper(obj4);
2406 if (arg5 == NULL) SWIG_fail;
423f194a 2407 temp5 = True;
d14a1e28
RD
2408 }
2409 }
2410 if (obj6) {
2411 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2412 }
2413 {
2414 PyThreadState* __tstate = wxPyBeginAllowThreads();
2415 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2416
2417 wxPyEndAllowThreads(__tstate);
2418 if (PyErr_Occurred()) SWIG_fail;
2419 }
2420 {
2421#if wxUSE_UNICODE
2422 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2423#else
2424 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2425#endif
2426 }
2427 {
2428 if (temp1)
2429 delete arg1;
2430 }
2431 {
2432 if (temp2)
2433 delete arg2;
2434 }
2435 {
2436 if (temp3)
2437 delete arg3;
2438 }
2439 {
2440 if (temp4)
2441 delete arg4;
2442 }
2443 {
2444 if (temp5)
2445 delete arg5;
2446 }
2447 return resultobj;
2448 fail:
2449 {
2450 if (temp1)
2451 delete arg1;
2452 }
2453 {
2454 if (temp2)
2455 delete arg2;
2456 }
2457 {
2458 if (temp3)
2459 delete arg3;
2460 }
2461 {
2462 if (temp4)
2463 delete arg4;
2464 }
2465 {
2466 if (temp5)
2467 delete arg5;
2468 }
2469 return NULL;
2470}
2471
2472
2473static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2474 PyObject *resultobj;
2475 wxString *arg1 = 0 ;
2476 wxString *arg2 = 0 ;
2477 wxString const &arg3_defvalue = wxPyEmptyString ;
2478 wxString *arg3 = (wxString *) &arg3_defvalue ;
2479 wxWindow *arg4 = (wxWindow *) NULL ;
2480 wxString result;
423f194a
RD
2481 bool temp1 = False ;
2482 bool temp2 = False ;
2483 bool temp3 = False ;
d14a1e28
RD
2484 PyObject * obj0 = 0 ;
2485 PyObject * obj1 = 0 ;
2486 PyObject * obj2 = 0 ;
2487 PyObject * obj3 = 0 ;
2488 char *kwnames[] = {
2489 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2490 };
2491
2492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2493 {
2494 arg1 = wxString_in_helper(obj0);
2495 if (arg1 == NULL) SWIG_fail;
423f194a 2496 temp1 = True;
d14a1e28
RD
2497 }
2498 {
2499 arg2 = wxString_in_helper(obj1);
2500 if (arg2 == NULL) SWIG_fail;
423f194a 2501 temp2 = True;
d14a1e28
RD
2502 }
2503 if (obj2) {
2504 {
2505 arg3 = wxString_in_helper(obj2);
2506 if (arg3 == NULL) SWIG_fail;
423f194a 2507 temp3 = True;
d14a1e28
RD
2508 }
2509 }
2510 if (obj3) {
2511 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2512 }
2513 {
2514 PyThreadState* __tstate = wxPyBeginAllowThreads();
2515 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2516
2517 wxPyEndAllowThreads(__tstate);
2518 if (PyErr_Occurred()) SWIG_fail;
2519 }
2520 {
2521#if wxUSE_UNICODE
2522 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2523#else
2524 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2525#endif
2526 }
2527 {
2528 if (temp1)
2529 delete arg1;
2530 }
2531 {
2532 if (temp2)
2533 delete arg2;
2534 }
2535 {
2536 if (temp3)
2537 delete arg3;
2538 }
2539 return resultobj;
2540 fail:
2541 {
2542 if (temp1)
2543 delete arg1;
2544 }
2545 {
2546 if (temp2)
2547 delete arg2;
2548 }
2549 {
2550 if (temp3)
2551 delete arg3;
2552 }
2553 return NULL;
2554}
2555
2556
2557static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2558 PyObject *resultobj;
2559 wxString *arg1 = 0 ;
2560 wxString *arg2 = 0 ;
2561 wxString const &arg3_defvalue = wxPyEmptyString ;
2562 wxString *arg3 = (wxString *) &arg3_defvalue ;
2563 wxWindow *arg4 = (wxWindow *) NULL ;
2564 wxString result;
423f194a
RD
2565 bool temp1 = False ;
2566 bool temp2 = False ;
2567 bool temp3 = False ;
d14a1e28
RD
2568 PyObject * obj0 = 0 ;
2569 PyObject * obj1 = 0 ;
2570 PyObject * obj2 = 0 ;
2571 PyObject * obj3 = 0 ;
2572 char *kwnames[] = {
2573 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2574 };
2575
2576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2577 {
2578 arg1 = wxString_in_helper(obj0);
2579 if (arg1 == NULL) SWIG_fail;
423f194a 2580 temp1 = True;
d14a1e28
RD
2581 }
2582 {
2583 arg2 = wxString_in_helper(obj1);
2584 if (arg2 == NULL) SWIG_fail;
423f194a 2585 temp2 = True;
d14a1e28
RD
2586 }
2587 if (obj2) {
2588 {
2589 arg3 = wxString_in_helper(obj2);
2590 if (arg3 == NULL) SWIG_fail;
423f194a 2591 temp3 = True;
d14a1e28
RD
2592 }
2593 }
2594 if (obj3) {
2595 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2596 }
2597 {
2598 PyThreadState* __tstate = wxPyBeginAllowThreads();
2599 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2600
2601 wxPyEndAllowThreads(__tstate);
2602 if (PyErr_Occurred()) SWIG_fail;
2603 }
2604 {
2605#if wxUSE_UNICODE
2606 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2607#else
2608 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2609#endif
2610 }
2611 {
2612 if (temp1)
2613 delete arg1;
2614 }
2615 {
2616 if (temp2)
2617 delete arg2;
2618 }
2619 {
2620 if (temp3)
2621 delete arg3;
2622 }
2623 return resultobj;
2624 fail:
2625 {
2626 if (temp1)
2627 delete arg1;
2628 }
2629 {
2630 if (temp2)
2631 delete arg2;
2632 }
2633 {
2634 if (temp3)
2635 delete arg3;
2636 }
2637 return NULL;
2638}
2639
2640
2641static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2642 PyObject *resultobj;
2643 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
2644 wxString *arg1 = (wxString *) &arg1_defvalue ;
2645 wxString const &arg2_defvalue = wxPyEmptyString ;
2646 wxString *arg2 = (wxString *) &arg2_defvalue ;
2647 long arg3 = (long) wxDD_DEFAULT_STYLE ;
2648 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2649 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2650 wxWindow *arg5 = (wxWindow *) NULL ;
2651 wxString result;
423f194a
RD
2652 bool temp1 = False ;
2653 bool temp2 = False ;
d14a1e28
RD
2654 wxPoint temp4 ;
2655 PyObject * obj0 = 0 ;
2656 PyObject * obj1 = 0 ;
2657 PyObject * obj3 = 0 ;
2658 PyObject * obj4 = 0 ;
2659 char *kwnames[] = {
2660 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2661 };
2662
2663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOlOO:DirSelector",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
2664 if (obj0) {
2665 {
2666 arg1 = wxString_in_helper(obj0);
2667 if (arg1 == NULL) SWIG_fail;
423f194a 2668 temp1 = True;
d14a1e28
RD
2669 }
2670 }
2671 if (obj1) {
2672 {
2673 arg2 = wxString_in_helper(obj1);
2674 if (arg2 == NULL) SWIG_fail;
423f194a 2675 temp2 = True;
d14a1e28
RD
2676 }
2677 }
2678 if (obj3) {
2679 {
2680 arg4 = &temp4;
2681 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2682 }
2683 }
2684 if (obj4) {
2685 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2686 }
2687 {
2688 PyThreadState* __tstate = wxPyBeginAllowThreads();
2689 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
2690
2691 wxPyEndAllowThreads(__tstate);
2692 if (PyErr_Occurred()) SWIG_fail;
2693 }
2694 {
2695#if wxUSE_UNICODE
2696 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2697#else
2698 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2699#endif
2700 }
2701 {
2702 if (temp1)
2703 delete arg1;
2704 }
2705 {
2706 if (temp2)
2707 delete arg2;
2708 }
2709 return resultobj;
2710 fail:
2711 {
2712 if (temp1)
2713 delete arg1;
2714 }
2715 {
2716 if (temp2)
2717 delete arg2;
2718 }
2719 return NULL;
2720}
2721
2722
2723static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2724 PyObject *resultobj;
2725 wxString *arg1 = 0 ;
2726 wxString const &arg2_defvalue = wxPyEmptyString ;
2727 wxString *arg2 = (wxString *) &arg2_defvalue ;
2728 wxString const &arg3_defvalue = wxPyEmptyString ;
2729 wxString *arg3 = (wxString *) &arg3_defvalue ;
2730 wxWindow *arg4 = (wxWindow *) NULL ;
2731 int arg5 = (int) -1 ;
2732 int arg6 = (int) -1 ;
423f194a 2733 bool arg7 = (bool) True ;
d14a1e28 2734 wxString result;
423f194a
RD
2735 bool temp1 = False ;
2736 bool temp2 = False ;
2737 bool temp3 = False ;
d14a1e28
RD
2738 PyObject * obj0 = 0 ;
2739 PyObject * obj1 = 0 ;
2740 PyObject * obj2 = 0 ;
2741 PyObject * obj3 = 0 ;
2742 PyObject * obj6 = 0 ;
2743 char *kwnames[] = {
2744 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2745 };
2746
2747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOiiO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
2748 {
2749 arg1 = wxString_in_helper(obj0);
2750 if (arg1 == NULL) SWIG_fail;
423f194a 2751 temp1 = True;
d14a1e28
RD
2752 }
2753 if (obj1) {
2754 {
2755 arg2 = wxString_in_helper(obj1);
2756 if (arg2 == NULL) SWIG_fail;
423f194a 2757 temp2 = True;
d14a1e28
RD
2758 }
2759 }
2760 if (obj2) {
2761 {
2762 arg3 = wxString_in_helper(obj2);
2763 if (arg3 == NULL) SWIG_fail;
423f194a 2764 temp3 = True;
d14a1e28
RD
2765 }
2766 }
2767 if (obj3) {
2768 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2769 }
2770 if (obj6) {
2771 arg7 = PyInt_AsLong(obj6) ? true : false;
2772 if (PyErr_Occurred()) SWIG_fail;
2773 }
2774 {
2775 PyThreadState* __tstate = wxPyBeginAllowThreads();
2776 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
2777
2778 wxPyEndAllowThreads(__tstate);
2779 if (PyErr_Occurred()) SWIG_fail;
2780 }
2781 {
2782#if wxUSE_UNICODE
2783 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2784#else
2785 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2786#endif
2787 }
2788 {
2789 if (temp1)
2790 delete arg1;
2791 }
2792 {
2793 if (temp2)
2794 delete arg2;
2795 }
2796 {
2797 if (temp3)
2798 delete arg3;
2799 }
2800 return resultobj;
2801 fail:
2802 {
2803 if (temp1)
2804 delete arg1;
2805 }
2806 {
2807 if (temp2)
2808 delete arg2;
2809 }
2810 {
2811 if (temp3)
2812 delete arg3;
2813 }
2814 return NULL;
2815}
2816
2817
2818static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2819 PyObject *resultobj;
2820 wxString *arg1 = 0 ;
2821 wxString const &arg2_defvalue = wxPyEmptyString ;
2822 wxString *arg2 = (wxString *) &arg2_defvalue ;
2823 wxString const &arg3_defvalue = wxPyEmptyString ;
2824 wxString *arg3 = (wxString *) &arg3_defvalue ;
2825 wxWindow *arg4 = (wxWindow *) NULL ;
2826 wxString result;
423f194a
RD
2827 bool temp1 = False ;
2828 bool temp2 = False ;
2829 bool temp3 = False ;
d14a1e28
RD
2830 PyObject * obj0 = 0 ;
2831 PyObject * obj1 = 0 ;
2832 PyObject * obj2 = 0 ;
2833 PyObject * obj3 = 0 ;
2834 char *kwnames[] = {
2835 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
2836 };
2837
2838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2839 {
2840 arg1 = wxString_in_helper(obj0);
2841 if (arg1 == NULL) SWIG_fail;
423f194a 2842 temp1 = True;
d14a1e28
RD
2843 }
2844 if (obj1) {
2845 {
2846 arg2 = wxString_in_helper(obj1);
2847 if (arg2 == NULL) SWIG_fail;
423f194a 2848 temp2 = True;
d14a1e28
RD
2849 }
2850 }
2851 if (obj2) {
2852 {
2853 arg3 = wxString_in_helper(obj2);
2854 if (arg3 == NULL) SWIG_fail;
423f194a 2855 temp3 = True;
d14a1e28
RD
2856 }
2857 }
2858 if (obj3) {
2859 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2860 }
2861 {
2862 PyThreadState* __tstate = wxPyBeginAllowThreads();
2863 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2864
2865 wxPyEndAllowThreads(__tstate);
2866 if (PyErr_Occurred()) SWIG_fail;
2867 }
2868 {
2869#if wxUSE_UNICODE
2870 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2871#else
2872 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2873#endif
2874 }
2875 {
2876 if (temp1)
2877 delete arg1;
2878 }
2879 {
2880 if (temp2)
2881 delete arg2;
2882 }
2883 {
2884 if (temp3)
2885 delete arg3;
2886 }
2887 return resultobj;
2888 fail:
2889 {
2890 if (temp1)
2891 delete arg1;
2892 }
2893 {
2894 if (temp2)
2895 delete arg2;
2896 }
2897 {
2898 if (temp3)
2899 delete arg3;
2900 }
2901 return NULL;
2902}
2903
2904
2905static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2906 PyObject *resultobj;
2907 wxString *arg1 = 0 ;
2908 wxString *arg2 = 0 ;
2909 int arg3 ;
2910 wxString *arg4 = (wxString *) 0 ;
2911 wxWindow *arg5 = (wxWindow *) NULL ;
2912 int arg6 = (int) -1 ;
2913 int arg7 = (int) -1 ;
423f194a 2914 bool arg8 = (bool) True ;
d14a1e28
RD
2915 int arg9 = (int) 150 ;
2916 int arg10 = (int) 200 ;
2917 wxString result;
423f194a
RD
2918 bool temp1 = False ;
2919 bool temp2 = False ;
d14a1e28
RD
2920 PyObject * obj0 = 0 ;
2921 PyObject * obj1 = 0 ;
2922 PyObject * obj2 = 0 ;
2923 PyObject * obj3 = 0 ;
2924 PyObject * obj6 = 0 ;
2925 char *kwnames[] = {
2926 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2927 };
2928
2929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
2930 {
2931 arg1 = wxString_in_helper(obj0);
2932 if (arg1 == NULL) SWIG_fail;
423f194a 2933 temp1 = True;
d14a1e28
RD
2934 }
2935 {
2936 arg2 = wxString_in_helper(obj1);
2937 if (arg2 == NULL) SWIG_fail;
423f194a 2938 temp2 = True;
d14a1e28
RD
2939 }
2940 {
2941 arg3 = PyList_Size(obj2);
2942 arg4 = wxString_LIST_helper(obj2);
2943 if (arg4 == NULL) SWIG_fail;
2944 }
2945 if (obj3) {
2946 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2947 }
2948 if (obj6) {
2949 arg8 = PyInt_AsLong(obj6) ? true : false;
2950 if (PyErr_Occurred()) SWIG_fail;
2951 }
2952 {
2953 PyThreadState* __tstate = wxPyBeginAllowThreads();
2954 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
2955
2956 wxPyEndAllowThreads(__tstate);
2957 if (PyErr_Occurred()) SWIG_fail;
2958 }
2959 {
2960#if wxUSE_UNICODE
2961 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2962#else
2963 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2964#endif
2965 }
2966 {
2967 if (temp1)
2968 delete arg1;
2969 }
2970 {
2971 if (temp2)
2972 delete arg2;
2973 }
2974 {
2975 if (arg4) delete [] arg4;
2976 }
2977 return resultobj;
2978 fail:
2979 {
2980 if (temp1)
2981 delete arg1;
2982 }
2983 {
2984 if (temp2)
2985 delete arg2;
2986 }
2987 {
2988 if (arg4) delete [] arg4;
2989 }
2990 return NULL;
2991}
2992
2993
2994static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
2995 PyObject *resultobj;
2996 wxString *arg1 = 0 ;
2997 wxString *arg2 = 0 ;
2998 int arg3 ;
2999 wxString *arg4 = (wxString *) 0 ;
3000 wxWindow *arg5 = (wxWindow *) NULL ;
3001 int arg6 = (int) -1 ;
3002 int arg7 = (int) -1 ;
423f194a 3003 bool arg8 = (bool) True ;
d14a1e28
RD
3004 int arg9 = (int) 150 ;
3005 int arg10 = (int) 200 ;
3006 int result;
423f194a
RD
3007 bool temp1 = False ;
3008 bool temp2 = False ;
d14a1e28
RD
3009 PyObject * obj0 = 0 ;
3010 PyObject * obj1 = 0 ;
3011 PyObject * obj2 = 0 ;
3012 PyObject * obj3 = 0 ;
3013 PyObject * obj6 = 0 ;
3014 char *kwnames[] = {
3015 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3016 };
3017
3018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&arg7,&obj6,&arg9,&arg10)) goto fail;
3019 {
3020 arg1 = wxString_in_helper(obj0);
3021 if (arg1 == NULL) SWIG_fail;
423f194a 3022 temp1 = True;
d14a1e28
RD
3023 }
3024 {
3025 arg2 = wxString_in_helper(obj1);
3026 if (arg2 == NULL) SWIG_fail;
423f194a 3027 temp2 = True;
d14a1e28
RD
3028 }
3029 {
3030 arg3 = PyList_Size(obj2);
3031 arg4 = wxString_LIST_helper(obj2);
3032 if (arg4 == NULL) SWIG_fail;
3033 }
3034 if (obj3) {
3035 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3036 }
3037 if (obj6) {
3038 arg8 = PyInt_AsLong(obj6) ? true : false;
3039 if (PyErr_Occurred()) SWIG_fail;
3040 }
3041 {
3042 PyThreadState* __tstate = wxPyBeginAllowThreads();
3043 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3044
3045 wxPyEndAllowThreads(__tstate);
3046 if (PyErr_Occurred()) SWIG_fail;
3047 }
3048 resultobj = PyInt_FromLong((long)result);
3049 {
3050 if (temp1)
3051 delete arg1;
3052 }
3053 {
3054 if (temp2)
3055 delete arg2;
3056 }
3057 {
3058 if (arg4) delete [] arg4;
3059 }
3060 return resultobj;
3061 fail:
3062 {
3063 if (temp1)
3064 delete arg1;
3065 }
3066 {
3067 if (temp2)
3068 delete arg2;
3069 }
3070 {
3071 if (arg4) delete [] arg4;
3072 }
3073 return NULL;
3074}
3075
3076
3077static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3078 PyObject *resultobj;
3079 wxString *arg1 = 0 ;
3080 wxString const &arg2_defvalue = wxPyEmptyString ;
3081 wxString *arg2 = (wxString *) &arg2_defvalue ;
3082 int arg3 = (int) wxOK|wxCENTRE ;
3083 wxWindow *arg4 = (wxWindow *) NULL ;
3084 int arg5 = (int) -1 ;
3085 int arg6 = (int) -1 ;
3086 int result;
423f194a
RD
3087 bool temp1 = False ;
3088 bool temp2 = False ;
d14a1e28
RD
3089 PyObject * obj0 = 0 ;
3090 PyObject * obj1 = 0 ;
3091 PyObject * obj3 = 0 ;
3092 char *kwnames[] = {
3093 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3094 };
3095
3096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OiOii:MessageBox",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5,&arg6)) goto fail;
3097 {
3098 arg1 = wxString_in_helper(obj0);
3099 if (arg1 == NULL) SWIG_fail;
423f194a 3100 temp1 = True;
d14a1e28
RD
3101 }
3102 if (obj1) {
3103 {
3104 arg2 = wxString_in_helper(obj1);
3105 if (arg2 == NULL) SWIG_fail;
423f194a 3106 temp2 = True;
d14a1e28
RD
3107 }
3108 }
3109 if (obj3) {
3110 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3111 }
3112 {
3113 PyThreadState* __tstate = wxPyBeginAllowThreads();
3114 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3115
3116 wxPyEndAllowThreads(__tstate);
3117 if (PyErr_Occurred()) SWIG_fail;
3118 }
3119 resultobj = PyInt_FromLong((long)result);
3120 {
3121 if (temp1)
3122 delete arg1;
3123 }
3124 {
3125 if (temp2)
3126 delete arg2;
3127 }
3128 return resultobj;
3129 fail:
3130 {
3131 if (temp1)
3132 delete arg1;
3133 }
3134 {
3135 if (temp2)
3136 delete arg2;
3137 }
3138 return NULL;
3139}
3140
3141
3142static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3143 PyObject *resultobj;
3144 wxString *arg1 = 0 ;
3145 wxString *arg2 = 0 ;
3146 wxString *arg3 = 0 ;
3147 long arg4 ;
3148 long arg5 = (long) 0 ;
3149 long arg6 = (long) 100 ;
3150 wxWindow *arg7 = (wxWindow *) NULL ;
3151 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3152 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3153 long result;
423f194a
RD
3154 bool temp1 = False ;
3155 bool temp2 = False ;
3156 bool temp3 = False ;
d14a1e28
RD
3157 wxPoint temp8 ;
3158 PyObject * obj0 = 0 ;
3159 PyObject * obj1 = 0 ;
3160 PyObject * obj2 = 0 ;
3161 PyObject * obj6 = 0 ;
3162 PyObject * obj7 = 0 ;
3163 char *kwnames[] = {
3164 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3165 };
3166
3167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOl|llOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&obj6,&obj7)) goto fail;
3168 {
3169 arg1 = wxString_in_helper(obj0);
3170 if (arg1 == NULL) SWIG_fail;
423f194a 3171 temp1 = True;
d14a1e28
RD
3172 }
3173 {
3174 arg2 = wxString_in_helper(obj1);
3175 if (arg2 == NULL) SWIG_fail;
423f194a 3176 temp2 = True;
d14a1e28
RD
3177 }
3178 {
3179 arg3 = wxString_in_helper(obj2);
3180 if (arg3 == NULL) SWIG_fail;
423f194a 3181 temp3 = True;
d14a1e28
RD
3182 }
3183 if (obj6) {
3184 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3185 }
3186 if (obj7) {
3187 {
3188 arg8 = &temp8;
3189 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3190 }
3191 }
3192 {
3193 PyThreadState* __tstate = wxPyBeginAllowThreads();
3194 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3195
3196 wxPyEndAllowThreads(__tstate);
3197 if (PyErr_Occurred()) SWIG_fail;
3198 }
3199 resultobj = PyInt_FromLong((long)result);
3200 {
3201 if (temp1)
3202 delete arg1;
3203 }
3204 {
3205 if (temp2)
3206 delete arg2;
3207 }
3208 {
3209 if (temp3)
3210 delete arg3;
3211 }
3212 return resultobj;
3213 fail:
3214 {
3215 if (temp1)
3216 delete arg1;
3217 }
3218 {
3219 if (temp2)
3220 delete arg2;
3221 }
3222 {
3223 if (temp3)
3224 delete arg3;
3225 }
3226 return NULL;
3227}
3228
3229
3230static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3231 PyObject *resultobj;
3232 bool result;
3233 char *kwnames[] = {
3234 NULL
3235 };
3236
3237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3238 {
3239 PyThreadState* __tstate = wxPyBeginAllowThreads();
3240 result = (bool)wxColourDisplay();
3241
3242 wxPyEndAllowThreads(__tstate);
3243 if (PyErr_Occurred()) SWIG_fail;
3244 }
3245 resultobj = PyInt_FromLong((long)result);
3246 return resultobj;
3247 fail:
3248 return NULL;
3249}
3250
3251
3252static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3253 PyObject *resultobj;
3254 int result;
3255 char *kwnames[] = {
3256 NULL
3257 };
3258
3259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3260 {
3261 PyThreadState* __tstate = wxPyBeginAllowThreads();
3262 result = (int)wxDisplayDepth();
3263
3264 wxPyEndAllowThreads(__tstate);
3265 if (PyErr_Occurred()) SWIG_fail;
3266 }
3267 resultobj = PyInt_FromLong((long)result);
3268 return resultobj;
3269 fail:
3270 return NULL;
3271}
3272
3273
3274static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3275 PyObject *resultobj;
3276 int result;
3277 char *kwnames[] = {
3278 NULL
3279 };
3280
3281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3282 {
3283 PyThreadState* __tstate = wxPyBeginAllowThreads();
3284 result = (int)wxGetDisplayDepth();
3285
3286 wxPyEndAllowThreads(__tstate);
3287 if (PyErr_Occurred()) SWIG_fail;
3288 }
3289 resultobj = PyInt_FromLong((long)result);
3290 return resultobj;
3291 fail:
3292 return NULL;
3293}
3294
3295
3296static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3297 PyObject *resultobj;
3298 int *arg1 = (int *) 0 ;
3299 int *arg2 = (int *) 0 ;
3300 int temp1 ;
3301 int temp2 ;
3302 char *kwnames[] = {
3303 NULL
3304 };
3305
3306 arg1 = &temp1;
3307 arg2 = &temp2;
3308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3309 {
3310 PyThreadState* __tstate = wxPyBeginAllowThreads();
3311 wxDisplaySize(arg1,arg2);
3312
3313 wxPyEndAllowThreads(__tstate);
3314 if (PyErr_Occurred()) SWIG_fail;
3315 }
3316 Py_INCREF(Py_None); resultobj = Py_None;
3317 {
3318 PyObject *o = PyInt_FromLong((long) (*arg1));
3319 resultobj = t_output_helper(resultobj,o);
3320 }
3321 {
3322 PyObject *o = PyInt_FromLong((long) (*arg2));
3323 resultobj = t_output_helper(resultobj,o);
3324 }
3325 return resultobj;
3326 fail:
3327 return NULL;
3328}
3329
3330
3331static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3332 PyObject *resultobj;
3333 wxSize result;
3334 char *kwnames[] = {
3335 NULL
3336 };
3337
3338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3339 {
3340 PyThreadState* __tstate = wxPyBeginAllowThreads();
3341 result = wxGetDisplaySize();
3342
3343 wxPyEndAllowThreads(__tstate);
3344 if (PyErr_Occurred()) SWIG_fail;
3345 }
3346 {
3347 wxSize * resultptr;
3348 resultptr = new wxSize((wxSize &) result);
3349 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3350 }
3351 return resultobj;
3352 fail:
3353 return NULL;
3354}
3355
3356
3357static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3358 PyObject *resultobj;
3359 int *arg1 = (int *) 0 ;
3360 int *arg2 = (int *) 0 ;
3361 int temp1 ;
3362 int temp2 ;
3363 char *kwnames[] = {
3364 NULL
3365 };
3366
3367 arg1 = &temp1;
3368 arg2 = &temp2;
3369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3370 {
3371 PyThreadState* __tstate = wxPyBeginAllowThreads();
3372 wxDisplaySizeMM(arg1,arg2);
3373
3374 wxPyEndAllowThreads(__tstate);
3375 if (PyErr_Occurred()) SWIG_fail;
3376 }
3377 Py_INCREF(Py_None); resultobj = Py_None;
3378 {
3379 PyObject *o = PyInt_FromLong((long) (*arg1));
3380 resultobj = t_output_helper(resultobj,o);
3381 }
3382 {
3383 PyObject *o = PyInt_FromLong((long) (*arg2));
3384 resultobj = t_output_helper(resultobj,o);
3385 }
3386 return resultobj;
3387 fail:
3388 return NULL;
3389}
3390
3391
3392static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3393 PyObject *resultobj;
3394 wxSize result;
3395 char *kwnames[] = {
3396 NULL
3397 };
3398
3399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3400 {
3401 PyThreadState* __tstate = wxPyBeginAllowThreads();
3402 result = wxGetDisplaySizeMM();
3403
3404 wxPyEndAllowThreads(__tstate);
3405 if (PyErr_Occurred()) SWIG_fail;
3406 }
3407 {
3408 wxSize * resultptr;
3409 resultptr = new wxSize((wxSize &) result);
3410 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3411 }
3412 return resultobj;
3413 fail:
3414 return NULL;
3415}
3416
3417
3418static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3419 PyObject *resultobj;
3420 int *arg1 = (int *) 0 ;
3421 int *arg2 = (int *) 0 ;
3422 int *arg3 = (int *) 0 ;
3423 int *arg4 = (int *) 0 ;
3424 int temp1 ;
3425 int temp2 ;
3426 int temp3 ;
3427 int temp4 ;
3428 char *kwnames[] = {
3429 NULL
3430 };
3431
3432 arg1 = &temp1;
3433 arg2 = &temp2;
3434 arg3 = &temp3;
3435 arg4 = &temp4;
3436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3437 {
3438 PyThreadState* __tstate = wxPyBeginAllowThreads();
3439 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3440
3441 wxPyEndAllowThreads(__tstate);
3442 if (PyErr_Occurred()) SWIG_fail;
3443 }
3444 Py_INCREF(Py_None); resultobj = Py_None;
3445 {
3446 PyObject *o = PyInt_FromLong((long) (*arg1));
3447 resultobj = t_output_helper(resultobj,o);
3448 }
3449 {
3450 PyObject *o = PyInt_FromLong((long) (*arg2));
3451 resultobj = t_output_helper(resultobj,o);
3452 }
3453 {
3454 PyObject *o = PyInt_FromLong((long) (*arg3));
3455 resultobj = t_output_helper(resultobj,o);
3456 }
3457 {
3458 PyObject *o = PyInt_FromLong((long) (*arg4));
3459 resultobj = t_output_helper(resultobj,o);
3460 }
3461 return resultobj;
3462 fail:
3463 return NULL;
3464}
3465
3466
3467static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3468 PyObject *resultobj;
3469 wxRect result;
3470 char *kwnames[] = {
3471 NULL
3472 };
3473
3474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3475 {
3476 PyThreadState* __tstate = wxPyBeginAllowThreads();
3477 result = wxGetClientDisplayRect();
3478
3479 wxPyEndAllowThreads(__tstate);
3480 if (PyErr_Occurred()) SWIG_fail;
3481 }
3482 {
3483 wxRect * resultptr;
3484 resultptr = new wxRect((wxRect &) result);
3485 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3486 }
3487 return resultobj;
3488 fail:
3489 return NULL;
3490}
3491
3492
3493static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3494 PyObject *resultobj;
3495 wxCursor *arg1 = 0 ;
3496 PyObject * obj0 = 0 ;
3497 char *kwnames[] = {
3498 (char *) "cursor", NULL
3499 };
3500
3501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3503 if (arg1 == NULL) {
3504 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3505 }
3506 {
3507 PyThreadState* __tstate = wxPyBeginAllowThreads();
3508 wxSetCursor(*arg1);
3509
3510 wxPyEndAllowThreads(__tstate);
3511 if (PyErr_Occurred()) SWIG_fail;
3512 }
3513 Py_INCREF(Py_None); resultobj = Py_None;
3514 return resultobj;
3515 fail:
3516 return NULL;
3517}
3518
3519
3520static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3521 PyObject *resultobj;
3522 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3523 PyObject * obj0 = 0 ;
3524 char *kwnames[] = {
3525 (char *) "cursor", NULL
3526 };
3527
3528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3529 if (obj0) {
3530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3531 }
3532 {
3533 PyThreadState* __tstate = wxPyBeginAllowThreads();
3534 wxBeginBusyCursor(arg1);
3535
3536 wxPyEndAllowThreads(__tstate);
3537 if (PyErr_Occurred()) SWIG_fail;
3538 }
3539 Py_INCREF(Py_None); resultobj = Py_None;
3540 return resultobj;
3541 fail:
3542 return NULL;
3543}
3544
3545
3546static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3547 PyObject *resultobj;
3548 wxWindow *result;
3549 char *kwnames[] = {
3550 NULL
3551 };
3552
3553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
3554 {
3555 PyThreadState* __tstate = wxPyBeginAllowThreads();
3556 result = (wxWindow *)wxGetActiveWindow();
3557
3558 wxPyEndAllowThreads(__tstate);
3559 if (PyErr_Occurred()) SWIG_fail;
3560 }
3561 {
3562 resultobj = wxPyMake_wxObject(result);
3563 }
3564 return resultobj;
3565 fail:
3566 return NULL;
3567}
3568
3569
3570static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3571 PyObject *resultobj;
3572 wxPoint *arg1 = 0 ;
3573 wxWindow *result;
3574 wxPoint temp1 ;
3575 PyObject * obj0 = 0 ;
3576 char *kwnames[] = {
3577 (char *) "pt", NULL
3578 };
3579
3580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
3581 {
3582 arg1 = &temp1;
3583 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3584 }
3585 {
3586 PyThreadState* __tstate = wxPyBeginAllowThreads();
3587 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
3588
3589 wxPyEndAllowThreads(__tstate);
3590 if (PyErr_Occurred()) SWIG_fail;
3591 }
3592 {
3593 resultobj = wxPyMake_wxObject(result);
3594 }
3595 return resultobj;
3596 fail:
3597 return NULL;
3598}
3599
3600
3601static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3602 PyObject *resultobj;
3603 wxPoint *arg1 = 0 ;
3604 wxWindow *result;
3605 wxPoint temp1 ;
3606 PyObject * obj0 = 0 ;
3607 char *kwnames[] = {
3608 (char *) "pt", NULL
3609 };
3610
3611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
3612 {
3613 arg1 = &temp1;
3614 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3615 }
3616 {
3617 PyThreadState* __tstate = wxPyBeginAllowThreads();
3618 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
3619
3620 wxPyEndAllowThreads(__tstate);
3621 if (PyErr_Occurred()) SWIG_fail;
3622 }
3623 {
3624 resultobj = wxPyMake_wxObject(result);
3625 }
3626 return resultobj;
3627 fail:
3628 return NULL;
3629}
3630
3631
3632static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3633 PyObject *resultobj;
3634 wxWindow *arg1 = (wxWindow *) 0 ;
3635 wxWindow *result;
3636 PyObject * obj0 = 0 ;
3637 char *kwnames[] = {
3638 (char *) "win", NULL
3639 };
3640
3641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
3642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3643 {
3644 PyThreadState* __tstate = wxPyBeginAllowThreads();
3645 result = (wxWindow *)wxGetTopLevelParent(arg1);
3646
3647 wxPyEndAllowThreads(__tstate);
3648 if (PyErr_Occurred()) SWIG_fail;
3649 }
3650 {
3651 resultobj = wxPyMake_wxObject(result);
3652 }
3653 return resultobj;
3654 fail:
3655 return NULL;
3656}
3657
3658
d03fd34d
RD
3659static PyObject *_wrap_GetKeyState(PyObject *self, PyObject *args, PyObject *kwargs) {
3660 PyObject *resultobj;
3661 int arg1 ;
3662 bool result;
3663 char *kwnames[] = {
3664 (char *) "key", NULL
3665 };
3666
3667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:GetKeyState",kwnames,&arg1)) goto fail;
3668 {
3669 PyThreadState* __tstate = wxPyBeginAllowThreads();
3670 result = (bool)wxGetKeyState((wxKeyCode )arg1);
3671
3672 wxPyEndAllowThreads(__tstate);
3673 if (PyErr_Occurred()) SWIG_fail;
3674 }
3675 resultobj = PyInt_FromLong((long)result);
3676 return resultobj;
3677 fail:
3678 return NULL;
3679}
3680
3681
d14a1e28
RD
3682static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
3683 PyObject *resultobj;
3684 char *kwnames[] = {
3685 NULL
3686 };
3687
3688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
3689 {
3690 PyThreadState* __tstate = wxPyBeginAllowThreads();
3691 wxWakeUpMainThread();
3692
3693 wxPyEndAllowThreads(__tstate);
3694 if (PyErr_Occurred()) SWIG_fail;
3695 }
3696 Py_INCREF(Py_None); resultobj = Py_None;
3697 return resultobj;
3698 fail:
3699 return NULL;
3700}
3701
3702
3703static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
3704 PyObject *resultobj;
3705 char *kwnames[] = {
3706 NULL
3707 };
3708
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
3710 {
3711 PyThreadState* __tstate = wxPyBeginAllowThreads();
3712 wxMutexGuiEnter();
3713
3714 wxPyEndAllowThreads(__tstate);
3715 if (PyErr_Occurred()) SWIG_fail;
3716 }
3717 Py_INCREF(Py_None); resultobj = Py_None;
3718 return resultobj;
3719 fail:
3720 return NULL;
3721}
3722
3723
3724static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
3725 PyObject *resultobj;
3726 char *kwnames[] = {
3727 NULL
3728 };
3729
3730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
3731 {
3732 PyThreadState* __tstate = wxPyBeginAllowThreads();
3733 wxMutexGuiLeave();
3734
3735 wxPyEndAllowThreads(__tstate);
3736 if (PyErr_Occurred()) SWIG_fail;
3737 }
3738 Py_INCREF(Py_None); resultobj = Py_None;
3739 return resultobj;
3740 fail:
3741 return NULL;
3742}
3743
3744
3745static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3746 PyObject *resultobj;
3747 wxMutexGuiLocker *result;
3748 char *kwnames[] = {
3749 NULL
3750 };
3751
3752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
3753 {
3754 PyThreadState* __tstate = wxPyBeginAllowThreads();
3755 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
3756
3757 wxPyEndAllowThreads(__tstate);
3758 if (PyErr_Occurred()) SWIG_fail;
3759 }
3760 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMutexGuiLocker, 1);
3761 return resultobj;
3762 fail:
3763 return NULL;
3764}
3765
3766
3767static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
3768 PyObject *resultobj;
3769 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
3770 PyObject * obj0 = 0 ;
3771 char *kwnames[] = {
3772 (char *) "self", NULL
3773 };
3774
3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
3776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMutexGuiLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3777 {
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
3779 delete arg1;
3780
3781 wxPyEndAllowThreads(__tstate);
3782 if (PyErr_Occurred()) SWIG_fail;
3783 }
3784 Py_INCREF(Py_None); resultobj = Py_None;
3785 return resultobj;
3786 fail:
3787 return NULL;
3788}
3789
3790
3791static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
3792 PyObject *obj;
3793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3794 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
3795 Py_INCREF(obj);
3796 return Py_BuildValue((char *)"");
3797}
3798static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
3799 PyObject *resultobj;
3800 bool result;
3801 char *kwnames[] = {
3802 NULL
3803 };
3804
3805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
3806 {
3807 PyThreadState* __tstate = wxPyBeginAllowThreads();
3808 result = (bool)wxThread_IsMain();
3809
3810 wxPyEndAllowThreads(__tstate);
3811 if (PyErr_Occurred()) SWIG_fail;
3812 }
3813 resultobj = PyInt_FromLong((long)result);
3814 return resultobj;
3815 fail:
3816 return NULL;
3817}
3818
3819
3820static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3821 PyObject *resultobj;
3822 wxString *arg1 = 0 ;
3823 wxToolTip *result;
423f194a 3824 bool temp1 = False ;
d14a1e28
RD
3825 PyObject * obj0 = 0 ;
3826 char *kwnames[] = {
3827 (char *) "tip", NULL
3828 };
3829
3830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
3831 {
3832 arg1 = wxString_in_helper(obj0);
3833 if (arg1 == NULL) SWIG_fail;
423f194a 3834 temp1 = True;
d14a1e28
RD
3835 }
3836 {
3837 PyThreadState* __tstate = wxPyBeginAllowThreads();
3838 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
3839
3840 wxPyEndAllowThreads(__tstate);
3841 if (PyErr_Occurred()) SWIG_fail;
3842 }
3843 {
3844 resultobj = wxPyMake_wxObject(result);
3845 }
3846 {
3847 if (temp1)
3848 delete arg1;
3849 }
3850 return resultobj;
3851 fail:
3852 {
3853 if (temp1)
3854 delete arg1;
3855 }
3856 return NULL;
3857}
3858
3859
3860static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3861 PyObject *resultobj;
3862 wxToolTip *arg1 = (wxToolTip *) 0 ;
3863 wxString *arg2 = 0 ;
423f194a 3864 bool temp2 = False ;
d14a1e28
RD
3865 PyObject * obj0 = 0 ;
3866 PyObject * obj1 = 0 ;
3867 char *kwnames[] = {
3868 (char *) "self",(char *) "tip", NULL
3869 };
3870
3871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
3872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3873 {
3874 arg2 = wxString_in_helper(obj1);
3875 if (arg2 == NULL) SWIG_fail;
423f194a 3876 temp2 = True;
d14a1e28
RD
3877 }
3878 {
3879 PyThreadState* __tstate = wxPyBeginAllowThreads();
3880 (arg1)->SetTip((wxString const &)*arg2);
3881
3882 wxPyEndAllowThreads(__tstate);
3883 if (PyErr_Occurred()) SWIG_fail;
3884 }
3885 Py_INCREF(Py_None); resultobj = Py_None;
3886 {
3887 if (temp2)
3888 delete arg2;
3889 }
3890 return resultobj;
3891 fail:
3892 {
3893 if (temp2)
3894 delete arg2;
3895 }
3896 return NULL;
3897}
3898
3899
3900static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
3901 PyObject *resultobj;
3902 wxToolTip *arg1 = (wxToolTip *) 0 ;
3903 wxString result;
3904 PyObject * obj0 = 0 ;
3905 char *kwnames[] = {
3906 (char *) "self", NULL
3907 };
3908
3909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
3910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3911 {
3912 PyThreadState* __tstate = wxPyBeginAllowThreads();
3913 result = (arg1)->GetTip();
3914
3915 wxPyEndAllowThreads(__tstate);
3916 if (PyErr_Occurred()) SWIG_fail;
3917 }
3918 {
3919#if wxUSE_UNICODE
3920 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3921#else
3922 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3923#endif
3924 }
3925 return resultobj;
3926 fail:
3927 return NULL;
3928}
3929
3930
3931static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3932 PyObject *resultobj;
3933 wxToolTip *arg1 = (wxToolTip *) 0 ;
3934 wxWindow *result;
3935 PyObject * obj0 = 0 ;
3936 char *kwnames[] = {
3937 (char *) "self", NULL
3938 };
3939
3940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
3941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3942 {
3943 PyThreadState* __tstate = wxPyBeginAllowThreads();
3944 result = (wxWindow *)(arg1)->GetWindow();
3945
3946 wxPyEndAllowThreads(__tstate);
3947 if (PyErr_Occurred()) SWIG_fail;
3948 }
3949 {
3950 resultobj = wxPyMake_wxObject(result);
3951 }
3952 return resultobj;
3953 fail:
3954 return NULL;
3955}
3956
3957
3958static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
3959 PyObject *resultobj;
3960 bool arg1 ;
3961 PyObject * obj0 = 0 ;
3962 char *kwnames[] = {
3963 (char *) "flag", NULL
3964 };
3965
3966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
3967 arg1 = PyInt_AsLong(obj0) ? true : false;
3968 if (PyErr_Occurred()) SWIG_fail;
3969 {
3970 PyThreadState* __tstate = wxPyBeginAllowThreads();
3971 wxToolTip::Enable(arg1);
3972
3973 wxPyEndAllowThreads(__tstate);
3974 if (PyErr_Occurred()) SWIG_fail;
3975 }
3976 Py_INCREF(Py_None); resultobj = Py_None;
3977 return resultobj;
3978 fail:
3979 return NULL;
3980}
3981
3982
3983static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
3984 PyObject *resultobj;
3985 long arg1 ;
3986 char *kwnames[] = {
3987 (char *) "milliseconds", NULL
3988 };
3989
3990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:ToolTip_SetDelay",kwnames,&arg1)) goto fail;
3991 {
3992 PyThreadState* __tstate = wxPyBeginAllowThreads();
3993 wxToolTip::SetDelay(arg1);
3994
3995 wxPyEndAllowThreads(__tstate);
3996 if (PyErr_Occurred()) SWIG_fail;
3997 }
3998 Py_INCREF(Py_None); resultobj = Py_None;
3999 return resultobj;
4000 fail:
4001 return NULL;
4002}
4003
4004
4005static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
4006 PyObject *obj;
4007 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4008 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4009 Py_INCREF(obj);
4010 return Py_BuildValue((char *)"");
4011}
4012static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4013 PyObject *resultobj;
4014 wxWindow *arg1 = (wxWindow *) 0 ;
4015 wxSize *arg2 = 0 ;
4016 wxCaret *result;
4017 wxSize temp2 ;
4018 PyObject * obj0 = 0 ;
4019 PyObject * obj1 = 0 ;
4020 char *kwnames[] = {
4021 (char *) "window",(char *) "size", NULL
4022 };
4023
4024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4026 {
4027 arg2 = &temp2;
4028 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4029 }
4030 {
4031 PyThreadState* __tstate = wxPyBeginAllowThreads();
4032 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4033
4034 wxPyEndAllowThreads(__tstate);
4035 if (PyErr_Occurred()) SWIG_fail;
4036 }
4037 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 1);
4038 return resultobj;
4039 fail:
4040 return NULL;
4041}
4042
4043
4044static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4045 PyObject *resultobj;
4046 wxCaret *arg1 = (wxCaret *) 0 ;
4047 PyObject * obj0 = 0 ;
4048 char *kwnames[] = {
4049 (char *) "self", NULL
4050 };
4051
4052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4054 {
4055 PyThreadState* __tstate = wxPyBeginAllowThreads();
4056 delete arg1;
4057
4058 wxPyEndAllowThreads(__tstate);
4059 if (PyErr_Occurred()) SWIG_fail;
4060 }
4061 Py_INCREF(Py_None); resultobj = Py_None;
4062 return resultobj;
4063 fail:
4064 return NULL;
4065}
4066
4067
4068static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4069 PyObject *resultobj;
4070 wxCaret *arg1 = (wxCaret *) 0 ;
4071 bool result;
4072 PyObject * obj0 = 0 ;
4073 char *kwnames[] = {
4074 (char *) "self", NULL
4075 };
4076
4077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4079 {
4080 PyThreadState* __tstate = wxPyBeginAllowThreads();
4081 result = (bool)(arg1)->IsOk();
4082
4083 wxPyEndAllowThreads(__tstate);
4084 if (PyErr_Occurred()) SWIG_fail;
4085 }
4086 resultobj = PyInt_FromLong((long)result);
4087 return resultobj;
4088 fail:
4089 return NULL;
4090}
4091
4092
4093static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4094 PyObject *resultobj;
4095 wxCaret *arg1 = (wxCaret *) 0 ;
4096 bool result;
4097 PyObject * obj0 = 0 ;
4098 char *kwnames[] = {
4099 (char *) "self", NULL
4100 };
4101
4102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4104 {
4105 PyThreadState* __tstate = wxPyBeginAllowThreads();
4106 result = (bool)(arg1)->IsVisible();
4107
4108 wxPyEndAllowThreads(__tstate);
4109 if (PyErr_Occurred()) SWIG_fail;
4110 }
4111 resultobj = PyInt_FromLong((long)result);
4112 return resultobj;
4113 fail:
4114 return NULL;
4115}
4116
4117
44127b65
RD
4118static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4119 PyObject *resultobj;
4120 wxCaret *arg1 = (wxCaret *) 0 ;
4121 wxPoint result;
4122 PyObject * obj0 = 0 ;
4123 char *kwnames[] = {
4124 (char *) "self", NULL
4125 };
4126
4127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4129 {
4130 PyThreadState* __tstate = wxPyBeginAllowThreads();
4131 result = (arg1)->GetPosition();
4132
4133 wxPyEndAllowThreads(__tstate);
4134 if (PyErr_Occurred()) SWIG_fail;
4135 }
4136 {
4137 wxPoint * resultptr;
4138 resultptr = new wxPoint((wxPoint &) result);
4139 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4140 }
4141 return resultobj;
4142 fail:
4143 return NULL;
4144}
4145
4146
d14a1e28
RD
4147static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4148 PyObject *resultobj;
4149 wxCaret *arg1 = (wxCaret *) 0 ;
4150 int *arg2 = (int *) 0 ;
4151 int *arg3 = (int *) 0 ;
4152 int temp2 ;
4153 int temp3 ;
4154 PyObject * obj0 = 0 ;
4155 char *kwnames[] = {
4156 (char *) "self", NULL
4157 };
4158
4159 arg2 = &temp2;
4160 arg3 = &temp3;
4161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4163 {
4164 PyThreadState* __tstate = wxPyBeginAllowThreads();
4165 (arg1)->GetPosition(arg2,arg3);
4166
4167 wxPyEndAllowThreads(__tstate);
4168 if (PyErr_Occurred()) SWIG_fail;
4169 }
4170 Py_INCREF(Py_None); resultobj = Py_None;
4171 {
4172 PyObject *o = PyInt_FromLong((long) (*arg2));
4173 resultobj = t_output_helper(resultobj,o);
4174 }
4175 {
4176 PyObject *o = PyInt_FromLong((long) (*arg3));
4177 resultobj = t_output_helper(resultobj,o);
4178 }
4179 return resultobj;
4180 fail:
4181 return NULL;
4182}
4183
4184
44127b65 4185static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4186 PyObject *resultobj;
4187 wxCaret *arg1 = (wxCaret *) 0 ;
44127b65 4188 wxSize result;
d14a1e28
RD
4189 PyObject * obj0 = 0 ;
4190 char *kwnames[] = {
4191 (char *) "self", NULL
4192 };
4193
44127b65 4194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
d14a1e28
RD
4195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4196 {
4197 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 4198 result = (arg1)->GetSize();
d14a1e28
RD
4199
4200 wxPyEndAllowThreads(__tstate);
4201 if (PyErr_Occurred()) SWIG_fail;
4202 }
4203 {
44127b65
RD
4204 wxSize * resultptr;
4205 resultptr = new wxSize((wxSize &) result);
4206 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
4207 }
4208 return resultobj;
4209 fail:
4210 return NULL;
4211}
4212
4213
4214static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4215 PyObject *resultobj;
4216 wxCaret *arg1 = (wxCaret *) 0 ;
4217 int *arg2 = (int *) 0 ;
4218 int *arg3 = (int *) 0 ;
4219 int temp2 ;
4220 int temp3 ;
4221 PyObject * obj0 = 0 ;
4222 char *kwnames[] = {
4223 (char *) "self", NULL
4224 };
4225
4226 arg2 = &temp2;
4227 arg3 = &temp3;
4228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4230 {
4231 PyThreadState* __tstate = wxPyBeginAllowThreads();
4232 (arg1)->GetSize(arg2,arg3);
4233
4234 wxPyEndAllowThreads(__tstate);
4235 if (PyErr_Occurred()) SWIG_fail;
4236 }
4237 Py_INCREF(Py_None); resultobj = Py_None;
4238 {
4239 PyObject *o = PyInt_FromLong((long) (*arg2));
4240 resultobj = t_output_helper(resultobj,o);
4241 }
4242 {
4243 PyObject *o = PyInt_FromLong((long) (*arg3));
4244 resultobj = t_output_helper(resultobj,o);
4245 }
4246 return resultobj;
4247 fail:
4248 return NULL;
4249}
4250
4251
d14a1e28
RD
4252static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4253 PyObject *resultobj;
4254 wxCaret *arg1 = (wxCaret *) 0 ;
4255 wxWindow *result;
4256 PyObject * obj0 = 0 ;
4257 char *kwnames[] = {
4258 (char *) "self", NULL
4259 };
4260
4261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4263 {
4264 PyThreadState* __tstate = wxPyBeginAllowThreads();
4265 result = (wxWindow *)(arg1)->GetWindow();
4266
4267 wxPyEndAllowThreads(__tstate);
4268 if (PyErr_Occurred()) SWIG_fail;
4269 }
4270 {
4271 resultobj = wxPyMake_wxObject(result);
4272 }
4273 return resultobj;
4274 fail:
4275 return NULL;
4276}
4277
4278
4279static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4280 PyObject *resultobj;
4281 wxCaret *arg1 = (wxCaret *) 0 ;
4282 int arg2 ;
4283 int arg3 ;
4284 PyObject * obj0 = 0 ;
4285 char *kwnames[] = {
4286 (char *) "self",(char *) "x",(char *) "y", NULL
4287 };
4288
4289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_MoveXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
4290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4291 {
4292 PyThreadState* __tstate = wxPyBeginAllowThreads();
4293 (arg1)->Move(arg2,arg3);
4294
4295 wxPyEndAllowThreads(__tstate);
4296 if (PyErr_Occurred()) SWIG_fail;
4297 }
4298 Py_INCREF(Py_None); resultobj = Py_None;
4299 return resultobj;
4300 fail:
4301 return NULL;
4302}
4303
4304
4305static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4306 PyObject *resultobj;
4307 wxCaret *arg1 = (wxCaret *) 0 ;
4308 wxPoint *arg2 = 0 ;
4309 wxPoint temp2 ;
4310 PyObject * obj0 = 0 ;
4311 PyObject * obj1 = 0 ;
4312 char *kwnames[] = {
4313 (char *) "self",(char *) "pt", NULL
4314 };
4315
4316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4318 {
4319 arg2 = &temp2;
4320 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4321 }
4322 {
4323 PyThreadState* __tstate = wxPyBeginAllowThreads();
4324 (arg1)->Move((wxPoint const &)*arg2);
4325
4326 wxPyEndAllowThreads(__tstate);
4327 if (PyErr_Occurred()) SWIG_fail;
4328 }
4329 Py_INCREF(Py_None); resultobj = Py_None;
4330 return resultobj;
4331 fail:
4332 return NULL;
4333}
4334
4335
4336static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4337 PyObject *resultobj;
4338 wxCaret *arg1 = (wxCaret *) 0 ;
4339 int arg2 ;
4340 int arg3 ;
4341 PyObject * obj0 = 0 ;
4342 char *kwnames[] = {
4343 (char *) "self",(char *) "width",(char *) "height", NULL
4344 };
4345
4346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Caret_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
4347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4348 {
4349 PyThreadState* __tstate = wxPyBeginAllowThreads();
4350 (arg1)->SetSize(arg2,arg3);
4351
4352 wxPyEndAllowThreads(__tstate);
4353 if (PyErr_Occurred()) SWIG_fail;
4354 }
4355 Py_INCREF(Py_None); resultobj = Py_None;
4356 return resultobj;
4357 fail:
4358 return NULL;
4359}
4360
4361
4362static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4363 PyObject *resultobj;
4364 wxCaret *arg1 = (wxCaret *) 0 ;
4365 wxSize *arg2 = 0 ;
4366 wxSize temp2 ;
4367 PyObject * obj0 = 0 ;
4368 PyObject * obj1 = 0 ;
4369 char *kwnames[] = {
4370 (char *) "self",(char *) "size", NULL
4371 };
4372
4373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4375 {
4376 arg2 = &temp2;
4377 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4378 }
4379 {
4380 PyThreadState* __tstate = wxPyBeginAllowThreads();
4381 (arg1)->SetSize((wxSize const &)*arg2);
4382
4383 wxPyEndAllowThreads(__tstate);
4384 if (PyErr_Occurred()) SWIG_fail;
4385 }
4386 Py_INCREF(Py_None); resultobj = Py_None;
4387 return resultobj;
4388 fail:
4389 return NULL;
4390}
4391
4392
4393static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4394 PyObject *resultobj;
4395 wxCaret *arg1 = (wxCaret *) 0 ;
423f194a 4396 int arg2 = (int) True ;
d14a1e28
RD
4397 PyObject * obj0 = 0 ;
4398 char *kwnames[] = {
4399 (char *) "self",(char *) "show", NULL
4400 };
4401
4402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Caret_Show",kwnames,&obj0,&arg2)) goto fail;
4403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4404 {
4405 PyThreadState* __tstate = wxPyBeginAllowThreads();
4406 (arg1)->Show(arg2);
4407
4408 wxPyEndAllowThreads(__tstate);
4409 if (PyErr_Occurred()) SWIG_fail;
4410 }
4411 Py_INCREF(Py_None); resultobj = Py_None;
4412 return resultobj;
4413 fail:
4414 return NULL;
4415}
4416
4417
4418static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4419 PyObject *resultobj;
4420 wxCaret *arg1 = (wxCaret *) 0 ;
4421 PyObject * obj0 = 0 ;
4422 char *kwnames[] = {
4423 (char *) "self", NULL
4424 };
4425
4426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4428 {
4429 PyThreadState* __tstate = wxPyBeginAllowThreads();
4430 (arg1)->Hide();
4431
4432 wxPyEndAllowThreads(__tstate);
4433 if (PyErr_Occurred()) SWIG_fail;
4434 }
4435 Py_INCREF(Py_None); resultobj = Py_None;
4436 return resultobj;
4437 fail:
4438 return NULL;
4439}
4440
4441
4442static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4443 PyObject *obj;
4444 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4445 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4446 Py_INCREF(obj);
4447 return Py_BuildValue((char *)"");
4448}
4449static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4450 PyObject *resultobj;
4451 int result;
4452 char *kwnames[] = {
4453 NULL
4454 };
4455
4456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4457 {
4458 PyThreadState* __tstate = wxPyBeginAllowThreads();
4459 result = (int)wxCaret_GetBlinkTime();
4460
4461 wxPyEndAllowThreads(__tstate);
4462 if (PyErr_Occurred()) SWIG_fail;
4463 }
4464 resultobj = PyInt_FromLong((long)result);
4465 return resultobj;
4466 fail:
4467 return NULL;
4468}
4469
4470
4471static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4472 PyObject *resultobj;
4473 int arg1 ;
4474 char *kwnames[] = {
4475 (char *) "milliseconds", NULL
4476 };
4477
4478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Caret_SetBlinkTime",kwnames,&arg1)) goto fail;
4479 {
4480 PyThreadState* __tstate = wxPyBeginAllowThreads();
4481 wxCaret_SetBlinkTime(arg1);
4482
4483 wxPyEndAllowThreads(__tstate);
4484 if (PyErr_Occurred()) SWIG_fail;
4485 }
4486 Py_INCREF(Py_None); resultobj = Py_None;
4487 return resultobj;
4488 fail:
4489 return NULL;
4490}
4491
4492
4493static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4494 PyObject *resultobj;
4495 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4496 wxBusyCursor *result;
4497 PyObject * obj0 = 0 ;
4498 char *kwnames[] = {
4499 (char *) "cursor", NULL
4500 };
4501
4502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
4503 if (obj0) {
4504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4505 }
4506 {
4507 PyThreadState* __tstate = wxPyBeginAllowThreads();
4508 result = (wxBusyCursor *)new wxBusyCursor(arg1);
4509
4510 wxPyEndAllowThreads(__tstate);
4511 if (PyErr_Occurred()) SWIG_fail;
4512 }
4513 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyCursor, 1);
4514 return resultobj;
4515 fail:
4516 return NULL;
4517}
4518
4519
4520static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4521 PyObject *resultobj;
4522 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
4523 PyObject * obj0 = 0 ;
4524 char *kwnames[] = {
4525 (char *) "self", NULL
4526 };
4527
4528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
4529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4530 {
4531 PyThreadState* __tstate = wxPyBeginAllowThreads();
4532 delete arg1;
4533
4534 wxPyEndAllowThreads(__tstate);
4535 if (PyErr_Occurred()) SWIG_fail;
4536 }
4537 Py_INCREF(Py_None); resultobj = Py_None;
4538 return resultobj;
4539 fail:
4540 return NULL;
4541}
4542
4543
4544static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
4545 PyObject *obj;
4546 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4547 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
4548 Py_INCREF(obj);
4549 return Py_BuildValue((char *)"");
4550}
4551static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4552 PyObject *resultobj;
4553 wxWindow *arg1 = (wxWindow *) NULL ;
4554 wxWindowDisabler *result;
4555 PyObject * obj0 = 0 ;
4556 char *kwnames[] = {
4557 (char *) "winToSkip", NULL
4558 };
4559
4560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
4561 if (obj0) {
4562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4563 }
4564 {
4565 PyThreadState* __tstate = wxPyBeginAllowThreads();
4566 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
4567
4568 wxPyEndAllowThreads(__tstate);
4569 if (PyErr_Occurred()) SWIG_fail;
4570 }
4571 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDisabler, 1);
4572 return resultobj;
4573 fail:
4574 return NULL;
4575}
4576
4577
4578static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4579 PyObject *resultobj;
4580 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
4581 PyObject * obj0 = 0 ;
4582 char *kwnames[] = {
4583 (char *) "self", NULL
4584 };
4585
4586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
4587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4588 {
4589 PyThreadState* __tstate = wxPyBeginAllowThreads();
4590 delete arg1;
4591
4592 wxPyEndAllowThreads(__tstate);
4593 if (PyErr_Occurred()) SWIG_fail;
4594 }
4595 Py_INCREF(Py_None); resultobj = Py_None;
4596 return resultobj;
4597 fail:
4598 return NULL;
4599}
4600
4601
4602static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
4603 PyObject *obj;
4604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4605 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
4606 Py_INCREF(obj);
4607 return Py_BuildValue((char *)"");
4608}
4609static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4610 PyObject *resultobj;
4611 wxString *arg1 = 0 ;
4612 wxBusyInfo *result;
423f194a 4613 bool temp1 = False ;
d14a1e28
RD
4614 PyObject * obj0 = 0 ;
4615 char *kwnames[] = {
4616 (char *) "message", NULL
4617 };
4618
4619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
4620 {
4621 arg1 = wxString_in_helper(obj0);
4622 if (arg1 == NULL) SWIG_fail;
423f194a 4623 temp1 = True;
d14a1e28
RD
4624 }
4625 {
4626 PyThreadState* __tstate = wxPyBeginAllowThreads();
4627 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
4628
4629 wxPyEndAllowThreads(__tstate);
4630 if (PyErr_Occurred()) SWIG_fail;
4631 }
4632 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyInfo, 1);
4633 {
4634 if (temp1)
4635 delete arg1;
4636 }
4637 return resultobj;
4638 fail:
4639 {
4640 if (temp1)
4641 delete arg1;
4642 }
4643 return NULL;
4644}
4645
4646
4647static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4648 PyObject *resultobj;
4649 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
4650 PyObject * obj0 = 0 ;
4651 char *kwnames[] = {
4652 (char *) "self", NULL
4653 };
4654
4655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
4656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4657 {
4658 PyThreadState* __tstate = wxPyBeginAllowThreads();
4659 delete arg1;
4660
4661 wxPyEndAllowThreads(__tstate);
4662 if (PyErr_Occurred()) SWIG_fail;
4663 }
4664 Py_INCREF(Py_None); resultobj = Py_None;
4665 return resultobj;
4666 fail:
4667 return NULL;
4668}
4669
4670
4671static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
4672 PyObject *obj;
4673 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4674 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
4675 Py_INCREF(obj);
4676 return Py_BuildValue((char *)"");
4677}
4678static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
4679 PyObject *resultobj;
4680 wxStopWatch *result;
4681 char *kwnames[] = {
4682 NULL
4683 };
4684
4685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
4686 {
4687 PyThreadState* __tstate = wxPyBeginAllowThreads();
4688 result = (wxStopWatch *)new wxStopWatch();
4689
4690 wxPyEndAllowThreads(__tstate);
4691 if (PyErr_Occurred()) SWIG_fail;
4692 }
4693 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStopWatch, 1);
4694 return resultobj;
4695 fail:
4696 return NULL;
4697}
4698
4699
4700static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
4701 PyObject *resultobj;
4702 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4703 long arg2 = (long) 0 ;
4704 PyObject * obj0 = 0 ;
4705 char *kwnames[] = {
4706 (char *) "self",(char *) "t0", NULL
4707 };
4708
4709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:StopWatch_Start",kwnames,&obj0,&arg2)) goto fail;
4710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4711 {
4712 PyThreadState* __tstate = wxPyBeginAllowThreads();
4713 (arg1)->Start(arg2);
4714
4715 wxPyEndAllowThreads(__tstate);
4716 if (PyErr_Occurred()) SWIG_fail;
4717 }
4718 Py_INCREF(Py_None); resultobj = Py_None;
4719 return resultobj;
4720 fail:
4721 return NULL;
4722}
4723
4724
4725static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
4726 PyObject *resultobj;
4727 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4728 PyObject * obj0 = 0 ;
4729 char *kwnames[] = {
4730 (char *) "self", NULL
4731 };
4732
4733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
4734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4735 {
4736 PyThreadState* __tstate = wxPyBeginAllowThreads();
4737 (arg1)->Pause();
4738
4739 wxPyEndAllowThreads(__tstate);
4740 if (PyErr_Occurred()) SWIG_fail;
4741 }
4742 Py_INCREF(Py_None); resultobj = Py_None;
4743 return resultobj;
4744 fail:
4745 return NULL;
4746}
4747
4748
4749static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
4750 PyObject *resultobj;
4751 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4752 PyObject * obj0 = 0 ;
4753 char *kwnames[] = {
4754 (char *) "self", NULL
4755 };
4756
4757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
4758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4759 {
4760 PyThreadState* __tstate = wxPyBeginAllowThreads();
4761 (arg1)->Resume();
4762
4763 wxPyEndAllowThreads(__tstate);
4764 if (PyErr_Occurred()) SWIG_fail;
4765 }
4766 Py_INCREF(Py_None); resultobj = Py_None;
4767 return resultobj;
4768 fail:
4769 return NULL;
4770}
4771
4772
4773static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
4774 PyObject *resultobj;
4775 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
4776 long result;
4777 PyObject * obj0 = 0 ;
4778 char *kwnames[] = {
4779 (char *) "self", NULL
4780 };
4781
4782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
4783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4784 {
4785 PyThreadState* __tstate = wxPyBeginAllowThreads();
4786 result = (long)((wxStopWatch const *)arg1)->Time();
4787
4788 wxPyEndAllowThreads(__tstate);
4789 if (PyErr_Occurred()) SWIG_fail;
4790 }
4791 resultobj = PyInt_FromLong((long)result);
4792 return resultobj;
4793 fail:
4794 return NULL;
4795}
4796
4797
4798static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
4799 PyObject *obj;
4800 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4801 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
4802 Py_INCREF(obj);
4803 return Py_BuildValue((char *)"");
4804}
4805static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4806 PyObject *resultobj;
4807 int arg1 = (int) 9 ;
4808 wxFileHistory *result;
4809 char *kwnames[] = {
4810 (char *) "maxFiles", NULL
4811 };
4812
4813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FileHistory",kwnames,&arg1)) goto fail;
4814 {
4815 PyThreadState* __tstate = wxPyBeginAllowThreads();
4816 result = (wxFileHistory *)new wxFileHistory(arg1);
4817
4818 wxPyEndAllowThreads(__tstate);
4819 if (PyErr_Occurred()) SWIG_fail;
4820 }
4821 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileHistory, 1);
4822 return resultobj;
4823 fail:
4824 return NULL;
4825}
4826
4827
4828static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4829 PyObject *resultobj;
4830 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4831 PyObject * obj0 = 0 ;
4832 char *kwnames[] = {
4833 (char *) "self", NULL
4834 };
4835
4836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
4837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4838 {
4839 PyThreadState* __tstate = wxPyBeginAllowThreads();
4840 delete arg1;
4841
4842 wxPyEndAllowThreads(__tstate);
4843 if (PyErr_Occurred()) SWIG_fail;
4844 }
4845 Py_INCREF(Py_None); resultobj = Py_None;
4846 return resultobj;
4847 fail:
4848 return NULL;
4849}
4850
4851
4852static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4853 PyObject *resultobj;
4854 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4855 wxString *arg2 = 0 ;
423f194a 4856 bool temp2 = False ;
d14a1e28
RD
4857 PyObject * obj0 = 0 ;
4858 PyObject * obj1 = 0 ;
4859 char *kwnames[] = {
4860 (char *) "self",(char *) "file", NULL
4861 };
4862
4863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
4864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4865 {
4866 arg2 = wxString_in_helper(obj1);
4867 if (arg2 == NULL) SWIG_fail;
423f194a 4868 temp2 = True;
d14a1e28
RD
4869 }
4870 {
4871 PyThreadState* __tstate = wxPyBeginAllowThreads();
4872 (arg1)->AddFileToHistory((wxString const &)*arg2);
4873
4874 wxPyEndAllowThreads(__tstate);
4875 if (PyErr_Occurred()) SWIG_fail;
4876 }
4877 Py_INCREF(Py_None); resultobj = Py_None;
4878 {
4879 if (temp2)
4880 delete arg2;
4881 }
4882 return resultobj;
4883 fail:
4884 {
4885 if (temp2)
4886 delete arg2;
4887 }
4888 return NULL;
4889}
4890
4891
4892static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
4893 PyObject *resultobj;
4894 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4895 int arg2 ;
4896 PyObject * obj0 = 0 ;
4897 char *kwnames[] = {
4898 (char *) "self",(char *) "i", NULL
4899 };
4900
4901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&arg2)) goto fail;
4902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4903 {
4904 PyThreadState* __tstate = wxPyBeginAllowThreads();
4905 (arg1)->RemoveFileFromHistory(arg2);
4906
4907 wxPyEndAllowThreads(__tstate);
4908 if (PyErr_Occurred()) SWIG_fail;
4909 }
4910 Py_INCREF(Py_None); resultobj = Py_None;
4911 return resultobj;
4912 fail:
4913 return NULL;
4914}
4915
4916
4917static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
4918 PyObject *resultobj;
4919 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4920 int result;
4921 PyObject * obj0 = 0 ;
4922 char *kwnames[] = {
4923 (char *) "self", NULL
4924 };
4925
4926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
4927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4928 {
4929 PyThreadState* __tstate = wxPyBeginAllowThreads();
4930 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
4931
4932 wxPyEndAllowThreads(__tstate);
4933 if (PyErr_Occurred()) SWIG_fail;
4934 }
4935 resultobj = PyInt_FromLong((long)result);
4936 return resultobj;
4937 fail:
4938 return NULL;
4939}
4940
4941
4942static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4943 PyObject *resultobj;
4944 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4945 wxMenu *arg2 = (wxMenu *) 0 ;
4946 PyObject * obj0 = 0 ;
4947 PyObject * obj1 = 0 ;
4948 char *kwnames[] = {
4949 (char *) "self",(char *) "menu", NULL
4950 };
4951
4952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
4953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4954 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4955 {
4956 PyThreadState* __tstate = wxPyBeginAllowThreads();
4957 (arg1)->UseMenu(arg2);
4958
4959 wxPyEndAllowThreads(__tstate);
4960 if (PyErr_Occurred()) SWIG_fail;
4961 }
4962 Py_INCREF(Py_None); resultobj = Py_None;
4963 return resultobj;
4964 fail:
4965 return NULL;
4966}
4967
4968
4969static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
4970 PyObject *resultobj;
4971 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4972 wxMenu *arg2 = (wxMenu *) 0 ;
4973 PyObject * obj0 = 0 ;
4974 PyObject * obj1 = 0 ;
4975 char *kwnames[] = {
4976 (char *) "self",(char *) "menu", NULL
4977 };
4978
4979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
4980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4981 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4982 {
4983 PyThreadState* __tstate = wxPyBeginAllowThreads();
4984 (arg1)->RemoveMenu(arg2);
4985
4986 wxPyEndAllowThreads(__tstate);
4987 if (PyErr_Occurred()) SWIG_fail;
4988 }
4989 Py_INCREF(Py_None); resultobj = Py_None;
4990 return resultobj;
4991 fail:
4992 return NULL;
4993}
4994
4995
4996static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
4997 PyObject *resultobj;
4998 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
4999 wxConfigBase *arg2 = 0 ;
5000 PyObject * obj0 = 0 ;
5001 PyObject * obj1 = 0 ;
5002 char *kwnames[] = {
5003 (char *) "self",(char *) "config", NULL
5004 };
5005
5006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
5007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5008 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5009 if (arg2 == NULL) {
5010 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5011 }
5012 {
5013 PyThreadState* __tstate = wxPyBeginAllowThreads();
5014 (arg1)->Load(*arg2);
5015
5016 wxPyEndAllowThreads(__tstate);
5017 if (PyErr_Occurred()) SWIG_fail;
5018 }
5019 Py_INCREF(Py_None); resultobj = Py_None;
5020 return resultobj;
5021 fail:
5022 return NULL;
5023}
5024
5025
5026static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5027 PyObject *resultobj;
5028 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5029 wxConfigBase *arg2 = 0 ;
5030 PyObject * obj0 = 0 ;
5031 PyObject * obj1 = 0 ;
5032 char *kwnames[] = {
5033 (char *) "self",(char *) "config", NULL
5034 };
5035
5036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5038 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5039 if (arg2 == NULL) {
5040 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5041 }
5042 {
5043 PyThreadState* __tstate = wxPyBeginAllowThreads();
5044 (arg1)->Save(*arg2);
5045
5046 wxPyEndAllowThreads(__tstate);
5047 if (PyErr_Occurred()) SWIG_fail;
5048 }
5049 Py_INCREF(Py_None); resultobj = Py_None;
5050 return resultobj;
5051 fail:
5052 return NULL;
5053}
5054
5055
5056static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5057 PyObject *resultobj;
5058 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5059 PyObject * obj0 = 0 ;
5060 char *kwnames[] = {
5061 (char *) "self", NULL
5062 };
5063
5064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5066 {
5067 PyThreadState* __tstate = wxPyBeginAllowThreads();
5068 (arg1)->AddFilesToMenu();
5069
5070 wxPyEndAllowThreads(__tstate);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
5073 Py_INCREF(Py_None); resultobj = Py_None;
5074 return resultobj;
5075 fail:
5076 return NULL;
5077}
5078
5079
5080static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5081 PyObject *resultobj;
5082 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5083 wxMenu *arg2 = (wxMenu *) 0 ;
5084 PyObject * obj0 = 0 ;
5085 PyObject * obj1 = 0 ;
5086 char *kwnames[] = {
5087 (char *) "self",(char *) "menu", NULL
5088 };
5089
5090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5092 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5093 {
5094 PyThreadState* __tstate = wxPyBeginAllowThreads();
5095 (arg1)->AddFilesToMenu(arg2);
5096
5097 wxPyEndAllowThreads(__tstate);
5098 if (PyErr_Occurred()) SWIG_fail;
5099 }
5100 Py_INCREF(Py_None); resultobj = Py_None;
5101 return resultobj;
5102 fail:
5103 return NULL;
5104}
5105
5106
5107static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5108 PyObject *resultobj;
5109 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5110 int arg2 ;
5111 wxString result;
5112 PyObject * obj0 = 0 ;
5113 char *kwnames[] = {
5114 (char *) "self",(char *) "i", NULL
5115 };
5116
5117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileHistory_GetHistoryFile",kwnames,&obj0,&arg2)) goto fail;
5118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5119 {
5120 PyThreadState* __tstate = wxPyBeginAllowThreads();
5121 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5122
5123 wxPyEndAllowThreads(__tstate);
5124 if (PyErr_Occurred()) SWIG_fail;
5125 }
5126 {
5127#if wxUSE_UNICODE
5128 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5129#else
5130 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5131#endif
5132 }
5133 return resultobj;
5134 fail:
5135 return NULL;
5136}
5137
5138
5139static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5140 PyObject *resultobj;
5141 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5142 int result;
5143 PyObject * obj0 = 0 ;
5144 char *kwnames[] = {
5145 (char *) "self", NULL
5146 };
5147
5148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5150 {
5151 PyThreadState* __tstate = wxPyBeginAllowThreads();
5152 result = (int)((wxFileHistory const *)arg1)->GetCount();
5153
5154 wxPyEndAllowThreads(__tstate);
5155 if (PyErr_Occurred()) SWIG_fail;
5156 }
5157 resultobj = PyInt_FromLong((long)result);
5158 return resultobj;
5159 fail:
5160 return NULL;
5161}
5162
5163
5164static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5165 PyObject *obj;
5166 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5167 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5168 Py_INCREF(obj);
5169 return Py_BuildValue((char *)"");
5170}
5171static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5172 PyObject *resultobj;
5173 wxString *arg1 = 0 ;
5174 wxString const &arg2_defvalue = wxPyEmptyString ;
5175 wxString *arg2 = (wxString *) &arg2_defvalue ;
5176 wxSingleInstanceChecker *result;
423f194a
RD
5177 bool temp1 = False ;
5178 bool temp2 = False ;
d14a1e28
RD
5179 PyObject * obj0 = 0 ;
5180 PyObject * obj1 = 0 ;
5181 char *kwnames[] = {
5182 (char *) "name",(char *) "path", NULL
5183 };
5184
5185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5186 {
5187 arg1 = wxString_in_helper(obj0);
5188 if (arg1 == NULL) SWIG_fail;
423f194a 5189 temp1 = True;
d14a1e28
RD
5190 }
5191 if (obj1) {
5192 {
5193 arg2 = wxString_in_helper(obj1);
5194 if (arg2 == NULL) SWIG_fail;
423f194a 5195 temp2 = True;
d14a1e28
RD
5196 }
5197 }
5198 {
5199 PyThreadState* __tstate = wxPyBeginAllowThreads();
5200 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5201
5202 wxPyEndAllowThreads(__tstate);
5203 if (PyErr_Occurred()) SWIG_fail;
5204 }
5205 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5206 {
5207 if (temp1)
5208 delete arg1;
5209 }
5210 {
5211 if (temp2)
5212 delete arg2;
5213 }
5214 return resultobj;
5215 fail:
5216 {
5217 if (temp1)
5218 delete arg1;
5219 }
5220 {
5221 if (temp2)
5222 delete arg2;
5223 }
5224 return NULL;
5225}
5226
5227
5228static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5229 PyObject *resultobj;
5230 wxSingleInstanceChecker *result;
5231 char *kwnames[] = {
5232 NULL
5233 };
5234
5235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5236 {
5237 PyThreadState* __tstate = wxPyBeginAllowThreads();
5238 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5239
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5244 return resultobj;
5245 fail:
5246 return NULL;
5247}
5248
5249
5250static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5251 PyObject *resultobj;
5252 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5253 PyObject * obj0 = 0 ;
5254 char *kwnames[] = {
5255 (char *) "self", NULL
5256 };
5257
5258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5260 {
5261 PyThreadState* __tstate = wxPyBeginAllowThreads();
5262 delete arg1;
5263
5264 wxPyEndAllowThreads(__tstate);
5265 if (PyErr_Occurred()) SWIG_fail;
5266 }
5267 Py_INCREF(Py_None); resultobj = Py_None;
5268 return resultobj;
5269 fail:
5270 return NULL;
5271}
5272
5273
5274static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5275 PyObject *resultobj;
5276 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5277 wxString *arg2 = 0 ;
5278 wxString const &arg3_defvalue = wxPyEmptyString ;
5279 wxString *arg3 = (wxString *) &arg3_defvalue ;
5280 bool result;
423f194a
RD
5281 bool temp2 = False ;
5282 bool temp3 = False ;
d14a1e28
RD
5283 PyObject * obj0 = 0 ;
5284 PyObject * obj1 = 0 ;
5285 PyObject * obj2 = 0 ;
5286 char *kwnames[] = {
5287 (char *) "self",(char *) "name",(char *) "path", NULL
5288 };
5289
5290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5292 {
5293 arg2 = wxString_in_helper(obj1);
5294 if (arg2 == NULL) SWIG_fail;
423f194a 5295 temp2 = True;
d14a1e28
RD
5296 }
5297 if (obj2) {
5298 {
5299 arg3 = wxString_in_helper(obj2);
5300 if (arg3 == NULL) SWIG_fail;
423f194a 5301 temp3 = True;
d14a1e28
RD
5302 }
5303 }
5304 {
5305 PyThreadState* __tstate = wxPyBeginAllowThreads();
5306 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5307
5308 wxPyEndAllowThreads(__tstate);
5309 if (PyErr_Occurred()) SWIG_fail;
5310 }
5311 resultobj = PyInt_FromLong((long)result);
5312 {
5313 if (temp2)
5314 delete arg2;
5315 }
5316 {
5317 if (temp3)
5318 delete arg3;
5319 }
5320 return resultobj;
5321 fail:
5322 {
5323 if (temp2)
5324 delete arg2;
5325 }
5326 {
5327 if (temp3)
5328 delete arg3;
5329 }
5330 return NULL;
5331}
5332
5333
5334static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5335 PyObject *resultobj;
5336 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5337 bool result;
5338 PyObject * obj0 = 0 ;
5339 char *kwnames[] = {
5340 (char *) "self", NULL
5341 };
5342
5343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5345 {
5346 PyThreadState* __tstate = wxPyBeginAllowThreads();
5347 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5348
5349 wxPyEndAllowThreads(__tstate);
5350 if (PyErr_Occurred()) SWIG_fail;
5351 }
5352 resultobj = PyInt_FromLong((long)result);
5353 return resultobj;
5354 fail:
5355 return NULL;
5356}
5357
5358
5359static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5360 PyObject *obj;
5361 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5362 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5363 Py_INCREF(obj);
5364 return Py_BuildValue((char *)"");
5365}
5366static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5367 PyObject *resultobj;
5368 wxWindow *arg1 = (wxWindow *) 0 ;
5369 wxDC *arg2 = 0 ;
5370 int arg3 ;
5371 PyObject * obj0 = 0 ;
5372 PyObject * obj1 = 0 ;
5373 char *kwnames[] = {
5374 (char *) "window",(char *) "dc",(char *) "method", NULL
5375 };
5376
5377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DrawWindowOnDC",kwnames,&obj0,&obj1,&arg3)) goto fail;
5378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5379 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5380 if (arg2 == NULL) {
5381 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5382 }
5383 {
5384 PyThreadState* __tstate = wxPyBeginAllowThreads();
5385 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5386
5387 wxPyEndAllowThreads(__tstate);
5388 if (PyErr_Occurred()) SWIG_fail;
5389 }
5390 Py_INCREF(Py_None); resultobj = Py_None;
5391 return resultobj;
5392 fail:
5393 return NULL;
5394}
5395
5396
5397static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5398 PyObject *resultobj;
5399 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5400 PyObject * obj0 = 0 ;
5401 char *kwnames[] = {
5402 (char *) "self", NULL
5403 };
5404
5405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
5406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5407 {
5408 PyThreadState* __tstate = wxPyBeginAllowThreads();
5409 delete arg1;
5410
5411 wxPyEndAllowThreads(__tstate);
5412 if (PyErr_Occurred()) SWIG_fail;
5413 }
5414 Py_INCREF(Py_None); resultobj = Py_None;
5415 return resultobj;
5416 fail:
5417 return NULL;
5418}
5419
5420
5421static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5422 PyObject *resultobj;
5423 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5424 wxString result;
5425 PyObject * obj0 = 0 ;
5426 char *kwnames[] = {
5427 (char *) "self", NULL
5428 };
5429
5430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
5431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5432 {
5433 PyThreadState* __tstate = wxPyBeginAllowThreads();
5434 result = (arg1)->GetTip();
5435
5436 wxPyEndAllowThreads(__tstate);
5437 if (PyErr_Occurred()) SWIG_fail;
5438 }
5439 {
5440#if wxUSE_UNICODE
5441 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5442#else
5443 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5444#endif
5445 }
5446 return resultobj;
5447 fail:
5448 return NULL;
5449}
5450
5451
5452static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5453 PyObject *resultobj;
5454 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5455 size_t result;
5456 PyObject * obj0 = 0 ;
5457 char *kwnames[] = {
5458 (char *) "self", NULL
5459 };
5460
5461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
5462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5463 {
5464 PyThreadState* __tstate = wxPyBeginAllowThreads();
5465 result = (size_t)(arg1)->GetCurrentTip();
5466
5467 wxPyEndAllowThreads(__tstate);
5468 if (PyErr_Occurred()) SWIG_fail;
5469 }
5470 resultobj = PyInt_FromLong((long)result);
5471 return resultobj;
5472 fail:
5473 return NULL;
5474}
5475
5476
5477static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5478 PyObject *resultobj;
5479 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5480 wxString *arg2 = 0 ;
5481 wxString result;
423f194a 5482 bool temp2 = False ;
d14a1e28
RD
5483 PyObject * obj0 = 0 ;
5484 PyObject * obj1 = 0 ;
5485 char *kwnames[] = {
5486 (char *) "self",(char *) "tip", NULL
5487 };
5488
5489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
5490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5491 {
5492 arg2 = wxString_in_helper(obj1);
5493 if (arg2 == NULL) SWIG_fail;
423f194a 5494 temp2 = True;
d14a1e28
RD
5495 }
5496 {
5497 PyThreadState* __tstate = wxPyBeginAllowThreads();
5498 result = (arg1)->PreprocessTip((wxString const &)*arg2);
5499
5500 wxPyEndAllowThreads(__tstate);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 {
5504#if wxUSE_UNICODE
5505 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5506#else
5507 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5508#endif
5509 }
5510 {
5511 if (temp2)
5512 delete arg2;
5513 }
5514 return resultobj;
5515 fail:
5516 {
5517 if (temp2)
5518 delete arg2;
5519 }
5520 return NULL;
5521}
5522
5523
5524static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
5525 PyObject *obj;
5526 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5527 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
5528 Py_INCREF(obj);
5529 return Py_BuildValue((char *)"");
5530}
5531static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5532 PyObject *resultobj;
5533 size_t arg1 ;
5534 wxPyTipProvider *result;
5535 PyObject * obj0 = 0 ;
5536 char *kwnames[] = {
5537 (char *) "currentTip", NULL
5538 };
5539
5540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
5541 arg1 = (size_t) PyInt_AsLong(obj0);
5542 if (PyErr_Occurred()) SWIG_fail;
5543 {
5544 PyThreadState* __tstate = wxPyBeginAllowThreads();
5545 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
5546
5547 wxPyEndAllowThreads(__tstate);
5548 if (PyErr_Occurred()) SWIG_fail;
5549 }
5550 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTipProvider, 1);
5551 return resultobj;
5552 fail:
5553 return NULL;
5554}
5555
5556
5557static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5558 PyObject *resultobj;
5559 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
5560 PyObject *arg2 = (PyObject *) 0 ;
5561 PyObject *arg3 = (PyObject *) 0 ;
5562 PyObject * obj0 = 0 ;
5563 PyObject * obj1 = 0 ;
5564 PyObject * obj2 = 0 ;
5565 char *kwnames[] = {
5566 (char *) "self",(char *) "self",(char *) "_class", NULL
5567 };
5568
5569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5571 arg2 = obj1;
5572 arg3 = obj2;
5573 {
5574 PyThreadState* __tstate = wxPyBeginAllowThreads();
5575 (arg1)->_setCallbackInfo(arg2,arg3);
5576
5577 wxPyEndAllowThreads(__tstate);
5578 if (PyErr_Occurred()) SWIG_fail;
5579 }
5580 Py_INCREF(Py_None); resultobj = Py_None;
5581 return resultobj;
5582 fail:
5583 return NULL;
5584}
5585
5586
5587static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
5588 PyObject *obj;
5589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5590 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
5591 Py_INCREF(obj);
5592 return Py_BuildValue((char *)"");
5593}
5594static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5595 PyObject *resultobj;
5596 wxWindow *arg1 = (wxWindow *) 0 ;
5597 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
423f194a 5598 bool arg3 = (bool) True ;
d14a1e28
RD
5599 bool result;
5600 PyObject * obj0 = 0 ;
5601 PyObject * obj1 = 0 ;
5602 PyObject * obj2 = 0 ;
5603 char *kwnames[] = {
5604 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5605 };
5606
5607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
5608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5609 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5610 if (obj2) {
5611 arg3 = PyInt_AsLong(obj2) ? true : false;
5612 if (PyErr_Occurred()) SWIG_fail;
5613 }
5614 {
5615 PyThreadState* __tstate = wxPyBeginAllowThreads();
5616 result = (bool)wxShowTip(arg1,arg2,arg3);
5617
5618 wxPyEndAllowThreads(__tstate);
5619 if (PyErr_Occurred()) SWIG_fail;
5620 }
5621 resultobj = PyInt_FromLong((long)result);
5622 return resultobj;
5623 fail:
5624 return NULL;
5625}
5626
5627
5628static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5629 PyObject *resultobj;
5630 wxString *arg1 = 0 ;
5631 size_t arg2 ;
5632 wxTipProvider *result;
423f194a 5633 bool temp1 = False ;
d14a1e28
RD
5634 PyObject * obj0 = 0 ;
5635 PyObject * obj1 = 0 ;
5636 char *kwnames[] = {
5637 (char *) "filename",(char *) "currentTip", NULL
5638 };
5639
5640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
5641 {
5642 arg1 = wxString_in_helper(obj0);
5643 if (arg1 == NULL) SWIG_fail;
423f194a 5644 temp1 = True;
d14a1e28
RD
5645 }
5646 arg2 = (size_t) PyInt_AsLong(obj1);
5647 if (PyErr_Occurred()) SWIG_fail;
5648 {
5649 PyThreadState* __tstate = wxPyBeginAllowThreads();
5650 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
5651
5652 wxPyEndAllowThreads(__tstate);
5653 if (PyErr_Occurred()) SWIG_fail;
5654 }
5655 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipProvider, 1);
5656 {
5657 if (temp1)
5658 delete arg1;
5659 }
5660 return resultobj;
5661 fail:
5662 {
5663 if (temp1)
5664 delete arg1;
5665 }
5666 return NULL;
5667}
5668
5669
5670static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5671 PyObject *resultobj;
5672 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
5673 int arg2 = (int) -1 ;
5674 wxPyTimer *result;
5675 PyObject * obj0 = 0 ;
5676 char *kwnames[] = {
5677 (char *) "owner",(char *) "id", NULL
5678 };
5679
5680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Timer",kwnames,&obj0,&arg2)) goto fail;
5681 if (obj0) {
5682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5683 }
5684 {
5685 PyThreadState* __tstate = wxPyBeginAllowThreads();
5686 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
5687
5688 wxPyEndAllowThreads(__tstate);
5689 if (PyErr_Occurred()) SWIG_fail;
5690 }
5691 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTimer, 1);
5692 return resultobj;
5693 fail:
5694 return NULL;
5695}
5696
5697
5698static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
5699 PyObject *resultobj;
5700 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5701 PyObject * obj0 = 0 ;
5702 char *kwnames[] = {
5703 (char *) "self", NULL
5704 };
5705
5706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
5707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5708 {
5709 PyThreadState* __tstate = wxPyBeginAllowThreads();
5710 delete arg1;
5711
5712 wxPyEndAllowThreads(__tstate);
5713 if (PyErr_Occurred()) SWIG_fail;
5714 }
5715 Py_INCREF(Py_None); resultobj = Py_None;
5716 return resultobj;
5717 fail:
5718 return NULL;
5719}
5720
5721
44127b65
RD
5722static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5723 PyObject *resultobj;
5724 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5725 PyObject *arg2 = (PyObject *) 0 ;
5726 PyObject *arg3 = (PyObject *) 0 ;
5727 PyObject * obj0 = 0 ;
5728 PyObject * obj1 = 0 ;
5729 PyObject * obj2 = 0 ;
5730 char *kwnames[] = {
5731 (char *) "self",(char *) "self",(char *) "_class", NULL
5732 };
5733
5734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5736 arg2 = obj1;
5737 arg3 = obj2;
5738 {
5739 PyThreadState* __tstate = wxPyBeginAllowThreads();
5740 (arg1)->_setCallbackInfo(arg2,arg3);
5741
5742 wxPyEndAllowThreads(__tstate);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 Py_INCREF(Py_None); resultobj = Py_None;
5746 return resultobj;
5747 fail:
5748 return NULL;
5749}
5750
5751
d14a1e28
RD
5752static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
5753 PyObject *resultobj;
5754 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5755 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
5756 int arg3 = (int) -1 ;
5757 PyObject * obj0 = 0 ;
5758 PyObject * obj1 = 0 ;
5759 char *kwnames[] = {
5760 (char *) "self",(char *) "owner",(char *) "id", NULL
5761 };
5762
5763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Timer_SetOwner",kwnames,&obj0,&obj1,&arg3)) goto fail;
5764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5765 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5766 {
5767 PyThreadState* __tstate = wxPyBeginAllowThreads();
5768 (arg1)->SetOwner(arg2,arg3);
5769
5770 wxPyEndAllowThreads(__tstate);
5771 if (PyErr_Occurred()) SWIG_fail;
5772 }
5773 Py_INCREF(Py_None); resultobj = Py_None;
5774 return resultobj;
5775 fail:
5776 return NULL;
5777}
5778
5779
5780static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5781 PyObject *resultobj;
5782 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5783 int arg2 = (int) -1 ;
423f194a 5784 bool arg3 = (bool) False ;
d14a1e28
RD
5785 bool result;
5786 PyObject * obj0 = 0 ;
5787 PyObject * obj2 = 0 ;
5788 char *kwnames[] = {
5789 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5790 };
5791
5792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Timer_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
5793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5794 if (obj2) {
5795 arg3 = PyInt_AsLong(obj2) ? true : false;
5796 if (PyErr_Occurred()) SWIG_fail;
5797 }
5798 {
5799 PyThreadState* __tstate = wxPyBeginAllowThreads();
5800 result = (bool)(arg1)->Start(arg2,arg3);
5801
5802 wxPyEndAllowThreads(__tstate);
5803 if (PyErr_Occurred()) SWIG_fail;
5804 }
5805 resultobj = PyInt_FromLong((long)result);
5806 return resultobj;
5807 fail:
5808 return NULL;
5809}
5810
5811
5812static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
5813 PyObject *resultobj;
5814 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5815 PyObject * obj0 = 0 ;
5816 char *kwnames[] = {
5817 (char *) "self", NULL
5818 };
5819
5820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
5821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5822 {
5823 PyThreadState* __tstate = wxPyBeginAllowThreads();
5824 (arg1)->Stop();
5825
5826 wxPyEndAllowThreads(__tstate);
5827 if (PyErr_Occurred()) SWIG_fail;
5828 }
5829 Py_INCREF(Py_None); resultobj = Py_None;
5830 return resultobj;
5831 fail:
5832 return NULL;
5833}
5834
5835
d14a1e28
RD
5836static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5837 PyObject *resultobj;
5838 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5839 bool result;
5840 PyObject * obj0 = 0 ;
5841 char *kwnames[] = {
5842 (char *) "self", NULL
5843 };
5844
5845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
5846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5847 {
5848 PyThreadState* __tstate = wxPyBeginAllowThreads();
5849 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
5850
5851 wxPyEndAllowThreads(__tstate);
5852 if (PyErr_Occurred()) SWIG_fail;
5853 }
5854 resultobj = PyInt_FromLong((long)result);
5855 return resultobj;
5856 fail:
5857 return NULL;
5858}
5859
5860
5861static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5862 PyObject *resultobj;
5863 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5864 int result;
5865 PyObject * obj0 = 0 ;
5866 char *kwnames[] = {
5867 (char *) "self", NULL
5868 };
5869
5870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
5871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5872 {
5873 PyThreadState* __tstate = wxPyBeginAllowThreads();
5874 result = (int)((wxPyTimer const *)arg1)->GetInterval();
5875
5876 wxPyEndAllowThreads(__tstate);
5877 if (PyErr_Occurred()) SWIG_fail;
5878 }
5879 resultobj = PyInt_FromLong((long)result);
5880 return resultobj;
5881 fail:
5882 return NULL;
5883}
5884
5885
5886static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
5887 PyObject *resultobj;
5888 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5889 bool result;
5890 PyObject * obj0 = 0 ;
5891 char *kwnames[] = {
5892 (char *) "self", NULL
5893 };
5894
5895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
5896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5897 {
5898 PyThreadState* __tstate = wxPyBeginAllowThreads();
5899 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
5900
5901 wxPyEndAllowThreads(__tstate);
5902 if (PyErr_Occurred()) SWIG_fail;
5903 }
5904 resultobj = PyInt_FromLong((long)result);
5905 return resultobj;
5906 fail:
5907 return NULL;
5908}
5909
5910
f0983263
RD
5911static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
5912 PyObject *resultobj;
5913 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
5914 int result;
5915 PyObject * obj0 = 0 ;
5916 char *kwnames[] = {
5917 (char *) "self", NULL
5918 };
5919
5920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
5921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5922 {
5923 PyThreadState* __tstate = wxPyBeginAllowThreads();
5924 result = (int)((wxPyTimer const *)arg1)->GetId();
5925
5926 wxPyEndAllowThreads(__tstate);
5927 if (PyErr_Occurred()) SWIG_fail;
5928 }
5929 resultobj = PyInt_FromLong((long)result);
5930 return resultobj;
5931 fail:
5932 return NULL;
5933}
5934
5935
d14a1e28
RD
5936static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
5937 PyObject *obj;
5938 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5939 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
5940 Py_INCREF(obj);
5941 return Py_BuildValue((char *)"");
5942}
5943static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5944 PyObject *resultobj;
5945 int arg1 = (int) 0 ;
5946 int arg2 = (int) 0 ;
5947 wxTimerEvent *result;
5948 char *kwnames[] = {
5949 (char *) "timerid",(char *) "interval", NULL
5950 };
5951
5952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TimerEvent",kwnames,&arg1,&arg2)) goto fail;
5953 {
5954 PyThreadState* __tstate = wxPyBeginAllowThreads();
5955 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
5956
5957 wxPyEndAllowThreads(__tstate);
5958 if (PyErr_Occurred()) SWIG_fail;
5959 }
5960 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerEvent, 1);
5961 return resultobj;
5962 fail:
5963 return NULL;
5964}
5965
5966
5967static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
5968 PyObject *resultobj;
5969 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
5970 int result;
5971 PyObject * obj0 = 0 ;
5972 char *kwnames[] = {
5973 (char *) "self", NULL
5974 };
5975
5976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
5977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5978 {
5979 PyThreadState* __tstate = wxPyBeginAllowThreads();
5980 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
5981
5982 wxPyEndAllowThreads(__tstate);
5983 if (PyErr_Occurred()) SWIG_fail;
5984 }
5985 resultobj = PyInt_FromLong((long)result);
5986 return resultobj;
5987 fail:
5988 return NULL;
5989}
5990
5991
5992static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
5993 PyObject *obj;
5994 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5995 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
5996 Py_INCREF(obj);
5997 return Py_BuildValue((char *)"");
5998}
5999static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
6000 PyObject *resultobj;
6001 wxTimer *arg1 = 0 ;
6002 wxTimerRunner *result;
6003 PyObject * obj0 = 0 ;
6004
6005 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
6006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6007 if (arg1 == NULL) {
6008 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6009 }
6010 {
6011 PyThreadState* __tstate = wxPyBeginAllowThreads();
6012 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6013
6014 wxPyEndAllowThreads(__tstate);
6015 if (PyErr_Occurred()) SWIG_fail;
6016 }
6017 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6018 return resultobj;
6019 fail:
6020 return NULL;
6021}
6022
6023
6024static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
6025 PyObject *resultobj;
6026 wxTimer *arg1 = 0 ;
6027 int arg2 ;
423f194a 6028 bool arg3 = (bool) False ;
d14a1e28
RD
6029 wxTimerRunner *result;
6030 PyObject * obj0 = 0 ;
6031 PyObject * obj2 = 0 ;
6032
6033 if(!PyArg_ParseTuple(args,(char *)"Oi|O:new_TimerRunner",&obj0,&arg2,&obj2)) goto fail;
6034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6035 if (arg1 == NULL) {
6036 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6037 }
6038 if (obj2) {
6039 arg3 = PyInt_AsLong(obj2) ? true : false;
6040 if (PyErr_Occurred()) SWIG_fail;
6041 }
6042 {
6043 PyThreadState* __tstate = wxPyBeginAllowThreads();
6044 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6045
6046 wxPyEndAllowThreads(__tstate);
6047 if (PyErr_Occurred()) SWIG_fail;
6048 }
6049 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6050 return resultobj;
6051 fail:
6052 return NULL;
6053}
6054
6055
6056static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6057 int argc;
6058 PyObject *argv[4];
6059 int ii;
6060
6061 argc = PyObject_Length(args);
6062 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6063 argv[ii] = PyTuple_GetItem(args,ii);
6064 }
6065 if (argc == 1) {
6066 int _v;
6067 {
6068 void *ptr;
6069 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6070 _v = 0;
6071 PyErr_Clear();
6072 } else {
6073 _v = 1;
6074 }
6075 }
6076 if (_v) {
6077 return _wrap_new_TimerRunner__SWIG_0(self,args);
6078 }
6079 }
6080 if ((argc >= 2) && (argc <= 3)) {
6081 int _v;
6082 {
6083 void *ptr;
6084 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6085 _v = 0;
6086 PyErr_Clear();
6087 } else {
6088 _v = 1;
6089 }
6090 }
6091 if (_v) {
6092 {
6093 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6094 }
6095 if (_v) {
6096 if (argc <= 2) {
6097 return _wrap_new_TimerRunner__SWIG_1(self,args);
6098 }
6099 {
6100 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
6101 }
6102 if (_v) {
6103 return _wrap_new_TimerRunner__SWIG_1(self,args);
6104 }
6105 }
6106 }
6107 }
6108
6109 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6110 return NULL;
6111}
6112
6113
6114static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6115 PyObject *resultobj;
6116 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6117 PyObject * obj0 = 0 ;
6118 char *kwnames[] = {
6119 (char *) "self", NULL
6120 };
6121
6122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6124 {
6125 PyThreadState* __tstate = wxPyBeginAllowThreads();
6126 delete arg1;
6127
6128 wxPyEndAllowThreads(__tstate);
6129 if (PyErr_Occurred()) SWIG_fail;
6130 }
6131 Py_INCREF(Py_None); resultobj = Py_None;
6132 return resultobj;
6133 fail:
6134 return NULL;
6135}
6136
6137
6138static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6139 PyObject *resultobj;
6140 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6141 int arg2 ;
423f194a 6142 bool arg3 = (bool) False ;
d14a1e28
RD
6143 PyObject * obj0 = 0 ;
6144 PyObject * obj2 = 0 ;
6145 char *kwnames[] = {
6146 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6147 };
6148
6149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:TimerRunner_Start",kwnames,&obj0,&arg2,&obj2)) goto fail;
6150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6151 if (obj2) {
6152 arg3 = PyInt_AsLong(obj2) ? true : false;
6153 if (PyErr_Occurred()) SWIG_fail;
6154 }
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 (arg1)->Start(arg2,arg3);
6158
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 Py_INCREF(Py_None); resultobj = Py_None;
6163 return resultobj;
6164 fail:
6165 return NULL;
6166}
6167
6168
6169static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6170 PyObject *obj;
6171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6172 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6173 Py_INCREF(obj);
6174 return Py_BuildValue((char *)"");
6175}
6176static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6177 PyObject *resultobj;
6178 wxLog *result;
6179 char *kwnames[] = {
6180 NULL
6181 };
6182
6183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6184 {
6185 PyThreadState* __tstate = wxPyBeginAllowThreads();
6186 result = (wxLog *)new wxLog();
6187
6188 wxPyEndAllowThreads(__tstate);
6189 if (PyErr_Occurred()) SWIG_fail;
6190 }
6191 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 1);
6192 return resultobj;
6193 fail:
6194 return NULL;
6195}
6196
6197
6198static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6199 PyObject *resultobj;
6200 bool result;
6201 char *kwnames[] = {
6202 NULL
6203 };
6204
6205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6206 {
6207 PyThreadState* __tstate = wxPyBeginAllowThreads();
6208 result = (bool)wxLog::IsEnabled();
6209
6210 wxPyEndAllowThreads(__tstate);
6211 if (PyErr_Occurred()) SWIG_fail;
6212 }
6213 resultobj = PyInt_FromLong((long)result);
6214 return resultobj;
6215 fail:
6216 return NULL;
6217}
6218
6219
6220static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6221 PyObject *resultobj;
423f194a 6222 bool arg1 = (bool) True ;
d14a1e28
RD
6223 bool result;
6224 PyObject * obj0 = 0 ;
6225 char *kwnames[] = {
6226 (char *) "doIt", NULL
6227 };
6228
6229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6230 if (obj0) {
6231 arg1 = PyInt_AsLong(obj0) ? true : false;
6232 if (PyErr_Occurred()) SWIG_fail;
6233 }
6234 {
6235 PyThreadState* __tstate = wxPyBeginAllowThreads();
6236 result = (bool)wxLog::EnableLogging(arg1);
6237
6238 wxPyEndAllowThreads(__tstate);
6239 if (PyErr_Occurred()) SWIG_fail;
6240 }
6241 resultobj = PyInt_FromLong((long)result);
6242 return resultobj;
6243 fail:
6244 return NULL;
6245}
6246
6247
6248static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6249 PyObject *resultobj;
6250 wxLogLevel arg1 ;
6251 wxChar *arg2 = (wxChar *) 0 ;
6252 time_t arg3 ;
6253 PyObject * obj0 = 0 ;
6254 PyObject * obj1 = 0 ;
6255 PyObject * obj2 = 0 ;
6256 char *kwnames[] = {
6257 (char *) "level",(char *) "szString",(char *) "t", NULL
6258 };
6259
6260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
6261 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6262 if (PyErr_Occurred()) SWIG_fail;
6263 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6264 arg3 = (time_t) PyInt_AsLong(obj2);
6265 if (PyErr_Occurred()) SWIG_fail;
6266 {
6267 PyThreadState* __tstate = wxPyBeginAllowThreads();
6268 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6269
6270 wxPyEndAllowThreads(__tstate);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 }
6273 Py_INCREF(Py_None); resultobj = Py_None;
6274 return resultobj;
6275 fail:
6276 return NULL;
6277}
6278
6279
6280static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6281 PyObject *resultobj;
6282 wxLog *arg1 = (wxLog *) 0 ;
6283 PyObject * obj0 = 0 ;
6284 char *kwnames[] = {
6285 (char *) "self", NULL
6286 };
6287
6288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6290 {
6291 PyThreadState* __tstate = wxPyBeginAllowThreads();
6292 (arg1)->Flush();
6293
6294 wxPyEndAllowThreads(__tstate);
6295 if (PyErr_Occurred()) SWIG_fail;
6296 }
6297 Py_INCREF(Py_None); resultobj = Py_None;
6298 return resultobj;
6299 fail:
6300 return NULL;
6301}
6302
6303
6304static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6305 PyObject *resultobj;
6306 char *kwnames[] = {
6307 NULL
6308 };
6309
6310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6311 {
6312 PyThreadState* __tstate = wxPyBeginAllowThreads();
6313 wxLog::FlushActive();
6314
6315 wxPyEndAllowThreads(__tstate);
6316 if (PyErr_Occurred()) SWIG_fail;
6317 }
6318 Py_INCREF(Py_None); resultobj = Py_None;
6319 return resultobj;
6320 fail:
6321 return NULL;
6322}
6323
6324
6325static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6326 PyObject *resultobj;
6327 wxLog *result;
6328 char *kwnames[] = {
6329 NULL
6330 };
6331
6332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6333 {
6334 PyThreadState* __tstate = wxPyBeginAllowThreads();
6335 result = (wxLog *)wxLog::GetActiveTarget();
6336
6337 wxPyEndAllowThreads(__tstate);
6338 if (PyErr_Occurred()) SWIG_fail;
6339 }
6340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6341 return resultobj;
6342 fail:
6343 return NULL;
6344}
6345
6346
6347static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6348 PyObject *resultobj;
6349 wxLog *arg1 = (wxLog *) 0 ;
6350 wxLog *result;
6351 PyObject * obj0 = 0 ;
6352 char *kwnames[] = {
6353 (char *) "pLogger", NULL
6354 };
6355
6356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
6357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6358 {
6359 PyThreadState* __tstate = wxPyBeginAllowThreads();
6360 result = (wxLog *)wxLog::SetActiveTarget(arg1);
6361
6362 wxPyEndAllowThreads(__tstate);
6363 if (PyErr_Occurred()) SWIG_fail;
6364 }
6365 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6366 return resultobj;
6367 fail:
6368 return NULL;
6369}
6370
6371
6372static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
6373 PyObject *resultobj;
6374 char *kwnames[] = {
6375 NULL
6376 };
6377
6378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
6379 {
6380 PyThreadState* __tstate = wxPyBeginAllowThreads();
6381 wxLog::Suspend();
6382
6383 wxPyEndAllowThreads(__tstate);
6384 if (PyErr_Occurred()) SWIG_fail;
6385 }
6386 Py_INCREF(Py_None); resultobj = Py_None;
6387 return resultobj;
6388 fail:
6389 return NULL;
6390}
6391
6392
6393static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
6394 PyObject *resultobj;
6395 char *kwnames[] = {
6396 NULL
6397 };
6398
6399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
6400 {
6401 PyThreadState* __tstate = wxPyBeginAllowThreads();
6402 wxLog::Resume();
6403
6404 wxPyEndAllowThreads(__tstate);
6405 if (PyErr_Occurred()) SWIG_fail;
6406 }
6407 Py_INCREF(Py_None); resultobj = Py_None;
6408 return resultobj;
6409 fail:
6410 return NULL;
6411}
6412
6413
6414static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6415 PyObject *resultobj;
423f194a 6416 bool arg1 = (bool) True ;
d14a1e28
RD
6417 PyObject * obj0 = 0 ;
6418 char *kwnames[] = {
6419 (char *) "bVerbose", NULL
6420 };
6421
6422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
6423 if (obj0) {
6424 arg1 = PyInt_AsLong(obj0) ? true : false;
6425 if (PyErr_Occurred()) SWIG_fail;
6426 }
6427 {
6428 PyThreadState* __tstate = wxPyBeginAllowThreads();
6429 wxLog::SetVerbose(arg1);
6430
6431 wxPyEndAllowThreads(__tstate);
6432 if (PyErr_Occurred()) SWIG_fail;
6433 }
6434 Py_INCREF(Py_None); resultobj = Py_None;
6435 return resultobj;
6436 fail:
6437 return NULL;
6438}
6439
6440
6441static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6442 PyObject *resultobj;
6443 wxLogLevel arg1 ;
6444 PyObject * obj0 = 0 ;
6445 char *kwnames[] = {
6446 (char *) "logLevel", NULL
6447 };
6448
6449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
6450 arg1 = (wxLogLevel) PyInt_AsLong(obj0);
6451 if (PyErr_Occurred()) SWIG_fail;
6452 {
6453 PyThreadState* __tstate = wxPyBeginAllowThreads();
6454 wxLog::SetLogLevel(arg1);
6455
6456 wxPyEndAllowThreads(__tstate);
6457 if (PyErr_Occurred()) SWIG_fail;
6458 }
6459 Py_INCREF(Py_None); resultobj = Py_None;
6460 return resultobj;
6461 fail:
6462 return NULL;
6463}
6464
6465
6466static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
6467 PyObject *resultobj;
6468 char *kwnames[] = {
6469 NULL
6470 };
6471
6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
6473 {
6474 PyThreadState* __tstate = wxPyBeginAllowThreads();
6475 wxLog::DontCreateOnDemand();
6476
6477 wxPyEndAllowThreads(__tstate);
6478 if (PyErr_Occurred()) SWIG_fail;
6479 }
6480 Py_INCREF(Py_None); resultobj = Py_None;
6481 return resultobj;
6482 fail:
6483 return NULL;
6484}
6485
6486
6487static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6488 PyObject *resultobj;
6489 wxTraceMask arg1 ;
6490 PyObject * obj0 = 0 ;
6491 char *kwnames[] = {
6492 (char *) "ulMask", NULL
6493 };
6494
6495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
6496 arg1 = (wxTraceMask) PyInt_AsLong(obj0);
6497 if (PyErr_Occurred()) SWIG_fail;
6498 {
6499 PyThreadState* __tstate = wxPyBeginAllowThreads();
6500 wxLog::SetTraceMask(arg1);
6501
6502 wxPyEndAllowThreads(__tstate);
6503 if (PyErr_Occurred()) SWIG_fail;
6504 }
6505 Py_INCREF(Py_None); resultobj = Py_None;
6506 return resultobj;
6507 fail:
6508 return NULL;
6509}
6510
6511
6512static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6513 PyObject *resultobj;
6514 wxString *arg1 = 0 ;
423f194a 6515 bool temp1 = False ;
d14a1e28
RD
6516 PyObject * obj0 = 0 ;
6517 char *kwnames[] = {
6518 (char *) "str", NULL
6519 };
6520
6521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
6522 {
6523 arg1 = wxString_in_helper(obj0);
6524 if (arg1 == NULL) SWIG_fail;
423f194a 6525 temp1 = True;
d14a1e28
RD
6526 }
6527 {
6528 PyThreadState* __tstate = wxPyBeginAllowThreads();
6529 wxLog::AddTraceMask((wxString const &)*arg1);
6530
6531 wxPyEndAllowThreads(__tstate);
6532 if (PyErr_Occurred()) SWIG_fail;
6533 }
6534 Py_INCREF(Py_None); resultobj = Py_None;
6535 {
6536 if (temp1)
6537 delete arg1;
6538 }
6539 return resultobj;
6540 fail:
6541 {
6542 if (temp1)
6543 delete arg1;
6544 }
6545 return NULL;
6546}
6547
6548
6549static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6550 PyObject *resultobj;
6551 wxString *arg1 = 0 ;
423f194a 6552 bool temp1 = False ;
d14a1e28
RD
6553 PyObject * obj0 = 0 ;
6554 char *kwnames[] = {
6555 (char *) "str", NULL
6556 };
6557
6558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
6559 {
6560 arg1 = wxString_in_helper(obj0);
6561 if (arg1 == NULL) SWIG_fail;
423f194a 6562 temp1 = True;
d14a1e28
RD
6563 }
6564 {
6565 PyThreadState* __tstate = wxPyBeginAllowThreads();
6566 wxLog::RemoveTraceMask((wxString const &)*arg1);
6567
6568 wxPyEndAllowThreads(__tstate);
6569 if (PyErr_Occurred()) SWIG_fail;
6570 }
6571 Py_INCREF(Py_None); resultobj = Py_None;
6572 {
6573 if (temp1)
6574 delete arg1;
6575 }
6576 return resultobj;
6577 fail:
6578 {
6579 if (temp1)
6580 delete arg1;
6581 }
6582 return NULL;
6583}
6584
6585
6586static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6587 PyObject *resultobj;
6588 char *kwnames[] = {
6589 NULL
6590 };
6591
6592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
6593 {
6594 PyThreadState* __tstate = wxPyBeginAllowThreads();
6595 wxLog::ClearTraceMasks();
6596
6597 wxPyEndAllowThreads(__tstate);
6598 if (PyErr_Occurred()) SWIG_fail;
6599 }
6600 Py_INCREF(Py_None); resultobj = Py_None;
6601 return resultobj;
6602 fail:
6603 return NULL;
6604}
6605
6606
6607static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
6608 PyObject *resultobj;
6609 wxArrayString *result;
6610 char *kwnames[] = {
6611 NULL
6612 };
6613
6614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
6615 {
6616 PyThreadState* __tstate = wxPyBeginAllowThreads();
6617 {
6618 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
6619 result = (wxArrayString *) &_result_ref;
6620 }
6621
6622 wxPyEndAllowThreads(__tstate);
6623 if (PyErr_Occurred()) SWIG_fail;
6624 }
6625 {
6626 resultobj = wxArrayString2PyList_helper(*result);
6627 }
6628 return resultobj;
6629 fail:
6630 return NULL;
6631}
6632
6633
6634static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6635 PyObject *resultobj;
6636 wxChar *arg1 = (wxChar *) 0 ;
6637 PyObject * obj0 = 0 ;
6638 char *kwnames[] = {
6639 (char *) "ts", NULL
6640 };
6641
6642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
6643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6644 {
6645 PyThreadState* __tstate = wxPyBeginAllowThreads();
6646 wxLog::SetTimestamp((wxChar const *)arg1);
6647
6648 wxPyEndAllowThreads(__tstate);
6649 if (PyErr_Occurred()) SWIG_fail;
6650 }
6651 Py_INCREF(Py_None); resultobj = Py_None;
6652 return resultobj;
6653 fail:
6654 return NULL;
6655}
6656
6657
6658static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6659 PyObject *resultobj;
6660 bool result;
6661 char *kwnames[] = {
6662 NULL
6663 };
6664
6665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
6666 {
6667 PyThreadState* __tstate = wxPyBeginAllowThreads();
6668 result = (bool)wxLog::GetVerbose();
6669
6670 wxPyEndAllowThreads(__tstate);
6671 if (PyErr_Occurred()) SWIG_fail;
6672 }
6673 resultobj = PyInt_FromLong((long)result);
6674 return resultobj;
6675 fail:
6676 return NULL;
6677}
6678
6679
6680static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6681 PyObject *resultobj;
6682 wxTraceMask result;
6683 char *kwnames[] = {
6684 NULL
6685 };
6686
6687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
6688 {
6689 PyThreadState* __tstate = wxPyBeginAllowThreads();
6690 result = (wxTraceMask)wxLog::GetTraceMask();
6691
6692 wxPyEndAllowThreads(__tstate);
6693 if (PyErr_Occurred()) SWIG_fail;
6694 }
6695 resultobj = PyInt_FromLong((long)result);
6696 return resultobj;
6697 fail:
6698 return NULL;
6699}
6700
6701
6702static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6703 PyObject *resultobj;
6704 wxChar *arg1 = (wxChar *) 0 ;
6705 bool result;
6706 PyObject * obj0 = 0 ;
6707 char *kwnames[] = {
6708 (char *) "mask", NULL
6709 };
6710
6711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
6712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6713 {
6714 PyThreadState* __tstate = wxPyBeginAllowThreads();
6715 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
6716
6717 wxPyEndAllowThreads(__tstate);
6718 if (PyErr_Occurred()) SWIG_fail;
6719 }
6720 resultobj = PyInt_FromLong((long)result);
6721 return resultobj;
6722 fail:
6723 return NULL;
6724}
6725
6726
6727static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6728 PyObject *resultobj;
6729 wxLogLevel result;
6730 char *kwnames[] = {
6731 NULL
6732 };
6733
6734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
6735 {
6736 PyThreadState* __tstate = wxPyBeginAllowThreads();
6737 result = (wxLogLevel)wxLog::GetLogLevel();
6738
6739 wxPyEndAllowThreads(__tstate);
6740 if (PyErr_Occurred()) SWIG_fail;
6741 }
6742 resultobj = PyInt_FromLong((long)result);
6743 return resultobj;
6744 fail:
6745 return NULL;
6746}
6747
6748
6749static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6750 PyObject *resultobj;
6751 wxChar *result;
6752 char *kwnames[] = {
6753 NULL
6754 };
6755
6756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
6757 {
6758 PyThreadState* __tstate = wxPyBeginAllowThreads();
6759 result = (wxChar *)wxLog::GetTimestamp();
6760
6761 wxPyEndAllowThreads(__tstate);
6762 if (PyErr_Occurred()) SWIG_fail;
6763 }
6764 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChar, 0);
6765 return resultobj;
6766 fail:
6767 return NULL;
6768}
6769
6770
6771static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
6772 PyObject *resultobj;
6773 wxString result;
6774 char *kwnames[] = {
6775 NULL
6776 };
6777
6778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
6779 {
6780 PyThreadState* __tstate = wxPyBeginAllowThreads();
6781 result = Log_TimeStamp();
6782
6783 wxPyEndAllowThreads(__tstate);
6784 if (PyErr_Occurred()) SWIG_fail;
6785 }
6786 {
6787#if wxUSE_UNICODE
6788 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6789#else
6790 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6791#endif
6792 }
6793 return resultobj;
6794 fail:
6795 return NULL;
6796}
6797
6798
6799static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6800 PyObject *resultobj;
6801 wxLog *arg1 = (wxLog *) 0 ;
6802 PyObject * obj0 = 0 ;
6803 char *kwnames[] = {
6804 (char *) "self", NULL
6805 };
6806
6807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
6808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6809 {
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 wxLog_Destroy(arg1);
6812
6813 wxPyEndAllowThreads(__tstate);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 }
6816 Py_INCREF(Py_None); resultobj = Py_None;
6817 return resultobj;
6818 fail:
6819 return NULL;
6820}
6821
6822
6823static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
6824 PyObject *obj;
6825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6826 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
6827 Py_INCREF(obj);
6828 return Py_BuildValue((char *)"");
6829}
6830static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
6831 PyObject *resultobj;
6832 wxLogStderr *result;
6833 char *kwnames[] = {
6834 NULL
6835 };
6836
6837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
6838 {
6839 PyThreadState* __tstate = wxPyBeginAllowThreads();
6840 result = (wxLogStderr *)new wxLogStderr();
6841
6842 wxPyEndAllowThreads(__tstate);
6843 if (PyErr_Occurred()) SWIG_fail;
6844 }
6845 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogStderr, 1);
6846 return resultobj;
6847 fail:
6848 return NULL;
6849}
6850
6851
6852static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
6853 PyObject *obj;
6854 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6855 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
6856 Py_INCREF(obj);
6857 return Py_BuildValue((char *)"");
6858}
6859static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6860 PyObject *resultobj;
6861 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6862 wxLogTextCtrl *result;
6863 PyObject * obj0 = 0 ;
6864 char *kwnames[] = {
6865 (char *) "pTextCtrl", NULL
6866 };
6867
6868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
6869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6870 {
6871 PyThreadState* __tstate = wxPyBeginAllowThreads();
6872 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
6873
6874 wxPyEndAllowThreads(__tstate);
6875 if (PyErr_Occurred()) SWIG_fail;
6876 }
6877 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogTextCtrl, 1);
6878 return resultobj;
6879 fail:
6880 return NULL;
6881}
6882
6883
6884static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
6885 PyObject *obj;
6886 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6887 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
6888 Py_INCREF(obj);
6889 return Py_BuildValue((char *)"");
6890}
6891static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
6892 PyObject *resultobj;
6893 wxLogGui *result;
6894 char *kwnames[] = {
6895 NULL
6896 };
6897
6898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
6899 {
6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
6901 result = (wxLogGui *)new wxLogGui();
6902
6903 wxPyEndAllowThreads(__tstate);
6904 if (PyErr_Occurred()) SWIG_fail;
6905 }
6906 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogGui, 1);
6907 return resultobj;
6908 fail:
6909 return NULL;
6910}
6911
6912
6913static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
6914 PyObject *obj;
6915 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6916 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
6917 Py_INCREF(obj);
6918 return Py_BuildValue((char *)"");
6919}
6920static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6921 PyObject *resultobj;
6922 wxFrame *arg1 = (wxFrame *) 0 ;
6923 wxString *arg2 = 0 ;
423f194a
RD
6924 bool arg3 = (bool) True ;
6925 bool arg4 = (bool) True ;
d14a1e28 6926 wxLogWindow *result;
423f194a 6927 bool temp2 = False ;
d14a1e28
RD
6928 PyObject * obj0 = 0 ;
6929 PyObject * obj1 = 0 ;
6930 PyObject * obj2 = 0 ;
6931 PyObject * obj3 = 0 ;
6932 char *kwnames[] = {
6933 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
6934 };
6935
6936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6938 {
6939 arg2 = wxString_in_helper(obj1);
6940 if (arg2 == NULL) SWIG_fail;
423f194a 6941 temp2 = True;
d14a1e28
RD
6942 }
6943 if (obj2) {
6944 arg3 = PyInt_AsLong(obj2) ? true : false;
6945 if (PyErr_Occurred()) SWIG_fail;
6946 }
6947 if (obj3) {
6948 arg4 = PyInt_AsLong(obj3) ? true : false;
6949 if (PyErr_Occurred()) SWIG_fail;
6950 }
6951 {
6952 PyThreadState* __tstate = wxPyBeginAllowThreads();
6953 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
6954
6955 wxPyEndAllowThreads(__tstate);
6956 if (PyErr_Occurred()) SWIG_fail;
6957 }
6958 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogWindow, 1);
6959 {
6960 if (temp2)
6961 delete arg2;
6962 }
6963 return resultobj;
6964 fail:
6965 {
6966 if (temp2)
6967 delete arg2;
6968 }
6969 return NULL;
6970}
6971
6972
6973static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
6974 PyObject *resultobj;
6975 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
423f194a 6976 bool arg2 = (bool) True ;
d14a1e28
RD
6977 PyObject * obj0 = 0 ;
6978 PyObject * obj1 = 0 ;
6979 char *kwnames[] = {
6980 (char *) "self",(char *) "bShow", NULL
6981 };
6982
6983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
6984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6985 if (obj1) {
6986 arg2 = PyInt_AsLong(obj1) ? true : false;
6987 if (PyErr_Occurred()) SWIG_fail;
6988 }
6989 {
6990 PyThreadState* __tstate = wxPyBeginAllowThreads();
6991 (arg1)->Show(arg2);
6992
6993 wxPyEndAllowThreads(__tstate);
6994 if (PyErr_Occurred()) SWIG_fail;
6995 }
6996 Py_INCREF(Py_None); resultobj = Py_None;
6997 return resultobj;
6998 fail:
6999 return NULL;
7000}
7001
7002
7003static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7004 PyObject *resultobj;
7005 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7006 wxFrame *result;
7007 PyObject * obj0 = 0 ;
7008 char *kwnames[] = {
7009 (char *) "self", NULL
7010 };
7011
7012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
7013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7014 {
7015 PyThreadState* __tstate = wxPyBeginAllowThreads();
7016 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7017
7018 wxPyEndAllowThreads(__tstate);
7019 if (PyErr_Occurred()) SWIG_fail;
7020 }
7021 {
7022 resultobj = wxPyMake_wxObject(result);
7023 }
7024 return resultobj;
7025 fail:
7026 return NULL;
7027}
7028
7029
7030static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7031 PyObject *resultobj;
7032 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7033 wxLog *result;
7034 PyObject * obj0 = 0 ;
7035 char *kwnames[] = {
7036 (char *) "self", NULL
7037 };
7038
7039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7041 {
7042 PyThreadState* __tstate = wxPyBeginAllowThreads();
7043 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7044
7045 wxPyEndAllowThreads(__tstate);
7046 if (PyErr_Occurred()) SWIG_fail;
7047 }
7048 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7049 return resultobj;
7050 fail:
7051 return NULL;
7052}
7053
7054
7055static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7056 PyObject *resultobj;
7057 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7058 bool result;
7059 PyObject * obj0 = 0 ;
7060 char *kwnames[] = {
7061 (char *) "self", NULL
7062 };
7063
7064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
7065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7066 {
7067 PyThreadState* __tstate = wxPyBeginAllowThreads();
7068 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7069
7070 wxPyEndAllowThreads(__tstate);
7071 if (PyErr_Occurred()) SWIG_fail;
7072 }
7073 resultobj = PyInt_FromLong((long)result);
7074 return resultobj;
7075 fail:
7076 return NULL;
7077}
7078
7079
7080static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7081 PyObject *resultobj;
7082 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7083 bool arg2 ;
7084 PyObject * obj0 = 0 ;
7085 PyObject * obj1 = 0 ;
7086 char *kwnames[] = {
7087 (char *) "self",(char *) "bDoPass", NULL
7088 };
7089
7090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7092 arg2 = PyInt_AsLong(obj1) ? true : false;
7093 if (PyErr_Occurred()) SWIG_fail;
7094 {
7095 PyThreadState* __tstate = wxPyBeginAllowThreads();
7096 (arg1)->PassMessages(arg2);
7097
7098 wxPyEndAllowThreads(__tstate);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 }
7101 Py_INCREF(Py_None); resultobj = Py_None;
7102 return resultobj;
7103 fail:
7104 return NULL;
7105}
7106
7107
7108static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7109 PyObject *obj;
7110 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7111 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7112 Py_INCREF(obj);
7113 return Py_BuildValue((char *)"");
7114}
7115static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7116 PyObject *resultobj;
7117 wxLog *arg1 = (wxLog *) 0 ;
7118 wxLogChain *result;
7119 PyObject * obj0 = 0 ;
7120 char *kwnames[] = {
7121 (char *) "logger", NULL
7122 };
7123
7124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7126 {
7127 PyThreadState* __tstate = wxPyBeginAllowThreads();
7128 result = (wxLogChain *)new wxLogChain(arg1);
7129
7130 wxPyEndAllowThreads(__tstate);
7131 if (PyErr_Occurred()) SWIG_fail;
7132 }
7133 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogChain, 1);
7134 return resultobj;
7135 fail:
7136 return NULL;
7137}
7138
7139
7140static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7141 PyObject *resultobj;
7142 wxLogChain *arg1 = (wxLogChain *) 0 ;
7143 wxLog *arg2 = (wxLog *) 0 ;
7144 PyObject * obj0 = 0 ;
7145 PyObject * obj1 = 0 ;
7146 char *kwnames[] = {
7147 (char *) "self",(char *) "logger", NULL
7148 };
7149
7150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7152 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7153 {
7154 PyThreadState* __tstate = wxPyBeginAllowThreads();
7155 (arg1)->SetLog(arg2);
7156
7157 wxPyEndAllowThreads(__tstate);
7158 if (PyErr_Occurred()) SWIG_fail;
7159 }
7160 Py_INCREF(Py_None); resultobj = Py_None;
7161 return resultobj;
7162 fail:
7163 return NULL;
7164}
7165
7166
7167static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7168 PyObject *resultobj;
7169 wxLogChain *arg1 = (wxLogChain *) 0 ;
7170 bool arg2 ;
7171 PyObject * obj0 = 0 ;
7172 PyObject * obj1 = 0 ;
7173 char *kwnames[] = {
7174 (char *) "self",(char *) "bDoPass", NULL
7175 };
7176
7177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7179 arg2 = PyInt_AsLong(obj1) ? true : false;
7180 if (PyErr_Occurred()) SWIG_fail;
7181 {
7182 PyThreadState* __tstate = wxPyBeginAllowThreads();
7183 (arg1)->PassMessages(arg2);
7184
7185 wxPyEndAllowThreads(__tstate);
7186 if (PyErr_Occurred()) SWIG_fail;
7187 }
7188 Py_INCREF(Py_None); resultobj = Py_None;
7189 return resultobj;
7190 fail:
7191 return NULL;
7192}
7193
7194
7195static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7196 PyObject *resultobj;
7197 wxLogChain *arg1 = (wxLogChain *) 0 ;
7198 bool result;
7199 PyObject * obj0 = 0 ;
7200 char *kwnames[] = {
7201 (char *) "self", NULL
7202 };
7203
7204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7206 {
7207 PyThreadState* __tstate = wxPyBeginAllowThreads();
7208 result = (bool)(arg1)->IsPassingMessages();
7209
7210 wxPyEndAllowThreads(__tstate);
7211 if (PyErr_Occurred()) SWIG_fail;
7212 }
7213 resultobj = PyInt_FromLong((long)result);
7214 return resultobj;
7215 fail:
7216 return NULL;
7217}
7218
7219
7220static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7221 PyObject *resultobj;
7222 wxLogChain *arg1 = (wxLogChain *) 0 ;
7223 wxLog *result;
7224 PyObject * obj0 = 0 ;
7225 char *kwnames[] = {
7226 (char *) "self", NULL
7227 };
7228
7229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7231 {
7232 PyThreadState* __tstate = wxPyBeginAllowThreads();
7233 result = (wxLog *)(arg1)->GetOldLog();
7234
7235 wxPyEndAllowThreads(__tstate);
7236 if (PyErr_Occurred()) SWIG_fail;
7237 }
7238 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7239 return resultobj;
7240 fail:
7241 return NULL;
7242}
7243
7244
7245static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7246 PyObject *obj;
7247 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7248 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7249 Py_INCREF(obj);
7250 return Py_BuildValue((char *)"");
7251}
7252static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7253 PyObject *resultobj;
7254 unsigned long result;
7255 char *kwnames[] = {
7256 NULL
7257 };
7258
7259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7260 {
7261 PyThreadState* __tstate = wxPyBeginAllowThreads();
7262 result = (unsigned long)wxSysErrorCode();
7263
7264 wxPyEndAllowThreads(__tstate);
7265 if (PyErr_Occurred()) SWIG_fail;
7266 }
7267 resultobj = PyInt_FromLong((long)result);
7268 return resultobj;
7269 fail:
7270 return NULL;
7271}
7272
7273
7274static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7275 PyObject *resultobj;
7276 unsigned long arg1 = (unsigned long) 0 ;
7277 wxString result;
7278 PyObject * obj0 = 0 ;
7279 char *kwnames[] = {
7280 (char *) "nErrCode", NULL
7281 };
7282
7283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7284 if (obj0) {
7285 arg1 = (unsigned long) PyInt_AsLong(obj0);
7286 if (PyErr_Occurred()) SWIG_fail;
7287 }
7288 {
7289 PyThreadState* __tstate = wxPyBeginAllowThreads();
7290 result = wxSysErrorMsg(arg1);
7291
7292 wxPyEndAllowThreads(__tstate);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 }
7295 {
7296#if wxUSE_UNICODE
7297 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7298#else
7299 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7300#endif
7301 }
7302 return resultobj;
7303 fail:
7304 return NULL;
7305}
7306
7307
7308static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
7309 PyObject *resultobj;
7310 wxString *arg1 = 0 ;
423f194a 7311 bool temp1 = False ;
d14a1e28
RD
7312 PyObject * obj0 = 0 ;
7313 char *kwnames[] = {
7314 (char *) "msg", NULL
7315 };
7316
7317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7318 {
7319 arg1 = wxString_in_helper(obj0);
7320 if (arg1 == NULL) SWIG_fail;
423f194a 7321 temp1 = True;
d14a1e28
RD
7322 }
7323 {
7324 PyThreadState* __tstate = wxPyBeginAllowThreads();
7325 wxLogFatalError((wxString const &)*arg1);
7326
7327 wxPyEndAllowThreads(__tstate);
7328 if (PyErr_Occurred()) SWIG_fail;
7329 }
7330 Py_INCREF(Py_None); resultobj = Py_None;
7331 {
7332 if (temp1)
7333 delete arg1;
7334 }
7335 return resultobj;
7336 fail:
7337 {
7338 if (temp1)
7339 delete arg1;
7340 }
7341 return NULL;
7342}
7343
7344
7345static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
7346 PyObject *resultobj;
7347 wxString *arg1 = 0 ;
423f194a 7348 bool temp1 = False ;
d14a1e28
RD
7349 PyObject * obj0 = 0 ;
7350 char *kwnames[] = {
7351 (char *) "msg", NULL
7352 };
7353
7354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
7355 {
7356 arg1 = wxString_in_helper(obj0);
7357 if (arg1 == NULL) SWIG_fail;
423f194a 7358 temp1 = True;
d14a1e28
RD
7359 }
7360 {
7361 PyThreadState* __tstate = wxPyBeginAllowThreads();
7362 wxLogError((wxString const &)*arg1);
7363
7364 wxPyEndAllowThreads(__tstate);
7365 if (PyErr_Occurred()) SWIG_fail;
7366 }
7367 Py_INCREF(Py_None); resultobj = Py_None;
7368 {
7369 if (temp1)
7370 delete arg1;
7371 }
7372 return resultobj;
7373 fail:
7374 {
7375 if (temp1)
7376 delete arg1;
7377 }
7378 return NULL;
7379}
7380
7381
7382static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
7383 PyObject *resultobj;
7384 wxString *arg1 = 0 ;
423f194a 7385 bool temp1 = False ;
d14a1e28
RD
7386 PyObject * obj0 = 0 ;
7387 char *kwnames[] = {
7388 (char *) "msg", NULL
7389 };
7390
7391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
7392 {
7393 arg1 = wxString_in_helper(obj0);
7394 if (arg1 == NULL) SWIG_fail;
423f194a 7395 temp1 = True;
d14a1e28
RD
7396 }
7397 {
7398 PyThreadState* __tstate = wxPyBeginAllowThreads();
7399 wxLogWarning((wxString const &)*arg1);
7400
7401 wxPyEndAllowThreads(__tstate);
7402 if (PyErr_Occurred()) SWIG_fail;
7403 }
7404 Py_INCREF(Py_None); resultobj = Py_None;
7405 {
7406 if (temp1)
7407 delete arg1;
7408 }
7409 return resultobj;
7410 fail:
7411 {
7412 if (temp1)
7413 delete arg1;
7414 }
7415 return NULL;
7416}
7417
7418
7419static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7420 PyObject *resultobj;
7421 wxString *arg1 = 0 ;
423f194a 7422 bool temp1 = False ;
d14a1e28
RD
7423 PyObject * obj0 = 0 ;
7424 char *kwnames[] = {
7425 (char *) "msg", NULL
7426 };
7427
7428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
7429 {
7430 arg1 = wxString_in_helper(obj0);
7431 if (arg1 == NULL) SWIG_fail;
423f194a 7432 temp1 = True;
d14a1e28
RD
7433 }
7434 {
7435 PyThreadState* __tstate = wxPyBeginAllowThreads();
7436 wxLogMessage((wxString const &)*arg1);
7437
7438 wxPyEndAllowThreads(__tstate);
7439 if (PyErr_Occurred()) SWIG_fail;
7440 }
7441 Py_INCREF(Py_None); resultobj = Py_None;
7442 {
7443 if (temp1)
7444 delete arg1;
7445 }
7446 return resultobj;
7447 fail:
7448 {
7449 if (temp1)
7450 delete arg1;
7451 }
7452 return NULL;
7453}
7454
7455
7456static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7457 PyObject *resultobj;
7458 wxString *arg1 = 0 ;
423f194a 7459 bool temp1 = False ;
d14a1e28
RD
7460 PyObject * obj0 = 0 ;
7461 char *kwnames[] = {
7462 (char *) "msg", NULL
7463 };
7464
7465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
7466 {
7467 arg1 = wxString_in_helper(obj0);
7468 if (arg1 == NULL) SWIG_fail;
423f194a 7469 temp1 = True;
d14a1e28
RD
7470 }
7471 {
7472 PyThreadState* __tstate = wxPyBeginAllowThreads();
7473 wxLogInfo((wxString const &)*arg1);
7474
7475 wxPyEndAllowThreads(__tstate);
7476 if (PyErr_Occurred()) SWIG_fail;
7477 }
7478 Py_INCREF(Py_None); resultobj = Py_None;
7479 {
7480 if (temp1)
7481 delete arg1;
7482 }
7483 return resultobj;
7484 fail:
7485 {
7486 if (temp1)
7487 delete arg1;
7488 }
7489 return NULL;
7490}
7491
7492
7493static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
7494 PyObject *resultobj;
7495 wxString *arg1 = 0 ;
423f194a 7496 bool temp1 = False ;
d14a1e28
RD
7497 PyObject * obj0 = 0 ;
7498 char *kwnames[] = {
7499 (char *) "msg", NULL
7500 };
7501
7502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
7503 {
7504 arg1 = wxString_in_helper(obj0);
7505 if (arg1 == NULL) SWIG_fail;
423f194a 7506 temp1 = True;
d14a1e28
RD
7507 }
7508 {
7509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7510 wxLogDebug((wxString const &)*arg1);
7511
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) SWIG_fail;
7514 }
7515 Py_INCREF(Py_None); resultobj = Py_None;
7516 {
7517 if (temp1)
7518 delete arg1;
7519 }
7520 return resultobj;
7521 fail:
7522 {
7523 if (temp1)
7524 delete arg1;
7525 }
7526 return NULL;
7527}
7528
7529
7530static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7531 PyObject *resultobj;
7532 wxString *arg1 = 0 ;
423f194a 7533 bool temp1 = False ;
d14a1e28
RD
7534 PyObject * obj0 = 0 ;
7535 char *kwnames[] = {
7536 (char *) "msg", NULL
7537 };
7538
7539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
7540 {
7541 arg1 = wxString_in_helper(obj0);
7542 if (arg1 == NULL) SWIG_fail;
423f194a 7543 temp1 = True;
d14a1e28
RD
7544 }
7545 {
7546 PyThreadState* __tstate = wxPyBeginAllowThreads();
7547 wxLogVerbose((wxString const &)*arg1);
7548
7549 wxPyEndAllowThreads(__tstate);
7550 if (PyErr_Occurred()) SWIG_fail;
7551 }
7552 Py_INCREF(Py_None); resultobj = Py_None;
7553 {
7554 if (temp1)
7555 delete arg1;
7556 }
7557 return resultobj;
7558 fail:
7559 {
7560 if (temp1)
7561 delete arg1;
7562 }
7563 return NULL;
7564}
7565
7566
7567static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7568 PyObject *resultobj;
7569 wxString *arg1 = 0 ;
423f194a 7570 bool temp1 = False ;
d14a1e28
RD
7571 PyObject * obj0 = 0 ;
7572 char *kwnames[] = {
7573 (char *) "msg", NULL
7574 };
7575
7576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
7577 {
7578 arg1 = wxString_in_helper(obj0);
7579 if (arg1 == NULL) SWIG_fail;
423f194a 7580 temp1 = True;
d14a1e28
RD
7581 }
7582 {
7583 PyThreadState* __tstate = wxPyBeginAllowThreads();
7584 wxLogStatus((wxString const &)*arg1);
7585
7586 wxPyEndAllowThreads(__tstate);
7587 if (PyErr_Occurred()) SWIG_fail;
7588 }
7589 Py_INCREF(Py_None); resultobj = Py_None;
7590 {
7591 if (temp1)
7592 delete arg1;
7593 }
7594 return resultobj;
7595 fail:
7596 {
7597 if (temp1)
7598 delete arg1;
7599 }
7600 return NULL;
7601}
7602
7603
7604static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7605 PyObject *resultobj;
7606 wxFrame *arg1 = (wxFrame *) 0 ;
7607 wxString *arg2 = 0 ;
423f194a 7608 bool temp2 = False ;
d14a1e28
RD
7609 PyObject * obj0 = 0 ;
7610 PyObject * obj1 = 0 ;
7611 char *kwnames[] = {
7612 (char *) "pFrame",(char *) "msg", NULL
7613 };
7614
7615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
7616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7617 {
7618 arg2 = wxString_in_helper(obj1);
7619 if (arg2 == NULL) SWIG_fail;
423f194a 7620 temp2 = True;
d14a1e28
RD
7621 }
7622 {
7623 PyThreadState* __tstate = wxPyBeginAllowThreads();
7624 wxLogStatus(arg1,(wxString const &)*arg2);
7625
7626 wxPyEndAllowThreads(__tstate);
7627 if (PyErr_Occurred()) SWIG_fail;
7628 }
7629 Py_INCREF(Py_None); resultobj = Py_None;
7630 {
7631 if (temp2)
7632 delete arg2;
7633 }
7634 return resultobj;
7635 fail:
7636 {
7637 if (temp2)
7638 delete arg2;
7639 }
7640 return NULL;
7641}
7642
7643
7644static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
7645 PyObject *resultobj;
7646 wxString *arg1 = 0 ;
423f194a 7647 bool temp1 = False ;
d14a1e28
RD
7648 PyObject * obj0 = 0 ;
7649 char *kwnames[] = {
7650 (char *) "msg", NULL
7651 };
7652
7653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
7654 {
7655 arg1 = wxString_in_helper(obj0);
7656 if (arg1 == NULL) SWIG_fail;
423f194a 7657 temp1 = True;
d14a1e28
RD
7658 }
7659 {
7660 PyThreadState* __tstate = wxPyBeginAllowThreads();
7661 wxLogSysError((wxString const &)*arg1);
7662
7663 wxPyEndAllowThreads(__tstate);
7664 if (PyErr_Occurred()) SWIG_fail;
7665 }
7666 Py_INCREF(Py_None); resultobj = Py_None;
7667 {
7668 if (temp1)
7669 delete arg1;
7670 }
7671 return resultobj;
7672 fail:
7673 {
7674 if (temp1)
7675 delete arg1;
7676 }
7677 return NULL;
7678}
7679
7680
f0983263 7681static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28 7682 PyObject *resultobj;
f0983263
RD
7683 unsigned long arg1 ;
7684 wxString *arg2 = 0 ;
7685 bool temp2 = False ;
d14a1e28 7686 PyObject * obj0 = 0 ;
f0983263 7687 PyObject * obj1 = 0 ;
d14a1e28 7688
f0983263
RD
7689 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
7690 arg1 = (unsigned long) PyInt_AsLong(obj0);
7691 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7692 {
f0983263
RD
7693 arg2 = wxString_in_helper(obj1);
7694 if (arg2 == NULL) SWIG_fail;
7695 temp2 = True;
d14a1e28
RD
7696 }
7697 {
7698 PyThreadState* __tstate = wxPyBeginAllowThreads();
f0983263 7699 wxLogTrace(arg1,(wxString const &)*arg2);
d14a1e28
RD
7700
7701 wxPyEndAllowThreads(__tstate);
7702 if (PyErr_Occurred()) SWIG_fail;
7703 }
7704 Py_INCREF(Py_None); resultobj = Py_None;
7705 {
f0983263
RD
7706 if (temp2)
7707 delete arg2;
d14a1e28
RD
7708 }
7709 return resultobj;
7710 fail:
7711 {
f0983263
RD
7712 if (temp2)
7713 delete arg2;
d14a1e28
RD
7714 }
7715 return NULL;
7716}
7717
7718
f0983263 7719static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28
RD
7720 PyObject *resultobj;
7721 wxString *arg1 = 0 ;
7722 wxString *arg2 = 0 ;
423f194a
RD
7723 bool temp1 = False ;
7724 bool temp2 = False ;
d14a1e28
RD
7725 PyObject * obj0 = 0 ;
7726 PyObject * obj1 = 0 ;
d14a1e28 7727
f0983263 7728 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
d14a1e28
RD
7729 {
7730 arg1 = wxString_in_helper(obj0);
7731 if (arg1 == NULL) SWIG_fail;
423f194a 7732 temp1 = True;
d14a1e28
RD
7733 }
7734 {
7735 arg2 = wxString_in_helper(obj1);
7736 if (arg2 == NULL) SWIG_fail;
423f194a 7737 temp2 = True;
d14a1e28
RD
7738 }
7739 {
7740 PyThreadState* __tstate = wxPyBeginAllowThreads();
7741 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
7742
7743 wxPyEndAllowThreads(__tstate);
7744 if (PyErr_Occurred()) SWIG_fail;
7745 }
7746 Py_INCREF(Py_None); resultobj = Py_None;
7747 {
7748 if (temp1)
7749 delete arg1;
7750 }
7751 {
7752 if (temp2)
7753 delete arg2;
7754 }
7755 return resultobj;
7756 fail:
7757 {
7758 if (temp1)
7759 delete arg1;
7760 }
7761 {
7762 if (temp2)
7763 delete arg2;
7764 }
7765 return NULL;
7766}
7767
7768
f0983263
RD
7769static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
7770 int argc;
7771 PyObject *argv[3];
7772 int ii;
7773
7774 argc = PyObject_Length(args);
7775 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
7776 argv[ii] = PyTuple_GetItem(args,ii);
7777 }
7778 if (argc == 2) {
7779 int _v;
7780 {
7781 void *ptr;
7782 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
7783 _v = 0;
7784 PyErr_Clear();
7785 } else {
7786 _v = 1;
7787 }
7788 }
7789 if (_v) {
7790 {
7791 void *ptr;
7792 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
7793 _v = 0;
7794 PyErr_Clear();
7795 } else {
7796 _v = 1;
7797 }
7798 }
7799 if (_v) {
7800 return _wrap_LogTrace__SWIG_1(self,args);
7801 }
7802 }
7803 }
7804 if (argc == 2) {
7805 int _v;
7806 {
7807 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
7808 }
7809 if (_v) {
7810 {
7811 void *ptr;
7812 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
7813 _v = 0;
7814 PyErr_Clear();
7815 } else {
7816 _v = 1;
7817 }
7818 }
7819 if (_v) {
7820 return _wrap_LogTrace__SWIG_0(self,args);
7821 }
7822 }
7823 }
7824
7825 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
7826 return NULL;
7827}
7828
7829
d14a1e28
RD
7830static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
7831 PyObject *resultobj;
7832 unsigned long arg1 ;
7833 wxString *arg2 = 0 ;
423f194a 7834 bool temp2 = False ;
d14a1e28
RD
7835 PyObject * obj0 = 0 ;
7836 PyObject * obj1 = 0 ;
7837 char *kwnames[] = {
7838 (char *) "level",(char *) "msg", NULL
7839 };
7840
7841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
7842 arg1 = (unsigned long) PyInt_AsLong(obj0);
7843 if (PyErr_Occurred()) SWIG_fail;
7844 {
7845 arg2 = wxString_in_helper(obj1);
7846 if (arg2 == NULL) SWIG_fail;
423f194a 7847 temp2 = True;
d14a1e28
RD
7848 }
7849 {
7850 PyThreadState* __tstate = wxPyBeginAllowThreads();
7851 wxLogGeneric(arg1,(wxString const &)*arg2);
7852
7853 wxPyEndAllowThreads(__tstate);
7854 if (PyErr_Occurred()) SWIG_fail;
7855 }
7856 Py_INCREF(Py_None); resultobj = Py_None;
7857 {
7858 if (temp2)
7859 delete arg2;
7860 }
7861 return resultobj;
7862 fail:
7863 {
7864 if (temp2)
7865 delete arg2;
7866 }
7867 return NULL;
7868}
7869
7870
7871static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7872 PyObject *resultobj;
7873 wxString *arg1 = 0 ;
7874 wxString *arg2 = 0 ;
423f194a
RD
7875 bool temp1 = False ;
7876 bool temp2 = False ;
d14a1e28
RD
7877 PyObject * obj0 = 0 ;
7878 PyObject * obj1 = 0 ;
7879 char *kwnames[] = {
7880 (char *) "title",(char *) "text", NULL
7881 };
7882
7883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
7884 {
7885 arg1 = wxString_in_helper(obj0);
7886 if (arg1 == NULL) SWIG_fail;
423f194a 7887 temp1 = True;
d14a1e28
RD
7888 }
7889 {
7890 arg2 = wxString_in_helper(obj1);
7891 if (arg2 == NULL) SWIG_fail;
423f194a 7892 temp2 = True;
d14a1e28
RD
7893 }
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 Py_INCREF(Py_None); resultobj = Py_None;
7902 {
7903 if (temp1)
7904 delete arg1;
7905 }
7906 {
7907 if (temp2)
7908 delete arg2;
7909 }
7910 return resultobj;
7911 fail:
7912 {
7913 if (temp1)
7914 delete arg1;
7915 }
7916 {
7917 if (temp2)
7918 delete arg2;
7919 }
7920 return NULL;
7921}
7922
7923
7924static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7925 PyObject *resultobj;
7926 wxLogNull *result;
7927 char *kwnames[] = {
7928 NULL
7929 };
7930
7931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
7932 {
7933 PyThreadState* __tstate = wxPyBeginAllowThreads();
7934 result = (wxLogNull *)new wxLogNull();
7935
7936 wxPyEndAllowThreads(__tstate);
7937 if (PyErr_Occurred()) SWIG_fail;
7938 }
7939 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogNull, 1);
7940 return resultobj;
7941 fail:
7942 return NULL;
7943}
7944
7945
7946static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
7947 PyObject *resultobj;
7948 wxLogNull *arg1 = (wxLogNull *) 0 ;
7949 PyObject * obj0 = 0 ;
7950 char *kwnames[] = {
7951 (char *) "self", NULL
7952 };
7953
7954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
7955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogNull,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7956 {
7957 PyThreadState* __tstate = wxPyBeginAllowThreads();
7958 delete arg1;
7959
7960 wxPyEndAllowThreads(__tstate);
7961 if (PyErr_Occurred()) SWIG_fail;
7962 }
7963 Py_INCREF(Py_None); resultobj = Py_None;
7964 return resultobj;
7965 fail:
7966 return NULL;
7967}
7968
7969
7970static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
7971 PyObject *obj;
7972 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7973 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
7974 Py_INCREF(obj);
7975 return Py_BuildValue((char *)"");
7976}
7977static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7978 PyObject *resultobj;
7979 wxPyLog *result;
7980 char *kwnames[] = {
7981 NULL
7982 };
7983
7984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
7985 {
7986 PyThreadState* __tstate = wxPyBeginAllowThreads();
7987 result = (wxPyLog *)new wxPyLog();
7988
7989 wxPyEndAllowThreads(__tstate);
7990 if (PyErr_Occurred()) SWIG_fail;
7991 }
7992 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLog, 1);
7993 return resultobj;
7994 fail:
7995 return NULL;
7996}
7997
7998
7999static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8000 PyObject *resultobj;
8001 wxPyLog *arg1 = (wxPyLog *) 0 ;
8002 PyObject *arg2 = (PyObject *) 0 ;
8003 PyObject *arg3 = (PyObject *) 0 ;
8004 PyObject * obj0 = 0 ;
8005 PyObject * obj1 = 0 ;
8006 PyObject * obj2 = 0 ;
8007 char *kwnames[] = {
8008 (char *) "self",(char *) "self",(char *) "_class", NULL
8009 };
8010
8011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8013 arg2 = obj1;
8014 arg3 = obj2;
8015 {
8016 PyThreadState* __tstate = wxPyBeginAllowThreads();
8017 (arg1)->_setCallbackInfo(arg2,arg3);
8018
8019 wxPyEndAllowThreads(__tstate);
8020 if (PyErr_Occurred()) SWIG_fail;
8021 }
8022 Py_INCREF(Py_None); resultobj = Py_None;
8023 return resultobj;
8024 fail:
8025 return NULL;
8026}
8027
8028
8029static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
8030 PyObject *obj;
8031 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8032 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8033 Py_INCREF(obj);
8034 return Py_BuildValue((char *)"");
8035}
8036static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
8037 PyObject *resultobj;
8038 int arg1 ;
8039 int arg2 = (int) wxSIGTERM ;
8040 int result;
8041 char *kwnames[] = {
8042 (char *) "pid",(char *) "sig", NULL
8043 };
8044
8045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:Process_Kill",kwnames,&arg1,&arg2)) goto fail;
8046 {
8047 PyThreadState* __tstate = wxPyBeginAllowThreads();
8048 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
8049
8050 wxPyEndAllowThreads(__tstate);
8051 if (PyErr_Occurred()) SWIG_fail;
8052 }
8053 resultobj = PyInt_FromLong((long)result);
8054 return resultobj;
8055 fail:
8056 return NULL;
8057}
8058
8059
8060static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
8061 PyObject *resultobj;
8062 int arg1 ;
8063 bool result;
8064 char *kwnames[] = {
8065 (char *) "pid", NULL
8066 };
8067
8068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Process_Exists",kwnames,&arg1)) goto fail;
8069 {
8070 PyThreadState* __tstate = wxPyBeginAllowThreads();
8071 result = (bool)wxPyProcess::Exists(arg1);
8072
8073 wxPyEndAllowThreads(__tstate);
8074 if (PyErr_Occurred()) SWIG_fail;
8075 }
8076 resultobj = PyInt_FromLong((long)result);
8077 return resultobj;
8078 fail:
8079 return NULL;
8080}
8081
8082
8083static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
8084 PyObject *resultobj;
8085 wxString *arg1 = 0 ;
8086 int arg2 = (int) wxEXEC_ASYNC ;
8087 wxPyProcess *result;
423f194a 8088 bool temp1 = False ;
d14a1e28
RD
8089 PyObject * obj0 = 0 ;
8090 char *kwnames[] = {
8091 (char *) "cmd",(char *) "flags", NULL
8092 };
8093
8094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Process_Open",kwnames,&obj0,&arg2)) goto fail;
8095 {
8096 arg1 = wxString_in_helper(obj0);
8097 if (arg1 == NULL) SWIG_fail;
423f194a 8098 temp1 = True;
d14a1e28
RD
8099 }
8100 {
8101 PyThreadState* __tstate = wxPyBeginAllowThreads();
8102 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8103
8104 wxPyEndAllowThreads(__tstate);
8105 if (PyErr_Occurred()) SWIG_fail;
8106 }
8107 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 0);
8108 {
8109 if (temp1)
8110 delete arg1;
8111 }
8112 return resultobj;
8113 fail:
8114 {
8115 if (temp1)
8116 delete arg1;
8117 }
8118 return NULL;
8119}
8120
8121
8122static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
8123 PyObject *resultobj;
8124 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8125 int arg2 = (int) -1 ;
8126 wxPyProcess *result;
8127 PyObject * obj0 = 0 ;
8128 char *kwnames[] = {
8129 (char *) "parent",(char *) "id", NULL
8130 };
8131
8132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_Process",kwnames,&obj0,&arg2)) goto fail;
8133 if (obj0) {
8134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8135 }
8136 {
8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
8138 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8139
8140 wxPyEndAllowThreads(__tstate);
8141 if (PyErr_Occurred()) SWIG_fail;
8142 }
8143 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 1);
8144 return resultobj;
8145 fail:
8146 return NULL;
8147}
8148
8149
8150static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8151 PyObject *resultobj;
8152 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8153 PyObject *arg2 = (PyObject *) 0 ;
8154 PyObject *arg3 = (PyObject *) 0 ;
8155 PyObject * obj0 = 0 ;
8156 PyObject * obj1 = 0 ;
8157 PyObject * obj2 = 0 ;
8158 char *kwnames[] = {
8159 (char *) "self",(char *) "self",(char *) "_class", NULL
8160 };
8161
8162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8164 arg2 = obj1;
8165 arg3 = obj2;
8166 {
8167 PyThreadState* __tstate = wxPyBeginAllowThreads();
8168 (arg1)->_setCallbackInfo(arg2,arg3);
8169
8170 wxPyEndAllowThreads(__tstate);
8171 if (PyErr_Occurred()) SWIG_fail;
8172 }
8173 Py_INCREF(Py_None); resultobj = Py_None;
8174 return resultobj;
8175 fail:
8176 return NULL;
8177}
8178
8179
8180static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8181 PyObject *resultobj;
8182 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8183 int arg2 ;
8184 int arg3 ;
8185 PyObject * obj0 = 0 ;
8186 char *kwnames[] = {
8187 (char *) "self",(char *) "pid",(char *) "status", NULL
8188 };
8189
8190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Process_base_OnTerminate",kwnames,&obj0,&arg2,&arg3)) goto fail;
8191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8192 {
8193 PyThreadState* __tstate = wxPyBeginAllowThreads();
8194 (arg1)->base_OnTerminate(arg2,arg3);
8195
8196 wxPyEndAllowThreads(__tstate);
8197 if (PyErr_Occurred()) SWIG_fail;
8198 }
8199 Py_INCREF(Py_None); resultobj = Py_None;
8200 return resultobj;
8201 fail:
8202 return NULL;
8203}
8204
8205
8206static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8207 PyObject *resultobj;
8208 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8209 PyObject * obj0 = 0 ;
8210 char *kwnames[] = {
8211 (char *) "self", NULL
8212 };
8213
8214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8216 {
8217 PyThreadState* __tstate = wxPyBeginAllowThreads();
8218 (arg1)->Redirect();
8219
8220 wxPyEndAllowThreads(__tstate);
8221 if (PyErr_Occurred()) SWIG_fail;
8222 }
8223 Py_INCREF(Py_None); resultobj = Py_None;
8224 return resultobj;
8225 fail:
8226 return NULL;
8227}
8228
8229
8230static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8231 PyObject *resultobj;
8232 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8233 bool result;
8234 PyObject * obj0 = 0 ;
8235 char *kwnames[] = {
8236 (char *) "self", NULL
8237 };
8238
8239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8241 {
8242 PyThreadState* __tstate = wxPyBeginAllowThreads();
8243 result = (bool)(arg1)->IsRedirected();
8244
8245 wxPyEndAllowThreads(__tstate);
8246 if (PyErr_Occurred()) SWIG_fail;
8247 }
8248 resultobj = PyInt_FromLong((long)result);
8249 return resultobj;
8250 fail:
8251 return NULL;
8252}
8253
8254
8255static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8256 PyObject *resultobj;
8257 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8258 PyObject * obj0 = 0 ;
8259 char *kwnames[] = {
8260 (char *) "self", NULL
8261 };
8262
8263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8265 {
8266 PyThreadState* __tstate = wxPyBeginAllowThreads();
8267 (arg1)->Detach();
8268
8269 wxPyEndAllowThreads(__tstate);
8270 if (PyErr_Occurred()) SWIG_fail;
8271 }
8272 Py_INCREF(Py_None); resultobj = Py_None;
8273 return resultobj;
8274 fail:
8275 return NULL;
8276}
8277
8278
8279static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8280 PyObject *resultobj;
8281 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8282 wxInputStream *result;
8283 PyObject * obj0 = 0 ;
8284 char *kwnames[] = {
8285 (char *) "self", NULL
8286 };
8287
8288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
8289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8290 {
8291 PyThreadState* __tstate = wxPyBeginAllowThreads();
8292 result = (wxInputStream *)(arg1)->GetInputStream();
8293
8294 wxPyEndAllowThreads(__tstate);
8295 if (PyErr_Occurred()) SWIG_fail;
8296 }
8297 {
8298 wxPyInputStream * _ptr = NULL;
8299
8300 if (result) {
8301 _ptr = new wxPyInputStream(result);
8302 }
423f194a 8303 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
8304 }
8305 return resultobj;
8306 fail:
8307 return NULL;
8308}
8309
8310
8311static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8312 PyObject *resultobj;
8313 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8314 wxInputStream *result;
8315 PyObject * obj0 = 0 ;
8316 char *kwnames[] = {
8317 (char *) "self", NULL
8318 };
8319
8320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
8321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8322 {
8323 PyThreadState* __tstate = wxPyBeginAllowThreads();
8324 result = (wxInputStream *)(arg1)->GetErrorStream();
8325
8326 wxPyEndAllowThreads(__tstate);
8327 if (PyErr_Occurred()) SWIG_fail;
8328 }
8329 {
8330 wxPyInputStream * _ptr = NULL;
8331
8332 if (result) {
8333 _ptr = new wxPyInputStream(result);
8334 }
423f194a 8335 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
8336 }
8337 return resultobj;
8338 fail:
8339 return NULL;
8340}
8341
8342
8343static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8344 PyObject *resultobj;
8345 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8346 wxOutputStream *result;
8347 PyObject * obj0 = 0 ;
8348 char *kwnames[] = {
8349 (char *) "self", NULL
8350 };
8351
8352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
8353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8354 {
8355 PyThreadState* __tstate = wxPyBeginAllowThreads();
8356 result = (wxOutputStream *)(arg1)->GetOutputStream();
8357
8358 wxPyEndAllowThreads(__tstate);
8359 if (PyErr_Occurred()) SWIG_fail;
8360 }
8361 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxOutputStream, 0);
8362 return resultobj;
8363 fail:
8364 return NULL;
8365}
8366
8367
8368static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
8369 PyObject *resultobj;
8370 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8371 PyObject * obj0 = 0 ;
8372 char *kwnames[] = {
8373 (char *) "self", NULL
8374 };
8375
8376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
8377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8378 {
8379 PyThreadState* __tstate = wxPyBeginAllowThreads();
8380 (arg1)->CloseOutput();
8381
8382 wxPyEndAllowThreads(__tstate);
8383 if (PyErr_Occurred()) SWIG_fail;
8384 }
8385 Py_INCREF(Py_None); resultobj = Py_None;
8386 return resultobj;
8387 fail:
8388 return NULL;
8389}
8390
8391
8392static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
8393 PyObject *resultobj;
8394 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8395 bool result;
8396 PyObject * obj0 = 0 ;
8397 char *kwnames[] = {
8398 (char *) "self", NULL
8399 };
8400
8401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
8402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8403 {
8404 PyThreadState* __tstate = wxPyBeginAllowThreads();
8405 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
8406
8407 wxPyEndAllowThreads(__tstate);
8408 if (PyErr_Occurred()) SWIG_fail;
8409 }
8410 resultobj = PyInt_FromLong((long)result);
8411 return resultobj;
8412 fail:
8413 return NULL;
8414}
8415
8416
8417static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8418 PyObject *resultobj;
8419 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8420 bool result;
8421 PyObject * obj0 = 0 ;
8422 char *kwnames[] = {
8423 (char *) "self", NULL
8424 };
8425
8426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
8427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8428 {
8429 PyThreadState* __tstate = wxPyBeginAllowThreads();
8430 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
8431
8432 wxPyEndAllowThreads(__tstate);
8433 if (PyErr_Occurred()) SWIG_fail;
8434 }
8435 resultobj = PyInt_FromLong((long)result);
8436 return resultobj;
8437 fail:
8438 return NULL;
8439}
8440
8441
8442static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8443 PyObject *resultobj;
8444 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8445 bool result;
8446 PyObject * obj0 = 0 ;
8447 char *kwnames[] = {
8448 (char *) "self", NULL
8449 };
8450
8451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
8452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8453 {
8454 PyThreadState* __tstate = wxPyBeginAllowThreads();
8455 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
8456
8457 wxPyEndAllowThreads(__tstate);
8458 if (PyErr_Occurred()) SWIG_fail;
8459 }
8460 resultobj = PyInt_FromLong((long)result);
8461 return resultobj;
8462 fail:
8463 return NULL;
8464}
8465
8466
8467static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
8468 PyObject *obj;
8469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8470 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
8471 Py_INCREF(obj);
8472 return Py_BuildValue((char *)"");
8473}
8474static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8475 PyObject *resultobj;
8476 int arg1 = (int) 0 ;
8477 int arg2 = (int) 0 ;
8478 int arg3 = (int) 0 ;
8479 wxProcessEvent *result;
8480 char *kwnames[] = {
8481 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8482 };
8483
8484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iii:new_ProcessEvent",kwnames,&arg1,&arg2,&arg3)) goto fail;
8485 {
8486 PyThreadState* __tstate = wxPyBeginAllowThreads();
8487 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
8488
8489 wxPyEndAllowThreads(__tstate);
8490 if (PyErr_Occurred()) SWIG_fail;
8491 }
8492 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProcessEvent, 1);
8493 return resultobj;
8494 fail:
8495 return NULL;
8496}
8497
8498
8499static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
8500 PyObject *resultobj;
8501 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8502 int result;
8503 PyObject * obj0 = 0 ;
8504 char *kwnames[] = {
8505 (char *) "self", NULL
8506 };
8507
8508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
8509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8510 {
8511 PyThreadState* __tstate = wxPyBeginAllowThreads();
8512 result = (int)(arg1)->GetPid();
8513
8514 wxPyEndAllowThreads(__tstate);
8515 if (PyErr_Occurred()) SWIG_fail;
8516 }
8517 resultobj = PyInt_FromLong((long)result);
8518 return resultobj;
8519 fail:
8520 return NULL;
8521}
8522
8523
8524static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8525 PyObject *resultobj;
8526 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8527 int result;
8528 PyObject * obj0 = 0 ;
8529 char *kwnames[] = {
8530 (char *) "self", NULL
8531 };
8532
8533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
8534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8535 {
8536 PyThreadState* __tstate = wxPyBeginAllowThreads();
8537 result = (int)(arg1)->GetExitCode();
8538
8539 wxPyEndAllowThreads(__tstate);
8540 if (PyErr_Occurred()) SWIG_fail;
8541 }
8542 resultobj = PyInt_FromLong((long)result);
8543 return resultobj;
8544 fail:
8545 return NULL;
8546}
8547
8548
8549static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8550 PyObject *resultobj;
8551 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8552 int arg2 ;
8553 PyObject * obj0 = 0 ;
8554 char *kwnames[] = {
8555 (char *) "self",(char *) "m_pid", NULL
8556 };
8557
8558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_pid_set",kwnames,&obj0,&arg2)) goto fail;
8559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8560 if (arg1) (arg1)->m_pid = arg2;
8561
8562 Py_INCREF(Py_None); resultobj = Py_None;
8563 return resultobj;
8564 fail:
8565 return NULL;
8566}
8567
8568
8569static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8570 PyObject *resultobj;
8571 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8572 int result;
8573 PyObject * obj0 = 0 ;
8574 char *kwnames[] = {
8575 (char *) "self", NULL
8576 };
8577
8578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
8579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8580 result = (int) ((arg1)->m_pid);
8581
8582 resultobj = PyInt_FromLong((long)result);
8583 return resultobj;
8584 fail:
8585 return NULL;
8586}
8587
8588
8589static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8590 PyObject *resultobj;
8591 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8592 int arg2 ;
8593 PyObject * obj0 = 0 ;
8594 char *kwnames[] = {
8595 (char *) "self",(char *) "m_exitcode", NULL
8596 };
8597
8598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames,&obj0,&arg2)) goto fail;
8599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8600 if (arg1) (arg1)->m_exitcode = arg2;
8601
8602 Py_INCREF(Py_None); resultobj = Py_None;
8603 return resultobj;
8604 fail:
8605 return NULL;
8606}
8607
8608
8609static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8610 PyObject *resultobj;
8611 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
8612 int result;
8613 PyObject * obj0 = 0 ;
8614 char *kwnames[] = {
8615 (char *) "self", NULL
8616 };
8617
8618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
8619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8620 result = (int) ((arg1)->m_exitcode);
8621
8622 resultobj = PyInt_FromLong((long)result);
8623 return resultobj;
8624 fail:
8625 return NULL;
8626}
8627
8628
8629static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
8630 PyObject *obj;
8631 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8632 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
8633 Py_INCREF(obj);
8634 return Py_BuildValue((char *)"");
8635}
8636static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
8637 PyObject *resultobj;
8638 wxString *arg1 = 0 ;
8639 int arg2 = (int) wxEXEC_ASYNC ;
8640 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
8641 long result;
423f194a 8642 bool temp1 = False ;
d14a1e28
RD
8643 PyObject * obj0 = 0 ;
8644 PyObject * obj2 = 0 ;
8645 char *kwnames[] = {
8646 (char *) "command",(char *) "flags",(char *) "process", NULL
8647 };
8648
8649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:Execute",kwnames,&obj0,&arg2,&obj2)) goto fail;
8650 {
8651 arg1 = wxString_in_helper(obj0);
8652 if (arg1 == NULL) SWIG_fail;
423f194a 8653 temp1 = True;
d14a1e28
RD
8654 }
8655 if (obj2) {
8656 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8657 }
8658 {
8659 PyThreadState* __tstate = wxPyBeginAllowThreads();
8660 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
8661
8662 wxPyEndAllowThreads(__tstate);
8663 if (PyErr_Occurred()) SWIG_fail;
8664 }
8665 resultobj = PyInt_FromLong((long)result);
8666 {
8667 if (temp1)
8668 delete arg1;
8669 }
8670 return resultobj;
8671 fail:
8672 {
8673 if (temp1)
8674 delete arg1;
8675 }
8676 return NULL;
8677}
8678
8679
8680static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8681 PyObject *resultobj;
8682 int arg1 = (int) wxJOYSTICK1 ;
8683 wxJoystick *result;
8684 char *kwnames[] = {
8685 (char *) "joystick", NULL
8686 };
8687
8688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_Joystick",kwnames,&arg1)) goto fail;
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 result = (wxJoystick *)new wxJoystick(arg1);
8692
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 }
8696 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystick, 1);
8697 return resultobj;
8698 fail:
8699 return NULL;
8700}
8701
8702
8703static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
8704 PyObject *resultobj;
8705 wxJoystick *arg1 = (wxJoystick *) 0 ;
8706 PyObject * obj0 = 0 ;
8707 char *kwnames[] = {
8708 (char *) "self", NULL
8709 };
8710
8711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
8712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8713 {
8714 PyThreadState* __tstate = wxPyBeginAllowThreads();
8715 delete arg1;
8716
8717 wxPyEndAllowThreads(__tstate);
8718 if (PyErr_Occurred()) SWIG_fail;
8719 }
8720 Py_INCREF(Py_None); resultobj = Py_None;
8721 return resultobj;
8722 fail:
8723 return NULL;
8724}
8725
8726
8727static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8728 PyObject *resultobj;
8729 wxJoystick *arg1 = (wxJoystick *) 0 ;
8730 wxPoint result;
8731 PyObject * obj0 = 0 ;
8732 char *kwnames[] = {
8733 (char *) "self", NULL
8734 };
8735
8736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
8737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8738 {
8739 PyThreadState* __tstate = wxPyBeginAllowThreads();
8740 result = (arg1)->GetPosition();
8741
8742 wxPyEndAllowThreads(__tstate);
8743 if (PyErr_Occurred()) SWIG_fail;
8744 }
8745 {
8746 wxPoint * resultptr;
8747 resultptr = new wxPoint((wxPoint &) result);
8748 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8749 }
8750 return resultobj;
8751 fail:
8752 return NULL;
8753}
8754
8755
8756static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8757 PyObject *resultobj;
8758 wxJoystick *arg1 = (wxJoystick *) 0 ;
8759 int result;
8760 PyObject * obj0 = 0 ;
8761 char *kwnames[] = {
8762 (char *) "self", NULL
8763 };
8764
8765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
8766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8767 {
8768 PyThreadState* __tstate = wxPyBeginAllowThreads();
8769 result = (int)(arg1)->GetZPosition();
8770
8771 wxPyEndAllowThreads(__tstate);
8772 if (PyErr_Occurred()) SWIG_fail;
8773 }
8774 resultobj = PyInt_FromLong((long)result);
8775 return resultobj;
8776 fail:
8777 return NULL;
8778}
8779
8780
8781static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
8782 PyObject *resultobj;
8783 wxJoystick *arg1 = (wxJoystick *) 0 ;
8784 int result;
8785 PyObject * obj0 = 0 ;
8786 char *kwnames[] = {
8787 (char *) "self", NULL
8788 };
8789
8790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
8791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8792 {
8793 PyThreadState* __tstate = wxPyBeginAllowThreads();
8794 result = (int)(arg1)->GetButtonState();
8795
8796 wxPyEndAllowThreads(__tstate);
8797 if (PyErr_Occurred()) SWIG_fail;
8798 }
8799 resultobj = PyInt_FromLong((long)result);
8800 return resultobj;
8801 fail:
8802 return NULL;
8803}
8804
8805
8806static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8807 PyObject *resultobj;
8808 wxJoystick *arg1 = (wxJoystick *) 0 ;
8809 int result;
8810 PyObject * obj0 = 0 ;
8811 char *kwnames[] = {
8812 (char *) "self", NULL
8813 };
8814
8815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
8816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8817 {
8818 PyThreadState* __tstate = wxPyBeginAllowThreads();
8819 result = (int)(arg1)->GetPOVPosition();
8820
8821 wxPyEndAllowThreads(__tstate);
8822 if (PyErr_Occurred()) SWIG_fail;
8823 }
8824 resultobj = PyInt_FromLong((long)result);
8825 return resultobj;
8826 fail:
8827 return NULL;
8828}
8829
8830
8831static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8832 PyObject *resultobj;
8833 wxJoystick *arg1 = (wxJoystick *) 0 ;
8834 int result;
8835 PyObject * obj0 = 0 ;
8836 char *kwnames[] = {
8837 (char *) "self", NULL
8838 };
8839
8840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
8841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8842 {
8843 PyThreadState* __tstate = wxPyBeginAllowThreads();
8844 result = (int)(arg1)->GetPOVCTSPosition();
8845
8846 wxPyEndAllowThreads(__tstate);
8847 if (PyErr_Occurred()) SWIG_fail;
8848 }
8849 resultobj = PyInt_FromLong((long)result);
8850 return resultobj;
8851 fail:
8852 return NULL;
8853}
8854
8855
8856static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8857 PyObject *resultobj;
8858 wxJoystick *arg1 = (wxJoystick *) 0 ;
8859 int result;
8860 PyObject * obj0 = 0 ;
8861 char *kwnames[] = {
8862 (char *) "self", NULL
8863 };
8864
8865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
8866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8867 {
8868 PyThreadState* __tstate = wxPyBeginAllowThreads();
8869 result = (int)(arg1)->GetRudderPosition();
8870
8871 wxPyEndAllowThreads(__tstate);
8872 if (PyErr_Occurred()) SWIG_fail;
8873 }
8874 resultobj = PyInt_FromLong((long)result);
8875 return resultobj;
8876 fail:
8877 return NULL;
8878}
8879
8880
8881static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8882 PyObject *resultobj;
8883 wxJoystick *arg1 = (wxJoystick *) 0 ;
8884 int result;
8885 PyObject * obj0 = 0 ;
8886 char *kwnames[] = {
8887 (char *) "self", NULL
8888 };
8889
8890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
8891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8892 {
8893 PyThreadState* __tstate = wxPyBeginAllowThreads();
8894 result = (int)(arg1)->GetUPosition();
8895
8896 wxPyEndAllowThreads(__tstate);
8897 if (PyErr_Occurred()) SWIG_fail;
8898 }
8899 resultobj = PyInt_FromLong((long)result);
8900 return resultobj;
8901 fail:
8902 return NULL;
8903}
8904
8905
8906static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8907 PyObject *resultobj;
8908 wxJoystick *arg1 = (wxJoystick *) 0 ;
8909 int result;
8910 PyObject * obj0 = 0 ;
8911 char *kwnames[] = {
8912 (char *) "self", NULL
8913 };
8914
8915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
8916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8917 {
8918 PyThreadState* __tstate = wxPyBeginAllowThreads();
8919 result = (int)(arg1)->GetVPosition();
8920
8921 wxPyEndAllowThreads(__tstate);
8922 if (PyErr_Occurred()) SWIG_fail;
8923 }
8924 resultobj = PyInt_FromLong((long)result);
8925 return resultobj;
8926 fail:
8927 return NULL;
8928}
8929
8930
8931static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8932 PyObject *resultobj;
8933 wxJoystick *arg1 = (wxJoystick *) 0 ;
8934 int result;
8935 PyObject * obj0 = 0 ;
8936 char *kwnames[] = {
8937 (char *) "self", NULL
8938 };
8939
8940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
8941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8942 {
8943 PyThreadState* __tstate = wxPyBeginAllowThreads();
8944 result = (int)(arg1)->GetMovementThreshold();
8945
8946 wxPyEndAllowThreads(__tstate);
8947 if (PyErr_Occurred()) SWIG_fail;
8948 }
8949 resultobj = PyInt_FromLong((long)result);
8950 return resultobj;
8951 fail:
8952 return NULL;
8953}
8954
8955
8956static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
8957 PyObject *resultobj;
8958 wxJoystick *arg1 = (wxJoystick *) 0 ;
8959 int arg2 ;
8960 PyObject * obj0 = 0 ;
8961 char *kwnames[] = {
8962 (char *) "self",(char *) "threshold", NULL
8963 };
8964
8965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Joystick_SetMovementThreshold",kwnames,&obj0,&arg2)) goto fail;
8966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8967 {
8968 PyThreadState* __tstate = wxPyBeginAllowThreads();
8969 (arg1)->SetMovementThreshold(arg2);
8970
8971 wxPyEndAllowThreads(__tstate);
8972 if (PyErr_Occurred()) SWIG_fail;
8973 }
8974 Py_INCREF(Py_None); resultobj = Py_None;
8975 return resultobj;
8976 fail:
8977 return NULL;
8978}
8979
8980
8981static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
8982 PyObject *resultobj;
8983 wxJoystick *arg1 = (wxJoystick *) 0 ;
8984 bool result;
8985 PyObject * obj0 = 0 ;
8986 char *kwnames[] = {
8987 (char *) "self", NULL
8988 };
8989
8990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
8991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8992 {
8993 PyThreadState* __tstate = wxPyBeginAllowThreads();
8994 result = (bool)(arg1)->IsOk();
8995
8996 wxPyEndAllowThreads(__tstate);
8997 if (PyErr_Occurred()) SWIG_fail;
8998 }
8999 resultobj = PyInt_FromLong((long)result);
9000 return resultobj;
9001 fail:
9002 return NULL;
9003}
9004
9005
9006static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
9007 PyObject *resultobj;
9008 wxJoystick *arg1 = (wxJoystick *) 0 ;
9009 int result;
9010 PyObject * obj0 = 0 ;
9011 char *kwnames[] = {
9012 (char *) "self", NULL
9013 };
9014
9015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
9016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9017 {
9018 PyThreadState* __tstate = wxPyBeginAllowThreads();
9019 result = (int)(arg1)->GetNumberJoysticks();
9020
9021 wxPyEndAllowThreads(__tstate);
9022 if (PyErr_Occurred()) SWIG_fail;
9023 }
9024 resultobj = PyInt_FromLong((long)result);
9025 return resultobj;
9026 fail:
9027 return NULL;
9028}
9029
9030
9031static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
9032 PyObject *resultobj;
9033 wxJoystick *arg1 = (wxJoystick *) 0 ;
9034 int result;
9035 PyObject * obj0 = 0 ;
9036 char *kwnames[] = {
9037 (char *) "self", NULL
9038 };
9039
9040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
9041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9042 {
9043 PyThreadState* __tstate = wxPyBeginAllowThreads();
9044 result = (int)(arg1)->GetManufacturerId();
9045
9046 wxPyEndAllowThreads(__tstate);
9047 if (PyErr_Occurred()) SWIG_fail;
9048 }
9049 resultobj = PyInt_FromLong((long)result);
9050 return resultobj;
9051 fail:
9052 return NULL;
9053}
9054
9055
9056static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
9057 PyObject *resultobj;
9058 wxJoystick *arg1 = (wxJoystick *) 0 ;
9059 int result;
9060 PyObject * obj0 = 0 ;
9061 char *kwnames[] = {
9062 (char *) "self", NULL
9063 };
9064
9065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
9066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9067 {
9068 PyThreadState* __tstate = wxPyBeginAllowThreads();
9069 result = (int)(arg1)->GetProductId();
9070
9071 wxPyEndAllowThreads(__tstate);
9072 if (PyErr_Occurred()) SWIG_fail;
9073 }
9074 resultobj = PyInt_FromLong((long)result);
9075 return resultobj;
9076 fail:
9077 return NULL;
9078}
9079
9080
9081static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
9082 PyObject *resultobj;
9083 wxJoystick *arg1 = (wxJoystick *) 0 ;
9084 wxString result;
9085 PyObject * obj0 = 0 ;
9086 char *kwnames[] = {
9087 (char *) "self", NULL
9088 };
9089
9090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
9091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9092 {
9093 PyThreadState* __tstate = wxPyBeginAllowThreads();
9094 result = (arg1)->GetProductName();
9095
9096 wxPyEndAllowThreads(__tstate);
9097 if (PyErr_Occurred()) SWIG_fail;
9098 }
9099 {
9100#if wxUSE_UNICODE
9101 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9102#else
9103 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9104#endif
9105 }
9106 return resultobj;
9107 fail:
9108 return NULL;
9109}
9110
9111
9112static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9113 PyObject *resultobj;
9114 wxJoystick *arg1 = (wxJoystick *) 0 ;
9115 int result;
9116 PyObject * obj0 = 0 ;
9117 char *kwnames[] = {
9118 (char *) "self", NULL
9119 };
9120
9121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
9122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9123 {
9124 PyThreadState* __tstate = wxPyBeginAllowThreads();
9125 result = (int)(arg1)->GetXMin();
9126
9127 wxPyEndAllowThreads(__tstate);
9128 if (PyErr_Occurred()) SWIG_fail;
9129 }
9130 resultobj = PyInt_FromLong((long)result);
9131 return resultobj;
9132 fail:
9133 return NULL;
9134}
9135
9136
9137static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9138 PyObject *resultobj;
9139 wxJoystick *arg1 = (wxJoystick *) 0 ;
9140 int result;
9141 PyObject * obj0 = 0 ;
9142 char *kwnames[] = {
9143 (char *) "self", NULL
9144 };
9145
9146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
9147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9148 {
9149 PyThreadState* __tstate = wxPyBeginAllowThreads();
9150 result = (int)(arg1)->GetYMin();
9151
9152 wxPyEndAllowThreads(__tstate);
9153 if (PyErr_Occurred()) SWIG_fail;
9154 }
9155 resultobj = PyInt_FromLong((long)result);
9156 return resultobj;
9157 fail:
9158 return NULL;
9159}
9160
9161
9162static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9163 PyObject *resultobj;
9164 wxJoystick *arg1 = (wxJoystick *) 0 ;
9165 int result;
9166 PyObject * obj0 = 0 ;
9167 char *kwnames[] = {
9168 (char *) "self", NULL
9169 };
9170
9171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9173 {
9174 PyThreadState* __tstate = wxPyBeginAllowThreads();
9175 result = (int)(arg1)->GetZMin();
9176
9177 wxPyEndAllowThreads(__tstate);
9178 if (PyErr_Occurred()) SWIG_fail;
9179 }
9180 resultobj = PyInt_FromLong((long)result);
9181 return resultobj;
9182 fail:
9183 return NULL;
9184}
9185
9186
9187static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9188 PyObject *resultobj;
9189 wxJoystick *arg1 = (wxJoystick *) 0 ;
9190 int result;
9191 PyObject * obj0 = 0 ;
9192 char *kwnames[] = {
9193 (char *) "self", NULL
9194 };
9195
9196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9198 {
9199 PyThreadState* __tstate = wxPyBeginAllowThreads();
9200 result = (int)(arg1)->GetXMax();
9201
9202 wxPyEndAllowThreads(__tstate);
9203 if (PyErr_Occurred()) SWIG_fail;
9204 }
9205 resultobj = PyInt_FromLong((long)result);
9206 return resultobj;
9207 fail:
9208 return NULL;
9209}
9210
9211
9212static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9213 PyObject *resultobj;
9214 wxJoystick *arg1 = (wxJoystick *) 0 ;
9215 int result;
9216 PyObject * obj0 = 0 ;
9217 char *kwnames[] = {
9218 (char *) "self", NULL
9219 };
9220
9221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
9222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9223 {
9224 PyThreadState* __tstate = wxPyBeginAllowThreads();
9225 result = (int)(arg1)->GetYMax();
9226
9227 wxPyEndAllowThreads(__tstate);
9228 if (PyErr_Occurred()) SWIG_fail;
9229 }
9230 resultobj = PyInt_FromLong((long)result);
9231 return resultobj;
9232 fail:
9233 return NULL;
9234}
9235
9236
9237static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9238 PyObject *resultobj;
9239 wxJoystick *arg1 = (wxJoystick *) 0 ;
9240 int result;
9241 PyObject * obj0 = 0 ;
9242 char *kwnames[] = {
9243 (char *) "self", NULL
9244 };
9245
9246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
9247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9248 {
9249 PyThreadState* __tstate = wxPyBeginAllowThreads();
9250 result = (int)(arg1)->GetZMax();
9251
9252 wxPyEndAllowThreads(__tstate);
9253 if (PyErr_Occurred()) SWIG_fail;
9254 }
9255 resultobj = PyInt_FromLong((long)result);
9256 return resultobj;
9257 fail:
9258 return NULL;
9259}
9260
9261
9262static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9263 PyObject *resultobj;
9264 wxJoystick *arg1 = (wxJoystick *) 0 ;
9265 int result;
9266 PyObject * obj0 = 0 ;
9267 char *kwnames[] = {
9268 (char *) "self", NULL
9269 };
9270
9271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
9272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9273 {
9274 PyThreadState* __tstate = wxPyBeginAllowThreads();
9275 result = (int)(arg1)->GetNumberButtons();
9276
9277 wxPyEndAllowThreads(__tstate);
9278 if (PyErr_Occurred()) SWIG_fail;
9279 }
9280 resultobj = PyInt_FromLong((long)result);
9281 return resultobj;
9282 fail:
9283 return NULL;
9284}
9285
9286
9287static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9288 PyObject *resultobj;
9289 wxJoystick *arg1 = (wxJoystick *) 0 ;
9290 int result;
9291 PyObject * obj0 = 0 ;
9292 char *kwnames[] = {
9293 (char *) "self", NULL
9294 };
9295
9296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
9297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9298 {
9299 PyThreadState* __tstate = wxPyBeginAllowThreads();
9300 result = (int)(arg1)->GetNumberAxes();
9301
9302 wxPyEndAllowThreads(__tstate);
9303 if (PyErr_Occurred()) SWIG_fail;
9304 }
9305 resultobj = PyInt_FromLong((long)result);
9306 return resultobj;
9307 fail:
9308 return NULL;
9309}
9310
9311
9312static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9313 PyObject *resultobj;
9314 wxJoystick *arg1 = (wxJoystick *) 0 ;
9315 int result;
9316 PyObject * obj0 = 0 ;
9317 char *kwnames[] = {
9318 (char *) "self", NULL
9319 };
9320
9321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
9322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9323 {
9324 PyThreadState* __tstate = wxPyBeginAllowThreads();
9325 result = (int)(arg1)->GetMaxButtons();
9326
9327 wxPyEndAllowThreads(__tstate);
9328 if (PyErr_Occurred()) SWIG_fail;
9329 }
9330 resultobj = PyInt_FromLong((long)result);
9331 return resultobj;
9332 fail:
9333 return NULL;
9334}
9335
9336
9337static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9338 PyObject *resultobj;
9339 wxJoystick *arg1 = (wxJoystick *) 0 ;
9340 int result;
9341 PyObject * obj0 = 0 ;
9342 char *kwnames[] = {
9343 (char *) "self", NULL
9344 };
9345
9346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
9347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9348 {
9349 PyThreadState* __tstate = wxPyBeginAllowThreads();
9350 result = (int)(arg1)->GetMaxAxes();
9351
9352 wxPyEndAllowThreads(__tstate);
9353 if (PyErr_Occurred()) SWIG_fail;
9354 }
9355 resultobj = PyInt_FromLong((long)result);
9356 return resultobj;
9357 fail:
9358 return NULL;
9359}
9360
9361
9362static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9363 PyObject *resultobj;
9364 wxJoystick *arg1 = (wxJoystick *) 0 ;
9365 int result;
9366 PyObject * obj0 = 0 ;
9367 char *kwnames[] = {
9368 (char *) "self", NULL
9369 };
9370
9371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
9372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9373 {
9374 PyThreadState* __tstate = wxPyBeginAllowThreads();
9375 result = (int)(arg1)->GetPollingMin();
9376
9377 wxPyEndAllowThreads(__tstate);
9378 if (PyErr_Occurred()) SWIG_fail;
9379 }
9380 resultobj = PyInt_FromLong((long)result);
9381 return resultobj;
9382 fail:
9383 return NULL;
9384}
9385
9386
9387static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9388 PyObject *resultobj;
9389 wxJoystick *arg1 = (wxJoystick *) 0 ;
9390 int result;
9391 PyObject * obj0 = 0 ;
9392 char *kwnames[] = {
9393 (char *) "self", NULL
9394 };
9395
9396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
9397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9398 {
9399 PyThreadState* __tstate = wxPyBeginAllowThreads();
9400 result = (int)(arg1)->GetPollingMax();
9401
9402 wxPyEndAllowThreads(__tstate);
9403 if (PyErr_Occurred()) SWIG_fail;
9404 }
9405 resultobj = PyInt_FromLong((long)result);
9406 return resultobj;
9407 fail:
9408 return NULL;
9409}
9410
9411
9412static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9413 PyObject *resultobj;
9414 wxJoystick *arg1 = (wxJoystick *) 0 ;
9415 int result;
9416 PyObject * obj0 = 0 ;
9417 char *kwnames[] = {
9418 (char *) "self", NULL
9419 };
9420
9421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
9422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9423 {
9424 PyThreadState* __tstate = wxPyBeginAllowThreads();
9425 result = (int)(arg1)->GetRudderMin();
9426
9427 wxPyEndAllowThreads(__tstate);
9428 if (PyErr_Occurred()) SWIG_fail;
9429 }
9430 resultobj = PyInt_FromLong((long)result);
9431 return resultobj;
9432 fail:
9433 return NULL;
9434}
9435
9436
9437static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9438 PyObject *resultobj;
9439 wxJoystick *arg1 = (wxJoystick *) 0 ;
9440 int result;
9441 PyObject * obj0 = 0 ;
9442 char *kwnames[] = {
9443 (char *) "self", NULL
9444 };
9445
9446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
9447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9448 {
9449 PyThreadState* __tstate = wxPyBeginAllowThreads();
9450 result = (int)(arg1)->GetRudderMax();
9451
9452 wxPyEndAllowThreads(__tstate);
9453 if (PyErr_Occurred()) SWIG_fail;
9454 }
9455 resultobj = PyInt_FromLong((long)result);
9456 return resultobj;
9457 fail:
9458 return NULL;
9459}
9460
9461
9462static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9463 PyObject *resultobj;
9464 wxJoystick *arg1 = (wxJoystick *) 0 ;
9465 int result;
9466 PyObject * obj0 = 0 ;
9467 char *kwnames[] = {
9468 (char *) "self", NULL
9469 };
9470
9471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
9472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9473 {
9474 PyThreadState* __tstate = wxPyBeginAllowThreads();
9475 result = (int)(arg1)->GetUMin();
9476
9477 wxPyEndAllowThreads(__tstate);
9478 if (PyErr_Occurred()) SWIG_fail;
9479 }
9480 resultobj = PyInt_FromLong((long)result);
9481 return resultobj;
9482 fail:
9483 return NULL;
9484}
9485
9486
9487static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9488 PyObject *resultobj;
9489 wxJoystick *arg1 = (wxJoystick *) 0 ;
9490 int result;
9491 PyObject * obj0 = 0 ;
9492 char *kwnames[] = {
9493 (char *) "self", NULL
9494 };
9495
9496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
9497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9498 {
9499 PyThreadState* __tstate = wxPyBeginAllowThreads();
9500 result = (int)(arg1)->GetUMax();
9501
9502 wxPyEndAllowThreads(__tstate);
9503 if (PyErr_Occurred()) SWIG_fail;
9504 }
9505 resultobj = PyInt_FromLong((long)result);
9506 return resultobj;
9507 fail:
9508 return NULL;
9509}
9510
9511
9512static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9513 PyObject *resultobj;
9514 wxJoystick *arg1 = (wxJoystick *) 0 ;
9515 int result;
9516 PyObject * obj0 = 0 ;
9517 char *kwnames[] = {
9518 (char *) "self", NULL
9519 };
9520
9521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
9522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9523 {
9524 PyThreadState* __tstate = wxPyBeginAllowThreads();
9525 result = (int)(arg1)->GetVMin();
9526
9527 wxPyEndAllowThreads(__tstate);
9528 if (PyErr_Occurred()) SWIG_fail;
9529 }
9530 resultobj = PyInt_FromLong((long)result);
9531 return resultobj;
9532 fail:
9533 return NULL;
9534}
9535
9536
9537static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9538 PyObject *resultobj;
9539 wxJoystick *arg1 = (wxJoystick *) 0 ;
9540 int result;
9541 PyObject * obj0 = 0 ;
9542 char *kwnames[] = {
9543 (char *) "self", NULL
9544 };
9545
9546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
9547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9548 {
9549 PyThreadState* __tstate = wxPyBeginAllowThreads();
9550 result = (int)(arg1)->GetVMax();
9551
9552 wxPyEndAllowThreads(__tstate);
9553 if (PyErr_Occurred()) SWIG_fail;
9554 }
9555 resultobj = PyInt_FromLong((long)result);
9556 return resultobj;
9557 fail:
9558 return NULL;
9559}
9560
9561
9562static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
9563 PyObject *resultobj;
9564 wxJoystick *arg1 = (wxJoystick *) 0 ;
9565 bool result;
9566 PyObject * obj0 = 0 ;
9567 char *kwnames[] = {
9568 (char *) "self", NULL
9569 };
9570
9571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
9572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9573 {
9574 PyThreadState* __tstate = wxPyBeginAllowThreads();
9575 result = (bool)(arg1)->HasRudder();
9576
9577 wxPyEndAllowThreads(__tstate);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 }
9580 resultobj = PyInt_FromLong((long)result);
9581 return resultobj;
9582 fail:
9583 return NULL;
9584}
9585
9586
9587static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
9588 PyObject *resultobj;
9589 wxJoystick *arg1 = (wxJoystick *) 0 ;
9590 bool result;
9591 PyObject * obj0 = 0 ;
9592 char *kwnames[] = {
9593 (char *) "self", NULL
9594 };
9595
9596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
9597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9598 {
9599 PyThreadState* __tstate = wxPyBeginAllowThreads();
9600 result = (bool)(arg1)->HasZ();
9601
9602 wxPyEndAllowThreads(__tstate);
9603 if (PyErr_Occurred()) SWIG_fail;
9604 }
9605 resultobj = PyInt_FromLong((long)result);
9606 return resultobj;
9607 fail:
9608 return NULL;
9609}
9610
9611
9612static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
9613 PyObject *resultobj;
9614 wxJoystick *arg1 = (wxJoystick *) 0 ;
9615 bool result;
9616 PyObject * obj0 = 0 ;
9617 char *kwnames[] = {
9618 (char *) "self", NULL
9619 };
9620
9621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
9622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9623 {
9624 PyThreadState* __tstate = wxPyBeginAllowThreads();
9625 result = (bool)(arg1)->HasU();
9626
9627 wxPyEndAllowThreads(__tstate);
9628 if (PyErr_Occurred()) SWIG_fail;
9629 }
9630 resultobj = PyInt_FromLong((long)result);
9631 return resultobj;
9632 fail:
9633 return NULL;
9634}
9635
9636
9637static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
9638 PyObject *resultobj;
9639 wxJoystick *arg1 = (wxJoystick *) 0 ;
9640 bool result;
9641 PyObject * obj0 = 0 ;
9642 char *kwnames[] = {
9643 (char *) "self", NULL
9644 };
9645
9646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
9647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9648 {
9649 PyThreadState* __tstate = wxPyBeginAllowThreads();
9650 result = (bool)(arg1)->HasV();
9651
9652 wxPyEndAllowThreads(__tstate);
9653 if (PyErr_Occurred()) SWIG_fail;
9654 }
9655 resultobj = PyInt_FromLong((long)result);
9656 return resultobj;
9657 fail:
9658 return NULL;
9659}
9660
9661
9662static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
9663 PyObject *resultobj;
9664 wxJoystick *arg1 = (wxJoystick *) 0 ;
9665 bool result;
9666 PyObject * obj0 = 0 ;
9667 char *kwnames[] = {
9668 (char *) "self", NULL
9669 };
9670
9671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
9672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9673 {
9674 PyThreadState* __tstate = wxPyBeginAllowThreads();
9675 result = (bool)(arg1)->HasPOV();
9676
9677 wxPyEndAllowThreads(__tstate);
9678 if (PyErr_Occurred()) SWIG_fail;
9679 }
9680 resultobj = PyInt_FromLong((long)result);
9681 return resultobj;
9682 fail:
9683 return NULL;
9684}
9685
9686
9687static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
9688 PyObject *resultobj;
9689 wxJoystick *arg1 = (wxJoystick *) 0 ;
9690 bool result;
9691 PyObject * obj0 = 0 ;
9692 char *kwnames[] = {
9693 (char *) "self", NULL
9694 };
9695
9696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
9697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9698 {
9699 PyThreadState* __tstate = wxPyBeginAllowThreads();
9700 result = (bool)(arg1)->HasPOV4Dir();
9701
9702 wxPyEndAllowThreads(__tstate);
9703 if (PyErr_Occurred()) SWIG_fail;
9704 }
9705 resultobj = PyInt_FromLong((long)result);
9706 return resultobj;
9707 fail:
9708 return NULL;
9709}
9710
9711
9712static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
9713 PyObject *resultobj;
9714 wxJoystick *arg1 = (wxJoystick *) 0 ;
9715 bool result;
9716 PyObject * obj0 = 0 ;
9717 char *kwnames[] = {
9718 (char *) "self", NULL
9719 };
9720
9721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
9722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9723 {
9724 PyThreadState* __tstate = wxPyBeginAllowThreads();
9725 result = (bool)(arg1)->HasPOVCTS();
9726
9727 wxPyEndAllowThreads(__tstate);
9728 if (PyErr_Occurred()) SWIG_fail;
9729 }
9730 resultobj = PyInt_FromLong((long)result);
9731 return resultobj;
9732 fail:
9733 return NULL;
9734}
9735
9736
9737static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9738 PyObject *resultobj;
9739 wxJoystick *arg1 = (wxJoystick *) 0 ;
9740 wxWindow *arg2 = (wxWindow *) 0 ;
9741 int arg3 = (int) 0 ;
9742 bool result;
9743 PyObject * obj0 = 0 ;
9744 PyObject * obj1 = 0 ;
9745 char *kwnames[] = {
9746 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9747 };
9748
9749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Joystick_SetCapture",kwnames,&obj0,&obj1,&arg3)) goto fail;
9750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9751 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9752 {
9753 PyThreadState* __tstate = wxPyBeginAllowThreads();
9754 result = (bool)(arg1)->SetCapture(arg2,arg3);
9755
9756 wxPyEndAllowThreads(__tstate);
9757 if (PyErr_Occurred()) SWIG_fail;
9758 }
9759 resultobj = PyInt_FromLong((long)result);
9760 return resultobj;
9761 fail:
9762 return NULL;
9763}
9764
9765
9766static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
9767 PyObject *resultobj;
9768 wxJoystick *arg1 = (wxJoystick *) 0 ;
9769 bool result;
9770 PyObject * obj0 = 0 ;
9771 char *kwnames[] = {
9772 (char *) "self", NULL
9773 };
9774
9775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
9776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9777 {
9778 PyThreadState* __tstate = wxPyBeginAllowThreads();
9779 result = (bool)(arg1)->ReleaseCapture();
9780
9781 wxPyEndAllowThreads(__tstate);
9782 if (PyErr_Occurred()) SWIG_fail;
9783 }
9784 resultobj = PyInt_FromLong((long)result);
9785 return resultobj;
9786 fail:
9787 return NULL;
9788}
9789
9790
9791static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
9792 PyObject *obj;
9793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9794 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
9795 Py_INCREF(obj);
9796 return Py_BuildValue((char *)"");
9797}
9798static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9799 PyObject *resultobj;
9800 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9801 wxPoint *arg2 = (wxPoint *) 0 ;
9802 PyObject * obj0 = 0 ;
9803 PyObject * obj1 = 0 ;
9804 char *kwnames[] = {
9805 (char *) "self",(char *) "m_pos", NULL
9806 };
9807
9808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
9809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9810 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9811 if (arg1) (arg1)->m_pos = *arg2;
9812
9813 Py_INCREF(Py_None); resultobj = Py_None;
9814 return resultobj;
9815 fail:
9816 return NULL;
9817}
9818
9819
9820static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9821 PyObject *resultobj;
9822 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9823 wxPoint *result;
9824 PyObject * obj0 = 0 ;
9825 char *kwnames[] = {
9826 (char *) "self", NULL
9827 };
9828
9829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
9830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9831 result = (wxPoint *)& ((arg1)->m_pos);
9832
9833 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
9834 return resultobj;
9835 fail:
9836 return NULL;
9837}
9838
9839
9840static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9841 PyObject *resultobj;
9842 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9843 int arg2 ;
9844 PyObject * obj0 = 0 ;
9845 char *kwnames[] = {
9846 (char *) "self",(char *) "m_zPosition", NULL
9847 };
9848
9849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames,&obj0,&arg2)) goto fail;
9850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9851 if (arg1) (arg1)->m_zPosition = arg2;
9852
9853 Py_INCREF(Py_None); resultobj = Py_None;
9854 return resultobj;
9855 fail:
9856 return NULL;
9857}
9858
9859
9860static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9861 PyObject *resultobj;
9862 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9863 int result;
9864 PyObject * obj0 = 0 ;
9865 char *kwnames[] = {
9866 (char *) "self", NULL
9867 };
9868
9869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
9870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9871 result = (int) ((arg1)->m_zPosition);
9872
9873 resultobj = PyInt_FromLong((long)result);
9874 return resultobj;
9875 fail:
9876 return NULL;
9877}
9878
9879
9880static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9881 PyObject *resultobj;
9882 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9883 int arg2 ;
9884 PyObject * obj0 = 0 ;
9885 char *kwnames[] = {
9886 (char *) "self",(char *) "m_buttonChange", NULL
9887 };
9888
9889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&arg2)) goto fail;
9890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9891 if (arg1) (arg1)->m_buttonChange = arg2;
9892
9893 Py_INCREF(Py_None); resultobj = Py_None;
9894 return resultobj;
9895 fail:
9896 return NULL;
9897}
9898
9899
9900static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9901 PyObject *resultobj;
9902 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9903 int result;
9904 PyObject * obj0 = 0 ;
9905 char *kwnames[] = {
9906 (char *) "self", NULL
9907 };
9908
9909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
9910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9911 result = (int) ((arg1)->m_buttonChange);
9912
9913 resultobj = PyInt_FromLong((long)result);
9914 return resultobj;
9915 fail:
9916 return NULL;
9917}
9918
9919
9920static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9921 PyObject *resultobj;
9922 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9923 int arg2 ;
9924 PyObject * obj0 = 0 ;
9925 char *kwnames[] = {
9926 (char *) "self",(char *) "m_buttonState", NULL
9927 };
9928
9929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames,&obj0,&arg2)) goto fail;
9930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9931 if (arg1) (arg1)->m_buttonState = arg2;
9932
9933 Py_INCREF(Py_None); resultobj = Py_None;
9934 return resultobj;
9935 fail:
9936 return NULL;
9937}
9938
9939
9940static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9941 PyObject *resultobj;
9942 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9943 int result;
9944 PyObject * obj0 = 0 ;
9945 char *kwnames[] = {
9946 (char *) "self", NULL
9947 };
9948
9949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
9950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9951 result = (int) ((arg1)->m_buttonState);
9952
9953 resultobj = PyInt_FromLong((long)result);
9954 return resultobj;
9955 fail:
9956 return NULL;
9957}
9958
9959
9960static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9961 PyObject *resultobj;
9962 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9963 int arg2 ;
9964 PyObject * obj0 = 0 ;
9965 char *kwnames[] = {
9966 (char *) "self",(char *) "m_joyStick", NULL
9967 };
9968
9969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames,&obj0,&arg2)) goto fail;
9970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9971 if (arg1) (arg1)->m_joyStick = arg2;
9972
9973 Py_INCREF(Py_None); resultobj = Py_None;
9974 return resultobj;
9975 fail:
9976 return NULL;
9977}
9978
9979
9980static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9981 PyObject *resultobj;
9982 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
9983 int result;
9984 PyObject * obj0 = 0 ;
9985 char *kwnames[] = {
9986 (char *) "self", NULL
9987 };
9988
9989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
9990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9991 result = (int) ((arg1)->m_joyStick);
9992
9993 resultobj = PyInt_FromLong((long)result);
9994 return resultobj;
9995 fail:
9996 return NULL;
9997}
9998
9999
10000static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10001 PyObject *resultobj;
10002 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10003 int arg2 = (int) 0 ;
10004 int arg3 = (int) wxJOYSTICK1 ;
10005 int arg4 = (int) 0 ;
10006 wxJoystickEvent *result;
10007 char *kwnames[] = {
10008 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10009 };
10010
10011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_JoystickEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
10012 {
10013 PyThreadState* __tstate = wxPyBeginAllowThreads();
10014 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
10015
10016 wxPyEndAllowThreads(__tstate);
10017 if (PyErr_Occurred()) SWIG_fail;
10018 }
10019 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystickEvent, 1);
10020 return resultobj;
10021 fail:
10022 return NULL;
10023}
10024
10025
10026static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10027 PyObject *resultobj;
10028 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10029 wxPoint result;
10030 PyObject * obj0 = 0 ;
10031 char *kwnames[] = {
10032 (char *) "self", NULL
10033 };
10034
10035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
10036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10037 {
10038 PyThreadState* __tstate = wxPyBeginAllowThreads();
10039 result = ((wxJoystickEvent const *)arg1)->GetPosition();
10040
10041 wxPyEndAllowThreads(__tstate);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 }
10044 {
10045 wxPoint * resultptr;
10046 resultptr = new wxPoint((wxPoint &) result);
10047 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
10048 }
10049 return resultobj;
10050 fail:
10051 return NULL;
10052}
10053
10054
10055static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10056 PyObject *resultobj;
10057 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10058 int result;
10059 PyObject * obj0 = 0 ;
10060 char *kwnames[] = {
10061 (char *) "self", NULL
10062 };
10063
10064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
10065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10066 {
10067 PyThreadState* __tstate = wxPyBeginAllowThreads();
10068 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
10069
10070 wxPyEndAllowThreads(__tstate);
10071 if (PyErr_Occurred()) SWIG_fail;
10072 }
10073 resultobj = PyInt_FromLong((long)result);
10074 return resultobj;
10075 fail:
10076 return NULL;
10077}
10078
10079
10080static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10081 PyObject *resultobj;
10082 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10083 int result;
10084 PyObject * obj0 = 0 ;
10085 char *kwnames[] = {
10086 (char *) "self", NULL
10087 };
10088
10089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
10090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10091 {
10092 PyThreadState* __tstate = wxPyBeginAllowThreads();
10093 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
10094
10095 wxPyEndAllowThreads(__tstate);
10096 if (PyErr_Occurred()) SWIG_fail;
10097 }
10098 resultobj = PyInt_FromLong((long)result);
10099 return resultobj;
10100 fail:
10101 return NULL;
10102}
10103
10104
10105static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10106 PyObject *resultobj;
10107 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10108 int result;
10109 PyObject * obj0 = 0 ;
10110 char *kwnames[] = {
10111 (char *) "self", NULL
10112 };
10113
10114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
10115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10116 {
10117 PyThreadState* __tstate = wxPyBeginAllowThreads();
10118 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10119
10120 wxPyEndAllowThreads(__tstate);
10121 if (PyErr_Occurred()) SWIG_fail;
10122 }
10123 resultobj = PyInt_FromLong((long)result);
10124 return resultobj;
10125 fail:
10126 return NULL;
10127}
10128
10129
10130static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10131 PyObject *resultobj;
10132 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10133 int result;
10134 PyObject * obj0 = 0 ;
10135 char *kwnames[] = {
10136 (char *) "self", NULL
10137 };
10138
10139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
10140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10141 {
10142 PyThreadState* __tstate = wxPyBeginAllowThreads();
10143 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
10144
10145 wxPyEndAllowThreads(__tstate);
10146 if (PyErr_Occurred()) SWIG_fail;
10147 }
10148 resultobj = PyInt_FromLong((long)result);
10149 return resultobj;
10150 fail:
10151 return NULL;
10152}
10153
10154
10155static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10156 PyObject *resultobj;
10157 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10158 int arg2 ;
10159 PyObject * obj0 = 0 ;
10160 char *kwnames[] = {
10161 (char *) "self",(char *) "stick", NULL
10162 };
10163
10164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetJoystick",kwnames,&obj0,&arg2)) goto fail;
10165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10166 {
10167 PyThreadState* __tstate = wxPyBeginAllowThreads();
10168 (arg1)->SetJoystick(arg2);
10169
10170 wxPyEndAllowThreads(__tstate);
10171 if (PyErr_Occurred()) SWIG_fail;
10172 }
10173 Py_INCREF(Py_None); resultobj = Py_None;
10174 return resultobj;
10175 fail:
10176 return NULL;
10177}
10178
10179
10180static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10181 PyObject *resultobj;
10182 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10183 int arg2 ;
10184 PyObject * obj0 = 0 ;
10185 char *kwnames[] = {
10186 (char *) "self",(char *) "state", NULL
10187 };
10188
10189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonState",kwnames,&obj0,&arg2)) goto fail;
10190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10191 {
10192 PyThreadState* __tstate = wxPyBeginAllowThreads();
10193 (arg1)->SetButtonState(arg2);
10194
10195 wxPyEndAllowThreads(__tstate);
10196 if (PyErr_Occurred()) SWIG_fail;
10197 }
10198 Py_INCREF(Py_None); resultobj = Py_None;
10199 return resultobj;
10200 fail:
10201 return NULL;
10202}
10203
10204
10205static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10206 PyObject *resultobj;
10207 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10208 int arg2 ;
10209 PyObject * obj0 = 0 ;
10210 char *kwnames[] = {
10211 (char *) "self",(char *) "change", NULL
10212 };
10213
10214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames,&obj0,&arg2)) goto fail;
10215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10216 {
10217 PyThreadState* __tstate = wxPyBeginAllowThreads();
10218 (arg1)->SetButtonChange(arg2);
10219
10220 wxPyEndAllowThreads(__tstate);
10221 if (PyErr_Occurred()) SWIG_fail;
10222 }
10223 Py_INCREF(Py_None); resultobj = Py_None;
10224 return resultobj;
10225 fail:
10226 return NULL;
10227}
10228
10229
10230static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10231 PyObject *resultobj;
10232 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10233 wxPoint *arg2 = 0 ;
10234 wxPoint temp2 ;
10235 PyObject * obj0 = 0 ;
10236 PyObject * obj1 = 0 ;
10237 char *kwnames[] = {
10238 (char *) "self",(char *) "pos", NULL
10239 };
10240
10241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10243 {
10244 arg2 = &temp2;
10245 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10246 }
10247 {
10248 PyThreadState* __tstate = wxPyBeginAllowThreads();
10249 (arg1)->SetPosition((wxPoint const &)*arg2);
10250
10251 wxPyEndAllowThreads(__tstate);
10252 if (PyErr_Occurred()) SWIG_fail;
10253 }
10254 Py_INCREF(Py_None); resultobj = Py_None;
10255 return resultobj;
10256 fail:
10257 return NULL;
10258}
10259
10260
10261static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10262 PyObject *resultobj;
10263 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10264 int arg2 ;
10265 PyObject * obj0 = 0 ;
10266 char *kwnames[] = {
10267 (char *) "self",(char *) "zPos", NULL
10268 };
10269
10270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:JoystickEvent_SetZPosition",kwnames,&obj0,&arg2)) goto fail;
10271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10272 {
10273 PyThreadState* __tstate = wxPyBeginAllowThreads();
10274 (arg1)->SetZPosition(arg2);
10275
10276 wxPyEndAllowThreads(__tstate);
10277 if (PyErr_Occurred()) SWIG_fail;
10278 }
10279 Py_INCREF(Py_None); resultobj = Py_None;
10280 return resultobj;
10281 fail:
10282 return NULL;
10283}
10284
10285
10286static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10287 PyObject *resultobj;
10288 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10289 bool result;
10290 PyObject * obj0 = 0 ;
10291 char *kwnames[] = {
10292 (char *) "self", NULL
10293 };
10294
10295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
10296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10297 {
10298 PyThreadState* __tstate = wxPyBeginAllowThreads();
10299 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
10300
10301 wxPyEndAllowThreads(__tstate);
10302 if (PyErr_Occurred()) SWIG_fail;
10303 }
10304 resultobj = PyInt_FromLong((long)result);
10305 return resultobj;
10306 fail:
10307 return NULL;
10308}
10309
10310
10311static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10312 PyObject *resultobj;
10313 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10314 bool result;
10315 PyObject * obj0 = 0 ;
10316 char *kwnames[] = {
10317 (char *) "self", NULL
10318 };
10319
10320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
10321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10322 {
10323 PyThreadState* __tstate = wxPyBeginAllowThreads();
10324 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
10325
10326 wxPyEndAllowThreads(__tstate);
10327 if (PyErr_Occurred()) SWIG_fail;
10328 }
10329 resultobj = PyInt_FromLong((long)result);
10330 return resultobj;
10331 fail:
10332 return NULL;
10333}
10334
10335
10336static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10337 PyObject *resultobj;
10338 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10339 bool result;
10340 PyObject * obj0 = 0 ;
10341 char *kwnames[] = {
10342 (char *) "self", NULL
10343 };
10344
10345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
10346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10347 {
10348 PyThreadState* __tstate = wxPyBeginAllowThreads();
10349 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
10350
10351 wxPyEndAllowThreads(__tstate);
10352 if (PyErr_Occurred()) SWIG_fail;
10353 }
10354 resultobj = PyInt_FromLong((long)result);
10355 return resultobj;
10356 fail:
10357 return NULL;
10358}
10359
10360
10361static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10362 PyObject *resultobj;
10363 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10364 int arg2 = (int) wxJOY_BUTTON_ANY ;
10365 bool result;
10366 PyObject * obj0 = 0 ;
10367 char *kwnames[] = {
10368 (char *) "self",(char *) "but", NULL
10369 };
10370
10371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonDown",kwnames,&obj0,&arg2)) goto fail;
10372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10373 {
10374 PyThreadState* __tstate = wxPyBeginAllowThreads();
10375 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
10376
10377 wxPyEndAllowThreads(__tstate);
10378 if (PyErr_Occurred()) SWIG_fail;
10379 }
10380 resultobj = PyInt_FromLong((long)result);
10381 return resultobj;
10382 fail:
10383 return NULL;
10384}
10385
10386
10387static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
10388 PyObject *resultobj;
10389 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10390 int arg2 = (int) wxJOY_BUTTON_ANY ;
10391 bool result;
10392 PyObject * obj0 = 0 ;
10393 char *kwnames[] = {
10394 (char *) "self",(char *) "but", NULL
10395 };
10396
10397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonUp",kwnames,&obj0,&arg2)) goto fail;
10398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10399 {
10400 PyThreadState* __tstate = wxPyBeginAllowThreads();
10401 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
10402
10403 wxPyEndAllowThreads(__tstate);
10404 if (PyErr_Occurred()) SWIG_fail;
10405 }
10406 resultobj = PyInt_FromLong((long)result);
10407 return resultobj;
10408 fail:
10409 return NULL;
10410}
10411
10412
10413static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
10414 PyObject *resultobj;
10415 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10416 int arg2 = (int) wxJOY_BUTTON_ANY ;
10417 bool result;
10418 PyObject * obj0 = 0 ;
10419 char *kwnames[] = {
10420 (char *) "self",(char *) "but", NULL
10421 };
10422
10423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames,&obj0,&arg2)) goto fail;
10424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10425 {
10426 PyThreadState* __tstate = wxPyBeginAllowThreads();
10427 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
10428
10429 wxPyEndAllowThreads(__tstate);
10430 if (PyErr_Occurred()) SWIG_fail;
10431 }
10432 resultobj = PyInt_FromLong((long)result);
10433 return resultobj;
10434 fail:
10435 return NULL;
10436}
10437
10438
10439static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
10440 PyObject *obj;
10441 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10442 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
10443 Py_INCREF(obj);
10444 return Py_BuildValue((char *)"");
10445}
10446static PyObject *_wrap_new_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10447 PyObject *resultobj;
10448 wxString *arg1 = 0 ;
423f194a 10449 bool arg2 = (bool) False ;
d14a1e28 10450 wxWave *result;
423f194a 10451 bool temp1 = False ;
d14a1e28
RD
10452 PyObject * obj0 = 0 ;
10453 PyObject * obj1 = 0 ;
10454 char *kwnames[] = {
10455 (char *) "fileName",(char *) "isResource", NULL
10456 };
10457
10458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Wave",kwnames,&obj0,&obj1)) goto fail;
10459 {
10460 arg1 = wxString_in_helper(obj0);
10461 if (arg1 == NULL) SWIG_fail;
423f194a 10462 temp1 = True;
d14a1e28
RD
10463 }
10464 if (obj1) {
10465 arg2 = PyInt_AsLong(obj1) ? true : false;
10466 if (PyErr_Occurred()) SWIG_fail;
10467 }
10468 {
10469 PyThreadState* __tstate = wxPyBeginAllowThreads();
10470 result = (wxWave *)new wxWave((wxString const &)*arg1,arg2);
10471
10472 wxPyEndAllowThreads(__tstate);
10473 if (PyErr_Occurred()) SWIG_fail;
10474 }
10475 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10476 {
10477 if (temp1)
10478 delete arg1;
10479 }
10480 return resultobj;
10481 fail:
10482 {
10483 if (temp1)
10484 delete arg1;
10485 }
10486 return NULL;
10487}
10488
10489
10490static PyObject *_wrap_new_WaveData(PyObject *self, PyObject *args, PyObject *kwargs) {
10491 PyObject *resultobj;
10492 wxString *arg1 = 0 ;
10493 wxWave *result;
423f194a 10494 bool temp1 = False ;
d14a1e28
RD
10495 PyObject * obj0 = 0 ;
10496 char *kwnames[] = {
10497 (char *) "data", NULL
10498 };
10499
10500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_WaveData",kwnames,&obj0)) goto fail;
10501 {
10502 arg1 = wxString_in_helper(obj0);
10503 if (arg1 == NULL) SWIG_fail;
423f194a 10504 temp1 = True;
d14a1e28
RD
10505 }
10506 {
10507 PyThreadState* __tstate = wxPyBeginAllowThreads();
10508 result = (wxWave *)new_wxWave((wxString const &)*arg1);
10509
10510 wxPyEndAllowThreads(__tstate);
10511 if (PyErr_Occurred()) SWIG_fail;
10512 }
10513 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
10514 {
10515 if (temp1)
10516 delete arg1;
10517 }
10518 return resultobj;
10519 fail:
10520 {
10521 if (temp1)
10522 delete arg1;
10523 }
10524 return NULL;
10525}
10526
10527
10528static PyObject *_wrap_delete_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
10529 PyObject *resultobj;
10530 wxWave *arg1 = (wxWave *) 0 ;
10531 PyObject * obj0 = 0 ;
10532 char *kwnames[] = {
10533 (char *) "self", NULL
10534 };
10535
10536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Wave",kwnames,&obj0)) goto fail;
10537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10538 {
10539 PyThreadState* __tstate = wxPyBeginAllowThreads();
10540 delete arg1;
10541
10542 wxPyEndAllowThreads(__tstate);
10543 if (PyErr_Occurred()) SWIG_fail;
10544 }
10545 Py_INCREF(Py_None); resultobj = Py_None;
10546 return resultobj;
10547 fail:
10548 return NULL;
10549}
10550
10551
10552static PyObject *_wrap_Wave_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10553 PyObject *resultobj;
10554 wxWave *arg1 = (wxWave *) 0 ;
10555 bool result;
10556 PyObject * obj0 = 0 ;
10557 char *kwnames[] = {
10558 (char *) "self", NULL
10559 };
10560
10561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wave_IsOk",kwnames,&obj0)) goto fail;
10562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10563 {
10564 PyThreadState* __tstate = wxPyBeginAllowThreads();
10565 result = (bool)((wxWave const *)arg1)->IsOk();
10566
10567 wxPyEndAllowThreads(__tstate);
10568 if (PyErr_Occurred()) SWIG_fail;
10569 }
10570 resultobj = PyInt_FromLong((long)result);
10571 return resultobj;
10572 fail:
10573 return NULL;
10574}
10575
10576
10577static PyObject *_wrap_Wave_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
10578 PyObject *resultobj;
10579 wxWave *arg1 = (wxWave *) 0 ;
423f194a
RD
10580 bool arg2 = (bool) True ;
10581 bool arg3 = (bool) False ;
d14a1e28
RD
10582 bool result;
10583 PyObject * obj0 = 0 ;
10584 PyObject * obj1 = 0 ;
10585 PyObject * obj2 = 0 ;
10586 char *kwnames[] = {
10587 (char *) "self",(char *) "async",(char *) "looped", NULL
10588 };
10589
10590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Wave_Play",kwnames,&obj0,&obj1,&obj2)) goto fail;
10591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10592 if (obj1) {
10593 arg2 = PyInt_AsLong(obj1) ? true : false;
10594 if (PyErr_Occurred()) SWIG_fail;
10595 }
10596 if (obj2) {
10597 arg3 = PyInt_AsLong(obj2) ? true : false;
10598 if (PyErr_Occurred()) SWIG_fail;
10599 }
10600 {
10601 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 10602 result = (bool)(arg1)->Play(arg2,arg3);
d14a1e28
RD
10603
10604 wxPyEndAllowThreads(__tstate);
10605 if (PyErr_Occurred()) SWIG_fail;
10606 }
10607 resultobj = PyInt_FromLong((long)result);
10608 return resultobj;
10609 fail:
10610 return NULL;
10611}
10612
10613
10614static PyObject * Wave_swigregister(PyObject *self, PyObject *args) {
10615 PyObject *obj;
10616 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10617 SWIG_TypeClientData(SWIGTYPE_p_wxWave, obj);
10618 Py_INCREF(obj);
10619 return Py_BuildValue((char *)"");
10620}
10621static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10622 PyObject *resultobj;
10623 wxString *arg1 = 0 ;
10624 wxString *arg2 = 0 ;
10625 wxString *arg3 = 0 ;
10626 wxString *arg4 = 0 ;
10627 wxFileTypeInfo *result;
423f194a
RD
10628 bool temp1 = False ;
10629 bool temp2 = False ;
10630 bool temp3 = False ;
10631 bool temp4 = False ;
d14a1e28
RD
10632 PyObject * obj0 = 0 ;
10633 PyObject * obj1 = 0 ;
10634 PyObject * obj2 = 0 ;
10635 PyObject * obj3 = 0 ;
10636 char *kwnames[] = {
10637 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10638 };
10639
10640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10641 {
10642 arg1 = wxString_in_helper(obj0);
10643 if (arg1 == NULL) SWIG_fail;
423f194a 10644 temp1 = True;
d14a1e28
RD
10645 }
10646 {
10647 arg2 = wxString_in_helper(obj1);
10648 if (arg2 == NULL) SWIG_fail;
423f194a 10649 temp2 = True;
d14a1e28
RD
10650 }
10651 {
10652 arg3 = wxString_in_helper(obj2);
10653 if (arg3 == NULL) SWIG_fail;
423f194a 10654 temp3 = True;
d14a1e28
RD
10655 }
10656 {
10657 arg4 = wxString_in_helper(obj3);
10658 if (arg4 == NULL) SWIG_fail;
423f194a 10659 temp4 = True;
d14a1e28
RD
10660 }
10661 {
10662 PyThreadState* __tstate = wxPyBeginAllowThreads();
10663 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10664
10665 wxPyEndAllowThreads(__tstate);
10666 if (PyErr_Occurred()) SWIG_fail;
10667 }
10668 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10669 {
10670 if (temp1)
10671 delete arg1;
10672 }
10673 {
10674 if (temp2)
10675 delete arg2;
10676 }
10677 {
10678 if (temp3)
10679 delete arg3;
10680 }
10681 {
10682 if (temp4)
10683 delete arg4;
10684 }
10685 return resultobj;
10686 fail:
10687 {
10688 if (temp1)
10689 delete arg1;
10690 }
10691 {
10692 if (temp2)
10693 delete arg2;
10694 }
10695 {
10696 if (temp3)
10697 delete arg3;
10698 }
10699 {
10700 if (temp4)
10701 delete arg4;
10702 }
10703 return NULL;
10704}
10705
10706
10707static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
10708 PyObject *resultobj;
10709 wxArrayString *arg1 = 0 ;
10710 wxFileTypeInfo *result;
10711 PyObject * obj0 = 0 ;
10712 char *kwnames[] = {
10713 (char *) "sArray", NULL
10714 };
10715
10716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
10717 {
10718 if (! PySequence_Check(obj0)) {
10719 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10720 SWIG_fail;
10721 }
10722 arg1 = new wxArrayString;
10723 int i, len=PySequence_Length(obj0);
10724 for (i=0; i<len; i++) {
10725 PyObject* item = PySequence_GetItem(obj0, i);
10726#if wxUSE_UNICODE
10727 PyObject* str = PyObject_Unicode(item);
10728#else
10729 PyObject* str = PyObject_Str(item);
10730#endif
10731 arg1->Add(Py2wxString(str));
10732 Py_DECREF(item);
10733 Py_DECREF(str);
10734 }
10735 }
10736 {
10737 PyThreadState* __tstate = wxPyBeginAllowThreads();
10738 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
10739
10740 wxPyEndAllowThreads(__tstate);
10741 if (PyErr_Occurred()) SWIG_fail;
10742 }
10743 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10744 {
10745 if (arg1) delete arg1;
10746 }
10747 return resultobj;
10748 fail:
10749 {
10750 if (arg1) delete arg1;
10751 }
10752 return NULL;
10753}
10754
10755
10756static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10757 PyObject *resultobj;
10758 wxFileTypeInfo *result;
10759 char *kwnames[] = {
10760 NULL
10761 };
10762
10763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
10764 {
10765 PyThreadState* __tstate = wxPyBeginAllowThreads();
10766 result = (wxFileTypeInfo *)new wxFileTypeInfo();
10767
10768 wxPyEndAllowThreads(__tstate);
10769 if (PyErr_Occurred()) SWIG_fail;
10770 }
10771 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
10772 return resultobj;
10773 fail:
10774 return NULL;
10775}
10776
10777
10778static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
10779 PyObject *resultobj;
10780 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10781 bool result;
10782 PyObject * obj0 = 0 ;
10783 char *kwnames[] = {
10784 (char *) "self", NULL
10785 };
10786
10787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
10788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10789 {
10790 PyThreadState* __tstate = wxPyBeginAllowThreads();
10791 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
10792
10793 wxPyEndAllowThreads(__tstate);
10794 if (PyErr_Occurred()) SWIG_fail;
10795 }
10796 resultobj = PyInt_FromLong((long)result);
10797 return resultobj;
10798 fail:
10799 return NULL;
10800}
10801
10802
10803static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10804 PyObject *resultobj;
10805 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10806 wxString *arg2 = 0 ;
10807 int arg3 = (int) 0 ;
423f194a 10808 bool temp2 = False ;
d14a1e28
RD
10809 PyObject * obj0 = 0 ;
10810 PyObject * obj1 = 0 ;
10811 char *kwnames[] = {
10812 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
10813 };
10814
10815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
10816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10817 {
10818 arg2 = wxString_in_helper(obj1);
10819 if (arg2 == NULL) SWIG_fail;
423f194a 10820 temp2 = True;
d14a1e28
RD
10821 }
10822 {
10823 PyThreadState* __tstate = wxPyBeginAllowThreads();
10824 (arg1)->SetIcon((wxString const &)*arg2,arg3);
10825
10826 wxPyEndAllowThreads(__tstate);
10827 if (PyErr_Occurred()) SWIG_fail;
10828 }
10829 Py_INCREF(Py_None); resultobj = Py_None;
10830 {
10831 if (temp2)
10832 delete arg2;
10833 }
10834 return resultobj;
10835 fail:
10836 {
10837 if (temp2)
10838 delete arg2;
10839 }
10840 return NULL;
10841}
10842
10843
10844static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10845 PyObject *resultobj;
10846 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10847 wxString *arg2 = 0 ;
423f194a 10848 bool temp2 = False ;
d14a1e28
RD
10849 PyObject * obj0 = 0 ;
10850 PyObject * obj1 = 0 ;
10851 char *kwnames[] = {
10852 (char *) "self",(char *) "shortDesc", NULL
10853 };
10854
10855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
10856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10857 {
10858 arg2 = wxString_in_helper(obj1);
10859 if (arg2 == NULL) SWIG_fail;
423f194a 10860 temp2 = True;
d14a1e28
RD
10861 }
10862 {
10863 PyThreadState* __tstate = wxPyBeginAllowThreads();
10864 (arg1)->SetShortDesc((wxString const &)*arg2);
10865
10866 wxPyEndAllowThreads(__tstate);
10867 if (PyErr_Occurred()) SWIG_fail;
10868 }
10869 Py_INCREF(Py_None); resultobj = Py_None;
10870 {
10871 if (temp2)
10872 delete arg2;
10873 }
10874 return resultobj;
10875 fail:
10876 {
10877 if (temp2)
10878 delete arg2;
10879 }
10880 return NULL;
10881}
10882
10883
10884static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
10885 PyObject *resultobj;
10886 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10887 wxString *result;
10888 PyObject * obj0 = 0 ;
10889 char *kwnames[] = {
10890 (char *) "self", NULL
10891 };
10892
10893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
10894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10895 {
10896 PyThreadState* __tstate = wxPyBeginAllowThreads();
10897 {
10898 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
10899 result = (wxString *) &_result_ref;
10900 }
10901
10902 wxPyEndAllowThreads(__tstate);
10903 if (PyErr_Occurred()) SWIG_fail;
10904 }
f0983263
RD
10905 {
10906#if wxUSE_UNICODE
10907 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10908#else
10909 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10910#endif
10911 }
d14a1e28
RD
10912 return resultobj;
10913 fail:
10914 return NULL;
10915}
10916
10917
10918static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10919 PyObject *resultobj;
10920 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10921 wxString *result;
10922 PyObject * obj0 = 0 ;
10923 char *kwnames[] = {
10924 (char *) "self", NULL
10925 };
10926
10927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
10928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10929 {
10930 PyThreadState* __tstate = wxPyBeginAllowThreads();
10931 {
10932 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
10933 result = (wxString *) &_result_ref;
10934 }
10935
10936 wxPyEndAllowThreads(__tstate);
10937 if (PyErr_Occurred()) SWIG_fail;
10938 }
f0983263
RD
10939 {
10940#if wxUSE_UNICODE
10941 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10942#else
10943 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10944#endif
10945 }
d14a1e28
RD
10946 return resultobj;
10947 fail:
10948 return NULL;
10949}
10950
10951
10952static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
10953 PyObject *resultobj;
10954 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10955 wxString *result;
10956 PyObject * obj0 = 0 ;
10957 char *kwnames[] = {
10958 (char *) "self", NULL
10959 };
10960
10961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
10962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10963 {
10964 PyThreadState* __tstate = wxPyBeginAllowThreads();
10965 {
10966 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
10967 result = (wxString *) &_result_ref;
10968 }
10969
10970 wxPyEndAllowThreads(__tstate);
10971 if (PyErr_Occurred()) SWIG_fail;
10972 }
f0983263
RD
10973 {
10974#if wxUSE_UNICODE
10975 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10976#else
10977 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10978#endif
10979 }
d14a1e28
RD
10980 return resultobj;
10981 fail:
10982 return NULL;
10983}
10984
10985
10986static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
10987 PyObject *resultobj;
10988 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
10989 wxString *result;
10990 PyObject * obj0 = 0 ;
10991 char *kwnames[] = {
10992 (char *) "self", NULL
10993 };
10994
10995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
10996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10997 {
10998 PyThreadState* __tstate = wxPyBeginAllowThreads();
10999 {
11000 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
11001 result = (wxString *) &_result_ref;
11002 }
11003
11004 wxPyEndAllowThreads(__tstate);
11005 if (PyErr_Occurred()) SWIG_fail;
11006 }
f0983263
RD
11007 {
11008#if wxUSE_UNICODE
11009 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11010#else
11011 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11012#endif
11013 }
d14a1e28
RD
11014 return resultobj;
11015 fail:
11016 return NULL;
11017}
11018
11019
11020static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11021 PyObject *resultobj;
11022 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11023 wxString *result;
11024 PyObject * obj0 = 0 ;
11025 char *kwnames[] = {
11026 (char *) "self", NULL
11027 };
11028
11029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
11030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11031 {
11032 PyThreadState* __tstate = wxPyBeginAllowThreads();
11033 {
11034 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
11035 result = (wxString *) &_result_ref;
11036 }
11037
11038 wxPyEndAllowThreads(__tstate);
11039 if (PyErr_Occurred()) SWIG_fail;
11040 }
f0983263
RD
11041 {
11042#if wxUSE_UNICODE
11043 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11044#else
11045 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11046#endif
11047 }
d14a1e28
RD
11048 return resultobj;
11049 fail:
11050 return NULL;
11051}
11052
11053
11054static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11055 PyObject *resultobj;
11056 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11057 wxArrayString *result;
11058 PyObject * obj0 = 0 ;
11059 char *kwnames[] = {
11060 (char *) "self", NULL
11061 };
11062
11063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
11064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11065 {
11066 PyThreadState* __tstate = wxPyBeginAllowThreads();
11067 {
11068 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
11069 result = (wxArrayString *) &_result_ref;
11070 }
11071
11072 wxPyEndAllowThreads(__tstate);
11073 if (PyErr_Occurred()) SWIG_fail;
11074 }
11075 {
11076 resultobj = wxArrayString2PyList_helper(*result);
11077 }
11078 return resultobj;
11079 fail:
11080 return NULL;
11081}
11082
11083
11084static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11085 PyObject *resultobj;
11086 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11087 int result;
11088 PyObject * obj0 = 0 ;
11089 char *kwnames[] = {
11090 (char *) "self", NULL
11091 };
11092
11093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
11094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11095 {
11096 PyThreadState* __tstate = wxPyBeginAllowThreads();
11097 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
11098
11099 wxPyEndAllowThreads(__tstate);
11100 if (PyErr_Occurred()) SWIG_fail;
11101 }
11102 resultobj = PyInt_FromLong((long)result);
11103 return resultobj;
11104 fail:
11105 return NULL;
11106}
11107
11108
11109static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
11110 PyObject *resultobj;
11111 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11112 wxString *result;
11113 PyObject * obj0 = 0 ;
11114 char *kwnames[] = {
11115 (char *) "self", NULL
11116 };
11117
11118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
11119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11120 {
11121 PyThreadState* __tstate = wxPyBeginAllowThreads();
11122 {
11123 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
11124 result = (wxString *) &_result_ref;
11125 }
11126
11127 wxPyEndAllowThreads(__tstate);
11128 if (PyErr_Occurred()) SWIG_fail;
11129 }
f0983263
RD
11130 {
11131#if wxUSE_UNICODE
11132 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11133#else
11134 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11135#endif
11136 }
d14a1e28
RD
11137 return resultobj;
11138 fail:
11139 return NULL;
11140}
11141
11142
11143static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11144 PyObject *resultobj;
11145 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11146 int result;
11147 PyObject * obj0 = 0 ;
11148 char *kwnames[] = {
11149 (char *) "self", NULL
11150 };
11151
11152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
11153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11154 {
11155 PyThreadState* __tstate = wxPyBeginAllowThreads();
11156 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
11157
11158 wxPyEndAllowThreads(__tstate);
11159 if (PyErr_Occurred()) SWIG_fail;
11160 }
11161 resultobj = PyInt_FromLong((long)result);
11162 return resultobj;
11163 fail:
11164 return NULL;
11165}
11166
11167
11168static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
11169 PyObject *obj;
11170 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11171 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
11172 Py_INCREF(obj);
11173 return Py_BuildValue((char *)"");
11174}
11175static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11176 PyObject *resultobj;
11177 wxFileTypeInfo *arg1 = 0 ;
11178 wxFileType *result;
11179 PyObject * obj0 = 0 ;
11180 char *kwnames[] = {
11181 (char *) "ftInfo", NULL
11182 };
11183
11184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
11185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11186 if (arg1 == NULL) {
11187 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11188 }
11189 {
11190 PyThreadState* __tstate = wxPyBeginAllowThreads();
11191 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
11192
11193 wxPyEndAllowThreads(__tstate);
11194 if (PyErr_Occurred()) SWIG_fail;
11195 }
11196 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11197 return resultobj;
11198 fail:
11199 return NULL;
11200}
11201
11202
11203static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11204 PyObject *resultobj;
11205 wxFileType *arg1 = (wxFileType *) 0 ;
11206 PyObject * obj0 = 0 ;
11207 char *kwnames[] = {
11208 (char *) "self", NULL
11209 };
11210
11211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
11212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11213 {
11214 PyThreadState* __tstate = wxPyBeginAllowThreads();
11215 delete arg1;
11216
11217 wxPyEndAllowThreads(__tstate);
11218 if (PyErr_Occurred()) SWIG_fail;
11219 }
11220 Py_INCREF(Py_None); resultobj = Py_None;
11221 return resultobj;
11222 fail:
11223 return NULL;
11224}
11225
11226
11227static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11228 PyObject *resultobj;
11229 wxFileType *arg1 = (wxFileType *) 0 ;
11230 PyObject *result;
11231 PyObject * obj0 = 0 ;
11232 char *kwnames[] = {
11233 (char *) "self", NULL
11234 };
11235
11236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
11237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11238 {
11239 PyThreadState* __tstate = wxPyBeginAllowThreads();
11240 result = (PyObject *)wxFileType_GetMimeType(arg1);
11241
11242 wxPyEndAllowThreads(__tstate);
11243 if (PyErr_Occurred()) SWIG_fail;
11244 }
11245 resultobj = result;
11246 return resultobj;
11247 fail:
11248 return NULL;
11249}
11250
11251
11252static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11253 PyObject *resultobj;
11254 wxFileType *arg1 = (wxFileType *) 0 ;
11255 PyObject *result;
11256 PyObject * obj0 = 0 ;
11257 char *kwnames[] = {
11258 (char *) "self", NULL
11259 };
11260
11261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
11262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11263 {
11264 PyThreadState* __tstate = wxPyBeginAllowThreads();
11265 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
11266
11267 wxPyEndAllowThreads(__tstate);
11268 if (PyErr_Occurred()) SWIG_fail;
11269 }
11270 resultobj = result;
11271 return resultobj;
11272 fail:
11273 return NULL;
11274}
11275
11276
11277static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11278 PyObject *resultobj;
11279 wxFileType *arg1 = (wxFileType *) 0 ;
11280 PyObject *result;
11281 PyObject * obj0 = 0 ;
11282 char *kwnames[] = {
11283 (char *) "self", NULL
11284 };
11285
11286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
11287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11288 {
11289 PyThreadState* __tstate = wxPyBeginAllowThreads();
11290 result = (PyObject *)wxFileType_GetExtensions(arg1);
11291
11292 wxPyEndAllowThreads(__tstate);
11293 if (PyErr_Occurred()) SWIG_fail;
11294 }
11295 resultobj = result;
11296 return resultobj;
11297 fail:
11298 return NULL;
11299}
11300
11301
11302static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11303 PyObject *resultobj;
11304 wxFileType *arg1 = (wxFileType *) 0 ;
11305 wxIcon *result;
11306 PyObject * obj0 = 0 ;
11307 char *kwnames[] = {
11308 (char *) "self", NULL
11309 };
11310
11311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
11312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11313 {
11314 PyThreadState* __tstate = wxPyBeginAllowThreads();
11315 result = (wxIcon *)wxFileType_GetIcon(arg1);
11316
11317 wxPyEndAllowThreads(__tstate);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIcon, 1);
11321 return resultobj;
11322 fail:
11323 return NULL;
11324}
11325
11326
11327static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11328 PyObject *resultobj;
11329 wxFileType *arg1 = (wxFileType *) 0 ;
11330 PyObject *result;
11331 PyObject * obj0 = 0 ;
11332 char *kwnames[] = {
11333 (char *) "self", NULL
11334 };
11335
11336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
11337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11338 {
11339 PyThreadState* __tstate = wxPyBeginAllowThreads();
11340 result = (PyObject *)wxFileType_GetIconInfo(arg1);
11341
11342 wxPyEndAllowThreads(__tstate);
11343 if (PyErr_Occurred()) SWIG_fail;
11344 }
11345 resultobj = result;
11346 return resultobj;
11347 fail:
11348 return NULL;
11349}
11350
11351
11352static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11353 PyObject *resultobj;
11354 wxFileType *arg1 = (wxFileType *) 0 ;
11355 PyObject *result;
11356 PyObject * obj0 = 0 ;
11357 char *kwnames[] = {
11358 (char *) "self", NULL
11359 };
11360
11361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
11362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11363 {
11364 PyThreadState* __tstate = wxPyBeginAllowThreads();
11365 result = (PyObject *)wxFileType_GetDescription(arg1);
11366
11367 wxPyEndAllowThreads(__tstate);
11368 if (PyErr_Occurred()) SWIG_fail;
11369 }
11370 resultobj = result;
11371 return resultobj;
11372 fail:
11373 return NULL;
11374}
11375
11376
11377static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11378 PyObject *resultobj;
11379 wxFileType *arg1 = (wxFileType *) 0 ;
11380 wxString *arg2 = 0 ;
11381 wxString const &arg3_defvalue = wxPyEmptyString ;
11382 wxString *arg3 = (wxString *) &arg3_defvalue ;
11383 PyObject *result;
423f194a
RD
11384 bool temp2 = False ;
11385 bool temp3 = False ;
d14a1e28
RD
11386 PyObject * obj0 = 0 ;
11387 PyObject * obj1 = 0 ;
11388 PyObject * obj2 = 0 ;
11389 char *kwnames[] = {
11390 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11391 };
11392
11393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11395 {
11396 arg2 = wxString_in_helper(obj1);
11397 if (arg2 == NULL) SWIG_fail;
423f194a 11398 temp2 = True;
d14a1e28
RD
11399 }
11400 if (obj2) {
11401 {
11402 arg3 = wxString_in_helper(obj2);
11403 if (arg3 == NULL) SWIG_fail;
423f194a 11404 temp3 = True;
d14a1e28
RD
11405 }
11406 }
11407 {
11408 PyThreadState* __tstate = wxPyBeginAllowThreads();
11409 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11410
11411 wxPyEndAllowThreads(__tstate);
11412 if (PyErr_Occurred()) SWIG_fail;
11413 }
11414 resultobj = result;
11415 {
11416 if (temp2)
11417 delete arg2;
11418 }
11419 {
11420 if (temp3)
11421 delete arg3;
11422 }
11423 return resultobj;
11424 fail:
11425 {
11426 if (temp2)
11427 delete arg2;
11428 }
11429 {
11430 if (temp3)
11431 delete arg3;
11432 }
11433 return NULL;
11434}
11435
11436
11437static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11438 PyObject *resultobj;
11439 wxFileType *arg1 = (wxFileType *) 0 ;
11440 wxString *arg2 = 0 ;
11441 wxString const &arg3_defvalue = wxPyEmptyString ;
11442 wxString *arg3 = (wxString *) &arg3_defvalue ;
11443 PyObject *result;
423f194a
RD
11444 bool temp2 = False ;
11445 bool temp3 = False ;
d14a1e28
RD
11446 PyObject * obj0 = 0 ;
11447 PyObject * obj1 = 0 ;
11448 PyObject * obj2 = 0 ;
11449 char *kwnames[] = {
11450 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11451 };
11452
11453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11455 {
11456 arg2 = wxString_in_helper(obj1);
11457 if (arg2 == NULL) SWIG_fail;
423f194a 11458 temp2 = True;
d14a1e28
RD
11459 }
11460 if (obj2) {
11461 {
11462 arg3 = wxString_in_helper(obj2);
11463 if (arg3 == NULL) SWIG_fail;
423f194a 11464 temp3 = True;
d14a1e28
RD
11465 }
11466 }
11467 {
11468 PyThreadState* __tstate = wxPyBeginAllowThreads();
11469 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11470
11471 wxPyEndAllowThreads(__tstate);
11472 if (PyErr_Occurred()) SWIG_fail;
11473 }
11474 resultobj = result;
11475 {
11476 if (temp2)
11477 delete arg2;
11478 }
11479 {
11480 if (temp3)
11481 delete arg3;
11482 }
11483 return resultobj;
11484 fail:
11485 {
11486 if (temp2)
11487 delete arg2;
11488 }
11489 {
11490 if (temp3)
11491 delete arg3;
11492 }
11493 return NULL;
11494}
11495
11496
11497static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
11498 PyObject *resultobj;
11499 wxFileType *arg1 = (wxFileType *) 0 ;
11500 wxString *arg2 = 0 ;
11501 wxString const &arg3_defvalue = wxPyEmptyString ;
11502 wxString *arg3 = (wxString *) &arg3_defvalue ;
11503 PyObject *result;
423f194a
RD
11504 bool temp2 = False ;
11505 bool temp3 = False ;
d14a1e28
RD
11506 PyObject * obj0 = 0 ;
11507 PyObject * obj1 = 0 ;
11508 PyObject * obj2 = 0 ;
11509 char *kwnames[] = {
11510 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11511 };
11512
11513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
11514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11515 {
11516 arg2 = wxString_in_helper(obj1);
11517 if (arg2 == NULL) SWIG_fail;
423f194a 11518 temp2 = True;
d14a1e28
RD
11519 }
11520 if (obj2) {
11521 {
11522 arg3 = wxString_in_helper(obj2);
11523 if (arg3 == NULL) SWIG_fail;
423f194a 11524 temp3 = True;
d14a1e28
RD
11525 }
11526 }
11527 {
11528 PyThreadState* __tstate = wxPyBeginAllowThreads();
11529 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11530
11531 wxPyEndAllowThreads(__tstate);
11532 if (PyErr_Occurred()) SWIG_fail;
11533 }
11534 resultobj = result;
11535 {
11536 if (temp2)
11537 delete arg2;
11538 }
11539 {
11540 if (temp3)
11541 delete arg3;
11542 }
11543 return resultobj;
11544 fail:
11545 {
11546 if (temp2)
11547 delete arg2;
11548 }
11549 {
11550 if (temp3)
11551 delete arg3;
11552 }
11553 return NULL;
11554}
11555
11556
11557static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11558 PyObject *resultobj;
11559 wxFileType *arg1 = (wxFileType *) 0 ;
11560 wxString *arg2 = 0 ;
11561 wxString *arg3 = 0 ;
423f194a 11562 bool arg4 = (bool) True ;
d14a1e28 11563 bool result;
423f194a
RD
11564 bool temp2 = False ;
11565 bool temp3 = False ;
d14a1e28
RD
11566 PyObject * obj0 = 0 ;
11567 PyObject * obj1 = 0 ;
11568 PyObject * obj2 = 0 ;
11569 PyObject * obj3 = 0 ;
11570 char *kwnames[] = {
11571 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11572 };
11573
11574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11576 {
11577 arg2 = wxString_in_helper(obj1);
11578 if (arg2 == NULL) SWIG_fail;
423f194a 11579 temp2 = True;
d14a1e28
RD
11580 }
11581 {
11582 arg3 = wxString_in_helper(obj2);
11583 if (arg3 == NULL) SWIG_fail;
423f194a 11584 temp3 = True;
d14a1e28
RD
11585 }
11586 if (obj3) {
11587 arg4 = PyInt_AsLong(obj3) ? true : false;
11588 if (PyErr_Occurred()) SWIG_fail;
11589 }
11590 {
11591 PyThreadState* __tstate = wxPyBeginAllowThreads();
11592 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11593
11594 wxPyEndAllowThreads(__tstate);
11595 if (PyErr_Occurred()) SWIG_fail;
11596 }
11597 resultobj = PyInt_FromLong((long)result);
11598 {
11599 if (temp2)
11600 delete arg2;
11601 }
11602 {
11603 if (temp3)
11604 delete arg3;
11605 }
11606 return resultobj;
11607 fail:
11608 {
11609 if (temp2)
11610 delete arg2;
11611 }
11612 {
11613 if (temp3)
11614 delete arg3;
11615 }
11616 return NULL;
11617}
11618
11619
11620static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11621 PyObject *resultobj;
11622 wxFileType *arg1 = (wxFileType *) 0 ;
11623 wxString const &arg2_defvalue = wxPyEmptyString ;
11624 wxString *arg2 = (wxString *) &arg2_defvalue ;
11625 int arg3 = (int) 0 ;
11626 bool result;
423f194a 11627 bool temp2 = False ;
d14a1e28
RD
11628 PyObject * obj0 = 0 ;
11629 PyObject * obj1 = 0 ;
11630 char *kwnames[] = {
11631 (char *) "self",(char *) "cmd",(char *) "index", NULL
11632 };
11633
11634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&arg3)) goto fail;
11635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11636 if (obj1) {
11637 {
11638 arg2 = wxString_in_helper(obj1);
11639 if (arg2 == NULL) SWIG_fail;
423f194a 11640 temp2 = True;
d14a1e28
RD
11641 }
11642 }
11643 {
11644 PyThreadState* __tstate = wxPyBeginAllowThreads();
11645 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
11646
11647 wxPyEndAllowThreads(__tstate);
11648 if (PyErr_Occurred()) SWIG_fail;
11649 }
11650 resultobj = PyInt_FromLong((long)result);
11651 {
11652 if (temp2)
11653 delete arg2;
11654 }
11655 return resultobj;
11656 fail:
11657 {
11658 if (temp2)
11659 delete arg2;
11660 }
11661 return NULL;
11662}
11663
11664
11665static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
11666 PyObject *resultobj;
11667 wxFileType *arg1 = (wxFileType *) 0 ;
11668 bool result;
11669 PyObject * obj0 = 0 ;
11670 char *kwnames[] = {
11671 (char *) "self", NULL
11672 };
11673
11674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
11675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11676 {
11677 PyThreadState* __tstate = wxPyBeginAllowThreads();
11678 result = (bool)(arg1)->Unassociate();
11679
11680 wxPyEndAllowThreads(__tstate);
11681 if (PyErr_Occurred()) SWIG_fail;
11682 }
11683 resultobj = PyInt_FromLong((long)result);
11684 return resultobj;
11685 fail:
11686 return NULL;
11687}
11688
11689
11690static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11691 PyObject *resultobj;
11692 wxString *arg1 = 0 ;
11693 wxString *arg2 = 0 ;
11694 wxString const &arg3_defvalue = wxPyEmptyString ;
11695 wxString *arg3 = (wxString *) &arg3_defvalue ;
11696 wxString result;
423f194a
RD
11697 bool temp1 = False ;
11698 bool temp2 = False ;
11699 bool temp3 = False ;
d14a1e28
RD
11700 PyObject * obj0 = 0 ;
11701 PyObject * obj1 = 0 ;
11702 PyObject * obj2 = 0 ;
11703 char *kwnames[] = {
11704 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11705 };
11706
11707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
11708 {
11709 arg1 = wxString_in_helper(obj0);
11710 if (arg1 == NULL) SWIG_fail;
423f194a 11711 temp1 = True;
d14a1e28
RD
11712 }
11713 {
11714 arg2 = wxString_in_helper(obj1);
11715 if (arg2 == NULL) SWIG_fail;
423f194a 11716 temp2 = True;
d14a1e28
RD
11717 }
11718 if (obj2) {
11719 {
11720 arg3 = wxString_in_helper(obj2);
11721 if (arg3 == NULL) SWIG_fail;
423f194a 11722 temp3 = True;
d14a1e28
RD
11723 }
11724 }
11725 {
11726 PyThreadState* __tstate = wxPyBeginAllowThreads();
11727 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
11728
11729 wxPyEndAllowThreads(__tstate);
11730 if (PyErr_Occurred()) SWIG_fail;
11731 }
11732 {
11733#if wxUSE_UNICODE
11734 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11735#else
11736 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11737#endif
11738 }
11739 {
11740 if (temp1)
11741 delete arg1;
11742 }
11743 {
11744 if (temp2)
11745 delete arg2;
11746 }
11747 {
11748 if (temp3)
11749 delete arg3;
11750 }
11751 return resultobj;
11752 fail:
11753 {
11754 if (temp1)
11755 delete arg1;
11756 }
11757 {
11758 if (temp2)
11759 delete arg2;
11760 }
11761 {
11762 if (temp3)
11763 delete arg3;
11764 }
11765 return NULL;
11766}
11767
11768
11769static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
11770 PyObject *obj;
11771 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11772 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
11773 Py_INCREF(obj);
11774 return Py_BuildValue((char *)"");
11775}
11776static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
11777 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
11778 return 1;
11779}
11780
11781
11782static PyObject *_wrap_TheMimeTypesManager_get() {
11783 PyObject *pyobj;
11784
11785 pyobj = SWIG_NewPointerObj((void *) wxTheMimeTypesManager, SWIGTYPE_p_wxMimeTypesManager, 0);
11786 return pyobj;
11787}
11788
11789
11790static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
11791 PyObject *resultobj;
11792 wxString *arg1 = 0 ;
11793 wxString *arg2 = 0 ;
11794 bool result;
423f194a
RD
11795 bool temp1 = False ;
11796 bool temp2 = False ;
d14a1e28
RD
11797 PyObject * obj0 = 0 ;
11798 PyObject * obj1 = 0 ;
11799 char *kwnames[] = {
11800 (char *) "mimeType",(char *) "wildcard", NULL
11801 };
11802
11803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
11804 {
11805 arg1 = wxString_in_helper(obj0);
11806 if (arg1 == NULL) SWIG_fail;
423f194a 11807 temp1 = True;
d14a1e28
RD
11808 }
11809 {
11810 arg2 = wxString_in_helper(obj1);
11811 if (arg2 == NULL) SWIG_fail;
423f194a 11812 temp2 = True;
d14a1e28
RD
11813 }
11814 {
11815 PyThreadState* __tstate = wxPyBeginAllowThreads();
11816 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
11817
11818 wxPyEndAllowThreads(__tstate);
11819 if (PyErr_Occurred()) SWIG_fail;
11820 }
11821 resultobj = PyInt_FromLong((long)result);
11822 {
11823 if (temp1)
11824 delete arg1;
11825 }
11826 {
11827 if (temp2)
11828 delete arg2;
11829 }
11830 return resultobj;
11831 fail:
11832 {
11833 if (temp1)
11834 delete arg1;
11835 }
11836 {
11837 if (temp2)
11838 delete arg2;
11839 }
11840 return NULL;
11841}
11842
11843
11844static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
11845 PyObject *resultobj;
11846 wxMimeTypesManager *result;
11847 char *kwnames[] = {
11848 NULL
11849 };
11850
11851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
11852 {
11853 PyThreadState* __tstate = wxPyBeginAllowThreads();
11854 result = (wxMimeTypesManager *)new wxMimeTypesManager();
11855
11856 wxPyEndAllowThreads(__tstate);
11857 if (PyErr_Occurred()) SWIG_fail;
11858 }
11859 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMimeTypesManager, 1);
11860 return resultobj;
11861 fail:
11862 return NULL;
11863}
11864
11865
11866static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
11867 PyObject *resultobj;
11868 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11869 int arg2 = (int) wxMAILCAP_ALL ;
11870 wxString const &arg3_defvalue = wxPyEmptyString ;
11871 wxString *arg3 = (wxString *) &arg3_defvalue ;
423f194a 11872 bool temp3 = False ;
d14a1e28
RD
11873 PyObject * obj0 = 0 ;
11874 PyObject * obj2 = 0 ;
11875 char *kwnames[] = {
11876 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
11877 };
11878
11879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:MimeTypesManager_Initialize",kwnames,&obj0,&arg2,&obj2)) goto fail;
11880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11881 if (obj2) {
11882 {
11883 arg3 = wxString_in_helper(obj2);
11884 if (arg3 == NULL) SWIG_fail;
423f194a 11885 temp3 = True;
d14a1e28
RD
11886 }
11887 }
11888 {
11889 PyThreadState* __tstate = wxPyBeginAllowThreads();
11890 (arg1)->Initialize(arg2,(wxString const &)*arg3);
11891
11892 wxPyEndAllowThreads(__tstate);
11893 if (PyErr_Occurred()) SWIG_fail;
11894 }
11895 Py_INCREF(Py_None); resultobj = Py_None;
11896 {
11897 if (temp3)
11898 delete arg3;
11899 }
11900 return resultobj;
11901 fail:
11902 {
11903 if (temp3)
11904 delete arg3;
11905 }
11906 return NULL;
11907}
11908
11909
11910static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
11911 PyObject *resultobj;
11912 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11913 PyObject * obj0 = 0 ;
11914 char *kwnames[] = {
11915 (char *) "self", NULL
11916 };
11917
11918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
11919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11920 {
11921 PyThreadState* __tstate = wxPyBeginAllowThreads();
11922 (arg1)->ClearData();
11923
11924 wxPyEndAllowThreads(__tstate);
11925 if (PyErr_Occurred()) SWIG_fail;
11926 }
11927 Py_INCREF(Py_None); resultobj = Py_None;
11928 return resultobj;
11929 fail:
11930 return NULL;
11931}
11932
11933
11934static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
11935 PyObject *resultobj;
11936 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11937 wxString *arg2 = 0 ;
11938 wxFileType *result;
423f194a 11939 bool temp2 = False ;
d14a1e28
RD
11940 PyObject * obj0 = 0 ;
11941 PyObject * obj1 = 0 ;
11942 char *kwnames[] = {
11943 (char *) "self",(char *) "ext", NULL
11944 };
11945
11946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
11947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11948 {
11949 arg2 = wxString_in_helper(obj1);
11950 if (arg2 == NULL) SWIG_fail;
423f194a 11951 temp2 = True;
d14a1e28
RD
11952 }
11953 {
11954 PyThreadState* __tstate = wxPyBeginAllowThreads();
11955 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
11956
11957 wxPyEndAllowThreads(__tstate);
11958 if (PyErr_Occurred()) SWIG_fail;
11959 }
11960 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11961 {
11962 if (temp2)
11963 delete arg2;
11964 }
11965 return resultobj;
11966 fail:
11967 {
11968 if (temp2)
11969 delete arg2;
11970 }
11971 return NULL;
11972}
11973
11974
11975static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11976 PyObject *resultobj;
11977 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
11978 wxString *arg2 = 0 ;
11979 wxFileType *result;
423f194a 11980 bool temp2 = False ;
d14a1e28
RD
11981 PyObject * obj0 = 0 ;
11982 PyObject * obj1 = 0 ;
11983 char *kwnames[] = {
11984 (char *) "self",(char *) "mimeType", NULL
11985 };
11986
11987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
11988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11989 {
11990 arg2 = wxString_in_helper(obj1);
11991 if (arg2 == NULL) SWIG_fail;
423f194a 11992 temp2 = True;
d14a1e28
RD
11993 }
11994 {
11995 PyThreadState* __tstate = wxPyBeginAllowThreads();
11996 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
11997
11998 wxPyEndAllowThreads(__tstate);
11999 if (PyErr_Occurred()) SWIG_fail;
12000 }
12001 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12002 {
12003 if (temp2)
12004 delete arg2;
12005 }
12006 return resultobj;
12007 fail:
12008 {
12009 if (temp2)
12010 delete arg2;
12011 }
12012 return NULL;
12013}
12014
12015
12016static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
12017 PyObject *resultobj;
12018 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12019 wxString *arg2 = 0 ;
423f194a 12020 bool arg3 = (bool) False ;
d14a1e28 12021 bool result;
423f194a 12022 bool temp2 = False ;
d14a1e28
RD
12023 PyObject * obj0 = 0 ;
12024 PyObject * obj1 = 0 ;
12025 PyObject * obj2 = 0 ;
12026 char *kwnames[] = {
12027 (char *) "self",(char *) "filename",(char *) "fallback", NULL
12028 };
12029
12030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
12031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12032 {
12033 arg2 = wxString_in_helper(obj1);
12034 if (arg2 == NULL) SWIG_fail;
423f194a 12035 temp2 = True;
d14a1e28
RD
12036 }
12037 if (obj2) {
12038 arg3 = PyInt_AsLong(obj2) ? true : false;
12039 if (PyErr_Occurred()) SWIG_fail;
12040 }
12041 {
12042 PyThreadState* __tstate = wxPyBeginAllowThreads();
12043 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
12044
12045 wxPyEndAllowThreads(__tstate);
12046 if (PyErr_Occurred()) SWIG_fail;
12047 }
12048 resultobj = PyInt_FromLong((long)result);
12049 {
12050 if (temp2)
12051 delete arg2;
12052 }
12053 return resultobj;
12054 fail:
12055 {
12056 if (temp2)
12057 delete arg2;
12058 }
12059 return NULL;
12060}
12061
12062
12063static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12064 PyObject *resultobj;
12065 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12066 wxString *arg2 = 0 ;
12067 bool result;
423f194a 12068 bool temp2 = False ;
d14a1e28
RD
12069 PyObject * obj0 = 0 ;
12070 PyObject * obj1 = 0 ;
12071 char *kwnames[] = {
12072 (char *) "self",(char *) "filename", NULL
12073 };
12074
12075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
12076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12077 {
12078 arg2 = wxString_in_helper(obj1);
12079 if (arg2 == NULL) SWIG_fail;
423f194a 12080 temp2 = True;
d14a1e28
RD
12081 }
12082 {
12083 PyThreadState* __tstate = wxPyBeginAllowThreads();
12084 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
12085
12086 wxPyEndAllowThreads(__tstate);
12087 if (PyErr_Occurred()) SWIG_fail;
12088 }
12089 resultobj = PyInt_FromLong((long)result);
12090 {
12091 if (temp2)
12092 delete arg2;
12093 }
12094 return resultobj;
12095 fail:
12096 {
12097 if (temp2)
12098 delete arg2;
12099 }
12100 return NULL;
12101}
12102
12103
12104static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12105 PyObject *resultobj;
12106 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12107 PyObject *result;
12108 PyObject * obj0 = 0 ;
12109 char *kwnames[] = {
12110 (char *) "self", NULL
12111 };
12112
12113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
12114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12115 {
12116 PyThreadState* __tstate = wxPyBeginAllowThreads();
12117 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
12118
12119 wxPyEndAllowThreads(__tstate);
12120 if (PyErr_Occurred()) SWIG_fail;
12121 }
12122 resultobj = result;
12123 return resultobj;
12124 fail:
12125 return NULL;
12126}
12127
12128
12129static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
12130 PyObject *resultobj;
12131 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12132 wxFileTypeInfo *arg2 = 0 ;
12133 PyObject * obj0 = 0 ;
12134 PyObject * obj1 = 0 ;
12135 char *kwnames[] = {
12136 (char *) "self",(char *) "ft", NULL
12137 };
12138
12139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
12140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12141 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12142 if (arg2 == NULL) {
12143 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12144 }
12145 {
12146 PyThreadState* __tstate = wxPyBeginAllowThreads();
12147 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
12148
12149 wxPyEndAllowThreads(__tstate);
12150 if (PyErr_Occurred()) SWIG_fail;
12151 }
12152 Py_INCREF(Py_None); resultobj = Py_None;
12153 return resultobj;
12154 fail:
12155 return NULL;
12156}
12157
12158
12159static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
12160 PyObject *resultobj;
12161 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12162 wxFileTypeInfo *arg2 = 0 ;
12163 wxFileType *result;
12164 PyObject * obj0 = 0 ;
12165 PyObject * obj1 = 0 ;
12166 char *kwnames[] = {
12167 (char *) "self",(char *) "ftInfo", NULL
12168 };
12169
12170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
12171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12172 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12173 if (arg2 == NULL) {
12174 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12175 }
12176 {
12177 PyThreadState* __tstate = wxPyBeginAllowThreads();
12178 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
12179
12180 wxPyEndAllowThreads(__tstate);
12181 if (PyErr_Occurred()) SWIG_fail;
12182 }
12183 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12184 return resultobj;
12185 fail:
12186 return NULL;
12187}
12188
12189
12190static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12191 PyObject *resultobj;
12192 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12193 wxFileType *arg2 = (wxFileType *) 0 ;
12194 bool result;
12195 PyObject * obj0 = 0 ;
12196 PyObject * obj1 = 0 ;
12197 char *kwnames[] = {
12198 (char *) "self",(char *) "ft", NULL
12199 };
12200
12201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
12202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12203 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12204 {
12205 PyThreadState* __tstate = wxPyBeginAllowThreads();
12206 result = (bool)(arg1)->Unassociate(arg2);
12207
12208 wxPyEndAllowThreads(__tstate);
12209 if (PyErr_Occurred()) SWIG_fail;
12210 }
12211 resultobj = PyInt_FromLong((long)result);
12212 return resultobj;
12213 fail:
12214 return NULL;
12215}
12216
12217
12218static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
12219 PyObject *resultobj;
12220 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12221 PyObject * obj0 = 0 ;
12222 char *kwnames[] = {
12223 (char *) "self", NULL
12224 };
12225
12226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
12227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12228 {
12229 PyThreadState* __tstate = wxPyBeginAllowThreads();
12230 delete arg1;
12231
12232 wxPyEndAllowThreads(__tstate);
12233 if (PyErr_Occurred()) SWIG_fail;
12234 }
12235 Py_INCREF(Py_None); resultobj = Py_None;
12236 return resultobj;
12237 fail:
12238 return NULL;
12239}
12240
12241
12242static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
12243 PyObject *obj;
12244 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12245 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
12246 Py_INCREF(obj);
12247 return Py_BuildValue((char *)"");
12248}
12249static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
12250 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
12251 return 1;
12252}
12253
12254
12255static PyObject *_wrap_ART_TOOLBAR_get() {
12256 PyObject *pyobj;
12257
12258 {
12259#if wxUSE_UNICODE
12260 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12261#else
12262 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12263#endif
12264 }
12265 return pyobj;
12266}
12267
12268
12269static int _wrap_ART_MENU_set(PyObject *_val) {
12270 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
12271 return 1;
12272}
12273
12274
12275static PyObject *_wrap_ART_MENU_get() {
12276 PyObject *pyobj;
12277
12278 {
12279#if wxUSE_UNICODE
12280 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12281#else
12282 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
12283#endif
12284 }
12285 return pyobj;
12286}
12287
12288
12289static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
12290 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
12291 return 1;
12292}
12293
12294
12295static PyObject *_wrap_ART_FRAME_ICON_get() {
12296 PyObject *pyobj;
12297
12298 {
12299#if wxUSE_UNICODE
12300 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12301#else
12302 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
12303#endif
12304 }
12305 return pyobj;
12306}
12307
12308
12309static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
12310 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
12311 return 1;
12312}
12313
12314
12315static PyObject *_wrap_ART_CMN_DIALOG_get() {
12316 PyObject *pyobj;
12317
12318 {
12319#if wxUSE_UNICODE
12320 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12321#else
12322 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
12323#endif
12324 }
12325 return pyobj;
12326}
12327
12328
12329static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
12330 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
12331 return 1;
12332}
12333
12334
12335static PyObject *_wrap_ART_HELP_BROWSER_get() {
12336 PyObject *pyobj;
12337
12338 {
12339#if wxUSE_UNICODE
12340 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12341#else
12342 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
12343#endif
12344 }
12345 return pyobj;
12346}
12347
12348
12349static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
12350 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
12351 return 1;
12352}
12353
12354
12355static PyObject *_wrap_ART_MESSAGE_BOX_get() {
12356 PyObject *pyobj;
12357
12358 {
12359#if wxUSE_UNICODE
12360 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12361#else
12362 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
12363#endif
12364 }
12365 return pyobj;
12366}
12367
12368
12369static int _wrap_ART_OTHER_set(PyObject *_val) {
12370 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
12371 return 1;
12372}
12373
12374
12375static PyObject *_wrap_ART_OTHER_get() {
12376 PyObject *pyobj;
12377
12378 {
12379#if wxUSE_UNICODE
12380 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12381#else
12382 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
12383#endif
12384 }
12385 return pyobj;
12386}
12387
12388
12389static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
12390 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
12391 return 1;
12392}
12393
12394
12395static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
12396 PyObject *pyobj;
12397
12398 {
12399#if wxUSE_UNICODE
12400 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12401#else
12402 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
12403#endif
12404 }
12405 return pyobj;
12406}
12407
12408
12409static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
12410 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
12411 return 1;
12412}
12413
12414
12415static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
12416 PyObject *pyobj;
12417
12418 {
12419#if wxUSE_UNICODE
12420 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12421#else
12422 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
12423#endif
12424 }
12425 return pyobj;
12426}
12427
12428
12429static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
12430 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
12431 return 1;
12432}
12433
12434
12435static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
12436 PyObject *pyobj;
12437
12438 {
12439#if wxUSE_UNICODE
12440 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12441#else
12442 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
12443#endif
12444 }
12445 return pyobj;
12446}
12447
12448
12449static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
12450 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
12451 return 1;
12452}
12453
12454
12455static PyObject *_wrap_ART_HELP_SETTINGS_get() {
12456 PyObject *pyobj;
12457
12458 {
12459#if wxUSE_UNICODE
12460 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12461#else
12462 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
12463#endif
12464 }
12465 return pyobj;
12466}
12467
12468
12469static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
12470 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
12471 return 1;
12472}
12473
12474
12475static PyObject *_wrap_ART_HELP_BOOK_get() {
12476 PyObject *pyobj;
12477
12478 {
12479#if wxUSE_UNICODE
12480 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12481#else
12482 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
12483#endif
12484 }
12485 return pyobj;
12486}
12487
12488
12489static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
12490 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
12491 return 1;
12492}
12493
12494
12495static PyObject *_wrap_ART_HELP_FOLDER_get() {
12496 PyObject *pyobj;
12497
12498 {
12499#if wxUSE_UNICODE
12500 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12501#else
12502 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
12503#endif
12504 }
12505 return pyobj;
12506}
12507
12508
12509static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
12510 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
12511 return 1;
12512}
12513
12514
12515static PyObject *_wrap_ART_HELP_PAGE_get() {
12516 PyObject *pyobj;
12517
12518 {
12519#if wxUSE_UNICODE
12520 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12521#else
12522 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
12523#endif
12524 }
12525 return pyobj;
12526}
12527
12528
12529static int _wrap_ART_GO_BACK_set(PyObject *_val) {
12530 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
12531 return 1;
12532}
12533
12534
12535static PyObject *_wrap_ART_GO_BACK_get() {
12536 PyObject *pyobj;
12537
12538 {
12539#if wxUSE_UNICODE
12540 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12541#else
12542 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
12543#endif
12544 }
12545 return pyobj;
12546}
12547
12548
12549static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
12550 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
12551 return 1;
12552}
12553
12554
12555static PyObject *_wrap_ART_GO_FORWARD_get() {
12556 PyObject *pyobj;
12557
12558 {
12559#if wxUSE_UNICODE
12560 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12561#else
12562 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
12563#endif
12564 }
12565 return pyobj;
12566}
12567
12568
12569static int _wrap_ART_GO_UP_set(PyObject *_val) {
12570 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
12571 return 1;
12572}
12573
12574
12575static PyObject *_wrap_ART_GO_UP_get() {
12576 PyObject *pyobj;
12577
12578 {
12579#if wxUSE_UNICODE
12580 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12581#else
12582 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
12583#endif
12584 }
12585 return pyobj;
12586}
12587
12588
12589static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
12590 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
12591 return 1;
12592}
12593
12594
12595static PyObject *_wrap_ART_GO_DOWN_get() {
12596 PyObject *pyobj;
12597
12598 {
12599#if wxUSE_UNICODE
12600 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12601#else
12602 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
12603#endif
12604 }
12605 return pyobj;
12606}
12607
12608
12609static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
12610 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
12611 return 1;
12612}
12613
12614
12615static PyObject *_wrap_ART_GO_TO_PARENT_get() {
12616 PyObject *pyobj;
12617
12618 {
12619#if wxUSE_UNICODE
12620 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12621#else
12622 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
12623#endif
12624 }
12625 return pyobj;
12626}
12627
12628
12629static int _wrap_ART_GO_HOME_set(PyObject *_val) {
12630 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
12631 return 1;
12632}
12633
12634
12635static PyObject *_wrap_ART_GO_HOME_get() {
12636 PyObject *pyobj;
12637
12638 {
12639#if wxUSE_UNICODE
12640 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12641#else
12642 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
12643#endif
12644 }
12645 return pyobj;
12646}
12647
12648
12649static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
12650 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
12651 return 1;
12652}
12653
12654
12655static PyObject *_wrap_ART_FILE_OPEN_get() {
12656 PyObject *pyobj;
12657
12658 {
12659#if wxUSE_UNICODE
12660 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12661#else
12662 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
12663#endif
12664 }
12665 return pyobj;
12666}
12667
12668
12669static int _wrap_ART_PRINT_set(PyObject *_val) {
12670 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
12671 return 1;
12672}
12673
12674
12675static PyObject *_wrap_ART_PRINT_get() {
12676 PyObject *pyobj;
12677
12678 {
12679#if wxUSE_UNICODE
12680 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12681#else
12682 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
12683#endif
12684 }
12685 return pyobj;
12686}
12687
12688
12689static int _wrap_ART_HELP_set(PyObject *_val) {
12690 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
12691 return 1;
12692}
12693
12694
12695static PyObject *_wrap_ART_HELP_get() {
12696 PyObject *pyobj;
12697
12698 {
12699#if wxUSE_UNICODE
12700 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12701#else
12702 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
12703#endif
12704 }
12705 return pyobj;
12706}
12707
12708
12709static int _wrap_ART_TIP_set(PyObject *_val) {
12710 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
12711 return 1;
12712}
12713
12714
12715static PyObject *_wrap_ART_TIP_get() {
12716 PyObject *pyobj;
12717
12718 {
12719#if wxUSE_UNICODE
12720 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12721#else
12722 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
12723#endif
12724 }
12725 return pyobj;
12726}
12727
12728
12729static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
12730 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
12731 return 1;
12732}
12733
12734
12735static PyObject *_wrap_ART_REPORT_VIEW_get() {
12736 PyObject *pyobj;
12737
12738 {
12739#if wxUSE_UNICODE
12740 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12741#else
12742 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
12743#endif
12744 }
12745 return pyobj;
12746}
12747
12748
12749static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
12750 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
12751 return 1;
12752}
12753
12754
12755static PyObject *_wrap_ART_LIST_VIEW_get() {
12756 PyObject *pyobj;
12757
12758 {
12759#if wxUSE_UNICODE
12760 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12761#else
12762 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
12763#endif
12764 }
12765 return pyobj;
12766}
12767
12768
12769static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
12770 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
12771 return 1;
12772}
12773
12774
12775static PyObject *_wrap_ART_NEW_DIR_get() {
12776 PyObject *pyobj;
12777
12778 {
12779#if wxUSE_UNICODE
12780 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12781#else
12782 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
12783#endif
12784 }
12785 return pyobj;
12786}
12787
12788
12789static int _wrap_ART_FOLDER_set(PyObject *_val) {
12790 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
12791 return 1;
12792}
12793
12794
12795static PyObject *_wrap_ART_FOLDER_get() {
12796 PyObject *pyobj;
12797
12798 {
12799#if wxUSE_UNICODE
12800 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12801#else
12802 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
12803#endif
12804 }
12805 return pyobj;
12806}
12807
12808
12809static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
12810 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
12811 return 1;
12812}
12813
12814
12815static PyObject *_wrap_ART_GO_DIR_UP_get() {
12816 PyObject *pyobj;
12817
12818 {
12819#if wxUSE_UNICODE
12820 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12821#else
12822 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
12823#endif
12824 }
12825 return pyobj;
12826}
12827
12828
12829static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
12830 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
12831 return 1;
12832}
12833
12834
12835static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
12836 PyObject *pyobj;
12837
12838 {
12839#if wxUSE_UNICODE
12840 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12841#else
12842 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
12843#endif
12844 }
12845 return pyobj;
12846}
12847
12848
12849static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
12850 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
12851 return 1;
12852}
12853
12854
12855static PyObject *_wrap_ART_NORMAL_FILE_get() {
12856 PyObject *pyobj;
12857
12858 {
12859#if wxUSE_UNICODE
12860 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12861#else
12862 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
12863#endif
12864 }
12865 return pyobj;
12866}
12867
12868
12869static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
12870 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
12871 return 1;
12872}
12873
12874
12875static PyObject *_wrap_ART_TICK_MARK_get() {
12876 PyObject *pyobj;
12877
12878 {
12879#if wxUSE_UNICODE
12880 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12881#else
12882 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
12883#endif
12884 }
12885 return pyobj;
12886}
12887
12888
12889static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
12890 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
12891 return 1;
12892}
12893
12894
12895static PyObject *_wrap_ART_CROSS_MARK_get() {
12896 PyObject *pyobj;
12897
12898 {
12899#if wxUSE_UNICODE
12900 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12901#else
12902 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
12903#endif
12904 }
12905 return pyobj;
12906}
12907
12908
12909static int _wrap_ART_ERROR_set(PyObject *_val) {
12910 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
12911 return 1;
12912}
12913
12914
12915static PyObject *_wrap_ART_ERROR_get() {
12916 PyObject *pyobj;
12917
12918 {
12919#if wxUSE_UNICODE
12920 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12921#else
12922 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
12923#endif
12924 }
12925 return pyobj;
12926}
12927
12928
12929static int _wrap_ART_QUESTION_set(PyObject *_val) {
12930 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
12931 return 1;
12932}
12933
12934
12935static PyObject *_wrap_ART_QUESTION_get() {
12936 PyObject *pyobj;
12937
12938 {
12939#if wxUSE_UNICODE
12940 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12941#else
12942 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
12943#endif
12944 }
12945 return pyobj;
12946}
12947
12948
12949static int _wrap_ART_WARNING_set(PyObject *_val) {
12950 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
12951 return 1;
12952}
12953
12954
12955static PyObject *_wrap_ART_WARNING_get() {
12956 PyObject *pyobj;
12957
12958 {
12959#if wxUSE_UNICODE
12960 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12961#else
12962 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
12963#endif
12964 }
12965 return pyobj;
12966}
12967
12968
12969static int _wrap_ART_INFORMATION_set(PyObject *_val) {
12970 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
12971 return 1;
12972}
12973
12974
12975static PyObject *_wrap_ART_INFORMATION_get() {
12976 PyObject *pyobj;
12977
12978 {
12979#if wxUSE_UNICODE
12980 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12981#else
12982 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
12983#endif
12984 }
12985 return pyobj;
12986}
12987
12988
12989static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
12990 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
12991 return 1;
12992}
12993
12994
12995static PyObject *_wrap_ART_MISSING_IMAGE_get() {
12996 PyObject *pyobj;
12997
12998 {
12999#if wxUSE_UNICODE
13000 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
13001#else
13002 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
13003#endif
13004 }
13005 return pyobj;
13006}
13007
13008
13009static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13010 PyObject *resultobj;
13011 wxPyArtProvider *result;
13012 char *kwnames[] = {
13013 NULL
13014 };
13015
13016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
13017 {
13018 PyThreadState* __tstate = wxPyBeginAllowThreads();
13019 result = (wxPyArtProvider *)new wxPyArtProvider();
13020
13021 wxPyEndAllowThreads(__tstate);
13022 if (PyErr_Occurred()) SWIG_fail;
13023 }
13024 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyArtProvider, 1);
13025 return resultobj;
13026 fail:
13027 return NULL;
13028}
13029
13030
d14a1e28
RD
13031static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13032 PyObject *resultobj;
13033 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13034 PyObject *arg2 = (PyObject *) 0 ;
13035 PyObject *arg3 = (PyObject *) 0 ;
13036 PyObject * obj0 = 0 ;
13037 PyObject * obj1 = 0 ;
13038 PyObject * obj2 = 0 ;
13039 char *kwnames[] = {
13040 (char *) "self",(char *) "self",(char *) "_class", NULL
13041 };
13042
13043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13045 arg2 = obj1;
13046 arg3 = obj2;
13047 {
13048 PyThreadState* __tstate = wxPyBeginAllowThreads();
13049 (arg1)->_setCallbackInfo(arg2,arg3);
13050
13051 wxPyEndAllowThreads(__tstate);
13052 if (PyErr_Occurred()) SWIG_fail;
13053 }
13054 Py_INCREF(Py_None); resultobj = Py_None;
13055 return resultobj;
13056 fail:
13057 return NULL;
13058}
13059
13060
13061static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13062 PyObject *resultobj;
13063 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13064 PyObject * obj0 = 0 ;
13065 char *kwnames[] = {
13066 (char *) "provider", NULL
13067 };
13068
13069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
13070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13071 {
13072 PyThreadState* __tstate = wxPyBeginAllowThreads();
13073 wxPyArtProvider::PushProvider(arg1);
13074
13075 wxPyEndAllowThreads(__tstate);
13076 if (PyErr_Occurred()) SWIG_fail;
13077 }
13078 Py_INCREF(Py_None); resultobj = Py_None;
13079 return resultobj;
13080 fail:
13081 return NULL;
13082}
13083
13084
13085static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13086 PyObject *resultobj;
13087 bool result;
13088 char *kwnames[] = {
13089 NULL
13090 };
13091
13092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
13093 {
13094 PyThreadState* __tstate = wxPyBeginAllowThreads();
13095 result = (bool)wxPyArtProvider::PopProvider();
13096
13097 wxPyEndAllowThreads(__tstate);
13098 if (PyErr_Occurred()) SWIG_fail;
13099 }
13100 resultobj = PyInt_FromLong((long)result);
13101 return resultobj;
13102 fail:
13103 return NULL;
13104}
13105
13106
13107static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13108 PyObject *resultobj;
13109 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13110 bool result;
13111 PyObject * obj0 = 0 ;
13112 char *kwnames[] = {
13113 (char *) "provider", NULL
13114 };
13115
13116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
13117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13118 {
13119 PyThreadState* __tstate = wxPyBeginAllowThreads();
13120 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
13121
13122 wxPyEndAllowThreads(__tstate);
13123 if (PyErr_Occurred()) SWIG_fail;
13124 }
13125 resultobj = PyInt_FromLong((long)result);
13126 return resultobj;
13127 fail:
13128 return NULL;
13129}
13130
13131
13132static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13133 PyObject *resultobj;
13134 wxString *arg1 = 0 ;
13135 wxString const &arg2_defvalue = wxPyART_OTHER ;
13136 wxString *arg2 = (wxString *) &arg2_defvalue ;
13137 wxSize const &arg3_defvalue = wxDefaultSize ;
13138 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13139 wxBitmap result;
423f194a
RD
13140 bool temp1 = False ;
13141 bool temp2 = False ;
d14a1e28
RD
13142 wxSize temp3 ;
13143 PyObject * obj0 = 0 ;
13144 PyObject * obj1 = 0 ;
13145 PyObject * obj2 = 0 ;
13146 char *kwnames[] = {
13147 (char *) "id",(char *) "client",(char *) "size", NULL
13148 };
13149
13150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13151 {
13152 arg1 = wxString_in_helper(obj0);
13153 if (arg1 == NULL) SWIG_fail;
423f194a 13154 temp1 = True;
d14a1e28
RD
13155 }
13156 if (obj1) {
13157 {
13158 arg2 = wxString_in_helper(obj1);
13159 if (arg2 == NULL) SWIG_fail;
423f194a 13160 temp2 = True;
d14a1e28
RD
13161 }
13162 }
13163 if (obj2) {
13164 {
13165 arg3 = &temp3;
13166 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13167 }
13168 }
13169 {
13170 PyThreadState* __tstate = wxPyBeginAllowThreads();
13171 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13172
13173 wxPyEndAllowThreads(__tstate);
13174 if (PyErr_Occurred()) SWIG_fail;
13175 }
13176 {
13177 wxBitmap * resultptr;
13178 resultptr = new wxBitmap((wxBitmap &) result);
13179 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13180 }
13181 {
13182 if (temp1)
13183 delete arg1;
13184 }
13185 {
13186 if (temp2)
13187 delete arg2;
13188 }
13189 return resultobj;
13190 fail:
13191 {
13192 if (temp1)
13193 delete arg1;
13194 }
13195 {
13196 if (temp2)
13197 delete arg2;
13198 }
13199 return NULL;
13200}
13201
13202
13203static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
13204 PyObject *resultobj;
13205 wxString *arg1 = 0 ;
13206 wxString const &arg2_defvalue = wxPyART_OTHER ;
13207 wxString *arg2 = (wxString *) &arg2_defvalue ;
13208 wxSize const &arg3_defvalue = wxDefaultSize ;
13209 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13210 wxIcon result;
423f194a
RD
13211 bool temp1 = False ;
13212 bool temp2 = False ;
d14a1e28
RD
13213 wxSize temp3 ;
13214 PyObject * obj0 = 0 ;
13215 PyObject * obj1 = 0 ;
13216 PyObject * obj2 = 0 ;
13217 char *kwnames[] = {
13218 (char *) "id",(char *) "client",(char *) "size", NULL
13219 };
13220
13221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13222 {
13223 arg1 = wxString_in_helper(obj0);
13224 if (arg1 == NULL) SWIG_fail;
423f194a 13225 temp1 = True;
d14a1e28
RD
13226 }
13227 if (obj1) {
13228 {
13229 arg2 = wxString_in_helper(obj1);
13230 if (arg2 == NULL) SWIG_fail;
423f194a 13231 temp2 = True;
d14a1e28
RD
13232 }
13233 }
13234 if (obj2) {
13235 {
13236 arg3 = &temp3;
13237 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13238 }
13239 }
13240 {
13241 PyThreadState* __tstate = wxPyBeginAllowThreads();
13242 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13243
13244 wxPyEndAllowThreads(__tstate);
13245 if (PyErr_Occurred()) SWIG_fail;
13246 }
13247 {
13248 wxIcon * resultptr;
13249 resultptr = new wxIcon((wxIcon &) result);
13250 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
13251 }
13252 {
13253 if (temp1)
13254 delete arg1;
13255 }
13256 {
13257 if (temp2)
13258 delete arg2;
13259 }
13260 return resultobj;
13261 fail:
13262 {
13263 if (temp1)
13264 delete arg1;
13265 }
13266 {
13267 if (temp2)
13268 delete arg2;
13269 }
13270 return NULL;
13271}
13272
13273
41f1cec7
RD
13274static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
13275 PyObject *resultobj;
13276 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13277 PyObject * obj0 = 0 ;
13278 char *kwnames[] = {
13279 (char *) "self", NULL
13280 };
13281
13282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
13283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13284 {
13285 PyThreadState* __tstate = wxPyBeginAllowThreads();
13286 wxPyArtProvider_Destroy(arg1);
13287
13288 wxPyEndAllowThreads(__tstate);
13289 if (PyErr_Occurred()) SWIG_fail;
13290 }
13291 Py_INCREF(Py_None); resultobj = Py_None;
13292 return resultobj;
13293 fail:
13294 return NULL;
13295}
13296
13297
d14a1e28
RD
13298static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
13299 PyObject *obj;
13300 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13301 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
13302 Py_INCREF(obj);
13303 return Py_BuildValue((char *)"");
13304}
13305static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
13306 PyObject *resultobj;
13307 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13308 PyObject * obj0 = 0 ;
13309 char *kwnames[] = {
13310 (char *) "self", NULL
13311 };
13312
13313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
13314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13315 {
13316 PyThreadState* __tstate = wxPyBeginAllowThreads();
13317 delete arg1;
13318
13319 wxPyEndAllowThreads(__tstate);
13320 if (PyErr_Occurred()) SWIG_fail;
13321 }
13322 Py_INCREF(Py_None); resultobj = Py_None;
13323 return resultobj;
13324 fail:
13325 return NULL;
13326}
13327
13328
13329static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
13330 PyObject *resultobj;
13331 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13332 wxConfigBase *result;
13333 PyObject * obj0 = 0 ;
13334 char *kwnames[] = {
13335 (char *) "pConfig", NULL
13336 };
13337
13338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
13339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13340 {
13341 PyThreadState* __tstate = wxPyBeginAllowThreads();
13342 result = (wxConfigBase *)wxConfigBase::Set(arg1);
13343
13344 wxPyEndAllowThreads(__tstate);
13345 if (PyErr_Occurred()) SWIG_fail;
13346 }
13347 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13348 return resultobj;
13349 fail:
13350 return NULL;
13351}
13352
13353
13354static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
13355 PyObject *resultobj;
423f194a 13356 bool arg1 = (bool) True ;
d14a1e28
RD
13357 wxConfigBase *result;
13358 PyObject * obj0 = 0 ;
13359 char *kwnames[] = {
13360 (char *) "createOnDemand", NULL
13361 };
13362
13363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
13364 if (obj0) {
13365 arg1 = PyInt_AsLong(obj0) ? true : false;
13366 if (PyErr_Occurred()) SWIG_fail;
13367 }
13368 {
13369 PyThreadState* __tstate = wxPyBeginAllowThreads();
13370 result = (wxConfigBase *)wxConfigBase::Get(arg1);
13371
13372 wxPyEndAllowThreads(__tstate);
13373 if (PyErr_Occurred()) SWIG_fail;
13374 }
13375 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13376 return resultobj;
13377 fail:
13378 return NULL;
13379}
13380
13381
13382static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13383 PyObject *resultobj;
13384 wxConfigBase *result;
13385 char *kwnames[] = {
13386 NULL
13387 };
13388
13389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
13390 {
13391 PyThreadState* __tstate = wxPyBeginAllowThreads();
13392 result = (wxConfigBase *)wxConfigBase::Create();
13393
13394 wxPyEndAllowThreads(__tstate);
13395 if (PyErr_Occurred()) SWIG_fail;
13396 }
13397 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
13398 return resultobj;
13399 fail:
13400 return NULL;
13401}
13402
13403
13404static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
13405 PyObject *resultobj;
13406 char *kwnames[] = {
13407 NULL
13408 };
13409
13410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
13411 {
13412 PyThreadState* __tstate = wxPyBeginAllowThreads();
13413 wxConfigBase::DontCreateOnDemand();
13414
13415 wxPyEndAllowThreads(__tstate);
13416 if (PyErr_Occurred()) SWIG_fail;
13417 }
13418 Py_INCREF(Py_None); resultobj = Py_None;
13419 return resultobj;
13420 fail:
13421 return NULL;
13422}
13423
13424
13425static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13426 PyObject *resultobj;
13427 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13428 wxString *arg2 = 0 ;
423f194a 13429 bool temp2 = False ;
d14a1e28
RD
13430 PyObject * obj0 = 0 ;
13431 PyObject * obj1 = 0 ;
13432 char *kwnames[] = {
13433 (char *) "self",(char *) "strPath", NULL
13434 };
13435
13436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
13437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13438 {
13439 arg2 = wxString_in_helper(obj1);
13440 if (arg2 == NULL) SWIG_fail;
423f194a 13441 temp2 = True;
d14a1e28
RD
13442 }
13443 {
13444 PyThreadState* __tstate = wxPyBeginAllowThreads();
13445 (arg1)->SetPath((wxString const &)*arg2);
13446
13447 wxPyEndAllowThreads(__tstate);
13448 if (PyErr_Occurred()) SWIG_fail;
13449 }
13450 Py_INCREF(Py_None); resultobj = Py_None;
13451 {
13452 if (temp2)
13453 delete arg2;
13454 }
13455 return resultobj;
13456 fail:
13457 {
13458 if (temp2)
13459 delete arg2;
13460 }
13461 return NULL;
13462}
13463
13464
13465static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
13466 PyObject *resultobj;
13467 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13468 wxString *result;
13469 PyObject * obj0 = 0 ;
13470 char *kwnames[] = {
13471 (char *) "self", NULL
13472 };
13473
13474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
13475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13476 {
13477 PyThreadState* __tstate = wxPyBeginAllowThreads();
13478 {
13479 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
13480 result = (wxString *) &_result_ref;
13481 }
13482
13483 wxPyEndAllowThreads(__tstate);
13484 if (PyErr_Occurred()) SWIG_fail;
13485 }
f0983263
RD
13486 {
13487#if wxUSE_UNICODE
13488 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13489#else
13490 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13491#endif
13492 }
d14a1e28
RD
13493 return resultobj;
13494 fail:
13495 return NULL;
13496}
13497
13498
13499static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13500 PyObject *resultobj;
13501 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13502 PyObject *result;
13503 PyObject * obj0 = 0 ;
13504 char *kwnames[] = {
13505 (char *) "self", NULL
13506 };
13507
13508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
13509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13510 {
13511 PyThreadState* __tstate = wxPyBeginAllowThreads();
13512 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
13513
13514 wxPyEndAllowThreads(__tstate);
13515 if (PyErr_Occurred()) SWIG_fail;
13516 }
13517 resultobj = result;
13518 return resultobj;
13519 fail:
13520 return NULL;
13521}
13522
13523
13524static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13525 PyObject *resultobj;
13526 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13527 long arg2 ;
13528 PyObject *result;
13529 PyObject * obj0 = 0 ;
13530 char *kwnames[] = {
13531 (char *) "self",(char *) "index", NULL
13532 };
13533
13534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextGroup",kwnames,&obj0,&arg2)) goto fail;
13535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13536 {
13537 PyThreadState* __tstate = wxPyBeginAllowThreads();
13538 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
13539
13540 wxPyEndAllowThreads(__tstate);
13541 if (PyErr_Occurred()) SWIG_fail;
13542 }
13543 resultobj = result;
13544 return resultobj;
13545 fail:
13546 return NULL;
13547}
13548
13549
13550static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13551 PyObject *resultobj;
13552 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13553 PyObject *result;
13554 PyObject * obj0 = 0 ;
13555 char *kwnames[] = {
13556 (char *) "self", NULL
13557 };
13558
13559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
13560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13561 {
13562 PyThreadState* __tstate = wxPyBeginAllowThreads();
13563 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
13564
13565 wxPyEndAllowThreads(__tstate);
13566 if (PyErr_Occurred()) SWIG_fail;
13567 }
13568 resultobj = result;
13569 return resultobj;
13570 fail:
13571 return NULL;
13572}
13573
13574
13575static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13576 PyObject *resultobj;
13577 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13578 long arg2 ;
13579 PyObject *result;
13580 PyObject * obj0 = 0 ;
13581 char *kwnames[] = {
13582 (char *) "self",(char *) "index", NULL
13583 };
13584
13585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_GetNextEntry",kwnames,&obj0,&arg2)) goto fail;
13586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13587 {
13588 PyThreadState* __tstate = wxPyBeginAllowThreads();
13589 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
13590
13591 wxPyEndAllowThreads(__tstate);
13592 if (PyErr_Occurred()) SWIG_fail;
13593 }
13594 resultobj = result;
13595 return resultobj;
13596 fail:
13597 return NULL;
13598}
13599
13600
13601static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
13602 PyObject *resultobj;
13603 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 13604 bool arg2 = (bool) False ;
d14a1e28
RD
13605 size_t result;
13606 PyObject * obj0 = 0 ;
13607 PyObject * obj1 = 0 ;
13608 char *kwnames[] = {
13609 (char *) "self",(char *) "bRecursive", NULL
13610 };
13611
13612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
13613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13614 if (obj1) {
13615 arg2 = PyInt_AsLong(obj1) ? true : false;
13616 if (PyErr_Occurred()) SWIG_fail;
13617 }
13618 {
13619 PyThreadState* __tstate = wxPyBeginAllowThreads();
13620 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
13621
13622 wxPyEndAllowThreads(__tstate);
13623 if (PyErr_Occurred()) SWIG_fail;
13624 }
13625 resultobj = PyInt_FromLong((long)result);
13626 return resultobj;
13627 fail:
13628 return NULL;
13629}
13630
13631
13632static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
13633 PyObject *resultobj;
13634 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 13635 bool arg2 = (bool) False ;
d14a1e28
RD
13636 size_t result;
13637 PyObject * obj0 = 0 ;
13638 PyObject * obj1 = 0 ;
13639 char *kwnames[] = {
13640 (char *) "self",(char *) "bRecursive", NULL
13641 };
13642
13643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
13644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13645 if (obj1) {
13646 arg2 = PyInt_AsLong(obj1) ? true : false;
13647 if (PyErr_Occurred()) SWIG_fail;
13648 }
13649 {
13650 PyThreadState* __tstate = wxPyBeginAllowThreads();
13651 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
13652
13653 wxPyEndAllowThreads(__tstate);
13654 if (PyErr_Occurred()) SWIG_fail;
13655 }
13656 resultobj = PyInt_FromLong((long)result);
13657 return resultobj;
13658 fail:
13659 return NULL;
13660}
13661
13662
13663static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
13664 PyObject *resultobj;
13665 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13666 wxString *arg2 = 0 ;
13667 bool result;
423f194a 13668 bool temp2 = False ;
d14a1e28
RD
13669 PyObject * obj0 = 0 ;
13670 PyObject * obj1 = 0 ;
13671 char *kwnames[] = {
13672 (char *) "self",(char *) "strName", NULL
13673 };
13674
13675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
13676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13677 {
13678 arg2 = wxString_in_helper(obj1);
13679 if (arg2 == NULL) SWIG_fail;
423f194a 13680 temp2 = True;
d14a1e28
RD
13681 }
13682 {
13683 PyThreadState* __tstate = wxPyBeginAllowThreads();
13684 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
13685
13686 wxPyEndAllowThreads(__tstate);
13687 if (PyErr_Occurred()) SWIG_fail;
13688 }
13689 resultobj = PyInt_FromLong((long)result);
13690 {
13691 if (temp2)
13692 delete arg2;
13693 }
13694 return resultobj;
13695 fail:
13696 {
13697 if (temp2)
13698 delete arg2;
13699 }
13700 return NULL;
13701}
13702
13703
13704static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
13705 PyObject *resultobj;
13706 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13707 wxString *arg2 = 0 ;
13708 bool result;
423f194a 13709 bool temp2 = False ;
d14a1e28
RD
13710 PyObject * obj0 = 0 ;
13711 PyObject * obj1 = 0 ;
13712 char *kwnames[] = {
13713 (char *) "self",(char *) "strName", NULL
13714 };
13715
13716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
13717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13718 {
13719 arg2 = wxString_in_helper(obj1);
13720 if (arg2 == NULL) SWIG_fail;
423f194a 13721 temp2 = True;
d14a1e28
RD
13722 }
13723 {
13724 PyThreadState* __tstate = wxPyBeginAllowThreads();
13725 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
13726
13727 wxPyEndAllowThreads(__tstate);
13728 if (PyErr_Occurred()) SWIG_fail;
13729 }
13730 resultobj = PyInt_FromLong((long)result);
13731 {
13732 if (temp2)
13733 delete arg2;
13734 }
13735 return resultobj;
13736 fail:
13737 {
13738 if (temp2)
13739 delete arg2;
13740 }
13741 return NULL;
13742}
13743
13744
13745static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
13746 PyObject *resultobj;
13747 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13748 wxString *arg2 = 0 ;
13749 bool result;
423f194a 13750 bool temp2 = False ;
d14a1e28
RD
13751 PyObject * obj0 = 0 ;
13752 PyObject * obj1 = 0 ;
13753 char *kwnames[] = {
13754 (char *) "self",(char *) "strName", NULL
13755 };
13756
13757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
13758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13759 {
13760 arg2 = wxString_in_helper(obj1);
13761 if (arg2 == NULL) SWIG_fail;
423f194a 13762 temp2 = True;
d14a1e28
RD
13763 }
13764 {
13765 PyThreadState* __tstate = wxPyBeginAllowThreads();
13766 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
13767
13768 wxPyEndAllowThreads(__tstate);
13769 if (PyErr_Occurred()) SWIG_fail;
13770 }
13771 resultobj = PyInt_FromLong((long)result);
13772 {
13773 if (temp2)
13774 delete arg2;
13775 }
13776 return resultobj;
13777 fail:
13778 {
13779 if (temp2)
13780 delete arg2;
13781 }
13782 return NULL;
13783}
13784
13785
13786static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
13787 PyObject *resultobj;
13788 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13789 wxString *arg2 = 0 ;
13790 int result;
423f194a 13791 bool temp2 = False ;
d14a1e28
RD
13792 PyObject * obj0 = 0 ;
13793 PyObject * obj1 = 0 ;
13794 char *kwnames[] = {
13795 (char *) "self",(char *) "name", NULL
13796 };
13797
13798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
13799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13800 {
13801 arg2 = wxString_in_helper(obj1);
13802 if (arg2 == NULL) SWIG_fail;
423f194a 13803 temp2 = True;
d14a1e28
RD
13804 }
13805 {
13806 PyThreadState* __tstate = wxPyBeginAllowThreads();
13807 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
13808
13809 wxPyEndAllowThreads(__tstate);
13810 if (PyErr_Occurred()) SWIG_fail;
13811 }
13812 resultobj = PyInt_FromLong((long)result);
13813 {
13814 if (temp2)
13815 delete arg2;
13816 }
13817 return resultobj;
13818 fail:
13819 {
13820 if (temp2)
13821 delete arg2;
13822 }
13823 return NULL;
13824}
13825
13826
13827static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
13828 PyObject *resultobj;
13829 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13830 wxString *arg2 = 0 ;
13831 wxString const &arg3_defvalue = wxPyEmptyString ;
13832 wxString *arg3 = (wxString *) &arg3_defvalue ;
13833 wxString result;
423f194a
RD
13834 bool temp2 = False ;
13835 bool temp3 = False ;
d14a1e28
RD
13836 PyObject * obj0 = 0 ;
13837 PyObject * obj1 = 0 ;
13838 PyObject * obj2 = 0 ;
13839 char *kwnames[] = {
13840 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13841 };
13842
13843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
13844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13845 {
13846 arg2 = wxString_in_helper(obj1);
13847 if (arg2 == NULL) SWIG_fail;
423f194a 13848 temp2 = True;
d14a1e28
RD
13849 }
13850 if (obj2) {
13851 {
13852 arg3 = wxString_in_helper(obj2);
13853 if (arg3 == NULL) SWIG_fail;
423f194a 13854 temp3 = True;
d14a1e28
RD
13855 }
13856 }
13857 {
13858 PyThreadState* __tstate = wxPyBeginAllowThreads();
13859 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
13860
13861 wxPyEndAllowThreads(__tstate);
13862 if (PyErr_Occurred()) SWIG_fail;
13863 }
13864 {
13865#if wxUSE_UNICODE
13866 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13867#else
13868 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13869#endif
13870 }
13871 {
13872 if (temp2)
13873 delete arg2;
13874 }
13875 {
13876 if (temp3)
13877 delete arg3;
13878 }
13879 return resultobj;
13880 fail:
13881 {
13882 if (temp2)
13883 delete arg2;
13884 }
13885 {
13886 if (temp3)
13887 delete arg3;
13888 }
13889 return NULL;
13890}
13891
13892
13893static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13894 PyObject *resultobj;
13895 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13896 wxString *arg2 = 0 ;
13897 long arg3 = (long) 0 ;
13898 long result;
423f194a 13899 bool temp2 = False ;
d14a1e28
RD
13900 PyObject * obj0 = 0 ;
13901 PyObject * obj1 = 0 ;
13902 char *kwnames[] = {
13903 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13904 };
13905
13906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
13907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13908 {
13909 arg2 = wxString_in_helper(obj1);
13910 if (arg2 == NULL) SWIG_fail;
423f194a 13911 temp2 = True;
d14a1e28
RD
13912 }
13913 {
13914 PyThreadState* __tstate = wxPyBeginAllowThreads();
13915 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
13916
13917 wxPyEndAllowThreads(__tstate);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
13920 resultobj = PyInt_FromLong((long)result);
13921 {
13922 if (temp2)
13923 delete arg2;
13924 }
13925 return resultobj;
13926 fail:
13927 {
13928 if (temp2)
13929 delete arg2;
13930 }
13931 return NULL;
13932}
13933
13934
13935static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
13936 PyObject *resultobj;
13937 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13938 wxString *arg2 = 0 ;
13939 double arg3 = (double) 0.0 ;
13940 double result;
423f194a 13941 bool temp2 = False ;
d14a1e28
RD
13942 PyObject * obj0 = 0 ;
13943 PyObject * obj1 = 0 ;
13944 char *kwnames[] = {
13945 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13946 };
13947
13948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|d:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
13949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13950 {
13951 arg2 = wxString_in_helper(obj1);
13952 if (arg2 == NULL) SWIG_fail;
423f194a 13953 temp2 = True;
d14a1e28
RD
13954 }
13955 {
13956 PyThreadState* __tstate = wxPyBeginAllowThreads();
13957 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
13958
13959 wxPyEndAllowThreads(__tstate);
13960 if (PyErr_Occurred()) SWIG_fail;
13961 }
13962 resultobj = PyFloat_FromDouble(result);
13963 {
13964 if (temp2)
13965 delete arg2;
13966 }
13967 return resultobj;
13968 fail:
13969 {
13970 if (temp2)
13971 delete arg2;
13972 }
13973 return NULL;
13974}
13975
13976
13977static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
13978 PyObject *resultobj;
13979 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
13980 wxString *arg2 = 0 ;
423f194a 13981 bool arg3 = (bool) False ;
d14a1e28 13982 bool result;
423f194a 13983 bool temp2 = False ;
d14a1e28
RD
13984 PyObject * obj0 = 0 ;
13985 PyObject * obj1 = 0 ;
13986 PyObject * obj2 = 0 ;
13987 char *kwnames[] = {
13988 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13989 };
13990
13991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
13992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13993 {
13994 arg2 = wxString_in_helper(obj1);
13995 if (arg2 == NULL) SWIG_fail;
423f194a 13996 temp2 = True;
d14a1e28
RD
13997 }
13998 if (obj2) {
13999 arg3 = PyInt_AsLong(obj2) ? true : false;
14000 if (PyErr_Occurred()) SWIG_fail;
14001 }
14002 {
14003 PyThreadState* __tstate = wxPyBeginAllowThreads();
14004 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
14005
14006 wxPyEndAllowThreads(__tstate);
14007 if (PyErr_Occurred()) SWIG_fail;
14008 }
14009 resultobj = PyInt_FromLong((long)result);
14010 {
14011 if (temp2)
14012 delete arg2;
14013 }
14014 return resultobj;
14015 fail:
14016 {
14017 if (temp2)
14018 delete arg2;
14019 }
14020 return NULL;
14021}
14022
14023
14024static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
14025 PyObject *resultobj;
14026 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14027 wxString *arg2 = 0 ;
14028 wxString *arg3 = 0 ;
14029 bool result;
423f194a
RD
14030 bool temp2 = False ;
14031 bool temp3 = False ;
d14a1e28
RD
14032 PyObject * obj0 = 0 ;
14033 PyObject * obj1 = 0 ;
14034 PyObject * obj2 = 0 ;
14035 char *kwnames[] = {
14036 (char *) "self",(char *) "key",(char *) "value", NULL
14037 };
14038
14039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
14040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14041 {
14042 arg2 = wxString_in_helper(obj1);
14043 if (arg2 == NULL) SWIG_fail;
423f194a 14044 temp2 = True;
d14a1e28
RD
14045 }
14046 {
14047 arg3 = wxString_in_helper(obj2);
14048 if (arg3 == NULL) SWIG_fail;
423f194a 14049 temp3 = True;
d14a1e28
RD
14050 }
14051 {
14052 PyThreadState* __tstate = wxPyBeginAllowThreads();
14053 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
14054
14055 wxPyEndAllowThreads(__tstate);
14056 if (PyErr_Occurred()) SWIG_fail;
14057 }
14058 resultobj = PyInt_FromLong((long)result);
14059 {
14060 if (temp2)
14061 delete arg2;
14062 }
14063 {
14064 if (temp3)
14065 delete arg3;
14066 }
14067 return resultobj;
14068 fail:
14069 {
14070 if (temp2)
14071 delete arg2;
14072 }
14073 {
14074 if (temp3)
14075 delete arg3;
14076 }
14077 return NULL;
14078}
14079
14080
14081static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
14082 PyObject *resultobj;
14083 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14084 wxString *arg2 = 0 ;
14085 long arg3 ;
14086 bool result;
423f194a 14087 bool temp2 = False ;
d14a1e28
RD
14088 PyObject * obj0 = 0 ;
14089 PyObject * obj1 = 0 ;
14090 char *kwnames[] = {
14091 (char *) "self",(char *) "key",(char *) "value", NULL
14092 };
14093
14094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
14095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14096 {
14097 arg2 = wxString_in_helper(obj1);
14098 if (arg2 == NULL) SWIG_fail;
423f194a 14099 temp2 = True;
d14a1e28
RD
14100 }
14101 {
14102 PyThreadState* __tstate = wxPyBeginAllowThreads();
14103 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14104
14105 wxPyEndAllowThreads(__tstate);
14106 if (PyErr_Occurred()) SWIG_fail;
14107 }
14108 resultobj = PyInt_FromLong((long)result);
14109 {
14110 if (temp2)
14111 delete arg2;
14112 }
14113 return resultobj;
14114 fail:
14115 {
14116 if (temp2)
14117 delete arg2;
14118 }
14119 return NULL;
14120}
14121
14122
14123static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
14124 PyObject *resultobj;
14125 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14126 wxString *arg2 = 0 ;
14127 double arg3 ;
14128 bool result;
423f194a 14129 bool temp2 = False ;
d14a1e28
RD
14130 PyObject * obj0 = 0 ;
14131 PyObject * obj1 = 0 ;
14132 char *kwnames[] = {
14133 (char *) "self",(char *) "key",(char *) "value", NULL
14134 };
14135
14136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOd:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&arg3)) goto fail;
14137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14138 {
14139 arg2 = wxString_in_helper(obj1);
14140 if (arg2 == NULL) SWIG_fail;
423f194a 14141 temp2 = True;
d14a1e28
RD
14142 }
14143 {
14144 PyThreadState* __tstate = wxPyBeginAllowThreads();
14145 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14146
14147 wxPyEndAllowThreads(__tstate);
14148 if (PyErr_Occurred()) SWIG_fail;
14149 }
14150 resultobj = PyInt_FromLong((long)result);
14151 {
14152 if (temp2)
14153 delete arg2;
14154 }
14155 return resultobj;
14156 fail:
14157 {
14158 if (temp2)
14159 delete arg2;
14160 }
14161 return NULL;
14162}
14163
14164
14165static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
14166 PyObject *resultobj;
14167 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14168 wxString *arg2 = 0 ;
14169 bool arg3 ;
14170 bool result;
423f194a 14171 bool temp2 = False ;
d14a1e28
RD
14172 PyObject * obj0 = 0 ;
14173 PyObject * obj1 = 0 ;
14174 PyObject * obj2 = 0 ;
14175 char *kwnames[] = {
14176 (char *) "self",(char *) "key",(char *) "value", NULL
14177 };
14178
14179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
14180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14181 {
14182 arg2 = wxString_in_helper(obj1);
14183 if (arg2 == NULL) SWIG_fail;
423f194a 14184 temp2 = True;
d14a1e28
RD
14185 }
14186 arg3 = PyInt_AsLong(obj2) ? true : false;
14187 if (PyErr_Occurred()) SWIG_fail;
14188 {
14189 PyThreadState* __tstate = wxPyBeginAllowThreads();
14190 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14191
14192 wxPyEndAllowThreads(__tstate);
14193 if (PyErr_Occurred()) SWIG_fail;
14194 }
14195 resultobj = PyInt_FromLong((long)result);
14196 {
14197 if (temp2)
14198 delete arg2;
14199 }
14200 return resultobj;
14201 fail:
14202 {
14203 if (temp2)
14204 delete arg2;
14205 }
14206 return NULL;
14207}
14208
14209
14210static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
14211 PyObject *resultobj;
14212 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 14213 bool arg2 = (bool) False ;
d14a1e28
RD
14214 bool result;
14215 PyObject * obj0 = 0 ;
14216 PyObject * obj1 = 0 ;
14217 char *kwnames[] = {
14218 (char *) "self",(char *) "bCurrentOnly", NULL
14219 };
14220
14221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
14222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14223 if (obj1) {
14224 arg2 = PyInt_AsLong(obj1) ? true : false;
14225 if (PyErr_Occurred()) SWIG_fail;
14226 }
14227 {
14228 PyThreadState* __tstate = wxPyBeginAllowThreads();
14229 result = (bool)(arg1)->Flush(arg2);
14230
14231 wxPyEndAllowThreads(__tstate);
14232 if (PyErr_Occurred()) SWIG_fail;
14233 }
14234 resultobj = PyInt_FromLong((long)result);
14235 return resultobj;
14236 fail:
14237 return NULL;
14238}
14239
14240
14241static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14242 PyObject *resultobj;
14243 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14244 wxString *arg2 = 0 ;
14245 wxString *arg3 = 0 ;
14246 bool result;
423f194a
RD
14247 bool temp2 = False ;
14248 bool temp3 = False ;
d14a1e28
RD
14249 PyObject * obj0 = 0 ;
14250 PyObject * obj1 = 0 ;
14251 PyObject * obj2 = 0 ;
14252 char *kwnames[] = {
14253 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14254 };
14255
14256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14258 {
14259 arg2 = wxString_in_helper(obj1);
14260 if (arg2 == NULL) SWIG_fail;
423f194a 14261 temp2 = True;
d14a1e28
RD
14262 }
14263 {
14264 arg3 = wxString_in_helper(obj2);
14265 if (arg3 == NULL) SWIG_fail;
423f194a 14266 temp3 = True;
d14a1e28
RD
14267 }
14268 {
14269 PyThreadState* __tstate = wxPyBeginAllowThreads();
14270 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
14271
14272 wxPyEndAllowThreads(__tstate);
14273 if (PyErr_Occurred()) SWIG_fail;
14274 }
14275 resultobj = PyInt_FromLong((long)result);
14276 {
14277 if (temp2)
14278 delete arg2;
14279 }
14280 {
14281 if (temp3)
14282 delete arg3;
14283 }
14284 return resultobj;
14285 fail:
14286 {
14287 if (temp2)
14288 delete arg2;
14289 }
14290 {
14291 if (temp3)
14292 delete arg3;
14293 }
14294 return NULL;
14295}
14296
14297
14298static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14299 PyObject *resultobj;
14300 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14301 wxString *arg2 = 0 ;
14302 wxString *arg3 = 0 ;
14303 bool result;
423f194a
RD
14304 bool temp2 = False ;
14305 bool temp3 = False ;
d14a1e28
RD
14306 PyObject * obj0 = 0 ;
14307 PyObject * obj1 = 0 ;
14308 PyObject * obj2 = 0 ;
14309 char *kwnames[] = {
14310 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14311 };
14312
14313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
14314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14315 {
14316 arg2 = wxString_in_helper(obj1);
14317 if (arg2 == NULL) SWIG_fail;
423f194a 14318 temp2 = True;
d14a1e28
RD
14319 }
14320 {
14321 arg3 = wxString_in_helper(obj2);
14322 if (arg3 == NULL) SWIG_fail;
423f194a 14323 temp3 = True;
d14a1e28
RD
14324 }
14325 {
14326 PyThreadState* __tstate = wxPyBeginAllowThreads();
14327 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
14328
14329 wxPyEndAllowThreads(__tstate);
14330 if (PyErr_Occurred()) SWIG_fail;
14331 }
14332 resultobj = PyInt_FromLong((long)result);
14333 {
14334 if (temp2)
14335 delete arg2;
14336 }
14337 {
14338 if (temp3)
14339 delete arg3;
14340 }
14341 return resultobj;
14342 fail:
14343 {
14344 if (temp2)
14345 delete arg2;
14346 }
14347 {
14348 if (temp3)
14349 delete arg3;
14350 }
14351 return NULL;
14352}
14353
14354
14355static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14356 PyObject *resultobj;
14357 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14358 wxString *arg2 = 0 ;
423f194a 14359 bool arg3 = (bool) True ;
d14a1e28 14360 bool result;
423f194a 14361 bool temp2 = False ;
d14a1e28
RD
14362 PyObject * obj0 = 0 ;
14363 PyObject * obj1 = 0 ;
14364 PyObject * obj2 = 0 ;
14365 char *kwnames[] = {
14366 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14367 };
14368
14369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
14370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14371 {
14372 arg2 = wxString_in_helper(obj1);
14373 if (arg2 == NULL) SWIG_fail;
423f194a 14374 temp2 = True;
d14a1e28
RD
14375 }
14376 if (obj2) {
14377 arg3 = PyInt_AsLong(obj2) ? true : false;
14378 if (PyErr_Occurred()) SWIG_fail;
14379 }
14380 {
14381 PyThreadState* __tstate = wxPyBeginAllowThreads();
14382 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
14383
14384 wxPyEndAllowThreads(__tstate);
14385 if (PyErr_Occurred()) SWIG_fail;
14386 }
14387 resultobj = PyInt_FromLong((long)result);
14388 {
14389 if (temp2)
14390 delete arg2;
14391 }
14392 return resultobj;
14393 fail:
14394 {
14395 if (temp2)
14396 delete arg2;
14397 }
14398 return NULL;
14399}
14400
14401
14402static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14403 PyObject *resultobj;
14404 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14405 wxString *arg2 = 0 ;
14406 bool result;
423f194a 14407 bool temp2 = False ;
d14a1e28
RD
14408 PyObject * obj0 = 0 ;
14409 PyObject * obj1 = 0 ;
14410 char *kwnames[] = {
14411 (char *) "self",(char *) "key", NULL
14412 };
14413
14414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
14415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14416 {
14417 arg2 = wxString_in_helper(obj1);
14418 if (arg2 == NULL) SWIG_fail;
423f194a 14419 temp2 = True;
d14a1e28
RD
14420 }
14421 {
14422 PyThreadState* __tstate = wxPyBeginAllowThreads();
14423 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
14424
14425 wxPyEndAllowThreads(__tstate);
14426 if (PyErr_Occurred()) SWIG_fail;
14427 }
14428 resultobj = PyInt_FromLong((long)result);
14429 {
14430 if (temp2)
14431 delete arg2;
14432 }
14433 return resultobj;
14434 fail:
14435 {
14436 if (temp2)
14437 delete arg2;
14438 }
14439 return NULL;
14440}
14441
14442
14443static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
14444 PyObject *resultobj;
14445 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14446 bool result;
14447 PyObject * obj0 = 0 ;
14448 char *kwnames[] = {
14449 (char *) "self", NULL
14450 };
14451
14452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
14453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14454 {
14455 PyThreadState* __tstate = wxPyBeginAllowThreads();
14456 result = (bool)(arg1)->DeleteAll();
14457
14458 wxPyEndAllowThreads(__tstate);
14459 if (PyErr_Occurred()) SWIG_fail;
14460 }
14461 resultobj = PyInt_FromLong((long)result);
14462 return resultobj;
14463 fail:
14464 return NULL;
14465}
14466
14467
14468static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14469 PyObject *resultobj;
14470 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14471 bool result;
14472 PyObject * obj0 = 0 ;
14473 char *kwnames[] = {
14474 (char *) "self", NULL
14475 };
14476
14477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
14478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14479 {
14480 PyThreadState* __tstate = wxPyBeginAllowThreads();
14481 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
14482
14483 wxPyEndAllowThreads(__tstate);
14484 if (PyErr_Occurred()) SWIG_fail;
14485 }
14486 resultobj = PyInt_FromLong((long)result);
14487 return resultobj;
14488 fail:
14489 return NULL;
14490}
14491
14492
14493static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14494 PyObject *resultobj;
14495 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 14496 bool arg2 = (bool) True ;
d14a1e28
RD
14497 PyObject * obj0 = 0 ;
14498 PyObject * obj1 = 0 ;
14499 char *kwnames[] = {
14500 (char *) "self",(char *) "bDoIt", NULL
14501 };
14502
14503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14505 if (obj1) {
14506 arg2 = PyInt_AsLong(obj1) ? true : false;
14507 if (PyErr_Occurred()) SWIG_fail;
14508 }
14509 {
14510 PyThreadState* __tstate = wxPyBeginAllowThreads();
14511 (arg1)->SetExpandEnvVars(arg2);
14512
14513 wxPyEndAllowThreads(__tstate);
14514 if (PyErr_Occurred()) SWIG_fail;
14515 }
14516 Py_INCREF(Py_None); resultobj = Py_None;
14517 return resultobj;
14518 fail:
14519 return NULL;
14520}
14521
14522
14523static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14524 PyObject *resultobj;
14525 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
423f194a 14526 bool arg2 = (bool) True ;
d14a1e28
RD
14527 PyObject * obj0 = 0 ;
14528 PyObject * obj1 = 0 ;
14529 char *kwnames[] = {
14530 (char *) "self",(char *) "bDoIt", NULL
14531 };
14532
14533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
14534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14535 if (obj1) {
14536 arg2 = PyInt_AsLong(obj1) ? true : false;
14537 if (PyErr_Occurred()) SWIG_fail;
14538 }
14539 {
14540 PyThreadState* __tstate = wxPyBeginAllowThreads();
14541 (arg1)->SetRecordDefaults(arg2);
14542
14543 wxPyEndAllowThreads(__tstate);
14544 if (PyErr_Occurred()) SWIG_fail;
14545 }
14546 Py_INCREF(Py_None); resultobj = Py_None;
14547 return resultobj;
14548 fail:
14549 return NULL;
14550}
14551
14552
14553static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
14554 PyObject *resultobj;
14555 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14556 bool result;
14557 PyObject * obj0 = 0 ;
14558 char *kwnames[] = {
14559 (char *) "self", NULL
14560 };
14561
14562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
14563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14564 {
14565 PyThreadState* __tstate = wxPyBeginAllowThreads();
14566 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
14567
14568 wxPyEndAllowThreads(__tstate);
14569 if (PyErr_Occurred()) SWIG_fail;
14570 }
14571 resultobj = PyInt_FromLong((long)result);
14572 return resultobj;
14573 fail:
14574 return NULL;
14575}
14576
14577
14578static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
14579 PyObject *resultobj;
14580 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14581 wxString *arg2 = 0 ;
14582 wxString result;
423f194a 14583 bool temp2 = False ;
d14a1e28
RD
14584 PyObject * obj0 = 0 ;
14585 PyObject * obj1 = 0 ;
14586 char *kwnames[] = {
14587 (char *) "self",(char *) "str", NULL
14588 };
14589
14590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
14591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14592 {
14593 arg2 = wxString_in_helper(obj1);
14594 if (arg2 == NULL) SWIG_fail;
423f194a 14595 temp2 = True;
d14a1e28
RD
14596 }
14597 {
14598 PyThreadState* __tstate = wxPyBeginAllowThreads();
14599 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
14600
14601 wxPyEndAllowThreads(__tstate);
14602 if (PyErr_Occurred()) SWIG_fail;
14603 }
14604 {
14605#if wxUSE_UNICODE
14606 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14607#else
14608 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14609#endif
14610 }
14611 {
14612 if (temp2)
14613 delete arg2;
14614 }
14615 return resultobj;
14616 fail:
14617 {
14618 if (temp2)
14619 delete arg2;
14620 }
14621 return NULL;
14622}
14623
14624
14625static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14626 PyObject *resultobj;
14627 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14628 wxString result;
14629 PyObject * obj0 = 0 ;
14630 char *kwnames[] = {
14631 (char *) "self", NULL
14632 };
14633
14634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
14635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14636 {
14637 PyThreadState* __tstate = wxPyBeginAllowThreads();
14638 result = ((wxConfigBase const *)arg1)->GetAppName();
14639
14640 wxPyEndAllowThreads(__tstate);
14641 if (PyErr_Occurred()) SWIG_fail;
14642 }
14643 {
14644#if wxUSE_UNICODE
14645 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14646#else
14647 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14648#endif
14649 }
14650 return resultobj;
14651 fail:
14652 return NULL;
14653}
14654
14655
14656static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14657 PyObject *resultobj;
14658 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14659 wxString result;
14660 PyObject * obj0 = 0 ;
14661 char *kwnames[] = {
14662 (char *) "self", NULL
14663 };
14664
14665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
14666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14667 {
14668 PyThreadState* __tstate = wxPyBeginAllowThreads();
14669 result = ((wxConfigBase const *)arg1)->GetVendorName();
14670
14671 wxPyEndAllowThreads(__tstate);
14672 if (PyErr_Occurred()) SWIG_fail;
14673 }
14674 {
14675#if wxUSE_UNICODE
14676 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14677#else
14678 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14679#endif
14680 }
14681 return resultobj;
14682 fail:
14683 return NULL;
14684}
14685
14686
14687static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
14688 PyObject *resultobj;
14689 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14690 wxString *arg2 = 0 ;
423f194a 14691 bool temp2 = False ;
d14a1e28
RD
14692 PyObject * obj0 = 0 ;
14693 PyObject * obj1 = 0 ;
14694 char *kwnames[] = {
14695 (char *) "self",(char *) "appName", NULL
14696 };
14697
14698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
14699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14700 {
14701 arg2 = wxString_in_helper(obj1);
14702 if (arg2 == NULL) SWIG_fail;
423f194a 14703 temp2 = True;
d14a1e28
RD
14704 }
14705 {
14706 PyThreadState* __tstate = wxPyBeginAllowThreads();
14707 (arg1)->SetAppName((wxString const &)*arg2);
14708
14709 wxPyEndAllowThreads(__tstate);
14710 if (PyErr_Occurred()) SWIG_fail;
14711 }
14712 Py_INCREF(Py_None); resultobj = Py_None;
14713 {
14714 if (temp2)
14715 delete arg2;
14716 }
14717 return resultobj;
14718 fail:
14719 {
14720 if (temp2)
14721 delete arg2;
14722 }
14723 return NULL;
14724}
14725
14726
14727static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
14728 PyObject *resultobj;
14729 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14730 wxString *arg2 = 0 ;
423f194a 14731 bool temp2 = False ;
d14a1e28
RD
14732 PyObject * obj0 = 0 ;
14733 PyObject * obj1 = 0 ;
14734 char *kwnames[] = {
14735 (char *) "self",(char *) "vendorName", NULL
14736 };
14737
14738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
14739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14740 {
14741 arg2 = wxString_in_helper(obj1);
14742 if (arg2 == NULL) SWIG_fail;
423f194a 14743 temp2 = True;
d14a1e28
RD
14744 }
14745 {
14746 PyThreadState* __tstate = wxPyBeginAllowThreads();
14747 (arg1)->SetVendorName((wxString const &)*arg2);
14748
14749 wxPyEndAllowThreads(__tstate);
14750 if (PyErr_Occurred()) SWIG_fail;
14751 }
14752 Py_INCREF(Py_None); resultobj = Py_None;
14753 {
14754 if (temp2)
14755 delete arg2;
14756 }
14757 return resultobj;
14758 fail:
14759 {
14760 if (temp2)
14761 delete arg2;
14762 }
14763 return NULL;
14764}
14765
14766
14767static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14768 PyObject *resultobj;
14769 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14770 long arg2 ;
14771 PyObject * obj0 = 0 ;
14772 char *kwnames[] = {
14773 (char *) "self",(char *) "style", NULL
14774 };
14775
14776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ConfigBase_SetStyle",kwnames,&obj0,&arg2)) goto fail;
14777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14778 {
14779 PyThreadState* __tstate = wxPyBeginAllowThreads();
14780 (arg1)->SetStyle(arg2);
14781
14782 wxPyEndAllowThreads(__tstate);
14783 if (PyErr_Occurred()) SWIG_fail;
14784 }
14785 Py_INCREF(Py_None); resultobj = Py_None;
14786 return resultobj;
14787 fail:
14788 return NULL;
14789}
14790
14791
14792static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14793 PyObject *resultobj;
14794 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14795 long result;
14796 PyObject * obj0 = 0 ;
14797 char *kwnames[] = {
14798 (char *) "self", NULL
14799 };
14800
14801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
14802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14803 {
14804 PyThreadState* __tstate = wxPyBeginAllowThreads();
14805 result = (long)((wxConfigBase const *)arg1)->GetStyle();
14806
14807 wxPyEndAllowThreads(__tstate);
14808 if (PyErr_Occurred()) SWIG_fail;
14809 }
14810 resultobj = PyInt_FromLong((long)result);
14811 return resultobj;
14812 fail:
14813 return NULL;
14814}
14815
14816
14817static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
14818 PyObject *obj;
14819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14820 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
14821 Py_INCREF(obj);
14822 return Py_BuildValue((char *)"");
14823}
14824static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14825 PyObject *resultobj;
14826 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14827 wxString *arg2 = 0 ;
14828 wxConfigPathChanger *result;
423f194a 14829 bool temp2 = False ;
d14a1e28
RD
14830 PyObject * obj0 = 0 ;
14831 PyObject * obj1 = 0 ;
14832 char *kwnames[] = {
14833 (char *) "pContainer",(char *) "strEntry", NULL
14834 };
14835
14836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
14837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14838 {
14839 arg2 = wxString_in_helper(obj1);
14840 if (arg2 == NULL) SWIG_fail;
423f194a 14841 temp2 = True;
d14a1e28
RD
14842 }
14843 {
14844 PyThreadState* __tstate = wxPyBeginAllowThreads();
14845 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
14846
14847 wxPyEndAllowThreads(__tstate);
14848 if (PyErr_Occurred()) SWIG_fail;
14849 }
14850 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigPathChanger, 1);
14851 {
14852 if (temp2)
14853 delete arg2;
14854 }
14855 return resultobj;
14856 fail:
14857 {
14858 if (temp2)
14859 delete arg2;
14860 }
14861 return NULL;
14862}
14863
14864
14865static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
14866 PyObject *resultobj;
14867 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14868 PyObject * obj0 = 0 ;
14869 char *kwnames[] = {
14870 (char *) "self", NULL
14871 };
14872
14873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
14874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14875 {
14876 PyThreadState* __tstate = wxPyBeginAllowThreads();
14877 delete arg1;
14878
14879 wxPyEndAllowThreads(__tstate);
14880 if (PyErr_Occurred()) SWIG_fail;
14881 }
14882 Py_INCREF(Py_None); resultobj = Py_None;
14883 return resultobj;
14884 fail:
14885 return NULL;
14886}
14887
14888
14889static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
14890 PyObject *resultobj;
14891 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
14892 wxString *result;
14893 PyObject * obj0 = 0 ;
14894 char *kwnames[] = {
14895 (char *) "self", NULL
14896 };
14897
14898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
14899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14900 {
14901 PyThreadState* __tstate = wxPyBeginAllowThreads();
14902 {
14903 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
14904 result = (wxString *) &_result_ref;
14905 }
14906
14907 wxPyEndAllowThreads(__tstate);
14908 if (PyErr_Occurred()) SWIG_fail;
14909 }
f0983263
RD
14910 {
14911#if wxUSE_UNICODE
14912 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14913#else
14914 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14915#endif
14916 }
d14a1e28
RD
14917 return resultobj;
14918 fail:
14919 return NULL;
14920}
14921
14922
14923static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
14924 PyObject *obj;
14925 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14926 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
14927 Py_INCREF(obj);
14928 return Py_BuildValue((char *)"");
14929}
14930static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
14931 PyObject *resultobj;
14932 wxString const &arg1_defvalue = wxPyEmptyString ;
14933 wxString *arg1 = (wxString *) &arg1_defvalue ;
14934 wxString const &arg2_defvalue = wxPyEmptyString ;
14935 wxString *arg2 = (wxString *) &arg2_defvalue ;
14936 wxString const &arg3_defvalue = wxPyEmptyString ;
14937 wxString *arg3 = (wxString *) &arg3_defvalue ;
14938 wxString const &arg4_defvalue = wxPyEmptyString ;
14939 wxString *arg4 = (wxString *) &arg4_defvalue ;
14940 long arg5 = (long) 0 ;
14941 wxConfig *result;
423f194a
RD
14942 bool temp1 = False ;
14943 bool temp2 = False ;
14944 bool temp3 = False ;
14945 bool temp4 = False ;
d14a1e28
RD
14946 PyObject * obj0 = 0 ;
14947 PyObject * obj1 = 0 ;
14948 PyObject * obj2 = 0 ;
14949 PyObject * obj3 = 0 ;
14950 char *kwnames[] = {
14951 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14952 };
14953
14954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
14955 if (obj0) {
14956 {
14957 arg1 = wxString_in_helper(obj0);
14958 if (arg1 == NULL) SWIG_fail;
423f194a 14959 temp1 = True;
d14a1e28
RD
14960 }
14961 }
14962 if (obj1) {
14963 {
14964 arg2 = wxString_in_helper(obj1);
14965 if (arg2 == NULL) SWIG_fail;
423f194a 14966 temp2 = True;
d14a1e28
RD
14967 }
14968 }
14969 if (obj2) {
14970 {
14971 arg3 = wxString_in_helper(obj2);
14972 if (arg3 == NULL) SWIG_fail;
423f194a 14973 temp3 = True;
d14a1e28
RD
14974 }
14975 }
14976 if (obj3) {
14977 {
14978 arg4 = wxString_in_helper(obj3);
14979 if (arg4 == NULL) SWIG_fail;
423f194a 14980 temp4 = True;
d14a1e28
RD
14981 }
14982 }
14983 {
14984 PyThreadState* __tstate = wxPyBeginAllowThreads();
14985 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
14986
14987 wxPyEndAllowThreads(__tstate);
14988 if (PyErr_Occurred()) SWIG_fail;
14989 }
14990 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfig, 1);
14991 {
14992 if (temp1)
14993 delete arg1;
14994 }
14995 {
14996 if (temp2)
14997 delete arg2;
14998 }
14999 {
15000 if (temp3)
15001 delete arg3;
15002 }
15003 {
15004 if (temp4)
15005 delete arg4;
15006 }
15007 return resultobj;
15008 fail:
15009 {
15010 if (temp1)
15011 delete arg1;
15012 }
15013 {
15014 if (temp2)
15015 delete arg2;
15016 }
15017 {
15018 if (temp3)
15019 delete arg3;
15020 }
15021 {
15022 if (temp4)
15023 delete arg4;
15024 }
15025 return NULL;
15026}
15027
15028
15029static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
15030 PyObject *resultobj;
15031 wxConfig *arg1 = (wxConfig *) 0 ;
15032 PyObject * obj0 = 0 ;
15033 char *kwnames[] = {
15034 (char *) "self", NULL
15035 };
15036
15037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
15038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15039 {
15040 PyThreadState* __tstate = wxPyBeginAllowThreads();
15041 delete arg1;
15042
15043 wxPyEndAllowThreads(__tstate);
15044 if (PyErr_Occurred()) SWIG_fail;
15045 }
15046 Py_INCREF(Py_None); resultobj = Py_None;
15047 return resultobj;
15048 fail:
15049 return NULL;
15050}
15051
15052
15053static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
15054 PyObject *obj;
15055 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15056 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
15057 Py_INCREF(obj);
15058 return Py_BuildValue((char *)"");
15059}
15060static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
15061 PyObject *resultobj;
15062 wxString const &arg1_defvalue = wxPyEmptyString ;
15063 wxString *arg1 = (wxString *) &arg1_defvalue ;
15064 wxString const &arg2_defvalue = wxPyEmptyString ;
15065 wxString *arg2 = (wxString *) &arg2_defvalue ;
15066 wxString const &arg3_defvalue = wxPyEmptyString ;
15067 wxString *arg3 = (wxString *) &arg3_defvalue ;
15068 wxString const &arg4_defvalue = wxPyEmptyString ;
15069 wxString *arg4 = (wxString *) &arg4_defvalue ;
15070 long arg5 = (long) 0 ;
15071 wxFileConfig *result;
423f194a
RD
15072 bool temp1 = False ;
15073 bool temp2 = False ;
15074 bool temp3 = False ;
15075 bool temp4 = False ;
d14a1e28
RD
15076 PyObject * obj0 = 0 ;
15077 PyObject * obj1 = 0 ;
15078 PyObject * obj2 = 0 ;
15079 PyObject * obj3 = 0 ;
15080 char *kwnames[] = {
15081 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15082 };
15083
15084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOl:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
15085 if (obj0) {
15086 {
15087 arg1 = wxString_in_helper(obj0);
15088 if (arg1 == NULL) SWIG_fail;
423f194a 15089 temp1 = True;
d14a1e28
RD
15090 }
15091 }
15092 if (obj1) {
15093 {
15094 arg2 = wxString_in_helper(obj1);
15095 if (arg2 == NULL) SWIG_fail;
423f194a 15096 temp2 = True;
d14a1e28
RD
15097 }
15098 }
15099 if (obj2) {
15100 {
15101 arg3 = wxString_in_helper(obj2);
15102 if (arg3 == NULL) SWIG_fail;
423f194a 15103 temp3 = True;
d14a1e28
RD
15104 }
15105 }
15106 if (obj3) {
15107 {
15108 arg4 = wxString_in_helper(obj3);
15109 if (arg4 == NULL) SWIG_fail;
423f194a 15110 temp4 = True;
d14a1e28
RD
15111 }
15112 }
15113 {
15114 PyThreadState* __tstate = wxPyBeginAllowThreads();
15115 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
15116
15117 wxPyEndAllowThreads(__tstate);
15118 if (PyErr_Occurred()) SWIG_fail;
15119 }
15120 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileConfig, 1);
15121 {
15122 if (temp1)
15123 delete arg1;
15124 }
15125 {
15126 if (temp2)
15127 delete arg2;
15128 }
15129 {
15130 if (temp3)
15131 delete arg3;
15132 }
15133 {
15134 if (temp4)
15135 delete arg4;
15136 }
15137 return resultobj;
15138 fail:
15139 {
15140 if (temp1)
15141 delete arg1;
15142 }
15143 {
15144 if (temp2)
15145 delete arg2;
15146 }
15147 {
15148 if (temp3)
15149 delete arg3;
15150 }
15151 {
15152 if (temp4)
15153 delete arg4;
15154 }
15155 return NULL;
15156}
15157
15158
15159static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
15160 PyObject *resultobj;
15161 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
15162 PyObject * obj0 = 0 ;
15163 char *kwnames[] = {
15164 (char *) "self", NULL
15165 };
15166
15167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
15168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15169 {
15170 PyThreadState* __tstate = wxPyBeginAllowThreads();
15171 delete arg1;
15172
15173 wxPyEndAllowThreads(__tstate);
15174 if (PyErr_Occurred()) SWIG_fail;
15175 }
15176 Py_INCREF(Py_None); resultobj = Py_None;
15177 return resultobj;
15178 fail:
15179 return NULL;
15180}
15181
15182
15183static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
15184 PyObject *obj;
15185 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15186 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
15187 Py_INCREF(obj);
15188 return Py_BuildValue((char *)"");
15189}
15190static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15191 PyObject *resultobj;
15192 wxString *arg1 = 0 ;
15193 wxString result;
423f194a 15194 bool temp1 = False ;
d14a1e28
RD
15195 PyObject * obj0 = 0 ;
15196 char *kwnames[] = {
15197 (char *) "sz", NULL
15198 };
15199
15200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
15201 {
15202 arg1 = wxString_in_helper(obj0);
15203 if (arg1 == NULL) SWIG_fail;
423f194a 15204 temp1 = True;
d14a1e28
RD
15205 }
15206 {
15207 PyThreadState* __tstate = wxPyBeginAllowThreads();
15208 result = wxExpandEnvVars((wxString const &)*arg1);
15209
15210 wxPyEndAllowThreads(__tstate);
15211 if (PyErr_Occurred()) SWIG_fail;
15212 }
15213 {
15214#if wxUSE_UNICODE
15215 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15216#else
15217 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15218#endif
15219 }
15220 {
15221 if (temp1)
15222 delete arg1;
15223 }
15224 return resultobj;
15225 fail:
15226 {
15227 if (temp1)
15228 delete arg1;
15229 }
15230 return NULL;
15231}
15232
15233
d03fd34d
RD
15234static int _wrap_DateFormatStr_set(PyObject *_val) {
15235 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
15236 return 1;
15237}
15238
15239
15240static PyObject *_wrap_DateFormatStr_get() {
15241 PyObject *pyobj;
15242
15243 {
15244#if wxUSE_UNICODE
15245 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
15246#else
15247 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
15248#endif
15249 }
15250 return pyobj;
15251}
15252
15253
15254static int _wrap_TimeSpanFormatStr_set(PyObject *_val) {
15255 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
15256 return 1;
15257}
15258
15259
15260static PyObject *_wrap_TimeSpanFormatStr_get() {
15261 PyObject *pyobj;
15262
15263 {
15264#if wxUSE_UNICODE
15265 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
15266#else
15267 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
15268#endif
15269 }
15270 return pyobj;
15271}
15272
15273
d14a1e28
RD
15274static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15275 PyObject *resultobj;
15276 int arg1 ;
15277 char *kwnames[] = {
15278 (char *) "country", NULL
15279 };
15280
15281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_SetCountry",kwnames,&arg1)) goto fail;
15282 {
15283 PyThreadState* __tstate = wxPyBeginAllowThreads();
15284 wxDateTime::SetCountry((wxDateTime::Country )arg1);
15285
15286 wxPyEndAllowThreads(__tstate);
15287 if (PyErr_Occurred()) SWIG_fail;
15288 }
15289 Py_INCREF(Py_None); resultobj = Py_None;
15290 return resultobj;
15291 fail:
15292 return NULL;
15293}
15294
15295
15296static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15297 PyObject *resultobj;
15298 int result;
15299 char *kwnames[] = {
15300 NULL
15301 };
15302
15303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
15304 {
15305 PyThreadState* __tstate = wxPyBeginAllowThreads();
15306 result = (int)wxDateTime::GetCountry();
15307
15308 wxPyEndAllowThreads(__tstate);
15309 if (PyErr_Occurred()) SWIG_fail;
15310 }
15311 resultobj = PyInt_FromLong((long)result);
15312 return resultobj;
15313 fail:
15314 return NULL;
15315}
15316
15317
15318static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
15319 PyObject *resultobj;
15320 int arg1 = (int) wxDateTime::Country_Default ;
15321 bool result;
15322 char *kwnames[] = {
15323 (char *) "country", NULL
15324 };
15325
15326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames,&arg1)) goto fail;
15327 {
15328 PyThreadState* __tstate = wxPyBeginAllowThreads();
15329 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
15330
15331 wxPyEndAllowThreads(__tstate);
15332 if (PyErr_Occurred()) SWIG_fail;
15333 }
15334 resultobj = PyInt_FromLong((long)result);
15335 return resultobj;
15336 fail:
15337 return NULL;
15338}
15339
15340
15341static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15342 PyObject *resultobj;
15343 int arg1 = (int) wxDateTime::Gregorian ;
15344 int result;
15345 char *kwnames[] = {
15346 (char *) "cal", NULL
15347 };
15348
15349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentYear",kwnames,&arg1)) goto fail;
15350 {
15351 PyThreadState* __tstate = wxPyBeginAllowThreads();
15352 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
15353
15354 wxPyEndAllowThreads(__tstate);
15355 if (PyErr_Occurred()) SWIG_fail;
15356 }
15357 resultobj = PyInt_FromLong((long)result);
15358 return resultobj;
15359 fail:
15360 return NULL;
15361}
15362
15363
15364static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
15365 PyObject *resultobj;
15366 int arg1 ;
15367 int result;
15368 char *kwnames[] = {
15369 (char *) "year", NULL
15370 };
15371
15372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateTime_ConvertYearToBC",kwnames,&arg1)) goto fail;
15373 {
15374 PyThreadState* __tstate = wxPyBeginAllowThreads();
15375 result = (int)wxDateTime::ConvertYearToBC(arg1);
15376
15377 wxPyEndAllowThreads(__tstate);
15378 if (PyErr_Occurred()) SWIG_fail;
15379 }
15380 resultobj = PyInt_FromLong((long)result);
15381 return resultobj;
15382 fail:
15383 return NULL;
15384}
15385
15386
15387static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15388 PyObject *resultobj;
15389 int arg1 = (int) wxDateTime::Gregorian ;
15390 int result;
15391 char *kwnames[] = {
15392 (char *) "cal", NULL
15393 };
15394
15395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCurrentMonth",kwnames,&arg1)) goto fail;
15396 {
15397 PyThreadState* __tstate = wxPyBeginAllowThreads();
15398 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
15399
15400 wxPyEndAllowThreads(__tstate);
15401 if (PyErr_Occurred()) SWIG_fail;
15402 }
15403 resultobj = PyInt_FromLong((long)result);
15404 return resultobj;
15405 fail:
15406 return NULL;
15407}
15408
15409
15410static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15411 PyObject *resultobj;
15412 int arg1 = (int) wxDateTime::Inv_Year ;
15413 int arg2 = (int) wxDateTime::Gregorian ;
15414 bool result;
15415 char *kwnames[] = {
15416 (char *) "year",(char *) "cal", NULL
15417 };
15418
15419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsLeapYear",kwnames,&arg1,&arg2)) goto fail;
15420 {
15421 PyThreadState* __tstate = wxPyBeginAllowThreads();
15422 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
15423
15424 wxPyEndAllowThreads(__tstate);
15425 if (PyErr_Occurred()) SWIG_fail;
15426 }
15427 resultobj = PyInt_FromLong((long)result);
15428 return resultobj;
15429 fail:
15430 return NULL;
15431}
15432
15433
15434static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
15435 PyObject *resultobj;
15436 int arg1 = (int) wxDateTime::Inv_Year ;
15437 int result;
15438 char *kwnames[] = {
15439 (char *) "year", NULL
15440 };
15441
15442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:DateTime_GetCentury",kwnames,&arg1)) goto fail;
15443 {
15444 PyThreadState* __tstate = wxPyBeginAllowThreads();
15445 result = (int)wxDateTime::GetCentury(arg1);
15446
15447 wxPyEndAllowThreads(__tstate);
15448 if (PyErr_Occurred()) SWIG_fail;
15449 }
15450 resultobj = PyInt_FromLong((long)result);
15451 return resultobj;
15452 fail:
15453 return NULL;
15454}
15455
15456
15457static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
15458 PyObject *resultobj;
15459 int arg1 ;
15460 int arg2 = (int) wxDateTime::Gregorian ;
44127b65 15461 int result;
d14a1e28
RD
15462 char *kwnames[] = {
15463 (char *) "year",(char *) "cal", NULL
15464 };
15465
15466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames,&arg1,&arg2)) goto fail;
15467 {
15468 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 15469 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
d14a1e28
RD
15470
15471 wxPyEndAllowThreads(__tstate);
15472 if (PyErr_Occurred()) SWIG_fail;
15473 }
15474 resultobj = PyInt_FromLong((long)result);
15475 return resultobj;
15476 fail:
15477 return NULL;
15478}
15479
15480
15481static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
15482 PyObject *resultobj;
15483 int arg1 ;
15484 int arg2 = (int) wxDateTime::Inv_Year ;
15485 int arg3 = (int) wxDateTime::Gregorian ;
44127b65 15486 int result;
d14a1e28
RD
15487 char *kwnames[] = {
15488 (char *) "month",(char *) "year",(char *) "cal", NULL
15489 };
15490
15491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames,&arg1,&arg2,&arg3)) goto fail;
15492 {
15493 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 15494 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
d14a1e28
RD
15495
15496 wxPyEndAllowThreads(__tstate);
15497 if (PyErr_Occurred()) SWIG_fail;
15498 }
15499 resultobj = PyInt_FromLong((long)result);
15500 return resultobj;
15501 fail:
15502 return NULL;
15503}
15504
15505
15506static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
15507 PyObject *resultobj;
15508 int arg1 ;
15509 int arg2 = (int) wxDateTime::Name_Full ;
15510 wxString result;
15511 char *kwnames[] = {
15512 (char *) "month",(char *) "flags", NULL
15513 };
15514
15515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetMonthName",kwnames,&arg1,&arg2)) goto fail;
15516 {
15517 PyThreadState* __tstate = wxPyBeginAllowThreads();
15518 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
15519
15520 wxPyEndAllowThreads(__tstate);
15521 if (PyErr_Occurred()) SWIG_fail;
15522 }
15523 {
15524#if wxUSE_UNICODE
15525 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15526#else
15527 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15528#endif
15529 }
15530 return resultobj;
15531 fail:
15532 return NULL;
15533}
15534
15535
15536static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
15537 PyObject *resultobj;
15538 int arg1 ;
15539 int arg2 = (int) wxDateTime::Name_Full ;
15540 wxString result;
15541 char *kwnames[] = {
15542 (char *) "weekday",(char *) "flags", NULL
15543 };
15544
15545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|i:DateTime_GetWeekDayName",kwnames,&arg1,&arg2)) goto fail;
15546 {
15547 PyThreadState* __tstate = wxPyBeginAllowThreads();
15548 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
15549
15550 wxPyEndAllowThreads(__tstate);
15551 if (PyErr_Occurred()) SWIG_fail;
15552 }
15553 {
15554#if wxUSE_UNICODE
15555 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15556#else
15557 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15558#endif
15559 }
15560 return resultobj;
15561 fail:
15562 return NULL;
15563}
15564
15565
15566static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
15567 PyObject *resultobj;
15568 wxString *arg1 = (wxString *) 0 ;
15569 wxString *arg2 = (wxString *) 0 ;
f775c30d
RD
15570 bool temp1 = False ;
15571 bool temp2 = False ;
d14a1e28
RD
15572 PyObject * obj0 = 0 ;
15573 PyObject * obj1 = 0 ;
15574 char *kwnames[] = {
15575 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15576 };
15577
15578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
f775c30d
RD
15579 {
15580 arg1 = wxString_in_helper(obj0);
15581 if (arg1 == NULL) SWIG_fail;
15582 temp1 = True;
15583 }
15584 {
15585 arg2 = wxString_in_helper(obj1);
15586 if (arg2 == NULL) SWIG_fail;
15587 temp2 = True;
15588 }
d14a1e28
RD
15589 {
15590 PyThreadState* __tstate = wxPyBeginAllowThreads();
15591 wxDateTime::GetAmPmStrings(arg1,arg2);
15592
15593 wxPyEndAllowThreads(__tstate);
15594 if (PyErr_Occurred()) SWIG_fail;
15595 }
15596 Py_INCREF(Py_None); resultobj = Py_None;
f775c30d
RD
15597 {
15598 if (temp1)
15599 delete arg1;
15600 }
15601 {
15602 if (temp2)
15603 delete arg2;
15604 }
d14a1e28
RD
15605 return resultobj;
15606 fail:
f775c30d
RD
15607 {
15608 if (temp1)
15609 delete arg1;
15610 }
15611 {
15612 if (temp2)
15613 delete arg2;
15614 }
d14a1e28
RD
15615 return NULL;
15616}
15617
15618
15619static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
15620 PyObject *resultobj;
15621 int arg1 = (int) wxDateTime::Inv_Year ;
15622 int arg2 = (int) wxDateTime::Country_Default ;
15623 bool result;
15624 char *kwnames[] = {
15625 (char *) "year",(char *) "country", NULL
15626 };
15627
15628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_IsDSTApplicable",kwnames,&arg1,&arg2)) goto fail;
15629 {
15630 PyThreadState* __tstate = wxPyBeginAllowThreads();
15631 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
15632
15633 wxPyEndAllowThreads(__tstate);
15634 if (PyErr_Occurred()) SWIG_fail;
15635 }
15636 resultobj = PyInt_FromLong((long)result);
15637 return resultobj;
15638 fail:
15639 return NULL;
15640}
15641
15642
15643static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15644 PyObject *resultobj;
15645 int arg1 = (int) wxDateTime::Inv_Year ;
15646 int arg2 = (int) wxDateTime::Country_Default ;
15647 wxDateTime result;
15648 char *kwnames[] = {
15649 (char *) "year",(char *) "country", NULL
15650 };
15651
15652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetBeginDST",kwnames,&arg1,&arg2)) goto fail;
15653 {
15654 PyThreadState* __tstate = wxPyBeginAllowThreads();
15655 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
15656
15657 wxPyEndAllowThreads(__tstate);
15658 if (PyErr_Occurred()) SWIG_fail;
15659 }
15660 {
15661 wxDateTime * resultptr;
15662 resultptr = new wxDateTime((wxDateTime &) result);
15663 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15664 }
15665 return resultobj;
15666 fail:
15667 return NULL;
15668}
15669
15670
15671static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
15672 PyObject *resultobj;
15673 int arg1 = (int) wxDateTime::Inv_Year ;
15674 int arg2 = (int) wxDateTime::Country_Default ;
15675 wxDateTime result;
15676 char *kwnames[] = {
15677 (char *) "year",(char *) "country", NULL
15678 };
15679
15680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:DateTime_GetEndDST",kwnames,&arg1,&arg2)) goto fail;
15681 {
15682 PyThreadState* __tstate = wxPyBeginAllowThreads();
15683 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
15684
15685 wxPyEndAllowThreads(__tstate);
15686 if (PyErr_Occurred()) SWIG_fail;
15687 }
15688 {
15689 wxDateTime * resultptr;
15690 resultptr = new wxDateTime((wxDateTime &) result);
15691 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15692 }
15693 return resultobj;
15694 fail:
15695 return NULL;
15696}
15697
15698
15699static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
15700 PyObject *resultobj;
15701 wxDateTime result;
15702 char *kwnames[] = {
15703 NULL
15704 };
15705
15706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
15707 {
15708 PyThreadState* __tstate = wxPyBeginAllowThreads();
15709 result = wxDateTime::Now();
15710
15711 wxPyEndAllowThreads(__tstate);
15712 if (PyErr_Occurred()) SWIG_fail;
15713 }
15714 {
15715 wxDateTime * resultptr;
15716 resultptr = new wxDateTime((wxDateTime &) result);
15717 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15718 }
15719 return resultobj;
15720 fail:
15721 return NULL;
15722}
15723
15724
15725static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
15726 PyObject *resultobj;
15727 wxDateTime result;
15728 char *kwnames[] = {
15729 NULL
15730 };
15731
15732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
15733 {
15734 PyThreadState* __tstate = wxPyBeginAllowThreads();
15735 result = wxDateTime::UNow();
15736
15737 wxPyEndAllowThreads(__tstate);
15738 if (PyErr_Occurred()) SWIG_fail;
15739 }
15740 {
15741 wxDateTime * resultptr;
15742 resultptr = new wxDateTime((wxDateTime &) result);
15743 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15744 }
15745 return resultobj;
15746 fail:
15747 return NULL;
15748}
15749
15750
15751static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
15752 PyObject *resultobj;
15753 wxDateTime result;
15754 char *kwnames[] = {
15755 NULL
15756 };
15757
15758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
15759 {
15760 PyThreadState* __tstate = wxPyBeginAllowThreads();
15761 result = wxDateTime::Today();
15762
15763 wxPyEndAllowThreads(__tstate);
15764 if (PyErr_Occurred()) SWIG_fail;
15765 }
15766 {
15767 wxDateTime * resultptr;
15768 resultptr = new wxDateTime((wxDateTime &) result);
15769 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
15770 }
15771 return resultobj;
15772 fail:
15773 return NULL;
15774}
15775
15776
15777static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15778 PyObject *resultobj;
15779 wxDateTime *result;
15780 char *kwnames[] = {
15781 NULL
15782 };
15783
15784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
15785 {
15786 PyThreadState* __tstate = wxPyBeginAllowThreads();
15787 result = (wxDateTime *)new wxDateTime();
15788
15789 wxPyEndAllowThreads(__tstate);
15790 if (PyErr_Occurred()) SWIG_fail;
15791 }
15792 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15793 return resultobj;
15794 fail:
15795 return NULL;
15796}
15797
15798
15799static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15800 PyObject *resultobj;
15801 time_t arg1 ;
15802 wxDateTime *result;
15803 PyObject * obj0 = 0 ;
15804 char *kwnames[] = {
15805 (char *) "timet", NULL
15806 };
15807
15808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
15809 arg1 = (time_t) PyInt_AsLong(obj0);
15810 if (PyErr_Occurred()) SWIG_fail;
15811 {
15812 PyThreadState* __tstate = wxPyBeginAllowThreads();
15813 result = (wxDateTime *)new wxDateTime(arg1);
15814
15815 wxPyEndAllowThreads(__tstate);
15816 if (PyErr_Occurred()) SWIG_fail;
15817 }
15818 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15819 return resultobj;
15820 fail:
15821 return NULL;
15822}
15823
15824
15825static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15826 PyObject *resultobj;
15827 double arg1 ;
15828 wxDateTime *result;
15829 char *kwnames[] = {
15830 (char *) "jdn", NULL
15831 };
15832
15833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"d:new_DateTimeFromJDN",kwnames,&arg1)) goto fail;
15834 {
15835 PyThreadState* __tstate = wxPyBeginAllowThreads();
15836 result = (wxDateTime *)new wxDateTime(arg1);
15837
15838 wxPyEndAllowThreads(__tstate);
15839 if (PyErr_Occurred()) SWIG_fail;
15840 }
15841 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15842 return resultobj;
15843 fail:
15844 return NULL;
15845}
15846
15847
15848static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
15849 PyObject *resultobj;
44127b65
RD
15850 int arg1 ;
15851 int arg2 = (int) 0 ;
15852 int arg3 = (int) 0 ;
15853 int arg4 = (int) 0 ;
d14a1e28 15854 wxDateTime *result;
d14a1e28
RD
15855 char *kwnames[] = {
15856 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15857 };
15858
44127b65 15859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iii:new_DateTimeFromHMS",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
d14a1e28
RD
15860 {
15861 PyThreadState* __tstate = wxPyBeginAllowThreads();
15862 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
15863
15864 wxPyEndAllowThreads(__tstate);
15865 if (PyErr_Occurred()) SWIG_fail;
15866 }
15867 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15868 return resultobj;
15869 fail:
15870 return NULL;
15871}
15872
15873
15874static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
15875 PyObject *resultobj;
44127b65 15876 int arg1 ;
d14a1e28
RD
15877 int arg2 = (int) wxDateTime::Inv_Month ;
15878 int arg3 = (int) wxDateTime::Inv_Year ;
44127b65
RD
15879 int arg4 = (int) 0 ;
15880 int arg5 = (int) 0 ;
15881 int arg6 = (int) 0 ;
15882 int arg7 = (int) 0 ;
d14a1e28 15883 wxDateTime *result;
d14a1e28
RD
15884 char *kwnames[] = {
15885 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15886 };
15887
44127b65 15888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i|iiiiii:new_DateTimeFromDMY",kwnames,&arg1,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7)) goto fail;
d14a1e28
RD
15889 {
15890 PyThreadState* __tstate = wxPyBeginAllowThreads();
15891 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
15892
15893 wxPyEndAllowThreads(__tstate);
15894 if (PyErr_Occurred()) SWIG_fail;
15895 }
15896 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
15897 return resultobj;
15898 fail:
15899 return NULL;
15900}
15901
15902
15903static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
15904 PyObject *resultobj;
15905 wxDateTime *arg1 = (wxDateTime *) 0 ;
15906 PyObject * obj0 = 0 ;
15907 char *kwnames[] = {
15908 (char *) "self", NULL
15909 };
15910
15911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
15912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15913 {
15914 PyThreadState* __tstate = wxPyBeginAllowThreads();
15915 delete arg1;
15916
15917 wxPyEndAllowThreads(__tstate);
15918 if (PyErr_Occurred()) SWIG_fail;
15919 }
15920 Py_INCREF(Py_None); resultobj = Py_None;
15921 return resultobj;
15922 fail:
15923 return NULL;
15924}
15925
15926
15927static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
15928 PyObject *resultobj;
15929 wxDateTime *arg1 = (wxDateTime *) 0 ;
15930 wxDateTime *result;
15931 PyObject * obj0 = 0 ;
15932 char *kwnames[] = {
15933 (char *) "self", NULL
15934 };
15935
15936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
15937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15938 {
15939 PyThreadState* __tstate = wxPyBeginAllowThreads();
15940 {
15941 wxDateTime &_result_ref = (arg1)->SetToCurrent();
15942 result = (wxDateTime *) &_result_ref;
15943 }
15944
15945 wxPyEndAllowThreads(__tstate);
15946 if (PyErr_Occurred()) SWIG_fail;
15947 }
15948 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15949 return resultobj;
15950 fail:
15951 return NULL;
15952}
15953
15954
15955static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
15956 PyObject *resultobj;
15957 wxDateTime *arg1 = (wxDateTime *) 0 ;
15958 time_t arg2 ;
15959 wxDateTime *result;
15960 PyObject * obj0 = 0 ;
15961 PyObject * obj1 = 0 ;
15962 char *kwnames[] = {
15963 (char *) "self",(char *) "timet", NULL
15964 };
15965
15966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
15967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15968 arg2 = (time_t) PyInt_AsLong(obj1);
15969 if (PyErr_Occurred()) SWIG_fail;
15970 {
15971 PyThreadState* __tstate = wxPyBeginAllowThreads();
15972 {
15973 wxDateTime &_result_ref = (arg1)->Set(arg2);
15974 result = (wxDateTime *) &_result_ref;
15975 }
15976
15977 wxPyEndAllowThreads(__tstate);
15978 if (PyErr_Occurred()) SWIG_fail;
15979 }
15980 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
15981 return resultobj;
15982 fail:
15983 return NULL;
15984}
15985
15986
15987static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
15988 PyObject *resultobj;
15989 wxDateTime *arg1 = (wxDateTime *) 0 ;
15990 double arg2 ;
15991 wxDateTime *result;
15992 PyObject * obj0 = 0 ;
15993 char *kwnames[] = {
15994 (char *) "self",(char *) "jdn", NULL
15995 };
15996
15997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:DateTime_SetJDN",kwnames,&obj0,&arg2)) goto fail;
15998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15999 {
16000 PyThreadState* __tstate = wxPyBeginAllowThreads();
16001 {
16002 wxDateTime &_result_ref = (arg1)->Set(arg2);
16003 result = (wxDateTime *) &_result_ref;
16004 }
16005
16006 wxPyEndAllowThreads(__tstate);
16007 if (PyErr_Occurred()) SWIG_fail;
16008 }
16009 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16010 return resultobj;
16011 fail:
16012 return NULL;
16013}
16014
16015
16016static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
16017 PyObject *resultobj;
16018 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65
RD
16019 int arg2 ;
16020 int arg3 = (int) 0 ;
16021 int arg4 = (int) 0 ;
16022 int arg5 = (int) 0 ;
d14a1e28
RD
16023 wxDateTime *result;
16024 PyObject * obj0 = 0 ;
d14a1e28
RD
16025 char *kwnames[] = {
16026 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16027 };
16028
44127b65 16029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetHMS",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
d14a1e28 16030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16031 {
16032 PyThreadState* __tstate = wxPyBeginAllowThreads();
16033 {
16034 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
16035 result = (wxDateTime *) &_result_ref;
16036 }
16037
16038 wxPyEndAllowThreads(__tstate);
16039 if (PyErr_Occurred()) SWIG_fail;
16040 }
16041 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16042 return resultobj;
16043 fail:
16044 return NULL;
16045}
16046
16047
16048static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
16049 PyObject *resultobj;
16050 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 16051 int arg2 ;
d14a1e28
RD
16052 int arg3 = (int) wxDateTime::Inv_Month ;
16053 int arg4 = (int) wxDateTime::Inv_Year ;
44127b65
RD
16054 int arg5 = (int) 0 ;
16055 int arg6 = (int) 0 ;
16056 int arg7 = (int) 0 ;
16057 int arg8 = (int) 0 ;
d14a1e28
RD
16058 wxDateTime *result;
16059 PyObject * obj0 = 0 ;
d14a1e28
RD
16060 char *kwnames[] = {
16061 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16062 };
16063
44127b65 16064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iiiiii:DateTime_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
d14a1e28 16065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16066 {
16067 PyThreadState* __tstate = wxPyBeginAllowThreads();
16068 {
16069 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
16070 result = (wxDateTime *) &_result_ref;
16071 }
16072
16073 wxPyEndAllowThreads(__tstate);
16074 if (PyErr_Occurred()) SWIG_fail;
16075 }
16076 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16077 return resultobj;
16078 fail:
16079 return NULL;
16080}
16081
16082
16083static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
16084 PyObject *resultobj;
16085 wxDateTime *arg1 = (wxDateTime *) 0 ;
16086 wxDateTime *result;
16087 PyObject * obj0 = 0 ;
16088 char *kwnames[] = {
16089 (char *) "self", NULL
16090 };
16091
16092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
16093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16094 {
16095 PyThreadState* __tstate = wxPyBeginAllowThreads();
16096 {
16097 wxDateTime &_result_ref = (arg1)->ResetTime();
16098 result = (wxDateTime *) &_result_ref;
16099 }
16100
16101 wxPyEndAllowThreads(__tstate);
16102 if (PyErr_Occurred()) SWIG_fail;
16103 }
16104 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16105 return resultobj;
16106 fail:
16107 return NULL;
16108}
16109
16110
16111static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16112 PyObject *resultobj;
16113 wxDateTime *arg1 = (wxDateTime *) 0 ;
16114 int arg2 ;
16115 wxDateTime *result;
16116 PyObject * obj0 = 0 ;
16117 char *kwnames[] = {
16118 (char *) "self",(char *) "year", NULL
16119 };
16120
16121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetYear",kwnames,&obj0,&arg2)) goto fail;
16122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16123 {
16124 PyThreadState* __tstate = wxPyBeginAllowThreads();
16125 {
16126 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
16127 result = (wxDateTime *) &_result_ref;
16128 }
16129
16130 wxPyEndAllowThreads(__tstate);
16131 if (PyErr_Occurred()) SWIG_fail;
16132 }
16133 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16134 return resultobj;
16135 fail:
16136 return NULL;
16137}
16138
16139
16140static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16141 PyObject *resultobj;
16142 wxDateTime *arg1 = (wxDateTime *) 0 ;
16143 int arg2 ;
16144 wxDateTime *result;
16145 PyObject * obj0 = 0 ;
16146 char *kwnames[] = {
16147 (char *) "self",(char *) "month", NULL
16148 };
16149
16150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMonth",kwnames,&obj0,&arg2)) goto fail;
16151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16152 {
16153 PyThreadState* __tstate = wxPyBeginAllowThreads();
16154 {
16155 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
16156 result = (wxDateTime *) &_result_ref;
16157 }
16158
16159 wxPyEndAllowThreads(__tstate);
16160 if (PyErr_Occurred()) SWIG_fail;
16161 }
16162 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16163 return resultobj;
16164 fail:
16165 return NULL;
16166}
16167
16168
16169static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16170 PyObject *resultobj;
16171 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 16172 int arg2 ;
d14a1e28
RD
16173 wxDateTime *result;
16174 PyObject * obj0 = 0 ;
d14a1e28
RD
16175 char *kwnames[] = {
16176 (char *) "self",(char *) "day", NULL
16177 };
16178
44127b65 16179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetDay",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16181 {
16182 PyThreadState* __tstate = wxPyBeginAllowThreads();
16183 {
16184 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
16185 result = (wxDateTime *) &_result_ref;
16186 }
16187
16188 wxPyEndAllowThreads(__tstate);
16189 if (PyErr_Occurred()) SWIG_fail;
16190 }
16191 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16192 return resultobj;
16193 fail:
16194 return NULL;
16195}
16196
16197
16198static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
16199 PyObject *resultobj;
16200 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 16201 int arg2 ;
d14a1e28
RD
16202 wxDateTime *result;
16203 PyObject * obj0 = 0 ;
d14a1e28
RD
16204 char *kwnames[] = {
16205 (char *) "self",(char *) "hour", NULL
16206 };
16207
44127b65 16208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetHour",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16210 {
16211 PyThreadState* __tstate = wxPyBeginAllowThreads();
16212 {
16213 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
16214 result = (wxDateTime *) &_result_ref;
16215 }
16216
16217 wxPyEndAllowThreads(__tstate);
16218 if (PyErr_Occurred()) SWIG_fail;
16219 }
16220 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16221 return resultobj;
16222 fail:
16223 return NULL;
16224}
16225
16226
16227static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
16228 PyObject *resultobj;
16229 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 16230 int arg2 ;
d14a1e28
RD
16231 wxDateTime *result;
16232 PyObject * obj0 = 0 ;
d14a1e28
RD
16233 char *kwnames[] = {
16234 (char *) "self",(char *) "minute", NULL
16235 };
16236
44127b65 16237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMinute",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16239 {
16240 PyThreadState* __tstate = wxPyBeginAllowThreads();
16241 {
16242 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
16243 result = (wxDateTime *) &_result_ref;
16244 }
16245
16246 wxPyEndAllowThreads(__tstate);
16247 if (PyErr_Occurred()) SWIG_fail;
16248 }
16249 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16250 return resultobj;
16251 fail:
16252 return NULL;
16253}
16254
16255
16256static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16257 PyObject *resultobj;
16258 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 16259 int arg2 ;
d14a1e28
RD
16260 wxDateTime *result;
16261 PyObject * obj0 = 0 ;
d14a1e28
RD
16262 char *kwnames[] = {
16263 (char *) "self",(char *) "second", NULL
16264 };
16265
44127b65 16266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetSecond",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16268 {
16269 PyThreadState* __tstate = wxPyBeginAllowThreads();
16270 {
16271 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
16272 result = (wxDateTime *) &_result_ref;
16273 }
16274
16275 wxPyEndAllowThreads(__tstate);
16276 if (PyErr_Occurred()) SWIG_fail;
16277 }
16278 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16279 return resultobj;
16280 fail:
16281 return NULL;
16282}
16283
16284
16285static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
16286 PyObject *resultobj;
16287 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 16288 int arg2 ;
d14a1e28
RD
16289 wxDateTime *result;
16290 PyObject * obj0 = 0 ;
d14a1e28
RD
16291 char *kwnames[] = {
16292 (char *) "self",(char *) "millisecond", NULL
16293 };
16294
44127b65 16295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetMillisecond",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16297 {
16298 PyThreadState* __tstate = wxPyBeginAllowThreads();
16299 {
16300 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
16301 result = (wxDateTime *) &_result_ref;
16302 }
16303
16304 wxPyEndAllowThreads(__tstate);
16305 if (PyErr_Occurred()) SWIG_fail;
16306 }
16307 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16308 return resultobj;
16309 fail:
16310 return NULL;
16311}
16312
16313
16314static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16315 PyObject *resultobj;
16316 wxDateTime *arg1 = (wxDateTime *) 0 ;
16317 int arg2 ;
16318 int arg3 = (int) wxDateTime::Monday_First ;
16319 wxDateTime *result;
16320 PyObject * obj0 = 0 ;
16321 char *kwnames[] = {
16322 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16323 };
16324
16325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16327 {
16328 PyThreadState* __tstate = wxPyBeginAllowThreads();
16329 {
16330 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16331 result = (wxDateTime *) &_result_ref;
16332 }
16333
16334 wxPyEndAllowThreads(__tstate);
16335 if (PyErr_Occurred()) SWIG_fail;
16336 }
16337 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16338 return resultobj;
16339 fail:
16340 return NULL;
16341}
16342
16343
16344static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16345 PyObject *resultobj;
16346 wxDateTime *arg1 = (wxDateTime *) 0 ;
16347 int arg2 ;
16348 int arg3 = (int) wxDateTime::Monday_First ;
16349 wxDateTime result;
16350 PyObject * obj0 = 0 ;
16351 char *kwnames[] = {
16352 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16353 };
16354
16355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&arg2,&arg3)) goto fail;
16356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16357 {
16358 PyThreadState* __tstate = wxPyBeginAllowThreads();
16359 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
16360
16361 wxPyEndAllowThreads(__tstate);
16362 if (PyErr_Occurred()) SWIG_fail;
16363 }
16364 {
16365 wxDateTime * resultptr;
16366 resultptr = new wxDateTime((wxDateTime &) result);
16367 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16368 }
16369 return resultobj;
16370 fail:
16371 return NULL;
16372}
16373
16374
16375static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16376 PyObject *resultobj;
16377 wxDateTime *arg1 = (wxDateTime *) 0 ;
16378 int arg2 ;
16379 wxDateTime *result;
16380 PyObject * obj0 = 0 ;
16381 char *kwnames[] = {
16382 (char *) "self",(char *) "weekday", NULL
16383 };
16384
16385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16387 {
16388 PyThreadState* __tstate = wxPyBeginAllowThreads();
16389 {
16390 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
16391 result = (wxDateTime *) &_result_ref;
16392 }
16393
16394 wxPyEndAllowThreads(__tstate);
16395 if (PyErr_Occurred()) SWIG_fail;
16396 }
16397 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16398 return resultobj;
16399 fail:
16400 return NULL;
16401}
16402
16403
16404static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16405 PyObject *resultobj;
16406 wxDateTime *arg1 = (wxDateTime *) 0 ;
16407 int arg2 ;
16408 wxDateTime result;
16409 PyObject * obj0 = 0 ;
16410 char *kwnames[] = {
16411 (char *) "self",(char *) "weekday", NULL
16412 };
16413
16414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetNextWeekDay",kwnames,&obj0,&arg2)) goto fail;
16415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16416 {
16417 PyThreadState* __tstate = wxPyBeginAllowThreads();
16418 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
16419
16420 wxPyEndAllowThreads(__tstate);
16421 if (PyErr_Occurred()) SWIG_fail;
16422 }
16423 {
16424 wxDateTime * resultptr;
16425 resultptr = new wxDateTime((wxDateTime &) result);
16426 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16427 }
16428 return resultobj;
16429 fail:
16430 return NULL;
16431}
16432
16433
16434static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16435 PyObject *resultobj;
16436 wxDateTime *arg1 = (wxDateTime *) 0 ;
16437 int arg2 ;
16438 wxDateTime *result;
16439 PyObject * obj0 = 0 ;
16440 char *kwnames[] = {
16441 (char *) "self",(char *) "weekday", NULL
16442 };
16443
16444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16446 {
16447 PyThreadState* __tstate = wxPyBeginAllowThreads();
16448 {
16449 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
16450 result = (wxDateTime *) &_result_ref;
16451 }
16452
16453 wxPyEndAllowThreads(__tstate);
16454 if (PyErr_Occurred()) SWIG_fail;
16455 }
16456 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16457 return resultobj;
16458 fail:
16459 return NULL;
16460}
16461
16462
16463static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16464 PyObject *resultobj;
16465 wxDateTime *arg1 = (wxDateTime *) 0 ;
16466 int arg2 ;
16467 wxDateTime result;
16468 PyObject * obj0 = 0 ;
16469 char *kwnames[] = {
16470 (char *) "self",(char *) "weekday", NULL
16471 };
16472
16473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames,&obj0,&arg2)) goto fail;
16474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16475 {
16476 PyThreadState* __tstate = wxPyBeginAllowThreads();
16477 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
16478
16479 wxPyEndAllowThreads(__tstate);
16480 if (PyErr_Occurred()) SWIG_fail;
16481 }
16482 {
16483 wxDateTime * resultptr;
16484 resultptr = new wxDateTime((wxDateTime &) result);
16485 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16486 }
16487 return resultobj;
16488 fail:
16489 return NULL;
16490}
16491
16492
16493static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16494 PyObject *resultobj;
16495 wxDateTime *arg1 = (wxDateTime *) 0 ;
16496 int arg2 ;
16497 int arg3 = (int) 1 ;
16498 int arg4 = (int) wxDateTime::Inv_Month ;
16499 int arg5 = (int) wxDateTime::Inv_Year ;
16500 bool result;
16501 PyObject * obj0 = 0 ;
16502 char *kwnames[] = {
16503 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16504 };
16505
16506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
16507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16508 {
16509 PyThreadState* __tstate = wxPyBeginAllowThreads();
16510 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
16511
16512 wxPyEndAllowThreads(__tstate);
16513 if (PyErr_Occurred()) SWIG_fail;
16514 }
16515 resultobj = PyInt_FromLong((long)result);
16516 return resultobj;
16517 fail:
16518 return NULL;
16519}
16520
16521
16522static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16523 PyObject *resultobj;
16524 wxDateTime *arg1 = (wxDateTime *) 0 ;
16525 int arg2 ;
16526 int arg3 = (int) wxDateTime::Inv_Month ;
16527 int arg4 = (int) wxDateTime::Inv_Year ;
16528 bool result;
16529 PyObject * obj0 = 0 ;
16530 char *kwnames[] = {
16531 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16532 };
16533
16534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16536 {
16537 PyThreadState* __tstate = wxPyBeginAllowThreads();
16538 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16539
16540 wxPyEndAllowThreads(__tstate);
16541 if (PyErr_Occurred()) SWIG_fail;
16542 }
16543 resultobj = PyInt_FromLong((long)result);
16544 return resultobj;
16545 fail:
16546 return NULL;
16547}
16548
16549
16550static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16551 PyObject *resultobj;
16552 wxDateTime *arg1 = (wxDateTime *) 0 ;
16553 int arg2 ;
16554 int arg3 = (int) wxDateTime::Inv_Month ;
16555 int arg4 = (int) wxDateTime::Inv_Year ;
16556 wxDateTime result;
16557 PyObject * obj0 = 0 ;
16558 char *kwnames[] = {
16559 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16560 };
16561
16562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
16563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16564 {
16565 PyThreadState* __tstate = wxPyBeginAllowThreads();
16566 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
16567
16568 wxPyEndAllowThreads(__tstate);
16569 if (PyErr_Occurred()) SWIG_fail;
16570 }
16571 {
16572 wxDateTime * resultptr;
16573 resultptr = new wxDateTime((wxDateTime &) result);
16574 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16575 }
16576 return resultobj;
16577 fail:
16578 return NULL;
16579}
16580
16581
16582static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16583 PyObject *resultobj;
16584 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 16585 int arg2 ;
d14a1e28
RD
16586 int arg3 = (int) wxDateTime::Mon ;
16587 int arg4 = (int) wxDateTime::Monday_First ;
16588 bool result;
16589 PyObject * obj0 = 0 ;
d14a1e28
RD
16590 char *kwnames[] = {
16591 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16592 };
16593
44127b65 16594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_SetToTheWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
d14a1e28 16595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16596 {
16597 PyThreadState* __tstate = wxPyBeginAllowThreads();
16598 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16599
16600 wxPyEndAllowThreads(__tstate);
16601 if (PyErr_Occurred()) SWIG_fail;
16602 }
16603 resultobj = PyInt_FromLong((long)result);
16604 return resultobj;
16605 fail:
16606 return NULL;
16607}
16608
16609
16610static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
16611 PyObject *resultobj;
16612 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 16613 int arg2 ;
d14a1e28
RD
16614 int arg3 = (int) wxDateTime::Mon ;
16615 int arg4 = (int) wxDateTime::Monday_First ;
16616 wxDateTime result;
16617 PyObject * obj0 = 0 ;
d14a1e28
RD
16618 char *kwnames[] = {
16619 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16620 };
16621
44127b65 16622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:DateTime_GetWeek",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
d14a1e28 16623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16624 {
16625 PyThreadState* __tstate = wxPyBeginAllowThreads();
16626 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
16627
16628 wxPyEndAllowThreads(__tstate);
16629 if (PyErr_Occurred()) SWIG_fail;
16630 }
16631 {
16632 wxDateTime * resultptr;
16633 resultptr = new wxDateTime((wxDateTime &) result);
16634 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16635 }
16636 return resultobj;
16637 fail:
16638 return NULL;
16639}
16640
16641
16642static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16643 PyObject *resultobj;
16644 wxDateTime *arg1 = (wxDateTime *) 0 ;
16645 int arg2 = (int) wxDateTime::Inv_Month ;
16646 int arg3 = (int) wxDateTime::Inv_Year ;
16647 wxDateTime *result;
16648 PyObject * obj0 = 0 ;
16649 char *kwnames[] = {
16650 (char *) "self",(char *) "month",(char *) "year", NULL
16651 };
16652
16653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16655 {
16656 PyThreadState* __tstate = wxPyBeginAllowThreads();
16657 {
16658 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
16659 result = (wxDateTime *) &_result_ref;
16660 }
16661
16662 wxPyEndAllowThreads(__tstate);
16663 if (PyErr_Occurred()) SWIG_fail;
16664 }
16665 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16666 return resultobj;
16667 fail:
16668 return NULL;
16669}
16670
16671
16672static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16673 PyObject *resultobj;
16674 wxDateTime *arg1 = (wxDateTime *) 0 ;
16675 int arg2 = (int) wxDateTime::Inv_Month ;
16676 int arg3 = (int) wxDateTime::Inv_Year ;
16677 wxDateTime result;
16678 PyObject * obj0 = 0 ;
16679 char *kwnames[] = {
16680 (char *) "self",(char *) "month",(char *) "year", NULL
16681 };
16682
16683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames,&obj0,&arg2,&arg3)) goto fail;
16684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16685 {
16686 PyThreadState* __tstate = wxPyBeginAllowThreads();
16687 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
16688
16689 wxPyEndAllowThreads(__tstate);
16690 if (PyErr_Occurred()) SWIG_fail;
16691 }
16692 {
16693 wxDateTime * resultptr;
16694 resultptr = new wxDateTime((wxDateTime &) result);
16695 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16696 }
16697 return resultobj;
16698 fail:
16699 return NULL;
16700}
16701
16702
16703static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16704 PyObject *resultobj;
16705 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 16706 int arg2 ;
d14a1e28
RD
16707 wxDateTime *result;
16708 PyObject * obj0 = 0 ;
d14a1e28
RD
16709 char *kwnames[] = {
16710 (char *) "self",(char *) "yday", NULL
16711 };
16712
44127b65 16713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_SetToYearDay",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16715 {
16716 PyThreadState* __tstate = wxPyBeginAllowThreads();
16717 {
16718 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
16719 result = (wxDateTime *) &_result_ref;
16720 }
16721
16722 wxPyEndAllowThreads(__tstate);
16723 if (PyErr_Occurred()) SWIG_fail;
16724 }
16725 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16726 return resultobj;
16727 fail:
16728 return NULL;
16729}
16730
16731
16732static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
16733 PyObject *resultobj;
16734 wxDateTime *arg1 = (wxDateTime *) 0 ;
44127b65 16735 int arg2 ;
d14a1e28
RD
16736 wxDateTime result;
16737 PyObject * obj0 = 0 ;
d14a1e28
RD
16738 char *kwnames[] = {
16739 (char *) "self",(char *) "yday", NULL
16740 };
16741
44127b65 16742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateTime_GetYearDay",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 16743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
16744 {
16745 PyThreadState* __tstate = wxPyBeginAllowThreads();
16746 result = (arg1)->GetYearDay(arg2);
16747
16748 wxPyEndAllowThreads(__tstate);
16749 if (PyErr_Occurred()) SWIG_fail;
16750 }
16751 {
16752 wxDateTime * resultptr;
16753 resultptr = new wxDateTime((wxDateTime &) result);
16754 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16755 }
16756 return resultobj;
16757 fail:
16758 return NULL;
16759}
16760
16761
16762static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16763 PyObject *resultobj;
16764 wxDateTime *arg1 = (wxDateTime *) 0 ;
16765 double result;
16766 PyObject * obj0 = 0 ;
16767 char *kwnames[] = {
16768 (char *) "self", NULL
16769 };
16770
16771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
16772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16773 {
16774 PyThreadState* __tstate = wxPyBeginAllowThreads();
16775 result = (double)(arg1)->GetJulianDayNumber();
16776
16777 wxPyEndAllowThreads(__tstate);
16778 if (PyErr_Occurred()) SWIG_fail;
16779 }
16780 resultobj = PyFloat_FromDouble(result);
16781 return resultobj;
16782 fail:
16783 return NULL;
16784}
16785
16786
16787static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
16788 PyObject *resultobj;
16789 wxDateTime *arg1 = (wxDateTime *) 0 ;
16790 double result;
16791 PyObject * obj0 = 0 ;
16792 char *kwnames[] = {
16793 (char *) "self", NULL
16794 };
16795
16796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
16797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16798 {
16799 PyThreadState* __tstate = wxPyBeginAllowThreads();
16800 result = (double)(arg1)->GetJDN();
16801
16802 wxPyEndAllowThreads(__tstate);
16803 if (PyErr_Occurred()) SWIG_fail;
16804 }
16805 resultobj = PyFloat_FromDouble(result);
16806 return resultobj;
16807 fail:
16808 return NULL;
16809}
16810
16811
16812static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
16813 PyObject *resultobj;
16814 wxDateTime *arg1 = (wxDateTime *) 0 ;
16815 double result;
16816 PyObject * obj0 = 0 ;
16817 char *kwnames[] = {
16818 (char *) "self", NULL
16819 };
16820
16821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
16822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16823 {
16824 PyThreadState* __tstate = wxPyBeginAllowThreads();
16825 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
16826
16827 wxPyEndAllowThreads(__tstate);
16828 if (PyErr_Occurred()) SWIG_fail;
16829 }
16830 resultobj = PyFloat_FromDouble(result);
16831 return resultobj;
16832 fail:
16833 return NULL;
16834}
16835
16836
16837static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
16838 PyObject *resultobj;
16839 wxDateTime *arg1 = (wxDateTime *) 0 ;
16840 double result;
16841 PyObject * obj0 = 0 ;
16842 char *kwnames[] = {
16843 (char *) "self", NULL
16844 };
16845
16846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
16847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16848 {
16849 PyThreadState* __tstate = wxPyBeginAllowThreads();
16850 result = (double)(arg1)->GetMJD();
16851
16852 wxPyEndAllowThreads(__tstate);
16853 if (PyErr_Occurred()) SWIG_fail;
16854 }
16855 resultobj = PyFloat_FromDouble(result);
16856 return resultobj;
16857 fail:
16858 return NULL;
16859}
16860
16861
16862static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
16863 PyObject *resultobj;
16864 wxDateTime *arg1 = (wxDateTime *) 0 ;
16865 double result;
16866 PyObject * obj0 = 0 ;
16867 char *kwnames[] = {
16868 (char *) "self", NULL
16869 };
16870
16871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
16872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16873 {
16874 PyThreadState* __tstate = wxPyBeginAllowThreads();
16875 result = (double)(arg1)->GetRataDie();
16876
16877 wxPyEndAllowThreads(__tstate);
16878 if (PyErr_Occurred()) SWIG_fail;
16879 }
16880 resultobj = PyFloat_FromDouble(result);
16881 return resultobj;
16882 fail:
16883 return NULL;
16884}
16885
16886
16887static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16888 PyObject *resultobj;
16889 wxDateTime *arg1 = (wxDateTime *) 0 ;
16890 wxDateTime::TimeZone *arg2 = 0 ;
423f194a 16891 bool arg3 = (bool) False ;
d14a1e28 16892 wxDateTime result;
44127b65 16893 bool temp2 = False ;
d14a1e28
RD
16894 PyObject * obj0 = 0 ;
16895 PyObject * obj1 = 0 ;
16896 PyObject * obj2 = 0 ;
16897 char *kwnames[] = {
16898 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16899 };
16900
16901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16903 {
16904 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 16905 temp2 = True;
d14a1e28
RD
16906 }
16907 if (obj2) {
16908 arg3 = PyInt_AsLong(obj2) ? true : false;
16909 if (PyErr_Occurred()) SWIG_fail;
16910 }
16911 {
16912 PyThreadState* __tstate = wxPyBeginAllowThreads();
16913 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16914
16915 wxPyEndAllowThreads(__tstate);
16916 if (PyErr_Occurred()) SWIG_fail;
16917 }
16918 {
16919 wxDateTime * resultptr;
16920 resultptr = new wxDateTime((wxDateTime &) result);
16921 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16922 }
16923 {
44127b65 16924 if (temp2) delete arg2;
d14a1e28
RD
16925 }
16926 return resultobj;
16927 fail:
16928 {
44127b65 16929 if (temp2) delete arg2;
d14a1e28
RD
16930 }
16931 return NULL;
16932}
16933
16934
16935static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
16936 PyObject *resultobj;
16937 wxDateTime *arg1 = (wxDateTime *) 0 ;
16938 wxDateTime::TimeZone *arg2 = 0 ;
423f194a 16939 bool arg3 = (bool) False ;
d14a1e28 16940 wxDateTime *result;
44127b65 16941 bool temp2 = False ;
d14a1e28
RD
16942 PyObject * obj0 = 0 ;
16943 PyObject * obj1 = 0 ;
16944 PyObject * obj2 = 0 ;
16945 char *kwnames[] = {
16946 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16947 };
16948
16949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
16950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16951 {
16952 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 16953 temp2 = True;
d14a1e28
RD
16954 }
16955 if (obj2) {
16956 arg3 = PyInt_AsLong(obj2) ? true : false;
16957 if (PyErr_Occurred()) SWIG_fail;
16958 }
16959 {
16960 PyThreadState* __tstate = wxPyBeginAllowThreads();
16961 {
16962 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
16963 result = (wxDateTime *) &_result_ref;
16964 }
16965
16966 wxPyEndAllowThreads(__tstate);
16967 if (PyErr_Occurred()) SWIG_fail;
16968 }
16969 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16970 {
44127b65 16971 if (temp2) delete arg2;
d14a1e28
RD
16972 }
16973 return resultobj;
16974 fail:
16975 {
44127b65 16976 if (temp2) delete arg2;
d14a1e28
RD
16977 }
16978 return NULL;
16979}
16980
16981
16982static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
16983 PyObject *resultobj;
16984 wxDateTime *arg1 = (wxDateTime *) 0 ;
423f194a 16985 bool arg2 = (bool) False ;
d14a1e28
RD
16986 wxDateTime result;
16987 PyObject * obj0 = 0 ;
16988 PyObject * obj1 = 0 ;
16989 char *kwnames[] = {
16990 (char *) "self",(char *) "noDST", NULL
16991 };
16992
16993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
16994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16995 if (obj1) {
16996 arg2 = PyInt_AsLong(obj1) ? true : false;
16997 if (PyErr_Occurred()) SWIG_fail;
16998 }
16999 {
17000 PyThreadState* __tstate = wxPyBeginAllowThreads();
17001 result = (arg1)->ToGMT(arg2);
17002
17003 wxPyEndAllowThreads(__tstate);
17004 if (PyErr_Occurred()) SWIG_fail;
17005 }
17006 {
17007 wxDateTime * resultptr;
17008 resultptr = new wxDateTime((wxDateTime &) result);
17009 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17010 }
17011 return resultobj;
17012 fail:
17013 return NULL;
17014}
17015
17016
17017static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
17018 PyObject *resultobj;
17019 wxDateTime *arg1 = (wxDateTime *) 0 ;
423f194a 17020 bool arg2 = (bool) False ;
d14a1e28
RD
17021 wxDateTime *result;
17022 PyObject * obj0 = 0 ;
17023 PyObject * obj1 = 0 ;
17024 char *kwnames[] = {
17025 (char *) "self",(char *) "noDST", NULL
17026 };
17027
17028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
17029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17030 if (obj1) {
17031 arg2 = PyInt_AsLong(obj1) ? true : false;
17032 if (PyErr_Occurred()) SWIG_fail;
17033 }
17034 {
17035 PyThreadState* __tstate = wxPyBeginAllowThreads();
17036 {
17037 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
17038 result = (wxDateTime *) &_result_ref;
17039 }
17040
17041 wxPyEndAllowThreads(__tstate);
17042 if (PyErr_Occurred()) SWIG_fail;
17043 }
17044 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17045 return resultobj;
17046 fail:
17047 return NULL;
17048}
17049
17050
17051static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17052 PyObject *resultobj;
17053 wxDateTime *arg1 = (wxDateTime *) 0 ;
17054 int arg2 = (int) wxDateTime::Country_Default ;
17055 int result;
17056 PyObject * obj0 = 0 ;
17057 char *kwnames[] = {
17058 (char *) "self",(char *) "country", NULL
17059 };
17060
17061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsDST",kwnames,&obj0,&arg2)) goto fail;
17062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17063 {
17064 PyThreadState* __tstate = wxPyBeginAllowThreads();
17065 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
17066
17067 wxPyEndAllowThreads(__tstate);
17068 if (PyErr_Occurred()) SWIG_fail;
17069 }
17070 resultobj = PyInt_FromLong((long)result);
17071 return resultobj;
17072 fail:
17073 return NULL;
17074}
17075
17076
17077static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
17078 PyObject *resultobj;
17079 wxDateTime *arg1 = (wxDateTime *) 0 ;
17080 bool result;
17081 PyObject * obj0 = 0 ;
17082 char *kwnames[] = {
17083 (char *) "self", NULL
17084 };
17085
17086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
17087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17088 {
17089 PyThreadState* __tstate = wxPyBeginAllowThreads();
17090 result = (bool)((wxDateTime const *)arg1)->IsValid();
17091
17092 wxPyEndAllowThreads(__tstate);
17093 if (PyErr_Occurred()) SWIG_fail;
17094 }
17095 resultobj = PyInt_FromLong((long)result);
17096 return resultobj;
17097 fail:
17098 return NULL;
17099}
17100
17101
17102static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
17103 PyObject *resultobj;
17104 wxDateTime *arg1 = (wxDateTime *) 0 ;
17105 time_t result;
17106 PyObject * obj0 = 0 ;
17107 char *kwnames[] = {
17108 (char *) "self", NULL
17109 };
17110
17111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
17112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17113 {
17114 PyThreadState* __tstate = wxPyBeginAllowThreads();
17115 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
17116
17117 wxPyEndAllowThreads(__tstate);
17118 if (PyErr_Occurred()) SWIG_fail;
17119 }
17120 resultobj = PyInt_FromLong((long)result);
17121 return resultobj;
17122 fail:
17123 return NULL;
17124}
17125
17126
17127static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17128 PyObject *resultobj;
17129 wxDateTime *arg1 = (wxDateTime *) 0 ;
17130 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17131 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17132 int result;
44127b65 17133 bool temp2 = False ;
d14a1e28
RD
17134 PyObject * obj0 = 0 ;
17135 PyObject * obj1 = 0 ;
17136 char *kwnames[] = {
17137 (char *) "self",(char *) "tz", NULL
17138 };
17139
17140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
17141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17142 if (obj1) {
17143 {
17144 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 17145 temp2 = True;
d14a1e28
RD
17146 }
17147 }
17148 {
17149 PyThreadState* __tstate = wxPyBeginAllowThreads();
17150 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
17151
17152 wxPyEndAllowThreads(__tstate);
17153 if (PyErr_Occurred()) SWIG_fail;
17154 }
17155 resultobj = PyInt_FromLong((long)result);
17156 {
44127b65 17157 if (temp2) delete arg2;
d14a1e28
RD
17158 }
17159 return resultobj;
17160 fail:
17161 {
44127b65 17162 if (temp2) delete arg2;
d14a1e28
RD
17163 }
17164 return NULL;
17165}
17166
17167
17168static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17169 PyObject *resultobj;
17170 wxDateTime *arg1 = (wxDateTime *) 0 ;
17171 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17172 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17173 int result;
44127b65 17174 bool temp2 = False ;
d14a1e28
RD
17175 PyObject * obj0 = 0 ;
17176 PyObject * obj1 = 0 ;
17177 char *kwnames[] = {
17178 (char *) "self",(char *) "tz", NULL
17179 };
17180
17181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
17182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17183 if (obj1) {
17184 {
17185 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 17186 temp2 = True;
d14a1e28
RD
17187 }
17188 }
17189 {
17190 PyThreadState* __tstate = wxPyBeginAllowThreads();
17191 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
17192
17193 wxPyEndAllowThreads(__tstate);
17194 if (PyErr_Occurred()) SWIG_fail;
17195 }
17196 resultobj = PyInt_FromLong((long)result);
17197 {
44127b65 17198 if (temp2) delete arg2;
d14a1e28
RD
17199 }
17200 return resultobj;
17201 fail:
17202 {
44127b65 17203 if (temp2) delete arg2;
d14a1e28
RD
17204 }
17205 return NULL;
17206}
17207
17208
17209static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17210 PyObject *resultobj;
17211 wxDateTime *arg1 = (wxDateTime *) 0 ;
17212 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17213 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
17214 int result;
17215 bool temp2 = False ;
d14a1e28
RD
17216 PyObject * obj0 = 0 ;
17217 PyObject * obj1 = 0 ;
17218 char *kwnames[] = {
17219 (char *) "self",(char *) "tz", NULL
17220 };
17221
17222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
17223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17224 if (obj1) {
17225 {
17226 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 17227 temp2 = True;
d14a1e28
RD
17228 }
17229 }
17230 {
17231 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 17232 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17233
17234 wxPyEndAllowThreads(__tstate);
17235 if (PyErr_Occurred()) SWIG_fail;
17236 }
17237 resultobj = PyInt_FromLong((long)result);
17238 {
44127b65 17239 if (temp2) delete arg2;
d14a1e28
RD
17240 }
17241 return resultobj;
17242 fail:
17243 {
44127b65 17244 if (temp2) delete arg2;
d14a1e28
RD
17245 }
17246 return NULL;
17247}
17248
17249
17250static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17251 PyObject *resultobj;
17252 wxDateTime *arg1 = (wxDateTime *) 0 ;
17253 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17254 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
17255 int result;
44127b65 17256 bool temp2 = False ;
d14a1e28
RD
17257 PyObject * obj0 = 0 ;
17258 PyObject * obj1 = 0 ;
17259 char *kwnames[] = {
17260 (char *) "self",(char *) "tz", NULL
17261 };
17262
17263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
17264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17265 if (obj1) {
17266 {
17267 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 17268 temp2 = True;
d14a1e28
RD
17269 }
17270 }
17271 {
17272 PyThreadState* __tstate = wxPyBeginAllowThreads();
17273 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
17274
17275 wxPyEndAllowThreads(__tstate);
17276 if (PyErr_Occurred()) SWIG_fail;
17277 }
17278 resultobj = PyInt_FromLong((long)result);
17279 {
44127b65 17280 if (temp2) delete arg2;
d14a1e28
RD
17281 }
17282 return resultobj;
17283 fail:
17284 {
44127b65 17285 if (temp2) delete arg2;
d14a1e28
RD
17286 }
17287 return NULL;
17288}
17289
17290
17291static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17292 PyObject *resultobj;
17293 wxDateTime *arg1 = (wxDateTime *) 0 ;
17294 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17295 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
17296 int result;
17297 bool temp2 = False ;
d14a1e28
RD
17298 PyObject * obj0 = 0 ;
17299 PyObject * obj1 = 0 ;
17300 char *kwnames[] = {
17301 (char *) "self",(char *) "tz", NULL
17302 };
17303
17304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
17305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17306 if (obj1) {
17307 {
17308 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 17309 temp2 = True;
d14a1e28
RD
17310 }
17311 }
17312 {
17313 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 17314 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17315
17316 wxPyEndAllowThreads(__tstate);
17317 if (PyErr_Occurred()) SWIG_fail;
17318 }
17319 resultobj = PyInt_FromLong((long)result);
17320 {
44127b65 17321 if (temp2) delete arg2;
d14a1e28
RD
17322 }
17323 return resultobj;
17324 fail:
17325 {
44127b65 17326 if (temp2) delete arg2;
d14a1e28
RD
17327 }
17328 return NULL;
17329}
17330
17331
17332static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17333 PyObject *resultobj;
17334 wxDateTime *arg1 = (wxDateTime *) 0 ;
17335 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17336 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
17337 int result;
17338 bool temp2 = False ;
d14a1e28
RD
17339 PyObject * obj0 = 0 ;
17340 PyObject * obj1 = 0 ;
17341 char *kwnames[] = {
17342 (char *) "self",(char *) "tz", NULL
17343 };
17344
17345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
17346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17347 if (obj1) {
17348 {
17349 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 17350 temp2 = True;
d14a1e28
RD
17351 }
17352 }
17353 {
17354 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 17355 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17356
17357 wxPyEndAllowThreads(__tstate);
17358 if (PyErr_Occurred()) SWIG_fail;
17359 }
17360 resultobj = PyInt_FromLong((long)result);
17361 {
44127b65 17362 if (temp2) delete arg2;
d14a1e28
RD
17363 }
17364 return resultobj;
17365 fail:
17366 {
44127b65 17367 if (temp2) delete arg2;
d14a1e28
RD
17368 }
17369 return NULL;
17370}
17371
17372
17373static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17374 PyObject *resultobj;
17375 wxDateTime *arg1 = (wxDateTime *) 0 ;
17376 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17377 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
17378 int result;
17379 bool temp2 = False ;
d14a1e28
RD
17380 PyObject * obj0 = 0 ;
17381 PyObject * obj1 = 0 ;
17382 char *kwnames[] = {
17383 (char *) "self",(char *) "tz", NULL
17384 };
17385
17386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
17387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17388 if (obj1) {
17389 {
17390 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 17391 temp2 = True;
d14a1e28
RD
17392 }
17393 }
17394 {
17395 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 17396 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17397
17398 wxPyEndAllowThreads(__tstate);
17399 if (PyErr_Occurred()) SWIG_fail;
17400 }
17401 resultobj = PyInt_FromLong((long)result);
17402 {
44127b65 17403 if (temp2) delete arg2;
d14a1e28
RD
17404 }
17405 return resultobj;
17406 fail:
17407 {
44127b65 17408 if (temp2) delete arg2;
d14a1e28
RD
17409 }
17410 return NULL;
17411}
17412
17413
17414static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17415 PyObject *resultobj;
17416 wxDateTime *arg1 = (wxDateTime *) 0 ;
17417 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17418 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
17419 int result;
17420 bool temp2 = False ;
d14a1e28
RD
17421 PyObject * obj0 = 0 ;
17422 PyObject * obj1 = 0 ;
17423 char *kwnames[] = {
17424 (char *) "self",(char *) "tz", NULL
17425 };
17426
17427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
17428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17429 if (obj1) {
17430 {
17431 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 17432 temp2 = True;
d14a1e28
RD
17433 }
17434 }
17435 {
17436 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 17437 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17438
17439 wxPyEndAllowThreads(__tstate);
17440 if (PyErr_Occurred()) SWIG_fail;
17441 }
17442 resultobj = PyInt_FromLong((long)result);
17443 {
44127b65 17444 if (temp2) delete arg2;
d14a1e28
RD
17445 }
17446 return resultobj;
17447 fail:
17448 {
44127b65 17449 if (temp2) delete arg2;
d14a1e28
RD
17450 }
17451 return NULL;
17452}
17453
17454
17455static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17456 PyObject *resultobj;
17457 wxDateTime *arg1 = (wxDateTime *) 0 ;
17458 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
17459 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
44127b65
RD
17460 int result;
17461 bool temp2 = False ;
d14a1e28
RD
17462 PyObject * obj0 = 0 ;
17463 PyObject * obj1 = 0 ;
17464 char *kwnames[] = {
17465 (char *) "self",(char *) "tz", NULL
17466 };
17467
17468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
17469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17470 if (obj1) {
17471 {
17472 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
44127b65 17473 temp2 = True;
d14a1e28
RD
17474 }
17475 }
17476 {
17477 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 17478 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
17479
17480 wxPyEndAllowThreads(__tstate);
17481 if (PyErr_Occurred()) SWIG_fail;
17482 }
17483 resultobj = PyInt_FromLong((long)result);
17484 {
44127b65 17485 if (temp2) delete arg2;
d14a1e28
RD
17486 }
17487 return resultobj;
17488 fail:
17489 {
44127b65 17490 if (temp2) delete arg2;
d14a1e28
RD
17491 }
17492 return NULL;
17493}
17494
17495
17496static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17497 PyObject *resultobj;
17498 wxDateTime *arg1 = (wxDateTime *) 0 ;
17499 int arg2 = (int) wxDateTime::Monday_First ;
17500 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17501 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
44127b65
RD
17502 int result;
17503 bool temp3 = False ;
d14a1e28
RD
17504 PyObject * obj0 = 0 ;
17505 PyObject * obj2 = 0 ;
17506 char *kwnames[] = {
17507 (char *) "self",(char *) "flags",(char *) "tz", NULL
17508 };
17509
17510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames,&obj0,&arg2,&obj2)) goto fail;
17511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17512 if (obj2) {
17513 {
17514 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
44127b65 17515 temp3 = True;
d14a1e28
RD
17516 }
17517 }
17518 {
17519 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 17520 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
17521
17522 wxPyEndAllowThreads(__tstate);
17523 if (PyErr_Occurred()) SWIG_fail;
17524 }
17525 resultobj = PyInt_FromLong((long)result);
17526 {
44127b65 17527 if (temp3) delete arg3;
d14a1e28
RD
17528 }
17529 return resultobj;
17530 fail:
17531 {
44127b65 17532 if (temp3) delete arg3;
d14a1e28
RD
17533 }
17534 return NULL;
17535}
17536
17537
17538static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17539 PyObject *resultobj;
17540 wxDateTime *arg1 = (wxDateTime *) 0 ;
17541 int arg2 = (int) wxDateTime::Monday_First ;
17542 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
17543 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
44127b65
RD
17544 int result;
17545 bool temp3 = False ;
d14a1e28
RD
17546 PyObject * obj0 = 0 ;
17547 PyObject * obj2 = 0 ;
17548 char *kwnames[] = {
17549 (char *) "self",(char *) "flags",(char *) "tz", NULL
17550 };
17551
17552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames,&obj0,&arg2,&obj2)) goto fail;
17553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17554 if (obj2) {
17555 {
17556 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
44127b65 17557 temp3 = True;
d14a1e28
RD
17558 }
17559 }
17560 {
17561 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 17562 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
17563
17564 wxPyEndAllowThreads(__tstate);
17565 if (PyErr_Occurred()) SWIG_fail;
17566 }
17567 resultobj = PyInt_FromLong((long)result);
17568 {
44127b65 17569 if (temp3) delete arg3;
d14a1e28
RD
17570 }
17571 return resultobj;
17572 fail:
17573 {
44127b65 17574 if (temp3) delete arg3;
d14a1e28
RD
17575 }
17576 return NULL;
17577}
17578
17579
17580static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17581 PyObject *resultobj;
17582 wxDateTime *arg1 = (wxDateTime *) 0 ;
17583 int arg2 = (int) wxDateTime::Country_Default ;
17584 bool result;
17585 PyObject * obj0 = 0 ;
17586 char *kwnames[] = {
17587 (char *) "self",(char *) "country", NULL
17588 };
17589
17590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DateTime_IsWorkDay",kwnames,&obj0,&arg2)) goto fail;
17591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17592 {
17593 PyThreadState* __tstate = wxPyBeginAllowThreads();
17594 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
17595
17596 wxPyEndAllowThreads(__tstate);
17597 if (PyErr_Occurred()) SWIG_fail;
17598 }
17599 resultobj = PyInt_FromLong((long)result);
17600 return resultobj;
17601 fail:
17602 return NULL;
17603}
17604
17605
17606static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17607 PyObject *resultobj;
17608 wxDateTime *arg1 = (wxDateTime *) 0 ;
17609 wxDateTime *arg2 = 0 ;
17610 bool result;
17611 PyObject * obj0 = 0 ;
17612 PyObject * obj1 = 0 ;
17613 char *kwnames[] = {
17614 (char *) "self",(char *) "datetime", NULL
17615 };
17616
17617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
17618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17619 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17620 if (arg2 == NULL) {
17621 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17622 }
17623 {
17624 PyThreadState* __tstate = wxPyBeginAllowThreads();
17625 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
17626
17627 wxPyEndAllowThreads(__tstate);
17628 if (PyErr_Occurred()) SWIG_fail;
17629 }
17630 resultobj = PyInt_FromLong((long)result);
17631 return resultobj;
17632 fail:
17633 return NULL;
17634}
17635
17636
17637static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17638 PyObject *resultobj;
17639 wxDateTime *arg1 = (wxDateTime *) 0 ;
17640 wxDateTime *arg2 = 0 ;
17641 bool result;
17642 PyObject * obj0 = 0 ;
17643 PyObject * obj1 = 0 ;
17644 char *kwnames[] = {
17645 (char *) "self",(char *) "datetime", NULL
17646 };
17647
17648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
17649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17650 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17651 if (arg2 == NULL) {
17652 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17653 }
17654 {
17655 PyThreadState* __tstate = wxPyBeginAllowThreads();
17656 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
17657
17658 wxPyEndAllowThreads(__tstate);
17659 if (PyErr_Occurred()) SWIG_fail;
17660 }
17661 resultobj = PyInt_FromLong((long)result);
17662 return resultobj;
17663 fail:
17664 return NULL;
17665}
17666
17667
17668static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
17669 PyObject *resultobj;
17670 wxDateTime *arg1 = (wxDateTime *) 0 ;
17671 wxDateTime *arg2 = 0 ;
17672 bool result;
17673 PyObject * obj0 = 0 ;
17674 PyObject * obj1 = 0 ;
17675 char *kwnames[] = {
17676 (char *) "self",(char *) "datetime", NULL
17677 };
17678
17679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
17680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17681 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17682 if (arg2 == NULL) {
17683 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17684 }
17685 {
17686 PyThreadState* __tstate = wxPyBeginAllowThreads();
17687 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
17688
17689 wxPyEndAllowThreads(__tstate);
17690 if (PyErr_Occurred()) SWIG_fail;
17691 }
17692 resultobj = PyInt_FromLong((long)result);
17693 return resultobj;
17694 fail:
17695 return NULL;
17696}
17697
17698
17699static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17700 PyObject *resultobj;
17701 wxDateTime *arg1 = (wxDateTime *) 0 ;
17702 wxDateTime *arg2 = 0 ;
17703 wxDateTime *arg3 = 0 ;
17704 bool result;
17705 PyObject * obj0 = 0 ;
17706 PyObject * obj1 = 0 ;
17707 PyObject * obj2 = 0 ;
17708 char *kwnames[] = {
17709 (char *) "self",(char *) "t1",(char *) "t2", NULL
17710 };
17711
17712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17714 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17715 if (arg2 == NULL) {
17716 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17717 }
17718 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17719 if (arg3 == NULL) {
17720 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17721 }
17722 {
17723 PyThreadState* __tstate = wxPyBeginAllowThreads();
17724 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17725
17726 wxPyEndAllowThreads(__tstate);
17727 if (PyErr_Occurred()) SWIG_fail;
17728 }
17729 resultobj = PyInt_FromLong((long)result);
17730 return resultobj;
17731 fail:
17732 return NULL;
17733}
17734
17735
17736static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
17737 PyObject *resultobj;
17738 wxDateTime *arg1 = (wxDateTime *) 0 ;
17739 wxDateTime *arg2 = 0 ;
17740 wxDateTime *arg3 = 0 ;
17741 bool result;
17742 PyObject * obj0 = 0 ;
17743 PyObject * obj1 = 0 ;
17744 PyObject * obj2 = 0 ;
17745 char *kwnames[] = {
17746 (char *) "self",(char *) "t1",(char *) "t2", NULL
17747 };
17748
17749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
17750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17751 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17752 if (arg2 == NULL) {
17753 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17754 }
17755 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17756 if (arg3 == NULL) {
17757 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17758 }
17759 {
17760 PyThreadState* __tstate = wxPyBeginAllowThreads();
17761 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
17762
17763 wxPyEndAllowThreads(__tstate);
17764 if (PyErr_Occurred()) SWIG_fail;
17765 }
17766 resultobj = PyInt_FromLong((long)result);
17767 return resultobj;
17768 fail:
17769 return NULL;
17770}
17771
17772
17773static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
17774 PyObject *resultobj;
17775 wxDateTime *arg1 = (wxDateTime *) 0 ;
17776 wxDateTime *arg2 = 0 ;
17777 bool result;
17778 PyObject * obj0 = 0 ;
17779 PyObject * obj1 = 0 ;
17780 char *kwnames[] = {
17781 (char *) "self",(char *) "dt", NULL
17782 };
17783
17784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
17785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17786 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17787 if (arg2 == NULL) {
17788 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17789 }
17790 {
17791 PyThreadState* __tstate = wxPyBeginAllowThreads();
17792 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
17793
17794 wxPyEndAllowThreads(__tstate);
17795 if (PyErr_Occurred()) SWIG_fail;
17796 }
17797 resultobj = PyInt_FromLong((long)result);
17798 return resultobj;
17799 fail:
17800 return NULL;
17801}
17802
17803
17804static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17805 PyObject *resultobj;
17806 wxDateTime *arg1 = (wxDateTime *) 0 ;
17807 wxDateTime *arg2 = 0 ;
17808 bool result;
17809 PyObject * obj0 = 0 ;
17810 PyObject * obj1 = 0 ;
17811 char *kwnames[] = {
17812 (char *) "self",(char *) "dt", NULL
17813 };
17814
17815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
17816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17817 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17818 if (arg2 == NULL) {
17819 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17820 }
17821 {
17822 PyThreadState* __tstate = wxPyBeginAllowThreads();
17823 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
17824
17825 wxPyEndAllowThreads(__tstate);
17826 if (PyErr_Occurred()) SWIG_fail;
17827 }
17828 resultobj = PyInt_FromLong((long)result);
17829 return resultobj;
17830 fail:
17831 return NULL;
17832}
17833
17834
17835static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17836 PyObject *resultobj;
17837 wxDateTime *arg1 = (wxDateTime *) 0 ;
17838 wxDateTime *arg2 = 0 ;
17839 wxTimeSpan *arg3 = 0 ;
17840 bool result;
17841 PyObject * obj0 = 0 ;
17842 PyObject * obj1 = 0 ;
17843 PyObject * obj2 = 0 ;
17844 char *kwnames[] = {
17845 (char *) "self",(char *) "dt",(char *) "ts", NULL
17846 };
17847
17848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17850 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17851 if (arg2 == NULL) {
17852 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17853 }
17854 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17855 if (arg3 == NULL) {
17856 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17857 }
17858 {
17859 PyThreadState* __tstate = wxPyBeginAllowThreads();
17860 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
17861
17862 wxPyEndAllowThreads(__tstate);
17863 if (PyErr_Occurred()) SWIG_fail;
17864 }
17865 resultobj = PyInt_FromLong((long)result);
17866 return resultobj;
17867 fail:
17868 return NULL;
17869}
17870
17871
17872static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17873 PyObject *resultobj;
17874 wxDateTime *arg1 = (wxDateTime *) 0 ;
17875 wxTimeSpan *arg2 = 0 ;
17876 wxDateTime *result;
17877 PyObject * obj0 = 0 ;
17878 PyObject * obj1 = 0 ;
17879 char *kwnames[] = {
17880 (char *) "self",(char *) "diff", NULL
17881 };
17882
17883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
17884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17885 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17886 if (arg2 == NULL) {
17887 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17888 }
17889 {
17890 PyThreadState* __tstate = wxPyBeginAllowThreads();
17891 {
17892 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
17893 result = (wxDateTime *) &_result_ref;
17894 }
17895
17896 wxPyEndAllowThreads(__tstate);
17897 if (PyErr_Occurred()) SWIG_fail;
17898 }
17899 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17900 return resultobj;
17901 fail:
17902 return NULL;
17903}
17904
17905
17906static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17907 PyObject *resultobj;
17908 wxDateTime *arg1 = (wxDateTime *) 0 ;
17909 wxDateSpan *arg2 = 0 ;
17910 wxDateTime *result;
17911 PyObject * obj0 = 0 ;
17912 PyObject * obj1 = 0 ;
17913 char *kwnames[] = {
17914 (char *) "self",(char *) "diff", NULL
17915 };
17916
17917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
17918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17919 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17920 if (arg2 == NULL) {
17921 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17922 }
17923 {
17924 PyThreadState* __tstate = wxPyBeginAllowThreads();
17925 {
17926 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
17927 result = (wxDateTime *) &_result_ref;
17928 }
17929
17930 wxPyEndAllowThreads(__tstate);
17931 if (PyErr_Occurred()) SWIG_fail;
17932 }
17933 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17934 return resultobj;
17935 fail:
17936 return NULL;
17937}
17938
17939
17940static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
17941 PyObject *resultobj;
17942 wxDateTime *arg1 = (wxDateTime *) 0 ;
17943 wxTimeSpan *arg2 = 0 ;
17944 wxDateTime *result;
17945 PyObject * obj0 = 0 ;
17946 PyObject * obj1 = 0 ;
17947 char *kwnames[] = {
17948 (char *) "self",(char *) "diff", NULL
17949 };
17950
17951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
17952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17953 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17954 if (arg2 == NULL) {
17955 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17956 }
17957 {
17958 PyThreadState* __tstate = wxPyBeginAllowThreads();
17959 {
17960 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
17961 result = (wxDateTime *) &_result_ref;
17962 }
17963
17964 wxPyEndAllowThreads(__tstate);
17965 if (PyErr_Occurred()) SWIG_fail;
17966 }
17967 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17968 return resultobj;
17969 fail:
17970 return NULL;
17971}
17972
17973
17974static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
17975 PyObject *resultobj;
17976 wxDateTime *arg1 = (wxDateTime *) 0 ;
17977 wxDateSpan *arg2 = 0 ;
17978 wxDateTime *result;
17979 PyObject * obj0 = 0 ;
17980 PyObject * obj1 = 0 ;
17981 char *kwnames[] = {
17982 (char *) "self",(char *) "diff", NULL
17983 };
17984
17985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
17986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17987 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17988 if (arg2 == NULL) {
17989 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17990 }
17991 {
17992 PyThreadState* __tstate = wxPyBeginAllowThreads();
17993 {
17994 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
17995 result = (wxDateTime *) &_result_ref;
17996 }
17997
17998 wxPyEndAllowThreads(__tstate);
17999 if (PyErr_Occurred()) SWIG_fail;
18000 }
18001 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18002 return resultobj;
18003 fail:
18004 return NULL;
18005}
18006
18007
18008static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
18009 PyObject *resultobj;
18010 wxDateTime *arg1 = (wxDateTime *) 0 ;
18011 wxDateTime *arg2 = 0 ;
18012 wxTimeSpan result;
18013 PyObject * obj0 = 0 ;
18014 PyObject * obj1 = 0 ;
18015 char *kwnames[] = {
18016 (char *) "self",(char *) "dt", NULL
18017 };
18018
18019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
18020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18021 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18022 if (arg2 == NULL) {
18023 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18024 }
18025 {
18026 PyThreadState* __tstate = wxPyBeginAllowThreads();
18027 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
18028
18029 wxPyEndAllowThreads(__tstate);
18030 if (PyErr_Occurred()) SWIG_fail;
18031 }
18032 {
18033 wxTimeSpan * resultptr;
18034 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18035 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18036 }
18037 return resultobj;
18038 fail:
18039 return NULL;
18040}
18041
18042
18043static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
18044 PyObject *resultobj;
18045 wxDateTime *arg1 = (wxDateTime *) 0 ;
18046 wxTimeSpan *arg2 = 0 ;
18047 wxDateTime *result;
18048 PyObject * obj0 = 0 ;
18049 PyObject * obj1 = 0 ;
18050
18051 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
18052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18053 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18054 if (arg2 == NULL) {
18055 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18056 }
18057 {
18058 PyThreadState* __tstate = wxPyBeginAllowThreads();
18059 {
18060 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
18061 result = (wxDateTime *) &_result_ref;
18062 }
18063
18064 wxPyEndAllowThreads(__tstate);
18065 if (PyErr_Occurred()) SWIG_fail;
18066 }
18067 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18068 return resultobj;
18069 fail:
18070 return NULL;
18071}
18072
18073
18074static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
18075 PyObject *resultobj;
18076 wxDateTime *arg1 = (wxDateTime *) 0 ;
18077 wxDateSpan *arg2 = 0 ;
18078 wxDateTime *result;
18079 PyObject * obj0 = 0 ;
18080 PyObject * obj1 = 0 ;
18081
18082 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
18083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18084 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18085 if (arg2 == NULL) {
18086 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18087 }
18088 {
18089 PyThreadState* __tstate = wxPyBeginAllowThreads();
18090 {
18091 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
18092 result = (wxDateTime *) &_result_ref;
18093 }
18094
18095 wxPyEndAllowThreads(__tstate);
18096 if (PyErr_Occurred()) SWIG_fail;
18097 }
18098 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18099 return resultobj;
18100 fail:
18101 return NULL;
18102}
18103
18104
18105static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
18106 int argc;
18107 PyObject *argv[3];
18108 int ii;
18109
18110 argc = PyObject_Length(args);
18111 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18112 argv[ii] = PyTuple_GetItem(args,ii);
18113 }
18114 if (argc == 2) {
18115 int _v;
18116 {
18117 void *ptr;
18118 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18119 _v = 0;
18120 PyErr_Clear();
18121 } else {
18122 _v = 1;
18123 }
18124 }
18125 if (_v) {
18126 {
18127 void *ptr;
18128 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18129 _v = 0;
18130 PyErr_Clear();
18131 } else {
18132 _v = 1;
18133 }
18134 }
18135 if (_v) {
18136 return _wrap_DateTime___iadd____SWIG_0(self,args);
18137 }
18138 }
18139 }
18140 if (argc == 2) {
18141 int _v;
18142 {
18143 void *ptr;
18144 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18145 _v = 0;
18146 PyErr_Clear();
18147 } else {
18148 _v = 1;
18149 }
18150 }
18151 if (_v) {
18152 {
18153 void *ptr;
18154 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18155 _v = 0;
18156 PyErr_Clear();
18157 } else {
18158 _v = 1;
18159 }
18160 }
18161 if (_v) {
18162 return _wrap_DateTime___iadd____SWIG_1(self,args);
18163 }
18164 }
18165 }
18166
18167 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
18168 return NULL;
18169}
18170
18171
18172static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
18173 PyObject *resultobj;
18174 wxDateTime *arg1 = (wxDateTime *) 0 ;
18175 wxTimeSpan *arg2 = 0 ;
18176 wxDateTime *result;
18177 PyObject * obj0 = 0 ;
18178 PyObject * obj1 = 0 ;
18179
18180 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
18181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18182 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18183 if (arg2 == NULL) {
18184 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18185 }
18186 {
18187 PyThreadState* __tstate = wxPyBeginAllowThreads();
18188 {
18189 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
18190 result = (wxDateTime *) &_result_ref;
18191 }
18192
18193 wxPyEndAllowThreads(__tstate);
18194 if (PyErr_Occurred()) SWIG_fail;
18195 }
18196 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18197 return resultobj;
18198 fail:
18199 return NULL;
18200}
18201
18202
18203static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
18204 PyObject *resultobj;
18205 wxDateTime *arg1 = (wxDateTime *) 0 ;
18206 wxDateSpan *arg2 = 0 ;
18207 wxDateTime *result;
18208 PyObject * obj0 = 0 ;
18209 PyObject * obj1 = 0 ;
18210
18211 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
18212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18213 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18214 if (arg2 == NULL) {
18215 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18216 }
18217 {
18218 PyThreadState* __tstate = wxPyBeginAllowThreads();
18219 {
18220 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
18221 result = (wxDateTime *) &_result_ref;
18222 }
18223
18224 wxPyEndAllowThreads(__tstate);
18225 if (PyErr_Occurred()) SWIG_fail;
18226 }
18227 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18228 return resultobj;
18229 fail:
18230 return NULL;
18231}
18232
18233
18234static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
18235 int argc;
18236 PyObject *argv[3];
18237 int ii;
18238
18239 argc = PyObject_Length(args);
18240 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18241 argv[ii] = PyTuple_GetItem(args,ii);
18242 }
18243 if (argc == 2) {
18244 int _v;
18245 {
18246 void *ptr;
18247 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18248 _v = 0;
18249 PyErr_Clear();
18250 } else {
18251 _v = 1;
18252 }
18253 }
18254 if (_v) {
18255 {
18256 void *ptr;
18257 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18258 _v = 0;
18259 PyErr_Clear();
18260 } else {
18261 _v = 1;
18262 }
18263 }
18264 if (_v) {
18265 return _wrap_DateTime___isub____SWIG_0(self,args);
18266 }
18267 }
18268 }
18269 if (argc == 2) {
18270 int _v;
18271 {
18272 void *ptr;
18273 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18274 _v = 0;
18275 PyErr_Clear();
18276 } else {
18277 _v = 1;
18278 }
18279 }
18280 if (_v) {
18281 {
18282 void *ptr;
18283 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18284 _v = 0;
18285 PyErr_Clear();
18286 } else {
18287 _v = 1;
18288 }
18289 }
18290 if (_v) {
18291 return _wrap_DateTime___isub____SWIG_1(self,args);
18292 }
18293 }
18294 }
18295
18296 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
18297 return NULL;
18298}
18299
18300
18301static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
18302 PyObject *resultobj;
18303 wxDateTime *arg1 = (wxDateTime *) 0 ;
18304 wxTimeSpan *arg2 = 0 ;
18305 wxDateTime result;
18306 PyObject * obj0 = 0 ;
18307 PyObject * obj1 = 0 ;
18308
18309 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18311 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18312 if (arg2 == NULL) {
18313 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18314 }
18315 {
18316 PyThreadState* __tstate = wxPyBeginAllowThreads();
18317 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
18318
18319 wxPyEndAllowThreads(__tstate);
18320 if (PyErr_Occurred()) SWIG_fail;
18321 }
18322 {
18323 wxDateTime * resultptr;
18324 resultptr = new wxDateTime((wxDateTime &) result);
18325 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18326 }
18327 return resultobj;
18328 fail:
18329 return NULL;
18330}
18331
18332
18333static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
18334 PyObject *resultobj;
18335 wxDateTime *arg1 = (wxDateTime *) 0 ;
18336 wxDateSpan *arg2 = 0 ;
18337 wxDateTime result;
18338 PyObject * obj0 = 0 ;
18339 PyObject * obj1 = 0 ;
18340
18341 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
18342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18343 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18344 if (arg2 == NULL) {
18345 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18346 }
18347 {
18348 PyThreadState* __tstate = wxPyBeginAllowThreads();
18349 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
18350
18351 wxPyEndAllowThreads(__tstate);
18352 if (PyErr_Occurred()) SWIG_fail;
18353 }
18354 {
18355 wxDateTime * resultptr;
18356 resultptr = new wxDateTime((wxDateTime &) result);
18357 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18358 }
18359 return resultobj;
18360 fail:
18361 return NULL;
18362}
18363
18364
18365static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
18366 int argc;
18367 PyObject *argv[3];
18368 int ii;
18369
18370 argc = PyObject_Length(args);
18371 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18372 argv[ii] = PyTuple_GetItem(args,ii);
18373 }
18374 if (argc == 2) {
18375 int _v;
18376 {
18377 void *ptr;
18378 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18379 _v = 0;
18380 PyErr_Clear();
18381 } else {
18382 _v = 1;
18383 }
18384 }
18385 if (_v) {
18386 {
18387 void *ptr;
18388 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18389 _v = 0;
18390 PyErr_Clear();
18391 } else {
18392 _v = 1;
18393 }
18394 }
18395 if (_v) {
18396 return _wrap_DateTime___add____SWIG_0(self,args);
18397 }
18398 }
18399 }
18400 if (argc == 2) {
18401 int _v;
18402 {
18403 void *ptr;
18404 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18405 _v = 0;
18406 PyErr_Clear();
18407 } else {
18408 _v = 1;
18409 }
18410 }
18411 if (_v) {
18412 {
18413 void *ptr;
18414 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18415 _v = 0;
18416 PyErr_Clear();
18417 } else {
18418 _v = 1;
18419 }
18420 }
18421 if (_v) {
18422 return _wrap_DateTime___add____SWIG_1(self,args);
18423 }
18424 }
18425 }
18426
18427 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
18428 return NULL;
18429}
18430
18431
18432static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
18433 PyObject *resultobj;
18434 wxDateTime *arg1 = (wxDateTime *) 0 ;
18435 wxDateTime *arg2 = 0 ;
18436 wxTimeSpan result;
18437 PyObject * obj0 = 0 ;
18438 PyObject * obj1 = 0 ;
18439
18440 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18442 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18443 if (arg2 == NULL) {
18444 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18445 }
18446 {
18447 PyThreadState* __tstate = wxPyBeginAllowThreads();
18448 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
18449
18450 wxPyEndAllowThreads(__tstate);
18451 if (PyErr_Occurred()) SWIG_fail;
18452 }
18453 {
18454 wxTimeSpan * resultptr;
18455 resultptr = new wxTimeSpan((wxTimeSpan &) result);
18456 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
18457 }
18458 return resultobj;
18459 fail:
18460 return NULL;
18461}
18462
18463
18464static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
18465 PyObject *resultobj;
18466 wxDateTime *arg1 = (wxDateTime *) 0 ;
18467 wxTimeSpan *arg2 = 0 ;
18468 wxDateTime result;
18469 PyObject * obj0 = 0 ;
18470 PyObject * obj1 = 0 ;
18471
18472 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18474 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18475 if (arg2 == NULL) {
18476 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18477 }
18478 {
18479 PyThreadState* __tstate = wxPyBeginAllowThreads();
18480 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
18481
18482 wxPyEndAllowThreads(__tstate);
18483 if (PyErr_Occurred()) SWIG_fail;
18484 }
18485 {
18486 wxDateTime * resultptr;
18487 resultptr = new wxDateTime((wxDateTime &) result);
18488 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18489 }
18490 return resultobj;
18491 fail:
18492 return NULL;
18493}
18494
18495
18496static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
18497 PyObject *resultobj;
18498 wxDateTime *arg1 = (wxDateTime *) 0 ;
18499 wxDateSpan *arg2 = 0 ;
18500 wxDateTime result;
18501 PyObject * obj0 = 0 ;
18502 PyObject * obj1 = 0 ;
18503
18504 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
18505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18506 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18507 if (arg2 == NULL) {
18508 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18509 }
18510 {
18511 PyThreadState* __tstate = wxPyBeginAllowThreads();
18512 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
18513
18514 wxPyEndAllowThreads(__tstate);
18515 if (PyErr_Occurred()) SWIG_fail;
18516 }
18517 {
18518 wxDateTime * resultptr;
18519 resultptr = new wxDateTime((wxDateTime &) result);
18520 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18521 }
18522 return resultobj;
18523 fail:
18524 return NULL;
18525}
18526
18527
18528static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
18529 int argc;
18530 PyObject *argv[3];
18531 int ii;
18532
18533 argc = PyObject_Length(args);
18534 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
18535 argv[ii] = PyTuple_GetItem(args,ii);
18536 }
18537 if (argc == 2) {
18538 int _v;
18539 {
18540 void *ptr;
18541 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18542 _v = 0;
18543 PyErr_Clear();
18544 } else {
18545 _v = 1;
18546 }
18547 }
18548 if (_v) {
18549 {
18550 void *ptr;
18551 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18552 _v = 0;
18553 PyErr_Clear();
18554 } else {
18555 _v = 1;
18556 }
18557 }
18558 if (_v) {
18559 return _wrap_DateTime___sub____SWIG_0(self,args);
18560 }
18561 }
18562 }
18563 if (argc == 2) {
18564 int _v;
18565 {
18566 void *ptr;
18567 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18568 _v = 0;
18569 PyErr_Clear();
18570 } else {
18571 _v = 1;
18572 }
18573 }
18574 if (_v) {
18575 {
18576 void *ptr;
18577 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
18578 _v = 0;
18579 PyErr_Clear();
18580 } else {
18581 _v = 1;
18582 }
18583 }
18584 if (_v) {
18585 return _wrap_DateTime___sub____SWIG_1(self,args);
18586 }
18587 }
18588 }
18589 if (argc == 2) {
18590 int _v;
18591 {
18592 void *ptr;
18593 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
18594 _v = 0;
18595 PyErr_Clear();
18596 } else {
18597 _v = 1;
18598 }
18599 }
18600 if (_v) {
18601 {
18602 void *ptr;
18603 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
18604 _v = 0;
18605 PyErr_Clear();
18606 } else {
18607 _v = 1;
18608 }
18609 }
18610 if (_v) {
18611 return _wrap_DateTime___sub____SWIG_2(self,args);
18612 }
18613 }
18614 }
18615
18616 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
18617 return NULL;
18618}
18619
18620
18621static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
18622 PyObject *resultobj;
18623 wxDateTime *arg1 = (wxDateTime *) 0 ;
18624 wxDateTime *arg2 = 0 ;
18625 bool result;
18626 PyObject * obj0 = 0 ;
18627 PyObject * obj1 = 0 ;
18628
18629 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
18630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18631 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18632 if (arg2 == NULL) {
18633 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18634 }
18635 {
18636 PyThreadState* __tstate = wxPyBeginAllowThreads();
18637 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const &)*arg2);
18638
18639 wxPyEndAllowThreads(__tstate);
18640 if (PyErr_Occurred()) SWIG_fail;
18641 }
18642 resultobj = PyInt_FromLong((long)result);
18643 return resultobj;
18644 fail:
18645 return NULL;
18646}
18647
18648
18649static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
18650 PyObject *resultobj;
18651 wxDateTime *arg1 = (wxDateTime *) 0 ;
18652 wxDateTime *arg2 = 0 ;
18653 bool result;
18654 PyObject * obj0 = 0 ;
18655 PyObject * obj1 = 0 ;
18656
18657 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
18658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18659 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18660 if (arg2 == NULL) {
18661 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18662 }
18663 {
18664 PyThreadState* __tstate = wxPyBeginAllowThreads();
18665 result = (bool)wxDateTime___le__(arg1,(wxDateTime const &)*arg2);
18666
18667 wxPyEndAllowThreads(__tstate);
18668 if (PyErr_Occurred()) SWIG_fail;
18669 }
18670 resultobj = PyInt_FromLong((long)result);
18671 return resultobj;
18672 fail:
18673 return NULL;
18674}
18675
18676
18677static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
18678 PyObject *resultobj;
18679 wxDateTime *arg1 = (wxDateTime *) 0 ;
18680 wxDateTime *arg2 = 0 ;
18681 bool result;
18682 PyObject * obj0 = 0 ;
18683 PyObject * obj1 = 0 ;
18684
18685 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
18686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18687 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18688 if (arg2 == NULL) {
18689 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18690 }
18691 {
18692 PyThreadState* __tstate = wxPyBeginAllowThreads();
18693 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const &)*arg2);
18694
18695 wxPyEndAllowThreads(__tstate);
18696 if (PyErr_Occurred()) SWIG_fail;
18697 }
18698 resultobj = PyInt_FromLong((long)result);
18699 return resultobj;
18700 fail:
18701 return NULL;
18702}
18703
18704
18705static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
18706 PyObject *resultobj;
18707 wxDateTime *arg1 = (wxDateTime *) 0 ;
18708 wxDateTime *arg2 = 0 ;
18709 bool result;
18710 PyObject * obj0 = 0 ;
18711 PyObject * obj1 = 0 ;
18712
18713 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
18714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18715 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18716 if (arg2 == NULL) {
18717 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18718 }
18719 {
18720 PyThreadState* __tstate = wxPyBeginAllowThreads();
18721 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const &)*arg2);
18722
18723 wxPyEndAllowThreads(__tstate);
18724 if (PyErr_Occurred()) SWIG_fail;
18725 }
18726 resultobj = PyInt_FromLong((long)result);
18727 return resultobj;
18728 fail:
18729 return NULL;
18730}
18731
18732
18733static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
18734 PyObject *resultobj;
18735 wxDateTime *arg1 = (wxDateTime *) 0 ;
18736 wxDateTime *arg2 = 0 ;
18737 bool result;
18738 PyObject * obj0 = 0 ;
18739 PyObject * obj1 = 0 ;
18740
18741 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
18742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18743 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18744 if (arg2 == NULL) {
18745 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18746 }
18747 {
18748 PyThreadState* __tstate = wxPyBeginAllowThreads();
18749 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const &)*arg2);
18750
18751 wxPyEndAllowThreads(__tstate);
18752 if (PyErr_Occurred()) SWIG_fail;
18753 }
18754 resultobj = PyInt_FromLong((long)result);
18755 return resultobj;
18756 fail:
18757 return NULL;
18758}
18759
18760
18761static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
18762 PyObject *resultobj;
18763 wxDateTime *arg1 = (wxDateTime *) 0 ;
18764 wxDateTime *arg2 = 0 ;
18765 bool result;
18766 PyObject * obj0 = 0 ;
18767 PyObject * obj1 = 0 ;
18768
18769 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
18770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18771 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18772 if (arg2 == NULL) {
18773 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18774 }
18775 {
18776 PyThreadState* __tstate = wxPyBeginAllowThreads();
18777 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const &)*arg2);
18778
18779 wxPyEndAllowThreads(__tstate);
18780 if (PyErr_Occurred()) SWIG_fail;
18781 }
18782 resultobj = PyInt_FromLong((long)result);
18783 return resultobj;
18784 fail:
18785 return NULL;
18786}
18787
18788
18789static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
18790 PyObject *resultobj;
18791 wxDateTime *arg1 = (wxDateTime *) 0 ;
18792 wxString *arg2 = 0 ;
18793 int result;
423f194a 18794 bool temp2 = False ;
d14a1e28
RD
18795 PyObject * obj0 = 0 ;
18796 PyObject * obj1 = 0 ;
18797 char *kwnames[] = {
18798 (char *) "self",(char *) "date", NULL
18799 };
18800
18801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
18802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18803 {
18804 arg2 = wxString_in_helper(obj1);
18805 if (arg2 == NULL) SWIG_fail;
423f194a 18806 temp2 = True;
d14a1e28
RD
18807 }
18808 {
18809 PyThreadState* __tstate = wxPyBeginAllowThreads();
18810 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
18811
18812 wxPyEndAllowThreads(__tstate);
18813 if (PyErr_Occurred()) SWIG_fail;
18814 }
18815 resultobj = PyInt_FromLong((long)result);
18816 {
18817 if (temp2)
18818 delete arg2;
18819 }
18820 return resultobj;
18821 fail:
18822 {
18823 if (temp2)
18824 delete arg2;
18825 }
18826 return NULL;
18827}
18828
18829
18830static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
18831 PyObject *resultobj;
18832 wxDateTime *arg1 = (wxDateTime *) 0 ;
18833 wxString *arg2 = 0 ;
18834 wxString const &arg3_defvalue = wxPyDateFormatStr ;
18835 wxString *arg3 = (wxString *) &arg3_defvalue ;
18836 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
18837 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
18838 int result;
423f194a
RD
18839 bool temp2 = False ;
18840 bool temp3 = False ;
d14a1e28
RD
18841 PyObject * obj0 = 0 ;
18842 PyObject * obj1 = 0 ;
18843 PyObject * obj2 = 0 ;
18844 PyObject * obj3 = 0 ;
18845 char *kwnames[] = {
18846 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
18847 };
18848
18849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18851 {
18852 arg2 = wxString_in_helper(obj1);
18853 if (arg2 == NULL) SWIG_fail;
423f194a 18854 temp2 = True;
d14a1e28
RD
18855 }
18856 if (obj2) {
18857 {
18858 arg3 = wxString_in_helper(obj2);
18859 if (arg3 == NULL) SWIG_fail;
423f194a 18860 temp3 = True;
d14a1e28
RD
18861 }
18862 }
18863 if (obj3) {
18864 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18865 if (arg4 == NULL) {
18866 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18867 }
18868 }
18869 {
18870 PyThreadState* __tstate = wxPyBeginAllowThreads();
18871 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
18872
18873 wxPyEndAllowThreads(__tstate);
18874 if (PyErr_Occurred()) SWIG_fail;
18875 }
18876 resultobj = PyInt_FromLong((long)result);
18877 {
18878 if (temp2)
18879 delete arg2;
18880 }
18881 {
18882 if (temp3)
18883 delete arg3;
18884 }
18885 return resultobj;
18886 fail:
18887 {
18888 if (temp2)
18889 delete arg2;
18890 }
18891 {
18892 if (temp3)
18893 delete arg3;
18894 }
18895 return NULL;
18896}
18897
18898
18899static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18900 PyObject *resultobj;
18901 wxDateTime *arg1 = (wxDateTime *) 0 ;
18902 wxString *arg2 = 0 ;
18903 int result;
423f194a 18904 bool temp2 = False ;
d14a1e28
RD
18905 PyObject * obj0 = 0 ;
18906 PyObject * obj1 = 0 ;
18907 char *kwnames[] = {
18908 (char *) "self",(char *) "datetime", NULL
18909 };
18910
18911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
18912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18913 {
18914 arg2 = wxString_in_helper(obj1);
18915 if (arg2 == NULL) SWIG_fail;
423f194a 18916 temp2 = True;
d14a1e28
RD
18917 }
18918 {
18919 PyThreadState* __tstate = wxPyBeginAllowThreads();
18920 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
18921
18922 wxPyEndAllowThreads(__tstate);
18923 if (PyErr_Occurred()) SWIG_fail;
18924 }
18925 resultobj = PyInt_FromLong((long)result);
18926 {
18927 if (temp2)
18928 delete arg2;
18929 }
18930 return resultobj;
18931 fail:
18932 {
18933 if (temp2)
18934 delete arg2;
18935 }
18936 return NULL;
18937}
18938
18939
18940static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
18941 PyObject *resultobj;
18942 wxDateTime *arg1 = (wxDateTime *) 0 ;
18943 wxString *arg2 = 0 ;
18944 int result;
423f194a 18945 bool temp2 = False ;
d14a1e28
RD
18946 PyObject * obj0 = 0 ;
18947 PyObject * obj1 = 0 ;
18948 char *kwnames[] = {
18949 (char *) "self",(char *) "date", NULL
18950 };
18951
18952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
18953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18954 {
18955 arg2 = wxString_in_helper(obj1);
18956 if (arg2 == NULL) SWIG_fail;
423f194a 18957 temp2 = True;
d14a1e28
RD
18958 }
18959 {
18960 PyThreadState* __tstate = wxPyBeginAllowThreads();
18961 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
18962
18963 wxPyEndAllowThreads(__tstate);
18964 if (PyErr_Occurred()) SWIG_fail;
18965 }
18966 resultobj = PyInt_FromLong((long)result);
18967 {
18968 if (temp2)
18969 delete arg2;
18970 }
18971 return resultobj;
18972 fail:
18973 {
18974 if (temp2)
18975 delete arg2;
18976 }
18977 return NULL;
18978}
18979
18980
18981static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18982 PyObject *resultobj;
18983 wxDateTime *arg1 = (wxDateTime *) 0 ;
18984 wxString *arg2 = 0 ;
18985 int result;
423f194a 18986 bool temp2 = False ;
d14a1e28
RD
18987 PyObject * obj0 = 0 ;
18988 PyObject * obj1 = 0 ;
18989 char *kwnames[] = {
18990 (char *) "self",(char *) "time", NULL
18991 };
18992
18993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
18994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18995 {
18996 arg2 = wxString_in_helper(obj1);
18997 if (arg2 == NULL) SWIG_fail;
423f194a 18998 temp2 = True;
d14a1e28
RD
18999 }
19000 {
19001 PyThreadState* __tstate = wxPyBeginAllowThreads();
19002 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
19003
19004 wxPyEndAllowThreads(__tstate);
19005 if (PyErr_Occurred()) SWIG_fail;
19006 }
19007 resultobj = PyInt_FromLong((long)result);
19008 {
19009 if (temp2)
19010 delete arg2;
19011 }
19012 return resultobj;
19013 fail:
19014 {
19015 if (temp2)
19016 delete arg2;
19017 }
19018 return NULL;
19019}
19020
19021
19022static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
19023 PyObject *resultobj;
19024 wxDateTime *arg1 = (wxDateTime *) 0 ;
19025 wxString const &arg2_defvalue = wxPyDateFormatStr ;
19026 wxString *arg2 = (wxString *) &arg2_defvalue ;
19027 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19028 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19029 wxString result;
423f194a 19030 bool temp2 = False ;
44127b65 19031 bool temp3 = False ;
d14a1e28
RD
19032 PyObject * obj0 = 0 ;
19033 PyObject * obj1 = 0 ;
19034 PyObject * obj2 = 0 ;
19035 char *kwnames[] = {
19036 (char *) "self",(char *) "format",(char *) "tz", NULL
19037 };
19038
19039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
19040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19041 if (obj1) {
19042 {
19043 arg2 = wxString_in_helper(obj1);
19044 if (arg2 == NULL) SWIG_fail;
423f194a 19045 temp2 = True;
d14a1e28
RD
19046 }
19047 }
19048 if (obj2) {
19049 {
19050 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
44127b65 19051 temp3 = True;
d14a1e28
RD
19052 }
19053 }
19054 {
19055 PyThreadState* __tstate = wxPyBeginAllowThreads();
19056 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
19057
19058 wxPyEndAllowThreads(__tstate);
19059 if (PyErr_Occurred()) SWIG_fail;
19060 }
19061 {
19062#if wxUSE_UNICODE
19063 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19064#else
19065 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19066#endif
19067 }
19068 {
19069 if (temp2)
19070 delete arg2;
19071 }
19072 {
44127b65 19073 if (temp3) delete arg3;
d14a1e28
RD
19074 }
19075 return resultobj;
19076 fail:
19077 {
19078 if (temp2)
19079 delete arg2;
19080 }
19081 {
44127b65 19082 if (temp3) delete arg3;
d14a1e28
RD
19083 }
19084 return NULL;
19085}
19086
19087
19088static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19089 PyObject *resultobj;
19090 wxDateTime *arg1 = (wxDateTime *) 0 ;
19091 wxString result;
19092 PyObject * obj0 = 0 ;
19093 char *kwnames[] = {
19094 (char *) "self", NULL
19095 };
19096
19097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
19098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19099 {
19100 PyThreadState* __tstate = wxPyBeginAllowThreads();
19101 result = ((wxDateTime const *)arg1)->FormatDate();
19102
19103 wxPyEndAllowThreads(__tstate);
19104 if (PyErr_Occurred()) SWIG_fail;
19105 }
19106 {
19107#if wxUSE_UNICODE
19108 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19109#else
19110 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19111#endif
19112 }
19113 return resultobj;
19114 fail:
19115 return NULL;
19116}
19117
19118
19119static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19120 PyObject *resultobj;
19121 wxDateTime *arg1 = (wxDateTime *) 0 ;
19122 wxString result;
19123 PyObject * obj0 = 0 ;
19124 char *kwnames[] = {
19125 (char *) "self", NULL
19126 };
19127
19128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
19129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19130 {
19131 PyThreadState* __tstate = wxPyBeginAllowThreads();
19132 result = ((wxDateTime const *)arg1)->FormatTime();
19133
19134 wxPyEndAllowThreads(__tstate);
19135 if (PyErr_Occurred()) SWIG_fail;
19136 }
19137 {
19138#if wxUSE_UNICODE
19139 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19140#else
19141 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19142#endif
19143 }
19144 return resultobj;
19145 fail:
19146 return NULL;
19147}
19148
19149
19150static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
19151 PyObject *resultobj;
19152 wxDateTime *arg1 = (wxDateTime *) 0 ;
19153 wxString result;
19154 PyObject * obj0 = 0 ;
19155 char *kwnames[] = {
19156 (char *) "self", NULL
19157 };
19158
19159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
19160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19161 {
19162 PyThreadState* __tstate = wxPyBeginAllowThreads();
19163 result = ((wxDateTime const *)arg1)->FormatISODate();
19164
19165 wxPyEndAllowThreads(__tstate);
19166 if (PyErr_Occurred()) SWIG_fail;
19167 }
19168 {
19169#if wxUSE_UNICODE
19170 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19171#else
19172 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19173#endif
19174 }
19175 return resultobj;
19176 fail:
19177 return NULL;
19178}
19179
19180
19181static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19182 PyObject *resultobj;
19183 wxDateTime *arg1 = (wxDateTime *) 0 ;
19184 wxString result;
19185 PyObject * obj0 = 0 ;
19186 char *kwnames[] = {
19187 (char *) "self", NULL
19188 };
19189
19190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
19191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19192 {
19193 PyThreadState* __tstate = wxPyBeginAllowThreads();
19194 result = ((wxDateTime const *)arg1)->FormatISOTime();
19195
19196 wxPyEndAllowThreads(__tstate);
19197 if (PyErr_Occurred()) SWIG_fail;
19198 }
19199 {
19200#if wxUSE_UNICODE
19201 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19202#else
19203 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19204#endif
19205 }
19206 return resultobj;
19207 fail:
19208 return NULL;
19209}
19210
19211
19212static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
19213 PyObject *obj;
19214 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19215 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
19216 Py_INCREF(obj);
19217 return Py_BuildValue((char *)"");
19218}
19219static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
19220 PyObject *resultobj;
19221 long arg1 ;
19222 wxTimeSpan result;
19223 char *kwnames[] = {
19224 (char *) "sec", NULL
19225 };
19226
19227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Seconds",kwnames,&arg1)) goto fail;
19228 {
19229 PyThreadState* __tstate = wxPyBeginAllowThreads();
19230 result = wxTimeSpan::Seconds(arg1);
19231
19232 wxPyEndAllowThreads(__tstate);
19233 if (PyErr_Occurred()) SWIG_fail;
19234 }
19235 {
19236 wxTimeSpan * resultptr;
19237 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19238 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19239 }
19240 return resultobj;
19241 fail:
19242 return NULL;
19243}
19244
19245
19246static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
19247 PyObject *resultobj;
19248 wxTimeSpan result;
19249 char *kwnames[] = {
19250 NULL
19251 };
19252
19253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
19254 {
19255 PyThreadState* __tstate = wxPyBeginAllowThreads();
19256 result = wxTimeSpan::Second();
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_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
19273 PyObject *resultobj;
19274 long arg1 ;
19275 wxTimeSpan result;
19276 char *kwnames[] = {
19277 (char *) "min", NULL
19278 };
19279
19280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Minutes",kwnames,&arg1)) goto fail;
19281 {
19282 PyThreadState* __tstate = wxPyBeginAllowThreads();
19283 result = wxTimeSpan::Minutes(arg1);
19284
19285 wxPyEndAllowThreads(__tstate);
19286 if (PyErr_Occurred()) SWIG_fail;
19287 }
19288 {
19289 wxTimeSpan * resultptr;
19290 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19291 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19292 }
19293 return resultobj;
19294 fail:
19295 return NULL;
19296}
19297
19298
19299static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
19300 PyObject *resultobj;
19301 wxTimeSpan result;
19302 char *kwnames[] = {
19303 NULL
19304 };
19305
19306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
19307 {
19308 PyThreadState* __tstate = wxPyBeginAllowThreads();
19309 result = wxTimeSpan::Minute();
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_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
19326 PyObject *resultobj;
19327 long arg1 ;
19328 wxTimeSpan result;
19329 char *kwnames[] = {
19330 (char *) "hours", NULL
19331 };
19332
19333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Hours",kwnames,&arg1)) goto fail;
19334 {
19335 PyThreadState* __tstate = wxPyBeginAllowThreads();
19336 result = wxTimeSpan::Hours(arg1);
19337
19338 wxPyEndAllowThreads(__tstate);
19339 if (PyErr_Occurred()) SWIG_fail;
19340 }
19341 {
19342 wxTimeSpan * resultptr;
19343 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19344 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19345 }
19346 return resultobj;
19347 fail:
19348 return NULL;
19349}
19350
19351
19352static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
19353 PyObject *resultobj;
19354 wxTimeSpan result;
19355 char *kwnames[] = {
19356 NULL
19357 };
19358
19359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
19360 {
19361 PyThreadState* __tstate = wxPyBeginAllowThreads();
19362 result = wxTimeSpan::Hour();
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_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
19379 PyObject *resultobj;
19380 long arg1 ;
19381 wxTimeSpan result;
19382 char *kwnames[] = {
19383 (char *) "days", NULL
19384 };
19385
19386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Days",kwnames,&arg1)) goto fail;
19387 {
19388 PyThreadState* __tstate = wxPyBeginAllowThreads();
19389 result = wxTimeSpan::Days(arg1);
19390
19391 wxPyEndAllowThreads(__tstate);
19392 if (PyErr_Occurred()) SWIG_fail;
19393 }
19394 {
19395 wxTimeSpan * resultptr;
19396 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19397 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19398 }
19399 return resultobj;
19400 fail:
19401 return NULL;
19402}
19403
19404
19405static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
19406 PyObject *resultobj;
19407 wxTimeSpan result;
19408 char *kwnames[] = {
19409 NULL
19410 };
19411
19412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
19413 {
19414 PyThreadState* __tstate = wxPyBeginAllowThreads();
19415 result = wxTimeSpan::Day();
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_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
19432 PyObject *resultobj;
19433 long arg1 ;
19434 wxTimeSpan result;
19435 char *kwnames[] = {
19436 (char *) "days", NULL
19437 };
19438
19439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:TimeSpan_Weeks",kwnames,&arg1)) goto fail;
19440 {
19441 PyThreadState* __tstate = wxPyBeginAllowThreads();
19442 result = wxTimeSpan::Weeks(arg1);
19443
19444 wxPyEndAllowThreads(__tstate);
19445 if (PyErr_Occurred()) SWIG_fail;
19446 }
19447 {
19448 wxTimeSpan * resultptr;
19449 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19450 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19451 }
19452 return resultobj;
19453 fail:
19454 return NULL;
19455}
19456
19457
19458static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
19459 PyObject *resultobj;
19460 wxTimeSpan result;
19461 char *kwnames[] = {
19462 NULL
19463 };
19464
19465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
19466 {
19467 PyThreadState* __tstate = wxPyBeginAllowThreads();
19468 result = wxTimeSpan::Week();
19469
19470 wxPyEndAllowThreads(__tstate);
19471 if (PyErr_Occurred()) SWIG_fail;
19472 }
19473 {
19474 wxTimeSpan * resultptr;
19475 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19476 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19477 }
19478 return resultobj;
19479 fail:
19480 return NULL;
19481}
19482
19483
19484static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19485 PyObject *resultobj;
19486 long arg1 = (long) 0 ;
19487 long arg2 = (long) 0 ;
19488 long arg3 = (long) 0 ;
19489 long arg4 = (long) 0 ;
19490 wxTimeSpan *result;
19491 char *kwnames[] = {
19492 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
19493 };
19494
19495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|llll:new_TimeSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
19496 {
19497 PyThreadState* __tstate = wxPyBeginAllowThreads();
19498 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
19499
19500 wxPyEndAllowThreads(__tstate);
19501 if (PyErr_Occurred()) SWIG_fail;
19502 }
19503 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 1);
19504 return resultobj;
19505 fail:
19506 return NULL;
19507}
19508
19509
19510static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
19511 PyObject *resultobj;
19512 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19513 PyObject * obj0 = 0 ;
19514 char *kwnames[] = {
19515 (char *) "self", NULL
19516 };
19517
19518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
19519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19520 {
19521 PyThreadState* __tstate = wxPyBeginAllowThreads();
19522 delete arg1;
19523
19524 wxPyEndAllowThreads(__tstate);
19525 if (PyErr_Occurred()) SWIG_fail;
19526 }
19527 Py_INCREF(Py_None); resultobj = Py_None;
19528 return resultobj;
19529 fail:
19530 return NULL;
19531}
19532
19533
19534static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
19535 PyObject *resultobj;
19536 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19537 wxTimeSpan *arg2 = 0 ;
19538 wxTimeSpan *result;
19539 PyObject * obj0 = 0 ;
19540 PyObject * obj1 = 0 ;
19541 char *kwnames[] = {
19542 (char *) "self",(char *) "diff", NULL
19543 };
19544
19545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
19546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19547 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19548 if (arg2 == NULL) {
19549 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19550 }
19551 {
19552 PyThreadState* __tstate = wxPyBeginAllowThreads();
19553 {
19554 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19555 result = (wxTimeSpan *) &_result_ref;
19556 }
19557
19558 wxPyEndAllowThreads(__tstate);
19559 if (PyErr_Occurred()) SWIG_fail;
19560 }
19561 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19562 return resultobj;
19563 fail:
19564 return NULL;
19565}
19566
19567
19568static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19569 PyObject *resultobj;
19570 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19571 wxTimeSpan *arg2 = 0 ;
19572 wxTimeSpan *result;
19573 PyObject * obj0 = 0 ;
19574 PyObject * obj1 = 0 ;
19575 char *kwnames[] = {
19576 (char *) "self",(char *) "diff", NULL
19577 };
19578
19579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
19580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19581 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19582 if (arg2 == NULL) {
19583 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19584 }
19585 {
19586 PyThreadState* __tstate = wxPyBeginAllowThreads();
19587 {
19588 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19589 result = (wxTimeSpan *) &_result_ref;
19590 }
19591
19592 wxPyEndAllowThreads(__tstate);
19593 if (PyErr_Occurred()) SWIG_fail;
19594 }
19595 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19596 return resultobj;
19597 fail:
19598 return NULL;
19599}
19600
19601
19602static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
19603 PyObject *resultobj;
19604 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19605 int arg2 ;
19606 wxTimeSpan *result;
19607 PyObject * obj0 = 0 ;
19608 char *kwnames[] = {
19609 (char *) "self",(char *) "n", NULL
19610 };
19611
19612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
19613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19614 {
19615 PyThreadState* __tstate = wxPyBeginAllowThreads();
19616 {
19617 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
19618 result = (wxTimeSpan *) &_result_ref;
19619 }
19620
19621 wxPyEndAllowThreads(__tstate);
19622 if (PyErr_Occurred()) SWIG_fail;
19623 }
19624 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19625 return resultobj;
19626 fail:
19627 return NULL;
19628}
19629
19630
19631static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
19632 PyObject *resultobj;
19633 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19634 wxTimeSpan *result;
19635 PyObject * obj0 = 0 ;
19636 char *kwnames[] = {
19637 (char *) "self", NULL
19638 };
19639
19640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
19641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19642 {
19643 PyThreadState* __tstate = wxPyBeginAllowThreads();
19644 {
19645 wxTimeSpan &_result_ref = (arg1)->Neg();
19646 result = (wxTimeSpan *) &_result_ref;
19647 }
19648
19649 wxPyEndAllowThreads(__tstate);
19650 if (PyErr_Occurred()) SWIG_fail;
19651 }
19652 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19653 return resultobj;
19654 fail:
19655 return NULL;
19656}
19657
19658
19659static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
19660 PyObject *resultobj;
19661 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19662 wxTimeSpan result;
19663 PyObject * obj0 = 0 ;
19664 char *kwnames[] = {
19665 (char *) "self", NULL
19666 };
19667
19668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
19669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19670 {
19671 PyThreadState* __tstate = wxPyBeginAllowThreads();
19672 result = ((wxTimeSpan const *)arg1)->Abs();
19673
19674 wxPyEndAllowThreads(__tstate);
19675 if (PyErr_Occurred()) SWIG_fail;
19676 }
19677 {
19678 wxTimeSpan * resultptr;
19679 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19680 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19681 }
19682 return resultobj;
19683 fail:
19684 return NULL;
19685}
19686
19687
19688static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
19689 PyObject *resultobj;
19690 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19691 wxTimeSpan *arg2 = 0 ;
19692 wxTimeSpan *result;
19693 PyObject * obj0 = 0 ;
19694 PyObject * obj1 = 0 ;
19695 char *kwnames[] = {
19696 (char *) "self",(char *) "diff", NULL
19697 };
19698
19699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
19700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19701 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19702 if (arg2 == NULL) {
19703 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19704 }
19705 {
19706 PyThreadState* __tstate = wxPyBeginAllowThreads();
19707 {
19708 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19709 result = (wxTimeSpan *) &_result_ref;
19710 }
19711
19712 wxPyEndAllowThreads(__tstate);
19713 if (PyErr_Occurred()) SWIG_fail;
19714 }
19715 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19716 return resultobj;
19717 fail:
19718 return NULL;
19719}
19720
19721
19722static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19723 PyObject *resultobj;
19724 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19725 wxTimeSpan *arg2 = 0 ;
19726 wxTimeSpan *result;
19727 PyObject * obj0 = 0 ;
19728 PyObject * obj1 = 0 ;
19729 char *kwnames[] = {
19730 (char *) "self",(char *) "diff", NULL
19731 };
19732
19733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
19734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19735 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19736 if (arg2 == NULL) {
19737 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19738 }
19739 {
19740 PyThreadState* __tstate = wxPyBeginAllowThreads();
19741 {
19742 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
19743 result = (wxTimeSpan *) &_result_ref;
19744 }
19745
19746 wxPyEndAllowThreads(__tstate);
19747 if (PyErr_Occurred()) SWIG_fail;
19748 }
19749 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19750 return resultobj;
19751 fail:
19752 return NULL;
19753}
19754
19755
19756static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19757 PyObject *resultobj;
19758 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19759 int arg2 ;
19760 wxTimeSpan *result;
19761 PyObject * obj0 = 0 ;
19762 char *kwnames[] = {
19763 (char *) "self",(char *) "n", NULL
19764 };
19765
19766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
19767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19768 {
19769 PyThreadState* __tstate = wxPyBeginAllowThreads();
19770 {
19771 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
19772 result = (wxTimeSpan *) &_result_ref;
19773 }
19774
19775 wxPyEndAllowThreads(__tstate);
19776 if (PyErr_Occurred()) SWIG_fail;
19777 }
19778 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19779 return resultobj;
19780 fail:
19781 return NULL;
19782}
19783
19784
19785static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
19786 PyObject *resultobj;
19787 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19788 wxTimeSpan *result;
19789 PyObject * obj0 = 0 ;
19790 char *kwnames[] = {
19791 (char *) "self", NULL
19792 };
19793
19794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
19795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19796 {
19797 PyThreadState* __tstate = wxPyBeginAllowThreads();
19798 {
19799 wxTimeSpan &_result_ref = (arg1)->operator -();
19800 result = (wxTimeSpan *) &_result_ref;
19801 }
19802
19803 wxPyEndAllowThreads(__tstate);
19804 if (PyErr_Occurred()) SWIG_fail;
19805 }
19806 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
19807 return resultobj;
19808 fail:
19809 return NULL;
19810}
19811
19812
19813static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
19814 PyObject *resultobj;
19815 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19816 wxTimeSpan *arg2 = 0 ;
19817 wxTimeSpan result;
19818 PyObject * obj0 = 0 ;
19819 PyObject * obj1 = 0 ;
19820 char *kwnames[] = {
19821 (char *) "self",(char *) "other", NULL
19822 };
19823
19824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
19825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19826 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19827 if (arg2 == NULL) {
19828 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19829 }
19830 {
19831 PyThreadState* __tstate = wxPyBeginAllowThreads();
19832 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
19833
19834 wxPyEndAllowThreads(__tstate);
19835 if (PyErr_Occurred()) SWIG_fail;
19836 }
19837 {
19838 wxTimeSpan * resultptr;
19839 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19840 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19841 }
19842 return resultobj;
19843 fail:
19844 return NULL;
19845}
19846
19847
19848static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
19849 PyObject *resultobj;
19850 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19851 wxTimeSpan *arg2 = 0 ;
19852 wxTimeSpan result;
19853 PyObject * obj0 = 0 ;
19854 PyObject * obj1 = 0 ;
19855 char *kwnames[] = {
19856 (char *) "self",(char *) "other", NULL
19857 };
19858
19859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
19860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19861 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19862 if (arg2 == NULL) {
19863 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19864 }
19865 {
19866 PyThreadState* __tstate = wxPyBeginAllowThreads();
19867 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
19868
19869 wxPyEndAllowThreads(__tstate);
19870 if (PyErr_Occurred()) SWIG_fail;
19871 }
19872 {
19873 wxTimeSpan * resultptr;
19874 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19875 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19876 }
19877 return resultobj;
19878 fail:
19879 return NULL;
19880}
19881
19882
19883static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19884 PyObject *resultobj;
19885 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19886 int arg2 ;
19887 wxTimeSpan result;
19888 PyObject * obj0 = 0 ;
19889 char *kwnames[] = {
19890 (char *) "self",(char *) "n", NULL
19891 };
19892
19893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
19894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19895 {
19896 PyThreadState* __tstate = wxPyBeginAllowThreads();
19897 result = wxTimeSpan___mul__(arg1,arg2);
19898
19899 wxPyEndAllowThreads(__tstate);
19900 if (PyErr_Occurred()) SWIG_fail;
19901 }
19902 {
19903 wxTimeSpan * resultptr;
19904 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19905 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19906 }
19907 return resultobj;
19908 fail:
19909 return NULL;
19910}
19911
19912
19913static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
19914 PyObject *resultobj;
19915 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19916 int arg2 ;
19917 wxTimeSpan result;
19918 PyObject * obj0 = 0 ;
19919 char *kwnames[] = {
19920 (char *) "self",(char *) "n", NULL
19921 };
19922
19923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TimeSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
19924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19925 {
19926 PyThreadState* __tstate = wxPyBeginAllowThreads();
19927 result = wxTimeSpan___rmul__(arg1,arg2);
19928
19929 wxPyEndAllowThreads(__tstate);
19930 if (PyErr_Occurred()) SWIG_fail;
19931 }
19932 {
19933 wxTimeSpan * resultptr;
19934 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19935 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19936 }
19937 return resultobj;
19938 fail:
19939 return NULL;
19940}
19941
19942
19943static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
19944 PyObject *resultobj;
19945 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19946 wxTimeSpan *arg2 = 0 ;
19947 bool result;
19948 PyObject * obj0 = 0 ;
19949 PyObject * obj1 = 0 ;
19950 char *kwnames[] = {
19951 (char *) "self",(char *) "other", NULL
19952 };
19953
19954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
19955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19956 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19957 if (arg2 == NULL) {
19958 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19959 }
19960 {
19961 PyThreadState* __tstate = wxPyBeginAllowThreads();
19962 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const &)*arg2);
19963
19964 wxPyEndAllowThreads(__tstate);
19965 if (PyErr_Occurred()) SWIG_fail;
19966 }
19967 resultobj = PyInt_FromLong((long)result);
19968 return resultobj;
19969 fail:
19970 return NULL;
19971}
19972
19973
19974static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
19975 PyObject *resultobj;
19976 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
19977 wxTimeSpan *arg2 = 0 ;
19978 bool result;
19979 PyObject * obj0 = 0 ;
19980 PyObject * obj1 = 0 ;
19981 char *kwnames[] = {
19982 (char *) "self",(char *) "other", NULL
19983 };
19984
19985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
19986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19987 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19988 if (arg2 == NULL) {
19989 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19990 }
19991 {
19992 PyThreadState* __tstate = wxPyBeginAllowThreads();
19993 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const &)*arg2);
19994
19995 wxPyEndAllowThreads(__tstate);
19996 if (PyErr_Occurred()) SWIG_fail;
19997 }
19998 resultobj = PyInt_FromLong((long)result);
19999 return resultobj;
20000 fail:
20001 return NULL;
20002}
20003
20004
20005static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
20006 PyObject *resultobj;
20007 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20008 wxTimeSpan *arg2 = 0 ;
20009 bool result;
20010 PyObject * obj0 = 0 ;
20011 PyObject * obj1 = 0 ;
20012 char *kwnames[] = {
20013 (char *) "self",(char *) "other", NULL
20014 };
20015
20016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
20017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20018 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20019 if (arg2 == NULL) {
20020 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20021 }
20022 {
20023 PyThreadState* __tstate = wxPyBeginAllowThreads();
20024 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const &)*arg2);
20025
20026 wxPyEndAllowThreads(__tstate);
20027 if (PyErr_Occurred()) SWIG_fail;
20028 }
20029 resultobj = PyInt_FromLong((long)result);
20030 return resultobj;
20031 fail:
20032 return NULL;
20033}
20034
20035
20036static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
20037 PyObject *resultobj;
20038 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20039 wxTimeSpan *arg2 = 0 ;
20040 bool result;
20041 PyObject * obj0 = 0 ;
20042 PyObject * obj1 = 0 ;
20043 char *kwnames[] = {
20044 (char *) "self",(char *) "other", NULL
20045 };
20046
20047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
20048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20049 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20050 if (arg2 == NULL) {
20051 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20052 }
20053 {
20054 PyThreadState* __tstate = wxPyBeginAllowThreads();
20055 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const &)*arg2);
20056
20057 wxPyEndAllowThreads(__tstate);
20058 if (PyErr_Occurred()) SWIG_fail;
20059 }
20060 resultobj = PyInt_FromLong((long)result);
20061 return resultobj;
20062 fail:
20063 return NULL;
20064}
20065
20066
20067static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
20068 PyObject *resultobj;
20069 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20070 wxTimeSpan *arg2 = 0 ;
20071 bool result;
20072 PyObject * obj0 = 0 ;
20073 PyObject * obj1 = 0 ;
20074 char *kwnames[] = {
20075 (char *) "self",(char *) "other", NULL
20076 };
20077
20078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
20079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20080 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20081 if (arg2 == NULL) {
20082 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20083 }
20084 {
20085 PyThreadState* __tstate = wxPyBeginAllowThreads();
20086 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const &)*arg2);
20087
20088 wxPyEndAllowThreads(__tstate);
20089 if (PyErr_Occurred()) SWIG_fail;
20090 }
20091 resultobj = PyInt_FromLong((long)result);
20092 return resultobj;
20093 fail:
20094 return NULL;
20095}
20096
20097
20098static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
20099 PyObject *resultobj;
20100 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20101 wxTimeSpan *arg2 = 0 ;
20102 bool result;
20103 PyObject * obj0 = 0 ;
20104 PyObject * obj1 = 0 ;
20105 char *kwnames[] = {
20106 (char *) "self",(char *) "other", NULL
20107 };
20108
20109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
20110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20111 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20112 if (arg2 == NULL) {
20113 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20114 }
20115 {
20116 PyThreadState* __tstate = wxPyBeginAllowThreads();
20117 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const &)*arg2);
20118
20119 wxPyEndAllowThreads(__tstate);
20120 if (PyErr_Occurred()) SWIG_fail;
20121 }
20122 resultobj = PyInt_FromLong((long)result);
20123 return resultobj;
20124 fail:
20125 return NULL;
20126}
20127
20128
20129static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
20130 PyObject *resultobj;
20131 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20132 bool result;
20133 PyObject * obj0 = 0 ;
20134 char *kwnames[] = {
20135 (char *) "self", NULL
20136 };
20137
20138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
20139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20140 {
20141 PyThreadState* __tstate = wxPyBeginAllowThreads();
20142 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
20143
20144 wxPyEndAllowThreads(__tstate);
20145 if (PyErr_Occurred()) SWIG_fail;
20146 }
20147 resultobj = PyInt_FromLong((long)result);
20148 return resultobj;
20149 fail:
20150 return NULL;
20151}
20152
20153
20154static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
20155 PyObject *resultobj;
20156 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20157 bool result;
20158 PyObject * obj0 = 0 ;
20159 char *kwnames[] = {
20160 (char *) "self", NULL
20161 };
20162
20163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
20164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20165 {
20166 PyThreadState* __tstate = wxPyBeginAllowThreads();
20167 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
20168
20169 wxPyEndAllowThreads(__tstate);
20170 if (PyErr_Occurred()) SWIG_fail;
20171 }
20172 resultobj = PyInt_FromLong((long)result);
20173 return resultobj;
20174 fail:
20175 return NULL;
20176}
20177
20178
20179static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
20180 PyObject *resultobj;
20181 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20182 bool result;
20183 PyObject * obj0 = 0 ;
20184 char *kwnames[] = {
20185 (char *) "self", NULL
20186 };
20187
20188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
20189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20190 {
20191 PyThreadState* __tstate = wxPyBeginAllowThreads();
20192 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
20193
20194 wxPyEndAllowThreads(__tstate);
20195 if (PyErr_Occurred()) SWIG_fail;
20196 }
20197 resultobj = PyInt_FromLong((long)result);
20198 return resultobj;
20199 fail:
20200 return NULL;
20201}
20202
20203
20204static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20205 PyObject *resultobj;
20206 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20207 wxTimeSpan *arg2 = 0 ;
20208 bool result;
20209 PyObject * obj0 = 0 ;
20210 PyObject * obj1 = 0 ;
20211 char *kwnames[] = {
20212 (char *) "self",(char *) "ts", NULL
20213 };
20214
20215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
20216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20217 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20218 if (arg2 == NULL) {
20219 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20220 }
20221 {
20222 PyThreadState* __tstate = wxPyBeginAllowThreads();
20223 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
20224
20225 wxPyEndAllowThreads(__tstate);
20226 if (PyErr_Occurred()) SWIG_fail;
20227 }
20228 resultobj = PyInt_FromLong((long)result);
20229 return resultobj;
20230 fail:
20231 return NULL;
20232}
20233
20234
20235static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20236 PyObject *resultobj;
20237 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20238 wxTimeSpan *arg2 = 0 ;
20239 bool result;
20240 PyObject * obj0 = 0 ;
20241 PyObject * obj1 = 0 ;
20242 char *kwnames[] = {
20243 (char *) "self",(char *) "ts", NULL
20244 };
20245
20246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
20247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20248 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20249 if (arg2 == NULL) {
20250 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20251 }
20252 {
20253 PyThreadState* __tstate = wxPyBeginAllowThreads();
20254 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
20255
20256 wxPyEndAllowThreads(__tstate);
20257 if (PyErr_Occurred()) SWIG_fail;
20258 }
20259 resultobj = PyInt_FromLong((long)result);
20260 return resultobj;
20261 fail:
20262 return NULL;
20263}
20264
20265
20266static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
20267 PyObject *resultobj;
20268 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20269 wxTimeSpan *arg2 = 0 ;
20270 bool result;
20271 PyObject * obj0 = 0 ;
20272 PyObject * obj1 = 0 ;
20273 char *kwnames[] = {
20274 (char *) "self",(char *) "t", NULL
20275 };
20276
20277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
20278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20279 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20280 if (arg2 == NULL) {
20281 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20282 }
20283 {
20284 PyThreadState* __tstate = wxPyBeginAllowThreads();
20285 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
20286
20287 wxPyEndAllowThreads(__tstate);
20288 if (PyErr_Occurred()) SWIG_fail;
20289 }
20290 resultobj = PyInt_FromLong((long)result);
20291 return resultobj;
20292 fail:
20293 return NULL;
20294}
20295
20296
20297static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20298 PyObject *resultobj;
20299 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20300 int result;
20301 PyObject * obj0 = 0 ;
20302 char *kwnames[] = {
20303 (char *) "self", NULL
20304 };
20305
20306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
20307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20308 {
20309 PyThreadState* __tstate = wxPyBeginAllowThreads();
20310 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
20311
20312 wxPyEndAllowThreads(__tstate);
20313 if (PyErr_Occurred()) SWIG_fail;
20314 }
20315 resultobj = PyInt_FromLong((long)result);
20316 return resultobj;
20317 fail:
20318 return NULL;
20319}
20320
20321
20322static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20323 PyObject *resultobj;
20324 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20325 int result;
20326 PyObject * obj0 = 0 ;
20327 char *kwnames[] = {
20328 (char *) "self", NULL
20329 };
20330
20331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
20332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20333 {
20334 PyThreadState* __tstate = wxPyBeginAllowThreads();
20335 result = (int)((wxTimeSpan const *)arg1)->GetDays();
20336
20337 wxPyEndAllowThreads(__tstate);
20338 if (PyErr_Occurred()) SWIG_fail;
20339 }
20340 resultobj = PyInt_FromLong((long)result);
20341 return resultobj;
20342 fail:
20343 return NULL;
20344}
20345
20346
20347static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
20348 PyObject *resultobj;
20349 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20350 int result;
20351 PyObject * obj0 = 0 ;
20352 char *kwnames[] = {
20353 (char *) "self", NULL
20354 };
20355
20356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
20357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20358 {
20359 PyThreadState* __tstate = wxPyBeginAllowThreads();
20360 result = (int)((wxTimeSpan const *)arg1)->GetHours();
20361
20362 wxPyEndAllowThreads(__tstate);
20363 if (PyErr_Occurred()) SWIG_fail;
20364 }
20365 resultobj = PyInt_FromLong((long)result);
20366 return resultobj;
20367 fail:
20368 return NULL;
20369}
20370
20371
20372static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
20373 PyObject *resultobj;
20374 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20375 int result;
20376 PyObject * obj0 = 0 ;
20377 char *kwnames[] = {
20378 (char *) "self", NULL
20379 };
20380
20381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
20382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20383 {
20384 PyThreadState* __tstate = wxPyBeginAllowThreads();
20385 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
20386
20387 wxPyEndAllowThreads(__tstate);
20388 if (PyErr_Occurred()) SWIG_fail;
20389 }
20390 resultobj = PyInt_FromLong((long)result);
20391 return resultobj;
20392 fail:
20393 return NULL;
20394}
20395
20396
20397static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20398 PyObject *resultobj;
20399 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20400 wxLongLong result;
20401 PyObject * obj0 = 0 ;
20402 char *kwnames[] = {
20403 (char *) "self", NULL
20404 };
20405
20406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
20407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20408 {
20409 PyThreadState* __tstate = wxPyBeginAllowThreads();
20410 result = ((wxTimeSpan const *)arg1)->GetSeconds();
20411
20412 wxPyEndAllowThreads(__tstate);
20413 if (PyErr_Occurred()) SWIG_fail;
20414 }
20415 {
20416 PyObject *hi, *lo, *shifter, *shifted;
20417 hi = PyLong_FromLong( (&result)->GetHi() );
20418 lo = PyLong_FromLong( (&result)->GetLo() );
20419 shifter = PyLong_FromLong(32);
20420 shifted = PyNumber_Lshift(hi, shifter);
20421 resultobj = PyNumber_Or(shifted, lo);
20422 Py_DECREF(hi);
20423 Py_DECREF(lo);
20424 Py_DECREF(shifter);
20425 Py_DECREF(shifted);
20426 }
20427 return resultobj;
20428 fail:
20429 return NULL;
20430}
20431
20432
20433static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20434 PyObject *resultobj;
20435 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20436 wxLongLong result;
20437 PyObject * obj0 = 0 ;
20438 char *kwnames[] = {
20439 (char *) "self", NULL
20440 };
20441
20442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
20443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20444 {
20445 PyThreadState* __tstate = wxPyBeginAllowThreads();
20446 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
20447
20448 wxPyEndAllowThreads(__tstate);
20449 if (PyErr_Occurred()) SWIG_fail;
20450 }
20451 {
20452 PyObject *hi, *lo, *shifter, *shifted;
20453 hi = PyLong_FromLong( (&result)->GetHi() );
20454 lo = PyLong_FromLong( (&result)->GetLo() );
20455 shifter = PyLong_FromLong(32);
20456 shifted = PyNumber_Lshift(hi, shifter);
20457 resultobj = PyNumber_Or(shifted, lo);
20458 Py_DECREF(hi);
20459 Py_DECREF(lo);
20460 Py_DECREF(shifter);
20461 Py_DECREF(shifted);
20462 }
20463 return resultobj;
20464 fail:
20465 return NULL;
20466}
20467
20468
20469static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
20470 PyObject *resultobj;
20471 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20472 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
20473 wxString *arg2 = (wxString *) &arg2_defvalue ;
20474 wxString result;
423f194a 20475 bool temp2 = False ;
d14a1e28
RD
20476 PyObject * obj0 = 0 ;
20477 PyObject * obj1 = 0 ;
20478 char *kwnames[] = {
20479 (char *) "self",(char *) "format", NULL
20480 };
20481
20482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
20483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20484 if (obj1) {
20485 {
20486 arg2 = wxString_in_helper(obj1);
20487 if (arg2 == NULL) SWIG_fail;
423f194a 20488 temp2 = True;
d14a1e28
RD
20489 }
20490 }
20491 {
20492 PyThreadState* __tstate = wxPyBeginAllowThreads();
20493 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
20494
20495 wxPyEndAllowThreads(__tstate);
20496 if (PyErr_Occurred()) SWIG_fail;
20497 }
20498 {
20499#if wxUSE_UNICODE
20500 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20501#else
20502 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20503#endif
20504 }
20505 {
20506 if (temp2)
20507 delete arg2;
20508 }
20509 return resultobj;
20510 fail:
20511 {
20512 if (temp2)
20513 delete arg2;
20514 }
20515 return NULL;
20516}
20517
20518
20519static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
20520 PyObject *obj;
20521 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20522 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
20523 Py_INCREF(obj);
20524 return Py_BuildValue((char *)"");
20525}
20526static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20527 PyObject *resultobj;
20528 int arg1 = (int) 0 ;
20529 int arg2 = (int) 0 ;
20530 int arg3 = (int) 0 ;
20531 int arg4 = (int) 0 ;
20532 wxDateSpan *result;
20533 char *kwnames[] = {
20534 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
20535 };
20536
20537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_DateSpan",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
20538 {
20539 PyThreadState* __tstate = wxPyBeginAllowThreads();
20540 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
20541
20542 wxPyEndAllowThreads(__tstate);
20543 if (PyErr_Occurred()) SWIG_fail;
20544 }
20545 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 1);
20546 return resultobj;
20547 fail:
20548 return NULL;
20549}
20550
20551
20552static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20553 PyObject *resultobj;
20554 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20555 PyObject * obj0 = 0 ;
20556 char *kwnames[] = {
20557 (char *) "self", NULL
20558 };
20559
20560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
20561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20562 {
20563 PyThreadState* __tstate = wxPyBeginAllowThreads();
20564 delete arg1;
20565
20566 wxPyEndAllowThreads(__tstate);
20567 if (PyErr_Occurred()) SWIG_fail;
20568 }
20569 Py_INCREF(Py_None); resultobj = Py_None;
20570 return resultobj;
20571 fail:
20572 return NULL;
20573}
20574
20575
20576static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
20577 PyObject *resultobj;
20578 int arg1 ;
20579 wxDateSpan result;
20580 char *kwnames[] = {
20581 (char *) "days", NULL
20582 };
20583
20584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Days",kwnames,&arg1)) goto fail;
20585 {
20586 PyThreadState* __tstate = wxPyBeginAllowThreads();
20587 result = wxDateSpan::Days(arg1);
20588
20589 wxPyEndAllowThreads(__tstate);
20590 if (PyErr_Occurred()) SWIG_fail;
20591 }
20592 {
20593 wxDateSpan * resultptr;
20594 resultptr = new wxDateSpan((wxDateSpan &) result);
20595 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20596 }
20597 return resultobj;
20598 fail:
20599 return NULL;
20600}
20601
20602
20603static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
20604 PyObject *resultobj;
20605 wxDateSpan result;
20606 char *kwnames[] = {
20607 NULL
20608 };
20609
20610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
20611 {
20612 PyThreadState* __tstate = wxPyBeginAllowThreads();
20613 result = wxDateSpan::Day();
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_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20630 PyObject *resultobj;
20631 int arg1 ;
20632 wxDateSpan result;
20633 char *kwnames[] = {
20634 (char *) "weeks", NULL
20635 };
20636
20637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Weeks",kwnames,&arg1)) goto fail;
20638 {
20639 PyThreadState* __tstate = wxPyBeginAllowThreads();
20640 result = wxDateSpan::Weeks(arg1);
20641
20642 wxPyEndAllowThreads(__tstate);
20643 if (PyErr_Occurred()) SWIG_fail;
20644 }
20645 {
20646 wxDateSpan * resultptr;
20647 resultptr = new wxDateSpan((wxDateSpan &) result);
20648 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20649 }
20650 return resultobj;
20651 fail:
20652 return NULL;
20653}
20654
20655
20656static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
20657 PyObject *resultobj;
20658 wxDateSpan result;
20659 char *kwnames[] = {
20660 NULL
20661 };
20662
20663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
20664 {
20665 PyThreadState* __tstate = wxPyBeginAllowThreads();
20666 result = wxDateSpan::Week();
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_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
20683 PyObject *resultobj;
20684 int arg1 ;
20685 wxDateSpan result;
20686 char *kwnames[] = {
20687 (char *) "mon", NULL
20688 };
20689
20690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Months",kwnames,&arg1)) goto fail;
20691 {
20692 PyThreadState* __tstate = wxPyBeginAllowThreads();
20693 result = wxDateSpan::Months(arg1);
20694
20695 wxPyEndAllowThreads(__tstate);
20696 if (PyErr_Occurred()) SWIG_fail;
20697 }
20698 {
20699 wxDateSpan * resultptr;
20700 resultptr = new wxDateSpan((wxDateSpan &) result);
20701 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20702 }
20703 return resultobj;
20704 fail:
20705 return NULL;
20706}
20707
20708
20709static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
20710 PyObject *resultobj;
20711 wxDateSpan result;
20712 char *kwnames[] = {
20713 NULL
20714 };
20715
20716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
20717 {
20718 PyThreadState* __tstate = wxPyBeginAllowThreads();
20719 result = wxDateSpan::Month();
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_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
20736 PyObject *resultobj;
20737 int arg1 ;
20738 wxDateSpan result;
20739 char *kwnames[] = {
20740 (char *) "years", NULL
20741 };
20742
20743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:DateSpan_Years",kwnames,&arg1)) goto fail;
20744 {
20745 PyThreadState* __tstate = wxPyBeginAllowThreads();
20746 result = wxDateSpan::Years(arg1);
20747
20748 wxPyEndAllowThreads(__tstate);
20749 if (PyErr_Occurred()) SWIG_fail;
20750 }
20751 {
20752 wxDateSpan * resultptr;
20753 resultptr = new wxDateSpan((wxDateSpan &) result);
20754 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20755 }
20756 return resultobj;
20757 fail:
20758 return NULL;
20759}
20760
20761
20762static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
20763 PyObject *resultobj;
20764 wxDateSpan result;
20765 char *kwnames[] = {
20766 NULL
20767 };
20768
20769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
20770 {
20771 PyThreadState* __tstate = wxPyBeginAllowThreads();
20772 result = wxDateSpan::Year();
20773
20774 wxPyEndAllowThreads(__tstate);
20775 if (PyErr_Occurred()) SWIG_fail;
20776 }
20777 {
20778 wxDateSpan * resultptr;
20779 resultptr = new wxDateSpan((wxDateSpan &) result);
20780 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
20781 }
20782 return resultobj;
20783 fail:
20784 return NULL;
20785}
20786
20787
20788static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20789 PyObject *resultobj;
20790 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20791 int arg2 ;
20792 wxDateSpan *result;
20793 PyObject * obj0 = 0 ;
20794 char *kwnames[] = {
20795 (char *) "self",(char *) "n", NULL
20796 };
20797
20798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetYears",kwnames,&obj0,&arg2)) goto fail;
20799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20800 {
20801 PyThreadState* __tstate = wxPyBeginAllowThreads();
20802 {
20803 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
20804 result = (wxDateSpan *) &_result_ref;
20805 }
20806
20807 wxPyEndAllowThreads(__tstate);
20808 if (PyErr_Occurred()) SWIG_fail;
20809 }
20810 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20811 return resultobj;
20812 fail:
20813 return NULL;
20814}
20815
20816
20817static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20818 PyObject *resultobj;
20819 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20820 int arg2 ;
20821 wxDateSpan *result;
20822 PyObject * obj0 = 0 ;
20823 char *kwnames[] = {
20824 (char *) "self",(char *) "n", NULL
20825 };
20826
20827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetMonths",kwnames,&obj0,&arg2)) goto fail;
20828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20829 {
20830 PyThreadState* __tstate = wxPyBeginAllowThreads();
20831 {
20832 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
20833 result = (wxDateSpan *) &_result_ref;
20834 }
20835
20836 wxPyEndAllowThreads(__tstate);
20837 if (PyErr_Occurred()) SWIG_fail;
20838 }
20839 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20840 return resultobj;
20841 fail:
20842 return NULL;
20843}
20844
20845
20846static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20847 PyObject *resultobj;
20848 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20849 int arg2 ;
20850 wxDateSpan *result;
20851 PyObject * obj0 = 0 ;
20852 char *kwnames[] = {
20853 (char *) "self",(char *) "n", NULL
20854 };
20855
20856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetWeeks",kwnames,&obj0,&arg2)) goto fail;
20857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20858 {
20859 PyThreadState* __tstate = wxPyBeginAllowThreads();
20860 {
20861 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
20862 result = (wxDateSpan *) &_result_ref;
20863 }
20864
20865 wxPyEndAllowThreads(__tstate);
20866 if (PyErr_Occurred()) SWIG_fail;
20867 }
20868 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20869 return resultobj;
20870 fail:
20871 return NULL;
20872}
20873
20874
20875static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20876 PyObject *resultobj;
20877 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20878 int arg2 ;
20879 wxDateSpan *result;
20880 PyObject * obj0 = 0 ;
20881 char *kwnames[] = {
20882 (char *) "self",(char *) "n", NULL
20883 };
20884
20885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_SetDays",kwnames,&obj0,&arg2)) goto fail;
20886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20887 {
20888 PyThreadState* __tstate = wxPyBeginAllowThreads();
20889 {
20890 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
20891 result = (wxDateSpan *) &_result_ref;
20892 }
20893
20894 wxPyEndAllowThreads(__tstate);
20895 if (PyErr_Occurred()) SWIG_fail;
20896 }
20897 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
20898 return resultobj;
20899 fail:
20900 return NULL;
20901}
20902
20903
20904static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
20905 PyObject *resultobj;
20906 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20907 int result;
20908 PyObject * obj0 = 0 ;
20909 char *kwnames[] = {
20910 (char *) "self", NULL
20911 };
20912
20913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
20914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20915 {
20916 PyThreadState* __tstate = wxPyBeginAllowThreads();
20917 result = (int)((wxDateSpan const *)arg1)->GetYears();
20918
20919 wxPyEndAllowThreads(__tstate);
20920 if (PyErr_Occurred()) SWIG_fail;
20921 }
20922 resultobj = PyInt_FromLong((long)result);
20923 return resultobj;
20924 fail:
20925 return NULL;
20926}
20927
20928
20929static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
20930 PyObject *resultobj;
20931 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20932 int result;
20933 PyObject * obj0 = 0 ;
20934 char *kwnames[] = {
20935 (char *) "self", NULL
20936 };
20937
20938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
20939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20940 {
20941 PyThreadState* __tstate = wxPyBeginAllowThreads();
20942 result = (int)((wxDateSpan const *)arg1)->GetMonths();
20943
20944 wxPyEndAllowThreads(__tstate);
20945 if (PyErr_Occurred()) SWIG_fail;
20946 }
20947 resultobj = PyInt_FromLong((long)result);
20948 return resultobj;
20949 fail:
20950 return NULL;
20951}
20952
20953
20954static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20955 PyObject *resultobj;
20956 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20957 int result;
20958 PyObject * obj0 = 0 ;
20959 char *kwnames[] = {
20960 (char *) "self", NULL
20961 };
20962
20963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
20964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20965 {
20966 PyThreadState* __tstate = wxPyBeginAllowThreads();
20967 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
20968
20969 wxPyEndAllowThreads(__tstate);
20970 if (PyErr_Occurred()) SWIG_fail;
20971 }
20972 resultobj = PyInt_FromLong((long)result);
20973 return resultobj;
20974 fail:
20975 return NULL;
20976}
20977
20978
20979static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
20980 PyObject *resultobj;
20981 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
20982 int result;
20983 PyObject * obj0 = 0 ;
20984 char *kwnames[] = {
20985 (char *) "self", NULL
20986 };
20987
20988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
20989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20990 {
20991 PyThreadState* __tstate = wxPyBeginAllowThreads();
20992 result = (int)((wxDateSpan const *)arg1)->GetDays();
20993
20994 wxPyEndAllowThreads(__tstate);
20995 if (PyErr_Occurred()) SWIG_fail;
20996 }
20997 resultobj = PyInt_FromLong((long)result);
20998 return resultobj;
20999 fail:
21000 return NULL;
21001}
21002
21003
21004static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
21005 PyObject *resultobj;
21006 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21007 int result;
21008 PyObject * obj0 = 0 ;
21009 char *kwnames[] = {
21010 (char *) "self", NULL
21011 };
21012
21013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
21014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21015 {
21016 PyThreadState* __tstate = wxPyBeginAllowThreads();
21017 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
21018
21019 wxPyEndAllowThreads(__tstate);
21020 if (PyErr_Occurred()) SWIG_fail;
21021 }
21022 resultobj = PyInt_FromLong((long)result);
21023 return resultobj;
21024 fail:
21025 return NULL;
21026}
21027
21028
21029static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
21030 PyObject *resultobj;
21031 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21032 wxDateSpan *arg2 = 0 ;
21033 wxDateSpan *result;
21034 PyObject * obj0 = 0 ;
21035 PyObject * obj1 = 0 ;
21036 char *kwnames[] = {
21037 (char *) "self",(char *) "other", NULL
21038 };
21039
21040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
21041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21042 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21043 if (arg2 == NULL) {
21044 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21045 }
21046 {
21047 PyThreadState* __tstate = wxPyBeginAllowThreads();
21048 {
21049 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
21050 result = (wxDateSpan *) &_result_ref;
21051 }
21052
21053 wxPyEndAllowThreads(__tstate);
21054 if (PyErr_Occurred()) SWIG_fail;
21055 }
21056 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21057 return resultobj;
21058 fail:
21059 return NULL;
21060}
21061
21062
21063static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
21064 PyObject *resultobj;
21065 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21066 wxDateSpan *arg2 = 0 ;
21067 wxDateSpan *result;
21068 PyObject * obj0 = 0 ;
21069 PyObject * obj1 = 0 ;
21070 char *kwnames[] = {
21071 (char *) "self",(char *) "other", NULL
21072 };
21073
21074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
21075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21076 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21077 if (arg2 == NULL) {
21078 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21079 }
21080 {
21081 PyThreadState* __tstate = wxPyBeginAllowThreads();
21082 {
21083 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
21084 result = (wxDateSpan *) &_result_ref;
21085 }
21086
21087 wxPyEndAllowThreads(__tstate);
21088 if (PyErr_Occurred()) SWIG_fail;
21089 }
21090 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21091 return resultobj;
21092 fail:
21093 return NULL;
21094}
21095
21096
21097static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
21098 PyObject *resultobj;
21099 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21100 wxDateSpan *result;
21101 PyObject * obj0 = 0 ;
21102 char *kwnames[] = {
21103 (char *) "self", NULL
21104 };
21105
21106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
21107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21108 {
21109 PyThreadState* __tstate = wxPyBeginAllowThreads();
21110 {
21111 wxDateSpan &_result_ref = (arg1)->Neg();
21112 result = (wxDateSpan *) &_result_ref;
21113 }
21114
21115 wxPyEndAllowThreads(__tstate);
21116 if (PyErr_Occurred()) SWIG_fail;
21117 }
21118 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21119 return resultobj;
21120 fail:
21121 return NULL;
21122}
21123
21124
21125static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
21126 PyObject *resultobj;
21127 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21128 int arg2 ;
21129 wxDateSpan *result;
21130 PyObject * obj0 = 0 ;
21131 char *kwnames[] = {
21132 (char *) "self",(char *) "factor", NULL
21133 };
21134
21135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan_Multiply",kwnames,&obj0,&arg2)) goto fail;
21136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21137 {
21138 PyThreadState* __tstate = wxPyBeginAllowThreads();
21139 {
21140 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
21141 result = (wxDateSpan *) &_result_ref;
21142 }
21143
21144 wxPyEndAllowThreads(__tstate);
21145 if (PyErr_Occurred()) SWIG_fail;
21146 }
21147 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21148 return resultobj;
21149 fail:
21150 return NULL;
21151}
21152
21153
21154static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21155 PyObject *resultobj;
21156 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21157 wxDateSpan *arg2 = 0 ;
21158 wxDateSpan *result;
21159 PyObject * obj0 = 0 ;
21160 PyObject * obj1 = 0 ;
21161 char *kwnames[] = {
21162 (char *) "self",(char *) "other", NULL
21163 };
21164
21165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21167 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21168 if (arg2 == NULL) {
21169 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21170 }
21171 {
21172 PyThreadState* __tstate = wxPyBeginAllowThreads();
21173 {
21174 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
21175 result = (wxDateSpan *) &_result_ref;
21176 }
21177
21178 wxPyEndAllowThreads(__tstate);
21179 if (PyErr_Occurred()) SWIG_fail;
21180 }
21181 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21182 return resultobj;
21183 fail:
21184 return NULL;
21185}
21186
21187
21188static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21189 PyObject *resultobj;
21190 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21191 wxDateSpan *arg2 = 0 ;
21192 wxDateSpan *result;
21193 PyObject * obj0 = 0 ;
21194 PyObject * obj1 = 0 ;
21195 char *kwnames[] = {
21196 (char *) "self",(char *) "other", NULL
21197 };
21198
21199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21201 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21202 if (arg2 == NULL) {
21203 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21204 }
21205 {
21206 PyThreadState* __tstate = wxPyBeginAllowThreads();
21207 {
21208 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
21209 result = (wxDateSpan *) &_result_ref;
21210 }
21211
21212 wxPyEndAllowThreads(__tstate);
21213 if (PyErr_Occurred()) SWIG_fail;
21214 }
21215 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21216 return resultobj;
21217 fail:
21218 return NULL;
21219}
21220
21221
21222static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21223 PyObject *resultobj;
21224 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21225 wxDateSpan *result;
21226 PyObject * obj0 = 0 ;
21227 char *kwnames[] = {
21228 (char *) "self", NULL
21229 };
21230
21231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
21232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21233 {
21234 PyThreadState* __tstate = wxPyBeginAllowThreads();
21235 {
21236 wxDateSpan &_result_ref = (arg1)->operator -();
21237 result = (wxDateSpan *) &_result_ref;
21238 }
21239
21240 wxPyEndAllowThreads(__tstate);
21241 if (PyErr_Occurred()) SWIG_fail;
21242 }
21243 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21244 return resultobj;
21245 fail:
21246 return NULL;
21247}
21248
21249
21250static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21251 PyObject *resultobj;
21252 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21253 int arg2 ;
21254 wxDateSpan *result;
21255 PyObject * obj0 = 0 ;
21256 char *kwnames[] = {
21257 (char *) "self",(char *) "factor", NULL
21258 };
21259
21260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___imul__",kwnames,&obj0,&arg2)) goto fail;
21261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21262 {
21263 PyThreadState* __tstate = wxPyBeginAllowThreads();
21264 {
21265 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
21266 result = (wxDateSpan *) &_result_ref;
21267 }
21268
21269 wxPyEndAllowThreads(__tstate);
21270 if (PyErr_Occurred()) SWIG_fail;
21271 }
21272 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
21273 return resultobj;
21274 fail:
21275 return NULL;
21276}
21277
21278
21279static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21280 PyObject *resultobj;
21281 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21282 wxDateSpan *arg2 = 0 ;
21283 wxDateSpan result;
21284 PyObject * obj0 = 0 ;
21285 PyObject * obj1 = 0 ;
21286 char *kwnames[] = {
21287 (char *) "self",(char *) "other", NULL
21288 };
21289
21290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21292 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21293 if (arg2 == NULL) {
21294 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21295 }
21296 {
21297 PyThreadState* __tstate = wxPyBeginAllowThreads();
21298 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
21299
21300 wxPyEndAllowThreads(__tstate);
21301 if (PyErr_Occurred()) SWIG_fail;
21302 }
21303 {
21304 wxDateSpan * resultptr;
21305 resultptr = new wxDateSpan((wxDateSpan &) result);
21306 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21307 }
21308 return resultobj;
21309 fail:
21310 return NULL;
21311}
21312
21313
21314static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21315 PyObject *resultobj;
21316 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21317 wxDateSpan *arg2 = 0 ;
21318 wxDateSpan result;
21319 PyObject * obj0 = 0 ;
21320 PyObject * obj1 = 0 ;
21321 char *kwnames[] = {
21322 (char *) "self",(char *) "other", NULL
21323 };
21324
21325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21327 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21328 if (arg2 == NULL) {
21329 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21330 }
21331 {
21332 PyThreadState* __tstate = wxPyBeginAllowThreads();
21333 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
21334
21335 wxPyEndAllowThreads(__tstate);
21336 if (PyErr_Occurred()) SWIG_fail;
21337 }
21338 {
21339 wxDateSpan * resultptr;
21340 resultptr = new wxDateSpan((wxDateSpan &) result);
21341 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21342 }
21343 return resultobj;
21344 fail:
21345 return NULL;
21346}
21347
21348
21349static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21350 PyObject *resultobj;
21351 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21352 int arg2 ;
21353 wxDateSpan result;
21354 PyObject * obj0 = 0 ;
21355 char *kwnames[] = {
21356 (char *) "self",(char *) "n", NULL
21357 };
21358
21359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___mul__",kwnames,&obj0,&arg2)) goto fail;
21360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21361 {
21362 PyThreadState* __tstate = wxPyBeginAllowThreads();
21363 result = wxDateSpan___mul__(arg1,arg2);
21364
21365 wxPyEndAllowThreads(__tstate);
21366 if (PyErr_Occurred()) SWIG_fail;
21367 }
21368 {
21369 wxDateSpan * resultptr;
21370 resultptr = new wxDateSpan((wxDateSpan &) result);
21371 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21372 }
21373 return resultobj;
21374 fail:
21375 return NULL;
21376}
21377
21378
21379static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21380 PyObject *resultobj;
21381 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21382 int arg2 ;
21383 wxDateSpan result;
21384 PyObject * obj0 = 0 ;
21385 char *kwnames[] = {
21386 (char *) "self",(char *) "n", NULL
21387 };
21388
21389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DateSpan___rmul__",kwnames,&obj0,&arg2)) goto fail;
21390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21391 {
21392 PyThreadState* __tstate = wxPyBeginAllowThreads();
21393 result = wxDateSpan___rmul__(arg1,arg2);
21394
21395 wxPyEndAllowThreads(__tstate);
21396 if (PyErr_Occurred()) SWIG_fail;
21397 }
21398 {
21399 wxDateSpan * resultptr;
21400 resultptr = new wxDateSpan((wxDateSpan &) result);
21401 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
21402 }
21403 return resultobj;
21404 fail:
21405 return NULL;
21406}
21407
21408
21409static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
21410 PyObject *resultobj;
21411 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21412 wxDateSpan *arg2 = 0 ;
21413 bool result;
21414 PyObject * obj0 = 0 ;
21415 PyObject * obj1 = 0 ;
21416 char *kwnames[] = {
21417 (char *) "self",(char *) "other", NULL
21418 };
21419
21420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
21421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21422 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21423 if (arg2 == NULL) {
21424 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21425 }
21426 {
21427 PyThreadState* __tstate = wxPyBeginAllowThreads();
21428 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const &)*arg2);
21429
21430 wxPyEndAllowThreads(__tstate);
21431 if (PyErr_Occurred()) SWIG_fail;
21432 }
21433 resultobj = PyInt_FromLong((long)result);
21434 return resultobj;
21435 fail:
21436 return NULL;
21437}
21438
21439
21440static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
21441 PyObject *resultobj;
21442 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
21443 wxDateSpan *arg2 = 0 ;
21444 bool result;
21445 PyObject * obj0 = 0 ;
21446 PyObject * obj1 = 0 ;
21447 char *kwnames[] = {
21448 (char *) "self",(char *) "other", NULL
21449 };
21450
21451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
21452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21453 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21454 if (arg2 == NULL) {
21455 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21456 }
21457 {
21458 PyThreadState* __tstate = wxPyBeginAllowThreads();
21459 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const &)*arg2);
21460
21461 wxPyEndAllowThreads(__tstate);
21462 if (PyErr_Occurred()) SWIG_fail;
21463 }
21464 resultobj = PyInt_FromLong((long)result);
21465 return resultobj;
21466 fail:
21467 return NULL;
21468}
21469
21470
21471static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
21472 PyObject *obj;
21473 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21474 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
21475 Py_INCREF(obj);
21476 return Py_BuildValue((char *)"");
21477}
21478static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21479 PyObject *resultobj;
21480 long result;
21481 char *kwnames[] = {
21482 NULL
21483 };
21484
21485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
21486 {
21487 PyThreadState* __tstate = wxPyBeginAllowThreads();
21488 result = (long)wxGetLocalTime();
21489
21490 wxPyEndAllowThreads(__tstate);
21491 if (PyErr_Occurred()) SWIG_fail;
21492 }
21493 resultobj = PyInt_FromLong((long)result);
21494 return resultobj;
21495 fail:
21496 return NULL;
21497}
21498
21499
21500static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21501 PyObject *resultobj;
21502 long result;
21503 char *kwnames[] = {
21504 NULL
21505 };
21506
21507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
21508 {
21509 PyThreadState* __tstate = wxPyBeginAllowThreads();
21510 result = (long)wxGetUTCTime();
21511
21512 wxPyEndAllowThreads(__tstate);
21513 if (PyErr_Occurred()) SWIG_fail;
21514 }
21515 resultobj = PyInt_FromLong((long)result);
21516 return resultobj;
21517 fail:
21518 return NULL;
21519}
21520
21521
21522static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21523 PyObject *resultobj;
21524 long result;
21525 char *kwnames[] = {
21526 NULL
21527 };
21528
21529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
21530 {
21531 PyThreadState* __tstate = wxPyBeginAllowThreads();
21532 result = (long)wxGetCurrentTime();
21533
21534 wxPyEndAllowThreads(__tstate);
21535 if (PyErr_Occurred()) SWIG_fail;
21536 }
21537 resultobj = PyInt_FromLong((long)result);
21538 return resultobj;
21539 fail:
21540 return NULL;
21541}
21542
21543
21544static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
21545 PyObject *resultobj;
21546 wxLongLong result;
21547 char *kwnames[] = {
21548 NULL
21549 };
21550
21551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
21552 {
21553 PyThreadState* __tstate = wxPyBeginAllowThreads();
21554 result = wxGetLocalTimeMillis();
21555
21556 wxPyEndAllowThreads(__tstate);
21557 if (PyErr_Occurred()) SWIG_fail;
21558 }
21559 {
21560 PyObject *hi, *lo, *shifter, *shifted;
21561 hi = PyLong_FromLong( (&result)->GetHi() );
21562 lo = PyLong_FromLong( (&result)->GetLo() );
21563 shifter = PyLong_FromLong(32);
21564 shifted = PyNumber_Lshift(hi, shifter);
21565 resultobj = PyNumber_Or(shifted, lo);
21566 Py_DECREF(hi);
21567 Py_DECREF(lo);
21568 Py_DECREF(shifter);
21569 Py_DECREF(shifted);
21570 }
21571 return resultobj;
21572 fail:
21573 return NULL;
21574}
21575
21576
21577static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21578 PyObject *resultobj;
21579 int arg1 ;
21580 wxDataFormat *result;
21581 char *kwnames[] = {
21582 (char *) "type", NULL
21583 };
21584
21585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:new_DataFormat",kwnames,&arg1)) goto fail;
21586 {
21587 PyThreadState* __tstate = wxPyBeginAllowThreads();
21588 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
21589
21590 wxPyEndAllowThreads(__tstate);
21591 if (PyErr_Occurred()) SWIG_fail;
21592 }
21593 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21594 return resultobj;
21595 fail:
21596 return NULL;
21597}
21598
21599
21600static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21601 PyObject *resultobj;
21602 wxString *arg1 = 0 ;
21603 wxDataFormat *result;
423f194a 21604 bool temp1 = False ;
d14a1e28
RD
21605 PyObject * obj0 = 0 ;
21606 char *kwnames[] = {
21607 (char *) "format", NULL
21608 };
21609
21610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
21611 {
21612 arg1 = wxString_in_helper(obj0);
21613 if (arg1 == NULL) SWIG_fail;
423f194a 21614 temp1 = True;
d14a1e28
RD
21615 }
21616 {
21617 PyThreadState* __tstate = wxPyBeginAllowThreads();
21618 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
21619
21620 wxPyEndAllowThreads(__tstate);
21621 if (PyErr_Occurred()) SWIG_fail;
21622 }
21623 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
21624 {
21625 if (temp1)
21626 delete arg1;
21627 }
21628 return resultobj;
21629 fail:
21630 {
21631 if (temp1)
21632 delete arg1;
21633 }
21634 return NULL;
21635}
21636
21637
21638static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
21639 PyObject *resultobj;
21640 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21641 PyObject * obj0 = 0 ;
21642 char *kwnames[] = {
21643 (char *) "self", NULL
21644 };
21645
21646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
21647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21648 {
21649 PyThreadState* __tstate = wxPyBeginAllowThreads();
21650 delete arg1;
21651
21652 wxPyEndAllowThreads(__tstate);
21653 if (PyErr_Occurred()) SWIG_fail;
21654 }
21655 Py_INCREF(Py_None); resultobj = Py_None;
21656 return resultobj;
21657 fail:
21658 return NULL;
21659}
21660
21661
21662static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
21663 PyObject *resultobj;
21664 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21665 int arg2 ;
21666 bool result;
21667 PyObject * obj0 = 0 ;
21668
21669 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___eq__",&obj0,&arg2)) goto fail;
21670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21671 {
21672 PyThreadState* __tstate = wxPyBeginAllowThreads();
21673 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
21674
21675 wxPyEndAllowThreads(__tstate);
21676 if (PyErr_Occurred()) SWIG_fail;
21677 }
21678 resultobj = PyInt_FromLong((long)result);
21679 return resultobj;
21680 fail:
21681 return NULL;
21682}
21683
21684
21685static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
21686 PyObject *resultobj;
21687 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21688 int arg2 ;
21689 bool result;
21690 PyObject * obj0 = 0 ;
21691
21692 if(!PyArg_ParseTuple(args,(char *)"Oi:DataFormat___ne__",&obj0,&arg2)) goto fail;
21693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21694 {
21695 PyThreadState* __tstate = wxPyBeginAllowThreads();
21696 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
21697
21698 wxPyEndAllowThreads(__tstate);
21699 if (PyErr_Occurred()) SWIG_fail;
21700 }
21701 resultobj = PyInt_FromLong((long)result);
21702 return resultobj;
21703 fail:
21704 return NULL;
21705}
21706
21707
21708static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
21709 PyObject *resultobj;
21710 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21711 wxDataFormat *arg2 = 0 ;
21712 bool result;
21713 PyObject * obj0 = 0 ;
21714 PyObject * obj1 = 0 ;
21715
21716 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
21717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21718 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21719 if (arg2 == NULL) {
21720 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21721 }
21722 {
21723 PyThreadState* __tstate = wxPyBeginAllowThreads();
21724 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
21725
21726 wxPyEndAllowThreads(__tstate);
21727 if (PyErr_Occurred()) SWIG_fail;
21728 }
21729 resultobj = PyInt_FromLong((long)result);
21730 return resultobj;
21731 fail:
21732 return NULL;
21733}
21734
21735
21736static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
21737 int argc;
21738 PyObject *argv[3];
21739 int ii;
21740
21741 argc = PyObject_Length(args);
21742 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21743 argv[ii] = PyTuple_GetItem(args,ii);
21744 }
21745 if (argc == 2) {
21746 int _v;
21747 {
21748 void *ptr;
21749 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21750 _v = 0;
21751 PyErr_Clear();
21752 } else {
21753 _v = 1;
21754 }
21755 }
21756 if (_v) {
21757 {
21758 void *ptr;
21759 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21760 _v = 0;
21761 PyErr_Clear();
21762 } else {
21763 _v = 1;
21764 }
21765 }
21766 if (_v) {
21767 return _wrap_DataFormat___eq____SWIG_1(self,args);
21768 }
21769 }
21770 }
21771 if (argc == 2) {
21772 int _v;
21773 {
21774 void *ptr;
21775 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21776 _v = 0;
21777 PyErr_Clear();
21778 } else {
21779 _v = 1;
21780 }
21781 }
21782 if (_v) {
21783 {
21784 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21785 }
21786 if (_v) {
21787 return _wrap_DataFormat___eq____SWIG_0(self,args);
21788 }
21789 }
21790 }
21791
21792 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
21793 return NULL;
21794}
21795
21796
21797static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
21798 PyObject *resultobj;
21799 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21800 wxDataFormat *arg2 = 0 ;
21801 bool result;
21802 PyObject * obj0 = 0 ;
21803 PyObject * obj1 = 0 ;
21804
21805 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
21806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21807 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21808 if (arg2 == NULL) {
21809 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21810 }
21811 {
21812 PyThreadState* __tstate = wxPyBeginAllowThreads();
21813 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
21814
21815 wxPyEndAllowThreads(__tstate);
21816 if (PyErr_Occurred()) SWIG_fail;
21817 }
21818 resultobj = PyInt_FromLong((long)result);
21819 return resultobj;
21820 fail:
21821 return NULL;
21822}
21823
21824
21825static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
21826 int argc;
21827 PyObject *argv[3];
21828 int ii;
21829
21830 argc = PyObject_Length(args);
21831 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
21832 argv[ii] = PyTuple_GetItem(args,ii);
21833 }
21834 if (argc == 2) {
21835 int _v;
21836 {
21837 void *ptr;
21838 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21839 _v = 0;
21840 PyErr_Clear();
21841 } else {
21842 _v = 1;
21843 }
21844 }
21845 if (_v) {
21846 {
21847 void *ptr;
21848 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21849 _v = 0;
21850 PyErr_Clear();
21851 } else {
21852 _v = 1;
21853 }
21854 }
21855 if (_v) {
21856 return _wrap_DataFormat___ne____SWIG_1(self,args);
21857 }
21858 }
21859 }
21860 if (argc == 2) {
21861 int _v;
21862 {
21863 void *ptr;
21864 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
21865 _v = 0;
21866 PyErr_Clear();
21867 } else {
21868 _v = 1;
21869 }
21870 }
21871 if (_v) {
21872 {
21873 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
21874 }
21875 if (_v) {
21876 return _wrap_DataFormat___ne____SWIG_0(self,args);
21877 }
21878 }
21879 }
21880
21881 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
21882 return NULL;
21883}
21884
21885
21886static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21887 PyObject *resultobj;
21888 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21889 int arg2 ;
21890 PyObject * obj0 = 0 ;
21891 char *kwnames[] = {
21892 (char *) "self",(char *) "format", NULL
21893 };
21894
21895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DataFormat_SetType",kwnames,&obj0,&arg2)) goto fail;
21896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21897 {
21898 PyThreadState* __tstate = wxPyBeginAllowThreads();
21899 (arg1)->SetType((wxDataFormatId )arg2);
21900
21901 wxPyEndAllowThreads(__tstate);
21902 if (PyErr_Occurred()) SWIG_fail;
21903 }
21904 Py_INCREF(Py_None); resultobj = Py_None;
21905 return resultobj;
21906 fail:
21907 return NULL;
21908}
21909
21910
21911static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
21912 PyObject *resultobj;
21913 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21914 int result;
21915 PyObject * obj0 = 0 ;
21916 char *kwnames[] = {
21917 (char *) "self", NULL
21918 };
21919
21920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
21921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21922 {
21923 PyThreadState* __tstate = wxPyBeginAllowThreads();
21924 result = (int)((wxDataFormat const *)arg1)->GetType();
21925
21926 wxPyEndAllowThreads(__tstate);
21927 if (PyErr_Occurred()) SWIG_fail;
21928 }
21929 resultobj = PyInt_FromLong((long)result);
21930 return resultobj;
21931 fail:
21932 return NULL;
21933}
21934
21935
21936static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21937 PyObject *resultobj;
21938 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21939 wxString result;
21940 PyObject * obj0 = 0 ;
21941 char *kwnames[] = {
21942 (char *) "self", NULL
21943 };
21944
21945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
21946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21947 {
21948 PyThreadState* __tstate = wxPyBeginAllowThreads();
21949 result = ((wxDataFormat const *)arg1)->GetId();
21950
21951 wxPyEndAllowThreads(__tstate);
21952 if (PyErr_Occurred()) SWIG_fail;
21953 }
21954 {
21955#if wxUSE_UNICODE
21956 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21957#else
21958 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21959#endif
21960 }
21961 return resultobj;
21962 fail:
21963 return NULL;
21964}
21965
21966
21967static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21968 PyObject *resultobj;
21969 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
21970 wxString *arg2 = 0 ;
423f194a 21971 bool temp2 = False ;
d14a1e28
RD
21972 PyObject * obj0 = 0 ;
21973 PyObject * obj1 = 0 ;
21974 char *kwnames[] = {
21975 (char *) "self",(char *) "format", NULL
21976 };
21977
21978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
21979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21980 {
21981 arg2 = wxString_in_helper(obj1);
21982 if (arg2 == NULL) SWIG_fail;
423f194a 21983 temp2 = True;
d14a1e28
RD
21984 }
21985 {
21986 PyThreadState* __tstate = wxPyBeginAllowThreads();
21987 (arg1)->SetId((wxString const &)*arg2);
21988
21989 wxPyEndAllowThreads(__tstate);
21990 if (PyErr_Occurred()) SWIG_fail;
21991 }
21992 Py_INCREF(Py_None); resultobj = Py_None;
21993 {
21994 if (temp2)
21995 delete arg2;
21996 }
21997 return resultobj;
21998 fail:
21999 {
22000 if (temp2)
22001 delete arg2;
22002 }
22003 return NULL;
22004}
22005
22006
22007static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
22008 PyObject *obj;
22009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22010 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
22011 Py_INCREF(obj);
22012 return Py_BuildValue((char *)"");
22013}
22014static int _wrap_FormatInvalid_set(PyObject *_val) {
22015 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
22016 return 1;
22017}
22018
22019
22020static PyObject *_wrap_FormatInvalid_get() {
22021 PyObject *pyobj;
22022
22023 pyobj = SWIG_NewPointerObj((void *) &wxFormatInvalid, SWIGTYPE_p_wxDataFormat, 0);
22024 return pyobj;
22025}
22026
22027
22028static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22029 PyObject *resultobj;
22030 wxDataObject *arg1 = (wxDataObject *) 0 ;
22031 PyObject * obj0 = 0 ;
22032 char *kwnames[] = {
22033 (char *) "self", NULL
22034 };
22035
22036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
22037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22038 {
22039 PyThreadState* __tstate = wxPyBeginAllowThreads();
22040 delete arg1;
22041
22042 wxPyEndAllowThreads(__tstate);
22043 if (PyErr_Occurred()) SWIG_fail;
22044 }
22045 Py_INCREF(Py_None); resultobj = Py_None;
22046 return resultobj;
22047 fail:
22048 return NULL;
22049}
22050
22051
22052static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22053 PyObject *resultobj;
22054 wxDataObject *arg1 = (wxDataObject *) 0 ;
22055 int arg2 = (int) wxDataObject::Get ;
22056 SwigValueWrapper< wxDataFormat > result;
22057 PyObject * obj0 = 0 ;
22058 char *kwnames[] = {
22059 (char *) "self",(char *) "dir", NULL
22060 };
22061
22062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetPreferredFormat",kwnames,&obj0,&arg2)) goto fail;
22063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22064 {
22065 PyThreadState* __tstate = wxPyBeginAllowThreads();
22066 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
22067
22068 wxPyEndAllowThreads(__tstate);
22069 if (PyErr_Occurred()) SWIG_fail;
22070 }
22071 {
22072 wxDataFormat * resultptr;
22073 resultptr = new wxDataFormat((wxDataFormat &) result);
22074 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDataFormat, 1);
22075 }
22076 return resultobj;
22077 fail:
22078 return NULL;
22079}
22080
22081
22082static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22083 PyObject *resultobj;
22084 wxDataObject *arg1 = (wxDataObject *) 0 ;
22085 int arg2 = (int) wxDataObject::Get ;
22086 size_t result;
22087 PyObject * obj0 = 0 ;
22088 char *kwnames[] = {
22089 (char *) "self",(char *) "dir", NULL
22090 };
22091
22092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DataObject_GetFormatCount",kwnames,&obj0,&arg2)) goto fail;
22093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22094 {
22095 PyThreadState* __tstate = wxPyBeginAllowThreads();
22096 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
22097
22098 wxPyEndAllowThreads(__tstate);
22099 if (PyErr_Occurred()) SWIG_fail;
22100 }
22101 resultobj = PyInt_FromLong((long)result);
22102 return resultobj;
22103 fail:
22104 return NULL;
22105}
22106
22107
22108static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
22109 PyObject *resultobj;
22110 wxDataObject *arg1 = (wxDataObject *) 0 ;
22111 wxDataFormat *arg2 = 0 ;
22112 int arg3 = (int) wxDataObject::Get ;
22113 bool result;
22114 PyObject * obj0 = 0 ;
22115 PyObject * obj1 = 0 ;
22116 char *kwnames[] = {
22117 (char *) "self",(char *) "format",(char *) "dir", NULL
22118 };
22119
22120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_IsSupported",kwnames,&obj0,&obj1,&arg3)) goto fail;
22121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22122 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22123 if (arg2 == NULL) {
22124 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22125 }
22126 {
22127 PyThreadState* __tstate = wxPyBeginAllowThreads();
22128 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
22129
22130 wxPyEndAllowThreads(__tstate);
22131 if (PyErr_Occurred()) SWIG_fail;
22132 }
22133 resultobj = PyInt_FromLong((long)result);
22134 return resultobj;
22135 fail:
22136 return NULL;
22137}
22138
22139
22140static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22141 PyObject *resultobj;
22142 wxDataObject *arg1 = (wxDataObject *) 0 ;
22143 wxDataFormat *arg2 = 0 ;
22144 size_t result;
22145 PyObject * obj0 = 0 ;
22146 PyObject * obj1 = 0 ;
22147 char *kwnames[] = {
22148 (char *) "self",(char *) "format", NULL
22149 };
22150
22151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
22152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22153 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22154 if (arg2 == NULL) {
22155 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22156 }
22157 {
22158 PyThreadState* __tstate = wxPyBeginAllowThreads();
22159 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
22160
22161 wxPyEndAllowThreads(__tstate);
22162 if (PyErr_Occurred()) SWIG_fail;
22163 }
22164 resultobj = PyInt_FromLong((long)result);
22165 return resultobj;
22166 fail:
22167 return NULL;
22168}
22169
22170
22171static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
22172 PyObject *resultobj;
22173 wxDataObject *arg1 = (wxDataObject *) 0 ;
22174 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
22175 int arg3 = (int) wxDataObject::Get ;
22176 PyObject * obj0 = 0 ;
22177 PyObject * obj1 = 0 ;
22178 char *kwnames[] = {
22179 (char *) "self",(char *) "formats",(char *) "dir", NULL
22180 };
22181
22182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&arg3)) goto fail;
22183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22184 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22185 {
22186 PyThreadState* __tstate = wxPyBeginAllowThreads();
22187 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
22188
22189 wxPyEndAllowThreads(__tstate);
22190 if (PyErr_Occurred()) SWIG_fail;
22191 }
22192 Py_INCREF(Py_None); resultobj = Py_None;
22193 return resultobj;
22194 fail:
22195 return NULL;
22196}
22197
22198
22199static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
22200 PyObject *resultobj;
22201 wxDataObject *arg1 = (wxDataObject *) 0 ;
22202 wxDataFormat *arg2 = 0 ;
22203 void *arg3 = (void *) 0 ;
22204 bool result;
22205 PyObject * obj0 = 0 ;
22206 PyObject * obj1 = 0 ;
22207 PyObject * obj2 = 0 ;
22208 char *kwnames[] = {
22209 (char *) "self",(char *) "format",(char *) "buf", NULL
22210 };
22211
22212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
22213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22214 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22215 if (arg2 == NULL) {
22216 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22217 }
22218 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22219 {
22220 PyThreadState* __tstate = wxPyBeginAllowThreads();
22221 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
22222
22223 wxPyEndAllowThreads(__tstate);
22224 if (PyErr_Occurred()) SWIG_fail;
22225 }
22226 resultobj = PyInt_FromLong((long)result);
22227 return resultobj;
22228 fail:
22229 return NULL;
22230}
22231
22232
22233static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22234 PyObject *resultobj;
22235 wxDataObject *arg1 = (wxDataObject *) 0 ;
22236 wxDataFormat *arg2 = 0 ;
22237 size_t arg3 ;
22238 void *arg4 = (void *) 0 ;
22239 bool result;
22240 PyObject * obj0 = 0 ;
22241 PyObject * obj1 = 0 ;
22242 PyObject * obj2 = 0 ;
22243 PyObject * obj3 = 0 ;
22244 char *kwnames[] = {
22245 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
22246 };
22247
22248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22250 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22251 if (arg2 == NULL) {
22252 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22253 }
22254 arg3 = (size_t) PyInt_AsLong(obj2);
22255 if (PyErr_Occurred()) SWIG_fail;
22256 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22257 {
22258 PyThreadState* __tstate = wxPyBeginAllowThreads();
22259 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
22260
22261 wxPyEndAllowThreads(__tstate);
22262 if (PyErr_Occurred()) SWIG_fail;
22263 }
22264 resultobj = PyInt_FromLong((long)result);
22265 return resultobj;
22266 fail:
22267 return NULL;
22268}
22269
22270
22271static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
22272 PyObject *obj;
22273 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22274 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
22275 Py_INCREF(obj);
22276 return Py_BuildValue((char *)"");
22277}
22278static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22279 PyObject *resultobj;
22280 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22281 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22282 wxDataObjectSimple *result;
22283 PyObject * obj0 = 0 ;
22284 char *kwnames[] = {
22285 (char *) "format", NULL
22286 };
22287
22288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
22289 if (obj0) {
22290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22291 if (arg1 == NULL) {
22292 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22293 }
22294 }
22295 {
22296 PyThreadState* __tstate = wxPyBeginAllowThreads();
22297 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
22298
22299 wxPyEndAllowThreads(__tstate);
22300 if (PyErr_Occurred()) SWIG_fail;
22301 }
22302 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectSimple, 1);
22303 return resultobj;
22304 fail:
22305 return NULL;
22306}
22307
22308
22309static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22310 PyObject *resultobj;
22311 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22312 wxDataFormat *result;
22313 PyObject * obj0 = 0 ;
22314 char *kwnames[] = {
22315 (char *) "self", NULL
22316 };
22317
22318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
22319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22320 {
22321 PyThreadState* __tstate = wxPyBeginAllowThreads();
22322 {
22323 wxDataFormat const &_result_ref = (arg1)->GetFormat();
22324 result = (wxDataFormat *) &_result_ref;
22325 }
22326
22327 wxPyEndAllowThreads(__tstate);
22328 if (PyErr_Occurred()) SWIG_fail;
22329 }
22330 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 0);
22331 return resultobj;
22332 fail:
22333 return NULL;
22334}
22335
22336
22337static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
22338 PyObject *resultobj;
22339 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
22340 wxDataFormat *arg2 = 0 ;
22341 PyObject * obj0 = 0 ;
22342 PyObject * obj1 = 0 ;
22343 char *kwnames[] = {
22344 (char *) "self",(char *) "format", NULL
22345 };
22346
22347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
22348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22349 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22350 if (arg2 == NULL) {
22351 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22352 }
22353 {
22354 PyThreadState* __tstate = wxPyBeginAllowThreads();
22355 (arg1)->SetFormat((wxDataFormat const &)*arg2);
22356
22357 wxPyEndAllowThreads(__tstate);
22358 if (PyErr_Occurred()) SWIG_fail;
22359 }
22360 Py_INCREF(Py_None); resultobj = Py_None;
22361 return resultobj;
22362 fail:
22363 return NULL;
22364}
22365
22366
22367static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22368 PyObject *obj;
22369 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22370 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
22371 Py_INCREF(obj);
22372 return Py_BuildValue((char *)"");
22373}
22374static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
22375 PyObject *resultobj;
22376 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22377 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22378 wxPyDataObjectSimple *result;
22379 PyObject * obj0 = 0 ;
22380 char *kwnames[] = {
22381 (char *) "format", NULL
22382 };
22383
22384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
22385 if (obj0) {
22386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22387 if (arg1 == NULL) {
22388 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22389 }
22390 }
22391 {
22392 PyThreadState* __tstate = wxPyBeginAllowThreads();
22393 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
22394
22395 wxPyEndAllowThreads(__tstate);
22396 if (PyErr_Occurred()) SWIG_fail;
22397 }
22398 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDataObjectSimple, 1);
22399 return resultobj;
22400 fail:
22401 return NULL;
22402}
22403
22404
22405static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22406 PyObject *resultobj;
22407 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
22408 PyObject *arg2 = (PyObject *) 0 ;
22409 PyObject *arg3 = (PyObject *) 0 ;
22410 PyObject * obj0 = 0 ;
22411 PyObject * obj1 = 0 ;
22412 PyObject * obj2 = 0 ;
22413 char *kwnames[] = {
22414 (char *) "self",(char *) "self",(char *) "_class", NULL
22415 };
22416
22417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22419 arg2 = obj1;
22420 arg3 = obj2;
22421 {
22422 PyThreadState* __tstate = wxPyBeginAllowThreads();
22423 (arg1)->_setCallbackInfo(arg2,arg3);
22424
22425 wxPyEndAllowThreads(__tstate);
22426 if (PyErr_Occurred()) SWIG_fail;
22427 }
22428 Py_INCREF(Py_None); resultobj = Py_None;
22429 return resultobj;
22430 fail:
22431 return NULL;
22432}
22433
22434
22435static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
22436 PyObject *obj;
22437 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22438 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
22439 Py_INCREF(obj);
22440 return Py_BuildValue((char *)"");
22441}
22442static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
22443 PyObject *resultobj;
22444 wxDataObjectComposite *result;
22445 char *kwnames[] = {
22446 NULL
22447 };
22448
22449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
22450 {
22451 PyThreadState* __tstate = wxPyBeginAllowThreads();
22452 result = (wxDataObjectComposite *)new wxDataObjectComposite();
22453
22454 wxPyEndAllowThreads(__tstate);
22455 if (PyErr_Occurred()) SWIG_fail;
22456 }
22457 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectComposite, 1);
22458 return resultobj;
22459 fail:
22460 return NULL;
22461}
22462
22463
22464static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
22465 PyObject *resultobj;
22466 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
22467 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
423f194a 22468 int arg3 = (int) False ;
d14a1e28
RD
22469 PyObject * obj0 = 0 ;
22470 PyObject * obj1 = 0 ;
22471 char *kwnames[] = {
22472 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
22473 };
22474
22475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:DataObjectComposite_Add",kwnames,&obj0,&obj1,&arg3)) goto fail;
22476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectComposite,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22477 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22478 {
22479 PyThreadState* __tstate = wxPyBeginAllowThreads();
22480 (arg1)->Add(arg2,arg3);
22481
22482 wxPyEndAllowThreads(__tstate);
22483 if (PyErr_Occurred()) SWIG_fail;
22484 }
22485 Py_INCREF(Py_None); resultobj = Py_None;
22486 return resultobj;
22487 fail:
22488 return NULL;
22489}
22490
22491
22492static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
22493 PyObject *obj;
22494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22495 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
22496 Py_INCREF(obj);
22497 return Py_BuildValue((char *)"");
22498}
22499static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22500 PyObject *resultobj;
22501 wxString const &arg1_defvalue = wxPyEmptyString ;
22502 wxString *arg1 = (wxString *) &arg1_defvalue ;
22503 wxTextDataObject *result;
423f194a 22504 bool temp1 = False ;
d14a1e28
RD
22505 PyObject * obj0 = 0 ;
22506 char *kwnames[] = {
22507 (char *) "text", NULL
22508 };
22509
22510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
22511 if (obj0) {
22512 {
22513 arg1 = wxString_in_helper(obj0);
22514 if (arg1 == NULL) SWIG_fail;
423f194a 22515 temp1 = True;
d14a1e28
RD
22516 }
22517 }
22518 {
22519 PyThreadState* __tstate = wxPyBeginAllowThreads();
22520 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
22521
22522 wxPyEndAllowThreads(__tstate);
22523 if (PyErr_Occurred()) SWIG_fail;
22524 }
22525 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextDataObject, 1);
22526 {
22527 if (temp1)
22528 delete arg1;
22529 }
22530 return resultobj;
22531 fail:
22532 {
22533 if (temp1)
22534 delete arg1;
22535 }
22536 return NULL;
22537}
22538
22539
22540static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
22541 PyObject *resultobj;
22542 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22543 size_t result;
22544 PyObject * obj0 = 0 ;
22545 char *kwnames[] = {
22546 (char *) "self", NULL
22547 };
22548
22549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
22550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22551 {
22552 PyThreadState* __tstate = wxPyBeginAllowThreads();
22553 result = (size_t)(arg1)->GetTextLength();
22554
22555 wxPyEndAllowThreads(__tstate);
22556 if (PyErr_Occurred()) SWIG_fail;
22557 }
22558 resultobj = PyInt_FromLong((long)result);
22559 return resultobj;
22560 fail:
22561 return NULL;
22562}
22563
22564
22565static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22566 PyObject *resultobj;
22567 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22568 wxString result;
22569 PyObject * obj0 = 0 ;
22570 char *kwnames[] = {
22571 (char *) "self", NULL
22572 };
22573
22574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
22575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22576 {
22577 PyThreadState* __tstate = wxPyBeginAllowThreads();
22578 result = (arg1)->GetText();
22579
22580 wxPyEndAllowThreads(__tstate);
22581 if (PyErr_Occurred()) SWIG_fail;
22582 }
22583 {
22584#if wxUSE_UNICODE
22585 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22586#else
22587 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22588#endif
22589 }
22590 return resultobj;
22591 fail:
22592 return NULL;
22593}
22594
22595
22596static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
22597 PyObject *resultobj;
22598 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
22599 wxString *arg2 = 0 ;
423f194a 22600 bool temp2 = False ;
d14a1e28
RD
22601 PyObject * obj0 = 0 ;
22602 PyObject * obj1 = 0 ;
22603 char *kwnames[] = {
22604 (char *) "self",(char *) "text", NULL
22605 };
22606
22607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
22608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22609 {
22610 arg2 = wxString_in_helper(obj1);
22611 if (arg2 == NULL) SWIG_fail;
423f194a 22612 temp2 = True;
d14a1e28
RD
22613 }
22614 {
22615 PyThreadState* __tstate = wxPyBeginAllowThreads();
22616 (arg1)->SetText((wxString const &)*arg2);
22617
22618 wxPyEndAllowThreads(__tstate);
22619 if (PyErr_Occurred()) SWIG_fail;
22620 }
22621 Py_INCREF(Py_None); resultobj = Py_None;
22622 {
22623 if (temp2)
22624 delete arg2;
22625 }
22626 return resultobj;
22627 fail:
22628 {
22629 if (temp2)
22630 delete arg2;
22631 }
22632 return NULL;
22633}
22634
22635
22636static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
22637 PyObject *obj;
22638 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22639 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
22640 Py_INCREF(obj);
22641 return Py_BuildValue((char *)"");
22642}
22643static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22644 PyObject *resultobj;
22645 wxString const &arg1_defvalue = wxPyEmptyString ;
22646 wxString *arg1 = (wxString *) &arg1_defvalue ;
22647 wxPyTextDataObject *result;
423f194a 22648 bool temp1 = False ;
d14a1e28
RD
22649 PyObject * obj0 = 0 ;
22650 char *kwnames[] = {
22651 (char *) "text", NULL
22652 };
22653
22654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
22655 if (obj0) {
22656 {
22657 arg1 = wxString_in_helper(obj0);
22658 if (arg1 == NULL) SWIG_fail;
423f194a 22659 temp1 = True;
d14a1e28
RD
22660 }
22661 }
22662 {
22663 PyThreadState* __tstate = wxPyBeginAllowThreads();
22664 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
22665
22666 wxPyEndAllowThreads(__tstate);
22667 if (PyErr_Occurred()) SWIG_fail;
22668 }
22669 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDataObject, 1);
22670 {
22671 if (temp1)
22672 delete arg1;
22673 }
22674 return resultobj;
22675 fail:
22676 {
22677 if (temp1)
22678 delete arg1;
22679 }
22680 return NULL;
22681}
22682
22683
22684static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22685 PyObject *resultobj;
22686 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
22687 PyObject *arg2 = (PyObject *) 0 ;
22688 PyObject *arg3 = (PyObject *) 0 ;
22689 PyObject * obj0 = 0 ;
22690 PyObject * obj1 = 0 ;
22691 PyObject * obj2 = 0 ;
22692 char *kwnames[] = {
22693 (char *) "self",(char *) "self",(char *) "_class", NULL
22694 };
22695
22696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22698 arg2 = obj1;
22699 arg3 = obj2;
22700 {
22701 PyThreadState* __tstate = wxPyBeginAllowThreads();
22702 (arg1)->_setCallbackInfo(arg2,arg3);
22703
22704 wxPyEndAllowThreads(__tstate);
22705 if (PyErr_Occurred()) SWIG_fail;
22706 }
22707 Py_INCREF(Py_None); resultobj = Py_None;
22708 return resultobj;
22709 fail:
22710 return NULL;
22711}
22712
22713
22714static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
22715 PyObject *obj;
22716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22717 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
22718 Py_INCREF(obj);
22719 return Py_BuildValue((char *)"");
22720}
22721static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22722 PyObject *resultobj;
22723 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22724 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22725 wxBitmapDataObject *result;
22726 PyObject * obj0 = 0 ;
22727 char *kwnames[] = {
22728 (char *) "bitmap", NULL
22729 };
22730
22731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
22732 if (obj0) {
22733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22734 if (arg1 == NULL) {
22735 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22736 }
22737 }
22738 {
22739 PyThreadState* __tstate = wxPyBeginAllowThreads();
22740 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
22741
22742 wxPyEndAllowThreads(__tstate);
22743 if (PyErr_Occurred()) SWIG_fail;
22744 }
22745 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmapDataObject, 1);
22746 return resultobj;
22747 fail:
22748 return NULL;
22749}
22750
22751
22752static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22753 PyObject *resultobj;
22754 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22755 wxBitmap result;
22756 PyObject * obj0 = 0 ;
22757 char *kwnames[] = {
22758 (char *) "self", NULL
22759 };
22760
22761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
22762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22763 {
22764 PyThreadState* __tstate = wxPyBeginAllowThreads();
22765 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
22766
22767 wxPyEndAllowThreads(__tstate);
22768 if (PyErr_Occurred()) SWIG_fail;
22769 }
22770 {
22771 wxBitmap * resultptr;
22772 resultptr = new wxBitmap((wxBitmap &) result);
22773 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
22774 }
22775 return resultobj;
22776 fail:
22777 return NULL;
22778}
22779
22780
22781static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
22782 PyObject *resultobj;
22783 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
22784 wxBitmap *arg2 = 0 ;
22785 PyObject * obj0 = 0 ;
22786 PyObject * obj1 = 0 ;
22787 char *kwnames[] = {
22788 (char *) "self",(char *) "bitmap", NULL
22789 };
22790
22791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
22792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22793 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22794 if (arg2 == NULL) {
22795 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22796 }
22797 {
22798 PyThreadState* __tstate = wxPyBeginAllowThreads();
22799 (arg1)->SetBitmap((wxBitmap const &)*arg2);
22800
22801 wxPyEndAllowThreads(__tstate);
22802 if (PyErr_Occurred()) SWIG_fail;
22803 }
22804 Py_INCREF(Py_None); resultobj = Py_None;
22805 return resultobj;
22806 fail:
22807 return NULL;
22808}
22809
22810
22811static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22812 PyObject *obj;
22813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22814 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
22815 Py_INCREF(obj);
22816 return Py_BuildValue((char *)"");
22817}
22818static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22819 PyObject *resultobj;
22820 wxBitmap const &arg1_defvalue = wxNullBitmap ;
22821 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
22822 wxPyBitmapDataObject *result;
22823 PyObject * obj0 = 0 ;
22824 char *kwnames[] = {
22825 (char *) "bitmap", NULL
22826 };
22827
22828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
22829 if (obj0) {
22830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22831 if (arg1 == NULL) {
22832 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22833 }
22834 }
22835 {
22836 PyThreadState* __tstate = wxPyBeginAllowThreads();
22837 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
22838
22839 wxPyEndAllowThreads(__tstate);
22840 if (PyErr_Occurred()) SWIG_fail;
22841 }
22842 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapDataObject, 1);
22843 return resultobj;
22844 fail:
22845 return NULL;
22846}
22847
22848
22849static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22850 PyObject *resultobj;
22851 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
22852 PyObject *arg2 = (PyObject *) 0 ;
22853 PyObject *arg3 = (PyObject *) 0 ;
22854 PyObject * obj0 = 0 ;
22855 PyObject * obj1 = 0 ;
22856 PyObject * obj2 = 0 ;
22857 char *kwnames[] = {
22858 (char *) "self",(char *) "self",(char *) "_class", NULL
22859 };
22860
22861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22863 arg2 = obj1;
22864 arg3 = obj2;
22865 {
22866 PyThreadState* __tstate = wxPyBeginAllowThreads();
22867 (arg1)->_setCallbackInfo(arg2,arg3);
22868
22869 wxPyEndAllowThreads(__tstate);
22870 if (PyErr_Occurred()) SWIG_fail;
22871 }
22872 Py_INCREF(Py_None); resultobj = Py_None;
22873 return resultobj;
22874 fail:
22875 return NULL;
22876}
22877
22878
22879static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
22880 PyObject *obj;
22881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22882 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
22883 Py_INCREF(obj);
22884 return Py_BuildValue((char *)"");
22885}
22886static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22887 PyObject *resultobj;
22888 wxFileDataObject *result;
22889 char *kwnames[] = {
22890 NULL
22891 };
22892
22893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
22894 {
22895 PyThreadState* __tstate = wxPyBeginAllowThreads();
22896 result = (wxFileDataObject *)new wxFileDataObject();
22897
22898 wxPyEndAllowThreads(__tstate);
22899 if (PyErr_Occurred()) SWIG_fail;
22900 }
22901 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDataObject, 1);
22902 return resultobj;
22903 fail:
22904 return NULL;
22905}
22906
22907
22908static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
22909 PyObject *resultobj;
22910 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
22911 wxArrayString *result;
22912 PyObject * obj0 = 0 ;
22913 char *kwnames[] = {
22914 (char *) "self", NULL
22915 };
22916
22917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
22918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22919 {
22920 PyThreadState* __tstate = wxPyBeginAllowThreads();
22921 {
22922 wxArrayString const &_result_ref = (arg1)->GetFilenames();
22923 result = (wxArrayString *) &_result_ref;
22924 }
22925
22926 wxPyEndAllowThreads(__tstate);
22927 if (PyErr_Occurred()) SWIG_fail;
22928 }
22929 {
22930 resultobj = wxArrayString2PyList_helper(*result);
22931 }
22932 return resultobj;
22933 fail:
22934 return NULL;
22935}
22936
22937
22938static PyObject *_wrap_FileDataObject_AddFile(PyObject *self, PyObject *args, PyObject *kwargs) {
22939 PyObject *resultobj;
22940 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
22941 wxString *arg2 = 0 ;
423f194a 22942 bool temp2 = False ;
d14a1e28
RD
22943 PyObject * obj0 = 0 ;
22944 PyObject * obj1 = 0 ;
22945 char *kwnames[] = {
22946 (char *) "self",(char *) "filename", NULL
22947 };
22948
22949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
22950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22951 {
22952 arg2 = wxString_in_helper(obj1);
22953 if (arg2 == NULL) SWIG_fail;
423f194a 22954 temp2 = True;
d14a1e28
RD
22955 }
22956 {
22957 PyThreadState* __tstate = wxPyBeginAllowThreads();
22958 (arg1)->AddFile((wxString const &)*arg2);
22959
22960 wxPyEndAllowThreads(__tstate);
22961 if (PyErr_Occurred()) SWIG_fail;
22962 }
22963 Py_INCREF(Py_None); resultobj = Py_None;
22964 {
22965 if (temp2)
22966 delete arg2;
22967 }
22968 return resultobj;
22969 fail:
22970 {
22971 if (temp2)
22972 delete arg2;
22973 }
22974 return NULL;
22975}
22976
22977
22978static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
22979 PyObject *obj;
22980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22981 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
22982 Py_INCREF(obj);
22983 return Py_BuildValue((char *)"");
22984}
22985static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
22986 PyObject *resultobj;
22987 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
22988 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
22989 wxCustomDataObject *result;
22990 PyObject * obj0 = 0 ;
22991 char *kwnames[] = {
22992 (char *) "format", NULL
22993 };
22994
22995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
22996 if (obj0) {
22997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22998 if (arg1 == NULL) {
22999 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23000 }
23001 }
23002 {
23003 PyThreadState* __tstate = wxPyBeginAllowThreads();
23004 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
23005
23006 wxPyEndAllowThreads(__tstate);
23007 if (PyErr_Occurred()) SWIG_fail;
23008 }
23009 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCustomDataObject, 1);
23010 return resultobj;
23011 fail:
23012 return NULL;
23013}
23014
23015
23016static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
23017 PyObject *resultobj;
23018 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
23019 PyObject *arg2 = (PyObject *) 0 ;
23020 PyObject * obj0 = 0 ;
23021 PyObject * obj1 = 0 ;
23022 char *kwnames[] = {
23023 (char *) "self",(char *) "data", NULL
23024 };
23025
23026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
23027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23028 arg2 = obj1;
23029 {
23030 PyThreadState* __tstate = wxPyBeginAllowThreads();
23031 wxCustomDataObject_TakeData(arg1,arg2);
23032
23033 wxPyEndAllowThreads(__tstate);
23034 if (PyErr_Occurred()) SWIG_fail;
23035 }
23036 Py_INCREF(Py_None); resultobj = Py_None;
23037 return resultobj;
23038 fail:
23039 return NULL;
23040}
23041
23042
23043static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23044 PyObject *resultobj;
23045 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
23046 PyObject *arg2 = (PyObject *) 0 ;
23047 bool result;
23048 PyObject * obj0 = 0 ;
23049 PyObject * obj1 = 0 ;
23050 char *kwnames[] = {
23051 (char *) "self",(char *) "data", NULL
23052 };
23053
23054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
23055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23056 arg2 = obj1;
23057 {
23058 PyThreadState* __tstate = wxPyBeginAllowThreads();
23059 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
23060
23061 wxPyEndAllowThreads(__tstate);
23062 if (PyErr_Occurred()) SWIG_fail;
23063 }
23064 resultobj = PyInt_FromLong((long)result);
23065 return resultobj;
23066 fail:
23067 return NULL;
23068}
23069
23070
23071static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23072 PyObject *resultobj;
23073 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
23074 size_t result;
23075 PyObject * obj0 = 0 ;
23076 char *kwnames[] = {
23077 (char *) "self", NULL
23078 };
23079
23080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
23081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23082 {
23083 PyThreadState* __tstate = wxPyBeginAllowThreads();
23084 result = (size_t)(arg1)->GetSize();
23085
23086 wxPyEndAllowThreads(__tstate);
23087 if (PyErr_Occurred()) SWIG_fail;
23088 }
23089 resultobj = PyInt_FromLong((long)result);
23090 return resultobj;
23091 fail:
23092 return NULL;
23093}
23094
23095
23096static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23097 PyObject *resultobj;
23098 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
23099 PyObject *result;
23100 PyObject * obj0 = 0 ;
23101 char *kwnames[] = {
23102 (char *) "self", NULL
23103 };
23104
23105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
23106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23107 {
23108 PyThreadState* __tstate = wxPyBeginAllowThreads();
23109 result = (PyObject *)wxCustomDataObject_GetData(arg1);
23110
23111 wxPyEndAllowThreads(__tstate);
23112 if (PyErr_Occurred()) SWIG_fail;
23113 }
23114 resultobj = result;
23115 return resultobj;
23116 fail:
23117 return NULL;
23118}
23119
23120
23121static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
23122 PyObject *obj;
23123 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23124 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
23125 Py_INCREF(obj);
23126 return Py_BuildValue((char *)"");
23127}
23128static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23129 PyObject *resultobj;
23130 wxURLDataObject *result;
23131 char *kwnames[] = {
23132 NULL
23133 };
23134
23135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
23136 {
23137 PyThreadState* __tstate = wxPyBeginAllowThreads();
23138 result = (wxURLDataObject *)new wxURLDataObject();
23139
23140 wxPyEndAllowThreads(__tstate);
23141 if (PyErr_Occurred()) SWIG_fail;
23142 }
23143 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxURLDataObject, 1);
23144 return resultobj;
23145 fail:
23146 return NULL;
23147}
23148
23149
23150static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
23151 PyObject *resultobj;
23152 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
23153 wxString result;
23154 PyObject * obj0 = 0 ;
23155 char *kwnames[] = {
23156 (char *) "self", NULL
23157 };
23158
23159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
23160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23161 {
23162 PyThreadState* __tstate = wxPyBeginAllowThreads();
23163 result = (arg1)->GetURL();
23164
23165 wxPyEndAllowThreads(__tstate);
23166 if (PyErr_Occurred()) SWIG_fail;
23167 }
23168 {
23169#if wxUSE_UNICODE
23170 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23171#else
23172 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23173#endif
23174 }
23175 return resultobj;
23176 fail:
23177 return NULL;
23178}
23179
23180
23181static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
23182 PyObject *resultobj;
23183 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
23184 wxString *arg2 = 0 ;
423f194a 23185 bool temp2 = False ;
d14a1e28
RD
23186 PyObject * obj0 = 0 ;
23187 PyObject * obj1 = 0 ;
23188 char *kwnames[] = {
23189 (char *) "self",(char *) "url", NULL
23190 };
23191
23192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
23193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23194 {
23195 arg2 = wxString_in_helper(obj1);
23196 if (arg2 == NULL) SWIG_fail;
423f194a 23197 temp2 = True;
d14a1e28
RD
23198 }
23199 {
23200 PyThreadState* __tstate = wxPyBeginAllowThreads();
23201 (arg1)->SetURL((wxString const &)*arg2);
23202
23203 wxPyEndAllowThreads(__tstate);
23204 if (PyErr_Occurred()) SWIG_fail;
23205 }
23206 Py_INCREF(Py_None); resultobj = Py_None;
23207 {
23208 if (temp2)
23209 delete arg2;
23210 }
23211 return resultobj;
23212 fail:
23213 {
23214 if (temp2)
23215 delete arg2;
23216 }
23217 return NULL;
23218}
23219
23220
23221static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
23222 PyObject *obj;
23223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23224 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
23225 Py_INCREF(obj);
23226 return Py_BuildValue((char *)"");
23227}
23228static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23229 PyObject *resultobj;
23230 wxMetafileDataObject *result;
23231 char *kwnames[] = {
23232 NULL
23233 };
23234
23235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
23236 {
23237 PyThreadState* __tstate = wxPyBeginAllowThreads();
23238 result = (wxMetafileDataObject *)new wxMetafileDataObject();
23239
23240 wxPyEndAllowThreads(__tstate);
23241 if (PyErr_Occurred()) SWIG_fail;
23242 }
23243 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMetafileDataObject, 1);
23244 return resultobj;
23245 fail:
23246 return NULL;
23247}
23248
23249
d14a1e28
RD
23250static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
23251 PyObject *obj;
23252 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23253 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
23254 Py_INCREF(obj);
23255 return Py_BuildValue((char *)"");
23256}
23257static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23258 PyObject *resultobj;
23259 int arg1 ;
23260 bool result;
23261 char *kwnames[] = {
23262 (char *) "res", NULL
23263 };
23264
23265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:IsDragResultOk",kwnames,&arg1)) goto fail;
23266 {
23267 PyThreadState* __tstate = wxPyBeginAllowThreads();
23268 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
23269
23270 wxPyEndAllowThreads(__tstate);
23271 if (PyErr_Occurred()) SWIG_fail;
23272 }
23273 resultobj = PyInt_FromLong((long)result);
23274 return resultobj;
23275 fail:
23276 return NULL;
23277}
23278
23279
23280static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23281 PyObject *resultobj;
eb9b6107 23282 wxWindow *arg1 = (wxWindow *) 0 ;
d14a1e28
RD
23283 wxCursor const &arg2_defvalue = wxNullCursor ;
23284 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
23285 wxCursor const &arg3_defvalue = wxNullCursor ;
23286 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
23287 wxCursor const &arg4_defvalue = wxNullCursor ;
23288 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
23289 wxPyDropSource *result;
23290 PyObject * obj0 = 0 ;
23291 PyObject * obj1 = 0 ;
23292 PyObject * obj2 = 0 ;
23293 PyObject * obj3 = 0 ;
23294 char *kwnames[] = {
23295 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
23296 };
23297
eb9b6107
RD
23298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
23300 if (obj1) {
23301 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23302 if (arg2 == NULL) {
23303 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23304 }
23305 }
23306 if (obj2) {
23307 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23308 if (arg3 == NULL) {
23309 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23310 }
23311 }
23312 if (obj3) {
23313 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23314 if (arg4 == NULL) {
23315 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23316 }
23317 }
23318 {
23319 PyThreadState* __tstate = wxPyBeginAllowThreads();
23320 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
23321
23322 wxPyEndAllowThreads(__tstate);
23323 if (PyErr_Occurred()) SWIG_fail;
23324 }
23325 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropSource, 1);
23326 return resultobj;
23327 fail:
23328 return NULL;
23329}
23330
23331
23332static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23333 PyObject *resultobj;
23334 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23335 PyObject *arg2 = (PyObject *) 0 ;
23336 PyObject *arg3 = (PyObject *) 0 ;
23337 int arg4 ;
23338 PyObject * obj0 = 0 ;
23339 PyObject * obj1 = 0 ;
23340 PyObject * obj2 = 0 ;
23341 char *kwnames[] = {
23342 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23343 };
23344
23345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOi:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
23346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23347 arg2 = obj1;
23348 arg3 = obj2;
23349 {
23350 PyThreadState* __tstate = wxPyBeginAllowThreads();
23351 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
23352
23353 wxPyEndAllowThreads(__tstate);
23354 if (PyErr_Occurred()) SWIG_fail;
23355 }
23356 Py_INCREF(Py_None); resultobj = Py_None;
23357 return resultobj;
23358 fail:
23359 return NULL;
23360}
23361
23362
23363static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
23364 PyObject *resultobj;
23365 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23366 PyObject * obj0 = 0 ;
23367 char *kwnames[] = {
23368 (char *) "self", NULL
23369 };
23370
23371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
23372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23373 {
23374 PyThreadState* __tstate = wxPyBeginAllowThreads();
23375 delete arg1;
23376
23377 wxPyEndAllowThreads(__tstate);
23378 if (PyErr_Occurred()) SWIG_fail;
23379 }
23380 Py_INCREF(Py_None); resultobj = Py_None;
23381 return resultobj;
23382 fail:
23383 return NULL;
23384}
23385
23386
23387static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23388 PyObject *resultobj;
23389 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23390 wxDataObject *arg2 = 0 ;
23391 PyObject * obj0 = 0 ;
23392 PyObject * obj1 = 0 ;
23393 char *kwnames[] = {
23394 (char *) "self",(char *) "data", NULL
23395 };
23396
23397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
23398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23399 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23400 if (arg2 == NULL) {
23401 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23402 }
23403 {
23404 PyThreadState* __tstate = wxPyBeginAllowThreads();
23405 (arg1)->SetData(*arg2);
23406
23407 wxPyEndAllowThreads(__tstate);
23408 if (PyErr_Occurred()) SWIG_fail;
23409 }
23410 Py_INCREF(Py_None); resultobj = Py_None;
23411 return resultobj;
23412 fail:
23413 return NULL;
23414}
23415
23416
23417static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23418 PyObject *resultobj;
23419 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23420 wxDataObject *result;
23421 PyObject * obj0 = 0 ;
23422 char *kwnames[] = {
23423 (char *) "self", NULL
23424 };
23425
23426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
23427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23428 {
23429 PyThreadState* __tstate = wxPyBeginAllowThreads();
23430 result = (wxDataObject *)(arg1)->GetDataObject();
23431
23432 wxPyEndAllowThreads(__tstate);
23433 if (PyErr_Occurred()) SWIG_fail;
23434 }
23435 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23436 return resultobj;
23437 fail:
23438 return NULL;
23439}
23440
23441
23442static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
23443 PyObject *resultobj;
23444 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23445 int arg2 ;
23446 wxCursor *arg3 = 0 ;
23447 PyObject * obj0 = 0 ;
23448 PyObject * obj2 = 0 ;
23449 char *kwnames[] = {
23450 (char *) "self",(char *) "res",(char *) "cursor", NULL
23451 };
23452
23453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:DropSource_SetCursor",kwnames,&obj0,&arg2,&obj2)) goto fail;
23454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23455 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23456 if (arg3 == NULL) {
23457 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23458 }
23459 {
23460 PyThreadState* __tstate = wxPyBeginAllowThreads();
23461 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
23462
23463 wxPyEndAllowThreads(__tstate);
23464 if (PyErr_Occurred()) SWIG_fail;
23465 }
23466 Py_INCREF(Py_None); resultobj = Py_None;
23467 return resultobj;
23468 fail:
23469 return NULL;
23470}
23471
23472
23473static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23474 PyObject *resultobj;
23475 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23476 int arg2 = (int) wxDrag_CopyOnly ;
23477 int result;
23478 PyObject * obj0 = 0 ;
23479 char *kwnames[] = {
23480 (char *) "self",(char *) "flags", NULL
23481 };
23482
23483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:DropSource_DoDragDrop",kwnames,&obj0,&arg2)) goto fail;
23484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23485 {
23486 PyThreadState* __tstate = wxPyBeginAllowThreads();
23487 result = (int)(arg1)->DoDragDrop(arg2);
23488
23489 wxPyEndAllowThreads(__tstate);
23490 if (PyErr_Occurred()) SWIG_fail;
23491 }
23492 resultobj = PyInt_FromLong((long)result);
23493 return resultobj;
23494 fail:
23495 return NULL;
23496}
23497
23498
23499static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
23500 PyObject *resultobj;
23501 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
23502 int arg2 ;
23503 bool result;
23504 PyObject * obj0 = 0 ;
23505 char *kwnames[] = {
23506 (char *) "self",(char *) "effect", NULL
23507 };
23508
23509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:DropSource_base_GiveFeedback",kwnames,&obj0,&arg2)) goto fail;
23510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23511 {
23512 PyThreadState* __tstate = wxPyBeginAllowThreads();
23513 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
23514
23515 wxPyEndAllowThreads(__tstate);
23516 if (PyErr_Occurred()) SWIG_fail;
23517 }
23518 resultobj = PyInt_FromLong((long)result);
23519 return resultobj;
23520 fail:
23521 return NULL;
23522}
23523
23524
23525static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
23526 PyObject *obj;
23527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23528 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
23529 Py_INCREF(obj);
23530 return Py_BuildValue((char *)"");
23531}
d03fd34d 23532static PyObject *_wrap_new_PyDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23533 PyObject *resultobj;
23534 wxDataObject *arg1 = (wxDataObject *) NULL ;
23535 wxPyDropTarget *result;
23536 PyObject * obj0 = 0 ;
23537 char *kwnames[] = {
23538 (char *) "dataObject", NULL
23539 };
23540
d03fd34d 23541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDropTarget",kwnames,&obj0)) goto fail;
d14a1e28
RD
23542 if (obj0) {
23543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23544 }
23545 {
23546 PyThreadState* __tstate = wxPyBeginAllowThreads();
23547 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
23548
23549 wxPyEndAllowThreads(__tstate);
23550 if (PyErr_Occurred()) SWIG_fail;
23551 }
23552 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 1);
23553 return resultobj;
23554 fail:
23555 return NULL;
23556}
23557
23558
23559static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23560 PyObject *resultobj;
23561 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23562 PyObject *arg2 = (PyObject *) 0 ;
23563 PyObject *arg3 = (PyObject *) 0 ;
23564 PyObject * obj0 = 0 ;
23565 PyObject * obj1 = 0 ;
23566 PyObject * obj2 = 0 ;
23567 char *kwnames[] = {
23568 (char *) "self",(char *) "self",(char *) "_class", NULL
23569 };
23570
23571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23573 arg2 = obj1;
23574 arg3 = obj2;
23575 {
23576 PyThreadState* __tstate = wxPyBeginAllowThreads();
23577 (arg1)->_setCallbackInfo(arg2,arg3);
23578
23579 wxPyEndAllowThreads(__tstate);
23580 if (PyErr_Occurred()) SWIG_fail;
23581 }
23582 Py_INCREF(Py_None); resultobj = Py_None;
23583 return resultobj;
23584 fail:
23585 return NULL;
23586}
23587
23588
23589static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23590 PyObject *resultobj;
23591 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23592 PyObject * obj0 = 0 ;
23593 char *kwnames[] = {
23594 (char *) "self", NULL
23595 };
23596
23597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
23598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23599 {
23600 PyThreadState* __tstate = wxPyBeginAllowThreads();
23601 delete arg1;
23602
23603 wxPyEndAllowThreads(__tstate);
23604 if (PyErr_Occurred()) SWIG_fail;
23605 }
23606 Py_INCREF(Py_None); resultobj = Py_None;
23607 return resultobj;
23608 fail:
23609 return NULL;
23610}
23611
23612
23613static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23614 PyObject *resultobj;
23615 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23616 wxDataObject *result;
23617 PyObject * obj0 = 0 ;
23618 char *kwnames[] = {
23619 (char *) "self", NULL
23620 };
23621
23622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
23623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23624 {
23625 PyThreadState* __tstate = wxPyBeginAllowThreads();
23626 result = (wxDataObject *)(arg1)->GetDataObject();
23627
23628 wxPyEndAllowThreads(__tstate);
23629 if (PyErr_Occurred()) SWIG_fail;
23630 }
23631 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
23632 return resultobj;
23633 fail:
23634 return NULL;
23635}
23636
23637
23638static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23639 PyObject *resultobj;
23640 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23641 wxDataObject *arg2 = (wxDataObject *) 0 ;
23642 PyObject * obj0 = 0 ;
23643 PyObject * obj1 = 0 ;
23644 char *kwnames[] = {
23645 (char *) "self",(char *) "dataObject", NULL
23646 };
23647
23648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
23649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23650 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23651 {
23652 PyThreadState* __tstate = wxPyBeginAllowThreads();
23653 (arg1)->SetDataObject(arg2);
23654
23655 wxPyEndAllowThreads(__tstate);
23656 if (PyErr_Occurred()) SWIG_fail;
23657 }
23658 Py_INCREF(Py_None); resultobj = Py_None;
23659 return resultobj;
23660 fail:
23661 return NULL;
23662}
23663
23664
23665static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23666 PyObject *resultobj;
23667 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
423f194a
RD
23668 int arg2 ;
23669 int arg3 ;
d14a1e28
RD
23670 int arg4 ;
23671 int result;
23672 PyObject * obj0 = 0 ;
23673 char *kwnames[] = {
23674 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23675 };
23676
23677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23679 {
23680 PyThreadState* __tstate = wxPyBeginAllowThreads();
23681 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23682
23683 wxPyEndAllowThreads(__tstate);
23684 if (PyErr_Occurred()) SWIG_fail;
23685 }
23686 resultobj = PyInt_FromLong((long)result);
23687 return resultobj;
23688 fail:
23689 return NULL;
23690}
23691
23692
23693static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23694 PyObject *resultobj;
23695 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
423f194a
RD
23696 int arg2 ;
23697 int arg3 ;
d14a1e28
RD
23698 int arg4 ;
23699 int result;
23700 PyObject * obj0 = 0 ;
23701 char *kwnames[] = {
23702 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23703 };
23704
23705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23707 {
23708 PyThreadState* __tstate = wxPyBeginAllowThreads();
23709 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23710
23711 wxPyEndAllowThreads(__tstate);
23712 if (PyErr_Occurred()) SWIG_fail;
23713 }
23714 resultobj = PyInt_FromLong((long)result);
23715 return resultobj;
23716 fail:
23717 return NULL;
23718}
23719
23720
23721static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23722 PyObject *resultobj;
23723 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23724 PyObject * obj0 = 0 ;
23725 char *kwnames[] = {
23726 (char *) "self", NULL
23727 };
23728
23729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23731 {
23732 PyThreadState* __tstate = wxPyBeginAllowThreads();
23733 (arg1)->base_OnLeave();
23734
23735 wxPyEndAllowThreads(__tstate);
23736 if (PyErr_Occurred()) SWIG_fail;
23737 }
23738 Py_INCREF(Py_None); resultobj = Py_None;
23739 return resultobj;
23740 fail:
23741 return NULL;
23742}
23743
23744
23745static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23746 PyObject *resultobj;
23747 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
423f194a
RD
23748 int arg2 ;
23749 int arg3 ;
d14a1e28
RD
23750 bool result;
23751 PyObject * obj0 = 0 ;
23752 char *kwnames[] = {
23753 (char *) "self",(char *) "x",(char *) "y", NULL
23754 };
23755
23756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:DropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23758 {
23759 PyThreadState* __tstate = wxPyBeginAllowThreads();
23760 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23761
23762 wxPyEndAllowThreads(__tstate);
23763 if (PyErr_Occurred()) SWIG_fail;
23764 }
23765 resultobj = PyInt_FromLong((long)result);
23766 return resultobj;
23767 fail:
23768 return NULL;
23769}
23770
23771
23772static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23773 PyObject *resultobj;
23774 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
23775 bool result;
23776 PyObject * obj0 = 0 ;
23777 char *kwnames[] = {
23778 (char *) "self", NULL
23779 };
23780
23781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
23782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23783 {
23784 PyThreadState* __tstate = wxPyBeginAllowThreads();
23785 result = (bool)(arg1)->GetData();
23786
23787 wxPyEndAllowThreads(__tstate);
23788 if (PyErr_Occurred()) SWIG_fail;
23789 }
23790 resultobj = PyInt_FromLong((long)result);
23791 return resultobj;
23792 fail:
23793 return NULL;
23794}
23795
23796
23797static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
23798 PyObject *obj;
23799 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23800 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
23801 Py_INCREF(obj);
23802 return Py_BuildValue((char *)"");
23803}
23804static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23805 PyObject *resultobj;
23806 wxPyTextDropTarget *result;
23807 char *kwnames[] = {
23808 NULL
23809 };
23810
23811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
23812 {
23813 PyThreadState* __tstate = wxPyBeginAllowThreads();
23814 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
23815
23816 wxPyEndAllowThreads(__tstate);
23817 if (PyErr_Occurred()) SWIG_fail;
23818 }
23819 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDropTarget, 1);
23820 return resultobj;
23821 fail:
23822 return NULL;
23823}
23824
23825
23826static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23827 PyObject *resultobj;
23828 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23829 PyObject *arg2 = (PyObject *) 0 ;
23830 PyObject *arg3 = (PyObject *) 0 ;
23831 PyObject * obj0 = 0 ;
23832 PyObject * obj1 = 0 ;
23833 PyObject * obj2 = 0 ;
23834 char *kwnames[] = {
23835 (char *) "self",(char *) "self",(char *) "_class", NULL
23836 };
23837
23838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23840 arg2 = obj1;
23841 arg3 = obj2;
23842 {
23843 PyThreadState* __tstate = wxPyBeginAllowThreads();
23844 (arg1)->_setCallbackInfo(arg2,arg3);
23845
23846 wxPyEndAllowThreads(__tstate);
23847 if (PyErr_Occurred()) SWIG_fail;
23848 }
23849 Py_INCREF(Py_None); resultobj = Py_None;
23850 return resultobj;
23851 fail:
23852 return NULL;
23853}
23854
23855
23856static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
23857 PyObject *resultobj;
23858 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
23859 int arg2 ;
23860 int arg3 ;
d14a1e28
RD
23861 int arg4 ;
23862 int result;
23863 PyObject * obj0 = 0 ;
23864 char *kwnames[] = {
23865 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23866 };
23867
23868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23870 {
23871 PyThreadState* __tstate = wxPyBeginAllowThreads();
23872 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
23873
23874 wxPyEndAllowThreads(__tstate);
23875 if (PyErr_Occurred()) SWIG_fail;
23876 }
23877 resultobj = PyInt_FromLong((long)result);
23878 return resultobj;
23879 fail:
23880 return NULL;
23881}
23882
23883
23884static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
23885 PyObject *resultobj;
23886 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
23887 int arg2 ;
23888 int arg3 ;
d14a1e28
RD
23889 int arg4 ;
23890 int result;
23891 PyObject * obj0 = 0 ;
23892 char *kwnames[] = {
23893 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23894 };
23895
23896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23898 {
23899 PyThreadState* __tstate = wxPyBeginAllowThreads();
23900 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
23901
23902 wxPyEndAllowThreads(__tstate);
23903 if (PyErr_Occurred()) SWIG_fail;
23904 }
23905 resultobj = PyInt_FromLong((long)result);
23906 return resultobj;
23907 fail:
23908 return NULL;
23909}
23910
23911
23912static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
23913 PyObject *resultobj;
23914 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
23915 PyObject * obj0 = 0 ;
23916 char *kwnames[] = {
23917 (char *) "self", NULL
23918 };
23919
23920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
23921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23922 {
23923 PyThreadState* __tstate = wxPyBeginAllowThreads();
23924 (arg1)->base_OnLeave();
23925
23926 wxPyEndAllowThreads(__tstate);
23927 if (PyErr_Occurred()) SWIG_fail;
23928 }
23929 Py_INCREF(Py_None); resultobj = Py_None;
23930 return resultobj;
23931 fail:
23932 return NULL;
23933}
23934
23935
23936static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
23937 PyObject *resultobj;
23938 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
23939 int arg2 ;
23940 int arg3 ;
d14a1e28
RD
23941 bool result;
23942 PyObject * obj0 = 0 ;
23943 char *kwnames[] = {
23944 (char *) "self",(char *) "x",(char *) "y", NULL
23945 };
23946
23947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
23948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23949 {
23950 PyThreadState* __tstate = wxPyBeginAllowThreads();
23951 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
23952
23953 wxPyEndAllowThreads(__tstate);
23954 if (PyErr_Occurred()) SWIG_fail;
23955 }
23956 resultobj = PyInt_FromLong((long)result);
23957 return resultobj;
23958 fail:
23959 return NULL;
23960}
23961
23962
23963static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
23964 PyObject *resultobj;
23965 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
423f194a
RD
23966 int arg2 ;
23967 int arg3 ;
d14a1e28
RD
23968 int arg4 ;
23969 int result;
23970 PyObject * obj0 = 0 ;
23971 char *kwnames[] = {
23972 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23973 };
23974
23975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:TextDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
23976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23977 {
23978 PyThreadState* __tstate = wxPyBeginAllowThreads();
23979 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
23980
23981 wxPyEndAllowThreads(__tstate);
23982 if (PyErr_Occurred()) SWIG_fail;
23983 }
23984 resultobj = PyInt_FromLong((long)result);
23985 return resultobj;
23986 fail:
23987 return NULL;
23988}
23989
23990
23991static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
23992 PyObject *obj;
23993 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23994 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
23995 Py_INCREF(obj);
23996 return Py_BuildValue((char *)"");
23997}
23998static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23999 PyObject *resultobj;
24000 wxPyFileDropTarget *result;
24001 char *kwnames[] = {
24002 NULL
24003 };
24004
24005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
24006 {
24007 PyThreadState* __tstate = wxPyBeginAllowThreads();
24008 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
24009
24010 wxPyEndAllowThreads(__tstate);
24011 if (PyErr_Occurred()) SWIG_fail;
24012 }
24013 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileDropTarget, 1);
24014 return resultobj;
24015 fail:
24016 return NULL;
24017}
24018
24019
24020static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24021 PyObject *resultobj;
24022 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24023 PyObject *arg2 = (PyObject *) 0 ;
24024 PyObject *arg3 = (PyObject *) 0 ;
24025 PyObject * obj0 = 0 ;
24026 PyObject * obj1 = 0 ;
24027 PyObject * obj2 = 0 ;
24028 char *kwnames[] = {
24029 (char *) "self",(char *) "self",(char *) "_class", NULL
24030 };
24031
24032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24034 arg2 = obj1;
24035 arg3 = obj2;
24036 {
24037 PyThreadState* __tstate = wxPyBeginAllowThreads();
24038 (arg1)->_setCallbackInfo(arg2,arg3);
24039
24040 wxPyEndAllowThreads(__tstate);
24041 if (PyErr_Occurred()) SWIG_fail;
24042 }
24043 Py_INCREF(Py_None); resultobj = Py_None;
24044 return resultobj;
24045 fail:
24046 return NULL;
24047}
24048
24049
24050static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
24051 PyObject *resultobj;
24052 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
24053 int arg2 ;
24054 int arg3 ;
d14a1e28
RD
24055 int arg4 ;
24056 int result;
24057 PyObject * obj0 = 0 ;
24058 char *kwnames[] = {
24059 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24060 };
24061
24062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24064 {
24065 PyThreadState* __tstate = wxPyBeginAllowThreads();
24066 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
24067
24068 wxPyEndAllowThreads(__tstate);
24069 if (PyErr_Occurred()) SWIG_fail;
24070 }
24071 resultobj = PyInt_FromLong((long)result);
24072 return resultobj;
24073 fail:
24074 return NULL;
24075}
24076
24077
24078static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
24079 PyObject *resultobj;
24080 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
24081 int arg2 ;
24082 int arg3 ;
d14a1e28
RD
24083 int arg4 ;
24084 int result;
24085 PyObject * obj0 = 0 ;
24086 char *kwnames[] = {
24087 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24088 };
24089
24090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24092 {
24093 PyThreadState* __tstate = wxPyBeginAllowThreads();
24094 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
24095
24096 wxPyEndAllowThreads(__tstate);
24097 if (PyErr_Occurred()) SWIG_fail;
24098 }
24099 resultobj = PyInt_FromLong((long)result);
24100 return resultobj;
24101 fail:
24102 return NULL;
24103}
24104
24105
24106static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
24107 PyObject *resultobj;
24108 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
24109 PyObject * obj0 = 0 ;
24110 char *kwnames[] = {
24111 (char *) "self", NULL
24112 };
24113
24114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
24115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24116 {
24117 PyThreadState* __tstate = wxPyBeginAllowThreads();
24118 (arg1)->base_OnLeave();
24119
24120 wxPyEndAllowThreads(__tstate);
24121 if (PyErr_Occurred()) SWIG_fail;
24122 }
24123 Py_INCREF(Py_None); resultobj = Py_None;
24124 return resultobj;
24125 fail:
24126 return NULL;
24127}
24128
24129
24130static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
24131 PyObject *resultobj;
24132 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
24133 int arg2 ;
24134 int arg3 ;
d14a1e28
RD
24135 bool result;
24136 PyObject * obj0 = 0 ;
24137 char *kwnames[] = {
24138 (char *) "self",(char *) "x",(char *) "y", NULL
24139 };
24140
24141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames,&obj0,&arg2,&arg3)) goto fail;
24142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24143 {
24144 PyThreadState* __tstate = wxPyBeginAllowThreads();
24145 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
24146
24147 wxPyEndAllowThreads(__tstate);
24148 if (PyErr_Occurred()) SWIG_fail;
24149 }
24150 resultobj = PyInt_FromLong((long)result);
24151 return resultobj;
24152 fail:
24153 return NULL;
24154}
24155
24156
24157static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
24158 PyObject *resultobj;
24159 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
423f194a
RD
24160 int arg2 ;
24161 int arg3 ;
d14a1e28
RD
24162 int arg4 ;
24163 int result;
24164 PyObject * obj0 = 0 ;
24165 char *kwnames[] = {
24166 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24167 };
24168
24169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:FileDropTarget_base_OnData",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
24170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24171 {
24172 PyThreadState* __tstate = wxPyBeginAllowThreads();
24173 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
24174
24175 wxPyEndAllowThreads(__tstate);
24176 if (PyErr_Occurred()) SWIG_fail;
24177 }
24178 resultobj = PyInt_FromLong((long)result);
24179 return resultobj;
24180 fail:
24181 return NULL;
24182}
24183
24184
24185static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
24186 PyObject *obj;
24187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24188 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
24189 Py_INCREF(obj);
24190 return Py_BuildValue((char *)"");
24191}
24192static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24193 PyObject *resultobj;
24194 wxClipboard *result;
24195 char *kwnames[] = {
24196 NULL
24197 };
24198
24199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
24200 {
24201 PyThreadState* __tstate = wxPyBeginAllowThreads();
24202 result = (wxClipboard *)new wxClipboard();
24203
24204 wxPyEndAllowThreads(__tstate);
24205 if (PyErr_Occurred()) SWIG_fail;
24206 }
24207 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboard, 1);
24208 return resultobj;
24209 fail:
24210 return NULL;
24211}
24212
24213
24214static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24215 PyObject *resultobj;
24216 wxClipboard *arg1 = (wxClipboard *) 0 ;
24217 PyObject * obj0 = 0 ;
24218 char *kwnames[] = {
24219 (char *) "self", NULL
24220 };
24221
24222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
24223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24224 {
24225 PyThreadState* __tstate = wxPyBeginAllowThreads();
24226 delete arg1;
24227
24228 wxPyEndAllowThreads(__tstate);
24229 if (PyErr_Occurred()) SWIG_fail;
24230 }
24231 Py_INCREF(Py_None); resultobj = Py_None;
24232 return resultobj;
24233 fail:
24234 return NULL;
24235}
24236
24237
24238static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
24239 PyObject *resultobj;
24240 wxClipboard *arg1 = (wxClipboard *) 0 ;
24241 bool result;
24242 PyObject * obj0 = 0 ;
24243 char *kwnames[] = {
24244 (char *) "self", NULL
24245 };
24246
24247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
24248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24249 {
24250 PyThreadState* __tstate = wxPyBeginAllowThreads();
24251 result = (bool)(arg1)->Open();
24252
24253 wxPyEndAllowThreads(__tstate);
24254 if (PyErr_Occurred()) SWIG_fail;
24255 }
24256 resultobj = PyInt_FromLong((long)result);
24257 return resultobj;
24258 fail:
24259 return NULL;
24260}
24261
24262
24263static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
24264 PyObject *resultobj;
24265 wxClipboard *arg1 = (wxClipboard *) 0 ;
24266 PyObject * obj0 = 0 ;
24267 char *kwnames[] = {
24268 (char *) "self", NULL
24269 };
24270
24271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
24272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24273 {
24274 PyThreadState* __tstate = wxPyBeginAllowThreads();
24275 (arg1)->Close();
24276
24277 wxPyEndAllowThreads(__tstate);
24278 if (PyErr_Occurred()) SWIG_fail;
24279 }
24280 Py_INCREF(Py_None); resultobj = Py_None;
24281 return resultobj;
24282 fail:
24283 return NULL;
24284}
24285
24286
24287static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
24288 PyObject *resultobj;
24289 wxClipboard *arg1 = (wxClipboard *) 0 ;
24290 bool result;
24291 PyObject * obj0 = 0 ;
24292 char *kwnames[] = {
24293 (char *) "self", NULL
24294 };
24295
24296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
24297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24298 {
24299 PyThreadState* __tstate = wxPyBeginAllowThreads();
24300 result = (bool)((wxClipboard const *)arg1)->IsOpened();
24301
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 resultobj = PyInt_FromLong((long)result);
24306 return resultobj;
24307 fail:
24308 return NULL;
24309}
24310
24311
24312static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
24313 PyObject *resultobj;
24314 wxClipboard *arg1 = (wxClipboard *) 0 ;
24315 wxDataObject *arg2 = (wxDataObject *) 0 ;
24316 bool result;
24317 PyObject * obj0 = 0 ;
24318 PyObject * obj1 = 0 ;
24319 char *kwnames[] = {
24320 (char *) "self",(char *) "data", NULL
24321 };
24322
24323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
24324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24326 {
24327 PyThreadState* __tstate = wxPyBeginAllowThreads();
24328 result = (bool)(arg1)->AddData(arg2);
24329
24330 wxPyEndAllowThreads(__tstate);
24331 if (PyErr_Occurred()) SWIG_fail;
24332 }
24333 resultobj = PyInt_FromLong((long)result);
24334 return resultobj;
24335 fail:
24336 return NULL;
24337}
24338
24339
24340static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24341 PyObject *resultobj;
24342 wxClipboard *arg1 = (wxClipboard *) 0 ;
24343 wxDataObject *arg2 = (wxDataObject *) 0 ;
24344 bool result;
24345 PyObject * obj0 = 0 ;
24346 PyObject * obj1 = 0 ;
24347 char *kwnames[] = {
24348 (char *) "self",(char *) "data", NULL
24349 };
24350
24351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
24352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24353 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24354 {
24355 PyThreadState* __tstate = wxPyBeginAllowThreads();
24356 result = (bool)(arg1)->SetData(arg2);
24357
24358 wxPyEndAllowThreads(__tstate);
24359 if (PyErr_Occurred()) SWIG_fail;
24360 }
24361 resultobj = PyInt_FromLong((long)result);
24362 return resultobj;
24363 fail:
24364 return NULL;
24365}
24366
24367
24368static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24369 PyObject *resultobj;
24370 wxClipboard *arg1 = (wxClipboard *) 0 ;
24371 wxDataFormat *arg2 = 0 ;
24372 bool result;
24373 PyObject * obj0 = 0 ;
24374 PyObject * obj1 = 0 ;
24375 char *kwnames[] = {
24376 (char *) "self",(char *) "format", NULL
24377 };
24378
24379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
24380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24381 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24382 if (arg2 == NULL) {
24383 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24384 }
24385 {
24386 PyThreadState* __tstate = wxPyBeginAllowThreads();
24387 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
24388
24389 wxPyEndAllowThreads(__tstate);
24390 if (PyErr_Occurred()) SWIG_fail;
24391 }
24392 resultobj = PyInt_FromLong((long)result);
24393 return resultobj;
24394 fail:
24395 return NULL;
24396}
24397
24398
24399static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24400 PyObject *resultobj;
24401 wxClipboard *arg1 = (wxClipboard *) 0 ;
24402 wxDataObject *arg2 = 0 ;
24403 bool result;
24404 PyObject * obj0 = 0 ;
24405 PyObject * obj1 = 0 ;
24406 char *kwnames[] = {
24407 (char *) "self",(char *) "data", NULL
24408 };
24409
24410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
24411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24412 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24413 if (arg2 == NULL) {
24414 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24415 }
24416 {
24417 PyThreadState* __tstate = wxPyBeginAllowThreads();
24418 result = (bool)(arg1)->GetData(*arg2);
24419
24420 wxPyEndAllowThreads(__tstate);
24421 if (PyErr_Occurred()) SWIG_fail;
24422 }
24423 resultobj = PyInt_FromLong((long)result);
24424 return resultobj;
24425 fail:
24426 return NULL;
24427}
24428
24429
24430static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
24431 PyObject *resultobj;
24432 wxClipboard *arg1 = (wxClipboard *) 0 ;
24433 PyObject * obj0 = 0 ;
24434 char *kwnames[] = {
24435 (char *) "self", NULL
24436 };
24437
24438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
24439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24440 {
24441 PyThreadState* __tstate = wxPyBeginAllowThreads();
24442 (arg1)->Clear();
24443
24444 wxPyEndAllowThreads(__tstate);
24445 if (PyErr_Occurred()) SWIG_fail;
24446 }
24447 Py_INCREF(Py_None); resultobj = Py_None;
24448 return resultobj;
24449 fail:
24450 return NULL;
24451}
24452
24453
24454static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
24455 PyObject *resultobj;
24456 wxClipboard *arg1 = (wxClipboard *) 0 ;
24457 bool result;
24458 PyObject * obj0 = 0 ;
24459 char *kwnames[] = {
24460 (char *) "self", NULL
24461 };
24462
24463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
24464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24465 {
24466 PyThreadState* __tstate = wxPyBeginAllowThreads();
24467 result = (bool)(arg1)->Flush();
24468
24469 wxPyEndAllowThreads(__tstate);
24470 if (PyErr_Occurred()) SWIG_fail;
24471 }
24472 resultobj = PyInt_FromLong((long)result);
24473 return resultobj;
24474 fail:
24475 return NULL;
24476}
24477
24478
24479static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
24480 PyObject *resultobj;
24481 wxClipboard *arg1 = (wxClipboard *) 0 ;
423f194a 24482 bool arg2 = (bool) False ;
d14a1e28
RD
24483 PyObject * obj0 = 0 ;
24484 PyObject * obj1 = 0 ;
24485 char *kwnames[] = {
24486 (char *) "self",(char *) "primary", NULL
24487 };
24488
24489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
24490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24491 if (obj1) {
24492 arg2 = PyInt_AsLong(obj1) ? true : false;
24493 if (PyErr_Occurred()) SWIG_fail;
24494 }
24495 {
24496 PyThreadState* __tstate = wxPyBeginAllowThreads();
24497 (arg1)->UsePrimarySelection(arg2);
24498
24499 wxPyEndAllowThreads(__tstate);
24500 if (PyErr_Occurred()) SWIG_fail;
24501 }
24502 Py_INCREF(Py_None); resultobj = Py_None;
24503 return resultobj;
24504 fail:
24505 return NULL;
24506}
24507
24508
24509static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
24510 PyObject *obj;
24511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24512 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
24513 Py_INCREF(obj);
24514 return Py_BuildValue((char *)"");
24515}
24516static int _wrap_TheClipboard_set(PyObject *_val) {
24517 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
24518 return 1;
24519}
24520
24521
24522static PyObject *_wrap_TheClipboard_get() {
24523 PyObject *pyobj;
24524
24525 pyobj = SWIG_NewPointerObj((void *) wxTheClipboard, SWIGTYPE_p_wxClipboard, 0);
24526 return pyobj;
24527}
24528
24529
24530static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24531 PyObject *resultobj;
24532 wxClipboard *arg1 = (wxClipboard *) NULL ;
24533 wxClipboardLocker *result;
24534 PyObject * obj0 = 0 ;
24535 char *kwnames[] = {
24536 (char *) "clipboard", NULL
24537 };
24538
24539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
24540 if (obj0) {
24541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24542 }
24543 {
24544 PyThreadState* __tstate = wxPyBeginAllowThreads();
24545 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
24546
24547 wxPyEndAllowThreads(__tstate);
24548 if (PyErr_Occurred()) SWIG_fail;
24549 }
24550 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboardLocker, 1);
24551 return resultobj;
24552 fail:
24553 return NULL;
24554}
24555
24556
24557static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
24558 PyObject *resultobj;
24559 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24560 PyObject * obj0 = 0 ;
24561 char *kwnames[] = {
24562 (char *) "self", NULL
24563 };
24564
24565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
24566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24567 {
24568 PyThreadState* __tstate = wxPyBeginAllowThreads();
24569 delete arg1;
24570
24571 wxPyEndAllowThreads(__tstate);
24572 if (PyErr_Occurred()) SWIG_fail;
24573 }
24574 Py_INCREF(Py_None); resultobj = Py_None;
24575 return resultobj;
24576 fail:
24577 return NULL;
24578}
24579
24580
24581static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
24582 PyObject *resultobj;
24583 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
24584 bool result;
24585 PyObject * obj0 = 0 ;
24586 char *kwnames[] = {
24587 (char *) "self", NULL
24588 };
24589
24590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
24591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24592 {
24593 PyThreadState* __tstate = wxPyBeginAllowThreads();
24594 result = (bool)wxClipboardLocker___nonzero__(arg1);
24595
24596 wxPyEndAllowThreads(__tstate);
24597 if (PyErr_Occurred()) SWIG_fail;
24598 }
24599 resultobj = PyInt_FromLong((long)result);
24600 return resultobj;
24601 fail:
24602 return NULL;
24603}
24604
24605
24606static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
24607 PyObject *obj;
24608 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24609 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
24610 Py_INCREF(obj);
24611 return Py_BuildValue((char *)"");
24612}
24613static PyMethodDef SwigMethods[] = {
24614 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
24621 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
24628 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
d03fd34d 24681 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24682 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
24688 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
24696 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
d14a1e28 24700 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
44127b65 24701 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28 24702 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
44127b65 24703 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24704 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
24712 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
24717 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
24720 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
24723 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
24729 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
24743 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
24749 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
24755 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
24758 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
44127b65 24762 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24763 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24766 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
f0983263 24769 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24770 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
24771 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
24774 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
24775 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
24778 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
24805 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
24807 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
24809 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
24811 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
24818 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
24824 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
f0983263 24836 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
d14a1e28
RD
24837 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
24842 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
24845 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
24862 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
24870 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
24916 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
24944 { (char *)"new_Wave", (PyCFunction) _wrap_new_Wave, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"new_WaveData", (PyCFunction) _wrap_new_WaveData, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"delete_Wave", (PyCFunction) _wrap_delete_Wave, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"Wave_IsOk", (PyCFunction) _wrap_Wave_IsOk, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"Wave_Play", (PyCFunction) _wrap_Wave_Play, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"Wave_swigregister", Wave_swigregister, METH_VARARGS },
24950 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
24966 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
24982 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
24996 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
24997 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
41f1cec7 25003 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
25004 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
25005 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
25048 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
25052 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
25055 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
25058 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
25099 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
25105 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
25115 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
25125 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
25126 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
25127 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
25128 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
25129 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
25130 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
25131 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
25133 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
25134 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
25137 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
25143 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
25144 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
25147 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
25148 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
25149 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
25150 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
25151 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
25152 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
25153 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
25154 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
25155 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
25156 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
25157 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
25158 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
25159 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
25161 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
25163 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
25165 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
25167 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
25169 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
25170 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
25171 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
25172 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
25174 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
25175 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
25176 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
25177 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
25178 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
25180 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
25181 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
25182 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
25183 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
25184 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
25185 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
25186 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
25187 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
25188 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
25189 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
25190 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
25192 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
25193 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
25194 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
25195 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
25196 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
25197 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
25198 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
25199 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
25200 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
25201 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
25202 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
25203 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
25204 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
25205 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
25206 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
25207 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
25208 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
25209 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
25210 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
25211 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
25212 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
25213 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
25214 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
25215 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
25216 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
25217 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
25218 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
25220 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
25221 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
25222 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
25223 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
25224 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
25225 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
25226 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
25227 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
25228 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
25229 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
25230 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
25231 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
25232 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
25233 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
25234 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
25235 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
25237 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
25238 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
25239 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
25240 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
25241 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
25242 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
25243 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
25244 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
25245 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
25246 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
25247 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
25248 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
25249 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
25250 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
25251 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
25252 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
25253 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
25254 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
25255 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
25256 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
25257 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
25258 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
25259 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
25260 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
25261 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
25262 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
25263 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
25264 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
25265 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
25266 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
25267 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
25268 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
25269 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
25270 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
25271 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
25272 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
25273 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
25274 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
25275 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
25276 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
25277 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25278 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
25279 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
25280 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
25281 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
25282 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
25283 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
25284 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
25285 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
25286 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
25287 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
25288 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25289 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
25290 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
25291 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25292 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25293 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
25294 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
25295 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25296 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
25297 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
25298 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
25299 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS },
25300 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
25301 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
25302 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
25303 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
25304 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
25305 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
25306 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
25307 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
25308 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
25309 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
25310 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
25311 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
25312 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
25313 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
25314 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
25315 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25316 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
25317 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
25318 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25319 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
25320 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
25321 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
25322 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
d03fd34d 25323 { (char *)"new_PyDropTarget", (PyCFunction) _wrap_new_PyDropTarget, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
25324 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25325 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
25326 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
25327 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
25328 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25329 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25330 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25331 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25332 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
25333 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
25334 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
25335 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25336 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25337 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25338 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25339 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25340 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25341 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
25342 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
25343 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25344 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
25345 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
25346 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
25347 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
25348 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
25349 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
25350 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
25351 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
25352 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
25353 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
25354 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
25355 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
25356 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
25357 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
25358 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
25359 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
25360 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
25361 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
25362 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
25363 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25364 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
25365 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
25366 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
25367 { NULL, NULL }
25368};
25369
25370
25371/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25372
25373static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25374 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25375}
25376static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25377 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25378}
25379static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25380 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25381}
25382static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25383 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25384}
25385static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25386 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25387}
25388static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25389 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25390}
25391static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
25392 return (void *)((wxEvent *) ((wxTimerEvent *) x));
25393}
25394static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25395 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25396}
25397static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25398 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25399}
25400static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25401 return (void *)((wxEvent *) ((wxPyEvent *) x));
25402}
25403static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25404 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25405}
25406static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
25407 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
25408}
25409static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25410 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25411}
25412static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25413 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25414}
25415static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25416 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25417}
25418static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25419 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25420}
25421static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25422 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25423}
25424static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25425 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25426}
25427static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25428 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25429}
25430static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25431 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25432}
25433static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25434 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25435}
25436static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25437 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25438}
25439static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25440 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25441}
25442static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25443 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25444}
25445static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25446 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25447}
25448static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25449 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25450}
25451static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25452 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25453}
25454static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25455 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25456}
25457static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25458 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25459}
25460static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25461 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25462}
25463static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
25464 return (void *)((wxEvent *) ((wxProcessEvent *) x));
25465}
25466static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25467 return (void *)((wxEvent *) ((wxShowEvent *) x));
25468}
25469static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25470 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25471}
25472static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25473 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25474}
25475static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25476 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25477}
25478static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25479 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25480}
25481static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25482 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25483}
25484static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25485 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25486}
25487static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
25488 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
25489}
25490static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
25491 return (void *)((wxConfigBase *) ((wxConfig *) x));
25492}
25493static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
25494 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25495}
25496static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
25497 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
25498}
25499static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
25500 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
25501}
25502static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
25503 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25504}
25505static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
25506 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
25507}
25508static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
25509 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
25510}
25511static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
25512 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
25513}
25514static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
25515 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25516}
25517static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
25518 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25519}
25520static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
25521 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
25522}
25523static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
25524 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
25525}
25526static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
25527 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
25528}
25529static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
25530 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25531}
25532static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
25533 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
25534}
25535static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
25536 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
25537}
25538static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25539 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
25540}
25541static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
25542 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
25543}
25544static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25545 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
25546}
25547static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
25548 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
25549}
25550static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
25551 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
25552}
25553static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
25554 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
25555}
25556static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
25557 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
25558}
25559static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25560 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25561}
25562static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25563 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25564}
25565static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25566 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25567}
25568static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25569 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25570}
25571static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
25572 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
25573}
25574static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25575 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25576}
25577static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25578 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25579}
25580static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25581 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25582}
25583static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25584 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25585}
25586static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
25587 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
25588}
25589static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
25590 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
25591}
25592static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25593 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25594}
25595static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25596 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25597}
25598static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25599 return (void *)((wxObject *) ((wxSizerItem *) x));
25600}
25601static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25602 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25603}
25604static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25605 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25606}
25607static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25608 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25609}
25610static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25611 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25612}
25613static void *_p_wxSizerTo_p_wxObject(void *x) {
25614 return (void *)((wxObject *) ((wxSizer *) x));
25615}
25616static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25617 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25618}
25619static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
25620 return (void *)((wxObject *) ((wxFileHistory *) x));
25621}
25622static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25623 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25624}
25625static void *_p_wxEventTo_p_wxObject(void *x) {
25626 return (void *)((wxObject *) ((wxEvent *) x));
25627}
25628static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25629 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25630}
25631static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25632 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25633}
25634static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25635 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25636}
25637static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25638 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25639}
25640static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25641 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25642}
25643static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25644 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25645}
25646static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25647 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25648}
25649static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25650 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25651}
25652static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25653 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25654}
25655static void *_p_wxControlTo_p_wxObject(void *x) {
25656 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25657}
25658static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25659 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25660}
25661static void *_p_wxTimerEventTo_p_wxObject(void *x) {
25662 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
25663}
25664static void *_p_wxFSFileTo_p_wxObject(void *x) {
25665 return (void *)((wxObject *) ((wxFSFile *) x));
25666}
25667static void *_p_wxClipboardTo_p_wxObject(void *x) {
25668 return (void *)((wxObject *) ((wxClipboard *) x));
25669}
25670static void *_p_wxPySizerTo_p_wxObject(void *x) {
25671 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25672}
25673static void *_p_wxPyEventTo_p_wxObject(void *x) {
25674 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25675}
25676static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25677 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25678}
25679static void *_p_wxShowEventTo_p_wxObject(void *x) {
25680 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25681}
25682static void *_p_wxToolTipTo_p_wxObject(void *x) {
25683 return (void *)((wxObject *) ((wxToolTip *) x));
25684}
25685static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25686 return (void *)((wxObject *) ((wxMenuItem *) x));
25687}
25688static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25689 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25690}
25691static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25692 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25693}
25694static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25695 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25696}
25697static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25698 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25699}
25700static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25701 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25702}
25703static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25704 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25705}
25706static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25707 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25708}
25709static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25710 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25711}
25712static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25713 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25714}
25715static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25716 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25717}
25718static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25719 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25720}
25721static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25722 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25723}
25724static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25725 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25726}
25727static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25728 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25729}
25730static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25731 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25732}
25733static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25734 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25735}
25736static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25737 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25738}
25739static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25740 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25741}
25742static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25743 return (void *)((wxObject *) ((wxImageHandler *) x));
25744}
25745static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25746 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25747}
25748static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25749 return (void *)((wxObject *) ((wxEvtHandler *) x));
25750}
41f1cec7
RD
25751static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25752 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25753}
d14a1e28
RD
25754static void *_p_wxImageTo_p_wxObject(void *x) {
25755 return (void *)((wxObject *) ((wxImage *) x));
25756}
25757static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25758 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25759}
25760static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
25761 return (void *)((wxObject *) ((wxSystemOptions *) x));
25762}
25763static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
25764 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
25765}
25766static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25767 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25768}
25769static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25770 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25771}
25772static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25773 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25774}
25775static void *_p_wxWindowTo_p_wxObject(void *x) {
25776 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25777}
25778static void *_p_wxMenuTo_p_wxObject(void *x) {
25779 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25780}
25781static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25783}
25784static void *_p_wxPyProcessTo_p_wxObject(void *x) {
25785 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
25786}
25787static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25788 return (void *)((wxObject *) ((wxFileSystem *) x));
25789}
25790static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25791 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25792}
25793static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25794 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25795}
25796static void *_p_wxPyAppTo_p_wxObject(void *x) {
25797 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25798}
25799static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25800 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25801}
25802static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25803 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25804}
25805static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25806 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25807}
25808static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
25809 return (void *)((wxObject *) ((wxBusyInfo *) x));
25810}
25811static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25812 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25813}
25814static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25815 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25816}
25817static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25818 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25819}
25820static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25821 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25822}
25823static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25824 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25825}
25826static void *_p_wxProcessEventTo_p_wxObject(void *x) {
25827 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
25828}
25829static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25830 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25831}
25832static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25833 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25834}
25835static void *_p_wxValidatorTo_p_wxObject(void *x) {
25836 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25837}
25838static void *_p_wxPyTimerTo_p_wxObject(void *x) {
25839 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
25840}
25841static void *_p_wxLogStderrTo_p_wxLog(void *x) {
25842 return (void *)((wxLog *) ((wxLogStderr *) x));
25843}
25844static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
25845 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
25846}
25847static void *_p_wxLogWindowTo_p_wxLog(void *x) {
25848 return (void *)((wxLog *) ((wxLogWindow *) x));
25849}
25850static void *_p_wxLogChainTo_p_wxLog(void *x) {
25851 return (void *)((wxLog *) ((wxLogChain *) x));
25852}
25853static void *_p_wxLogGuiTo_p_wxLog(void *x) {
25854 return (void *)((wxLog *) ((wxLogGui *) x));
25855}
25856static void *_p_wxPyLogTo_p_wxLog(void *x) {
25857 return (void *)((wxLog *) ((wxPyLog *) x));
25858}
25859static void *_p_wxControlTo_p_wxWindow(void *x) {
25860 return (void *)((wxWindow *) ((wxControl *) x));
25861}
25862static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25863 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25864}
25865static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25866 return (void *)((wxWindow *) ((wxMenuBar *) x));
25867}
25868static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
25869 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
25870}
25871static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
25872 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
25873}
25874static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
25875static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
d14a1e28
RD
25876static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
25877static 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}};
25878static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
25879static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
25880static 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}};
25881static 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}};
25882static swig_type_info _swigt__p_wxWave[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
25883static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
25884static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
25885static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
25886static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
25887static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
25888static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
25889static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
25890static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
25891static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
25892static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
25893static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
25894static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
25895static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
25896static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
25897static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
25898static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
25899static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
25900static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
25901static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
25902static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
25903static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject},{0}};
25904static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject},{0}};
25905static 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}};
25906static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
25907static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
25908static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
25909static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
25910static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
25911static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
25912static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
25913static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
25914static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
25915static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite},{0}};
25916static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
25917static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
25918static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
25919static 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}};
25920static 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}};
25921static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
25922static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
25923static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
25924static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
25925static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
25926static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
25927static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
25928static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
25929static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider},{0}};
25930static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
25931static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
25932static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
25933static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
25934static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
41f1cec7 25935static 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
25936static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
25937static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
25938static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
25939static 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}};
25940static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
25941static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
25942static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
25943static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
25944static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
25945static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
25946static 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}};
25947static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
25948static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
25949static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
25950static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
25951static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
25952static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
25953static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
25954static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
25955static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
25956
25957static swig_type_info *swig_types_initial[] = {
25958_swigt__p_wxLogChain,
25959_swigt__p_wxMutexGuiLocker,
d14a1e28
RD
25960_swigt__p_wxFileHistory,
25961_swigt__p_wxLog,
25962_swigt__p_wxDateTime__TimeZone,
25963_swigt__p_wxMenu,
25964_swigt__p_wxEvent,
25965_swigt__p_wxConfigBase,
25966_swigt__p_wxWave,
25967_swigt__p_wxFileType,
25968_swigt__p_wxLogGui,
25969_swigt__p_wxFont,
25970_swigt__p_wxDataFormat,
25971_swigt__p_wxTimerEvent,
25972_swigt__p_wxCaret,
25973_swigt__p_int,
25974_swigt__p_wxSize,
25975_swigt__p_wxClipboard,
25976_swigt__p_wxStopWatch,
25977_swigt__p_wxDC,
25978_swigt__p_wxClipboardLocker,
25979_swigt__p_wxIcon,
25980_swigt__p_wxLogStderr,
25981_swigt__p_wxLogTextCtrl,
25982_swigt__p_wxTextCtrl,
25983_swigt__p_wxBusyCursor,
25984_swigt__p_wxFileDataObject,
25985_swigt__p_wxPyBitmapDataObject,
25986_swigt__p_wxPyTextDataObject,
25987_swigt__p_wxBitmapDataObject,
25988_swigt__p_wxTextDataObject,
25989_swigt__p_wxDataObject,
25990_swigt__p_wxCustomDataObject,
25991_swigt__p_wxURLDataObject,
25992_swigt__p_wxMetafileDataObject,
25993_swigt__p_wxTimerRunner,
25994_swigt__p_wxLogWindow,
25995_swigt__p_wxTimeSpan,
25996_swigt__p_wxArrayString,
25997_swigt__p_wxWindowDisabler,
25998_swigt__p_wxToolTip,
25999_swigt__p_wxDataObjectComposite,
26000_swigt__p_wxFileConfig,
26001_swigt__p_wxSystemSettings,
26002_swigt__p_wxPyDataObjectSimple,
26003_swigt__p_wxDataObjectSimple,
26004_swigt__p_wxEvtHandler,
26005_swigt__p_wxRect,
26006_swigt__p_wxSingleInstanceChecker,
26007_swigt__p_wxFileTypeInfo,
26008_swigt__p_wxFrame,
26009_swigt__p_wxTimer,
26010_swigt__p_wxMimeTypesManager,
26011_swigt__p_wxPyArtProvider,
26012_swigt__p_wxPyTipProvider,
26013_swigt__p_wxTipProvider,
26014_swigt__p_wxJoystick,
26015_swigt__p_wxSystemOptions,
26016_swigt__p_wxPoint,
26017_swigt__p_wxJoystickEvent,
26018_swigt__p_wxCursor,
26019_swigt__p_wxObject,
26020_swigt__p_wxOutputStream,
26021_swigt__p_wxDateTime,
26022_swigt__p_wxPyDropSource,
26023_swigt__p_wxWindow,
26024_swigt__p_wxString,
26025_swigt__p_wxPyProcess,
26026_swigt__p_wxBitmap,
26027_swigt__p_wxConfig,
26028_swigt__p_wxChar,
26029_swigt__p_wxBusyInfo,
26030_swigt__p_wxPyDropTarget,
26031_swigt__p_wxPyTextDropTarget,
26032_swigt__p_wxPyFileDropTarget,
26033_swigt__p_wxProcessEvent,
26034_swigt__p_wxPyLog,
26035_swigt__p_wxLogNull,
26036_swigt__p_wxColour,
26037_swigt__p_wxConfigPathChanger,
26038_swigt__p_wxPyTimer,
26039_swigt__p_wxDateSpan,
260400
26041};
26042
26043
26044/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26045
26046static swig_const_info swig_const_table[] = {
26047{ SWIG_PY_INT, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT, 0, 0, 0},
26048{ SWIG_PY_INT, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT, 0, 0, 0},
26049{ SWIG_PY_INT, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT, 0, 0, 0},
26050{ SWIG_PY_INT, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT, 0, 0, 0},
26051{ SWIG_PY_INT, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT, 0, 0, 0},
26052{ SWIG_PY_INT, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE, 0, 0, 0},
26053{ SWIG_PY_INT, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT, 0, 0, 0},
26054{ SWIG_PY_INT, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT, 0, 0, 0},
26055{ SWIG_PY_INT, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT, 0, 0, 0},
26056{ SWIG_PY_INT, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR, 0, 0, 0},
26057{ SWIG_PY_INT, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND, 0, 0, 0},
26058{ SWIG_PY_INT, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP, 0, 0, 0},
26059{ SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION, 0, 0, 0},
26060{ SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION, 0, 0, 0},
26061{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU, 0, 0, 0},
26062{ SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW, 0, 0, 0},
26063{ SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME, 0, 0, 0},
26064{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT, 0, 0, 0},
26065{ SWIG_PY_INT, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT, 0, 0, 0},
26066{ SWIG_PY_INT, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT, 0, 0, 0},
26067{ SWIG_PY_INT, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER, 0, 0, 0},
26068{ SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER, 0, 0, 0},
26069{ SWIG_PY_INT, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE, 0, 0, 0},
26070{ SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT, 0, 0, 0},
26071{ SWIG_PY_INT, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT, 0, 0, 0},
26072{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE, 0, 0, 0},
26073{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE, 0, 0, 0},
26074{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW, 0, 0, 0},
26075{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW, 0, 0, 0},
26076{ SWIG_PY_INT, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT, 0, 0, 0},
26077{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT, 0, 0, 0},
26078{ SWIG_PY_INT, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT, 0, 0, 0},
26079{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT, 0, 0, 0},
26080{ SWIG_PY_INT, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT, 0, 0, 0},
26081{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT, 0, 0, 0},
26082{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT, 0, 0, 0},
26083{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW, 0, 0, 0},
26084{ SWIG_PY_INT, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT, 0, 0, 0},
26085{ SWIG_PY_INT, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT, 0, 0, 0},
26086{ SWIG_PY_INT, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK, 0, 0, 0},
26087{ SWIG_PY_INT, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX, 0, 0, 0},
26088{ SWIG_PY_INT, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT, 0, 0, 0},
26089{ SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION, 0, 0, 0},
26090{ SWIG_PY_INT, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION, 0, 0, 0},
26091{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT, 0, 0, 0},
26092{ SWIG_PY_INT, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR, 0, 0, 0},
26093{ SWIG_PY_INT, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX, 0, 0, 0},
26094{ SWIG_PY_INT, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS, 0, 0, 0},
26095{ SWIG_PY_INT, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X, 0, 0, 0},
26096{ SWIG_PY_INT, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y, 0, 0, 0},
26097{ SWIG_PY_INT, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X, 0, 0, 0},
26098{ SWIG_PY_INT, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y, 0, 0, 0},
26099{ SWIG_PY_INT, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X, 0, 0, 0},
26100{ SWIG_PY_INT, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y, 0, 0, 0},
26101{ SWIG_PY_INT, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X, 0, 0, 0},
26102{ SWIG_PY_INT, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y, 0, 0, 0},
26103{ SWIG_PY_INT, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X, 0, 0, 0},
26104{ SWIG_PY_INT, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y, 0, 0, 0},
26105{ SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X, 0, 0, 0},
26106{ SWIG_PY_INT, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y, 0, 0, 0},
26107{ SWIG_PY_INT, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X, 0, 0, 0},
26108{ SWIG_PY_INT, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X, 0, 0, 0},
26109{ SWIG_PY_INT, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y, 0, 0, 0},
26110{ SWIG_PY_INT, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X, 0, 0, 0},
26111{ SWIG_PY_INT, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y, 0, 0, 0},
26112{ SWIG_PY_INT, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X, 0, 0, 0},
26113{ SWIG_PY_INT, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y, 0, 0, 0},
26114{ SWIG_PY_INT, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X, 0, 0, 0},
26115{ SWIG_PY_INT, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y, 0, 0, 0},
26116{ SWIG_PY_INT, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X, 0, 0, 0},
26117{ SWIG_PY_INT, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y, 0, 0, 0},
26118{ SWIG_PY_INT, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X, 0, 0, 0},
26119{ SWIG_PY_INT, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y, 0, 0, 0},
26120{ SWIG_PY_INT, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y, 0, 0, 0},
26121{ SWIG_PY_INT, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X, 0, 0, 0},
26122{ SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X, 0, 0, 0},
26123{ SWIG_PY_INT, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y, 0, 0, 0},
26124{ SWIG_PY_INT, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y, 0, 0, 0},
26125{ SWIG_PY_INT, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y, 0, 0, 0},
26126{ SWIG_PY_INT, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y, 0, 0, 0},
26127{ SWIG_PY_INT, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT, 0, 0, 0},
26128{ SWIG_PY_INT, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT, 0, 0, 0},
26129{ SWIG_PY_INT, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS, 0, 0, 0},
26130{ SWIG_PY_INT, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS, 0, 0, 0},
26131{ SWIG_PY_INT, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS, 0, 0, 0},
26132{ SWIG_PY_INT, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME, 0, 0, 0},
26133{ SWIG_PY_INT, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE, 0, 0, 0},
26134{ SWIG_PY_INT, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY, 0, 0, 0},
26135{ SWIG_PY_INT, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA, 0, 0, 0},
26136{ SWIG_PY_INT, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL, 0, 0, 0},
26137{ SWIG_PY_INT, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP, 0, 0, 0},
26138{ SWIG_PY_INT, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF, 0, 0, 0},
26139{ SWIG_PY_INT, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT, 0, 0, 0},
26140{ SWIG_PY_INT, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS, 0, 0, 0},
26141{ SWIG_PY_INT, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT, 0, 0, 0},
26142{ SWIG_PY_INT, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER, 0, 0, 0},
26143{ SWIG_PY_INT, (char *)"LOG_FatalError", (long) wxLOG_FatalError, 0, 0, 0},
26144{ SWIG_PY_INT, (char *)"LOG_Error", (long) wxLOG_Error, 0, 0, 0},
26145{ SWIG_PY_INT, (char *)"LOG_Warning", (long) wxLOG_Warning, 0, 0, 0},
26146{ SWIG_PY_INT, (char *)"LOG_Message", (long) wxLOG_Message, 0, 0, 0},
26147{ SWIG_PY_INT, (char *)"LOG_Status", (long) wxLOG_Status, 0, 0, 0},
26148{ SWIG_PY_INT, (char *)"LOG_Info", (long) wxLOG_Info, 0, 0, 0},
26149{ SWIG_PY_INT, (char *)"LOG_Debug", (long) wxLOG_Debug, 0, 0, 0},
26150{ SWIG_PY_INT, (char *)"LOG_Trace", (long) wxLOG_Trace, 0, 0, 0},
26151{ SWIG_PY_INT, (char *)"LOG_Progress", (long) wxLOG_Progress, 0, 0, 0},
26152{ SWIG_PY_INT, (char *)"LOG_User", (long) wxLOG_User, 0, 0, 0},
26153{ SWIG_PY_INT, (char *)"LOG_Max", (long) wxLOG_Max, 0, 0, 0},
26154{ SWIG_PY_STRING, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
26155{ SWIG_PY_STRING, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
26156{ SWIG_PY_STRING, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
26157{ SWIG_PY_STRING, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
26158{ SWIG_PY_STRING, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
26159{ SWIG_PY_INT, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
26160{ SWIG_PY_INT, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
26161{ SWIG_PY_INT, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
26162{ SWIG_PY_INT, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
26163{ SWIG_PY_INT, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
26164{ SWIG_PY_INT, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT, 0, 0, 0},
26165{ SWIG_PY_INT, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT, 0, 0, 0},
26166{ SWIG_PY_INT, (char *)"KILL_OK", (long) wxKILL_OK, 0, 0, 0},
26167{ SWIG_PY_INT, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL, 0, 0, 0},
26168{ SWIG_PY_INT, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED, 0, 0, 0},
26169{ SWIG_PY_INT, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS, 0, 0, 0},
26170{ SWIG_PY_INT, (char *)"KILL_ERROR", (long) wxKILL_ERROR, 0, 0, 0},
26171{ SWIG_PY_INT, (char *)"SIGNONE", (long) wxSIGNONE, 0, 0, 0},
26172{ SWIG_PY_INT, (char *)"SIGHUP", (long) wxSIGHUP, 0, 0, 0},
26173{ SWIG_PY_INT, (char *)"SIGINT", (long) wxSIGINT, 0, 0, 0},
26174{ SWIG_PY_INT, (char *)"SIGQUIT", (long) wxSIGQUIT, 0, 0, 0},
26175{ SWIG_PY_INT, (char *)"SIGILL", (long) wxSIGILL, 0, 0, 0},
26176{ SWIG_PY_INT, (char *)"SIGTRAP", (long) wxSIGTRAP, 0, 0, 0},
26177{ SWIG_PY_INT, (char *)"SIGABRT", (long) wxSIGABRT, 0, 0, 0},
26178{ SWIG_PY_INT, (char *)"SIGIOT", (long) wxSIGIOT, 0, 0, 0},
26179{ SWIG_PY_INT, (char *)"SIGEMT", (long) wxSIGEMT, 0, 0, 0},
26180{ SWIG_PY_INT, (char *)"SIGFPE", (long) wxSIGFPE, 0, 0, 0},
26181{ SWIG_PY_INT, (char *)"SIGKILL", (long) wxSIGKILL, 0, 0, 0},
26182{ SWIG_PY_INT, (char *)"SIGBUS", (long) wxSIGBUS, 0, 0, 0},
26183{ SWIG_PY_INT, (char *)"SIGSEGV", (long) wxSIGSEGV, 0, 0, 0},
26184{ SWIG_PY_INT, (char *)"SIGSYS", (long) wxSIGSYS, 0, 0, 0},
26185{ SWIG_PY_INT, (char *)"SIGPIPE", (long) wxSIGPIPE, 0, 0, 0},
26186{ SWIG_PY_INT, (char *)"SIGALRM", (long) wxSIGALRM, 0, 0, 0},
26187{ SWIG_PY_INT, (char *)"SIGTERM", (long) wxSIGTERM, 0, 0, 0},
26188{ SWIG_PY_INT, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS, 0, 0, 0},
26189{ SWIG_PY_INT, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC, 0, 0, 0},
26190{ SWIG_PY_INT, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC, 0, 0, 0},
26191{ SWIG_PY_INT, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE, 0, 0, 0},
26192{ SWIG_PY_INT, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER, 0, 0, 0},
26193{ SWIG_PY_INT, (char *)"JOYSTICK1", (long) wxJOYSTICK1, 0, 0, 0},
26194{ SWIG_PY_INT, (char *)"JOYSTICK2", (long) wxJOYSTICK2, 0, 0, 0},
26195{ SWIG_PY_INT, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY, 0, 0, 0},
26196{ SWIG_PY_INT, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1, 0, 0, 0},
26197{ SWIG_PY_INT, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2, 0, 0, 0},
26198{ SWIG_PY_INT, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3, 0, 0, 0},
26199{ SWIG_PY_INT, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4, 0, 0, 0},
26200{ SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN, 0, 0, 0},
26201{ SWIG_PY_INT, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP, 0, 0, 0},
26202{ SWIG_PY_INT, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE, 0, 0, 0},
26203{ SWIG_PY_INT, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE, 0, 0, 0},
26204{ SWIG_PY_INT, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD, 0, 0, 0},
26205{ SWIG_PY_INT, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE, 0, 0, 0},
26206{ SWIG_PY_INT, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE, 0, 0, 0},
26207{ SWIG_PY_INT, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME, 0, 0, 0},
26208{ SWIG_PY_INT, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL, 0, 0, 0},
26209{ SWIG_PY_INT, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE, 0, 0, 0},
26210{ SWIG_PY_INT, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE, 0, 0, 0},
26211{ SWIG_PY_INT, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH, 0, 0, 0},
26212{ SWIG_PY_INT, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS, 0, 0, 0},
26213{ SWIG_PY_INT, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown, 0, 0, 0},
26214{ SWIG_PY_INT, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String, 0, 0, 0},
26215{ SWIG_PY_INT, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean, 0, 0, 0},
26216{ SWIG_PY_INT, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer, 0, 0, 0},
26217{ SWIG_PY_INT, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float, 0, 0, 0},
26218{ SWIG_PY_INT, (char *)"DateTime_Local", (long) wxDateTime::Local, 0, 0, 0},
26219{ SWIG_PY_INT, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12, 0, 0, 0},
26220{ SWIG_PY_INT, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11, 0, 0, 0},
26221{ SWIG_PY_INT, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10, 0, 0, 0},
26222{ SWIG_PY_INT, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9, 0, 0, 0},
26223{ SWIG_PY_INT, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8, 0, 0, 0},
26224{ SWIG_PY_INT, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7, 0, 0, 0},
26225{ SWIG_PY_INT, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6, 0, 0, 0},
26226{ SWIG_PY_INT, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5, 0, 0, 0},
26227{ SWIG_PY_INT, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4, 0, 0, 0},
26228{ SWIG_PY_INT, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3, 0, 0, 0},
26229{ SWIG_PY_INT, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2, 0, 0, 0},
26230{ SWIG_PY_INT, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1, 0, 0, 0},
26231{ SWIG_PY_INT, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0, 0, 0, 0},
26232{ SWIG_PY_INT, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1, 0, 0, 0},
26233{ SWIG_PY_INT, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2, 0, 0, 0},
26234{ SWIG_PY_INT, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3, 0, 0, 0},
26235{ SWIG_PY_INT, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4, 0, 0, 0},
26236{ SWIG_PY_INT, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5, 0, 0, 0},
26237{ SWIG_PY_INT, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6, 0, 0, 0},
26238{ SWIG_PY_INT, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7, 0, 0, 0},
26239{ SWIG_PY_INT, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8, 0, 0, 0},
26240{ SWIG_PY_INT, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9, 0, 0, 0},
26241{ SWIG_PY_INT, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10, 0, 0, 0},
26242{ SWIG_PY_INT, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11, 0, 0, 0},
26243{ SWIG_PY_INT, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12, 0, 0, 0},
26244{ SWIG_PY_INT, (char *)"DateTime_WET", (long) wxDateTime::WET, 0, 0, 0},
26245{ SWIG_PY_INT, (char *)"DateTime_WEST", (long) wxDateTime::WEST, 0, 0, 0},
26246{ SWIG_PY_INT, (char *)"DateTime_CET", (long) wxDateTime::CET, 0, 0, 0},
26247{ SWIG_PY_INT, (char *)"DateTime_CEST", (long) wxDateTime::CEST, 0, 0, 0},
26248{ SWIG_PY_INT, (char *)"DateTime_EET", (long) wxDateTime::EET, 0, 0, 0},
26249{ SWIG_PY_INT, (char *)"DateTime_EEST", (long) wxDateTime::EEST, 0, 0, 0},
26250{ SWIG_PY_INT, (char *)"DateTime_MSK", (long) wxDateTime::MSK, 0, 0, 0},
26251{ SWIG_PY_INT, (char *)"DateTime_MSD", (long) wxDateTime::MSD, 0, 0, 0},
26252{ SWIG_PY_INT, (char *)"DateTime_AST", (long) wxDateTime::AST, 0, 0, 0},
26253{ SWIG_PY_INT, (char *)"DateTime_ADT", (long) wxDateTime::ADT, 0, 0, 0},
26254{ SWIG_PY_INT, (char *)"DateTime_EST", (long) wxDateTime::EST, 0, 0, 0},
26255{ SWIG_PY_INT, (char *)"DateTime_EDT", (long) wxDateTime::EDT, 0, 0, 0},
26256{ SWIG_PY_INT, (char *)"DateTime_CST", (long) wxDateTime::CST, 0, 0, 0},
26257{ SWIG_PY_INT, (char *)"DateTime_CDT", (long) wxDateTime::CDT, 0, 0, 0},
26258{ SWIG_PY_INT, (char *)"DateTime_MST", (long) wxDateTime::MST, 0, 0, 0},
26259{ SWIG_PY_INT, (char *)"DateTime_MDT", (long) wxDateTime::MDT, 0, 0, 0},
26260{ SWIG_PY_INT, (char *)"DateTime_PST", (long) wxDateTime::PST, 0, 0, 0},
26261{ SWIG_PY_INT, (char *)"DateTime_PDT", (long) wxDateTime::PDT, 0, 0, 0},
26262{ SWIG_PY_INT, (char *)"DateTime_HST", (long) wxDateTime::HST, 0, 0, 0},
26263{ SWIG_PY_INT, (char *)"DateTime_AKST", (long) wxDateTime::AKST, 0, 0, 0},
26264{ SWIG_PY_INT, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT, 0, 0, 0},
26265{ SWIG_PY_INT, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST, 0, 0, 0},
26266{ SWIG_PY_INT, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST, 0, 0, 0},
26267{ SWIG_PY_INT, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST, 0, 0, 0},
26268{ SWIG_PY_INT, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST, 0, 0, 0},
26269{ SWIG_PY_INT, (char *)"DateTime_UTC", (long) wxDateTime::UTC, 0, 0, 0},
26270{ SWIG_PY_INT, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian, 0, 0, 0},
26271{ SWIG_PY_INT, (char *)"DateTime_Julian", (long) wxDateTime::Julian, 0, 0, 0},
26272{ SWIG_PY_INT, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown, 0, 0, 0},
26273{ SWIG_PY_INT, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard, 0, 0, 0},
26274{ SWIG_PY_INT, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska, 0, 0, 0},
26275{ SWIG_PY_INT, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania, 0, 0, 0},
26276{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria, 0, 0, 0},
26277{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen, 0, 0, 0},
26278{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg, 0, 0, 0},
26279{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol, 0, 0, 0},
26280{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia, 0, 0, 0},
26281{ SWIG_PY_INT, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria, 0, 0, 0},
26282{ SWIG_PY_INT, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium, 0, 0, 0},
26283{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria, 0, 0, 0},
26284{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1, 0, 0, 0},
26285{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2, 0, 0, 0},
26286{ SWIG_PY_INT, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3, 0, 0, 0},
26287{ SWIG_PY_INT, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada, 0, 0, 0},
26288{ SWIG_PY_INT, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China, 0, 0, 0},
26289{ SWIG_PY_INT, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1, 0, 0, 0},
26290{ SWIG_PY_INT, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2, 0, 0, 0},
26291{ SWIG_PY_INT, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia, 0, 0, 0},
26292{ SWIG_PY_INT, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark, 0, 0, 0},
26293{ SWIG_PY_INT, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt, 0, 0, 0},
26294{ SWIG_PY_INT, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia, 0, 0, 0},
26295{ SWIG_PY_INT, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland, 0, 0, 0},
26296{ SWIG_PY_INT, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France, 0, 0, 0},
26297{ SWIG_PY_INT, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace, 0, 0, 0},
26298{ SWIG_PY_INT, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine, 0, 0, 0},
26299{ SWIG_PY_INT, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg, 0, 0, 0},
26300{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany, 0, 0, 0},
26301{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic, 0, 0, 0},
26302{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia, 0, 0, 0},
26303{ SWIG_PY_INT, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant, 0, 0, 0},
26304{ SWIG_PY_INT, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain, 0, 0, 0},
26305{ SWIG_PY_INT, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece, 0, 0, 0},
26306{ SWIG_PY_INT, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary, 0, 0, 0},
26307{ SWIG_PY_INT, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland, 0, 0, 0},
26308{ SWIG_PY_INT, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy, 0, 0, 0},
26309{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan, 0, 0, 0},
26310{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1, 0, 0, 0},
26311{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2, 0, 0, 0},
26312{ SWIG_PY_INT, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3, 0, 0, 0},
26313{ SWIG_PY_INT, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia, 0, 0, 0},
26314{ SWIG_PY_INT, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania, 0, 0, 0},
26315{ SWIG_PY_INT, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg, 0, 0, 0},
26316{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands, 0, 0, 0},
26317{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen, 0, 0, 0},
26318{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland, 0, 0, 0},
26319{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht, 0, 0, 0},
26320{ SWIG_PY_INT, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland, 0, 0, 0},
26321{ SWIG_PY_INT, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway, 0, 0, 0},
26322{ SWIG_PY_INT, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland, 0, 0, 0},
26323{ SWIG_PY_INT, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal, 0, 0, 0},
26324{ SWIG_PY_INT, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania, 0, 0, 0},
26325{ SWIG_PY_INT, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia, 0, 0, 0},
26326{ SWIG_PY_INT, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland, 0, 0, 0},
26327{ SWIG_PY_INT, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain, 0, 0, 0},
26328{ SWIG_PY_INT, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden, 0, 0, 0},
26329{ SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland, 0, 0, 0},
26330{ SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic, 0, 0, 0},
26331{ SWIG_PY_INT, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant, 0, 0, 0},
26332{ SWIG_PY_INT, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey, 0, 0, 0},
26333{ SWIG_PY_INT, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA, 0, 0, 0},
26334{ SWIG_PY_INT, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales, 0, 0, 0},
26335{ SWIG_PY_INT, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia, 0, 0, 0},
26336{ SWIG_PY_INT, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown, 0, 0, 0},
26337{ SWIG_PY_INT, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default, 0, 0, 0},
26338{ SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start, 0, 0, 0},
26339{ SWIG_PY_INT, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC, 0, 0, 0},
26340{ SWIG_PY_INT, (char *)"DateTime_France", (long) wxDateTime::France, 0, 0, 0},
26341{ SWIG_PY_INT, (char *)"DateTime_Germany", (long) wxDateTime::Germany, 0, 0, 0},
26342{ SWIG_PY_INT, (char *)"DateTime_UK", (long) wxDateTime::UK, 0, 0, 0},
26343{ SWIG_PY_INT, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End, 0, 0, 0},
26344{ SWIG_PY_INT, (char *)"DateTime_Russia", (long) wxDateTime::Russia, 0, 0, 0},
26345{ SWIG_PY_INT, (char *)"DateTime_USA", (long) wxDateTime::USA, 0, 0, 0},
26346{ SWIG_PY_INT, (char *)"DateTime_Jan", (long) wxDateTime::Jan, 0, 0, 0},
26347{ SWIG_PY_INT, (char *)"DateTime_Feb", (long) wxDateTime::Feb, 0, 0, 0},
26348{ SWIG_PY_INT, (char *)"DateTime_Mar", (long) wxDateTime::Mar, 0, 0, 0},
26349{ SWIG_PY_INT, (char *)"DateTime_Apr", (long) wxDateTime::Apr, 0, 0, 0},
26350{ SWIG_PY_INT, (char *)"DateTime_May", (long) wxDateTime::May, 0, 0, 0},
26351{ SWIG_PY_INT, (char *)"DateTime_Jun", (long) wxDateTime::Jun, 0, 0, 0},
26352{ SWIG_PY_INT, (char *)"DateTime_Jul", (long) wxDateTime::Jul, 0, 0, 0},
26353{ SWIG_PY_INT, (char *)"DateTime_Aug", (long) wxDateTime::Aug, 0, 0, 0},
26354{ SWIG_PY_INT, (char *)"DateTime_Sep", (long) wxDateTime::Sep, 0, 0, 0},
26355{ SWIG_PY_INT, (char *)"DateTime_Oct", (long) wxDateTime::Oct, 0, 0, 0},
26356{ SWIG_PY_INT, (char *)"DateTime_Nov", (long) wxDateTime::Nov, 0, 0, 0},
26357{ SWIG_PY_INT, (char *)"DateTime_Dec", (long) wxDateTime::Dec, 0, 0, 0},
26358{ SWIG_PY_INT, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month, 0, 0, 0},
26359{ SWIG_PY_INT, (char *)"DateTime_Sun", (long) wxDateTime::Sun, 0, 0, 0},
26360{ SWIG_PY_INT, (char *)"DateTime_Mon", (long) wxDateTime::Mon, 0, 0, 0},
26361{ SWIG_PY_INT, (char *)"DateTime_Tue", (long) wxDateTime::Tue, 0, 0, 0},
26362{ SWIG_PY_INT, (char *)"DateTime_Wed", (long) wxDateTime::Wed, 0, 0, 0},
26363{ SWIG_PY_INT, (char *)"DateTime_Thu", (long) wxDateTime::Thu, 0, 0, 0},
26364{ SWIG_PY_INT, (char *)"DateTime_Fri", (long) wxDateTime::Fri, 0, 0, 0},
26365{ SWIG_PY_INT, (char *)"DateTime_Sat", (long) wxDateTime::Sat, 0, 0, 0},
26366{ SWIG_PY_INT, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay, 0, 0, 0},
26367{ SWIG_PY_INT, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year, 0, 0, 0},
26368{ SWIG_PY_INT, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full, 0, 0, 0},
26369{ SWIG_PY_INT, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr, 0, 0, 0},
26370{ SWIG_PY_INT, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First, 0, 0, 0},
26371{ SWIG_PY_INT, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First, 0, 0, 0},
26372{ SWIG_PY_INT, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First, 0, 0, 0},
26373{ SWIG_PY_INT, (char *)"DF_INVALID", (long) wxDF_INVALID, 0, 0, 0},
26374{ SWIG_PY_INT, (char *)"DF_TEXT", (long) wxDF_TEXT, 0, 0, 0},
26375{ SWIG_PY_INT, (char *)"DF_BITMAP", (long) wxDF_BITMAP, 0, 0, 0},
26376{ SWIG_PY_INT, (char *)"DF_METAFILE", (long) wxDF_METAFILE, 0, 0, 0},
26377{ SWIG_PY_INT, (char *)"DF_SYLK", (long) wxDF_SYLK, 0, 0, 0},
26378{ SWIG_PY_INT, (char *)"DF_DIF", (long) wxDF_DIF, 0, 0, 0},
26379{ SWIG_PY_INT, (char *)"DF_TIFF", (long) wxDF_TIFF, 0, 0, 0},
26380{ SWIG_PY_INT, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT, 0, 0, 0},
26381{ SWIG_PY_INT, (char *)"DF_DIB", (long) wxDF_DIB, 0, 0, 0},
26382{ SWIG_PY_INT, (char *)"DF_PALETTE", (long) wxDF_PALETTE, 0, 0, 0},
26383{ SWIG_PY_INT, (char *)"DF_PENDATA", (long) wxDF_PENDATA, 0, 0, 0},
26384{ SWIG_PY_INT, (char *)"DF_RIFF", (long) wxDF_RIFF, 0, 0, 0},
26385{ SWIG_PY_INT, (char *)"DF_WAVE", (long) wxDF_WAVE, 0, 0, 0},
26386{ SWIG_PY_INT, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT, 0, 0, 0},
26387{ SWIG_PY_INT, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE, 0, 0, 0},
26388{ SWIG_PY_INT, (char *)"DF_FILENAME", (long) wxDF_FILENAME, 0, 0, 0},
26389{ SWIG_PY_INT, (char *)"DF_LOCALE", (long) wxDF_LOCALE, 0, 0, 0},
26390{ SWIG_PY_INT, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE, 0, 0, 0},
26391{ SWIG_PY_INT, (char *)"DF_HTML", (long) wxDF_HTML, 0, 0, 0},
26392{ SWIG_PY_INT, (char *)"DF_MAX", (long) wxDF_MAX, 0, 0, 0},
26393{ SWIG_PY_INT, (char *)"DataObject_Get", (long) wxDataObject::Get, 0, 0, 0},
26394{ SWIG_PY_INT, (char *)"DataObject_Set", (long) wxDataObject::Set, 0, 0, 0},
26395{ SWIG_PY_INT, (char *)"DataObject_Both", (long) wxDataObject::Both, 0, 0, 0},
26396{ SWIG_PY_INT, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly, 0, 0, 0},
26397{ SWIG_PY_INT, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove, 0, 0, 0},
26398{ SWIG_PY_INT, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove, 0, 0, 0},
26399{ SWIG_PY_INT, (char *)"DragError", (long) wxDragError, 0, 0, 0},
26400{ SWIG_PY_INT, (char *)"DragNone", (long) wxDragNone, 0, 0, 0},
26401{ SWIG_PY_INT, (char *)"DragCopy", (long) wxDragCopy, 0, 0, 0},
26402{ SWIG_PY_INT, (char *)"DragMove", (long) wxDragMove, 0, 0, 0},
26403{ SWIG_PY_INT, (char *)"DragLink", (long) wxDragLink, 0, 0, 0},
26404{ SWIG_PY_INT, (char *)"DragCancel", (long) wxDragCancel, 0, 0, 0},
26405{0}};
26406
26407#ifdef __cplusplus
26408}
26409#endif
26410
26411#ifdef __cplusplus
26412extern "C"
26413#endif
26414SWIGEXPORT(void) SWIG_init(void) {
26415 static PyObject *SWIG_globals = 0;
26416 static int typeinit = 0;
26417 PyObject *m, *d;
26418 int i;
26419 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26420 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26421 d = PyModule_GetDict(m);
26422
26423 if (!typeinit) {
26424 for (i = 0; swig_types_initial[i]; i++) {
26425 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26426 }
26427 typeinit = 1;
26428 }
26429 SWIG_InstallConstants(d,swig_const_table);
26430
d03fd34d
RD
26431 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26432 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26433 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26434 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
d14a1e28
RD
26435 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
26436 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
26437
26438 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26439
26440 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
26441 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
26442 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
26443 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
d14a1e28
RD
26444 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
26445 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
26446 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
26447 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
26448 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
26449 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
26450 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
26451 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
26452 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
26453 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
26454 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
26455 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
26456 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
26457 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
26458 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
26459 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
26460 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
26461 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
26462 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
26463 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
26464 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
26465 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
26466 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
26467 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
26468 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
26469 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
26470 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
26471 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
26472 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
26473 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
26474 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
26475 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
26476 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
26477 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
26478 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
26479 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
26480 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
26481 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
26482 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
26483
26484 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26485
d03fd34d
RD
26486 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
26487 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
d14a1e28
RD
26488 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
26489
26490 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26491 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26492 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26493 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26494
26495 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
26496}
26497