]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_misc_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / msw / _misc_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
82#else
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
85#endif
86
87#ifdef SWIG_GLOBAL
88# define SWIGRUNTIME(a) SWIGEXPORT(a)
89#else
90# define SWIGRUNTIME(a) static a
91#endif
92
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122#ifdef __cplusplus
123}
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198/* Contract support */
199
200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202#ifdef __cplusplus
203}
204#endif
205
206
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxLogChain swig_types[0]
210#define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211#define SWIGTYPE_p_wxMetafile swig_types[2]
212#define SWIGTYPE_p_wxFileHistory swig_types[3]
213#define SWIGTYPE_p_wxLog swig_types[4]
214#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
215#define SWIGTYPE_p_wxMenu swig_types[6]
216#define SWIGTYPE_p_wxEvent swig_types[7]
217#define SWIGTYPE_p_wxConfigBase swig_types[8]
218#define SWIGTYPE_p_wxDisplay swig_types[9]
219#define SWIGTYPE_p_wxFileType swig_types[10]
220#define SWIGTYPE_p_wxLogGui swig_types[11]
221#define SWIGTYPE_p_wxFont swig_types[12]
222#define SWIGTYPE_p_wxDataFormat swig_types[13]
223#define SWIGTYPE_p_wxTimerEvent swig_types[14]
224#define SWIGTYPE_p_wxCaret swig_types[15]
225#define SWIGTYPE_p_int swig_types[16]
226#define SWIGTYPE_p_wxSize swig_types[17]
227#define SWIGTYPE_p_wxClipboard swig_types[18]
228#define SWIGTYPE_p_wxStopWatch swig_types[19]
229#define SWIGTYPE_p_wxDC swig_types[20]
230#define SWIGTYPE_p_wxClipboardLocker swig_types[21]
231#define SWIGTYPE_p_wxIcon swig_types[22]
232#define SWIGTYPE_p_wxLogStderr swig_types[23]
233#define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
234#define SWIGTYPE_p_wxTextCtrl swig_types[25]
235#define SWIGTYPE_p_wxBusyCursor swig_types[26]
b1f29bf7
RD
236#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
237#define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
238#define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
239#define SWIGTYPE_p_wxTextDataObject swig_types[30]
240#define SWIGTYPE_p_wxDataObject swig_types[31]
d55e5bfc
RD
241#define SWIGTYPE_p_wxFileDataObject swig_types[32]
242#define SWIGTYPE_p_wxCustomDataObject swig_types[33]
243#define SWIGTYPE_p_wxURLDataObject swig_types[34]
244#define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
245#define SWIGTYPE_p_wxSound swig_types[36]
246#define SWIGTYPE_p_wxTimerRunner swig_types[37]
247#define SWIGTYPE_p_wxLogWindow swig_types[38]
248#define SWIGTYPE_p_wxTimeSpan swig_types[39]
249#define SWIGTYPE_p_wxArrayString swig_types[40]
250#define SWIGTYPE_p_wxWindowDisabler swig_types[41]
251#define SWIGTYPE_p_wxToolTip swig_types[42]
252#define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
253#define SWIGTYPE_p_wxFileConfig swig_types[44]
254#define SWIGTYPE_p_wxSystemSettings swig_types[45]
255#define SWIGTYPE_p_wxVideoMode swig_types[46]
256#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
257#define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
258#define SWIGTYPE_p_wxEvtHandler swig_types[49]
259#define SWIGTYPE_p_wxRect swig_types[50]
260#define SWIGTYPE_p_char swig_types[51]
261#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
262#define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
263#define SWIGTYPE_p_wxFrame swig_types[54]
264#define SWIGTYPE_p_wxTimer swig_types[55]
265#define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
266#define SWIGTYPE_p_wxPyArtProvider swig_types[57]
267#define SWIGTYPE_p_wxPyTipProvider swig_types[58]
268#define SWIGTYPE_p_wxTipProvider swig_types[59]
269#define SWIGTYPE_p_wxJoystick swig_types[60]
270#define SWIGTYPE_p_wxSystemOptions swig_types[61]
271#define SWIGTYPE_p_wxPoint swig_types[62]
272#define SWIGTYPE_p_wxJoystickEvent swig_types[63]
273#define SWIGTYPE_p_wxCursor swig_types[64]
274#define SWIGTYPE_p_wxObject swig_types[65]
275#define SWIGTYPE_p_wxOutputStream swig_types[66]
276#define SWIGTYPE_p_wxDateTime swig_types[67]
277#define SWIGTYPE_p_wxPyDropSource swig_types[68]
278#define SWIGTYPE_p_wxWindow swig_types[69]
279#define SWIGTYPE_p_wxString swig_types[70]
280#define SWIGTYPE_p_wxPyProcess swig_types[71]
281#define SWIGTYPE_p_wxBitmap swig_types[72]
282#define SWIGTYPE_p_wxConfig swig_types[73]
283#define SWIGTYPE_p_wxChar swig_types[74]
284#define SWIGTYPE_p_wxBusyInfo swig_types[75]
285#define SWIGTYPE_p_wxPyDropTarget swig_types[76]
286#define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
287#define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
288#define SWIGTYPE_p_wxProcessEvent swig_types[79]
289#define SWIGTYPE_p_wxPyLog swig_types[80]
290#define SWIGTYPE_p_wxLogNull swig_types[81]
291#define SWIGTYPE_p_wxColour swig_types[82]
b1f29bf7
RD
292#define SWIGTYPE_p_wxConfigPathChanger swig_types[83]
293#define SWIGTYPE_p_wxPyTimer swig_types[84]
294#define SWIGTYPE_p_wxDateSpan swig_types[85]
295static swig_type_info *swig_types[87];
d55e5bfc
RD
296
297/* -------- TYPES TABLE (END) -------- */
298
299
300/*-----------------------------------------------
301 @(target):= _misc_.so
302 ------------------------------------------------*/
303#define SWIG_init init_misc_
304
305#define SWIG_name "_misc_"
306
307/* Auxiliar swig macros */
308
309#ifdef __cplusplus
310#define SWIGSTATICINLINE(a) static inline a
311#define SWIGSTATIC(a) static a
312#define swig_new_array(type, size) (new type[(size)])
313#define swig_delete_array(cptr) delete[] cptr
314#define swig_const_cast(type,a) const_cast<type>(a)
315#define swig_static_cast(type,a) static_cast<type>(a)
316#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317
318#ifdef HAVE_NUMERIC_CAST
319#define swig_numeric_cast(type,a) numeric_cast<type>(a)
320#else
321#define swig_numeric_cast(type,a) static_cast<type>(a)
322#endif
323
324#else /* C case */
325
326#define SWIGSTATICINLINE(a) static a
327#define SWIGSTATIC(a) static a
328#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329#define swig_delete_array(cptr) free((char*)cptr)
330#define swig_const_cast(type,a) (type)(a)
331#define swig_static_cast(type,a) (type)(a)
332#define swig_reinterpret_cast(type,a) (type)(a)
333#define swig_numeric_cast(type,a) (type)(a)
334
335#endif /* __cplusplus */
336
337
338#define SWIG_FromSignedChar PyInt_FromLong
339#define SWIG_FromUnsignedChar PyInt_FromLong
340#define SWIG_FromShort PyInt_FromLong
341#define SWIG_FromUnsignedShort PyInt_FromLong
342#define SWIG_FromInt PyInt_FromLong
343#define SWIG_FromLong PyInt_FromLong
344#define SWIG_FromFloat PyFloat_FromDouble
345#define SWIG_FromDouble PyFloat_FromDouble
346#define SWIG_FromFloat PyFloat_FromDouble
347#define SWIG_FromDouble PyFloat_FromDouble
348
349
350#include "wx/wxPython/wxPython.h"
351#include "wx/wxPython/pyclasses.h"
0439c23b 352#include "wx/wxPython/pyistream.h"
d55e5bfc
RD
353
354 static const wxString wxPyEmptyString(wxEmptyString);
355
356
357
358#include <limits.h>
359
360
361SWIGSTATICINLINE(long)
362SWIG_CheckLongInRange(long value, const char* type,
363 long min_value, long max_value)
364{
365 if (!PyErr_Occurred()) {
366 if (value < min_value) {
367 PyObject *err =
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value, type, min_value);
370
371 PyErr_SetObject(PyExc_OverflowError, err);
372 Py_DECREF(err);
373 } else if (value > max_value) {
374 PyObject *err =
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value, type, max_value);
377 PyErr_SetObject(PyExc_OverflowError, err);
378 Py_DECREF(err);
379 }
380 }
381 return value;
382}
383
384
385SWIGSTATICINLINE(long)
386SWIG_AsLong(PyObject * obj)
387{
388 if (PyNumber_Check(obj))
389 return PyInt_AsLong(obj);
390 else {
391 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
392 obj->ob_type->tp_name);
393 PyErr_SetObject(PyExc_TypeError, errmsg);
394 Py_DECREF(errmsg);
395 return 0;
396 }
397}
398
399
400#if INT_MAX != LONG_MAX
401SWIGSTATICINLINE(int)
402SWIG_AsInt(PyObject *obj)
403{
404 return swig_numeric_cast(int,
405 SWIG_CheckLongInRange(SWIG_AsLong(obj),
406 "int", INT_MIN, INT_MAX));
407}
408#else
409#define SWIG_AsInt SWIG_AsLong
410#endif
411
412
413SWIGSTATICINLINE(int)
414SWIG_CheckInt(PyObject* obj)
415{
416 SWIG_AsInt(obj);
417 if (PyErr_Occurred()) {
418 PyErr_Clear();
419 return 0;
420 } else {
421 return 1;
422 }
423}
424
425 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
426 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
427 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
428
429SWIGSTATICINLINE(int)
430SWIG_CheckLong(PyObject* obj)
431{
432 SWIG_AsLong(obj);
433 if (PyErr_Occurred()) {
434 PyErr_Clear();
435 return 0;
436 } else {
437 return 1;
438 }
439}
440
441
442SWIGSTATICINLINE(bool)
443SWIG_AsBool(PyObject *obj)
444{
445 return PyObject_IsTrue(obj) ? true : false;
446}
447
448
449SWIGSTATICINLINE(int)
450SWIG_CheckBool(PyObject* obj)
451{
452 SWIG_AsBool(obj);
453 if (PyErr_Occurred()) {
454 PyErr_Clear();
455 return 0;
456 } else {
457 return 1;
458 }
459}
460
461
462static PyObject* t_output_helper(PyObject* target, PyObject* o) {
463 PyObject* o2;
464 PyObject* o3;
465
466 if (!target) {
467 target = o;
468 } else if (target == Py_None) {
469 Py_DECREF(Py_None);
470 target = o;
471 } else {
472 if (!PyTuple_Check(target)) {
473 o2 = target;
474 target = PyTuple_New(1);
475 PyTuple_SetItem(target, 0, o2);
476 }
477 o3 = PyTuple_New(1);
478 PyTuple_SetItem(o3, 0, o);
479
480 o2 = target;
481 target = PySequence_Concat(o2, o3);
482 Py_DECREF(o2);
483 Py_DECREF(o3);
484 }
485 return target;
486}
487
488
489SWIGSTATICINLINE(unsigned long)
490SWIG_AsUnsignedLong(PyObject * obj)
491{
492 if (PyLong_Check(obj)) {
493 return PyLong_AsUnsignedLong(obj);
494 } else {
495 long i = SWIG_AsLong(obj);
496 if ( !PyErr_Occurred() && (i < 0)) {
497 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
498 }
499 return i;
500 }
501}
502
503
504SWIGSTATICINLINE(int)
505SWIG_CheckUnsignedLong(PyObject* obj)
506{
507 SWIG_AsUnsignedLong(obj);
508 if (PyErr_Occurred()) {
509 PyErr_Clear();
510 return 0;
511 } else {
512 return 1;
513 }
514}
515
516
517SWIGSTATICINLINE(PyObject* )
518SWIG_FromUnsignedLong(unsigned long value)
519{
520 return (value > LONG_MAX) ?
521 PyLong_FromUnsignedLong(value)
522 : PyInt_FromLong(swig_numeric_cast(long,value));
523}
524
525
526 bool wxThread_IsMain() {
527#ifdef WXP_WITH_THREAD
528 return wxThread::IsMain();
529#else
530 return True;
531#endif
532 }
533
534
535 int wxCaret_GetBlinkTime() {
536 return wxCaret::GetBlinkTime();
537 }
538
539 void wxCaret_SetBlinkTime(int milliseconds) {
540 wxCaret::SetBlinkTime(milliseconds);
541 }
542
543
544#include <wx/snglinst.h>
545
546
547#ifdef __WXMSW__
548#include <wx/msw/private.h>
549#include <wx/dynload.h>
550#endif
551
552
553
554void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
555{
556#ifdef __WXMSW__
557
558 switch (method)
559 {
560 case 1:
561 // This one only partially works. Appears to be an undocumented
562 // "standard" convention that not all widgets adhear to. For
563 // example, for some widgets backgrounds or non-client areas may
564 // not be painted.
565 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
566 break;
567
568 case 2:
569 // This one works much better, except for on XP. On Win2k nearly
570 // all widgets and their children are captured correctly[**]. On
571 // XP with Themes activated most native widgets draw only
572 // partially, if at all. Without themes it works just like on
573 // Win2k.
574 //
575 // ** For example the radio buttons in a wxRadioBox are not its
576 // children by default, but you can capture it via the panel
577 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
578 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
579 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
580 PRF_ERASEBKGND | PRF_OWNED );
581 break;
582
583 case 3:
584 // This one is only defined in the latest SDK and is only
585 // available on XP. MSDN says it is similar to sending WM_PRINT
586 // so I expect that it will work similar to the above. Since it
587 // is avaialble only on XP, it can't be compiled like this and
588 // will have to be loaded dynamically.
589 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
590
591 // fall through
592
593 case 4:
594 // Use PrintWindow if available, or fallback to WM_PRINT
595 // otherwise. Unfortunately using PrintWindow is even worse than
596 // WM_PRINT. For most native widgets nothing is drawn to the dc
597 // at all, with or without Themes.
598 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
599 static bool s_triedToLoad = False;
600 static PrintWindow_t pfnPrintWindow = NULL;
601 if ( !s_triedToLoad )
602 {
603
604 s_triedToLoad = True;
605 wxDynamicLibrary dllUser32(_T("user32.dll"));
606 if ( dllUser32.IsLoaded() )
607 {
608 wxLogNull nolog; // Don't report errors here
609 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
610 }
611 }
612 if (pfnPrintWindow)
613 {
614 printf("Using PrintWindow\n");
615 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
616 }
617 else
618 {
619 printf("Using WM_PRINT\n");
620 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
621 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
622 }
623 }
624#endif
625}
626
627
628
629#include <wx/tipdlg.h>
630
631
632class wxPyTipProvider : public wxTipProvider {
633public:
634 wxPyTipProvider(size_t currentTip)
635 : wxTipProvider(currentTip) {}
636
637 DEC_PYCALLBACK_STRING__pure(GetTip);
638 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
639 PYPRIVATE;
640};
641
642IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
643IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
644
645
646//IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
647
1a6bba1e
RD
648IMPLEMENT_ABSTRACT_CLASS(wxPyTimer, wxTimer);
649
d55e5bfc
RD
650void wxPyTimer::Notify() {
651 bool found;
652 bool blocked = wxPyBeginBlockThreads();
653 if ((found = wxPyCBH_findCallback(m_myInst, "Notify")))
654 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));
655 wxPyEndBlockThreads(blocked);
656 if (! found)
657 wxTimer::Notify();
658}
659void wxPyTimer::base_Notify() {
660 wxTimer::Notify();
661}
662
663
664
665SWIGSTATICINLINE(PyObject *)
666SWIG_FromCharPtr(const char* cptr)
667{
668 size_t size = cptr ? strlen(cptr) : 0;
669 if (cptr) {
670 if (size > INT_MAX) {
671 return SWIG_NewPointerObj(swig_const_cast(char*,cptr),
672 SWIG_TypeQuery("char *"), 0);
673 } else {
674 return PyString_FromStringAndSize(cptr, swig_numeric_cast(int,size));
675 }
676 } else {
677 Py_INCREF(Py_None);
678 return Py_None;
679 }
680}
681
682
683SWIGSTATICINLINE(unsigned long)
684SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
685 unsigned long max_value)
686{
687 if (!PyErr_Occurred()) {
688 if (value > max_value) {
689 PyObject *err =
690 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
691 value, type, max_value);
692 PyErr_SetObject(PyExc_OverflowError, err);
693 Py_DECREF(err);
694 }
695 }
696 return value;
697}
698
699
700#if UINT_MAX != ULONG_MAX
701SWIGSTATICINLINE(unsigned int)
702SWIG_AsUnsignedInt(PyObject *obj)
703{
704 return swig_numeric_cast(unsigned int,
705 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
706 "unsigned int", UINT_MAX));
707}
708#else
709#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
710#endif
711
712
713SWIGSTATICINLINE(int)
714SWIG_CheckUnsignedInt(PyObject* obj)
715{
716 SWIG_AsUnsignedInt(obj);
717 if (PyErr_Occurred()) {
718 PyErr_Clear();
719 return 0;
720 } else {
721 return 1;
722 }
723}
724
725wxString Log_TimeStamp(){
726 wxString msg;
727 wxLog::TimeStamp(&msg);
728 return msg;
729 }
730void wxLog_Destroy(wxLog *self){ delete self; }
731
732// A wxLog class that can be derived from in wxPython
733class wxPyLog : public wxLog {
734public:
735 wxPyLog() : wxLog() {}
736
737 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
738 bool found;
739 bool blocked = wxPyBeginBlockThreads();
740 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
741 PyObject* s = wx2PyString(szString);
742 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
743 Py_DECREF(s);
744 }
745 wxPyEndBlockThreads(blocked);
746 if (! found)
747 wxLog::DoLog(level, szString, t);
748 }
749
750 virtual void DoLogString(const wxChar *szString, time_t t) {
751 bool found;
752 bool blocked = wxPyBeginBlockThreads();
753 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
754 PyObject* s = wx2PyString(szString);
755 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
756 Py_DECREF(s);
757 }
758 wxPyEndBlockThreads(blocked);
759 if (! found)
760 wxLog::DoLogString(szString, t);
761 }
762
763 PYPRIVATE;
764};
765
766
767
768
769IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
770
771
772#include <wx/joystick.h>
773
774
775#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
776// A C++ stub class for wxJoystick for platforms that don't have it.
777class wxJoystick : public wxObject {
778public:
779 wxJoystick(int joystick = wxJOYSTICK1) {
780 bool blocked = wxPyBeginBlockThreads();
781 PyErr_SetString(PyExc_NotImplementedError,
782 "wxJoystick is not available on this platform.");
783 wxPyEndBlockThreads(blocked);
784 }
785 wxPoint GetPosition() { return wxPoint(-1,-1); }
786 int GetZPosition() { return -1; }
787 int GetButtonState() { return -1; }
788 int GetPOVPosition() { return -1; }
789 int GetPOVCTSPosition() { return -1; }
790 int GetRudderPosition() { return -1; }
791 int GetUPosition() { return -1; }
792 int GetVPosition() { return -1; }
793 int GetMovementThreshold() { return -1; }
794 void SetMovementThreshold(int threshold) {}
795
796 bool IsOk(void) { return False; }
797 int GetNumberJoysticks() { return -1; }
798 int GetManufacturerId() { return -1; }
799 int GetProductId() { return -1; }
79fccf9d 800 wxString GetProductName() { return wxEmptyString; }
d55e5bfc
RD
801 int GetXMin() { return -1; }
802 int GetYMin() { return -1; }
803 int GetZMin() { return -1; }
804 int GetXMax() { return -1; }
805 int GetYMax() { return -1; }
806 int GetZMax() { return -1; }
807 int GetNumberButtons() { return -1; }
808 int GetNumberAxes() { return -1; }
809 int GetMaxButtons() { return -1; }
810 int GetMaxAxes() { return -1; }
811 int GetPollingMin() { return -1; }
812 int GetPollingMax() { return -1; }
813 int GetRudderMin() { return -1; }
814 int GetRudderMax() { return -1; }
815 int GetUMin() { return -1; }
816 int GetUMax() { return -1; }
817 int GetVMin() { return -1; }
818 int GetVMax() { return -1; }
819
820 bool HasRudder() { return False; }
821 bool HasZ() { return False; }
822 bool HasU() { return False; }
823 bool HasV() { return False; }
824 bool HasPOV() { return False; }
825 bool HasPOV4Dir() { return False; }
826 bool HasPOVCTS() { return False; }
827
828 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
829 bool ReleaseCapture() { return False; }
830};
831#endif
832
833
834#include <wx/sound.h>
835
836
837#if !wxUSE_SOUND
838// A C++ stub class for wxWave for platforms that don't have it.
839class wxSound : public wxObject
840{
841public:
842 wxSound() {
843 bool blocked = wxPyBeginBlockThreads();
844 PyErr_SetString(PyExc_NotImplementedError,
845 "wxSound is not available on this platform.");
846 wxPyEndBlockThreads(blocked);
847 }
b1f29bf7 848 wxSound(const wxString&/*, bool*/) {
d55e5bfc
RD
849 bool blocked = wxPyBeginBlockThreads();
850 PyErr_SetString(PyExc_NotImplementedError,
851 "wxSound is not available on this platform.");
852 wxPyEndBlockThreads(blocked);
853 }
854 wxSound(int, const wxByte*) {
855 bool blocked = wxPyBeginBlockThreads();
856 PyErr_SetString(PyExc_NotImplementedError,
857 "wxSound is not available on this platform.");
858 wxPyEndBlockThreads(blocked);
859 }
860
861 ~wxSound() {};
862
b1f29bf7 863 bool Create(const wxString&/*, bool*/) { return false; }
d55e5bfc
RD
864 bool Create(int, const wxByte*) { return false; };
865 bool IsOk() { return false; };
866 bool Play(unsigned) const { return false; }
867 static bool Play(const wxString&, unsigned) { return false; }
868 static void Stop() {}
869};
870
871#endif
872
b1f29bf7
RD
873wxSound *new_wxSound(wxString const &fileName){
874 if (fileName.Length() == 0)
875 return new wxSound;
876 else
877 return new wxSound(fileName);
878 }
879wxSound *new_wxSound(PyObject *data){
880 unsigned char* buffer; int size;
881 wxSound *sound = NULL;
882
883 bool blocked = wxPyBeginBlockThreads();
884 if (!PyArg_Parse(data, "t#", &buffer, &size))
885 goto done;
886 sound = new wxSound(size, buffer);
887 done:
888 wxPyEndBlockThreads(blocked);
889 return sound;
890 }
891bool wxSound_CreateFromData(wxSound *self,PyObject *data){
892 #ifndef __WXMAC__
893 unsigned char* buffer;
894 int size;
895 bool rv = False;
896
897 bool blocked = wxPyBeginBlockThreads();
898 if (!PyArg_Parse(data, "t#", &buffer, &size))
899 goto done;
900 rv = self->Create(size, buffer);
901 done:
902 wxPyEndBlockThreads(blocked);
903 return rv;
904 #else
905 bool blocked = wxPyBeginBlockThreads();
906 PyErr_SetString(PyExc_NotImplementedError,
907 "Create from data is not available on this platform.");
908 wxPyEndBlockThreads(blocked);
909 return False;
910 #endif
911 }
d55e5bfc
RD
912
913#include <wx/mimetype.h>
914
915PyObject *wxFileType_GetMimeType(wxFileType *self){
916 wxString str;
917 if (self->GetMimeType(&str))
918 return wx2PyString(str);
919 else
920 RETURN_NONE();
921 }
922PyObject *wxFileType_GetMimeTypes(wxFileType *self){
923 wxArrayString arr;
924 if (self->GetMimeTypes(arr))
925 return wxArrayString2PyList_helper(arr);
926 else
927 RETURN_NONE();
928 }
929PyObject *wxFileType_GetExtensions(wxFileType *self){
930 wxArrayString arr;
931 if (self->GetExtensions(arr))
932 return wxArrayString2PyList_helper(arr);
933 else
934 RETURN_NONE();
935 }
936wxIcon *wxFileType_GetIcon(wxFileType *self){
937 wxIconLocation loc;
938 if (self->GetIcon(&loc))
939 return new wxIcon(loc);
940 else
941 return NULL;
942 }
943PyObject *wxFileType_GetIconInfo(wxFileType *self){
944 wxIconLocation loc;
945 if (self->GetIcon(&loc)) {
946 wxString iconFile = loc.GetFileName();
947 int iconIndex = -1;
948
949 iconIndex = loc.GetIndex();
950
951 // Make a tuple and put the values in it
952 bool blocked = wxPyBeginBlockThreads();
953 PyObject* tuple = PyTuple_New(3);
954 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
955 wxT("wxIcon"), True));
956 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
957 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
958 wxPyEndBlockThreads(blocked);
959 return tuple;
960 }
961 else
962 RETURN_NONE();
963 }
964PyObject *wxFileType_GetDescription(wxFileType *self){
965 wxString str;
966 if (self->GetDescription(&str))
967 return wx2PyString(str);
968 else
969 RETURN_NONE();
970 }
971PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
972 wxString str;
973 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
974 return wx2PyString(str);
975 else
976 RETURN_NONE();
977 }
978PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
979 wxString str;
980 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
981 return wx2PyString(str);
982 else
983 RETURN_NONE();
984 }
985PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
986 wxArrayString verbs;
987 wxArrayString commands;
988 if (self->GetAllCommands(&verbs, &commands,
989 wxFileType::MessageParameters(filename, mimetype))) {
990 bool blocked = wxPyBeginBlockThreads();
991 PyObject* tuple = PyTuple_New(2);
992 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
993 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
994 wxPyEndBlockThreads(blocked);
995 return tuple;
996 }
997 else
998 RETURN_NONE();
999 }
1000wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
1001 return wxFileType::ExpandCommand(command,
1002 wxFileType::MessageParameters(filename, mimetype));
1003 }
1004PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
1005 wxArrayString arr;
1006 self->EnumAllFileTypes(arr);
1007 return wxArrayString2PyList_helper(arr);
1008 }
1009
1010#include <wx/artprov.h>
1011
1012 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
1013 static const wxString wxPyART_MENU(wxART_MENU);
1014 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
1015 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
1016 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
1017 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
1018 static const wxString wxPyART_OTHER(wxART_OTHER);
1019 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
1020 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
1021 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
1022 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
1023 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
1024 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
1025 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
1026 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
1027 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
1028 static const wxString wxPyART_GO_UP(wxART_GO_UP);
1029 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
1030 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
1031 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
1032 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
1033 static const wxString wxPyART_PRINT(wxART_PRINT);
1034 static const wxString wxPyART_HELP(wxART_HELP);
1035 static const wxString wxPyART_TIP(wxART_TIP);
1036 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
1037 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
1038 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
1039 static const wxString wxPyART_FOLDER(wxART_FOLDER);
1040 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
1041 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
1042 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
1043 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
1044 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
1045 static const wxString wxPyART_ERROR(wxART_ERROR);
1046 static const wxString wxPyART_QUESTION(wxART_QUESTION);
1047 static const wxString wxPyART_WARNING(wxART_WARNING);
1048 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
1049 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
1050 // Python aware wxArtProvider
1051class wxPyArtProvider : public wxArtProvider {
1052public:
1053
1054 virtual wxBitmap CreateBitmap(const wxArtID& id,
1055 const wxArtClient& client,
1056 const wxSize& size) {
1057 wxBitmap rval = wxNullBitmap;
1058 bool blocked = wxPyBeginBlockThreads();
1059 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
1060 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
1061 PyObject* ro;
1062 wxBitmap* ptr;
1063 PyObject* s1, *s2;
1064 s1 = wx2PyString(id);
1065 s2 = wx2PyString(client);
1066 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
1067 Py_DECREF(so);
1068 Py_DECREF(s1);
1069 Py_DECREF(s2);
1070 if (ro) {
1071 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
1072 rval = *ptr;
1073 Py_DECREF(ro);
1074 }
1075 }
1076 wxPyEndBlockThreads(blocked);
1077 return rval;
1078 }
1079
1080 PYPRIVATE;
1081};
1082
1083void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
1084
1085
1086
1087 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
1088 PyObject* ret = PyTuple_New(3);
1089 if (ret) {
1090 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
1091 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
1092 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
1093 }
1094 return ret;
1095 }
1096
1097PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
1098 bool cont;
1099 long index = 0;
1100 wxString value;
1101
1102 cont = self->GetFirstGroup(value, index);
1103 return __EnumerationHelper(cont, value, index);
1104 }
1105PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
1106 bool cont;
1107 wxString value;
1108
1109 cont = self->GetNextGroup(value, index);
1110 return __EnumerationHelper(cont, value, index);
1111 }
1112PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
1113 bool cont;
1114 long index = 0;
1115 wxString value;
1116
1117 cont = self->GetFirstEntry(value, index);
1118 return __EnumerationHelper(cont, value, index);
1119 }
1120PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
1121 bool cont;
1122 wxString value;
1123
1124 cont = self->GetNextEntry(value, index);
1125 return __EnumerationHelper(cont, value, index);
1126 }
1127long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
1128 long rv;
1129 self->Read(key, &rv, defaultVal);
1130 return rv;
1131 }
1132
1133SWIGSTATICINLINE(double)
1134SWIG_AsDouble(PyObject *obj)
1135{
1136 if (PyNumber_Check(obj))
1137 return PyFloat_AsDouble(obj);
1138 else {
1139 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
1140 obj->ob_type->tp_name);
1141 PyErr_SetObject(PyExc_TypeError, errmsg);
1142 Py_DECREF(errmsg);
1143 return 0;
1144 }
1145}
1146
1147
1148SWIGSTATICINLINE(int)
1149SWIG_CheckDouble(PyObject* obj)
1150{
1151 SWIG_AsDouble(obj);
1152 if (PyErr_Occurred()) {
1153 PyErr_Clear();
1154 return 0;
1155 } else {
1156 return 1;
1157 }
1158}
1159
1160double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
1161 double rv;
1162 self->Read(key, &rv, defaultVal);
1163 return rv;
1164 }
1165bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
1166 bool rv;
1167 self->Read(key, &rv, defaultVal);
1168 return rv;
1169 }
1170
1171#include <wx/datetime.h>
1172
1173
1174 static const wxString wxPyDateFormatStr(wxT("%c"));
1175 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1176
1177#define LOCAL_TZ wxDateTime::Local
1178
1179
1180#if UINT_MAX < LONG_MAX
1181#define SWIG_FromUnsignedInt SWIG_FromLong
1182#else
1183#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1184#endif
1185
1186wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
1187wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
1188wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
1189wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
1190wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
1191bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){
1192 if (!other || !self->IsValid() || !other->IsValid()) return self < other;
1193 return (*self < *other);
1194 }
1195bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){
1196 if (!other || !self->IsValid() || !other->IsValid()) return self <= other;
1197 return (*self <= *other);
1198 }
1199bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){
1200 if (!other || !self->IsValid() || !other->IsValid()) return self > other;
1201 return (*self > *other);
1202 }
1203bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){
1204 if (!other || !self->IsValid() || !other->IsValid()) return self >= other;
1205 return (*self >= *other);
1206 }
1207bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){
1208 if (!other || !self->IsValid() || !other->IsValid()) return self == other;
1209 return (*self == *other);
1210 }
1211bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){
1212 if (!other || !self->IsValid() || !other->IsValid()) return self != other;
1213 return (*self != *other);
1214 }
1215int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
1216 const wxChar* rv;
1217 const wxChar* _date = date;
1218 rv = self->ParseRfc822Date(_date);
1219 if (rv == NULL) return -1;
1220 return rv - _date;
1221 }
1222int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
1223 const wxChar* rv;
1224 const wxChar* _date = date;
1225 rv = self->ParseFormat(_date, format, dateDef);
1226 if (rv == NULL) return -1;
1227 return rv - _date;
1228 }
1229int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
1230 const wxChar* rv;
1231 const wxChar* _datetime = datetime;
1232 rv = self->ParseDateTime(_datetime);
1233 if (rv == NULL) return -1;
1234 return rv - _datetime;
1235 }
1236int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
1237 const wxChar* rv;
1238 const wxChar* _date = date;
1239 rv = self->ParseDate(_date);
1240 if (rv == NULL) return -1;
1241 return rv - _date;
1242 }
1243int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
1244 const wxChar* rv;
1245 const wxChar* _time = time;
1246 rv = self->ParseTime(_time);
1247 if (rv == NULL) return -1;
1248 return rv - _time;
1249 }
1250wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
1251wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
1252wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
1253wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
1254bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : False; }
1255bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : False; }
1256bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : True; }
1257bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : True; }
1258bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : False; }
1259bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : True; }
1260wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
1261wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
1262wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
1263wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
1264bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : False; }
1265bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : True; }
1266
1267#include <wx/dataobj.h>
1268
a07a67e6
RD
1269PyObject *wxDataObject_GetAllFormats(wxDataObject *self,wxDataObject::Direction dir){
1270 size_t count = self->GetFormatCount(dir);
1271 wxDataFormat* formats = new wxDataFormat[count];
1272 self->GetAllFormats(formats, dir);
1273
1274 bool blocked = wxPyBeginBlockThreads();
1275 PyObject* list = PyList_New(count);
1276 for (size_t i=0; i<count; i++) {
1277 wxDataFormat* format = new wxDataFormat(formats[i]);
1278 PyObject* obj = wxPyConstructObject((void*)format, wxT("wxDataFormat"), True);
1279 PyList_Append(list, obj);
1280 Py_DECREF(obj);
1281 }
1282 wxPyEndBlockThreads(blocked);
1283 delete [] formats;
1284 return list;
1285 }
1286PyObject *wxDataObject_GetDataHere(wxDataObject *self,wxDataFormat const &format){
1287 PyObject* rval = NULL;
1288 size_t size = self->GetDataSize(format);
1289 bool blocked = wxPyBeginBlockThreads();
1290 if (size) {
1291 char* buf = new char[size];
1292 if (self->GetDataHere(format, buf))
1293 rval = PyString_FromStringAndSize(buf, size);
1294 delete [] buf;
1295 }
1296 if (! rval) {
1297 rval = Py_None;
1298 Py_INCREF(rval);
1299 }
1300 wxPyEndBlockThreads(blocked);
1301 return rval;
1302 }
1303bool wxDataObject_SetData(wxDataObject *self,wxDataFormat const &format,PyObject *data){
1304 bool rval;
1305 bool blocked = wxPyBeginBlockThreads();
1306 if (PyString_Check(data)) {
1307 rval = self->SetData(format, PyString_Size(data), PyString_AsString(data));
1308 }
1309 else {
1310 // raise a TypeError if not a string
1311 PyErr_SetString(PyExc_TypeError, "String expected.");
1312 rval = False;
1313 }
1314 wxPyEndBlockThreads(blocked);
1315 return rval;
1316 }
1317PyObject *wxDataObjectSimple_GetDataHere(wxDataObjectSimple *self){
1318 PyObject* rval = NULL;
1319 size_t size = self->GetDataSize();
1320 bool blocked = wxPyBeginBlockThreads();
1321 if (size) {
1322 char* buf = new char[size];
1323 if (self->GetDataHere(buf))
1324 rval = PyString_FromStringAndSize(buf, size);
1325 delete [] buf;
1326 }
1327 if (! rval) {
1328 rval = Py_None;
1329 Py_INCREF(rval);
1330 }
1331 wxPyEndBlockThreads(blocked);
1332 return rval;
1333 }
1334bool wxDataObjectSimple_SetData(wxDataObjectSimple *self,PyObject *data){
1335 bool rval;
1336 bool blocked = wxPyBeginBlockThreads();
1337 if (PyString_Check(data)) {
1338 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
1339 }
1340 else {
1341 // raise a TypeError if not a string
1342 PyErr_SetString(PyExc_TypeError, "String expected.");
1343 rval = False;
1344 }
1345 wxPyEndBlockThreads(blocked);
1346 return rval;
1347 }
d55e5bfc
RD
1348 // Create a new class for wxPython to use
1349class wxPyDataObjectSimple : public wxDataObjectSimple {
1350public:
1351 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
1352 : wxDataObjectSimple(format) {}
1353
1354 DEC_PYCALLBACK_SIZET__const(GetDataSize);
1355 bool GetDataHere(void *buf) const;
1356 bool SetData(size_t len, const void *buf) const;
1357 PYPRIVATE;
1358};
1359
1360IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
1361
1362bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
1363 // We need to get the data for this object and write it to buf. I think
1364 // the best way to do this for wxPython is to have the Python method
1365 // return either a string or None and then act appropriately with the
1366 // C++ version.
1367
1368 bool rval = False;
1369 bool blocked = wxPyBeginBlockThreads();
1370 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
1371 PyObject* ro;
1372 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1373 if (ro) {
1374 rval = (ro != Py_None && PyString_Check(ro));
1375 if (rval)
1376 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
1377 Py_DECREF(ro);
1378 }
1379 }
1380 wxPyEndBlockThreads(blocked);
1381 return rval;
1382}
1383
1384bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
1385 // For this one we simply need to make a string from buf and len
1386 // and send it to the Python method.
1387 bool rval = False;
1388 bool blocked = wxPyBeginBlockThreads();
1389 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
1390 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
1391 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
1392 Py_DECREF(data);
1393 }
1394 wxPyEndBlockThreads(blocked);
1395 return rval;
1396}
1397
1398 // Create a new class for wxPython to use
1399class wxPyTextDataObject : public wxTextDataObject {
1400public:
1401 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
1402 : wxTextDataObject(text) {}
1403
1404 DEC_PYCALLBACK_SIZET__const(GetTextLength);
1405 DEC_PYCALLBACK_STRING__const(GetText);
1406 DEC_PYCALLBACK__STRING(SetText);
1407 PYPRIVATE;
1408};
1409
1410IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
1411IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
1412IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
1413
1414
1415 // Create a new class for wxPython to use
1416class wxPyBitmapDataObject : public wxBitmapDataObject {
1417public:
1418 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1419 : wxBitmapDataObject(bitmap) {}
1420
1421 wxBitmap GetBitmap() const;
1422 void SetBitmap(const wxBitmap& bitmap);
1423 PYPRIVATE;
1424};
1425
1426wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1427 wxBitmap* rval = &wxNullBitmap;
1428 bool blocked = wxPyBeginBlockThreads();
1429 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1430 PyObject* ro;
1431 wxBitmap* ptr;
1432 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1433 if (ro) {
1434 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1435 rval = ptr;
1436 Py_DECREF(ro);
1437 }
1438 }
1439 wxPyEndBlockThreads(blocked);
1440 return *rval;
1441}
a07a67e6 1442
d55e5bfc
RD
1443void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1444 bool blocked = wxPyBeginBlockThreads();
1445 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1446 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
1447 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1448 Py_DECREF(bo);
1449 }
1450 wxPyEndBlockThreads(blocked);
1451}
1452
d55e5bfc 1453bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
a07a67e6
RD
1454 bool rval;
1455 bool blocked = wxPyBeginBlockThreads();
d55e5bfc 1456 if (PyString_Check(data)) {
a07a67e6 1457 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
d55e5bfc
RD
1458 }
1459 else {
1460 // raise a TypeError if not a string
1461 PyErr_SetString(PyExc_TypeError, "String expected.");
a07a67e6 1462 rval = False;
d55e5bfc 1463 }
a07a67e6
RD
1464 wxPyEndBlockThreads(blocked);
1465 return rval;
d55e5bfc
RD
1466 }
1467PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
a07a67e6
RD
1468 PyObject* obj;
1469 bool blocked = wxPyBeginBlockThreads();
1470 obj = PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1471 wxPyEndBlockThreads(blocked);
1472 return obj;
d55e5bfc
RD
1473 }
1474
1475#include <wx/metafile.h>
1476
1477
1478IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1479
1480
1481IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1482IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1483IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1484IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1485IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1486
1487
1488class wxPyTextDropTarget : public wxTextDropTarget {
1489public:
1490 wxPyTextDropTarget() {}
1491
1492 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1493
1494 DEC_PYCALLBACK__(OnLeave);
1495 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1496 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1497 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1498 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1499
1500 PYPRIVATE;
1501};
1502
1503IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1504IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1505IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1506IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1507IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1508IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1509
1510
1511
1512class wxPyFileDropTarget : public wxFileDropTarget {
1513public:
1514 wxPyFileDropTarget() {}
1515
1516 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1517
1518 DEC_PYCALLBACK__(OnLeave);
1519 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1520 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1521 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1522 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1523
1524 PYPRIVATE;
1525};
1526
1527bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1528 const wxArrayString& filenames) {
1529 bool rval = False;
1530 bool blocked = wxPyBeginBlockThreads();
1531 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1532 PyObject* list = wxArrayString2PyList_helper(filenames);
1533 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1534 Py_DECREF(list);
1535 }
1536 wxPyEndBlockThreads(blocked);
1537 return rval;
1538}
1539
1540
1541
1542IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1543IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1544IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1545IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1546IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1547
1548
1549
1550
1551bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1552
1553#include "wx/display.h"
1554
1555bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : False; }
1556bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : True; }
1557PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode){
1558 PyObject* pyList = NULL;
1559 wxArrayVideoModes arr = self->GetModes(mode);
1560 bool blocked = wxPyBeginBlockThreads();
1561 pyList = PyList_New(0);
1562 for (int i=0; i < arr.GetCount(); i++) {
1563 wxVideoMode* m = new wxVideoMode(arr.Item(i));
1564 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
1565 PyList_Append(pyList, pyObj);
a07a67e6 1566 Py_DECREF(pyObj);
d55e5bfc
RD
1567 }
1568 wxPyEndBlockThreads(blocked);
1569 return pyList;
1570 }
1571#ifdef __cplusplus
1572extern "C" {
1573#endif
1574static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1575 PyObject *resultobj;
1576 int arg1 ;
1577 wxColour result;
1578 PyObject * obj0 = 0 ;
1579 char *kwnames[] = {
1580 (char *) "index", NULL
1581 };
1582
1583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
1584 arg1 = (wxSystemColour) SWIG_AsInt(obj0);
1585 if (PyErr_Occurred()) SWIG_fail;
1586 {
0439c23b 1587 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1588 PyThreadState* __tstate = wxPyBeginAllowThreads();
1589 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1590
1591 wxPyEndAllowThreads(__tstate);
0439c23b 1592 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1593 }
1594 {
1595 wxColour * resultptr;
1596 resultptr = new wxColour((wxColour &) result);
1597 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
1598 }
1599 return resultobj;
1600 fail:
1601 return NULL;
1602}
1603
1604
1605static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1606 PyObject *resultobj;
1607 int arg1 ;
1608 wxFont result;
1609 PyObject * obj0 = 0 ;
1610 char *kwnames[] = {
1611 (char *) "index", NULL
1612 };
1613
1614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
1615 arg1 = (wxSystemFont) SWIG_AsInt(obj0);
1616 if (PyErr_Occurred()) SWIG_fail;
1617 {
0439c23b 1618 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1619 PyThreadState* __tstate = wxPyBeginAllowThreads();
1620 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1621
1622 wxPyEndAllowThreads(__tstate);
0439c23b 1623 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1624 }
1625 {
1626 wxFont * resultptr;
1627 resultptr = new wxFont((wxFont &) result);
1628 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
1629 }
1630 return resultobj;
1631 fail:
1632 return NULL;
1633}
1634
1635
1636static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1637 PyObject *resultobj;
1638 int arg1 ;
1639 int result;
1640 PyObject * obj0 = 0 ;
1641 char *kwnames[] = {
1642 (char *) "index", NULL
1643 };
1644
1645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
1646 arg1 = (wxSystemMetric) SWIG_AsInt(obj0);
1647 if (PyErr_Occurred()) SWIG_fail;
1648 {
0439c23b 1649 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1650 PyThreadState* __tstate = wxPyBeginAllowThreads();
1651 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1652
1653 wxPyEndAllowThreads(__tstate);
0439c23b 1654 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1655 }
1656 resultobj = SWIG_FromInt((int)result);
1657 return resultobj;
1658 fail:
1659 return NULL;
1660}
1661
1662
1663static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1664 PyObject *resultobj;
1665 int arg1 ;
1666 bool result;
1667 PyObject * obj0 = 0 ;
1668 char *kwnames[] = {
1669 (char *) "index", NULL
1670 };
1671
1672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
1673 arg1 = (wxSystemFeature) SWIG_AsInt(obj0);
1674 if (PyErr_Occurred()) SWIG_fail;
1675 {
0439c23b 1676 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1677 PyThreadState* __tstate = wxPyBeginAllowThreads();
1678 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1679
1680 wxPyEndAllowThreads(__tstate);
0439c23b 1681 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1682 }
1683 {
1684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1685 }
1686 return resultobj;
1687 fail:
1688 return NULL;
1689}
1690
1691
1692static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1693 PyObject *resultobj;
1694 int result;
1695 char *kwnames[] = {
1696 NULL
1697 };
1698
1699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1700 {
0439c23b 1701 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1702 PyThreadState* __tstate = wxPyBeginAllowThreads();
1703 result = (int)wxSystemSettings::GetScreenType();
1704
1705 wxPyEndAllowThreads(__tstate);
0439c23b 1706 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1707 }
1708 resultobj = SWIG_FromInt((int)result);
1709 return resultobj;
1710 fail:
1711 return NULL;
1712}
1713
1714
1715static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1716 PyObject *resultobj;
1717 int arg1 ;
1718 PyObject * obj0 = 0 ;
1719 char *kwnames[] = {
1720 (char *) "screen", NULL
1721 };
1722
1723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
1724 arg1 = (wxSystemScreenType) SWIG_AsInt(obj0);
1725 if (PyErr_Occurred()) SWIG_fail;
1726 {
0439c23b 1727 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1728 PyThreadState* __tstate = wxPyBeginAllowThreads();
1729 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1730
1731 wxPyEndAllowThreads(__tstate);
0439c23b 1732 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1733 }
1734 Py_INCREF(Py_None); resultobj = Py_None;
1735 return resultobj;
1736 fail:
1737 return NULL;
1738}
1739
1740
1741static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1742 PyObject *obj;
1743 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1744 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1745 Py_INCREF(obj);
1746 return Py_BuildValue((char *)"");
1747}
1748static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1749 PyObject *resultobj;
1750 wxSystemOptions *result;
1751 char *kwnames[] = {
1752 NULL
1753 };
1754
1755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1756 {
1757 PyThreadState* __tstate = wxPyBeginAllowThreads();
1758 result = (wxSystemOptions *)new wxSystemOptions();
1759
1760 wxPyEndAllowThreads(__tstate);
1761 if (PyErr_Occurred()) SWIG_fail;
1762 }
1763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
1764 return resultobj;
1765 fail:
1766 return NULL;
1767}
1768
1769
1770static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1771 PyObject *resultobj;
1772 wxString *arg1 = 0 ;
1773 wxString *arg2 = 0 ;
1774 bool temp1 = False ;
1775 bool temp2 = False ;
1776 PyObject * obj0 = 0 ;
1777 PyObject * obj1 = 0 ;
1778 char *kwnames[] = {
1779 (char *) "name",(char *) "value", NULL
1780 };
1781
1782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1783 {
1784 arg1 = wxString_in_helper(obj0);
1785 if (arg1 == NULL) SWIG_fail;
1786 temp1 = True;
1787 }
1788 {
1789 arg2 = wxString_in_helper(obj1);
1790 if (arg2 == NULL) SWIG_fail;
1791 temp2 = True;
1792 }
1793 {
1794 PyThreadState* __tstate = wxPyBeginAllowThreads();
1795 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1796
1797 wxPyEndAllowThreads(__tstate);
1798 if (PyErr_Occurred()) SWIG_fail;
1799 }
1800 Py_INCREF(Py_None); resultobj = Py_None;
1801 {
1802 if (temp1)
1803 delete arg1;
1804 }
1805 {
1806 if (temp2)
1807 delete arg2;
1808 }
1809 return resultobj;
1810 fail:
1811 {
1812 if (temp1)
1813 delete arg1;
1814 }
1815 {
1816 if (temp2)
1817 delete arg2;
1818 }
1819 return NULL;
1820}
1821
1822
1823static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1824 PyObject *resultobj;
1825 wxString *arg1 = 0 ;
1826 int arg2 ;
1827 bool temp1 = False ;
1828 PyObject * obj0 = 0 ;
1829 PyObject * obj1 = 0 ;
1830 char *kwnames[] = {
1831 (char *) "name",(char *) "value", NULL
1832 };
1833
1834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
1835 {
1836 arg1 = wxString_in_helper(obj0);
1837 if (arg1 == NULL) SWIG_fail;
1838 temp1 = True;
1839 }
1840 arg2 = (int) SWIG_AsInt(obj1);
1841 if (PyErr_Occurred()) SWIG_fail;
1842 {
1843 PyThreadState* __tstate = wxPyBeginAllowThreads();
1844 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1845
1846 wxPyEndAllowThreads(__tstate);
1847 if (PyErr_Occurred()) SWIG_fail;
1848 }
1849 Py_INCREF(Py_None); resultobj = Py_None;
1850 {
1851 if (temp1)
1852 delete arg1;
1853 }
1854 return resultobj;
1855 fail:
1856 {
1857 if (temp1)
1858 delete arg1;
1859 }
1860 return NULL;
1861}
1862
1863
1864static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1865 PyObject *resultobj;
1866 wxString *arg1 = 0 ;
1867 wxString result;
1868 bool temp1 = False ;
1869 PyObject * obj0 = 0 ;
1870 char *kwnames[] = {
1871 (char *) "name", NULL
1872 };
1873
1874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1875 {
1876 arg1 = wxString_in_helper(obj0);
1877 if (arg1 == NULL) SWIG_fail;
1878 temp1 = True;
1879 }
1880 {
1881 PyThreadState* __tstate = wxPyBeginAllowThreads();
1882 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1883
1884 wxPyEndAllowThreads(__tstate);
1885 if (PyErr_Occurred()) SWIG_fail;
1886 }
1887 {
1888#if wxUSE_UNICODE
1889 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1890#else
1891 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1892#endif
1893 }
1894 {
1895 if (temp1)
1896 delete arg1;
1897 }
1898 return resultobj;
1899 fail:
1900 {
1901 if (temp1)
1902 delete arg1;
1903 }
1904 return NULL;
1905}
1906
1907
1908static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1909 PyObject *resultobj;
1910 wxString *arg1 = 0 ;
1911 int result;
1912 bool temp1 = False ;
1913 PyObject * obj0 = 0 ;
1914 char *kwnames[] = {
1915 (char *) "name", NULL
1916 };
1917
1918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1919 {
1920 arg1 = wxString_in_helper(obj0);
1921 if (arg1 == NULL) SWIG_fail;
1922 temp1 = True;
1923 }
1924 {
1925 PyThreadState* __tstate = wxPyBeginAllowThreads();
1926 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1927
1928 wxPyEndAllowThreads(__tstate);
1929 if (PyErr_Occurred()) SWIG_fail;
1930 }
1931 resultobj = SWIG_FromInt((int)result);
1932 {
1933 if (temp1)
1934 delete arg1;
1935 }
1936 return resultobj;
1937 fail:
1938 {
1939 if (temp1)
1940 delete arg1;
1941 }
1942 return NULL;
1943}
1944
1945
1946static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1947 PyObject *resultobj;
1948 wxString *arg1 = 0 ;
1949 bool result;
1950 bool temp1 = False ;
1951 PyObject * obj0 = 0 ;
1952 char *kwnames[] = {
1953 (char *) "name", NULL
1954 };
1955
1956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1957 {
1958 arg1 = wxString_in_helper(obj0);
1959 if (arg1 == NULL) SWIG_fail;
1960 temp1 = True;
1961 }
1962 {
1963 PyThreadState* __tstate = wxPyBeginAllowThreads();
1964 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1965
1966 wxPyEndAllowThreads(__tstate);
1967 if (PyErr_Occurred()) SWIG_fail;
1968 }
1969 {
1970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1971 }
1972 {
1973 if (temp1)
1974 delete arg1;
1975 }
1976 return resultobj;
1977 fail:
1978 {
1979 if (temp1)
1980 delete arg1;
1981 }
1982 return NULL;
1983}
1984
1985
1986static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1987 PyObject *obj;
1988 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1989 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1990 Py_INCREF(obj);
1991 return Py_BuildValue((char *)"");
1992}
1993static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
1994 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
1995 return 1;
1996}
1997
1998
1999static PyObject *_wrap_FileSelectorPromptStr_get() {
2000 PyObject *pyobj;
2001
2002 {
2003#if wxUSE_UNICODE
2004 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
2005#else
2006 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
2007#endif
2008 }
2009 return pyobj;
2010}
2011
2012
2013static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
2014 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
2015 return 1;
2016}
2017
2018
2019static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
2020 PyObject *pyobj;
2021
2022 {
2023#if wxUSE_UNICODE
2024 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
2025#else
2026 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
2027#endif
2028 }
2029 return pyobj;
2030}
2031
2032
2033static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
2034 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
2035 return 1;
2036}
2037
2038
2039static PyObject *_wrap_DirSelectorPromptStr_get() {
2040 PyObject *pyobj;
2041
2042 {
2043#if wxUSE_UNICODE
2044 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
2045#else
2046 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
2047#endif
2048 }
2049 return pyobj;
2050}
2051
2052
2053static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
2054 PyObject *resultobj;
2055 long result;
2056 char *kwnames[] = {
2057 NULL
2058 };
2059
2060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
2061 {
2062 PyThreadState* __tstate = wxPyBeginAllowThreads();
2063 result = (long)wxNewId();
2064
2065 wxPyEndAllowThreads(__tstate);
2066 if (PyErr_Occurred()) SWIG_fail;
2067 }
2068 resultobj = SWIG_FromLong((long)result);
2069 return resultobj;
2070 fail:
2071 return NULL;
2072}
2073
2074
2075static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
2076 PyObject *resultobj;
2077 long arg1 ;
2078 PyObject * obj0 = 0 ;
2079 char *kwnames[] = {
2080 (char *) "id", NULL
2081 };
2082
2083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
2084 arg1 = (long) SWIG_AsLong(obj0);
2085 if (PyErr_Occurred()) SWIG_fail;
2086 {
2087 PyThreadState* __tstate = wxPyBeginAllowThreads();
2088 wxRegisterId(arg1);
2089
2090 wxPyEndAllowThreads(__tstate);
2091 if (PyErr_Occurred()) SWIG_fail;
2092 }
2093 Py_INCREF(Py_None); resultobj = Py_None;
2094 return resultobj;
2095 fail:
2096 return NULL;
2097}
2098
2099
2100static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
2101 PyObject *resultobj;
2102 long result;
2103 char *kwnames[] = {
2104 NULL
2105 };
2106
2107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
2108 {
2109 PyThreadState* __tstate = wxPyBeginAllowThreads();
2110 result = (long)wxGetCurrentId();
2111
2112 wxPyEndAllowThreads(__tstate);
2113 if (PyErr_Occurred()) SWIG_fail;
2114 }
2115 resultobj = SWIG_FromLong((long)result);
2116 return resultobj;
2117 fail:
2118 return NULL;
2119}
2120
2121
2122static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
2123 PyObject *resultobj;
2124 char *kwnames[] = {
2125 NULL
2126 };
2127
2128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
2129 {
0439c23b 2130 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2131 PyThreadState* __tstate = wxPyBeginAllowThreads();
2132 wxBell();
2133
2134 wxPyEndAllowThreads(__tstate);
0439c23b 2135 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2136 }
2137 Py_INCREF(Py_None); resultobj = Py_None;
2138 return resultobj;
2139 fail:
2140 return NULL;
2141}
2142
2143
2144static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
2145 PyObject *resultobj;
2146 char *kwnames[] = {
2147 NULL
2148 };
2149
2150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
2151 {
0439c23b 2152 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2153 PyThreadState* __tstate = wxPyBeginAllowThreads();
2154 wxEndBusyCursor();
2155
2156 wxPyEndAllowThreads(__tstate);
0439c23b 2157 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2158 }
2159 Py_INCREF(Py_None); resultobj = Py_None;
2160 return resultobj;
2161 fail:
2162 return NULL;
2163}
2164
2165
2166static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
2167 PyObject *resultobj;
2168 bool arg1 = (bool) True ;
2169 long result;
2170 PyObject * obj0 = 0 ;
2171 char *kwnames[] = {
2172 (char *) "resetTimer", NULL
2173 };
2174
2175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
2176 if (obj0) {
2177 arg1 = (bool) SWIG_AsBool(obj0);
2178 if (PyErr_Occurred()) SWIG_fail;
2179 }
2180 {
2181 PyThreadState* __tstate = wxPyBeginAllowThreads();
2182 result = (long)wxGetElapsedTime(arg1);
2183
2184 wxPyEndAllowThreads(__tstate);
2185 if (PyErr_Occurred()) SWIG_fail;
2186 }
2187 resultobj = SWIG_FromLong((long)result);
2188 return resultobj;
2189 fail:
2190 return NULL;
2191}
2192
2193
2194static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2195 PyObject *resultobj;
2196 int *arg1 = (int *) 0 ;
2197 int *arg2 = (int *) 0 ;
2198 int temp1 ;
2199 int temp2 ;
2200 char *kwnames[] = {
2201 NULL
2202 };
2203
2204 arg1 = &temp1;
2205 arg2 = &temp2;
2206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
2207 {
0439c23b 2208 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2209 PyThreadState* __tstate = wxPyBeginAllowThreads();
2210 wxGetMousePosition(arg1,arg2);
2211
2212 wxPyEndAllowThreads(__tstate);
0439c23b 2213 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2214 }
2215 Py_INCREF(Py_None); resultobj = Py_None;
2216 {
2217 PyObject *o = PyInt_FromLong((long) (*arg1));
2218 resultobj = t_output_helper(resultobj,o);
2219 }
2220 {
2221 PyObject *o = PyInt_FromLong((long) (*arg2));
2222 resultobj = t_output_helper(resultobj,o);
2223 }
2224 return resultobj;
2225 fail:
2226 return NULL;
2227}
2228
2229
2230static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
2231 PyObject *resultobj;
2232 bool result;
2233 char *kwnames[] = {
2234 NULL
2235 };
2236
2237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
2238 {
2239 PyThreadState* __tstate = wxPyBeginAllowThreads();
2240 result = (bool)wxIsBusy();
2241
2242 wxPyEndAllowThreads(__tstate);
2243 if (PyErr_Occurred()) SWIG_fail;
2244 }
2245 {
2246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2247 }
2248 return resultobj;
2249 fail:
2250 return NULL;
2251}
2252
2253
2254static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
2255 PyObject *resultobj;
2256 wxString result;
2257 char *kwnames[] = {
2258 NULL
2259 };
2260
2261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
2262 {
2263 PyThreadState* __tstate = wxPyBeginAllowThreads();
2264 result = wxNow();
2265
2266 wxPyEndAllowThreads(__tstate);
2267 if (PyErr_Occurred()) SWIG_fail;
2268 }
2269 {
2270#if wxUSE_UNICODE
2271 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2272#else
2273 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2274#endif
2275 }
2276 return resultobj;
2277 fail:
2278 return NULL;
2279}
2280
2281
2282static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
2283 PyObject *resultobj;
2284 wxString const &arg1_defvalue = wxPyEmptyString ;
2285 wxString *arg1 = (wxString *) &arg1_defvalue ;
2286 bool result;
2287 bool temp1 = False ;
2288 PyObject * obj0 = 0 ;
2289 char *kwnames[] = {
2290 (char *) "command", NULL
2291 };
2292
2293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
2294 if (obj0) {
2295 {
2296 arg1 = wxString_in_helper(obj0);
2297 if (arg1 == NULL) SWIG_fail;
2298 temp1 = True;
2299 }
2300 }
2301 {
2302 PyThreadState* __tstate = wxPyBeginAllowThreads();
2303 result = (bool)wxShell((wxString const &)*arg1);
2304
2305 wxPyEndAllowThreads(__tstate);
2306 if (PyErr_Occurred()) SWIG_fail;
2307 }
2308 {
2309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2310 }
2311 {
2312 if (temp1)
2313 delete arg1;
2314 }
2315 return resultobj;
2316 fail:
2317 {
2318 if (temp1)
2319 delete arg1;
2320 }
2321 return NULL;
2322}
2323
2324
2325static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
2326 PyObject *resultobj;
2327 char *kwnames[] = {
2328 NULL
2329 };
2330
2331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2332 {
2333 PyThreadState* __tstate = wxPyBeginAllowThreads();
2334 wxStartTimer();
2335
2336 wxPyEndAllowThreads(__tstate);
2337 if (PyErr_Occurred()) SWIG_fail;
2338 }
2339 Py_INCREF(Py_None); resultobj = Py_None;
2340 return resultobj;
2341 fail:
2342 return NULL;
2343}
2344
2345
2346static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
2347 PyObject *resultobj;
2348 int *arg1 = (int *) 0 ;
2349 int *arg2 = (int *) 0 ;
2350 int result;
2351 int temp1 ;
2352 int temp2 ;
2353 char *kwnames[] = {
2354 NULL
2355 };
2356
2357 arg1 = &temp1;
2358 arg2 = &temp2;
2359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2360 {
2361 PyThreadState* __tstate = wxPyBeginAllowThreads();
2362 result = (int)wxGetOsVersion(arg1,arg2);
2363
2364 wxPyEndAllowThreads(__tstate);
2365 if (PyErr_Occurred()) SWIG_fail;
2366 }
2367 resultobj = SWIG_FromInt((int)result);
2368 {
2369 PyObject *o = PyInt_FromLong((long) (*arg1));
2370 resultobj = t_output_helper(resultobj,o);
2371 }
2372 {
2373 PyObject *o = PyInt_FromLong((long) (*arg2));
2374 resultobj = t_output_helper(resultobj,o);
2375 }
2376 return resultobj;
2377 fail:
2378 return NULL;
2379}
2380
2381
2382static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
2383 PyObject *resultobj;
2384 wxString result;
2385 char *kwnames[] = {
2386 NULL
2387 };
2388
2389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2390 {
2391 PyThreadState* __tstate = wxPyBeginAllowThreads();
2392 result = wxGetOsDescription();
2393
2394 wxPyEndAllowThreads(__tstate);
2395 if (PyErr_Occurred()) SWIG_fail;
2396 }
2397 {
2398#if wxUSE_UNICODE
2399 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2400#else
2401 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2402#endif
2403 }
2404 return resultobj;
2405 fail:
2406 return NULL;
2407}
2408
2409
2410static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
2411 PyObject *resultobj;
2412 long result;
2413 char *kwnames[] = {
2414 NULL
2415 };
2416
2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2418 {
2419 PyThreadState* __tstate = wxPyBeginAllowThreads();
2420 result = (long)wxGetFreeMemory();
2421
2422 wxPyEndAllowThreads(__tstate);
2423 if (PyErr_Occurred()) SWIG_fail;
2424 }
2425 resultobj = SWIG_FromLong((long)result);
2426 return resultobj;
2427 fail:
2428 return NULL;
2429}
2430
2431
2432static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
2433 PyObject *resultobj;
2434 int arg1 ;
2435 bool result;
2436 PyObject * obj0 = 0 ;
2437 char *kwnames[] = {
2438 (char *) "wFlags", NULL
2439 };
2440
2441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
2442 arg1 = (wxShutdownFlags) SWIG_AsInt(obj0);
2443 if (PyErr_Occurred()) SWIG_fail;
2444 {
0439c23b 2445 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2446 PyThreadState* __tstate = wxPyBeginAllowThreads();
2447 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2448
2449 wxPyEndAllowThreads(__tstate);
0439c23b 2450 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2451 }
2452 {
2453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2454 }
2455 return resultobj;
2456 fail:
2457 return NULL;
2458}
2459
2460
2461static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2462 PyObject *resultobj;
2463 int arg1 ;
2464 PyObject * obj0 = 0 ;
2465 char *kwnames[] = {
2466 (char *) "secs", NULL
2467 };
2468
2469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
2470 arg1 = (int) SWIG_AsInt(obj0);
2471 if (PyErr_Occurred()) SWIG_fail;
2472 {
2473 PyThreadState* __tstate = wxPyBeginAllowThreads();
2474 wxSleep(arg1);
2475
2476 wxPyEndAllowThreads(__tstate);
2477 if (PyErr_Occurred()) SWIG_fail;
2478 }
2479 Py_INCREF(Py_None); resultobj = Py_None;
2480 return resultobj;
2481 fail:
2482 return NULL;
2483}
2484
2485
2486static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2487 PyObject *resultobj;
2488 unsigned long arg1 ;
2489 PyObject * obj0 = 0 ;
2490 char *kwnames[] = {
2491 (char *) "milliseconds", NULL
2492 };
2493
2494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
2495 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
2496 if (PyErr_Occurred()) SWIG_fail;
2497 {
2498 PyThreadState* __tstate = wxPyBeginAllowThreads();
2499 wxUsleep(arg1);
2500
2501 wxPyEndAllowThreads(__tstate);
2502 if (PyErr_Occurred()) SWIG_fail;
2503 }
2504 Py_INCREF(Py_None); resultobj = Py_None;
2505 return resultobj;
2506 fail:
2507 return NULL;
2508}
2509
2510
2511static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2512 PyObject *resultobj;
2513 bool arg1 ;
2514 PyObject * obj0 = 0 ;
2515 char *kwnames[] = {
2516 (char *) "enable", NULL
2517 };
2518
2519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2520 arg1 = (bool) SWIG_AsBool(obj0);
2521 if (PyErr_Occurred()) SWIG_fail;
2522 {
2523 PyThreadState* __tstate = wxPyBeginAllowThreads();
2524 wxEnableTopLevelWindows(arg1);
2525
2526 wxPyEndAllowThreads(__tstate);
2527 if (PyErr_Occurred()) SWIG_fail;
2528 }
2529 Py_INCREF(Py_None); resultobj = Py_None;
2530 return resultobj;
2531 fail:
2532 return NULL;
2533}
2534
2535
2536static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2537 PyObject *resultobj;
2538 wxString *arg1 = 0 ;
2539 wxString result;
2540 bool temp1 = False ;
2541 PyObject * obj0 = 0 ;
2542 char *kwnames[] = {
2543 (char *) "in", NULL
2544 };
2545
2546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2547 {
2548 arg1 = wxString_in_helper(obj0);
2549 if (arg1 == NULL) SWIG_fail;
2550 temp1 = True;
2551 }
2552 {
2553 PyThreadState* __tstate = wxPyBeginAllowThreads();
2554 result = wxStripMenuCodes((wxString const &)*arg1);
2555
2556 wxPyEndAllowThreads(__tstate);
2557 if (PyErr_Occurred()) SWIG_fail;
2558 }
2559 {
2560#if wxUSE_UNICODE
2561 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2562#else
2563 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2564#endif
2565 }
2566 {
2567 if (temp1)
2568 delete arg1;
2569 }
2570 return resultobj;
2571 fail:
2572 {
2573 if (temp1)
2574 delete arg1;
2575 }
2576 return NULL;
2577}
2578
2579
2580static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2581 PyObject *resultobj;
2582 wxString result;
2583 char *kwnames[] = {
2584 NULL
2585 };
2586
2587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2588 {
2589 PyThreadState* __tstate = wxPyBeginAllowThreads();
2590 result = wxGetEmailAddress();
2591
2592 wxPyEndAllowThreads(__tstate);
2593 if (PyErr_Occurred()) SWIG_fail;
2594 }
2595 {
2596#if wxUSE_UNICODE
2597 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2598#else
2599 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2600#endif
2601 }
2602 return resultobj;
2603 fail:
2604 return NULL;
2605}
2606
2607
2608static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2609 PyObject *resultobj;
2610 wxString result;
2611 char *kwnames[] = {
2612 NULL
2613 };
2614
2615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2616 {
2617 PyThreadState* __tstate = wxPyBeginAllowThreads();
2618 result = wxGetHostName();
2619
2620 wxPyEndAllowThreads(__tstate);
2621 if (PyErr_Occurred()) SWIG_fail;
2622 }
2623 {
2624#if wxUSE_UNICODE
2625 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2626#else
2627 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2628#endif
2629 }
2630 return resultobj;
2631 fail:
2632 return NULL;
2633}
2634
2635
2636static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2637 PyObject *resultobj;
2638 wxString result;
2639 char *kwnames[] = {
2640 NULL
2641 };
2642
2643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2644 {
2645 PyThreadState* __tstate = wxPyBeginAllowThreads();
2646 result = wxGetFullHostName();
2647
2648 wxPyEndAllowThreads(__tstate);
2649 if (PyErr_Occurred()) SWIG_fail;
2650 }
2651 {
2652#if wxUSE_UNICODE
2653 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2654#else
2655 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2656#endif
2657 }
2658 return resultobj;
2659 fail:
2660 return NULL;
2661}
2662
2663
2664static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2665 PyObject *resultobj;
2666 wxString result;
2667 char *kwnames[] = {
2668 NULL
2669 };
2670
2671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2672 {
2673 PyThreadState* __tstate = wxPyBeginAllowThreads();
2674 result = wxGetUserId();
2675
2676 wxPyEndAllowThreads(__tstate);
2677 if (PyErr_Occurred()) SWIG_fail;
2678 }
2679 {
2680#if wxUSE_UNICODE
2681 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2682#else
2683 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2684#endif
2685 }
2686 return resultobj;
2687 fail:
2688 return NULL;
2689}
2690
2691
2692static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2693 PyObject *resultobj;
2694 wxString result;
2695 char *kwnames[] = {
2696 NULL
2697 };
2698
2699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2700 {
2701 PyThreadState* __tstate = wxPyBeginAllowThreads();
2702 result = wxGetUserName();
2703
2704 wxPyEndAllowThreads(__tstate);
2705 if (PyErr_Occurred()) SWIG_fail;
2706 }
2707 {
2708#if wxUSE_UNICODE
2709 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2710#else
2711 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2712#endif
2713 }
2714 return resultobj;
2715 fail:
2716 return NULL;
2717}
2718
2719
2720static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2721 PyObject *resultobj;
2722 wxString result;
2723 char *kwnames[] = {
2724 NULL
2725 };
2726
2727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2728 {
2729 PyThreadState* __tstate = wxPyBeginAllowThreads();
2730 result = wxGetHomeDir();
2731
2732 wxPyEndAllowThreads(__tstate);
2733 if (PyErr_Occurred()) SWIG_fail;
2734 }
2735 {
2736#if wxUSE_UNICODE
2737 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2738#else
2739 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2740#endif
2741 }
2742 return resultobj;
2743 fail:
2744 return NULL;
2745}
2746
2747
2748static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2749 PyObject *resultobj;
2750 wxString const &arg1_defvalue = wxPyEmptyString ;
2751 wxString *arg1 = (wxString *) &arg1_defvalue ;
2752 wxString result;
2753 bool temp1 = False ;
2754 PyObject * obj0 = 0 ;
2755 char *kwnames[] = {
2756 (char *) "user", NULL
2757 };
2758
2759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2760 if (obj0) {
2761 {
2762 arg1 = wxString_in_helper(obj0);
2763 if (arg1 == NULL) SWIG_fail;
2764 temp1 = True;
2765 }
2766 }
2767 {
2768 PyThreadState* __tstate = wxPyBeginAllowThreads();
2769 result = wxGetUserHome((wxString const &)*arg1);
2770
2771 wxPyEndAllowThreads(__tstate);
2772 if (PyErr_Occurred()) SWIG_fail;
2773 }
2774 {
2775#if wxUSE_UNICODE
2776 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2777#else
2778 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2779#endif
2780 }
2781 {
2782 if (temp1)
2783 delete arg1;
2784 }
2785 return resultobj;
2786 fail:
2787 {
2788 if (temp1)
2789 delete arg1;
2790 }
2791 return NULL;
2792}
2793
2794
2795static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2796 PyObject *resultobj;
2797 unsigned long result;
2798 char *kwnames[] = {
2799 NULL
2800 };
2801
2802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2803 {
2804 PyThreadState* __tstate = wxPyBeginAllowThreads();
2805 result = (unsigned long)wxGetProcessId();
2806
2807 wxPyEndAllowThreads(__tstate);
2808 if (PyErr_Occurred()) SWIG_fail;
2809 }
2810 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
2811 return resultobj;
2812 fail:
2813 return NULL;
2814}
2815
2816
2817static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2818 PyObject *resultobj;
2819 char *kwnames[] = {
2820 NULL
2821 };
2822
2823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2824 {
2825 PyThreadState* __tstate = wxPyBeginAllowThreads();
2826 wxTrap();
2827
2828 wxPyEndAllowThreads(__tstate);
2829 if (PyErr_Occurred()) SWIG_fail;
2830 }
2831 Py_INCREF(Py_None); resultobj = Py_None;
2832 return resultobj;
2833 fail:
2834 return NULL;
2835}
2836
2837
2838static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2839 PyObject *resultobj;
2840 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2841 wxString *arg1 = (wxString *) &arg1_defvalue ;
2842 wxString const &arg2_defvalue = wxPyEmptyString ;
2843 wxString *arg2 = (wxString *) &arg2_defvalue ;
2844 wxString const &arg3_defvalue = wxPyEmptyString ;
2845 wxString *arg3 = (wxString *) &arg3_defvalue ;
2846 wxString const &arg4_defvalue = wxPyEmptyString ;
2847 wxString *arg4 = (wxString *) &arg4_defvalue ;
2848 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2849 wxString *arg5 = (wxString *) &arg5_defvalue ;
2850 int arg6 = (int) 0 ;
2851 wxWindow *arg7 = (wxWindow *) NULL ;
2852 int arg8 = (int) -1 ;
2853 int arg9 = (int) -1 ;
2854 wxString result;
2855 bool temp1 = False ;
2856 bool temp2 = False ;
2857 bool temp3 = False ;
2858 bool temp4 = False ;
2859 bool temp5 = False ;
2860 PyObject * obj0 = 0 ;
2861 PyObject * obj1 = 0 ;
2862 PyObject * obj2 = 0 ;
2863 PyObject * obj3 = 0 ;
2864 PyObject * obj4 = 0 ;
2865 PyObject * obj5 = 0 ;
2866 PyObject * obj6 = 0 ;
2867 PyObject * obj7 = 0 ;
2868 PyObject * obj8 = 0 ;
2869 char *kwnames[] = {
2870 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2871 };
2872
2873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2874 if (obj0) {
2875 {
2876 arg1 = wxString_in_helper(obj0);
2877 if (arg1 == NULL) SWIG_fail;
2878 temp1 = True;
2879 }
2880 }
2881 if (obj1) {
2882 {
2883 arg2 = wxString_in_helper(obj1);
2884 if (arg2 == NULL) SWIG_fail;
2885 temp2 = True;
2886 }
2887 }
2888 if (obj2) {
2889 {
2890 arg3 = wxString_in_helper(obj2);
2891 if (arg3 == NULL) SWIG_fail;
2892 temp3 = True;
2893 }
2894 }
2895 if (obj3) {
2896 {
2897 arg4 = wxString_in_helper(obj3);
2898 if (arg4 == NULL) SWIG_fail;
2899 temp4 = True;
2900 }
2901 }
2902 if (obj4) {
2903 {
2904 arg5 = wxString_in_helper(obj4);
2905 if (arg5 == NULL) SWIG_fail;
2906 temp5 = True;
2907 }
2908 }
2909 if (obj5) {
2910 arg6 = (int) SWIG_AsInt(obj5);
2911 if (PyErr_Occurred()) SWIG_fail;
2912 }
2913 if (obj6) {
2914 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
2915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2916 }
2917 if (obj7) {
2918 arg8 = (int) SWIG_AsInt(obj7);
2919 if (PyErr_Occurred()) SWIG_fail;
2920 }
2921 if (obj8) {
2922 arg9 = (int) SWIG_AsInt(obj8);
2923 if (PyErr_Occurred()) SWIG_fail;
2924 }
2925 {
0439c23b 2926 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2927 PyThreadState* __tstate = wxPyBeginAllowThreads();
2928 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2929
2930 wxPyEndAllowThreads(__tstate);
0439c23b 2931 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2932 }
2933 {
2934#if wxUSE_UNICODE
2935 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2936#else
2937 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2938#endif
2939 }
2940 {
2941 if (temp1)
2942 delete arg1;
2943 }
2944 {
2945 if (temp2)
2946 delete arg2;
2947 }
2948 {
2949 if (temp3)
2950 delete arg3;
2951 }
2952 {
2953 if (temp4)
2954 delete arg4;
2955 }
2956 {
2957 if (temp5)
2958 delete arg5;
2959 }
2960 return resultobj;
2961 fail:
2962 {
2963 if (temp1)
2964 delete arg1;
2965 }
2966 {
2967 if (temp2)
2968 delete arg2;
2969 }
2970 {
2971 if (temp3)
2972 delete arg3;
2973 }
2974 {
2975 if (temp4)
2976 delete arg4;
2977 }
2978 {
2979 if (temp5)
2980 delete arg5;
2981 }
2982 return NULL;
2983}
2984
2985
2986static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2987 PyObject *resultobj;
2988 wxString *arg1 = 0 ;
2989 wxString *arg2 = 0 ;
2990 wxString const &arg3_defvalue = wxPyEmptyString ;
2991 wxString *arg3 = (wxString *) &arg3_defvalue ;
2992 wxWindow *arg4 = (wxWindow *) NULL ;
2993 wxString result;
2994 bool temp1 = False ;
2995 bool temp2 = False ;
2996 bool temp3 = False ;
2997 PyObject * obj0 = 0 ;
2998 PyObject * obj1 = 0 ;
2999 PyObject * obj2 = 0 ;
3000 PyObject * obj3 = 0 ;
3001 char *kwnames[] = {
3002 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3003 };
3004
3005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3006 {
3007 arg1 = wxString_in_helper(obj0);
3008 if (arg1 == NULL) SWIG_fail;
3009 temp1 = True;
3010 }
3011 {
3012 arg2 = wxString_in_helper(obj1);
3013 if (arg2 == NULL) SWIG_fail;
3014 temp2 = True;
3015 }
3016 if (obj2) {
3017 {
3018 arg3 = wxString_in_helper(obj2);
3019 if (arg3 == NULL) SWIG_fail;
3020 temp3 = True;
3021 }
3022 }
3023 if (obj3) {
3024 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3026 }
3027 {
0439c23b 3028 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3029 PyThreadState* __tstate = wxPyBeginAllowThreads();
3030 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3031
3032 wxPyEndAllowThreads(__tstate);
0439c23b 3033 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3034 }
3035 {
3036#if wxUSE_UNICODE
3037 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3038#else
3039 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3040#endif
3041 }
3042 {
3043 if (temp1)
3044 delete arg1;
3045 }
3046 {
3047 if (temp2)
3048 delete arg2;
3049 }
3050 {
3051 if (temp3)
3052 delete arg3;
3053 }
3054 return resultobj;
3055 fail:
3056 {
3057 if (temp1)
3058 delete arg1;
3059 }
3060 {
3061 if (temp2)
3062 delete arg2;
3063 }
3064 {
3065 if (temp3)
3066 delete arg3;
3067 }
3068 return NULL;
3069}
3070
3071
3072static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
3073 PyObject *resultobj;
3074 wxString *arg1 = 0 ;
3075 wxString *arg2 = 0 ;
3076 wxString const &arg3_defvalue = wxPyEmptyString ;
3077 wxString *arg3 = (wxString *) &arg3_defvalue ;
3078 wxWindow *arg4 = (wxWindow *) NULL ;
3079 wxString result;
3080 bool temp1 = False ;
3081 bool temp2 = False ;
3082 bool temp3 = False ;
3083 PyObject * obj0 = 0 ;
3084 PyObject * obj1 = 0 ;
3085 PyObject * obj2 = 0 ;
3086 PyObject * obj3 = 0 ;
3087 char *kwnames[] = {
3088 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3089 };
3090
3091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3092 {
3093 arg1 = wxString_in_helper(obj0);
3094 if (arg1 == NULL) SWIG_fail;
3095 temp1 = True;
3096 }
3097 {
3098 arg2 = wxString_in_helper(obj1);
3099 if (arg2 == NULL) SWIG_fail;
3100 temp2 = True;
3101 }
3102 if (obj2) {
3103 {
3104 arg3 = wxString_in_helper(obj2);
3105 if (arg3 == NULL) SWIG_fail;
3106 temp3 = True;
3107 }
3108 }
3109 if (obj3) {
3110 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3112 }
3113 {
0439c23b 3114 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3115 PyThreadState* __tstate = wxPyBeginAllowThreads();
3116 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3117
3118 wxPyEndAllowThreads(__tstate);
0439c23b 3119 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3120 }
3121 {
3122#if wxUSE_UNICODE
3123 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3124#else
3125 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3126#endif
3127 }
3128 {
3129 if (temp1)
3130 delete arg1;
3131 }
3132 {
3133 if (temp2)
3134 delete arg2;
3135 }
3136 {
3137 if (temp3)
3138 delete arg3;
3139 }
3140 return resultobj;
3141 fail:
3142 {
3143 if (temp1)
3144 delete arg1;
3145 }
3146 {
3147 if (temp2)
3148 delete arg2;
3149 }
3150 {
3151 if (temp3)
3152 delete arg3;
3153 }
3154 return NULL;
3155}
3156
3157
3158static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
3159 PyObject *resultobj;
3160 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
3161 wxString *arg1 = (wxString *) &arg1_defvalue ;
3162 wxString const &arg2_defvalue = wxPyEmptyString ;
3163 wxString *arg2 = (wxString *) &arg2_defvalue ;
3164 long arg3 = (long) wxDD_DEFAULT_STYLE ;
3165 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3166 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3167 wxWindow *arg5 = (wxWindow *) NULL ;
3168 wxString result;
3169 bool temp1 = False ;
3170 bool temp2 = False ;
3171 wxPoint temp4 ;
3172 PyObject * obj0 = 0 ;
3173 PyObject * obj1 = 0 ;
3174 PyObject * obj2 = 0 ;
3175 PyObject * obj3 = 0 ;
3176 PyObject * obj4 = 0 ;
3177 char *kwnames[] = {
3178 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3179 };
3180
3181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3182 if (obj0) {
3183 {
3184 arg1 = wxString_in_helper(obj0);
3185 if (arg1 == NULL) SWIG_fail;
3186 temp1 = True;
3187 }
3188 }
3189 if (obj1) {
3190 {
3191 arg2 = wxString_in_helper(obj1);
3192 if (arg2 == NULL) SWIG_fail;
3193 temp2 = True;
3194 }
3195 }
3196 if (obj2) {
3197 arg3 = (long) SWIG_AsLong(obj2);
3198 if (PyErr_Occurred()) SWIG_fail;
3199 }
3200 if (obj3) {
3201 {
3202 arg4 = &temp4;
3203 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3204 }
3205 }
3206 if (obj4) {
3207 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3209 }
3210 {
0439c23b 3211 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3212 PyThreadState* __tstate = wxPyBeginAllowThreads();
3213 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
3214
3215 wxPyEndAllowThreads(__tstate);
0439c23b 3216 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3217 }
3218 {
3219#if wxUSE_UNICODE
3220 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3221#else
3222 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3223#endif
3224 }
3225 {
3226 if (temp1)
3227 delete arg1;
3228 }
3229 {
3230 if (temp2)
3231 delete arg2;
3232 }
3233 return resultobj;
3234 fail:
3235 {
3236 if (temp1)
3237 delete arg1;
3238 }
3239 {
3240 if (temp2)
3241 delete arg2;
3242 }
3243 return NULL;
3244}
3245
3246
3247static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3248 PyObject *resultobj;
3249 wxString *arg1 = 0 ;
3250 wxString const &arg2_defvalue = wxPyEmptyString ;
3251 wxString *arg2 = (wxString *) &arg2_defvalue ;
3252 wxString const &arg3_defvalue = wxPyEmptyString ;
3253 wxString *arg3 = (wxString *) &arg3_defvalue ;
3254 wxWindow *arg4 = (wxWindow *) NULL ;
3255 int arg5 = (int) -1 ;
3256 int arg6 = (int) -1 ;
3257 bool arg7 = (bool) True ;
3258 wxString result;
3259 bool temp1 = False ;
3260 bool temp2 = False ;
3261 bool temp3 = False ;
3262 PyObject * obj0 = 0 ;
3263 PyObject * obj1 = 0 ;
3264 PyObject * obj2 = 0 ;
3265 PyObject * obj3 = 0 ;
3266 PyObject * obj4 = 0 ;
3267 PyObject * obj5 = 0 ;
3268 PyObject * obj6 = 0 ;
3269 char *kwnames[] = {
3270 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3271 };
3272
3273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3274 {
3275 arg1 = wxString_in_helper(obj0);
3276 if (arg1 == NULL) SWIG_fail;
3277 temp1 = True;
3278 }
3279 if (obj1) {
3280 {
3281 arg2 = wxString_in_helper(obj1);
3282 if (arg2 == NULL) SWIG_fail;
3283 temp2 = True;
3284 }
3285 }
3286 if (obj2) {
3287 {
3288 arg3 = wxString_in_helper(obj2);
3289 if (arg3 == NULL) SWIG_fail;
3290 temp3 = True;
3291 }
3292 }
3293 if (obj3) {
3294 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3296 }
3297 if (obj4) {
3298 arg5 = (int) SWIG_AsInt(obj4);
3299 if (PyErr_Occurred()) SWIG_fail;
3300 }
3301 if (obj5) {
3302 arg6 = (int) SWIG_AsInt(obj5);
3303 if (PyErr_Occurred()) SWIG_fail;
3304 }
3305 if (obj6) {
3306 arg7 = (bool) SWIG_AsBool(obj6);
3307 if (PyErr_Occurred()) SWIG_fail;
3308 }
3309 {
0439c23b 3310 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3311 PyThreadState* __tstate = wxPyBeginAllowThreads();
3312 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
3313
3314 wxPyEndAllowThreads(__tstate);
0439c23b 3315 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3316 }
3317 {
3318#if wxUSE_UNICODE
3319 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3320#else
3321 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3322#endif
3323 }
3324 {
3325 if (temp1)
3326 delete arg1;
3327 }
3328 {
3329 if (temp2)
3330 delete arg2;
3331 }
3332 {
3333 if (temp3)
3334 delete arg3;
3335 }
3336 return resultobj;
3337 fail:
3338 {
3339 if (temp1)
3340 delete arg1;
3341 }
3342 {
3343 if (temp2)
3344 delete arg2;
3345 }
3346 {
3347 if (temp3)
3348 delete arg3;
3349 }
3350 return NULL;
3351}
3352
3353
3354static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3355 PyObject *resultobj;
3356 wxString *arg1 = 0 ;
3357 wxString const &arg2_defvalue = wxPyEmptyString ;
3358 wxString *arg2 = (wxString *) &arg2_defvalue ;
3359 wxString const &arg3_defvalue = wxPyEmptyString ;
3360 wxString *arg3 = (wxString *) &arg3_defvalue ;
3361 wxWindow *arg4 = (wxWindow *) NULL ;
3362 wxString result;
3363 bool temp1 = False ;
3364 bool temp2 = False ;
3365 bool temp3 = False ;
3366 PyObject * obj0 = 0 ;
3367 PyObject * obj1 = 0 ;
3368 PyObject * obj2 = 0 ;
3369 PyObject * obj3 = 0 ;
3370 char *kwnames[] = {
3371 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3372 };
3373
3374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3375 {
3376 arg1 = wxString_in_helper(obj0);
3377 if (arg1 == NULL) SWIG_fail;
3378 temp1 = True;
3379 }
3380 if (obj1) {
3381 {
3382 arg2 = wxString_in_helper(obj1);
3383 if (arg2 == NULL) SWIG_fail;
3384 temp2 = True;
3385 }
3386 }
3387 if (obj2) {
3388 {
3389 arg3 = wxString_in_helper(obj2);
3390 if (arg3 == NULL) SWIG_fail;
3391 temp3 = True;
3392 }
3393 }
3394 if (obj3) {
3395 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3397 }
3398 {
0439c23b 3399 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3400 PyThreadState* __tstate = wxPyBeginAllowThreads();
3401 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3402
3403 wxPyEndAllowThreads(__tstate);
0439c23b 3404 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3405 }
3406 {
3407#if wxUSE_UNICODE
3408 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3409#else
3410 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3411#endif
3412 }
3413 {
3414 if (temp1)
3415 delete arg1;
3416 }
3417 {
3418 if (temp2)
3419 delete arg2;
3420 }
3421 {
3422 if (temp3)
3423 delete arg3;
3424 }
3425 return resultobj;
3426 fail:
3427 {
3428 if (temp1)
3429 delete arg1;
3430 }
3431 {
3432 if (temp2)
3433 delete arg2;
3434 }
3435 {
3436 if (temp3)
3437 delete arg3;
3438 }
3439 return NULL;
3440}
3441
3442
3443static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
3444 PyObject *resultobj;
3445 wxString *arg1 = 0 ;
3446 wxString *arg2 = 0 ;
3447 int arg3 ;
3448 wxString *arg4 = (wxString *) 0 ;
3449 wxWindow *arg5 = (wxWindow *) NULL ;
3450 int arg6 = (int) -1 ;
3451 int arg7 = (int) -1 ;
3452 bool arg8 = (bool) True ;
3453 int arg9 = (int) 150 ;
3454 int arg10 = (int) 200 ;
3455 wxString result;
3456 bool temp1 = False ;
3457 bool temp2 = False ;
3458 PyObject * obj0 = 0 ;
3459 PyObject * obj1 = 0 ;
3460 PyObject * obj2 = 0 ;
3461 PyObject * obj3 = 0 ;
3462 PyObject * obj4 = 0 ;
3463 PyObject * obj5 = 0 ;
3464 PyObject * obj6 = 0 ;
3465 PyObject * obj7 = 0 ;
3466 PyObject * obj8 = 0 ;
3467 char *kwnames[] = {
3468 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3469 };
3470
3471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3472 {
3473 arg1 = wxString_in_helper(obj0);
3474 if (arg1 == NULL) SWIG_fail;
3475 temp1 = True;
3476 }
3477 {
3478 arg2 = wxString_in_helper(obj1);
3479 if (arg2 == NULL) SWIG_fail;
3480 temp2 = True;
3481 }
3482 {
3483 arg3 = PyList_Size(obj2);
3484 arg4 = wxString_LIST_helper(obj2);
3485 if (arg4 == NULL) SWIG_fail;
3486 }
3487 if (obj3) {
3488 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3490 }
3491 if (obj4) {
3492 arg6 = (int) SWIG_AsInt(obj4);
3493 if (PyErr_Occurred()) SWIG_fail;
3494 }
3495 if (obj5) {
3496 arg7 = (int) SWIG_AsInt(obj5);
3497 if (PyErr_Occurred()) SWIG_fail;
3498 }
3499 if (obj6) {
3500 arg8 = (bool) SWIG_AsBool(obj6);
3501 if (PyErr_Occurred()) SWIG_fail;
3502 }
3503 if (obj7) {
3504 arg9 = (int) SWIG_AsInt(obj7);
3505 if (PyErr_Occurred()) SWIG_fail;
3506 }
3507 if (obj8) {
3508 arg10 = (int) SWIG_AsInt(obj8);
3509 if (PyErr_Occurred()) SWIG_fail;
3510 }
3511 {
0439c23b 3512 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3513 PyThreadState* __tstate = wxPyBeginAllowThreads();
3514 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3515
3516 wxPyEndAllowThreads(__tstate);
0439c23b 3517 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3518 }
3519 {
3520#if wxUSE_UNICODE
3521 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3522#else
3523 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3524#endif
3525 }
3526 {
3527 if (temp1)
3528 delete arg1;
3529 }
3530 {
3531 if (temp2)
3532 delete arg2;
3533 }
3534 {
3535 if (arg4) delete [] arg4;
3536 }
3537 return resultobj;
3538 fail:
3539 {
3540 if (temp1)
3541 delete arg1;
3542 }
3543 {
3544 if (temp2)
3545 delete arg2;
3546 }
3547 {
3548 if (arg4) delete [] arg4;
3549 }
3550 return NULL;
3551}
3552
3553
3554static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3555 PyObject *resultobj;
3556 wxString *arg1 = 0 ;
3557 wxString *arg2 = 0 ;
3558 int arg3 ;
3559 wxString *arg4 = (wxString *) 0 ;
3560 wxWindow *arg5 = (wxWindow *) NULL ;
3561 int arg6 = (int) -1 ;
3562 int arg7 = (int) -1 ;
3563 bool arg8 = (bool) True ;
3564 int arg9 = (int) 150 ;
3565 int arg10 = (int) 200 ;
3566 int result;
3567 bool temp1 = False ;
3568 bool temp2 = False ;
3569 PyObject * obj0 = 0 ;
3570 PyObject * obj1 = 0 ;
3571 PyObject * obj2 = 0 ;
3572 PyObject * obj3 = 0 ;
3573 PyObject * obj4 = 0 ;
3574 PyObject * obj5 = 0 ;
3575 PyObject * obj6 = 0 ;
3576 PyObject * obj7 = 0 ;
3577 PyObject * obj8 = 0 ;
3578 char *kwnames[] = {
3579 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3580 };
3581
3582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3583 {
3584 arg1 = wxString_in_helper(obj0);
3585 if (arg1 == NULL) SWIG_fail;
3586 temp1 = True;
3587 }
3588 {
3589 arg2 = wxString_in_helper(obj1);
3590 if (arg2 == NULL) SWIG_fail;
3591 temp2 = True;
3592 }
3593 {
3594 arg3 = PyList_Size(obj2);
3595 arg4 = wxString_LIST_helper(obj2);
3596 if (arg4 == NULL) SWIG_fail;
3597 }
3598 if (obj3) {
3599 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3601 }
3602 if (obj4) {
3603 arg6 = (int) SWIG_AsInt(obj4);
3604 if (PyErr_Occurred()) SWIG_fail;
3605 }
3606 if (obj5) {
3607 arg7 = (int) SWIG_AsInt(obj5);
3608 if (PyErr_Occurred()) SWIG_fail;
3609 }
3610 if (obj6) {
3611 arg8 = (bool) SWIG_AsBool(obj6);
3612 if (PyErr_Occurred()) SWIG_fail;
3613 }
3614 if (obj7) {
3615 arg9 = (int) SWIG_AsInt(obj7);
3616 if (PyErr_Occurred()) SWIG_fail;
3617 }
3618 if (obj8) {
3619 arg10 = (int) SWIG_AsInt(obj8);
3620 if (PyErr_Occurred()) SWIG_fail;
3621 }
3622 {
0439c23b 3623 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3624 PyThreadState* __tstate = wxPyBeginAllowThreads();
3625 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3626
3627 wxPyEndAllowThreads(__tstate);
0439c23b 3628 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3629 }
3630 resultobj = SWIG_FromInt((int)result);
3631 {
3632 if (temp1)
3633 delete arg1;
3634 }
3635 {
3636 if (temp2)
3637 delete arg2;
3638 }
3639 {
3640 if (arg4) delete [] arg4;
3641 }
3642 return resultobj;
3643 fail:
3644 {
3645 if (temp1)
3646 delete arg1;
3647 }
3648 {
3649 if (temp2)
3650 delete arg2;
3651 }
3652 {
3653 if (arg4) delete [] arg4;
3654 }
3655 return NULL;
3656}
3657
3658
3659static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3660 PyObject *resultobj;
3661 wxString *arg1 = 0 ;
3662 wxString const &arg2_defvalue = wxPyEmptyString ;
3663 wxString *arg2 = (wxString *) &arg2_defvalue ;
3664 int arg3 = (int) wxOK|wxCENTRE ;
3665 wxWindow *arg4 = (wxWindow *) NULL ;
3666 int arg5 = (int) -1 ;
3667 int arg6 = (int) -1 ;
3668 int result;
3669 bool temp1 = False ;
3670 bool temp2 = False ;
3671 PyObject * obj0 = 0 ;
3672 PyObject * obj1 = 0 ;
3673 PyObject * obj2 = 0 ;
3674 PyObject * obj3 = 0 ;
3675 PyObject * obj4 = 0 ;
3676 PyObject * obj5 = 0 ;
3677 char *kwnames[] = {
3678 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3679 };
3680
3681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3682 {
3683 arg1 = wxString_in_helper(obj0);
3684 if (arg1 == NULL) SWIG_fail;
3685 temp1 = True;
3686 }
3687 if (obj1) {
3688 {
3689 arg2 = wxString_in_helper(obj1);
3690 if (arg2 == NULL) SWIG_fail;
3691 temp2 = True;
3692 }
3693 }
3694 if (obj2) {
3695 arg3 = (int) SWIG_AsInt(obj2);
3696 if (PyErr_Occurred()) SWIG_fail;
3697 }
3698 if (obj3) {
3699 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3701 }
3702 if (obj4) {
3703 arg5 = (int) SWIG_AsInt(obj4);
3704 if (PyErr_Occurred()) SWIG_fail;
3705 }
3706 if (obj5) {
3707 arg6 = (int) SWIG_AsInt(obj5);
3708 if (PyErr_Occurred()) SWIG_fail;
3709 }
3710 {
0439c23b 3711 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3712 PyThreadState* __tstate = wxPyBeginAllowThreads();
3713 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3714
3715 wxPyEndAllowThreads(__tstate);
0439c23b 3716 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3717 }
3718 resultobj = SWIG_FromInt((int)result);
3719 {
3720 if (temp1)
3721 delete arg1;
3722 }
3723 {
3724 if (temp2)
3725 delete arg2;
3726 }
3727 return resultobj;
3728 fail:
3729 {
3730 if (temp1)
3731 delete arg1;
3732 }
3733 {
3734 if (temp2)
3735 delete arg2;
3736 }
3737 return NULL;
3738}
3739
3740
3741static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3742 PyObject *resultobj;
3743 wxString *arg1 = 0 ;
3744 wxString *arg2 = 0 ;
3745 wxString *arg3 = 0 ;
3746 long arg4 ;
3747 long arg5 = (long) 0 ;
3748 long arg6 = (long) 100 ;
3749 wxWindow *arg7 = (wxWindow *) NULL ;
3750 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3751 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3752 long result;
3753 bool temp1 = False ;
3754 bool temp2 = False ;
3755 bool temp3 = False ;
3756 wxPoint temp8 ;
3757 PyObject * obj0 = 0 ;
3758 PyObject * obj1 = 0 ;
3759 PyObject * obj2 = 0 ;
3760 PyObject * obj3 = 0 ;
3761 PyObject * obj4 = 0 ;
3762 PyObject * obj5 = 0 ;
3763 PyObject * obj6 = 0 ;
3764 PyObject * obj7 = 0 ;
3765 char *kwnames[] = {
3766 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3767 };
3768
3769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3770 {
3771 arg1 = wxString_in_helper(obj0);
3772 if (arg1 == NULL) SWIG_fail;
3773 temp1 = True;
3774 }
3775 {
3776 arg2 = wxString_in_helper(obj1);
3777 if (arg2 == NULL) SWIG_fail;
3778 temp2 = True;
3779 }
3780 {
3781 arg3 = wxString_in_helper(obj2);
3782 if (arg3 == NULL) SWIG_fail;
3783 temp3 = True;
3784 }
3785 arg4 = (long) SWIG_AsLong(obj3);
3786 if (PyErr_Occurred()) SWIG_fail;
3787 if (obj4) {
3788 arg5 = (long) SWIG_AsLong(obj4);
3789 if (PyErr_Occurred()) SWIG_fail;
3790 }
3791 if (obj5) {
3792 arg6 = (long) SWIG_AsLong(obj5);
3793 if (PyErr_Occurred()) SWIG_fail;
3794 }
3795 if (obj6) {
3796 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
3797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3798 }
3799 if (obj7) {
3800 {
3801 arg8 = &temp8;
3802 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3803 }
3804 }
3805 {
0439c23b 3806 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3807 PyThreadState* __tstate = wxPyBeginAllowThreads();
3808 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3809
3810 wxPyEndAllowThreads(__tstate);
0439c23b 3811 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3812 }
3813 resultobj = SWIG_FromLong((long)result);
3814 {
3815 if (temp1)
3816 delete arg1;
3817 }
3818 {
3819 if (temp2)
3820 delete arg2;
3821 }
3822 {
3823 if (temp3)
3824 delete arg3;
3825 }
3826 return resultobj;
3827 fail:
3828 {
3829 if (temp1)
3830 delete arg1;
3831 }
3832 {
3833 if (temp2)
3834 delete arg2;
3835 }
3836 {
3837 if (temp3)
3838 delete arg3;
3839 }
3840 return NULL;
3841}
3842
3843
3844static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3845 PyObject *resultobj;
3846 bool result;
3847 char *kwnames[] = {
3848 NULL
3849 };
3850
3851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3852 {
0439c23b 3853 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3854 PyThreadState* __tstate = wxPyBeginAllowThreads();
3855 result = (bool)wxColourDisplay();
3856
3857 wxPyEndAllowThreads(__tstate);
0439c23b 3858 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3859 }
3860 {
3861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3862 }
3863 return resultobj;
3864 fail:
3865 return NULL;
3866}
3867
3868
3869static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3870 PyObject *resultobj;
3871 int result;
3872 char *kwnames[] = {
3873 NULL
3874 };
3875
3876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3877 {
0439c23b 3878 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3879 PyThreadState* __tstate = wxPyBeginAllowThreads();
3880 result = (int)wxDisplayDepth();
3881
3882 wxPyEndAllowThreads(__tstate);
0439c23b 3883 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3884 }
3885 resultobj = SWIG_FromInt((int)result);
3886 return resultobj;
3887 fail:
3888 return NULL;
3889}
3890
3891
3892static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3893 PyObject *resultobj;
3894 int result;
3895 char *kwnames[] = {
3896 NULL
3897 };
3898
3899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3900 {
0439c23b 3901 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 result = (int)wxGetDisplayDepth();
3904
3905 wxPyEndAllowThreads(__tstate);
0439c23b 3906 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3907 }
3908 resultobj = SWIG_FromInt((int)result);
3909 return resultobj;
3910 fail:
3911 return NULL;
3912}
3913
3914
3915static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3916 PyObject *resultobj;
3917 int *arg1 = (int *) 0 ;
3918 int *arg2 = (int *) 0 ;
3919 int temp1 ;
3920 int temp2 ;
3921 char *kwnames[] = {
3922 NULL
3923 };
3924
3925 arg1 = &temp1;
3926 arg2 = &temp2;
3927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3928 {
0439c23b 3929 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3930 PyThreadState* __tstate = wxPyBeginAllowThreads();
3931 wxDisplaySize(arg1,arg2);
3932
3933 wxPyEndAllowThreads(__tstate);
0439c23b 3934 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3935 }
3936 Py_INCREF(Py_None); resultobj = Py_None;
3937 {
3938 PyObject *o = PyInt_FromLong((long) (*arg1));
3939 resultobj = t_output_helper(resultobj,o);
3940 }
3941 {
3942 PyObject *o = PyInt_FromLong((long) (*arg2));
3943 resultobj = t_output_helper(resultobj,o);
3944 }
3945 return resultobj;
3946 fail:
3947 return NULL;
3948}
3949
3950
3951static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3952 PyObject *resultobj;
3953 wxSize result;
3954 char *kwnames[] = {
3955 NULL
3956 };
3957
3958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3959 {
0439c23b 3960 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3961 PyThreadState* __tstate = wxPyBeginAllowThreads();
3962 result = wxGetDisplaySize();
3963
3964 wxPyEndAllowThreads(__tstate);
0439c23b 3965 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3966 }
3967 {
3968 wxSize * resultptr;
3969 resultptr = new wxSize((wxSize &) result);
3970 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3971 }
3972 return resultobj;
3973 fail:
3974 return NULL;
3975}
3976
3977
3978static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3979 PyObject *resultobj;
3980 int *arg1 = (int *) 0 ;
3981 int *arg2 = (int *) 0 ;
3982 int temp1 ;
3983 int temp2 ;
3984 char *kwnames[] = {
3985 NULL
3986 };
3987
3988 arg1 = &temp1;
3989 arg2 = &temp2;
3990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3991 {
0439c23b 3992 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3993 PyThreadState* __tstate = wxPyBeginAllowThreads();
3994 wxDisplaySizeMM(arg1,arg2);
3995
3996 wxPyEndAllowThreads(__tstate);
0439c23b 3997 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3998 }
3999 Py_INCREF(Py_None); resultobj = Py_None;
4000 {
4001 PyObject *o = PyInt_FromLong((long) (*arg1));
4002 resultobj = t_output_helper(resultobj,o);
4003 }
4004 {
4005 PyObject *o = PyInt_FromLong((long) (*arg2));
4006 resultobj = t_output_helper(resultobj,o);
4007 }
4008 return resultobj;
4009 fail:
4010 return NULL;
4011}
4012
4013
4014static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
4015 PyObject *resultobj;
4016 wxSize result;
4017 char *kwnames[] = {
4018 NULL
4019 };
4020
4021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
4022 {
0439c23b 4023 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4024 PyThreadState* __tstate = wxPyBeginAllowThreads();
4025 result = wxGetDisplaySizeMM();
4026
4027 wxPyEndAllowThreads(__tstate);
0439c23b 4028 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4029 }
4030 {
4031 wxSize * resultptr;
4032 resultptr = new wxSize((wxSize &) result);
4033 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4034 }
4035 return resultobj;
4036 fail:
4037 return NULL;
4038}
4039
4040
4041static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4042 PyObject *resultobj;
4043 int *arg1 = (int *) 0 ;
4044 int *arg2 = (int *) 0 ;
4045 int *arg3 = (int *) 0 ;
4046 int *arg4 = (int *) 0 ;
4047 int temp1 ;
4048 int temp2 ;
4049 int temp3 ;
4050 int temp4 ;
4051 char *kwnames[] = {
4052 NULL
4053 };
4054
4055 arg1 = &temp1;
4056 arg2 = &temp2;
4057 arg3 = &temp3;
4058 arg4 = &temp4;
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
4060 {
0439c23b 4061 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4062 PyThreadState* __tstate = wxPyBeginAllowThreads();
4063 wxClientDisplayRect(arg1,arg2,arg3,arg4);
4064
4065 wxPyEndAllowThreads(__tstate);
0439c23b 4066 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4067 }
4068 Py_INCREF(Py_None); resultobj = Py_None;
4069 {
4070 PyObject *o = PyInt_FromLong((long) (*arg1));
4071 resultobj = t_output_helper(resultobj,o);
4072 }
4073 {
4074 PyObject *o = PyInt_FromLong((long) (*arg2));
4075 resultobj = t_output_helper(resultobj,o);
4076 }
4077 {
4078 PyObject *o = PyInt_FromLong((long) (*arg3));
4079 resultobj = t_output_helper(resultobj,o);
4080 }
4081 {
4082 PyObject *o = PyInt_FromLong((long) (*arg4));
4083 resultobj = t_output_helper(resultobj,o);
4084 }
4085 return resultobj;
4086 fail:
4087 return NULL;
4088}
4089
4090
4091static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4092 PyObject *resultobj;
4093 wxRect result;
4094 char *kwnames[] = {
4095 NULL
4096 };
4097
4098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
4099 {
0439c23b 4100 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4101 PyThreadState* __tstate = wxPyBeginAllowThreads();
4102 result = wxGetClientDisplayRect();
4103
4104 wxPyEndAllowThreads(__tstate);
0439c23b 4105 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4106 }
4107 {
4108 wxRect * resultptr;
4109 resultptr = new wxRect((wxRect &) result);
4110 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
4111 }
4112 return resultobj;
4113 fail:
4114 return NULL;
4115}
4116
4117
4118static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4119 PyObject *resultobj;
4120 wxCursor *arg1 = 0 ;
4121 PyObject * obj0 = 0 ;
4122 char *kwnames[] = {
4123 (char *) "cursor", NULL
4124 };
4125
4126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
4127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4128 SWIG_POINTER_EXCEPTION | 0)) == -1)
4129 SWIG_fail;
4130 if (arg1 == NULL) {
4131 PyErr_SetString(PyExc_TypeError,"null reference");
4132 SWIG_fail;
4133 }
4134 {
0439c23b 4135 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4136 PyThreadState* __tstate = wxPyBeginAllowThreads();
4137 wxSetCursor(*arg1);
4138
4139 wxPyEndAllowThreads(__tstate);
0439c23b 4140 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4141 }
4142 Py_INCREF(Py_None); resultobj = Py_None;
4143 return resultobj;
4144 fail:
4145 return NULL;
4146}
4147
4148
4149static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4150 PyObject *resultobj;
4151 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4152 PyObject * obj0 = 0 ;
4153 char *kwnames[] = {
4154 (char *) "cursor", NULL
4155 };
4156
4157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
4158 if (obj0) {
4159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4161 }
4162 {
0439c23b 4163 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4164 PyThreadState* __tstate = wxPyBeginAllowThreads();
4165 wxBeginBusyCursor(arg1);
4166
4167 wxPyEndAllowThreads(__tstate);
0439c23b 4168 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4169 }
4170 Py_INCREF(Py_None); resultobj = Py_None;
4171 return resultobj;
4172 fail:
4173 return NULL;
4174}
4175
4176
4177static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4178 PyObject *resultobj;
4179 wxWindow *result;
4180 char *kwnames[] = {
4181 NULL
4182 };
4183
4184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
4185 {
0439c23b 4186 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4187 PyThreadState* __tstate = wxPyBeginAllowThreads();
4188 result = (wxWindow *)wxGetActiveWindow();
4189
4190 wxPyEndAllowThreads(__tstate);
0439c23b 4191 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4192 }
4193 {
4194 resultobj = wxPyMake_wxObject(result);
4195 }
4196 return resultobj;
4197 fail:
4198 return NULL;
4199}
4200
4201
4202static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4203 PyObject *resultobj;
4204 wxPoint *arg1 = 0 ;
4205 wxWindow *result;
4206 wxPoint temp1 ;
4207 PyObject * obj0 = 0 ;
4208 char *kwnames[] = {
4209 (char *) "pt", NULL
4210 };
4211
4212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
4213 {
4214 arg1 = &temp1;
4215 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4216 }
4217 {
0439c23b 4218 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4219 PyThreadState* __tstate = wxPyBeginAllowThreads();
4220 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
4221
4222 wxPyEndAllowThreads(__tstate);
0439c23b 4223 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4224 }
4225 {
4226 resultobj = wxPyMake_wxObject(result);
4227 }
4228 return resultobj;
4229 fail:
4230 return NULL;
4231}
4232
4233
4234static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4235 PyObject *resultobj;
4236 wxPoint *arg1 = 0 ;
4237 wxWindow *result;
4238 wxPoint temp1 ;
4239 PyObject * obj0 = 0 ;
4240 char *kwnames[] = {
4241 (char *) "pt", NULL
4242 };
4243
4244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
4245 {
4246 arg1 = &temp1;
4247 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4248 }
4249 {
0439c23b 4250 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4251 PyThreadState* __tstate = wxPyBeginAllowThreads();
4252 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
4253
4254 wxPyEndAllowThreads(__tstate);
0439c23b 4255 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4256 }
4257 {
4258 resultobj = wxPyMake_wxObject(result);
4259 }
4260 return resultobj;
4261 fail:
4262 return NULL;
4263}
4264
4265
4266static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4267 PyObject *resultobj;
4268 wxWindow *arg1 = (wxWindow *) 0 ;
4269 wxWindow *result;
4270 PyObject * obj0 = 0 ;
4271 char *kwnames[] = {
4272 (char *) "win", NULL
4273 };
4274
4275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
4276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4278 {
0439c23b 4279 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4280 PyThreadState* __tstate = wxPyBeginAllowThreads();
4281 result = (wxWindow *)wxGetTopLevelParent(arg1);
4282
4283 wxPyEndAllowThreads(__tstate);
0439c23b 4284 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4285 }
4286 {
4287 resultobj = wxPyMake_wxObject(result);
4288 }
4289 return resultobj;
4290 fail:
4291 return NULL;
4292}
4293
4294
4295static PyObject *_wrap_GetKeyState(PyObject *self, PyObject *args, PyObject *kwargs) {
4296 PyObject *resultobj;
4297 int arg1 ;
4298 bool result;
4299 PyObject * obj0 = 0 ;
4300 char *kwnames[] = {
4301 (char *) "key", NULL
4302 };
4303
4304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
4305 arg1 = (wxKeyCode) SWIG_AsInt(obj0);
4306 if (PyErr_Occurred()) SWIG_fail;
4307 {
0439c23b 4308 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4309 PyThreadState* __tstate = wxPyBeginAllowThreads();
4310 result = (bool)wxGetKeyState((wxKeyCode )arg1);
4311
4312 wxPyEndAllowThreads(__tstate);
0439c23b 4313 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4314 }
4315 {
4316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4317 }
4318 return resultobj;
4319 fail:
4320 return NULL;
4321}
4322
4323
4324static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
4325 PyObject *resultobj;
4326 char *kwnames[] = {
4327 NULL
4328 };
4329
4330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4331 {
0439c23b 4332 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4334 wxWakeUpMainThread();
4335
4336 wxPyEndAllowThreads(__tstate);
0439c23b 4337 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4338 }
4339 Py_INCREF(Py_None); resultobj = Py_None;
4340 return resultobj;
4341 fail:
4342 return NULL;
4343}
4344
4345
4346static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
4347 PyObject *resultobj;
4348 char *kwnames[] = {
4349 NULL
4350 };
4351
4352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4353 {
0439c23b 4354 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4355 PyThreadState* __tstate = wxPyBeginAllowThreads();
4356 wxMutexGuiEnter();
4357
4358 wxPyEndAllowThreads(__tstate);
0439c23b 4359 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4360 }
4361 Py_INCREF(Py_None); resultobj = Py_None;
4362 return resultobj;
4363 fail:
4364 return NULL;
4365}
4366
4367
4368static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
4369 PyObject *resultobj;
4370 char *kwnames[] = {
4371 NULL
4372 };
4373
4374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4375 {
0439c23b 4376 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4377 PyThreadState* __tstate = wxPyBeginAllowThreads();
4378 wxMutexGuiLeave();
4379
4380 wxPyEndAllowThreads(__tstate);
0439c23b 4381 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4382 }
4383 Py_INCREF(Py_None); resultobj = Py_None;
4384 return resultobj;
4385 fail:
4386 return NULL;
4387}
4388
4389
4390static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4391 PyObject *resultobj;
4392 wxMutexGuiLocker *result;
4393 char *kwnames[] = {
4394 NULL
4395 };
4396
4397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4398 {
0439c23b 4399 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4400 PyThreadState* __tstate = wxPyBeginAllowThreads();
4401 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4402
4403 wxPyEndAllowThreads(__tstate);
0439c23b 4404 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4405 }
4406 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
4407 return resultobj;
4408 fail:
4409 return NULL;
4410}
4411
4412
4413static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4414 PyObject *resultobj;
4415 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4416 PyObject * obj0 = 0 ;
4417 char *kwnames[] = {
4418 (char *) "self", NULL
4419 };
4420
4421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
4422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMutexGuiLocker,
4423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4424 {
4425 PyThreadState* __tstate = wxPyBeginAllowThreads();
4426 delete arg1;
4427
4428 wxPyEndAllowThreads(__tstate);
4429 if (PyErr_Occurred()) SWIG_fail;
4430 }
4431 Py_INCREF(Py_None); resultobj = Py_None;
4432 return resultobj;
4433 fail:
4434 return NULL;
4435}
4436
4437
4438static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
4439 PyObject *obj;
4440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4441 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4442 Py_INCREF(obj);
4443 return Py_BuildValue((char *)"");
4444}
4445static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
4446 PyObject *resultobj;
4447 bool result;
4448 char *kwnames[] = {
4449 NULL
4450 };
4451
4452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4453 {
4454 PyThreadState* __tstate = wxPyBeginAllowThreads();
4455 result = (bool)wxThread_IsMain();
4456
4457 wxPyEndAllowThreads(__tstate);
4458 if (PyErr_Occurred()) SWIG_fail;
4459 }
4460 {
4461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4462 }
4463 return resultobj;
4464 fail:
4465 return NULL;
4466}
4467
4468
4469static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4470 PyObject *resultobj;
4471 wxString *arg1 = 0 ;
4472 wxToolTip *result;
4473 bool temp1 = False ;
4474 PyObject * obj0 = 0 ;
4475 char *kwnames[] = {
4476 (char *) "tip", NULL
4477 };
4478
4479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4480 {
4481 arg1 = wxString_in_helper(obj0);
4482 if (arg1 == NULL) SWIG_fail;
4483 temp1 = True;
4484 }
4485 {
0439c23b 4486 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4487 PyThreadState* __tstate = wxPyBeginAllowThreads();
4488 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4489
4490 wxPyEndAllowThreads(__tstate);
0439c23b 4491 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4492 }
4493 {
4494 resultobj = wxPyMake_wxObject(result);
4495 }
4496 {
4497 if (temp1)
4498 delete arg1;
4499 }
4500 return resultobj;
4501 fail:
4502 {
4503 if (temp1)
4504 delete arg1;
4505 }
4506 return NULL;
4507}
4508
4509
4510static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4511 PyObject *resultobj;
4512 wxToolTip *arg1 = (wxToolTip *) 0 ;
4513 wxString *arg2 = 0 ;
4514 bool temp2 = False ;
4515 PyObject * obj0 = 0 ;
4516 PyObject * obj1 = 0 ;
4517 char *kwnames[] = {
4518 (char *) "self",(char *) "tip", NULL
4519 };
4520
4521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
4522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4524 {
4525 arg2 = wxString_in_helper(obj1);
4526 if (arg2 == NULL) SWIG_fail;
4527 temp2 = True;
4528 }
4529 {
4530 PyThreadState* __tstate = wxPyBeginAllowThreads();
4531 (arg1)->SetTip((wxString const &)*arg2);
4532
4533 wxPyEndAllowThreads(__tstate);
4534 if (PyErr_Occurred()) SWIG_fail;
4535 }
4536 Py_INCREF(Py_None); resultobj = Py_None;
4537 {
4538 if (temp2)
4539 delete arg2;
4540 }
4541 return resultobj;
4542 fail:
4543 {
4544 if (temp2)
4545 delete arg2;
4546 }
4547 return NULL;
4548}
4549
4550
4551static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4552 PyObject *resultobj;
4553 wxToolTip *arg1 = (wxToolTip *) 0 ;
4554 wxString result;
4555 PyObject * obj0 = 0 ;
4556 char *kwnames[] = {
4557 (char *) "self", NULL
4558 };
4559
4560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
4561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4563 {
4564 PyThreadState* __tstate = wxPyBeginAllowThreads();
4565 result = (arg1)->GetTip();
4566
4567 wxPyEndAllowThreads(__tstate);
4568 if (PyErr_Occurred()) SWIG_fail;
4569 }
4570 {
4571#if wxUSE_UNICODE
4572 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4573#else
4574 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4575#endif
4576 }
4577 return resultobj;
4578 fail:
4579 return NULL;
4580}
4581
4582
4583static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4584 PyObject *resultobj;
4585 wxToolTip *arg1 = (wxToolTip *) 0 ;
4586 wxWindow *result;
4587 PyObject * obj0 = 0 ;
4588 char *kwnames[] = {
4589 (char *) "self", NULL
4590 };
4591
4592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
4593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4595 {
4596 PyThreadState* __tstate = wxPyBeginAllowThreads();
4597 result = (wxWindow *)(arg1)->GetWindow();
4598
4599 wxPyEndAllowThreads(__tstate);
4600 if (PyErr_Occurred()) SWIG_fail;
4601 }
4602 {
4603 resultobj = wxPyMake_wxObject(result);
4604 }
4605 return resultobj;
4606 fail:
4607 return NULL;
4608}
4609
4610
4611static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
4612 PyObject *resultobj;
4613 bool arg1 ;
4614 PyObject * obj0 = 0 ;
4615 char *kwnames[] = {
4616 (char *) "flag", NULL
4617 };
4618
4619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
4620 arg1 = (bool) SWIG_AsBool(obj0);
4621 if (PyErr_Occurred()) SWIG_fail;
4622 {
4623 PyThreadState* __tstate = wxPyBeginAllowThreads();
4624 wxToolTip::Enable(arg1);
4625
4626 wxPyEndAllowThreads(__tstate);
4627 if (PyErr_Occurred()) SWIG_fail;
4628 }
4629 Py_INCREF(Py_None); resultobj = Py_None;
4630 return resultobj;
4631 fail:
4632 return NULL;
4633}
4634
4635
4636static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
4637 PyObject *resultobj;
4638 long arg1 ;
4639 PyObject * obj0 = 0 ;
4640 char *kwnames[] = {
4641 (char *) "milliseconds", NULL
4642 };
4643
4644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
4645 arg1 = (long) SWIG_AsLong(obj0);
4646 if (PyErr_Occurred()) SWIG_fail;
4647 {
4648 PyThreadState* __tstate = wxPyBeginAllowThreads();
4649 wxToolTip::SetDelay(arg1);
4650
4651 wxPyEndAllowThreads(__tstate);
4652 if (PyErr_Occurred()) SWIG_fail;
4653 }
4654 Py_INCREF(Py_None); resultobj = Py_None;
4655 return resultobj;
4656 fail:
4657 return NULL;
4658}
4659
4660
4661static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
4662 PyObject *obj;
4663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4664 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4665 Py_INCREF(obj);
4666 return Py_BuildValue((char *)"");
4667}
4668static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4669 PyObject *resultobj;
4670 wxWindow *arg1 = (wxWindow *) 0 ;
4671 wxSize *arg2 = 0 ;
4672 wxCaret *result;
4673 wxSize temp2 ;
4674 PyObject * obj0 = 0 ;
4675 PyObject * obj1 = 0 ;
4676 char *kwnames[] = {
4677 (char *) "window",(char *) "size", NULL
4678 };
4679
4680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4683 {
4684 arg2 = &temp2;
4685 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4686 }
4687 {
0439c23b 4688 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4689 PyThreadState* __tstate = wxPyBeginAllowThreads();
4690 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4691
4692 wxPyEndAllowThreads(__tstate);
0439c23b 4693 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4694 }
4695 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
4696 return resultobj;
4697 fail:
4698 return NULL;
4699}
4700
4701
4702static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4703 PyObject *resultobj;
4704 wxCaret *arg1 = (wxCaret *) 0 ;
4705 PyObject * obj0 = 0 ;
4706 char *kwnames[] = {
4707 (char *) "self", NULL
4708 };
4709
4710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4713 {
4714 PyThreadState* __tstate = wxPyBeginAllowThreads();
4715 delete arg1;
4716
4717 wxPyEndAllowThreads(__tstate);
4718 if (PyErr_Occurred()) SWIG_fail;
4719 }
4720 Py_INCREF(Py_None); resultobj = Py_None;
4721 return resultobj;
4722 fail:
4723 return NULL;
4724}
4725
4726
4727static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4728 PyObject *resultobj;
4729 wxCaret *arg1 = (wxCaret *) 0 ;
4730 bool result;
4731 PyObject * obj0 = 0 ;
4732 char *kwnames[] = {
4733 (char *) "self", NULL
4734 };
4735
4736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4739 {
4740 PyThreadState* __tstate = wxPyBeginAllowThreads();
4741 result = (bool)(arg1)->IsOk();
4742
4743 wxPyEndAllowThreads(__tstate);
4744 if (PyErr_Occurred()) SWIG_fail;
4745 }
4746 {
4747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4748 }
4749 return resultobj;
4750 fail:
4751 return NULL;
4752}
4753
4754
4755static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4756 PyObject *resultobj;
4757 wxCaret *arg1 = (wxCaret *) 0 ;
4758 bool result;
4759 PyObject * obj0 = 0 ;
4760 char *kwnames[] = {
4761 (char *) "self", NULL
4762 };
4763
4764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4767 {
4768 PyThreadState* __tstate = wxPyBeginAllowThreads();
4769 result = (bool)(arg1)->IsVisible();
4770
4771 wxPyEndAllowThreads(__tstate);
4772 if (PyErr_Occurred()) SWIG_fail;
4773 }
4774 {
4775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4776 }
4777 return resultobj;
4778 fail:
4779 return NULL;
4780}
4781
4782
4783static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4784 PyObject *resultobj;
4785 wxCaret *arg1 = (wxCaret *) 0 ;
4786 wxPoint result;
4787 PyObject * obj0 = 0 ;
4788 char *kwnames[] = {
4789 (char *) "self", NULL
4790 };
4791
4792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4795 {
4796 PyThreadState* __tstate = wxPyBeginAllowThreads();
4797 result = (arg1)->GetPosition();
4798
4799 wxPyEndAllowThreads(__tstate);
4800 if (PyErr_Occurred()) SWIG_fail;
4801 }
4802 {
4803 wxPoint * resultptr;
4804 resultptr = new wxPoint((wxPoint &) result);
4805 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4806 }
4807 return resultobj;
4808 fail:
4809 return NULL;
4810}
4811
4812
4813static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4814 PyObject *resultobj;
4815 wxCaret *arg1 = (wxCaret *) 0 ;
4816 int *arg2 = (int *) 0 ;
4817 int *arg3 = (int *) 0 ;
4818 int temp2 ;
4819 int temp3 ;
4820 PyObject * obj0 = 0 ;
4821 char *kwnames[] = {
4822 (char *) "self", NULL
4823 };
4824
4825 arg2 = &temp2;
4826 arg3 = &temp3;
4827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4830 {
4831 PyThreadState* __tstate = wxPyBeginAllowThreads();
4832 (arg1)->GetPosition(arg2,arg3);
4833
4834 wxPyEndAllowThreads(__tstate);
4835 if (PyErr_Occurred()) SWIG_fail;
4836 }
4837 Py_INCREF(Py_None); resultobj = Py_None;
4838 {
4839 PyObject *o = PyInt_FromLong((long) (*arg2));
4840 resultobj = t_output_helper(resultobj,o);
4841 }
4842 {
4843 PyObject *o = PyInt_FromLong((long) (*arg3));
4844 resultobj = t_output_helper(resultobj,o);
4845 }
4846 return resultobj;
4847 fail:
4848 return NULL;
4849}
4850
4851
4852static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4853 PyObject *resultobj;
4854 wxCaret *arg1 = (wxCaret *) 0 ;
4855 wxSize result;
4856 PyObject * obj0 = 0 ;
4857 char *kwnames[] = {
4858 (char *) "self", NULL
4859 };
4860
4861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4864 {
4865 PyThreadState* __tstate = wxPyBeginAllowThreads();
4866 result = (arg1)->GetSize();
4867
4868 wxPyEndAllowThreads(__tstate);
4869 if (PyErr_Occurred()) SWIG_fail;
4870 }
4871 {
4872 wxSize * resultptr;
4873 resultptr = new wxSize((wxSize &) result);
4874 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4875 }
4876 return resultobj;
4877 fail:
4878 return NULL;
4879}
4880
4881
4882static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4883 PyObject *resultobj;
4884 wxCaret *arg1 = (wxCaret *) 0 ;
4885 int *arg2 = (int *) 0 ;
4886 int *arg3 = (int *) 0 ;
4887 int temp2 ;
4888 int temp3 ;
4889 PyObject * obj0 = 0 ;
4890 char *kwnames[] = {
4891 (char *) "self", NULL
4892 };
4893
4894 arg2 = &temp2;
4895 arg3 = &temp3;
4896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4899 {
4900 PyThreadState* __tstate = wxPyBeginAllowThreads();
4901 (arg1)->GetSize(arg2,arg3);
4902
4903 wxPyEndAllowThreads(__tstate);
4904 if (PyErr_Occurred()) SWIG_fail;
4905 }
4906 Py_INCREF(Py_None); resultobj = Py_None;
4907 {
4908 PyObject *o = PyInt_FromLong((long) (*arg2));
4909 resultobj = t_output_helper(resultobj,o);
4910 }
4911 {
4912 PyObject *o = PyInt_FromLong((long) (*arg3));
4913 resultobj = t_output_helper(resultobj,o);
4914 }
4915 return resultobj;
4916 fail:
4917 return NULL;
4918}
4919
4920
4921static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4922 PyObject *resultobj;
4923 wxCaret *arg1 = (wxCaret *) 0 ;
4924 wxWindow *result;
4925 PyObject * obj0 = 0 ;
4926 char *kwnames[] = {
4927 (char *) "self", NULL
4928 };
4929
4930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4933 {
4934 PyThreadState* __tstate = wxPyBeginAllowThreads();
4935 result = (wxWindow *)(arg1)->GetWindow();
4936
4937 wxPyEndAllowThreads(__tstate);
4938 if (PyErr_Occurred()) SWIG_fail;
4939 }
4940 {
4941 resultobj = wxPyMake_wxObject(result);
4942 }
4943 return resultobj;
4944 fail:
4945 return NULL;
4946}
4947
4948
4949static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4950 PyObject *resultobj;
4951 wxCaret *arg1 = (wxCaret *) 0 ;
4952 int arg2 ;
4953 int arg3 ;
4954 PyObject * obj0 = 0 ;
4955 PyObject * obj1 = 0 ;
4956 PyObject * obj2 = 0 ;
4957 char *kwnames[] = {
4958 (char *) "self",(char *) "x",(char *) "y", NULL
4959 };
4960
4961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
4962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4964 arg2 = (int) SWIG_AsInt(obj1);
4965 if (PyErr_Occurred()) SWIG_fail;
4966 arg3 = (int) SWIG_AsInt(obj2);
4967 if (PyErr_Occurred()) SWIG_fail;
4968 {
4969 PyThreadState* __tstate = wxPyBeginAllowThreads();
4970 (arg1)->Move(arg2,arg3);
4971
4972 wxPyEndAllowThreads(__tstate);
4973 if (PyErr_Occurred()) SWIG_fail;
4974 }
4975 Py_INCREF(Py_None); resultobj = Py_None;
4976 return resultobj;
4977 fail:
4978 return NULL;
4979}
4980
4981
4982static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4983 PyObject *resultobj;
4984 wxCaret *arg1 = (wxCaret *) 0 ;
4985 wxPoint *arg2 = 0 ;
4986 wxPoint temp2 ;
4987 PyObject * obj0 = 0 ;
4988 PyObject * obj1 = 0 ;
4989 char *kwnames[] = {
4990 (char *) "self",(char *) "pt", NULL
4991 };
4992
4993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4996 {
4997 arg2 = &temp2;
4998 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4999 }
5000 {
5001 PyThreadState* __tstate = wxPyBeginAllowThreads();
5002 (arg1)->Move((wxPoint const &)*arg2);
5003
5004 wxPyEndAllowThreads(__tstate);
5005 if (PyErr_Occurred()) SWIG_fail;
5006 }
5007 Py_INCREF(Py_None); resultobj = Py_None;
5008 return resultobj;
5009 fail:
5010 return NULL;
5011}
5012
5013
5014static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
5015 PyObject *resultobj;
5016 wxCaret *arg1 = (wxCaret *) 0 ;
5017 int arg2 ;
5018 int arg3 ;
5019 PyObject * obj0 = 0 ;
5020 PyObject * obj1 = 0 ;
5021 PyObject * obj2 = 0 ;
5022 char *kwnames[] = {
5023 (char *) "self",(char *) "width",(char *) "height", NULL
5024 };
5025
5026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
5027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5029 arg2 = (int) SWIG_AsInt(obj1);
5030 if (PyErr_Occurred()) SWIG_fail;
5031 arg3 = (int) SWIG_AsInt(obj2);
5032 if (PyErr_Occurred()) SWIG_fail;
5033 {
5034 PyThreadState* __tstate = wxPyBeginAllowThreads();
5035 (arg1)->SetSize(arg2,arg3);
5036
5037 wxPyEndAllowThreads(__tstate);
5038 if (PyErr_Occurred()) SWIG_fail;
5039 }
5040 Py_INCREF(Py_None); resultobj = Py_None;
5041 return resultobj;
5042 fail:
5043 return NULL;
5044}
5045
5046
5047static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5048 PyObject *resultobj;
5049 wxCaret *arg1 = (wxCaret *) 0 ;
5050 wxSize *arg2 = 0 ;
5051 wxSize temp2 ;
5052 PyObject * obj0 = 0 ;
5053 PyObject * obj1 = 0 ;
5054 char *kwnames[] = {
5055 (char *) "self",(char *) "size", NULL
5056 };
5057
5058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
5059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5061 {
5062 arg2 = &temp2;
5063 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
5064 }
5065 {
5066 PyThreadState* __tstate = wxPyBeginAllowThreads();
5067 (arg1)->SetSize((wxSize const &)*arg2);
5068
5069 wxPyEndAllowThreads(__tstate);
5070 if (PyErr_Occurred()) SWIG_fail;
5071 }
5072 Py_INCREF(Py_None); resultobj = Py_None;
5073 return resultobj;
5074 fail:
5075 return NULL;
5076}
5077
5078
5079static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
5080 PyObject *resultobj;
5081 wxCaret *arg1 = (wxCaret *) 0 ;
5082 int arg2 = (int) True ;
5083 PyObject * obj0 = 0 ;
5084 PyObject * obj1 = 0 ;
5085 char *kwnames[] = {
5086 (char *) "self",(char *) "show", NULL
5087 };
5088
5089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
5090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5092 if (obj1) {
5093 arg2 = (int) SWIG_AsInt(obj1);
5094 if (PyErr_Occurred()) SWIG_fail;
5095 }
5096 {
5097 PyThreadState* __tstate = wxPyBeginAllowThreads();
5098 (arg1)->Show(arg2);
5099
5100 wxPyEndAllowThreads(__tstate);
5101 if (PyErr_Occurred()) SWIG_fail;
5102 }
5103 Py_INCREF(Py_None); resultobj = Py_None;
5104 return resultobj;
5105 fail:
5106 return NULL;
5107}
5108
5109
5110static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
5111 PyObject *resultobj;
5112 wxCaret *arg1 = (wxCaret *) 0 ;
5113 PyObject * obj0 = 0 ;
5114 char *kwnames[] = {
5115 (char *) "self", NULL
5116 };
5117
5118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
5119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5121 {
5122 PyThreadState* __tstate = wxPyBeginAllowThreads();
5123 (arg1)->Hide();
5124
5125 wxPyEndAllowThreads(__tstate);
5126 if (PyErr_Occurred()) SWIG_fail;
5127 }
5128 Py_INCREF(Py_None); resultobj = Py_None;
5129 return resultobj;
5130 fail:
5131 return NULL;
5132}
5133
5134
5135static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
5136 PyObject *obj;
5137 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5138 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
5139 Py_INCREF(obj);
5140 return Py_BuildValue((char *)"");
5141}
5142static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5143 PyObject *resultobj;
5144 int result;
5145 char *kwnames[] = {
5146 NULL
5147 };
5148
5149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
5150 {
5151 PyThreadState* __tstate = wxPyBeginAllowThreads();
5152 result = (int)wxCaret_GetBlinkTime();
5153
5154 wxPyEndAllowThreads(__tstate);
5155 if (PyErr_Occurred()) SWIG_fail;
5156 }
5157 resultobj = SWIG_FromInt((int)result);
5158 return resultobj;
5159 fail:
5160 return NULL;
5161}
5162
5163
5164static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5165 PyObject *resultobj;
5166 int arg1 ;
5167 PyObject * obj0 = 0 ;
5168 char *kwnames[] = {
5169 (char *) "milliseconds", NULL
5170 };
5171
5172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
5173 arg1 = (int) SWIG_AsInt(obj0);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 {
5176 PyThreadState* __tstate = wxPyBeginAllowThreads();
5177 wxCaret_SetBlinkTime(arg1);
5178
5179 wxPyEndAllowThreads(__tstate);
5180 if (PyErr_Occurred()) SWIG_fail;
5181 }
5182 Py_INCREF(Py_None); resultobj = Py_None;
5183 return resultobj;
5184 fail:
5185 return NULL;
5186}
5187
5188
5189static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
5190 PyObject *resultobj;
5191 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5192 wxBusyCursor *result;
5193 PyObject * obj0 = 0 ;
5194 char *kwnames[] = {
5195 (char *) "cursor", NULL
5196 };
5197
5198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
5199 if (obj0) {
5200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
5201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5202 }
5203 {
0439c23b 5204 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5205 PyThreadState* __tstate = wxPyBeginAllowThreads();
5206 result = (wxBusyCursor *)new wxBusyCursor(arg1);
5207
5208 wxPyEndAllowThreads(__tstate);
0439c23b 5209 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5210 }
5211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
5212 return resultobj;
5213 fail:
5214 return NULL;
5215}
5216
5217
5218static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
5219 PyObject *resultobj;
5220 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
5221 PyObject * obj0 = 0 ;
5222 char *kwnames[] = {
5223 (char *) "self", NULL
5224 };
5225
5226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
5227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyCursor,
5228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5229 {
5230 PyThreadState* __tstate = wxPyBeginAllowThreads();
5231 delete arg1;
5232
5233 wxPyEndAllowThreads(__tstate);
5234 if (PyErr_Occurred()) SWIG_fail;
5235 }
5236 Py_INCREF(Py_None); resultobj = Py_None;
5237 return resultobj;
5238 fail:
5239 return NULL;
5240}
5241
5242
5243static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
5244 PyObject *obj;
5245 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5246 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
5247 Py_INCREF(obj);
5248 return Py_BuildValue((char *)"");
5249}
5250static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
5251 PyObject *resultobj;
5252 wxWindow *arg1 = (wxWindow *) NULL ;
5253 wxWindowDisabler *result;
5254 PyObject * obj0 = 0 ;
5255 char *kwnames[] = {
5256 (char *) "winToSkip", NULL
5257 };
5258
5259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
5260 if (obj0) {
5261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5263 }
5264 {
0439c23b 5265 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5266 PyThreadState* __tstate = wxPyBeginAllowThreads();
5267 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
5268
5269 wxPyEndAllowThreads(__tstate);
0439c23b 5270 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5271 }
5272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
5273 return resultobj;
5274 fail:
5275 return NULL;
5276}
5277
5278
5279static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
5280 PyObject *resultobj;
5281 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
5282 PyObject * obj0 = 0 ;
5283 char *kwnames[] = {
5284 (char *) "self", NULL
5285 };
5286
5287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
5288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDisabler,
5289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5290 {
5291 PyThreadState* __tstate = wxPyBeginAllowThreads();
5292 delete arg1;
5293
5294 wxPyEndAllowThreads(__tstate);
5295 if (PyErr_Occurred()) SWIG_fail;
5296 }
5297 Py_INCREF(Py_None); resultobj = Py_None;
5298 return resultobj;
5299 fail:
5300 return NULL;
5301}
5302
5303
5304static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
5305 PyObject *obj;
5306 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5307 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
5308 Py_INCREF(obj);
5309 return Py_BuildValue((char *)"");
5310}
5311static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5312 PyObject *resultobj;
5313 wxString *arg1 = 0 ;
5314 wxBusyInfo *result;
5315 bool temp1 = False ;
5316 PyObject * obj0 = 0 ;
5317 char *kwnames[] = {
5318 (char *) "message", NULL
5319 };
5320
5321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
5322 {
5323 arg1 = wxString_in_helper(obj0);
5324 if (arg1 == NULL) SWIG_fail;
5325 temp1 = True;
5326 }
5327 {
0439c23b 5328 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5329 PyThreadState* __tstate = wxPyBeginAllowThreads();
5330 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
5331
5332 wxPyEndAllowThreads(__tstate);
0439c23b 5333 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5334 }
5335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
5336 {
5337 if (temp1)
5338 delete arg1;
5339 }
5340 return resultobj;
5341 fail:
5342 {
5343 if (temp1)
5344 delete arg1;
5345 }
5346 return NULL;
5347}
5348
5349
5350static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5351 PyObject *resultobj;
5352 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5353 PyObject * obj0 = 0 ;
5354 char *kwnames[] = {
5355 (char *) "self", NULL
5356 };
5357
5358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
5359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyInfo,
5360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5361 {
5362 PyThreadState* __tstate = wxPyBeginAllowThreads();
5363 delete arg1;
5364
5365 wxPyEndAllowThreads(__tstate);
5366 if (PyErr_Occurred()) SWIG_fail;
5367 }
5368 Py_INCREF(Py_None); resultobj = Py_None;
5369 return resultobj;
5370 fail:
5371 return NULL;
5372}
5373
5374
5375static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
5376 PyObject *obj;
5377 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5378 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5379 Py_INCREF(obj);
5380 return Py_BuildValue((char *)"");
5381}
5382static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
5383 PyObject *resultobj;
5384 wxStopWatch *result;
5385 char *kwnames[] = {
5386 NULL
5387 };
5388
5389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5390 {
5391 PyThreadState* __tstate = wxPyBeginAllowThreads();
5392 result = (wxStopWatch *)new wxStopWatch();
5393
5394 wxPyEndAllowThreads(__tstate);
5395 if (PyErr_Occurred()) SWIG_fail;
5396 }
5397 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
5398 return resultobj;
5399 fail:
5400 return NULL;
5401}
5402
5403
5404static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5405 PyObject *resultobj;
5406 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5407 long arg2 = (long) 0 ;
5408 PyObject * obj0 = 0 ;
5409 PyObject * obj1 = 0 ;
5410 char *kwnames[] = {
5411 (char *) "self",(char *) "t0", NULL
5412 };
5413
5414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
5415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5417 if (obj1) {
5418 arg2 = (long) SWIG_AsLong(obj1);
5419 if (PyErr_Occurred()) SWIG_fail;
5420 }
5421 {
5422 PyThreadState* __tstate = wxPyBeginAllowThreads();
5423 (arg1)->Start(arg2);
5424
5425 wxPyEndAllowThreads(__tstate);
5426 if (PyErr_Occurred()) SWIG_fail;
5427 }
5428 Py_INCREF(Py_None); resultobj = Py_None;
5429 return resultobj;
5430 fail:
5431 return NULL;
5432}
5433
5434
5435static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
5436 PyObject *resultobj;
5437 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5438 PyObject * obj0 = 0 ;
5439 char *kwnames[] = {
5440 (char *) "self", NULL
5441 };
5442
5443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
5444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5446 {
5447 PyThreadState* __tstate = wxPyBeginAllowThreads();
5448 (arg1)->Pause();
5449
5450 wxPyEndAllowThreads(__tstate);
5451 if (PyErr_Occurred()) SWIG_fail;
5452 }
5453 Py_INCREF(Py_None); resultobj = Py_None;
5454 return resultobj;
5455 fail:
5456 return NULL;
5457}
5458
5459
5460static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
5461 PyObject *resultobj;
5462 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5463 PyObject * obj0 = 0 ;
5464 char *kwnames[] = {
5465 (char *) "self", NULL
5466 };
5467
5468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
5469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5471 {
5472 PyThreadState* __tstate = wxPyBeginAllowThreads();
5473 (arg1)->Resume();
5474
5475 wxPyEndAllowThreads(__tstate);
5476 if (PyErr_Occurred()) SWIG_fail;
5477 }
5478 Py_INCREF(Py_None); resultobj = Py_None;
5479 return resultobj;
5480 fail:
5481 return NULL;
5482}
5483
5484
5485static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
5486 PyObject *resultobj;
5487 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5488 long result;
5489 PyObject * obj0 = 0 ;
5490 char *kwnames[] = {
5491 (char *) "self", NULL
5492 };
5493
5494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
5495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5497 {
5498 PyThreadState* __tstate = wxPyBeginAllowThreads();
5499 result = (long)((wxStopWatch const *)arg1)->Time();
5500
5501 wxPyEndAllowThreads(__tstate);
5502 if (PyErr_Occurred()) SWIG_fail;
5503 }
5504 resultobj = SWIG_FromLong((long)result);
5505 return resultobj;
5506 fail:
5507 return NULL;
5508}
5509
5510
5511static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
5512 PyObject *obj;
5513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5514 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5515 Py_INCREF(obj);
5516 return Py_BuildValue((char *)"");
5517}
5518static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5519 PyObject *resultobj;
5520 int arg1 = (int) 9 ;
5521 wxFileHistory *result;
5522 PyObject * obj0 = 0 ;
5523 char *kwnames[] = {
5524 (char *) "maxFiles", NULL
5525 };
5526
5527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FileHistory",kwnames,&obj0)) goto fail;
5528 if (obj0) {
5529 arg1 = (int) SWIG_AsInt(obj0);
5530 if (PyErr_Occurred()) SWIG_fail;
5531 }
5532 {
5533 PyThreadState* __tstate = wxPyBeginAllowThreads();
5534 result = (wxFileHistory *)new wxFileHistory(arg1);
5535
5536 wxPyEndAllowThreads(__tstate);
5537 if (PyErr_Occurred()) SWIG_fail;
5538 }
5539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
5540 return resultobj;
5541 fail:
5542 return NULL;
5543}
5544
5545
5546static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5547 PyObject *resultobj;
5548 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5549 PyObject * obj0 = 0 ;
5550 char *kwnames[] = {
5551 (char *) "self", NULL
5552 };
5553
5554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
5555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5557 {
5558 PyThreadState* __tstate = wxPyBeginAllowThreads();
5559 delete arg1;
5560
5561 wxPyEndAllowThreads(__tstate);
5562 if (PyErr_Occurred()) SWIG_fail;
5563 }
5564 Py_INCREF(Py_None); resultobj = Py_None;
5565 return resultobj;
5566 fail:
5567 return NULL;
5568}
5569
5570
5571static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5572 PyObject *resultobj;
5573 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5574 wxString *arg2 = 0 ;
5575 bool temp2 = False ;
5576 PyObject * obj0 = 0 ;
5577 PyObject * obj1 = 0 ;
5578 char *kwnames[] = {
5579 (char *) "self",(char *) "file", NULL
5580 };
5581
5582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
5583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5585 {
5586 arg2 = wxString_in_helper(obj1);
5587 if (arg2 == NULL) SWIG_fail;
5588 temp2 = True;
5589 }
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 (arg1)->AddFileToHistory((wxString const &)*arg2);
5593
5594 wxPyEndAllowThreads(__tstate);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 }
5597 Py_INCREF(Py_None); resultobj = Py_None;
5598 {
5599 if (temp2)
5600 delete arg2;
5601 }
5602 return resultobj;
5603 fail:
5604 {
5605 if (temp2)
5606 delete arg2;
5607 }
5608 return NULL;
5609}
5610
5611
5612static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5613 PyObject *resultobj;
5614 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5615 int arg2 ;
5616 PyObject * obj0 = 0 ;
5617 PyObject * obj1 = 0 ;
5618 char *kwnames[] = {
5619 (char *) "self",(char *) "i", NULL
5620 };
5621
5622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
5623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5625 arg2 = (int) SWIG_AsInt(obj1);
5626 if (PyErr_Occurred()) SWIG_fail;
5627 {
5628 PyThreadState* __tstate = wxPyBeginAllowThreads();
5629 (arg1)->RemoveFileFromHistory(arg2);
5630
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
5634 Py_INCREF(Py_None); resultobj = Py_None;
5635 return resultobj;
5636 fail:
5637 return NULL;
5638}
5639
5640
5641static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
5642 PyObject *resultobj;
5643 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5644 int result;
5645 PyObject * obj0 = 0 ;
5646 char *kwnames[] = {
5647 (char *) "self", NULL
5648 };
5649
5650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
5651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5653 {
5654 PyThreadState* __tstate = wxPyBeginAllowThreads();
5655 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
5656
5657 wxPyEndAllowThreads(__tstate);
5658 if (PyErr_Occurred()) SWIG_fail;
5659 }
5660 resultobj = SWIG_FromInt((int)result);
5661 return resultobj;
5662 fail:
5663 return NULL;
5664}
5665
5666
5667static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5668 PyObject *resultobj;
5669 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5670 wxMenu *arg2 = (wxMenu *) 0 ;
5671 PyObject * obj0 = 0 ;
5672 PyObject * obj1 = 0 ;
5673 char *kwnames[] = {
5674 (char *) "self",(char *) "menu", NULL
5675 };
5676
5677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
5678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5680 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5682 {
5683 PyThreadState* __tstate = wxPyBeginAllowThreads();
5684 (arg1)->UseMenu(arg2);
5685
5686 wxPyEndAllowThreads(__tstate);
5687 if (PyErr_Occurred()) SWIG_fail;
5688 }
5689 Py_INCREF(Py_None); resultobj = Py_None;
5690 return resultobj;
5691 fail:
5692 return NULL;
5693}
5694
5695
5696static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5697 PyObject *resultobj;
5698 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5699 wxMenu *arg2 = (wxMenu *) 0 ;
5700 PyObject * obj0 = 0 ;
5701 PyObject * obj1 = 0 ;
5702 char *kwnames[] = {
5703 (char *) "self",(char *) "menu", NULL
5704 };
5705
5706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
5707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5709 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5711 {
5712 PyThreadState* __tstate = wxPyBeginAllowThreads();
5713 (arg1)->RemoveMenu(arg2);
5714
5715 wxPyEndAllowThreads(__tstate);
5716 if (PyErr_Occurred()) SWIG_fail;
5717 }
5718 Py_INCREF(Py_None); resultobj = Py_None;
5719 return resultobj;
5720 fail:
5721 return NULL;
5722}
5723
5724
5725static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
5726 PyObject *resultobj;
5727 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5728 wxConfigBase *arg2 = 0 ;
5729 PyObject * obj0 = 0 ;
5730 PyObject * obj1 = 0 ;
5731 char *kwnames[] = {
5732 (char *) "self",(char *) "config", NULL
5733 };
5734
5735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
5736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5738 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5739 SWIG_POINTER_EXCEPTION | 0)) == -1)
5740 SWIG_fail;
5741 if (arg2 == NULL) {
5742 PyErr_SetString(PyExc_TypeError,"null reference");
5743 SWIG_fail;
5744 }
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
5747 (arg1)->Load(*arg2);
5748
5749 wxPyEndAllowThreads(__tstate);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 }
5752 Py_INCREF(Py_None); resultobj = Py_None;
5753 return resultobj;
5754 fail:
5755 return NULL;
5756}
5757
5758
5759static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5760 PyObject *resultobj;
5761 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5762 wxConfigBase *arg2 = 0 ;
5763 PyObject * obj0 = 0 ;
5764 PyObject * obj1 = 0 ;
5765 char *kwnames[] = {
5766 (char *) "self",(char *) "config", NULL
5767 };
5768
5769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5772 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5773 SWIG_POINTER_EXCEPTION | 0)) == -1)
5774 SWIG_fail;
5775 if (arg2 == NULL) {
5776 PyErr_SetString(PyExc_TypeError,"null reference");
5777 SWIG_fail;
5778 }
5779 {
5780 PyThreadState* __tstate = wxPyBeginAllowThreads();
5781 (arg1)->Save(*arg2);
5782
5783 wxPyEndAllowThreads(__tstate);
5784 if (PyErr_Occurred()) SWIG_fail;
5785 }
5786 Py_INCREF(Py_None); resultobj = Py_None;
5787 return resultobj;
5788 fail:
5789 return NULL;
5790}
5791
5792
5793static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5794 PyObject *resultobj;
5795 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5796 PyObject * obj0 = 0 ;
5797 char *kwnames[] = {
5798 (char *) "self", NULL
5799 };
5800
5801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5804 {
5805 PyThreadState* __tstate = wxPyBeginAllowThreads();
5806 (arg1)->AddFilesToMenu();
5807
5808 wxPyEndAllowThreads(__tstate);
5809 if (PyErr_Occurred()) SWIG_fail;
5810 }
5811 Py_INCREF(Py_None); resultobj = Py_None;
5812 return resultobj;
5813 fail:
5814 return NULL;
5815}
5816
5817
5818static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5819 PyObject *resultobj;
5820 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5821 wxMenu *arg2 = (wxMenu *) 0 ;
5822 PyObject * obj0 = 0 ;
5823 PyObject * obj1 = 0 ;
5824 char *kwnames[] = {
5825 (char *) "self",(char *) "menu", NULL
5826 };
5827
5828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5831 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5833 {
5834 PyThreadState* __tstate = wxPyBeginAllowThreads();
5835 (arg1)->AddFilesToMenu(arg2);
5836
5837 wxPyEndAllowThreads(__tstate);
5838 if (PyErr_Occurred()) SWIG_fail;
5839 }
5840 Py_INCREF(Py_None); resultobj = Py_None;
5841 return resultobj;
5842 fail:
5843 return NULL;
5844}
5845
5846
5847static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5848 PyObject *resultobj;
5849 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5850 int arg2 ;
5851 wxString result;
5852 PyObject * obj0 = 0 ;
5853 PyObject * obj1 = 0 ;
5854 char *kwnames[] = {
5855 (char *) "self",(char *) "i", NULL
5856 };
5857
5858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
5859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5861 arg2 = (int) SWIG_AsInt(obj1);
5862 if (PyErr_Occurred()) SWIG_fail;
5863 {
5864 PyThreadState* __tstate = wxPyBeginAllowThreads();
5865 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5866
5867 wxPyEndAllowThreads(__tstate);
5868 if (PyErr_Occurred()) SWIG_fail;
5869 }
5870 {
5871#if wxUSE_UNICODE
5872 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5873#else
5874 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5875#endif
5876 }
5877 return resultobj;
5878 fail:
5879 return NULL;
5880}
5881
5882
5883static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5884 PyObject *resultobj;
5885 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5886 int result;
5887 PyObject * obj0 = 0 ;
5888 char *kwnames[] = {
5889 (char *) "self", NULL
5890 };
5891
5892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5895 {
5896 PyThreadState* __tstate = wxPyBeginAllowThreads();
5897 result = (int)((wxFileHistory const *)arg1)->GetCount();
5898
5899 wxPyEndAllowThreads(__tstate);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 }
5902 resultobj = SWIG_FromInt((int)result);
5903 return resultobj;
5904 fail:
5905 return NULL;
5906}
5907
5908
5909static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5910 PyObject *obj;
5911 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5912 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5913 Py_INCREF(obj);
5914 return Py_BuildValue((char *)"");
5915}
5916static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5917 PyObject *resultobj;
5918 wxString *arg1 = 0 ;
5919 wxString const &arg2_defvalue = wxPyEmptyString ;
5920 wxString *arg2 = (wxString *) &arg2_defvalue ;
5921 wxSingleInstanceChecker *result;
5922 bool temp1 = False ;
5923 bool temp2 = False ;
5924 PyObject * obj0 = 0 ;
5925 PyObject * obj1 = 0 ;
5926 char *kwnames[] = {
5927 (char *) "name",(char *) "path", NULL
5928 };
5929
5930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5931 {
5932 arg1 = wxString_in_helper(obj0);
5933 if (arg1 == NULL) SWIG_fail;
5934 temp1 = True;
5935 }
5936 if (obj1) {
5937 {
5938 arg2 = wxString_in_helper(obj1);
5939 if (arg2 == NULL) SWIG_fail;
5940 temp2 = True;
5941 }
5942 }
5943 {
5944 PyThreadState* __tstate = wxPyBeginAllowThreads();
5945 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5946
5947 wxPyEndAllowThreads(__tstate);
5948 if (PyErr_Occurred()) SWIG_fail;
5949 }
5950 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
5951 {
5952 if (temp1)
5953 delete arg1;
5954 }
5955 {
5956 if (temp2)
5957 delete arg2;
5958 }
5959 return resultobj;
5960 fail:
5961 {
5962 if (temp1)
5963 delete arg1;
5964 }
5965 {
5966 if (temp2)
5967 delete arg2;
5968 }
5969 return NULL;
5970}
5971
5972
5973static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5974 PyObject *resultobj;
5975 wxSingleInstanceChecker *result;
5976 char *kwnames[] = {
5977 NULL
5978 };
5979
5980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5981 {
5982 PyThreadState* __tstate = wxPyBeginAllowThreads();
5983 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5984
5985 wxPyEndAllowThreads(__tstate);
5986 if (PyErr_Occurred()) SWIG_fail;
5987 }
5988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
5989 return resultobj;
5990 fail:
5991 return NULL;
5992}
5993
5994
5995static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5996 PyObject *resultobj;
5997 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5998 PyObject * obj0 = 0 ;
5999 char *kwnames[] = {
6000 (char *) "self", NULL
6001 };
6002
6003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
6004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6006 {
6007 PyThreadState* __tstate = wxPyBeginAllowThreads();
6008 delete arg1;
6009
6010 wxPyEndAllowThreads(__tstate);
6011 if (PyErr_Occurred()) SWIG_fail;
6012 }
6013 Py_INCREF(Py_None); resultobj = Py_None;
6014 return resultobj;
6015 fail:
6016 return NULL;
6017}
6018
6019
6020static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6021 PyObject *resultobj;
6022 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6023 wxString *arg2 = 0 ;
6024 wxString const &arg3_defvalue = wxPyEmptyString ;
6025 wxString *arg3 = (wxString *) &arg3_defvalue ;
6026 bool result;
6027 bool temp2 = False ;
6028 bool temp3 = False ;
6029 PyObject * obj0 = 0 ;
6030 PyObject * obj1 = 0 ;
6031 PyObject * obj2 = 0 ;
6032 char *kwnames[] = {
6033 (char *) "self",(char *) "name",(char *) "path", NULL
6034 };
6035
6036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
6037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6039 {
6040 arg2 = wxString_in_helper(obj1);
6041 if (arg2 == NULL) SWIG_fail;
6042 temp2 = True;
6043 }
6044 if (obj2) {
6045 {
6046 arg3 = wxString_in_helper(obj2);
6047 if (arg3 == NULL) SWIG_fail;
6048 temp3 = True;
6049 }
6050 }
6051 {
6052 PyThreadState* __tstate = wxPyBeginAllowThreads();
6053 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
6054
6055 wxPyEndAllowThreads(__tstate);
6056 if (PyErr_Occurred()) SWIG_fail;
6057 }
6058 {
6059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6060 }
6061 {
6062 if (temp2)
6063 delete arg2;
6064 }
6065 {
6066 if (temp3)
6067 delete arg3;
6068 }
6069 return resultobj;
6070 fail:
6071 {
6072 if (temp2)
6073 delete arg2;
6074 }
6075 {
6076 if (temp3)
6077 delete arg3;
6078 }
6079 return NULL;
6080}
6081
6082
6083static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
6084 PyObject *resultobj;
6085 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6086 bool result;
6087 PyObject * obj0 = 0 ;
6088 char *kwnames[] = {
6089 (char *) "self", NULL
6090 };
6091
6092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
6093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6095 {
6096 PyThreadState* __tstate = wxPyBeginAllowThreads();
6097 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
6098
6099 wxPyEndAllowThreads(__tstate);
6100 if (PyErr_Occurred()) SWIG_fail;
6101 }
6102 {
6103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6104 }
6105 return resultobj;
6106 fail:
6107 return NULL;
6108}
6109
6110
6111static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
6112 PyObject *obj;
6113 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6114 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
6115 Py_INCREF(obj);
6116 return Py_BuildValue((char *)"");
6117}
6118static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
6119 PyObject *resultobj;
6120 wxWindow *arg1 = (wxWindow *) 0 ;
6121 wxDC *arg2 = 0 ;
6122 int arg3 ;
6123 PyObject * obj0 = 0 ;
6124 PyObject * obj1 = 0 ;
6125 PyObject * obj2 = 0 ;
6126 char *kwnames[] = {
6127 (char *) "window",(char *) "dc",(char *) "method", NULL
6128 };
6129
6130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
6131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6133 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
6134 SWIG_POINTER_EXCEPTION | 0)) == -1)
6135 SWIG_fail;
6136 if (arg2 == NULL) {
6137 PyErr_SetString(PyExc_TypeError,"null reference");
6138 SWIG_fail;
6139 }
6140 arg3 = (int) SWIG_AsInt(obj2);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 {
6143 PyThreadState* __tstate = wxPyBeginAllowThreads();
6144 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
6145
6146 wxPyEndAllowThreads(__tstate);
6147 if (PyErr_Occurred()) SWIG_fail;
6148 }
6149 Py_INCREF(Py_None); resultobj = Py_None;
6150 return resultobj;
6151 fail:
6152 return NULL;
6153}
6154
6155
6156static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6157 PyObject *resultobj;
6158 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6159 PyObject * obj0 = 0 ;
6160 char *kwnames[] = {
6161 (char *) "self", NULL
6162 };
6163
6164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
6165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6167 {
6168 PyThreadState* __tstate = wxPyBeginAllowThreads();
6169 delete arg1;
6170
6171 wxPyEndAllowThreads(__tstate);
6172 if (PyErr_Occurred()) SWIG_fail;
6173 }
6174 Py_INCREF(Py_None); resultobj = Py_None;
6175 return resultobj;
6176 fail:
6177 return NULL;
6178}
6179
6180
6181static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6182 PyObject *resultobj;
6183 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6184 wxString result;
6185 PyObject * obj0 = 0 ;
6186 char *kwnames[] = {
6187 (char *) "self", NULL
6188 };
6189
6190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
6191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6193 {
6194 PyThreadState* __tstate = wxPyBeginAllowThreads();
6195 result = (arg1)->GetTip();
6196
6197 wxPyEndAllowThreads(__tstate);
6198 if (PyErr_Occurred()) SWIG_fail;
6199 }
6200 {
6201#if wxUSE_UNICODE
6202 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6203#else
6204 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6205#endif
6206 }
6207 return resultobj;
6208 fail:
6209 return NULL;
6210}
6211
6212
6213static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6214 PyObject *resultobj;
6215 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6216 size_t result;
6217 PyObject * obj0 = 0 ;
6218 char *kwnames[] = {
6219 (char *) "self", NULL
6220 };
6221
6222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
6223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6225 {
6226 PyThreadState* __tstate = wxPyBeginAllowThreads();
6227 result = (size_t)(arg1)->GetCurrentTip();
6228
6229 wxPyEndAllowThreads(__tstate);
6230 if (PyErr_Occurred()) SWIG_fail;
6231 }
6232 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
6233 return resultobj;
6234 fail:
6235 return NULL;
6236}
6237
6238
6239static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6240 PyObject *resultobj;
6241 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6242 wxString *arg2 = 0 ;
6243 wxString result;
6244 bool temp2 = False ;
6245 PyObject * obj0 = 0 ;
6246 PyObject * obj1 = 0 ;
6247 char *kwnames[] = {
6248 (char *) "self",(char *) "tip", NULL
6249 };
6250
6251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
6252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6254 {
6255 arg2 = wxString_in_helper(obj1);
6256 if (arg2 == NULL) SWIG_fail;
6257 temp2 = True;
6258 }
6259 {
6260 PyThreadState* __tstate = wxPyBeginAllowThreads();
6261 result = (arg1)->PreprocessTip((wxString const &)*arg2);
6262
6263 wxPyEndAllowThreads(__tstate);
6264 if (PyErr_Occurred()) SWIG_fail;
6265 }
6266 {
6267#if wxUSE_UNICODE
6268 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6269#else
6270 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6271#endif
6272 }
6273 {
6274 if (temp2)
6275 delete arg2;
6276 }
6277 return resultobj;
6278 fail:
6279 {
6280 if (temp2)
6281 delete arg2;
6282 }
6283 return NULL;
6284}
6285
6286
6287static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
6288 PyObject *obj;
6289 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6290 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
6291 Py_INCREF(obj);
6292 return Py_BuildValue((char *)"");
6293}
6294static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6295 PyObject *resultobj;
6296 size_t arg1 ;
6297 wxPyTipProvider *result;
6298 PyObject * obj0 = 0 ;
6299 char *kwnames[] = {
6300 (char *) "currentTip", NULL
6301 };
6302
6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
6304 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
6305 if (PyErr_Occurred()) SWIG_fail;
6306 {
6307 PyThreadState* __tstate = wxPyBeginAllowThreads();
6308 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
6309
6310 wxPyEndAllowThreads(__tstate);
6311 if (PyErr_Occurred()) SWIG_fail;
6312 }
6313 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
6314 return resultobj;
6315 fail:
6316 return NULL;
6317}
6318
6319
6320static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6321 PyObject *resultobj;
6322 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
6323 PyObject *arg2 = (PyObject *) 0 ;
6324 PyObject *arg3 = (PyObject *) 0 ;
6325 PyObject * obj0 = 0 ;
6326 PyObject * obj1 = 0 ;
6327 PyObject * obj2 = 0 ;
6328 char *kwnames[] = {
6329 (char *) "self",(char *) "self",(char *) "_class", NULL
6330 };
6331
6332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTipProvider,
6334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6335 arg2 = obj1;
6336 arg3 = obj2;
6337 {
6338 PyThreadState* __tstate = wxPyBeginAllowThreads();
6339 (arg1)->_setCallbackInfo(arg2,arg3);
6340
6341 wxPyEndAllowThreads(__tstate);
6342 if (PyErr_Occurred()) SWIG_fail;
6343 }
6344 Py_INCREF(Py_None); resultobj = Py_None;
6345 return resultobj;
6346 fail:
6347 return NULL;
6348}
6349
6350
6351static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
6352 PyObject *obj;
6353 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6354 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
6355 Py_INCREF(obj);
6356 return Py_BuildValue((char *)"");
6357}
6358static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6359 PyObject *resultobj;
6360 wxWindow *arg1 = (wxWindow *) 0 ;
6361 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
6362 bool arg3 = (bool) True ;
6363 bool result;
6364 PyObject * obj0 = 0 ;
6365 PyObject * obj1 = 0 ;
6366 PyObject * obj2 = 0 ;
6367 char *kwnames[] = {
6368 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6369 };
6370
6371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
6372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6374 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTipProvider,
6375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6376 if (obj2) {
6377 arg3 = (bool) SWIG_AsBool(obj2);
6378 if (PyErr_Occurred()) SWIG_fail;
6379 }
6380 {
0439c23b 6381 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6382 PyThreadState* __tstate = wxPyBeginAllowThreads();
6383 result = (bool)wxShowTip(arg1,arg2,arg3);
6384
6385 wxPyEndAllowThreads(__tstate);
0439c23b 6386 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6387 }
6388 {
6389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6390 }
6391 return resultobj;
6392 fail:
6393 return NULL;
6394}
6395
6396
6397static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6398 PyObject *resultobj;
6399 wxString *arg1 = 0 ;
6400 size_t arg2 ;
6401 wxTipProvider *result;
6402 bool temp1 = False ;
6403 PyObject * obj0 = 0 ;
6404 PyObject * obj1 = 0 ;
6405 char *kwnames[] = {
6406 (char *) "filename",(char *) "currentTip", NULL
6407 };
6408
6409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6410 {
6411 arg1 = wxString_in_helper(obj0);
6412 if (arg1 == NULL) SWIG_fail;
6413 temp1 = True;
6414 }
6415 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6416 if (PyErr_Occurred()) SWIG_fail;
6417 {
0439c23b 6418 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6419 PyThreadState* __tstate = wxPyBeginAllowThreads();
6420 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6421
6422 wxPyEndAllowThreads(__tstate);
0439c23b 6423 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6424 }
6425 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
6426 {
6427 if (temp1)
6428 delete arg1;
6429 }
6430 return resultobj;
6431 fail:
6432 {
6433 if (temp1)
6434 delete arg1;
6435 }
6436 return NULL;
6437}
6438
6439
6440static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6441 PyObject *resultobj;
6442 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6443 int arg2 = (int) -1 ;
6444 wxPyTimer *result;
6445 PyObject * obj0 = 0 ;
6446 PyObject * obj1 = 0 ;
6447 char *kwnames[] = {
6448 (char *) "owner",(char *) "id", NULL
6449 };
6450
6451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
6452 if (obj0) {
6453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
6454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6455 }
6456 if (obj1) {
6457 arg2 = (int) SWIG_AsInt(obj1);
6458 if (PyErr_Occurred()) SWIG_fail;
6459 }
6460 {
0439c23b 6461 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6462 PyThreadState* __tstate = wxPyBeginAllowThreads();
6463 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6464
6465 wxPyEndAllowThreads(__tstate);
0439c23b 6466 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6467 }
6468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
6469 return resultobj;
6470 fail:
6471 return NULL;
6472}
6473
6474
6475static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6476 PyObject *resultobj;
6477 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6478 PyObject * obj0 = 0 ;
6479 char *kwnames[] = {
6480 (char *) "self", NULL
6481 };
6482
6483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
6484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6486 {
6487 PyThreadState* __tstate = wxPyBeginAllowThreads();
6488 delete arg1;
6489
6490 wxPyEndAllowThreads(__tstate);
6491 if (PyErr_Occurred()) SWIG_fail;
6492 }
6493 Py_INCREF(Py_None); resultobj = Py_None;
6494 return resultobj;
6495 fail:
6496 return NULL;
6497}
6498
6499
6500static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6501 PyObject *resultobj;
6502 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6503 PyObject *arg2 = (PyObject *) 0 ;
6504 PyObject *arg3 = (PyObject *) 0 ;
6505 int arg4 = (int) 1 ;
6506 PyObject * obj0 = 0 ;
6507 PyObject * obj1 = 0 ;
6508 PyObject * obj2 = 0 ;
6509 PyObject * obj3 = 0 ;
6510 char *kwnames[] = {
6511 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6512 };
6513
6514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6517 arg2 = obj1;
6518 arg3 = obj2;
6519 if (obj3) {
6520 arg4 = (int) SWIG_AsInt(obj3);
6521 if (PyErr_Occurred()) SWIG_fail;
6522 }
6523 {
6524 PyThreadState* __tstate = wxPyBeginAllowThreads();
6525 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
6526
6527 wxPyEndAllowThreads(__tstate);
6528 if (PyErr_Occurred()) SWIG_fail;
6529 }
6530 Py_INCREF(Py_None); resultobj = Py_None;
6531 return resultobj;
6532 fail:
6533 return NULL;
6534}
6535
6536
6537static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
6538 PyObject *resultobj;
6539 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6540 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6541 int arg3 = (int) -1 ;
6542 PyObject * obj0 = 0 ;
6543 PyObject * obj1 = 0 ;
6544 PyObject * obj2 = 0 ;
6545 char *kwnames[] = {
6546 (char *) "self",(char *) "owner",(char *) "id", NULL
6547 };
6548
6549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
6550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6552 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
6553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6554 if (obj2) {
6555 arg3 = (int) SWIG_AsInt(obj2);
6556 if (PyErr_Occurred()) SWIG_fail;
6557 }
6558 {
6559 PyThreadState* __tstate = wxPyBeginAllowThreads();
6560 (arg1)->SetOwner(arg2,arg3);
6561
6562 wxPyEndAllowThreads(__tstate);
6563 if (PyErr_Occurred()) SWIG_fail;
6564 }
6565 Py_INCREF(Py_None); resultobj = Py_None;
6566 return resultobj;
6567 fail:
6568 return NULL;
6569}
6570
6571
1a6bba1e
RD
6572static PyObject *_wrap_Timer_GetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
6573 PyObject *resultobj;
6574 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6575 wxEvtHandler *result;
6576 PyObject * obj0 = 0 ;
6577 char *kwnames[] = {
6578 (char *) "self", NULL
6579 };
6580
6581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetOwner",kwnames,&obj0)) goto fail;
6582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6584 {
6585 PyThreadState* __tstate = wxPyBeginAllowThreads();
6586 result = (wxEvtHandler *)(arg1)->GetOwner();
6587
6588 wxPyEndAllowThreads(__tstate);
6589 if (PyErr_Occurred()) SWIG_fail;
6590 }
6591 {
6592 resultobj = wxPyMake_wxObject(result);
6593 }
6594 return resultobj;
6595 fail:
6596 return NULL;
6597}
6598
6599
d55e5bfc
RD
6600static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6601 PyObject *resultobj;
6602 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6603 int arg2 = (int) -1 ;
6604 bool arg3 = (bool) False ;
6605 bool result;
6606 PyObject * obj0 = 0 ;
6607 PyObject * obj1 = 0 ;
6608 PyObject * obj2 = 0 ;
6609 char *kwnames[] = {
6610 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6611 };
6612
6613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
6614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6616 if (obj1) {
6617 arg2 = (int) SWIG_AsInt(obj1);
6618 if (PyErr_Occurred()) SWIG_fail;
6619 }
6620 if (obj2) {
6621 arg3 = (bool) SWIG_AsBool(obj2);
6622 if (PyErr_Occurred()) SWIG_fail;
6623 }
6624 {
6625 PyThreadState* __tstate = wxPyBeginAllowThreads();
6626 result = (bool)(arg1)->Start(arg2,arg3);
6627
6628 wxPyEndAllowThreads(__tstate);
6629 if (PyErr_Occurred()) SWIG_fail;
6630 }
6631 {
6632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6633 }
6634 return resultobj;
6635 fail:
6636 return NULL;
6637}
6638
6639
6640static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
6641 PyObject *resultobj;
6642 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6643 PyObject * obj0 = 0 ;
6644 char *kwnames[] = {
6645 (char *) "self", NULL
6646 };
6647
6648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
6649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6651 {
6652 PyThreadState* __tstate = wxPyBeginAllowThreads();
6653 (arg1)->Stop();
6654
6655 wxPyEndAllowThreads(__tstate);
6656 if (PyErr_Occurred()) SWIG_fail;
6657 }
6658 Py_INCREF(Py_None); resultobj = Py_None;
6659 return resultobj;
6660 fail:
6661 return NULL;
6662}
6663
6664
6665static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
6666 PyObject *resultobj;
6667 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6668 bool result;
6669 PyObject * obj0 = 0 ;
6670 char *kwnames[] = {
6671 (char *) "self", NULL
6672 };
6673
6674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
6675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6677 {
6678 PyThreadState* __tstate = wxPyBeginAllowThreads();
6679 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
6680
6681 wxPyEndAllowThreads(__tstate);
6682 if (PyErr_Occurred()) SWIG_fail;
6683 }
6684 {
6685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6686 }
6687 return resultobj;
6688 fail:
6689 return NULL;
6690}
6691
6692
6693static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6694 PyObject *resultobj;
6695 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6696 int result;
6697 PyObject * obj0 = 0 ;
6698 char *kwnames[] = {
6699 (char *) "self", NULL
6700 };
6701
6702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
6703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6705 {
6706 PyThreadState* __tstate = wxPyBeginAllowThreads();
6707 result = (int)((wxPyTimer const *)arg1)->GetInterval();
6708
6709 wxPyEndAllowThreads(__tstate);
6710 if (PyErr_Occurred()) SWIG_fail;
6711 }
6712 resultobj = SWIG_FromInt((int)result);
6713 return resultobj;
6714 fail:
6715 return NULL;
6716}
6717
6718
6719static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
6720 PyObject *resultobj;
6721 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6722 bool result;
6723 PyObject * obj0 = 0 ;
6724 char *kwnames[] = {
6725 (char *) "self", NULL
6726 };
6727
6728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
6729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6731 {
6732 PyThreadState* __tstate = wxPyBeginAllowThreads();
6733 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
6734
6735 wxPyEndAllowThreads(__tstate);
6736 if (PyErr_Occurred()) SWIG_fail;
6737 }
6738 {
6739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6740 }
6741 return resultobj;
6742 fail:
6743 return NULL;
6744}
6745
6746
6747static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6748 PyObject *resultobj;
6749 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6750 int result;
6751 PyObject * obj0 = 0 ;
6752 char *kwnames[] = {
6753 (char *) "self", NULL
6754 };
6755
6756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
6757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6759 {
6760 PyThreadState* __tstate = wxPyBeginAllowThreads();
6761 result = (int)((wxPyTimer const *)arg1)->GetId();
6762
6763 wxPyEndAllowThreads(__tstate);
6764 if (PyErr_Occurred()) SWIG_fail;
6765 }
6766 resultobj = SWIG_FromInt((int)result);
6767 return resultobj;
6768 fail:
6769 return NULL;
6770}
6771
6772
6773static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
6774 PyObject *obj;
6775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6776 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
6777 Py_INCREF(obj);
6778 return Py_BuildValue((char *)"");
6779}
6780static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6781 PyObject *resultobj;
6782 int arg1 = (int) 0 ;
6783 int arg2 = (int) 0 ;
6784 wxTimerEvent *result;
6785 PyObject * obj0 = 0 ;
6786 PyObject * obj1 = 0 ;
6787 char *kwnames[] = {
6788 (char *) "timerid",(char *) "interval", NULL
6789 };
6790
6791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
6792 if (obj0) {
6793 arg1 = (int) SWIG_AsInt(obj0);
6794 if (PyErr_Occurred()) SWIG_fail;
6795 }
6796 if (obj1) {
6797 arg2 = (int) SWIG_AsInt(obj1);
6798 if (PyErr_Occurred()) SWIG_fail;
6799 }
6800 {
6801 PyThreadState* __tstate = wxPyBeginAllowThreads();
6802 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
6803
6804 wxPyEndAllowThreads(__tstate);
6805 if (PyErr_Occurred()) SWIG_fail;
6806 }
6807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
6808 return resultobj;
6809 fail:
6810 return NULL;
6811}
6812
6813
6814static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6815 PyObject *resultobj;
6816 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
6817 int result;
6818 PyObject * obj0 = 0 ;
6819 char *kwnames[] = {
6820 (char *) "self", NULL
6821 };
6822
6823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
6824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerEvent,
6825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6826 {
6827 PyThreadState* __tstate = wxPyBeginAllowThreads();
6828 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
6829
6830 wxPyEndAllowThreads(__tstate);
6831 if (PyErr_Occurred()) SWIG_fail;
6832 }
6833 resultobj = SWIG_FromInt((int)result);
6834 return resultobj;
6835 fail:
6836 return NULL;
6837}
6838
6839
6840static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
6841 PyObject *obj;
6842 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6843 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
6844 Py_INCREF(obj);
6845 return Py_BuildValue((char *)"");
6846}
6847static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
6848 PyObject *resultobj;
6849 wxTimer *arg1 = 0 ;
6850 wxTimerRunner *result;
6851 PyObject * obj0 = 0 ;
6852
6853 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
6854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6855 SWIG_POINTER_EXCEPTION | 0)) == -1)
6856 SWIG_fail;
6857 if (arg1 == NULL) {
6858 PyErr_SetString(PyExc_TypeError,"null reference");
6859 SWIG_fail;
6860 }
6861 {
0439c23b 6862 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6863 PyThreadState* __tstate = wxPyBeginAllowThreads();
6864 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6865
6866 wxPyEndAllowThreads(__tstate);
0439c23b 6867 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6868 }
6869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
6870 return resultobj;
6871 fail:
6872 return NULL;
6873}
6874
6875
6876static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
6877 PyObject *resultobj;
6878 wxTimer *arg1 = 0 ;
6879 int arg2 ;
6880 bool arg3 = (bool) False ;
6881 wxTimerRunner *result;
6882 PyObject * obj0 = 0 ;
6883 PyObject * obj1 = 0 ;
6884 PyObject * obj2 = 0 ;
6885
6886 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
6887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6888 SWIG_POINTER_EXCEPTION | 0)) == -1)
6889 SWIG_fail;
6890 if (arg1 == NULL) {
6891 PyErr_SetString(PyExc_TypeError,"null reference");
6892 SWIG_fail;
6893 }
6894 arg2 = (int) SWIG_AsInt(obj1);
6895 if (PyErr_Occurred()) SWIG_fail;
6896 if (obj2) {
6897 arg3 = (bool) SWIG_AsBool(obj2);
6898 if (PyErr_Occurred()) SWIG_fail;
6899 }
6900 {
0439c23b 6901 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6902 PyThreadState* __tstate = wxPyBeginAllowThreads();
6903 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6904
6905 wxPyEndAllowThreads(__tstate);
0439c23b 6906 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6907 }
6908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
6909 return resultobj;
6910 fail:
6911 return NULL;
6912}
6913
6914
6915static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6916 int argc;
6917 PyObject *argv[4];
6918 int ii;
6919
6920 argc = PyObject_Length(args);
6921 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6922 argv[ii] = PyTuple_GetItem(args,ii);
6923 }
6924 if (argc == 1) {
6925 int _v;
6926 {
6927 void *ptr;
6928 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6929 _v = 0;
6930 PyErr_Clear();
6931 } else {
6932 _v = 1;
6933 }
6934 }
6935 if (_v) {
6936 return _wrap_new_TimerRunner__SWIG_0(self,args);
6937 }
6938 }
6939 if ((argc >= 2) && (argc <= 3)) {
6940 int _v;
6941 {
6942 void *ptr;
6943 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6944 _v = 0;
6945 PyErr_Clear();
6946 } else {
6947 _v = 1;
6948 }
6949 }
6950 if (_v) {
6951 _v = SWIG_CheckInt(argv[1]);
6952 if (_v) {
6953 if (argc <= 2) {
6954 return _wrap_new_TimerRunner__SWIG_1(self,args);
6955 }
6956 _v = SWIG_CheckBool(argv[2]);
6957 if (_v) {
6958 return _wrap_new_TimerRunner__SWIG_1(self,args);
6959 }
6960 }
6961 }
6962 }
6963
6964 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6965 return NULL;
6966}
6967
6968
6969static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6970 PyObject *resultobj;
6971 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6972 PyObject * obj0 = 0 ;
6973 char *kwnames[] = {
6974 (char *) "self", NULL
6975 };
6976
6977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
6979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6980 {
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
6982 delete arg1;
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
6987 Py_INCREF(Py_None); resultobj = Py_None;
6988 return resultobj;
6989 fail:
6990 return NULL;
6991}
6992
6993
6994static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6995 PyObject *resultobj;
6996 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6997 int arg2 ;
6998 bool arg3 = (bool) False ;
6999 PyObject * obj0 = 0 ;
7000 PyObject * obj1 = 0 ;
7001 PyObject * obj2 = 0 ;
7002 char *kwnames[] = {
7003 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7004 };
7005
7006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
7007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
7008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7009 arg2 = (int) SWIG_AsInt(obj1);
7010 if (PyErr_Occurred()) SWIG_fail;
7011 if (obj2) {
7012 arg3 = (bool) SWIG_AsBool(obj2);
7013 if (PyErr_Occurred()) SWIG_fail;
7014 }
7015 {
7016 PyThreadState* __tstate = wxPyBeginAllowThreads();
7017 (arg1)->Start(arg2,arg3);
7018
7019 wxPyEndAllowThreads(__tstate);
7020 if (PyErr_Occurred()) SWIG_fail;
7021 }
7022 Py_INCREF(Py_None); resultobj = Py_None;
7023 return resultobj;
7024 fail:
7025 return NULL;
7026}
7027
7028
7029static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
7030 PyObject *obj;
7031 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7032 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
7033 Py_INCREF(obj);
7034 return Py_BuildValue((char *)"");
7035}
7036static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
7037 PyObject *resultobj;
7038 wxLog *result;
7039 char *kwnames[] = {
7040 NULL
7041 };
7042
7043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
7044 {
7045 PyThreadState* __tstate = wxPyBeginAllowThreads();
7046 result = (wxLog *)new wxLog();
7047
7048 wxPyEndAllowThreads(__tstate);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
7051 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
7052 return resultobj;
7053 fail:
7054 return NULL;
7055}
7056
7057
7058static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
7059 PyObject *resultobj;
7060 bool result;
7061 char *kwnames[] = {
7062 NULL
7063 };
7064
7065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
7066 {
7067 PyThreadState* __tstate = wxPyBeginAllowThreads();
7068 result = (bool)wxLog::IsEnabled();
7069
7070 wxPyEndAllowThreads(__tstate);
7071 if (PyErr_Occurred()) SWIG_fail;
7072 }
7073 {
7074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7075 }
7076 return resultobj;
7077 fail:
7078 return NULL;
7079}
7080
7081
7082static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
7083 PyObject *resultobj;
7084 bool arg1 = (bool) True ;
7085 bool result;
7086 PyObject * obj0 = 0 ;
7087 char *kwnames[] = {
7088 (char *) "doIt", NULL
7089 };
7090
7091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
7092 if (obj0) {
7093 arg1 = (bool) SWIG_AsBool(obj0);
7094 if (PyErr_Occurred()) SWIG_fail;
7095 }
7096 {
7097 PyThreadState* __tstate = wxPyBeginAllowThreads();
7098 result = (bool)wxLog::EnableLogging(arg1);
7099
7100 wxPyEndAllowThreads(__tstate);
7101 if (PyErr_Occurred()) SWIG_fail;
7102 }
7103 {
7104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7105 }
7106 return resultobj;
7107 fail:
7108 return NULL;
7109}
7110
7111
7112static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7113 PyObject *resultobj;
7114 wxLogLevel arg1 ;
7115 wxChar *arg2 = (wxChar *) 0 ;
7116 time_t arg3 ;
7117 PyObject * obj0 = 0 ;
7118 PyObject * obj1 = 0 ;
7119 PyObject * obj2 = 0 ;
7120 char *kwnames[] = {
7121 (char *) "level",(char *) "szString",(char *) "t", NULL
7122 };
7123
7124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
7125 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
7126 if (PyErr_Occurred()) SWIG_fail;
7127 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxChar,
7128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7129 arg3 = (time_t) SWIG_AsUnsignedInt(obj2);
7130 if (PyErr_Occurred()) SWIG_fail;
7131 {
7132 PyThreadState* __tstate = wxPyBeginAllowThreads();
7133 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
7134
7135 wxPyEndAllowThreads(__tstate);
7136 if (PyErr_Occurred()) SWIG_fail;
7137 }
7138 Py_INCREF(Py_None); resultobj = Py_None;
7139 return resultobj;
7140 fail:
7141 return NULL;
7142}
7143
7144
7145static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
7146 PyObject *resultobj;
7147 wxLog *arg1 = (wxLog *) 0 ;
7148 PyObject * obj0 = 0 ;
7149 char *kwnames[] = {
7150 (char *) "self", NULL
7151 };
7152
7153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
7154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7156 {
7157 PyThreadState* __tstate = wxPyBeginAllowThreads();
7158 (arg1)->Flush();
7159
7160 wxPyEndAllowThreads(__tstate);
7161 if (PyErr_Occurred()) SWIG_fail;
7162 }
7163 Py_INCREF(Py_None); resultobj = Py_None;
7164 return resultobj;
7165 fail:
7166 return NULL;
7167}
7168
7169
7170static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
7171 PyObject *resultobj;
7172 char *kwnames[] = {
7173 NULL
7174 };
7175
7176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
7177 {
7178 PyThreadState* __tstate = wxPyBeginAllowThreads();
7179 wxLog::FlushActive();
7180
7181 wxPyEndAllowThreads(__tstate);
7182 if (PyErr_Occurred()) SWIG_fail;
7183 }
7184 Py_INCREF(Py_None); resultobj = Py_None;
7185 return resultobj;
7186 fail:
7187 return NULL;
7188}
7189
7190
7191static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
7192 PyObject *resultobj;
7193 wxLog *result;
7194 char *kwnames[] = {
7195 NULL
7196 };
7197
7198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
7199 {
7200 PyThreadState* __tstate = wxPyBeginAllowThreads();
7201 result = (wxLog *)wxLog::GetActiveTarget();
7202
7203 wxPyEndAllowThreads(__tstate);
7204 if (PyErr_Occurred()) SWIG_fail;
7205 }
7206 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7207 return resultobj;
7208 fail:
7209 return NULL;
7210}
7211
7212
7213static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
7214 PyObject *resultobj;
7215 wxLog *arg1 = (wxLog *) 0 ;
7216 wxLog *result;
7217 PyObject * obj0 = 0 ;
7218 char *kwnames[] = {
7219 (char *) "pLogger", NULL
7220 };
7221
7222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
7223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7225 {
7226 PyThreadState* __tstate = wxPyBeginAllowThreads();
7227 result = (wxLog *)wxLog::SetActiveTarget(arg1);
7228
7229 wxPyEndAllowThreads(__tstate);
7230 if (PyErr_Occurred()) SWIG_fail;
7231 }
7232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7233 return resultobj;
7234 fail:
7235 return NULL;
7236}
7237
7238
7239static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
7240 PyObject *resultobj;
7241 char *kwnames[] = {
7242 NULL
7243 };
7244
7245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
7246 {
7247 PyThreadState* __tstate = wxPyBeginAllowThreads();
7248 wxLog::Suspend();
7249
7250 wxPyEndAllowThreads(__tstate);
7251 if (PyErr_Occurred()) SWIG_fail;
7252 }
7253 Py_INCREF(Py_None); resultobj = Py_None;
7254 return resultobj;
7255 fail:
7256 return NULL;
7257}
7258
7259
7260static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
7261 PyObject *resultobj;
7262 char *kwnames[] = {
7263 NULL
7264 };
7265
7266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
7267 {
7268 PyThreadState* __tstate = wxPyBeginAllowThreads();
7269 wxLog::Resume();
7270
7271 wxPyEndAllowThreads(__tstate);
7272 if (PyErr_Occurred()) SWIG_fail;
7273 }
7274 Py_INCREF(Py_None); resultobj = Py_None;
7275 return resultobj;
7276 fail:
7277 return NULL;
7278}
7279
7280
7281static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7282 PyObject *resultobj;
7283 bool arg1 = (bool) True ;
7284 PyObject * obj0 = 0 ;
7285 char *kwnames[] = {
7286 (char *) "bVerbose", NULL
7287 };
7288
7289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
7290 if (obj0) {
7291 arg1 = (bool) SWIG_AsBool(obj0);
7292 if (PyErr_Occurred()) SWIG_fail;
7293 }
7294 {
7295 PyThreadState* __tstate = wxPyBeginAllowThreads();
7296 wxLog::SetVerbose(arg1);
7297
7298 wxPyEndAllowThreads(__tstate);
7299 if (PyErr_Occurred()) SWIG_fail;
7300 }
7301 Py_INCREF(Py_None); resultobj = Py_None;
7302 return resultobj;
7303 fail:
7304 return NULL;
7305}
7306
7307
7308static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7309 PyObject *resultobj;
7310 wxLogLevel arg1 ;
7311 PyObject * obj0 = 0 ;
7312 char *kwnames[] = {
7313 (char *) "logLevel", NULL
7314 };
7315
7316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
7317 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
7318 if (PyErr_Occurred()) SWIG_fail;
7319 {
7320 PyThreadState* __tstate = wxPyBeginAllowThreads();
7321 wxLog::SetLogLevel(arg1);
7322
7323 wxPyEndAllowThreads(__tstate);
7324 if (PyErr_Occurred()) SWIG_fail;
7325 }
7326 Py_INCREF(Py_None); resultobj = Py_None;
7327 return resultobj;
7328 fail:
7329 return NULL;
7330}
7331
7332
7333static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
7334 PyObject *resultobj;
7335 char *kwnames[] = {
7336 NULL
7337 };
7338
7339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
7340 {
7341 PyThreadState* __tstate = wxPyBeginAllowThreads();
7342 wxLog::DontCreateOnDemand();
7343
7344 wxPyEndAllowThreads(__tstate);
7345 if (PyErr_Occurred()) SWIG_fail;
7346 }
7347 Py_INCREF(Py_None); resultobj = Py_None;
7348 return resultobj;
7349 fail:
7350 return NULL;
7351}
7352
7353
7354static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7355 PyObject *resultobj;
7356 wxTraceMask arg1 ;
7357 PyObject * obj0 = 0 ;
7358 char *kwnames[] = {
7359 (char *) "ulMask", NULL
7360 };
7361
7362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
7363 arg1 = (wxTraceMask) SWIG_AsUnsignedLong(obj0);
7364 if (PyErr_Occurred()) SWIG_fail;
7365 {
7366 PyThreadState* __tstate = wxPyBeginAllowThreads();
7367 wxLog::SetTraceMask(arg1);
7368
7369 wxPyEndAllowThreads(__tstate);
7370 if (PyErr_Occurred()) SWIG_fail;
7371 }
7372 Py_INCREF(Py_None); resultobj = Py_None;
7373 return resultobj;
7374 fail:
7375 return NULL;
7376}
7377
7378
7379static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7380 PyObject *resultobj;
7381 wxString *arg1 = 0 ;
7382 bool temp1 = False ;
7383 PyObject * obj0 = 0 ;
7384 char *kwnames[] = {
7385 (char *) "str", NULL
7386 };
7387
7388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
7389 {
7390 arg1 = wxString_in_helper(obj0);
7391 if (arg1 == NULL) SWIG_fail;
7392 temp1 = True;
7393 }
7394 {
7395 PyThreadState* __tstate = wxPyBeginAllowThreads();
7396 wxLog::AddTraceMask((wxString const &)*arg1);
7397
7398 wxPyEndAllowThreads(__tstate);
7399 if (PyErr_Occurred()) SWIG_fail;
7400 }
7401 Py_INCREF(Py_None); resultobj = Py_None;
7402 {
7403 if (temp1)
7404 delete arg1;
7405 }
7406 return resultobj;
7407 fail:
7408 {
7409 if (temp1)
7410 delete arg1;
7411 }
7412 return NULL;
7413}
7414
7415
7416static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7417 PyObject *resultobj;
7418 wxString *arg1 = 0 ;
7419 bool temp1 = False ;
7420 PyObject * obj0 = 0 ;
7421 char *kwnames[] = {
7422 (char *) "str", NULL
7423 };
7424
7425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7426 {
7427 arg1 = wxString_in_helper(obj0);
7428 if (arg1 == NULL) SWIG_fail;
7429 temp1 = True;
7430 }
7431 {
7432 PyThreadState* __tstate = wxPyBeginAllowThreads();
7433 wxLog::RemoveTraceMask((wxString const &)*arg1);
7434
7435 wxPyEndAllowThreads(__tstate);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 }
7438 Py_INCREF(Py_None); resultobj = Py_None;
7439 {
7440 if (temp1)
7441 delete arg1;
7442 }
7443 return resultobj;
7444 fail:
7445 {
7446 if (temp1)
7447 delete arg1;
7448 }
7449 return NULL;
7450}
7451
7452
7453static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7454 PyObject *resultobj;
7455 char *kwnames[] = {
7456 NULL
7457 };
7458
7459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7460 {
7461 PyThreadState* __tstate = wxPyBeginAllowThreads();
7462 wxLog::ClearTraceMasks();
7463
7464 wxPyEndAllowThreads(__tstate);
7465 if (PyErr_Occurred()) SWIG_fail;
7466 }
7467 Py_INCREF(Py_None); resultobj = Py_None;
7468 return resultobj;
7469 fail:
7470 return NULL;
7471}
7472
7473
7474static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7475 PyObject *resultobj;
7476 wxArrayString *result;
7477 char *kwnames[] = {
7478 NULL
7479 };
7480
7481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7482 {
7483 PyThreadState* __tstate = wxPyBeginAllowThreads();
7484 {
7485 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7486 result = (wxArrayString *) &_result_ref;
7487 }
7488
7489 wxPyEndAllowThreads(__tstate);
7490 if (PyErr_Occurred()) SWIG_fail;
7491 }
7492 {
7493 resultobj = wxArrayString2PyList_helper(*result);
7494 }
7495 return resultobj;
7496 fail:
7497 return NULL;
7498}
7499
7500
7501static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7502 PyObject *resultobj;
7503 wxChar *arg1 = (wxChar *) 0 ;
7504 PyObject * obj0 = 0 ;
7505 char *kwnames[] = {
7506 (char *) "ts", NULL
7507 };
7508
7509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
7510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7512 {
7513 PyThreadState* __tstate = wxPyBeginAllowThreads();
7514 wxLog::SetTimestamp((wxChar const *)arg1);
7515
7516 wxPyEndAllowThreads(__tstate);
7517 if (PyErr_Occurred()) SWIG_fail;
7518 }
7519 Py_INCREF(Py_None); resultobj = Py_None;
7520 return resultobj;
7521 fail:
7522 return NULL;
7523}
7524
7525
7526static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7527 PyObject *resultobj;
7528 bool result;
7529 char *kwnames[] = {
7530 NULL
7531 };
7532
7533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7534 {
7535 PyThreadState* __tstate = wxPyBeginAllowThreads();
7536 result = (bool)wxLog::GetVerbose();
7537
7538 wxPyEndAllowThreads(__tstate);
7539 if (PyErr_Occurred()) SWIG_fail;
7540 }
7541 {
7542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7543 }
7544 return resultobj;
7545 fail:
7546 return NULL;
7547}
7548
7549
7550static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7551 PyObject *resultobj;
7552 wxTraceMask result;
7553 char *kwnames[] = {
7554 NULL
7555 };
7556
7557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
7558 {
7559 PyThreadState* __tstate = wxPyBeginAllowThreads();
7560 result = (wxTraceMask)wxLog::GetTraceMask();
7561
7562 wxPyEndAllowThreads(__tstate);
7563 if (PyErr_Occurred()) SWIG_fail;
7564 }
7565 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7566 return resultobj;
7567 fail:
7568 return NULL;
7569}
7570
7571
7572static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7573 PyObject *resultobj;
7574 wxChar *arg1 = (wxChar *) 0 ;
7575 bool result;
7576 PyObject * obj0 = 0 ;
7577 char *kwnames[] = {
7578 (char *) "mask", NULL
7579 };
7580
7581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
7582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7584 {
7585 PyThreadState* __tstate = wxPyBeginAllowThreads();
7586 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
7587
7588 wxPyEndAllowThreads(__tstate);
7589 if (PyErr_Occurred()) SWIG_fail;
7590 }
7591 {
7592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7593 }
7594 return resultobj;
7595 fail:
7596 return NULL;
7597}
7598
7599
7600static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7601 PyObject *resultobj;
7602 wxLogLevel result;
7603 char *kwnames[] = {
7604 NULL
7605 };
7606
7607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
7608 {
7609 PyThreadState* __tstate = wxPyBeginAllowThreads();
7610 result = (wxLogLevel)wxLog::GetLogLevel();
7611
7612 wxPyEndAllowThreads(__tstate);
7613 if (PyErr_Occurred()) SWIG_fail;
7614 }
7615 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7616 return resultobj;
7617 fail:
7618 return NULL;
7619}
7620
7621
7622static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7623 PyObject *resultobj;
7624 wxChar *result;
7625 char *kwnames[] = {
7626 NULL
7627 };
7628
7629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
7630 {
7631 PyThreadState* __tstate = wxPyBeginAllowThreads();
7632 result = (wxChar *)wxLog::GetTimestamp();
7633
7634 wxPyEndAllowThreads(__tstate);
7635 if (PyErr_Occurred()) SWIG_fail;
7636 }
7637 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
7638 return resultobj;
7639 fail:
7640 return NULL;
7641}
7642
7643
7644static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7645 PyObject *resultobj;
7646 wxString result;
7647 char *kwnames[] = {
7648 NULL
7649 };
7650
7651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
7652 {
7653 PyThreadState* __tstate = wxPyBeginAllowThreads();
7654 result = Log_TimeStamp();
7655
7656 wxPyEndAllowThreads(__tstate);
7657 if (PyErr_Occurred()) SWIG_fail;
7658 }
7659 {
7660#if wxUSE_UNICODE
7661 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7662#else
7663 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7664#endif
7665 }
7666 return resultobj;
7667 fail:
7668 return NULL;
7669}
7670
7671
7672static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7673 PyObject *resultobj;
7674 wxLog *arg1 = (wxLog *) 0 ;
7675 PyObject * obj0 = 0 ;
7676 char *kwnames[] = {
7677 (char *) "self", NULL
7678 };
7679
7680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
7681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7683 {
7684 PyThreadState* __tstate = wxPyBeginAllowThreads();
7685 wxLog_Destroy(arg1);
7686
7687 wxPyEndAllowThreads(__tstate);
7688 if (PyErr_Occurred()) SWIG_fail;
7689 }
7690 Py_INCREF(Py_None); resultobj = Py_None;
7691 return resultobj;
7692 fail:
7693 return NULL;
7694}
7695
7696
7697static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
7698 PyObject *obj;
7699 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7700 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
7701 Py_INCREF(obj);
7702 return Py_BuildValue((char *)"");
7703}
7704static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
7705 PyObject *resultobj;
7706 wxLogStderr *result;
7707 char *kwnames[] = {
7708 NULL
7709 };
7710
7711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
7712 {
7713 PyThreadState* __tstate = wxPyBeginAllowThreads();
7714 result = (wxLogStderr *)new wxLogStderr();
7715
7716 wxPyEndAllowThreads(__tstate);
7717 if (PyErr_Occurred()) SWIG_fail;
7718 }
7719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
7720 return resultobj;
7721 fail:
7722 return NULL;
7723}
7724
7725
7726static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
7727 PyObject *obj;
7728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7729 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
7730 Py_INCREF(obj);
7731 return Py_BuildValue((char *)"");
7732}
7733static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7734 PyObject *resultobj;
7735 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7736 wxLogTextCtrl *result;
7737 PyObject * obj0 = 0 ;
7738 char *kwnames[] = {
7739 (char *) "pTextCtrl", NULL
7740 };
7741
7742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
7743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7745 {
7746 PyThreadState* __tstate = wxPyBeginAllowThreads();
7747 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
7748
7749 wxPyEndAllowThreads(__tstate);
7750 if (PyErr_Occurred()) SWIG_fail;
7751 }
7752 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
7753 return resultobj;
7754 fail:
7755 return NULL;
7756}
7757
7758
7759static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
7760 PyObject *obj;
7761 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7762 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
7763 Py_INCREF(obj);
7764 return Py_BuildValue((char *)"");
7765}
7766static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
7767 PyObject *resultobj;
7768 wxLogGui *result;
7769 char *kwnames[] = {
7770 NULL
7771 };
7772
7773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
7774 {
7775 PyThreadState* __tstate = wxPyBeginAllowThreads();
7776 result = (wxLogGui *)new wxLogGui();
7777
7778 wxPyEndAllowThreads(__tstate);
7779 if (PyErr_Occurred()) SWIG_fail;
7780 }
7781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
7782 return resultobj;
7783 fail:
7784 return NULL;
7785}
7786
7787
7788static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
7789 PyObject *obj;
7790 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7791 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
7792 Py_INCREF(obj);
7793 return Py_BuildValue((char *)"");
7794}
7795static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7796 PyObject *resultobj;
7797 wxFrame *arg1 = (wxFrame *) 0 ;
7798 wxString *arg2 = 0 ;
7799 bool arg3 = (bool) True ;
7800 bool arg4 = (bool) True ;
7801 wxLogWindow *result;
7802 bool temp2 = False ;
7803 PyObject * obj0 = 0 ;
7804 PyObject * obj1 = 0 ;
7805 PyObject * obj2 = 0 ;
7806 PyObject * obj3 = 0 ;
7807 char *kwnames[] = {
7808 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7809 };
7810
7811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
7813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7814 {
7815 arg2 = wxString_in_helper(obj1);
7816 if (arg2 == NULL) SWIG_fail;
7817 temp2 = True;
7818 }
7819 if (obj2) {
7820 arg3 = (bool) SWIG_AsBool(obj2);
7821 if (PyErr_Occurred()) SWIG_fail;
7822 }
7823 if (obj3) {
7824 arg4 = (bool) SWIG_AsBool(obj3);
7825 if (PyErr_Occurred()) SWIG_fail;
7826 }
7827 {
7828 PyThreadState* __tstate = wxPyBeginAllowThreads();
7829 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7830
7831 wxPyEndAllowThreads(__tstate);
7832 if (PyErr_Occurred()) SWIG_fail;
7833 }
7834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
7835 {
7836 if (temp2)
7837 delete arg2;
7838 }
7839 return resultobj;
7840 fail:
7841 {
7842 if (temp2)
7843 delete arg2;
7844 }
7845 return NULL;
7846}
7847
7848
7849static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
7850 PyObject *resultobj;
7851 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7852 bool arg2 = (bool) True ;
7853 PyObject * obj0 = 0 ;
7854 PyObject * obj1 = 0 ;
7855 char *kwnames[] = {
7856 (char *) "self",(char *) "bShow", NULL
7857 };
7858
7859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
7860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7862 if (obj1) {
7863 arg2 = (bool) SWIG_AsBool(obj1);
7864 if (PyErr_Occurred()) SWIG_fail;
7865 }
7866 {
7867 PyThreadState* __tstate = wxPyBeginAllowThreads();
7868 (arg1)->Show(arg2);
7869
7870 wxPyEndAllowThreads(__tstate);
7871 if (PyErr_Occurred()) SWIG_fail;
7872 }
7873 Py_INCREF(Py_None); resultobj = Py_None;
7874 return resultobj;
7875 fail:
7876 return NULL;
7877}
7878
7879
7880static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7881 PyObject *resultobj;
7882 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7883 wxFrame *result;
7884 PyObject * obj0 = 0 ;
7885 char *kwnames[] = {
7886 (char *) "self", NULL
7887 };
7888
7889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
7890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7892 {
7893 PyThreadState* __tstate = wxPyBeginAllowThreads();
7894 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7895
7896 wxPyEndAllowThreads(__tstate);
7897 if (PyErr_Occurred()) SWIG_fail;
7898 }
7899 {
7900 resultobj = wxPyMake_wxObject(result);
7901 }
7902 return resultobj;
7903 fail:
7904 return NULL;
7905}
7906
7907
7908static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj;
7910 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7911 wxLog *result;
7912 PyObject * obj0 = 0 ;
7913 char *kwnames[] = {
7914 (char *) "self", NULL
7915 };
7916
7917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7920 {
7921 PyThreadState* __tstate = wxPyBeginAllowThreads();
7922 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7923
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7928 return resultobj;
7929 fail:
7930 return NULL;
7931}
7932
7933
7934static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7935 PyObject *resultobj;
7936 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7937 bool result;
7938 PyObject * obj0 = 0 ;
7939 char *kwnames[] = {
7940 (char *) "self", NULL
7941 };
7942
7943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
7944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7949
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 {
7954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7955 }
7956 return resultobj;
7957 fail:
7958 return NULL;
7959}
7960
7961
7962static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7963 PyObject *resultobj;
7964 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7965 bool arg2 ;
7966 PyObject * obj0 = 0 ;
7967 PyObject * obj1 = 0 ;
7968 char *kwnames[] = {
7969 (char *) "self",(char *) "bDoPass", NULL
7970 };
7971
7972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7975 arg2 = (bool) SWIG_AsBool(obj1);
7976 if (PyErr_Occurred()) SWIG_fail;
7977 {
7978 PyThreadState* __tstate = wxPyBeginAllowThreads();
7979 (arg1)->PassMessages(arg2);
7980
7981 wxPyEndAllowThreads(__tstate);
7982 if (PyErr_Occurred()) SWIG_fail;
7983 }
7984 Py_INCREF(Py_None); resultobj = Py_None;
7985 return resultobj;
7986 fail:
7987 return NULL;
7988}
7989
7990
7991static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7992 PyObject *obj;
7993 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7994 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7995 Py_INCREF(obj);
7996 return Py_BuildValue((char *)"");
7997}
7998static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7999 PyObject *resultobj;
8000 wxLog *arg1 = (wxLog *) 0 ;
8001 wxLogChain *result;
8002 PyObject * obj0 = 0 ;
8003 char *kwnames[] = {
8004 (char *) "logger", NULL
8005 };
8006
8007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
8008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
8009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8010 {
8011 PyThreadState* __tstate = wxPyBeginAllowThreads();
8012 result = (wxLogChain *)new wxLogChain(arg1);
8013
8014 wxPyEndAllowThreads(__tstate);
8015 if (PyErr_Occurred()) SWIG_fail;
8016 }
8017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
8018 return resultobj;
8019 fail:
8020 return NULL;
8021}
8022
8023
8024static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8025 PyObject *resultobj;
8026 wxLogChain *arg1 = (wxLogChain *) 0 ;
8027 wxLog *arg2 = (wxLog *) 0 ;
8028 PyObject * obj0 = 0 ;
8029 PyObject * obj1 = 0 ;
8030 char *kwnames[] = {
8031 (char *) "self",(char *) "logger", NULL
8032 };
8033
8034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
8035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8037 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLog,
8038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8039 {
8040 PyThreadState* __tstate = wxPyBeginAllowThreads();
8041 (arg1)->SetLog(arg2);
8042
8043 wxPyEndAllowThreads(__tstate);
8044 if (PyErr_Occurred()) SWIG_fail;
8045 }
8046 Py_INCREF(Py_None); resultobj = Py_None;
8047 return resultobj;
8048 fail:
8049 return NULL;
8050}
8051
8052
8053static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
8054 PyObject *resultobj;
8055 wxLogChain *arg1 = (wxLogChain *) 0 ;
8056 bool arg2 ;
8057 PyObject * obj0 = 0 ;
8058 PyObject * obj1 = 0 ;
8059 char *kwnames[] = {
8060 (char *) "self",(char *) "bDoPass", NULL
8061 };
8062
8063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
8064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8066 arg2 = (bool) SWIG_AsBool(obj1);
8067 if (PyErr_Occurred()) SWIG_fail;
8068 {
8069 PyThreadState* __tstate = wxPyBeginAllowThreads();
8070 (arg1)->PassMessages(arg2);
8071
8072 wxPyEndAllowThreads(__tstate);
8073 if (PyErr_Occurred()) SWIG_fail;
8074 }
8075 Py_INCREF(Py_None); resultobj = Py_None;
8076 return resultobj;
8077 fail:
8078 return NULL;
8079}
8080
8081
8082static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
8083 PyObject *resultobj;
8084 wxLogChain *arg1 = (wxLogChain *) 0 ;
8085 bool result;
8086 PyObject * obj0 = 0 ;
8087 char *kwnames[] = {
8088 (char *) "self", NULL
8089 };
8090
8091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
8092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8094 {
8095 PyThreadState* __tstate = wxPyBeginAllowThreads();
8096 result = (bool)(arg1)->IsPassingMessages();
8097
8098 wxPyEndAllowThreads(__tstate);
8099 if (PyErr_Occurred()) SWIG_fail;
8100 }
8101 {
8102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8103 }
8104 return resultobj;
8105 fail:
8106 return NULL;
8107}
8108
8109
8110static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8111 PyObject *resultobj;
8112 wxLogChain *arg1 = (wxLogChain *) 0 ;
8113 wxLog *result;
8114 PyObject * obj0 = 0 ;
8115 char *kwnames[] = {
8116 (char *) "self", NULL
8117 };
8118
8119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
8120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8122 {
8123 PyThreadState* __tstate = wxPyBeginAllowThreads();
8124 result = (wxLog *)(arg1)->GetOldLog();
8125
8126 wxPyEndAllowThreads(__tstate);
8127 if (PyErr_Occurred()) SWIG_fail;
8128 }
8129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
8130 return resultobj;
8131 fail:
8132 return NULL;
8133}
8134
8135
8136static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
8137 PyObject *obj;
8138 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8139 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
8140 Py_INCREF(obj);
8141 return Py_BuildValue((char *)"");
8142}
8143static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
8144 PyObject *resultobj;
8145 unsigned long result;
8146 char *kwnames[] = {
8147 NULL
8148 };
8149
8150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
8151 {
8152 PyThreadState* __tstate = wxPyBeginAllowThreads();
8153 result = (unsigned long)wxSysErrorCode();
8154
8155 wxPyEndAllowThreads(__tstate);
8156 if (PyErr_Occurred()) SWIG_fail;
8157 }
8158 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
8159 return resultobj;
8160 fail:
8161 return NULL;
8162}
8163
8164
8165static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
8166 PyObject *resultobj;
8167 unsigned long arg1 = (unsigned long) 0 ;
8168 wxString result;
8169 PyObject * obj0 = 0 ;
8170 char *kwnames[] = {
8171 (char *) "nErrCode", NULL
8172 };
8173
8174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
8175 if (obj0) {
8176 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8177 if (PyErr_Occurred()) SWIG_fail;
8178 }
8179 {
8180 PyThreadState* __tstate = wxPyBeginAllowThreads();
8181 result = wxSysErrorMsg(arg1);
8182
8183 wxPyEndAllowThreads(__tstate);
8184 if (PyErr_Occurred()) SWIG_fail;
8185 }
8186 {
8187#if wxUSE_UNICODE
8188 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8189#else
8190 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8191#endif
8192 }
8193 return resultobj;
8194 fail:
8195 return NULL;
8196}
8197
8198
8199static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
8200 PyObject *resultobj;
8201 wxString *arg1 = 0 ;
8202 bool temp1 = False ;
8203 PyObject * obj0 = 0 ;
8204 char *kwnames[] = {
8205 (char *) "msg", NULL
8206 };
8207
8208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
8209 {
8210 arg1 = wxString_in_helper(obj0);
8211 if (arg1 == NULL) SWIG_fail;
8212 temp1 = True;
8213 }
8214 {
8215 PyThreadState* __tstate = wxPyBeginAllowThreads();
8216 wxLogFatalError((wxString const &)*arg1);
8217
8218 wxPyEndAllowThreads(__tstate);
8219 if (PyErr_Occurred()) SWIG_fail;
8220 }
8221 Py_INCREF(Py_None); resultobj = Py_None;
8222 {
8223 if (temp1)
8224 delete arg1;
8225 }
8226 return resultobj;
8227 fail:
8228 {
8229 if (temp1)
8230 delete arg1;
8231 }
8232 return NULL;
8233}
8234
8235
8236static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
8237 PyObject *resultobj;
8238 wxString *arg1 = 0 ;
8239 bool temp1 = False ;
8240 PyObject * obj0 = 0 ;
8241 char *kwnames[] = {
8242 (char *) "msg", NULL
8243 };
8244
8245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
8246 {
8247 arg1 = wxString_in_helper(obj0);
8248 if (arg1 == NULL) SWIG_fail;
8249 temp1 = True;
8250 }
8251 {
8252 PyThreadState* __tstate = wxPyBeginAllowThreads();
8253 wxLogError((wxString const &)*arg1);
8254
8255 wxPyEndAllowThreads(__tstate);
8256 if (PyErr_Occurred()) SWIG_fail;
8257 }
8258 Py_INCREF(Py_None); resultobj = Py_None;
8259 {
8260 if (temp1)
8261 delete arg1;
8262 }
8263 return resultobj;
8264 fail:
8265 {
8266 if (temp1)
8267 delete arg1;
8268 }
8269 return NULL;
8270}
8271
8272
8273static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
8274 PyObject *resultobj;
8275 wxString *arg1 = 0 ;
8276 bool temp1 = False ;
8277 PyObject * obj0 = 0 ;
8278 char *kwnames[] = {
8279 (char *) "msg", NULL
8280 };
8281
8282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
8283 {
8284 arg1 = wxString_in_helper(obj0);
8285 if (arg1 == NULL) SWIG_fail;
8286 temp1 = True;
8287 }
8288 {
8289 PyThreadState* __tstate = wxPyBeginAllowThreads();
8290 wxLogWarning((wxString const &)*arg1);
8291
8292 wxPyEndAllowThreads(__tstate);
8293 if (PyErr_Occurred()) SWIG_fail;
8294 }
8295 Py_INCREF(Py_None); resultobj = Py_None;
8296 {
8297 if (temp1)
8298 delete arg1;
8299 }
8300 return resultobj;
8301 fail:
8302 {
8303 if (temp1)
8304 delete arg1;
8305 }
8306 return NULL;
8307}
8308
8309
8310static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8311 PyObject *resultobj;
8312 wxString *arg1 = 0 ;
8313 bool temp1 = False ;
8314 PyObject * obj0 = 0 ;
8315 char *kwnames[] = {
8316 (char *) "msg", NULL
8317 };
8318
8319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
8320 {
8321 arg1 = wxString_in_helper(obj0);
8322 if (arg1 == NULL) SWIG_fail;
8323 temp1 = True;
8324 }
8325 {
8326 PyThreadState* __tstate = wxPyBeginAllowThreads();
8327 wxLogMessage((wxString const &)*arg1);
8328
8329 wxPyEndAllowThreads(__tstate);
8330 if (PyErr_Occurred()) SWIG_fail;
8331 }
8332 Py_INCREF(Py_None); resultobj = Py_None;
8333 {
8334 if (temp1)
8335 delete arg1;
8336 }
8337 return resultobj;
8338 fail:
8339 {
8340 if (temp1)
8341 delete arg1;
8342 }
8343 return NULL;
8344}
8345
8346
8347static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8348 PyObject *resultobj;
8349 wxString *arg1 = 0 ;
8350 bool temp1 = False ;
8351 PyObject * obj0 = 0 ;
8352 char *kwnames[] = {
8353 (char *) "msg", NULL
8354 };
8355
8356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
8357 {
8358 arg1 = wxString_in_helper(obj0);
8359 if (arg1 == NULL) SWIG_fail;
8360 temp1 = True;
8361 }
8362 {
8363 PyThreadState* __tstate = wxPyBeginAllowThreads();
8364 wxLogInfo((wxString const &)*arg1);
8365
8366 wxPyEndAllowThreads(__tstate);
8367 if (PyErr_Occurred()) SWIG_fail;
8368 }
8369 Py_INCREF(Py_None); resultobj = Py_None;
8370 {
8371 if (temp1)
8372 delete arg1;
8373 }
8374 return resultobj;
8375 fail:
8376 {
8377 if (temp1)
8378 delete arg1;
8379 }
8380 return NULL;
8381}
8382
8383
8384static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
8385 PyObject *resultobj;
8386 wxString *arg1 = 0 ;
8387 bool temp1 = False ;
8388 PyObject * obj0 = 0 ;
8389 char *kwnames[] = {
8390 (char *) "msg", NULL
8391 };
8392
8393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
8394 {
8395 arg1 = wxString_in_helper(obj0);
8396 if (arg1 == NULL) SWIG_fail;
8397 temp1 = True;
8398 }
8399 {
8400 PyThreadState* __tstate = wxPyBeginAllowThreads();
8401 wxLogDebug((wxString const &)*arg1);
8402
8403 wxPyEndAllowThreads(__tstate);
8404 if (PyErr_Occurred()) SWIG_fail;
8405 }
8406 Py_INCREF(Py_None); resultobj = Py_None;
8407 {
8408 if (temp1)
8409 delete arg1;
8410 }
8411 return resultobj;
8412 fail:
8413 {
8414 if (temp1)
8415 delete arg1;
8416 }
8417 return NULL;
8418}
8419
8420
8421static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
8422 PyObject *resultobj;
8423 wxString *arg1 = 0 ;
8424 bool temp1 = False ;
8425 PyObject * obj0 = 0 ;
8426 char *kwnames[] = {
8427 (char *) "msg", NULL
8428 };
8429
8430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8431 {
8432 arg1 = wxString_in_helper(obj0);
8433 if (arg1 == NULL) SWIG_fail;
8434 temp1 = True;
8435 }
8436 {
8437 PyThreadState* __tstate = wxPyBeginAllowThreads();
8438 wxLogVerbose((wxString const &)*arg1);
8439
8440 wxPyEndAllowThreads(__tstate);
8441 if (PyErr_Occurred()) SWIG_fail;
8442 }
8443 Py_INCREF(Py_None); resultobj = Py_None;
8444 {
8445 if (temp1)
8446 delete arg1;
8447 }
8448 return resultobj;
8449 fail:
8450 {
8451 if (temp1)
8452 delete arg1;
8453 }
8454 return NULL;
8455}
8456
8457
8458static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8459 PyObject *resultobj;
8460 wxString *arg1 = 0 ;
8461 bool temp1 = False ;
8462 PyObject * obj0 = 0 ;
8463 char *kwnames[] = {
8464 (char *) "msg", NULL
8465 };
8466
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8468 {
8469 arg1 = wxString_in_helper(obj0);
8470 if (arg1 == NULL) SWIG_fail;
8471 temp1 = True;
8472 }
8473 {
8474 PyThreadState* __tstate = wxPyBeginAllowThreads();
8475 wxLogStatus((wxString const &)*arg1);
8476
8477 wxPyEndAllowThreads(__tstate);
8478 if (PyErr_Occurred()) SWIG_fail;
8479 }
8480 Py_INCREF(Py_None); resultobj = Py_None;
8481 {
8482 if (temp1)
8483 delete arg1;
8484 }
8485 return resultobj;
8486 fail:
8487 {
8488 if (temp1)
8489 delete arg1;
8490 }
8491 return NULL;
8492}
8493
8494
8495static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8496 PyObject *resultobj;
8497 wxFrame *arg1 = (wxFrame *) 0 ;
8498 wxString *arg2 = 0 ;
8499 bool temp2 = False ;
8500 PyObject * obj0 = 0 ;
8501 PyObject * obj1 = 0 ;
8502 char *kwnames[] = {
8503 (char *) "pFrame",(char *) "msg", NULL
8504 };
8505
8506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
8507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
8508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8509 {
8510 arg2 = wxString_in_helper(obj1);
8511 if (arg2 == NULL) SWIG_fail;
8512 temp2 = True;
8513 }
8514 {
8515 PyThreadState* __tstate = wxPyBeginAllowThreads();
8516 wxLogStatus(arg1,(wxString const &)*arg2);
8517
8518 wxPyEndAllowThreads(__tstate);
8519 if (PyErr_Occurred()) SWIG_fail;
8520 }
8521 Py_INCREF(Py_None); resultobj = Py_None;
8522 {
8523 if (temp2)
8524 delete arg2;
8525 }
8526 return resultobj;
8527 fail:
8528 {
8529 if (temp2)
8530 delete arg2;
8531 }
8532 return NULL;
8533}
8534
8535
8536static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
8537 PyObject *resultobj;
8538 wxString *arg1 = 0 ;
8539 bool temp1 = False ;
8540 PyObject * obj0 = 0 ;
8541 char *kwnames[] = {
8542 (char *) "msg", NULL
8543 };
8544
8545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
8546 {
8547 arg1 = wxString_in_helper(obj0);
8548 if (arg1 == NULL) SWIG_fail;
8549 temp1 = True;
8550 }
8551 {
8552 PyThreadState* __tstate = wxPyBeginAllowThreads();
8553 wxLogSysError((wxString const &)*arg1);
8554
8555 wxPyEndAllowThreads(__tstate);
8556 if (PyErr_Occurred()) SWIG_fail;
8557 }
8558 Py_INCREF(Py_None); resultobj = Py_None;
8559 {
8560 if (temp1)
8561 delete arg1;
8562 }
8563 return resultobj;
8564 fail:
8565 {
8566 if (temp1)
8567 delete arg1;
8568 }
8569 return NULL;
8570}
8571
8572
8573static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
8574 PyObject *resultobj;
8575 unsigned long arg1 ;
8576 wxString *arg2 = 0 ;
8577 bool temp2 = False ;
8578 PyObject * obj0 = 0 ;
8579 PyObject * obj1 = 0 ;
8580
8581 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8582 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8583 if (PyErr_Occurred()) SWIG_fail;
8584 {
8585 arg2 = wxString_in_helper(obj1);
8586 if (arg2 == NULL) SWIG_fail;
8587 temp2 = True;
8588 }
8589 {
8590 PyThreadState* __tstate = wxPyBeginAllowThreads();
8591 wxLogTrace(arg1,(wxString const &)*arg2);
8592
8593 wxPyEndAllowThreads(__tstate);
8594 if (PyErr_Occurred()) SWIG_fail;
8595 }
8596 Py_INCREF(Py_None); resultobj = Py_None;
8597 {
8598 if (temp2)
8599 delete arg2;
8600 }
8601 return resultobj;
8602 fail:
8603 {
8604 if (temp2)
8605 delete arg2;
8606 }
8607 return NULL;
8608}
8609
8610
8611static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
8612 PyObject *resultobj;
8613 wxString *arg1 = 0 ;
8614 wxString *arg2 = 0 ;
8615 bool temp1 = False ;
8616 bool temp2 = False ;
8617 PyObject * obj0 = 0 ;
8618 PyObject * obj1 = 0 ;
8619
8620 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8621 {
8622 arg1 = wxString_in_helper(obj0);
8623 if (arg1 == NULL) SWIG_fail;
8624 temp1 = True;
8625 }
8626 {
8627 arg2 = wxString_in_helper(obj1);
8628 if (arg2 == NULL) SWIG_fail;
8629 temp2 = True;
8630 }
8631 {
8632 PyThreadState* __tstate = wxPyBeginAllowThreads();
8633 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
8634
8635 wxPyEndAllowThreads(__tstate);
8636 if (PyErr_Occurred()) SWIG_fail;
8637 }
8638 Py_INCREF(Py_None); resultobj = Py_None;
8639 {
8640 if (temp1)
8641 delete arg1;
8642 }
8643 {
8644 if (temp2)
8645 delete arg2;
8646 }
8647 return resultobj;
8648 fail:
8649 {
8650 if (temp1)
8651 delete arg1;
8652 }
8653 {
8654 if (temp2)
8655 delete arg2;
8656 }
8657 return NULL;
8658}
8659
8660
8661static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
8662 int argc;
8663 PyObject *argv[3];
8664 int ii;
8665
8666 argc = PyObject_Length(args);
8667 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
8668 argv[ii] = PyTuple_GetItem(args,ii);
8669 }
8670 if (argc == 2) {
8671 int _v;
8672 {
8673 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
8674 }
8675 if (_v) {
8676 {
8677 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8678 }
8679 if (_v) {
8680 return _wrap_LogTrace__SWIG_1(self,args);
8681 }
8682 }
8683 }
8684 if (argc == 2) {
8685 int _v;
8686 _v = SWIG_CheckUnsignedLong(argv[0]);
8687 if (_v) {
8688 {
8689 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8690 }
8691 if (_v) {
8692 return _wrap_LogTrace__SWIG_0(self,args);
8693 }
8694 }
8695 }
8696
8697 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
8698 return NULL;
8699}
8700
8701
8702static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
8703 PyObject *resultobj;
8704 unsigned long arg1 ;
8705 wxString *arg2 = 0 ;
8706 bool temp2 = False ;
8707 PyObject * obj0 = 0 ;
8708 PyObject * obj1 = 0 ;
8709 char *kwnames[] = {
8710 (char *) "level",(char *) "msg", NULL
8711 };
8712
8713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
8714 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8715 if (PyErr_Occurred()) SWIG_fail;
8716 {
8717 arg2 = wxString_in_helper(obj1);
8718 if (arg2 == NULL) SWIG_fail;
8719 temp2 = True;
8720 }
8721 {
8722 PyThreadState* __tstate = wxPyBeginAllowThreads();
8723 wxLogGeneric(arg1,(wxString const &)*arg2);
8724
8725 wxPyEndAllowThreads(__tstate);
8726 if (PyErr_Occurred()) SWIG_fail;
8727 }
8728 Py_INCREF(Py_None); resultobj = Py_None;
8729 {
8730 if (temp2)
8731 delete arg2;
8732 }
8733 return resultobj;
8734 fail:
8735 {
8736 if (temp2)
8737 delete arg2;
8738 }
8739 return NULL;
8740}
8741
8742
8743static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8744 PyObject *resultobj;
8745 wxString *arg1 = 0 ;
8746 wxString *arg2 = 0 ;
8747 bool temp1 = False ;
8748 bool temp2 = False ;
8749 PyObject * obj0 = 0 ;
8750 PyObject * obj1 = 0 ;
8751 char *kwnames[] = {
8752 (char *) "title",(char *) "text", NULL
8753 };
8754
8755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
8756 {
8757 arg1 = wxString_in_helper(obj0);
8758 if (arg1 == NULL) SWIG_fail;
8759 temp1 = True;
8760 }
8761 {
8762 arg2 = wxString_in_helper(obj1);
8763 if (arg2 == NULL) SWIG_fail;
8764 temp2 = True;
8765 }
8766 {
8767 PyThreadState* __tstate = wxPyBeginAllowThreads();
8768 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
8769
8770 wxPyEndAllowThreads(__tstate);
8771 if (PyErr_Occurred()) SWIG_fail;
8772 }
8773 Py_INCREF(Py_None); resultobj = Py_None;
8774 {
8775 if (temp1)
8776 delete arg1;
8777 }
8778 {
8779 if (temp2)
8780 delete arg2;
8781 }
8782 return resultobj;
8783 fail:
8784 {
8785 if (temp1)
8786 delete arg1;
8787 }
8788 {
8789 if (temp2)
8790 delete arg2;
8791 }
8792 return NULL;
8793}
8794
8795
8796static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8797 PyObject *resultobj;
8798 wxLogNull *result;
8799 char *kwnames[] = {
8800 NULL
8801 };
8802
8803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
8804 {
8805 PyThreadState* __tstate = wxPyBeginAllowThreads();
8806 result = (wxLogNull *)new wxLogNull();
8807
8808 wxPyEndAllowThreads(__tstate);
8809 if (PyErr_Occurred()) SWIG_fail;
8810 }
8811 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
8812 return resultobj;
8813 fail:
8814 return NULL;
8815}
8816
8817
8818static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8819 PyObject *resultobj;
8820 wxLogNull *arg1 = (wxLogNull *) 0 ;
8821 PyObject * obj0 = 0 ;
8822 char *kwnames[] = {
8823 (char *) "self", NULL
8824 };
8825
8826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
8827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogNull,
8828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8829 {
8830 PyThreadState* __tstate = wxPyBeginAllowThreads();
8831 delete arg1;
8832
8833 wxPyEndAllowThreads(__tstate);
8834 if (PyErr_Occurred()) SWIG_fail;
8835 }
8836 Py_INCREF(Py_None); resultobj = Py_None;
8837 return resultobj;
8838 fail:
8839 return NULL;
8840}
8841
8842
8843static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
8844 PyObject *obj;
8845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8846 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
8847 Py_INCREF(obj);
8848 return Py_BuildValue((char *)"");
8849}
8850static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8851 PyObject *resultobj;
8852 wxPyLog *result;
8853 char *kwnames[] = {
8854 NULL
8855 };
8856
8857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
8858 {
8859 PyThreadState* __tstate = wxPyBeginAllowThreads();
8860 result = (wxPyLog *)new wxPyLog();
8861
8862 wxPyEndAllowThreads(__tstate);
8863 if (PyErr_Occurred()) SWIG_fail;
8864 }
8865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
8866 return resultobj;
8867 fail:
8868 return NULL;
8869}
8870
8871
8872static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8873 PyObject *resultobj;
8874 wxPyLog *arg1 = (wxPyLog *) 0 ;
8875 PyObject *arg2 = (PyObject *) 0 ;
8876 PyObject *arg3 = (PyObject *) 0 ;
8877 PyObject * obj0 = 0 ;
8878 PyObject * obj1 = 0 ;
8879 PyObject * obj2 = 0 ;
8880 char *kwnames[] = {
8881 (char *) "self",(char *) "self",(char *) "_class", NULL
8882 };
8883
8884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLog,
8886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8887 arg2 = obj1;
8888 arg3 = obj2;
8889 {
8890 PyThreadState* __tstate = wxPyBeginAllowThreads();
8891 (arg1)->_setCallbackInfo(arg2,arg3);
8892
8893 wxPyEndAllowThreads(__tstate);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 Py_INCREF(Py_None); resultobj = Py_None;
8897 return resultobj;
8898 fail:
8899 return NULL;
8900}
8901
8902
8903static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
8904 PyObject *obj;
8905 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8906 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8907 Py_INCREF(obj);
8908 return Py_BuildValue((char *)"");
8909}
8910static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
8911 PyObject *resultobj;
8912 int arg1 ;
8913 int arg2 = (int) wxSIGTERM ;
8914 int result;
8915 PyObject * obj0 = 0 ;
8916 PyObject * obj1 = 0 ;
8917 char *kwnames[] = {
8918 (char *) "pid",(char *) "sig", NULL
8919 };
8920
8921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Kill",kwnames,&obj0,&obj1)) goto fail;
8922 arg1 = (int) SWIG_AsInt(obj0);
8923 if (PyErr_Occurred()) SWIG_fail;
8924 if (obj1) {
8925 arg2 = (wxSignal) SWIG_AsInt(obj1);
8926 if (PyErr_Occurred()) SWIG_fail;
8927 }
8928 {
8929 PyThreadState* __tstate = wxPyBeginAllowThreads();
8930 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
8931
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
8935 resultobj = SWIG_FromInt((int)result);
8936 return resultobj;
8937 fail:
8938 return NULL;
8939}
8940
8941
8942static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
8943 PyObject *resultobj;
8944 int arg1 ;
8945 bool result;
8946 PyObject * obj0 = 0 ;
8947 char *kwnames[] = {
8948 (char *) "pid", NULL
8949 };
8950
8951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
8952 arg1 = (int) SWIG_AsInt(obj0);
8953 if (PyErr_Occurred()) SWIG_fail;
8954 {
8955 PyThreadState* __tstate = wxPyBeginAllowThreads();
8956 result = (bool)wxPyProcess::Exists(arg1);
8957
8958 wxPyEndAllowThreads(__tstate);
8959 if (PyErr_Occurred()) SWIG_fail;
8960 }
8961 {
8962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8963 }
8964 return resultobj;
8965 fail:
8966 return NULL;
8967}
8968
8969
8970static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
8971 PyObject *resultobj;
8972 wxString *arg1 = 0 ;
8973 int arg2 = (int) wxEXEC_ASYNC ;
8974 wxPyProcess *result;
8975 bool temp1 = False ;
8976 PyObject * obj0 = 0 ;
8977 PyObject * obj1 = 0 ;
8978 char *kwnames[] = {
8979 (char *) "cmd",(char *) "flags", NULL
8980 };
8981
8982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
8983 {
8984 arg1 = wxString_in_helper(obj0);
8985 if (arg1 == NULL) SWIG_fail;
8986 temp1 = True;
8987 }
8988 if (obj1) {
8989 arg2 = (int) SWIG_AsInt(obj1);
8990 if (PyErr_Occurred()) SWIG_fail;
8991 }
8992 {
8993 PyThreadState* __tstate = wxPyBeginAllowThreads();
8994 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8995
8996 wxPyEndAllowThreads(__tstate);
8997 if (PyErr_Occurred()) SWIG_fail;
8998 }
8999 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
9000 {
9001 if (temp1)
9002 delete arg1;
9003 }
9004 return resultobj;
9005 fail:
9006 {
9007 if (temp1)
9008 delete arg1;
9009 }
9010 return NULL;
9011}
9012
9013
9014static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
9015 PyObject *resultobj;
9016 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
9017 int arg2 = (int) -1 ;
9018 wxPyProcess *result;
9019 PyObject * obj0 = 0 ;
9020 PyObject * obj1 = 0 ;
9021 char *kwnames[] = {
9022 (char *) "parent",(char *) "id", NULL
9023 };
9024
9025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
9026 if (obj0) {
9027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
9028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9029 }
9030 if (obj1) {
9031 arg2 = (int) SWIG_AsInt(obj1);
9032 if (PyErr_Occurred()) SWIG_fail;
9033 }
9034 {
9035 PyThreadState* __tstate = wxPyBeginAllowThreads();
9036 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
9037
9038 wxPyEndAllowThreads(__tstate);
9039 if (PyErr_Occurred()) SWIG_fail;
9040 }
9041 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
9042 return resultobj;
9043 fail:
9044 return NULL;
9045}
9046
9047
9048static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9049 PyObject *resultobj;
9050 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9051 PyObject *arg2 = (PyObject *) 0 ;
9052 PyObject *arg3 = (PyObject *) 0 ;
9053 PyObject * obj0 = 0 ;
9054 PyObject * obj1 = 0 ;
9055 PyObject * obj2 = 0 ;
9056 char *kwnames[] = {
9057 (char *) "self",(char *) "self",(char *) "_class", NULL
9058 };
9059
9060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9063 arg2 = obj1;
9064 arg3 = obj2;
9065 {
9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
9067 (arg1)->_setCallbackInfo(arg2,arg3);
9068
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 }
9072 Py_INCREF(Py_None); resultobj = Py_None;
9073 return resultobj;
9074 fail:
9075 return NULL;
9076}
9077
9078
9079static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
9080 PyObject *resultobj;
9081 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9082 int arg2 ;
9083 int arg3 ;
9084 PyObject * obj0 = 0 ;
9085 PyObject * obj1 = 0 ;
9086 PyObject * obj2 = 0 ;
9087 char *kwnames[] = {
9088 (char *) "self",(char *) "pid",(char *) "status", NULL
9089 };
9090
9091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
9092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9094 arg2 = (int) SWIG_AsInt(obj1);
9095 if (PyErr_Occurred()) SWIG_fail;
9096 arg3 = (int) SWIG_AsInt(obj2);
9097 if (PyErr_Occurred()) SWIG_fail;
9098 {
9099 PyThreadState* __tstate = wxPyBeginAllowThreads();
9100 (arg1)->base_OnTerminate(arg2,arg3);
9101
9102 wxPyEndAllowThreads(__tstate);
9103 if (PyErr_Occurred()) SWIG_fail;
9104 }
9105 Py_INCREF(Py_None); resultobj = Py_None;
9106 return resultobj;
9107 fail:
9108 return NULL;
9109}
9110
9111
9112static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
9113 PyObject *resultobj;
9114 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9115 PyObject * obj0 = 0 ;
9116 char *kwnames[] = {
9117 (char *) "self", NULL
9118 };
9119
9120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
9121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9123 {
9124 PyThreadState* __tstate = wxPyBeginAllowThreads();
9125 (arg1)->Redirect();
9126
9127 wxPyEndAllowThreads(__tstate);
9128 if (PyErr_Occurred()) SWIG_fail;
9129 }
9130 Py_INCREF(Py_None); resultobj = Py_None;
9131 return resultobj;
9132 fail:
9133 return NULL;
9134}
9135
9136
9137static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
9138 PyObject *resultobj;
9139 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9140 bool result;
9141 PyObject * obj0 = 0 ;
9142 char *kwnames[] = {
9143 (char *) "self", NULL
9144 };
9145
9146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
9147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9149 {
9150 PyThreadState* __tstate = wxPyBeginAllowThreads();
9151 result = (bool)(arg1)->IsRedirected();
9152
9153 wxPyEndAllowThreads(__tstate);
9154 if (PyErr_Occurred()) SWIG_fail;
9155 }
9156 {
9157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9158 }
9159 return resultobj;
9160 fail:
9161 return NULL;
9162}
9163
9164
9165static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
9166 PyObject *resultobj;
9167 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9168 PyObject * obj0 = 0 ;
9169 char *kwnames[] = {
9170 (char *) "self", NULL
9171 };
9172
9173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
9174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9176 {
9177 PyThreadState* __tstate = wxPyBeginAllowThreads();
9178 (arg1)->Detach();
9179
9180 wxPyEndAllowThreads(__tstate);
9181 if (PyErr_Occurred()) SWIG_fail;
9182 }
9183 Py_INCREF(Py_None); resultobj = Py_None;
9184 return resultobj;
9185 fail:
9186 return NULL;
9187}
9188
9189
9190static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9191 PyObject *resultobj;
9192 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9193 wxInputStream *result;
9194 PyObject * obj0 = 0 ;
9195 char *kwnames[] = {
9196 (char *) "self", NULL
9197 };
9198
9199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
9200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9202 {
9203 PyThreadState* __tstate = wxPyBeginAllowThreads();
9204 result = (wxInputStream *)(arg1)->GetInputStream();
9205
9206 wxPyEndAllowThreads(__tstate);
9207 if (PyErr_Occurred()) SWIG_fail;
9208 }
9209 {
9210 wxPyInputStream * _ptr = NULL;
9211
9212 if (result) {
9213 _ptr = new wxPyInputStream(result);
9214 }
9215 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
9216 }
9217 return resultobj;
9218 fail:
9219 return NULL;
9220}
9221
9222
9223static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9224 PyObject *resultobj;
9225 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9226 wxInputStream *result;
9227 PyObject * obj0 = 0 ;
9228 char *kwnames[] = {
9229 (char *) "self", NULL
9230 };
9231
9232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
9233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9235 {
9236 PyThreadState* __tstate = wxPyBeginAllowThreads();
9237 result = (wxInputStream *)(arg1)->GetErrorStream();
9238
9239 wxPyEndAllowThreads(__tstate);
9240 if (PyErr_Occurred()) SWIG_fail;
9241 }
9242 {
9243 wxPyInputStream * _ptr = NULL;
9244
9245 if (result) {
9246 _ptr = new wxPyInputStream(result);
9247 }
9248 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
9249 }
9250 return resultobj;
9251 fail:
9252 return NULL;
9253}
9254
9255
9256static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9257 PyObject *resultobj;
9258 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9259 wxOutputStream *result;
9260 PyObject * obj0 = 0 ;
9261 char *kwnames[] = {
9262 (char *) "self", NULL
9263 };
9264
9265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
9266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9268 {
9269 PyThreadState* __tstate = wxPyBeginAllowThreads();
9270 result = (wxOutputStream *)(arg1)->GetOutputStream();
9271
9272 wxPyEndAllowThreads(__tstate);
9273 if (PyErr_Occurred()) SWIG_fail;
9274 }
9275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
9276 return resultobj;
9277 fail:
9278 return NULL;
9279}
9280
9281
9282static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
9283 PyObject *resultobj;
9284 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9285 PyObject * obj0 = 0 ;
9286 char *kwnames[] = {
9287 (char *) "self", NULL
9288 };
9289
9290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
9291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9293 {
9294 PyThreadState* __tstate = wxPyBeginAllowThreads();
9295 (arg1)->CloseOutput();
9296
9297 wxPyEndAllowThreads(__tstate);
9298 if (PyErr_Occurred()) SWIG_fail;
9299 }
9300 Py_INCREF(Py_None); resultobj = Py_None;
9301 return resultobj;
9302 fail:
9303 return NULL;
9304}
9305
9306
9307static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
9308 PyObject *resultobj;
9309 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9310 bool result;
9311 PyObject * obj0 = 0 ;
9312 char *kwnames[] = {
9313 (char *) "self", NULL
9314 };
9315
9316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
9317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9319 {
9320 PyThreadState* __tstate = wxPyBeginAllowThreads();
9321 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
9322
9323 wxPyEndAllowThreads(__tstate);
9324 if (PyErr_Occurred()) SWIG_fail;
9325 }
9326 {
9327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9328 }
9329 return resultobj;
9330 fail:
9331 return NULL;
9332}
9333
9334
9335static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
9336 PyObject *resultobj;
9337 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9338 bool result;
9339 PyObject * obj0 = 0 ;
9340 char *kwnames[] = {
9341 (char *) "self", NULL
9342 };
9343
9344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
9345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9347 {
9348 PyThreadState* __tstate = wxPyBeginAllowThreads();
9349 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
9350
9351 wxPyEndAllowThreads(__tstate);
9352 if (PyErr_Occurred()) SWIG_fail;
9353 }
9354 {
9355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9356 }
9357 return resultobj;
9358 fail:
9359 return NULL;
9360}
9361
9362
9363static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
9364 PyObject *resultobj;
9365 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9366 bool result;
9367 PyObject * obj0 = 0 ;
9368 char *kwnames[] = {
9369 (char *) "self", NULL
9370 };
9371
9372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
9373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9375 {
9376 PyThreadState* __tstate = wxPyBeginAllowThreads();
9377 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
9378
9379 wxPyEndAllowThreads(__tstate);
9380 if (PyErr_Occurred()) SWIG_fail;
9381 }
9382 {
9383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9384 }
9385 return resultobj;
9386 fail:
9387 return NULL;
9388}
9389
9390
9391static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
9392 PyObject *obj;
9393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9394 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
9395 Py_INCREF(obj);
9396 return Py_BuildValue((char *)"");
9397}
9398static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9399 PyObject *resultobj;
9400 int arg1 = (int) 0 ;
9401 int arg2 = (int) 0 ;
9402 int arg3 = (int) 0 ;
9403 wxProcessEvent *result;
9404 PyObject * obj0 = 0 ;
9405 PyObject * obj1 = 0 ;
9406 PyObject * obj2 = 0 ;
9407 char *kwnames[] = {
9408 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9409 };
9410
9411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9412 if (obj0) {
9413 arg1 = (int) SWIG_AsInt(obj0);
9414 if (PyErr_Occurred()) SWIG_fail;
9415 }
9416 if (obj1) {
9417 arg2 = (int) SWIG_AsInt(obj1);
9418 if (PyErr_Occurred()) SWIG_fail;
9419 }
9420 if (obj2) {
9421 arg3 = (int) SWIG_AsInt(obj2);
9422 if (PyErr_Occurred()) SWIG_fail;
9423 }
9424 {
9425 PyThreadState* __tstate = wxPyBeginAllowThreads();
9426 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9427
9428 wxPyEndAllowThreads(__tstate);
9429 if (PyErr_Occurred()) SWIG_fail;
9430 }
9431 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
9432 return resultobj;
9433 fail:
9434 return NULL;
9435}
9436
9437
9438static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
9439 PyObject *resultobj;
9440 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9441 int result;
9442 PyObject * obj0 = 0 ;
9443 char *kwnames[] = {
9444 (char *) "self", NULL
9445 };
9446
9447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
9448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9450 {
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 result = (int)(arg1)->GetPid();
9453
9454 wxPyEndAllowThreads(__tstate);
9455 if (PyErr_Occurred()) SWIG_fail;
9456 }
9457 resultobj = SWIG_FromInt((int)result);
9458 return resultobj;
9459 fail:
9460 return NULL;
9461}
9462
9463
9464static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
9465 PyObject *resultobj;
9466 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9467 int result;
9468 PyObject * obj0 = 0 ;
9469 char *kwnames[] = {
9470 (char *) "self", NULL
9471 };
9472
9473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
9474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9476 {
9477 PyThreadState* __tstate = wxPyBeginAllowThreads();
9478 result = (int)(arg1)->GetExitCode();
9479
9480 wxPyEndAllowThreads(__tstate);
9481 if (PyErr_Occurred()) SWIG_fail;
9482 }
9483 resultobj = SWIG_FromInt((int)result);
9484 return resultobj;
9485 fail:
9486 return NULL;
9487}
9488
9489
9490static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9491 PyObject *resultobj;
9492 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9493 int arg2 ;
9494 PyObject * obj0 = 0 ;
9495 PyObject * obj1 = 0 ;
9496 char *kwnames[] = {
9497 (char *) "self",(char *) "m_pid", NULL
9498 };
9499
9500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
9501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9503 arg2 = (int) SWIG_AsInt(obj1);
9504 if (PyErr_Occurred()) SWIG_fail;
9505 if (arg1) (arg1)->m_pid = arg2;
9506
9507 Py_INCREF(Py_None); resultobj = Py_None;
9508 return resultobj;
9509 fail:
9510 return NULL;
9511}
9512
9513
9514static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9515 PyObject *resultobj;
9516 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9517 int result;
9518 PyObject * obj0 = 0 ;
9519 char *kwnames[] = {
9520 (char *) "self", NULL
9521 };
9522
9523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
9524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9526 result = (int) ((arg1)->m_pid);
9527
9528 resultobj = SWIG_FromInt((int)result);
9529 return resultobj;
9530 fail:
9531 return NULL;
9532}
9533
9534
9535static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9536 PyObject *resultobj;
9537 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9538 int arg2 ;
9539 PyObject * obj0 = 0 ;
9540 PyObject * obj1 = 0 ;
9541 char *kwnames[] = {
9542 (char *) "self",(char *) "m_exitcode", NULL
9543 };
9544
9545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
9546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9548 arg2 = (int) SWIG_AsInt(obj1);
9549 if (PyErr_Occurred()) SWIG_fail;
9550 if (arg1) (arg1)->m_exitcode = arg2;
9551
9552 Py_INCREF(Py_None); resultobj = Py_None;
9553 return resultobj;
9554 fail:
9555 return NULL;
9556}
9557
9558
9559static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9560 PyObject *resultobj;
9561 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9562 int result;
9563 PyObject * obj0 = 0 ;
9564 char *kwnames[] = {
9565 (char *) "self", NULL
9566 };
9567
9568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
9569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9571 result = (int) ((arg1)->m_exitcode);
9572
9573 resultobj = SWIG_FromInt((int)result);
9574 return resultobj;
9575 fail:
9576 return NULL;
9577}
9578
9579
9580static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
9581 PyObject *obj;
9582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9583 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
9584 Py_INCREF(obj);
9585 return Py_BuildValue((char *)"");
9586}
9587static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
9588 PyObject *resultobj;
9589 wxString *arg1 = 0 ;
9590 int arg2 = (int) wxEXEC_ASYNC ;
9591 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
9592 long result;
9593 bool temp1 = False ;
9594 PyObject * obj0 = 0 ;
9595 PyObject * obj1 = 0 ;
9596 PyObject * obj2 = 0 ;
9597 char *kwnames[] = {
9598 (char *) "command",(char *) "flags",(char *) "process", NULL
9599 };
9600
9601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
9602 {
9603 arg1 = wxString_in_helper(obj0);
9604 if (arg1 == NULL) SWIG_fail;
9605 temp1 = True;
9606 }
9607 if (obj1) {
9608 arg2 = (int) SWIG_AsInt(obj1);
9609 if (PyErr_Occurred()) SWIG_fail;
9610 }
9611 if (obj2) {
9612 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyProcess,
9613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9614 }
9615 {
0439c23b 9616 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9617 PyThreadState* __tstate = wxPyBeginAllowThreads();
9618 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
9619
9620 wxPyEndAllowThreads(__tstate);
0439c23b 9621 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9622 }
9623 resultobj = SWIG_FromLong((long)result);
9624 {
9625 if (temp1)
9626 delete arg1;
9627 }
9628 return resultobj;
9629 fail:
9630 {
9631 if (temp1)
9632 delete arg1;
9633 }
9634 return NULL;
9635}
9636
9637
9638static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9639 PyObject *resultobj;
9640 int arg1 = (int) wxJOYSTICK1 ;
9641 wxJoystick *result;
9642 PyObject * obj0 = 0 ;
9643 char *kwnames[] = {
9644 (char *) "joystick", NULL
9645 };
9646
9647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
9648 if (obj0) {
9649 arg1 = (int) SWIG_AsInt(obj0);
9650 if (PyErr_Occurred()) SWIG_fail;
9651 }
9652 {
0439c23b 9653 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9654 PyThreadState* __tstate = wxPyBeginAllowThreads();
9655 result = (wxJoystick *)new wxJoystick(arg1);
9656
9657 wxPyEndAllowThreads(__tstate);
0439c23b 9658 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9659 }
9660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
9661 return resultobj;
9662 fail:
9663 return NULL;
9664}
9665
9666
9667static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9668 PyObject *resultobj;
9669 wxJoystick *arg1 = (wxJoystick *) 0 ;
9670 PyObject * obj0 = 0 ;
9671 char *kwnames[] = {
9672 (char *) "self", NULL
9673 };
9674
9675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
9676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9678 {
9679 PyThreadState* __tstate = wxPyBeginAllowThreads();
9680 delete arg1;
9681
9682 wxPyEndAllowThreads(__tstate);
9683 if (PyErr_Occurred()) SWIG_fail;
9684 }
9685 Py_INCREF(Py_None); resultobj = Py_None;
9686 return resultobj;
9687 fail:
9688 return NULL;
9689}
9690
9691
9692static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9693 PyObject *resultobj;
9694 wxJoystick *arg1 = (wxJoystick *) 0 ;
9695 wxPoint result;
9696 PyObject * obj0 = 0 ;
9697 char *kwnames[] = {
9698 (char *) "self", NULL
9699 };
9700
9701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
9702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9704 {
9705 PyThreadState* __tstate = wxPyBeginAllowThreads();
9706 result = (arg1)->GetPosition();
9707
9708 wxPyEndAllowThreads(__tstate);
9709 if (PyErr_Occurred()) SWIG_fail;
9710 }
9711 {
9712 wxPoint * resultptr;
9713 resultptr = new wxPoint((wxPoint &) result);
9714 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9715 }
9716 return resultobj;
9717 fail:
9718 return NULL;
9719}
9720
9721
9722static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9723 PyObject *resultobj;
9724 wxJoystick *arg1 = (wxJoystick *) 0 ;
9725 int result;
9726 PyObject * obj0 = 0 ;
9727 char *kwnames[] = {
9728 (char *) "self", NULL
9729 };
9730
9731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
9732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9734 {
9735 PyThreadState* __tstate = wxPyBeginAllowThreads();
9736 result = (int)(arg1)->GetZPosition();
9737
9738 wxPyEndAllowThreads(__tstate);
9739 if (PyErr_Occurred()) SWIG_fail;
9740 }
9741 resultobj = SWIG_FromInt((int)result);
9742 return resultobj;
9743 fail:
9744 return NULL;
9745}
9746
9747
9748static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9749 PyObject *resultobj;
9750 wxJoystick *arg1 = (wxJoystick *) 0 ;
9751 int result;
9752 PyObject * obj0 = 0 ;
9753 char *kwnames[] = {
9754 (char *) "self", NULL
9755 };
9756
9757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
9758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9760 {
9761 PyThreadState* __tstate = wxPyBeginAllowThreads();
9762 result = (int)(arg1)->GetButtonState();
9763
9764 wxPyEndAllowThreads(__tstate);
9765 if (PyErr_Occurred()) SWIG_fail;
9766 }
9767 resultobj = SWIG_FromInt((int)result);
9768 return resultobj;
9769 fail:
9770 return NULL;
9771}
9772
9773
9774static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9775 PyObject *resultobj;
9776 wxJoystick *arg1 = (wxJoystick *) 0 ;
9777 int result;
9778 PyObject * obj0 = 0 ;
9779 char *kwnames[] = {
9780 (char *) "self", NULL
9781 };
9782
9783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
9784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9786 {
9787 PyThreadState* __tstate = wxPyBeginAllowThreads();
9788 result = (int)(arg1)->GetPOVPosition();
9789
9790 wxPyEndAllowThreads(__tstate);
9791 if (PyErr_Occurred()) SWIG_fail;
9792 }
9793 resultobj = SWIG_FromInt((int)result);
9794 return resultobj;
9795 fail:
9796 return NULL;
9797}
9798
9799
9800static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9801 PyObject *resultobj;
9802 wxJoystick *arg1 = (wxJoystick *) 0 ;
9803 int result;
9804 PyObject * obj0 = 0 ;
9805 char *kwnames[] = {
9806 (char *) "self", NULL
9807 };
9808
9809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
9810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9812 {
9813 PyThreadState* __tstate = wxPyBeginAllowThreads();
9814 result = (int)(arg1)->GetPOVCTSPosition();
9815
9816 wxPyEndAllowThreads(__tstate);
9817 if (PyErr_Occurred()) SWIG_fail;
9818 }
9819 resultobj = SWIG_FromInt((int)result);
9820 return resultobj;
9821 fail:
9822 return NULL;
9823}
9824
9825
9826static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9827 PyObject *resultobj;
9828 wxJoystick *arg1 = (wxJoystick *) 0 ;
9829 int result;
9830 PyObject * obj0 = 0 ;
9831 char *kwnames[] = {
9832 (char *) "self", NULL
9833 };
9834
9835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
9836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9838 {
9839 PyThreadState* __tstate = wxPyBeginAllowThreads();
9840 result = (int)(arg1)->GetRudderPosition();
9841
9842 wxPyEndAllowThreads(__tstate);
9843 if (PyErr_Occurred()) SWIG_fail;
9844 }
9845 resultobj = SWIG_FromInt((int)result);
9846 return resultobj;
9847 fail:
9848 return NULL;
9849}
9850
9851
9852static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9853 PyObject *resultobj;
9854 wxJoystick *arg1 = (wxJoystick *) 0 ;
9855 int result;
9856 PyObject * obj0 = 0 ;
9857 char *kwnames[] = {
9858 (char *) "self", NULL
9859 };
9860
9861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
9862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9864 {
9865 PyThreadState* __tstate = wxPyBeginAllowThreads();
9866 result = (int)(arg1)->GetUPosition();
9867
9868 wxPyEndAllowThreads(__tstate);
9869 if (PyErr_Occurred()) SWIG_fail;
9870 }
9871 resultobj = SWIG_FromInt((int)result);
9872 return resultobj;
9873 fail:
9874 return NULL;
9875}
9876
9877
9878static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9879 PyObject *resultobj;
9880 wxJoystick *arg1 = (wxJoystick *) 0 ;
9881 int result;
9882 PyObject * obj0 = 0 ;
9883 char *kwnames[] = {
9884 (char *) "self", NULL
9885 };
9886
9887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
9888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9890 {
9891 PyThreadState* __tstate = wxPyBeginAllowThreads();
9892 result = (int)(arg1)->GetVPosition();
9893
9894 wxPyEndAllowThreads(__tstate);
9895 if (PyErr_Occurred()) SWIG_fail;
9896 }
9897 resultobj = SWIG_FromInt((int)result);
9898 return resultobj;
9899 fail:
9900 return NULL;
9901}
9902
9903
9904static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9905 PyObject *resultobj;
9906 wxJoystick *arg1 = (wxJoystick *) 0 ;
9907 int result;
9908 PyObject * obj0 = 0 ;
9909 char *kwnames[] = {
9910 (char *) "self", NULL
9911 };
9912
9913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
9914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9916 {
9917 PyThreadState* __tstate = wxPyBeginAllowThreads();
9918 result = (int)(arg1)->GetMovementThreshold();
9919
9920 wxPyEndAllowThreads(__tstate);
9921 if (PyErr_Occurred()) SWIG_fail;
9922 }
9923 resultobj = SWIG_FromInt((int)result);
9924 return resultobj;
9925 fail:
9926 return NULL;
9927}
9928
9929
9930static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9931 PyObject *resultobj;
9932 wxJoystick *arg1 = (wxJoystick *) 0 ;
9933 int arg2 ;
9934 PyObject * obj0 = 0 ;
9935 PyObject * obj1 = 0 ;
9936 char *kwnames[] = {
9937 (char *) "self",(char *) "threshold", NULL
9938 };
9939
9940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
9941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9943 arg2 = (int) SWIG_AsInt(obj1);
9944 if (PyErr_Occurred()) SWIG_fail;
9945 {
9946 PyThreadState* __tstate = wxPyBeginAllowThreads();
9947 (arg1)->SetMovementThreshold(arg2);
9948
9949 wxPyEndAllowThreads(__tstate);
9950 if (PyErr_Occurred()) SWIG_fail;
9951 }
9952 Py_INCREF(Py_None); resultobj = Py_None;
9953 return resultobj;
9954 fail:
9955 return NULL;
9956}
9957
9958
9959static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9960 PyObject *resultobj;
9961 wxJoystick *arg1 = (wxJoystick *) 0 ;
9962 bool result;
9963 PyObject * obj0 = 0 ;
9964 char *kwnames[] = {
9965 (char *) "self", NULL
9966 };
9967
9968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
9969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9971 {
9972 PyThreadState* __tstate = wxPyBeginAllowThreads();
9973 result = (bool)(arg1)->IsOk();
9974
9975 wxPyEndAllowThreads(__tstate);
9976 if (PyErr_Occurred()) SWIG_fail;
9977 }
9978 {
9979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9980 }
9981 return resultobj;
9982 fail:
9983 return NULL;
9984}
9985
9986
9987static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
9988 PyObject *resultobj;
9989 wxJoystick *arg1 = (wxJoystick *) 0 ;
9990 int result;
9991 PyObject * obj0 = 0 ;
9992 char *kwnames[] = {
9993 (char *) "self", NULL
9994 };
9995
9996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
9997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9999 {
10000 PyThreadState* __tstate = wxPyBeginAllowThreads();
10001 result = (int)(arg1)->GetNumberJoysticks();
10002
10003 wxPyEndAllowThreads(__tstate);
10004 if (PyErr_Occurred()) SWIG_fail;
10005 }
10006 resultobj = SWIG_FromInt((int)result);
10007 return resultobj;
10008 fail:
10009 return NULL;
10010}
10011
10012
10013static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
10014 PyObject *resultobj;
10015 wxJoystick *arg1 = (wxJoystick *) 0 ;
10016 int result;
10017 PyObject * obj0 = 0 ;
10018 char *kwnames[] = {
10019 (char *) "self", NULL
10020 };
10021
10022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
10023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10025 {
10026 PyThreadState* __tstate = wxPyBeginAllowThreads();
10027 result = (int)(arg1)->GetManufacturerId();
10028
10029 wxPyEndAllowThreads(__tstate);
10030 if (PyErr_Occurred()) SWIG_fail;
10031 }
10032 resultobj = SWIG_FromInt((int)result);
10033 return resultobj;
10034 fail:
10035 return NULL;
10036}
10037
10038
10039static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
10040 PyObject *resultobj;
10041 wxJoystick *arg1 = (wxJoystick *) 0 ;
10042 int result;
10043 PyObject * obj0 = 0 ;
10044 char *kwnames[] = {
10045 (char *) "self", NULL
10046 };
10047
10048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
10049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10051 {
10052 PyThreadState* __tstate = wxPyBeginAllowThreads();
10053 result = (int)(arg1)->GetProductId();
10054
10055 wxPyEndAllowThreads(__tstate);
10056 if (PyErr_Occurred()) SWIG_fail;
10057 }
10058 resultobj = SWIG_FromInt((int)result);
10059 return resultobj;
10060 fail:
10061 return NULL;
10062}
10063
10064
10065static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
10066 PyObject *resultobj;
10067 wxJoystick *arg1 = (wxJoystick *) 0 ;
10068 wxString result;
10069 PyObject * obj0 = 0 ;
10070 char *kwnames[] = {
10071 (char *) "self", NULL
10072 };
10073
10074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
10075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10077 {
10078 PyThreadState* __tstate = wxPyBeginAllowThreads();
10079 result = (arg1)->GetProductName();
10080
10081 wxPyEndAllowThreads(__tstate);
10082 if (PyErr_Occurred()) SWIG_fail;
10083 }
10084 {
10085#if wxUSE_UNICODE
10086 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10087#else
10088 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10089#endif
10090 }
10091 return resultobj;
10092 fail:
10093 return NULL;
10094}
10095
10096
10097static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10098 PyObject *resultobj;
10099 wxJoystick *arg1 = (wxJoystick *) 0 ;
10100 int result;
10101 PyObject * obj0 = 0 ;
10102 char *kwnames[] = {
10103 (char *) "self", NULL
10104 };
10105
10106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
10107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10109 {
10110 PyThreadState* __tstate = wxPyBeginAllowThreads();
10111 result = (int)(arg1)->GetXMin();
10112
10113 wxPyEndAllowThreads(__tstate);
10114 if (PyErr_Occurred()) SWIG_fail;
10115 }
10116 resultobj = SWIG_FromInt((int)result);
10117 return resultobj;
10118 fail:
10119 return NULL;
10120}
10121
10122
10123static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10124 PyObject *resultobj;
10125 wxJoystick *arg1 = (wxJoystick *) 0 ;
10126 int result;
10127 PyObject * obj0 = 0 ;
10128 char *kwnames[] = {
10129 (char *) "self", NULL
10130 };
10131
10132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
10133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10135 {
10136 PyThreadState* __tstate = wxPyBeginAllowThreads();
10137 result = (int)(arg1)->GetYMin();
10138
10139 wxPyEndAllowThreads(__tstate);
10140 if (PyErr_Occurred()) SWIG_fail;
10141 }
10142 resultobj = SWIG_FromInt((int)result);
10143 return resultobj;
10144 fail:
10145 return NULL;
10146}
10147
10148
10149static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10150 PyObject *resultobj;
10151 wxJoystick *arg1 = (wxJoystick *) 0 ;
10152 int result;
10153 PyObject * obj0 = 0 ;
10154 char *kwnames[] = {
10155 (char *) "self", NULL
10156 };
10157
10158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
10159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10161 {
10162 PyThreadState* __tstate = wxPyBeginAllowThreads();
10163 result = (int)(arg1)->GetZMin();
10164
10165 wxPyEndAllowThreads(__tstate);
10166 if (PyErr_Occurred()) SWIG_fail;
10167 }
10168 resultobj = SWIG_FromInt((int)result);
10169 return resultobj;
10170 fail:
10171 return NULL;
10172}
10173
10174
10175static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10176 PyObject *resultobj;
10177 wxJoystick *arg1 = (wxJoystick *) 0 ;
10178 int result;
10179 PyObject * obj0 = 0 ;
10180 char *kwnames[] = {
10181 (char *) "self", NULL
10182 };
10183
10184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
10185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10187 {
10188 PyThreadState* __tstate = wxPyBeginAllowThreads();
10189 result = (int)(arg1)->GetXMax();
10190
10191 wxPyEndAllowThreads(__tstate);
10192 if (PyErr_Occurred()) SWIG_fail;
10193 }
10194 resultobj = SWIG_FromInt((int)result);
10195 return resultobj;
10196 fail:
10197 return NULL;
10198}
10199
10200
10201static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10202 PyObject *resultobj;
10203 wxJoystick *arg1 = (wxJoystick *) 0 ;
10204 int result;
10205 PyObject * obj0 = 0 ;
10206 char *kwnames[] = {
10207 (char *) "self", NULL
10208 };
10209
10210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
10211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10213 {
10214 PyThreadState* __tstate = wxPyBeginAllowThreads();
10215 result = (int)(arg1)->GetYMax();
10216
10217 wxPyEndAllowThreads(__tstate);
10218 if (PyErr_Occurred()) SWIG_fail;
10219 }
10220 resultobj = SWIG_FromInt((int)result);
10221 return resultobj;
10222 fail:
10223 return NULL;
10224}
10225
10226
10227static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10228 PyObject *resultobj;
10229 wxJoystick *arg1 = (wxJoystick *) 0 ;
10230 int result;
10231 PyObject * obj0 = 0 ;
10232 char *kwnames[] = {
10233 (char *) "self", NULL
10234 };
10235
10236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
10237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10239 {
10240 PyThreadState* __tstate = wxPyBeginAllowThreads();
10241 result = (int)(arg1)->GetZMax();
10242
10243 wxPyEndAllowThreads(__tstate);
10244 if (PyErr_Occurred()) SWIG_fail;
10245 }
10246 resultobj = SWIG_FromInt((int)result);
10247 return resultobj;
10248 fail:
10249 return NULL;
10250}
10251
10252
10253static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
10254 PyObject *resultobj;
10255 wxJoystick *arg1 = (wxJoystick *) 0 ;
10256 int result;
10257 PyObject * obj0 = 0 ;
10258 char *kwnames[] = {
10259 (char *) "self", NULL
10260 };
10261
10262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
10263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10265 {
10266 PyThreadState* __tstate = wxPyBeginAllowThreads();
10267 result = (int)(arg1)->GetNumberButtons();
10268
10269 wxPyEndAllowThreads(__tstate);
10270 if (PyErr_Occurred()) SWIG_fail;
10271 }
10272 resultobj = SWIG_FromInt((int)result);
10273 return resultobj;
10274 fail:
10275 return NULL;
10276}
10277
10278
10279static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
10280 PyObject *resultobj;
10281 wxJoystick *arg1 = (wxJoystick *) 0 ;
10282 int result;
10283 PyObject * obj0 = 0 ;
10284 char *kwnames[] = {
10285 (char *) "self", NULL
10286 };
10287
10288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
10289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10291 {
10292 PyThreadState* __tstate = wxPyBeginAllowThreads();
10293 result = (int)(arg1)->GetNumberAxes();
10294
10295 wxPyEndAllowThreads(__tstate);
10296 if (PyErr_Occurred()) SWIG_fail;
10297 }
10298 resultobj = SWIG_FromInt((int)result);
10299 return resultobj;
10300 fail:
10301 return NULL;
10302}
10303
10304
10305static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
10306 PyObject *resultobj;
10307 wxJoystick *arg1 = (wxJoystick *) 0 ;
10308 int result;
10309 PyObject * obj0 = 0 ;
10310 char *kwnames[] = {
10311 (char *) "self", NULL
10312 };
10313
10314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
10315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10317 {
10318 PyThreadState* __tstate = wxPyBeginAllowThreads();
10319 result = (int)(arg1)->GetMaxButtons();
10320
10321 wxPyEndAllowThreads(__tstate);
10322 if (PyErr_Occurred()) SWIG_fail;
10323 }
10324 resultobj = SWIG_FromInt((int)result);
10325 return resultobj;
10326 fail:
10327 return NULL;
10328}
10329
10330
10331static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
10332 PyObject *resultobj;
10333 wxJoystick *arg1 = (wxJoystick *) 0 ;
10334 int result;
10335 PyObject * obj0 = 0 ;
10336 char *kwnames[] = {
10337 (char *) "self", NULL
10338 };
10339
10340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
10341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10343 {
10344 PyThreadState* __tstate = wxPyBeginAllowThreads();
10345 result = (int)(arg1)->GetMaxAxes();
10346
10347 wxPyEndAllowThreads(__tstate);
10348 if (PyErr_Occurred()) SWIG_fail;
10349 }
10350 resultobj = SWIG_FromInt((int)result);
10351 return resultobj;
10352 fail:
10353 return NULL;
10354}
10355
10356
10357static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10358 PyObject *resultobj;
10359 wxJoystick *arg1 = (wxJoystick *) 0 ;
10360 int result;
10361 PyObject * obj0 = 0 ;
10362 char *kwnames[] = {
10363 (char *) "self", NULL
10364 };
10365
10366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
10367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10369 {
10370 PyThreadState* __tstate = wxPyBeginAllowThreads();
10371 result = (int)(arg1)->GetPollingMin();
10372
10373 wxPyEndAllowThreads(__tstate);
10374 if (PyErr_Occurred()) SWIG_fail;
10375 }
10376 resultobj = SWIG_FromInt((int)result);
10377 return resultobj;
10378 fail:
10379 return NULL;
10380}
10381
10382
10383static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10384 PyObject *resultobj;
10385 wxJoystick *arg1 = (wxJoystick *) 0 ;
10386 int result;
10387 PyObject * obj0 = 0 ;
10388 char *kwnames[] = {
10389 (char *) "self", NULL
10390 };
10391
10392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
10393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10395 {
10396 PyThreadState* __tstate = wxPyBeginAllowThreads();
10397 result = (int)(arg1)->GetPollingMax();
10398
10399 wxPyEndAllowThreads(__tstate);
10400 if (PyErr_Occurred()) SWIG_fail;
10401 }
10402 resultobj = SWIG_FromInt((int)result);
10403 return resultobj;
10404 fail:
10405 return NULL;
10406}
10407
10408
10409static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10410 PyObject *resultobj;
10411 wxJoystick *arg1 = (wxJoystick *) 0 ;
10412 int result;
10413 PyObject * obj0 = 0 ;
10414 char *kwnames[] = {
10415 (char *) "self", NULL
10416 };
10417
10418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
10419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10421 {
10422 PyThreadState* __tstate = wxPyBeginAllowThreads();
10423 result = (int)(arg1)->GetRudderMin();
10424
10425 wxPyEndAllowThreads(__tstate);
10426 if (PyErr_Occurred()) SWIG_fail;
10427 }
10428 resultobj = SWIG_FromInt((int)result);
10429 return resultobj;
10430 fail:
10431 return NULL;
10432}
10433
10434
10435static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10436 PyObject *resultobj;
10437 wxJoystick *arg1 = (wxJoystick *) 0 ;
10438 int result;
10439 PyObject * obj0 = 0 ;
10440 char *kwnames[] = {
10441 (char *) "self", NULL
10442 };
10443
10444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
10445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10447 {
10448 PyThreadState* __tstate = wxPyBeginAllowThreads();
10449 result = (int)(arg1)->GetRudderMax();
10450
10451 wxPyEndAllowThreads(__tstate);
10452 if (PyErr_Occurred()) SWIG_fail;
10453 }
10454 resultobj = SWIG_FromInt((int)result);
10455 return resultobj;
10456 fail:
10457 return NULL;
10458}
10459
10460
10461static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10462 PyObject *resultobj;
10463 wxJoystick *arg1 = (wxJoystick *) 0 ;
10464 int result;
10465 PyObject * obj0 = 0 ;
10466 char *kwnames[] = {
10467 (char *) "self", NULL
10468 };
10469
10470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
10471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10473 {
10474 PyThreadState* __tstate = wxPyBeginAllowThreads();
10475 result = (int)(arg1)->GetUMin();
10476
10477 wxPyEndAllowThreads(__tstate);
10478 if (PyErr_Occurred()) SWIG_fail;
10479 }
10480 resultobj = SWIG_FromInt((int)result);
10481 return resultobj;
10482 fail:
10483 return NULL;
10484}
10485
10486
10487static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10488 PyObject *resultobj;
10489 wxJoystick *arg1 = (wxJoystick *) 0 ;
10490 int result;
10491 PyObject * obj0 = 0 ;
10492 char *kwnames[] = {
10493 (char *) "self", NULL
10494 };
10495
10496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
10497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10499 {
10500 PyThreadState* __tstate = wxPyBeginAllowThreads();
10501 result = (int)(arg1)->GetUMax();
10502
10503 wxPyEndAllowThreads(__tstate);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 }
10506 resultobj = SWIG_FromInt((int)result);
10507 return resultobj;
10508 fail:
10509 return NULL;
10510}
10511
10512
10513static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10514 PyObject *resultobj;
10515 wxJoystick *arg1 = (wxJoystick *) 0 ;
10516 int result;
10517 PyObject * obj0 = 0 ;
10518 char *kwnames[] = {
10519 (char *) "self", NULL
10520 };
10521
10522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
10523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10525 {
10526 PyThreadState* __tstate = wxPyBeginAllowThreads();
10527 result = (int)(arg1)->GetVMin();
10528
10529 wxPyEndAllowThreads(__tstate);
10530 if (PyErr_Occurred()) SWIG_fail;
10531 }
10532 resultobj = SWIG_FromInt((int)result);
10533 return resultobj;
10534 fail:
10535 return NULL;
10536}
10537
10538
10539static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10540 PyObject *resultobj;
10541 wxJoystick *arg1 = (wxJoystick *) 0 ;
10542 int result;
10543 PyObject * obj0 = 0 ;
10544 char *kwnames[] = {
10545 (char *) "self", NULL
10546 };
10547
10548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
10549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10551 {
10552 PyThreadState* __tstate = wxPyBeginAllowThreads();
10553 result = (int)(arg1)->GetVMax();
10554
10555 wxPyEndAllowThreads(__tstate);
10556 if (PyErr_Occurred()) SWIG_fail;
10557 }
10558 resultobj = SWIG_FromInt((int)result);
10559 return resultobj;
10560 fail:
10561 return NULL;
10562}
10563
10564
10565static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
10566 PyObject *resultobj;
10567 wxJoystick *arg1 = (wxJoystick *) 0 ;
10568 bool result;
10569 PyObject * obj0 = 0 ;
10570 char *kwnames[] = {
10571 (char *) "self", NULL
10572 };
10573
10574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
10575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10577 {
10578 PyThreadState* __tstate = wxPyBeginAllowThreads();
10579 result = (bool)(arg1)->HasRudder();
10580
10581 wxPyEndAllowThreads(__tstate);
10582 if (PyErr_Occurred()) SWIG_fail;
10583 }
10584 {
10585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10586 }
10587 return resultobj;
10588 fail:
10589 return NULL;
10590}
10591
10592
10593static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
10594 PyObject *resultobj;
10595 wxJoystick *arg1 = (wxJoystick *) 0 ;
10596 bool result;
10597 PyObject * obj0 = 0 ;
10598 char *kwnames[] = {
10599 (char *) "self", NULL
10600 };
10601
10602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
10603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10605 {
10606 PyThreadState* __tstate = wxPyBeginAllowThreads();
10607 result = (bool)(arg1)->HasZ();
10608
10609 wxPyEndAllowThreads(__tstate);
10610 if (PyErr_Occurred()) SWIG_fail;
10611 }
10612 {
10613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10614 }
10615 return resultobj;
10616 fail:
10617 return NULL;
10618}
10619
10620
10621static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
10622 PyObject *resultobj;
10623 wxJoystick *arg1 = (wxJoystick *) 0 ;
10624 bool result;
10625 PyObject * obj0 = 0 ;
10626 char *kwnames[] = {
10627 (char *) "self", NULL
10628 };
10629
10630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
10631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10633 {
10634 PyThreadState* __tstate = wxPyBeginAllowThreads();
10635 result = (bool)(arg1)->HasU();
10636
10637 wxPyEndAllowThreads(__tstate);
10638 if (PyErr_Occurred()) SWIG_fail;
10639 }
10640 {
10641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10642 }
10643 return resultobj;
10644 fail:
10645 return NULL;
10646}
10647
10648
10649static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
10650 PyObject *resultobj;
10651 wxJoystick *arg1 = (wxJoystick *) 0 ;
10652 bool result;
10653 PyObject * obj0 = 0 ;
10654 char *kwnames[] = {
10655 (char *) "self", NULL
10656 };
10657
10658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
10659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10661 {
10662 PyThreadState* __tstate = wxPyBeginAllowThreads();
10663 result = (bool)(arg1)->HasV();
10664
10665 wxPyEndAllowThreads(__tstate);
10666 if (PyErr_Occurred()) SWIG_fail;
10667 }
10668 {
10669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10670 }
10671 return resultobj;
10672 fail:
10673 return NULL;
10674}
10675
10676
10677static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
10678 PyObject *resultobj;
10679 wxJoystick *arg1 = (wxJoystick *) 0 ;
10680 bool result;
10681 PyObject * obj0 = 0 ;
10682 char *kwnames[] = {
10683 (char *) "self", NULL
10684 };
10685
10686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
10687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10689 {
10690 PyThreadState* __tstate = wxPyBeginAllowThreads();
10691 result = (bool)(arg1)->HasPOV();
10692
10693 wxPyEndAllowThreads(__tstate);
10694 if (PyErr_Occurred()) SWIG_fail;
10695 }
10696 {
10697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10698 }
10699 return resultobj;
10700 fail:
10701 return NULL;
10702}
10703
10704
10705static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
10706 PyObject *resultobj;
10707 wxJoystick *arg1 = (wxJoystick *) 0 ;
10708 bool result;
10709 PyObject * obj0 = 0 ;
10710 char *kwnames[] = {
10711 (char *) "self", NULL
10712 };
10713
10714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
10715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10717 {
10718 PyThreadState* __tstate = wxPyBeginAllowThreads();
10719 result = (bool)(arg1)->HasPOV4Dir();
10720
10721 wxPyEndAllowThreads(__tstate);
10722 if (PyErr_Occurred()) SWIG_fail;
10723 }
10724 {
10725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10726 }
10727 return resultobj;
10728 fail:
10729 return NULL;
10730}
10731
10732
10733static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
10734 PyObject *resultobj;
10735 wxJoystick *arg1 = (wxJoystick *) 0 ;
10736 bool result;
10737 PyObject * obj0 = 0 ;
10738 char *kwnames[] = {
10739 (char *) "self", NULL
10740 };
10741
10742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
10743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10745 {
10746 PyThreadState* __tstate = wxPyBeginAllowThreads();
10747 result = (bool)(arg1)->HasPOVCTS();
10748
10749 wxPyEndAllowThreads(__tstate);
10750 if (PyErr_Occurred()) SWIG_fail;
10751 }
10752 {
10753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10754 }
10755 return resultobj;
10756 fail:
10757 return NULL;
10758}
10759
10760
10761static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10762 PyObject *resultobj;
10763 wxJoystick *arg1 = (wxJoystick *) 0 ;
10764 wxWindow *arg2 = (wxWindow *) 0 ;
10765 int arg3 = (int) 0 ;
10766 bool result;
10767 PyObject * obj0 = 0 ;
10768 PyObject * obj1 = 0 ;
10769 PyObject * obj2 = 0 ;
10770 char *kwnames[] = {
10771 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10772 };
10773
10774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
10775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10777 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10779 if (obj2) {
10780 arg3 = (int) SWIG_AsInt(obj2);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 }
10783 {
10784 PyThreadState* __tstate = wxPyBeginAllowThreads();
10785 result = (bool)(arg1)->SetCapture(arg2,arg3);
10786
10787 wxPyEndAllowThreads(__tstate);
10788 if (PyErr_Occurred()) SWIG_fail;
10789 }
10790 {
10791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10792 }
10793 return resultobj;
10794 fail:
10795 return NULL;
10796}
10797
10798
10799static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10800 PyObject *resultobj;
10801 wxJoystick *arg1 = (wxJoystick *) 0 ;
10802 bool result;
10803 PyObject * obj0 = 0 ;
10804 char *kwnames[] = {
10805 (char *) "self", NULL
10806 };
10807
10808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
10809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10811 {
10812 PyThreadState* __tstate = wxPyBeginAllowThreads();
10813 result = (bool)(arg1)->ReleaseCapture();
10814
10815 wxPyEndAllowThreads(__tstate);
10816 if (PyErr_Occurred()) SWIG_fail;
10817 }
10818 {
10819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10820 }
10821 return resultobj;
10822 fail:
10823 return NULL;
10824}
10825
10826
10827static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
10828 PyObject *obj;
10829 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10830 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
10831 Py_INCREF(obj);
10832 return Py_BuildValue((char *)"");
10833}
10834static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10835 PyObject *resultobj;
10836 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10837 wxPoint *arg2 = (wxPoint *) 0 ;
10838 PyObject * obj0 = 0 ;
10839 PyObject * obj1 = 0 ;
10840 char *kwnames[] = {
10841 (char *) "self",(char *) "m_pos", NULL
10842 };
10843
10844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
10845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10847 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
10848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10849 if (arg1) (arg1)->m_pos = *arg2;
10850
10851 Py_INCREF(Py_None); resultobj = Py_None;
10852 return resultobj;
10853 fail:
10854 return NULL;
10855}
10856
10857
10858static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10859 PyObject *resultobj;
10860 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10861 wxPoint *result;
10862 PyObject * obj0 = 0 ;
10863 char *kwnames[] = {
10864 (char *) "self", NULL
10865 };
10866
10867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
10868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10870 result = (wxPoint *)& ((arg1)->m_pos);
10871
10872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
10873 return resultobj;
10874 fail:
10875 return NULL;
10876}
10877
10878
10879static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10880 PyObject *resultobj;
10881 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10882 int arg2 ;
10883 PyObject * obj0 = 0 ;
10884 PyObject * obj1 = 0 ;
10885 char *kwnames[] = {
10886 (char *) "self",(char *) "m_zPosition", NULL
10887 };
10888
10889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
10890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10892 arg2 = (int) SWIG_AsInt(obj1);
10893 if (PyErr_Occurred()) SWIG_fail;
10894 if (arg1) (arg1)->m_zPosition = arg2;
10895
10896 Py_INCREF(Py_None); resultobj = Py_None;
10897 return resultobj;
10898 fail:
10899 return NULL;
10900}
10901
10902
10903static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10904 PyObject *resultobj;
10905 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10906 int result;
10907 PyObject * obj0 = 0 ;
10908 char *kwnames[] = {
10909 (char *) "self", NULL
10910 };
10911
10912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
10913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10915 result = (int) ((arg1)->m_zPosition);
10916
10917 resultobj = SWIG_FromInt((int)result);
10918 return resultobj;
10919 fail:
10920 return NULL;
10921}
10922
10923
10924static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10925 PyObject *resultobj;
10926 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10927 int arg2 ;
10928 PyObject * obj0 = 0 ;
10929 PyObject * obj1 = 0 ;
10930 char *kwnames[] = {
10931 (char *) "self",(char *) "m_buttonChange", NULL
10932 };
10933
10934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
10935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10937 arg2 = (int) SWIG_AsInt(obj1);
10938 if (PyErr_Occurred()) SWIG_fail;
10939 if (arg1) (arg1)->m_buttonChange = arg2;
10940
10941 Py_INCREF(Py_None); resultobj = Py_None;
10942 return resultobj;
10943 fail:
10944 return NULL;
10945}
10946
10947
10948static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10949 PyObject *resultobj;
10950 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10951 int result;
10952 PyObject * obj0 = 0 ;
10953 char *kwnames[] = {
10954 (char *) "self", NULL
10955 };
10956
10957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
10958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10960 result = (int) ((arg1)->m_buttonChange);
10961
10962 resultobj = SWIG_FromInt((int)result);
10963 return resultobj;
10964 fail:
10965 return NULL;
10966}
10967
10968
10969static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10970 PyObject *resultobj;
10971 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10972 int arg2 ;
10973 PyObject * obj0 = 0 ;
10974 PyObject * obj1 = 0 ;
10975 char *kwnames[] = {
10976 (char *) "self",(char *) "m_buttonState", NULL
10977 };
10978
10979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
10980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10982 arg2 = (int) SWIG_AsInt(obj1);
10983 if (PyErr_Occurred()) SWIG_fail;
10984 if (arg1) (arg1)->m_buttonState = arg2;
10985
10986 Py_INCREF(Py_None); resultobj = Py_None;
10987 return resultobj;
10988 fail:
10989 return NULL;
10990}
10991
10992
10993static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10994 PyObject *resultobj;
10995 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10996 int result;
10997 PyObject * obj0 = 0 ;
10998 char *kwnames[] = {
10999 (char *) "self", NULL
11000 };
11001
11002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
11003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11005 result = (int) ((arg1)->m_buttonState);
11006
11007 resultobj = SWIG_FromInt((int)result);
11008 return resultobj;
11009 fail:
11010 return NULL;
11011}
11012
11013
11014static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
11015 PyObject *resultobj;
11016 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11017 int arg2 ;
11018 PyObject * obj0 = 0 ;
11019 PyObject * obj1 = 0 ;
11020 char *kwnames[] = {
11021 (char *) "self",(char *) "m_joyStick", NULL
11022 };
11023
11024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
11025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11027 arg2 = (int) SWIG_AsInt(obj1);
11028 if (PyErr_Occurred()) SWIG_fail;
11029 if (arg1) (arg1)->m_joyStick = arg2;
11030
11031 Py_INCREF(Py_None); resultobj = Py_None;
11032 return resultobj;
11033 fail:
11034 return NULL;
11035}
11036
11037
11038static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
11039 PyObject *resultobj;
11040 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11041 int result;
11042 PyObject * obj0 = 0 ;
11043 char *kwnames[] = {
11044 (char *) "self", NULL
11045 };
11046
11047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
11048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11050 result = (int) ((arg1)->m_joyStick);
11051
11052 resultobj = SWIG_FromInt((int)result);
11053 return resultobj;
11054 fail:
11055 return NULL;
11056}
11057
11058
11059static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11060 PyObject *resultobj;
11061 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11062 int arg2 = (int) 0 ;
11063 int arg3 = (int) wxJOYSTICK1 ;
11064 int arg4 = (int) 0 ;
11065 wxJoystickEvent *result;
11066 PyObject * obj0 = 0 ;
11067 PyObject * obj1 = 0 ;
11068 PyObject * obj2 = 0 ;
11069 PyObject * obj3 = 0 ;
11070 char *kwnames[] = {
11071 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11072 };
11073
11074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11075 if (obj0) {
11076 arg1 = (wxEventType) SWIG_AsInt(obj0);
11077 if (PyErr_Occurred()) SWIG_fail;
11078 }
11079 if (obj1) {
11080 arg2 = (int) SWIG_AsInt(obj1);
11081 if (PyErr_Occurred()) SWIG_fail;
11082 }
11083 if (obj2) {
11084 arg3 = (int) SWIG_AsInt(obj2);
11085 if (PyErr_Occurred()) SWIG_fail;
11086 }
11087 if (obj3) {
11088 arg4 = (int) SWIG_AsInt(obj3);
11089 if (PyErr_Occurred()) SWIG_fail;
11090 }
11091 {
11092 PyThreadState* __tstate = wxPyBeginAllowThreads();
11093 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
11094
11095 wxPyEndAllowThreads(__tstate);
11096 if (PyErr_Occurred()) SWIG_fail;
11097 }
11098 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
11099 return resultobj;
11100 fail:
11101 return NULL;
11102}
11103
11104
11105static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11106 PyObject *resultobj;
11107 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11108 wxPoint result;
11109 PyObject * obj0 = 0 ;
11110 char *kwnames[] = {
11111 (char *) "self", NULL
11112 };
11113
11114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
11115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11117 {
11118 PyThreadState* __tstate = wxPyBeginAllowThreads();
11119 result = ((wxJoystickEvent const *)arg1)->GetPosition();
11120
11121 wxPyEndAllowThreads(__tstate);
11122 if (PyErr_Occurred()) SWIG_fail;
11123 }
11124 {
11125 wxPoint * resultptr;
11126 resultptr = new wxPoint((wxPoint &) result);
11127 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
11128 }
11129 return resultobj;
11130 fail:
11131 return NULL;
11132}
11133
11134
11135static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11136 PyObject *resultobj;
11137 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11138 int result;
11139 PyObject * obj0 = 0 ;
11140 char *kwnames[] = {
11141 (char *) "self", NULL
11142 };
11143
11144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
11145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11147 {
11148 PyThreadState* __tstate = wxPyBeginAllowThreads();
11149 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
11150
11151 wxPyEndAllowThreads(__tstate);
11152 if (PyErr_Occurred()) SWIG_fail;
11153 }
11154 resultobj = SWIG_FromInt((int)result);
11155 return resultobj;
11156 fail:
11157 return NULL;
11158}
11159
11160
11161static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
11162 PyObject *resultobj;
11163 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11164 int result;
11165 PyObject * obj0 = 0 ;
11166 char *kwnames[] = {
11167 (char *) "self", NULL
11168 };
11169
11170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
11171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11173 {
11174 PyThreadState* __tstate = wxPyBeginAllowThreads();
11175 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
11176
11177 wxPyEndAllowThreads(__tstate);
11178 if (PyErr_Occurred()) SWIG_fail;
11179 }
11180 resultobj = SWIG_FromInt((int)result);
11181 return resultobj;
11182 fail:
11183 return NULL;
11184}
11185
11186
11187static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
11188 PyObject *resultobj;
11189 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11190 int result;
11191 PyObject * obj0 = 0 ;
11192 char *kwnames[] = {
11193 (char *) "self", NULL
11194 };
11195
11196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
11197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
11202
11203 wxPyEndAllowThreads(__tstate);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 }
11206 resultobj = SWIG_FromInt((int)result);
11207 return resultobj;
11208 fail:
11209 return NULL;
11210}
11211
11212
11213static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
11214 PyObject *resultobj;
11215 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11216 int result;
11217 PyObject * obj0 = 0 ;
11218 char *kwnames[] = {
11219 (char *) "self", NULL
11220 };
11221
11222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
11223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11225 {
11226 PyThreadState* __tstate = wxPyBeginAllowThreads();
11227 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
11228
11229 wxPyEndAllowThreads(__tstate);
11230 if (PyErr_Occurred()) SWIG_fail;
11231 }
11232 resultobj = SWIG_FromInt((int)result);
11233 return resultobj;
11234 fail:
11235 return NULL;
11236}
11237
11238
11239static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
11240 PyObject *resultobj;
11241 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11242 int arg2 ;
11243 PyObject * obj0 = 0 ;
11244 PyObject * obj1 = 0 ;
11245 char *kwnames[] = {
11246 (char *) "self",(char *) "stick", NULL
11247 };
11248
11249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
11250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11252 arg2 = (int) SWIG_AsInt(obj1);
11253 if (PyErr_Occurred()) SWIG_fail;
11254 {
11255 PyThreadState* __tstate = wxPyBeginAllowThreads();
11256 (arg1)->SetJoystick(arg2);
11257
11258 wxPyEndAllowThreads(__tstate);
11259 if (PyErr_Occurred()) SWIG_fail;
11260 }
11261 Py_INCREF(Py_None); resultobj = Py_None;
11262 return resultobj;
11263 fail:
11264 return NULL;
11265}
11266
11267
11268static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
11269 PyObject *resultobj;
11270 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11271 int arg2 ;
11272 PyObject * obj0 = 0 ;
11273 PyObject * obj1 = 0 ;
11274 char *kwnames[] = {
11275 (char *) "self",(char *) "state", NULL
11276 };
11277
11278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
11279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11281 arg2 = (int) SWIG_AsInt(obj1);
11282 if (PyErr_Occurred()) SWIG_fail;
11283 {
11284 PyThreadState* __tstate = wxPyBeginAllowThreads();
11285 (arg1)->SetButtonState(arg2);
11286
11287 wxPyEndAllowThreads(__tstate);
11288 if (PyErr_Occurred()) SWIG_fail;
11289 }
11290 Py_INCREF(Py_None); resultobj = Py_None;
11291 return resultobj;
11292 fail:
11293 return NULL;
11294}
11295
11296
11297static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
11298 PyObject *resultobj;
11299 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11300 int arg2 ;
11301 PyObject * obj0 = 0 ;
11302 PyObject * obj1 = 0 ;
11303 char *kwnames[] = {
11304 (char *) "self",(char *) "change", NULL
11305 };
11306
11307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
11308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11310 arg2 = (int) SWIG_AsInt(obj1);
11311 if (PyErr_Occurred()) SWIG_fail;
11312 {
11313 PyThreadState* __tstate = wxPyBeginAllowThreads();
11314 (arg1)->SetButtonChange(arg2);
11315
11316 wxPyEndAllowThreads(__tstate);
11317 if (PyErr_Occurred()) SWIG_fail;
11318 }
11319 Py_INCREF(Py_None); resultobj = Py_None;
11320 return resultobj;
11321 fail:
11322 return NULL;
11323}
11324
11325
11326static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11327 PyObject *resultobj;
11328 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11329 wxPoint *arg2 = 0 ;
11330 wxPoint temp2 ;
11331 PyObject * obj0 = 0 ;
11332 PyObject * obj1 = 0 ;
11333 char *kwnames[] = {
11334 (char *) "self",(char *) "pos", NULL
11335 };
11336
11337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11340 {
11341 arg2 = &temp2;
11342 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11343 }
11344 {
11345 PyThreadState* __tstate = wxPyBeginAllowThreads();
11346 (arg1)->SetPosition((wxPoint const &)*arg2);
11347
11348 wxPyEndAllowThreads(__tstate);
11349 if (PyErr_Occurred()) SWIG_fail;
11350 }
11351 Py_INCREF(Py_None); resultobj = Py_None;
11352 return resultobj;
11353 fail:
11354 return NULL;
11355}
11356
11357
11358static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11359 PyObject *resultobj;
11360 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11361 int arg2 ;
11362 PyObject * obj0 = 0 ;
11363 PyObject * obj1 = 0 ;
11364 char *kwnames[] = {
11365 (char *) "self",(char *) "zPos", NULL
11366 };
11367
11368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
11369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11371 arg2 = (int) SWIG_AsInt(obj1);
11372 if (PyErr_Occurred()) SWIG_fail;
11373 {
11374 PyThreadState* __tstate = wxPyBeginAllowThreads();
11375 (arg1)->SetZPosition(arg2);
11376
11377 wxPyEndAllowThreads(__tstate);
11378 if (PyErr_Occurred()) SWIG_fail;
11379 }
11380 Py_INCREF(Py_None); resultobj = Py_None;
11381 return resultobj;
11382 fail:
11383 return NULL;
11384}
11385
11386
11387static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11388 PyObject *resultobj;
11389 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11390 bool result;
11391 PyObject * obj0 = 0 ;
11392 char *kwnames[] = {
11393 (char *) "self", NULL
11394 };
11395
11396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
11397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11399 {
11400 PyThreadState* __tstate = wxPyBeginAllowThreads();
11401 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
11402
11403 wxPyEndAllowThreads(__tstate);
11404 if (PyErr_Occurred()) SWIG_fail;
11405 }
11406 {
11407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11408 }
11409 return resultobj;
11410 fail:
11411 return NULL;
11412}
11413
11414
11415static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11416 PyObject *resultobj;
11417 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11418 bool result;
11419 PyObject * obj0 = 0 ;
11420 char *kwnames[] = {
11421 (char *) "self", NULL
11422 };
11423
11424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
11425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11427 {
11428 PyThreadState* __tstate = wxPyBeginAllowThreads();
11429 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
11430
11431 wxPyEndAllowThreads(__tstate);
11432 if (PyErr_Occurred()) SWIG_fail;
11433 }
11434 {
11435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11436 }
11437 return resultobj;
11438 fail:
11439 return NULL;
11440}
11441
11442
11443static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11444 PyObject *resultobj;
11445 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11446 bool result;
11447 PyObject * obj0 = 0 ;
11448 char *kwnames[] = {
11449 (char *) "self", NULL
11450 };
11451
11452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
11453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11455 {
11456 PyThreadState* __tstate = wxPyBeginAllowThreads();
11457 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
11458
11459 wxPyEndAllowThreads(__tstate);
11460 if (PyErr_Occurred()) SWIG_fail;
11461 }
11462 {
11463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11464 }
11465 return resultobj;
11466 fail:
11467 return NULL;
11468}
11469
11470
11471static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11472 PyObject *resultobj;
11473 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11474 int arg2 = (int) wxJOY_BUTTON_ANY ;
11475 bool result;
11476 PyObject * obj0 = 0 ;
11477 PyObject * obj1 = 0 ;
11478 char *kwnames[] = {
11479 (char *) "self",(char *) "but", NULL
11480 };
11481
11482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
11483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11485 if (obj1) {
11486 arg2 = (int) SWIG_AsInt(obj1);
11487 if (PyErr_Occurred()) SWIG_fail;
11488 }
11489 {
11490 PyThreadState* __tstate = wxPyBeginAllowThreads();
11491 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
11492
11493 wxPyEndAllowThreads(__tstate);
11494 if (PyErr_Occurred()) SWIG_fail;
11495 }
11496 {
11497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11498 }
11499 return resultobj;
11500 fail:
11501 return NULL;
11502}
11503
11504
11505static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11506 PyObject *resultobj;
11507 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11508 int arg2 = (int) wxJOY_BUTTON_ANY ;
11509 bool result;
11510 PyObject * obj0 = 0 ;
11511 PyObject * obj1 = 0 ;
11512 char *kwnames[] = {
11513 (char *) "self",(char *) "but", NULL
11514 };
11515
11516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
11517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11519 if (obj1) {
11520 arg2 = (int) SWIG_AsInt(obj1);
11521 if (PyErr_Occurred()) SWIG_fail;
11522 }
11523 {
11524 PyThreadState* __tstate = wxPyBeginAllowThreads();
11525 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
11526
11527 wxPyEndAllowThreads(__tstate);
11528 if (PyErr_Occurred()) SWIG_fail;
11529 }
11530 {
11531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11532 }
11533 return resultobj;
11534 fail:
11535 return NULL;
11536}
11537
11538
11539static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11540 PyObject *resultobj;
11541 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11542 int arg2 = (int) wxJOY_BUTTON_ANY ;
11543 bool result;
11544 PyObject * obj0 = 0 ;
11545 PyObject * obj1 = 0 ;
11546 char *kwnames[] = {
11547 (char *) "self",(char *) "but", NULL
11548 };
11549
11550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
11551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11553 if (obj1) {
11554 arg2 = (int) SWIG_AsInt(obj1);
11555 if (PyErr_Occurred()) SWIG_fail;
11556 }
11557 {
11558 PyThreadState* __tstate = wxPyBeginAllowThreads();
11559 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
11560
11561 wxPyEndAllowThreads(__tstate);
11562 if (PyErr_Occurred()) SWIG_fail;
11563 }
11564 {
11565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11566 }
11567 return resultobj;
11568 fail:
11569 return NULL;
11570}
11571
11572
11573static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
11574 PyObject *obj;
11575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11576 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
11577 Py_INCREF(obj);
11578 return Py_BuildValue((char *)"");
11579}
b1f29bf7 11580static PyObject *_wrap_new_Sound(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc 11581 PyObject *resultobj;
b1f29bf7
RD
11582 wxString const &arg1_defvalue = wxPyEmptyString ;
11583 wxString *arg1 = (wxString *) &arg1_defvalue ;
d55e5bfc
RD
11584 wxSound *result;
11585 bool temp1 = False ;
11586 PyObject * obj0 = 0 ;
b1f29bf7
RD
11587 char *kwnames[] = {
11588 (char *) "fileName", NULL
11589 };
d55e5bfc 11590
b1f29bf7
RD
11591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Sound",kwnames,&obj0)) goto fail;
11592 if (obj0) {
11593 {
11594 arg1 = wxString_in_helper(obj0);
11595 if (arg1 == NULL) SWIG_fail;
11596 temp1 = True;
11597 }
d55e5bfc
RD
11598 }
11599 {
0439c23b 11600 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 11601 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 11602 result = (wxSound *)new_wxSound((wxString const &)*arg1);
d55e5bfc
RD
11603
11604 wxPyEndAllowThreads(__tstate);
0439c23b 11605 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11606 }
11607 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11608 {
11609 if (temp1)
11610 delete arg1;
11611 }
11612 return resultobj;
11613 fail:
11614 {
11615 if (temp1)
11616 delete arg1;
11617 }
11618 return NULL;
11619}
11620
11621
b1f29bf7 11622static PyObject *_wrap_new_SoundFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc 11623 PyObject *resultobj;
b1f29bf7 11624 PyObject *arg1 = (PyObject *) 0 ;
d55e5bfc
RD
11625 wxSound *result;
11626 PyObject * obj0 = 0 ;
b1f29bf7
RD
11627 char *kwnames[] = {
11628 (char *) "data", NULL
11629 };
d55e5bfc 11630
b1f29bf7
RD
11631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_SoundFromData",kwnames,&obj0)) goto fail;
11632 arg1 = obj0;
d55e5bfc 11633 {
0439c23b 11634 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 11635 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 11636 result = (wxSound *)new_wxSound(arg1);
d55e5bfc
RD
11637
11638 wxPyEndAllowThreads(__tstate);
0439c23b 11639 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11640 }
11641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11642 return resultobj;
11643 fail:
11644 return NULL;
11645}
11646
11647
d55e5bfc
RD
11648static PyObject *_wrap_delete_Sound(PyObject *self, PyObject *args, PyObject *kwargs) {
11649 PyObject *resultobj;
11650 wxSound *arg1 = (wxSound *) 0 ;
11651 PyObject * obj0 = 0 ;
11652 char *kwnames[] = {
11653 (char *) "self", NULL
11654 };
11655
11656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
11657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11659 {
11660 PyThreadState* __tstate = wxPyBeginAllowThreads();
11661 delete arg1;
11662
11663 wxPyEndAllowThreads(__tstate);
11664 if (PyErr_Occurred()) SWIG_fail;
11665 }
11666 Py_INCREF(Py_None); resultobj = Py_None;
11667 return resultobj;
11668 fail:
11669 return NULL;
11670}
11671
11672
b1f29bf7 11673static PyObject *_wrap_Sound_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11674 PyObject *resultobj;
11675 wxSound *arg1 = (wxSound *) 0 ;
11676 wxString *arg2 = 0 ;
d55e5bfc
RD
11677 bool result;
11678 bool temp2 = False ;
11679 PyObject * obj0 = 0 ;
11680 PyObject * obj1 = 0 ;
b1f29bf7
RD
11681 char *kwnames[] = {
11682 (char *) "self",(char *) "fileName", NULL
11683 };
d55e5bfc 11684
b1f29bf7 11685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_Create",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
11686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11688 {
11689 arg2 = wxString_in_helper(obj1);
11690 if (arg2 == NULL) SWIG_fail;
11691 temp2 = True;
11692 }
d55e5bfc
RD
11693 {
11694 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 11695 result = (bool)(arg1)->Create((wxString const &)*arg2);
d55e5bfc
RD
11696
11697 wxPyEndAllowThreads(__tstate);
11698 if (PyErr_Occurred()) SWIG_fail;
11699 }
11700 {
11701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11702 }
11703 {
11704 if (temp2)
11705 delete arg2;
11706 }
11707 return resultobj;
11708 fail:
11709 {
11710 if (temp2)
11711 delete arg2;
11712 }
11713 return NULL;
11714}
11715
11716
b1f29bf7 11717static PyObject *_wrap_Sound_CreateFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11718 PyObject *resultobj;
11719 wxSound *arg1 = (wxSound *) 0 ;
b1f29bf7 11720 PyObject *arg2 = (PyObject *) 0 ;
d55e5bfc
RD
11721 bool result;
11722 PyObject * obj0 = 0 ;
11723 PyObject * obj1 = 0 ;
b1f29bf7
RD
11724 char *kwnames[] = {
11725 (char *) "self",(char *) "data", NULL
11726 };
d55e5bfc 11727
b1f29bf7 11728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_CreateFromData",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
11729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b1f29bf7 11731 arg2 = obj1;
d55e5bfc
RD
11732 {
11733 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 11734 result = (bool)wxSound_CreateFromData(arg1,arg2);
d55e5bfc
RD
11735
11736 wxPyEndAllowThreads(__tstate);
11737 if (PyErr_Occurred()) SWIG_fail;
11738 }
11739 {
11740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11741 }
11742 return resultobj;
11743 fail:
11744 return NULL;
11745}
11746
11747
d55e5bfc
RD
11748static PyObject *_wrap_Sound_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
11749 PyObject *resultobj;
11750 wxSound *arg1 = (wxSound *) 0 ;
11751 bool result;
11752 PyObject * obj0 = 0 ;
11753 char *kwnames[] = {
11754 (char *) "self", NULL
11755 };
11756
11757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
11758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11760 {
11761 PyThreadState* __tstate = wxPyBeginAllowThreads();
11762 result = (bool)(arg1)->IsOk();
11763
11764 wxPyEndAllowThreads(__tstate);
11765 if (PyErr_Occurred()) SWIG_fail;
11766 }
11767 {
11768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11769 }
11770 return resultobj;
11771 fail:
11772 return NULL;
11773}
11774
11775
b1f29bf7 11776static PyObject *_wrap_Sound_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11777 PyObject *resultobj;
11778 wxSound *arg1 = (wxSound *) 0 ;
11779 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11780 bool result;
11781 PyObject * obj0 = 0 ;
11782 PyObject * obj1 = 0 ;
b1f29bf7
RD
11783 char *kwnames[] = {
11784 (char *) "self",(char *) "flags", NULL
11785 };
d55e5bfc 11786
b1f29bf7 11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_Play",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
11788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11790 if (obj1) {
11791 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11792 if (PyErr_Occurred()) SWIG_fail;
11793 }
11794 {
0439c23b 11795 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11796 PyThreadState* __tstate = wxPyBeginAllowThreads();
11797 result = (bool)((wxSound const *)arg1)->Play(arg2);
11798
11799 wxPyEndAllowThreads(__tstate);
0439c23b 11800 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11801 }
11802 {
11803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11804 }
11805 return resultobj;
11806 fail:
11807 return NULL;
11808}
11809
11810
b1f29bf7 11811static PyObject *_wrap_Sound_PlaySound(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11812 PyObject *resultobj;
11813 wxString *arg1 = 0 ;
11814 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11815 bool result;
11816 bool temp1 = False ;
11817 PyObject * obj0 = 0 ;
11818 PyObject * obj1 = 0 ;
b1f29bf7
RD
11819 char *kwnames[] = {
11820 (char *) "filename",(char *) "flags", NULL
11821 };
d55e5bfc 11822
b1f29bf7 11823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_PlaySound",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
11824 {
11825 arg1 = wxString_in_helper(obj0);
11826 if (arg1 == NULL) SWIG_fail;
11827 temp1 = True;
11828 }
11829 if (obj1) {
11830 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11831 if (PyErr_Occurred()) SWIG_fail;
11832 }
11833 {
0439c23b 11834 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11835 PyThreadState* __tstate = wxPyBeginAllowThreads();
11836 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
11837
11838 wxPyEndAllowThreads(__tstate);
0439c23b 11839 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11840 }
11841 {
11842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11843 }
11844 {
11845 if (temp1)
11846 delete arg1;
11847 }
11848 return resultobj;
11849 fail:
11850 {
11851 if (temp1)
11852 delete arg1;
11853 }
11854 return NULL;
11855}
11856
11857
11858static PyObject *_wrap_Sound_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
11859 PyObject *resultobj;
11860 char *kwnames[] = {
11861 NULL
11862 };
11863
11864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
11865 {
0439c23b 11866 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11867 PyThreadState* __tstate = wxPyBeginAllowThreads();
11868 wxSound::Stop();
11869
11870 wxPyEndAllowThreads(__tstate);
0439c23b 11871 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11872 }
11873 Py_INCREF(Py_None); resultobj = Py_None;
11874 return resultobj;
11875 fail:
11876 return NULL;
11877}
11878
11879
11880static PyObject * Sound_swigregister(PyObject *self, PyObject *args) {
11881 PyObject *obj;
11882 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11883 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
11884 Py_INCREF(obj);
11885 return Py_BuildValue((char *)"");
11886}
11887static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11888 PyObject *resultobj;
11889 wxString *arg1 = 0 ;
11890 wxString *arg2 = 0 ;
11891 wxString *arg3 = 0 ;
11892 wxString *arg4 = 0 ;
11893 wxFileTypeInfo *result;
11894 bool temp1 = False ;
11895 bool temp2 = False ;
11896 bool temp3 = False ;
11897 bool temp4 = False ;
11898 PyObject * obj0 = 0 ;
11899 PyObject * obj1 = 0 ;
11900 PyObject * obj2 = 0 ;
11901 PyObject * obj3 = 0 ;
11902 char *kwnames[] = {
11903 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11904 };
11905
11906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11907 {
11908 arg1 = wxString_in_helper(obj0);
11909 if (arg1 == NULL) SWIG_fail;
11910 temp1 = True;
11911 }
11912 {
11913 arg2 = wxString_in_helper(obj1);
11914 if (arg2 == NULL) SWIG_fail;
11915 temp2 = True;
11916 }
11917 {
11918 arg3 = wxString_in_helper(obj2);
11919 if (arg3 == NULL) SWIG_fail;
11920 temp3 = True;
11921 }
11922 {
11923 arg4 = wxString_in_helper(obj3);
11924 if (arg4 == NULL) SWIG_fail;
11925 temp4 = True;
11926 }
11927 {
11928 PyThreadState* __tstate = wxPyBeginAllowThreads();
11929 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11930
11931 wxPyEndAllowThreads(__tstate);
11932 if (PyErr_Occurred()) SWIG_fail;
11933 }
11934 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
11935 {
11936 if (temp1)
11937 delete arg1;
11938 }
11939 {
11940 if (temp2)
11941 delete arg2;
11942 }
11943 {
11944 if (temp3)
11945 delete arg3;
11946 }
11947 {
11948 if (temp4)
11949 delete arg4;
11950 }
11951 return resultobj;
11952 fail:
11953 {
11954 if (temp1)
11955 delete arg1;
11956 }
11957 {
11958 if (temp2)
11959 delete arg2;
11960 }
11961 {
11962 if (temp3)
11963 delete arg3;
11964 }
11965 {
11966 if (temp4)
11967 delete arg4;
11968 }
11969 return NULL;
11970}
11971
11972
11973static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
11974 PyObject *resultobj;
11975 wxArrayString *arg1 = 0 ;
11976 wxFileTypeInfo *result;
11977 bool temp1 = False ;
11978 PyObject * obj0 = 0 ;
11979 char *kwnames[] = {
11980 (char *) "sArray", NULL
11981 };
11982
11983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
11984 {
11985 if (! PySequence_Check(obj0)) {
11986 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11987 SWIG_fail;
11988 }
11989 arg1 = new wxArrayString;
11990 temp1 = True;
11991 int i, len=PySequence_Length(obj0);
11992 for (i=0; i<len; i++) {
11993 PyObject* item = PySequence_GetItem(obj0, i);
11994#if wxUSE_UNICODE
11995 PyObject* str = PyObject_Unicode(item);
11996#else
11997 PyObject* str = PyObject_Str(item);
11998#endif
11999 if (PyErr_Occurred()) SWIG_fail;
12000 arg1->Add(Py2wxString(str));
12001 Py_DECREF(item);
12002 Py_DECREF(str);
12003 }
12004 }
12005 {
12006 PyThreadState* __tstate = wxPyBeginAllowThreads();
12007 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
12008
12009 wxPyEndAllowThreads(__tstate);
12010 if (PyErr_Occurred()) SWIG_fail;
12011 }
12012 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12013 {
12014 if (temp1) delete arg1;
12015 }
12016 return resultobj;
12017 fail:
12018 {
12019 if (temp1) delete arg1;
12020 }
12021 return NULL;
12022}
12023
12024
12025static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12026 PyObject *resultobj;
12027 wxFileTypeInfo *result;
12028 char *kwnames[] = {
12029 NULL
12030 };
12031
12032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
12033 {
12034 PyThreadState* __tstate = wxPyBeginAllowThreads();
12035 result = (wxFileTypeInfo *)new wxFileTypeInfo();
12036
12037 wxPyEndAllowThreads(__tstate);
12038 if (PyErr_Occurred()) SWIG_fail;
12039 }
12040 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12041 return resultobj;
12042 fail:
12043 return NULL;
12044}
12045
12046
12047static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
12048 PyObject *resultobj;
12049 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12050 bool result;
12051 PyObject * obj0 = 0 ;
12052 char *kwnames[] = {
12053 (char *) "self", NULL
12054 };
12055
12056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
12057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12059 {
12060 PyThreadState* __tstate = wxPyBeginAllowThreads();
12061 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
12062
12063 wxPyEndAllowThreads(__tstate);
12064 if (PyErr_Occurred()) SWIG_fail;
12065 }
12066 {
12067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12068 }
12069 return resultobj;
12070 fail:
12071 return NULL;
12072}
12073
12074
12075static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12076 PyObject *resultobj;
12077 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12078 wxString *arg2 = 0 ;
12079 int arg3 = (int) 0 ;
12080 bool temp2 = False ;
12081 PyObject * obj0 = 0 ;
12082 PyObject * obj1 = 0 ;
12083 PyObject * obj2 = 0 ;
12084 char *kwnames[] = {
12085 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12086 };
12087
12088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12091 {
12092 arg2 = wxString_in_helper(obj1);
12093 if (arg2 == NULL) SWIG_fail;
12094 temp2 = True;
12095 }
12096 if (obj2) {
12097 arg3 = (int) SWIG_AsInt(obj2);
12098 if (PyErr_Occurred()) SWIG_fail;
12099 }
12100 {
12101 PyThreadState* __tstate = wxPyBeginAllowThreads();
12102 (arg1)->SetIcon((wxString const &)*arg2,arg3);
12103
12104 wxPyEndAllowThreads(__tstate);
12105 if (PyErr_Occurred()) SWIG_fail;
12106 }
12107 Py_INCREF(Py_None); resultobj = Py_None;
12108 {
12109 if (temp2)
12110 delete arg2;
12111 }
12112 return resultobj;
12113 fail:
12114 {
12115 if (temp2)
12116 delete arg2;
12117 }
12118 return NULL;
12119}
12120
12121
12122static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
12123 PyObject *resultobj;
12124 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12125 wxString *arg2 = 0 ;
12126 bool temp2 = False ;
12127 PyObject * obj0 = 0 ;
12128 PyObject * obj1 = 0 ;
12129 char *kwnames[] = {
12130 (char *) "self",(char *) "shortDesc", NULL
12131 };
12132
12133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
12134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12136 {
12137 arg2 = wxString_in_helper(obj1);
12138 if (arg2 == NULL) SWIG_fail;
12139 temp2 = True;
12140 }
12141 {
12142 PyThreadState* __tstate = wxPyBeginAllowThreads();
12143 (arg1)->SetShortDesc((wxString const &)*arg2);
12144
12145 wxPyEndAllowThreads(__tstate);
12146 if (PyErr_Occurred()) SWIG_fail;
12147 }
12148 Py_INCREF(Py_None); resultobj = Py_None;
12149 {
12150 if (temp2)
12151 delete arg2;
12152 }
12153 return resultobj;
12154 fail:
12155 {
12156 if (temp2)
12157 delete arg2;
12158 }
12159 return NULL;
12160}
12161
12162
12163static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12164 PyObject *resultobj;
12165 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12166 wxString *result;
12167 PyObject * obj0 = 0 ;
12168 char *kwnames[] = {
12169 (char *) "self", NULL
12170 };
12171
12172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
12173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12175 {
12176 PyThreadState* __tstate = wxPyBeginAllowThreads();
12177 {
12178 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
12179 result = (wxString *) &_result_ref;
12180 }
12181
12182 wxPyEndAllowThreads(__tstate);
12183 if (PyErr_Occurred()) SWIG_fail;
12184 }
12185 {
12186#if wxUSE_UNICODE
12187 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12188#else
12189 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12190#endif
12191 }
12192 return resultobj;
12193 fail:
12194 return NULL;
12195}
12196
12197
12198static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12199 PyObject *resultobj;
12200 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12201 wxString *result;
12202 PyObject * obj0 = 0 ;
12203 char *kwnames[] = {
12204 (char *) "self", NULL
12205 };
12206
12207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
12208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12210 {
12211 PyThreadState* __tstate = wxPyBeginAllowThreads();
12212 {
12213 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
12214 result = (wxString *) &_result_ref;
12215 }
12216
12217 wxPyEndAllowThreads(__tstate);
12218 if (PyErr_Occurred()) SWIG_fail;
12219 }
12220 {
12221#if wxUSE_UNICODE
12222 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12223#else
12224 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12225#endif
12226 }
12227 return resultobj;
12228 fail:
12229 return NULL;
12230}
12231
12232
12233static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12234 PyObject *resultobj;
12235 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12236 wxString *result;
12237 PyObject * obj0 = 0 ;
12238 char *kwnames[] = {
12239 (char *) "self", NULL
12240 };
12241
12242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
12243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12245 {
12246 PyThreadState* __tstate = wxPyBeginAllowThreads();
12247 {
12248 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
12249 result = (wxString *) &_result_ref;
12250 }
12251
12252 wxPyEndAllowThreads(__tstate);
12253 if (PyErr_Occurred()) SWIG_fail;
12254 }
12255 {
12256#if wxUSE_UNICODE
12257 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12258#else
12259 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12260#endif
12261 }
12262 return resultobj;
12263 fail:
12264 return NULL;
12265}
12266
12267
12268static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
12269 PyObject *resultobj;
12270 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12271 wxString *result;
12272 PyObject * obj0 = 0 ;
12273 char *kwnames[] = {
12274 (char *) "self", NULL
12275 };
12276
12277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
12278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12280 {
12281 PyThreadState* __tstate = wxPyBeginAllowThreads();
12282 {
12283 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
12284 result = (wxString *) &_result_ref;
12285 }
12286
12287 wxPyEndAllowThreads(__tstate);
12288 if (PyErr_Occurred()) SWIG_fail;
12289 }
12290 {
12291#if wxUSE_UNICODE
12292 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12293#else
12294 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12295#endif
12296 }
12297 return resultobj;
12298 fail:
12299 return NULL;
12300}
12301
12302
12303static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12304 PyObject *resultobj;
12305 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12306 wxString *result;
12307 PyObject * obj0 = 0 ;
12308 char *kwnames[] = {
12309 (char *) "self", NULL
12310 };
12311
12312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
12313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12315 {
12316 PyThreadState* __tstate = wxPyBeginAllowThreads();
12317 {
12318 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
12319 result = (wxString *) &_result_ref;
12320 }
12321
12322 wxPyEndAllowThreads(__tstate);
12323 if (PyErr_Occurred()) SWIG_fail;
12324 }
12325 {
12326#if wxUSE_UNICODE
12327 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12328#else
12329 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12330#endif
12331 }
12332 return resultobj;
12333 fail:
12334 return NULL;
12335}
12336
12337
12338static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12339 PyObject *resultobj;
12340 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12341 wxArrayString *result;
12342 PyObject * obj0 = 0 ;
12343 char *kwnames[] = {
12344 (char *) "self", NULL
12345 };
12346
12347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
12348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12350 {
12351 PyThreadState* __tstate = wxPyBeginAllowThreads();
12352 {
12353 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
12354 result = (wxArrayString *) &_result_ref;
12355 }
12356
12357 wxPyEndAllowThreads(__tstate);
12358 if (PyErr_Occurred()) SWIG_fail;
12359 }
12360 {
12361 resultobj = wxArrayString2PyList_helper(*result);
12362 }
12363 return resultobj;
12364 fail:
12365 return NULL;
12366}
12367
12368
12369static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12370 PyObject *resultobj;
12371 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12372 int result;
12373 PyObject * obj0 = 0 ;
12374 char *kwnames[] = {
12375 (char *) "self", NULL
12376 };
12377
12378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
12379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12381 {
12382 PyThreadState* __tstate = wxPyBeginAllowThreads();
12383 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
12384
12385 wxPyEndAllowThreads(__tstate);
12386 if (PyErr_Occurred()) SWIG_fail;
12387 }
12388 resultobj = SWIG_FromInt((int)result);
12389 return resultobj;
12390 fail:
12391 return NULL;
12392}
12393
12394
12395static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12396 PyObject *resultobj;
12397 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12398 wxString *result;
12399 PyObject * obj0 = 0 ;
12400 char *kwnames[] = {
12401 (char *) "self", NULL
12402 };
12403
12404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
12405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12407 {
12408 PyThreadState* __tstate = wxPyBeginAllowThreads();
12409 {
12410 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
12411 result = (wxString *) &_result_ref;
12412 }
12413
12414 wxPyEndAllowThreads(__tstate);
12415 if (PyErr_Occurred()) SWIG_fail;
12416 }
12417 {
12418#if wxUSE_UNICODE
12419 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12420#else
12421 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12422#endif
12423 }
12424 return resultobj;
12425 fail:
12426 return NULL;
12427}
12428
12429
12430static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12431 PyObject *resultobj;
12432 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12433 int result;
12434 PyObject * obj0 = 0 ;
12435 char *kwnames[] = {
12436 (char *) "self", NULL
12437 };
12438
12439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
12440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12442 {
12443 PyThreadState* __tstate = wxPyBeginAllowThreads();
12444 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
12445
12446 wxPyEndAllowThreads(__tstate);
12447 if (PyErr_Occurred()) SWIG_fail;
12448 }
12449 resultobj = SWIG_FromInt((int)result);
12450 return resultobj;
12451 fail:
12452 return NULL;
12453}
12454
12455
12456static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
12457 PyObject *obj;
12458 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12459 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
12460 Py_INCREF(obj);
12461 return Py_BuildValue((char *)"");
12462}
12463static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12464 PyObject *resultobj;
12465 wxFileTypeInfo *arg1 = 0 ;
12466 wxFileType *result;
12467 PyObject * obj0 = 0 ;
12468 char *kwnames[] = {
12469 (char *) "ftInfo", NULL
12470 };
12471
12472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
12473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12474 SWIG_POINTER_EXCEPTION | 0)) == -1)
12475 SWIG_fail;
12476 if (arg1 == NULL) {
12477 PyErr_SetString(PyExc_TypeError,"null reference");
12478 SWIG_fail;
12479 }
12480 {
12481 PyThreadState* __tstate = wxPyBeginAllowThreads();
12482 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
12483
12484 wxPyEndAllowThreads(__tstate);
12485 if (PyErr_Occurred()) SWIG_fail;
12486 }
12487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
12488 return resultobj;
12489 fail:
12490 return NULL;
12491}
12492
12493
12494static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12495 PyObject *resultobj;
12496 wxFileType *arg1 = (wxFileType *) 0 ;
12497 PyObject * obj0 = 0 ;
12498 char *kwnames[] = {
12499 (char *) "self", NULL
12500 };
12501
12502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
12503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12505 {
12506 PyThreadState* __tstate = wxPyBeginAllowThreads();
12507 delete arg1;
12508
12509 wxPyEndAllowThreads(__tstate);
12510 if (PyErr_Occurred()) SWIG_fail;
12511 }
12512 Py_INCREF(Py_None); resultobj = Py_None;
12513 return resultobj;
12514 fail:
12515 return NULL;
12516}
12517
12518
12519static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12520 PyObject *resultobj;
12521 wxFileType *arg1 = (wxFileType *) 0 ;
12522 PyObject *result;
12523 PyObject * obj0 = 0 ;
12524 char *kwnames[] = {
12525 (char *) "self", NULL
12526 };
12527
12528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
12529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12531 {
12532 PyThreadState* __tstate = wxPyBeginAllowThreads();
12533 result = (PyObject *)wxFileType_GetMimeType(arg1);
12534
12535 wxPyEndAllowThreads(__tstate);
12536 if (PyErr_Occurred()) SWIG_fail;
12537 }
12538 resultobj = result;
12539 return resultobj;
12540 fail:
12541 return NULL;
12542}
12543
12544
12545static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12546 PyObject *resultobj;
12547 wxFileType *arg1 = (wxFileType *) 0 ;
12548 PyObject *result;
12549 PyObject * obj0 = 0 ;
12550 char *kwnames[] = {
12551 (char *) "self", NULL
12552 };
12553
12554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
12555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12557 {
12558 PyThreadState* __tstate = wxPyBeginAllowThreads();
12559 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
12560
12561 wxPyEndAllowThreads(__tstate);
12562 if (PyErr_Occurred()) SWIG_fail;
12563 }
12564 resultobj = result;
12565 return resultobj;
12566 fail:
12567 return NULL;
12568}
12569
12570
12571static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12572 PyObject *resultobj;
12573 wxFileType *arg1 = (wxFileType *) 0 ;
12574 PyObject *result;
12575 PyObject * obj0 = 0 ;
12576 char *kwnames[] = {
12577 (char *) "self", NULL
12578 };
12579
12580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
12581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12583 {
12584 PyThreadState* __tstate = wxPyBeginAllowThreads();
12585 result = (PyObject *)wxFileType_GetExtensions(arg1);
12586
12587 wxPyEndAllowThreads(__tstate);
12588 if (PyErr_Occurred()) SWIG_fail;
12589 }
12590 resultobj = result;
12591 return resultobj;
12592 fail:
12593 return NULL;
12594}
12595
12596
12597static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12598 PyObject *resultobj;
12599 wxFileType *arg1 = (wxFileType *) 0 ;
12600 wxIcon *result;
12601 PyObject * obj0 = 0 ;
12602 char *kwnames[] = {
12603 (char *) "self", NULL
12604 };
12605
12606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
12607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12609 {
12610 PyThreadState* __tstate = wxPyBeginAllowThreads();
12611 result = (wxIcon *)wxFileType_GetIcon(arg1);
12612
12613 wxPyEndAllowThreads(__tstate);
12614 if (PyErr_Occurred()) SWIG_fail;
12615 }
12616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
12617 return resultobj;
12618 fail:
12619 return NULL;
12620}
12621
12622
12623static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12624 PyObject *resultobj;
12625 wxFileType *arg1 = (wxFileType *) 0 ;
12626 PyObject *result;
12627 PyObject * obj0 = 0 ;
12628 char *kwnames[] = {
12629 (char *) "self", NULL
12630 };
12631
12632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
12633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12635 {
12636 PyThreadState* __tstate = wxPyBeginAllowThreads();
12637 result = (PyObject *)wxFileType_GetIconInfo(arg1);
12638
12639 wxPyEndAllowThreads(__tstate);
12640 if (PyErr_Occurred()) SWIG_fail;
12641 }
12642 resultobj = result;
12643 return resultobj;
12644 fail:
12645 return NULL;
12646}
12647
12648
12649static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12650 PyObject *resultobj;
12651 wxFileType *arg1 = (wxFileType *) 0 ;
12652 PyObject *result;
12653 PyObject * obj0 = 0 ;
12654 char *kwnames[] = {
12655 (char *) "self", NULL
12656 };
12657
12658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
12659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12661 {
12662 PyThreadState* __tstate = wxPyBeginAllowThreads();
12663 result = (PyObject *)wxFileType_GetDescription(arg1);
12664
12665 wxPyEndAllowThreads(__tstate);
12666 if (PyErr_Occurred()) SWIG_fail;
12667 }
12668 resultobj = result;
12669 return resultobj;
12670 fail:
12671 return NULL;
12672}
12673
12674
12675static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12676 PyObject *resultobj;
12677 wxFileType *arg1 = (wxFileType *) 0 ;
12678 wxString *arg2 = 0 ;
12679 wxString const &arg3_defvalue = wxPyEmptyString ;
12680 wxString *arg3 = (wxString *) &arg3_defvalue ;
12681 PyObject *result;
12682 bool temp2 = False ;
12683 bool temp3 = False ;
12684 PyObject * obj0 = 0 ;
12685 PyObject * obj1 = 0 ;
12686 PyObject * obj2 = 0 ;
12687 char *kwnames[] = {
12688 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12689 };
12690
12691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12694 {
12695 arg2 = wxString_in_helper(obj1);
12696 if (arg2 == NULL) SWIG_fail;
12697 temp2 = True;
12698 }
12699 if (obj2) {
12700 {
12701 arg3 = wxString_in_helper(obj2);
12702 if (arg3 == NULL) SWIG_fail;
12703 temp3 = True;
12704 }
12705 }
12706 {
12707 PyThreadState* __tstate = wxPyBeginAllowThreads();
12708 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12709
12710 wxPyEndAllowThreads(__tstate);
12711 if (PyErr_Occurred()) SWIG_fail;
12712 }
12713 resultobj = result;
12714 {
12715 if (temp2)
12716 delete arg2;
12717 }
12718 {
12719 if (temp3)
12720 delete arg3;
12721 }
12722 return resultobj;
12723 fail:
12724 {
12725 if (temp2)
12726 delete arg2;
12727 }
12728 {
12729 if (temp3)
12730 delete arg3;
12731 }
12732 return NULL;
12733}
12734
12735
12736static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12737 PyObject *resultobj;
12738 wxFileType *arg1 = (wxFileType *) 0 ;
12739 wxString *arg2 = 0 ;
12740 wxString const &arg3_defvalue = wxPyEmptyString ;
12741 wxString *arg3 = (wxString *) &arg3_defvalue ;
12742 PyObject *result;
12743 bool temp2 = False ;
12744 bool temp3 = False ;
12745 PyObject * obj0 = 0 ;
12746 PyObject * obj1 = 0 ;
12747 PyObject * obj2 = 0 ;
12748 char *kwnames[] = {
12749 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12750 };
12751
12752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12755 {
12756 arg2 = wxString_in_helper(obj1);
12757 if (arg2 == NULL) SWIG_fail;
12758 temp2 = True;
12759 }
12760 if (obj2) {
12761 {
12762 arg3 = wxString_in_helper(obj2);
12763 if (arg3 == NULL) SWIG_fail;
12764 temp3 = True;
12765 }
12766 }
12767 {
12768 PyThreadState* __tstate = wxPyBeginAllowThreads();
12769 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12770
12771 wxPyEndAllowThreads(__tstate);
12772 if (PyErr_Occurred()) SWIG_fail;
12773 }
12774 resultobj = result;
12775 {
12776 if (temp2)
12777 delete arg2;
12778 }
12779 {
12780 if (temp3)
12781 delete arg3;
12782 }
12783 return resultobj;
12784 fail:
12785 {
12786 if (temp2)
12787 delete arg2;
12788 }
12789 {
12790 if (temp3)
12791 delete arg3;
12792 }
12793 return NULL;
12794}
12795
12796
12797static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
12798 PyObject *resultobj;
12799 wxFileType *arg1 = (wxFileType *) 0 ;
12800 wxString *arg2 = 0 ;
12801 wxString const &arg3_defvalue = wxPyEmptyString ;
12802 wxString *arg3 = (wxString *) &arg3_defvalue ;
12803 PyObject *result;
12804 bool temp2 = False ;
12805 bool temp3 = False ;
12806 PyObject * obj0 = 0 ;
12807 PyObject * obj1 = 0 ;
12808 PyObject * obj2 = 0 ;
12809 char *kwnames[] = {
12810 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12811 };
12812
12813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
12814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12816 {
12817 arg2 = wxString_in_helper(obj1);
12818 if (arg2 == NULL) SWIG_fail;
12819 temp2 = True;
12820 }
12821 if (obj2) {
12822 {
12823 arg3 = wxString_in_helper(obj2);
12824 if (arg3 == NULL) SWIG_fail;
12825 temp3 = True;
12826 }
12827 }
12828 {
12829 PyThreadState* __tstate = wxPyBeginAllowThreads();
12830 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12831
12832 wxPyEndAllowThreads(__tstate);
12833 if (PyErr_Occurred()) SWIG_fail;
12834 }
12835 resultobj = result;
12836 {
12837 if (temp2)
12838 delete arg2;
12839 }
12840 {
12841 if (temp3)
12842 delete arg3;
12843 }
12844 return resultobj;
12845 fail:
12846 {
12847 if (temp2)
12848 delete arg2;
12849 }
12850 {
12851 if (temp3)
12852 delete arg3;
12853 }
12854 return NULL;
12855}
12856
12857
12858static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12859 PyObject *resultobj;
12860 wxFileType *arg1 = (wxFileType *) 0 ;
12861 wxString *arg2 = 0 ;
12862 wxString *arg3 = 0 ;
12863 bool arg4 = (bool) True ;
12864 bool result;
12865 bool temp2 = False ;
12866 bool temp3 = False ;
12867 PyObject * obj0 = 0 ;
12868 PyObject * obj1 = 0 ;
12869 PyObject * obj2 = 0 ;
12870 PyObject * obj3 = 0 ;
12871 char *kwnames[] = {
12872 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12873 };
12874
12875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12878 {
12879 arg2 = wxString_in_helper(obj1);
12880 if (arg2 == NULL) SWIG_fail;
12881 temp2 = True;
12882 }
12883 {
12884 arg3 = wxString_in_helper(obj2);
12885 if (arg3 == NULL) SWIG_fail;
12886 temp3 = True;
12887 }
12888 if (obj3) {
12889 arg4 = (bool) SWIG_AsBool(obj3);
12890 if (PyErr_Occurred()) SWIG_fail;
12891 }
12892 {
12893 PyThreadState* __tstate = wxPyBeginAllowThreads();
12894 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12895
12896 wxPyEndAllowThreads(__tstate);
12897 if (PyErr_Occurred()) SWIG_fail;
12898 }
12899 {
12900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12901 }
12902 {
12903 if (temp2)
12904 delete arg2;
12905 }
12906 {
12907 if (temp3)
12908 delete arg3;
12909 }
12910 return resultobj;
12911 fail:
12912 {
12913 if (temp2)
12914 delete arg2;
12915 }
12916 {
12917 if (temp3)
12918 delete arg3;
12919 }
12920 return NULL;
12921}
12922
12923
12924static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12925 PyObject *resultobj;
12926 wxFileType *arg1 = (wxFileType *) 0 ;
12927 wxString const &arg2_defvalue = wxPyEmptyString ;
12928 wxString *arg2 = (wxString *) &arg2_defvalue ;
12929 int arg3 = (int) 0 ;
12930 bool result;
12931 bool temp2 = False ;
12932 PyObject * obj0 = 0 ;
12933 PyObject * obj1 = 0 ;
12934 PyObject * obj2 = 0 ;
12935 char *kwnames[] = {
12936 (char *) "self",(char *) "cmd",(char *) "index", NULL
12937 };
12938
12939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12942 if (obj1) {
12943 {
12944 arg2 = wxString_in_helper(obj1);
12945 if (arg2 == NULL) SWIG_fail;
12946 temp2 = True;
12947 }
12948 }
12949 if (obj2) {
12950 arg3 = (int) SWIG_AsInt(obj2);
12951 if (PyErr_Occurred()) SWIG_fail;
12952 }
12953 {
12954 PyThreadState* __tstate = wxPyBeginAllowThreads();
12955 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
12956
12957 wxPyEndAllowThreads(__tstate);
12958 if (PyErr_Occurred()) SWIG_fail;
12959 }
12960 {
12961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12962 }
12963 {
12964 if (temp2)
12965 delete arg2;
12966 }
12967 return resultobj;
12968 fail:
12969 {
12970 if (temp2)
12971 delete arg2;
12972 }
12973 return NULL;
12974}
12975
12976
12977static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12978 PyObject *resultobj;
12979 wxFileType *arg1 = (wxFileType *) 0 ;
12980 bool result;
12981 PyObject * obj0 = 0 ;
12982 char *kwnames[] = {
12983 (char *) "self", NULL
12984 };
12985
12986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
12987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12989 {
12990 PyThreadState* __tstate = wxPyBeginAllowThreads();
12991 result = (bool)(arg1)->Unassociate();
12992
12993 wxPyEndAllowThreads(__tstate);
12994 if (PyErr_Occurred()) SWIG_fail;
12995 }
12996 {
12997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12998 }
12999 return resultobj;
13000 fail:
13001 return NULL;
13002}
13003
13004
13005static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
13006 PyObject *resultobj;
13007 wxString *arg1 = 0 ;
13008 wxString *arg2 = 0 ;
13009 wxString const &arg3_defvalue = wxPyEmptyString ;
13010 wxString *arg3 = (wxString *) &arg3_defvalue ;
13011 wxString result;
13012 bool temp1 = False ;
13013 bool temp2 = False ;
13014 bool temp3 = False ;
13015 PyObject * obj0 = 0 ;
13016 PyObject * obj1 = 0 ;
13017 PyObject * obj2 = 0 ;
13018 char *kwnames[] = {
13019 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13020 };
13021
13022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
13023 {
13024 arg1 = wxString_in_helper(obj0);
13025 if (arg1 == NULL) SWIG_fail;
13026 temp1 = True;
13027 }
13028 {
13029 arg2 = wxString_in_helper(obj1);
13030 if (arg2 == NULL) SWIG_fail;
13031 temp2 = True;
13032 }
13033 if (obj2) {
13034 {
13035 arg3 = wxString_in_helper(obj2);
13036 if (arg3 == NULL) SWIG_fail;
13037 temp3 = True;
13038 }
13039 }
13040 {
13041 PyThreadState* __tstate = wxPyBeginAllowThreads();
13042 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
13043
13044 wxPyEndAllowThreads(__tstate);
13045 if (PyErr_Occurred()) SWIG_fail;
13046 }
13047 {
13048#if wxUSE_UNICODE
13049 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13050#else
13051 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13052#endif
13053 }
13054 {
13055 if (temp1)
13056 delete arg1;
13057 }
13058 {
13059 if (temp2)
13060 delete arg2;
13061 }
13062 {
13063 if (temp3)
13064 delete arg3;
13065 }
13066 return resultobj;
13067 fail:
13068 {
13069 if (temp1)
13070 delete arg1;
13071 }
13072 {
13073 if (temp2)
13074 delete arg2;
13075 }
13076 {
13077 if (temp3)
13078 delete arg3;
13079 }
13080 return NULL;
13081}
13082
13083
13084static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
13085 PyObject *obj;
13086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13087 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
13088 Py_INCREF(obj);
13089 return Py_BuildValue((char *)"");
13090}
13091static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
13092 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
13093 return 1;
13094}
13095
13096
13097static PyObject *_wrap_TheMimeTypesManager_get() {
13098 PyObject *pyobj;
13099
13100 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
13101 return pyobj;
13102}
13103
13104
13105static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
13106 PyObject *resultobj;
13107 wxString *arg1 = 0 ;
13108 wxString *arg2 = 0 ;
13109 bool result;
13110 bool temp1 = False ;
13111 bool temp2 = False ;
13112 PyObject * obj0 = 0 ;
13113 PyObject * obj1 = 0 ;
13114 char *kwnames[] = {
13115 (char *) "mimeType",(char *) "wildcard", NULL
13116 };
13117
13118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
13119 {
13120 arg1 = wxString_in_helper(obj0);
13121 if (arg1 == NULL) SWIG_fail;
13122 temp1 = True;
13123 }
13124 {
13125 arg2 = wxString_in_helper(obj1);
13126 if (arg2 == NULL) SWIG_fail;
13127 temp2 = True;
13128 }
13129 {
13130 PyThreadState* __tstate = wxPyBeginAllowThreads();
13131 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
13132
13133 wxPyEndAllowThreads(__tstate);
13134 if (PyErr_Occurred()) SWIG_fail;
13135 }
13136 {
13137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13138 }
13139 {
13140 if (temp1)
13141 delete arg1;
13142 }
13143 {
13144 if (temp2)
13145 delete arg2;
13146 }
13147 return resultobj;
13148 fail:
13149 {
13150 if (temp1)
13151 delete arg1;
13152 }
13153 {
13154 if (temp2)
13155 delete arg2;
13156 }
13157 return NULL;
13158}
13159
13160
13161static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13162 PyObject *resultobj;
13163 wxMimeTypesManager *result;
13164 char *kwnames[] = {
13165 NULL
13166 };
13167
13168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
13169 {
13170 PyThreadState* __tstate = wxPyBeginAllowThreads();
13171 result = (wxMimeTypesManager *)new wxMimeTypesManager();
13172
13173 wxPyEndAllowThreads(__tstate);
13174 if (PyErr_Occurred()) SWIG_fail;
13175 }
13176 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
13177 return resultobj;
13178 fail:
13179 return NULL;
13180}
13181
13182
13183static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
13184 PyObject *resultobj;
13185 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13186 int arg2 = (int) wxMAILCAP_ALL ;
13187 wxString const &arg3_defvalue = wxPyEmptyString ;
13188 wxString *arg3 = (wxString *) &arg3_defvalue ;
13189 bool temp3 = False ;
13190 PyObject * obj0 = 0 ;
13191 PyObject * obj1 = 0 ;
13192 PyObject * obj2 = 0 ;
13193 char *kwnames[] = {
13194 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13195 };
13196
13197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13200 if (obj1) {
13201 arg2 = (int) SWIG_AsInt(obj1);
13202 if (PyErr_Occurred()) SWIG_fail;
13203 }
13204 if (obj2) {
13205 {
13206 arg3 = wxString_in_helper(obj2);
13207 if (arg3 == NULL) SWIG_fail;
13208 temp3 = True;
13209 }
13210 }
13211 {
13212 PyThreadState* __tstate = wxPyBeginAllowThreads();
13213 (arg1)->Initialize(arg2,(wxString const &)*arg3);
13214
13215 wxPyEndAllowThreads(__tstate);
13216 if (PyErr_Occurred()) SWIG_fail;
13217 }
13218 Py_INCREF(Py_None); resultobj = Py_None;
13219 {
13220 if (temp3)
13221 delete arg3;
13222 }
13223 return resultobj;
13224 fail:
13225 {
13226 if (temp3)
13227 delete arg3;
13228 }
13229 return NULL;
13230}
13231
13232
13233static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
13234 PyObject *resultobj;
13235 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13236 PyObject * obj0 = 0 ;
13237 char *kwnames[] = {
13238 (char *) "self", NULL
13239 };
13240
13241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
13242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13244 {
13245 PyThreadState* __tstate = wxPyBeginAllowThreads();
13246 (arg1)->ClearData();
13247
13248 wxPyEndAllowThreads(__tstate);
13249 if (PyErr_Occurred()) SWIG_fail;
13250 }
13251 Py_INCREF(Py_None); resultobj = Py_None;
13252 return resultobj;
13253 fail:
13254 return NULL;
13255}
13256
13257
13258static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
13259 PyObject *resultobj;
13260 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13261 wxString *arg2 = 0 ;
13262 wxFileType *result;
13263 bool temp2 = False ;
13264 PyObject * obj0 = 0 ;
13265 PyObject * obj1 = 0 ;
13266 char *kwnames[] = {
13267 (char *) "self",(char *) "ext", NULL
13268 };
13269
13270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
13271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13273 {
13274 arg2 = wxString_in_helper(obj1);
13275 if (arg2 == NULL) SWIG_fail;
13276 temp2 = True;
13277 }
13278 {
13279 PyThreadState* __tstate = wxPyBeginAllowThreads();
13280 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
13281
13282 wxPyEndAllowThreads(__tstate);
13283 if (PyErr_Occurred()) SWIG_fail;
13284 }
13285 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13286 {
13287 if (temp2)
13288 delete arg2;
13289 }
13290 return resultobj;
13291 fail:
13292 {
13293 if (temp2)
13294 delete arg2;
13295 }
13296 return NULL;
13297}
13298
13299
13300static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
13301 PyObject *resultobj;
13302 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13303 wxString *arg2 = 0 ;
13304 wxFileType *result;
13305 bool temp2 = False ;
13306 PyObject * obj0 = 0 ;
13307 PyObject * obj1 = 0 ;
13308 char *kwnames[] = {
13309 (char *) "self",(char *) "mimeType", NULL
13310 };
13311
13312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
13313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13315 {
13316 arg2 = wxString_in_helper(obj1);
13317 if (arg2 == NULL) SWIG_fail;
13318 temp2 = True;
13319 }
13320 {
13321 PyThreadState* __tstate = wxPyBeginAllowThreads();
13322 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
13323
13324 wxPyEndAllowThreads(__tstate);
13325 if (PyErr_Occurred()) SWIG_fail;
13326 }
13327 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13328 {
13329 if (temp2)
13330 delete arg2;
13331 }
13332 return resultobj;
13333 fail:
13334 {
13335 if (temp2)
13336 delete arg2;
13337 }
13338 return NULL;
13339}
13340
13341
13342static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
13343 PyObject *resultobj;
13344 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13345 wxString *arg2 = 0 ;
13346 bool arg3 = (bool) False ;
13347 bool result;
13348 bool temp2 = False ;
13349 PyObject * obj0 = 0 ;
13350 PyObject * obj1 = 0 ;
13351 PyObject * obj2 = 0 ;
13352 char *kwnames[] = {
13353 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13354 };
13355
13356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13359 {
13360 arg2 = wxString_in_helper(obj1);
13361 if (arg2 == NULL) SWIG_fail;
13362 temp2 = True;
13363 }
13364 if (obj2) {
13365 arg3 = (bool) SWIG_AsBool(obj2);
13366 if (PyErr_Occurred()) SWIG_fail;
13367 }
13368 {
13369 PyThreadState* __tstate = wxPyBeginAllowThreads();
13370 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
13371
13372 wxPyEndAllowThreads(__tstate);
13373 if (PyErr_Occurred()) SWIG_fail;
13374 }
13375 {
13376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13377 }
13378 {
13379 if (temp2)
13380 delete arg2;
13381 }
13382 return resultobj;
13383 fail:
13384 {
13385 if (temp2)
13386 delete arg2;
13387 }
13388 return NULL;
13389}
13390
13391
13392static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13393 PyObject *resultobj;
13394 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13395 wxString *arg2 = 0 ;
13396 bool result;
13397 bool temp2 = False ;
13398 PyObject * obj0 = 0 ;
13399 PyObject * obj1 = 0 ;
13400 char *kwnames[] = {
13401 (char *) "self",(char *) "filename", NULL
13402 };
13403
13404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
13405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13407 {
13408 arg2 = wxString_in_helper(obj1);
13409 if (arg2 == NULL) SWIG_fail;
13410 temp2 = True;
13411 }
13412 {
13413 PyThreadState* __tstate = wxPyBeginAllowThreads();
13414 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
13415
13416 wxPyEndAllowThreads(__tstate);
13417 if (PyErr_Occurred()) SWIG_fail;
13418 }
13419 {
13420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13421 }
13422 {
13423 if (temp2)
13424 delete arg2;
13425 }
13426 return resultobj;
13427 fail:
13428 {
13429 if (temp2)
13430 delete arg2;
13431 }
13432 return NULL;
13433}
13434
13435
13436static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13437 PyObject *resultobj;
13438 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13439 PyObject *result;
13440 PyObject * obj0 = 0 ;
13441 char *kwnames[] = {
13442 (char *) "self", NULL
13443 };
13444
13445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
13446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13448 {
13449 PyThreadState* __tstate = wxPyBeginAllowThreads();
13450 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
13451
13452 wxPyEndAllowThreads(__tstate);
13453 if (PyErr_Occurred()) SWIG_fail;
13454 }
13455 resultobj = result;
13456 return resultobj;
13457 fail:
13458 return NULL;
13459}
13460
13461
13462static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
13463 PyObject *resultobj;
13464 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13465 wxFileTypeInfo *arg2 = 0 ;
13466 PyObject * obj0 = 0 ;
13467 PyObject * obj1 = 0 ;
13468 char *kwnames[] = {
13469 (char *) "self",(char *) "ft", NULL
13470 };
13471
13472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
13473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13475 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13476 SWIG_POINTER_EXCEPTION | 0)) == -1)
13477 SWIG_fail;
13478 if (arg2 == NULL) {
13479 PyErr_SetString(PyExc_TypeError,"null reference");
13480 SWIG_fail;
13481 }
13482 {
13483 PyThreadState* __tstate = wxPyBeginAllowThreads();
13484 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
13485
13486 wxPyEndAllowThreads(__tstate);
13487 if (PyErr_Occurred()) SWIG_fail;
13488 }
13489 Py_INCREF(Py_None); resultobj = Py_None;
13490 return resultobj;
13491 fail:
13492 return NULL;
13493}
13494
13495
13496static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
13497 PyObject *resultobj;
13498 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13499 wxFileTypeInfo *arg2 = 0 ;
13500 wxFileType *result;
13501 PyObject * obj0 = 0 ;
13502 PyObject * obj1 = 0 ;
13503 char *kwnames[] = {
13504 (char *) "self",(char *) "ftInfo", NULL
13505 };
13506
13507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
13508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13510 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13511 SWIG_POINTER_EXCEPTION | 0)) == -1)
13512 SWIG_fail;
13513 if (arg2 == NULL) {
13514 PyErr_SetString(PyExc_TypeError,"null reference");
13515 SWIG_fail;
13516 }
13517 {
13518 PyThreadState* __tstate = wxPyBeginAllowThreads();
13519 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
13520
13521 wxPyEndAllowThreads(__tstate);
13522 if (PyErr_Occurred()) SWIG_fail;
13523 }
13524 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13525 return resultobj;
13526 fail:
13527 return NULL;
13528}
13529
13530
13531static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
13532 PyObject *resultobj;
13533 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13534 wxFileType *arg2 = (wxFileType *) 0 ;
13535 bool result;
13536 PyObject * obj0 = 0 ;
13537 PyObject * obj1 = 0 ;
13538 char *kwnames[] = {
13539 (char *) "self",(char *) "ft", NULL
13540 };
13541
13542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
13543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13545 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileType,
13546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13547 {
13548 PyThreadState* __tstate = wxPyBeginAllowThreads();
13549 result = (bool)(arg1)->Unassociate(arg2);
13550
13551 wxPyEndAllowThreads(__tstate);
13552 if (PyErr_Occurred()) SWIG_fail;
13553 }
13554 {
13555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13556 }
13557 return resultobj;
13558 fail:
13559 return NULL;
13560}
13561
13562
13563static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13564 PyObject *resultobj;
13565 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13566 PyObject * obj0 = 0 ;
13567 char *kwnames[] = {
13568 (char *) "self", NULL
13569 };
13570
13571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
13572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13574 {
13575 PyThreadState* __tstate = wxPyBeginAllowThreads();
13576 delete arg1;
13577
13578 wxPyEndAllowThreads(__tstate);
13579 if (PyErr_Occurred()) SWIG_fail;
13580 }
13581 Py_INCREF(Py_None); resultobj = Py_None;
13582 return resultobj;
13583 fail:
13584 return NULL;
13585}
13586
13587
13588static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
13589 PyObject *obj;
13590 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13591 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
13592 Py_INCREF(obj);
13593 return Py_BuildValue((char *)"");
13594}
13595static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
13596 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
13597 return 1;
13598}
13599
13600
13601static PyObject *_wrap_ART_TOOLBAR_get() {
13602 PyObject *pyobj;
13603
13604 {
13605#if wxUSE_UNICODE
13606 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13607#else
13608 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13609#endif
13610 }
13611 return pyobj;
13612}
13613
13614
13615static int _wrap_ART_MENU_set(PyObject *_val) {
13616 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
13617 return 1;
13618}
13619
13620
13621static PyObject *_wrap_ART_MENU_get() {
13622 PyObject *pyobj;
13623
13624 {
13625#if wxUSE_UNICODE
13626 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13627#else
13628 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13629#endif
13630 }
13631 return pyobj;
13632}
13633
13634
13635static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
13636 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
13637 return 1;
13638}
13639
13640
13641static PyObject *_wrap_ART_FRAME_ICON_get() {
13642 PyObject *pyobj;
13643
13644 {
13645#if wxUSE_UNICODE
13646 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13647#else
13648 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13649#endif
13650 }
13651 return pyobj;
13652}
13653
13654
13655static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
13656 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
13657 return 1;
13658}
13659
13660
13661static PyObject *_wrap_ART_CMN_DIALOG_get() {
13662 PyObject *pyobj;
13663
13664 {
13665#if wxUSE_UNICODE
13666 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13667#else
13668 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13669#endif
13670 }
13671 return pyobj;
13672}
13673
13674
13675static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
13676 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
13677 return 1;
13678}
13679
13680
13681static PyObject *_wrap_ART_HELP_BROWSER_get() {
13682 PyObject *pyobj;
13683
13684 {
13685#if wxUSE_UNICODE
13686 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13687#else
13688 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13689#endif
13690 }
13691 return pyobj;
13692}
13693
13694
13695static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
13696 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
13697 return 1;
13698}
13699
13700
13701static PyObject *_wrap_ART_MESSAGE_BOX_get() {
13702 PyObject *pyobj;
13703
13704 {
13705#if wxUSE_UNICODE
13706 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13707#else
13708 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13709#endif
13710 }
13711 return pyobj;
13712}
13713
13714
13715static int _wrap_ART_OTHER_set(PyObject *_val) {
13716 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
13717 return 1;
13718}
13719
13720
13721static PyObject *_wrap_ART_OTHER_get() {
13722 PyObject *pyobj;
13723
13724 {
13725#if wxUSE_UNICODE
13726 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13727#else
13728 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13729#endif
13730 }
13731 return pyobj;
13732}
13733
13734
13735static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
13736 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
13737 return 1;
13738}
13739
13740
13741static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
13742 PyObject *pyobj;
13743
13744 {
13745#if wxUSE_UNICODE
13746 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13747#else
13748 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13749#endif
13750 }
13751 return pyobj;
13752}
13753
13754
13755static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
13756 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
13757 return 1;
13758}
13759
13760
13761static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
13762 PyObject *pyobj;
13763
13764 {
13765#if wxUSE_UNICODE
13766 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13767#else
13768 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13769#endif
13770 }
13771 return pyobj;
13772}
13773
13774
13775static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
13776 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
13777 return 1;
13778}
13779
13780
13781static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
13782 PyObject *pyobj;
13783
13784 {
13785#if wxUSE_UNICODE
13786 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13787#else
13788 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13789#endif
13790 }
13791 return pyobj;
13792}
13793
13794
13795static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
13796 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
13797 return 1;
13798}
13799
13800
13801static PyObject *_wrap_ART_HELP_SETTINGS_get() {
13802 PyObject *pyobj;
13803
13804 {
13805#if wxUSE_UNICODE
13806 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13807#else
13808 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13809#endif
13810 }
13811 return pyobj;
13812}
13813
13814
13815static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
13816 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
13817 return 1;
13818}
13819
13820
13821static PyObject *_wrap_ART_HELP_BOOK_get() {
13822 PyObject *pyobj;
13823
13824 {
13825#if wxUSE_UNICODE
13826 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13827#else
13828 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13829#endif
13830 }
13831 return pyobj;
13832}
13833
13834
13835static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
13836 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
13837 return 1;
13838}
13839
13840
13841static PyObject *_wrap_ART_HELP_FOLDER_get() {
13842 PyObject *pyobj;
13843
13844 {
13845#if wxUSE_UNICODE
13846 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13847#else
13848 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13849#endif
13850 }
13851 return pyobj;
13852}
13853
13854
13855static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
13856 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
13857 return 1;
13858}
13859
13860
13861static PyObject *_wrap_ART_HELP_PAGE_get() {
13862 PyObject *pyobj;
13863
13864 {
13865#if wxUSE_UNICODE
13866 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13867#else
13868 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13869#endif
13870 }
13871 return pyobj;
13872}
13873
13874
13875static int _wrap_ART_GO_BACK_set(PyObject *_val) {
13876 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
13877 return 1;
13878}
13879
13880
13881static PyObject *_wrap_ART_GO_BACK_get() {
13882 PyObject *pyobj;
13883
13884 {
13885#if wxUSE_UNICODE
13886 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13887#else
13888 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13889#endif
13890 }
13891 return pyobj;
13892}
13893
13894
13895static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
13896 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
13897 return 1;
13898}
13899
13900
13901static PyObject *_wrap_ART_GO_FORWARD_get() {
13902 PyObject *pyobj;
13903
13904 {
13905#if wxUSE_UNICODE
13906 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13907#else
13908 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13909#endif
13910 }
13911 return pyobj;
13912}
13913
13914
13915static int _wrap_ART_GO_UP_set(PyObject *_val) {
13916 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
13917 return 1;
13918}
13919
13920
13921static PyObject *_wrap_ART_GO_UP_get() {
13922 PyObject *pyobj;
13923
13924 {
13925#if wxUSE_UNICODE
13926 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13927#else
13928 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13929#endif
13930 }
13931 return pyobj;
13932}
13933
13934
13935static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
13936 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
13937 return 1;
13938}
13939
13940
13941static PyObject *_wrap_ART_GO_DOWN_get() {
13942 PyObject *pyobj;
13943
13944 {
13945#if wxUSE_UNICODE
13946 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13947#else
13948 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13949#endif
13950 }
13951 return pyobj;
13952}
13953
13954
13955static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
13956 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
13957 return 1;
13958}
13959
13960
13961static PyObject *_wrap_ART_GO_TO_PARENT_get() {
13962 PyObject *pyobj;
13963
13964 {
13965#if wxUSE_UNICODE
13966 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13967#else
13968 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13969#endif
13970 }
13971 return pyobj;
13972}
13973
13974
13975static int _wrap_ART_GO_HOME_set(PyObject *_val) {
13976 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
13977 return 1;
13978}
13979
13980
13981static PyObject *_wrap_ART_GO_HOME_get() {
13982 PyObject *pyobj;
13983
13984 {
13985#if wxUSE_UNICODE
13986 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13987#else
13988 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13989#endif
13990 }
13991 return pyobj;
13992}
13993
13994
13995static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
13996 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
13997 return 1;
13998}
13999
14000
14001static PyObject *_wrap_ART_FILE_OPEN_get() {
14002 PyObject *pyobj;
14003
14004 {
14005#if wxUSE_UNICODE
14006 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
14007#else
14008 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
14009#endif
14010 }
14011 return pyobj;
14012}
14013
14014
14015static int _wrap_ART_PRINT_set(PyObject *_val) {
14016 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
14017 return 1;
14018}
14019
14020
14021static PyObject *_wrap_ART_PRINT_get() {
14022 PyObject *pyobj;
14023
14024 {
14025#if wxUSE_UNICODE
14026 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
14027#else
14028 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
14029#endif
14030 }
14031 return pyobj;
14032}
14033
14034
14035static int _wrap_ART_HELP_set(PyObject *_val) {
14036 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
14037 return 1;
14038}
14039
14040
14041static PyObject *_wrap_ART_HELP_get() {
14042 PyObject *pyobj;
14043
14044 {
14045#if wxUSE_UNICODE
14046 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
14047#else
14048 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
14049#endif
14050 }
14051 return pyobj;
14052}
14053
14054
14055static int _wrap_ART_TIP_set(PyObject *_val) {
14056 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
14057 return 1;
14058}
14059
14060
14061static PyObject *_wrap_ART_TIP_get() {
14062 PyObject *pyobj;
14063
14064 {
14065#if wxUSE_UNICODE
14066 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
14067#else
14068 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
14069#endif
14070 }
14071 return pyobj;
14072}
14073
14074
14075static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
14076 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
14077 return 1;
14078}
14079
14080
14081static PyObject *_wrap_ART_REPORT_VIEW_get() {
14082 PyObject *pyobj;
14083
14084 {
14085#if wxUSE_UNICODE
14086 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14087#else
14088 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14089#endif
14090 }
14091 return pyobj;
14092}
14093
14094
14095static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
14096 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
14097 return 1;
14098}
14099
14100
14101static PyObject *_wrap_ART_LIST_VIEW_get() {
14102 PyObject *pyobj;
14103
14104 {
14105#if wxUSE_UNICODE
14106 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14107#else
14108 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14109#endif
14110 }
14111 return pyobj;
14112}
14113
14114
14115static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
14116 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
14117 return 1;
14118}
14119
14120
14121static PyObject *_wrap_ART_NEW_DIR_get() {
14122 PyObject *pyobj;
14123
14124 {
14125#if wxUSE_UNICODE
14126 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14127#else
14128 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14129#endif
14130 }
14131 return pyobj;
14132}
14133
14134
14135static int _wrap_ART_FOLDER_set(PyObject *_val) {
14136 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
14137 return 1;
14138}
14139
14140
14141static PyObject *_wrap_ART_FOLDER_get() {
14142 PyObject *pyobj;
14143
14144 {
14145#if wxUSE_UNICODE
14146 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14147#else
14148 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14149#endif
14150 }
14151 return pyobj;
14152}
14153
14154
14155static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
14156 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
14157 return 1;
14158}
14159
14160
14161static PyObject *_wrap_ART_GO_DIR_UP_get() {
14162 PyObject *pyobj;
14163
14164 {
14165#if wxUSE_UNICODE
14166 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14167#else
14168 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14169#endif
14170 }
14171 return pyobj;
14172}
14173
14174
14175static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
14176 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
14177 return 1;
14178}
14179
14180
14181static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
14182 PyObject *pyobj;
14183
14184 {
14185#if wxUSE_UNICODE
14186 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14187#else
14188 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14189#endif
14190 }
14191 return pyobj;
14192}
14193
14194
14195static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
14196 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
14197 return 1;
14198}
14199
14200
14201static PyObject *_wrap_ART_NORMAL_FILE_get() {
14202 PyObject *pyobj;
14203
14204 {
14205#if wxUSE_UNICODE
14206 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14207#else
14208 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14209#endif
14210 }
14211 return pyobj;
14212}
14213
14214
14215static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
14216 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
14217 return 1;
14218}
14219
14220
14221static PyObject *_wrap_ART_TICK_MARK_get() {
14222 PyObject *pyobj;
14223
14224 {
14225#if wxUSE_UNICODE
14226 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14227#else
14228 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14229#endif
14230 }
14231 return pyobj;
14232}
14233
14234
14235static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
14236 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
14237 return 1;
14238}
14239
14240
14241static PyObject *_wrap_ART_CROSS_MARK_get() {
14242 PyObject *pyobj;
14243
14244 {
14245#if wxUSE_UNICODE
14246 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14247#else
14248 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14249#endif
14250 }
14251 return pyobj;
14252}
14253
14254
14255static int _wrap_ART_ERROR_set(PyObject *_val) {
14256 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
14257 return 1;
14258}
14259
14260
14261static PyObject *_wrap_ART_ERROR_get() {
14262 PyObject *pyobj;
14263
14264 {
14265#if wxUSE_UNICODE
14266 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14267#else
14268 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14269#endif
14270 }
14271 return pyobj;
14272}
14273
14274
14275static int _wrap_ART_QUESTION_set(PyObject *_val) {
14276 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
14277 return 1;
14278}
14279
14280
14281static PyObject *_wrap_ART_QUESTION_get() {
14282 PyObject *pyobj;
14283
14284 {
14285#if wxUSE_UNICODE
14286 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14287#else
14288 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14289#endif
14290 }
14291 return pyobj;
14292}
14293
14294
14295static int _wrap_ART_WARNING_set(PyObject *_val) {
14296 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
14297 return 1;
14298}
14299
14300
14301static PyObject *_wrap_ART_WARNING_get() {
14302 PyObject *pyobj;
14303
14304 {
14305#if wxUSE_UNICODE
14306 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14307#else
14308 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14309#endif
14310 }
14311 return pyobj;
14312}
14313
14314
14315static int _wrap_ART_INFORMATION_set(PyObject *_val) {
14316 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
14317 return 1;
14318}
14319
14320
14321static PyObject *_wrap_ART_INFORMATION_get() {
14322 PyObject *pyobj;
14323
14324 {
14325#if wxUSE_UNICODE
14326 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14327#else
14328 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14329#endif
14330 }
14331 return pyobj;
14332}
14333
14334
14335static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
14336 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
14337 return 1;
14338}
14339
14340
14341static PyObject *_wrap_ART_MISSING_IMAGE_get() {
14342 PyObject *pyobj;
14343
14344 {
14345#if wxUSE_UNICODE
14346 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14347#else
14348 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14349#endif
14350 }
14351 return pyobj;
14352}
14353
14354
14355static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14356 PyObject *resultobj;
14357 wxPyArtProvider *result;
14358 char *kwnames[] = {
14359 NULL
14360 };
14361
14362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
14363 {
0439c23b 14364 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14365 PyThreadState* __tstate = wxPyBeginAllowThreads();
14366 result = (wxPyArtProvider *)new wxPyArtProvider();
14367
14368 wxPyEndAllowThreads(__tstate);
0439c23b 14369 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14370 }
14371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
14372 return resultobj;
14373 fail:
14374 return NULL;
14375}
14376
14377
14378static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14379 PyObject *resultobj;
14380 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14381 PyObject *arg2 = (PyObject *) 0 ;
14382 PyObject *arg3 = (PyObject *) 0 ;
14383 PyObject * obj0 = 0 ;
14384 PyObject * obj1 = 0 ;
14385 PyObject * obj2 = 0 ;
14386 char *kwnames[] = {
14387 (char *) "self",(char *) "self",(char *) "_class", NULL
14388 };
14389
14390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14393 arg2 = obj1;
14394 arg3 = obj2;
14395 {
14396 PyThreadState* __tstate = wxPyBeginAllowThreads();
14397 (arg1)->_setCallbackInfo(arg2,arg3);
14398
14399 wxPyEndAllowThreads(__tstate);
14400 if (PyErr_Occurred()) SWIG_fail;
14401 }
14402 Py_INCREF(Py_None); resultobj = Py_None;
14403 return resultobj;
14404 fail:
14405 return NULL;
14406}
14407
14408
14409static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14410 PyObject *resultobj;
14411 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14412 PyObject * obj0 = 0 ;
14413 char *kwnames[] = {
14414 (char *) "provider", NULL
14415 };
14416
14417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
14418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14420 {
14421 PyThreadState* __tstate = wxPyBeginAllowThreads();
14422 wxPyArtProvider::PushProvider(arg1);
14423
14424 wxPyEndAllowThreads(__tstate);
14425 if (PyErr_Occurred()) SWIG_fail;
14426 }
14427 Py_INCREF(Py_None); resultobj = Py_None;
14428 return resultobj;
14429 fail:
14430 return NULL;
14431}
14432
14433
14434static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14435 PyObject *resultobj;
14436 bool result;
14437 char *kwnames[] = {
14438 NULL
14439 };
14440
14441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
14442 {
14443 PyThreadState* __tstate = wxPyBeginAllowThreads();
14444 result = (bool)wxPyArtProvider::PopProvider();
14445
14446 wxPyEndAllowThreads(__tstate);
14447 if (PyErr_Occurred()) SWIG_fail;
14448 }
14449 {
14450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14451 }
14452 return resultobj;
14453 fail:
14454 return NULL;
14455}
14456
14457
14458static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14459 PyObject *resultobj;
14460 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14461 bool result;
14462 PyObject * obj0 = 0 ;
14463 char *kwnames[] = {
14464 (char *) "provider", NULL
14465 };
14466
14467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
14468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14470 {
14471 PyThreadState* __tstate = wxPyBeginAllowThreads();
14472 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
14473
14474 wxPyEndAllowThreads(__tstate);
14475 if (PyErr_Occurred()) SWIG_fail;
14476 }
14477 {
14478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14479 }
14480 return resultobj;
14481 fail:
14482 return NULL;
14483}
14484
14485
14486static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14487 PyObject *resultobj;
14488 wxString *arg1 = 0 ;
14489 wxString const &arg2_defvalue = wxPyART_OTHER ;
14490 wxString *arg2 = (wxString *) &arg2_defvalue ;
14491 wxSize const &arg3_defvalue = wxDefaultSize ;
14492 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14493 wxBitmap result;
14494 bool temp1 = False ;
14495 bool temp2 = False ;
14496 wxSize temp3 ;
14497 PyObject * obj0 = 0 ;
14498 PyObject * obj1 = 0 ;
14499 PyObject * obj2 = 0 ;
14500 char *kwnames[] = {
14501 (char *) "id",(char *) "client",(char *) "size", NULL
14502 };
14503
14504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
14505 {
14506 arg1 = wxString_in_helper(obj0);
14507 if (arg1 == NULL) SWIG_fail;
14508 temp1 = True;
14509 }
14510 if (obj1) {
14511 {
14512 arg2 = wxString_in_helper(obj1);
14513 if (arg2 == NULL) SWIG_fail;
14514 temp2 = True;
14515 }
14516 }
14517 if (obj2) {
14518 {
14519 arg3 = &temp3;
14520 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14521 }
14522 }
14523 {
0439c23b 14524 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14525 PyThreadState* __tstate = wxPyBeginAllowThreads();
14526 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14527
14528 wxPyEndAllowThreads(__tstate);
0439c23b 14529 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14530 }
14531 {
14532 wxBitmap * resultptr;
14533 resultptr = new wxBitmap((wxBitmap &) result);
14534 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
14535 }
14536 {
14537 if (temp1)
14538 delete arg1;
14539 }
14540 {
14541 if (temp2)
14542 delete arg2;
14543 }
14544 return resultobj;
14545 fail:
14546 {
14547 if (temp1)
14548 delete arg1;
14549 }
14550 {
14551 if (temp2)
14552 delete arg2;
14553 }
14554 return NULL;
14555}
14556
14557
14558static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
14559 PyObject *resultobj;
14560 wxString *arg1 = 0 ;
14561 wxString const &arg2_defvalue = wxPyART_OTHER ;
14562 wxString *arg2 = (wxString *) &arg2_defvalue ;
14563 wxSize const &arg3_defvalue = wxDefaultSize ;
14564 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14565 wxIcon result;
14566 bool temp1 = False ;
14567 bool temp2 = False ;
14568 wxSize temp3 ;
14569 PyObject * obj0 = 0 ;
14570 PyObject * obj1 = 0 ;
14571 PyObject * obj2 = 0 ;
14572 char *kwnames[] = {
14573 (char *) "id",(char *) "client",(char *) "size", NULL
14574 };
14575
14576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
14577 {
14578 arg1 = wxString_in_helper(obj0);
14579 if (arg1 == NULL) SWIG_fail;
14580 temp1 = True;
14581 }
14582 if (obj1) {
14583 {
14584 arg2 = wxString_in_helper(obj1);
14585 if (arg2 == NULL) SWIG_fail;
14586 temp2 = True;
14587 }
14588 }
14589 if (obj2) {
14590 {
14591 arg3 = &temp3;
14592 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14593 }
14594 }
14595 {
0439c23b 14596 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14597 PyThreadState* __tstate = wxPyBeginAllowThreads();
14598 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14599
14600 wxPyEndAllowThreads(__tstate);
0439c23b 14601 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14602 }
14603 {
14604 wxIcon * resultptr;
14605 resultptr = new wxIcon((wxIcon &) result);
14606 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
14607 }
14608 {
14609 if (temp1)
14610 delete arg1;
14611 }
14612 {
14613 if (temp2)
14614 delete arg2;
14615 }
14616 return resultobj;
14617 fail:
14618 {
14619 if (temp1)
14620 delete arg1;
14621 }
14622 {
14623 if (temp2)
14624 delete arg2;
14625 }
14626 return NULL;
14627}
14628
14629
14630static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
14631 PyObject *resultobj;
14632 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14633 PyObject * obj0 = 0 ;
14634 char *kwnames[] = {
14635 (char *) "self", NULL
14636 };
14637
14638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
14639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14641 {
14642 PyThreadState* __tstate = wxPyBeginAllowThreads();
14643 wxPyArtProvider_Destroy(arg1);
14644
14645 wxPyEndAllowThreads(__tstate);
14646 if (PyErr_Occurred()) SWIG_fail;
14647 }
14648 Py_INCREF(Py_None); resultobj = Py_None;
14649 return resultobj;
14650 fail:
14651 return NULL;
14652}
14653
14654
14655static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
14656 PyObject *obj;
14657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14658 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
14659 Py_INCREF(obj);
14660 return Py_BuildValue((char *)"");
14661}
14662static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
14663 PyObject *resultobj;
14664 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14665 PyObject * obj0 = 0 ;
14666 char *kwnames[] = {
14667 (char *) "self", NULL
14668 };
14669
14670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
14671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14673 {
14674 PyThreadState* __tstate = wxPyBeginAllowThreads();
14675 delete arg1;
14676
14677 wxPyEndAllowThreads(__tstate);
14678 if (PyErr_Occurred()) SWIG_fail;
14679 }
14680 Py_INCREF(Py_None); resultobj = Py_None;
14681 return resultobj;
14682 fail:
14683 return NULL;
14684}
14685
14686
14687static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
14688 PyObject *resultobj;
14689 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14690 wxConfigBase *result;
14691 PyObject * obj0 = 0 ;
14692 char *kwnames[] = {
14693 (char *) "config", NULL
14694 };
14695
14696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
14697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14699 {
14700 PyThreadState* __tstate = wxPyBeginAllowThreads();
14701 result = (wxConfigBase *)wxConfigBase::Set(arg1);
14702
14703 wxPyEndAllowThreads(__tstate);
14704 if (PyErr_Occurred()) SWIG_fail;
14705 }
14706 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14707 return resultobj;
14708 fail:
14709 return NULL;
14710}
14711
14712
14713static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
14714 PyObject *resultobj;
14715 bool arg1 = (bool) True ;
14716 wxConfigBase *result;
14717 PyObject * obj0 = 0 ;
14718 char *kwnames[] = {
14719 (char *) "createOnDemand", NULL
14720 };
14721
14722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
14723 if (obj0) {
14724 arg1 = (bool) SWIG_AsBool(obj0);
14725 if (PyErr_Occurred()) SWIG_fail;
14726 }
14727 {
14728 PyThreadState* __tstate = wxPyBeginAllowThreads();
14729 result = (wxConfigBase *)wxConfigBase::Get(arg1);
14730
14731 wxPyEndAllowThreads(__tstate);
14732 if (PyErr_Occurred()) SWIG_fail;
14733 }
14734 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14735 return resultobj;
14736 fail:
14737 return NULL;
14738}
14739
14740
14741static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14742 PyObject *resultobj;
14743 wxConfigBase *result;
14744 char *kwnames[] = {
14745 NULL
14746 };
14747
14748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
14749 {
14750 PyThreadState* __tstate = wxPyBeginAllowThreads();
14751 result = (wxConfigBase *)wxConfigBase::Create();
14752
14753 wxPyEndAllowThreads(__tstate);
14754 if (PyErr_Occurred()) SWIG_fail;
14755 }
14756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14757 return resultobj;
14758 fail:
14759 return NULL;
14760}
14761
14762
14763static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
14764 PyObject *resultobj;
14765 char *kwnames[] = {
14766 NULL
14767 };
14768
14769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
14770 {
14771 PyThreadState* __tstate = wxPyBeginAllowThreads();
14772 wxConfigBase::DontCreateOnDemand();
14773
14774 wxPyEndAllowThreads(__tstate);
14775 if (PyErr_Occurred()) SWIG_fail;
14776 }
14777 Py_INCREF(Py_None); resultobj = Py_None;
14778 return resultobj;
14779 fail:
14780 return NULL;
14781}
14782
14783
14784static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14785 PyObject *resultobj;
14786 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14787 wxString *arg2 = 0 ;
14788 bool temp2 = False ;
14789 PyObject * obj0 = 0 ;
14790 PyObject * obj1 = 0 ;
14791 char *kwnames[] = {
14792 (char *) "self",(char *) "path", NULL
14793 };
14794
14795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
14796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14798 {
14799 arg2 = wxString_in_helper(obj1);
14800 if (arg2 == NULL) SWIG_fail;
14801 temp2 = True;
14802 }
14803 {
14804 PyThreadState* __tstate = wxPyBeginAllowThreads();
14805 (arg1)->SetPath((wxString const &)*arg2);
14806
14807 wxPyEndAllowThreads(__tstate);
14808 if (PyErr_Occurred()) SWIG_fail;
14809 }
14810 Py_INCREF(Py_None); resultobj = Py_None;
14811 {
14812 if (temp2)
14813 delete arg2;
14814 }
14815 return resultobj;
14816 fail:
14817 {
14818 if (temp2)
14819 delete arg2;
14820 }
14821 return NULL;
14822}
14823
14824
14825static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14826 PyObject *resultobj;
14827 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14828 wxString *result;
14829 PyObject * obj0 = 0 ;
14830 char *kwnames[] = {
14831 (char *) "self", NULL
14832 };
14833
14834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
14835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14837 {
14838 PyThreadState* __tstate = wxPyBeginAllowThreads();
14839 {
14840 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
14841 result = (wxString *) &_result_ref;
14842 }
14843
14844 wxPyEndAllowThreads(__tstate);
14845 if (PyErr_Occurred()) SWIG_fail;
14846 }
14847 {
14848#if wxUSE_UNICODE
14849 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14850#else
14851 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14852#endif
14853 }
14854 return resultobj;
14855 fail:
14856 return NULL;
14857}
14858
14859
14860static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14861 PyObject *resultobj;
14862 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14863 PyObject *result;
14864 PyObject * obj0 = 0 ;
14865 char *kwnames[] = {
14866 (char *) "self", NULL
14867 };
14868
14869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
14870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14872 {
14873 PyThreadState* __tstate = wxPyBeginAllowThreads();
14874 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
14875
14876 wxPyEndAllowThreads(__tstate);
14877 if (PyErr_Occurred()) SWIG_fail;
14878 }
14879 resultobj = result;
14880 return resultobj;
14881 fail:
14882 return NULL;
14883}
14884
14885
14886static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14887 PyObject *resultobj;
14888 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14889 long arg2 ;
14890 PyObject *result;
14891 PyObject * obj0 = 0 ;
14892 PyObject * obj1 = 0 ;
14893 char *kwnames[] = {
14894 (char *) "self",(char *) "index", NULL
14895 };
14896
14897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
14898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14900 arg2 = (long) SWIG_AsLong(obj1);
14901 if (PyErr_Occurred()) SWIG_fail;
14902 {
14903 PyThreadState* __tstate = wxPyBeginAllowThreads();
14904 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
14905
14906 wxPyEndAllowThreads(__tstate);
14907 if (PyErr_Occurred()) SWIG_fail;
14908 }
14909 resultobj = result;
14910 return resultobj;
14911 fail:
14912 return NULL;
14913}
14914
14915
14916static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14917 PyObject *resultobj;
14918 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14919 PyObject *result;
14920 PyObject * obj0 = 0 ;
14921 char *kwnames[] = {
14922 (char *) "self", NULL
14923 };
14924
14925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
14926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14928 {
14929 PyThreadState* __tstate = wxPyBeginAllowThreads();
14930 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
14931
14932 wxPyEndAllowThreads(__tstate);
14933 if (PyErr_Occurred()) SWIG_fail;
14934 }
14935 resultobj = result;
14936 return resultobj;
14937 fail:
14938 return NULL;
14939}
14940
14941
14942static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14943 PyObject *resultobj;
14944 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14945 long arg2 ;
14946 PyObject *result;
14947 PyObject * obj0 = 0 ;
14948 PyObject * obj1 = 0 ;
14949 char *kwnames[] = {
14950 (char *) "self",(char *) "index", NULL
14951 };
14952
14953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
14954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14956 arg2 = (long) SWIG_AsLong(obj1);
14957 if (PyErr_Occurred()) SWIG_fail;
14958 {
14959 PyThreadState* __tstate = wxPyBeginAllowThreads();
14960 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
14961
14962 wxPyEndAllowThreads(__tstate);
14963 if (PyErr_Occurred()) SWIG_fail;
14964 }
14965 resultobj = result;
14966 return resultobj;
14967 fail:
14968 return NULL;
14969}
14970
14971
14972static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
14973 PyObject *resultobj;
14974 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14975 bool arg2 = (bool) False ;
14976 size_t result;
14977 PyObject * obj0 = 0 ;
14978 PyObject * obj1 = 0 ;
14979 char *kwnames[] = {
14980 (char *) "self",(char *) "recursive", NULL
14981 };
14982
14983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
14984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14986 if (obj1) {
14987 arg2 = (bool) SWIG_AsBool(obj1);
14988 if (PyErr_Occurred()) SWIG_fail;
14989 }
14990 {
14991 PyThreadState* __tstate = wxPyBeginAllowThreads();
14992 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
14993
14994 wxPyEndAllowThreads(__tstate);
14995 if (PyErr_Occurred()) SWIG_fail;
14996 }
14997 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
14998 return resultobj;
14999 fail:
15000 return NULL;
15001}
15002
15003
15004static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
15005 PyObject *resultobj;
15006 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15007 bool arg2 = (bool) False ;
15008 size_t result;
15009 PyObject * obj0 = 0 ;
15010 PyObject * obj1 = 0 ;
15011 char *kwnames[] = {
15012 (char *) "self",(char *) "recursive", NULL
15013 };
15014
15015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
15016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15018 if (obj1) {
15019 arg2 = (bool) SWIG_AsBool(obj1);
15020 if (PyErr_Occurred()) SWIG_fail;
15021 }
15022 {
15023 PyThreadState* __tstate = wxPyBeginAllowThreads();
15024 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
15025
15026 wxPyEndAllowThreads(__tstate);
15027 if (PyErr_Occurred()) SWIG_fail;
15028 }
15029 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
15030 return resultobj;
15031 fail:
15032 return NULL;
15033}
15034
15035
15036static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15037 PyObject *resultobj;
15038 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15039 wxString *arg2 = 0 ;
15040 bool result;
15041 bool temp2 = False ;
15042 PyObject * obj0 = 0 ;
15043 PyObject * obj1 = 0 ;
15044 char *kwnames[] = {
15045 (char *) "self",(char *) "name", NULL
15046 };
15047
15048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
15049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15051 {
15052 arg2 = wxString_in_helper(obj1);
15053 if (arg2 == NULL) SWIG_fail;
15054 temp2 = True;
15055 }
15056 {
15057 PyThreadState* __tstate = wxPyBeginAllowThreads();
15058 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
15059
15060 wxPyEndAllowThreads(__tstate);
15061 if (PyErr_Occurred()) SWIG_fail;
15062 }
15063 {
15064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15065 }
15066 {
15067 if (temp2)
15068 delete arg2;
15069 }
15070 return resultobj;
15071 fail:
15072 {
15073 if (temp2)
15074 delete arg2;
15075 }
15076 return NULL;
15077}
15078
15079
15080static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15081 PyObject *resultobj;
15082 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15083 wxString *arg2 = 0 ;
15084 bool result;
15085 bool temp2 = False ;
15086 PyObject * obj0 = 0 ;
15087 PyObject * obj1 = 0 ;
15088 char *kwnames[] = {
15089 (char *) "self",(char *) "name", NULL
15090 };
15091
15092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
15093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15095 {
15096 arg2 = wxString_in_helper(obj1);
15097 if (arg2 == NULL) SWIG_fail;
15098 temp2 = True;
15099 }
15100 {
15101 PyThreadState* __tstate = wxPyBeginAllowThreads();
15102 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
15103
15104 wxPyEndAllowThreads(__tstate);
15105 if (PyErr_Occurred()) SWIG_fail;
15106 }
15107 {
15108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15109 }
15110 {
15111 if (temp2)
15112 delete arg2;
15113 }
15114 return resultobj;
15115 fail:
15116 {
15117 if (temp2)
15118 delete arg2;
15119 }
15120 return NULL;
15121}
15122
15123
15124static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
15125 PyObject *resultobj;
15126 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15127 wxString *arg2 = 0 ;
15128 bool result;
15129 bool temp2 = False ;
15130 PyObject * obj0 = 0 ;
15131 PyObject * obj1 = 0 ;
15132 char *kwnames[] = {
15133 (char *) "self",(char *) "name", NULL
15134 };
15135
15136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
15137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15139 {
15140 arg2 = wxString_in_helper(obj1);
15141 if (arg2 == NULL) SWIG_fail;
15142 temp2 = True;
15143 }
15144 {
15145 PyThreadState* __tstate = wxPyBeginAllowThreads();
15146 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
15147
15148 wxPyEndAllowThreads(__tstate);
15149 if (PyErr_Occurred()) SWIG_fail;
15150 }
15151 {
15152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15153 }
15154 {
15155 if (temp2)
15156 delete arg2;
15157 }
15158 return resultobj;
15159 fail:
15160 {
15161 if (temp2)
15162 delete arg2;
15163 }
15164 return NULL;
15165}
15166
15167
15168static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
15169 PyObject *resultobj;
15170 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15171 wxString *arg2 = 0 ;
15172 int result;
15173 bool temp2 = False ;
15174 PyObject * obj0 = 0 ;
15175 PyObject * obj1 = 0 ;
15176 char *kwnames[] = {
15177 (char *) "self",(char *) "name", NULL
15178 };
15179
15180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
15181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15183 {
15184 arg2 = wxString_in_helper(obj1);
15185 if (arg2 == NULL) SWIG_fail;
15186 temp2 = True;
15187 }
15188 {
15189 PyThreadState* __tstate = wxPyBeginAllowThreads();
15190 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
15191
15192 wxPyEndAllowThreads(__tstate);
15193 if (PyErr_Occurred()) SWIG_fail;
15194 }
15195 resultobj = SWIG_FromInt((int)result);
15196 {
15197 if (temp2)
15198 delete arg2;
15199 }
15200 return resultobj;
15201 fail:
15202 {
15203 if (temp2)
15204 delete arg2;
15205 }
15206 return NULL;
15207}
15208
15209
15210static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
15211 PyObject *resultobj;
15212 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15213 wxString *arg2 = 0 ;
15214 wxString const &arg3_defvalue = wxPyEmptyString ;
15215 wxString *arg3 = (wxString *) &arg3_defvalue ;
15216 wxString result;
15217 bool temp2 = False ;
15218 bool temp3 = False ;
15219 PyObject * obj0 = 0 ;
15220 PyObject * obj1 = 0 ;
15221 PyObject * obj2 = 0 ;
15222 char *kwnames[] = {
15223 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15224 };
15225
15226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
15227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15229 {
15230 arg2 = wxString_in_helper(obj1);
15231 if (arg2 == NULL) SWIG_fail;
15232 temp2 = True;
15233 }
15234 if (obj2) {
15235 {
15236 arg3 = wxString_in_helper(obj2);
15237 if (arg3 == NULL) SWIG_fail;
15238 temp3 = True;
15239 }
15240 }
15241 {
15242 PyThreadState* __tstate = wxPyBeginAllowThreads();
15243 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
15244
15245 wxPyEndAllowThreads(__tstate);
15246 if (PyErr_Occurred()) SWIG_fail;
15247 }
15248 {
15249#if wxUSE_UNICODE
15250 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15251#else
15252 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15253#endif
15254 }
15255 {
15256 if (temp2)
15257 delete arg2;
15258 }
15259 {
15260 if (temp3)
15261 delete arg3;
15262 }
15263 return resultobj;
15264 fail:
15265 {
15266 if (temp2)
15267 delete arg2;
15268 }
15269 {
15270 if (temp3)
15271 delete arg3;
15272 }
15273 return NULL;
15274}
15275
15276
15277static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15278 PyObject *resultobj;
15279 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15280 wxString *arg2 = 0 ;
15281 long arg3 = (long) 0 ;
15282 long result;
15283 bool temp2 = False ;
15284 PyObject * obj0 = 0 ;
15285 PyObject * obj1 = 0 ;
15286 PyObject * obj2 = 0 ;
15287 char *kwnames[] = {
15288 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15289 };
15290
15291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15294 {
15295 arg2 = wxString_in_helper(obj1);
15296 if (arg2 == NULL) SWIG_fail;
15297 temp2 = True;
15298 }
15299 if (obj2) {
15300 arg3 = (long) SWIG_AsLong(obj2);
15301 if (PyErr_Occurred()) SWIG_fail;
15302 }
15303 {
15304 PyThreadState* __tstate = wxPyBeginAllowThreads();
15305 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
15306
15307 wxPyEndAllowThreads(__tstate);
15308 if (PyErr_Occurred()) SWIG_fail;
15309 }
15310 resultobj = SWIG_FromLong((long)result);
15311 {
15312 if (temp2)
15313 delete arg2;
15314 }
15315 return resultobj;
15316 fail:
15317 {
15318 if (temp2)
15319 delete arg2;
15320 }
15321 return NULL;
15322}
15323
15324
15325static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15326 PyObject *resultobj;
15327 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15328 wxString *arg2 = 0 ;
15329 double arg3 = (double) 0.0 ;
15330 double result;
15331 bool temp2 = False ;
15332 PyObject * obj0 = 0 ;
15333 PyObject * obj1 = 0 ;
15334 PyObject * obj2 = 0 ;
15335 char *kwnames[] = {
15336 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15337 };
15338
15339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15342 {
15343 arg2 = wxString_in_helper(obj1);
15344 if (arg2 == NULL) SWIG_fail;
15345 temp2 = True;
15346 }
15347 if (obj2) {
15348 arg3 = (double) SWIG_AsDouble(obj2);
15349 if (PyErr_Occurred()) SWIG_fail;
15350 }
15351 {
15352 PyThreadState* __tstate = wxPyBeginAllowThreads();
15353 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
15354
15355 wxPyEndAllowThreads(__tstate);
15356 if (PyErr_Occurred()) SWIG_fail;
15357 }
15358 resultobj = SWIG_FromDouble((double)result);
15359 {
15360 if (temp2)
15361 delete arg2;
15362 }
15363 return resultobj;
15364 fail:
15365 {
15366 if (temp2)
15367 delete arg2;
15368 }
15369 return NULL;
15370}
15371
15372
15373static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15374 PyObject *resultobj;
15375 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15376 wxString *arg2 = 0 ;
15377 bool arg3 = (bool) False ;
15378 bool result;
15379 bool temp2 = False ;
15380 PyObject * obj0 = 0 ;
15381 PyObject * obj1 = 0 ;
15382 PyObject * obj2 = 0 ;
15383 char *kwnames[] = {
15384 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15385 };
15386
15387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15390 {
15391 arg2 = wxString_in_helper(obj1);
15392 if (arg2 == NULL) SWIG_fail;
15393 temp2 = True;
15394 }
15395 if (obj2) {
15396 arg3 = (bool) SWIG_AsBool(obj2);
15397 if (PyErr_Occurred()) SWIG_fail;
15398 }
15399 {
15400 PyThreadState* __tstate = wxPyBeginAllowThreads();
15401 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
15402
15403 wxPyEndAllowThreads(__tstate);
15404 if (PyErr_Occurred()) SWIG_fail;
15405 }
15406 {
15407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15408 }
15409 {
15410 if (temp2)
15411 delete arg2;
15412 }
15413 return resultobj;
15414 fail:
15415 {
15416 if (temp2)
15417 delete arg2;
15418 }
15419 return NULL;
15420}
15421
15422
15423static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
15424 PyObject *resultobj;
15425 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15426 wxString *arg2 = 0 ;
15427 wxString *arg3 = 0 ;
15428 bool result;
15429 bool temp2 = False ;
15430 bool temp3 = False ;
15431 PyObject * obj0 = 0 ;
15432 PyObject * obj1 = 0 ;
15433 PyObject * obj2 = 0 ;
15434 char *kwnames[] = {
15435 (char *) "self",(char *) "key",(char *) "value", NULL
15436 };
15437
15438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
15439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15441 {
15442 arg2 = wxString_in_helper(obj1);
15443 if (arg2 == NULL) SWIG_fail;
15444 temp2 = True;
15445 }
15446 {
15447 arg3 = wxString_in_helper(obj2);
15448 if (arg3 == NULL) SWIG_fail;
15449 temp3 = True;
15450 }
15451 {
15452 PyThreadState* __tstate = wxPyBeginAllowThreads();
15453 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
15454
15455 wxPyEndAllowThreads(__tstate);
15456 if (PyErr_Occurred()) SWIG_fail;
15457 }
15458 {
15459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15460 }
15461 {
15462 if (temp2)
15463 delete arg2;
15464 }
15465 {
15466 if (temp3)
15467 delete arg3;
15468 }
15469 return resultobj;
15470 fail:
15471 {
15472 if (temp2)
15473 delete arg2;
15474 }
15475 {
15476 if (temp3)
15477 delete arg3;
15478 }
15479 return NULL;
15480}
15481
15482
15483static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15484 PyObject *resultobj;
15485 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15486 wxString *arg2 = 0 ;
15487 long arg3 ;
15488 bool result;
15489 bool temp2 = False ;
15490 PyObject * obj0 = 0 ;
15491 PyObject * obj1 = 0 ;
15492 PyObject * obj2 = 0 ;
15493 char *kwnames[] = {
15494 (char *) "self",(char *) "key",(char *) "value", NULL
15495 };
15496
15497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15500 {
15501 arg2 = wxString_in_helper(obj1);
15502 if (arg2 == NULL) SWIG_fail;
15503 temp2 = True;
15504 }
15505 arg3 = (long) SWIG_AsLong(obj2);
15506 if (PyErr_Occurred()) SWIG_fail;
15507 {
15508 PyThreadState* __tstate = wxPyBeginAllowThreads();
15509 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15510
15511 wxPyEndAllowThreads(__tstate);
15512 if (PyErr_Occurred()) SWIG_fail;
15513 }
15514 {
15515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15516 }
15517 {
15518 if (temp2)
15519 delete arg2;
15520 }
15521 return resultobj;
15522 fail:
15523 {
15524 if (temp2)
15525 delete arg2;
15526 }
15527 return NULL;
15528}
15529
15530
15531static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15532 PyObject *resultobj;
15533 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15534 wxString *arg2 = 0 ;
15535 double arg3 ;
15536 bool result;
15537 bool temp2 = False ;
15538 PyObject * obj0 = 0 ;
15539 PyObject * obj1 = 0 ;
15540 PyObject * obj2 = 0 ;
15541 char *kwnames[] = {
15542 (char *) "self",(char *) "key",(char *) "value", NULL
15543 };
15544
15545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15548 {
15549 arg2 = wxString_in_helper(obj1);
15550 if (arg2 == NULL) SWIG_fail;
15551 temp2 = True;
15552 }
15553 arg3 = (double) SWIG_AsDouble(obj2);
15554 if (PyErr_Occurred()) SWIG_fail;
15555 {
15556 PyThreadState* __tstate = wxPyBeginAllowThreads();
15557 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15558
15559 wxPyEndAllowThreads(__tstate);
15560 if (PyErr_Occurred()) SWIG_fail;
15561 }
15562 {
15563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15564 }
15565 {
15566 if (temp2)
15567 delete arg2;
15568 }
15569 return resultobj;
15570 fail:
15571 {
15572 if (temp2)
15573 delete arg2;
15574 }
15575 return NULL;
15576}
15577
15578
15579static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15580 PyObject *resultobj;
15581 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15582 wxString *arg2 = 0 ;
15583 bool arg3 ;
15584 bool result;
15585 bool temp2 = False ;
15586 PyObject * obj0 = 0 ;
15587 PyObject * obj1 = 0 ;
15588 PyObject * obj2 = 0 ;
15589 char *kwnames[] = {
15590 (char *) "self",(char *) "key",(char *) "value", NULL
15591 };
15592
15593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15596 {
15597 arg2 = wxString_in_helper(obj1);
15598 if (arg2 == NULL) SWIG_fail;
15599 temp2 = True;
15600 }
15601 arg3 = (bool) SWIG_AsBool(obj2);
15602 if (PyErr_Occurred()) SWIG_fail;
15603 {
15604 PyThreadState* __tstate = wxPyBeginAllowThreads();
15605 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15606
15607 wxPyEndAllowThreads(__tstate);
15608 if (PyErr_Occurred()) SWIG_fail;
15609 }
15610 {
15611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15612 }
15613 {
15614 if (temp2)
15615 delete arg2;
15616 }
15617 return resultobj;
15618 fail:
15619 {
15620 if (temp2)
15621 delete arg2;
15622 }
15623 return NULL;
15624}
15625
15626
15627static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
15628 PyObject *resultobj;
15629 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15630 bool arg2 = (bool) False ;
15631 bool result;
15632 PyObject * obj0 = 0 ;
15633 PyObject * obj1 = 0 ;
15634 char *kwnames[] = {
15635 (char *) "self",(char *) "currentOnly", NULL
15636 };
15637
15638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
15639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15641 if (obj1) {
15642 arg2 = (bool) SWIG_AsBool(obj1);
15643 if (PyErr_Occurred()) SWIG_fail;
15644 }
15645 {
15646 PyThreadState* __tstate = wxPyBeginAllowThreads();
15647 result = (bool)(arg1)->Flush(arg2);
15648
15649 wxPyEndAllowThreads(__tstate);
15650 if (PyErr_Occurred()) SWIG_fail;
15651 }
15652 {
15653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15654 }
15655 return resultobj;
15656 fail:
15657 return NULL;
15658}
15659
15660
15661static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15662 PyObject *resultobj;
15663 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15664 wxString *arg2 = 0 ;
15665 wxString *arg3 = 0 ;
15666 bool result;
15667 bool temp2 = False ;
15668 bool temp3 = False ;
15669 PyObject * obj0 = 0 ;
15670 PyObject * obj1 = 0 ;
15671 PyObject * obj2 = 0 ;
15672 char *kwnames[] = {
15673 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15674 };
15675
15676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15679 {
15680 arg2 = wxString_in_helper(obj1);
15681 if (arg2 == NULL) SWIG_fail;
15682 temp2 = True;
15683 }
15684 {
15685 arg3 = wxString_in_helper(obj2);
15686 if (arg3 == NULL) SWIG_fail;
15687 temp3 = True;
15688 }
15689 {
15690 PyThreadState* __tstate = wxPyBeginAllowThreads();
15691 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
15692
15693 wxPyEndAllowThreads(__tstate);
15694 if (PyErr_Occurred()) SWIG_fail;
15695 }
15696 {
15697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15698 }
15699 {
15700 if (temp2)
15701 delete arg2;
15702 }
15703 {
15704 if (temp3)
15705 delete arg3;
15706 }
15707 return resultobj;
15708 fail:
15709 {
15710 if (temp2)
15711 delete arg2;
15712 }
15713 {
15714 if (temp3)
15715 delete arg3;
15716 }
15717 return NULL;
15718}
15719
15720
15721static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15722 PyObject *resultobj;
15723 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15724 wxString *arg2 = 0 ;
15725 wxString *arg3 = 0 ;
15726 bool result;
15727 bool temp2 = False ;
15728 bool temp3 = False ;
15729 PyObject * obj0 = 0 ;
15730 PyObject * obj1 = 0 ;
15731 PyObject * obj2 = 0 ;
15732 char *kwnames[] = {
15733 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15734 };
15735
15736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
15737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15739 {
15740 arg2 = wxString_in_helper(obj1);
15741 if (arg2 == NULL) SWIG_fail;
15742 temp2 = True;
15743 }
15744 {
15745 arg3 = wxString_in_helper(obj2);
15746 if (arg3 == NULL) SWIG_fail;
15747 temp3 = True;
15748 }
15749 {
15750 PyThreadState* __tstate = wxPyBeginAllowThreads();
15751 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
15752
15753 wxPyEndAllowThreads(__tstate);
15754 if (PyErr_Occurred()) SWIG_fail;
15755 }
15756 {
15757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15758 }
15759 {
15760 if (temp2)
15761 delete arg2;
15762 }
15763 {
15764 if (temp3)
15765 delete arg3;
15766 }
15767 return resultobj;
15768 fail:
15769 {
15770 if (temp2)
15771 delete arg2;
15772 }
15773 {
15774 if (temp3)
15775 delete arg3;
15776 }
15777 return NULL;
15778}
15779
15780
15781static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15782 PyObject *resultobj;
15783 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15784 wxString *arg2 = 0 ;
15785 bool arg3 = (bool) True ;
15786 bool result;
15787 bool temp2 = False ;
15788 PyObject * obj0 = 0 ;
15789 PyObject * obj1 = 0 ;
15790 PyObject * obj2 = 0 ;
15791 char *kwnames[] = {
15792 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15793 };
15794
15795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15798 {
15799 arg2 = wxString_in_helper(obj1);
15800 if (arg2 == NULL) SWIG_fail;
15801 temp2 = True;
15802 }
15803 if (obj2) {
15804 arg3 = (bool) SWIG_AsBool(obj2);
15805 if (PyErr_Occurred()) SWIG_fail;
15806 }
15807 {
15808 PyThreadState* __tstate = wxPyBeginAllowThreads();
15809 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
15810
15811 wxPyEndAllowThreads(__tstate);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 }
15814 {
15815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15816 }
15817 {
15818 if (temp2)
15819 delete arg2;
15820 }
15821 return resultobj;
15822 fail:
15823 {
15824 if (temp2)
15825 delete arg2;
15826 }
15827 return NULL;
15828}
15829
15830
15831static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15832 PyObject *resultobj;
15833 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15834 wxString *arg2 = 0 ;
15835 bool result;
15836 bool temp2 = False ;
15837 PyObject * obj0 = 0 ;
15838 PyObject * obj1 = 0 ;
15839 char *kwnames[] = {
15840 (char *) "self",(char *) "key", NULL
15841 };
15842
15843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
15844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15846 {
15847 arg2 = wxString_in_helper(obj1);
15848 if (arg2 == NULL) SWIG_fail;
15849 temp2 = True;
15850 }
15851 {
15852 PyThreadState* __tstate = wxPyBeginAllowThreads();
15853 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
15854
15855 wxPyEndAllowThreads(__tstate);
15856 if (PyErr_Occurred()) SWIG_fail;
15857 }
15858 {
15859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15860 }
15861 {
15862 if (temp2)
15863 delete arg2;
15864 }
15865 return resultobj;
15866 fail:
15867 {
15868 if (temp2)
15869 delete arg2;
15870 }
15871 return NULL;
15872}
15873
15874
15875static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
15876 PyObject *resultobj;
15877 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15878 bool result;
15879 PyObject * obj0 = 0 ;
15880 char *kwnames[] = {
15881 (char *) "self", NULL
15882 };
15883
15884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
15885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15887 {
15888 PyThreadState* __tstate = wxPyBeginAllowThreads();
15889 result = (bool)(arg1)->DeleteAll();
15890
15891 wxPyEndAllowThreads(__tstate);
15892 if (PyErr_Occurred()) SWIG_fail;
15893 }
15894 {
15895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15896 }
15897 return resultobj;
15898 fail:
15899 return NULL;
15900}
15901
15902
15903static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15904 PyObject *resultobj;
15905 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15906 bool arg2 = (bool) True ;
15907 PyObject * obj0 = 0 ;
15908 PyObject * obj1 = 0 ;
15909 char *kwnames[] = {
15910 (char *) "self",(char *) "doIt", NULL
15911 };
15912
15913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15916 if (obj1) {
15917 arg2 = (bool) SWIG_AsBool(obj1);
15918 if (PyErr_Occurred()) SWIG_fail;
15919 }
15920 {
15921 PyThreadState* __tstate = wxPyBeginAllowThreads();
15922 (arg1)->SetExpandEnvVars(arg2);
15923
15924 wxPyEndAllowThreads(__tstate);
15925 if (PyErr_Occurred()) SWIG_fail;
15926 }
15927 Py_INCREF(Py_None); resultobj = Py_None;
15928 return resultobj;
15929 fail:
15930 return NULL;
15931}
15932
15933
15934static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15935 PyObject *resultobj;
15936 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15937 bool result;
15938 PyObject * obj0 = 0 ;
15939 char *kwnames[] = {
15940 (char *) "self", NULL
15941 };
15942
15943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
15944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15946 {
15947 PyThreadState* __tstate = wxPyBeginAllowThreads();
15948 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
15949
15950 wxPyEndAllowThreads(__tstate);
15951 if (PyErr_Occurred()) SWIG_fail;
15952 }
15953 {
15954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15955 }
15956 return resultobj;
15957 fail:
15958 return NULL;
15959}
15960
15961
15962static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
15963 PyObject *resultobj;
15964 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15965 bool arg2 = (bool) True ;
15966 PyObject * obj0 = 0 ;
15967 PyObject * obj1 = 0 ;
15968 char *kwnames[] = {
15969 (char *) "self",(char *) "doIt", NULL
15970 };
15971
15972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
15973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15975 if (obj1) {
15976 arg2 = (bool) SWIG_AsBool(obj1);
15977 if (PyErr_Occurred()) SWIG_fail;
15978 }
15979 {
15980 PyThreadState* __tstate = wxPyBeginAllowThreads();
15981 (arg1)->SetRecordDefaults(arg2);
15982
15983 wxPyEndAllowThreads(__tstate);
15984 if (PyErr_Occurred()) SWIG_fail;
15985 }
15986 Py_INCREF(Py_None); resultobj = Py_None;
15987 return resultobj;
15988 fail:
15989 return NULL;
15990}
15991
15992
15993static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
15994 PyObject *resultobj;
15995 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15996 bool result;
15997 PyObject * obj0 = 0 ;
15998 char *kwnames[] = {
15999 (char *) "self", NULL
16000 };
16001
16002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
16003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16005 {
16006 PyThreadState* __tstate = wxPyBeginAllowThreads();
16007 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
16008
16009 wxPyEndAllowThreads(__tstate);
16010 if (PyErr_Occurred()) SWIG_fail;
16011 }
16012 {
16013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16014 }
16015 return resultobj;
16016 fail:
16017 return NULL;
16018}
16019
16020
16021static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16022 PyObject *resultobj;
16023 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16024 wxString *arg2 = 0 ;
16025 wxString result;
16026 bool temp2 = False ;
16027 PyObject * obj0 = 0 ;
16028 PyObject * obj1 = 0 ;
16029 char *kwnames[] = {
16030 (char *) "self",(char *) "str", NULL
16031 };
16032
16033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
16034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16036 {
16037 arg2 = wxString_in_helper(obj1);
16038 if (arg2 == NULL) SWIG_fail;
16039 temp2 = True;
16040 }
16041 {
16042 PyThreadState* __tstate = wxPyBeginAllowThreads();
16043 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
16044
16045 wxPyEndAllowThreads(__tstate);
16046 if (PyErr_Occurred()) SWIG_fail;
16047 }
16048 {
16049#if wxUSE_UNICODE
16050 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16051#else
16052 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16053#endif
16054 }
16055 {
16056 if (temp2)
16057 delete arg2;
16058 }
16059 return resultobj;
16060 fail:
16061 {
16062 if (temp2)
16063 delete arg2;
16064 }
16065 return NULL;
16066}
16067
16068
16069static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
16070 PyObject *resultobj;
16071 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16072 wxString result;
16073 PyObject * obj0 = 0 ;
16074 char *kwnames[] = {
16075 (char *) "self", NULL
16076 };
16077
16078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
16079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16081 {
16082 PyThreadState* __tstate = wxPyBeginAllowThreads();
16083 result = ((wxConfigBase const *)arg1)->GetAppName();
16084
16085 wxPyEndAllowThreads(__tstate);
16086 if (PyErr_Occurred()) SWIG_fail;
16087 }
16088 {
16089#if wxUSE_UNICODE
16090 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16091#else
16092 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16093#endif
16094 }
16095 return resultobj;
16096 fail:
16097 return NULL;
16098}
16099
16100
16101static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
16102 PyObject *resultobj;
16103 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16104 wxString result;
16105 PyObject * obj0 = 0 ;
16106 char *kwnames[] = {
16107 (char *) "self", NULL
16108 };
16109
16110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
16111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16113 {
16114 PyThreadState* __tstate = wxPyBeginAllowThreads();
16115 result = ((wxConfigBase const *)arg1)->GetVendorName();
16116
16117 wxPyEndAllowThreads(__tstate);
16118 if (PyErr_Occurred()) SWIG_fail;
16119 }
16120 {
16121#if wxUSE_UNICODE
16122 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16123#else
16124 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16125#endif
16126 }
16127 return resultobj;
16128 fail:
16129 return NULL;
16130}
16131
16132
16133static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
16134 PyObject *resultobj;
16135 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16136 wxString *arg2 = 0 ;
16137 bool temp2 = False ;
16138 PyObject * obj0 = 0 ;
16139 PyObject * obj1 = 0 ;
16140 char *kwnames[] = {
16141 (char *) "self",(char *) "appName", NULL
16142 };
16143
16144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
16145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16147 {
16148 arg2 = wxString_in_helper(obj1);
16149 if (arg2 == NULL) SWIG_fail;
16150 temp2 = True;
16151 }
16152 {
16153 PyThreadState* __tstate = wxPyBeginAllowThreads();
16154 (arg1)->SetAppName((wxString const &)*arg2);
16155
16156 wxPyEndAllowThreads(__tstate);
16157 if (PyErr_Occurred()) SWIG_fail;
16158 }
16159 Py_INCREF(Py_None); resultobj = Py_None;
16160 {
16161 if (temp2)
16162 delete arg2;
16163 }
16164 return resultobj;
16165 fail:
16166 {
16167 if (temp2)
16168 delete arg2;
16169 }
16170 return NULL;
16171}
16172
16173
16174static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
16175 PyObject *resultobj;
16176 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16177 wxString *arg2 = 0 ;
16178 bool temp2 = False ;
16179 PyObject * obj0 = 0 ;
16180 PyObject * obj1 = 0 ;
16181 char *kwnames[] = {
16182 (char *) "self",(char *) "vendorName", NULL
16183 };
16184
16185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
16186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16188 {
16189 arg2 = wxString_in_helper(obj1);
16190 if (arg2 == NULL) SWIG_fail;
16191 temp2 = True;
16192 }
16193 {
16194 PyThreadState* __tstate = wxPyBeginAllowThreads();
16195 (arg1)->SetVendorName((wxString const &)*arg2);
16196
16197 wxPyEndAllowThreads(__tstate);
16198 if (PyErr_Occurred()) SWIG_fail;
16199 }
16200 Py_INCREF(Py_None); resultobj = Py_None;
16201 {
16202 if (temp2)
16203 delete arg2;
16204 }
16205 return resultobj;
16206 fail:
16207 {
16208 if (temp2)
16209 delete arg2;
16210 }
16211 return NULL;
16212}
16213
16214
16215static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16216 PyObject *resultobj;
16217 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16218 long arg2 ;
16219 PyObject * obj0 = 0 ;
16220 PyObject * obj1 = 0 ;
16221 char *kwnames[] = {
16222 (char *) "self",(char *) "style", NULL
16223 };
16224
16225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
16226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16228 arg2 = (long) SWIG_AsLong(obj1);
16229 if (PyErr_Occurred()) SWIG_fail;
16230 {
16231 PyThreadState* __tstate = wxPyBeginAllowThreads();
16232 (arg1)->SetStyle(arg2);
16233
16234 wxPyEndAllowThreads(__tstate);
16235 if (PyErr_Occurred()) SWIG_fail;
16236 }
16237 Py_INCREF(Py_None); resultobj = Py_None;
16238 return resultobj;
16239 fail:
16240 return NULL;
16241}
16242
16243
16244static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16245 PyObject *resultobj;
16246 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16247 long result;
16248 PyObject * obj0 = 0 ;
16249 char *kwnames[] = {
16250 (char *) "self", NULL
16251 };
16252
16253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
16254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16256 {
16257 PyThreadState* __tstate = wxPyBeginAllowThreads();
16258 result = (long)((wxConfigBase const *)arg1)->GetStyle();
16259
16260 wxPyEndAllowThreads(__tstate);
16261 if (PyErr_Occurred()) SWIG_fail;
16262 }
16263 resultobj = SWIG_FromLong((long)result);
16264 return resultobj;
16265 fail:
16266 return NULL;
16267}
16268
16269
16270static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
16271 PyObject *obj;
16272 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16273 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
16274 Py_INCREF(obj);
16275 return Py_BuildValue((char *)"");
16276}
16277static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16278 PyObject *resultobj;
16279 wxString const &arg1_defvalue = wxPyEmptyString ;
16280 wxString *arg1 = (wxString *) &arg1_defvalue ;
16281 wxString const &arg2_defvalue = wxPyEmptyString ;
16282 wxString *arg2 = (wxString *) &arg2_defvalue ;
16283 wxString const &arg3_defvalue = wxPyEmptyString ;
16284 wxString *arg3 = (wxString *) &arg3_defvalue ;
16285 wxString const &arg4_defvalue = wxPyEmptyString ;
16286 wxString *arg4 = (wxString *) &arg4_defvalue ;
16287 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16288 wxConfig *result;
16289 bool temp1 = False ;
16290 bool temp2 = False ;
16291 bool temp3 = False ;
16292 bool temp4 = False ;
16293 PyObject * obj0 = 0 ;
16294 PyObject * obj1 = 0 ;
16295 PyObject * obj2 = 0 ;
16296 PyObject * obj3 = 0 ;
16297 PyObject * obj4 = 0 ;
16298 char *kwnames[] = {
16299 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16300 };
16301
16302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16303 if (obj0) {
16304 {
16305 arg1 = wxString_in_helper(obj0);
16306 if (arg1 == NULL) SWIG_fail;
16307 temp1 = True;
16308 }
16309 }
16310 if (obj1) {
16311 {
16312 arg2 = wxString_in_helper(obj1);
16313 if (arg2 == NULL) SWIG_fail;
16314 temp2 = True;
16315 }
16316 }
16317 if (obj2) {
16318 {
16319 arg3 = wxString_in_helper(obj2);
16320 if (arg3 == NULL) SWIG_fail;
16321 temp3 = True;
16322 }
16323 }
16324 if (obj3) {
16325 {
16326 arg4 = wxString_in_helper(obj3);
16327 if (arg4 == NULL) SWIG_fail;
16328 temp4 = True;
16329 }
16330 }
16331 if (obj4) {
16332 arg5 = (long) SWIG_AsLong(obj4);
16333 if (PyErr_Occurred()) SWIG_fail;
16334 }
16335 {
16336 PyThreadState* __tstate = wxPyBeginAllowThreads();
16337 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16338
16339 wxPyEndAllowThreads(__tstate);
16340 if (PyErr_Occurred()) SWIG_fail;
16341 }
16342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
16343 {
16344 if (temp1)
16345 delete arg1;
16346 }
16347 {
16348 if (temp2)
16349 delete arg2;
16350 }
16351 {
16352 if (temp3)
16353 delete arg3;
16354 }
16355 {
16356 if (temp4)
16357 delete arg4;
16358 }
16359 return resultobj;
16360 fail:
16361 {
16362 if (temp1)
16363 delete arg1;
16364 }
16365 {
16366 if (temp2)
16367 delete arg2;
16368 }
16369 {
16370 if (temp3)
16371 delete arg3;
16372 }
16373 {
16374 if (temp4)
16375 delete arg4;
16376 }
16377 return NULL;
16378}
16379
16380
16381static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16382 PyObject *resultobj;
16383 wxConfig *arg1 = (wxConfig *) 0 ;
16384 PyObject * obj0 = 0 ;
16385 char *kwnames[] = {
16386 (char *) "self", NULL
16387 };
16388
16389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
16390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfig,
16391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16392 {
16393 PyThreadState* __tstate = wxPyBeginAllowThreads();
16394 delete arg1;
16395
16396 wxPyEndAllowThreads(__tstate);
16397 if (PyErr_Occurred()) SWIG_fail;
16398 }
16399 Py_INCREF(Py_None); resultobj = Py_None;
16400 return resultobj;
16401 fail:
16402 return NULL;
16403}
16404
16405
16406static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
16407 PyObject *obj;
16408 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16409 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
16410 Py_INCREF(obj);
16411 return Py_BuildValue((char *)"");
16412}
16413static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16414 PyObject *resultobj;
16415 wxString const &arg1_defvalue = wxPyEmptyString ;
16416 wxString *arg1 = (wxString *) &arg1_defvalue ;
16417 wxString const &arg2_defvalue = wxPyEmptyString ;
16418 wxString *arg2 = (wxString *) &arg2_defvalue ;
16419 wxString const &arg3_defvalue = wxPyEmptyString ;
16420 wxString *arg3 = (wxString *) &arg3_defvalue ;
16421 wxString const &arg4_defvalue = wxPyEmptyString ;
16422 wxString *arg4 = (wxString *) &arg4_defvalue ;
16423 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16424 wxFileConfig *result;
16425 bool temp1 = False ;
16426 bool temp2 = False ;
16427 bool temp3 = False ;
16428 bool temp4 = False ;
16429 PyObject * obj0 = 0 ;
16430 PyObject * obj1 = 0 ;
16431 PyObject * obj2 = 0 ;
16432 PyObject * obj3 = 0 ;
16433 PyObject * obj4 = 0 ;
16434 char *kwnames[] = {
16435 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16436 };
16437
16438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16439 if (obj0) {
16440 {
16441 arg1 = wxString_in_helper(obj0);
16442 if (arg1 == NULL) SWIG_fail;
16443 temp1 = True;
16444 }
16445 }
16446 if (obj1) {
16447 {
16448 arg2 = wxString_in_helper(obj1);
16449 if (arg2 == NULL) SWIG_fail;
16450 temp2 = True;
16451 }
16452 }
16453 if (obj2) {
16454 {
16455 arg3 = wxString_in_helper(obj2);
16456 if (arg3 == NULL) SWIG_fail;
16457 temp3 = True;
16458 }
16459 }
16460 if (obj3) {
16461 {
16462 arg4 = wxString_in_helper(obj3);
16463 if (arg4 == NULL) SWIG_fail;
16464 temp4 = True;
16465 }
16466 }
16467 if (obj4) {
16468 arg5 = (long) SWIG_AsLong(obj4);
16469 if (PyErr_Occurred()) SWIG_fail;
16470 }
16471 {
16472 PyThreadState* __tstate = wxPyBeginAllowThreads();
16473 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16474
16475 wxPyEndAllowThreads(__tstate);
16476 if (PyErr_Occurred()) SWIG_fail;
16477 }
16478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
16479 {
16480 if (temp1)
16481 delete arg1;
16482 }
16483 {
16484 if (temp2)
16485 delete arg2;
16486 }
16487 {
16488 if (temp3)
16489 delete arg3;
16490 }
16491 {
16492 if (temp4)
16493 delete arg4;
16494 }
16495 return resultobj;
16496 fail:
16497 {
16498 if (temp1)
16499 delete arg1;
16500 }
16501 {
16502 if (temp2)
16503 delete arg2;
16504 }
16505 {
16506 if (temp3)
16507 delete arg3;
16508 }
16509 {
16510 if (temp4)
16511 delete arg4;
16512 }
16513 return NULL;
16514}
16515
16516
16517static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16518 PyObject *resultobj;
16519 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
16520 PyObject * obj0 = 0 ;
16521 char *kwnames[] = {
16522 (char *) "self", NULL
16523 };
16524
16525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
16526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileConfig,
16527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16528 {
16529 PyThreadState* __tstate = wxPyBeginAllowThreads();
16530 delete arg1;
16531
16532 wxPyEndAllowThreads(__tstate);
16533 if (PyErr_Occurred()) SWIG_fail;
16534 }
16535 Py_INCREF(Py_None); resultobj = Py_None;
16536 return resultobj;
16537 fail:
16538 return NULL;
16539}
16540
16541
16542static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
16543 PyObject *obj;
16544 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16545 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
16546 Py_INCREF(obj);
16547 return Py_BuildValue((char *)"");
16548}
16549static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
16550 PyObject *resultobj;
16551 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16552 wxString *arg2 = 0 ;
16553 wxConfigPathChanger *result;
16554 bool temp2 = False ;
16555 PyObject * obj0 = 0 ;
16556 PyObject * obj1 = 0 ;
16557 char *kwnames[] = {
16558 (char *) "config",(char *) "entry", NULL
16559 };
16560
16561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
16562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16564 {
16565 arg2 = wxString_in_helper(obj1);
16566 if (arg2 == NULL) SWIG_fail;
16567 temp2 = True;
16568 }
16569 {
16570 PyThreadState* __tstate = wxPyBeginAllowThreads();
16571 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
16572
16573 wxPyEndAllowThreads(__tstate);
16574 if (PyErr_Occurred()) SWIG_fail;
16575 }
16576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
16577 {
16578 if (temp2)
16579 delete arg2;
16580 }
16581 return resultobj;
16582 fail:
16583 {
16584 if (temp2)
16585 delete arg2;
16586 }
16587 return NULL;
16588}
16589
16590
16591static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
16592 PyObject *resultobj;
16593 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16594 PyObject * obj0 = 0 ;
16595 char *kwnames[] = {
16596 (char *) "self", NULL
16597 };
16598
16599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
16600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16602 {
16603 PyThreadState* __tstate = wxPyBeginAllowThreads();
16604 delete arg1;
16605
16606 wxPyEndAllowThreads(__tstate);
16607 if (PyErr_Occurred()) SWIG_fail;
16608 }
16609 Py_INCREF(Py_None); resultobj = Py_None;
16610 return resultobj;
16611 fail:
16612 return NULL;
16613}
16614
16615
16616static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
16617 PyObject *resultobj;
16618 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16619 wxString *result;
16620 PyObject * obj0 = 0 ;
16621 char *kwnames[] = {
16622 (char *) "self", NULL
16623 };
16624
16625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
16626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16628 {
16629 PyThreadState* __tstate = wxPyBeginAllowThreads();
16630 {
16631 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
16632 result = (wxString *) &_result_ref;
16633 }
16634
16635 wxPyEndAllowThreads(__tstate);
16636 if (PyErr_Occurred()) SWIG_fail;
16637 }
16638 {
16639#if wxUSE_UNICODE
16640 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16641#else
16642 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16643#endif
16644 }
16645 return resultobj;
16646 fail:
16647 return NULL;
16648}
16649
16650
16651static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
16652 PyObject *obj;
16653 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16654 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
16655 Py_INCREF(obj);
16656 return Py_BuildValue((char *)"");
16657}
16658static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16659 PyObject *resultobj;
16660 wxString *arg1 = 0 ;
16661 wxString result;
16662 bool temp1 = False ;
16663 PyObject * obj0 = 0 ;
16664 char *kwnames[] = {
16665 (char *) "sz", NULL
16666 };
16667
16668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
16669 {
16670 arg1 = wxString_in_helper(obj0);
16671 if (arg1 == NULL) SWIG_fail;
16672 temp1 = True;
16673 }
16674 {
16675 PyThreadState* __tstate = wxPyBeginAllowThreads();
16676 result = wxExpandEnvVars((wxString const &)*arg1);
16677
16678 wxPyEndAllowThreads(__tstate);
16679 if (PyErr_Occurred()) SWIG_fail;
16680 }
16681 {
16682#if wxUSE_UNICODE
16683 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16684#else
16685 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16686#endif
16687 }
16688 {
16689 if (temp1)
16690 delete arg1;
16691 }
16692 return resultobj;
16693 fail:
16694 {
16695 if (temp1)
16696 delete arg1;
16697 }
16698 return NULL;
16699}
16700
16701
16702static int _wrap_DateFormatStr_set(PyObject *_val) {
16703 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
16704 return 1;
16705}
16706
16707
16708static PyObject *_wrap_DateFormatStr_get() {
16709 PyObject *pyobj;
16710
16711 {
16712#if wxUSE_UNICODE
16713 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16714#else
16715 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16716#endif
16717 }
16718 return pyobj;
16719}
16720
16721
16722static int _wrap_TimeSpanFormatStr_set(PyObject *_val) {
16723 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
16724 return 1;
16725}
16726
16727
16728static PyObject *_wrap_TimeSpanFormatStr_get() {
16729 PyObject *pyobj;
16730
16731 {
16732#if wxUSE_UNICODE
16733 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16734#else
16735 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16736#endif
16737 }
16738 return pyobj;
16739}
16740
16741
16742static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16743 PyObject *resultobj;
16744 int arg1 ;
16745 PyObject * obj0 = 0 ;
16746 char *kwnames[] = {
16747 (char *) "country", NULL
16748 };
16749
16750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
16751 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16752 if (PyErr_Occurred()) SWIG_fail;
16753 {
16754 PyThreadState* __tstate = wxPyBeginAllowThreads();
16755 wxDateTime::SetCountry((wxDateTime::Country )arg1);
16756
16757 wxPyEndAllowThreads(__tstate);
16758 if (PyErr_Occurred()) SWIG_fail;
16759 }
16760 Py_INCREF(Py_None); resultobj = Py_None;
16761 return resultobj;
16762 fail:
16763 return NULL;
16764}
16765
16766
16767static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16768 PyObject *resultobj;
16769 int result;
16770 char *kwnames[] = {
16771 NULL
16772 };
16773
16774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
16775 {
16776 PyThreadState* __tstate = wxPyBeginAllowThreads();
16777 result = (int)wxDateTime::GetCountry();
16778
16779 wxPyEndAllowThreads(__tstate);
16780 if (PyErr_Occurred()) SWIG_fail;
16781 }
16782 resultobj = SWIG_FromInt((int)result);
16783 return resultobj;
16784 fail:
16785 return NULL;
16786}
16787
16788
16789static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16790 PyObject *resultobj;
16791 int arg1 = (int) wxDateTime::Country_Default ;
16792 bool result;
16793 PyObject * obj0 = 0 ;
16794 char *kwnames[] = {
16795 (char *) "country", NULL
16796 };
16797
16798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
16799 if (obj0) {
16800 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16801 if (PyErr_Occurred()) SWIG_fail;
16802 }
16803 {
16804 PyThreadState* __tstate = wxPyBeginAllowThreads();
16805 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
16806
16807 wxPyEndAllowThreads(__tstate);
16808 if (PyErr_Occurred()) SWIG_fail;
16809 }
16810 {
16811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16812 }
16813 return resultobj;
16814 fail:
16815 return NULL;
16816}
16817
16818
16819static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16820 PyObject *resultobj;
16821 int arg1 = (int) wxDateTime::Gregorian ;
16822 int result;
16823 PyObject * obj0 = 0 ;
16824 char *kwnames[] = {
16825 (char *) "cal", NULL
16826 };
16827
16828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
16829 if (obj0) {
16830 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16831 if (PyErr_Occurred()) SWIG_fail;
16832 }
16833 {
16834 PyThreadState* __tstate = wxPyBeginAllowThreads();
16835 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
16836
16837 wxPyEndAllowThreads(__tstate);
16838 if (PyErr_Occurred()) SWIG_fail;
16839 }
16840 resultobj = SWIG_FromInt((int)result);
16841 return resultobj;
16842 fail:
16843 return NULL;
16844}
16845
16846
16847static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
16848 PyObject *resultobj;
16849 int arg1 ;
16850 int result;
16851 PyObject * obj0 = 0 ;
16852 char *kwnames[] = {
16853 (char *) "year", NULL
16854 };
16855
16856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
16857 arg1 = (int) SWIG_AsInt(obj0);
16858 if (PyErr_Occurred()) SWIG_fail;
16859 {
16860 PyThreadState* __tstate = wxPyBeginAllowThreads();
16861 result = (int)wxDateTime::ConvertYearToBC(arg1);
16862
16863 wxPyEndAllowThreads(__tstate);
16864 if (PyErr_Occurred()) SWIG_fail;
16865 }
16866 resultobj = SWIG_FromInt((int)result);
16867 return resultobj;
16868 fail:
16869 return NULL;
16870}
16871
16872
16873static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16874 PyObject *resultobj;
16875 int arg1 = (int) wxDateTime::Gregorian ;
16876 int result;
16877 PyObject * obj0 = 0 ;
16878 char *kwnames[] = {
16879 (char *) "cal", NULL
16880 };
16881
16882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
16883 if (obj0) {
16884 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16885 if (PyErr_Occurred()) SWIG_fail;
16886 }
16887 {
16888 PyThreadState* __tstate = wxPyBeginAllowThreads();
16889 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
16890
16891 wxPyEndAllowThreads(__tstate);
16892 if (PyErr_Occurred()) SWIG_fail;
16893 }
16894 resultobj = SWIG_FromInt((int)result);
16895 return resultobj;
16896 fail:
16897 return NULL;
16898}
16899
16900
16901static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16902 PyObject *resultobj;
16903 int arg1 = (int) wxDateTime::Inv_Year ;
16904 int arg2 = (int) wxDateTime::Gregorian ;
16905 bool result;
16906 PyObject * obj0 = 0 ;
16907 PyObject * obj1 = 0 ;
16908 char *kwnames[] = {
16909 (char *) "year",(char *) "cal", NULL
16910 };
16911
16912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
16913 if (obj0) {
16914 arg1 = (int) SWIG_AsInt(obj0);
16915 if (PyErr_Occurred()) SWIG_fail;
16916 }
16917 if (obj1) {
16918 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
16919 if (PyErr_Occurred()) SWIG_fail;
16920 }
16921 {
16922 PyThreadState* __tstate = wxPyBeginAllowThreads();
16923 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
16924
16925 wxPyEndAllowThreads(__tstate);
16926 if (PyErr_Occurred()) SWIG_fail;
16927 }
16928 {
16929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16930 }
16931 return resultobj;
16932 fail:
16933 return NULL;
16934}
16935
16936
16937static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
16938 PyObject *resultobj;
16939 int arg1 = (int) wxDateTime::Inv_Year ;
16940 int result;
16941 PyObject * obj0 = 0 ;
16942 char *kwnames[] = {
16943 (char *) "year", NULL
16944 };
16945
16946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
16947 if (obj0) {
16948 arg1 = (int) SWIG_AsInt(obj0);
16949 if (PyErr_Occurred()) SWIG_fail;
16950 }
16951 {
16952 PyThreadState* __tstate = wxPyBeginAllowThreads();
16953 result = (int)wxDateTime::GetCentury(arg1);
16954
16955 wxPyEndAllowThreads(__tstate);
16956 if (PyErr_Occurred()) SWIG_fail;
16957 }
16958 resultobj = SWIG_FromInt((int)result);
16959 return resultobj;
16960 fail:
16961 return NULL;
16962}
16963
16964
16965static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16966 PyObject *resultobj;
16967 int arg1 ;
16968 int arg2 = (int) wxDateTime::Gregorian ;
16969 int result;
16970 PyObject * obj0 = 0 ;
16971 PyObject * obj1 = 0 ;
16972 char *kwnames[] = {
16973 (char *) "year",(char *) "cal", NULL
16974 };
16975
16976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
16977 arg1 = (int) SWIG_AsInt(obj0);
16978 if (PyErr_Occurred()) SWIG_fail;
16979 if (obj1) {
16980 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
16981 if (PyErr_Occurred()) SWIG_fail;
16982 }
16983 {
16984 PyThreadState* __tstate = wxPyBeginAllowThreads();
16985 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
16986
16987 wxPyEndAllowThreads(__tstate);
16988 if (PyErr_Occurred()) SWIG_fail;
16989 }
16990 resultobj = SWIG_FromInt((int)result);
16991 return resultobj;
16992 fail:
16993 return NULL;
16994}
16995
16996
16997static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16998 PyObject *resultobj;
16999 int arg1 ;
17000 int arg2 = (int) wxDateTime::Inv_Year ;
17001 int arg3 = (int) wxDateTime::Gregorian ;
17002 int result;
17003 PyObject * obj0 = 0 ;
17004 PyObject * obj1 = 0 ;
17005 PyObject * obj2 = 0 ;
17006 char *kwnames[] = {
17007 (char *) "month",(char *) "year",(char *) "cal", NULL
17008 };
17009
17010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
17011 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
17012 if (PyErr_Occurred()) SWIG_fail;
17013 if (obj1) {
17014 arg2 = (int) SWIG_AsInt(obj1);
17015 if (PyErr_Occurred()) SWIG_fail;
17016 }
17017 if (obj2) {
17018 arg3 = (wxDateTime::Calendar) SWIG_AsInt(obj2);
17019 if (PyErr_Occurred()) SWIG_fail;
17020 }
17021 {
17022 PyThreadState* __tstate = wxPyBeginAllowThreads();
17023 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
17024
17025 wxPyEndAllowThreads(__tstate);
17026 if (PyErr_Occurred()) SWIG_fail;
17027 }
17028 resultobj = SWIG_FromInt((int)result);
17029 return resultobj;
17030 fail:
17031 return NULL;
17032}
17033
17034
17035static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
17036 PyObject *resultobj;
17037 int arg1 ;
17038 int arg2 = (int) wxDateTime::Name_Full ;
17039 wxString result;
17040 PyObject * obj0 = 0 ;
17041 PyObject * obj1 = 0 ;
17042 char *kwnames[] = {
17043 (char *) "month",(char *) "flags", NULL
17044 };
17045
17046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
17047 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
17048 if (PyErr_Occurred()) SWIG_fail;
17049 if (obj1) {
17050 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
17051 if (PyErr_Occurred()) SWIG_fail;
17052 }
17053 {
17054 PyThreadState* __tstate = wxPyBeginAllowThreads();
17055 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
17056
17057 wxPyEndAllowThreads(__tstate);
17058 if (PyErr_Occurred()) SWIG_fail;
17059 }
17060 {
17061#if wxUSE_UNICODE
17062 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17063#else
17064 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17065#endif
17066 }
17067 return resultobj;
17068 fail:
17069 return NULL;
17070}
17071
17072
17073static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
17074 PyObject *resultobj;
17075 int arg1 ;
17076 int arg2 = (int) wxDateTime::Name_Full ;
17077 wxString result;
17078 PyObject * obj0 = 0 ;
17079 PyObject * obj1 = 0 ;
17080 char *kwnames[] = {
17081 (char *) "weekday",(char *) "flags", NULL
17082 };
17083
17084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
17085 arg1 = (wxDateTime::WeekDay) SWIG_AsInt(obj0);
17086 if (PyErr_Occurred()) SWIG_fail;
17087 if (obj1) {
17088 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
17089 if (PyErr_Occurred()) SWIG_fail;
17090 }
17091 {
17092 PyThreadState* __tstate = wxPyBeginAllowThreads();
17093 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
17094
17095 wxPyEndAllowThreads(__tstate);
17096 if (PyErr_Occurred()) SWIG_fail;
17097 }
17098 {
17099#if wxUSE_UNICODE
17100 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17101#else
17102 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17103#endif
17104 }
17105 return resultobj;
17106 fail:
17107 return NULL;
17108}
17109
17110
17111static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
17112 PyObject *resultobj;
17113 wxString *arg1 = (wxString *) 0 ;
17114 wxString *arg2 = (wxString *) 0 ;
17115 bool temp1 = False ;
17116 bool temp2 = False ;
17117 PyObject * obj0 = 0 ;
17118 PyObject * obj1 = 0 ;
17119 char *kwnames[] = {
17120 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17121 };
17122
17123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
17124 {
17125 arg1 = wxString_in_helper(obj0);
17126 if (arg1 == NULL) SWIG_fail;
17127 temp1 = True;
17128 }
17129 {
17130 arg2 = wxString_in_helper(obj1);
17131 if (arg2 == NULL) SWIG_fail;
17132 temp2 = True;
17133 }
17134 {
17135 PyThreadState* __tstate = wxPyBeginAllowThreads();
17136 wxDateTime::GetAmPmStrings(arg1,arg2);
17137
17138 wxPyEndAllowThreads(__tstate);
17139 if (PyErr_Occurred()) SWIG_fail;
17140 }
17141 Py_INCREF(Py_None); resultobj = Py_None;
17142 {
17143 if (temp1)
17144 delete arg1;
17145 }
17146 {
17147 if (temp2)
17148 delete arg2;
17149 }
17150 return resultobj;
17151 fail:
17152 {
17153 if (temp1)
17154 delete arg1;
17155 }
17156 {
17157 if (temp2)
17158 delete arg2;
17159 }
17160 return NULL;
17161}
17162
17163
17164static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
17165 PyObject *resultobj;
17166 int arg1 = (int) wxDateTime::Inv_Year ;
17167 int arg2 = (int) wxDateTime::Country_Default ;
17168 bool result;
17169 PyObject * obj0 = 0 ;
17170 PyObject * obj1 = 0 ;
17171 char *kwnames[] = {
17172 (char *) "year",(char *) "country", NULL
17173 };
17174
17175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
17176 if (obj0) {
17177 arg1 = (int) SWIG_AsInt(obj0);
17178 if (PyErr_Occurred()) SWIG_fail;
17179 }
17180 if (obj1) {
17181 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17182 if (PyErr_Occurred()) SWIG_fail;
17183 }
17184 {
17185 PyThreadState* __tstate = wxPyBeginAllowThreads();
17186 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
17187
17188 wxPyEndAllowThreads(__tstate);
17189 if (PyErr_Occurred()) SWIG_fail;
17190 }
17191 {
17192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17193 }
17194 return resultobj;
17195 fail:
17196 return NULL;
17197}
17198
17199
17200static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17201 PyObject *resultobj;
17202 int arg1 = (int) wxDateTime::Inv_Year ;
17203 int arg2 = (int) wxDateTime::Country_Default ;
17204 wxDateTime result;
17205 PyObject * obj0 = 0 ;
17206 PyObject * obj1 = 0 ;
17207 char *kwnames[] = {
17208 (char *) "year",(char *) "country", NULL
17209 };
17210
17211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
17212 if (obj0) {
17213 arg1 = (int) SWIG_AsInt(obj0);
17214 if (PyErr_Occurred()) SWIG_fail;
17215 }
17216 if (obj1) {
17217 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17218 if (PyErr_Occurred()) SWIG_fail;
17219 }
17220 {
17221 PyThreadState* __tstate = wxPyBeginAllowThreads();
17222 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
17223
17224 wxPyEndAllowThreads(__tstate);
17225 if (PyErr_Occurred()) SWIG_fail;
17226 }
17227 {
17228 wxDateTime * resultptr;
17229 resultptr = new wxDateTime((wxDateTime &) result);
17230 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17231 }
17232 return resultobj;
17233 fail:
17234 return NULL;
17235}
17236
17237
17238static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17239 PyObject *resultobj;
17240 int arg1 = (int) wxDateTime::Inv_Year ;
17241 int arg2 = (int) wxDateTime::Country_Default ;
17242 wxDateTime result;
17243 PyObject * obj0 = 0 ;
17244 PyObject * obj1 = 0 ;
17245 char *kwnames[] = {
17246 (char *) "year",(char *) "country", NULL
17247 };
17248
17249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
17250 if (obj0) {
17251 arg1 = (int) SWIG_AsInt(obj0);
17252 if (PyErr_Occurred()) SWIG_fail;
17253 }
17254 if (obj1) {
17255 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17256 if (PyErr_Occurred()) SWIG_fail;
17257 }
17258 {
17259 PyThreadState* __tstate = wxPyBeginAllowThreads();
17260 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
17261
17262 wxPyEndAllowThreads(__tstate);
17263 if (PyErr_Occurred()) SWIG_fail;
17264 }
17265 {
17266 wxDateTime * resultptr;
17267 resultptr = new wxDateTime((wxDateTime &) result);
17268 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17269 }
17270 return resultobj;
17271 fail:
17272 return NULL;
17273}
17274
17275
17276static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
17277 PyObject *resultobj;
17278 wxDateTime result;
17279 char *kwnames[] = {
17280 NULL
17281 };
17282
17283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
17284 {
17285 PyThreadState* __tstate = wxPyBeginAllowThreads();
17286 result = wxDateTime::Now();
17287
17288 wxPyEndAllowThreads(__tstate);
17289 if (PyErr_Occurred()) SWIG_fail;
17290 }
17291 {
17292 wxDateTime * resultptr;
17293 resultptr = new wxDateTime((wxDateTime &) result);
17294 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17295 }
17296 return resultobj;
17297 fail:
17298 return NULL;
17299}
17300
17301
17302static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
17303 PyObject *resultobj;
17304 wxDateTime result;
17305 char *kwnames[] = {
17306 NULL
17307 };
17308
17309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
17310 {
17311 PyThreadState* __tstate = wxPyBeginAllowThreads();
17312 result = wxDateTime::UNow();
17313
17314 wxPyEndAllowThreads(__tstate);
17315 if (PyErr_Occurred()) SWIG_fail;
17316 }
17317 {
17318 wxDateTime * resultptr;
17319 resultptr = new wxDateTime((wxDateTime &) result);
17320 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17321 }
17322 return resultobj;
17323 fail:
17324 return NULL;
17325}
17326
17327
17328static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
17329 PyObject *resultobj;
17330 wxDateTime result;
17331 char *kwnames[] = {
17332 NULL
17333 };
17334
17335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
17336 {
17337 PyThreadState* __tstate = wxPyBeginAllowThreads();
17338 result = wxDateTime::Today();
17339
17340 wxPyEndAllowThreads(__tstate);
17341 if (PyErr_Occurred()) SWIG_fail;
17342 }
17343 {
17344 wxDateTime * resultptr;
17345 resultptr = new wxDateTime((wxDateTime &) result);
17346 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17347 }
17348 return resultobj;
17349 fail:
17350 return NULL;
17351}
17352
17353
17354static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17355 PyObject *resultobj;
17356 wxDateTime *result;
17357 char *kwnames[] = {
17358 NULL
17359 };
17360
17361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
17362 {
17363 PyThreadState* __tstate = wxPyBeginAllowThreads();
17364 result = (wxDateTime *)new wxDateTime();
17365
17366 wxPyEndAllowThreads(__tstate);
17367 if (PyErr_Occurred()) SWIG_fail;
17368 }
17369 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17370 return resultobj;
17371 fail:
17372 return NULL;
17373}
17374
17375
17376static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17377 PyObject *resultobj;
17378 time_t arg1 ;
17379 wxDateTime *result;
17380 PyObject * obj0 = 0 ;
17381 char *kwnames[] = {
17382 (char *) "timet", NULL
17383 };
17384
17385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
17386 arg1 = (time_t) SWIG_AsUnsignedInt(obj0);
17387 if (PyErr_Occurred()) SWIG_fail;
17388 {
17389 PyThreadState* __tstate = wxPyBeginAllowThreads();
17390 result = (wxDateTime *)new wxDateTime(arg1);
17391
17392 wxPyEndAllowThreads(__tstate);
17393 if (PyErr_Occurred()) SWIG_fail;
17394 }
17395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17396 return resultobj;
17397 fail:
17398 return NULL;
17399}
17400
17401
17402static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17403 PyObject *resultobj;
17404 double arg1 ;
17405 wxDateTime *result;
17406 PyObject * obj0 = 0 ;
17407 char *kwnames[] = {
17408 (char *) "jdn", NULL
17409 };
17410
17411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
17412 arg1 = (double) SWIG_AsDouble(obj0);
17413 if (PyErr_Occurred()) SWIG_fail;
17414 {
17415 PyThreadState* __tstate = wxPyBeginAllowThreads();
17416 result = (wxDateTime *)new wxDateTime(arg1);
17417
17418 wxPyEndAllowThreads(__tstate);
17419 if (PyErr_Occurred()) SWIG_fail;
17420 }
17421 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17422 return resultobj;
17423 fail:
17424 return NULL;
17425}
17426
17427
17428static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17429 PyObject *resultobj;
17430 int arg1 ;
17431 int arg2 = (int) 0 ;
17432 int arg3 = (int) 0 ;
17433 int arg4 = (int) 0 ;
17434 wxDateTime *result;
17435 PyObject * obj0 = 0 ;
17436 PyObject * obj1 = 0 ;
17437 PyObject * obj2 = 0 ;
17438 PyObject * obj3 = 0 ;
17439 char *kwnames[] = {
17440 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17441 };
17442
17443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17444 arg1 = (int) SWIG_AsInt(obj0);
17445 if (PyErr_Occurred()) SWIG_fail;
17446 if (obj1) {
17447 arg2 = (int) SWIG_AsInt(obj1);
17448 if (PyErr_Occurred()) SWIG_fail;
17449 }
17450 if (obj2) {
17451 arg3 = (int) SWIG_AsInt(obj2);
17452 if (PyErr_Occurred()) SWIG_fail;
17453 }
17454 if (obj3) {
17455 arg4 = (int) SWIG_AsInt(obj3);
17456 if (PyErr_Occurred()) SWIG_fail;
17457 }
17458 {
17459 PyThreadState* __tstate = wxPyBeginAllowThreads();
17460 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
17461
17462 wxPyEndAllowThreads(__tstate);
17463 if (PyErr_Occurred()) SWIG_fail;
17464 }
17465 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17466 return resultobj;
17467 fail:
17468 return NULL;
17469}
17470
17471
17472static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
17473 PyObject *resultobj;
17474 int arg1 ;
17475 int arg2 = (int) wxDateTime::Inv_Month ;
17476 int arg3 = (int) wxDateTime::Inv_Year ;
17477 int arg4 = (int) 0 ;
17478 int arg5 = (int) 0 ;
17479 int arg6 = (int) 0 ;
17480 int arg7 = (int) 0 ;
17481 wxDateTime *result;
17482 PyObject * obj0 = 0 ;
17483 PyObject * obj1 = 0 ;
17484 PyObject * obj2 = 0 ;
17485 PyObject * obj3 = 0 ;
17486 PyObject * obj4 = 0 ;
17487 PyObject * obj5 = 0 ;
17488 PyObject * obj6 = 0 ;
17489 char *kwnames[] = {
17490 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17491 };
17492
17493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17494 arg1 = (int) SWIG_AsInt(obj0);
17495 if (PyErr_Occurred()) SWIG_fail;
17496 if (obj1) {
17497 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17498 if (PyErr_Occurred()) SWIG_fail;
17499 }
17500 if (obj2) {
17501 arg3 = (int) SWIG_AsInt(obj2);
17502 if (PyErr_Occurred()) SWIG_fail;
17503 }
17504 if (obj3) {
17505 arg4 = (int) SWIG_AsInt(obj3);
17506 if (PyErr_Occurred()) SWIG_fail;
17507 }
17508 if (obj4) {
17509 arg5 = (int) SWIG_AsInt(obj4);
17510 if (PyErr_Occurred()) SWIG_fail;
17511 }
17512 if (obj5) {
17513 arg6 = (int) SWIG_AsInt(obj5);
17514 if (PyErr_Occurred()) SWIG_fail;
17515 }
17516 if (obj6) {
17517 arg7 = (int) SWIG_AsInt(obj6);
17518 if (PyErr_Occurred()) SWIG_fail;
17519 }
17520 {
17521 PyThreadState* __tstate = wxPyBeginAllowThreads();
17522 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
17523
17524 wxPyEndAllowThreads(__tstate);
17525 if (PyErr_Occurred()) SWIG_fail;
17526 }
17527 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17528 return resultobj;
17529 fail:
17530 return NULL;
17531}
17532
17533
17534static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17535 PyObject *resultobj;
17536 wxDateTime *arg1 = (wxDateTime *) 0 ;
17537 PyObject * obj0 = 0 ;
17538 char *kwnames[] = {
17539 (char *) "self", NULL
17540 };
17541
17542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
17543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17545 {
17546 PyThreadState* __tstate = wxPyBeginAllowThreads();
17547 delete arg1;
17548
17549 wxPyEndAllowThreads(__tstate);
17550 if (PyErr_Occurred()) SWIG_fail;
17551 }
17552 Py_INCREF(Py_None); resultobj = Py_None;
17553 return resultobj;
17554 fail:
17555 return NULL;
17556}
17557
17558
17559static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
17560 PyObject *resultobj;
17561 wxDateTime *arg1 = (wxDateTime *) 0 ;
17562 wxDateTime *result;
17563 PyObject * obj0 = 0 ;
17564 char *kwnames[] = {
17565 (char *) "self", NULL
17566 };
17567
17568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
17569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17571 {
17572 PyThreadState* __tstate = wxPyBeginAllowThreads();
17573 {
17574 wxDateTime &_result_ref = (arg1)->SetToCurrent();
17575 result = (wxDateTime *) &_result_ref;
17576 }
17577
17578 wxPyEndAllowThreads(__tstate);
17579 if (PyErr_Occurred()) SWIG_fail;
17580 }
17581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17582 return resultobj;
17583 fail:
17584 return NULL;
17585}
17586
17587
17588static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17589 PyObject *resultobj;
17590 wxDateTime *arg1 = (wxDateTime *) 0 ;
17591 time_t arg2 ;
17592 wxDateTime *result;
17593 PyObject * obj0 = 0 ;
17594 PyObject * obj1 = 0 ;
17595 char *kwnames[] = {
17596 (char *) "self",(char *) "timet", NULL
17597 };
17598
17599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
17600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17602 arg2 = (time_t) SWIG_AsUnsignedInt(obj1);
17603 if (PyErr_Occurred()) SWIG_fail;
17604 {
17605 PyThreadState* __tstate = wxPyBeginAllowThreads();
17606 {
17607 wxDateTime &_result_ref = (arg1)->Set(arg2);
17608 result = (wxDateTime *) &_result_ref;
17609 }
17610
17611 wxPyEndAllowThreads(__tstate);
17612 if (PyErr_Occurred()) SWIG_fail;
17613 }
17614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17615 return resultobj;
17616 fail:
17617 return NULL;
17618}
17619
17620
17621static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17622 PyObject *resultobj;
17623 wxDateTime *arg1 = (wxDateTime *) 0 ;
17624 double arg2 ;
17625 wxDateTime *result;
17626 PyObject * obj0 = 0 ;
17627 PyObject * obj1 = 0 ;
17628 char *kwnames[] = {
17629 (char *) "self",(char *) "jdn", NULL
17630 };
17631
17632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
17633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17635 arg2 = (double) SWIG_AsDouble(obj1);
17636 if (PyErr_Occurred()) SWIG_fail;
17637 {
17638 PyThreadState* __tstate = wxPyBeginAllowThreads();
17639 {
17640 wxDateTime &_result_ref = (arg1)->Set(arg2);
17641 result = (wxDateTime *) &_result_ref;
17642 }
17643
17644 wxPyEndAllowThreads(__tstate);
17645 if (PyErr_Occurred()) SWIG_fail;
17646 }
17647 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17648 return resultobj;
17649 fail:
17650 return NULL;
17651}
17652
17653
17654static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17655 PyObject *resultobj;
17656 wxDateTime *arg1 = (wxDateTime *) 0 ;
17657 int arg2 ;
17658 int arg3 = (int) 0 ;
17659 int arg4 = (int) 0 ;
17660 int arg5 = (int) 0 ;
17661 wxDateTime *result;
17662 PyObject * obj0 = 0 ;
17663 PyObject * obj1 = 0 ;
17664 PyObject * obj2 = 0 ;
17665 PyObject * obj3 = 0 ;
17666 PyObject * obj4 = 0 ;
17667 char *kwnames[] = {
17668 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17669 };
17670
17671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17674 arg2 = (int) SWIG_AsInt(obj1);
17675 if (PyErr_Occurred()) SWIG_fail;
17676 if (obj2) {
17677 arg3 = (int) SWIG_AsInt(obj2);
17678 if (PyErr_Occurred()) SWIG_fail;
17679 }
17680 if (obj3) {
17681 arg4 = (int) SWIG_AsInt(obj3);
17682 if (PyErr_Occurred()) SWIG_fail;
17683 }
17684 if (obj4) {
17685 arg5 = (int) SWIG_AsInt(obj4);
17686 if (PyErr_Occurred()) SWIG_fail;
17687 }
17688 {
17689 PyThreadState* __tstate = wxPyBeginAllowThreads();
17690 {
17691 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
17692 result = (wxDateTime *) &_result_ref;
17693 }
17694
17695 wxPyEndAllowThreads(__tstate);
17696 if (PyErr_Occurred()) SWIG_fail;
17697 }
17698 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17699 return resultobj;
17700 fail:
17701 return NULL;
17702}
17703
17704
17705static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
17706 PyObject *resultobj;
17707 wxDateTime *arg1 = (wxDateTime *) 0 ;
17708 int arg2 ;
17709 int arg3 = (int) wxDateTime::Inv_Month ;
17710 int arg4 = (int) wxDateTime::Inv_Year ;
17711 int arg5 = (int) 0 ;
17712 int arg6 = (int) 0 ;
17713 int arg7 = (int) 0 ;
17714 int arg8 = (int) 0 ;
17715 wxDateTime *result;
17716 PyObject * obj0 = 0 ;
17717 PyObject * obj1 = 0 ;
17718 PyObject * obj2 = 0 ;
17719 PyObject * obj3 = 0 ;
17720 PyObject * obj4 = 0 ;
17721 PyObject * obj5 = 0 ;
17722 PyObject * obj6 = 0 ;
17723 PyObject * obj7 = 0 ;
17724 char *kwnames[] = {
17725 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17726 };
17727
17728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17731 arg2 = (int) SWIG_AsInt(obj1);
17732 if (PyErr_Occurred()) SWIG_fail;
17733 if (obj2) {
17734 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
17735 if (PyErr_Occurred()) SWIG_fail;
17736 }
17737 if (obj3) {
17738 arg4 = (int) SWIG_AsInt(obj3);
17739 if (PyErr_Occurred()) SWIG_fail;
17740 }
17741 if (obj4) {
17742 arg5 = (int) SWIG_AsInt(obj4);
17743 if (PyErr_Occurred()) SWIG_fail;
17744 }
17745 if (obj5) {
17746 arg6 = (int) SWIG_AsInt(obj5);
17747 if (PyErr_Occurred()) SWIG_fail;
17748 }
17749 if (obj6) {
17750 arg7 = (int) SWIG_AsInt(obj6);
17751 if (PyErr_Occurred()) SWIG_fail;
17752 }
17753 if (obj7) {
17754 arg8 = (int) SWIG_AsInt(obj7);
17755 if (PyErr_Occurred()) SWIG_fail;
17756 }
17757 {
17758 PyThreadState* __tstate = wxPyBeginAllowThreads();
17759 {
17760 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
17761 result = (wxDateTime *) &_result_ref;
17762 }
17763
17764 wxPyEndAllowThreads(__tstate);
17765 if (PyErr_Occurred()) SWIG_fail;
17766 }
17767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17768 return resultobj;
17769 fail:
17770 return NULL;
17771}
17772
17773
17774static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17775 PyObject *resultobj;
17776 wxDateTime *arg1 = (wxDateTime *) 0 ;
17777 wxDateTime *result;
17778 PyObject * obj0 = 0 ;
17779 char *kwnames[] = {
17780 (char *) "self", NULL
17781 };
17782
17783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
17784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17786 {
17787 PyThreadState* __tstate = wxPyBeginAllowThreads();
17788 {
17789 wxDateTime &_result_ref = (arg1)->ResetTime();
17790 result = (wxDateTime *) &_result_ref;
17791 }
17792
17793 wxPyEndAllowThreads(__tstate);
17794 if (PyErr_Occurred()) SWIG_fail;
17795 }
17796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17797 return resultobj;
17798 fail:
17799 return NULL;
17800}
17801
17802
17803static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17804 PyObject *resultobj;
17805 wxDateTime *arg1 = (wxDateTime *) 0 ;
17806 int arg2 ;
17807 wxDateTime *result;
17808 PyObject * obj0 = 0 ;
17809 PyObject * obj1 = 0 ;
17810 char *kwnames[] = {
17811 (char *) "self",(char *) "year", NULL
17812 };
17813
17814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
17815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17817 arg2 = (int) SWIG_AsInt(obj1);
17818 if (PyErr_Occurred()) SWIG_fail;
17819 {
17820 PyThreadState* __tstate = wxPyBeginAllowThreads();
17821 {
17822 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
17823 result = (wxDateTime *) &_result_ref;
17824 }
17825
17826 wxPyEndAllowThreads(__tstate);
17827 if (PyErr_Occurred()) SWIG_fail;
17828 }
17829 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17830 return resultobj;
17831 fail:
17832 return NULL;
17833}
17834
17835
17836static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17837 PyObject *resultobj;
17838 wxDateTime *arg1 = (wxDateTime *) 0 ;
17839 int arg2 ;
17840 wxDateTime *result;
17841 PyObject * obj0 = 0 ;
17842 PyObject * obj1 = 0 ;
17843 char *kwnames[] = {
17844 (char *) "self",(char *) "month", NULL
17845 };
17846
17847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
17848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17850 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17851 if (PyErr_Occurred()) SWIG_fail;
17852 {
17853 PyThreadState* __tstate = wxPyBeginAllowThreads();
17854 {
17855 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
17856 result = (wxDateTime *) &_result_ref;
17857 }
17858
17859 wxPyEndAllowThreads(__tstate);
17860 if (PyErr_Occurred()) SWIG_fail;
17861 }
17862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17863 return resultobj;
17864 fail:
17865 return NULL;
17866}
17867
17868
17869static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17870 PyObject *resultobj;
17871 wxDateTime *arg1 = (wxDateTime *) 0 ;
17872 int arg2 ;
17873 wxDateTime *result;
17874 PyObject * obj0 = 0 ;
17875 PyObject * obj1 = 0 ;
17876 char *kwnames[] = {
17877 (char *) "self",(char *) "day", NULL
17878 };
17879
17880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
17881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17883 arg2 = (int) SWIG_AsInt(obj1);
17884 if (PyErr_Occurred()) SWIG_fail;
17885 {
17886 PyThreadState* __tstate = wxPyBeginAllowThreads();
17887 {
17888 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
17889 result = (wxDateTime *) &_result_ref;
17890 }
17891
17892 wxPyEndAllowThreads(__tstate);
17893 if (PyErr_Occurred()) SWIG_fail;
17894 }
17895 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17896 return resultobj;
17897 fail:
17898 return NULL;
17899}
17900
17901
17902static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17903 PyObject *resultobj;
17904 wxDateTime *arg1 = (wxDateTime *) 0 ;
17905 int arg2 ;
17906 wxDateTime *result;
17907 PyObject * obj0 = 0 ;
17908 PyObject * obj1 = 0 ;
17909 char *kwnames[] = {
17910 (char *) "self",(char *) "hour", NULL
17911 };
17912
17913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
17914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17916 arg2 = (int) SWIG_AsInt(obj1);
17917 if (PyErr_Occurred()) SWIG_fail;
17918 {
17919 PyThreadState* __tstate = wxPyBeginAllowThreads();
17920 {
17921 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
17922 result = (wxDateTime *) &_result_ref;
17923 }
17924
17925 wxPyEndAllowThreads(__tstate);
17926 if (PyErr_Occurred()) SWIG_fail;
17927 }
17928 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17929 return resultobj;
17930 fail:
17931 return NULL;
17932}
17933
17934
17935static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17936 PyObject *resultobj;
17937 wxDateTime *arg1 = (wxDateTime *) 0 ;
17938 int arg2 ;
17939 wxDateTime *result;
17940 PyObject * obj0 = 0 ;
17941 PyObject * obj1 = 0 ;
17942 char *kwnames[] = {
17943 (char *) "self",(char *) "minute", NULL
17944 };
17945
17946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
17947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17949 arg2 = (int) SWIG_AsInt(obj1);
17950 if (PyErr_Occurred()) SWIG_fail;
17951 {
17952 PyThreadState* __tstate = wxPyBeginAllowThreads();
17953 {
17954 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
17955 result = (wxDateTime *) &_result_ref;
17956 }
17957
17958 wxPyEndAllowThreads(__tstate);
17959 if (PyErr_Occurred()) SWIG_fail;
17960 }
17961 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17962 return resultobj;
17963 fail:
17964 return NULL;
17965}
17966
17967
17968static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17969 PyObject *resultobj;
17970 wxDateTime *arg1 = (wxDateTime *) 0 ;
17971 int arg2 ;
17972 wxDateTime *result;
17973 PyObject * obj0 = 0 ;
17974 PyObject * obj1 = 0 ;
17975 char *kwnames[] = {
17976 (char *) "self",(char *) "second", NULL
17977 };
17978
17979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
17980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17982 arg2 = (int) SWIG_AsInt(obj1);
17983 if (PyErr_Occurred()) SWIG_fail;
17984 {
17985 PyThreadState* __tstate = wxPyBeginAllowThreads();
17986 {
17987 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
17988 result = (wxDateTime *) &_result_ref;
17989 }
17990
17991 wxPyEndAllowThreads(__tstate);
17992 if (PyErr_Occurred()) SWIG_fail;
17993 }
17994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17995 return resultobj;
17996 fail:
17997 return NULL;
17998}
17999
18000
18001static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
18002 PyObject *resultobj;
18003 wxDateTime *arg1 = (wxDateTime *) 0 ;
18004 int arg2 ;
18005 wxDateTime *result;
18006 PyObject * obj0 = 0 ;
18007 PyObject * obj1 = 0 ;
18008 char *kwnames[] = {
18009 (char *) "self",(char *) "millisecond", NULL
18010 };
18011
18012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
18013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18015 arg2 = (int) SWIG_AsInt(obj1);
18016 if (PyErr_Occurred()) SWIG_fail;
18017 {
18018 PyThreadState* __tstate = wxPyBeginAllowThreads();
18019 {
18020 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
18021 result = (wxDateTime *) &_result_ref;
18022 }
18023
18024 wxPyEndAllowThreads(__tstate);
18025 if (PyErr_Occurred()) SWIG_fail;
18026 }
18027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18028 return resultobj;
18029 fail:
18030 return NULL;
18031}
18032
18033
18034static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18035 PyObject *resultobj;
18036 wxDateTime *arg1 = (wxDateTime *) 0 ;
18037 int arg2 ;
18038 int arg3 = (int) wxDateTime::Monday_First ;
18039 wxDateTime *result;
18040 PyObject * obj0 = 0 ;
18041 PyObject * obj1 = 0 ;
18042 PyObject * obj2 = 0 ;
18043 char *kwnames[] = {
18044 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18045 };
18046
18047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
18048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18050 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18051 if (PyErr_Occurred()) SWIG_fail;
18052 if (obj2) {
18053 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
18054 if (PyErr_Occurred()) SWIG_fail;
18055 }
18056 {
18057 PyThreadState* __tstate = wxPyBeginAllowThreads();
18058 {
18059 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18060 result = (wxDateTime *) &_result_ref;
18061 }
18062
18063 wxPyEndAllowThreads(__tstate);
18064 if (PyErr_Occurred()) SWIG_fail;
18065 }
18066 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18067 return resultobj;
18068 fail:
18069 return NULL;
18070}
18071
18072
18073static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18074 PyObject *resultobj;
18075 wxDateTime *arg1 = (wxDateTime *) 0 ;
18076 int arg2 ;
18077 int arg3 = (int) wxDateTime::Monday_First ;
18078 wxDateTime result;
18079 PyObject * obj0 = 0 ;
18080 PyObject * obj1 = 0 ;
18081 PyObject * obj2 = 0 ;
18082 char *kwnames[] = {
18083 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18084 };
18085
18086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
18087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18089 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18090 if (PyErr_Occurred()) SWIG_fail;
18091 if (obj2) {
18092 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
18093 if (PyErr_Occurred()) SWIG_fail;
18094 }
18095 {
18096 PyThreadState* __tstate = wxPyBeginAllowThreads();
18097 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18098
18099 wxPyEndAllowThreads(__tstate);
18100 if (PyErr_Occurred()) SWIG_fail;
18101 }
18102 {
18103 wxDateTime * resultptr;
18104 resultptr = new wxDateTime((wxDateTime &) result);
18105 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18106 }
18107 return resultobj;
18108 fail:
18109 return NULL;
18110}
18111
18112
18113static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18114 PyObject *resultobj;
18115 wxDateTime *arg1 = (wxDateTime *) 0 ;
18116 int arg2 ;
18117 wxDateTime *result;
18118 PyObject * obj0 = 0 ;
18119 PyObject * obj1 = 0 ;
18120 char *kwnames[] = {
18121 (char *) "self",(char *) "weekday", NULL
18122 };
18123
18124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18127 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18128 if (PyErr_Occurred()) SWIG_fail;
18129 {
18130 PyThreadState* __tstate = wxPyBeginAllowThreads();
18131 {
18132 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
18133 result = (wxDateTime *) &_result_ref;
18134 }
18135
18136 wxPyEndAllowThreads(__tstate);
18137 if (PyErr_Occurred()) SWIG_fail;
18138 }
18139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18140 return resultobj;
18141 fail:
18142 return NULL;
18143}
18144
18145
18146static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18147 PyObject *resultobj;
18148 wxDateTime *arg1 = (wxDateTime *) 0 ;
18149 int arg2 ;
18150 wxDateTime result;
18151 PyObject * obj0 = 0 ;
18152 PyObject * obj1 = 0 ;
18153 char *kwnames[] = {
18154 (char *) "self",(char *) "weekday", NULL
18155 };
18156
18157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18160 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18161 if (PyErr_Occurred()) SWIG_fail;
18162 {
18163 PyThreadState* __tstate = wxPyBeginAllowThreads();
18164 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
18165
18166 wxPyEndAllowThreads(__tstate);
18167 if (PyErr_Occurred()) SWIG_fail;
18168 }
18169 {
18170 wxDateTime * resultptr;
18171 resultptr = new wxDateTime((wxDateTime &) result);
18172 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18173 }
18174 return resultobj;
18175 fail:
18176 return NULL;
18177}
18178
18179
18180static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18181 PyObject *resultobj;
18182 wxDateTime *arg1 = (wxDateTime *) 0 ;
18183 int arg2 ;
18184 wxDateTime *result;
18185 PyObject * obj0 = 0 ;
18186 PyObject * obj1 = 0 ;
18187 char *kwnames[] = {
18188 (char *) "self",(char *) "weekday", NULL
18189 };
18190
18191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18194 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18195 if (PyErr_Occurred()) SWIG_fail;
18196 {
18197 PyThreadState* __tstate = wxPyBeginAllowThreads();
18198 {
18199 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
18200 result = (wxDateTime *) &_result_ref;
18201 }
18202
18203 wxPyEndAllowThreads(__tstate);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18207 return resultobj;
18208 fail:
18209 return NULL;
18210}
18211
18212
18213static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18214 PyObject *resultobj;
18215 wxDateTime *arg1 = (wxDateTime *) 0 ;
18216 int arg2 ;
18217 wxDateTime result;
18218 PyObject * obj0 = 0 ;
18219 PyObject * obj1 = 0 ;
18220 char *kwnames[] = {
18221 (char *) "self",(char *) "weekday", NULL
18222 };
18223
18224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18227 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18228 if (PyErr_Occurred()) SWIG_fail;
18229 {
18230 PyThreadState* __tstate = wxPyBeginAllowThreads();
18231 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
18232
18233 wxPyEndAllowThreads(__tstate);
18234 if (PyErr_Occurred()) SWIG_fail;
18235 }
18236 {
18237 wxDateTime * resultptr;
18238 resultptr = new wxDateTime((wxDateTime &) result);
18239 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18240 }
18241 return resultobj;
18242 fail:
18243 return NULL;
18244}
18245
18246
18247static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18248 PyObject *resultobj;
18249 wxDateTime *arg1 = (wxDateTime *) 0 ;
18250 int arg2 ;
18251 int arg3 = (int) 1 ;
18252 int arg4 = (int) wxDateTime::Inv_Month ;
18253 int arg5 = (int) wxDateTime::Inv_Year ;
18254 bool result;
18255 PyObject * obj0 = 0 ;
18256 PyObject * obj1 = 0 ;
18257 PyObject * obj2 = 0 ;
18258 PyObject * obj3 = 0 ;
18259 PyObject * obj4 = 0 ;
18260 char *kwnames[] = {
18261 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18262 };
18263
18264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18267 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18268 if (PyErr_Occurred()) SWIG_fail;
18269 if (obj2) {
18270 arg3 = (int) SWIG_AsInt(obj2);
18271 if (PyErr_Occurred()) SWIG_fail;
18272 }
18273 if (obj3) {
18274 arg4 = (wxDateTime::Month) SWIG_AsInt(obj3);
18275 if (PyErr_Occurred()) SWIG_fail;
18276 }
18277 if (obj4) {
18278 arg5 = (int) SWIG_AsInt(obj4);
18279 if (PyErr_Occurred()) SWIG_fail;
18280 }
18281 {
18282 PyThreadState* __tstate = wxPyBeginAllowThreads();
18283 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
18284
18285 wxPyEndAllowThreads(__tstate);
18286 if (PyErr_Occurred()) SWIG_fail;
18287 }
18288 {
18289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18290 }
18291 return resultobj;
18292 fail:
18293 return NULL;
18294}
18295
18296
18297static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18298 PyObject *resultobj;
18299 wxDateTime *arg1 = (wxDateTime *) 0 ;
18300 int arg2 ;
18301 int arg3 = (int) wxDateTime::Inv_Month ;
18302 int arg4 = (int) wxDateTime::Inv_Year ;
18303 bool result;
18304 PyObject * obj0 = 0 ;
18305 PyObject * obj1 = 0 ;
18306 PyObject * obj2 = 0 ;
18307 PyObject * obj3 = 0 ;
18308 char *kwnames[] = {
18309 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18310 };
18311
18312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18315 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18316 if (PyErr_Occurred()) SWIG_fail;
18317 if (obj2) {
18318 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18319 if (PyErr_Occurred()) SWIG_fail;
18320 }
18321 if (obj3) {
18322 arg4 = (int) SWIG_AsInt(obj3);
18323 if (PyErr_Occurred()) SWIG_fail;
18324 }
18325 {
18326 PyThreadState* __tstate = wxPyBeginAllowThreads();
18327 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18328
18329 wxPyEndAllowThreads(__tstate);
18330 if (PyErr_Occurred()) SWIG_fail;
18331 }
18332 {
18333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18334 }
18335 return resultobj;
18336 fail:
18337 return NULL;
18338}
18339
18340
18341static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18342 PyObject *resultobj;
18343 wxDateTime *arg1 = (wxDateTime *) 0 ;
18344 int arg2 ;
18345 int arg3 = (int) wxDateTime::Inv_Month ;
18346 int arg4 = (int) wxDateTime::Inv_Year ;
18347 wxDateTime result;
18348 PyObject * obj0 = 0 ;
18349 PyObject * obj1 = 0 ;
18350 PyObject * obj2 = 0 ;
18351 PyObject * obj3 = 0 ;
18352 char *kwnames[] = {
18353 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18354 };
18355
18356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18359 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18360 if (PyErr_Occurred()) SWIG_fail;
18361 if (obj2) {
18362 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18363 if (PyErr_Occurred()) SWIG_fail;
18364 }
18365 if (obj3) {
18366 arg4 = (int) SWIG_AsInt(obj3);
18367 if (PyErr_Occurred()) SWIG_fail;
18368 }
18369 {
18370 PyThreadState* __tstate = wxPyBeginAllowThreads();
18371 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18372
18373 wxPyEndAllowThreads(__tstate);
18374 if (PyErr_Occurred()) SWIG_fail;
18375 }
18376 {
18377 wxDateTime * resultptr;
18378 resultptr = new wxDateTime((wxDateTime &) result);
18379 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18380 }
18381 return resultobj;
18382 fail:
18383 return NULL;
18384}
18385
18386
18387static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18388 PyObject *resultobj;
18389 wxDateTime *arg1 = (wxDateTime *) 0 ;
18390 int arg2 ;
18391 int arg3 = (int) wxDateTime::Mon ;
18392 int arg4 = (int) wxDateTime::Monday_First ;
18393 bool result;
18394 PyObject * obj0 = 0 ;
18395 PyObject * obj1 = 0 ;
18396 PyObject * obj2 = 0 ;
18397 PyObject * obj3 = 0 ;
18398 char *kwnames[] = {
18399 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18400 };
18401
18402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18405 arg2 = (int) SWIG_AsInt(obj1);
18406 if (PyErr_Occurred()) SWIG_fail;
18407 if (obj2) {
18408 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18409 if (PyErr_Occurred()) SWIG_fail;
18410 }
18411 if (obj3) {
18412 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18413 if (PyErr_Occurred()) SWIG_fail;
18414 }
18415 {
18416 PyThreadState* __tstate = wxPyBeginAllowThreads();
18417 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18418
18419 wxPyEndAllowThreads(__tstate);
18420 if (PyErr_Occurred()) SWIG_fail;
18421 }
18422 {
18423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18424 }
18425 return resultobj;
18426 fail:
18427 return NULL;
18428}
18429
18430
18431static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18432 PyObject *resultobj;
18433 wxDateTime *arg1 = (wxDateTime *) 0 ;
18434 int arg2 ;
18435 int arg3 = (int) wxDateTime::Mon ;
18436 int arg4 = (int) wxDateTime::Monday_First ;
18437 wxDateTime result;
18438 PyObject * obj0 = 0 ;
18439 PyObject * obj1 = 0 ;
18440 PyObject * obj2 = 0 ;
18441 PyObject * obj3 = 0 ;
18442 char *kwnames[] = {
18443 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18444 };
18445
18446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18449 arg2 = (int) SWIG_AsInt(obj1);
18450 if (PyErr_Occurred()) SWIG_fail;
18451 if (obj2) {
18452 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
18455 if (obj3) {
18456 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18457 if (PyErr_Occurred()) SWIG_fail;
18458 }
18459 {
18460 PyThreadState* __tstate = wxPyBeginAllowThreads();
18461 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18462
18463 wxPyEndAllowThreads(__tstate);
18464 if (PyErr_Occurred()) SWIG_fail;
18465 }
18466 {
18467 wxDateTime * resultptr;
18468 resultptr = new wxDateTime((wxDateTime &) result);
18469 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18470 }
18471 return resultobj;
18472 fail:
18473 return NULL;
18474}
18475
18476
18477static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18478 PyObject *resultobj;
18479 wxDateTime *arg1 = (wxDateTime *) 0 ;
18480 int arg2 = (int) wxDateTime::Inv_Month ;
18481 int arg3 = (int) wxDateTime::Inv_Year ;
18482 wxDateTime *result;
18483 PyObject * obj0 = 0 ;
18484 PyObject * obj1 = 0 ;
18485 PyObject * obj2 = 0 ;
18486 char *kwnames[] = {
18487 (char *) "self",(char *) "month",(char *) "year", NULL
18488 };
18489
18490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18493 if (obj1) {
18494 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18495 if (PyErr_Occurred()) SWIG_fail;
18496 }
18497 if (obj2) {
18498 arg3 = (int) SWIG_AsInt(obj2);
18499 if (PyErr_Occurred()) SWIG_fail;
18500 }
18501 {
18502 PyThreadState* __tstate = wxPyBeginAllowThreads();
18503 {
18504 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
18505 result = (wxDateTime *) &_result_ref;
18506 }
18507
18508 wxPyEndAllowThreads(__tstate);
18509 if (PyErr_Occurred()) SWIG_fail;
18510 }
18511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18512 return resultobj;
18513 fail:
18514 return NULL;
18515}
18516
18517
18518static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18519 PyObject *resultobj;
18520 wxDateTime *arg1 = (wxDateTime *) 0 ;
18521 int arg2 = (int) wxDateTime::Inv_Month ;
18522 int arg3 = (int) wxDateTime::Inv_Year ;
18523 wxDateTime result;
18524 PyObject * obj0 = 0 ;
18525 PyObject * obj1 = 0 ;
18526 PyObject * obj2 = 0 ;
18527 char *kwnames[] = {
18528 (char *) "self",(char *) "month",(char *) "year", NULL
18529 };
18530
18531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18534 if (obj1) {
18535 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18536 if (PyErr_Occurred()) SWIG_fail;
18537 }
18538 if (obj2) {
18539 arg3 = (int) SWIG_AsInt(obj2);
18540 if (PyErr_Occurred()) SWIG_fail;
18541 }
18542 {
18543 PyThreadState* __tstate = wxPyBeginAllowThreads();
18544 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
18545
18546 wxPyEndAllowThreads(__tstate);
18547 if (PyErr_Occurred()) SWIG_fail;
18548 }
18549 {
18550 wxDateTime * resultptr;
18551 resultptr = new wxDateTime((wxDateTime &) result);
18552 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18553 }
18554 return resultobj;
18555 fail:
18556 return NULL;
18557}
18558
18559
18560static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18561 PyObject *resultobj;
18562 wxDateTime *arg1 = (wxDateTime *) 0 ;
18563 int arg2 ;
18564 wxDateTime *result;
18565 PyObject * obj0 = 0 ;
18566 PyObject * obj1 = 0 ;
18567 char *kwnames[] = {
18568 (char *) "self",(char *) "yday", NULL
18569 };
18570
18571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
18572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18574 arg2 = (int) SWIG_AsInt(obj1);
18575 if (PyErr_Occurred()) SWIG_fail;
18576 {
18577 PyThreadState* __tstate = wxPyBeginAllowThreads();
18578 {
18579 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
18580 result = (wxDateTime *) &_result_ref;
18581 }
18582
18583 wxPyEndAllowThreads(__tstate);
18584 if (PyErr_Occurred()) SWIG_fail;
18585 }
18586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18587 return resultobj;
18588 fail:
18589 return NULL;
18590}
18591
18592
18593static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18594 PyObject *resultobj;
18595 wxDateTime *arg1 = (wxDateTime *) 0 ;
18596 int arg2 ;
18597 wxDateTime result;
18598 PyObject * obj0 = 0 ;
18599 PyObject * obj1 = 0 ;
18600 char *kwnames[] = {
18601 (char *) "self",(char *) "yday", NULL
18602 };
18603
18604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
18605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18607 arg2 = (int) SWIG_AsInt(obj1);
18608 if (PyErr_Occurred()) SWIG_fail;
18609 {
18610 PyThreadState* __tstate = wxPyBeginAllowThreads();
18611 result = (arg1)->GetYearDay(arg2);
18612
18613 wxPyEndAllowThreads(__tstate);
18614 if (PyErr_Occurred()) SWIG_fail;
18615 }
18616 {
18617 wxDateTime * resultptr;
18618 resultptr = new wxDateTime((wxDateTime &) result);
18619 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18620 }
18621 return resultobj;
18622 fail:
18623 return NULL;
18624}
18625
18626
18627static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18628 PyObject *resultobj;
18629 wxDateTime *arg1 = (wxDateTime *) 0 ;
18630 double result;
18631 PyObject * obj0 = 0 ;
18632 char *kwnames[] = {
18633 (char *) "self", NULL
18634 };
18635
18636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
18637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18639 {
18640 PyThreadState* __tstate = wxPyBeginAllowThreads();
18641 result = (double)(arg1)->GetJulianDayNumber();
18642
18643 wxPyEndAllowThreads(__tstate);
18644 if (PyErr_Occurred()) SWIG_fail;
18645 }
18646 resultobj = SWIG_FromDouble((double)result);
18647 return resultobj;
18648 fail:
18649 return NULL;
18650}
18651
18652
18653static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
18654 PyObject *resultobj;
18655 wxDateTime *arg1 = (wxDateTime *) 0 ;
18656 double result;
18657 PyObject * obj0 = 0 ;
18658 char *kwnames[] = {
18659 (char *) "self", NULL
18660 };
18661
18662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
18663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18665 {
18666 PyThreadState* __tstate = wxPyBeginAllowThreads();
18667 result = (double)(arg1)->GetJDN();
18668
18669 wxPyEndAllowThreads(__tstate);
18670 if (PyErr_Occurred()) SWIG_fail;
18671 }
18672 resultobj = SWIG_FromDouble((double)result);
18673 return resultobj;
18674 fail:
18675 return NULL;
18676}
18677
18678
18679static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18680 PyObject *resultobj;
18681 wxDateTime *arg1 = (wxDateTime *) 0 ;
18682 double result;
18683 PyObject * obj0 = 0 ;
18684 char *kwnames[] = {
18685 (char *) "self", NULL
18686 };
18687
18688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
18689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18691 {
18692 PyThreadState* __tstate = wxPyBeginAllowThreads();
18693 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
18694
18695 wxPyEndAllowThreads(__tstate);
18696 if (PyErr_Occurred()) SWIG_fail;
18697 }
18698 resultobj = SWIG_FromDouble((double)result);
18699 return resultobj;
18700 fail:
18701 return NULL;
18702}
18703
18704
18705static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
18706 PyObject *resultobj;
18707 wxDateTime *arg1 = (wxDateTime *) 0 ;
18708 double result;
18709 PyObject * obj0 = 0 ;
18710 char *kwnames[] = {
18711 (char *) "self", NULL
18712 };
18713
18714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
18715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18717 {
18718 PyThreadState* __tstate = wxPyBeginAllowThreads();
18719 result = (double)(arg1)->GetMJD();
18720
18721 wxPyEndAllowThreads(__tstate);
18722 if (PyErr_Occurred()) SWIG_fail;
18723 }
18724 resultobj = SWIG_FromDouble((double)result);
18725 return resultobj;
18726 fail:
18727 return NULL;
18728}
18729
18730
18731static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
18732 PyObject *resultobj;
18733 wxDateTime *arg1 = (wxDateTime *) 0 ;
18734 double result;
18735 PyObject * obj0 = 0 ;
18736 char *kwnames[] = {
18737 (char *) "self", NULL
18738 };
18739
18740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
18741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18743 {
18744 PyThreadState* __tstate = wxPyBeginAllowThreads();
18745 result = (double)(arg1)->GetRataDie();
18746
18747 wxPyEndAllowThreads(__tstate);
18748 if (PyErr_Occurred()) SWIG_fail;
18749 }
18750 resultobj = SWIG_FromDouble((double)result);
18751 return resultobj;
18752 fail:
18753 return NULL;
18754}
18755
18756
18757static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18758 PyObject *resultobj;
18759 wxDateTime *arg1 = (wxDateTime *) 0 ;
18760 wxDateTime::TimeZone *arg2 = 0 ;
18761 bool arg3 = (bool) False ;
18762 wxDateTime result;
18763 bool temp2 = False ;
18764 PyObject * obj0 = 0 ;
18765 PyObject * obj1 = 0 ;
18766 PyObject * obj2 = 0 ;
18767 char *kwnames[] = {
18768 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18769 };
18770
18771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18774 {
18775 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18776 temp2 = True;
18777 }
18778 if (obj2) {
18779 arg3 = (bool) SWIG_AsBool(obj2);
18780 if (PyErr_Occurred()) SWIG_fail;
18781 }
18782 {
18783 PyThreadState* __tstate = wxPyBeginAllowThreads();
18784 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18785
18786 wxPyEndAllowThreads(__tstate);
18787 if (PyErr_Occurred()) SWIG_fail;
18788 }
18789 {
18790 wxDateTime * resultptr;
18791 resultptr = new wxDateTime((wxDateTime &) result);
18792 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18793 }
18794 {
18795 if (temp2) delete arg2;
18796 }
18797 return resultobj;
18798 fail:
18799 {
18800 if (temp2) delete arg2;
18801 }
18802 return NULL;
18803}
18804
18805
18806static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18807 PyObject *resultobj;
18808 wxDateTime *arg1 = (wxDateTime *) 0 ;
18809 wxDateTime::TimeZone *arg2 = 0 ;
18810 bool arg3 = (bool) False ;
18811 wxDateTime *result;
18812 bool temp2 = False ;
18813 PyObject * obj0 = 0 ;
18814 PyObject * obj1 = 0 ;
18815 PyObject * obj2 = 0 ;
18816 char *kwnames[] = {
18817 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18818 };
18819
18820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18823 {
18824 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18825 temp2 = True;
18826 }
18827 if (obj2) {
18828 arg3 = (bool) SWIG_AsBool(obj2);
18829 if (PyErr_Occurred()) SWIG_fail;
18830 }
18831 {
18832 PyThreadState* __tstate = wxPyBeginAllowThreads();
18833 {
18834 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18835 result = (wxDateTime *) &_result_ref;
18836 }
18837
18838 wxPyEndAllowThreads(__tstate);
18839 if (PyErr_Occurred()) SWIG_fail;
18840 }
18841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18842 {
18843 if (temp2) delete arg2;
18844 }
18845 return resultobj;
18846 fail:
18847 {
18848 if (temp2) delete arg2;
18849 }
18850 return NULL;
18851}
18852
18853
18854static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18855 PyObject *resultobj;
18856 wxDateTime *arg1 = (wxDateTime *) 0 ;
18857 bool arg2 = (bool) False ;
18858 wxDateTime result;
18859 PyObject * obj0 = 0 ;
18860 PyObject * obj1 = 0 ;
18861 char *kwnames[] = {
18862 (char *) "self",(char *) "noDST", NULL
18863 };
18864
18865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
18866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18868 if (obj1) {
18869 arg2 = (bool) SWIG_AsBool(obj1);
18870 if (PyErr_Occurred()) SWIG_fail;
18871 }
18872 {
18873 PyThreadState* __tstate = wxPyBeginAllowThreads();
18874 result = (arg1)->ToGMT(arg2);
18875
18876 wxPyEndAllowThreads(__tstate);
18877 if (PyErr_Occurred()) SWIG_fail;
18878 }
18879 {
18880 wxDateTime * resultptr;
18881 resultptr = new wxDateTime((wxDateTime &) result);
18882 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18883 }
18884 return resultobj;
18885 fail:
18886 return NULL;
18887}
18888
18889
18890static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18891 PyObject *resultobj;
18892 wxDateTime *arg1 = (wxDateTime *) 0 ;
18893 bool arg2 = (bool) False ;
18894 wxDateTime *result;
18895 PyObject * obj0 = 0 ;
18896 PyObject * obj1 = 0 ;
18897 char *kwnames[] = {
18898 (char *) "self",(char *) "noDST", NULL
18899 };
18900
18901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
18902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18904 if (obj1) {
18905 arg2 = (bool) SWIG_AsBool(obj1);
18906 if (PyErr_Occurred()) SWIG_fail;
18907 }
18908 {
18909 PyThreadState* __tstate = wxPyBeginAllowThreads();
18910 {
18911 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
18912 result = (wxDateTime *) &_result_ref;
18913 }
18914
18915 wxPyEndAllowThreads(__tstate);
18916 if (PyErr_Occurred()) SWIG_fail;
18917 }
18918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18919 return resultobj;
18920 fail:
18921 return NULL;
18922}
18923
18924
18925static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
18926 PyObject *resultobj;
18927 wxDateTime *arg1 = (wxDateTime *) 0 ;
18928 int arg2 = (int) wxDateTime::Country_Default ;
18929 int result;
18930 PyObject * obj0 = 0 ;
18931 PyObject * obj1 = 0 ;
18932 char *kwnames[] = {
18933 (char *) "self",(char *) "country", NULL
18934 };
18935
18936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
18937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18939 if (obj1) {
18940 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
18941 if (PyErr_Occurred()) SWIG_fail;
18942 }
18943 {
18944 PyThreadState* __tstate = wxPyBeginAllowThreads();
18945 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
18946
18947 wxPyEndAllowThreads(__tstate);
18948 if (PyErr_Occurred()) SWIG_fail;
18949 }
18950 resultobj = SWIG_FromInt((int)result);
18951 return resultobj;
18952 fail:
18953 return NULL;
18954}
18955
18956
18957static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
18958 PyObject *resultobj;
18959 wxDateTime *arg1 = (wxDateTime *) 0 ;
18960 bool result;
18961 PyObject * obj0 = 0 ;
18962 char *kwnames[] = {
18963 (char *) "self", NULL
18964 };
18965
18966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
18967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18969 {
18970 PyThreadState* __tstate = wxPyBeginAllowThreads();
18971 result = (bool)((wxDateTime const *)arg1)->IsValid();
18972
18973 wxPyEndAllowThreads(__tstate);
18974 if (PyErr_Occurred()) SWIG_fail;
18975 }
18976 {
18977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18978 }
18979 return resultobj;
18980 fail:
18981 return NULL;
18982}
18983
18984
18985static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
18986 PyObject *resultobj;
18987 wxDateTime *arg1 = (wxDateTime *) 0 ;
18988 time_t result;
18989 PyObject * obj0 = 0 ;
18990 char *kwnames[] = {
18991 (char *) "self", NULL
18992 };
18993
18994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
18995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18997 {
18998 PyThreadState* __tstate = wxPyBeginAllowThreads();
18999 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
19000
19001 wxPyEndAllowThreads(__tstate);
19002 if (PyErr_Occurred()) SWIG_fail;
19003 }
19004 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
19005 return resultobj;
19006 fail:
19007 return NULL;
19008}
19009
19010
19011static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19012 PyObject *resultobj;
19013 wxDateTime *arg1 = (wxDateTime *) 0 ;
19014 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19015 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19016 int result;
19017 bool temp2 = False ;
19018 PyObject * obj0 = 0 ;
19019 PyObject * obj1 = 0 ;
19020 char *kwnames[] = {
19021 (char *) "self",(char *) "tz", NULL
19022 };
19023
19024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
19025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19027 if (obj1) {
19028 {
19029 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19030 temp2 = True;
19031 }
19032 }
19033 {
19034 PyThreadState* __tstate = wxPyBeginAllowThreads();
19035 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
19036
19037 wxPyEndAllowThreads(__tstate);
19038 if (PyErr_Occurred()) SWIG_fail;
19039 }
19040 resultobj = SWIG_FromInt((int)result);
19041 {
19042 if (temp2) delete arg2;
19043 }
19044 return resultobj;
19045 fail:
19046 {
19047 if (temp2) delete arg2;
19048 }
19049 return NULL;
19050}
19051
19052
19053static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
19054 PyObject *resultobj;
19055 wxDateTime *arg1 = (wxDateTime *) 0 ;
19056 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19057 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19058 int result;
19059 bool temp2 = False ;
19060 PyObject * obj0 = 0 ;
19061 PyObject * obj1 = 0 ;
19062 char *kwnames[] = {
19063 (char *) "self",(char *) "tz", NULL
19064 };
19065
19066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
19067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19069 if (obj1) {
19070 {
19071 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19072 temp2 = True;
19073 }
19074 }
19075 {
19076 PyThreadState* __tstate = wxPyBeginAllowThreads();
19077 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
19078
19079 wxPyEndAllowThreads(__tstate);
19080 if (PyErr_Occurred()) SWIG_fail;
19081 }
19082 resultobj = SWIG_FromInt((int)result);
19083 {
19084 if (temp2) delete arg2;
19085 }
19086 return resultobj;
19087 fail:
19088 {
19089 if (temp2) delete arg2;
19090 }
19091 return NULL;
19092}
19093
19094
19095static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19096 PyObject *resultobj;
19097 wxDateTime *arg1 = (wxDateTime *) 0 ;
19098 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19099 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19100 int result;
19101 bool temp2 = False ;
19102 PyObject * obj0 = 0 ;
19103 PyObject * obj1 = 0 ;
19104 char *kwnames[] = {
19105 (char *) "self",(char *) "tz", NULL
19106 };
19107
19108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
19109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19111 if (obj1) {
19112 {
19113 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19114 temp2 = True;
19115 }
19116 }
19117 {
19118 PyThreadState* __tstate = wxPyBeginAllowThreads();
19119 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
19120
19121 wxPyEndAllowThreads(__tstate);
19122 if (PyErr_Occurred()) SWIG_fail;
19123 }
19124 resultobj = SWIG_FromInt((int)result);
19125 {
19126 if (temp2) delete arg2;
19127 }
19128 return resultobj;
19129 fail:
19130 {
19131 if (temp2) delete arg2;
19132 }
19133 return NULL;
19134}
19135
19136
19137static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19138 PyObject *resultobj;
19139 wxDateTime *arg1 = (wxDateTime *) 0 ;
19140 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19141 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19142 int result;
19143 bool temp2 = False ;
19144 PyObject * obj0 = 0 ;
19145 PyObject * obj1 = 0 ;
19146 char *kwnames[] = {
19147 (char *) "self",(char *) "tz", NULL
19148 };
19149
19150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
19151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19153 if (obj1) {
19154 {
19155 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19156 temp2 = True;
19157 }
19158 }
19159 {
19160 PyThreadState* __tstate = wxPyBeginAllowThreads();
19161 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
19162
19163 wxPyEndAllowThreads(__tstate);
19164 if (PyErr_Occurred()) SWIG_fail;
19165 }
19166 resultobj = SWIG_FromInt((int)result);
19167 {
19168 if (temp2) delete arg2;
19169 }
19170 return resultobj;
19171 fail:
19172 {
19173 if (temp2) delete arg2;
19174 }
19175 return NULL;
19176}
19177
19178
19179static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
19180 PyObject *resultobj;
19181 wxDateTime *arg1 = (wxDateTime *) 0 ;
19182 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19183 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19184 int result;
19185 bool temp2 = False ;
19186 PyObject * obj0 = 0 ;
19187 PyObject * obj1 = 0 ;
19188 char *kwnames[] = {
19189 (char *) "self",(char *) "tz", NULL
19190 };
19191
19192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
19193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19195 if (obj1) {
19196 {
19197 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19198 temp2 = True;
19199 }
19200 }
19201 {
19202 PyThreadState* __tstate = wxPyBeginAllowThreads();
19203 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
19204
19205 wxPyEndAllowThreads(__tstate);
19206 if (PyErr_Occurred()) SWIG_fail;
19207 }
19208 resultobj = SWIG_FromInt((int)result);
19209 {
19210 if (temp2) delete arg2;
19211 }
19212 return resultobj;
19213 fail:
19214 {
19215 if (temp2) delete arg2;
19216 }
19217 return NULL;
19218}
19219
19220
19221static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
19222 PyObject *resultobj;
19223 wxDateTime *arg1 = (wxDateTime *) 0 ;
19224 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19225 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19226 int result;
19227 bool temp2 = False ;
19228 PyObject * obj0 = 0 ;
19229 PyObject * obj1 = 0 ;
19230 char *kwnames[] = {
19231 (char *) "self",(char *) "tz", NULL
19232 };
19233
19234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
19235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19237 if (obj1) {
19238 {
19239 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19240 temp2 = True;
19241 }
19242 }
19243 {
19244 PyThreadState* __tstate = wxPyBeginAllowThreads();
19245 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
19246
19247 wxPyEndAllowThreads(__tstate);
19248 if (PyErr_Occurred()) SWIG_fail;
19249 }
19250 resultobj = SWIG_FromInt((int)result);
19251 {
19252 if (temp2) delete arg2;
19253 }
19254 return resultobj;
19255 fail:
19256 {
19257 if (temp2) delete arg2;
19258 }
19259 return NULL;
19260}
19261
19262
19263static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19264 PyObject *resultobj;
19265 wxDateTime *arg1 = (wxDateTime *) 0 ;
19266 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19267 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19268 int result;
19269 bool temp2 = False ;
19270 PyObject * obj0 = 0 ;
19271 PyObject * obj1 = 0 ;
19272 char *kwnames[] = {
19273 (char *) "self",(char *) "tz", NULL
19274 };
19275
19276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
19277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19279 if (obj1) {
19280 {
19281 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19282 temp2 = True;
19283 }
19284 }
19285 {
19286 PyThreadState* __tstate = wxPyBeginAllowThreads();
19287 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
19288
19289 wxPyEndAllowThreads(__tstate);
19290 if (PyErr_Occurred()) SWIG_fail;
19291 }
19292 resultobj = SWIG_FromInt((int)result);
19293 {
19294 if (temp2) delete arg2;
19295 }
19296 return resultobj;
19297 fail:
19298 {
19299 if (temp2) delete arg2;
19300 }
19301 return NULL;
19302}
19303
19304
19305static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19306 PyObject *resultobj;
19307 wxDateTime *arg1 = (wxDateTime *) 0 ;
19308 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19309 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19310 int result;
19311 bool temp2 = False ;
19312 PyObject * obj0 = 0 ;
19313 PyObject * obj1 = 0 ;
19314 char *kwnames[] = {
19315 (char *) "self",(char *) "tz", NULL
19316 };
19317
19318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
19319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19321 if (obj1) {
19322 {
19323 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19324 temp2 = True;
19325 }
19326 }
19327 {
19328 PyThreadState* __tstate = wxPyBeginAllowThreads();
19329 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
19330
19331 wxPyEndAllowThreads(__tstate);
19332 if (PyErr_Occurred()) SWIG_fail;
19333 }
19334 resultobj = SWIG_FromInt((int)result);
19335 {
19336 if (temp2) delete arg2;
19337 }
19338 return resultobj;
19339 fail:
19340 {
19341 if (temp2) delete arg2;
19342 }
19343 return NULL;
19344}
19345
19346
19347static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19348 PyObject *resultobj;
19349 wxDateTime *arg1 = (wxDateTime *) 0 ;
19350 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19351 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19352 int result;
19353 bool temp2 = False ;
19354 PyObject * obj0 = 0 ;
19355 PyObject * obj1 = 0 ;
19356 char *kwnames[] = {
19357 (char *) "self",(char *) "tz", NULL
19358 };
19359
19360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
19361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19363 if (obj1) {
19364 {
19365 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19366 temp2 = True;
19367 }
19368 }
19369 {
19370 PyThreadState* __tstate = wxPyBeginAllowThreads();
19371 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
19372
19373 wxPyEndAllowThreads(__tstate);
19374 if (PyErr_Occurred()) SWIG_fail;
19375 }
19376 resultobj = SWIG_FromInt((int)result);
19377 {
19378 if (temp2) delete arg2;
19379 }
19380 return resultobj;
19381 fail:
19382 {
19383 if (temp2) delete arg2;
19384 }
19385 return NULL;
19386}
19387
19388
19389static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19390 PyObject *resultobj;
19391 wxDateTime *arg1 = (wxDateTime *) 0 ;
19392 int arg2 = (int) wxDateTime::Monday_First ;
19393 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19394 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19395 int result;
19396 bool temp3 = False ;
19397 PyObject * obj0 = 0 ;
19398 PyObject * obj1 = 0 ;
19399 PyObject * obj2 = 0 ;
19400 char *kwnames[] = {
19401 (char *) "self",(char *) "flags",(char *) "tz", NULL
19402 };
19403
19404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
19405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19407 if (obj1) {
19408 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19409 if (PyErr_Occurred()) SWIG_fail;
19410 }
19411 if (obj2) {
19412 {
19413 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19414 temp3 = True;
19415 }
19416 }
19417 {
19418 PyThreadState* __tstate = wxPyBeginAllowThreads();
19419 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19420
19421 wxPyEndAllowThreads(__tstate);
19422 if (PyErr_Occurred()) SWIG_fail;
19423 }
19424 resultobj = SWIG_FromInt((int)result);
19425 {
19426 if (temp3) delete arg3;
19427 }
19428 return resultobj;
19429 fail:
19430 {
19431 if (temp3) delete arg3;
19432 }
19433 return NULL;
19434}
19435
19436
19437static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
19438 PyObject *resultobj;
19439 wxDateTime *arg1 = (wxDateTime *) 0 ;
19440 int arg2 = (int) wxDateTime::Monday_First ;
19441 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19442 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19443 int result;
19444 bool temp3 = False ;
19445 PyObject * obj0 = 0 ;
19446 PyObject * obj1 = 0 ;
19447 PyObject * obj2 = 0 ;
19448 char *kwnames[] = {
19449 (char *) "self",(char *) "flags",(char *) "tz", NULL
19450 };
19451
19452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
19453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19455 if (obj1) {
19456 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19457 if (PyErr_Occurred()) SWIG_fail;
19458 }
19459 if (obj2) {
19460 {
19461 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19462 temp3 = True;
19463 }
19464 }
19465 {
19466 PyThreadState* __tstate = wxPyBeginAllowThreads();
19467 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19468
19469 wxPyEndAllowThreads(__tstate);
19470 if (PyErr_Occurred()) SWIG_fail;
19471 }
19472 resultobj = SWIG_FromInt((int)result);
19473 {
19474 if (temp3) delete arg3;
19475 }
19476 return resultobj;
19477 fail:
19478 {
19479 if (temp3) delete arg3;
19480 }
19481 return NULL;
19482}
19483
19484
19485static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19486 PyObject *resultobj;
19487 wxDateTime *arg1 = (wxDateTime *) 0 ;
19488 int arg2 = (int) wxDateTime::Country_Default ;
19489 bool result;
19490 PyObject * obj0 = 0 ;
19491 PyObject * obj1 = 0 ;
19492 char *kwnames[] = {
19493 (char *) "self",(char *) "country", NULL
19494 };
19495
19496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
19497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19499 if (obj1) {
19500 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
19501 if (PyErr_Occurred()) SWIG_fail;
19502 }
19503 {
19504 PyThreadState* __tstate = wxPyBeginAllowThreads();
19505 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
19506
19507 wxPyEndAllowThreads(__tstate);
19508 if (PyErr_Occurred()) SWIG_fail;
19509 }
19510 {
19511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19512 }
19513 return resultobj;
19514 fail:
19515 return NULL;
19516}
19517
19518
19519static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19520 PyObject *resultobj;
19521 wxDateTime *arg1 = (wxDateTime *) 0 ;
19522 wxDateTime *arg2 = 0 ;
19523 bool result;
19524 PyObject * obj0 = 0 ;
19525 PyObject * obj1 = 0 ;
19526 char *kwnames[] = {
19527 (char *) "self",(char *) "datetime", NULL
19528 };
19529
19530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
19531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19533 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19534 SWIG_POINTER_EXCEPTION | 0)) == -1)
19535 SWIG_fail;
19536 if (arg2 == NULL) {
19537 PyErr_SetString(PyExc_TypeError,"null reference");
19538 SWIG_fail;
19539 }
19540 {
19541 PyThreadState* __tstate = wxPyBeginAllowThreads();
19542 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
19543
19544 wxPyEndAllowThreads(__tstate);
19545 if (PyErr_Occurred()) SWIG_fail;
19546 }
19547 {
19548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19549 }
19550 return resultobj;
19551 fail:
19552 return NULL;
19553}
19554
19555
19556static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19557 PyObject *resultobj;
19558 wxDateTime *arg1 = (wxDateTime *) 0 ;
19559 wxDateTime *arg2 = 0 ;
19560 bool result;
19561 PyObject * obj0 = 0 ;
19562 PyObject * obj1 = 0 ;
19563 char *kwnames[] = {
19564 (char *) "self",(char *) "datetime", NULL
19565 };
19566
19567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
19568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19570 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19571 SWIG_POINTER_EXCEPTION | 0)) == -1)
19572 SWIG_fail;
19573 if (arg2 == NULL) {
19574 PyErr_SetString(PyExc_TypeError,"null reference");
19575 SWIG_fail;
19576 }
19577 {
19578 PyThreadState* __tstate = wxPyBeginAllowThreads();
19579 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
19580
19581 wxPyEndAllowThreads(__tstate);
19582 if (PyErr_Occurred()) SWIG_fail;
19583 }
19584 {
19585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19586 }
19587 return resultobj;
19588 fail:
19589 return NULL;
19590}
19591
19592
19593static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19594 PyObject *resultobj;
19595 wxDateTime *arg1 = (wxDateTime *) 0 ;
19596 wxDateTime *arg2 = 0 ;
19597 bool result;
19598 PyObject * obj0 = 0 ;
19599 PyObject * obj1 = 0 ;
19600 char *kwnames[] = {
19601 (char *) "self",(char *) "datetime", NULL
19602 };
19603
19604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
19605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19607 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19608 SWIG_POINTER_EXCEPTION | 0)) == -1)
19609 SWIG_fail;
19610 if (arg2 == NULL) {
19611 PyErr_SetString(PyExc_TypeError,"null reference");
19612 SWIG_fail;
19613 }
19614 {
19615 PyThreadState* __tstate = wxPyBeginAllowThreads();
19616 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
19617
19618 wxPyEndAllowThreads(__tstate);
19619 if (PyErr_Occurred()) SWIG_fail;
19620 }
19621 {
19622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19623 }
19624 return resultobj;
19625 fail:
19626 return NULL;
19627}
19628
19629
19630static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19631 PyObject *resultobj;
19632 wxDateTime *arg1 = (wxDateTime *) 0 ;
19633 wxDateTime *arg2 = 0 ;
19634 wxDateTime *arg3 = 0 ;
19635 bool result;
19636 PyObject * obj0 = 0 ;
19637 PyObject * obj1 = 0 ;
19638 PyObject * obj2 = 0 ;
19639 char *kwnames[] = {
19640 (char *) "self",(char *) "t1",(char *) "t2", NULL
19641 };
19642
19643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19646 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19647 SWIG_POINTER_EXCEPTION | 0)) == -1)
19648 SWIG_fail;
19649 if (arg2 == NULL) {
19650 PyErr_SetString(PyExc_TypeError,"null reference");
19651 SWIG_fail;
19652 }
19653 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19654 SWIG_POINTER_EXCEPTION | 0)) == -1)
19655 SWIG_fail;
19656 if (arg3 == NULL) {
19657 PyErr_SetString(PyExc_TypeError,"null reference");
19658 SWIG_fail;
19659 }
19660 {
19661 PyThreadState* __tstate = wxPyBeginAllowThreads();
19662 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19663
19664 wxPyEndAllowThreads(__tstate);
19665 if (PyErr_Occurred()) SWIG_fail;
19666 }
19667 {
19668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19669 }
19670 return resultobj;
19671 fail:
19672 return NULL;
19673}
19674
19675
19676static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19677 PyObject *resultobj;
19678 wxDateTime *arg1 = (wxDateTime *) 0 ;
19679 wxDateTime *arg2 = 0 ;
19680 wxDateTime *arg3 = 0 ;
19681 bool result;
19682 PyObject * obj0 = 0 ;
19683 PyObject * obj1 = 0 ;
19684 PyObject * obj2 = 0 ;
19685 char *kwnames[] = {
19686 (char *) "self",(char *) "t1",(char *) "t2", NULL
19687 };
19688
19689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19692 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19693 SWIG_POINTER_EXCEPTION | 0)) == -1)
19694 SWIG_fail;
19695 if (arg2 == NULL) {
19696 PyErr_SetString(PyExc_TypeError,"null reference");
19697 SWIG_fail;
19698 }
19699 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19700 SWIG_POINTER_EXCEPTION | 0)) == -1)
19701 SWIG_fail;
19702 if (arg3 == NULL) {
19703 PyErr_SetString(PyExc_TypeError,"null reference");
19704 SWIG_fail;
19705 }
19706 {
19707 PyThreadState* __tstate = wxPyBeginAllowThreads();
19708 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19709
19710 wxPyEndAllowThreads(__tstate);
19711 if (PyErr_Occurred()) SWIG_fail;
19712 }
19713 {
19714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19715 }
19716 return resultobj;
19717 fail:
19718 return NULL;
19719}
19720
19721
19722static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19723 PyObject *resultobj;
19724 wxDateTime *arg1 = (wxDateTime *) 0 ;
19725 wxDateTime *arg2 = 0 ;
19726 bool result;
19727 PyObject * obj0 = 0 ;
19728 PyObject * obj1 = 0 ;
19729 char *kwnames[] = {
19730 (char *) "self",(char *) "dt", NULL
19731 };
19732
19733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
19734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19737 SWIG_POINTER_EXCEPTION | 0)) == -1)
19738 SWIG_fail;
19739 if (arg2 == NULL) {
19740 PyErr_SetString(PyExc_TypeError,"null reference");
19741 SWIG_fail;
19742 }
19743 {
19744 PyThreadState* __tstate = wxPyBeginAllowThreads();
19745 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
19746
19747 wxPyEndAllowThreads(__tstate);
19748 if (PyErr_Occurred()) SWIG_fail;
19749 }
19750 {
19751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19752 }
19753 return resultobj;
19754 fail:
19755 return NULL;
19756}
19757
19758
19759static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19760 PyObject *resultobj;
19761 wxDateTime *arg1 = (wxDateTime *) 0 ;
19762 wxDateTime *arg2 = 0 ;
19763 bool result;
19764 PyObject * obj0 = 0 ;
19765 PyObject * obj1 = 0 ;
19766 char *kwnames[] = {
19767 (char *) "self",(char *) "dt", NULL
19768 };
19769
19770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
19771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19773 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19774 SWIG_POINTER_EXCEPTION | 0)) == -1)
19775 SWIG_fail;
19776 if (arg2 == NULL) {
19777 PyErr_SetString(PyExc_TypeError,"null reference");
19778 SWIG_fail;
19779 }
19780 {
19781 PyThreadState* __tstate = wxPyBeginAllowThreads();
19782 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
19783
19784 wxPyEndAllowThreads(__tstate);
19785 if (PyErr_Occurred()) SWIG_fail;
19786 }
19787 {
19788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19789 }
19790 return resultobj;
19791 fail:
19792 return NULL;
19793}
19794
19795
19796static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19797 PyObject *resultobj;
19798 wxDateTime *arg1 = (wxDateTime *) 0 ;
19799 wxDateTime *arg2 = 0 ;
19800 wxTimeSpan *arg3 = 0 ;
19801 bool result;
19802 PyObject * obj0 = 0 ;
19803 PyObject * obj1 = 0 ;
19804 PyObject * obj2 = 0 ;
19805 char *kwnames[] = {
19806 (char *) "self",(char *) "dt",(char *) "ts", NULL
19807 };
19808
19809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19812 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19813 SWIG_POINTER_EXCEPTION | 0)) == -1)
19814 SWIG_fail;
19815 if (arg2 == NULL) {
19816 PyErr_SetString(PyExc_TypeError,"null reference");
19817 SWIG_fail;
19818 }
19819 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTimeSpan,
19820 SWIG_POINTER_EXCEPTION | 0)) == -1)
19821 SWIG_fail;
19822 if (arg3 == NULL) {
19823 PyErr_SetString(PyExc_TypeError,"null reference");
19824 SWIG_fail;
19825 }
19826 {
19827 PyThreadState* __tstate = wxPyBeginAllowThreads();
19828 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
19829
19830 wxPyEndAllowThreads(__tstate);
19831 if (PyErr_Occurred()) SWIG_fail;
19832 }
19833 {
19834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19835 }
19836 return resultobj;
19837 fail:
19838 return NULL;
19839}
19840
19841
19842static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19843 PyObject *resultobj;
19844 wxDateTime *arg1 = (wxDateTime *) 0 ;
19845 wxTimeSpan *arg2 = 0 ;
19846 wxDateTime *result;
19847 PyObject * obj0 = 0 ;
19848 PyObject * obj1 = 0 ;
19849 char *kwnames[] = {
19850 (char *) "self",(char *) "diff", NULL
19851 };
19852
19853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
19854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19856 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19857 SWIG_POINTER_EXCEPTION | 0)) == -1)
19858 SWIG_fail;
19859 if (arg2 == NULL) {
19860 PyErr_SetString(PyExc_TypeError,"null reference");
19861 SWIG_fail;
19862 }
19863 {
19864 PyThreadState* __tstate = wxPyBeginAllowThreads();
19865 {
19866 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19867 result = (wxDateTime *) &_result_ref;
19868 }
19869
19870 wxPyEndAllowThreads(__tstate);
19871 if (PyErr_Occurred()) SWIG_fail;
19872 }
19873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19874 return resultobj;
19875 fail:
19876 return NULL;
19877}
19878
19879
19880static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19881 PyObject *resultobj;
19882 wxDateTime *arg1 = (wxDateTime *) 0 ;
19883 wxDateSpan *arg2 = 0 ;
19884 wxDateTime *result;
19885 PyObject * obj0 = 0 ;
19886 PyObject * obj1 = 0 ;
19887 char *kwnames[] = {
19888 (char *) "self",(char *) "diff", NULL
19889 };
19890
19891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
19892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19894 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19895 SWIG_POINTER_EXCEPTION | 0)) == -1)
19896 SWIG_fail;
19897 if (arg2 == NULL) {
19898 PyErr_SetString(PyExc_TypeError,"null reference");
19899 SWIG_fail;
19900 }
19901 {
19902 PyThreadState* __tstate = wxPyBeginAllowThreads();
19903 {
19904 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
19905 result = (wxDateTime *) &_result_ref;
19906 }
19907
19908 wxPyEndAllowThreads(__tstate);
19909 if (PyErr_Occurred()) SWIG_fail;
19910 }
19911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19912 return resultobj;
19913 fail:
19914 return NULL;
19915}
19916
19917
19918static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19919 PyObject *resultobj;
19920 wxDateTime *arg1 = (wxDateTime *) 0 ;
19921 wxTimeSpan *arg2 = 0 ;
19922 wxDateTime *result;
19923 PyObject * obj0 = 0 ;
19924 PyObject * obj1 = 0 ;
19925 char *kwnames[] = {
19926 (char *) "self",(char *) "diff", NULL
19927 };
19928
19929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
19930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19932 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19933 SWIG_POINTER_EXCEPTION | 0)) == -1)
19934 SWIG_fail;
19935 if (arg2 == NULL) {
19936 PyErr_SetString(PyExc_TypeError,"null reference");
19937 SWIG_fail;
19938 }
19939 {
19940 PyThreadState* __tstate = wxPyBeginAllowThreads();
19941 {
19942 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19943 result = (wxDateTime *) &_result_ref;
19944 }
19945
19946 wxPyEndAllowThreads(__tstate);
19947 if (PyErr_Occurred()) SWIG_fail;
19948 }
19949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19950 return resultobj;
19951 fail:
19952 return NULL;
19953}
19954
19955
19956static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19957 PyObject *resultobj;
19958 wxDateTime *arg1 = (wxDateTime *) 0 ;
19959 wxDateSpan *arg2 = 0 ;
19960 wxDateTime *result;
19961 PyObject * obj0 = 0 ;
19962 PyObject * obj1 = 0 ;
19963 char *kwnames[] = {
19964 (char *) "self",(char *) "diff", NULL
19965 };
19966
19967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
19968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19970 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19971 SWIG_POINTER_EXCEPTION | 0)) == -1)
19972 SWIG_fail;
19973 if (arg2 == NULL) {
19974 PyErr_SetString(PyExc_TypeError,"null reference");
19975 SWIG_fail;
19976 }
19977 {
19978 PyThreadState* __tstate = wxPyBeginAllowThreads();
19979 {
19980 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
19981 result = (wxDateTime *) &_result_ref;
19982 }
19983
19984 wxPyEndAllowThreads(__tstate);
19985 if (PyErr_Occurred()) SWIG_fail;
19986 }
19987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19988 return resultobj;
19989 fail:
19990 return NULL;
19991}
19992
19993
19994static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19995 PyObject *resultobj;
19996 wxDateTime *arg1 = (wxDateTime *) 0 ;
19997 wxDateTime *arg2 = 0 ;
19998 wxTimeSpan result;
19999 PyObject * obj0 = 0 ;
20000 PyObject * obj1 = 0 ;
20001 char *kwnames[] = {
20002 (char *) "self",(char *) "dt", NULL
20003 };
20004
20005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
20006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20008 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20009 SWIG_POINTER_EXCEPTION | 0)) == -1)
20010 SWIG_fail;
20011 if (arg2 == NULL) {
20012 PyErr_SetString(PyExc_TypeError,"null reference");
20013 SWIG_fail;
20014 }
20015 {
20016 PyThreadState* __tstate = wxPyBeginAllowThreads();
20017 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
20018
20019 wxPyEndAllowThreads(__tstate);
20020 if (PyErr_Occurred()) SWIG_fail;
20021 }
20022 {
20023 wxTimeSpan * resultptr;
20024 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20025 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
20026 }
20027 return resultobj;
20028 fail:
20029 return NULL;
20030}
20031
20032
20033static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
20034 PyObject *resultobj;
20035 wxDateTime *arg1 = (wxDateTime *) 0 ;
20036 wxTimeSpan *arg2 = 0 ;
20037 wxDateTime *result;
20038 PyObject * obj0 = 0 ;
20039 PyObject * obj1 = 0 ;
20040
20041 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
20042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20044 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20045 SWIG_POINTER_EXCEPTION | 0)) == -1)
20046 SWIG_fail;
20047 if (arg2 == NULL) {
20048 PyErr_SetString(PyExc_TypeError,"null reference");
20049 SWIG_fail;
20050 }
20051 {
20052 PyThreadState* __tstate = wxPyBeginAllowThreads();
20053 {
20054 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
20055 result = (wxDateTime *) &_result_ref;
20056 }
20057
20058 wxPyEndAllowThreads(__tstate);
20059 if (PyErr_Occurred()) SWIG_fail;
20060 }
20061 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20062 return resultobj;
20063 fail:
20064 return NULL;
20065}
20066
20067
20068static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
20069 PyObject *resultobj;
20070 wxDateTime *arg1 = (wxDateTime *) 0 ;
20071 wxDateSpan *arg2 = 0 ;
20072 wxDateTime *result;
20073 PyObject * obj0 = 0 ;
20074 PyObject * obj1 = 0 ;
20075
20076 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
20077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20079 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20080 SWIG_POINTER_EXCEPTION | 0)) == -1)
20081 SWIG_fail;
20082 if (arg2 == NULL) {
20083 PyErr_SetString(PyExc_TypeError,"null reference");
20084 SWIG_fail;
20085 }
20086 {
20087 PyThreadState* __tstate = wxPyBeginAllowThreads();
20088 {
20089 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
20090 result = (wxDateTime *) &_result_ref;
20091 }
20092
20093 wxPyEndAllowThreads(__tstate);
20094 if (PyErr_Occurred()) SWIG_fail;
20095 }
20096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20097 return resultobj;
20098 fail:
20099 return NULL;
20100}
20101
20102
20103static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
20104 int argc;
20105 PyObject *argv[3];
20106 int ii;
20107
20108 argc = PyObject_Length(args);
20109 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20110 argv[ii] = PyTuple_GetItem(args,ii);
20111 }
20112 if (argc == 2) {
20113 int _v;
20114 {
20115 void *ptr;
20116 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20117 _v = 0;
20118 PyErr_Clear();
20119 } else {
20120 _v = 1;
20121 }
20122 }
20123 if (_v) {
20124 {
20125 void *ptr;
20126 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20127 _v = 0;
20128 PyErr_Clear();
20129 } else {
20130 _v = 1;
20131 }
20132 }
20133 if (_v) {
20134 return _wrap_DateTime___iadd____SWIG_0(self,args);
20135 }
20136 }
20137 }
20138 if (argc == 2) {
20139 int _v;
20140 {
20141 void *ptr;
20142 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20143 _v = 0;
20144 PyErr_Clear();
20145 } else {
20146 _v = 1;
20147 }
20148 }
20149 if (_v) {
20150 {
20151 void *ptr;
20152 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20153 _v = 0;
20154 PyErr_Clear();
20155 } else {
20156 _v = 1;
20157 }
20158 }
20159 if (_v) {
20160 return _wrap_DateTime___iadd____SWIG_1(self,args);
20161 }
20162 }
20163 }
20164
20165 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
20166 return NULL;
20167}
20168
20169
20170static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
20171 PyObject *resultobj;
20172 wxDateTime *arg1 = (wxDateTime *) 0 ;
20173 wxTimeSpan *arg2 = 0 ;
20174 wxDateTime *result;
20175 PyObject * obj0 = 0 ;
20176 PyObject * obj1 = 0 ;
20177
20178 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20181 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20182 SWIG_POINTER_EXCEPTION | 0)) == -1)
20183 SWIG_fail;
20184 if (arg2 == NULL) {
20185 PyErr_SetString(PyExc_TypeError,"null reference");
20186 SWIG_fail;
20187 }
20188 {
20189 PyThreadState* __tstate = wxPyBeginAllowThreads();
20190 {
20191 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
20192 result = (wxDateTime *) &_result_ref;
20193 }
20194
20195 wxPyEndAllowThreads(__tstate);
20196 if (PyErr_Occurred()) SWIG_fail;
20197 }
20198 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20199 return resultobj;
20200 fail:
20201 return NULL;
20202}
20203
20204
20205static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
20206 PyObject *resultobj;
20207 wxDateTime *arg1 = (wxDateTime *) 0 ;
20208 wxDateSpan *arg2 = 0 ;
20209 wxDateTime *result;
20210 PyObject * obj0 = 0 ;
20211 PyObject * obj1 = 0 ;
20212
20213 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20216 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20217 SWIG_POINTER_EXCEPTION | 0)) == -1)
20218 SWIG_fail;
20219 if (arg2 == NULL) {
20220 PyErr_SetString(PyExc_TypeError,"null reference");
20221 SWIG_fail;
20222 }
20223 {
20224 PyThreadState* __tstate = wxPyBeginAllowThreads();
20225 {
20226 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
20227 result = (wxDateTime *) &_result_ref;
20228 }
20229
20230 wxPyEndAllowThreads(__tstate);
20231 if (PyErr_Occurred()) SWIG_fail;
20232 }
20233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20234 return resultobj;
20235 fail:
20236 return NULL;
20237}
20238
20239
20240static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
20241 int argc;
20242 PyObject *argv[3];
20243 int ii;
20244
20245 argc = PyObject_Length(args);
20246 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20247 argv[ii] = PyTuple_GetItem(args,ii);
20248 }
20249 if (argc == 2) {
20250 int _v;
20251 {
20252 void *ptr;
20253 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20254 _v = 0;
20255 PyErr_Clear();
20256 } else {
20257 _v = 1;
20258 }
20259 }
20260 if (_v) {
20261 {
20262 void *ptr;
20263 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20264 _v = 0;
20265 PyErr_Clear();
20266 } else {
20267 _v = 1;
20268 }
20269 }
20270 if (_v) {
20271 return _wrap_DateTime___isub____SWIG_0(self,args);
20272 }
20273 }
20274 }
20275 if (argc == 2) {
20276 int _v;
20277 {
20278 void *ptr;
20279 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20280 _v = 0;
20281 PyErr_Clear();
20282 } else {
20283 _v = 1;
20284 }
20285 }
20286 if (_v) {
20287 {
20288 void *ptr;
20289 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20290 _v = 0;
20291 PyErr_Clear();
20292 } else {
20293 _v = 1;
20294 }
20295 }
20296 if (_v) {
20297 return _wrap_DateTime___isub____SWIG_1(self,args);
20298 }
20299 }
20300 }
20301
20302 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
20303 return NULL;
20304}
20305
20306
20307static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
20308 PyObject *resultobj;
20309 wxDateTime *arg1 = (wxDateTime *) 0 ;
20310 wxTimeSpan *arg2 = 0 ;
20311 wxDateTime result;
20312 PyObject * obj0 = 0 ;
20313 PyObject * obj1 = 0 ;
20314
20315 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20318 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20319 SWIG_POINTER_EXCEPTION | 0)) == -1)
20320 SWIG_fail;
20321 if (arg2 == NULL) {
20322 PyErr_SetString(PyExc_TypeError,"null reference");
20323 SWIG_fail;
20324 }
20325 {
20326 PyThreadState* __tstate = wxPyBeginAllowThreads();
20327 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
20328
20329 wxPyEndAllowThreads(__tstate);
20330 if (PyErr_Occurred()) SWIG_fail;
20331 }
20332 {
20333 wxDateTime * resultptr;
20334 resultptr = new wxDateTime((wxDateTime &) result);
20335 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20336 }
20337 return resultobj;
20338 fail:
20339 return NULL;
20340}
20341
20342
20343static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
20344 PyObject *resultobj;
20345 wxDateTime *arg1 = (wxDateTime *) 0 ;
20346 wxDateSpan *arg2 = 0 ;
20347 wxDateTime result;
20348 PyObject * obj0 = 0 ;
20349 PyObject * obj1 = 0 ;
20350
20351 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20354 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20355 SWIG_POINTER_EXCEPTION | 0)) == -1)
20356 SWIG_fail;
20357 if (arg2 == NULL) {
20358 PyErr_SetString(PyExc_TypeError,"null reference");
20359 SWIG_fail;
20360 }
20361 {
20362 PyThreadState* __tstate = wxPyBeginAllowThreads();
20363 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
20364
20365 wxPyEndAllowThreads(__tstate);
20366 if (PyErr_Occurred()) SWIG_fail;
20367 }
20368 {
20369 wxDateTime * resultptr;
20370 resultptr = new wxDateTime((wxDateTime &) result);
20371 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20372 }
20373 return resultobj;
20374 fail:
20375 return NULL;
20376}
20377
20378
20379static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
20380 int argc;
20381 PyObject *argv[3];
20382 int ii;
20383
20384 argc = PyObject_Length(args);
20385 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20386 argv[ii] = PyTuple_GetItem(args,ii);
20387 }
20388 if (argc == 2) {
20389 int _v;
20390 {
20391 void *ptr;
20392 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20393 _v = 0;
20394 PyErr_Clear();
20395 } else {
20396 _v = 1;
20397 }
20398 }
20399 if (_v) {
20400 {
20401 void *ptr;
20402 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20403 _v = 0;
20404 PyErr_Clear();
20405 } else {
20406 _v = 1;
20407 }
20408 }
20409 if (_v) {
20410 return _wrap_DateTime___add____SWIG_0(self,args);
20411 }
20412 }
20413 }
20414 if (argc == 2) {
20415 int _v;
20416 {
20417 void *ptr;
20418 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20419 _v = 0;
20420 PyErr_Clear();
20421 } else {
20422 _v = 1;
20423 }
20424 }
20425 if (_v) {
20426 {
20427 void *ptr;
20428 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20429 _v = 0;
20430 PyErr_Clear();
20431 } else {
20432 _v = 1;
20433 }
20434 }
20435 if (_v) {
20436 return _wrap_DateTime___add____SWIG_1(self,args);
20437 }
20438 }
20439 }
20440
20441 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
20442 return NULL;
20443}
20444
20445
20446static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
20447 PyObject *resultobj;
20448 wxDateTime *arg1 = (wxDateTime *) 0 ;
20449 wxDateTime *arg2 = 0 ;
20450 wxTimeSpan result;
20451 PyObject * obj0 = 0 ;
20452 PyObject * obj1 = 0 ;
20453
20454 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20457 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20458 SWIG_POINTER_EXCEPTION | 0)) == -1)
20459 SWIG_fail;
20460 if (arg2 == NULL) {
20461 PyErr_SetString(PyExc_TypeError,"null reference");
20462 SWIG_fail;
20463 }
20464 {
20465 PyThreadState* __tstate = wxPyBeginAllowThreads();
20466 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
20467
20468 wxPyEndAllowThreads(__tstate);
20469 if (PyErr_Occurred()) SWIG_fail;
20470 }
20471 {
20472 wxTimeSpan * resultptr;
20473 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20474 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
20475 }
20476 return resultobj;
20477 fail:
20478 return NULL;
20479}
20480
20481
20482static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
20483 PyObject *resultobj;
20484 wxDateTime *arg1 = (wxDateTime *) 0 ;
20485 wxTimeSpan *arg2 = 0 ;
20486 wxDateTime result;
20487 PyObject * obj0 = 0 ;
20488 PyObject * obj1 = 0 ;
20489
20490 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20494 SWIG_POINTER_EXCEPTION | 0)) == -1)
20495 SWIG_fail;
20496 if (arg2 == NULL) {
20497 PyErr_SetString(PyExc_TypeError,"null reference");
20498 SWIG_fail;
20499 }
20500 {
20501 PyThreadState* __tstate = wxPyBeginAllowThreads();
20502 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
20503
20504 wxPyEndAllowThreads(__tstate);
20505 if (PyErr_Occurred()) SWIG_fail;
20506 }
20507 {
20508 wxDateTime * resultptr;
20509 resultptr = new wxDateTime((wxDateTime &) result);
20510 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20511 }
20512 return resultobj;
20513 fail:
20514 return NULL;
20515}
20516
20517
20518static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
20519 PyObject *resultobj;
20520 wxDateTime *arg1 = (wxDateTime *) 0 ;
20521 wxDateSpan *arg2 = 0 ;
20522 wxDateTime result;
20523 PyObject * obj0 = 0 ;
20524 PyObject * obj1 = 0 ;
20525
20526 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20530 SWIG_POINTER_EXCEPTION | 0)) == -1)
20531 SWIG_fail;
20532 if (arg2 == NULL) {
20533 PyErr_SetString(PyExc_TypeError,"null reference");
20534 SWIG_fail;
20535 }
20536 {
20537 PyThreadState* __tstate = wxPyBeginAllowThreads();
20538 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
20539
20540 wxPyEndAllowThreads(__tstate);
20541 if (PyErr_Occurred()) SWIG_fail;
20542 }
20543 {
20544 wxDateTime * resultptr;
20545 resultptr = new wxDateTime((wxDateTime &) result);
20546 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20547 }
20548 return resultobj;
20549 fail:
20550 return NULL;
20551}
20552
20553
20554static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
20555 int argc;
20556 PyObject *argv[3];
20557 int ii;
20558
20559 argc = PyObject_Length(args);
20560 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20561 argv[ii] = PyTuple_GetItem(args,ii);
20562 }
20563 if (argc == 2) {
20564 int _v;
20565 {
20566 void *ptr;
20567 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20568 _v = 0;
20569 PyErr_Clear();
20570 } else {
20571 _v = 1;
20572 }
20573 }
20574 if (_v) {
20575 {
20576 void *ptr;
20577 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20578 _v = 0;
20579 PyErr_Clear();
20580 } else {
20581 _v = 1;
20582 }
20583 }
20584 if (_v) {
20585 return _wrap_DateTime___sub____SWIG_0(self,args);
20586 }
20587 }
20588 }
20589 if (argc == 2) {
20590 int _v;
20591 {
20592 void *ptr;
20593 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20594 _v = 0;
20595 PyErr_Clear();
20596 } else {
20597 _v = 1;
20598 }
20599 }
20600 if (_v) {
20601 {
20602 void *ptr;
20603 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20604 _v = 0;
20605 PyErr_Clear();
20606 } else {
20607 _v = 1;
20608 }
20609 }
20610 if (_v) {
20611 return _wrap_DateTime___sub____SWIG_1(self,args);
20612 }
20613 }
20614 }
20615 if (argc == 2) {
20616 int _v;
20617 {
20618 void *ptr;
20619 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20620 _v = 0;
20621 PyErr_Clear();
20622 } else {
20623 _v = 1;
20624 }
20625 }
20626 if (_v) {
20627 {
20628 void *ptr;
20629 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20630 _v = 0;
20631 PyErr_Clear();
20632 } else {
20633 _v = 1;
20634 }
20635 }
20636 if (_v) {
20637 return _wrap_DateTime___sub____SWIG_2(self,args);
20638 }
20639 }
20640 }
20641
20642 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
20643 return NULL;
20644}
20645
20646
20647static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
20648 PyObject *resultobj;
20649 wxDateTime *arg1 = (wxDateTime *) 0 ;
20650 wxDateTime *arg2 = (wxDateTime *) 0 ;
20651 bool result;
20652 PyObject * obj0 = 0 ;
20653 PyObject * obj1 = 0 ;
20654
20655 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
20656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20658 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20660 {
20661 PyThreadState* __tstate = wxPyBeginAllowThreads();
20662 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
20663
20664 wxPyEndAllowThreads(__tstate);
20665 if (PyErr_Occurred()) SWIG_fail;
20666 }
20667 {
20668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20669 }
20670 return resultobj;
20671 fail:
20672 return NULL;
20673}
20674
20675
20676static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
20677 PyObject *resultobj;
20678 wxDateTime *arg1 = (wxDateTime *) 0 ;
20679 wxDateTime *arg2 = (wxDateTime *) 0 ;
20680 bool result;
20681 PyObject * obj0 = 0 ;
20682 PyObject * obj1 = 0 ;
20683
20684 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
20685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20687 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20689 {
20690 PyThreadState* __tstate = wxPyBeginAllowThreads();
20691 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
20692
20693 wxPyEndAllowThreads(__tstate);
20694 if (PyErr_Occurred()) SWIG_fail;
20695 }
20696 {
20697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20698 }
20699 return resultobj;
20700 fail:
20701 return NULL;
20702}
20703
20704
20705static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
20706 PyObject *resultobj;
20707 wxDateTime *arg1 = (wxDateTime *) 0 ;
20708 wxDateTime *arg2 = (wxDateTime *) 0 ;
20709 bool result;
20710 PyObject * obj0 = 0 ;
20711 PyObject * obj1 = 0 ;
20712
20713 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
20714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20716 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20718 {
20719 PyThreadState* __tstate = wxPyBeginAllowThreads();
20720 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
20721
20722 wxPyEndAllowThreads(__tstate);
20723 if (PyErr_Occurred()) SWIG_fail;
20724 }
20725 {
20726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20727 }
20728 return resultobj;
20729 fail:
20730 return NULL;
20731}
20732
20733
20734static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
20735 PyObject *resultobj;
20736 wxDateTime *arg1 = (wxDateTime *) 0 ;
20737 wxDateTime *arg2 = (wxDateTime *) 0 ;
20738 bool result;
20739 PyObject * obj0 = 0 ;
20740 PyObject * obj1 = 0 ;
20741
20742 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
20743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20745 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20747 {
20748 PyThreadState* __tstate = wxPyBeginAllowThreads();
20749 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
20750
20751 wxPyEndAllowThreads(__tstate);
20752 if (PyErr_Occurred()) SWIG_fail;
20753 }
20754 {
20755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20756 }
20757 return resultobj;
20758 fail:
20759 return NULL;
20760}
20761
20762
20763static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
20764 PyObject *resultobj;
20765 wxDateTime *arg1 = (wxDateTime *) 0 ;
20766 wxDateTime *arg2 = (wxDateTime *) 0 ;
20767 bool result;
20768 PyObject * obj0 = 0 ;
20769 PyObject * obj1 = 0 ;
20770
20771 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
20772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20774 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20776 {
20777 PyThreadState* __tstate = wxPyBeginAllowThreads();
20778 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
20779
20780 wxPyEndAllowThreads(__tstate);
20781 if (PyErr_Occurred()) SWIG_fail;
20782 }
20783 {
20784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20785 }
20786 return resultobj;
20787 fail:
20788 return NULL;
20789}
20790
20791
20792static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
20793 PyObject *resultobj;
20794 wxDateTime *arg1 = (wxDateTime *) 0 ;
20795 wxDateTime *arg2 = (wxDateTime *) 0 ;
20796 bool result;
20797 PyObject * obj0 = 0 ;
20798 PyObject * obj1 = 0 ;
20799
20800 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
20801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20805 {
20806 PyThreadState* __tstate = wxPyBeginAllowThreads();
20807 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
20808
20809 wxPyEndAllowThreads(__tstate);
20810 if (PyErr_Occurred()) SWIG_fail;
20811 }
20812 {
20813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20814 }
20815 return resultobj;
20816 fail:
20817 return NULL;
20818}
20819
20820
20821static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
20822 PyObject *resultobj;
20823 wxDateTime *arg1 = (wxDateTime *) 0 ;
20824 wxString *arg2 = 0 ;
20825 int result;
20826 bool temp2 = False ;
20827 PyObject * obj0 = 0 ;
20828 PyObject * obj1 = 0 ;
20829 char *kwnames[] = {
20830 (char *) "self",(char *) "date", NULL
20831 };
20832
20833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
20834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20836 {
20837 arg2 = wxString_in_helper(obj1);
20838 if (arg2 == NULL) SWIG_fail;
20839 temp2 = True;
20840 }
20841 {
20842 PyThreadState* __tstate = wxPyBeginAllowThreads();
20843 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
20844
20845 wxPyEndAllowThreads(__tstate);
20846 if (PyErr_Occurred()) SWIG_fail;
20847 }
20848 resultobj = SWIG_FromInt((int)result);
20849 {
20850 if (temp2)
20851 delete arg2;
20852 }
20853 return resultobj;
20854 fail:
20855 {
20856 if (temp2)
20857 delete arg2;
20858 }
20859 return NULL;
20860}
20861
20862
20863static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
20864 PyObject *resultobj;
20865 wxDateTime *arg1 = (wxDateTime *) 0 ;
20866 wxString *arg2 = 0 ;
20867 wxString const &arg3_defvalue = wxPyDateFormatStr ;
20868 wxString *arg3 = (wxString *) &arg3_defvalue ;
20869 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
20870 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
20871 int result;
20872 bool temp2 = False ;
20873 bool temp3 = False ;
20874 PyObject * obj0 = 0 ;
20875 PyObject * obj1 = 0 ;
20876 PyObject * obj2 = 0 ;
20877 PyObject * obj3 = 0 ;
20878 char *kwnames[] = {
20879 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20880 };
20881
20882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20885 {
20886 arg2 = wxString_in_helper(obj1);
20887 if (arg2 == NULL) SWIG_fail;
20888 temp2 = True;
20889 }
20890 if (obj2) {
20891 {
20892 arg3 = wxString_in_helper(obj2);
20893 if (arg3 == NULL) SWIG_fail;
20894 temp3 = True;
20895 }
20896 }
20897 if (obj3) {
20898 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDateTime,
20899 SWIG_POINTER_EXCEPTION | 0)) == -1)
20900 SWIG_fail;
20901 if (arg4 == NULL) {
20902 PyErr_SetString(PyExc_TypeError,"null reference");
20903 SWIG_fail;
20904 }
20905 }
20906 {
20907 PyThreadState* __tstate = wxPyBeginAllowThreads();
20908 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
20909
20910 wxPyEndAllowThreads(__tstate);
20911 if (PyErr_Occurred()) SWIG_fail;
20912 }
20913 resultobj = SWIG_FromInt((int)result);
20914 {
20915 if (temp2)
20916 delete arg2;
20917 }
20918 {
20919 if (temp3)
20920 delete arg3;
20921 }
20922 return resultobj;
20923 fail:
20924 {
20925 if (temp2)
20926 delete arg2;
20927 }
20928 {
20929 if (temp3)
20930 delete arg3;
20931 }
20932 return NULL;
20933}
20934
20935
20936static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20937 PyObject *resultobj;
20938 wxDateTime *arg1 = (wxDateTime *) 0 ;
20939 wxString *arg2 = 0 ;
20940 int result;
20941 bool temp2 = False ;
20942 PyObject * obj0 = 0 ;
20943 PyObject * obj1 = 0 ;
20944 char *kwnames[] = {
20945 (char *) "self",(char *) "datetime", NULL
20946 };
20947
20948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
20949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20951 {
20952 arg2 = wxString_in_helper(obj1);
20953 if (arg2 == NULL) SWIG_fail;
20954 temp2 = True;
20955 }
20956 {
20957 PyThreadState* __tstate = wxPyBeginAllowThreads();
20958 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
20959
20960 wxPyEndAllowThreads(__tstate);
20961 if (PyErr_Occurred()) SWIG_fail;
20962 }
20963 resultobj = SWIG_FromInt((int)result);
20964 {
20965 if (temp2)
20966 delete arg2;
20967 }
20968 return resultobj;
20969 fail:
20970 {
20971 if (temp2)
20972 delete arg2;
20973 }
20974 return NULL;
20975}
20976
20977
20978static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
20979 PyObject *resultobj;
20980 wxDateTime *arg1 = (wxDateTime *) 0 ;
20981 wxString *arg2 = 0 ;
20982 int result;
20983 bool temp2 = False ;
20984 PyObject * obj0 = 0 ;
20985 PyObject * obj1 = 0 ;
20986 char *kwnames[] = {
20987 (char *) "self",(char *) "date", NULL
20988 };
20989
20990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
20991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20993 {
20994 arg2 = wxString_in_helper(obj1);
20995 if (arg2 == NULL) SWIG_fail;
20996 temp2 = True;
20997 }
20998 {
20999 PyThreadState* __tstate = wxPyBeginAllowThreads();
21000 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
21001
21002 wxPyEndAllowThreads(__tstate);
21003 if (PyErr_Occurred()) SWIG_fail;
21004 }
21005 resultobj = SWIG_FromInt((int)result);
21006 {
21007 if (temp2)
21008 delete arg2;
21009 }
21010 return resultobj;
21011 fail:
21012 {
21013 if (temp2)
21014 delete arg2;
21015 }
21016 return NULL;
21017}
21018
21019
21020static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21021 PyObject *resultobj;
21022 wxDateTime *arg1 = (wxDateTime *) 0 ;
21023 wxString *arg2 = 0 ;
21024 int result;
21025 bool temp2 = False ;
21026 PyObject * obj0 = 0 ;
21027 PyObject * obj1 = 0 ;
21028 char *kwnames[] = {
21029 (char *) "self",(char *) "time", NULL
21030 };
21031
21032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
21033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21035 {
21036 arg2 = wxString_in_helper(obj1);
21037 if (arg2 == NULL) SWIG_fail;
21038 temp2 = True;
21039 }
21040 {
21041 PyThreadState* __tstate = wxPyBeginAllowThreads();
21042 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
21043
21044 wxPyEndAllowThreads(__tstate);
21045 if (PyErr_Occurred()) SWIG_fail;
21046 }
21047 resultobj = SWIG_FromInt((int)result);
21048 {
21049 if (temp2)
21050 delete arg2;
21051 }
21052 return resultobj;
21053 fail:
21054 {
21055 if (temp2)
21056 delete arg2;
21057 }
21058 return NULL;
21059}
21060
21061
21062static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
21063 PyObject *resultobj;
21064 wxDateTime *arg1 = (wxDateTime *) 0 ;
21065 wxString const &arg2_defvalue = wxPyDateFormatStr ;
21066 wxString *arg2 = (wxString *) &arg2_defvalue ;
21067 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
21068 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
21069 wxString result;
21070 bool temp2 = False ;
21071 bool temp3 = False ;
21072 PyObject * obj0 = 0 ;
21073 PyObject * obj1 = 0 ;
21074 PyObject * obj2 = 0 ;
21075 char *kwnames[] = {
21076 (char *) "self",(char *) "format",(char *) "tz", NULL
21077 };
21078
21079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
21080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21082 if (obj1) {
21083 {
21084 arg2 = wxString_in_helper(obj1);
21085 if (arg2 == NULL) SWIG_fail;
21086 temp2 = True;
21087 }
21088 }
21089 if (obj2) {
21090 {
21091 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
21092 temp3 = True;
21093 }
21094 }
21095 {
21096 PyThreadState* __tstate = wxPyBeginAllowThreads();
21097 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
21098
21099 wxPyEndAllowThreads(__tstate);
21100 if (PyErr_Occurred()) SWIG_fail;
21101 }
21102 {
21103#if wxUSE_UNICODE
21104 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21105#else
21106 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21107#endif
21108 }
21109 {
21110 if (temp2)
21111 delete arg2;
21112 }
21113 {
21114 if (temp3) delete arg3;
21115 }
21116 return resultobj;
21117 fail:
21118 {
21119 if (temp2)
21120 delete arg2;
21121 }
21122 {
21123 if (temp3) delete arg3;
21124 }
21125 return NULL;
21126}
21127
21128
21129static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
21130 PyObject *resultobj;
21131 wxDateTime *arg1 = (wxDateTime *) 0 ;
21132 wxString result;
21133 PyObject * obj0 = 0 ;
21134 char *kwnames[] = {
21135 (char *) "self", NULL
21136 };
21137
21138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
21139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21141 {
21142 PyThreadState* __tstate = wxPyBeginAllowThreads();
21143 result = ((wxDateTime const *)arg1)->FormatDate();
21144
21145 wxPyEndAllowThreads(__tstate);
21146 if (PyErr_Occurred()) SWIG_fail;
21147 }
21148 {
21149#if wxUSE_UNICODE
21150 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21151#else
21152 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21153#endif
21154 }
21155 return resultobj;
21156 fail:
21157 return NULL;
21158}
21159
21160
21161static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21162 PyObject *resultobj;
21163 wxDateTime *arg1 = (wxDateTime *) 0 ;
21164 wxString result;
21165 PyObject * obj0 = 0 ;
21166 char *kwnames[] = {
21167 (char *) "self", NULL
21168 };
21169
21170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
21171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21173 {
21174 PyThreadState* __tstate = wxPyBeginAllowThreads();
21175 result = ((wxDateTime const *)arg1)->FormatTime();
21176
21177 wxPyEndAllowThreads(__tstate);
21178 if (PyErr_Occurred()) SWIG_fail;
21179 }
21180 {
21181#if wxUSE_UNICODE
21182 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21183#else
21184 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21185#endif
21186 }
21187 return resultobj;
21188 fail:
21189 return NULL;
21190}
21191
21192
21193static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
21194 PyObject *resultobj;
21195 wxDateTime *arg1 = (wxDateTime *) 0 ;
21196 wxString result;
21197 PyObject * obj0 = 0 ;
21198 char *kwnames[] = {
21199 (char *) "self", NULL
21200 };
21201
21202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
21203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21205 {
21206 PyThreadState* __tstate = wxPyBeginAllowThreads();
21207 result = ((wxDateTime const *)arg1)->FormatISODate();
21208
21209 wxPyEndAllowThreads(__tstate);
21210 if (PyErr_Occurred()) SWIG_fail;
21211 }
21212 {
21213#if wxUSE_UNICODE
21214 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21215#else
21216 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21217#endif
21218 }
21219 return resultobj;
21220 fail:
21221 return NULL;
21222}
21223
21224
21225static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21226 PyObject *resultobj;
21227 wxDateTime *arg1 = (wxDateTime *) 0 ;
21228 wxString result;
21229 PyObject * obj0 = 0 ;
21230 char *kwnames[] = {
21231 (char *) "self", NULL
21232 };
21233
21234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
21235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21237 {
21238 PyThreadState* __tstate = wxPyBeginAllowThreads();
21239 result = ((wxDateTime const *)arg1)->FormatISOTime();
21240
21241 wxPyEndAllowThreads(__tstate);
21242 if (PyErr_Occurred()) SWIG_fail;
21243 }
21244 {
21245#if wxUSE_UNICODE
21246 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21247#else
21248 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21249#endif
21250 }
21251 return resultobj;
21252 fail:
21253 return NULL;
21254}
21255
21256
21257static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
21258 PyObject *obj;
21259 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21260 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
21261 Py_INCREF(obj);
21262 return Py_BuildValue((char *)"");
21263}
21264static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
21265 PyObject *resultobj;
21266 long arg1 ;
21267 wxTimeSpan result;
21268 PyObject * obj0 = 0 ;
21269 char *kwnames[] = {
21270 (char *) "sec", NULL
21271 };
21272
21273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
21274 arg1 = (long) SWIG_AsLong(obj0);
21275 if (PyErr_Occurred()) SWIG_fail;
21276 {
21277 PyThreadState* __tstate = wxPyBeginAllowThreads();
21278 result = wxTimeSpan::Seconds(arg1);
21279
21280 wxPyEndAllowThreads(__tstate);
21281 if (PyErr_Occurred()) SWIG_fail;
21282 }
21283 {
21284 wxTimeSpan * resultptr;
21285 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21286 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21287 }
21288 return resultobj;
21289 fail:
21290 return NULL;
21291}
21292
21293
21294static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
21295 PyObject *resultobj;
21296 wxTimeSpan result;
21297 char *kwnames[] = {
21298 NULL
21299 };
21300
21301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
21302 {
21303 PyThreadState* __tstate = wxPyBeginAllowThreads();
21304 result = wxTimeSpan::Second();
21305
21306 wxPyEndAllowThreads(__tstate);
21307 if (PyErr_Occurred()) SWIG_fail;
21308 }
21309 {
21310 wxTimeSpan * resultptr;
21311 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21312 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21313 }
21314 return resultobj;
21315 fail:
21316 return NULL;
21317}
21318
21319
21320static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
21321 PyObject *resultobj;
21322 long arg1 ;
21323 wxTimeSpan result;
21324 PyObject * obj0 = 0 ;
21325 char *kwnames[] = {
21326 (char *) "min", NULL
21327 };
21328
21329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
21330 arg1 = (long) SWIG_AsLong(obj0);
21331 if (PyErr_Occurred()) SWIG_fail;
21332 {
21333 PyThreadState* __tstate = wxPyBeginAllowThreads();
21334 result = wxTimeSpan::Minutes(arg1);
21335
21336 wxPyEndAllowThreads(__tstate);
21337 if (PyErr_Occurred()) SWIG_fail;
21338 }
21339 {
21340 wxTimeSpan * resultptr;
21341 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21342 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21343 }
21344 return resultobj;
21345 fail:
21346 return NULL;
21347}
21348
21349
21350static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
21351 PyObject *resultobj;
21352 wxTimeSpan result;
21353 char *kwnames[] = {
21354 NULL
21355 };
21356
21357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
21358 {
21359 PyThreadState* __tstate = wxPyBeginAllowThreads();
21360 result = wxTimeSpan::Minute();
21361
21362 wxPyEndAllowThreads(__tstate);
21363 if (PyErr_Occurred()) SWIG_fail;
21364 }
21365 {
21366 wxTimeSpan * resultptr;
21367 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21368 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21369 }
21370 return resultobj;
21371 fail:
21372 return NULL;
21373}
21374
21375
21376static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
21377 PyObject *resultobj;
21378 long arg1 ;
21379 wxTimeSpan result;
21380 PyObject * obj0 = 0 ;
21381 char *kwnames[] = {
21382 (char *) "hours", NULL
21383 };
21384
21385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
21386 arg1 = (long) SWIG_AsLong(obj0);
21387 if (PyErr_Occurred()) SWIG_fail;
21388 {
21389 PyThreadState* __tstate = wxPyBeginAllowThreads();
21390 result = wxTimeSpan::Hours(arg1);
21391
21392 wxPyEndAllowThreads(__tstate);
21393 if (PyErr_Occurred()) SWIG_fail;
21394 }
21395 {
21396 wxTimeSpan * resultptr;
21397 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21398 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21399 }
21400 return resultobj;
21401 fail:
21402 return NULL;
21403}
21404
21405
21406static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
21407 PyObject *resultobj;
21408 wxTimeSpan result;
21409 char *kwnames[] = {
21410 NULL
21411 };
21412
21413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
21414 {
21415 PyThreadState* __tstate = wxPyBeginAllowThreads();
21416 result = wxTimeSpan::Hour();
21417
21418 wxPyEndAllowThreads(__tstate);
21419 if (PyErr_Occurred()) SWIG_fail;
21420 }
21421 {
21422 wxTimeSpan * resultptr;
21423 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21424 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21425 }
21426 return resultobj;
21427 fail:
21428 return NULL;
21429}
21430
21431
21432static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
21433 PyObject *resultobj;
21434 long arg1 ;
21435 wxTimeSpan result;
21436 PyObject * obj0 = 0 ;
21437 char *kwnames[] = {
21438 (char *) "days", NULL
21439 };
21440
21441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
21442 arg1 = (long) SWIG_AsLong(obj0);
21443 if (PyErr_Occurred()) SWIG_fail;
21444 {
21445 PyThreadState* __tstate = wxPyBeginAllowThreads();
21446 result = wxTimeSpan::Days(arg1);
21447
21448 wxPyEndAllowThreads(__tstate);
21449 if (PyErr_Occurred()) SWIG_fail;
21450 }
21451 {
21452 wxTimeSpan * resultptr;
21453 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21454 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21455 }
21456 return resultobj;
21457 fail:
21458 return NULL;
21459}
21460
21461
21462static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
21463 PyObject *resultobj;
21464 wxTimeSpan result;
21465 char *kwnames[] = {
21466 NULL
21467 };
21468
21469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
21470 {
21471 PyThreadState* __tstate = wxPyBeginAllowThreads();
21472 result = wxTimeSpan::Day();
21473
21474 wxPyEndAllowThreads(__tstate);
21475 if (PyErr_Occurred()) SWIG_fail;
21476 }
21477 {
21478 wxTimeSpan * resultptr;
21479 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21480 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21481 }
21482 return resultobj;
21483 fail:
21484 return NULL;
21485}
21486
21487
21488static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
21489 PyObject *resultobj;
21490 long arg1 ;
21491 wxTimeSpan result;
21492 PyObject * obj0 = 0 ;
21493 char *kwnames[] = {
21494 (char *) "days", NULL
21495 };
21496
21497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
21498 arg1 = (long) SWIG_AsLong(obj0);
21499 if (PyErr_Occurred()) SWIG_fail;
21500 {
21501 PyThreadState* __tstate = wxPyBeginAllowThreads();
21502 result = wxTimeSpan::Weeks(arg1);
21503
21504 wxPyEndAllowThreads(__tstate);
21505 if (PyErr_Occurred()) SWIG_fail;
21506 }
21507 {
21508 wxTimeSpan * resultptr;
21509 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21510 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21511 }
21512 return resultobj;
21513 fail:
21514 return NULL;
21515}
21516
21517
21518static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
21519 PyObject *resultobj;
21520 wxTimeSpan result;
21521 char *kwnames[] = {
21522 NULL
21523 };
21524
21525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
21526 {
21527 PyThreadState* __tstate = wxPyBeginAllowThreads();
21528 result = wxTimeSpan::Week();
21529
21530 wxPyEndAllowThreads(__tstate);
21531 if (PyErr_Occurred()) SWIG_fail;
21532 }
21533 {
21534 wxTimeSpan * resultptr;
21535 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21536 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21537 }
21538 return resultobj;
21539 fail:
21540 return NULL;
21541}
21542
21543
21544static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21545 PyObject *resultobj;
21546 long arg1 = (long) 0 ;
21547 long arg2 = (long) 0 ;
21548 long arg3 = (long) 0 ;
21549 long arg4 = (long) 0 ;
21550 wxTimeSpan *result;
21551 PyObject * obj0 = 0 ;
21552 PyObject * obj1 = 0 ;
21553 PyObject * obj2 = 0 ;
21554 PyObject * obj3 = 0 ;
21555 char *kwnames[] = {
21556 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21557 };
21558
21559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21560 if (obj0) {
21561 arg1 = (long) SWIG_AsLong(obj0);
21562 if (PyErr_Occurred()) SWIG_fail;
21563 }
21564 if (obj1) {
21565 arg2 = (long) SWIG_AsLong(obj1);
21566 if (PyErr_Occurred()) SWIG_fail;
21567 }
21568 if (obj2) {
21569 arg3 = (long) SWIG_AsLong(obj2);
21570 if (PyErr_Occurred()) SWIG_fail;
21571 }
21572 if (obj3) {
21573 arg4 = (long) SWIG_AsLong(obj3);
21574 if (PyErr_Occurred()) SWIG_fail;
21575 }
21576 {
21577 PyThreadState* __tstate = wxPyBeginAllowThreads();
21578 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
21579
21580 wxPyEndAllowThreads(__tstate);
21581 if (PyErr_Occurred()) SWIG_fail;
21582 }
21583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
21584 return resultobj;
21585 fail:
21586 return NULL;
21587}
21588
21589
21590static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21591 PyObject *resultobj;
21592 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21593 PyObject * obj0 = 0 ;
21594 char *kwnames[] = {
21595 (char *) "self", NULL
21596 };
21597
21598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
21599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21601 {
21602 PyThreadState* __tstate = wxPyBeginAllowThreads();
21603 delete arg1;
21604
21605 wxPyEndAllowThreads(__tstate);
21606 if (PyErr_Occurred()) SWIG_fail;
21607 }
21608 Py_INCREF(Py_None); resultobj = Py_None;
21609 return resultobj;
21610 fail:
21611 return NULL;
21612}
21613
21614
21615static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
21616 PyObject *resultobj;
21617 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21618 wxTimeSpan *arg2 = 0 ;
21619 wxTimeSpan *result;
21620 PyObject * obj0 = 0 ;
21621 PyObject * obj1 = 0 ;
21622 char *kwnames[] = {
21623 (char *) "self",(char *) "diff", NULL
21624 };
21625
21626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
21627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21629 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21630 SWIG_POINTER_EXCEPTION | 0)) == -1)
21631 SWIG_fail;
21632 if (arg2 == NULL) {
21633 PyErr_SetString(PyExc_TypeError,"null reference");
21634 SWIG_fail;
21635 }
21636 {
21637 PyThreadState* __tstate = wxPyBeginAllowThreads();
21638 {
21639 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
21640 result = (wxTimeSpan *) &_result_ref;
21641 }
21642
21643 wxPyEndAllowThreads(__tstate);
21644 if (PyErr_Occurred()) SWIG_fail;
21645 }
21646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21647 return resultobj;
21648 fail:
21649 return NULL;
21650}
21651
21652
21653static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
21654 PyObject *resultobj;
21655 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21656 wxTimeSpan *arg2 = 0 ;
21657 wxTimeSpan *result;
21658 PyObject * obj0 = 0 ;
21659 PyObject * obj1 = 0 ;
21660 char *kwnames[] = {
21661 (char *) "self",(char *) "diff", NULL
21662 };
21663
21664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
21665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21667 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21668 SWIG_POINTER_EXCEPTION | 0)) == -1)
21669 SWIG_fail;
21670 if (arg2 == NULL) {
21671 PyErr_SetString(PyExc_TypeError,"null reference");
21672 SWIG_fail;
21673 }
21674 {
21675 PyThreadState* __tstate = wxPyBeginAllowThreads();
21676 {
21677 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
21678 result = (wxTimeSpan *) &_result_ref;
21679 }
21680
21681 wxPyEndAllowThreads(__tstate);
21682 if (PyErr_Occurred()) SWIG_fail;
21683 }
21684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21685 return resultobj;
21686 fail:
21687 return NULL;
21688}
21689
21690
21691static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
21692 PyObject *resultobj;
21693 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21694 int arg2 ;
21695 wxTimeSpan *result;
21696 PyObject * obj0 = 0 ;
21697 PyObject * obj1 = 0 ;
21698 char *kwnames[] = {
21699 (char *) "self",(char *) "n", NULL
21700 };
21701
21702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
21703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21705 arg2 = (int) SWIG_AsInt(obj1);
21706 if (PyErr_Occurred()) SWIG_fail;
21707 {
21708 PyThreadState* __tstate = wxPyBeginAllowThreads();
21709 {
21710 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
21711 result = (wxTimeSpan *) &_result_ref;
21712 }
21713
21714 wxPyEndAllowThreads(__tstate);
21715 if (PyErr_Occurred()) SWIG_fail;
21716 }
21717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21718 return resultobj;
21719 fail:
21720 return NULL;
21721}
21722
21723
21724static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
21725 PyObject *resultobj;
21726 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21727 wxTimeSpan *result;
21728 PyObject * obj0 = 0 ;
21729 char *kwnames[] = {
21730 (char *) "self", NULL
21731 };
21732
21733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
21734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21736 {
21737 PyThreadState* __tstate = wxPyBeginAllowThreads();
21738 {
21739 wxTimeSpan &_result_ref = (arg1)->Neg();
21740 result = (wxTimeSpan *) &_result_ref;
21741 }
21742
21743 wxPyEndAllowThreads(__tstate);
21744 if (PyErr_Occurred()) SWIG_fail;
21745 }
21746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21747 return resultobj;
21748 fail:
21749 return NULL;
21750}
21751
21752
21753static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
21754 PyObject *resultobj;
21755 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21756 wxTimeSpan result;
21757 PyObject * obj0 = 0 ;
21758 char *kwnames[] = {
21759 (char *) "self", NULL
21760 };
21761
21762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
21763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21765 {
21766 PyThreadState* __tstate = wxPyBeginAllowThreads();
21767 result = ((wxTimeSpan const *)arg1)->Abs();
21768
21769 wxPyEndAllowThreads(__tstate);
21770 if (PyErr_Occurred()) SWIG_fail;
21771 }
21772 {
21773 wxTimeSpan * resultptr;
21774 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21775 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21776 }
21777 return resultobj;
21778 fail:
21779 return NULL;
21780}
21781
21782
21783static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21784 PyObject *resultobj;
21785 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21786 wxTimeSpan *arg2 = 0 ;
21787 wxTimeSpan *result;
21788 PyObject * obj0 = 0 ;
21789 PyObject * obj1 = 0 ;
21790 char *kwnames[] = {
21791 (char *) "self",(char *) "diff", NULL
21792 };
21793
21794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21797 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21798 SWIG_POINTER_EXCEPTION | 0)) == -1)
21799 SWIG_fail;
21800 if (arg2 == NULL) {
21801 PyErr_SetString(PyExc_TypeError,"null reference");
21802 SWIG_fail;
21803 }
21804 {
21805 PyThreadState* __tstate = wxPyBeginAllowThreads();
21806 {
21807 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
21808 result = (wxTimeSpan *) &_result_ref;
21809 }
21810
21811 wxPyEndAllowThreads(__tstate);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 }
21814 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21815 return resultobj;
21816 fail:
21817 return NULL;
21818}
21819
21820
21821static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21822 PyObject *resultobj;
21823 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21824 wxTimeSpan *arg2 = 0 ;
21825 wxTimeSpan *result;
21826 PyObject * obj0 = 0 ;
21827 PyObject * obj1 = 0 ;
21828 char *kwnames[] = {
21829 (char *) "self",(char *) "diff", NULL
21830 };
21831
21832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21835 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21836 SWIG_POINTER_EXCEPTION | 0)) == -1)
21837 SWIG_fail;
21838 if (arg2 == NULL) {
21839 PyErr_SetString(PyExc_TypeError,"null reference");
21840 SWIG_fail;
21841 }
21842 {
21843 PyThreadState* __tstate = wxPyBeginAllowThreads();
21844 {
21845 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
21846 result = (wxTimeSpan *) &_result_ref;
21847 }
21848
21849 wxPyEndAllowThreads(__tstate);
21850 if (PyErr_Occurred()) SWIG_fail;
21851 }
21852 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21853 return resultobj;
21854 fail:
21855 return NULL;
21856}
21857
21858
21859static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21860 PyObject *resultobj;
21861 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21862 int arg2 ;
21863 wxTimeSpan *result;
21864 PyObject * obj0 = 0 ;
21865 PyObject * obj1 = 0 ;
21866 char *kwnames[] = {
21867 (char *) "self",(char *) "n", NULL
21868 };
21869
21870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
21871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21873 arg2 = (int) SWIG_AsInt(obj1);
21874 if (PyErr_Occurred()) SWIG_fail;
21875 {
21876 PyThreadState* __tstate = wxPyBeginAllowThreads();
21877 {
21878 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
21879 result = (wxTimeSpan *) &_result_ref;
21880 }
21881
21882 wxPyEndAllowThreads(__tstate);
21883 if (PyErr_Occurred()) SWIG_fail;
21884 }
21885 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21886 return resultobj;
21887 fail:
21888 return NULL;
21889}
21890
21891
21892static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21893 PyObject *resultobj;
21894 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21895 wxTimeSpan *result;
21896 PyObject * obj0 = 0 ;
21897 char *kwnames[] = {
21898 (char *) "self", NULL
21899 };
21900
21901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
21902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21904 {
21905 PyThreadState* __tstate = wxPyBeginAllowThreads();
21906 {
21907 wxTimeSpan &_result_ref = (arg1)->operator -();
21908 result = (wxTimeSpan *) &_result_ref;
21909 }
21910
21911 wxPyEndAllowThreads(__tstate);
21912 if (PyErr_Occurred()) SWIG_fail;
21913 }
21914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21915 return resultobj;
21916 fail:
21917 return NULL;
21918}
21919
21920
21921static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21922 PyObject *resultobj;
21923 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21924 wxTimeSpan *arg2 = 0 ;
21925 wxTimeSpan result;
21926 PyObject * obj0 = 0 ;
21927 PyObject * obj1 = 0 ;
21928 char *kwnames[] = {
21929 (char *) "self",(char *) "other", NULL
21930 };
21931
21932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21935 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21936 SWIG_POINTER_EXCEPTION | 0)) == -1)
21937 SWIG_fail;
21938 if (arg2 == NULL) {
21939 PyErr_SetString(PyExc_TypeError,"null reference");
21940 SWIG_fail;
21941 }
21942 {
21943 PyThreadState* __tstate = wxPyBeginAllowThreads();
21944 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
21945
21946 wxPyEndAllowThreads(__tstate);
21947 if (PyErr_Occurred()) SWIG_fail;
21948 }
21949 {
21950 wxTimeSpan * resultptr;
21951 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21952 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21953 }
21954 return resultobj;
21955 fail:
21956 return NULL;
21957}
21958
21959
21960static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21961 PyObject *resultobj;
21962 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21963 wxTimeSpan *arg2 = 0 ;
21964 wxTimeSpan result;
21965 PyObject * obj0 = 0 ;
21966 PyObject * obj1 = 0 ;
21967 char *kwnames[] = {
21968 (char *) "self",(char *) "other", NULL
21969 };
21970
21971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21974 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21975 SWIG_POINTER_EXCEPTION | 0)) == -1)
21976 SWIG_fail;
21977 if (arg2 == NULL) {
21978 PyErr_SetString(PyExc_TypeError,"null reference");
21979 SWIG_fail;
21980 }
21981 {
21982 PyThreadState* __tstate = wxPyBeginAllowThreads();
21983 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
21984
21985 wxPyEndAllowThreads(__tstate);
21986 if (PyErr_Occurred()) SWIG_fail;
21987 }
21988 {
21989 wxTimeSpan * resultptr;
21990 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21991 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21992 }
21993 return resultobj;
21994 fail:
21995 return NULL;
21996}
21997
21998
21999static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
22000 PyObject *resultobj;
22001 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22002 int arg2 ;
22003 wxTimeSpan result;
22004 PyObject * obj0 = 0 ;
22005 PyObject * obj1 = 0 ;
22006 char *kwnames[] = {
22007 (char *) "self",(char *) "n", NULL
22008 };
22009
22010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
22011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22013 arg2 = (int) SWIG_AsInt(obj1);
22014 if (PyErr_Occurred()) SWIG_fail;
22015 {
22016 PyThreadState* __tstate = wxPyBeginAllowThreads();
22017 result = wxTimeSpan___mul__(arg1,arg2);
22018
22019 wxPyEndAllowThreads(__tstate);
22020 if (PyErr_Occurred()) SWIG_fail;
22021 }
22022 {
22023 wxTimeSpan * resultptr;
22024 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22025 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22026 }
22027 return resultobj;
22028 fail:
22029 return NULL;
22030}
22031
22032
22033static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
22034 PyObject *resultobj;
22035 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22036 int arg2 ;
22037 wxTimeSpan result;
22038 PyObject * obj0 = 0 ;
22039 PyObject * obj1 = 0 ;
22040 char *kwnames[] = {
22041 (char *) "self",(char *) "n", NULL
22042 };
22043
22044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
22045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22047 arg2 = (int) SWIG_AsInt(obj1);
22048 if (PyErr_Occurred()) SWIG_fail;
22049 {
22050 PyThreadState* __tstate = wxPyBeginAllowThreads();
22051 result = wxTimeSpan___rmul__(arg1,arg2);
22052
22053 wxPyEndAllowThreads(__tstate);
22054 if (PyErr_Occurred()) SWIG_fail;
22055 }
22056 {
22057 wxTimeSpan * resultptr;
22058 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22059 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22060 }
22061 return resultobj;
22062 fail:
22063 return NULL;
22064}
22065
22066
22067static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
22068 PyObject *resultobj;
22069 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22070 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22071 bool result;
22072 PyObject * obj0 = 0 ;
22073 PyObject * obj1 = 0 ;
22074 char *kwnames[] = {
22075 (char *) "self",(char *) "other", NULL
22076 };
22077
22078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
22079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22081 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22083 {
22084 PyThreadState* __tstate = wxPyBeginAllowThreads();
22085 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
22086
22087 wxPyEndAllowThreads(__tstate);
22088 if (PyErr_Occurred()) SWIG_fail;
22089 }
22090 {
22091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22092 }
22093 return resultobj;
22094 fail:
22095 return NULL;
22096}
22097
22098
22099static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
22100 PyObject *resultobj;
22101 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22102 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22103 bool result;
22104 PyObject * obj0 = 0 ;
22105 PyObject * obj1 = 0 ;
22106 char *kwnames[] = {
22107 (char *) "self",(char *) "other", NULL
22108 };
22109
22110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
22111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22113 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22115 {
22116 PyThreadState* __tstate = wxPyBeginAllowThreads();
22117 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
22118
22119 wxPyEndAllowThreads(__tstate);
22120 if (PyErr_Occurred()) SWIG_fail;
22121 }
22122 {
22123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22124 }
22125 return resultobj;
22126 fail:
22127 return NULL;
22128}
22129
22130
22131static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
22132 PyObject *resultobj;
22133 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22134 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22135 bool result;
22136 PyObject * obj0 = 0 ;
22137 PyObject * obj1 = 0 ;
22138 char *kwnames[] = {
22139 (char *) "self",(char *) "other", NULL
22140 };
22141
22142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
22143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22145 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22147 {
22148 PyThreadState* __tstate = wxPyBeginAllowThreads();
22149 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
22150
22151 wxPyEndAllowThreads(__tstate);
22152 if (PyErr_Occurred()) SWIG_fail;
22153 }
22154 {
22155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22156 }
22157 return resultobj;
22158 fail:
22159 return NULL;
22160}
22161
22162
22163static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
22164 PyObject *resultobj;
22165 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22166 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22167 bool result;
22168 PyObject * obj0 = 0 ;
22169 PyObject * obj1 = 0 ;
22170 char *kwnames[] = {
22171 (char *) "self",(char *) "other", NULL
22172 };
22173
22174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
22175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22177 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22179 {
22180 PyThreadState* __tstate = wxPyBeginAllowThreads();
22181 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
22182
22183 wxPyEndAllowThreads(__tstate);
22184 if (PyErr_Occurred()) SWIG_fail;
22185 }
22186 {
22187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22188 }
22189 return resultobj;
22190 fail:
22191 return NULL;
22192}
22193
22194
22195static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
22196 PyObject *resultobj;
22197 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22198 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22199 bool result;
22200 PyObject * obj0 = 0 ;
22201 PyObject * obj1 = 0 ;
22202 char *kwnames[] = {
22203 (char *) "self",(char *) "other", NULL
22204 };
22205
22206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
22207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22209 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22211 {
22212 PyThreadState* __tstate = wxPyBeginAllowThreads();
22213 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
22214
22215 wxPyEndAllowThreads(__tstate);
22216 if (PyErr_Occurred()) SWIG_fail;
22217 }
22218 {
22219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22220 }
22221 return resultobj;
22222 fail:
22223 return NULL;
22224}
22225
22226
22227static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
22228 PyObject *resultobj;
22229 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22230 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22231 bool result;
22232 PyObject * obj0 = 0 ;
22233 PyObject * obj1 = 0 ;
22234 char *kwnames[] = {
22235 (char *) "self",(char *) "other", NULL
22236 };
22237
22238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
22239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22241 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22243 {
22244 PyThreadState* __tstate = wxPyBeginAllowThreads();
22245 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
22246
22247 wxPyEndAllowThreads(__tstate);
22248 if (PyErr_Occurred()) SWIG_fail;
22249 }
22250 {
22251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22252 }
22253 return resultobj;
22254 fail:
22255 return NULL;
22256}
22257
22258
22259static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
22260 PyObject *resultobj;
22261 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22262 bool result;
22263 PyObject * obj0 = 0 ;
22264 char *kwnames[] = {
22265 (char *) "self", NULL
22266 };
22267
22268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
22269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22271 {
22272 PyThreadState* __tstate = wxPyBeginAllowThreads();
22273 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
22274
22275 wxPyEndAllowThreads(__tstate);
22276 if (PyErr_Occurred()) SWIG_fail;
22277 }
22278 {
22279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22280 }
22281 return resultobj;
22282 fail:
22283 return NULL;
22284}
22285
22286
22287static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
22288 PyObject *resultobj;
22289 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22290 bool result;
22291 PyObject * obj0 = 0 ;
22292 char *kwnames[] = {
22293 (char *) "self", NULL
22294 };
22295
22296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
22297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22299 {
22300 PyThreadState* __tstate = wxPyBeginAllowThreads();
22301 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
22302
22303 wxPyEndAllowThreads(__tstate);
22304 if (PyErr_Occurred()) SWIG_fail;
22305 }
22306 {
22307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22308 }
22309 return resultobj;
22310 fail:
22311 return NULL;
22312}
22313
22314
22315static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
22316 PyObject *resultobj;
22317 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22318 bool result;
22319 PyObject * obj0 = 0 ;
22320 char *kwnames[] = {
22321 (char *) "self", NULL
22322 };
22323
22324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
22325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22327 {
22328 PyThreadState* __tstate = wxPyBeginAllowThreads();
22329 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
22330
22331 wxPyEndAllowThreads(__tstate);
22332 if (PyErr_Occurred()) SWIG_fail;
22333 }
22334 {
22335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22336 }
22337 return resultobj;
22338 fail:
22339 return NULL;
22340}
22341
22342
22343static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22344 PyObject *resultobj;
22345 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22346 wxTimeSpan *arg2 = 0 ;
22347 bool result;
22348 PyObject * obj0 = 0 ;
22349 PyObject * obj1 = 0 ;
22350 char *kwnames[] = {
22351 (char *) "self",(char *) "ts", NULL
22352 };
22353
22354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
22355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22357 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22358 SWIG_POINTER_EXCEPTION | 0)) == -1)
22359 SWIG_fail;
22360 if (arg2 == NULL) {
22361 PyErr_SetString(PyExc_TypeError,"null reference");
22362 SWIG_fail;
22363 }
22364 {
22365 PyThreadState* __tstate = wxPyBeginAllowThreads();
22366 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
22367
22368 wxPyEndAllowThreads(__tstate);
22369 if (PyErr_Occurred()) SWIG_fail;
22370 }
22371 {
22372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22373 }
22374 return resultobj;
22375 fail:
22376 return NULL;
22377}
22378
22379
22380static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
22381 PyObject *resultobj;
22382 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22383 wxTimeSpan *arg2 = 0 ;
22384 bool result;
22385 PyObject * obj0 = 0 ;
22386 PyObject * obj1 = 0 ;
22387 char *kwnames[] = {
22388 (char *) "self",(char *) "ts", NULL
22389 };
22390
22391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
22392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22394 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22395 SWIG_POINTER_EXCEPTION | 0)) == -1)
22396 SWIG_fail;
22397 if (arg2 == NULL) {
22398 PyErr_SetString(PyExc_TypeError,"null reference");
22399 SWIG_fail;
22400 }
22401 {
22402 PyThreadState* __tstate = wxPyBeginAllowThreads();
22403 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
22404
22405 wxPyEndAllowThreads(__tstate);
22406 if (PyErr_Occurred()) SWIG_fail;
22407 }
22408 {
22409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22410 }
22411 return resultobj;
22412 fail:
22413 return NULL;
22414}
22415
22416
22417static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
22418 PyObject *resultobj;
22419 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22420 wxTimeSpan *arg2 = 0 ;
22421 bool result;
22422 PyObject * obj0 = 0 ;
22423 PyObject * obj1 = 0 ;
22424 char *kwnames[] = {
22425 (char *) "self",(char *) "t", NULL
22426 };
22427
22428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
22429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22431 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22432 SWIG_POINTER_EXCEPTION | 0)) == -1)
22433 SWIG_fail;
22434 if (arg2 == NULL) {
22435 PyErr_SetString(PyExc_TypeError,"null reference");
22436 SWIG_fail;
22437 }
22438 {
22439 PyThreadState* __tstate = wxPyBeginAllowThreads();
22440 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
22441
22442 wxPyEndAllowThreads(__tstate);
22443 if (PyErr_Occurred()) SWIG_fail;
22444 }
22445 {
22446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22447 }
22448 return resultobj;
22449 fail:
22450 return NULL;
22451}
22452
22453
22454static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22455 PyObject *resultobj;
22456 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22457 int result;
22458 PyObject * obj0 = 0 ;
22459 char *kwnames[] = {
22460 (char *) "self", NULL
22461 };
22462
22463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
22464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22466 {
22467 PyThreadState* __tstate = wxPyBeginAllowThreads();
22468 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
22469
22470 wxPyEndAllowThreads(__tstate);
22471 if (PyErr_Occurred()) SWIG_fail;
22472 }
22473 resultobj = SWIG_FromInt((int)result);
22474 return resultobj;
22475 fail:
22476 return NULL;
22477}
22478
22479
22480static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22481 PyObject *resultobj;
22482 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22483 int result;
22484 PyObject * obj0 = 0 ;
22485 char *kwnames[] = {
22486 (char *) "self", NULL
22487 };
22488
22489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
22490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22492 {
22493 PyThreadState* __tstate = wxPyBeginAllowThreads();
22494 result = (int)((wxTimeSpan const *)arg1)->GetDays();
22495
22496 wxPyEndAllowThreads(__tstate);
22497 if (PyErr_Occurred()) SWIG_fail;
22498 }
22499 resultobj = SWIG_FromInt((int)result);
22500 return resultobj;
22501 fail:
22502 return NULL;
22503}
22504
22505
22506static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
22507 PyObject *resultobj;
22508 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22509 int result;
22510 PyObject * obj0 = 0 ;
22511 char *kwnames[] = {
22512 (char *) "self", NULL
22513 };
22514
22515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
22516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22518 {
22519 PyThreadState* __tstate = wxPyBeginAllowThreads();
22520 result = (int)((wxTimeSpan const *)arg1)->GetHours();
22521
22522 wxPyEndAllowThreads(__tstate);
22523 if (PyErr_Occurred()) SWIG_fail;
22524 }
22525 resultobj = SWIG_FromInt((int)result);
22526 return resultobj;
22527 fail:
22528 return NULL;
22529}
22530
22531
22532static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
22533 PyObject *resultobj;
22534 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22535 int result;
22536 PyObject * obj0 = 0 ;
22537 char *kwnames[] = {
22538 (char *) "self", NULL
22539 };
22540
22541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
22542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22544 {
22545 PyThreadState* __tstate = wxPyBeginAllowThreads();
22546 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
22547
22548 wxPyEndAllowThreads(__tstate);
22549 if (PyErr_Occurred()) SWIG_fail;
22550 }
22551 resultobj = SWIG_FromInt((int)result);
22552 return resultobj;
22553 fail:
22554 return NULL;
22555}
22556
22557
22558static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22559 PyObject *resultobj;
22560 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22561 wxLongLong result;
22562 PyObject * obj0 = 0 ;
22563 char *kwnames[] = {
22564 (char *) "self", NULL
22565 };
22566
22567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
22568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22570 {
22571 PyThreadState* __tstate = wxPyBeginAllowThreads();
22572 result = ((wxTimeSpan const *)arg1)->GetSeconds();
22573
22574 wxPyEndAllowThreads(__tstate);
22575 if (PyErr_Occurred()) SWIG_fail;
22576 }
22577 {
22578 PyObject *hi, *lo, *shifter, *shifted;
22579 hi = PyLong_FromLong( (&result)->GetHi() );
22580 lo = PyLong_FromLong( (&result)->GetLo() );
22581 shifter = PyLong_FromLong(32);
22582 shifted = PyNumber_Lshift(hi, shifter);
22583 resultobj = PyNumber_Or(shifted, lo);
22584 Py_DECREF(hi);
22585 Py_DECREF(lo);
22586 Py_DECREF(shifter);
22587 Py_DECREF(shifted);
22588 }
22589 return resultobj;
22590 fail:
22591 return NULL;
22592}
22593
22594
22595static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22596 PyObject *resultobj;
22597 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22598 wxLongLong result;
22599 PyObject * obj0 = 0 ;
22600 char *kwnames[] = {
22601 (char *) "self", NULL
22602 };
22603
22604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
22605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22607 {
22608 PyThreadState* __tstate = wxPyBeginAllowThreads();
22609 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
22610
22611 wxPyEndAllowThreads(__tstate);
22612 if (PyErr_Occurred()) SWIG_fail;
22613 }
22614 {
22615 PyObject *hi, *lo, *shifter, *shifted;
22616 hi = PyLong_FromLong( (&result)->GetHi() );
22617 lo = PyLong_FromLong( (&result)->GetLo() );
22618 shifter = PyLong_FromLong(32);
22619 shifted = PyNumber_Lshift(hi, shifter);
22620 resultobj = PyNumber_Or(shifted, lo);
22621 Py_DECREF(hi);
22622 Py_DECREF(lo);
22623 Py_DECREF(shifter);
22624 Py_DECREF(shifted);
22625 }
22626 return resultobj;
22627 fail:
22628 return NULL;
22629}
22630
22631
22632static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
22633 PyObject *resultobj;
22634 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22635 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
22636 wxString *arg2 = (wxString *) &arg2_defvalue ;
22637 wxString result;
22638 bool temp2 = False ;
22639 PyObject * obj0 = 0 ;
22640 PyObject * obj1 = 0 ;
22641 char *kwnames[] = {
22642 (char *) "self",(char *) "format", NULL
22643 };
22644
22645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
22646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22648 if (obj1) {
22649 {
22650 arg2 = wxString_in_helper(obj1);
22651 if (arg2 == NULL) SWIG_fail;
22652 temp2 = True;
22653 }
22654 }
22655 {
22656 PyThreadState* __tstate = wxPyBeginAllowThreads();
22657 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
22658
22659 wxPyEndAllowThreads(__tstate);
22660 if (PyErr_Occurred()) SWIG_fail;
22661 }
22662 {
22663#if wxUSE_UNICODE
22664 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22665#else
22666 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22667#endif
22668 }
22669 {
22670 if (temp2)
22671 delete arg2;
22672 }
22673 return resultobj;
22674 fail:
22675 {
22676 if (temp2)
22677 delete arg2;
22678 }
22679 return NULL;
22680}
22681
22682
22683static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
22684 PyObject *obj;
22685 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22686 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
22687 Py_INCREF(obj);
22688 return Py_BuildValue((char *)"");
22689}
22690static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22691 PyObject *resultobj;
22692 int arg1 = (int) 0 ;
22693 int arg2 = (int) 0 ;
22694 int arg3 = (int) 0 ;
22695 int arg4 = (int) 0 ;
22696 wxDateSpan *result;
22697 PyObject * obj0 = 0 ;
22698 PyObject * obj1 = 0 ;
22699 PyObject * obj2 = 0 ;
22700 PyObject * obj3 = 0 ;
22701 char *kwnames[] = {
22702 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22703 };
22704
22705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22706 if (obj0) {
22707 arg1 = (int) SWIG_AsInt(obj0);
22708 if (PyErr_Occurred()) SWIG_fail;
22709 }
22710 if (obj1) {
22711 arg2 = (int) SWIG_AsInt(obj1);
22712 if (PyErr_Occurred()) SWIG_fail;
22713 }
22714 if (obj2) {
22715 arg3 = (int) SWIG_AsInt(obj2);
22716 if (PyErr_Occurred()) SWIG_fail;
22717 }
22718 if (obj3) {
22719 arg4 = (int) SWIG_AsInt(obj3);
22720 if (PyErr_Occurred()) SWIG_fail;
22721 }
22722 {
22723 PyThreadState* __tstate = wxPyBeginAllowThreads();
22724 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
22725
22726 wxPyEndAllowThreads(__tstate);
22727 if (PyErr_Occurred()) SWIG_fail;
22728 }
22729 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
22730 return resultobj;
22731 fail:
22732 return NULL;
22733}
22734
22735
22736static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22737 PyObject *resultobj;
22738 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22739 PyObject * obj0 = 0 ;
22740 char *kwnames[] = {
22741 (char *) "self", NULL
22742 };
22743
22744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
22745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22747 {
22748 PyThreadState* __tstate = wxPyBeginAllowThreads();
22749 delete arg1;
22750
22751 wxPyEndAllowThreads(__tstate);
22752 if (PyErr_Occurred()) SWIG_fail;
22753 }
22754 Py_INCREF(Py_None); resultobj = Py_None;
22755 return resultobj;
22756 fail:
22757 return NULL;
22758}
22759
22760
22761static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
22762 PyObject *resultobj;
22763 int arg1 ;
22764 wxDateSpan result;
22765 PyObject * obj0 = 0 ;
22766 char *kwnames[] = {
22767 (char *) "days", NULL
22768 };
22769
22770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
22771 arg1 = (int) SWIG_AsInt(obj0);
22772 if (PyErr_Occurred()) SWIG_fail;
22773 {
22774 PyThreadState* __tstate = wxPyBeginAllowThreads();
22775 result = wxDateSpan::Days(arg1);
22776
22777 wxPyEndAllowThreads(__tstate);
22778 if (PyErr_Occurred()) SWIG_fail;
22779 }
22780 {
22781 wxDateSpan * resultptr;
22782 resultptr = new wxDateSpan((wxDateSpan &) result);
22783 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22784 }
22785 return resultobj;
22786 fail:
22787 return NULL;
22788}
22789
22790
22791static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
22792 PyObject *resultobj;
22793 wxDateSpan result;
22794 char *kwnames[] = {
22795 NULL
22796 };
22797
22798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
22799 {
22800 PyThreadState* __tstate = wxPyBeginAllowThreads();
22801 result = wxDateSpan::Day();
22802
22803 wxPyEndAllowThreads(__tstate);
22804 if (PyErr_Occurred()) SWIG_fail;
22805 }
22806 {
22807 wxDateSpan * resultptr;
22808 resultptr = new wxDateSpan((wxDateSpan &) result);
22809 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22810 }
22811 return resultobj;
22812 fail:
22813 return NULL;
22814}
22815
22816
22817static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22818 PyObject *resultobj;
22819 int arg1 ;
22820 wxDateSpan result;
22821 PyObject * obj0 = 0 ;
22822 char *kwnames[] = {
22823 (char *) "weeks", NULL
22824 };
22825
22826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
22827 arg1 = (int) SWIG_AsInt(obj0);
22828 if (PyErr_Occurred()) SWIG_fail;
22829 {
22830 PyThreadState* __tstate = wxPyBeginAllowThreads();
22831 result = wxDateSpan::Weeks(arg1);
22832
22833 wxPyEndAllowThreads(__tstate);
22834 if (PyErr_Occurred()) SWIG_fail;
22835 }
22836 {
22837 wxDateSpan * resultptr;
22838 resultptr = new wxDateSpan((wxDateSpan &) result);
22839 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22840 }
22841 return resultobj;
22842 fail:
22843 return NULL;
22844}
22845
22846
22847static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
22848 PyObject *resultobj;
22849 wxDateSpan result;
22850 char *kwnames[] = {
22851 NULL
22852 };
22853
22854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
22855 {
22856 PyThreadState* __tstate = wxPyBeginAllowThreads();
22857 result = wxDateSpan::Week();
22858
22859 wxPyEndAllowThreads(__tstate);
22860 if (PyErr_Occurred()) SWIG_fail;
22861 }
22862 {
22863 wxDateSpan * resultptr;
22864 resultptr = new wxDateSpan((wxDateSpan &) result);
22865 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22866 }
22867 return resultobj;
22868 fail:
22869 return NULL;
22870}
22871
22872
22873static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
22874 PyObject *resultobj;
22875 int arg1 ;
22876 wxDateSpan result;
22877 PyObject * obj0 = 0 ;
22878 char *kwnames[] = {
22879 (char *) "mon", NULL
22880 };
22881
22882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
22883 arg1 = (int) SWIG_AsInt(obj0);
22884 if (PyErr_Occurred()) SWIG_fail;
22885 {
22886 PyThreadState* __tstate = wxPyBeginAllowThreads();
22887 result = wxDateSpan::Months(arg1);
22888
22889 wxPyEndAllowThreads(__tstate);
22890 if (PyErr_Occurred()) SWIG_fail;
22891 }
22892 {
22893 wxDateSpan * resultptr;
22894 resultptr = new wxDateSpan((wxDateSpan &) result);
22895 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22896 }
22897 return resultobj;
22898 fail:
22899 return NULL;
22900}
22901
22902
22903static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
22904 PyObject *resultobj;
22905 wxDateSpan result;
22906 char *kwnames[] = {
22907 NULL
22908 };
22909
22910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
22911 {
22912 PyThreadState* __tstate = wxPyBeginAllowThreads();
22913 result = wxDateSpan::Month();
22914
22915 wxPyEndAllowThreads(__tstate);
22916 if (PyErr_Occurred()) SWIG_fail;
22917 }
22918 {
22919 wxDateSpan * resultptr;
22920 resultptr = new wxDateSpan((wxDateSpan &) result);
22921 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22922 }
22923 return resultobj;
22924 fail:
22925 return NULL;
22926}
22927
22928
22929static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
22930 PyObject *resultobj;
22931 int arg1 ;
22932 wxDateSpan result;
22933 PyObject * obj0 = 0 ;
22934 char *kwnames[] = {
22935 (char *) "years", NULL
22936 };
22937
22938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
22939 arg1 = (int) SWIG_AsInt(obj0);
22940 if (PyErr_Occurred()) SWIG_fail;
22941 {
22942 PyThreadState* __tstate = wxPyBeginAllowThreads();
22943 result = wxDateSpan::Years(arg1);
22944
22945 wxPyEndAllowThreads(__tstate);
22946 if (PyErr_Occurred()) SWIG_fail;
22947 }
22948 {
22949 wxDateSpan * resultptr;
22950 resultptr = new wxDateSpan((wxDateSpan &) result);
22951 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22952 }
22953 return resultobj;
22954 fail:
22955 return NULL;
22956}
22957
22958
22959static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
22960 PyObject *resultobj;
22961 wxDateSpan result;
22962 char *kwnames[] = {
22963 NULL
22964 };
22965
22966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
22967 {
22968 PyThreadState* __tstate = wxPyBeginAllowThreads();
22969 result = wxDateSpan::Year();
22970
22971 wxPyEndAllowThreads(__tstate);
22972 if (PyErr_Occurred()) SWIG_fail;
22973 }
22974 {
22975 wxDateSpan * resultptr;
22976 resultptr = new wxDateSpan((wxDateSpan &) result);
22977 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22978 }
22979 return resultobj;
22980 fail:
22981 return NULL;
22982}
22983
22984
22985static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
22986 PyObject *resultobj;
22987 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22988 int arg2 ;
22989 wxDateSpan *result;
22990 PyObject * obj0 = 0 ;
22991 PyObject * obj1 = 0 ;
22992 char *kwnames[] = {
22993 (char *) "self",(char *) "n", NULL
22994 };
22995
22996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
22997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22999 arg2 = (int) SWIG_AsInt(obj1);
23000 if (PyErr_Occurred()) SWIG_fail;
23001 {
23002 PyThreadState* __tstate = wxPyBeginAllowThreads();
23003 {
23004 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
23005 result = (wxDateSpan *) &_result_ref;
23006 }
23007
23008 wxPyEndAllowThreads(__tstate);
23009 if (PyErr_Occurred()) SWIG_fail;
23010 }
23011 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23012 return resultobj;
23013 fail:
23014 return NULL;
23015}
23016
23017
23018static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
23019 PyObject *resultobj;
23020 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23021 int arg2 ;
23022 wxDateSpan *result;
23023 PyObject * obj0 = 0 ;
23024 PyObject * obj1 = 0 ;
23025 char *kwnames[] = {
23026 (char *) "self",(char *) "n", NULL
23027 };
23028
23029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
23030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23032 arg2 = (int) SWIG_AsInt(obj1);
23033 if (PyErr_Occurred()) SWIG_fail;
23034 {
23035 PyThreadState* __tstate = wxPyBeginAllowThreads();
23036 {
23037 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
23038 result = (wxDateSpan *) &_result_ref;
23039 }
23040
23041 wxPyEndAllowThreads(__tstate);
23042 if (PyErr_Occurred()) SWIG_fail;
23043 }
23044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23045 return resultobj;
23046 fail:
23047 return NULL;
23048}
23049
23050
23051static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
23052 PyObject *resultobj;
23053 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23054 int arg2 ;
23055 wxDateSpan *result;
23056 PyObject * obj0 = 0 ;
23057 PyObject * obj1 = 0 ;
23058 char *kwnames[] = {
23059 (char *) "self",(char *) "n", NULL
23060 };
23061
23062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
23063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23065 arg2 = (int) SWIG_AsInt(obj1);
23066 if (PyErr_Occurred()) SWIG_fail;
23067 {
23068 PyThreadState* __tstate = wxPyBeginAllowThreads();
23069 {
23070 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
23071 result = (wxDateSpan *) &_result_ref;
23072 }
23073
23074 wxPyEndAllowThreads(__tstate);
23075 if (PyErr_Occurred()) SWIG_fail;
23076 }
23077 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23078 return resultobj;
23079 fail:
23080 return NULL;
23081}
23082
23083
23084static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23085 PyObject *resultobj;
23086 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23087 int arg2 ;
23088 wxDateSpan *result;
23089 PyObject * obj0 = 0 ;
23090 PyObject * obj1 = 0 ;
23091 char *kwnames[] = {
23092 (char *) "self",(char *) "n", NULL
23093 };
23094
23095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
23096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23098 arg2 = (int) SWIG_AsInt(obj1);
23099 if (PyErr_Occurred()) SWIG_fail;
23100 {
23101 PyThreadState* __tstate = wxPyBeginAllowThreads();
23102 {
23103 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
23104 result = (wxDateSpan *) &_result_ref;
23105 }
23106
23107 wxPyEndAllowThreads(__tstate);
23108 if (PyErr_Occurred()) SWIG_fail;
23109 }
23110 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23111 return resultobj;
23112 fail:
23113 return NULL;
23114}
23115
23116
23117static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
23118 PyObject *resultobj;
23119 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23120 int result;
23121 PyObject * obj0 = 0 ;
23122 char *kwnames[] = {
23123 (char *) "self", NULL
23124 };
23125
23126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
23127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23129 {
23130 PyThreadState* __tstate = wxPyBeginAllowThreads();
23131 result = (int)((wxDateSpan const *)arg1)->GetYears();
23132
23133 wxPyEndAllowThreads(__tstate);
23134 if (PyErr_Occurred()) SWIG_fail;
23135 }
23136 resultobj = SWIG_FromInt((int)result);
23137 return resultobj;
23138 fail:
23139 return NULL;
23140}
23141
23142
23143static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
23144 PyObject *resultobj;
23145 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23146 int result;
23147 PyObject * obj0 = 0 ;
23148 char *kwnames[] = {
23149 (char *) "self", NULL
23150 };
23151
23152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
23153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23155 {
23156 PyThreadState* __tstate = wxPyBeginAllowThreads();
23157 result = (int)((wxDateSpan const *)arg1)->GetMonths();
23158
23159 wxPyEndAllowThreads(__tstate);
23160 if (PyErr_Occurred()) SWIG_fail;
23161 }
23162 resultobj = SWIG_FromInt((int)result);
23163 return resultobj;
23164 fail:
23165 return NULL;
23166}
23167
23168
23169static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
23170 PyObject *resultobj;
23171 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23172 int result;
23173 PyObject * obj0 = 0 ;
23174 char *kwnames[] = {
23175 (char *) "self", NULL
23176 };
23177
23178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
23179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23181 {
23182 PyThreadState* __tstate = wxPyBeginAllowThreads();
23183 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
23184
23185 wxPyEndAllowThreads(__tstate);
23186 if (PyErr_Occurred()) SWIG_fail;
23187 }
23188 resultobj = SWIG_FromInt((int)result);
23189 return resultobj;
23190 fail:
23191 return NULL;
23192}
23193
23194
23195static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23196 PyObject *resultobj;
23197 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23198 int result;
23199 PyObject * obj0 = 0 ;
23200 char *kwnames[] = {
23201 (char *) "self", NULL
23202 };
23203
23204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
23205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23207 {
23208 PyThreadState* __tstate = wxPyBeginAllowThreads();
23209 result = (int)((wxDateSpan const *)arg1)->GetDays();
23210
23211 wxPyEndAllowThreads(__tstate);
23212 if (PyErr_Occurred()) SWIG_fail;
23213 }
23214 resultobj = SWIG_FromInt((int)result);
23215 return resultobj;
23216 fail:
23217 return NULL;
23218}
23219
23220
23221static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23222 PyObject *resultobj;
23223 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23224 int result;
23225 PyObject * obj0 = 0 ;
23226 char *kwnames[] = {
23227 (char *) "self", NULL
23228 };
23229
23230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
23231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23233 {
23234 PyThreadState* __tstate = wxPyBeginAllowThreads();
23235 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
23236
23237 wxPyEndAllowThreads(__tstate);
23238 if (PyErr_Occurred()) SWIG_fail;
23239 }
23240 resultobj = SWIG_FromInt((int)result);
23241 return resultobj;
23242 fail:
23243 return NULL;
23244}
23245
23246
23247static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
23248 PyObject *resultobj;
23249 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23250 wxDateSpan *arg2 = 0 ;
23251 wxDateSpan *result;
23252 PyObject * obj0 = 0 ;
23253 PyObject * obj1 = 0 ;
23254 char *kwnames[] = {
23255 (char *) "self",(char *) "other", NULL
23256 };
23257
23258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
23259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23261 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23262 SWIG_POINTER_EXCEPTION | 0)) == -1)
23263 SWIG_fail;
23264 if (arg2 == NULL) {
23265 PyErr_SetString(PyExc_TypeError,"null reference");
23266 SWIG_fail;
23267 }
23268 {
23269 PyThreadState* __tstate = wxPyBeginAllowThreads();
23270 {
23271 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
23272 result = (wxDateSpan *) &_result_ref;
23273 }
23274
23275 wxPyEndAllowThreads(__tstate);
23276 if (PyErr_Occurred()) SWIG_fail;
23277 }
23278 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23279 return resultobj;
23280 fail:
23281 return NULL;
23282}
23283
23284
23285static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
23286 PyObject *resultobj;
23287 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23288 wxDateSpan *arg2 = 0 ;
23289 wxDateSpan *result;
23290 PyObject * obj0 = 0 ;
23291 PyObject * obj1 = 0 ;
23292 char *kwnames[] = {
23293 (char *) "self",(char *) "other", NULL
23294 };
23295
23296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
23297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23299 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23300 SWIG_POINTER_EXCEPTION | 0)) == -1)
23301 SWIG_fail;
23302 if (arg2 == NULL) {
23303 PyErr_SetString(PyExc_TypeError,"null reference");
23304 SWIG_fail;
23305 }
23306 {
23307 PyThreadState* __tstate = wxPyBeginAllowThreads();
23308 {
23309 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
23310 result = (wxDateSpan *) &_result_ref;
23311 }
23312
23313 wxPyEndAllowThreads(__tstate);
23314 if (PyErr_Occurred()) SWIG_fail;
23315 }
23316 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23317 return resultobj;
23318 fail:
23319 return NULL;
23320}
23321
23322
23323static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
23324 PyObject *resultobj;
23325 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23326 wxDateSpan *result;
23327 PyObject * obj0 = 0 ;
23328 char *kwnames[] = {
23329 (char *) "self", NULL
23330 };
23331
23332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
23333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23335 {
23336 PyThreadState* __tstate = wxPyBeginAllowThreads();
23337 {
23338 wxDateSpan &_result_ref = (arg1)->Neg();
23339 result = (wxDateSpan *) &_result_ref;
23340 }
23341
23342 wxPyEndAllowThreads(__tstate);
23343 if (PyErr_Occurred()) SWIG_fail;
23344 }
23345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23346 return resultobj;
23347 fail:
23348 return NULL;
23349}
23350
23351
23352static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
23353 PyObject *resultobj;
23354 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23355 int arg2 ;
23356 wxDateSpan *result;
23357 PyObject * obj0 = 0 ;
23358 PyObject * obj1 = 0 ;
23359 char *kwnames[] = {
23360 (char *) "self",(char *) "factor", NULL
23361 };
23362
23363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
23364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23366 arg2 = (int) SWIG_AsInt(obj1);
23367 if (PyErr_Occurred()) SWIG_fail;
23368 {
23369 PyThreadState* __tstate = wxPyBeginAllowThreads();
23370 {
23371 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
23372 result = (wxDateSpan *) &_result_ref;
23373 }
23374
23375 wxPyEndAllowThreads(__tstate);
23376 if (PyErr_Occurred()) SWIG_fail;
23377 }
23378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23379 return resultobj;
23380 fail:
23381 return NULL;
23382}
23383
23384
23385static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
23386 PyObject *resultobj;
23387 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23388 wxDateSpan *arg2 = 0 ;
23389 wxDateSpan *result;
23390 PyObject * obj0 = 0 ;
23391 PyObject * obj1 = 0 ;
23392 char *kwnames[] = {
23393 (char *) "self",(char *) "other", NULL
23394 };
23395
23396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
23397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23399 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23400 SWIG_POINTER_EXCEPTION | 0)) == -1)
23401 SWIG_fail;
23402 if (arg2 == NULL) {
23403 PyErr_SetString(PyExc_TypeError,"null reference");
23404 SWIG_fail;
23405 }
23406 {
23407 PyThreadState* __tstate = wxPyBeginAllowThreads();
23408 {
23409 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
23410 result = (wxDateSpan *) &_result_ref;
23411 }
23412
23413 wxPyEndAllowThreads(__tstate);
23414 if (PyErr_Occurred()) SWIG_fail;
23415 }
23416 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23417 return resultobj;
23418 fail:
23419 return NULL;
23420}
23421
23422
23423static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23424 PyObject *resultobj;
23425 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23426 wxDateSpan *arg2 = 0 ;
23427 wxDateSpan *result;
23428 PyObject * obj0 = 0 ;
23429 PyObject * obj1 = 0 ;
23430 char *kwnames[] = {
23431 (char *) "self",(char *) "other", NULL
23432 };
23433
23434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
23435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23437 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23438 SWIG_POINTER_EXCEPTION | 0)) == -1)
23439 SWIG_fail;
23440 if (arg2 == NULL) {
23441 PyErr_SetString(PyExc_TypeError,"null reference");
23442 SWIG_fail;
23443 }
23444 {
23445 PyThreadState* __tstate = wxPyBeginAllowThreads();
23446 {
23447 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
23448 result = (wxDateSpan *) &_result_ref;
23449 }
23450
23451 wxPyEndAllowThreads(__tstate);
23452 if (PyErr_Occurred()) SWIG_fail;
23453 }
23454 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23455 return resultobj;
23456 fail:
23457 return NULL;
23458}
23459
23460
23461static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
23462 PyObject *resultobj;
23463 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23464 wxDateSpan *result;
23465 PyObject * obj0 = 0 ;
23466 char *kwnames[] = {
23467 (char *) "self", NULL
23468 };
23469
23470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
23471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23473 {
23474 PyThreadState* __tstate = wxPyBeginAllowThreads();
23475 {
23476 wxDateSpan &_result_ref = (arg1)->operator -();
23477 result = (wxDateSpan *) &_result_ref;
23478 }
23479
23480 wxPyEndAllowThreads(__tstate);
23481 if (PyErr_Occurred()) SWIG_fail;
23482 }
23483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23484 return resultobj;
23485 fail:
23486 return NULL;
23487}
23488
23489
23490static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23491 PyObject *resultobj;
23492 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23493 int arg2 ;
23494 wxDateSpan *result;
23495 PyObject * obj0 = 0 ;
23496 PyObject * obj1 = 0 ;
23497 char *kwnames[] = {
23498 (char *) "self",(char *) "factor", NULL
23499 };
23500
23501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
23502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23504 arg2 = (int) SWIG_AsInt(obj1);
23505 if (PyErr_Occurred()) SWIG_fail;
23506 {
23507 PyThreadState* __tstate = wxPyBeginAllowThreads();
23508 {
23509 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
23510 result = (wxDateSpan *) &_result_ref;
23511 }
23512
23513 wxPyEndAllowThreads(__tstate);
23514 if (PyErr_Occurred()) SWIG_fail;
23515 }
23516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23517 return resultobj;
23518 fail:
23519 return NULL;
23520}
23521
23522
23523static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
23524 PyObject *resultobj;
23525 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23526 wxDateSpan *arg2 = 0 ;
23527 wxDateSpan result;
23528 PyObject * obj0 = 0 ;
23529 PyObject * obj1 = 0 ;
23530 char *kwnames[] = {
23531 (char *) "self",(char *) "other", NULL
23532 };
23533
23534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
23535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23537 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23538 SWIG_POINTER_EXCEPTION | 0)) == -1)
23539 SWIG_fail;
23540 if (arg2 == NULL) {
23541 PyErr_SetString(PyExc_TypeError,"null reference");
23542 SWIG_fail;
23543 }
23544 {
23545 PyThreadState* __tstate = wxPyBeginAllowThreads();
23546 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
23547
23548 wxPyEndAllowThreads(__tstate);
23549 if (PyErr_Occurred()) SWIG_fail;
23550 }
23551 {
23552 wxDateSpan * resultptr;
23553 resultptr = new wxDateSpan((wxDateSpan &) result);
23554 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23555 }
23556 return resultobj;
23557 fail:
23558 return NULL;
23559}
23560
23561
23562static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23563 PyObject *resultobj;
23564 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23565 wxDateSpan *arg2 = 0 ;
23566 wxDateSpan result;
23567 PyObject * obj0 = 0 ;
23568 PyObject * obj1 = 0 ;
23569 char *kwnames[] = {
23570 (char *) "self",(char *) "other", NULL
23571 };
23572
23573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
23574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23576 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23577 SWIG_POINTER_EXCEPTION | 0)) == -1)
23578 SWIG_fail;
23579 if (arg2 == NULL) {
23580 PyErr_SetString(PyExc_TypeError,"null reference");
23581 SWIG_fail;
23582 }
23583 {
23584 PyThreadState* __tstate = wxPyBeginAllowThreads();
23585 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
23586
23587 wxPyEndAllowThreads(__tstate);
23588 if (PyErr_Occurred()) SWIG_fail;
23589 }
23590 {
23591 wxDateSpan * resultptr;
23592 resultptr = new wxDateSpan((wxDateSpan &) result);
23593 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23594 }
23595 return resultobj;
23596 fail:
23597 return NULL;
23598}
23599
23600
23601static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23602 PyObject *resultobj;
23603 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23604 int arg2 ;
23605 wxDateSpan result;
23606 PyObject * obj0 = 0 ;
23607 PyObject * obj1 = 0 ;
23608 char *kwnames[] = {
23609 (char *) "self",(char *) "n", NULL
23610 };
23611
23612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
23613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23615 arg2 = (int) SWIG_AsInt(obj1);
23616 if (PyErr_Occurred()) SWIG_fail;
23617 {
23618 PyThreadState* __tstate = wxPyBeginAllowThreads();
23619 result = wxDateSpan___mul__(arg1,arg2);
23620
23621 wxPyEndAllowThreads(__tstate);
23622 if (PyErr_Occurred()) SWIG_fail;
23623 }
23624 {
23625 wxDateSpan * resultptr;
23626 resultptr = new wxDateSpan((wxDateSpan &) result);
23627 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23628 }
23629 return resultobj;
23630 fail:
23631 return NULL;
23632}
23633
23634
23635static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23636 PyObject *resultobj;
23637 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23638 int arg2 ;
23639 wxDateSpan result;
23640 PyObject * obj0 = 0 ;
23641 PyObject * obj1 = 0 ;
23642 char *kwnames[] = {
23643 (char *) "self",(char *) "n", NULL
23644 };
23645
23646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
23647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23649 arg2 = (int) SWIG_AsInt(obj1);
23650 if (PyErr_Occurred()) SWIG_fail;
23651 {
23652 PyThreadState* __tstate = wxPyBeginAllowThreads();
23653 result = wxDateSpan___rmul__(arg1,arg2);
23654
23655 wxPyEndAllowThreads(__tstate);
23656 if (PyErr_Occurred()) SWIG_fail;
23657 }
23658 {
23659 wxDateSpan * resultptr;
23660 resultptr = new wxDateSpan((wxDateSpan &) result);
23661 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23662 }
23663 return resultobj;
23664 fail:
23665 return NULL;
23666}
23667
23668
23669static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23670 PyObject *resultobj;
23671 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23672 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
23673 bool result;
23674 PyObject * obj0 = 0 ;
23675 PyObject * obj1 = 0 ;
23676 char *kwnames[] = {
23677 (char *) "self",(char *) "other", NULL
23678 };
23679
23680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
23681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23683 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23685 {
23686 PyThreadState* __tstate = wxPyBeginAllowThreads();
23687 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
23688
23689 wxPyEndAllowThreads(__tstate);
23690 if (PyErr_Occurred()) SWIG_fail;
23691 }
23692 {
23693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23694 }
23695 return resultobj;
23696 fail:
23697 return NULL;
23698}
23699
23700
23701static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23702 PyObject *resultobj;
23703 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23704 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
23705 bool result;
23706 PyObject * obj0 = 0 ;
23707 PyObject * obj1 = 0 ;
23708 char *kwnames[] = {
23709 (char *) "self",(char *) "other", NULL
23710 };
23711
23712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
23713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23715 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23717 {
23718 PyThreadState* __tstate = wxPyBeginAllowThreads();
23719 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
23720
23721 wxPyEndAllowThreads(__tstate);
23722 if (PyErr_Occurred()) SWIG_fail;
23723 }
23724 {
23725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23726 }
23727 return resultobj;
23728 fail:
23729 return NULL;
23730}
23731
23732
23733static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
23734 PyObject *obj;
23735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23736 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
23737 Py_INCREF(obj);
23738 return Py_BuildValue((char *)"");
23739}
23740static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23741 PyObject *resultobj;
23742 long result;
23743 char *kwnames[] = {
23744 NULL
23745 };
23746
23747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
23748 {
23749 PyThreadState* __tstate = wxPyBeginAllowThreads();
23750 result = (long)wxGetLocalTime();
23751
23752 wxPyEndAllowThreads(__tstate);
23753 if (PyErr_Occurred()) SWIG_fail;
23754 }
23755 resultobj = SWIG_FromLong((long)result);
23756 return resultobj;
23757 fail:
23758 return NULL;
23759}
23760
23761
23762static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23763 PyObject *resultobj;
23764 long result;
23765 char *kwnames[] = {
23766 NULL
23767 };
23768
23769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
23770 {
23771 PyThreadState* __tstate = wxPyBeginAllowThreads();
23772 result = (long)wxGetUTCTime();
23773
23774 wxPyEndAllowThreads(__tstate);
23775 if (PyErr_Occurred()) SWIG_fail;
23776 }
23777 resultobj = SWIG_FromLong((long)result);
23778 return resultobj;
23779 fail:
23780 return NULL;
23781}
23782
23783
23784static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23785 PyObject *resultobj;
23786 long result;
23787 char *kwnames[] = {
23788 NULL
23789 };
23790
23791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
23792 {
23793 PyThreadState* __tstate = wxPyBeginAllowThreads();
23794 result = (long)wxGetCurrentTime();
23795
23796 wxPyEndAllowThreads(__tstate);
23797 if (PyErr_Occurred()) SWIG_fail;
23798 }
23799 resultobj = SWIG_FromLong((long)result);
23800 return resultobj;
23801 fail:
23802 return NULL;
23803}
23804
23805
23806static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
23807 PyObject *resultobj;
23808 wxLongLong result;
23809 char *kwnames[] = {
23810 NULL
23811 };
23812
23813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
23814 {
23815 PyThreadState* __tstate = wxPyBeginAllowThreads();
23816 result = wxGetLocalTimeMillis();
23817
23818 wxPyEndAllowThreads(__tstate);
23819 if (PyErr_Occurred()) SWIG_fail;
23820 }
23821 {
23822 PyObject *hi, *lo, *shifter, *shifted;
23823 hi = PyLong_FromLong( (&result)->GetHi() );
23824 lo = PyLong_FromLong( (&result)->GetLo() );
23825 shifter = PyLong_FromLong(32);
23826 shifted = PyNumber_Lshift(hi, shifter);
23827 resultobj = PyNumber_Or(shifted, lo);
23828 Py_DECREF(hi);
23829 Py_DECREF(lo);
23830 Py_DECREF(shifter);
23831 Py_DECREF(shifted);
23832 }
23833 return resultobj;
23834 fail:
23835 return NULL;
23836}
23837
23838
23839static int _wrap_DefaultDateTime_set(PyObject *_val) {
23840 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
23841 return 1;
23842}
23843
23844
23845static PyObject *_wrap_DefaultDateTime_get() {
23846 PyObject *pyobj;
23847
23848 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
23849 return pyobj;
23850}
23851
23852
23853static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23854 PyObject *resultobj;
23855 int arg1 ;
23856 wxDataFormat *result;
23857 PyObject * obj0 = 0 ;
23858 char *kwnames[] = {
23859 (char *) "type", NULL
23860 };
23861
23862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
23863 arg1 = (wxDataFormatId) SWIG_AsInt(obj0);
23864 if (PyErr_Occurred()) SWIG_fail;
23865 {
23866 PyThreadState* __tstate = wxPyBeginAllowThreads();
23867 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
23868
23869 wxPyEndAllowThreads(__tstate);
23870 if (PyErr_Occurred()) SWIG_fail;
23871 }
23872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
23873 return resultobj;
23874 fail:
23875 return NULL;
23876}
23877
23878
23879static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23880 PyObject *resultobj;
23881 wxString *arg1 = 0 ;
23882 wxDataFormat *result;
23883 bool temp1 = False ;
23884 PyObject * obj0 = 0 ;
23885 char *kwnames[] = {
23886 (char *) "format", NULL
23887 };
23888
23889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
23890 {
23891 arg1 = wxString_in_helper(obj0);
23892 if (arg1 == NULL) SWIG_fail;
23893 temp1 = True;
23894 }
23895 {
23896 PyThreadState* __tstate = wxPyBeginAllowThreads();
23897 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
23898
23899 wxPyEndAllowThreads(__tstate);
23900 if (PyErr_Occurred()) SWIG_fail;
23901 }
23902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
23903 {
23904 if (temp1)
23905 delete arg1;
23906 }
23907 return resultobj;
23908 fail:
23909 {
23910 if (temp1)
23911 delete arg1;
23912 }
23913 return NULL;
23914}
23915
23916
23917static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23918 PyObject *resultobj;
23919 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23920 PyObject * obj0 = 0 ;
23921 char *kwnames[] = {
23922 (char *) "self", NULL
23923 };
23924
23925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
23926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23928 {
23929 PyThreadState* __tstate = wxPyBeginAllowThreads();
23930 delete arg1;
23931
23932 wxPyEndAllowThreads(__tstate);
23933 if (PyErr_Occurred()) SWIG_fail;
23934 }
23935 Py_INCREF(Py_None); resultobj = Py_None;
23936 return resultobj;
23937 fail:
23938 return NULL;
23939}
23940
23941
23942static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
23943 PyObject *resultobj;
23944 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23945 int arg2 ;
23946 bool result;
23947 PyObject * obj0 = 0 ;
23948 PyObject * obj1 = 0 ;
23949
23950 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
23951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23953 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
23954 if (PyErr_Occurred()) SWIG_fail;
23955 {
23956 PyThreadState* __tstate = wxPyBeginAllowThreads();
23957 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
23958
23959 wxPyEndAllowThreads(__tstate);
23960 if (PyErr_Occurred()) SWIG_fail;
23961 }
23962 {
23963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23964 }
23965 return resultobj;
23966 fail:
23967 return NULL;
23968}
23969
23970
23971static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
23972 PyObject *resultobj;
23973 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23974 int arg2 ;
23975 bool result;
23976 PyObject * obj0 = 0 ;
23977 PyObject * obj1 = 0 ;
23978
23979 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
23980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23982 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
23983 if (PyErr_Occurred()) SWIG_fail;
23984 {
23985 PyThreadState* __tstate = wxPyBeginAllowThreads();
23986 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
23987
23988 wxPyEndAllowThreads(__tstate);
23989 if (PyErr_Occurred()) SWIG_fail;
23990 }
23991 {
23992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23993 }
23994 return resultobj;
23995 fail:
23996 return NULL;
23997}
23998
23999
24000static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
24001 PyObject *resultobj;
24002 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24003 wxDataFormat *arg2 = 0 ;
24004 bool result;
24005 PyObject * obj0 = 0 ;
24006 PyObject * obj1 = 0 ;
24007
24008 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
24009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24012 SWIG_POINTER_EXCEPTION | 0)) == -1)
24013 SWIG_fail;
24014 if (arg2 == NULL) {
24015 PyErr_SetString(PyExc_TypeError,"null reference");
24016 SWIG_fail;
24017 }
24018 {
24019 PyThreadState* __tstate = wxPyBeginAllowThreads();
24020 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
24021
24022 wxPyEndAllowThreads(__tstate);
24023 if (PyErr_Occurred()) SWIG_fail;
24024 }
24025 {
24026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24027 }
24028 return resultobj;
24029 fail:
24030 return NULL;
24031}
24032
24033
24034static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
24035 int argc;
24036 PyObject *argv[3];
24037 int ii;
24038
24039 argc = PyObject_Length(args);
24040 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24041 argv[ii] = PyTuple_GetItem(args,ii);
24042 }
24043 if (argc == 2) {
24044 int _v;
24045 {
24046 void *ptr;
24047 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24048 _v = 0;
24049 PyErr_Clear();
24050 } else {
24051 _v = 1;
24052 }
24053 }
24054 if (_v) {
24055 {
24056 void *ptr;
24057 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24058 _v = 0;
24059 PyErr_Clear();
24060 } else {
24061 _v = 1;
24062 }
24063 }
24064 if (_v) {
24065 return _wrap_DataFormat___eq____SWIG_1(self,args);
24066 }
24067 }
24068 }
24069 if (argc == 2) {
24070 int _v;
24071 {
24072 void *ptr;
24073 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24074 _v = 0;
24075 PyErr_Clear();
24076 } else {
24077 _v = 1;
24078 }
24079 }
24080 if (_v) {
24081 _v = SWIG_CheckInt(argv[1]);
24082 if (_v) {
24083 return _wrap_DataFormat___eq____SWIG_0(self,args);
24084 }
24085 }
24086 }
24087
24088 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
24089 return NULL;
24090}
24091
24092
24093static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
24094 PyObject *resultobj;
24095 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24096 wxDataFormat *arg2 = 0 ;
24097 bool result;
24098 PyObject * obj0 = 0 ;
24099 PyObject * obj1 = 0 ;
24100
24101 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
24102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24104 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24105 SWIG_POINTER_EXCEPTION | 0)) == -1)
24106 SWIG_fail;
24107 if (arg2 == NULL) {
24108 PyErr_SetString(PyExc_TypeError,"null reference");
24109 SWIG_fail;
24110 }
24111 {
24112 PyThreadState* __tstate = wxPyBeginAllowThreads();
24113 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
24114
24115 wxPyEndAllowThreads(__tstate);
24116 if (PyErr_Occurred()) SWIG_fail;
24117 }
24118 {
24119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24120 }
24121 return resultobj;
24122 fail:
24123 return NULL;
24124}
24125
24126
24127static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
24128 int argc;
24129 PyObject *argv[3];
24130 int ii;
24131
24132 argc = PyObject_Length(args);
24133 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24134 argv[ii] = PyTuple_GetItem(args,ii);
24135 }
24136 if (argc == 2) {
24137 int _v;
24138 {
24139 void *ptr;
24140 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24141 _v = 0;
24142 PyErr_Clear();
24143 } else {
24144 _v = 1;
24145 }
24146 }
24147 if (_v) {
24148 {
24149 void *ptr;
24150 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24151 _v = 0;
24152 PyErr_Clear();
24153 } else {
24154 _v = 1;
24155 }
24156 }
24157 if (_v) {
24158 return _wrap_DataFormat___ne____SWIG_1(self,args);
24159 }
24160 }
24161 }
24162 if (argc == 2) {
24163 int _v;
24164 {
24165 void *ptr;
24166 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24167 _v = 0;
24168 PyErr_Clear();
24169 } else {
24170 _v = 1;
24171 }
24172 }
24173 if (_v) {
24174 _v = SWIG_CheckInt(argv[1]);
24175 if (_v) {
24176 return _wrap_DataFormat___ne____SWIG_0(self,args);
24177 }
24178 }
24179 }
24180
24181 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
24182 return NULL;
24183}
24184
24185
24186static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24187 PyObject *resultobj;
24188 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24189 int arg2 ;
24190 PyObject * obj0 = 0 ;
24191 PyObject * obj1 = 0 ;
24192 char *kwnames[] = {
24193 (char *) "self",(char *) "format", NULL
24194 };
24195
24196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
24197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24199 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
24200 if (PyErr_Occurred()) SWIG_fail;
24201 {
24202 PyThreadState* __tstate = wxPyBeginAllowThreads();
24203 (arg1)->SetType((wxDataFormatId )arg2);
24204
24205 wxPyEndAllowThreads(__tstate);
24206 if (PyErr_Occurred()) SWIG_fail;
24207 }
24208 Py_INCREF(Py_None); resultobj = Py_None;
24209 return resultobj;
24210 fail:
24211 return NULL;
24212}
24213
24214
24215static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24216 PyObject *resultobj;
24217 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24218 int result;
24219 PyObject * obj0 = 0 ;
24220 char *kwnames[] = {
24221 (char *) "self", NULL
24222 };
24223
24224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
24225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24227 {
24228 PyThreadState* __tstate = wxPyBeginAllowThreads();
24229 result = (int)((wxDataFormat const *)arg1)->GetType();
24230
24231 wxPyEndAllowThreads(__tstate);
24232 if (PyErr_Occurred()) SWIG_fail;
24233 }
24234 resultobj = SWIG_FromInt((int)result);
24235 return resultobj;
24236 fail:
24237 return NULL;
24238}
24239
24240
24241static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24242 PyObject *resultobj;
24243 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24244 wxString result;
24245 PyObject * obj0 = 0 ;
24246 char *kwnames[] = {
24247 (char *) "self", NULL
24248 };
24249
24250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
24251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24253 {
24254 PyThreadState* __tstate = wxPyBeginAllowThreads();
24255 result = ((wxDataFormat const *)arg1)->GetId();
24256
24257 wxPyEndAllowThreads(__tstate);
24258 if (PyErr_Occurred()) SWIG_fail;
24259 }
24260 {
24261#if wxUSE_UNICODE
24262 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24263#else
24264 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24265#endif
24266 }
24267 return resultobj;
24268 fail:
24269 return NULL;
24270}
24271
24272
24273static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24274 PyObject *resultobj;
24275 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24276 wxString *arg2 = 0 ;
24277 bool temp2 = False ;
24278 PyObject * obj0 = 0 ;
24279 PyObject * obj1 = 0 ;
24280 char *kwnames[] = {
24281 (char *) "self",(char *) "format", NULL
24282 };
24283
24284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
24285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24287 {
24288 arg2 = wxString_in_helper(obj1);
24289 if (arg2 == NULL) SWIG_fail;
24290 temp2 = True;
24291 }
24292 {
24293 PyThreadState* __tstate = wxPyBeginAllowThreads();
24294 (arg1)->SetId((wxString const &)*arg2);
24295
24296 wxPyEndAllowThreads(__tstate);
24297 if (PyErr_Occurred()) SWIG_fail;
24298 }
24299 Py_INCREF(Py_None); resultobj = Py_None;
24300 {
24301 if (temp2)
24302 delete arg2;
24303 }
24304 return resultobj;
24305 fail:
24306 {
24307 if (temp2)
24308 delete arg2;
24309 }
24310 return NULL;
24311}
24312
24313
24314static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
24315 PyObject *obj;
24316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24317 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
24318 Py_INCREF(obj);
24319 return Py_BuildValue((char *)"");
24320}
24321static int _wrap_FormatInvalid_set(PyObject *_val) {
24322 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
24323 return 1;
24324}
24325
24326
24327static PyObject *_wrap_FormatInvalid_get() {
24328 PyObject *pyobj;
24329
24330 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
24331 return pyobj;
24332}
24333
24334
24335static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24336 PyObject *resultobj;
24337 wxDataObject *arg1 = (wxDataObject *) 0 ;
24338 PyObject * obj0 = 0 ;
24339 char *kwnames[] = {
24340 (char *) "self", NULL
24341 };
24342
24343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
24344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24346 {
24347 PyThreadState* __tstate = wxPyBeginAllowThreads();
24348 delete arg1;
24349
24350 wxPyEndAllowThreads(__tstate);
24351 if (PyErr_Occurred()) SWIG_fail;
24352 }
24353 Py_INCREF(Py_None); resultobj = Py_None;
24354 return resultobj;
24355 fail:
24356 return NULL;
24357}
24358
24359
24360static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24361 PyObject *resultobj;
24362 wxDataObject *arg1 = (wxDataObject *) 0 ;
24363 int arg2 = (int) wxDataObject::Get ;
24364 SwigValueWrapper< wxDataFormat > result;
24365 PyObject * obj0 = 0 ;
24366 PyObject * obj1 = 0 ;
24367 char *kwnames[] = {
24368 (char *) "self",(char *) "dir", NULL
24369 };
24370
24371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
24372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24374 if (obj1) {
24375 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24376 if (PyErr_Occurred()) SWIG_fail;
24377 }
24378 {
24379 PyThreadState* __tstate = wxPyBeginAllowThreads();
24380 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
24381
24382 wxPyEndAllowThreads(__tstate);
24383 if (PyErr_Occurred()) SWIG_fail;
24384 }
24385 {
24386 wxDataFormat * resultptr;
24387 resultptr = new wxDataFormat((wxDataFormat &) result);
24388 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
24389 }
24390 return resultobj;
24391 fail:
24392 return NULL;
24393}
24394
24395
24396static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24397 PyObject *resultobj;
24398 wxDataObject *arg1 = (wxDataObject *) 0 ;
24399 int arg2 = (int) wxDataObject::Get ;
24400 size_t result;
24401 PyObject * obj0 = 0 ;
24402 PyObject * obj1 = 0 ;
24403 char *kwnames[] = {
24404 (char *) "self",(char *) "dir", NULL
24405 };
24406
24407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
24408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24410 if (obj1) {
24411 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24412 if (PyErr_Occurred()) SWIG_fail;
24413 }
24414 {
24415 PyThreadState* __tstate = wxPyBeginAllowThreads();
24416 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
24417
24418 wxPyEndAllowThreads(__tstate);
24419 if (PyErr_Occurred()) SWIG_fail;
24420 }
24421 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24422 return resultobj;
24423 fail:
24424 return NULL;
24425}
24426
24427
24428static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24429 PyObject *resultobj;
24430 wxDataObject *arg1 = (wxDataObject *) 0 ;
24431 wxDataFormat *arg2 = 0 ;
24432 int arg3 = (int) wxDataObject::Get ;
24433 bool result;
24434 PyObject * obj0 = 0 ;
24435 PyObject * obj1 = 0 ;
24436 PyObject * obj2 = 0 ;
24437 char *kwnames[] = {
24438 (char *) "self",(char *) "format",(char *) "dir", NULL
24439 };
24440
24441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
24442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24444 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24445 SWIG_POINTER_EXCEPTION | 0)) == -1)
24446 SWIG_fail;
24447 if (arg2 == NULL) {
24448 PyErr_SetString(PyExc_TypeError,"null reference");
24449 SWIG_fail;
24450 }
24451 if (obj2) {
24452 arg3 = (wxDataObject::Direction) SWIG_AsInt(obj2);
24453 if (PyErr_Occurred()) SWIG_fail;
24454 }
24455 {
24456 PyThreadState* __tstate = wxPyBeginAllowThreads();
24457 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
24458
24459 wxPyEndAllowThreads(__tstate);
24460 if (PyErr_Occurred()) SWIG_fail;
24461 }
24462 {
24463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24464 }
24465 return resultobj;
24466 fail:
24467 return NULL;
24468}
24469
24470
24471static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24472 PyObject *resultobj;
24473 wxDataObject *arg1 = (wxDataObject *) 0 ;
24474 wxDataFormat *arg2 = 0 ;
24475 size_t result;
24476 PyObject * obj0 = 0 ;
24477 PyObject * obj1 = 0 ;
24478 char *kwnames[] = {
24479 (char *) "self",(char *) "format", NULL
24480 };
24481
24482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
24483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24485 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24486 SWIG_POINTER_EXCEPTION | 0)) == -1)
24487 SWIG_fail;
24488 if (arg2 == NULL) {
24489 PyErr_SetString(PyExc_TypeError,"null reference");
24490 SWIG_fail;
24491 }
24492 {
24493 PyThreadState* __tstate = wxPyBeginAllowThreads();
24494 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
24495
24496 wxPyEndAllowThreads(__tstate);
24497 if (PyErr_Occurred()) SWIG_fail;
24498 }
24499 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24500 return resultobj;
24501 fail:
24502 return NULL;
24503}
24504
24505
24506static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
24507 PyObject *resultobj;
24508 wxDataObject *arg1 = (wxDataObject *) 0 ;
a07a67e6
RD
24509 int arg2 = (int) wxDataObject::Get ;
24510 PyObject *result;
d55e5bfc
RD
24511 PyObject * obj0 = 0 ;
24512 PyObject * obj1 = 0 ;
d55e5bfc 24513 char *kwnames[] = {
a07a67e6 24514 (char *) "self",(char *) "dir", NULL
d55e5bfc
RD
24515 };
24516
a07a67e6 24517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
24518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a07a67e6
RD
24520 if (obj1) {
24521 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
d55e5bfc
RD
24522 if (PyErr_Occurred()) SWIG_fail;
24523 }
24524 {
24525 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 24526 result = (PyObject *)wxDataObject_GetAllFormats(arg1,(wxDataObject::Direction )arg2);
d55e5bfc
RD
24527
24528 wxPyEndAllowThreads(__tstate);
24529 if (PyErr_Occurred()) SWIG_fail;
24530 }
a07a67e6 24531 resultobj = result;
d55e5bfc
RD
24532 return resultobj;
24533 fail:
24534 return NULL;
24535}
24536
24537
24538static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
24539 PyObject *resultobj;
24540 wxDataObject *arg1 = (wxDataObject *) 0 ;
24541 wxDataFormat *arg2 = 0 ;
a07a67e6 24542 PyObject *result;
d55e5bfc
RD
24543 PyObject * obj0 = 0 ;
24544 PyObject * obj1 = 0 ;
d55e5bfc 24545 char *kwnames[] = {
a07a67e6 24546 (char *) "self",(char *) "format", NULL
d55e5bfc
RD
24547 };
24548
a07a67e6 24549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataHere",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
24550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24552 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24553 SWIG_POINTER_EXCEPTION | 0)) == -1)
24554 SWIG_fail;
24555 if (arg2 == NULL) {
24556 PyErr_SetString(PyExc_TypeError,"null reference");
24557 SWIG_fail;
24558 }
d55e5bfc
RD
24559 {
24560 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 24561 result = (PyObject *)wxDataObject_GetDataHere(arg1,(wxDataFormat const &)*arg2);
d55e5bfc
RD
24562
24563 wxPyEndAllowThreads(__tstate);
24564 if (PyErr_Occurred()) SWIG_fail;
24565 }
a07a67e6 24566 resultobj = result;
d55e5bfc
RD
24567 return resultobj;
24568 fail:
24569 return NULL;
24570}
24571
24572
24573static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24574 PyObject *resultobj;
24575 wxDataObject *arg1 = (wxDataObject *) 0 ;
24576 wxDataFormat *arg2 = 0 ;
a07a67e6 24577 PyObject *arg3 = (PyObject *) 0 ;
d55e5bfc
RD
24578 bool result;
24579 PyObject * obj0 = 0 ;
24580 PyObject * obj1 = 0 ;
24581 PyObject * obj2 = 0 ;
d55e5bfc 24582 char *kwnames[] = {
a07a67e6 24583 (char *) "self",(char *) "format",(char *) "data", NULL
d55e5bfc
RD
24584 };
24585
a07a67e6 24586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2)) goto fail;
d55e5bfc
RD
24587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24589 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24590 SWIG_POINTER_EXCEPTION | 0)) == -1)
24591 SWIG_fail;
24592 if (arg2 == NULL) {
24593 PyErr_SetString(PyExc_TypeError,"null reference");
24594 SWIG_fail;
24595 }
a07a67e6 24596 arg3 = obj2;
d55e5bfc
RD
24597 {
24598 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 24599 result = (bool)wxDataObject_SetData(arg1,(wxDataFormat const &)*arg2,arg3);
d55e5bfc
RD
24600
24601 wxPyEndAllowThreads(__tstate);
24602 if (PyErr_Occurred()) SWIG_fail;
24603 }
24604 {
24605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24606 }
24607 return resultobj;
24608 fail:
24609 return NULL;
24610}
24611
24612
24613static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
24614 PyObject *obj;
24615 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24616 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
24617 Py_INCREF(obj);
24618 return Py_BuildValue((char *)"");
24619}
24620static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24621 PyObject *resultobj;
24622 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24623 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24624 wxDataObjectSimple *result;
24625 PyObject * obj0 = 0 ;
24626 char *kwnames[] = {
24627 (char *) "format", NULL
24628 };
24629
24630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
24631 if (obj0) {
24632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24633 SWIG_POINTER_EXCEPTION | 0)) == -1)
24634 SWIG_fail;
24635 if (arg1 == NULL) {
24636 PyErr_SetString(PyExc_TypeError,"null reference");
24637 SWIG_fail;
24638 }
24639 }
24640 {
24641 PyThreadState* __tstate = wxPyBeginAllowThreads();
24642 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
24643
24644 wxPyEndAllowThreads(__tstate);
24645 if (PyErr_Occurred()) SWIG_fail;
24646 }
24647 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
24648 return resultobj;
24649 fail:
24650 return NULL;
24651}
24652
24653
24654static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24655 PyObject *resultobj;
24656 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24657 wxDataFormat *result;
24658 PyObject * obj0 = 0 ;
24659 char *kwnames[] = {
24660 (char *) "self", NULL
24661 };
24662
24663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
24664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24666 {
24667 PyThreadState* __tstate = wxPyBeginAllowThreads();
24668 {
24669 wxDataFormat const &_result_ref = (arg1)->GetFormat();
24670 result = (wxDataFormat *) &_result_ref;
24671 }
24672
24673 wxPyEndAllowThreads(__tstate);
24674 if (PyErr_Occurred()) SWIG_fail;
24675 }
24676 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
24677 return resultobj;
24678 fail:
24679 return NULL;
24680}
24681
24682
24683static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24684 PyObject *resultobj;
24685 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24686 wxDataFormat *arg2 = 0 ;
24687 PyObject * obj0 = 0 ;
24688 PyObject * obj1 = 0 ;
24689 char *kwnames[] = {
24690 (char *) "self",(char *) "format", NULL
24691 };
24692
24693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
24694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24696 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24697 SWIG_POINTER_EXCEPTION | 0)) == -1)
24698 SWIG_fail;
24699 if (arg2 == NULL) {
24700 PyErr_SetString(PyExc_TypeError,"null reference");
24701 SWIG_fail;
24702 }
24703 {
24704 PyThreadState* __tstate = wxPyBeginAllowThreads();
24705 (arg1)->SetFormat((wxDataFormat const &)*arg2);
24706
24707 wxPyEndAllowThreads(__tstate);
24708 if (PyErr_Occurred()) SWIG_fail;
24709 }
24710 Py_INCREF(Py_None); resultobj = Py_None;
24711 return resultobj;
24712 fail:
24713 return NULL;
24714}
24715
24716
a07a67e6
RD
24717static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24718 PyObject *resultobj;
24719 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24720 size_t result;
24721 PyObject * obj0 = 0 ;
24722 char *kwnames[] = {
24723 (char *) "self", NULL
24724 };
24725
24726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataSize",kwnames,&obj0)) goto fail;
24727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24729 {
24730 PyThreadState* __tstate = wxPyBeginAllowThreads();
24731 result = (size_t)((wxDataObjectSimple const *)arg1)->GetDataSize();
24732
24733 wxPyEndAllowThreads(__tstate);
24734 if (PyErr_Occurred()) SWIG_fail;
24735 }
24736 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24737 return resultobj;
24738 fail:
24739 return NULL;
24740}
24741
24742
24743static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
24744 PyObject *resultobj;
24745 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24746 PyObject *result;
24747 PyObject * obj0 = 0 ;
24748 char *kwnames[] = {
24749 (char *) "self", NULL
24750 };
24751
24752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataHere",kwnames,&obj0)) goto fail;
24753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24755 {
24756 PyThreadState* __tstate = wxPyBeginAllowThreads();
24757 result = (PyObject *)wxDataObjectSimple_GetDataHere(arg1);
24758
24759 wxPyEndAllowThreads(__tstate);
24760 if (PyErr_Occurred()) SWIG_fail;
24761 }
24762 resultobj = result;
24763 return resultobj;
24764 fail:
24765 return NULL;
24766}
24767
24768
24769static PyObject *_wrap_DataObjectSimple_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24770 PyObject *resultobj;
24771 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24772 PyObject *arg2 = (PyObject *) 0 ;
24773 bool result;
24774 PyObject * obj0 = 0 ;
24775 PyObject * obj1 = 0 ;
24776 char *kwnames[] = {
24777 (char *) "self",(char *) "data", NULL
24778 };
24779
24780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetData",kwnames,&obj0,&obj1)) goto fail;
24781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24783 arg2 = obj1;
24784 {
24785 PyThreadState* __tstate = wxPyBeginAllowThreads();
24786 result = (bool)wxDataObjectSimple_SetData(arg1,arg2);
24787
24788 wxPyEndAllowThreads(__tstate);
24789 if (PyErr_Occurred()) SWIG_fail;
24790 }
24791 {
24792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24793 }
24794 return resultobj;
24795 fail:
24796 return NULL;
24797}
24798
24799
d55e5bfc
RD
24800static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24801 PyObject *obj;
24802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24803 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
24804 Py_INCREF(obj);
24805 return Py_BuildValue((char *)"");
24806}
24807static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24808 PyObject *resultobj;
24809 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24810 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24811 wxPyDataObjectSimple *result;
24812 PyObject * obj0 = 0 ;
24813 char *kwnames[] = {
24814 (char *) "format", NULL
24815 };
24816
24817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
24818 if (obj0) {
24819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24820 SWIG_POINTER_EXCEPTION | 0)) == -1)
24821 SWIG_fail;
24822 if (arg1 == NULL) {
24823 PyErr_SetString(PyExc_TypeError,"null reference");
24824 SWIG_fail;
24825 }
24826 }
24827 {
24828 PyThreadState* __tstate = wxPyBeginAllowThreads();
24829 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
24830
24831 wxPyEndAllowThreads(__tstate);
24832 if (PyErr_Occurred()) SWIG_fail;
24833 }
24834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
24835 return resultobj;
24836 fail:
24837 return NULL;
24838}
24839
24840
24841static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24842 PyObject *resultobj;
24843 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
24844 PyObject *arg2 = (PyObject *) 0 ;
24845 PyObject *arg3 = (PyObject *) 0 ;
24846 PyObject * obj0 = 0 ;
24847 PyObject * obj1 = 0 ;
24848 PyObject * obj2 = 0 ;
24849 char *kwnames[] = {
24850 (char *) "self",(char *) "self",(char *) "_class", NULL
24851 };
24852
24853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDataObjectSimple,
24855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24856 arg2 = obj1;
24857 arg3 = obj2;
24858 {
24859 PyThreadState* __tstate = wxPyBeginAllowThreads();
24860 (arg1)->_setCallbackInfo(arg2,arg3);
24861
24862 wxPyEndAllowThreads(__tstate);
24863 if (PyErr_Occurred()) SWIG_fail;
24864 }
24865 Py_INCREF(Py_None); resultobj = Py_None;
24866 return resultobj;
24867 fail:
24868 return NULL;
24869}
24870
24871
24872static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24873 PyObject *obj;
24874 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24875 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
24876 Py_INCREF(obj);
24877 return Py_BuildValue((char *)"");
24878}
24879static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
24880 PyObject *resultobj;
24881 wxDataObjectComposite *result;
24882 char *kwnames[] = {
24883 NULL
24884 };
24885
24886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
24887 {
24888 PyThreadState* __tstate = wxPyBeginAllowThreads();
24889 result = (wxDataObjectComposite *)new wxDataObjectComposite();
24890
24891 wxPyEndAllowThreads(__tstate);
24892 if (PyErr_Occurred()) SWIG_fail;
24893 }
24894 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
24895 return resultobj;
24896 fail:
24897 return NULL;
24898}
24899
24900
24901static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
24902 PyObject *resultobj;
24903 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
24904 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
a07a67e6 24905 bool arg3 = (bool) False ;
d55e5bfc
RD
24906 PyObject * obj0 = 0 ;
24907 PyObject * obj1 = 0 ;
24908 PyObject * obj2 = 0 ;
24909 char *kwnames[] = {
24910 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24911 };
24912
24913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
24914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectComposite,
24915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24916 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObjectSimple,
24917 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24918 if (obj2) {
a07a67e6 24919 arg3 = (bool) SWIG_AsBool(obj2);
d55e5bfc
RD
24920 if (PyErr_Occurred()) SWIG_fail;
24921 }
24922 {
24923 PyThreadState* __tstate = wxPyBeginAllowThreads();
24924 (arg1)->Add(arg2,arg3);
24925
24926 wxPyEndAllowThreads(__tstate);
24927 if (PyErr_Occurred()) SWIG_fail;
24928 }
24929 Py_INCREF(Py_None); resultobj = Py_None;
24930 return resultobj;
24931 fail:
24932 return NULL;
24933}
24934
24935
24936static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
24937 PyObject *obj;
24938 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24939 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
24940 Py_INCREF(obj);
24941 return Py_BuildValue((char *)"");
24942}
24943static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24944 PyObject *resultobj;
24945 wxString const &arg1_defvalue = wxPyEmptyString ;
24946 wxString *arg1 = (wxString *) &arg1_defvalue ;
24947 wxTextDataObject *result;
24948 bool temp1 = False ;
24949 PyObject * obj0 = 0 ;
24950 char *kwnames[] = {
24951 (char *) "text", NULL
24952 };
24953
24954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
24955 if (obj0) {
24956 {
24957 arg1 = wxString_in_helper(obj0);
24958 if (arg1 == NULL) SWIG_fail;
24959 temp1 = True;
24960 }
24961 }
24962 {
24963 PyThreadState* __tstate = wxPyBeginAllowThreads();
24964 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
24965
24966 wxPyEndAllowThreads(__tstate);
24967 if (PyErr_Occurred()) SWIG_fail;
24968 }
24969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
24970 {
24971 if (temp1)
24972 delete arg1;
24973 }
24974 return resultobj;
24975 fail:
24976 {
24977 if (temp1)
24978 delete arg1;
24979 }
24980 return NULL;
24981}
24982
24983
24984static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
24985 PyObject *resultobj;
24986 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24987 size_t result;
24988 PyObject * obj0 = 0 ;
24989 char *kwnames[] = {
24990 (char *) "self", NULL
24991 };
24992
24993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
24994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24996 {
24997 PyThreadState* __tstate = wxPyBeginAllowThreads();
24998 result = (size_t)(arg1)->GetTextLength();
24999
25000 wxPyEndAllowThreads(__tstate);
25001 if (PyErr_Occurred()) SWIG_fail;
25002 }
25003 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25004 return resultobj;
25005 fail:
25006 return NULL;
25007}
25008
25009
25010static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
25011 PyObject *resultobj;
25012 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25013 wxString result;
25014 PyObject * obj0 = 0 ;
25015 char *kwnames[] = {
25016 (char *) "self", NULL
25017 };
25018
25019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
25020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25022 {
25023 PyThreadState* __tstate = wxPyBeginAllowThreads();
25024 result = (arg1)->GetText();
25025
25026 wxPyEndAllowThreads(__tstate);
25027 if (PyErr_Occurred()) SWIG_fail;
25028 }
25029 {
25030#if wxUSE_UNICODE
25031 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25032#else
25033 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25034#endif
25035 }
25036 return resultobj;
25037 fail:
25038 return NULL;
25039}
25040
25041
25042static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
25043 PyObject *resultobj;
25044 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25045 wxString *arg2 = 0 ;
25046 bool temp2 = False ;
25047 PyObject * obj0 = 0 ;
25048 PyObject * obj1 = 0 ;
25049 char *kwnames[] = {
25050 (char *) "self",(char *) "text", NULL
25051 };
25052
25053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
25054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25056 {
25057 arg2 = wxString_in_helper(obj1);
25058 if (arg2 == NULL) SWIG_fail;
25059 temp2 = True;
25060 }
25061 {
25062 PyThreadState* __tstate = wxPyBeginAllowThreads();
25063 (arg1)->SetText((wxString const &)*arg2);
25064
25065 wxPyEndAllowThreads(__tstate);
25066 if (PyErr_Occurred()) SWIG_fail;
25067 }
25068 Py_INCREF(Py_None); resultobj = Py_None;
25069 {
25070 if (temp2)
25071 delete arg2;
25072 }
25073 return resultobj;
25074 fail:
25075 {
25076 if (temp2)
25077 delete arg2;
25078 }
25079 return NULL;
25080}
25081
25082
25083static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
25084 PyObject *obj;
25085 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25086 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
25087 Py_INCREF(obj);
25088 return Py_BuildValue((char *)"");
25089}
25090static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25091 PyObject *resultobj;
25092 wxString const &arg1_defvalue = wxPyEmptyString ;
25093 wxString *arg1 = (wxString *) &arg1_defvalue ;
25094 wxPyTextDataObject *result;
25095 bool temp1 = False ;
25096 PyObject * obj0 = 0 ;
25097 char *kwnames[] = {
25098 (char *) "text", NULL
25099 };
25100
25101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
25102 if (obj0) {
25103 {
25104 arg1 = wxString_in_helper(obj0);
25105 if (arg1 == NULL) SWIG_fail;
25106 temp1 = True;
25107 }
25108 }
25109 {
25110 PyThreadState* __tstate = wxPyBeginAllowThreads();
25111 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
25112
25113 wxPyEndAllowThreads(__tstate);
25114 if (PyErr_Occurred()) SWIG_fail;
25115 }
25116 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
25117 {
25118 if (temp1)
25119 delete arg1;
25120 }
25121 return resultobj;
25122 fail:
25123 {
25124 if (temp1)
25125 delete arg1;
25126 }
25127 return NULL;
25128}
25129
25130
25131static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25132 PyObject *resultobj;
25133 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
25134 PyObject *arg2 = (PyObject *) 0 ;
25135 PyObject *arg3 = (PyObject *) 0 ;
25136 PyObject * obj0 = 0 ;
25137 PyObject * obj1 = 0 ;
25138 PyObject * obj2 = 0 ;
25139 char *kwnames[] = {
25140 (char *) "self",(char *) "self",(char *) "_class", NULL
25141 };
25142
25143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDataObject,
25145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25146 arg2 = obj1;
25147 arg3 = obj2;
25148 {
25149 PyThreadState* __tstate = wxPyBeginAllowThreads();
25150 (arg1)->_setCallbackInfo(arg2,arg3);
25151
25152 wxPyEndAllowThreads(__tstate);
25153 if (PyErr_Occurred()) SWIG_fail;
25154 }
25155 Py_INCREF(Py_None); resultobj = Py_None;
25156 return resultobj;
25157 fail:
25158 return NULL;
25159}
25160
25161
25162static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
25163 PyObject *obj;
25164 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25165 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
25166 Py_INCREF(obj);
25167 return Py_BuildValue((char *)"");
25168}
25169static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25170 PyObject *resultobj;
25171 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25172 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25173 wxBitmapDataObject *result;
25174 PyObject * obj0 = 0 ;
25175 char *kwnames[] = {
25176 (char *) "bitmap", NULL
25177 };
25178
25179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
25180 if (obj0) {
25181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25182 SWIG_POINTER_EXCEPTION | 0)) == -1)
25183 SWIG_fail;
25184 if (arg1 == NULL) {
25185 PyErr_SetString(PyExc_TypeError,"null reference");
25186 SWIG_fail;
25187 }
25188 }
25189 {
25190 PyThreadState* __tstate = wxPyBeginAllowThreads();
25191 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
25192
25193 wxPyEndAllowThreads(__tstate);
25194 if (PyErr_Occurred()) SWIG_fail;
25195 }
25196 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
25197 return resultobj;
25198 fail:
25199 return NULL;
25200}
25201
25202
25203static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25204 PyObject *resultobj;
25205 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25206 wxBitmap result;
25207 PyObject * obj0 = 0 ;
25208 char *kwnames[] = {
25209 (char *) "self", NULL
25210 };
25211
25212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
25213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25215 {
25216 PyThreadState* __tstate = wxPyBeginAllowThreads();
25217 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
25218
25219 wxPyEndAllowThreads(__tstate);
25220 if (PyErr_Occurred()) SWIG_fail;
25221 }
25222 {
25223 wxBitmap * resultptr;
25224 resultptr = new wxBitmap((wxBitmap &) result);
25225 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
25226 }
25227 return resultobj;
25228 fail:
25229 return NULL;
25230}
25231
25232
25233static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25234 PyObject *resultobj;
25235 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25236 wxBitmap *arg2 = 0 ;
25237 PyObject * obj0 = 0 ;
25238 PyObject * obj1 = 0 ;
25239 char *kwnames[] = {
25240 (char *) "self",(char *) "bitmap", NULL
25241 };
25242
25243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
25244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25246 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
25247 SWIG_POINTER_EXCEPTION | 0)) == -1)
25248 SWIG_fail;
25249 if (arg2 == NULL) {
25250 PyErr_SetString(PyExc_TypeError,"null reference");
25251 SWIG_fail;
25252 }
25253 {
25254 PyThreadState* __tstate = wxPyBeginAllowThreads();
25255 (arg1)->SetBitmap((wxBitmap const &)*arg2);
25256
25257 wxPyEndAllowThreads(__tstate);
25258 if (PyErr_Occurred()) SWIG_fail;
25259 }
25260 Py_INCREF(Py_None); resultobj = Py_None;
25261 return resultobj;
25262 fail:
25263 return NULL;
25264}
25265
25266
25267static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
25268 PyObject *obj;
25269 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25270 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
25271 Py_INCREF(obj);
25272 return Py_BuildValue((char *)"");
25273}
25274static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25275 PyObject *resultobj;
25276 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25277 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25278 wxPyBitmapDataObject *result;
25279 PyObject * obj0 = 0 ;
25280 char *kwnames[] = {
25281 (char *) "bitmap", NULL
25282 };
25283
25284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
25285 if (obj0) {
25286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25287 SWIG_POINTER_EXCEPTION | 0)) == -1)
25288 SWIG_fail;
25289 if (arg1 == NULL) {
25290 PyErr_SetString(PyExc_TypeError,"null reference");
25291 SWIG_fail;
25292 }
25293 }
25294 {
25295 PyThreadState* __tstate = wxPyBeginAllowThreads();
25296 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
25297
25298 wxPyEndAllowThreads(__tstate);
25299 if (PyErr_Occurred()) SWIG_fail;
25300 }
25301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
25302 return resultobj;
25303 fail:
25304 return NULL;
25305}
25306
25307
25308static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25309 PyObject *resultobj;
25310 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
25311 PyObject *arg2 = (PyObject *) 0 ;
25312 PyObject *arg3 = (PyObject *) 0 ;
25313 PyObject * obj0 = 0 ;
25314 PyObject * obj1 = 0 ;
25315 PyObject * obj2 = 0 ;
25316 char *kwnames[] = {
25317 (char *) "self",(char *) "self",(char *) "_class", NULL
25318 };
25319
25320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapDataObject,
25322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25323 arg2 = obj1;
25324 arg3 = obj2;
25325 {
25326 PyThreadState* __tstate = wxPyBeginAllowThreads();
25327 (arg1)->_setCallbackInfo(arg2,arg3);
25328
25329 wxPyEndAllowThreads(__tstate);
25330 if (PyErr_Occurred()) SWIG_fail;
25331 }
25332 Py_INCREF(Py_None); resultobj = Py_None;
25333 return resultobj;
25334 fail:
25335 return NULL;
25336}
25337
25338
25339static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
25340 PyObject *obj;
25341 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25342 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
25343 Py_INCREF(obj);
25344 return Py_BuildValue((char *)"");
25345}
25346static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25347 PyObject *resultobj;
25348 wxFileDataObject *result;
25349 char *kwnames[] = {
25350 NULL
25351 };
25352
25353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
25354 {
25355 PyThreadState* __tstate = wxPyBeginAllowThreads();
25356 result = (wxFileDataObject *)new wxFileDataObject();
25357
25358 wxPyEndAllowThreads(__tstate);
25359 if (PyErr_Occurred()) SWIG_fail;
25360 }
25361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
25362 return resultobj;
25363 fail:
25364 return NULL;
25365}
25366
25367
25368static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
25369 PyObject *resultobj;
25370 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25371 wxArrayString *result;
25372 PyObject * obj0 = 0 ;
25373 char *kwnames[] = {
25374 (char *) "self", NULL
25375 };
25376
25377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
25378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25380 {
25381 PyThreadState* __tstate = wxPyBeginAllowThreads();
25382 {
25383 wxArrayString const &_result_ref = (arg1)->GetFilenames();
25384 result = (wxArrayString *) &_result_ref;
25385 }
25386
25387 wxPyEndAllowThreads(__tstate);
25388 if (PyErr_Occurred()) SWIG_fail;
25389 }
25390 {
25391 resultobj = wxArrayString2PyList_helper(*result);
25392 }
25393 return resultobj;
25394 fail:
25395 return NULL;
25396}
25397
25398
25399static PyObject *_wrap_FileDataObject_AddFile(PyObject *self, PyObject *args, PyObject *kwargs) {
25400 PyObject *resultobj;
25401 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25402 wxString *arg2 = 0 ;
25403 bool temp2 = False ;
25404 PyObject * obj0 = 0 ;
25405 PyObject * obj1 = 0 ;
25406 char *kwnames[] = {
25407 (char *) "self",(char *) "filename", NULL
25408 };
25409
25410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
25411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25413 {
25414 arg2 = wxString_in_helper(obj1);
25415 if (arg2 == NULL) SWIG_fail;
25416 temp2 = True;
25417 }
25418 {
25419 PyThreadState* __tstate = wxPyBeginAllowThreads();
25420 (arg1)->AddFile((wxString const &)*arg2);
25421
25422 wxPyEndAllowThreads(__tstate);
25423 if (PyErr_Occurred()) SWIG_fail;
25424 }
25425 Py_INCREF(Py_None); resultobj = Py_None;
25426 {
25427 if (temp2)
25428 delete arg2;
25429 }
25430 return resultobj;
25431 fail:
25432 {
25433 if (temp2)
25434 delete arg2;
25435 }
25436 return NULL;
25437}
25438
25439
25440static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
25441 PyObject *obj;
25442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25443 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
25444 Py_INCREF(obj);
25445 return Py_BuildValue((char *)"");
25446}
25447static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25448 PyObject *resultobj;
25449 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25450 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25451 wxCustomDataObject *result;
25452 PyObject * obj0 = 0 ;
25453 char *kwnames[] = {
25454 (char *) "format", NULL
25455 };
25456
25457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
25458 if (obj0) {
25459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25460 SWIG_POINTER_EXCEPTION | 0)) == -1)
25461 SWIG_fail;
25462 if (arg1 == NULL) {
25463 PyErr_SetString(PyExc_TypeError,"null reference");
25464 SWIG_fail;
25465 }
25466 }
25467 {
25468 PyThreadState* __tstate = wxPyBeginAllowThreads();
25469 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
25470
25471 wxPyEndAllowThreads(__tstate);
25472 if (PyErr_Occurred()) SWIG_fail;
25473 }
25474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
25475 return resultobj;
25476 fail:
25477 return NULL;
25478}
25479
25480
d55e5bfc
RD
25481static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25482 PyObject *resultobj;
25483 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25484 PyObject *arg2 = (PyObject *) 0 ;
25485 bool result;
25486 PyObject * obj0 = 0 ;
25487 PyObject * obj1 = 0 ;
25488 char *kwnames[] = {
25489 (char *) "self",(char *) "data", NULL
25490 };
25491
25492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
25493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25495 arg2 = obj1;
25496 {
25497 PyThreadState* __tstate = wxPyBeginAllowThreads();
25498 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
25499
25500 wxPyEndAllowThreads(__tstate);
25501 if (PyErr_Occurred()) SWIG_fail;
25502 }
25503 {
25504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25505 }
25506 return resultobj;
25507 fail:
25508 return NULL;
25509}
25510
25511
25512static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25513 PyObject *resultobj;
25514 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25515 size_t result;
25516 PyObject * obj0 = 0 ;
25517 char *kwnames[] = {
25518 (char *) "self", NULL
25519 };
25520
25521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
25522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25524 {
25525 PyThreadState* __tstate = wxPyBeginAllowThreads();
25526 result = (size_t)(arg1)->GetSize();
25527
25528 wxPyEndAllowThreads(__tstate);
25529 if (PyErr_Occurred()) SWIG_fail;
25530 }
25531 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25532 return resultobj;
25533 fail:
25534 return NULL;
25535}
25536
25537
25538static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25539 PyObject *resultobj;
25540 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25541 PyObject *result;
25542 PyObject * obj0 = 0 ;
25543 char *kwnames[] = {
25544 (char *) "self", NULL
25545 };
25546
25547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
25548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25550 {
25551 PyThreadState* __tstate = wxPyBeginAllowThreads();
25552 result = (PyObject *)wxCustomDataObject_GetData(arg1);
25553
25554 wxPyEndAllowThreads(__tstate);
25555 if (PyErr_Occurred()) SWIG_fail;
25556 }
25557 resultobj = result;
25558 return resultobj;
25559 fail:
25560 return NULL;
25561}
25562
25563
25564static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
25565 PyObject *obj;
25566 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25567 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
25568 Py_INCREF(obj);
25569 return Py_BuildValue((char *)"");
25570}
25571static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25572 PyObject *resultobj;
25573 wxURLDataObject *result;
25574 char *kwnames[] = {
25575 NULL
25576 };
25577
25578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
25579 {
25580 PyThreadState* __tstate = wxPyBeginAllowThreads();
25581 result = (wxURLDataObject *)new wxURLDataObject();
25582
25583 wxPyEndAllowThreads(__tstate);
25584 if (PyErr_Occurred()) SWIG_fail;
25585 }
25586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
25587 return resultobj;
25588 fail:
25589 return NULL;
25590}
25591
25592
25593static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25594 PyObject *resultobj;
25595 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25596 wxString result;
25597 PyObject * obj0 = 0 ;
25598 char *kwnames[] = {
25599 (char *) "self", NULL
25600 };
25601
25602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
25603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25605 {
25606 PyThreadState* __tstate = wxPyBeginAllowThreads();
25607 result = (arg1)->GetURL();
25608
25609 wxPyEndAllowThreads(__tstate);
25610 if (PyErr_Occurred()) SWIG_fail;
25611 }
25612 {
25613#if wxUSE_UNICODE
25614 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25615#else
25616 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25617#endif
25618 }
25619 return resultobj;
25620 fail:
25621 return NULL;
25622}
25623
25624
25625static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25626 PyObject *resultobj;
25627 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25628 wxString *arg2 = 0 ;
25629 bool temp2 = False ;
25630 PyObject * obj0 = 0 ;
25631 PyObject * obj1 = 0 ;
25632 char *kwnames[] = {
25633 (char *) "self",(char *) "url", NULL
25634 };
25635
25636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
25637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25639 {
25640 arg2 = wxString_in_helper(obj1);
25641 if (arg2 == NULL) SWIG_fail;
25642 temp2 = True;
25643 }
25644 {
25645 PyThreadState* __tstate = wxPyBeginAllowThreads();
25646 (arg1)->SetURL((wxString const &)*arg2);
25647
25648 wxPyEndAllowThreads(__tstate);
25649 if (PyErr_Occurred()) SWIG_fail;
25650 }
25651 Py_INCREF(Py_None); resultobj = Py_None;
25652 {
25653 if (temp2)
25654 delete arg2;
25655 }
25656 return resultobj;
25657 fail:
25658 {
25659 if (temp2)
25660 delete arg2;
25661 }
25662 return NULL;
25663}
25664
25665
25666static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
25667 PyObject *obj;
25668 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25669 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
25670 Py_INCREF(obj);
25671 return Py_BuildValue((char *)"");
25672}
25673static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25674 PyObject *resultobj;
25675 wxMetafileDataObject *result;
25676 char *kwnames[] = {
25677 NULL
25678 };
25679
25680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
25681 {
25682 PyThreadState* __tstate = wxPyBeginAllowThreads();
25683 result = (wxMetafileDataObject *)new wxMetafileDataObject();
25684
25685 wxPyEndAllowThreads(__tstate);
25686 if (PyErr_Occurred()) SWIG_fail;
25687 }
25688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
25689 return resultobj;
25690 fail:
25691 return NULL;
25692}
25693
25694
25695static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
25696 PyObject *resultobj;
25697 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25698 wxMetafile *arg2 = 0 ;
25699 PyObject * obj0 = 0 ;
25700 PyObject * obj1 = 0 ;
25701 char *kwnames[] = {
25702 (char *) "self",(char *) "metafile", NULL
25703 };
25704
25705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
25706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25708 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMetafile,
25709 SWIG_POINTER_EXCEPTION | 0)) == -1)
25710 SWIG_fail;
25711 if (arg2 == NULL) {
25712 PyErr_SetString(PyExc_TypeError,"null reference");
25713 SWIG_fail;
25714 }
25715 {
25716 PyThreadState* __tstate = wxPyBeginAllowThreads();
25717 (arg1)->SetMetafile((wxMetafile const &)*arg2);
25718
25719 wxPyEndAllowThreads(__tstate);
25720 if (PyErr_Occurred()) SWIG_fail;
25721 }
25722 Py_INCREF(Py_None); resultobj = Py_None;
25723 return resultobj;
25724 fail:
25725 return NULL;
25726}
25727
25728
25729static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
25730 PyObject *resultobj;
25731 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25732 wxMetafile result;
25733 PyObject * obj0 = 0 ;
25734 char *kwnames[] = {
25735 (char *) "self", NULL
25736 };
25737
25738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
25739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25741 {
25742 PyThreadState* __tstate = wxPyBeginAllowThreads();
25743 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
25744
25745 wxPyEndAllowThreads(__tstate);
25746 if (PyErr_Occurred()) SWIG_fail;
25747 }
25748 {
25749 wxMetafile * resultptr;
25750 resultptr = new wxMetafile((wxMetafile &) result);
25751 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMetafile, 1);
25752 }
25753 return resultobj;
25754 fail:
25755 return NULL;
25756}
25757
25758
25759static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
25760 PyObject *obj;
25761 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25762 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
25763 Py_INCREF(obj);
25764 return Py_BuildValue((char *)"");
25765}
25766static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
25767 PyObject *resultobj;
25768 int arg1 ;
25769 bool result;
25770 PyObject * obj0 = 0 ;
25771 char *kwnames[] = {
25772 (char *) "res", NULL
25773 };
25774
25775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
25776 arg1 = (wxDragResult) SWIG_AsInt(obj0);
25777 if (PyErr_Occurred()) SWIG_fail;
25778 {
25779 PyThreadState* __tstate = wxPyBeginAllowThreads();
25780 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
25781
25782 wxPyEndAllowThreads(__tstate);
25783 if (PyErr_Occurred()) SWIG_fail;
25784 }
25785 {
25786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25787 }
25788 return resultobj;
25789 fail:
25790 return NULL;
25791}
25792
25793
25794static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25795 PyObject *resultobj;
25796 wxWindow *arg1 = (wxWindow *) 0 ;
25797 wxCursor const &arg2_defvalue = wxNullCursor ;
25798 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25799 wxCursor const &arg3_defvalue = wxNullCursor ;
25800 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
25801 wxCursor const &arg4_defvalue = wxNullCursor ;
25802 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
25803 wxPyDropSource *result;
25804 PyObject * obj0 = 0 ;
25805 PyObject * obj1 = 0 ;
25806 PyObject * obj2 = 0 ;
25807 PyObject * obj3 = 0 ;
25808 char *kwnames[] = {
25809 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25810 };
25811
25812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25815 if (obj1) {
25816 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
25817 SWIG_POINTER_EXCEPTION | 0)) == -1)
25818 SWIG_fail;
25819 if (arg2 == NULL) {
25820 PyErr_SetString(PyExc_TypeError,"null reference");
25821 SWIG_fail;
25822 }
25823 }
25824 if (obj2) {
25825 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
25826 SWIG_POINTER_EXCEPTION | 0)) == -1)
25827 SWIG_fail;
25828 if (arg3 == NULL) {
25829 PyErr_SetString(PyExc_TypeError,"null reference");
25830 SWIG_fail;
25831 }
25832 }
25833 if (obj3) {
25834 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxCursor,
25835 SWIG_POINTER_EXCEPTION | 0)) == -1)
25836 SWIG_fail;
25837 if (arg4 == NULL) {
25838 PyErr_SetString(PyExc_TypeError,"null reference");
25839 SWIG_fail;
25840 }
25841 }
25842 {
25843 PyThreadState* __tstate = wxPyBeginAllowThreads();
25844 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
25845
25846 wxPyEndAllowThreads(__tstate);
25847 if (PyErr_Occurred()) SWIG_fail;
25848 }
25849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
25850 return resultobj;
25851 fail:
25852 return NULL;
25853}
25854
25855
25856static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25857 PyObject *resultobj;
25858 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25859 PyObject *arg2 = (PyObject *) 0 ;
25860 PyObject *arg3 = (PyObject *) 0 ;
25861 int arg4 ;
25862 PyObject * obj0 = 0 ;
25863 PyObject * obj1 = 0 ;
25864 PyObject * obj2 = 0 ;
25865 PyObject * obj3 = 0 ;
25866 char *kwnames[] = {
25867 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25868 };
25869
25870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25873 arg2 = obj1;
25874 arg3 = obj2;
25875 arg4 = (int) SWIG_AsInt(obj3);
25876 if (PyErr_Occurred()) SWIG_fail;
25877 {
25878 PyThreadState* __tstate = wxPyBeginAllowThreads();
25879 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
25880
25881 wxPyEndAllowThreads(__tstate);
25882 if (PyErr_Occurred()) SWIG_fail;
25883 }
25884 Py_INCREF(Py_None); resultobj = Py_None;
25885 return resultobj;
25886 fail:
25887 return NULL;
25888}
25889
25890
25891static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25892 PyObject *resultobj;
25893 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25894 PyObject * obj0 = 0 ;
25895 char *kwnames[] = {
25896 (char *) "self", NULL
25897 };
25898
25899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
25900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25902 {
25903 PyThreadState* __tstate = wxPyBeginAllowThreads();
25904 delete arg1;
25905
25906 wxPyEndAllowThreads(__tstate);
25907 if (PyErr_Occurred()) SWIG_fail;
25908 }
25909 Py_INCREF(Py_None); resultobj = Py_None;
25910 return resultobj;
25911 fail:
25912 return NULL;
25913}
25914
25915
25916static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25917 PyObject *resultobj;
25918 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25919 wxDataObject *arg2 = 0 ;
25920 PyObject * obj0 = 0 ;
25921 PyObject * obj1 = 0 ;
25922 char *kwnames[] = {
25923 (char *) "self",(char *) "data", NULL
25924 };
25925
25926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
25927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25929 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
25930 SWIG_POINTER_EXCEPTION | 0)) == -1)
25931 SWIG_fail;
25932 if (arg2 == NULL) {
25933 PyErr_SetString(PyExc_TypeError,"null reference");
25934 SWIG_fail;
25935 }
25936 {
25937 PyThreadState* __tstate = wxPyBeginAllowThreads();
25938 (arg1)->SetData(*arg2);
25939
25940 wxPyEndAllowThreads(__tstate);
25941 if (PyErr_Occurred()) SWIG_fail;
25942 }
25943 Py_INCREF(Py_None); resultobj = Py_None;
25944 return resultobj;
25945 fail:
25946 return NULL;
25947}
25948
25949
25950static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25951 PyObject *resultobj;
25952 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25953 wxDataObject *result;
25954 PyObject * obj0 = 0 ;
25955 char *kwnames[] = {
25956 (char *) "self", NULL
25957 };
25958
25959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
25960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25962 {
25963 PyThreadState* __tstate = wxPyBeginAllowThreads();
25964 result = (wxDataObject *)(arg1)->GetDataObject();
25965
25966 wxPyEndAllowThreads(__tstate);
25967 if (PyErr_Occurred()) SWIG_fail;
25968 }
25969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
25970 return resultobj;
25971 fail:
25972 return NULL;
25973}
25974
25975
25976static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
25977 PyObject *resultobj;
25978 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25979 int arg2 ;
25980 wxCursor *arg3 = 0 ;
25981 PyObject * obj0 = 0 ;
25982 PyObject * obj1 = 0 ;
25983 PyObject * obj2 = 0 ;
25984 char *kwnames[] = {
25985 (char *) "self",(char *) "res",(char *) "cursor", NULL
25986 };
25987
25988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
25989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25991 arg2 = (wxDragResult) SWIG_AsInt(obj1);
25992 if (PyErr_Occurred()) SWIG_fail;
25993 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
25994 SWIG_POINTER_EXCEPTION | 0)) == -1)
25995 SWIG_fail;
25996 if (arg3 == NULL) {
25997 PyErr_SetString(PyExc_TypeError,"null reference");
25998 SWIG_fail;
25999 }
26000 {
26001 PyThreadState* __tstate = wxPyBeginAllowThreads();
26002 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
26003
26004 wxPyEndAllowThreads(__tstate);
26005 if (PyErr_Occurred()) SWIG_fail;
26006 }
26007 Py_INCREF(Py_None); resultobj = Py_None;
26008 return resultobj;
26009 fail:
26010 return NULL;
26011}
26012
26013
26014static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26015 PyObject *resultobj;
26016 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26017 int arg2 = (int) wxDrag_CopyOnly ;
26018 int result;
26019 PyObject * obj0 = 0 ;
26020 PyObject * obj1 = 0 ;
26021 char *kwnames[] = {
26022 (char *) "self",(char *) "flags", NULL
26023 };
26024
26025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
26026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26028 if (obj1) {
26029 arg2 = (int) SWIG_AsInt(obj1);
26030 if (PyErr_Occurred()) SWIG_fail;
26031 }
26032 {
26033 PyThreadState* __tstate = wxPyBeginAllowThreads();
26034 result = (int)(arg1)->DoDragDrop(arg2);
26035
26036 wxPyEndAllowThreads(__tstate);
26037 if (PyErr_Occurred()) SWIG_fail;
26038 }
26039 resultobj = SWIG_FromInt((int)result);
26040 return resultobj;
26041 fail:
26042 return NULL;
26043}
26044
26045
26046static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
26047 PyObject *resultobj;
26048 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26049 int arg2 ;
26050 bool result;
26051 PyObject * obj0 = 0 ;
26052 PyObject * obj1 = 0 ;
26053 char *kwnames[] = {
26054 (char *) "self",(char *) "effect", NULL
26055 };
26056
26057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
26058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26060 arg2 = (wxDragResult) SWIG_AsInt(obj1);
26061 if (PyErr_Occurred()) SWIG_fail;
26062 {
26063 PyThreadState* __tstate = wxPyBeginAllowThreads();
26064 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
26065
26066 wxPyEndAllowThreads(__tstate);
26067 if (PyErr_Occurred()) SWIG_fail;
26068 }
26069 {
26070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26071 }
26072 return resultobj;
26073 fail:
26074 return NULL;
26075}
26076
26077
26078static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
26079 PyObject *obj;
26080 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26081 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
26082 Py_INCREF(obj);
26083 return Py_BuildValue((char *)"");
26084}
26085static PyObject *_wrap_new_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26086 PyObject *resultobj;
26087 wxDataObject *arg1 = (wxDataObject *) NULL ;
26088 wxPyDropTarget *result;
26089 PyObject * obj0 = 0 ;
26090 char *kwnames[] = {
26091 (char *) "dataObject", NULL
26092 };
26093
26094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
26095 if (obj0) {
26096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
26097 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26098 }
26099 {
26100 PyThreadState* __tstate = wxPyBeginAllowThreads();
26101 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
26102
26103 wxPyEndAllowThreads(__tstate);
26104 if (PyErr_Occurred()) SWIG_fail;
26105 }
26106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
26107 return resultobj;
26108 fail:
26109 return NULL;
26110}
26111
26112
26113static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26114 PyObject *resultobj;
26115 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26116 PyObject *arg2 = (PyObject *) 0 ;
26117 PyObject *arg3 = (PyObject *) 0 ;
26118 PyObject * obj0 = 0 ;
26119 PyObject * obj1 = 0 ;
26120 PyObject * obj2 = 0 ;
26121 char *kwnames[] = {
26122 (char *) "self",(char *) "self",(char *) "_class", NULL
26123 };
26124
26125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26128 arg2 = obj1;
26129 arg3 = obj2;
26130 {
26131 PyThreadState* __tstate = wxPyBeginAllowThreads();
26132 (arg1)->_setCallbackInfo(arg2,arg3);
26133
26134 wxPyEndAllowThreads(__tstate);
26135 if (PyErr_Occurred()) SWIG_fail;
26136 }
26137 Py_INCREF(Py_None); resultobj = Py_None;
26138 return resultobj;
26139 fail:
26140 return NULL;
26141}
26142
26143
26144static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26145 PyObject *resultobj;
26146 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26147 PyObject * obj0 = 0 ;
26148 char *kwnames[] = {
26149 (char *) "self", NULL
26150 };
26151
26152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
26153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26155 {
26156 PyThreadState* __tstate = wxPyBeginAllowThreads();
26157 delete arg1;
26158
26159 wxPyEndAllowThreads(__tstate);
26160 if (PyErr_Occurred()) SWIG_fail;
26161 }
26162 Py_INCREF(Py_None); resultobj = Py_None;
26163 return resultobj;
26164 fail:
26165 return NULL;
26166}
26167
26168
26169static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
26170 PyObject *resultobj;
26171 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26172 wxDataObject *result;
26173 PyObject * obj0 = 0 ;
26174 char *kwnames[] = {
26175 (char *) "self", NULL
26176 };
26177
26178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
26179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26181 {
26182 PyThreadState* __tstate = wxPyBeginAllowThreads();
26183 result = (wxDataObject *)(arg1)->GetDataObject();
26184
26185 wxPyEndAllowThreads(__tstate);
26186 if (PyErr_Occurred()) SWIG_fail;
26187 }
26188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
26189 return resultobj;
26190 fail:
26191 return NULL;
26192}
26193
26194
26195static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
26196 PyObject *resultobj;
26197 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26198 wxDataObject *arg2 = (wxDataObject *) 0 ;
26199 PyObject * obj0 = 0 ;
26200 PyObject * obj1 = 0 ;
26201 char *kwnames[] = {
26202 (char *) "self",(char *) "dataObject", NULL
26203 };
26204
26205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
26206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26208 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26209 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26210 {
26211 PyThreadState* __tstate = wxPyBeginAllowThreads();
26212 (arg1)->SetDataObject(arg2);
26213
26214 wxPyEndAllowThreads(__tstate);
26215 if (PyErr_Occurred()) SWIG_fail;
26216 }
26217 Py_INCREF(Py_None); resultobj = Py_None;
26218 return resultobj;
26219 fail:
26220 return NULL;
26221}
26222
26223
26224static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26225 PyObject *resultobj;
26226 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26227 int arg2 ;
26228 int arg3 ;
26229 int arg4 ;
26230 int result;
26231 PyObject * obj0 = 0 ;
26232 PyObject * obj1 = 0 ;
26233 PyObject * obj2 = 0 ;
26234 PyObject * obj3 = 0 ;
26235 char *kwnames[] = {
26236 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26237 };
26238
26239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26242 arg2 = (int) SWIG_AsInt(obj1);
26243 if (PyErr_Occurred()) SWIG_fail;
26244 arg3 = (int) SWIG_AsInt(obj2);
26245 if (PyErr_Occurred()) SWIG_fail;
26246 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26247 if (PyErr_Occurred()) SWIG_fail;
26248 {
26249 PyThreadState* __tstate = wxPyBeginAllowThreads();
26250 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26251
26252 wxPyEndAllowThreads(__tstate);
26253 if (PyErr_Occurred()) SWIG_fail;
26254 }
26255 resultobj = SWIG_FromInt((int)result);
26256 return resultobj;
26257 fail:
26258 return NULL;
26259}
26260
26261
26262static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26263 PyObject *resultobj;
26264 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26265 int arg2 ;
26266 int arg3 ;
26267 int arg4 ;
26268 int result;
26269 PyObject * obj0 = 0 ;
26270 PyObject * obj1 = 0 ;
26271 PyObject * obj2 = 0 ;
26272 PyObject * obj3 = 0 ;
26273 char *kwnames[] = {
26274 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26275 };
26276
26277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26280 arg2 = (int) SWIG_AsInt(obj1);
26281 if (PyErr_Occurred()) SWIG_fail;
26282 arg3 = (int) SWIG_AsInt(obj2);
26283 if (PyErr_Occurred()) SWIG_fail;
26284 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26285 if (PyErr_Occurred()) SWIG_fail;
26286 {
26287 PyThreadState* __tstate = wxPyBeginAllowThreads();
26288 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26289
26290 wxPyEndAllowThreads(__tstate);
26291 if (PyErr_Occurred()) SWIG_fail;
26292 }
26293 resultobj = SWIG_FromInt((int)result);
26294 return resultobj;
26295 fail:
26296 return NULL;
26297}
26298
26299
26300static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26301 PyObject *resultobj;
26302 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26303 PyObject * obj0 = 0 ;
26304 char *kwnames[] = {
26305 (char *) "self", NULL
26306 };
26307
26308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26311 {
26312 PyThreadState* __tstate = wxPyBeginAllowThreads();
26313 (arg1)->base_OnLeave();
26314
26315 wxPyEndAllowThreads(__tstate);
26316 if (PyErr_Occurred()) SWIG_fail;
26317 }
26318 Py_INCREF(Py_None); resultobj = Py_None;
26319 return resultobj;
26320 fail:
26321 return NULL;
26322}
26323
26324
26325static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26326 PyObject *resultobj;
26327 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26328 int arg2 ;
26329 int arg3 ;
26330 bool result;
26331 PyObject * obj0 = 0 ;
26332 PyObject * obj1 = 0 ;
26333 PyObject * obj2 = 0 ;
26334 char *kwnames[] = {
26335 (char *) "self",(char *) "x",(char *) "y", NULL
26336 };
26337
26338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26341 arg2 = (int) SWIG_AsInt(obj1);
26342 if (PyErr_Occurred()) SWIG_fail;
26343 arg3 = (int) SWIG_AsInt(obj2);
26344 if (PyErr_Occurred()) SWIG_fail;
26345 {
26346 PyThreadState* __tstate = wxPyBeginAllowThreads();
26347 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26348
26349 wxPyEndAllowThreads(__tstate);
26350 if (PyErr_Occurred()) SWIG_fail;
26351 }
26352 {
26353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26354 }
26355 return resultobj;
26356 fail:
26357 return NULL;
26358}
26359
26360
26361static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26362 PyObject *resultobj;
26363 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26364 bool result;
26365 PyObject * obj0 = 0 ;
26366 char *kwnames[] = {
26367 (char *) "self", NULL
26368 };
26369
26370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
26371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26373 {
26374 PyThreadState* __tstate = wxPyBeginAllowThreads();
26375 result = (bool)(arg1)->GetData();
26376
26377 wxPyEndAllowThreads(__tstate);
26378 if (PyErr_Occurred()) SWIG_fail;
26379 }
26380 {
26381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26382 }
26383 return resultobj;
26384 fail:
26385 return NULL;
26386}
26387
26388
26389static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
26390 PyObject *obj;
26391 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26392 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
26393 Py_INCREF(obj);
26394 return Py_BuildValue((char *)"");
26395}
26396static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26397 PyObject *resultobj;
26398 wxPyTextDropTarget *result;
26399 char *kwnames[] = {
26400 NULL
26401 };
26402
26403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
26404 {
26405 PyThreadState* __tstate = wxPyBeginAllowThreads();
26406 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
26407
26408 wxPyEndAllowThreads(__tstate);
26409 if (PyErr_Occurred()) SWIG_fail;
26410 }
26411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
26412 return resultobj;
26413 fail:
26414 return NULL;
26415}
26416
26417
26418static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26419 PyObject *resultobj;
26420 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26421 PyObject *arg2 = (PyObject *) 0 ;
26422 PyObject *arg3 = (PyObject *) 0 ;
26423 PyObject * obj0 = 0 ;
26424 PyObject * obj1 = 0 ;
26425 PyObject * obj2 = 0 ;
26426 char *kwnames[] = {
26427 (char *) "self",(char *) "self",(char *) "_class", NULL
26428 };
26429
26430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26433 arg2 = obj1;
26434 arg3 = obj2;
26435 {
26436 PyThreadState* __tstate = wxPyBeginAllowThreads();
26437 (arg1)->_setCallbackInfo(arg2,arg3);
26438
26439 wxPyEndAllowThreads(__tstate);
26440 if (PyErr_Occurred()) SWIG_fail;
26441 }
26442 Py_INCREF(Py_None); resultobj = Py_None;
26443 return resultobj;
26444 fail:
26445 return NULL;
26446}
26447
26448
26449static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26450 PyObject *resultobj;
26451 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26452 int arg2 ;
26453 int arg3 ;
26454 int arg4 ;
26455 int result;
26456 PyObject * obj0 = 0 ;
26457 PyObject * obj1 = 0 ;
26458 PyObject * obj2 = 0 ;
26459 PyObject * obj3 = 0 ;
26460 char *kwnames[] = {
26461 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26462 };
26463
26464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26467 arg2 = (int) SWIG_AsInt(obj1);
26468 if (PyErr_Occurred()) SWIG_fail;
26469 arg3 = (int) SWIG_AsInt(obj2);
26470 if (PyErr_Occurred()) SWIG_fail;
26471 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26472 if (PyErr_Occurred()) SWIG_fail;
26473 {
26474 PyThreadState* __tstate = wxPyBeginAllowThreads();
26475 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26476
26477 wxPyEndAllowThreads(__tstate);
26478 if (PyErr_Occurred()) SWIG_fail;
26479 }
26480 resultobj = SWIG_FromInt((int)result);
26481 return resultobj;
26482 fail:
26483 return NULL;
26484}
26485
26486
26487static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26488 PyObject *resultobj;
26489 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26490 int arg2 ;
26491 int arg3 ;
26492 int arg4 ;
26493 int result;
26494 PyObject * obj0 = 0 ;
26495 PyObject * obj1 = 0 ;
26496 PyObject * obj2 = 0 ;
26497 PyObject * obj3 = 0 ;
26498 char *kwnames[] = {
26499 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26500 };
26501
26502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26505 arg2 = (int) SWIG_AsInt(obj1);
26506 if (PyErr_Occurred()) SWIG_fail;
26507 arg3 = (int) SWIG_AsInt(obj2);
26508 if (PyErr_Occurred()) SWIG_fail;
26509 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26510 if (PyErr_Occurred()) SWIG_fail;
26511 {
26512 PyThreadState* __tstate = wxPyBeginAllowThreads();
26513 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26514
26515 wxPyEndAllowThreads(__tstate);
26516 if (PyErr_Occurred()) SWIG_fail;
26517 }
26518 resultobj = SWIG_FromInt((int)result);
26519 return resultobj;
26520 fail:
26521 return NULL;
26522}
26523
26524
26525static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26526 PyObject *resultobj;
26527 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26528 PyObject * obj0 = 0 ;
26529 char *kwnames[] = {
26530 (char *) "self", NULL
26531 };
26532
26533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26536 {
26537 PyThreadState* __tstate = wxPyBeginAllowThreads();
26538 (arg1)->base_OnLeave();
26539
26540 wxPyEndAllowThreads(__tstate);
26541 if (PyErr_Occurred()) SWIG_fail;
26542 }
26543 Py_INCREF(Py_None); resultobj = Py_None;
26544 return resultobj;
26545 fail:
26546 return NULL;
26547}
26548
26549
26550static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26551 PyObject *resultobj;
26552 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26553 int arg2 ;
26554 int arg3 ;
26555 bool result;
26556 PyObject * obj0 = 0 ;
26557 PyObject * obj1 = 0 ;
26558 PyObject * obj2 = 0 ;
26559 char *kwnames[] = {
26560 (char *) "self",(char *) "x",(char *) "y", NULL
26561 };
26562
26563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26566 arg2 = (int) SWIG_AsInt(obj1);
26567 if (PyErr_Occurred()) SWIG_fail;
26568 arg3 = (int) SWIG_AsInt(obj2);
26569 if (PyErr_Occurred()) SWIG_fail;
26570 {
26571 PyThreadState* __tstate = wxPyBeginAllowThreads();
26572 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26573
26574 wxPyEndAllowThreads(__tstate);
26575 if (PyErr_Occurred()) SWIG_fail;
26576 }
26577 {
26578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26579 }
26580 return resultobj;
26581 fail:
26582 return NULL;
26583}
26584
26585
26586static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26587 PyObject *resultobj;
26588 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26589 int arg2 ;
26590 int arg3 ;
26591 int arg4 ;
26592 int result;
26593 PyObject * obj0 = 0 ;
26594 PyObject * obj1 = 0 ;
26595 PyObject * obj2 = 0 ;
26596 PyObject * obj3 = 0 ;
26597 char *kwnames[] = {
26598 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26599 };
26600
26601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26604 arg2 = (int) SWIG_AsInt(obj1);
26605 if (PyErr_Occurred()) SWIG_fail;
26606 arg3 = (int) SWIG_AsInt(obj2);
26607 if (PyErr_Occurred()) SWIG_fail;
26608 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26609 if (PyErr_Occurred()) SWIG_fail;
26610 {
26611 PyThreadState* __tstate = wxPyBeginAllowThreads();
26612 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26613
26614 wxPyEndAllowThreads(__tstate);
26615 if (PyErr_Occurred()) SWIG_fail;
26616 }
26617 resultobj = SWIG_FromInt((int)result);
26618 return resultobj;
26619 fail:
26620 return NULL;
26621}
26622
26623
26624static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
26625 PyObject *obj;
26626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26627 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
26628 Py_INCREF(obj);
26629 return Py_BuildValue((char *)"");
26630}
26631static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26632 PyObject *resultobj;
26633 wxPyFileDropTarget *result;
26634 char *kwnames[] = {
26635 NULL
26636 };
26637
26638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
26639 {
26640 PyThreadState* __tstate = wxPyBeginAllowThreads();
26641 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
26642
26643 wxPyEndAllowThreads(__tstate);
26644 if (PyErr_Occurred()) SWIG_fail;
26645 }
26646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
26647 return resultobj;
26648 fail:
26649 return NULL;
26650}
26651
26652
26653static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26654 PyObject *resultobj;
26655 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26656 PyObject *arg2 = (PyObject *) 0 ;
26657 PyObject *arg3 = (PyObject *) 0 ;
26658 PyObject * obj0 = 0 ;
26659 PyObject * obj1 = 0 ;
26660 PyObject * obj2 = 0 ;
26661 char *kwnames[] = {
26662 (char *) "self",(char *) "self",(char *) "_class", NULL
26663 };
26664
26665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26668 arg2 = obj1;
26669 arg3 = obj2;
26670 {
26671 PyThreadState* __tstate = wxPyBeginAllowThreads();
26672 (arg1)->_setCallbackInfo(arg2,arg3);
26673
26674 wxPyEndAllowThreads(__tstate);
26675 if (PyErr_Occurred()) SWIG_fail;
26676 }
26677 Py_INCREF(Py_None); resultobj = Py_None;
26678 return resultobj;
26679 fail:
26680 return NULL;
26681}
26682
26683
26684static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26685 PyObject *resultobj;
26686 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26687 int arg2 ;
26688 int arg3 ;
26689 int arg4 ;
26690 int result;
26691 PyObject * obj0 = 0 ;
26692 PyObject * obj1 = 0 ;
26693 PyObject * obj2 = 0 ;
26694 PyObject * obj3 = 0 ;
26695 char *kwnames[] = {
26696 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26697 };
26698
26699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26702 arg2 = (int) SWIG_AsInt(obj1);
26703 if (PyErr_Occurred()) SWIG_fail;
26704 arg3 = (int) SWIG_AsInt(obj2);
26705 if (PyErr_Occurred()) SWIG_fail;
26706 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26707 if (PyErr_Occurred()) SWIG_fail;
26708 {
26709 PyThreadState* __tstate = wxPyBeginAllowThreads();
26710 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26711
26712 wxPyEndAllowThreads(__tstate);
26713 if (PyErr_Occurred()) SWIG_fail;
26714 }
26715 resultobj = SWIG_FromInt((int)result);
26716 return resultobj;
26717 fail:
26718 return NULL;
26719}
26720
26721
26722static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26723 PyObject *resultobj;
26724 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26725 int arg2 ;
26726 int arg3 ;
26727 int arg4 ;
26728 int result;
26729 PyObject * obj0 = 0 ;
26730 PyObject * obj1 = 0 ;
26731 PyObject * obj2 = 0 ;
26732 PyObject * obj3 = 0 ;
26733 char *kwnames[] = {
26734 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26735 };
26736
26737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26740 arg2 = (int) SWIG_AsInt(obj1);
26741 if (PyErr_Occurred()) SWIG_fail;
26742 arg3 = (int) SWIG_AsInt(obj2);
26743 if (PyErr_Occurred()) SWIG_fail;
26744 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26745 if (PyErr_Occurred()) SWIG_fail;
26746 {
26747 PyThreadState* __tstate = wxPyBeginAllowThreads();
26748 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26749
26750 wxPyEndAllowThreads(__tstate);
26751 if (PyErr_Occurred()) SWIG_fail;
26752 }
26753 resultobj = SWIG_FromInt((int)result);
26754 return resultobj;
26755 fail:
26756 return NULL;
26757}
26758
26759
26760static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26761 PyObject *resultobj;
26762 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26763 PyObject * obj0 = 0 ;
26764 char *kwnames[] = {
26765 (char *) "self", NULL
26766 };
26767
26768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26771 {
26772 PyThreadState* __tstate = wxPyBeginAllowThreads();
26773 (arg1)->base_OnLeave();
26774
26775 wxPyEndAllowThreads(__tstate);
26776 if (PyErr_Occurred()) SWIG_fail;
26777 }
26778 Py_INCREF(Py_None); resultobj = Py_None;
26779 return resultobj;
26780 fail:
26781 return NULL;
26782}
26783
26784
26785static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26786 PyObject *resultobj;
26787 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26788 int arg2 ;
26789 int arg3 ;
26790 bool result;
26791 PyObject * obj0 = 0 ;
26792 PyObject * obj1 = 0 ;
26793 PyObject * obj2 = 0 ;
26794 char *kwnames[] = {
26795 (char *) "self",(char *) "x",(char *) "y", NULL
26796 };
26797
26798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26801 arg2 = (int) SWIG_AsInt(obj1);
26802 if (PyErr_Occurred()) SWIG_fail;
26803 arg3 = (int) SWIG_AsInt(obj2);
26804 if (PyErr_Occurred()) SWIG_fail;
26805 {
26806 PyThreadState* __tstate = wxPyBeginAllowThreads();
26807 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26808
26809 wxPyEndAllowThreads(__tstate);
26810 if (PyErr_Occurred()) SWIG_fail;
26811 }
26812 {
26813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26814 }
26815 return resultobj;
26816 fail:
26817 return NULL;
26818}
26819
26820
26821static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26822 PyObject *resultobj;
26823 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26824 int arg2 ;
26825 int arg3 ;
26826 int arg4 ;
26827 int result;
26828 PyObject * obj0 = 0 ;
26829 PyObject * obj1 = 0 ;
26830 PyObject * obj2 = 0 ;
26831 PyObject * obj3 = 0 ;
26832 char *kwnames[] = {
26833 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26834 };
26835
26836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26839 arg2 = (int) SWIG_AsInt(obj1);
26840 if (PyErr_Occurred()) SWIG_fail;
26841 arg3 = (int) SWIG_AsInt(obj2);
26842 if (PyErr_Occurred()) SWIG_fail;
26843 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26844 if (PyErr_Occurred()) SWIG_fail;
26845 {
26846 PyThreadState* __tstate = wxPyBeginAllowThreads();
26847 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26848
26849 wxPyEndAllowThreads(__tstate);
26850 if (PyErr_Occurred()) SWIG_fail;
26851 }
26852 resultobj = SWIG_FromInt((int)result);
26853 return resultobj;
26854 fail:
26855 return NULL;
26856}
26857
26858
26859static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
26860 PyObject *obj;
26861 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26862 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
26863 Py_INCREF(obj);
26864 return Py_BuildValue((char *)"");
26865}
26866static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26867 PyObject *resultobj;
26868 wxClipboard *result;
26869 char *kwnames[] = {
26870 NULL
26871 };
26872
26873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
26874 {
26875 PyThreadState* __tstate = wxPyBeginAllowThreads();
26876 result = (wxClipboard *)new wxClipboard();
26877
26878 wxPyEndAllowThreads(__tstate);
26879 if (PyErr_Occurred()) SWIG_fail;
26880 }
26881 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
26882 return resultobj;
26883 fail:
26884 return NULL;
26885}
26886
26887
26888static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26889 PyObject *resultobj;
26890 wxClipboard *arg1 = (wxClipboard *) 0 ;
26891 PyObject * obj0 = 0 ;
26892 char *kwnames[] = {
26893 (char *) "self", NULL
26894 };
26895
26896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
26897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26899 {
26900 PyThreadState* __tstate = wxPyBeginAllowThreads();
26901 delete arg1;
26902
26903 wxPyEndAllowThreads(__tstate);
26904 if (PyErr_Occurred()) SWIG_fail;
26905 }
26906 Py_INCREF(Py_None); resultobj = Py_None;
26907 return resultobj;
26908 fail:
26909 return NULL;
26910}
26911
26912
26913static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
26914 PyObject *resultobj;
26915 wxClipboard *arg1 = (wxClipboard *) 0 ;
26916 bool result;
26917 PyObject * obj0 = 0 ;
26918 char *kwnames[] = {
26919 (char *) "self", NULL
26920 };
26921
26922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
26923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26925 {
26926 PyThreadState* __tstate = wxPyBeginAllowThreads();
26927 result = (bool)(arg1)->Open();
26928
26929 wxPyEndAllowThreads(__tstate);
26930 if (PyErr_Occurred()) SWIG_fail;
26931 }
26932 {
26933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26934 }
26935 return resultobj;
26936 fail:
26937 return NULL;
26938}
26939
26940
26941static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
26942 PyObject *resultobj;
26943 wxClipboard *arg1 = (wxClipboard *) 0 ;
26944 PyObject * obj0 = 0 ;
26945 char *kwnames[] = {
26946 (char *) "self", NULL
26947 };
26948
26949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
26950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26952 {
26953 PyThreadState* __tstate = wxPyBeginAllowThreads();
26954 (arg1)->Close();
26955
26956 wxPyEndAllowThreads(__tstate);
26957 if (PyErr_Occurred()) SWIG_fail;
26958 }
26959 Py_INCREF(Py_None); resultobj = Py_None;
26960 return resultobj;
26961 fail:
26962 return NULL;
26963}
26964
26965
26966static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
26967 PyObject *resultobj;
26968 wxClipboard *arg1 = (wxClipboard *) 0 ;
26969 bool result;
26970 PyObject * obj0 = 0 ;
26971 char *kwnames[] = {
26972 (char *) "self", NULL
26973 };
26974
26975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
26976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26978 {
26979 PyThreadState* __tstate = wxPyBeginAllowThreads();
26980 result = (bool)((wxClipboard const *)arg1)->IsOpened();
26981
26982 wxPyEndAllowThreads(__tstate);
26983 if (PyErr_Occurred()) SWIG_fail;
26984 }
26985 {
26986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26987 }
26988 return resultobj;
26989 fail:
26990 return NULL;
26991}
26992
26993
26994static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
26995 PyObject *resultobj;
26996 wxClipboard *arg1 = (wxClipboard *) 0 ;
26997 wxDataObject *arg2 = (wxDataObject *) 0 ;
26998 bool result;
26999 PyObject * obj0 = 0 ;
27000 PyObject * obj1 = 0 ;
27001 char *kwnames[] = {
27002 (char *) "self",(char *) "data", NULL
27003 };
27004
27005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
27006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27008 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27009 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
27010 {
27011 PyThreadState* __tstate = wxPyBeginAllowThreads();
27012 result = (bool)(arg1)->AddData(arg2);
27013
27014 wxPyEndAllowThreads(__tstate);
27015 if (PyErr_Occurred()) SWIG_fail;
27016 }
27017 {
27018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27019 }
27020 return resultobj;
27021 fail:
27022 return NULL;
27023}
27024
27025
27026static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
27027 PyObject *resultobj;
27028 wxClipboard *arg1 = (wxClipboard *) 0 ;
27029 wxDataObject *arg2 = (wxDataObject *) 0 ;
27030 bool result;
27031 PyObject * obj0 = 0 ;
27032 PyObject * obj1 = 0 ;
27033 char *kwnames[] = {
27034 (char *) "self",(char *) "data", NULL
27035 };
27036
27037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
27038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27040 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27041 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
27042 {
27043 PyThreadState* __tstate = wxPyBeginAllowThreads();
27044 result = (bool)(arg1)->SetData(arg2);
27045
27046 wxPyEndAllowThreads(__tstate);
27047 if (PyErr_Occurred()) SWIG_fail;
27048 }
27049 {
27050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27051 }
27052 return resultobj;
27053 fail:
27054 return NULL;
27055}
27056
27057
27058static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
27059 PyObject *resultobj;
27060 wxClipboard *arg1 = (wxClipboard *) 0 ;
27061 wxDataFormat *arg2 = 0 ;
27062 bool result;
27063 PyObject * obj0 = 0 ;
27064 PyObject * obj1 = 0 ;
27065 char *kwnames[] = {
27066 (char *) "self",(char *) "format", NULL
27067 };
27068
27069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
27070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27072 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
27073 SWIG_POINTER_EXCEPTION | 0)) == -1)
27074 SWIG_fail;
27075 if (arg2 == NULL) {
27076 PyErr_SetString(PyExc_TypeError,"null reference");
27077 SWIG_fail;
27078 }
27079 {
27080 PyThreadState* __tstate = wxPyBeginAllowThreads();
27081 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
27082
27083 wxPyEndAllowThreads(__tstate);
27084 if (PyErr_Occurred()) SWIG_fail;
27085 }
27086 {
27087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27088 }
27089 return resultobj;
27090 fail:
27091 return NULL;
27092}
27093
27094
27095static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
27096 PyObject *resultobj;
27097 wxClipboard *arg1 = (wxClipboard *) 0 ;
27098 wxDataObject *arg2 = 0 ;
27099 bool result;
27100 PyObject * obj0 = 0 ;
27101 PyObject * obj1 = 0 ;
27102 char *kwnames[] = {
27103 (char *) "self",(char *) "data", NULL
27104 };
27105
27106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
27107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27109 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27110 SWIG_POINTER_EXCEPTION | 0)) == -1)
27111 SWIG_fail;
27112 if (arg2 == NULL) {
27113 PyErr_SetString(PyExc_TypeError,"null reference");
27114 SWIG_fail;
27115 }
27116 {
27117 PyThreadState* __tstate = wxPyBeginAllowThreads();
27118 result = (bool)(arg1)->GetData(*arg2);
27119
27120 wxPyEndAllowThreads(__tstate);
27121 if (PyErr_Occurred()) SWIG_fail;
27122 }
27123 {
27124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27125 }
27126 return resultobj;
27127 fail:
27128 return NULL;
27129}
27130
27131
27132static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
27133 PyObject *resultobj;
27134 wxClipboard *arg1 = (wxClipboard *) 0 ;
27135 PyObject * obj0 = 0 ;
27136 char *kwnames[] = {
27137 (char *) "self", NULL
27138 };
27139
27140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
27141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27143 {
27144 PyThreadState* __tstate = wxPyBeginAllowThreads();
27145 (arg1)->Clear();
27146
27147 wxPyEndAllowThreads(__tstate);
27148 if (PyErr_Occurred()) SWIG_fail;
27149 }
27150 Py_INCREF(Py_None); resultobj = Py_None;
27151 return resultobj;
27152 fail:
27153 return NULL;
27154}
27155
27156
27157static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
27158 PyObject *resultobj;
27159 wxClipboard *arg1 = (wxClipboard *) 0 ;
27160 bool result;
27161 PyObject * obj0 = 0 ;
27162 char *kwnames[] = {
27163 (char *) "self", NULL
27164 };
27165
27166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
27167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27169 {
27170 PyThreadState* __tstate = wxPyBeginAllowThreads();
27171 result = (bool)(arg1)->Flush();
27172
27173 wxPyEndAllowThreads(__tstate);
27174 if (PyErr_Occurred()) SWIG_fail;
27175 }
27176 {
27177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27178 }
27179 return resultobj;
27180 fail:
27181 return NULL;
27182}
27183
27184
27185static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
27186 PyObject *resultobj;
27187 wxClipboard *arg1 = (wxClipboard *) 0 ;
27188 bool arg2 = (bool) True ;
27189 PyObject * obj0 = 0 ;
27190 PyObject * obj1 = 0 ;
27191 char *kwnames[] = {
27192 (char *) "self",(char *) "primary", NULL
27193 };
27194
27195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
27196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27198 if (obj1) {
27199 arg2 = (bool) SWIG_AsBool(obj1);
27200 if (PyErr_Occurred()) SWIG_fail;
27201 }
27202 {
27203 PyThreadState* __tstate = wxPyBeginAllowThreads();
27204 (arg1)->UsePrimarySelection(arg2);
27205
27206 wxPyEndAllowThreads(__tstate);
27207 if (PyErr_Occurred()) SWIG_fail;
27208 }
27209 Py_INCREF(Py_None); resultobj = Py_None;
27210 return resultobj;
27211 fail:
27212 return NULL;
27213}
27214
27215
27216static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
27217 PyObject *obj;
27218 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27219 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
27220 Py_INCREF(obj);
27221 return Py_BuildValue((char *)"");
27222}
27223static int _wrap_TheClipboard_set(PyObject *_val) {
27224 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
27225 return 1;
27226}
27227
27228
27229static PyObject *_wrap_TheClipboard_get() {
27230 PyObject *pyobj;
27231
27232 pyobj = SWIG_NewPointerObj((void *)(wxTheClipboard), SWIGTYPE_p_wxClipboard, 0);
27233 return pyobj;
27234}
27235
27236
27237static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
27238 PyObject *resultobj;
27239 wxClipboard *arg1 = (wxClipboard *) NULL ;
27240 wxClipboardLocker *result;
27241 PyObject * obj0 = 0 ;
27242 char *kwnames[] = {
27243 (char *) "clipboard", NULL
27244 };
27245
27246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
27247 if (obj0) {
27248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27250 }
27251 {
27252 PyThreadState* __tstate = wxPyBeginAllowThreads();
27253 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
27254
27255 wxPyEndAllowThreads(__tstate);
27256 if (PyErr_Occurred()) SWIG_fail;
27257 }
27258 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
27259 return resultobj;
27260 fail:
27261 return NULL;
27262}
27263
27264
27265static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
27266 PyObject *resultobj;
27267 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27268 PyObject * obj0 = 0 ;
27269 char *kwnames[] = {
27270 (char *) "self", NULL
27271 };
27272
27273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
27274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27276 {
27277 PyThreadState* __tstate = wxPyBeginAllowThreads();
27278 delete arg1;
27279
27280 wxPyEndAllowThreads(__tstate);
27281 if (PyErr_Occurred()) SWIG_fail;
27282 }
27283 Py_INCREF(Py_None); resultobj = Py_None;
27284 return resultobj;
27285 fail:
27286 return NULL;
27287}
27288
27289
27290static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
27291 PyObject *resultobj;
27292 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27293 bool result;
27294 PyObject * obj0 = 0 ;
27295 char *kwnames[] = {
27296 (char *) "self", NULL
27297 };
27298
27299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
27300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27302 {
27303 PyThreadState* __tstate = wxPyBeginAllowThreads();
27304 result = (bool)wxClipboardLocker___nonzero__(arg1);
27305
27306 wxPyEndAllowThreads(__tstate);
27307 if (PyErr_Occurred()) SWIG_fail;
27308 }
27309 {
27310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27311 }
27312 return resultobj;
27313 fail:
27314 return NULL;
27315}
27316
27317
27318static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
27319 PyObject *obj;
27320 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27321 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
27322 Py_INCREF(obj);
27323 return Py_BuildValue((char *)"");
27324}
27325static PyObject *_wrap_new_VideoMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27326 PyObject *resultobj;
27327 int arg1 = (int) 0 ;
27328 int arg2 = (int) 0 ;
27329 int arg3 = (int) 0 ;
27330 int arg4 = (int) 0 ;
27331 wxVideoMode *result;
27332 PyObject * obj0 = 0 ;
27333 PyObject * obj1 = 0 ;
27334 PyObject * obj2 = 0 ;
27335 PyObject * obj3 = 0 ;
27336 char *kwnames[] = {
27337 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27338 };
27339
27340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27341 if (obj0) {
27342 arg1 = (int) SWIG_AsInt(obj0);
27343 if (PyErr_Occurred()) SWIG_fail;
27344 }
27345 if (obj1) {
27346 arg2 = (int) SWIG_AsInt(obj1);
27347 if (PyErr_Occurred()) SWIG_fail;
27348 }
27349 if (obj2) {
27350 arg3 = (int) SWIG_AsInt(obj2);
27351 if (PyErr_Occurred()) SWIG_fail;
27352 }
27353 if (obj3) {
27354 arg4 = (int) SWIG_AsInt(obj3);
27355 if (PyErr_Occurred()) SWIG_fail;
27356 }
27357 {
27358 PyThreadState* __tstate = wxPyBeginAllowThreads();
27359 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
27360
27361 wxPyEndAllowThreads(__tstate);
27362 if (PyErr_Occurred()) SWIG_fail;
27363 }
27364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
27365 return resultobj;
27366 fail:
27367 return NULL;
27368}
27369
27370
27371static PyObject *_wrap_delete_VideoMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27372 PyObject *resultobj;
27373 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27374 PyObject * obj0 = 0 ;
27375 char *kwnames[] = {
27376 (char *) "self", NULL
27377 };
27378
27379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
27380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27382 {
27383 PyThreadState* __tstate = wxPyBeginAllowThreads();
27384 delete arg1;
27385
27386 wxPyEndAllowThreads(__tstate);
27387 if (PyErr_Occurred()) SWIG_fail;
27388 }
27389 Py_INCREF(Py_None); resultobj = Py_None;
27390 return resultobj;
27391 fail:
27392 return NULL;
27393}
27394
27395
27396static PyObject *_wrap_VideoMode_Matches(PyObject *self, PyObject *args, PyObject *kwargs) {
27397 PyObject *resultobj;
27398 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27399 wxVideoMode *arg2 = 0 ;
27400 bool result;
27401 PyObject * obj0 = 0 ;
27402 PyObject * obj1 = 0 ;
27403 char *kwnames[] = {
27404 (char *) "self",(char *) "other", NULL
27405 };
27406
27407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
27408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27410 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27411 SWIG_POINTER_EXCEPTION | 0)) == -1)
27412 SWIG_fail;
27413 if (arg2 == NULL) {
27414 PyErr_SetString(PyExc_TypeError,"null reference");
27415 SWIG_fail;
27416 }
27417 {
27418 PyThreadState* __tstate = wxPyBeginAllowThreads();
27419 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
27420
27421 wxPyEndAllowThreads(__tstate);
27422 if (PyErr_Occurred()) SWIG_fail;
27423 }
27424 {
27425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27426 }
27427 return resultobj;
27428 fail:
27429 return NULL;
27430}
27431
27432
27433static PyObject *_wrap_VideoMode_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
27434 PyObject *resultobj;
27435 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27436 int result;
27437 PyObject * obj0 = 0 ;
27438 char *kwnames[] = {
27439 (char *) "self", NULL
27440 };
27441
27442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
27443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27445 {
27446 PyThreadState* __tstate = wxPyBeginAllowThreads();
27447 result = (int)((wxVideoMode const *)arg1)->GetWidth();
27448
27449 wxPyEndAllowThreads(__tstate);
27450 if (PyErr_Occurred()) SWIG_fail;
27451 }
27452 resultobj = SWIG_FromInt((int)result);
27453 return resultobj;
27454 fail:
27455 return NULL;
27456}
27457
27458
27459static PyObject *_wrap_VideoMode_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
27460 PyObject *resultobj;
27461 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27462 int result;
27463 PyObject * obj0 = 0 ;
27464 char *kwnames[] = {
27465 (char *) "self", NULL
27466 };
27467
27468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
27469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27471 {
27472 PyThreadState* __tstate = wxPyBeginAllowThreads();
27473 result = (int)((wxVideoMode const *)arg1)->GetHeight();
27474
27475 wxPyEndAllowThreads(__tstate);
27476 if (PyErr_Occurred()) SWIG_fail;
27477 }
27478 resultobj = SWIG_FromInt((int)result);
27479 return resultobj;
27480 fail:
27481 return NULL;
27482}
27483
27484
27485static PyObject *_wrap_VideoMode_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
27486 PyObject *resultobj;
27487 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27488 int result;
27489 PyObject * obj0 = 0 ;
27490 char *kwnames[] = {
27491 (char *) "self", NULL
27492 };
27493
27494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
27495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27497 {
27498 PyThreadState* __tstate = wxPyBeginAllowThreads();
27499 result = (int)((wxVideoMode const *)arg1)->GetDepth();
27500
27501 wxPyEndAllowThreads(__tstate);
27502 if (PyErr_Occurred()) SWIG_fail;
27503 }
27504 resultobj = SWIG_FromInt((int)result);
27505 return resultobj;
27506 fail:
27507 return NULL;
27508}
27509
27510
27511static PyObject *_wrap_VideoMode_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
27512 PyObject *resultobj;
27513 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27514 bool result;
27515 PyObject * obj0 = 0 ;
27516 char *kwnames[] = {
27517 (char *) "self", NULL
27518 };
27519
27520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
27521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27523 {
27524 PyThreadState* __tstate = wxPyBeginAllowThreads();
27525 result = (bool)((wxVideoMode const *)arg1)->IsOk();
27526
27527 wxPyEndAllowThreads(__tstate);
27528 if (PyErr_Occurred()) SWIG_fail;
27529 }
27530 {
27531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27532 }
27533 return resultobj;
27534 fail:
27535 return NULL;
27536}
27537
27538
27539static PyObject *_wrap_VideoMode___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
27540 PyObject *resultobj;
27541 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27542 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27543 bool result;
27544 PyObject * obj0 = 0 ;
27545 PyObject * obj1 = 0 ;
27546 char *kwnames[] = {
27547 (char *) "self",(char *) "other", NULL
27548 };
27549
27550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
27551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27553 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27555 {
27556 PyThreadState* __tstate = wxPyBeginAllowThreads();
27557 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
27558
27559 wxPyEndAllowThreads(__tstate);
27560 if (PyErr_Occurred()) SWIG_fail;
27561 }
27562 {
27563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27564 }
27565 return resultobj;
27566 fail:
27567 return NULL;
27568}
27569
27570
27571static PyObject *_wrap_VideoMode___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
27572 PyObject *resultobj;
27573 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27574 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27575 bool result;
27576 PyObject * obj0 = 0 ;
27577 PyObject * obj1 = 0 ;
27578 char *kwnames[] = {
27579 (char *) "self",(char *) "other", NULL
27580 };
27581
27582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
27583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27585 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27587 {
27588 PyThreadState* __tstate = wxPyBeginAllowThreads();
27589 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
27590
27591 wxPyEndAllowThreads(__tstate);
27592 if (PyErr_Occurred()) SWIG_fail;
27593 }
27594 {
27595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27596 }
27597 return resultobj;
27598 fail:
27599 return NULL;
27600}
27601
27602
27603static PyObject *_wrap_VideoMode_w_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27604 PyObject *resultobj;
27605 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27606 int arg2 ;
27607 PyObject * obj0 = 0 ;
27608 PyObject * obj1 = 0 ;
27609 char *kwnames[] = {
27610 (char *) "self",(char *) "w", NULL
27611 };
27612
27613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
27614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27616 arg2 = (int) SWIG_AsInt(obj1);
27617 if (PyErr_Occurred()) SWIG_fail;
27618 if (arg1) (arg1)->w = arg2;
27619
27620 Py_INCREF(Py_None); resultobj = Py_None;
27621 return resultobj;
27622 fail:
27623 return NULL;
27624}
27625
27626
27627static PyObject *_wrap_VideoMode_w_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27628 PyObject *resultobj;
27629 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27630 int result;
27631 PyObject * obj0 = 0 ;
27632 char *kwnames[] = {
27633 (char *) "self", NULL
27634 };
27635
27636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
27637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27639 result = (int) ((arg1)->w);
27640
27641 resultobj = SWIG_FromInt((int)result);
27642 return resultobj;
27643 fail:
27644 return NULL;
27645}
27646
27647
27648static PyObject *_wrap_VideoMode_h_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27649 PyObject *resultobj;
27650 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27651 int arg2 ;
27652 PyObject * obj0 = 0 ;
27653 PyObject * obj1 = 0 ;
27654 char *kwnames[] = {
27655 (char *) "self",(char *) "h", NULL
27656 };
27657
27658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
27659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27661 arg2 = (int) SWIG_AsInt(obj1);
27662 if (PyErr_Occurred()) SWIG_fail;
27663 if (arg1) (arg1)->h = arg2;
27664
27665 Py_INCREF(Py_None); resultobj = Py_None;
27666 return resultobj;
27667 fail:
27668 return NULL;
27669}
27670
27671
27672static PyObject *_wrap_VideoMode_h_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27673 PyObject *resultobj;
27674 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27675 int result;
27676 PyObject * obj0 = 0 ;
27677 char *kwnames[] = {
27678 (char *) "self", NULL
27679 };
27680
27681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
27682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27684 result = (int) ((arg1)->h);
27685
27686 resultobj = SWIG_FromInt((int)result);
27687 return resultobj;
27688 fail:
27689 return NULL;
27690}
27691
27692
27693static PyObject *_wrap_VideoMode_bpp_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27694 PyObject *resultobj;
27695 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27696 int arg2 ;
27697 PyObject * obj0 = 0 ;
27698 PyObject * obj1 = 0 ;
27699 char *kwnames[] = {
27700 (char *) "self",(char *) "bpp", NULL
27701 };
27702
27703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
27704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27706 arg2 = (int) SWIG_AsInt(obj1);
27707 if (PyErr_Occurred()) SWIG_fail;
27708 if (arg1) (arg1)->bpp = arg2;
27709
27710 Py_INCREF(Py_None); resultobj = Py_None;
27711 return resultobj;
27712 fail:
27713 return NULL;
27714}
27715
27716
27717static PyObject *_wrap_VideoMode_bpp_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27718 PyObject *resultobj;
27719 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27720 int result;
27721 PyObject * obj0 = 0 ;
27722 char *kwnames[] = {
27723 (char *) "self", NULL
27724 };
27725
27726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
27727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27729 result = (int) ((arg1)->bpp);
27730
27731 resultobj = SWIG_FromInt((int)result);
27732 return resultobj;
27733 fail:
27734 return NULL;
27735}
27736
27737
27738static PyObject *_wrap_VideoMode_refresh_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27739 PyObject *resultobj;
27740 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27741 int arg2 ;
27742 PyObject * obj0 = 0 ;
27743 PyObject * obj1 = 0 ;
27744 char *kwnames[] = {
27745 (char *) "self",(char *) "refresh", NULL
27746 };
27747
27748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
27749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27751 arg2 = (int) SWIG_AsInt(obj1);
27752 if (PyErr_Occurred()) SWIG_fail;
27753 if (arg1) (arg1)->refresh = arg2;
27754
27755 Py_INCREF(Py_None); resultobj = Py_None;
27756 return resultobj;
27757 fail:
27758 return NULL;
27759}
27760
27761
27762static PyObject *_wrap_VideoMode_refresh_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27763 PyObject *resultobj;
27764 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27765 int result;
27766 PyObject * obj0 = 0 ;
27767 char *kwnames[] = {
27768 (char *) "self", NULL
27769 };
27770
27771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
27772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27774 result = (int) ((arg1)->refresh);
27775
27776 resultobj = SWIG_FromInt((int)result);
27777 return resultobj;
27778 fail:
27779 return NULL;
27780}
27781
27782
27783static PyObject * VideoMode_swigregister(PyObject *self, PyObject *args) {
27784 PyObject *obj;
27785 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27786 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
27787 Py_INCREF(obj);
27788 return Py_BuildValue((char *)"");
27789}
27790static int _wrap_DefaultVideoMode_set(PyObject *_val) {
27791 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
27792 return 1;
27793}
27794
27795
27796static PyObject *_wrap_DefaultVideoMode_get() {
27797 PyObject *pyobj;
27798
27799 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
27800 return pyobj;
27801}
27802
27803
27804static PyObject *_wrap_new_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
27805 PyObject *resultobj;
27806 size_t arg1 = (size_t) 0 ;
27807 wxDisplay *result;
27808 PyObject * obj0 = 0 ;
27809 char *kwnames[] = {
27810 (char *) "index", NULL
27811 };
27812
27813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
27814 if (obj0) {
27815 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
27816 if (PyErr_Occurred()) SWIG_fail;
27817 }
27818 {
27819 PyThreadState* __tstate = wxPyBeginAllowThreads();
27820 result = (wxDisplay *)new wxDisplay(arg1);
27821
27822 wxPyEndAllowThreads(__tstate);
27823 if (PyErr_Occurred()) SWIG_fail;
27824 }
27825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
27826 return resultobj;
27827 fail:
27828 return NULL;
27829}
27830
27831
27832static PyObject *_wrap_delete_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
27833 PyObject *resultobj;
27834 wxDisplay *arg1 = (wxDisplay *) 0 ;
27835 PyObject * obj0 = 0 ;
27836 char *kwnames[] = {
27837 (char *) "self", NULL
27838 };
27839
27840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
27841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27843 {
27844 PyThreadState* __tstate = wxPyBeginAllowThreads();
27845 delete arg1;
27846
27847 wxPyEndAllowThreads(__tstate);
27848 if (PyErr_Occurred()) SWIG_fail;
27849 }
27850 Py_INCREF(Py_None); resultobj = Py_None;
27851 return resultobj;
27852 fail:
27853 return NULL;
27854}
27855
27856
27857static PyObject *_wrap_Display_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
27858 PyObject *resultobj;
27859 size_t result;
27860 char *kwnames[] = {
27861 NULL
27862 };
27863
27864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
27865 {
27866 PyThreadState* __tstate = wxPyBeginAllowThreads();
27867 result = (size_t)wxDisplay::GetCount();
27868
27869 wxPyEndAllowThreads(__tstate);
27870 if (PyErr_Occurred()) SWIG_fail;
27871 }
27872 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
27873 return resultobj;
27874 fail:
27875 return NULL;
27876}
27877
27878
27879static PyObject *_wrap_Display_GetFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
27880 PyObject *resultobj;
27881 wxPoint *arg1 = 0 ;
27882 int result;
27883 wxPoint temp1 ;
27884 PyObject * obj0 = 0 ;
27885 char *kwnames[] = {
27886 (char *) "pt", NULL
27887 };
27888
27889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
27890 {
27891 arg1 = &temp1;
27892 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
27893 }
27894 {
27895 PyThreadState* __tstate = wxPyBeginAllowThreads();
27896 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
27897
27898 wxPyEndAllowThreads(__tstate);
27899 if (PyErr_Occurred()) SWIG_fail;
27900 }
27901 resultobj = SWIG_FromInt((int)result);
27902 return resultobj;
27903 fail:
27904 return NULL;
27905}
27906
27907
27908static PyObject *_wrap_Display_GetFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27909 PyObject *resultobj;
27910 wxWindow *arg1 = (wxWindow *) 0 ;
27911 int result;
27912 PyObject * obj0 = 0 ;
27913 char *kwnames[] = {
27914 (char *) "window", NULL
27915 };
27916
27917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
27918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27920 {
27921 PyThreadState* __tstate = wxPyBeginAllowThreads();
27922 result = (int)wxDisplay::GetFromWindow(arg1);
27923
27924 wxPyEndAllowThreads(__tstate);
27925 if (PyErr_Occurred()) SWIG_fail;
27926 }
27927 resultobj = SWIG_FromInt((int)result);
27928 return resultobj;
27929 fail:
27930 return NULL;
27931}
27932
27933
27934static PyObject *_wrap_Display_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
27935 PyObject *resultobj;
27936 wxDisplay *arg1 = (wxDisplay *) 0 ;
27937 bool result;
27938 PyObject * obj0 = 0 ;
27939 char *kwnames[] = {
27940 (char *) "self", NULL
27941 };
27942
27943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
27944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27946 {
27947 PyThreadState* __tstate = wxPyBeginAllowThreads();
27948 result = (bool)((wxDisplay const *)arg1)->IsOk();
27949
27950 wxPyEndAllowThreads(__tstate);
27951 if (PyErr_Occurred()) SWIG_fail;
27952 }
27953 {
27954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27955 }
27956 return resultobj;
27957 fail:
27958 return NULL;
27959}
27960
27961
27962static PyObject *_wrap_Display_GetGeometry(PyObject *self, PyObject *args, PyObject *kwargs) {
27963 PyObject *resultobj;
27964 wxDisplay *arg1 = (wxDisplay *) 0 ;
27965 wxRect result;
27966 PyObject * obj0 = 0 ;
27967 char *kwnames[] = {
27968 (char *) "self", NULL
27969 };
27970
27971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
27972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27974 {
27975 PyThreadState* __tstate = wxPyBeginAllowThreads();
27976 result = ((wxDisplay const *)arg1)->GetGeometry();
27977
27978 wxPyEndAllowThreads(__tstate);
27979 if (PyErr_Occurred()) SWIG_fail;
27980 }
27981 {
27982 wxRect * resultptr;
27983 resultptr = new wxRect((wxRect &) result);
27984 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
27985 }
27986 return resultobj;
27987 fail:
27988 return NULL;
27989}
27990
27991
27992static PyObject *_wrap_Display_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
27993 PyObject *resultobj;
27994 wxDisplay *arg1 = (wxDisplay *) 0 ;
27995 wxString result;
27996 PyObject * obj0 = 0 ;
27997 char *kwnames[] = {
27998 (char *) "self", NULL
27999 };
28000
28001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
28002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28004 {
28005 PyThreadState* __tstate = wxPyBeginAllowThreads();
28006 result = ((wxDisplay const *)arg1)->GetName();
28007
28008 wxPyEndAllowThreads(__tstate);
28009 if (PyErr_Occurred()) SWIG_fail;
28010 }
28011 {
28012#if wxUSE_UNICODE
28013 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28014#else
28015 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28016#endif
28017 }
28018 return resultobj;
28019 fail:
28020 return NULL;
28021}
28022
28023
28024static PyObject *_wrap_Display_IsPrimary(PyObject *self, PyObject *args, PyObject *kwargs) {
28025 PyObject *resultobj;
28026 wxDisplay *arg1 = (wxDisplay *) 0 ;
28027 bool result;
28028 PyObject * obj0 = 0 ;
28029 char *kwnames[] = {
28030 (char *) "self", NULL
28031 };
28032
28033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
28034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28036 {
28037 PyThreadState* __tstate = wxPyBeginAllowThreads();
28038 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
28039
28040 wxPyEndAllowThreads(__tstate);
28041 if (PyErr_Occurred()) SWIG_fail;
28042 }
28043 {
28044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28045 }
28046 return resultobj;
28047 fail:
28048 return NULL;
28049}
28050
28051
28052static PyObject *_wrap_Display_GetModes(PyObject *self, PyObject *args, PyObject *kwargs) {
28053 PyObject *resultobj;
28054 wxDisplay *arg1 = (wxDisplay *) 0 ;
28055 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
28056 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
28057 PyObject *result;
28058 PyObject * obj0 = 0 ;
28059 PyObject * obj1 = 0 ;
28060 char *kwnames[] = {
28061 (char *) "self",(char *) "mode", NULL
28062 };
28063
28064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
28065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28067 if (obj1) {
28068 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28069 SWIG_POINTER_EXCEPTION | 0)) == -1)
28070 SWIG_fail;
28071 if (arg2 == NULL) {
28072 PyErr_SetString(PyExc_TypeError,"null reference");
28073 SWIG_fail;
28074 }
28075 }
28076 {
28077 PyThreadState* __tstate = wxPyBeginAllowThreads();
28078 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
28079
28080 wxPyEndAllowThreads(__tstate);
28081 if (PyErr_Occurred()) SWIG_fail;
28082 }
28083 resultobj = result;
28084 return resultobj;
28085 fail:
28086 return NULL;
28087}
28088
28089
28090static PyObject *_wrap_Display_GetCurrentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
28091 PyObject *resultobj;
28092 wxDisplay *arg1 = (wxDisplay *) 0 ;
28093 wxVideoMode result;
28094 PyObject * obj0 = 0 ;
28095 char *kwnames[] = {
28096 (char *) "self", NULL
28097 };
28098
28099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
28100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28102 {
28103 PyThreadState* __tstate = wxPyBeginAllowThreads();
28104 result = ((wxDisplay const *)arg1)->GetCurrentMode();
28105
28106 wxPyEndAllowThreads(__tstate);
28107 if (PyErr_Occurred()) SWIG_fail;
28108 }
28109 {
28110 wxVideoMode * resultptr;
28111 resultptr = new wxVideoMode((wxVideoMode &) result);
28112 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
28113 }
28114 return resultobj;
28115 fail:
28116 return NULL;
28117}
28118
28119
28120static PyObject *_wrap_Display_ChangeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
28121 PyObject *resultobj;
28122 wxDisplay *arg1 = (wxDisplay *) 0 ;
28123 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
28124 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
28125 bool result;
28126 PyObject * obj0 = 0 ;
28127 PyObject * obj1 = 0 ;
28128 char *kwnames[] = {
28129 (char *) "self",(char *) "mode", NULL
28130 };
28131
28132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
28133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28135 if (obj1) {
28136 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28137 SWIG_POINTER_EXCEPTION | 0)) == -1)
28138 SWIG_fail;
28139 if (arg2 == NULL) {
28140 PyErr_SetString(PyExc_TypeError,"null reference");
28141 SWIG_fail;
28142 }
28143 }
28144 {
28145 PyThreadState* __tstate = wxPyBeginAllowThreads();
28146 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
28147
28148 wxPyEndAllowThreads(__tstate);
28149 if (PyErr_Occurred()) SWIG_fail;
28150 }
28151 {
28152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28153 }
28154 return resultobj;
28155 fail:
28156 return NULL;
28157}
28158
28159
28160static PyObject *_wrap_Display_ResetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
28161 PyObject *resultobj;
28162 wxDisplay *arg1 = (wxDisplay *) 0 ;
28163 PyObject * obj0 = 0 ;
28164 char *kwnames[] = {
28165 (char *) "self", NULL
28166 };
28167
28168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
28169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28171 {
28172 PyThreadState* __tstate = wxPyBeginAllowThreads();
28173 (arg1)->ResetMode();
28174
28175 wxPyEndAllowThreads(__tstate);
28176 if (PyErr_Occurred()) SWIG_fail;
28177 }
28178 Py_INCREF(Py_None); resultobj = Py_None;
28179 return resultobj;
28180 fail:
28181 return NULL;
28182}
28183
28184
28185static PyObject * Display_swigregister(PyObject *self, PyObject *args) {
28186 PyObject *obj;
28187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28188 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
28189 Py_INCREF(obj);
28190 return Py_BuildValue((char *)"");
28191}
28192static PyMethodDef SwigMethods[] = {
28193 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
28194 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
28195 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
28196 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
28197 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
28198 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
28199 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
28200 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
28201 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
28202 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
28203 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
28204 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
28205 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
28206 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
28207 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
28208 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
28209 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
28210 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
28211 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
28212 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
28213 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
28214 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
28215 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
28216 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
28217 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
28218 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
28219 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
28220 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
28221 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
28222 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
28223 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
28224 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
28225 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
28226 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
28227 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
28228 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
28229 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
28230 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
28231 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
28232 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
28233 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
28234 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
28235 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
28236 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
28237 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
28238 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
28239 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
28240 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
28241 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
28242 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
28243 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
28244 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
28245 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
28246 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
28247 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
28248 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
28249 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
28250 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
28251 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
28252 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
28253 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
28254 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
28255 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
28256 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
28257 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
28258 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
28259 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
28260 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS },
28261 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
28262 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
28263 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
28264 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
28265 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
28266 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
28267 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
28268 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
28269 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
28270 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
28271 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
28272 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
28273 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
28274 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
28275 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
28276 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
28277 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
28278 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
28279 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
28280 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
28281 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
28282 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
28283 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
28284 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
28285 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
28286 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
28287 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
28288 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
28289 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
28290 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
28291 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
28292 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
28293 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
28294 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
28295 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
28296 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
28297 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
28298 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
28299 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
28300 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
28301 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
28302 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
28303 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
28304 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
28305 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
28306 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
28307 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
28308 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
28309 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
28310 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
28311 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
28312 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
28313 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
28314 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
28315 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
28316 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
28317 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
28318 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
28319 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
28320 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
28321 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
28322 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28323 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28324 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28325 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
28326 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
28327 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
28328 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
28329 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
28330 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
28331 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
28332 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
28333 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
28334 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
28335 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28336 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
28337 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
28338 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
28339 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
28340 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
28341 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28342 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
1a6bba1e 28343 { (char *)"Timer_GetOwner", (PyCFunction) _wrap_Timer_GetOwner, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28344 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
28345 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
28346 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
28347 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
28348 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
28349 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
28350 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
28351 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
28352 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
28353 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
28354 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
28355 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
28356 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
28357 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
28358 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
28359 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
28360 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
28361 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
28362 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
28363 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
28364 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
28365 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
28366 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
28367 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
28368 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
28369 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
28370 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
28371 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
28372 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
28373 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
28374 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
28375 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
28376 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
28377 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
28378 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
28379 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
28380 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
28381 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
28382 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
28383 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
28384 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
28385 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
28386 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
28387 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
28388 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
28389 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
28390 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
28391 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
28392 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
28393 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
28394 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
28395 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
28396 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
28397 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
28398 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
28399 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
28400 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
28401 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
28402 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
28403 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
28404 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
28405 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
28406 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
28407 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
28408 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
28409 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
28410 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
28411 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
28412 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
28413 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
28414 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
28415 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
28416 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
28417 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
28418 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
28419 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
28420 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
28421 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
28422 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
28423 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28424 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
28425 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
28426 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
28427 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
28428 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
28429 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28430 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
28431 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
28432 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
28433 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
28434 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
28435 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
28436 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
28437 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
28438 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
28439 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
28440 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
28441 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
28442 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
28443 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
28444 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
28445 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
28446 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
28447 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
28448 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
28449 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
28450 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
28451 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
28452 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
28453 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
28454 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
28455 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
28456 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
28457 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
28458 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
28459 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
28460 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
28461 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
28462 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
28463 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
28464 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
28465 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
28466 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
28467 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
28468 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
28469 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
28470 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
28471 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
28472 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
28473 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
28474 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
28475 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
28476 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
28477 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
28478 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
28479 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
28480 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
28481 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
28482 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
28483 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
28484 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
28485 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
28486 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
28487 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
28488 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
28489 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
28490 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
28491 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
28492 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
28493 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
28494 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
28495 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
28496 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
28497 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
28498 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
28499 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
28500 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
28501 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
28502 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
28503 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
28504 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
28505 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
28506 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
28507 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
28508 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
28509 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
28510 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
28511 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
28512 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
28513 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
28514 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
28515 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
28516 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
28517 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
28518 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
28519 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
28520 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
28521 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
28522 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
28523 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
b1f29bf7
RD
28524 { (char *)"new_Sound", (PyCFunction) _wrap_new_Sound, METH_VARARGS | METH_KEYWORDS },
28525 { (char *)"new_SoundFromData", (PyCFunction) _wrap_new_SoundFromData, METH_VARARGS | METH_KEYWORDS },
d55e5bfc 28526 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS },
b1f29bf7
RD
28527 { (char *)"Sound_Create", (PyCFunction) _wrap_Sound_Create, METH_VARARGS | METH_KEYWORDS },
28528 { (char *)"Sound_CreateFromData", (PyCFunction) _wrap_Sound_CreateFromData, METH_VARARGS | METH_KEYWORDS },
d55e5bfc 28529 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS },
b1f29bf7
RD
28530 { (char *)"Sound_Play", (PyCFunction) _wrap_Sound_Play, METH_VARARGS | METH_KEYWORDS },
28531 { (char *)"Sound_PlaySound", (PyCFunction) _wrap_Sound_PlaySound, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28532 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS },
28533 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS },
28534 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
28535 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
28536 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
28537 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
28538 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
28539 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
28540 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
28541 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
28542 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
28543 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
28544 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
28545 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
28546 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
28547 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
28548 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
28549 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
28550 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
28551 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
28552 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
28553 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
28554 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
28555 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
28556 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
28557 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
28558 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
28559 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
28560 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
28561 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
28562 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
28563 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
28564 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
28565 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
28566 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
28567 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
28568 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
28569 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
28570 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
28571 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
28572 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
28573 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
28574 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
28575 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
28576 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
28577 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
28578 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
28579 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
28580 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
28581 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28582 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
28583 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
28584 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
28585 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
28586 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
28587 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
28588 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
28589 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
28590 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
28591 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
28592 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
28593 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
28594 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
28595 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
28596 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
28597 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
28598 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
28599 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
28600 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
28601 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
28602 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
28603 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
28604 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
28605 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
28606 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
28607 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
28608 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
28609 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
28610 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
28611 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
28612 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
28613 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
28614 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
28615 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
28616 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
28617 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
28618 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
28619 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
28620 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28621 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
28622 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
28623 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
28624 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28625 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
28626 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
28627 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
28628 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
28629 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
28630 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
28631 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
28632 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
28633 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
28634 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
28635 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
28636 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
28637 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
28638 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
28639 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
28640 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
28641 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
28642 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28643 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
28644 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
28645 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
28646 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
28647 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
28648 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
28649 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
28650 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
28651 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
28652 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
28653 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
28654 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
28655 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
28656 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
28657 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
28658 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
28659 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
28660 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
28661 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
28662 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
28663 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
28664 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
28665 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
28666 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
28667 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
28668 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
28669 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
28670 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
28671 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
28672 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
28673 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
28674 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
28675 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
28676 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
28677 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
28678 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
28679 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
28680 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
28681 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
28682 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
28683 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
28684 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
28685 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
28686 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
28687 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
28688 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
28689 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
28690 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
28691 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
28692 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
28693 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
28694 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
28695 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
28696 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
28697 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
28698 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
28699 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
28700 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
28701 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
28702 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
28703 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
28704 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
28705 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
28706 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
28707 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
28708 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
28709 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
28710 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
28711 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
28712 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
28713 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
28714 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
28715 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
28716 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
28717 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
28718 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
28719 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
28720 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
28721 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
28722 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
28723 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
28724 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
28725 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
28726 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
28727 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
28728 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
28729 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
28730 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
28731 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
28732 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
28733 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
28734 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
28735 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
28736 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
28737 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
28738 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
28739 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
28740 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
28741 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
28742 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
28743 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
28744 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
28745 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
28746 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
28747 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
28748 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
28749 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
28750 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
28751 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
28752 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
28753 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
28754 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
28755 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
28756 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
28757 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
28758 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
28759 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
28760 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
28761 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
28762 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
28763 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
28764 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
28765 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
28766 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
28767 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
28768 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
28769 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
28770 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
28771 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
28772 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
28773 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
28774 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
28775 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
28776 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
28777 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
28778 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
28779 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
28780 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
28781 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
28782 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
28783 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
28784 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
28785 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
28786 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
28787 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
28788 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
28789 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
28790 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
28791 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
28792 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
28793 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
28794 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
28795 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
28796 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
28797 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
28798 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
28799 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
28800 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
28801 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
28802 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
28803 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
28804 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
28805 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
28806 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
28807 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
28808 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
28809 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
28810 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
28811 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
28812 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
28813 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
28814 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
28815 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
28816 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
28817 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
28818 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
28819 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
28820 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
28821 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
28822 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
28823 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
28824 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
28825 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
28826 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
28827 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
28828 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
28829 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
28830 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
28831 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
28832 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
28833 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
28834 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
28835 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
28836 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
28837 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
28838 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
28839 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
28840 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
28841 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
28842 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
28843 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
28844 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
28845 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
28846 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
28847 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
28848 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
28849 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
28850 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
28851 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
28852 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
28853 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
28854 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
28855 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
28856 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
28857 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
28858 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
a07a67e6
RD
28859 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction) _wrap_DataObjectSimple_GetDataSize, METH_VARARGS | METH_KEYWORDS },
28860 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction) _wrap_DataObjectSimple_GetDataHere, METH_VARARGS | METH_KEYWORDS },
28861 { (char *)"DataObjectSimple_SetData", (PyCFunction) _wrap_DataObjectSimple_SetData, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28862 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
28863 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
28864 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28865 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
28866 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
28867 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
28868 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
28869 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
28870 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
28871 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
28872 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
28873 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
28874 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
28875 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28876 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
28877 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
28878 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
28879 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
28880 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
28881 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
28882 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28883 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
28884 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
28885 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
28886 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS },
28887 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
28888 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
28889 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
28890 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
28891 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
28892 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
28893 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
28894 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
28895 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
28896 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
28897 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
28898 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS },
28899 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS },
28900 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
28901 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
28902 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
28903 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28904 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
28905 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
28906 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
28907 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
28908 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
28909 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
28910 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
28911 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS },
28912 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28913 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
28914 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
28915 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
28916 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
28917 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
28918 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
28919 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
28920 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
28921 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
28922 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
28923 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28924 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
28925 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
28926 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
28927 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
28928 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
28929 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
28930 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
28931 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28932 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
28933 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
28934 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
28935 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
28936 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
28937 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
28938 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
28939 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
28940 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
28941 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
28942 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
28943 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
28944 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
28945 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
28946 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
28947 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
28948 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
28949 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
28950 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
28951 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
28952 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
28953 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
28954 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
28955 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS },
28956 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS },
28957 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS },
28958 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS },
28959 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS },
28960 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS },
28961 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS },
28962 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS },
28963 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS },
28964 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS },
28965 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS },
28966 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS },
28967 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS },
28968 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS },
28969 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS },
28970 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS },
28971 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS },
28972 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS },
28973 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS },
28974 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS },
28975 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS },
28976 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS },
28977 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS },
28978 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS },
28979 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS },
28980 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS },
28981 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS },
28982 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS },
28983 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS },
28984 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS },
28985 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS },
28986 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS },
28987 { NULL, NULL }
28988};
28989
28990
28991/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28992
28993static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28994 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28995}
28996static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28997 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28998}
28999static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
29000 return (void *)((wxEvent *) ((wxCloseEvent *) x));
29001}
29002static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
29003 return (void *)((wxEvent *) ((wxMouseEvent *) x));
29004}
29005static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
29006 return (void *)((wxEvent *) ((wxEraseEvent *) x));
29007}
29008static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
29009 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
29010}
29011static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
29012 return (void *)((wxEvent *) ((wxTimerEvent *) x));
29013}
29014static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
29015 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
29016}
29017static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
29018 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
29019}
29020static void *_p_wxPyEventTo_p_wxEvent(void *x) {
29021 return (void *)((wxEvent *) ((wxPyEvent *) x));
29022}
29023static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
29024 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
29025}
29026static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
29027 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
29028}
29029static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
29030 return (void *)((wxEvent *) ((wxIdleEvent *) x));
29031}
29032static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
29033 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
29034}
29035static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
29036 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
29037}
29038static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
29039 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
29040}
29041static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
29042 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
29043}
29044static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
29045 return (void *)((wxEvent *) ((wxActivateEvent *) x));
29046}
29047static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
29048 return (void *)((wxEvent *) ((wxSizeEvent *) x));
29049}
29050static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
29051 return (void *)((wxEvent *) ((wxMoveEvent *) x));
29052}
29053static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
29054 return (void *)((wxEvent *) ((wxPaintEvent *) x));
29055}
29056static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
29057 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
29058}
29059static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
29060 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
29061}
29062static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
29063 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
29064}
29065static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
29066 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
29067}
29068static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
29069 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29070}
29071static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
29072 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
29073}
29074static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
29075 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
29076}
29077static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
29078 return (void *)((wxEvent *) ((wxFocusEvent *) x));
29079}
29080static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
29081 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
29082}
29083static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
29084 return (void *)((wxEvent *) ((wxProcessEvent *) x));
29085}
29086static void *_p_wxShowEventTo_p_wxEvent(void *x) {
29087 return (void *)((wxEvent *) ((wxShowEvent *) x));
29088}
29089static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
29090 return (void *)((wxEvent *) ((wxCommandEvent *) x));
29091}
29092static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
29093 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
29094}
29095static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
29096 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29097}
29098static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
29099 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
29100}
29101static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
29102 return (void *)((wxEvent *) ((wxKeyEvent *) x));
29103}
29104static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
29105 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
29106}
29107static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
29108 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
29109}
29110static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
29111 return (void *)((wxConfigBase *) ((wxConfig *) x));
29112}
29113static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
29114 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29115}
29116static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
29117 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
29118}
29119static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
29120 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
29121}
29122static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
29123 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29124}
29125static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
29126 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
29127}
29128static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
29129 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
29130}
29131static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
29132 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
29133}
29134static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
29135 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29136}
29137static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
29138 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29139}
29140static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
29141 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
29142}
29143static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
29144 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
29145}
29146static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
29147 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
29148}
29149static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
29150 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29151}
29152static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
29153 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
29154}
29155static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
29156 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29157}
29158static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29159 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
29160}
29161static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29162 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
29163}
29164static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29165 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29166}
29167static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29168 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29169}
29170static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
29171 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
29172}
29173static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
29174 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
29175}
29176static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
29177 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29178}
29179static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
29180 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
29181}
29182static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
29183 return (void *)((wxEvtHandler *) ((wxWindow *) x));
29184}
29185static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
29186 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29187}
29188static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
29189 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
29190}
29191static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
29192 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
29193}
29194static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
29195 return (void *)((wxEvtHandler *) ((wxValidator *) x));
29196}
29197static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
29198 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
29199}
29200static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
29201 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
29202}
29203static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
29204 return (void *)((wxEvtHandler *) ((wxMenu *) x));
29205}
29206static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
29207 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
29208}
29209static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
29210 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
29211}
29212static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
29213 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
29214}
29215static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
29216 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
29217}
29218static void *_p_wxSizerItemTo_p_wxObject(void *x) {
29219 return (void *)((wxObject *) ((wxSizerItem *) x));
29220}
29221static void *_p_wxScrollEventTo_p_wxObject(void *x) {
29222 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
29223}
29224static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
29225 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
29226}
29227static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
29228 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
29229}
29230static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
29231 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
29232}
29233static void *_p_wxSizerTo_p_wxObject(void *x) {
29234 return (void *)((wxObject *) ((wxSizer *) x));
29235}
29236static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
29237 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
29238}
29239static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
29240 return (void *)((wxObject *) ((wxFileHistory *) x));
29241}
29242static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
29243 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
29244}
29245static void *_p_wxEventTo_p_wxObject(void *x) {
29246 return (void *)((wxObject *) ((wxEvent *) x));
29247}
29248static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
29249 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
29250}
29251static void *_p_wxGridSizerTo_p_wxObject(void *x) {
29252 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
29253}
29254static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
29255 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
29256}
29257static void *_p_wxPaintEventTo_p_wxObject(void *x) {
29258 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
29259}
29260static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
29261 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
29262}
29263static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
29264 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
29265}
29266static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
29267 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
29268}
29269static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
29270 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29271}
29272static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
29273 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
29274}
29275static void *_p_wxControlTo_p_wxObject(void *x) {
29276 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
29277}
29278static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
29279 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
29280}
29281static void *_p_wxTimerEventTo_p_wxObject(void *x) {
29282 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
29283}
29284static void *_p_wxFSFileTo_p_wxObject(void *x) {
29285 return (void *)((wxObject *) ((wxFSFile *) x));
29286}
29287static void *_p_wxClipboardTo_p_wxObject(void *x) {
29288 return (void *)((wxObject *) ((wxClipboard *) x));
29289}
29290static void *_p_wxPySizerTo_p_wxObject(void *x) {
29291 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
29292}
29293static void *_p_wxPyEventTo_p_wxObject(void *x) {
29294 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
29295}
29296static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
29297 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
29298}
29299static void *_p_wxShowEventTo_p_wxObject(void *x) {
29300 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
29301}
29302static void *_p_wxToolTipTo_p_wxObject(void *x) {
29303 return (void *)((wxObject *) ((wxToolTip *) x));
29304}
29305static void *_p_wxMenuItemTo_p_wxObject(void *x) {
29306 return (void *)((wxObject *) ((wxMenuItem *) x));
29307}
29308static void *_p_wxIdleEventTo_p_wxObject(void *x) {
29309 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
29310}
29311static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
29312 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
29313}
29314static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
29315 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
29316}
29317static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
29318 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
29319}
29320static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
29321 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
29322}
29323static void *_p_wxSizeEventTo_p_wxObject(void *x) {
29324 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
29325}
29326static void *_p_wxMoveEventTo_p_wxObject(void *x) {
29327 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
29328}
29329static void *_p_wxActivateEventTo_p_wxObject(void *x) {
29330 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
29331}
29332static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
29333 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
29334}
29335static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
29336 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
29337}
29338static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
29339 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
29340}
29341static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
29342 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
29343}
29344static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
29345 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
29346}
29347static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
29348 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
29349}
29350static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
29351 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
29352}
29353static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
29354 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
29355}
29356static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
29357 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
29358}
29359static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
29360 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
29361}
29362static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
29363 return (void *)((wxObject *) ((wxImageHandler *) x));
29364}
29365static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
29366 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
29367}
29368static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
29369 return (void *)((wxObject *) ((wxEvtHandler *) x));
29370}
29371static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
29372 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
29373}
29374static void *_p_wxImageTo_p_wxObject(void *x) {
29375 return (void *)((wxObject *) ((wxImage *) x));
29376}
29377static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
29378 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
29379}
29380static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
29381 return (void *)((wxObject *) ((wxSystemOptions *) x));
29382}
29383static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
29384 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
29385}
29386static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
29387 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29388}
29389static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
29390 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
29391}
29392static void *_p_wxKeyEventTo_p_wxObject(void *x) {
29393 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
29394}
29395static void *_p_wxWindowTo_p_wxObject(void *x) {
29396 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
29397}
29398static void *_p_wxMenuTo_p_wxObject(void *x) {
29399 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
29400}
29401static void *_p_wxMenuBarTo_p_wxObject(void *x) {
29402 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
29403}
29404static void *_p_wxPyProcessTo_p_wxObject(void *x) {
29405 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
29406}
29407static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29408 return (void *)((wxObject *) ((wxFileSystem *) x));
29409}
29410static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29411 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29412}
29413static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29414 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29415}
29416static void *_p_wxPyAppTo_p_wxObject(void *x) {
29417 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29418}
29419static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29420 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29421}
29422static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29423 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29424}
29425static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29426 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29427}
29428static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
29429 return (void *)((wxObject *) ((wxBusyInfo *) x));
29430}
29431static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29432 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29433}
29434static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29435 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29436}
29437static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29438 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29439}
29440static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29441 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29442}
29443static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29444 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29445}
29446static void *_p_wxProcessEventTo_p_wxObject(void *x) {
29447 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
29448}
29449static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29450 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29451}
29452static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29453 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29454}
29455static void *_p_wxValidatorTo_p_wxObject(void *x) {
29456 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29457}
29458static void *_p_wxPyTimerTo_p_wxObject(void *x) {
29459 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
29460}
29461static void *_p_wxLogStderrTo_p_wxLog(void *x) {
29462 return (void *)((wxLog *) ((wxLogStderr *) x));
29463}
29464static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
29465 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
29466}
29467static void *_p_wxLogWindowTo_p_wxLog(void *x) {
29468 return (void *)((wxLog *) ((wxLogWindow *) x));
29469}
29470static void *_p_wxLogChainTo_p_wxLog(void *x) {
29471 return (void *)((wxLog *) ((wxLogChain *) x));
29472}
29473static void *_p_wxLogGuiTo_p_wxLog(void *x) {
29474 return (void *)((wxLog *) ((wxLogGui *) x));
29475}
29476static void *_p_wxPyLogTo_p_wxLog(void *x) {
29477 return (void *)((wxLog *) ((wxPyLog *) x));
29478}
29479static void *_p_wxControlTo_p_wxWindow(void *x) {
29480 return (void *)((wxWindow *) ((wxControl *) x));
29481}
29482static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29483 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29484}
29485static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29486 return (void *)((wxWindow *) ((wxMenuBar *) x));
29487}
29488static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
29489 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
29490}
29491static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
29492 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
29493}
29494static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0, 0, 0, 0},{"_p_wxLogChain", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29495static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0, 0, 0, 0},{"_p_wxMutexGuiLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29496static swig_type_info _swigt__p_wxMetafile[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29497static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0, 0, 0, 0},{"_p_wxFileHistory", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29498static swig_type_info _swigt__p_wxLog[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29499static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0, 0, 0, 0},{"_p_wxDateTime__TimeZone", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29500static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29501static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29502static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxFileConfig", _p_wxFileConfigTo_p_wxConfigBase, 0, 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{"_p_wxConfig", _p_wxConfigTo_p_wxConfigBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29503static swig_type_info _swigt__p_wxDisplay[] = {{"_p_wxDisplay", 0, "wxDisplay *", 0, 0, 0, 0},{"_p_wxDisplay", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29504static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0, 0, 0, 0},{"_p_wxFileType", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29505static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0, 0, 0, 0},{"_p_wxLogGui", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29506static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29507static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0, 0, 0, 0},{"_p_wxDataFormat", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29508static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0, 0, 0, 0},{"_p_wxTimerEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29509static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29510static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29511static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29512static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0, 0, 0, 0},{"_p_wxClipboard", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29513static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0, 0, 0, 0},{"_p_wxStopWatch", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29514static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29515static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0, 0, 0, 0},{"_p_wxClipboardLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29516static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29517static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0, 0, 0, 0},{"_p_wxLogStderr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29518static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0, 0, 0, 0},{"_p_wxLogTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29519static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29520static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0, 0, 0, 0},{"_p_wxBusyCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
b1f29bf7 29521static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29522static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0, 0, 0, 0},{"_p_wxPyTextDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29523static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0, 0, 0, 0},{"_p_wxBitmapDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29524static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0, 0, 0, 0},{"_p_wxTextDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29525static swig_type_info _swigt__p_wxDataObject[] = {{"_p_wxDataObject", 0, "wxDataObject *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", _p_wxDataObjectSimpleTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxDataObjectComposite", _p_wxDataObjectCompositeTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29526static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0, 0, 0, 0},{"_p_wxFileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29527static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0, 0, 0, 0},{"_p_wxCustomDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29528static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0, 0, 0, 0},{"_p_wxURLDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29529static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0, 0, 0, 0},{"_p_wxMetafileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29530static swig_type_info _swigt__p_wxSound[] = {{"_p_wxSound", 0, "wxSound *", 0, 0, 0, 0},{"_p_wxSound", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29531static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0, 0, 0, 0},{"_p_wxTimerRunner", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29532static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0, 0, 0, 0},{"_p_wxLogWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29533static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0, 0, 0, 0},{"_p_wxTimeSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29534static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29535static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0, 0, 0, 0},{"_p_wxWindowDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29536static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29537static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0, 0, 0, 0},{"_p_wxDataObjectComposite", 0, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29538static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0, 0, 0, 0},{"_p_wxFileConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29539static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0, 0, 0, 0},{"_p_wxSystemSettings", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29540static swig_type_info _swigt__p_wxVideoMode[] = {{"_p_wxVideoMode", 0, "wxVideoMode *", 0, 0, 0, 0},{"_p_wxVideoMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29541static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29542static swig_type_info _swigt__p_wxDataObjectSimple[] = {{"_p_wxDataObjectSimple", 0, "wxDataObjectSimple *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", 0, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29543static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29544static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29545static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29546static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0, 0, 0, 0},{"_p_wxSingleInstanceChecker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29547static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0, 0, 0, 0},{"_p_wxFileTypeInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29548static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29549static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0, 0, 0, 0},{"_p_wxTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29550static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0, 0, 0, 0},{"_p_wxMimeTypesManager", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29551static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0, 0, 0, 0},{"_p_wxPyArtProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29552static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0, 0, 0, 0},{"_p_wxPyTipProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29553static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0, 0, 0, 0},{"_p_wxTipProvider", 0, 0, 0, 0, 0, 0},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29554static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0, 0, 0, 0},{"_p_wxJoystick", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29555static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0, 0, 0, 0},{"_p_wxSystemOptions", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29556static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29557static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0, 0, 0, 0},{"_p_wxJoystickEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29558static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29559static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29560static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29561static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29562static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0, 0, 0, 0},{"_p_wxPyDropSource", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29563static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29564static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29565static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0, 0, 0, 0},{"_p_wxPyProcess", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29566static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29567static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0, 0, 0, 0},{"_p_wxConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29568static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0, 0, 0, 0},{"_p_wxChar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29569static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0, 0, 0, 0},{"_p_wxBusyInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29570static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{"_p_wxPyTextDropTarget", _p_wxPyTextDropTargetTo_p_wxPyDropTarget, 0, 0, 0, 0, 0},{"_p_wxPyFileDropTarget", _p_wxPyFileDropTargetTo_p_wxPyDropTarget, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29571static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0, 0, 0, 0},{"_p_wxPyTextDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29572static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0, 0, 0, 0},{"_p_wxPyFileDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29573static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0, 0, 0, 0},{"_p_wxProcessEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29574static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0, 0, 0, 0},{"_p_wxPyLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29575static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0, 0, 0, 0},{"_p_wxLogNull", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29576static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29577static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0, 0, 0, 0},{"_p_wxConfigPathChanger", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29578static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0, 0, 0, 0},{"_p_wxPyTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29579static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0, 0, 0, 0},{"_p_wxDateSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29580
29581static swig_type_info *swig_types_initial[] = {
29582_swigt__p_wxLogChain,
29583_swigt__p_wxMutexGuiLocker,
29584_swigt__p_wxMetafile,
29585_swigt__p_wxFileHistory,
29586_swigt__p_wxLog,
29587_swigt__p_wxDateTime__TimeZone,
29588_swigt__p_wxMenu,
29589_swigt__p_wxEvent,
29590_swigt__p_wxConfigBase,
29591_swigt__p_wxDisplay,
29592_swigt__p_wxFileType,
29593_swigt__p_wxLogGui,
29594_swigt__p_wxFont,
29595_swigt__p_wxDataFormat,
29596_swigt__p_wxTimerEvent,
29597_swigt__p_wxCaret,
29598_swigt__p_int,
29599_swigt__p_wxSize,
29600_swigt__p_wxClipboard,
29601_swigt__p_wxStopWatch,
29602_swigt__p_wxDC,
29603_swigt__p_wxClipboardLocker,
29604_swigt__p_wxIcon,
29605_swigt__p_wxLogStderr,
29606_swigt__p_wxLogTextCtrl,
29607_swigt__p_wxTextCtrl,
29608_swigt__p_wxBusyCursor,
b1f29bf7 29609_swigt__p_wxPyBitmapDataObject,
d55e5bfc
RD
29610_swigt__p_wxPyTextDataObject,
29611_swigt__p_wxBitmapDataObject,
29612_swigt__p_wxTextDataObject,
29613_swigt__p_wxDataObject,
d55e5bfc
RD
29614_swigt__p_wxFileDataObject,
29615_swigt__p_wxCustomDataObject,
29616_swigt__p_wxURLDataObject,
29617_swigt__p_wxMetafileDataObject,
29618_swigt__p_wxSound,
29619_swigt__p_wxTimerRunner,
29620_swigt__p_wxLogWindow,
29621_swigt__p_wxTimeSpan,
29622_swigt__p_wxArrayString,
29623_swigt__p_wxWindowDisabler,
29624_swigt__p_wxToolTip,
29625_swigt__p_wxDataObjectComposite,
29626_swigt__p_wxFileConfig,
29627_swigt__p_wxSystemSettings,
29628_swigt__p_wxVideoMode,
29629_swigt__p_wxPyDataObjectSimple,
29630_swigt__p_wxDataObjectSimple,
29631_swigt__p_wxEvtHandler,
29632_swigt__p_wxRect,
29633_swigt__p_char,
29634_swigt__p_wxSingleInstanceChecker,
29635_swigt__p_wxFileTypeInfo,
29636_swigt__p_wxFrame,
29637_swigt__p_wxTimer,
29638_swigt__p_wxMimeTypesManager,
29639_swigt__p_wxPyArtProvider,
29640_swigt__p_wxPyTipProvider,
29641_swigt__p_wxTipProvider,
29642_swigt__p_wxJoystick,
29643_swigt__p_wxSystemOptions,
29644_swigt__p_wxPoint,
29645_swigt__p_wxJoystickEvent,
29646_swigt__p_wxCursor,
29647_swigt__p_wxObject,
29648_swigt__p_wxOutputStream,
29649_swigt__p_wxDateTime,
29650_swigt__p_wxPyDropSource,
29651_swigt__p_wxWindow,
29652_swigt__p_wxString,
29653_swigt__p_wxPyProcess,
29654_swigt__p_wxBitmap,
29655_swigt__p_wxConfig,
29656_swigt__p_wxChar,
29657_swigt__p_wxBusyInfo,
29658_swigt__p_wxPyDropTarget,
29659_swigt__p_wxPyTextDropTarget,
29660_swigt__p_wxPyFileDropTarget,
29661_swigt__p_wxProcessEvent,
29662_swigt__p_wxPyLog,
29663_swigt__p_wxLogNull,
29664_swigt__p_wxColour,
d55e5bfc
RD
29665_swigt__p_wxConfigPathChanger,
29666_swigt__p_wxPyTimer,
29667_swigt__p_wxDateSpan,
296680
29669};
29670
29671
29672/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29673
29674static swig_const_info swig_const_table[] = {
29675{ SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
29676{ SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
29677{ SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
29678{ SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
29679{ SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
29680{0}};
29681
29682#ifdef __cplusplus
29683}
29684#endif
29685
29686#ifdef __cplusplus
29687extern "C"
29688#endif
29689SWIGEXPORT(void) SWIG_init(void) {
29690 static PyObject *SWIG_globals = 0;
29691 static int typeinit = 0;
29692 PyObject *m, *d;
29693 int i;
29694 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
29695 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29696 d = PyModule_GetDict(m);
29697
29698 if (!typeinit) {
29699 for (i = 0; swig_types_initial[i]; i++) {
29700 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29701 }
29702 typeinit = 1;
29703 }
29704 SWIG_InstallConstants(d,swig_const_table);
29705
29706 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT));
29707 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT));
29708 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT));
29709 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT));
29710 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT));
29711 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE));
29712 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT));
29713 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT));
29714 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT));
29715 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR));
29716 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND));
29717 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP));
29718 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION));
29719 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION));
29720 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU));
29721 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW));
29722 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME));
29723 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT));
29724 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT));
29725 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT));
29726 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER));
29727 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER));
29728 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE));
29729 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT));
29730 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
29731 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE));
29732 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE));
29733 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW));
29734 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW));
29735 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT));
29736 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT));
29737 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
29738 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT));
29739 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT));
29740 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT));
29741 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT));
29742 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW));
29743 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT));
29744 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT));
29745 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK));
29746 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX));
29747 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT));
29748 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
29749 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
29750 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT));
29751 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR));
29752 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX));
29753 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS));
29754 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X));
29755 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y));
29756 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X));
29757 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y));
29758 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X));
29759 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y));
29760 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X));
29761 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y));
29762 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X));
29763 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y));
29764 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X));
29765 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y));
29766 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X));
29767 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X));
29768 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y));
29769 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X));
29770 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y));
29771 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X));
29772 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y));
29773 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X));
29774 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y));
29775 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X));
29776 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y));
29777 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X));
29778 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y));
29779 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y));
29780 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X));
29781 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X));
29782 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y));
29783 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y));
29784 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y));
29785 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y));
29786 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT));
29787 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT));
29788 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS));
29789 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS));
29790 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
29791 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME));
29792 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE));
29793 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY));
29794 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA));
29795 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL));
29796 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP));
29797 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29798 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
29799 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
29800 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
29801 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF));
29802 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT));
29803 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS));
29804 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT));
29805 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
1a6bba1e
RD
29806
29807 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29808
d55e5bfc
RD
29809 PyDict_SetItemString(d,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError));
29810 PyDict_SetItemString(d,"LOG_Error", SWIG_FromInt((int)wxLOG_Error));
29811 PyDict_SetItemString(d,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning));
29812 PyDict_SetItemString(d,"LOG_Message", SWIG_FromInt((int)wxLOG_Message));
29813 PyDict_SetItemString(d,"LOG_Status", SWIG_FromInt((int)wxLOG_Status));
29814 PyDict_SetItemString(d,"LOG_Info", SWIG_FromInt((int)wxLOG_Info));
29815 PyDict_SetItemString(d,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug));
29816 PyDict_SetItemString(d,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace));
29817 PyDict_SetItemString(d,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress));
29818 PyDict_SetItemString(d,"LOG_User", SWIG_FromInt((int)wxLOG_User));
29819 PyDict_SetItemString(d,"LOG_Max", SWIG_FromInt((int)wxLOG_Max));
29820 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29821 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29822 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29823 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29824 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29825 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29826 PyDict_SetItemString(d,"TraceMessages", SWIG_FromInt((int)0x0002));
29827 PyDict_SetItemString(d,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29828 PyDict_SetItemString(d,"TraceRefCount", SWIG_FromInt((int)0x0008));
29829 PyDict_SetItemString(d,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29830 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT));
29831 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT));
29832 PyDict_SetItemString(d,"KILL_OK", SWIG_FromInt((int)wxKILL_OK));
29833 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL));
29834 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED));
29835 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS));
29836 PyDict_SetItemString(d,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR));
29837 PyDict_SetItemString(d,"SIGNONE", SWIG_FromInt((int)wxSIGNONE));
29838 PyDict_SetItemString(d,"SIGHUP", SWIG_FromInt((int)wxSIGHUP));
29839 PyDict_SetItemString(d,"SIGINT", SWIG_FromInt((int)wxSIGINT));
29840 PyDict_SetItemString(d,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT));
29841 PyDict_SetItemString(d,"SIGILL", SWIG_FromInt((int)wxSIGILL));
29842 PyDict_SetItemString(d,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP));
29843 PyDict_SetItemString(d,"SIGABRT", SWIG_FromInt((int)wxSIGABRT));
29844 PyDict_SetItemString(d,"SIGIOT", SWIG_FromInt((int)wxSIGIOT));
29845 PyDict_SetItemString(d,"SIGEMT", SWIG_FromInt((int)wxSIGEMT));
29846 PyDict_SetItemString(d,"SIGFPE", SWIG_FromInt((int)wxSIGFPE));
29847 PyDict_SetItemString(d,"SIGKILL", SWIG_FromInt((int)wxSIGKILL));
29848 PyDict_SetItemString(d,"SIGBUS", SWIG_FromInt((int)wxSIGBUS));
29849 PyDict_SetItemString(d,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV));
29850 PyDict_SetItemString(d,"SIGSYS", SWIG_FromInt((int)wxSIGSYS));
29851 PyDict_SetItemString(d,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE));
29852 PyDict_SetItemString(d,"SIGALRM", SWIG_FromInt((int)wxSIGALRM));
29853 PyDict_SetItemString(d,"SIGTERM", SWIG_FromInt((int)wxSIGTERM));
29854 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
29855 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC));
29856 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC));
29857 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE));
29858 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER));
29859
29860 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29861
29862 PyDict_SetItemString(d,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1));
29863 PyDict_SetItemString(d,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2));
29864 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY));
29865 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1));
29866 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2));
29867 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3));
29868 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4));
29869 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
29870 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
29871 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
29872 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
29873 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC));
29874 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC));
29875 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP));
29876 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD));
29877 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE));
29878 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE));
29879 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME));
29880 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL));
29881 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
29882 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
29883 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
29884 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
29885 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
29886 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
29887 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
29888 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
29889 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
29890 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
29891 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
29892 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
29893 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
29894 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
29895 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
29896 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
29897 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
29898 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
29899 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
29900 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
29901 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
29902 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
29903 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
29904 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
29905 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
29906 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
29907 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
29908 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
29909 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
29910 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
29911 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
29912 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
29913 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
29914 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
29915 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
29916 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
29917 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
29918 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
29919 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
29920
29921 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29922
29923 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE));
29924 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE));
29925 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH));
29926 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
29927 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown));
29928 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String));
29929 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean));
29930 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer));
29931 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float));
29932 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
29933 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
29934 PyDict_SetItemString(d,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local));
29935 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12));
29936 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11));
29937 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10));
29938 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9));
29939 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8));
29940 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7));
29941 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6));
29942 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5));
29943 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4));
29944 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3));
29945 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2));
29946 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1));
29947 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0));
29948 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1));
29949 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2));
29950 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3));
29951 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4));
29952 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5));
29953 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6));
29954 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7));
29955 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8));
29956 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9));
29957 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10));
29958 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11));
29959 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12));
29960 PyDict_SetItemString(d,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET));
29961 PyDict_SetItemString(d,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST));
29962 PyDict_SetItemString(d,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET));
29963 PyDict_SetItemString(d,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST));
29964 PyDict_SetItemString(d,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET));
29965 PyDict_SetItemString(d,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST));
29966 PyDict_SetItemString(d,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK));
29967 PyDict_SetItemString(d,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD));
29968 PyDict_SetItemString(d,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST));
29969 PyDict_SetItemString(d,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT));
29970 PyDict_SetItemString(d,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST));
29971 PyDict_SetItemString(d,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT));
29972 PyDict_SetItemString(d,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST));
29973 PyDict_SetItemString(d,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT));
29974 PyDict_SetItemString(d,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST));
29975 PyDict_SetItemString(d,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT));
29976 PyDict_SetItemString(d,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST));
29977 PyDict_SetItemString(d,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT));
29978 PyDict_SetItemString(d,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST));
29979 PyDict_SetItemString(d,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST));
29980 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT));
29981 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST));
29982 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST));
29983 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST));
29984 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST));
29985 PyDict_SetItemString(d,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC));
29986 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian));
29987 PyDict_SetItemString(d,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian));
29988 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown));
29989 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard));
29990 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska));
29991 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania));
29992 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria));
29993 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen));
29994 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg));
29995 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol));
29996 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia));
29997 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria));
29998 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium));
29999 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria));
30000 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1));
30001 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2));
30002 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3));
30003 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada));
30004 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China));
30005 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1));
30006 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2));
30007 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia));
30008 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark));
30009 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt));
30010 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia));
30011 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland));
30012 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France));
30013 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace));
30014 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine));
30015 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg));
30016 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany));
30017 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic));
30018 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia));
30019 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant));
30020 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain));
30021 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece));
30022 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary));
30023 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland));
30024 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy));
30025 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan));
30026 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1));
30027 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2));
30028 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3));
30029 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia));
30030 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania));
30031 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg));
30032 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands));
30033 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen));
30034 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland));
30035 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht));
30036 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland));
30037 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway));
30038 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland));
30039 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal));
30040 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania));
30041 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia));
30042 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland));
30043 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain));
30044 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden));
30045 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland));
30046 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic));
30047 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant));
30048 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey));
30049 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA));
30050 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales));
30051 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia));
30052 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown));
30053 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default));
30054 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start));
30055 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC));
30056 PyDict_SetItemString(d,"DateTime_France", SWIG_FromInt((int)wxDateTime::France));
30057 PyDict_SetItemString(d,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany));
30058 PyDict_SetItemString(d,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK));
30059 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End));
30060 PyDict_SetItemString(d,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia));
30061 PyDict_SetItemString(d,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA));
30062 PyDict_SetItemString(d,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan));
30063 PyDict_SetItemString(d,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb));
30064 PyDict_SetItemString(d,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar));
30065 PyDict_SetItemString(d,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr));
30066 PyDict_SetItemString(d,"DateTime_May", SWIG_FromInt((int)wxDateTime::May));
30067 PyDict_SetItemString(d,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun));
30068 PyDict_SetItemString(d,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul));
30069 PyDict_SetItemString(d,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug));
30070 PyDict_SetItemString(d,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep));
30071 PyDict_SetItemString(d,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct));
30072 PyDict_SetItemString(d,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov));
30073 PyDict_SetItemString(d,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec));
30074 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month));
30075 PyDict_SetItemString(d,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun));
30076 PyDict_SetItemString(d,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon));
30077 PyDict_SetItemString(d,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue));
30078 PyDict_SetItemString(d,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed));
30079 PyDict_SetItemString(d,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu));
30080 PyDict_SetItemString(d,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri));
30081 PyDict_SetItemString(d,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat));
30082 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay));
30083 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year));
30084 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full));
30085 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr));
30086 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First));
30087 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First));
30088 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First));
30089 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
30090 PyDict_SetItemString(d,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID));
30091 PyDict_SetItemString(d,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT));
30092 PyDict_SetItemString(d,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP));
30093 PyDict_SetItemString(d,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE));
30094 PyDict_SetItemString(d,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK));
30095 PyDict_SetItemString(d,"DF_DIF", SWIG_FromInt((int)wxDF_DIF));
30096 PyDict_SetItemString(d,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF));
30097 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT));
30098 PyDict_SetItemString(d,"DF_DIB", SWIG_FromInt((int)wxDF_DIB));
30099 PyDict_SetItemString(d,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE));
30100 PyDict_SetItemString(d,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA));
30101 PyDict_SetItemString(d,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF));
30102 PyDict_SetItemString(d,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE));
30103 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT));
30104 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE));
30105 PyDict_SetItemString(d,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME));
30106 PyDict_SetItemString(d,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE));
30107 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE));
30108 PyDict_SetItemString(d,"DF_HTML", SWIG_FromInt((int)wxDF_HTML));
30109 PyDict_SetItemString(d,"DF_MAX", SWIG_FromInt((int)wxDF_MAX));
30110 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
30111 PyDict_SetItemString(d,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get));
30112 PyDict_SetItemString(d,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set));
30113 PyDict_SetItemString(d,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both));
30114 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly));
30115 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove));
30116 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove));
30117 PyDict_SetItemString(d,"DragError", SWIG_FromInt((int)wxDragError));
30118 PyDict_SetItemString(d,"DragNone", SWIG_FromInt((int)wxDragNone));
30119 PyDict_SetItemString(d,"DragCopy", SWIG_FromInt((int)wxDragCopy));
30120 PyDict_SetItemString(d,"DragMove", SWIG_FromInt((int)wxDragMove));
30121 PyDict_SetItemString(d,"DragLink", SWIG_FromInt((int)wxDragLink));
30122 PyDict_SetItemString(d,"DragCancel", SWIG_FromInt((int)wxDragCancel));
30123
30124 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30125 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30126 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30127 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30128
30129 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
30130 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
30131}
30132